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B,OAEpB,YAIH,CArEA","sources":["webpack://spartner/./node_modules/@10d/tend-ui-primitives/Counter/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Counter/Counter.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Tooltip/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Tooltip/Tooltip.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/contexts/DrawerContext.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Root/Root.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Header/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Header/Header.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Footer/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Footer/Footer.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Body/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Body/Body.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/CloseButton/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/CloseButton/CloseButton.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Text/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Text/Text.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Link/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Link/Link.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Base.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Paragraph/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Paragraph/Paragraph.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Title/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Title/Title.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Quote/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Quote/Quote.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Em/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Em/Em.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Strong/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/@10d/tend-ui-typography/Strong/Strong.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Title/Title.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/components/Description/Description.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Drawer/Drawer.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Spinner/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Spinner/Spinner.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Spinner/Spinner.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Dot/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Dot/Dot.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/components/Root/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/contexts/SizeContext.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/components/Root/Root.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/components/Main/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/components/Main/Main.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/components/Title/Title.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Layout/Layout.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/ToggleButton/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/ToggleButton/context.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/ToggleButton/Group/Group.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/ToggleButton/ToggleButton.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/ToggleButton/ToggleButton.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Input/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Input/Input.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/internal/useAllowClear.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/internal/useInputTitle.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Button/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Button/Button.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Button/components/ButtonGroup/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Button/components/ButtonGroup/ButtonGroup.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Empty/components/Error/Error.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Empty/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Empty/Empty.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Overflow/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Tag/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Tag/Tag.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Tag/Tag.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Field/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/contexts/FieldProvider.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Field/Field.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Field/Field.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Help/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Help/Help.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Help/Help.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Label/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Label/Label.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Label/Label.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Message/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Message/Message.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Message/Message.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/styled.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Form.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/Form/Form.module.css.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/color.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/fontSize.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/fontWeight.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/textAlign.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/withUnit.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/margin.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/padding.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/uppercase.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/width.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/height.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/types/Responsive.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/isResponsiveObject.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/createMediaQuery.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/styling.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/pointer.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/px.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/borderRadius.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/backgroundColor.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/wordBreak.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/cursor.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/whiteSpace.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/mixins/maxWidth.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/extractMarginProps.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/extractPaddingProps.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/extractDimensionProps.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/core/extractLayoutProps.js","webpack://spartner/./node_modules/@10d/tend-ui-styling/Normalize.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/utils.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/SamoletTheme.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/GlobalTheme.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/Theme.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/ConfigProvider.js","webpack://spartner/./node_modules/@10d/tend-ui-theme/TendUI.js","webpack://spartner/./node_modules/@10d/tend-ui-primitives/node_modules/classnames/index.js"],"sourcesContent":["import styled, { css } from 'styled-components';\nimport { pointer } from '@10d/tend-ui-styling';\n\nconst Content = styled.span `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n`;\nconst Root = styled.span `\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n`;\nconst Bubble = styled.span.attrs({\n $placements: {\n leftTop: css `\n top: 0;\n left: 0;\n transform: scale(1) translate(-50%, -50%);\n transform-origin: 100% 0%;\n `,\n rightTop: css `\n top: 0;\n right: 0;\n transform: scale(1) translate(50%, -50%);\n transform-origin: 100% 0%;\n `,\n rightBottom: css `\n bottom: 0;\n right: 0;\n transform: scale(1) translate(50%, 50%);\n transform-origin: 100% 0%;\n `,\n leftBottom: css `\n bottom: 0;\n left: 0;\n transform: scale(1) translate(-50%, 50%);\n transform-origin: 100% 0%;\n `,\n },\n}) `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n padding: 0 4px;\n border-radius: 32px;\n min-width: 16px;\n text-align: center;\n\n ${props => {\n if (props.$inline)\n return;\n return css `\n position: absolute;\n z-index: 1;\n ${props.$placements[props.$placement]}\n top: ${props.$offset[1]}px;\n top: ${props.$offset[0]}px;\n `;\n}};\n\n ${props => {\n if (props.$color || props.$backgroundColor)\n return css `\n color: ${props.$color || props.theme.colors.gray0};\n background-color: ${props.$backgroundColor || props.theme.colors.gray50};\n `;\n return {\n default: css `\n background-color: ${props => props.theme.colors.gray50};\n `,\n success: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.green600};\n `,\n warning: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.gold600};\n `,\n processing: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.blue600};\n `,\n error: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.red600};\n `,\n gray: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gray650};\n `,\n blue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.blue600};\n `,\n geekblue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.geekblue600};\n `,\n green: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.green600};\n `,\n yellow: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gold600};\n `,\n red: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.red600};\n `,\n cyan: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.cyan600};\n `,\n volcano: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.volcano600};\n `,\n purple: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.purple600};\n `,\n 'gray-light': css `\n color: ${props.theme.colors.gray650};\n background-color: ${props.theme.colors.gray50};\n `,\n 'blue-light': css `\n color: ${props.theme.colors.blue700};\n background-color: ${props.theme.colors.blue100};\n `,\n 'geekblue-light': css `\n color: ${props.theme.colors.geekblue600};\n background-color: ${props.theme.colors.geekblue200};\n `,\n 'green-light': css `\n color: ${props.theme.colors.green700};\n background-color: ${props.theme.colors.green100};\n `,\n 'yellow-light': css `\n color: ${props.theme.colors.gold800};\n background-color: ${props.theme.colors.gold200};\n `,\n 'red-light': css `\n color: ${props.theme.colors.red700};\n background-color: ${props.theme.colors.red100};\n `,\n 'cyan-light': css `\n color: ${props.theme.colors.cyan800};\n background-color: ${props.theme.colors.cyan100};\n `,\n 'volcano-light': css `\n color: ${props.theme.colors.volcano700};\n background-color: ${props.theme.colors.volcano100};\n `,\n 'purple-light': css `\n color: ${props.theme.colors.purple500};\n background-color: ${props.theme.colors.purple100};\n `,\n }[props.$preset];\n}};\n\n ${pointer};\n`;\n\nexport { Bubble, Content, Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { isNumber, isString } from '@10d/tend-ui-utils';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root, Content, Bubble } from './styled.js';\n\nconst clamp = (value, max) => (value >= max ? `${max}+` : value);\nconst BaseCounter = (_a, ref) => {\n var { showZero = false, preset = 'red', before, after, children, inner, max = 99, offset = [0, 0], placement = 'rightTop', className, rootClassName, inline = true, color, backgroundColor } = _a, props = __rest(_a, [\"showZero\", \"preset\", \"before\", \"after\", \"children\", \"inner\", \"max\", \"offset\", \"placement\", \"className\", \"rootClassName\", \"inline\", \"color\", \"backgroundColor\"]);\n const theme = useTheme();\n const _color = useColor(color);\n // FIXME: Поправить типы\n const _backgroundColor = useColor(backgroundColor);\n const isInnerReactElement = React.isValidElement(inner);\n const isInnerNumber = isNumber(inner);\n const isInnerString = isString(inner);\n const title = isInnerNumber ? `${inner}` : undefined;\n const isPositiveNumber = isInnerNumber && inner > 0;\n const isAllowedNumber = isInnerNumber && showZero && inner >= 0;\n const isShown = isInnerReactElement || isPositiveNumber || isAllowedNumber || isInnerString;\n const content = isInnerNumber ? clamp(inner, max) : inner;\n return (React.createElement(Root, { ref: ref, theme: theme, className: cn(['tend-ui-counter-root', rootClassName]) },\n before && (React.createElement(Content, { className: 'tend-ui-counter-before', theme: theme }, before)),\n children,\n isShown && (React.createElement(Bubble, Object.assign({ \"data-testid\": 'tend-ui-counter' }, props, { theme: theme, \"$inline\": inline, \"$color\": _color, \"$backgroundColor\": _backgroundColor, \"$preset\": preset, \"$offset\": offset, \"$placement\": placement, \"$pointer\": !!props.onClick, title: title, className: cn(['tend-ui-counter-counter', className]) }), content)),\n after && (React.createElement(Content, { className: 'tend-ui-counter-after', theme: theme }, after))));\n};\nconst Counter = React.forwardRef(BaseCounter);\nCounter.displayName = 'Counter';\n\nexport { Counter };\n","import AntTooltip from 'antd-core/es/tooltip';\nimport styled, { css } from 'styled-components';\nimport { withInjectedClassName } from '@10d/tend-ui-factories';\n\nconst Root = styled(withInjectedClassName(AntTooltip, 'overlayClassName')) `\n &.tend-ui-tooltip {\n .tend-ui-tooltip-arrow::before {\n clip-path: polygon(\n 1.6568542494923806px 100%,\n 50% 1.6568542494923806px,\n 14.34314575050762px 100%,\n 1.6568542494923806px 100%\n );\n }\n\n .tend-ui-tooltip-inner {\n padding: 8px;\n ${props => props.$lineBreak &&\n css `\n white-space: pre-line;\n `}\n }\n }\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Root } from './styled.js';\n\nconst Tooltip = React.forwardRef((_a, ref) => {\n var { lineBreak, mouseEnterDelay = 0.5 } = _a, props = __rest(_a, [\"lineBreak\", \"mouseEnterDelay\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-tooltip' }, props, { ref: ref, \"$lineBreak\": lineBreak, mouseEnterDelay: mouseEnterDelay })));\n});\nTooltip.displayName = 'Tooltip';\n\nexport { Tooltip };\n","import React from 'react';\n\n/**\n * @internal Не для публичного использования\n */\nconst DrawerContext = React.createContext(undefined);\n/**\n * @internal Не для публичного использования\n */\nconst useDrawerContext = () => React.useContext(DrawerContext);\n\nexport { DrawerContext, useDrawerContext };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport RcDrawer from 'rc-drawer';\nimport { ConfigContext } from 'antd-core/es/config-provider';\nimport useStyle from 'antd-core/es/drawer/style';\nimport { getTransitionName } from 'antd-core/es/_util/motion';\nimport { useColor } from '@10d/tend-ui-theme';\nimport { DrawerContext } from '../../contexts/DrawerContext.js';\n\nconst FULLSCREEN_OFFSET = '0px';\nconst Root = (_a) => {\n var { open, maskClosable, mask, fullscreen, size = 'medium', placement = 'right', onClose, children, destroyOnClose, backgroundColor } = _a, props = __rest(_a, [\"open\", \"maskClosable\", \"mask\", \"fullscreen\", \"size\", \"placement\", \"onClose\", \"children\", \"destroyOnClose\", \"backgroundColor\"]);\n const { getPrefixCls } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('drawer');\n const [, hashId] = useStyle(prefixCls);\n // FIXME: Исправить литеральные типы\n const _backgroundColor = useColor(backgroundColor);\n const fullscreenOffset = (() => {\n var _a;\n if (typeof fullscreen === 'object')\n return (_a = fullscreen === null || fullscreen === void 0 ? void 0 : fullscreen.offset) !== null && _a !== void 0 ? _a : FULLSCREEN_OFFSET;\n return FULLSCREEN_OFFSET;\n })();\n const isTop = placement === 'top';\n const isBottom = placement === 'bottom';\n const isLeft = placement === 'left';\n const isRight = placement === 'right';\n const isVertical = isTop || isBottom;\n const isHorizontal = isLeft || isRight;\n const maskMotion = React.useMemo(() => ({\n motionName: getTransitionName(prefixCls, 'mask-motion'),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500,\n }), [prefixCls]);\n const panelMotion = React.useCallback(motionPlacement => ({\n motionName: getTransitionName(prefixCls, `panel-motion-${motionPlacement}`),\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n motionDeadline: 500,\n }), [prefixCls]);\n const width = React.useMemo(() => {\n if (fullscreen && isHorizontal)\n return `calc(100% - ${fullscreenOffset})`;\n return {\n small: '400px',\n medium: '500px',\n large: '800px',\n }[size];\n }, [fullscreen, fullscreenOffset, isHorizontal, size]);\n const height = React.useMemo(() => {\n if (fullscreen && isVertical)\n return `calc(100% - ${fullscreenOffset})`;\n return;\n }, [fullscreen, fullscreenOffset, isVertical]);\n return (React.createElement(RcDrawer, Object.assign({ open: open, mask: mask, maskClosable: maskClosable, onClose: onClose, prefixCls: prefixCls, rootClassName: hashId, maskMotion: maskMotion, motion: panelMotion, width: width, height: height, placement: placement, destroyOnClose: destroyOnClose, styles: React.useMemo(() => ({\n content: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100vh',\n backgroundColor: _backgroundColor,\n },\n }), [_backgroundColor]) }, props),\n React.createElement(DrawerContext.Provider, { value: React.useMemo(() => ({ onClose }), [onClose]) }, children)));\n};\nRoot.displayName = 'Drawer.Root';\n\nexport { Root };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n &.tend-ui-drawer-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 18px 24px;\n border-bottom: none;\n }\n`;\n\nexport { Root };\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst Header = ({ children }) => {\n return React.createElement(Root, { className: 'tend-ui-drawer-header' }, children);\n};\nHeader.displayName = 'Drawer.Header';\n\nexport { Header };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n &.tend-ui-drawer-footer {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: ${props => props.$justifyContent};\n padding: 16px 24px;\n border-top: none;\n }\n`;\n\nexport { Root };\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst Footer = ({ children, justifyContent = 'flex-end', }) => {\n return (React.createElement(Root, { \"$justifyContent\": justifyContent, className: 'tend-ui-drawer-footer' }, children));\n};\nFooter.displayName = 'Drawer.Footer';\n\nexport { Footer };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n &.tend-ui-drawer-body {\n flex: 1;\n padding: 12px 24px;\n overflow: auto;\n\n ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n }\n\n /* FIXME: Мигрировать на переменные */\n ::-webkit-scrollbar-track {\n background: #f4f4f5ff;\n border-radius: 16px;\n }\n\n /* FIXME: Мигрировать на переменные */\n ::-webkit-scrollbar-thumb {\n background-color: #dddee1ff;\n border-radius: 16px;\n }\n }\n`;\n\nexport { Root };\n","import React from 'react';\nimport { Root } from './styled.js';\n\nconst Body = ({ children }) => {\n return React.createElement(Root, { className: 'tend-ui-drawer-body' }, children);\n};\nBody.displayName = 'Drawer.Body';\n\nexport { Body };\n","import styled from 'styled-components';\n\nconst Root = styled.button `\n cursor: pointer;\n display: flex;\n padding: 0;\n margin: 0;\n border-color: transparent;\n background: transparent;\n color: ${props => props.theme.colors.gray650};\n\n /* Animation */\n transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition-property: color;\n\n &:hover {\n color: ${props => props.theme.colors.gray900};\n }\n`;\n\nexport { Root };\n","import React from 'react';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Tooltip } from '../../../Tooltip/Tooltip.js';\nimport { useDrawerContext } from '../../contexts/DrawerContext.js';\nimport { Root } from './styled.js';\n\nconst CloseButton = (props) => {\n const theme = useTheme();\n const context = useDrawerContext();\n return (React.createElement(Tooltip, { title: '\\u0417\\u0430\\u043A\\u0440\\u044B\\u0442\\u044C' },\n React.createElement(Root, Object.assign({ onClick: context === null || context === void 0 ? void 0 : context.onClose }, props, { theme: theme }),\n React.createElement(Close, { size: 20 }))));\n};\nCloseButton.displayName = 'Drawer.CloseButton';\n\nexport { CloseButton };\n","import { css } from 'styled-components';\n\nconst fontSize = (props) => {\n if (!props.$size)\n return css `\n line-height: 20px;\n `;\n return {\n large: css `\n font-size: 16px;\n line-height: 24px;\n `,\n medium: css `\n line-height: 20px;\n `,\n small: css `\n font-size: 12px;\n line-height: 16px;\n `,\n xs: css `\n font-size: 10px;\n line-height: 16px;\n `,\n }[props.$size];\n};\n\nexport { fontSize };\n//# sourceMappingURL=styled.js.map\n","import styled, { css } from 'styled-components';\nimport AntTypography from 'antd-core/es/typography/Text';\nimport { fontWeight, wordBreak, color, uppercase, margin, width, height, whiteSpace, textAlign } from '@10d/tend-ui-styling';\nimport { fontSize } from '../styled.js';\n\nconst Root = styled(AntTypography) `\n &.tend-ui-typography-text {\n ${fontSize};\n ${fontWeight};\n ${wordBreak};\n ${color};\n ${uppercase};\n ${margin};\n ${width};\n ${height};\n ${whiteSpace};\n ${props => [\n props.$width,\n props.$height,\n props.$marginTop,\n props.$marginRight,\n props.$marginBottom,\n props.$marginLeft,\n props.$margin,\n].some(Boolean) &&\n css `\n display: inline-block;\n `}\n ${props => props.$textAlign &&\n css `\n display: inline-block;\n ${textAlign};\n `}\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractDimensionProps } from '@10d/tend-ui-styling';\nimport { useColor } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst BaseText = (_a, ref) => {\n var { size = 'medium', uppercase, color, textAlign, fontWeight = 400, className, wordBreak, whiteSpace } = _a, props = __rest(_a, [\"size\", \"uppercase\", \"color\", \"textAlign\", \"fontWeight\", \"className\", \"wordBreak\", \"whiteSpace\"]);\n const _color = useColor(color);\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractDimensionProps(withoutMargins), { rest } = _c, dimensions = __rest(_c, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-text' }, rest, margins, dimensions, { ref: ref, \"$uppercase\": uppercase, \"$size\": size, \"$color\": _color, \"$textAlign\": textAlign, \"$fontWeight\": fontWeight, \"$wordBreak\": wordBreak, \"$whiteSpace\": whiteSpace, className: ['tend-ui-typography-text', className].filter(Boolean).join(' ') })));\n};\nconst Text = React.forwardRef(BaseText);\nText.displayName = 'Text';\n\nexport { Text };\n//# sourceMappingURL=Text.js.map\n","import styled, { css } from 'styled-components';\nimport AntLink from 'antd-core/es/typography/Link';\nimport { uppercase, textAlign, whiteSpace } from '@10d/tend-ui-styling';\n\nconst Root = styled(AntLink).attrs({\n $sizes: {\n small: css `\n font-size: 12px;\n line-height: 16px;\n `,\n medium: '',\n large: css `\n font-size: 16px;\n line-height: 24px;\n `,\n },\n}) `\n &.tend-ui-typography {\n display: inline-flex;\n gap: 4px;\n\n & > u {\n gap: 4px;\n display: inline-flex;\n }\n\n ${props => props.$sizes[props.$size]};\n ${uppercase};\n ${props => props.$textAlign &&\n css `\n display: inline-block;\n ${textAlign};\n `}\n\n ${whiteSpace};\n\n ${props => !props.$disabled &&\n css `\n &:focus {\n border-radius: 4px;\n background-color: ${props.$theme.colors['blue150-transparent']};\n }\n `}\n\n .anticon {\n font-size: 16px;\n }\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React, { forwardRef } from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\n\nconst BaseLink = (_a, ref) => {\n var { underline = false, before, after, size = 'medium', textAlign, uppercase, children, className, whiteSpace } = _a, props = __rest(_a, [\"underline\", \"before\", \"after\", \"size\", \"textAlign\", \"uppercase\", \"children\", \"className\", \"whiteSpace\"]);\n const _underline = props.disabled === true ? false : underline;\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-link' }, props, { ref: ref, \"$theme\": theme, \"$size\": size, \"$disabled\": props.disabled, \"$textAlign\": textAlign, \"$whiteSpace\": whiteSpace, \"$uppercase\": uppercase, underline: _underline, className: cn(['tend-ui-typography-link', className]) }),\n before,\n children,\n after));\n};\nconst Link = forwardRef(BaseLink);\nLink.displayName = 'Link';\n\nexport { Link };\n//# sourceMappingURL=Link.js.map\n","import React from 'react';\nimport AntBase from 'antd-core/es/typography/Base';\n\nconst INTERNAL_TypographyBase = React.forwardRef((props, ref) => {\n return React.createElement(AntBase, Object.assign({ ref: ref }, props));\n});\n\nexport { INTERNAL_TypographyBase };\n//# sourceMappingURL=Base.js.map\n","import styled from 'styled-components';\nimport { color, whiteSpace, textAlign, uppercase, margin, width, height, padding, fontWeight } from '@10d/tend-ui-styling';\nimport { fontSize } from '../styled.js';\nimport { INTERNAL_TypographyBase } from '../Base.js';\n\nconst Root = styled(INTERNAL_TypographyBase) `\n &.tend-ui-typography {\n margin-top: 0px;\n ${fontSize};\n ${color};\n ${whiteSpace};\n ${textAlign};\n ${uppercase};\n ${margin};\n ${width};\n ${height};\n ${padding};\n ${fontWeight};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractPaddingProps, extractDimensionProps } from '@10d/tend-ui-styling';\nimport { useColor } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\n\nconst BaseParagraph = (_a, ref) => {\n var { size = 'medium', fontWeight = 400, color, textAlign, uppercase, className, whiteSpace } = _a, props = __rest(_a, [\"size\", \"fontWeight\", \"color\", \"textAlign\", \"uppercase\", \"className\", \"whiteSpace\"]);\n const $color = useColor(color);\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractPaddingProps(withoutMargins), { rest: withoutPaddings } = _c, paddings = __rest(_c, [\"rest\"]);\n const _d = extractDimensionProps(withoutPaddings), { rest } = _d, dimensions = __rest(_d, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-paragraph' }, rest, margins, paddings, dimensions, { ref: ref, \"$color\": $color, \"$whiteSpace\": whiteSpace, \"$textAlign\": textAlign, \"$size\": size, \"$uppercase\": uppercase, \"$fontWeight\": fontWeight, className: cn(['tend-ui-typography-paragraph', className]), component: 'p' })));\n};\nconst Paragraph = React.forwardRef(BaseParagraph);\nParagraph.displayName = 'Paragraph';\n\nexport { Paragraph };\n//# sourceMappingURL=Paragraph.js.map\n","import styled, { css } from 'styled-components';\nimport { color, whiteSpace, textAlign, margin, uppercase, width, padding, height } from '@10d/tend-ui-styling';\nimport { INTERNAL_TypographyBase } from '../Base.js';\n\nconst Root = styled(INTERNAL_TypographyBase).attrs({\n $levels: {\n h1: css `\n line-height: 1.2;\n font-weight: 600;\n `,\n h2: css `\n line-height: 1.25;\n font-weight: 600;\n `,\n h3: css `\n line-height: 36px;\n font-weight: 600;\n `,\n h4: css `\n line-height: 32px;\n font-weight: 600;\n `,\n h5: css `\n line-height: 24px;\n font-weight: 600;\n `,\n h6: css `\n font-size: 16px;\n line-height: 20px;\n margin-top: 1.2em;\n margin-bottom: 0.5em;\n font-weight: 600;\n `,\n d1: css `\n font-size: 64px;\n line-height: 1.25;\n font-weight: 600;\n `,\n d2: css `\n font-size: 56px;\n font-weight: 400;\n line-height: 1.28;\n `,\n },\n}) `\n &&& {\n ${props => props.$levels[props.$level]};\n ${color};\n ${whiteSpace};\n ${textAlign};\n ${margin};\n ${uppercase};\n ${width};\n ${padding};\n ${height};\n }\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractPaddingProps, extractDimensionProps } from '@10d/tend-ui-styling';\nimport cn from 'classnames';\nimport { useColor } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst levels = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n d1: 'h1',\n d2: 'h2',\n};\nconst BaseTitle = (_a, ref) => {\n var { level = 'h1', uppercase, color, textAlign, className, whiteSpace } = _a, props = __rest(_a, [\"level\", \"uppercase\", \"color\", \"textAlign\", \"className\", \"whiteSpace\"]);\n const _color = useColor(color);\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractPaddingProps(withoutMargins), { rest: withoutPaddings } = _c, paddings = __rest(_c, [\"rest\"]);\n const _d = extractDimensionProps(withoutPaddings), { rest } = _d, dimensions = __rest(_d, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-title' }, rest, margins, paddings, dimensions, { ref: ref, \"$level\": level, \"$uppercase\": uppercase, \"$color\": _color, \"$whiteSpace\": whiteSpace, \"$textAlign\": textAlign, component: levels[level], className: cn(['tend-ui-typography-title', className]) })));\n};\nconst Title = React.forwardRef(BaseTitle);\nTitle.displayName = 'Title';\n\nexport { Title };\n//# sourceMappingURL=Title.js.map\n","import styled from 'styled-components';\n\nconst Root = styled('q') `\n font-family: ${props => props.theme.fonts.museo};\n font-size: ${props => props.theme.fontSizes[14]};\n line-height: 20px;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport cn from 'classnames';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\n\nconst Quote = React.forwardRef((_a, ref) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-quote' }, props, { ref: ref, theme: theme, className: cn(['tend-ui-typography-quote', className]) })));\n});\nQuote.displayName = 'Quote';\n\nexport { Quote };\n//# sourceMappingURL=Quote.js.map\n","import styled from 'styled-components';\n\nconst Root = styled('em') `\n font-family: ${props => props.theme.fonts.museo};\n font-size: ${props => props.theme.fontSizes[14]};\n line-height: 20px;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\n\nconst Em = React.forwardRef((_a, ref) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-em' }, props, { ref: ref, theme: useTheme(), className: cn(['tend-ui-typography-em', className]) })));\n});\nEm.displayName = 'Em';\n\nexport { Em };\n//# sourceMappingURL=Em.js.map\n","import styled from 'styled-components';\n\nconst Root = styled.strong `\n font-family: ${props => props.theme.fonts.museo};\n font-size: ${props => props.theme.fontSizes[14]};\n line-height: 20px;\n`;\n\nexport { Root };\n//# sourceMappingURL=styled.js.map\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\n\nconst Strong = React.forwardRef((_a, ref) => {\n var { className } = _a, props = __rest(_a, [\"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-strong' }, props, { ref: ref, theme: theme, className: cn(['tend-ui-typography-string', className]) })));\n});\nStrong.displayName = 'Strong';\n\nexport { Strong };\n//# sourceMappingURL=Strong.js.map\n","import { Title as Title$1 } from '@10d/tend-ui-typography';\nimport React from 'react';\n\nconst Title = ({ children }) => {\n return (React.createElement(Title$1, { level: 'h5', margin: 0 }, children));\n};\nTitle.displayName = 'Drawer.Title';\n\nexport { Title };\n","import React from 'react';\nimport { Text } from '@10d/tend-ui-typography';\n\nconst Description = ({ children }) => {\n return React.createElement(Text, null, children);\n};\nDescription.displayName = 'Drawer.Description';\n\nexport { Description };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Root } from './components/Root/Root.js';\nimport { Header } from './components/Header/Header.js';\nimport { Footer } from './components/Footer/Footer.js';\nimport { Body } from './components/Body/Body.js';\nimport { CloseButton } from './components/CloseButton/CloseButton.js';\nimport { Title } from './components/Title/Title.js';\nimport { Description } from './components/Description/Description.js';\n\nconst Drawer = (_a) => {\n var { title, description, children, footer } = _a, props = __rest(_a, [\"title\", \"description\", \"children\", \"footer\"]);\n return (React.createElement(Root, Object.assign({}, props),\n React.createElement(Header, null,\n React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column' },\n title && React.createElement(Title, null, title),\n description && React.createElement(Description, null, description)),\n React.createElement(CloseButton, null)),\n React.createElement(Body, null, children),\n React.createElement(Footer, null, footer)));\n};\nDrawer.displayName = 'Drawer';\nDrawer.Root = Root;\nDrawer.Header = Header;\nDrawer.Body = Body;\nDrawer.Footer = Footer;\nDrawer.CloseButton = CloseButton;\nDrawer.Title = Title;\nDrawer.Description = Description;\n\nexport { Drawer };\n","import styled, { css, keyframes } from 'styled-components';\n\nconst createShrinkKeyframes = (strokeDasharray, strokeDashoffset) => keyframes `\n 0% {\n stroke-dashoffset: ${strokeDasharray};\n }\n\n 30% {\n stroke-dashoffset: ${strokeDashoffset};\n }\n\n 80% {\n stroke-dashoffset: ${strokeDashoffset};\n }\n\n 100% {\n stroke-dashoffset: ${strokeDasharray};\n }\n`;\nconst Circle = styled.circle `\n transform: rotate(-90deg);\n transform-origin: center;\n animation: rotate 1s linear infinite,\n ${props => createShrinkKeyframes(props.strokeDasharray, props.strokeDashoffset)}\n 1s linear infinite;\n\n @keyframes rotate {\n 0% {\n transform: rotate(-90deg);\n }\n\n 30% {\n transform: rotate(-90deg);\n }\n\n 60% {\n transform: rotate(90deg);\n }\n\n 100% {\n transform: rotate(270deg);\n }\n }\n`;\nconst Root = styled.div `\n position: relative;\n color: ${props => props.$color || 'inherit'};\n`;\nconst Svg = styled.svg `\n ${props => props.$center &&\n css `\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n `}\n`;\nconst Children = styled.span `\n ${props => props.$loading &&\n css `\n pointer-events: none;\n opacity: 0.5;\n `}\n`;\n\nexport { Children, Circle, Root, Svg };\n","var styles = {\"tend-ui-spinner\":\"tend-ui-spinner\",\"tend-ui-spinner-loading\":\"tend-ui-spinner-loading\",\"tend-ui-spinner-size-xs\":\"tend-ui-spinner-size-xs\",\"tend-ui-spinner-size-small\":\"tend-ui-spinner-size-small\",\"tend-ui-spinner-size-medium\":\"tend-ui-spinner-size-medium\",\"tend-ui-spinner-size-large\":\"tend-ui-spinner-size-large\"};\n\nexport { styles as default };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport cn from 'classnames';\nimport { useColor } from '@10d/tend-ui-theme';\nimport { Root, Children, Svg, Circle } from './styled.js';\nimport styles from './Spinner.module.css.js';\n\nconst DIMENSIONS = {\n xs: 16,\n small: 32,\n medium: 48,\n large: 64,\n};\nconst STROKE_WIDTH = {\n xs: 2,\n small: 3,\n medium: 4,\n large: 5,\n};\nconst BaseSpinner = (_a, ref) => {\n var { loading = true, size = 'medium', color, children, className } = _a, rest = __rest(_a, [\"loading\", \"size\", \"color\", \"children\", \"className\"]);\n const dimensions = DIMENSIONS[size];\n const strokeWidth = STROKE_WIDTH[size];\n const radius = dimensions / 2 - strokeWidth;\n const xOffset = dimensions / 2;\n const yOffset = dimensions / 2;\n const strokeDashArray = Math.ceil(2 * Math.PI * radius);\n const strokeDashOffset = (strokeDashArray / 4) * 3;\n const isXs = size === 'xs';\n const isSmall = size === 'small';\n const isMedium = size === 'medium';\n const isLarge = size === 'large';\n const __color = useColor(color);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-spinner' }, rest, { ref: ref, \"$color\": __color, className: cn([styles['tend-ui-spinner'], className], {\n [styles['tend-ui-spinner-loading']]: loading,\n [styles['tend-ui-spinner-size-xs']]: isXs,\n [styles['tend-ui-spinner-size-small']]: isSmall,\n [styles['tend-ui-spinner-size-medium']]: isMedium,\n [styles['tend-ui-spinner-size-large']]: isLarge,\n }) }),\n children && React.createElement(Children, { \"$loading\": loading }, children),\n loading && (React.createElement(Svg, { \"$center\": !!children, width: dimensions, height: dimensions },\n React.createElement(Circle, { fill: 'none', stroke: 'currentColor', strokeLinecap: 'round', strokeWidth: strokeWidth, strokeDasharray: strokeDashArray, strokeDashoffset: strokeDashOffset, r: radius, cx: xOffset, cy: yOffset })))));\n};\nconst Spinner = React.forwardRef(BaseSpinner);\nSpinner.displayName = 'Spinner';\n\nexport { Spinner };\n","import styled, { css } from 'styled-components';\nimport { pointer } from '@10d/tend-ui-styling';\n\nconst Content = styled.span `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n`;\nconst Root = styled.span `\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n`;\nconst Bubble = styled.span.attrs({\n $placements: {\n leftTop: css `\n top: ${(props) => props.$offset[1] || 0}px;\n left: ${(props) => props.$offset[0] || 0}px;\n transform: scale(1) translate(-50%, -50%);\n transform-origin: 100% 0%;\n `,\n rightTop: css `\n top: ${(props) => props.$offset[1] || 0}px;\n right: ${(props) => props.$offset[0] || 0}px;\n transform: scale(1) translate(50%, -50%);\n transform-origin: 100% 0%;\n `,\n rightBottom: css `\n bottom: ${(props) => props.$offset[1] || 0}px;\n right: ${(props) => props.$offset[0] || 0}px;\n transform: scale(1) translate(50%, 50%);\n transform-origin: 100% 0%;\n `,\n leftBottom: css `\n bottom: ${(props) => props.$offset[1] || 0}px;\n left: ${(props) => props.$offset[0] || 0}px;\n transform: scale(1) translate(-50%, 50%);\n transform-origin: 100% 0%;\n `,\n },\n}) `\n width: 8px;\n height: 8px;\n border-radius: 32px;\n\n ${props => {\n if (props.$inline)\n return;\n return css `\n position: absolute;\n z-index: 1;\n ${props.$placements[props.$placement]};\n `;\n}};\n\n ${props => {\n if (props.$backgroundColor)\n return css `\n background-color: ${props.$backgroundColor || props.theme.colors.gray50};\n `;\n return {\n default: css `\n background-color: ${props => props.theme.colors.gray50};\n `,\n success: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.green600};\n `,\n warning: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.gold600};\n `,\n processing: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.blue600};\n `,\n error: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props => props.theme.colors.red600};\n `,\n gray: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gray650};\n `,\n blue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.blue600};\n `,\n geekblue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.geekblue600};\n `,\n green: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.green600};\n `,\n yellow: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gold600};\n `,\n red: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.red600};\n `,\n cyan: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.cyan600};\n `,\n volcano: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.volcano600};\n `,\n purple: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.purple600};\n `,\n 'gray-light': css `\n color: ${props.theme.colors.gray650};\n background-color: ${props.theme.colors.gray50};\n `,\n 'blue-light': css `\n color: ${props.theme.colors.blue700};\n background-color: ${props.theme.colors.blue100};\n `,\n 'geekblue-light': css `\n color: ${props.theme.colors.geekblue600};\n background-color: ${props.theme.colors.geekblue200};\n `,\n 'green-light': css `\n color: ${props.theme.colors.green700};\n background-color: ${props.theme.colors.green100};\n `,\n 'yellow-light': css `\n color: ${props.theme.colors.gold800};\n background-color: ${props.theme.colors.gold200};\n `,\n 'red-light': css `\n color: ${props.theme.colors.red700};\n background-color: ${props.theme.colors.red100};\n `,\n 'cyan-light': css `\n color: ${props.theme.colors.cyan800};\n background-color: ${props.theme.colors.cyan100};\n `,\n 'volcano-light': css `\n color: ${props.theme.colors.volcano700};\n background-color: ${props.theme.colors.volcano100};\n `,\n 'purple-light': css `\n color: ${props.theme.colors.purple500};\n background-color: ${props.theme.colors.purple100};\n `,\n }[props.$preset];\n}};\n\n ${pointer};\n`;\n\nexport { Bubble, Content, Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root, Content, Bubble } from './styled.js';\n\nconst BaseDot = (_a, ref) => {\n var { preset = 'red', before, after, children, offset = [0, 0], placement = 'rightTop', className, rootClassName, inline = true, color } = _a, props = __rest(_a, [\"preset\", \"before\", \"after\", \"children\", \"offset\", \"placement\", \"className\", \"rootClassName\", \"inline\", \"color\"]);\n const theme = useTheme();\n const _color = useColor(color);\n return (React.createElement(Root, { ref: ref, theme: theme, className: cn(['tend-ui-dot-root', rootClassName]) },\n before && (React.createElement(Content, { className: 'tend-ui-dot-before', theme: theme }, before)),\n children,\n React.createElement(Bubble, Object.assign({ \"data-testid\": 'tend-ui-dot' }, props, { theme: theme, \"$inline\": inline, \"$backgroundColor\": _color, \"$preset\": preset, \"$offset\": offset, \"$placement\": placement, \"$pointer\": !!props.onClick, className: cn(['tend-ui-dot-dot', className]) })),\n after && (React.createElement(Content, { className: 'tend-ui-dot-after', theme: theme }, after))));\n};\nconst Dot = React.forwardRef(BaseDot);\nDot.displayName = 'Dot';\n\nexport { Dot };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n background-color: ${props => props.theme.colors.gray0};\n\n display: flex;\n flex-direction: column;\n min-height: 100%;\n`;\n\nexport { Root };\n","import { contextFactory } from '@10d/tend-ui-factories';\n\nconst [SizeContext, useSizeContext] = contextFactory();\n\nexport { SizeContext, useSizeContext };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root as Root$1 } from './styled.js';\nimport { SizeContext } from '../../contexts/SizeContext.js';\n\nconst Root = (_a) => {\n var { size = 'medium', className } = _a, props = __rest(_a, [\"size\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(SizeContext, { value: { size } },\n React.createElement(Root$1, Object.assign({}, props, { theme: theme, className: ['tend-ui-layout-root', className].filter(Boolean).join(' ') }))));\n};\nRoot.displayName = 'Layout.Root';\n\nexport { Root };\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.main.attrs({\n $sizes: {\n small: css `\n padding: 16px;\n `,\n medium: css `\n padding: 16px;\n `,\n large: css `\n padding: 16px;\n `,\n },\n}) `\n flex: 1;\n\n ${props => props.$sizes[props.$size]};\n background-color: ${props => props.$background};\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { useSizeContext } from '../../contexts/SizeContext.js';\n\nconst Main = (_a) => {\n var { children, className, background } = _a, props = __rest(_a, [\"children\", \"className\", \"background\"]);\n const theme = useTheme();\n const { size } = useSizeContext();\n // FIXME: Поправить литеральные типы\n const _background = useColor(background, 'white');\n return (React.createElement(Root, Object.assign({}, props, { theme: theme, \"$size\": size, \"$background\": _background, className: ['tend-ui-layout-main', className].filter(Boolean).join(' ') }), children));\n};\nMain.displayName = 'Layout.Main';\n\nexport { Main };\n","import React from 'react';\nimport { Title as Title$1 } from '@10d/tend-ui-typography';\n\nconst Title = (props) => {\n return React.createElement(Title$1, Object.assign({ level: 'h3', mt: 0 }, props));\n};\nTitle.displayName = 'Layout.Title';\n\nexport { Title };\n","import { Root } from './components/Root/Root.js';\nimport { Main } from './components/Main/Main.js';\nimport { Title } from './components/Title/Title.js';\n\nconst Layout = {\n Root,\n Main,\n Title,\n};\n\nexport { Layout };\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.button `\n /* Reset */\n margin: 0;\n padding: 0;\n border: none;\n box-sizing: border-box;\n text-decoration: none;\n background: none;\n\n /* Font */\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n\n /* Shape */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n outline-offset: 2px;\n height: max-content;\n border-radius: 6px;\n padding: 6px;\n\n /* Animation */\n cursor: pointer;\n transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n\n ${props => {\n if (props.$selected)\n return css `\n color: ${props => props.theme.colors.gray0};\n background: ${props => props.theme.colors.blue600};\n\n &:focus-visible {\n outline-color: ${props => props.theme.colors['gray350-transparent']};\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.gray0};\n background: ${props => props.theme.colors.blue700};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.gray0};\n background: ${props => props.theme.colors.blue800};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray400};\n background-color: ${props => props.theme.colors.gray50};\n }\n `;\n return css `\n color: ${props => props.theme.colors.gray900};\n\n &:focus-visible {\n outline-color: ${props => props.theme.colors['gray350-transparent']};\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.gray900};\n background: ${props => props.theme.colors.gray50};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.gray900};\n background: ${props => props.theme.colors.gray100};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray400};\n background-color: ${props => props.theme.colors.gray50};\n }\n `;\n}}\n\n .anticon {\n font-size: 20px;\n }\n`;\n\nexport { Root };\n","import React from 'react';\n\nconst ToggleButtonGroupContext = React.createContext(undefined);\nconst useToggleButtonGroupContext = () => {\n const ctx = React.useContext(ToggleButtonGroupContext);\n return ctx;\n};\n\nexport { ToggleButtonGroupContext, useToggleButtonGroupContext };\n","import React from 'react';\nimport { Box } from '@10d/tend-ui-grid';\nimport { ToggleButtonGroupContext } from '../context.js';\n\n/**\n * @deprecated Экспериментальное API. Не используйте в продакшене\n */\nconst Group = ({ onChange, children }) => {\n return (React.createElement(ToggleButtonGroupContext.Provider, { value: React.useMemo(() => ({ onChange }), [onChange]) },\n React.createElement(Box, null, children)));\n};\nGroup.displayName = 'ToggleButton.Group';\n\nexport { Group };\n","var styles = {\"tend-ui-toggle-button\":\"tend-ui-toggle-button\",\"tend-ui-toggle-button-selected\":\"tend-ui-toggle-button-selected\",\"tend-ui-toggle-button-disabled\":\"tend-ui-toggle-button-disabled\"};\n\nexport { styles as default };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useControllableState } from '@10d/tend-ui-hooks';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\nimport { Group } from './Group/Group.js';\nimport { useToggleButtonGroupContext } from './context.js';\nimport styles from './ToggleButton.module.css.js';\n\nconst BaseToggleButton = (_a, ref) => {\n var { onClick, selectable = true, selected, onSelectedChange, className } = _a, props = __rest(_a, [\"onClick\", \"selectable\", \"selected\", \"onSelectedChange\", \"className\"]);\n const theme = useTheme();\n const context = useToggleButtonGroupContext();\n const [_selected, _setSelected] = useControllableState({\n value: selected,\n defaultValue: false,\n onChange: onSelectedChange,\n });\n const handleClick = React.useCallback((e) => {\n var _a;\n if (props.disabled === true)\n return;\n (_a = context === null || context === void 0 ? void 0 : context.onChange) === null || _a === void 0 ? void 0 : _a.call(context, e, e.currentTarget.value);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n if (!selectable)\n return;\n _setSelected(!_selected);\n }, [_selected, _setSelected, context, onClick, props.disabled, selectable]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-toggle-button', \"aria-pressed\": _selected, \"aria-disabled\": props === null || props === void 0 ? void 0 : props.disabled }, props, { ref: ref, \"$selected\": selectable ? _selected : false, theme: theme, onClick: handleClick, className: cn([styles['tend-ui-toggle-button'], className], {\n [styles['tend-ui-toggle-button-selected']]: selected,\n [styles['tend-ui-toggle-button-disabled']]: props.disabled,\n }) })));\n};\nconst ForwardedToggleButton = React.forwardRef(BaseToggleButton);\nconst ToggleButton = Object.assign(ForwardedToggleButton, {\n displayName: 'ToggleButton',\n Group,\n});\n\nexport { ToggleButton };\n","import Input from 'antd-core/es/input/Input';\nimport styled from 'styled-components';\nimport { width, height, margin, padding } from '@10d/tend-ui-styling';\n\nconst Root = styled(Input) `\n &.tend-ui-input {\n font-size: 14px;\n line-height: 24px;\n text-overflow: ellipsis;\n }\n &.tend-ui-input-affix-wrapper {\n > input.tend-ui-input {\n text-overflow: ellipsis;\n font-size: 14px;\n line-height: 24px;\n }\n .tend-ui-input-suffix {\n color: ${props => props.$theme.colors.gray400};\n }\n .tend-ui-input-prefix {\n margin-inline-end: 8px;\n color: ${props => props.$theme.colors.gray400};\n }\n .tend-ui-input-clear-icon {\n display: flex;\n }\n .anticon {\n font-size: 16px;\n }\n }\n\n &.tend-ui-input,\n &.tend-ui-input-affix-wrapper {\n ${width};\n ${height};\n ${margin};\n ${padding};\n }\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport AntInputGroup from 'antd-core/es/input/Group';\nimport { extractMarginProps, extractDimensionProps, extractPaddingProps } from '@10d/tend-ui-styling';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { useAllowClear } from '../internal/useAllowClear.js';\nimport { useInputTitle } from '../internal/useInputTitle.js';\nimport { Root } from './styled.js';\n\nconst BaseInput = React.forwardRef((_a, ref) => {\n var { allowClear, clearIconTooltip, size = 'medium' } = _a, props = __rest(_a, [\"allowClear\", \"clearIconTooltip\", \"size\"]);\n const theme = useTheme();\n const allowClearProp = useAllowClear({ allowClear, clearIconTooltip });\n const bind = useInputTitle(props);\n const _size = {\n large: 'large',\n medium: 'middle',\n small: 'small',\n }[size];\n const _b = extractMarginProps(props), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = extractDimensionProps(Object.assign({ height: { large: 40, medium: 32, small: 24 }[size] }, withoutMargins)), { rest: withoutDimensions } = _c, dimensions = __rest(_c, [\"rest\"]);\n const _d = extractPaddingProps(withoutDimensions), { rest } = _d, paddings = __rest(_d, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-input' }, rest, dimensions, margins, paddings, bind, { ref: ref, \"$theme\": theme, size: _size, allowClear: allowClearProp })));\n});\nconst Input = Object.assign(BaseInput, {\n displayName: 'Input',\n Group: AntInputGroup,\n});\n\nexport { Input };\n","import React from 'react';\nimport { useTranslation } from '@10d/tend-ui-locale/hooks/useTranslation';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { Tooltip } from '../Tooltip/Tooltip.js';\n\nconst useAllowClear = ({ allowClear, clearIconTooltip, }) => {\n const t = useTranslation();\n return React.useMemo(() => {\n if (typeof allowClear === 'undefined')\n return;\n if (allowClear === false)\n return allowClear;\n return {\n clearIcon: (React.createElement(Tooltip, Object.assign({ title: t(['general', 'clear']) }, clearIconTooltip),\n React.createElement(Close, { size: 16 }))),\n };\n }, [allowClear, clearIconTooltip, t]);\n};\n\nexport { useAllowClear };\n","import React from 'react';\n\nconst useInputTitle = ({ title = '', onChange, }) => {\n const [_title, _setTitle] = React.useState(title);\n const bind = React.useMemo(() => ({\n title: _title,\n onChange: (e) => {\n _setTitle(e.target.value);\n onChange === null || onChange === void 0 ? void 0 : onChange(e);\n },\n }), [_title, onChange]);\n return bind;\n};\n\nexport { useInputTitle };\n","import styled, { css } from 'styled-components';\nimport { margin } from '@10d/tend-ui-styling';\nimport { Spinner as Spinner$1 } from '../Spinner/Spinner.js';\n\nconst variants = {\n skeleton: css `\n pointer-events: none;\n background-color: ${props => props.theme.colors['gray50-transparent']};\n `,\n primary: {\n disabled: css `\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n background-color: ${props => props.theme.colors['gray50-transparent']};\n `,\n presets: {\n default: css `\n color: ${props => props.theme.colors.gray0};\n background: ${props => props.theme.colors.blue600};\n\n &:focus-visible {\n outline: ${props => props.theme.colors.blue700} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n background: ${props => props.theme.colors.blue700};\n }\n &:active:not(:disabled) {\n background: ${props => props.theme.colors.blue800};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n background-color: ${props => props.theme.colors['gray50-transparent']};\n }\n `,\n danger: css `\n color: ${props => props.theme.colors.gray0};\n background: ${props => props.theme.colors.red600};\n\n &:focus-visible {\n outline: ${props => props.theme.colors.red700} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n background: ${props => props.theme.colors.red700};\n }\n &:active:not(:disabled) {\n background: ${props => props.theme.colors.red800};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n background-color: ${props => props.theme.colors['gray50-transparent']};\n }\n `,\n accent: css `\n color: ${props => props.$styling.buttonOnAccent.primaryDefaultText};\n background: ${props => props.theme.colors.gray0};\n\n &:focus-visible {\n outline: ${props => props.theme.colors.gray0} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n background: ${props => props.theme.colors.gray50};\n }\n &:active:not(:disabled) {\n background: ${props => props.theme.colors.gray100};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors['white700-transparent']};\n background-color: ${props => props.theme.colors['white100-transparent']};\n }\n `,\n },\n },\n secondary: {\n disabled: css `\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray400};\n background-color: ${props => props.theme.colors.gray50};\n `,\n presets: {\n default: css `\n color: ${props => props.theme.colors.gray900};\n background: ${props => props.theme.colors.gray0};\n border-color: ${props => props.theme.colors.gray200};\n border-width: 1px;\n border-style: solid;\n\n &:focus-visible {\n outline: ${props => props.theme.colors['gray350-transparent']} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.gray900};\n background: ${props => props.theme.colors['gray50-transparent']};\n border-color: ${props => props.theme.colors.gray400};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.gray900};\n background: ${props => props.theme.colors['gray100-transparent']};\n border-color: ${props => props.theme.colors.gray500};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n background-color: ${props => props.theme.colors['gray50-transparent']};\n border-color: transparent;\n }\n `,\n danger: css `\n color: ${props => props.theme.colors.red600};\n background: ${props => props.theme.colors.red100};\n\n &:focus-visible {\n outline: ${props => props.theme.colors.red700} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.red500};\n background: ${props => props.theme.colors.red50};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.red700};\n background: ${props => props.theme.colors.red200};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray400};\n border: 1px solid ${props => props.theme.colors.gray200};\n background-color: ${props => props.theme.colors.gray50};\n }\n `,\n accent: css `\n color: ${props => props.theme.colors.blue600};\n background: ${props => props.theme.colors.gray0};\n\n &:focus-visible {\n outline: ${props => props.theme.colors.blue600} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n background: ${props => props.theme.colors.gray50};\n }\n &:active:not(:disabled) {\n background: ${props => props.theme.colors.gray100};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors['white700-transparent']};\n background-color: ${props => props.theme.colors['white100-transparent']};\n }\n `,\n },\n },\n ghost: {\n disabled: css `\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n `,\n presets: {\n default: css `\n color: ${props => props.theme.colors.blue600};\n background: transparent;\n\n &:focus-visible {\n outline: ${props => props.theme.colors.blue700} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.blue700};\n background: ${props => props.theme.colors['blue50-transparent']};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.blue800};\n background: ${props => props.theme.colors['blue100-transparent']};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n }\n `,\n danger: css `\n color: ${props => props.theme.colors.red600};\n background: transparent;\n\n &:focus-visible {\n outline: ${props => props.theme.colors.red700} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.red700};\n background: ${props => props.theme.colors['red50-transparent']};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.red800};\n background: ${props => props.theme.colors['red200-transparent']};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n }\n `,\n accent: css `\n color: ${props => props.$styling.buttonOnAccent.ghostDefaultText};\n background: transparent;\n\n &:focus-visible {\n outline: ${props => props.theme.colors.gray0} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.$styling.buttonOnAccent.ghostHoverText};\n background: ${props => props.theme.colors['white100-transparent']};\n }\n &:active:not(:disabled) {\n color: ${props => props.$styling.buttonOnAccent.ghostPressedText};\n background: ${props => props.theme.colors['white150-transparent']};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.$styling.buttonOnAccent.ghostDisabledText};\n }\n `,\n },\n },\n link: {\n disabled: css `\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n `,\n presets: {\n default: css `\n color: ${props => props.theme.colors.blue600};\n background: transparent;\n\n &:focus-visible {\n outline: none;\n background-color: ${props => props.theme.colors['blue150-transparent']};\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.blue700};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.blue800};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n }\n `,\n danger: css `\n color: ${props => props.theme.colors.red600};\n background: transparent;\n\n &:focus-visible {\n outline: none;\n background-color: ${props => props.theme.colors['red150-transparent']};\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.red700};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.red800};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors.gray500};\n }\n `,\n accent: css `\n color: ${props => props.theme.colors.gray0};\n background: transparent;\n\n &:focus-visible {\n outline: ${props => props.theme.colors.gray0} solid 2px;\n }\n &:hover:not(:disabled) {\n cursor: pointer;\n color: ${props => props.theme.colors.gray100};\n }\n &:active:not(:disabled) {\n color: ${props => props.theme.colors.gray150};\n }\n &:disabled {\n cursor: not-allowed;\n color: ${props => props.theme.colors['white700-transparent']};\n }\n `,\n },\n },\n};\nconst Root = styled.button.attrs({\n $sizes: {\n large: {\n default: css `\n border-radius: 10px;\n padding: 10px 20px;\n `,\n iconOnly: css `\n border-radius: 10px;\n padding: 12px;\n `,\n iconLeft: css `\n border-radius: 10px;\n padding: 10px 20px 10px 16px;\n `,\n iconRight: css `\n border-radius: 10px;\n padding: 10px 16px 10px 20px;\n `,\n noPadding: css `\n border-radius: 10px;\n padding: 0px;\n `,\n },\n medium: {\n default: css `\n border-radius: 8px;\n padding: 6px 16px;\n `,\n iconOnly: css `\n border-radius: 8px;\n padding: 8px;\n `,\n iconLeft: css `\n border-radius: 8px;\n padding: 6px 16px 6px 12px;\n `,\n iconRight: css `\n border-radius: 8px;\n padding: 6px 12px 6px 16px;\n `,\n noPadding: css `\n border-radius: 8px;\n padding: 0px;\n `,\n },\n small: {\n default: css `\n border-radius: 6px;\n padding: 2px 12px;\n `,\n iconOnly: css `\n border-radius: 6px;\n padding: 4px;\n `,\n iconLeft: css `\n border-radius: 6px;\n padding: 2px 12px 2px 8px;\n `,\n iconRight: css `\n border-radius: 6px;\n padding: 2px 8px 2px 12px;\n `,\n noPadding: css `\n border-radius: 6px;\n padding: 0px;\n `,\n },\n },\n}) `\n /* Reset */\n margin: 0;\n padding: 0;\n border: none;\n box-sizing: border-box;\n text-decoration: none;\n\n /* Font */\n font-family: ${props => props.theme.fonts.museo};\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n\n /* Shape */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n outline-offset: 2px;\n height: max-content;\n\n /* Animation */\n transition: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition-property: background, color, border;\n\n ${props => props.$fullWidth &&\n css `\n width: 100%;\n `}\n ${props => props.$sizes[props.$size][props.$shape]};\n ${props => {\n const isButton = props.$tag === 'button';\n if (props.$skeleton)\n return variants.skeleton;\n if (props.$danger)\n return variants[props.$variant].presets.danger;\n if (props.$disabled && !isButton)\n return variants[props.$variant].disabled;\n return variants[props.$variant].presets[props.$preset];\n}};\n ${margin};\n\n /* FIXME: Удалить anticon класс после переезда полностью на внутренние иконки */\n .anticon,\n .tend-ui-icon-root {\n font-size: 16px;\n }\n\n /* Компенсируем border 1px у кнопок secondary так как border-box не срабатывает по какой-то причине */\n &:where(.tend-ui-button-variant-secondary.tend-ui-button-size-large):not(\n .tend-ui-button-has-before,\n .tend-ui-button-has-after\n ) {\n padding: calc(10px - 1px) 20px;\n }\n &:where(.tend-ui-button-variant-secondary.tend-ui-button-size-medium):not(\n .tend-ui-button-has-before,\n .tend-ui-button-has-after\n ) {\n padding: calc(6px - 1px) 16px;\n }\n &:where(.tend-ui-button-variant-secondary.tend-ui-button-size-small):not(\n .tend-ui-button-has-before,\n .tend-ui-button-has-after\n ) {\n padding: calc(2px - 1px) 16px;\n }\n\n /* Компенсируем border 1px у кнопок secondary так как border-box не срабатывает по какой-то причине */\n &:where(\n .tend-ui-button-variant-secondary.tend-ui-button-size-large.tend-ui-button-has-before,\n .tend-ui-button-variant-secondary.tend-ui-button-size-large.tend-ui-button-has-after\n ) {\n padding: calc(12px - 1px);\n }\n &:where(\n .tend-ui-button-variant-secondary.tend-ui-button-size-medium.tend-ui-button-has-before,\n .tend-ui-button-variant-secondary.tend-ui-button-size-medium.tend-ui-button-has-after\n ) {\n padding: calc(8px - 1px);\n }\n &:where(\n .tend-ui-button-variant-secondary.tend-ui-button-size-small.tend-ui-button-has-before,\n .tend-ui-button-variant-secondary.tend-ui-button-size-small.tend-ui-button-has-after\n ) {\n padding: calc(4px - 1px);\n }\n`;\nconst Spinner = styled(Spinner$1) `\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n`;\nconst Hidden = styled.span `\n display: inline-flex;\n opacity: 0;\n`;\nconst SpinnerContainer = styled.span `\n display: inline-flex;\n position: relative;\n`;\n\nexport { Hidden, Root, Spinner, SpinnerContainer };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps } from '@10d/tend-ui-styling';\nimport merge from 'lodash/merge';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { INTERNAL_TendUILogger } from '@10d/tend-ui-utils';\nimport cn from 'classnames';\nimport { Hidden, SpinnerContainer, Spinner, Root } from './styled.js';\n\n// TODO: Нужно передать дефолтное состояние `type=\"button\"` в следующем мажоре\n// иначе, все кнопки по дефолту ведут себя как `type=\"submit\"` и триггерят формы\n// если кнопка вложена в нее\nfunction BaseButton(_a, ref) {\n var { padding = true, loading = false, disabled = false, danger = false, skeleton = false, fullWidth = false, variant = 'primary', size = 'medium', preset = 'default', before, after, children, onClick, className, UNSTABLE_styling } = _a, props = __rest(_a, [\"padding\", \"loading\", \"disabled\", \"danger\", \"skeleton\", \"fullWidth\", \"variant\", \"size\", \"preset\", \"before\", \"after\", \"children\", \"onClick\", \"className\", \"UNSTABLE_styling\"]);\n const theme = useTheme();\n const styling = React.useMemo(() => merge({\n buttonOnAccent: {\n primaryDefaultText: theme.colors.blue600,\n primaryHoverText: theme.colors.blue700,\n primaryPressedText: theme.colors.blue800,\n primaryFocusText: theme.colors.blue700,\n primaryDisabledText: theme.colors['white700-transparent'],\n ghostDefaultText: theme.colors.gray0,\n ghostHoverText: theme.colors.gray100,\n ghostPressedText: theme.colors.gray150,\n ghostFocusText: theme.colors.gray50,\n ghostDisabledText: theme.colors['white700-transparent'],\n },\n }, UNSTABLE_styling), [UNSTABLE_styling, theme.colors]);\n const hasChildren = !!children;\n const hasLeftIcon = !!before;\n const hasRightIcon = !!after;\n const hasBothIcons = hasLeftIcon && hasRightIcon;\n const hasOnlyLeftIcon = hasLeftIcon && !hasChildren;\n const hasOnlyRightIcon = hasRightIcon && !hasChildren;\n const isIconOnly = hasOnlyLeftIcon || hasOnlyRightIcon;\n const isPrimary = variant === 'primary';\n const isSecondary = variant === 'secondary';\n const isGhost = variant === 'ghost';\n const isLink = variant === 'link';\n const isLarge = size === 'large';\n const isMedium = size === 'medium';\n const isSmall = size === 'small';\n const isDefault = preset === 'default';\n const isDanger = preset === 'danger' || danger === true;\n const isAccent = preset === 'accent';\n const as = props.as || 'button';\n if (process.env.NODE_ENV === 'development') {\n if (variant === 'secondary' && isDanger) {\n INTERNAL_TendUILogger.warning([\n ` удален из дизайн системы.`,\n 'и',\n '',\n ]);\n }\n }\n const shape = (() => {\n if (padding === false)\n return 'noPadding';\n if (isIconOnly)\n return 'iconOnly';\n if (hasBothIcons)\n return 'default';\n if (hasLeftIcon)\n return 'iconLeft';\n if (hasRightIcon)\n return 'iconRight';\n return 'default';\n })();\n const content = React.useMemo(() => {\n if (skeleton)\n return (React.createElement(Hidden, null,\n before,\n children,\n after));\n if (loading)\n return (React.createElement(SpinnerContainer, null,\n React.createElement(Spinner, { size: 'xs' }),\n React.createElement(Hidden, null,\n before,\n children,\n after)));\n return (React.createElement(React.Fragment, null,\n before,\n children,\n after));\n }, [skeleton, before, children, after, loading]);\n const handleClick = React.useCallback((e) => {\n if (loading || disabled) {\n e.preventDefault();\n return;\n }\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n }, [disabled, loading, onClick]);\n const _b = extractMarginProps(props), { rest } = _b, margins = __rest(_b, [\"rest\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-button' }, rest, margins, { ref: ref, theme: theme, \"$skeleton\": skeleton, \"$danger\": danger, \"$disabled\": disabled, \"$variant\": variant, \"$size\": size, \"$preset\": preset, \"$tag\": as, \"$fullWidth\": fullWidth, \"$shape\": shape, \"$styling\": styling, as: as, disabled: disabled, onClick: handleClick, className: cn(['tend-ui-button', className], {\n ['tend-ui-button-has-before']: !!before,\n ['tend-ui-button-has-after']: !!after,\n ['tend-ui-button-disabled']: disabled,\n ['tend-ui-button-loading']: loading,\n ['tend-ui-button-skeleton']: skeleton,\n ['tend-ui-button-variant-primary']: isPrimary,\n ['tend-ui-button-variant-secondary']: isSecondary,\n ['tend-ui-button-variant-ghost']: isGhost,\n ['tend-ui-button-variant-link']: isLink,\n ['tend-ui-button-preset-default']: isDefault,\n ['tend-ui-button-preset-danger']: isDanger,\n ['tend-ui-button-preset-accent']: isAccent,\n ['tend-ui-button-size-large']: isLarge,\n ['tend-ui-button-size-medium']: isMedium,\n ['tend-ui-button-size-small']: isSmall,\n }) }), content));\n}\nconst Button = React.forwardRef(BaseButton);\nButton.displayName = 'Button';\n\nexport { Button };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n display: inline-flex;\n\n .tend-ui-button {\n &:not(:first-child):not(:last-child) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-left-width: 0.5px;\n border-right-width: 0.5px;\n }\n &:first-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0.5px;\n }\n &:last-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-left-width: 0.5px;\n }\n }\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\n\nconst ButtonGroup = React.forwardRef((_a, ref) => {\n var { children, className } = _a, props = __rest(_a, [\"children\", \"className\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-button-group' }, props, { ref: ref, role: 'group', className: cn(['tend-ui-button-group-root', className]) }), children));\n});\nButtonGroup.displayName = 'ButtonGroup';\n\nexport { ButtonGroup };\n","import React from 'react';\nimport { Icon } from '@10d/tend-ui-icons/Icon';\n\nconst Error = ({ size }) => {\n return (React.createElement(Icon, { size: size },\n React.createElement(\"svg\", { width: '1em', height: '1em', viewBox: '0 0 100 100', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' },\n React.createElement(\"path\", { opacity: '0.4', d: 'M90.6667 66.3333L64 18.3333C60.4167 11.875 55.4584 8.33331 50 8.33331C44.5417 8.33331 39.5834 11.875 36 18.3333L9.33336 66.3333C5.95836 72.4583 5.58336 78.3333 8.2917 82.9583C11 87.5833 16.3334 90.125 23.3334 90.125H76.6667C83.6667 90.125 89 87.5833 91.7084 82.9583C94.4167 78.3333 94.0417 72.4166 90.6667 66.3333Z', fill: '#A5A7AF' }),\n React.createElement(\"path\", { d: 'M50.0001 61.4583C48.2918 61.4583 46.8751 60.0417 46.8751 58.3333V37.5C46.8751 35.7917 48.2918 34.375 50.0001 34.375C51.7085 34.375 53.1251 35.7917 53.1251 37.5V58.3333C53.1251 60.0417 51.7085 61.4583 50.0001 61.4583Z', fill: '#A5A7AF' }),\n React.createElement(\"path\", { d: 'M50.0001 75.0002C49.7501 75.0002 49.4584 74.9586 49.1668 74.9169C48.9168 74.8752 48.6668 74.7919 48.4168 74.6669C48.1668 74.5836 47.9168 74.4586 47.6668 74.2919C47.4584 74.1252 47.2501 73.9586 47.0418 73.7919C46.2918 73.0002 45.8334 71.9169 45.8334 70.8336C45.8334 69.7502 46.2918 68.6669 47.0418 67.8752C47.2501 67.7086 47.4584 67.5419 47.6668 67.3752C47.9168 67.2086 48.1668 67.0836 48.4168 67.0002C48.6668 66.8752 48.9168 66.7919 49.1668 66.7502C49.7084 66.6252 50.2918 66.6252 50.7918 66.7502C51.0834 66.7919 51.3334 66.8752 51.5834 67.0002C51.8334 67.0836 52.0834 67.2086 52.3334 67.3752C52.5418 67.5419 52.7501 67.7086 52.9584 67.8752C53.7084 68.6669 54.1668 69.7502 54.1668 70.8336C54.1668 71.9169 53.7084 73.0002 52.9584 73.7919C52.7501 73.9586 52.5418 74.1252 52.3334 74.2919C52.0834 74.4586 51.8334 74.5836 51.5834 74.6669C51.3334 74.7919 51.0834 74.8752 50.7918 74.9169C50.5418 74.9586 50.2501 75.0002 50.0001 75.0002Z', fill: '#A5A7AF' }))));\n};\n\nexport { Error };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n`;\nconst Circle = styled.div `\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: ${props => props.$size}px;\n width: ${props => props.$size}px;\n border-radius: 50%;\n background: linear-gradient(44deg, #f2f7fb 12.72%, rgba(234, 237, 245, 0) 88.35%);\n`;\n\nexport { Circle, Root };\n","import React from 'react';\nimport { Title as Title$1, Text } from '@10d/tend-ui-typography';\nimport { Box } from '@10d/tend-ui-grid';\nimport { Button } from '../Button/Button.js';\nimport { Error } from './components/Error/Error.js';\nimport { New } from './components/New/New.js';\nimport { Filter } from './components/Filter/Filter.js';\nimport { Circle, Root as Root$1 } from './styled.js';\n\nconst Root = ({ children }) => {\n return (React.createElement(Root$1, { \"data-testid\": 'tend-ui-empty', className: 'tend-ui-empty-root' }, children));\n};\nRoot.displayName = 'Empty.Root';\nconst Title = ({ children }) => {\n return (React.createElement(Title$1, { level: 'h6', margin: 0 }, children));\n};\nTitle.displayName = 'Empty.Title';\nconst Description = ({ children }) => {\n return React.createElement(Text, null, children);\n};\nDescription.displayName = 'Empty.Description';\nconst Empty = ({ size = 'medium', variant = 'empty', title, description, buttons, }) => {\n const Image = { empty: New, ['no-results']: Filter, error: Error }[variant];\n return (React.createElement(Root, null,\n React.createElement(Box, { className: 'tend-ui-empty-header' },\n React.createElement(Circle, { \"$size\": { large: 200, medium: 96, small: 56 }[size] },\n React.createElement(Image, { size: { large: 100, medium: 48, small: 28 }[size] }))),\n (title || description) && (React.createElement(Box, { \"$display\": 'flex', \"$flexDirection\": 'column', \"$alignItems\": 'center', className: 'tend-ui-empty-body' },\n title && React.createElement(Title, null, title),\n description && React.createElement(Description, null, description))),\n buttons && (React.createElement(Box, { className: 'tend-ui-empty-footer', \"$display\": 'flex', \"$gap\": 8 }, buttons.map((button, index) => {\n var _a;\n return (React.createElement(Button, Object.assign({ key: (_a = button.key) !== null && _a !== void 0 ? _a : index }, button)));\n })))));\n};\nEmpty.displayName = 'Empty';\n\nexport { Empty };\n","import styled from 'styled-components';\nimport RcOverflow from 'rc-overflow';\n\nconst Root = styled(RcOverflow) `\n display: flex;\n flex-wrap: wrap;\n max-width: 100%;\n`;\n\nexport { Root };\n","import styled, { css } from 'styled-components';\nimport { margin, padding, pointer, borderRadius, width, maxWidth } from '@10d/tend-ui-styling';\n\nconst Root = styled.span.attrs({\n $shapes: {\n medium: {\n ellipse: css `\n border-radius: 12px;\n `,\n round: css `\n justify-content: center;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n `,\n },\n large: {\n ellipse: css `\n border-radius: 12px;\n `,\n round: css `\n justify-content: center;\n border-radius: 50%;\n height: 24px;\n width: 24px;\n `,\n },\n },\n $sizes: {\n medium: css `\n font-family: ${props => props.theme.fonts.museo};\n font-weight: 400;\n font-size: ${props => props.theme.fontSizes['12']};\n line-height: 16px;\n padding: 0 6px;\n `,\n large: css `\n font-family: ${props => props.theme.fonts.museo};\n font-weight: 400;\n font-size: ${props => props.theme.fontSizes['14']};\n line-height: 20px;\n padding: 0 8px;\n `,\n },\n}) `\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n\n ${props => props.$sizes[props.$size]};\n ${props => props.$shapes[props.$size][props.$shape]};\n\n color: ${props => props.$color};\n background-color: ${props => props.$backgroundColor};\n\n ${props => {\n if (props.$color || props.$backgroundColor)\n return css `\n color: ${props.$color || props.theme.colors.gray0};\n background-color: ${props.$backgroundColor || props.theme.colors.gray400};\n `;\n return {\n default: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gray400};\n `,\n gray: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gray650};\n `,\n blue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.blue600};\n `,\n geekblue: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.geekblue600};\n `,\n green: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.green600};\n `,\n yellow: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.gold600};\n `,\n red: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.red600};\n `,\n cyan: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.cyan600};\n `,\n volcano: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.volcano600};\n `,\n purple: css `\n color: ${props.theme.colors.gray0};\n background-color: ${props.theme.colors.purple600};\n `,\n 'gray-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['gray100-transparent']};\n `,\n 'blue-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['blue200-transparent']};\n `,\n 'geekblue-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['geekblue200-transparent']};\n `,\n 'green-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['green200-transparent']};\n `,\n 'yellow-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['gold200-transparent']};\n `,\n 'red-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['red200-transparent']};\n `,\n 'cyan-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['cyan200-transparent']};\n `,\n 'volcano-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['volcano200-transparent']};\n `,\n 'purple-light': css `\n color: ${props.theme.colors.gray900};\n background-color: ${props.theme.colors['purple200-transparent']};\n `,\n }[props.$preset];\n}};\n ${margin};\n ${padding};\n ${pointer};\n ${borderRadius};\n ${width};\n ${maxWidth};\n`;\n\nexport { Root };\n","var styles = {\"tend-ui-tag\":\"tend-ui-tag\",\"tend-ui-tag-preset-default\":\"tend-ui-tag-preset-default\",\"tend-ui-tag-preset-gray\":\"tend-ui-tag-preset-gray\",\"tend-ui-tag-preset-blue\":\"tend-ui-tag-preset-blue\",\"tend-ui-tag-preset-geekblue\":\"tend-ui-tag-preset-geekblue\",\"tend-ui-tag-preset-green\":\"tend-ui-tag-preset-green\",\"tend-ui-tag-preset-yellow\":\"tend-ui-tag-preset-yellow\",\"tend-ui-tag-preset-red\":\"tend-ui-tag-preset-red\",\"tend-ui-tag-preset-cyan\":\"tend-ui-tag-preset-cyan\",\"tend-ui-tag-preset-volcano\":\"tend-ui-tag-preset-volcano\",\"tend-ui-tag-preset-purple\":\"tend-ui-tag-preset-purple\",\"tend-ui-tag-preset-gray-light\":\"tend-ui-tag-preset-gray-light\",\"tend-ui-tag-preset-blue-light\":\"tend-ui-tag-preset-blue-light\",\"tend-ui-tag-preset-geekblue-light\":\"tend-ui-tag-preset-geekblue-light\",\"tend-ui-tag-preset-green-light\":\"tend-ui-tag-preset-green-light\",\"tend-ui-tag-preset-yellow-light\":\"tend-ui-tag-preset-yellow-light\",\"tend-ui-tag-preset-red-light\":\"tend-ui-tag-preset-red-light\",\"tend-ui-tag-preset-cyan-light\":\"tend-ui-tag-preset-cyan-light\",\"tend-ui-tag-preset-volcano-light\":\"tend-ui-tag-preset-volcano-light\",\"tend-ui-tag-preset-purple-light\":\"tend-ui-tag-preset-purple-light\",\"tend-ui-tag-shape-ellipse\":\"tend-ui-tag-shape-ellipse\",\"tend-ui-tag-shape-round\":\"tend-ui-tag-shape-round\",\"tend-ui-tag-size-large\":\"tend-ui-tag-size-large\",\"tend-ui-tag-size-medium\":\"tend-ui-tag-size-medium\"};\n\nexport { styles as default };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { extractMarginProps, extractPaddingProps } from '@10d/tend-ui-styling';\nimport { useTranslation } from '@10d/tend-ui-locale';\nimport { isString } from '@10d/tend-ui-utils';\nimport { useForwardRef } from '@10d/tend-ui-hooks';\nimport cn from 'classnames';\nimport { Close } from '@10d/tend-ui-icons/Close';\nimport { useTheme, useColor } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport { Tooltip } from '../Tooltip/Tooltip.js';\nimport styles from './Tag.module.css.js';\n\nconst BaseTag = function (_a, ref) {\n var { ellipsis = false, width, maxWidth, closable = false, shape = 'ellipse', size = 'medium', preset = 'default', color, backgroundColor, children, onClose, closeIconTooltip, before, after, borderRadius, className, style } = _a, props = __rest(_a, [\"ellipsis\", \"width\", \"maxWidth\", \"closable\", \"shape\", \"size\", \"preset\", \"color\", \"backgroundColor\", \"children\", \"onClose\", \"closeIconTooltip\", \"before\", \"after\", \"borderRadius\", \"className\", \"style\"]);\n const theme = useTheme();\n const t = useTranslation();\n const [visible, setVisible] = React.useState(true);\n const _color = useColor(color);\n // FIXME: Find a workaround\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const _backgroundColor = useColor(backgroundColor);\n const handleClose = React.useCallback((e) => {\n setVisible(false);\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n }, [onClose]);\n const tooltipProps = React.useMemo(() => {\n if (!closeIconTooltip)\n return { title: t(['general', 'close']) };\n return closeIconTooltip;\n }, [closeIconTooltip, t]);\n const _ref = useForwardRef(ref);\n const [_width, _setWidth] = React.useState(null);\n React.useEffect(() => {\n if (!_ref.current)\n return;\n const width = _ref.current.getBoundingClientRect().width;\n if (!width)\n return;\n _setWidth(width);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const _style = React.useMemo(() => {\n if (!_width)\n return Object.assign(Object.assign({}, style), { whiteSpace: 'nowrap' });\n if (ellipsis)\n return Object.assign(Object.assign({}, style), { display: 'inline-block', whiteSpace: 'nowrap', width: _width, textOverflow: 'ellipsis', overflow: 'hidden' });\n return Object.assign(Object.assign({}, style), { whiteSpace: 'nowrap' });\n }, [_width, ellipsis, style]);\n const _b = React.useMemo(() => extractMarginProps(props), [props]), { rest: withoutMargins } = _b, margins = __rest(_b, [\"rest\"]);\n const _c = React.useMemo(() => extractPaddingProps(withoutMargins), [withoutMargins]), { rest } = _c, paddings = __rest(_c, [\"rest\"]);\n if (!visible)\n return null;\n const title = ellipsis ? (isString(children) ? children : undefined) : undefined;\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-tag', title: title }, rest, margins, paddings, { ref: _ref, theme: theme, \"$color\": _color, \"$backgroundColor\": _backgroundColor, \"$preset\": preset, \"$pointer\": !!props.onClick, \"$borderRadius\": borderRadius, \"$width\": width, \"$maxWidth\": maxWidth, \"$size\": size, \"$shape\": shape, className: cn(['tend-ui-tag', className], {\n /**\n * Presets\n */\n [styles['tend-ui-tag-preset-default']]: preset === 'default',\n [styles['tend-ui-tag-preset-gray']]: preset === 'gray',\n [styles['tend-ui-tag-preset-blue']]: preset === 'blue',\n [styles['tend-ui-tag-preset-geekblue']]: preset === 'geekblue',\n [styles['tend-ui-tag-preset-green']]: preset === 'green',\n [styles['tend-ui-tag-preset-yellow']]: preset === 'yellow',\n [styles['tend-ui-tag-preset-red']]: preset === 'red',\n [styles['tend-ui-tag-preset-cyan']]: preset === 'cyan',\n [styles['tend-ui-tag-preset-volcano']]: preset === 'volcano',\n [styles['tend-ui-tag-preset-purple']]: preset === 'purple',\n [styles['tend-ui-tag-preset-gray-light']]: preset === 'gray-light',\n [styles['tend-ui-tag-preset-blue-light']]: preset === 'blue-light',\n [styles['tend-ui-tag-preset-geekblue-light']]: preset === 'geekblue-light',\n [styles['tend-ui-tag-preset-green-light']]: preset === 'green-light',\n [styles['tend-ui-tag-preset-yellow-light']]: preset === 'yellow-light',\n [styles['tend-ui-tag-preset-red-light']]: preset === 'red-light',\n [styles['tend-ui-tag-preset-cyan-light']]: preset === 'cyan-light',\n [styles['tend-ui-tag-preset-volcano-light']]: preset === 'volcano-light',\n [styles['tend-ui-tag-preset-purple-light']]: preset === 'purple-light',\n /**\n * Shape\n */\n [styles['tend-ui-tag-shape-ellipse']]: shape === 'ellipse',\n [styles['tend-ui-tag-shape-round']]: shape === 'round',\n /**\n * Size\n */\n [styles['tend-ui-tag-size-medium']]: size === 'medium',\n [styles['tend-ui-tag-size-large']]: size === 'large',\n }), style: _style }),\n before,\n children,\n after,\n closable && (React.createElement(Tooltip, Object.assign({}, tooltipProps),\n React.createElement(Close, { onClick: handleClose, size: 12 })))));\n};\nconst Tag = React.forwardRef(BaseTag);\nTag.displayName = 'Tag';\n\nexport { Tag };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n /* Additional 4px margin for 8px in total */\n .tend-ui-checkbox-group,\n .tend-ui-toggle-group,\n .tend-ui-radio-group {\n margin-top: 4px;\n }\n\n &:where(.tend-ui-form-field-root-has-error) {\n .tend-ui-form-message-root {\n color: ${props => props.theme.colors.red600};\n }\n .tend-ui-checkbox-inner,\n .tend-ui-picker,\n .tend-ui-select-selector {\n border-color: ${props => props.theme.colors.red600};\n }\n }\n &:where(.tend-ui-form-field-root-has-warning) {\n .tend-ui-form-message-root {\n color: ${props => props.theme.colors.gold600};\n }\n }\n &:where(.tend-ui-form-field-root-has-success) {\n .tend-ui-form-message-root {\n color: ${props => props.theme.colors.green600};\n }\n }\n`;\n\nexport { Root };\n","import { createContext } from '@10d/tend-ui-factories';\n\nconst [FieldProvider, useFieldProvider] = createContext('FieldProvider');\n\nexport { FieldProvider, useFieldProvider };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport cn from 'classnames';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport { Root } from './styled.js';\nimport styles from './Field.module.css.js';\nimport { FieldProvider } from '../contexts/FieldProvider.js';\n\nconst Field = React.forwardRef((_a, ref) => {\n var { children, className, status } = _a, props = __rest(_a, [\"children\", \"className\", \"status\"]);\n const theme = useTheme();\n return (React.createElement(FieldProvider, { status: status },\n React.createElement(Root, Object.assign({}, props, { theme: theme, ref: ref, className: cn([styles['tend-ui-form-field-root'], className], {\n 'tend-ui-form-field-root-has-error': status === 'error',\n 'tend-ui-form-field-root-has-warning': status === 'warning',\n }) }), children)));\n});\nField.displayName = 'Form.Field';\n\nexport { Field };\n","var styles = {\"tend-ui-form-field-root\":\"tend-ui-form-field-root\"};\n\nexport { styles as default };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n font-family: ${props => props.theme.fonts.museo};\n color: ${props => props.theme.colors.gray650};\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 1.333;\n\n margin-top: 4px;\n display: flex;\n align-items: center;\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\nimport styles from './Help.module.css.js';\n\nconst Help = React.forwardRef((_a, ref) => {\n var { children, className } = _a, props = __rest(_a, [\"children\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, className: cn([styles['tend-ui-form-help-root'], className]) }), children));\n});\nHelp.displayName = 'Form.Help';\n\nexport { Help };\n","var styles = {\"tend-ui-form-help-root\":\"tend-ui-form-help-root\"};\n\nexport { styles as default };\n","import styled, { css } from 'styled-components';\n\nconst Root = styled.label `\n font-family: ${props => props.theme.fonts.museo};\n font-size: 12px;\n font-style: normal;\n line-height: 16px;\n\n display: flex;\n align-items: center;\n gap: 4px;\n margin-bottom: 4px;\n\n .anticon {\n font-size: 16px;\n color: ${props => props.theme.colors.gray500};\n }\n\n ${props => props.$required &&\n css `\n &:before {\n content: '*';\n color: ${props => props.theme.colors.red600};\n }\n `}\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\nimport styles from './Label.module.css.js';\n\nconst Label = React.forwardRef((_a, ref) => {\n var { children, required, className } = _a, props = __rest(_a, [\"children\", \"required\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, \"$required\": required, className: cn([styles['tend-ui-form-label-root'], className]) }), children));\n});\nLabel.displayName = 'Form.Label';\n\nexport { Label };\n","var styles = {\"tend-ui-form-label-root\":\"tend-ui-form-label-root\"};\n\nexport { styles as default };\n","import styled from 'styled-components';\n\nconst Root = styled.div `\n color: ${props => props.theme.colors.red600};\n font-family: Museo Sans Cyrl;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n\n margin-top: 4px;\n display: flex;\n align-items: center;\n gap: 4px;\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport { Error } from '@10d/tend-ui-icons/Error';\nimport { useTheme } from '@10d/tend-ui-theme';\nimport cn from 'classnames';\nimport { Root } from './styled.js';\nimport styles from './Message.module.css.js';\n\nconst Message = React.forwardRef((_a, ref) => {\n var { children, className } = _a, props = __rest(_a, [\"children\", \"className\"]);\n const theme = useTheme();\n return (React.createElement(Root, Object.assign({}, props, { ref: ref, theme: theme, className: cn([styles['tend-ui-form-message-root'], className]) }),\n React.createElement(Error, { size: 16 }),\n children));\n});\nMessage.displayName = 'Form.Message';\n\nexport { Message };\n","var styles = {\"tend-ui-form-message-root\":\"tend-ui-form-message-root\"};\n\nexport { styles as default };\n","import styled from 'styled-components';\n\nconst Root = styled.form `\n display: flex;\n flex-direction: column;\n gap: ${props => `${props.$gap}px`};\n`;\n\nexport { Root };\n","import { __rest } from 'tslib';\nimport React from 'react';\nimport cn from 'classnames';\nimport { Field } from './Field/Field.js';\nimport { Help } from './Help/Help.js';\nimport { Label } from './Label/Label.js';\nimport { Message } from './Message/Message.js';\nimport { Root } from './styled.js';\nimport styles from './Form.module.css.js';\n\nconst BaseForm = React.forwardRef((_a, ref) => {\n var { gap = 16, children, className } = _a, props = __rest(_a, [\"gap\", \"children\", \"className\"]);\n return (React.createElement(Root, Object.assign({ \"data-testid\": 'tend-ui-form' }, props, { ref: ref, \"$gap\": gap, className: cn([styles['tend-ui-form-root'], className]) }), children));\n});\nconst Form = Object.assign(BaseForm, {\n displayName: 'Form',\n Field,\n Label,\n Message,\n Help,\n});\n\nexport { Form };\n","var styles = {\"tend-ui-form-root\":\"tend-ui-form-root\"};\n\nexport { styles as default };\n","import { css } from 'styled-components';\n\nconst color = css `\n color: ${props => props.$color};\n`;\n\nexport { color };\n//# sourceMappingURL=color.js.map\n","import { css } from 'styled-components';\n\nconst fontSize = css `\n font-size: ${props => props.$fontSize};\n`;\n\nexport { fontSize };\n//# sourceMappingURL=fontSize.js.map\n","import { css } from 'styled-components';\n\nconst fontWeight = css `\n font-weight: ${props => props.$fontWeight};\n`;\n\nexport { fontWeight };\n//# sourceMappingURL=fontWeight.js.map\n","import { css } from 'styled-components';\n\nconst textAlign = css `\n text-align: ${props => props.$textAlign};\n`;\n\nexport { textAlign };\n//# sourceMappingURL=textAlign.js.map\n","const withUnit = (value) => {\n if (typeof value === 'undefined')\n return;\n if (typeof value === 'number')\n return `${value}px`;\n return value;\n};\n\nexport { withUnit };\n//# sourceMappingURL=withUnit.js.map\n","import { css } from 'styled-components';\nimport { withUnit } from '../core/withUnit.js';\n\nconst margin = css `\n margin: ${props => withUnit(props.$margin)};\n margin-top: ${props => withUnit(props.$marginTop)};\n margin-right: ${props => withUnit(props.$marginRight)};\n margin-bottom: ${props => withUnit(props.$marginBottom)};\n margin-left: ${props => withUnit(props.$marginLeft)};\n`;\n\nexport { margin };\n//# sourceMappingURL=margin.js.map\n","import { css } from 'styled-components';\nimport { withUnit } from '../core/withUnit.js';\n\nconst padding = css `\n padding: ${props => withUnit(props.$padding)};\n padding-top: ${props => withUnit(props.$paddingTop)};\n padding-right: ${props => withUnit(props.$paddingRight)};\n padding-bottom: ${props => withUnit(props.$paddingBottom)};\n padding-left: ${props => withUnit(props.$paddingLeft)};\n`;\n\nexport { padding };\n//# sourceMappingURL=padding.js.map\n","import { css } from 'styled-components';\n\nconst uppercase = (props) => {\n if (!props.$uppercase)\n return;\n return css `\n text-transform: uppercase;\n letter-spacing: 1px;\n `;\n};\n\nexport { uppercase };\n//# sourceMappingURL=uppercase.js.map\n","import { css } from 'styled-components';\nimport { withUnit } from '../core/withUnit.js';\n\nconst width = css `\n width: ${props => withUnit(props.$width)};\n`;\n\nexport { width };\n//# sourceMappingURL=width.js.map\n","import { css } from 'styled-components';\nimport { withUnit } from '../core/withUnit.js';\n\nconst height = css `\n height: ${props => withUnit(props.$height)};\n`;\n\nexport { height };\n//# sourceMappingURL=height.js.map\n","const breakpoints = ['initial', 'xs', 'sm', 'md', 'lg', 'xl'];\n\nexport { breakpoints };\n//# sourceMappingURL=Responsive.js.map\n","import { breakpoints } from '../types/Responsive.js';\n\nfunction isResponsiveObject(property) {\n return (typeof property === 'object' &&\n Object.keys(property).some(key => breakpoints.includes(key)));\n}\n\nexport { isResponsiveObject };\n//# sourceMappingURL=isResponsiveObject.js.map\n","const createMediaQuery = (breakpoint, property, value) => `\n @media (max-width: ${breakpoint}px) {\n ${property}: ${value};\n }\n`;\n\nexport { createMediaQuery };\n//# sourceMappingURL=createMediaQuery.js.map\n","import { entries, kebabCase } from '@10d/tend-ui-utils';\nimport { isResponsiveObject } from './isResponsiveObject.js';\nimport { createMediaQuery } from './createMediaQuery.js';\n\nconst media = {\n xs: 520,\n sm: 768,\n md: 1024,\n lg: 1280,\n xl: 1640,\n};\nconst order = {\n initial: 1,\n xl: 2,\n lg: 3,\n md: 4,\n sm: 5,\n xs: 6,\n};\nconst styling = (stylingConfig) => {\n return (props) => {\n const keys = Object.keys(stylingConfig);\n const result = [];\n const queries = [];\n for (const key of keys) {\n const schema = stylingConfig[key];\n switch (schema.type) {\n case 'boolean': {\n const value = props[key];\n if (!value)\n continue;\n entries(schema.properties)\n .map(([name, value]) => `${kebabCase(name)}: ${value};`)\n .forEach(css => {\n result.push(css);\n });\n break;\n }\n case 'string': {\n for (const property of schema.properties) {\n const value = props[key];\n if (typeof value === 'undefined')\n continue;\n if (isResponsiveObject(value)) {\n entries(value)\n .sort((a, b) => order[a[0]] - order[b[0]])\n .map(([k, v]) => {\n const name = kebabCase(property);\n if (k === 'initial') {\n const css = `${name}: ${v};`;\n queries.push(css);\n }\n else {\n queries.push(createMediaQuery(media[k], name, v));\n }\n });\n }\n else {\n const name = kebabCase(property);\n const css = `${name}: ${value};`;\n result.push(css);\n }\n }\n break;\n }\n case 'string | number': {\n for (const property of schema.properties) {\n const transformer = schema.transform;\n const value = props[key];\n if (typeof value === 'undefined')\n continue;\n if (isResponsiveObject(value)) {\n entries(value)\n .sort((a, b) => order[a[0]] - order[b[0]])\n .map(([k, v]) => {\n const name = kebabCase(property);\n const transformed = transformer ? transformer(v) : v;\n if (k === 'initial') {\n const css = `${name}: ${transformed};`;\n queries.push(css);\n }\n else {\n queries.push(createMediaQuery(media[k], name, transformed));\n }\n });\n }\n else {\n const _value = value;\n const name = kebabCase(property);\n const transformed = transformer ? transformer(_value) : _value;\n const css = `${name}: ${transformed};`;\n result.push(css);\n }\n }\n break;\n }\n }\n }\n // Сортируем свойства по алфавиту\n result.sort((a, b) => a[0].localeCompare(b[0]));\n return result.concat(queries).join('\\n');\n };\n};\n\nexport { styling };\n//# sourceMappingURL=styling.js.map\n","import { styling } from '../core/styling.js';\n\nconst pointer = styling({\n $pointer: {\n type: 'boolean',\n properties: {\n cursor: 'pointer',\n },\n },\n});\n\nexport { pointer };\n//# sourceMappingURL=pointer.js.map\n","const px = (value) => {\n if (typeof value === 'number')\n return `${value}px`;\n return value;\n};\n\nexport { px };\n//# sourceMappingURL=px.js.map\n","import { px } from '../core/px.js';\nimport { styling } from '../core/styling.js';\n\nconst borderRadius = styling({\n $borderRadius: {\n type: 'string | number',\n properties: ['borderRadius'],\n transform: px,\n },\n});\n\nexport { borderRadius };\n//# sourceMappingURL=borderRadius.js.map\n","import { styling } from '../core/styling.js';\n\nconst backgroundColor = styling({\n $backgroundColor: {\n type: 'string',\n properties: ['backgroundColor'],\n },\n});\n\nexport { backgroundColor };\n//# sourceMappingURL=backgroundColor.js.map\n","import { styling } from '../core/styling.js';\n\nconst wordBreak = styling({\n $wordBreak: {\n type: 'string',\n properties: ['wordBreak'],\n },\n});\n\nexport { wordBreak };\n//# sourceMappingURL=wordBreak.js.map\n","import { styling } from '../core/styling.js';\n\nconst cursor = styling({\n $cursor: {\n type: 'string',\n properties: ['cursor'],\n },\n});\n\nexport { cursor };\n//# sourceMappingURL=cursor.js.map\n","import { styling } from '../core/styling.js';\n\nconst whiteSpace = styling({\n $whiteSpace: {\n type: 'string',\n properties: ['whiteSpace'],\n },\n});\n\nexport { whiteSpace };\n//# sourceMappingURL=whiteSpace.js.map\n","import { styling } from '../core/styling.js';\nimport { px } from '../core/px.js';\n\nconst maxWidth = styling({\n $maxWidth: {\n type: 'string | number',\n properties: ['maxWidth'],\n transform: px,\n },\n});\n\nexport { maxWidth };\n//# sourceMappingURL=maxWidth.js.map\n","import { __rest } from 'tslib';\n\nconst extractMarginProps = (props) => {\n const { margin, mt, mr, mb, ml } = props, rest = __rest(props, [\"margin\", \"mt\", \"mr\", \"mb\", \"ml\"]);\n return {\n $margin: margin,\n $marginTop: mt,\n $marginRight: mr,\n $marginBottom: mb,\n $marginLeft: ml,\n rest,\n };\n};\n\nexport { extractMarginProps };\n//# sourceMappingURL=extractMarginProps.js.map\n","import { __rest } from 'tslib';\n\nconst extractPaddingProps = (props) => {\n const { padding, pt, pr, pb, pl } = props, rest = __rest(props, [\"padding\", \"pt\", \"pr\", \"pb\", \"pl\"]);\n return {\n $padding: padding,\n $paddingTop: pt,\n $paddingRight: pr,\n $paddingBottom: pb,\n $paddingLeft: pl,\n rest,\n };\n};\n\nexport { extractPaddingProps };\n//# sourceMappingURL=extractPaddingProps.js.map\n","import { __rest } from 'tslib';\n\nconst extractDimensionProps = (props) => {\n const { width, height } = props, rest = __rest(props, [\"width\", \"height\"]);\n return {\n $width: width,\n $height: height,\n rest,\n };\n};\n\nexport { extractDimensionProps };\n//# sourceMappingURL=extractDimensionProps.js.map\n","import { __rest } from 'tslib';\n\nconst extractLayoutProps = (props) => {\n const { width, height } = props, rest = __rest(props, [\"width\", \"height\"]);\n return {\n $width: width,\n $height: height,\n rest,\n };\n};\n\nexport { extractLayoutProps };\n//# sourceMappingURL=extractLayoutProps.js.map\n","import { createGlobalStyle } from 'styled-components';\n\n/**\n * Нормализует браузерные стили\n */\nconst Normalize = createGlobalStyle `\n html {\n overflow: hidden;\n height: 100%\n }\n\n body {\n margin: 0;\n overflow: hidden auto;\n height: 100%;\n }\n\n [hidden] {\n display: none !important;\n }\n\n #root {\n height: 100%;\n }\n`;\n\nexport { Normalize };\n//# sourceMappingURL=Normalize.js.map\n","import { css } from 'styled-components';\n\nconst themeFactory = (colors, tokens) => {\n return {\n colors,\n tokens,\n fonts: {\n museo: 'Museo Sans Cyrl, sans-serif',\n },\n fontSizes: {\n 10: '10px',\n 12: '12px',\n 14: '14px',\n 16: '16px',\n 20: '20px',\n 24: '24px',\n 28: '28px',\n 32: '32px',\n 40: '40px',\n 56: '56px',\n 64: '64px',\n },\n utils: {\n box: value => css `\n width: ${value}px;\n height: ${value}px;\n `,\n },\n };\n};\nconst createAntdTheme = ({ colors }) => {\n const theme = {\n components: {\n Menu: {\n itemHeight: 28,\n itemHoverBg: colors['gray50-transparent'],\n itemActiveBg: colors['gray50-transparent'],\n itemSelectedBg: colors.blue100,\n itemSelectedColor: colors.gray900,\n horizontalItemSelectedColor: colors.gray900,\n horizontalItemHoverBg: colors.gray50,\n horizontalItemSelectedBg: colors.blue200,\n itemMarginBlock: 0,\n itemMarginInline: 0,\n subMenuItemBorderRadius: 0,\n horizontalItemBorderRadius: 8,\n groupTitleFontSize: 12,\n groupTitleLineHeight: '16px',\n groupTitleColor: colors.gray650,\n activeBarHeight: 0,\n },\n Input: {\n paddingBlock: 4,\n paddingBlockLG: 7,\n paddingInlineSM: 8,\n paddingInline: 8,\n paddingInlineLG: 12,\n lineHeight: 1.5714285714285714, // Based on an original value\n },\n Avatar: {\n textFontSizeLG: 14,\n textFontSize: 14,\n textFontSizeSM: 14,\n containerSizeLG: 48,\n containerSize: 40,\n containerSizeSM: 32,\n },\n Tree: {\n nodeHoverBg: 'none',\n },\n Segmented: {\n itemColor: colors.gray900,\n itemSelectedBg: colors.blue100,\n itemSelectedColor: colors.blue600,\n colorBgLayout: colors.gray0,\n },\n Steps: {\n titleLineHeight: 24,\n iconFontSize: 16,\n },\n Divider: {\n colorSplit: colors.gray100,\n },\n Pagination: {\n itemActiveBg: colors.blue600,\n colorBgTextHover: colors.blue50,\n },\n Table: {\n fontWeightStrong: 400,\n headerColor: colors.gray500,\n headerBg: colors.gray25,\n borderRadiusLG: 0,\n rowHoverBg: colors.gray50,\n rowSelectedBg: colors.blue50,\n rowSelectedHoverBg: colors.blue100,\n cellPaddingBlock: 8,\n cellPaddingInline: 12,\n borderColor: colors.gray25,\n },\n Modal: {\n borderRadiusLG: 16,\n colorIcon: colors.gray500,\n colorIconHover: colors.gray500,\n titleFontSize: 20,\n titleLineHeight: 1.4,\n paddingLG: 48,\n marginXS: 0,\n },\n Form: {\n labelFontSize: 12,\n verticalLabelPadding: '0 0 4px',\n itemMarginBottom: 0,\n controlHeightLG: 16,\n },\n Checkbox: {\n borderRadiusSM: 4,\n },\n Radio: {\n dotSize: 8,\n },\n Switch: {\n opacityLoading: 0.65,\n },\n Select: {\n optionSelectedBg: colors.gray0,\n optionActiveBg: colors.gray50,\n optionSelectedFontWeight: 400,\n multipleItemBg: colors['gray100-transparent'],\n },\n Collapse: {\n borderRadiusLG: 0,\n fontSizeIcon: 20,\n headerPadding: '12px',\n contentPadding: '12px 16px 12px 40px',\n headerBg: colors.gray0,\n },\n Tabs: {\n horizontalItemGutter: 0,\n horizontalItemPaddingSM: '4px 16px',\n horizontalItemPadding: '8px 16px',\n horizontalItemPaddingLG: '16px 20px',\n itemHoverColor: colors.blue600,\n colorTextDisabled: colors.gray400,\n fontSize: 14,\n fontSizeSM: 14,\n fontSizeLG: 14,\n lineHeight: 1.429,\n },\n Badge: {\n dotSize: 8,\n },\n Alert: {\n withDescriptionPadding: '16px 24px',\n withDescriptionIconSize: 20,\n },\n Tooltip: {\n borderRadius: 4,\n colorBgSpotlight: colors.gray900,\n },\n Notification: {\n colorTextHeading: colors.gray900,\n colorText: colors.gray500,\n colorIcon: colors.gray650,\n colorIconHover: colors.gray650,\n paddingMD: 12,\n paddingContentHorizontalLG: 12,\n },\n DatePicker: {\n cellHeight: 32,\n cellHoverBg: colors.blue100,\n colorTextHeading: colors.blue600,\n // Cell border-radius\n borderRadiusSM: 8,\n },\n Dropdown: {\n paddingBlock: 8,\n },\n },\n token: {\n fontFamily: 'Museo Sans Cyrl, sans-serif',\n lineHeight: 1.25,\n fontSizeHeading1: 40,\n fontSizeHeading2: 32,\n fontSizeHeading3: 28,\n fontSizeHeading4: 24,\n fontSizeHeading5: 20,\n lineHeightHeading1: 1.3,\n lineHeightHeading2: 1.375,\n lineHeightHeading3: 1.42857,\n opacityLoading: 1,\n colorText: colors.gray900,\n colorPrimary: colors.blue600,\n colorPrimaryHover: colors.blue500,\n colorPrimaryActive: colors.blue700,\n colorTextDisabled: colors.gray400,\n colorBgContainerDisabled: colors.gray50,\n colorError: colors.red600,\n colorErrorBg: colors.red100,\n colorErrorBorder: colors.red600,\n colorErrorHover: colors.red500,\n colorErrorActive: colors.red700,\n colorSuccess: colors.green600,\n colorSuccessBg: colors.green100,\n colorSuccessBorder: colors.green600,\n colorWarning: colors.gold600,\n colorWarningBg: colors.gold100,\n colorWarningBorder: colors.gold600,\n colorInfo: colors.blue600,\n colorInfoBg: colors.blue100,\n colorInfoBorder: colors.blue600,\n colorLink: colors.blue600,\n colorLinkHover: colors.blue700,\n colorLinkActive: colors.blue800,\n // Border radius\n borderRadiusLG: 10,\n borderRadius: 8,\n borderRadiusSM: 6,\n borderRadiusXS: 6,\n },\n };\n return theme;\n};\n\nexport { createAntdTheme, themeFactory };\n//# sourceMappingURL=utils.js.map\n","import { colors } from '@10d/tend-ui-tokens/samolet';\nimport { themeFactory } from './utils.js';\n\nconst SamoletTheme = themeFactory(colors, {\n Button: {\n dangerDefaultBg: colors.red600,\n dangerGhostDefaultBg: colors.red100,\n dangerGhostDefaultText: colors.red600,\n dangerGhostHoverBg: colors.red50,\n dangerGhostHoverText: colors.red500,\n dangerGhostPressedBg: colors.red300,\n dangerGhostPressedText: colors.red700,\n dangerHoverBg: colors.red500,\n dangerPressedBg: colors.red700,\n dangerSecondaryDefaultBg: colors.red100,\n dangerSecondaryDefaultText: colors.red600,\n dangerSecondaryHoverBg: colors.red50,\n dangerSecondaryHoverText: colors.red500,\n dangerSecondaryPressedBg: colors.red200,\n dangerSecondaryPressedText: colors.red700,\n dangerText: colors.gray0,\n disabledBg: colors.gray50,\n disabledBorder: colors.gray200,\n disabledIcon: colors.gray400,\n disabledText: colors.gray400,\n ghostDefaultText: colors.gray900,\n ghostHoverBg: colors.blue50,\n ghostHoverText: colors.blue500,\n ghostPressedBg: colors.blue200,\n ghostPressedText: colors.blue700,\n primaryDefaultBg: colors.blue600,\n primaryHoverBg: colors.blue500,\n primaryPressedBg: colors.blue700,\n primaryText: colors.gray0,\n secondaryDefaultBg: colors.blue100,\n secondaryDefaultText: colors.blue600,\n secondaryHoverBg: colors.blue50,\n secondaryHoverText: colors.blue500,\n secondaryPressedBg: colors.blue200,\n secondaryPressedText: colors.blue700,\n },\n});\n\nexport { SamoletTheme };\n//# sourceMappingURL=SamoletTheme.js.map\n","import { colors } from '@10d/tend-ui-tokens/global';\nimport { themeFactory } from './utils.js';\n\nconst GlobalTheme = themeFactory(colors, {\n Button: {\n dangerDefaultBg: colors.red600,\n dangerGhostDefaultBg: colors.red100,\n dangerGhostDefaultText: colors.red600,\n dangerGhostHoverBg: colors.red50,\n dangerGhostHoverText: colors.red500,\n dangerGhostPressedBg: colors.red300,\n dangerGhostPressedText: colors.red700,\n dangerHoverBg: colors.red500,\n dangerPressedBg: colors.red700,\n dangerSecondaryDefaultBg: colors.red100,\n dangerSecondaryDefaultText: colors.red600,\n dangerSecondaryHoverBg: colors.red50,\n dangerSecondaryHoverText: colors.red500,\n dangerSecondaryPressedBg: colors.red200,\n dangerSecondaryPressedText: colors.red700,\n dangerText: colors.gray0,\n disabledBg: colors.gray50,\n disabledBorder: colors.gray200,\n disabledIcon: colors.gray400,\n disabledText: colors.gray400,\n ghostDefaultText: colors.gray900,\n ghostHoverBg: colors.blue50,\n ghostHoverText: colors.blue500,\n ghostPressedBg: colors.blue200,\n ghostPressedText: colors.blue700,\n primaryDefaultBg: colors.blue600,\n primaryHoverBg: colors.blue500,\n primaryPressedBg: colors.blue700,\n primaryText: colors.gray0,\n secondaryDefaultBg: colors.blue100,\n secondaryDefaultText: colors.blue600,\n secondaryHoverBg: colors.blue50,\n secondaryHoverText: colors.blue500,\n secondaryPressedBg: colors.blue200,\n secondaryPressedText: colors.blue700,\n },\n});\n\nexport { GlobalTheme };\n//# sourceMappingURL=GlobalTheme.js.map\n","import React from 'react';\nimport { contextFactory } from '@10d/tend-ui-factories';\nimport { SamoletTheme } from './SamoletTheme.js';\nimport { GlobalTheme } from './GlobalTheme.js';\n\nconst [ThemeContext, useTheme] = contextFactory('ThemeContext', SamoletTheme);\nconst useColors = () => {\n return useTheme().colors;\n};\nconst useColor = (color, defaultColor) => {\n const colors = useColors();\n const presets = Object.keys(colors);\n if (!color)\n return defaultColor;\n const k = color;\n return presets.includes(color) ? colors[k] : color;\n};\nconst themes = {\n samolet: SamoletTheme,\n global: GlobalTheme,\n};\nconst Theme = ({ children, theme, }) => {\n return React.createElement(ThemeContext, { value: themes[theme] }, children);\n};\n\nexport { Theme, useColor, useColors, useTheme };\n//# sourceMappingURL=Theme.js.map\n","import React from 'react';\nimport AntConfigProvider from 'antd-core/es/config-provider';\nimport { useLocale } from '@10d/tend-ui-locale';\nimport { useTheme } from './Theme.js';\nimport { createAntdTheme } from './utils.js';\n\nconst ConfigProvider = ({ children }) => {\n const theme = useTheme();\n const locale = useLocale();\n return (React.createElement(AntConfigProvider, { prefixCls: 'tend-ui', locale: locale, theme: createAntdTheme(theme) }, children));\n};\n\nexport { ConfigProvider };\n//# sourceMappingURL=ConfigProvider.js.map\n","import React from 'react';\nimport AntConfigProvider from 'antd-core/es/config-provider';\nimport { css, createGlobalStyle } from 'styled-components';\nimport { Language } from '@10d/tend-ui-locale';\nimport { ApiClient } from '@10d/tend-ui-api';\nimport { colors } from '@10d/tend-ui-tokens/samolet';\nimport { createAntdTheme } from './utils.js';\nimport { SamoletTheme } from './SamoletTheme.js';\nimport { ConfigProvider } from './ConfigProvider.js';\nimport { Theme } from './Theme.js';\n\nconst styles = css `\n /* Menu */\n .tend-ui-menu-submenu-popup .tend-ui-menu-vertical.tend-ui-menu-sub {\n padding: 8px 0;\n }\n\n /* Dialog */\n .tend-ui-modal-confirm {\n &.tend-ui-modal-confirm-image {\n .tend-ui-modal-confirm-body {\n flex-direction: column;\n align-items: center;\n\n & > .anticon {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 24px;\n margin-inline-end: 0px;\n font-size: 48px;\n border-radius: 50%;\n width: 80px;\n height: 80px;\n }\n }\n }\n &.tend-ui-modal-confirm-image-cover {\n .tend-ui-modal-content {\n padding: 0px;\n }\n .tend-ui-modal-confirm-paragraph {\n padding: 0 32px;\n }\n }\n &.tend-ui-modal-confirm-info,\n &.tend-ui-modal-confirm-success,\n &.tend-ui-modal-confirm-warning,\n &.tend-ui-modal-confirm-error {\n .tend-ui-modal-confirm-title {\n margin-top: 12px;\n }\n .tend-ui-modal-confirm-body {\n & > .anticon {\n font-size: 40px;\n }\n }\n }\n\n .tend-ui-modal-confirm-paragraph {\n gap: 12px;\n }\n }\n\n /* Toast */\n .tend-ui-notification\n .tend-ui-notification-notice\n .tend-ui-notification-notice-with-icon {\n .tend-ui-notification-notice-message {\n font-family: Museo Sans Cyrl;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n\n margin-inline-start: 42px;\n margin-bottom: 0;\n }\n\n .tend-ui-notification-notice-description {\n font-family: Museo Sans Cyrl;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n\n margin-inline-start: 42px;\n min-height: 12px;\n }\n }\n\n /* Workaround for Chrome animation flickering */\n .tend-ui-notification-stack > .tend-ui-notification-notice-wrapper {\n transition: all 0.3s, backdrop-filter 0s, opacity 0s;\n }\n\n .tend-ui-notification .tend-ui-notification-notice {\n .tend-ui-notification-notice-close {\n inset-inline-end: 12px;\n padding: 2px;\n width: unset;\n height: unset;\n &:hover {\n background-color: transparent;\n }\n }\n\n .tend-ui-notification-notice-icon {\n padding: 2px;\n }\n\n /* Neutral icon */\n &.tend-ui-notification-notice-neutral .tend-ui-notification-notice-icon {\n &.tend-ui-notification-notice-icon-info {\n color: ${colors.gray400};\n }\n }\n\n &.tend-ui-notification-notice-loading .tend-ui-notification-notice-icon {\n color: ${colors.gray400};\n }\n }\n`;\nconst GlobalStyles = createGlobalStyle `${styles}`;\nconst TendUI = ({ lang = 'ru', theme = 'samolet', client, children, }) => {\n return (React.createElement(ApiClient, { client: client },\n React.createElement(Theme, { theme: theme },\n React.createElement(GlobalStyles, null),\n React.createElement(Language, { language: lang },\n React.createElement(ConfigProvider, null, children)))));\n};\nTendUI.init = (theme = SamoletTheme) => {\n AntConfigProvider.config({\n prefixCls: 'tend-ui',\n theme: createAntdTheme(theme),\n });\n};\n\nexport { TendUI };\n//# sourceMappingURL=TendUI.js.map\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"],"names":["Content","span","props","theme","fonts","museo","Root","Bubble","attrs","$placements","leftTop","css","rightTop","rightBottom","leftBottom","$inline","$placement","$offset","$color","$backgroundColor","colors","gray0","gray50","default","success","green600","warning","gold600","processing","blue600","error","red600","gray","gray650","blue","geekblue","geekblue600","green","yellow","red","cyan","cyan600","volcano","volcano600","purple","purple600","blue700","blue100","geekblue200","green700","green100","gold800","gold200","red700","red100","cyan800","cyan100","volcano700","volcano100","purple500","purple100","$preset","pointer","Counter","_a","ref","showZero","preset","before","after","children","inner","max","offset","placement","className","rootClassName","inline","color","backgroundColor","_color","_backgroundColor","isInnerReactElement","isInnerNumber","isNumber","isInnerString","isString","title","undefined","isShown","content","value","clamp","Object","assign","onClick","displayName","A","$lineBreak","Tooltip","lineBreak","mouseEnterDelay","DrawerContext","open","maskClosable","mask","fullscreen","size","onClose","destroyOnClose","getPrefixCls","prefixCls","hashId","fullscreenOffset","isVertical","isHorizontal","maskMotion","motionName","motionAppear","motionEnter","motionLeave","motionDeadline","panelMotion","motionPlacement","width","small","medium","large","height","motion","styles","display","flexDirection","maxHeight","Provider","div","Header","$justifyContent","Footer","justifyContent","Body","button","gray900","CloseButton","context","Close","fontSize","$size","xs","fontWeight","wordBreak","uppercase","margin","whiteSpace","$width","$height","$marginTop","$marginRight","$marginBottom","$marginLeft","$margin","some","Boolean","$textAlign","textAlign","_b","extractMarginProps","rest","withoutMargins","margins","_c","extractDimensionProps","dimensions","filter","join","$sizes","$disabled","$theme","forwardRef","underline","_underline","disabled","INTERNAL_TypographyBase","padding","extractPaddingProps","withoutPaddings","paddings","_d","component","$levels","h1","h2","h3","h4","h5","h6","d1","d2","$level","levels","Title","level","fontSizes","strong","Description","Drawer","description","footer","Circle","circle","createShrinkKeyframes","strokeDasharray","strokeDashoffset","keyframes","Svg","svg","$center","Children","$loading","DIMENSIONS","STROKE_WIDTH","Spinner","loading","strokeWidth","radius","xOffset","yOffset","strokeDashArray","Math","ceil","PI","strokeDashOffset","isXs","isSmall","isMedium","isLarge","__color","fill","stroke","strokeLinecap","r","cx","cy","Dot","SizeContext","useSizeContext","main","$background","Main","background","_background","mt","Layout","$selected","blue800","gray400","gray100","ToggleButtonGroupContext","Group","onChange","ForwardedToggleButton","selectable","selected","onSelectedChange","_selected","_setSelected","defaultValue","handleClick","e","call","currentTarget","Input","BaseInput","allowClear","clearIconTooltip","allowClearProp","t","useTranslation","clearIcon","useAllowClear","bind","_title","_setTitle","target","useInputTitle","_size","withoutDimensions","variants","skeleton","primary","gray500","presets","danger","red800","accent","$styling","buttonOnAccent","primaryDefaultText","secondary","gray200","red500","red50","red200","ghost","ghostDefaultText","ghostHoverText","ghostPressedText","ghostDisabledText","link","gray150","iconOnly","iconLeft","iconRight","noPadding","$fullWidth","$shape","isButton","$tag","$skeleton","$danger","$variant","Hidden","SpinnerContainer","Button","fullWidth","variant","UNSTABLE_styling","styling","primaryHoverText","primaryPressedText","primaryFocusText","primaryDisabledText","ghostFocusText","hasChildren","hasLeftIcon","hasRightIcon","hasBothIcons","isIconOnly","isPrimary","isSecondary","isGhost","isLink","isDefault","isDanger","isAccent","as","shape","preventDefault","role","$shapes","ellipse","round","borderRadius","maxWidth","Tag","ellipsis","closable","closeIconTooltip","style","visible","setVisible","handleClose","tooltipProps","_ref","_width","_setWidth","current","getBoundingClientRect","_style","textOverflow","overflow","FieldProvider","useFieldProvider","Field","status","Help","label","$required","Label","required","Message","form","$gap","BaseForm","gap","$fontSize","$fontWeight","withUnit","$padding","$paddingTop","$paddingRight","$paddingBottom","$paddingLeft","$uppercase","breakpoints","isResponsiveObject","property","keys","key","includes","createMediaQuery","breakpoint","media","sm","md","lg","xl","order","initial","stylingConfig","result","queries","schema","type","entries","properties","map","name","kebabCase","k","forEach","push","sort","a","b","v","transformer","transform","transformed","_value","localeCompare","concat","$pointer","cursor","px","$borderRadius","$wordBreak","$cursor","$whiteSpace","$maxWidth","mr","mb","ml","pt","pr","pb","pl","extractLayoutProps","Normalize","createGlobalStyle","themeFactory","tokens","utils","box","SamoletTheme","dangerDefaultBg","dangerGhostDefaultBg","dangerGhostDefaultText","dangerGhostHoverBg","dangerGhostHoverText","dangerGhostPressedBg","red300","dangerGhostPressedText","dangerHoverBg","dangerPressedBg","dangerSecondaryDefaultBg","dangerSecondaryDefaultText","dangerSecondaryHoverBg","dangerSecondaryHoverText","dangerSecondaryPressedBg","dangerSecondaryPressedText","dangerText","disabledBg","disabledBorder","disabledIcon","disabledText","ghostHoverBg","blue50","blue500","ghostPressedBg","blue200","primaryDefaultBg","primaryHoverBg","primaryPressedBg","primaryText","secondaryDefaultBg","secondaryDefaultText","secondaryHoverBg","secondaryHoverText","secondaryPressedBg","secondaryPressedText","GlobalTheme","ThemeContext","useTheme","useColors","useColor","defaultColor","themes","samolet","global","Theme","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","appendClass","parseValue","Array","isArray","apply","toString","prototype","newClass","module","exports"],"sourceRoot":""}