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,GAAY,IAAAC,eAAc,uBAAuB,GACrD,OAAQ,gBAAoBZ,GAAW,IAAAH,UAAS,GAAI7B,EAAO,CAAElE,OAAQwG,OAAOC,OAAOH,EAAc,GAASvB,IAAKA,EAAKqB,SAAUS,EAAY,UAAY,eCFtJH,YAAaA,I","sources":["webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-shared/esm/getDataTestId.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-shared/esm/fnUtils.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-shared/esm/maskUtils.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-shared/esm/browser.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-shared/esm/isClient.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-skeleton/esm/Component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-spinner/esm/Component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/hooks/use-skeleton.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/colors.module-8bcdca4a.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/text/component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/title/component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/title/utils.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/common.module-76facc75.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/title/index.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/title-mobile/component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/title-responsive/component.js","webpack://assr-alfaleasing/./node_modules/@alfalab/core-components-typography/esm/component.js"],"sourcesContent":["function getDataTestId(dataTestId, element) {\n var elementPart = element ? \"-\".concat(element.toLowerCase()) : '';\n return dataTestId ? \"\".concat(dataTestId).concat(elementPart) : undefined;\n}\n\nexport { getDataTestId };\n","/**\n * Возвращает true, если значение равно null или undefined\n */\nfunction isNil(value) {\n return value == null;\n}\n/**\n * Выбор значения между min max границами\n */\nfunction clamp(value, min, max) {\n var clampedValue = Math.min(Number(max), Math.max(Number(min), Number(value)));\n return (value instanceof Date ? new Date(clampedValue) : clampedValue);\n}\nfunction noop() { }\nvar fnUtils = {\n clamp: clamp,\n noop: noop,\n isNil: isNil,\n};\n\nexport { fnUtils };\n","import { fnUtils } from './fnUtils.js';\n\n/**\n * Запрещает каретке становиться за указанные границы\n */\nfunction caretGuard(guard) {\n return function (element) {\n var document = element.ownerDocument;\n var isPointerDown = 0;\n var onPointerDown = function () { return isPointerDown++; };\n var onPointerUp = function () {\n isPointerDown = Math.max(--isPointerDown, 0);\n };\n var listener = function () {\n if (document.activeElement !== element) {\n return;\n }\n if (isPointerDown) {\n document.addEventListener('mouseup', listener, {\n once: true,\n passive: true,\n });\n return;\n }\n var start = element.selectionStart || 0;\n var end = element.selectionEnd || 0;\n var _a = guard(element.value, [start, end]), fromLimit = _a[0], toLimit = _a[1];\n if (fromLimit > start || toLimit < end) {\n element.setSelectionRange(fnUtils.clamp(start, fromLimit, toLimit), fnUtils.clamp(end, fromLimit, toLimit));\n }\n };\n document.addEventListener('selectionchange', listener, { passive: true });\n element.addEventListener('mousedown', onPointerDown, { passive: true });\n document.addEventListener('mouseup', onPointerUp, { passive: true });\n return function () {\n document.removeEventListener('selectionchange', listener);\n document.removeEventListener('mousedown', onPointerDown);\n document.removeEventListener('mouseup', onPointerUp);\n };\n };\n}\n/**\n * Запрещает удалять указанный префикс\n */\nfunction prefixPostprocessor(prefix) {\n return prefix\n ? function (_a, initialElementState) {\n var value = _a.value, selection = _a.selection;\n if (value.startsWith(prefix) ||\n (!value && !initialElementState.value.startsWith(prefix))) {\n return { value: value, selection: selection };\n }\n var from = selection[0], to = selection[1];\n var requiredPrefix = Array.from(prefix).reduce(function (computedPrefix, char, i) {\n var newValue = computedPrefix + value;\n return newValue[i] === char ? computedPrefix : computedPrefix + char;\n }, '');\n return {\n selection: [from + requiredPrefix.length, to + requiredPrefix.length],\n value: requiredPrefix + value,\n };\n }\n : function (state) { return state; };\n}\nvar countDigits = function (value) { return value.replace(/\\D/g, '').length; };\n/**\n * Препроцессор необходим для правильной вставки/автокомплита телефонного номера\n */\nfunction insertionPhonePreprocessor(mask, countryCode, clearableCountryCode) {\n if (countryCode === void 0) { countryCode = ''; }\n var completePhoneLength = mask.filter(function (item) { return \"\".concat(item) === \"\".concat(/\\d/) || /[0-9]/.test(\"\".concat(item)); }).length;\n var trimCountryPrefix = function (value) {\n if (countryCode === '7') {\n return value.replace(/^(\\+?7?\\s?8?)\\s?/, '');\n }\n return value.replace(new RegExp(\"^(\\\\+?\".concat(countryCode, \"?)\\\\s?\")), '');\n };\n return function (_a) {\n var elementState = _a.elementState, data = _a.data;\n var value = elementState.value, selection = elementState.selection;\n var valueDigitsCount = countDigits(value);\n var nextData;\n if (clearableCountryCode) {\n var fullNumberSelected = value.replace('+', '').length <= selection[1] - selection[0];\n if (valueDigitsCount > 0 && !fullNumberSelected) {\n nextData =\n countDigits(data) >= completePhoneLength ? trimCountryPrefix(data) : data;\n }\n else {\n nextData = countDigits(data) > completePhoneLength ? trimCountryPrefix(data) : data;\n }\n }\n else {\n nextData = countDigits(data) >= completePhoneLength ? trimCountryPrefix(data) : data;\n }\n return {\n data: nextData,\n elementState: {\n selection: selection,\n value: valueDigitsCount > completePhoneLength ? trimCountryPrefix(value) : value,\n },\n };\n };\n}\nvar maskUtils = {\n insertionPhonePreprocessor: insertionPhonePreprocessor,\n prefixPostprocessor: prefixPostprocessor,\n caretGuard: caretGuard,\n};\n\nexport { maskUtils };\n","import { isClient } from './isClient.js';\n\nvar getScrollbarSize = (function () {\n var cachedSize;\n return function () {\n if (cachedSize !== undefined)\n return cachedSize;\n if (!isClient())\n return 0;\n var scrollDiv = document.createElement('div');\n scrollDiv.style.width = '99px';\n scrollDiv.style.height = '99px';\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n var scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n cachedSize = scrollbarSize;\n return scrollbarSize;\n };\n})();\nfunction isWebkitBased() {\n if (!isClient())\n return false;\n return window.navigator.userAgent.toLowerCase().indexOf('webkit') > -1;\n}\nvar browser = {\n getScrollbarSize: getScrollbarSize,\n isWebkitBased: isWebkitBased,\n};\n\nexport { browser };\n","var isClient = function () { return typeof window !== 'undefined'; };\n\nexport { isClient };\n","import React from 'react';\nimport cn from 'classnames';\n\nvar styles = {\"component\":\"skeleton__component_uwomd\",\"animate\":\"skeleton__animate_uwomd\",\"background\":\"skeleton__background_uwomd\",\"gradient\":\"skeleton__gradient_uwomd\"};\nrequire('./index.css')\n\nvar Skeleton = function (_a) {\n var _b;\n var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style;\n if (visible) {\n return (React.createElement(\"div\", { className: cn(styles.component, (_b = {}, _b[styles.animate] = animate, _b), className), style: style, \"data-test-id\": dataTestId }, children));\n }\n return (React.createElement(\"div\", { \"data-test-id\": dataTestId, className: className, style: style }, children));\n};\n\nexport { Skeleton };\n","import React from 'react';\nimport cn from 'classnames';\nimport { useId } from '@alfalab/hooks';\n\nvar defaultColors = {\"component\":\"spinner__component_yuj30\"};\nrequire('./default.css')\n\nvar styles = {\"spinner\":\"spinner__spinner_1x8cb\",\"spin_animation\":\"spinner__spin_animation_1x8cb\",\"visible\":\"spinner__visible_1x8cb\",\"size-16\":\"spinner__size-16_1x8cb\",\"size-24\":\"spinner__size-24_1x8cb\",\"size-48\":\"spinner__size-48_1x8cb\"};\nrequire('./index.css')\n\nvar invertedColors = {\"component\":\"spinner__component_14ovj\"};\nrequire('./inverted.css')\n\nvar colorStyles = {\n default: defaultColors,\n inverted: invertedColors,\n};\nvar CONFIG = {\n xs: {\n padding: 1,\n lineWidth: 2,\n size: 18,\n },\n s: {\n padding: 2,\n lineWidth: 2,\n size: 24,\n },\n m: {\n padding: 4,\n lineWidth: 4,\n size: 48,\n },\n 16: {\n padding: 1,\n lineWidth: 2,\n size: 18,\n },\n 24: {\n padding: 2,\n lineWidth: 2,\n size: 24,\n },\n 48: {\n padding: 4,\n lineWidth: 4,\n size: 48,\n },\n};\nvar SIZE_TO_CLASSNAME_MAP = {\n xs: 'size-16',\n s: 'size-24',\n m: 'size-48',\n 16: 'size-16',\n 24: 'size-24',\n 48: 'size-48',\n};\nvar Spinner = function (_a) {\n var _b;\n var _c = _a.size, sizeProp = _c === void 0 ? 24 : _c, _d = _a.colors, colors = _d === void 0 ? 'default' : _d, visible = _a.visible, id = _a.id, className = _a.className, dataTestId = _a.dataTestId;\n var uniqId = useId();\n var _e = CONFIG[sizeProp], size = _e.size, padding = _e.padding, lineWidth = _e.lineWidth;\n var xStart = padding + lineWidth / 2;\n var xEnd = size - xStart;\n var y = size / 2;\n var r = y - xStart;\n var topGradientId = \"\".concat(uniqId, \"_top\");\n var bottomGradientId = \"\".concat(uniqId, \"_bottom\");\n return (React.createElement(\"svg\", { viewBox: \"0 0 \".concat(size, \" \").concat(size), fill: 'none', xmlns: 'http://www.w3.org/2000/svg', className: cn(styles.spinner, colorStyles[colors].component, styles[SIZE_TO_CLASSNAME_MAP[sizeProp]], className, (_b = {},\n _b[styles.visible] = visible,\n _b)), \"data-test-id\": dataTestId, id: id },\n React.createElement(\"defs\", null,\n React.createElement(\"linearGradient\", { id: topGradientId, x1: '0.05' },\n React.createElement(\"stop\", { offset: '0.1', stopOpacity: '0', stopColor: 'currentColor' }),\n React.createElement(\"stop\", { offset: '1', stopOpacity: '0.3', stopColor: 'currentColor' })),\n React.createElement(\"linearGradient\", { id: bottomGradientId, x1: '0.05' },\n React.createElement(\"stop\", { offset: '0', stopOpacity: '1', stopColor: 'currentColor' }),\n React.createElement(\"stop\", { offset: '1', stopOpacity: '0.3', stopColor: 'currentColor' }))),\n React.createElement(\"g\", { strokeWidth: lineWidth },\n React.createElement(\"path\", { stroke: \"url(#\".concat(topGradientId, \")\"), d: \"M\".concat(xStart, \",\").concat(y, \" A\").concat(r, \",\").concat(r, \" 0 0 1 \").concat(xEnd, \",\").concat(y) }),\n React.createElement(\"path\", { stroke: \"url(#\".concat(bottomGradientId, \")\"), d: \"M\".concat(xEnd, \",\").concat(y, \" A\").concat(r, \",\").concat(r, \" 0 0 1 \").concat(xStart, \",\").concat(y) }),\n React.createElement(\"path\", { stroke: 'currentColor', strokeLinecap: 'round', d: \"M\".concat(xStart, \",\").concat(y, \" A\").concat(r, \",\").concat(r, \" 0 0 1 \").concat(xStart, \" \").concat(y) }))));\n};\n\nexport { SIZE_TO_CLASSNAME_MAP, Spinner };\n","import { __spreadArray } from 'tslib';\nimport React, { useState, useRef } from 'react';\nimport cn from 'classnames';\nimport { Skeleton } from '@alfalab/core-components-skeleton/esm';\nimport { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';\n\nvar styles = {\"skeletonText\":\"typography__skeletonText_1kymn\",\"left\":\"typography__left_1kymn\",\"center\":\"typography__center_1kymn\",\"right\":\"typography__right_1kymn\"};\nrequire('./use-skeleton.css')\n\nfunction useSkeleton(showSkeleton, skeletonProps) {\n var _a = useState(), skeletonParams = _a[0], setSkeletonParams = _a[1];\n var textRef = useRef(null);\n useLayoutEffect_SAFE_FOR_SSR(function () {\n if (showSkeleton && textRef.current) {\n var style = getComputedStyle(textRef.current);\n var textHeight = textRef.current.offsetHeight;\n var fontSize = parseInt(style.fontSize, 10);\n var lineHeight = parseInt(style.lineHeight, 10);\n var padding = (lineHeight - fontSize) % 2 === 0\n ? (lineHeight - fontSize) / 2\n : (lineHeight - fontSize - 1) / 2;\n var rows = (skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.rows)\n ? skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.rows\n : Math.ceil(textHeight / lineHeight);\n setSkeletonParams({\n height: lineHeight - padding * 2,\n padding: \"\".concat(padding, \"px 0\"),\n rows: rows,\n });\n }\n else {\n setSkeletonParams(undefined);\n }\n }, [showSkeleton, skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.rows]);\n var renderSkeleton = function (props) {\n if (showSkeleton && skeletonParams) {\n return (React.createElement(\"div\", { className: cn(skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.wrapperClassName, props.wrapperClassName, (skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.align) && styles[skeletonProps.align]), \"data-test-id\": props.dataTestId }, __spreadArray([], Array(skeletonParams.rows), true).map(function (_, idx) {\n var width = Array.isArray(skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.width)\n ? skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.width[idx]\n : skeletonProps === null || skeletonProps === void 0 ? void 0 : skeletonProps.width;\n return (\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"div\", { key: idx, style: { width: width, padding: skeletonParams.padding } },\n React.createElement(Skeleton, { visible: true, className: styles.skeletonText },\n React.createElement(\"div\", { style: { height: skeletonParams.height } }))));\n })));\n }\n return null;\n };\n return { renderSkeleton: renderSkeleton, textRef: textRef };\n}\n\nexport { useSkeleton };\n","var colors = {\"tertiary\":\"typography__tertiary_e4qmo\",\"disabled\":\"typography__disabled_e4qmo\",\"accent\":\"typography__accent_e4qmo\",\"primary\":\"typography__primary_e4qmo\",\"attention\":\"typography__attention_e4qmo\",\"positive\":\"typography__positive_e4qmo\",\"secondary\":\"typography__secondary_e4qmo\",\"tertiary-inverted\":\"typography__tertiary-inverted_e4qmo\",\"primary-inverted\":\"typography__primary-inverted_e4qmo\",\"secondary-inverted\":\"typography__secondary-inverted_e4qmo\",\"link\":\"typography__link_e4qmo\",\"negative\":\"typography__negative_e4qmo\",\"static-primary-light\":\"typography__static-primary-light_e4qmo\",\"static-secondary-light\":\"typography__static-secondary-light_e4qmo\",\"static-tertiary-light\":\"typography__static-tertiary-light_e4qmo\",\"static-primary-dark\":\"typography__static-primary-dark_e4qmo\",\"static-secondary-dark\":\"typography__static-secondary-dark_e4qmo\",\"static-tertiary-dark\":\"typography__static-tertiary-dark_e4qmo\",\"static-accent\":\"typography__static-accent_e4qmo\"};\nrequire('./colors.css')\n\nexport { colors as c };\n","import { __rest, __assign } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\nimport { useSkeleton } from '../hooks/use-skeleton.js';\nimport { c as colors } from '../colors.module-8bcdca4a.js';\n\nvar styles = {\"paragraph\":\"typography__paragraph_1oeg2\",\"paragraphWithMargins\":\"typography__paragraphWithMargins_1oeg2\",\"primary-large\":\"typography__primary-large_1oeg2\",\"primary-medium\":\"typography__primary-medium_1oeg2\",\"primary-small\":\"typography__primary-small_1oeg2\",\"secondary-large\":\"typography__secondary-large_1oeg2\",\"secondary-medium\":\"typography__secondary-medium_1oeg2\",\"secondary-small\":\"typography__secondary-small_1oeg2\",\"component\":\"typography__component_1oeg2\",\"component-primary\":\"typography__component-primary_1oeg2\",\"component-secondary\":\"typography__component-secondary_1oeg2\",\"caps\":\"typography__caps_1oeg2\",\"bold\":\"typography__bold_1oeg2\",\"medium\":\"typography__medium_1oeg2\",\"regular\":\"typography__regular_1oeg2\",\"monospace\":\"typography__monospace_1oeg2\",\"rowLimit1\":\"typography__rowLimit1_1oeg2\",\"rowLimit2\":\"typography__rowLimit2_1oeg2\",\"rowLimit3\":\"typography__rowLimit3_1oeg2\"};\nrequire('./index.css')\n\nvar logWarning = function (view) {\n if (process.env.NODE_ENV !== 'development') {\n return;\n }\n var viewsMap = {\n component: 'component-primary',\n };\n // eslint-disable-next-line no-console\n console.warn(\n // eslint-disable-next-line prefer-template\n \"@alfalab/core-components/typography: view='\".concat(view, \"' \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0443\\u0434\\u0430\\u043B\\u0435\\u043D \\u0432 \\u0441\\u043B\\u0435\\u0434\\u0443\\u044E\\u0449\\u0438\\u0445 \\u043C\\u0430\\u0436\\u043E\\u0440\\u043D\\u044B\\u0445 \\u0432\\u0435\\u0440\\u0441\\u0438\\u044F\\u0445. \") +\n \"\\u0418\\u0441\\u043F\\u043E\\u043B\\u044C\\u0437\\u0443\\u0439\\u0442\\u0435 view='\".concat(viewsMap[view], \"'.\"));\n};\nvar Text = forwardRef(function (_a, ref) {\n var _b, _c;\n var _d = _a.view, view = _d === void 0 ? 'primary-medium' : _d, _e = _a.tag, Component = _e === void 0 ? 'span' : _e, weight = _a.weight, _f = _a.monospaceNumbers, monospaceNumbers = _f === void 0 ? false : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? true : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, showSkeleton = _a.showSkeleton, skeletonProps = _a.skeletonProps, restProps = __rest(_a, [\"view\", \"tag\", \"weight\", \"monospaceNumbers\", \"defaultMargins\", \"color\", \"className\", \"dataTestId\", \"children\", \"rowLimit\", \"showSkeleton\", \"skeletonProps\"]);\n if (view === 'component') {\n logWarning(view);\n }\n var _h = useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;\n var skeleton = renderSkeleton({\n wrapperClassName: cn((_b = {},\n _b[styles.paragraphWithMargins] = Component === 'p' && defaultMargins,\n _b)),\n dataTestId: dataTestId,\n });\n if (skeleton) {\n return skeleton;\n }\n return (React.createElement(Component, __assign({ className: cn((_c = {},\n _c[styles.paragraph] = Component === 'p' && !defaultMargins,\n _c[styles.paragraphWithMargins] = Component === 'p' && defaultMargins,\n _c[styles.monospace] = monospaceNumbers,\n _c[styles[\"rowLimit\".concat(rowLimit)]] = rowLimit,\n _c), className, color && colors[color], styles[view], weight && styles[weight]), \"data-test-id\": dataTestId, ref: mergeRefs([ref, textRef]) }, restProps), children));\n});\n\nexport { Text };\n","import { __rest, __assign } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\nimport { useSkeleton } from '../hooks/use-skeleton.js';\nimport { getDefaultWeight } from './utils.js';\nimport { c as colors } from '../colors.module-8bcdca4a.js';\n\nvar TitleBase = forwardRef(function (_a, ref) {\n var _b;\n var _c = _a.tag, Component = _c === void 0 ? 'div' : _c, _d = _a.view, view = _d === void 0 ? 'medium' : _d, _e = _a.font, font = _e === void 0 ? 'styrene' : _e, platform = _a.platform, _f = _a.weight, weight = _f === void 0 ? getDefaultWeight(font, platform) : _f, _g = _a.defaultMargins, defaultMargins = _g === void 0 ? false : _g, color = _a.color, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, rowLimit = _a.rowLimit, styles = _a.styles, skeletonProps = _a.skeletonProps, showSkeleton = _a.showSkeleton, restProps = __rest(_a, [\"tag\", \"view\", \"font\", \"platform\", \"weight\", \"defaultMargins\", \"color\", \"className\", \"dataTestId\", \"children\", \"rowLimit\", \"styles\", \"skeletonProps\", \"showSkeleton\"]);\n var _h = useSkeleton(showSkeleton, skeletonProps), renderSkeleton = _h.renderSkeleton, textRef = _h.textRef;\n var skeleton = renderSkeleton({\n wrapperClassName: cn(defaultMargins && styles[\"margins-\".concat(view)]),\n dataTestId: dataTestId,\n });\n if (skeleton) {\n return skeleton;\n }\n return (React.createElement(Component, __assign({ className: cn(styles.component, className, styles[\"\".concat(font, \"-\").concat(view)], defaultMargins && styles[\"margins-\".concat(view)], styles[weight], color && colors[color], (_b = {}, _b[styles[\"rowLimit\".concat(rowLimit)]] = rowLimit, _b)), \"data-test-id\": dataTestId, ref: mergeRefs([ref, textRef]) }, restProps), children));\n});\n\nexport { TitleBase };\n","function getDefaultWeight(font, platform) {\n if (font === 'styrene') {\n return 'medium';\n }\n if (platform === 'desktop') {\n return 'bold';\n }\n return 'semibold';\n}\n\nexport { getDefaultWeight };\n","var commonStyles = {\"component\":\"typography__component_1j0sv\",\"bold\":\"typography__bold_1j0sv\",\"semibold\":\"typography__semibold_1j0sv\",\"medium\":\"typography__medium_1j0sv\",\"regular\":\"typography__regular_1j0sv\"};\nrequire('./title/common.css')\n\nexport { commonStyles as c };\n","import { __assign } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport { TitleBase } from './component.js';\nimport { c as commonStyles } from '../common.module-76facc75.js';\n\nvar styles = {\"styrene-xlarge\":\"typography__styrene-xlarge_1jotc\",\"styrene-large\":\"typography__styrene-large_1jotc\",\"styrene-medium\":\"typography__styrene-medium_1jotc\",\"styrene-small\":\"typography__styrene-small_1jotc\",\"styrene-xsmall\":\"typography__styrene-xsmall_1jotc\",\"system-xlarge\":\"typography__system-xlarge_1jotc\",\"system-large\":\"typography__system-large_1jotc\",\"system-medium\":\"typography__system-medium_1jotc\",\"system-small\":\"typography__system-small_1jotc\",\"system-xsmall\":\"typography__system-xsmall_1jotc\",\"margins-xlarge\":\"typography__margins-xlarge_1jotc\",\"margins-large\":\"typography__margins-large_1jotc\",\"margins-medium\":\"typography__margins-medium_1jotc\",\"margins-small\":\"typography__margins-small_1jotc\",\"margins-xsmall\":\"typography__margins-xsmall_1jotc\",\"rowLimit1\":\"typography__rowLimit1_1jotc\",\"rowLimit2\":\"typography__rowLimit2_1jotc\",\"rowLimit3\":\"typography__rowLimit3_1jotc\"};\nrequire('./index.css')\n\nvar Title = forwardRef(function (props, ref) { return (React.createElement(TitleBase, __assign({}, props, { styles: Object.assign(commonStyles, styles), ref: ref, platform: 'desktop' }))); });\n\nexport { Title };\n","import { __assign } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport { TitleBase } from '../title/component.js';\nimport { c as commonStyles } from '../common.module-76facc75.js';\n\nvar styles = {\"styrene-xlarge\":\"typography__styrene-xlarge_1hjyj\",\"styrene-large\":\"typography__styrene-large_1hjyj\",\"styrene-medium\":\"typography__styrene-medium_1hjyj\",\"styrene-small\":\"typography__styrene-small_1hjyj\",\"styrene-xsmall\":\"typography__styrene-xsmall_1hjyj\",\"system-xlarge\":\"typography__system-xlarge_1hjyj\",\"system-large\":\"typography__system-large_1hjyj\",\"system-medium\":\"typography__system-medium_1hjyj\",\"system-small\":\"typography__system-small_1hjyj\",\"system-xsmall\":\"typography__system-xsmall_1hjyj\"};\nrequire('./index.css')\n\nvar TitleMobile = forwardRef(function (props, ref) { return (React.createElement(TitleBase, __assign({}, props, { styles: Object.assign(commonStyles, styles), ref: ref, platform: 'mobile' }))); });\n\nexport { TitleMobile };\n","import { __assign } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport { useMatchMedia } from '@alfalab/core-components-mq/esm';\nimport { TitleBase } from '../title/component.js';\nimport { c as commonStyles } from '../common.module-76facc75.js';\n\nvar styles = {\"styrene-xlarge\":\"typography__styrene-xlarge_k1jf9\",\"styrene-large\":\"typography__styrene-large_k1jf9\",\"styrene-medium\":\"typography__styrene-medium_k1jf9\",\"styrene-small\":\"typography__styrene-small_k1jf9\",\"styrene-xsmall\":\"typography__styrene-xsmall_k1jf9\",\"system-xlarge\":\"typography__system-xlarge_k1jf9\",\"system-large\":\"typography__system-large_k1jf9\",\"system-medium\":\"typography__system-medium_k1jf9\",\"system-small\":\"typography__system-small_k1jf9\",\"system-xsmall\":\"typography__system-xsmall_k1jf9\",\"margins-xlarge\":\"typography__margins-xlarge_k1jf9\",\"margins-large\":\"typography__margins-large_k1jf9\",\"margins-medium\":\"typography__margins-medium_k1jf9\",\"margins-small\":\"typography__margins-small_k1jf9\",\"margins-xsmall\":\"typography__margins-xsmall_k1jf9\"};\nrequire('./index.css')\n\nvar TitleResponsive = forwardRef(function (props, ref) {\n var isDesktop = useMatchMedia('(min-width: 1024px)')[0];\n return (React.createElement(TitleBase, __assign({}, props, { styles: Object.assign(commonStyles, styles), ref: ref, platform: isDesktop ? 'desktop' : 'mobile' })));\n});\n\nexport { TitleResponsive };\n","import { Text } from './text/component.js';\nimport { Title } from './title/index.js';\nimport { TitleMobile } from './title-mobile/component.js';\nimport { TitleResponsive } from './title-responsive/component.js';\n\nvar Typography = {\n Title: Title,\n Text: Text,\n TitleResponsive: TitleResponsive,\n TitleMobile: TitleMobile,\n};\n\nexport { Typography };\n"],"names":["getDataTestId","dataTestId","element","elementPart","concat","toLowerCase","undefined","fnUtils","clamp","value","min","max","clampedValue","Math","Number","Date","noop","isNil","cachedSize","isClient","window","browser","getScrollbarSize","scrollDiv","document","createElement","style","width","height","position","top","overflow","body","appendChild","scrollbarSize","offsetWidth","clientWidth","removeChild","isWebkitBased","navigator","userAgent","indexOf","styles","Skeleton","_a","_b","visible","_c","animate","className","children","colorStyles","default","inverted","CONFIG","xs","padding","lineWidth","size","s","m","SIZE_TO_CLASSNAME_MAP","Spinner","sizeProp","_d","colors","id","uniqId","useId","_e","xStart","xEnd","y","r","topGradientId","bottomGradientId","viewBox","fill","xmlns","spinner","component","x1","offset","stopOpacity","stopColor","strokeWidth","stroke","d","strokeLinecap","useSkeleton","showSkeleton","skeletonProps","useState","skeletonParams","setSkeletonParams","textRef","useRef","useLayoutEffect_SAFE_FOR_SSR","current","getComputedStyle","textHeight","offsetHeight","fontSize","parseInt","lineHeight","rows","ceil","renderSkeleton","props","wrapperClassName","align","__spreadArray","Array","map","_","idx","isArray","key","skeletonText","Text","forwardRef","ref","view","tag","Component","weight","_f","monospaceNumbers","_g","defaultMargins","color","rowLimit","restProps","__rest","_h","skeleton","paragraphWithMargins","__assign","paragraph","monospace","TitleBase","font","platform","getDefaultWeight","commonStyles","Title","Object","assign","TitleMobile","Typography","TitleResponsive","isDesktop","useMatchMedia"],"sourceRoot":""}