{"version":3,"sources":["jsdelivr-header.js","rollup://@epam/promo/components/widgets/Badge.tsx","rollup://@epam/promo/components/widgets/Tag.tsx","rollup://@epam/promo/components/widgets/CountIndicator.tsx","rollup://@epam/promo/components/widgets/StatusIndicator.tsx","rollup://@epam/promo/components/buttons/Button.tsx","rollup://@epam/promo/components/buttons/IconButton.tsx","rollup://@epam/promo/components/buttons/LinkButton.tsx","rollup://@epam/promo/components/overlays/Alert.tsx","rollup://@epam/promo/components/overlays/NotificationCard.tsx","rollup://@epam/promo/components/overlays/Tooltip.tsx","rollup://@epam/promo/components/overlays/ModalWindow.tsx","rollup://@epam/promo/components/inputs/MultiSwitch.tsx","rollup://@epam/promo/components/layout/FlexItems/FlexRow.tsx","rollup://@epam/promo/components/layout/FlexItems/Panel.tsx","rollup://@epam/promo/components/typography/Text.tsx","rollup://@epam/promo/i18n.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,idCsBO,MAAM,MAA2B,4BAEnC,eAAO,MAAE,IACC,CACH,MAAO,EAAM,OAAS,OACtB,KAAM,EAAM,MAAQ,WCbnB,IAAM,4BAET,eAAI,IAAS,IAAE,CAAW,MAAI,EAAQ,OAC9C,YCZW,eAAiB,4BAAoF,eAAC,gBCOtG,gBAAkB,4BACvB,eAAe,gBACA,IAAE,CAAW,MAAI,EAAM,OAC5C,U,6BCKF,MAAM,QAAsD,CACxD,MAAO,QACP,MAAO,UACP,MAAO,QACP,KAAM,QAMG,OAA4B,4BAEpC,eAAK,OAAI,IACC,CACH,KAAM,QAAQ,EAAM,OAAS,QAAQ,QAG5C,GAAU,CACP,CAAC,KAAM,MAAM,SAAS,EAAM,OAAS,IAAI,YC3BpC,WAAa,4BAEtB,eAAM,WAAa,IAAE,CAAW,MAAI,EAAQ,OAC9C,YCNW,WAAgC,4BAC3B,eACb,WAAS,IACC,CACH,MAAO,EAAM,OAAS,UCHrB,MAAK,QAAA,oBAEb,eAAO,MAAI,IAAA,IACL,EACH,MAAO,EA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AEb,8BAA+B,oCAC/B,gBAAiB,aACjB,kBAAmB,eACnB,sBAAuB,iCAG/B,mBAAoB,CAChB,cAAe,iBACf,eAAgB,mBAEpB,WAAY,CACR,WAAY,0BACZ,OAAQ,SACR,SAAU,oBAEd,aAAc,CACV,gBAAiB,CACb,SAAU,CACN,MAAO,qCACP,SAAU,gCAEd,iBAAkB,CACd,MAAO,2BACP,SAAU,gCAEd,YAAa,CACT,MAAO,kCACP,SAAU,oDAEd,mBAAoB,CAChB,MAAO,sEACP,SAAU,oDAEd,QAAS,CACL,MAAO,uBACP,SAAU,qDAGlB,sBAAuB,CACnB,YAAa,CACT,MAAO,4BACP,SAAU,6BAEd,kBAAmB,CACf,MAAO,0BACP,SAAU,yCAEd,YAAa,CACT,MAAO,qBACP,SAAU,oHAEd,kBAAmB,CACf,MAAO,oBACP,SAAU,4CAItB,UAAW,CACP,MAAO,mBACP,QAAS,gDAEb,cAAe,CACX,WAAY,aACZ,WAAY,CACR,YAAa,cACb,cAAe,gBACf,aAAc,SAElB,gBAAiB,CACb,uBAAwB,gBACxB,qBAAsB,cACtB,mBAAoB,aAExB,YAAa,CACT,iBAAkB,QAClB,kBAAmB,QAG3B,YAAa,CACT,WAAY,e","file":"/npm/@epam/promo@6.5.4/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.48.0.\n * Original file: /npm/@epam/promo@6.5.4/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\nimport { EpamPrimaryColor } from '../types';\n\ntype BadgeColor = EpamPrimaryColor | 'yellow'| 'orange' | 'fuchsia' | 'purple' | 'violet' | 'cobalt' | 'cyan' | 'mint'\n| 'white' | 'gray10'| 'gray30'| 'gray60' | uui.BadgeProps['color'];\n\ntype BadgeMods = {\n    /**\n     * Defines component color.\n     * @default 'blue'\n     */\n    color?: BadgeColor\n    /**\n     * Defines component fill style.\n     * @default 'solid'\n     */\n    fill?: uui.BadgeProps['fill'];\n    /**\n     * Defines component size.\n     * @default 36\n     */\n    size?: uui.BadgeProps['size'];\n};\n\n/** Represents the properties of a badge component. */\nexport type BadgeProps = uui.BadgeCoreProps & BadgeMods;\n\nexport const Badge = createSkinComponent<uui.BadgeProps, BadgeProps>(\n    uui.Badge,\n    (props) => {\n        return {\n            color: props.color || 'blue',\n            fill: props.fill || 'solid',\n        };\n    },\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\nimport { EpamPrimaryColor } from '../types';\n\ntype TagMods = {\n    /**\n     * Defines component color.\n     * @default 'gray30'\n     */\n    color?: EpamPrimaryColor | 'white' | 'gray10' | 'gray30' | 'gray70' | uui.TagProps['color'];\n    /**\n     * Defines component size.\n     * @default '36'\n     */\n    size?: '18' | '24' | '30' | '36' | '42' | '48';\n};\n\n/** Represents the properties for the Tag component. */\nexport type TagProps = uui.TagCoreProps & TagMods;\n\nexport const Tag = createSkinComponent<uui.TagProps, TagProps>(\n    uui.Tag,\n    (props) => ({ color: props.color || 'gray30' }),\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ntype CountIndicatorMods = Pick<uui.CountIndicatorProps, 'size'> & {\n    /** Defines component color. */\n    color: 'gray' | 'white' | 'blue' | 'green' | 'amber' | 'red' | uui.CountIndicatorProps['color'];\n};\n\n/** Represents the properties of a CountIndicator component. */\nexport type CountIndicatorProps = uui.CountIndicatorCoreProps & CountIndicatorMods;\n\nexport const CountIndicator = createSkinComponent<uui.CountIndicatorProps, CountIndicatorProps>(uui.CountIndicator);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\nimport { EpamPrimaryColor } from '../types';\n\ntype StatusIndicatorColor = EpamPrimaryColor | 'white' | 'gray' | 'yellow'| 'orange' | 'fuchsia' | 'purple' | 'violet'\n| 'cobalt' | 'cyan' | 'mint' | uui.StatusIndicatorProps['color'];\n\ntype StatusIndicatorMods = {\n    /**\n     * Defines component color.\n     * @default 'gray'\n     */\n    color?: StatusIndicatorColor;\n};\n\n/** Represents the props for the StatusIndicator component. */\nexport type StatusIndicatorProps = uui.StatusIndicatorCoreProps & StatusIndicatorMods;\n\nexport const StatusIndicator = createSkinComponent<uui.StatusIndicatorProps, StatusIndicatorProps>(\n    uui.StatusIndicator,\n    (props) => ({ color: props.color || 'gray' }),\n);\n","import * as uui from '@epam/uui';\nimport { createSkinComponent } from '@epam/uui-core';\nimport { FillStyle } from '../types';\nimport css from './Button.module.scss';\n\n/** Defines component color. */\ntype ButtonColor = 'blue' | 'green' | 'red' | 'gray' | uui.ButtonProps['color'];\n\ntype ButtonMods = {\n    /**\n     * Defines component fill style.\n     * @default 'solid'\n     */\n    fill?: FillStyle;\n    /**\n     * Defines component color.\n     * @default 'blue'\n     */\n    color?: ButtonColor;\n    /**\n     * Defines component size.\n     * @default '36'\n     */\n    size?: uui.ButtonProps['size'];\n};\n\nconst mapFill: Record<FillStyle, uui.ButtonProps['fill']> = {\n    solid: 'solid',\n    white: 'outline',\n    light: 'ghost',\n    none: 'none',\n};\n\n/** Represents the properties of a Button component. */\nexport type ButtonProps = uui.ButtonCoreProps & ButtonMods;\n\nexport const Button = createSkinComponent<uui.ButtonProps, ButtonProps>(\n    uui.Button,\n    (props) => {\n        return {\n            fill: mapFill[props.fill] || mapFill.solid,\n        };\n    },\n    (props) => [\n        ['42', '48'].includes(props.size) && css.uppercase,\n    ],\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport { EpamPrimaryColor } from '../types';\nimport * as uui from '@epam/uui';\n\ninterface IconButtonMods {\n    /**\n     * Defines component color.\n     * @default 'gray60'\n     */\n    color?: EpamPrimaryColor | 'gray30' | 'gray50' | 'gray60' | uui.IconButtonProps['color'];\n    /** Defines component size. Promo adds size 18 for compact layouts. */\n    size?: '18' | uui.LinkButtonProps['size'];\n}\n\n/** Represents the properties for the IconButton component. */\nexport type IconButtonProps = uui.IconButtonCoreProps & IconButtonMods;\n\nexport const IconButton = createSkinComponent<uui.IconButtonProps, IconButtonProps>(\n    uui.IconButton,\n    (props) => ({ color: props.color ?? 'gray60' }),\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ntype LinkButtonMods = Pick<uui.LinkButtonProps, 'size'> & {\n    /**\n     * Defines component color.\n     * @default 'blue'\n     */\n    color?: 'blue' | 'green' | 'red' | 'gray60' | 'gray10' | uui.LinkButtonProps['color'];\n};\n\n/** Represents the properties for the LinkButton component. */\nexport type LinkButtonProps = uui.LinkButtonCoreProps & LinkButtonMods;\n\nexport const LinkButton = createSkinComponent<uui.LinkButtonProps, LinkButtonProps>(\n    uui.LinkButton,\n    (props) => {\n        return {\n            color: props.color ?? 'blue',\n        };\n    },\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\nimport { EpamPrimaryColor } from '../types';\n\ninterface AlertMods {\n    /**\n     * Defines component color.\n     * @default 'blue'\n     */\n    color?: EpamPrimaryColor | uui.AlertProps['color'];\n}\n\n/** Represents the properties of an Alert component. */\nexport interface AlertProps extends uui.AlertCoreProps, AlertMods {}\n\nexport const Alert = createSkinComponent<uui.AlertProps, AlertProps>(\n    uui.Alert,\n    (props) => ({\n        ...props,\n        color: props.color ?? 'blue',\n    }),\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\nimport { EpamPrimaryColor } from '../types';\n\ninterface NotificationCardMods {\n    /**\n     * Defines component color.\n     */\n    color?: EpamPrimaryColor | uui.NotificationCardProps['color'];\n}\n\n/** Represents the properties of a NotificationCard component. */\nexport interface NotificationCardProps extends uui.NotificationCardCoreProps, NotificationCardMods {}\n\nexport const NotificationCard = createSkinComponent<uui.NotificationCardProps, NotificationCardProps>(\n    uui.NotificationCard,\n    (props) => {\n        return { ...props, color: props.color };\n    },\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ninterface TooltipMods {\n    /**\n     * Defines component color.\n     * @default 'gray'\n     */\n    color?: 'white' | 'gray' | 'red' | uui.TooltipProps['color'];\n}\n\n/** Represents the properties of a Tooltip component. */\nexport interface TooltipProps extends uui.TooltipCoreProps, TooltipMods {}\n\nexport const Tooltip = createSkinComponent<uui.TooltipProps, TooltipProps>(uui.Tooltip);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ninterface ModalWindowMods {\n    /**\n     * Defines component width\n     */\n    width?: '300' | '420' | '600' | '900' | number;\n    /**\n     * Defines component height\n     */\n    height?: '300' | '700' | 'auto' | number;\n}\n\n/** Represents the properties of a ModalWindow component. */\nexport interface ModalWindowProps extends uui.ModalWindowCoreProps, ModalWindowMods {}\n\nexport const ModalWindow = createSkinComponent<uui.ModalWindowProps, ModalWindowProps>(\n    uui.ModalWindow,\n    (props) => ({\n        ...props,\n        width: props.width && Number(props.width),\n        height: props.height && props.height !== 'auto' && Number(props.height),\n    }),\n);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ntype MultiSwitchMods = {\n    /**\n     * Defines component color.\n     * @default 'blue'\n     */\n    color?: 'blue' | 'gray50' | 'gray' | uui.MultiSwitchProps['color'];\n\n    /**\n     * Defines component size.\n     * @default '36'\n     */\n    size?: '24' | '30' | '36' | '42' | '48' | '60';\n};\n\n/** Represents the properties for the MultiSwitch component. */\nexport type MultiSwitchProps<TValue> = uui.MultiSwitchCoreProps<TValue> & MultiSwitchMods;\n\nexport const MultiSwitch = createSkinComponent<uui.MultiSwitchProps<any>, MultiSwitchProps<any>>(\n    uui.MultiSwitch,\n    (props) => {\n        return {\n            color: props.color || 'blue',\n        };\n    },\n);\n","import * as types from '../../types';\nimport { withMods } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ninterface FlexRowMods extends types.RowSizeMod {\n    /**\n     * @default 'none'\n     */\n    background?: 'white' | 'gray5' | 'none' | uui.FlexRowProps['background'];\n}\nexport type FlexRowProps = Omit<uui.FlexRowProps, 'background'> & FlexRowMods;\n\nexport const FlexRow = withMods<Omit<uui.FlexRowProps, 'background'>, FlexRowProps>(uui.FlexRow, (props) => {\n    return [`uui-flex-row-bg-${props.background || 'none'}`];\n});\n","import * as uui from '@epam/uui';\nimport { withMods, VPanelProps } from '@epam/uui-core';\n\nexport interface PanelMods {\n    shadow?: boolean;\n    margin?: '24';\n    background?: 'white' | 'gray90' | uui.PanelProps['background'];\n}\n\nexport interface PanelProps extends VPanelProps, PanelMods {}\n\nexport const Panel = withMods<VPanelProps, PanelProps>(uui.Panel, (props) => [props.background && `uui-color-${props.background}`]);\n","import { createSkinComponent } from '@epam/uui-core';\nimport * as uui from '@epam/uui';\n\ninterface TextMods extends Pick<uui.TextProps, 'fontStyle' | 'fontWeight' | 'size' | 'lineHeight' | 'fontSize'> {\n    /**\n     * Defines component color.\n     * @default 'gray80'\n     */\n    color?: 'blue' | 'green' | 'amber' | 'red' | 'white' | 'gray5' | 'gray50' | 'gray60' | 'gray80' | 'gray90' | uui.TextProps['color'];\n}\n\n/** Represents the properties of a Text component. */\nexport interface TextProps extends uui.TextCoreProps, TextMods {}\n\nexport const Text = createSkinComponent<uui.TextProps, TextProps>(\n    uui.Text,\n    (props) => {\n        return ({\n            color: props.color ?? 'gray80',\n        });\n    },\n);\n","export const i18n = {\n    dataPickerBody: {\n        searchPlaceholder: 'Search',\n        noRecordsMessage: 'No records found',\n        noRecordsSubTitle: 'Check your spelling, or search for a different keyword',\n    },\n    fileCard: {\n        fileSizeProgress: ' of ',\n        failedUploadErrorMessage: 'Upload failed',\n    },\n    pickerModal: {\n        headerTitle: 'Please select',\n        searchPlaceholder: 'Type text for quick search',\n        cancelButton: 'Cancel',\n        selectButton: 'Select',\n        clearAllButton: 'CLEAR ALL',\n        selectAllButton: 'SELECT ALL',\n    },\n    pickerInput: {\n        showOnlySelectedLabel: 'Show only selected',\n        clearSelectionButton: 'CLEAR ALL',\n        clearSelectionButtonSingle: 'CLEAR',\n        selectAllButton: 'SELECT ALL',\n    },\n    notificationCard: {\n        closeAllNotificationsButton: 'CLOSE ALL NOTIFICATIONS',\n    },\n    form: {\n        notifications: {\n            actionButtonCaption: 'Restore',\n            declineButtonCaption: 'Decline',\n            unsavedChangesMessage: 'You have unsaved changes. Click Restore to recover the data, or Decline to discard it',\n        },\n        modals: {\n            beforeLeaveMessage: 'Your data may be lost. Do you want to save data?',\n            discardButton: 'Discard',\n            saveButton: 'Save',\n        },\n    },\n    rangeDatePicker: {\n        pickerPlaceholderFrom: 'From:',\n        pickerPlaceholderTo: 'To:',\n    },\n    tables: {\n        noResultsBlock: {\n            title: 'No results found',\n            message: 'We can’t find any item matching your request',\n        },\n        columnsConfigurationModal: {\n            applyButton: 'Apply',\n            cancelButton: 'Cancel',\n            selectAllButton: 'Select all',\n            clearAllButton: 'Clear all',\n            checkAllButton: 'Check All',\n            uncheckAllButton: 'Uncheck All',\n            configureColumnsTitle: 'Configure columns',\n            resetToDefaultButton: 'Reset to Default',\n            displayedSectionTitle: 'Displayed in table',\n            hiddenSectionTitle: 'Hidden in table',\n            searchPlaceholder: 'Search by column name',\n            noResultsFound: {\n                text: 'No results found',\n                subText: 'We can’t find any item matching your request',\n            },\n            enableAtLeastOneColumnMessage: 'Please enable at least one column',\n            pinColumnButton: 'Pin column',\n            unPinColumnButton: 'Unpin column',\n            lockedColumnPinButton: 'You cannot unpin this column',\n        },\n    },\n    pickerFilterHeader: {\n        sortAscending: 'Sort Ascending',\n        sortDescending: 'Sort Descending',\n    },\n    fileUpload: {\n        labelStart: 'Drop files to attach or',\n        browse: 'browse',\n        labelEnd: 'your local files',\n    },\n    errorHandler: {\n        errorPageConfig: {\n            notFound: {\n                title: 'Oooops! We couldn’t find this page',\n                subtitle: 'Sorry for the inconvenience.',\n            },\n            permissionDenied: {\n                title: 'You have no permissions!',\n                subtitle: 'Sorry for the inconvenience.',\n            },\n            serverError: {\n                title: '500 Error! Something went wrong',\n                subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',\n            },\n            serviceUnavailable: {\n                title: 'The page request was canceled, because it took too long to complete',\n                subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',\n            },\n            default: {\n                title: 'Something went wrong',\n                subtitle: 'Sorry for the inconvenience, we’ll get it fixed.',\n            },\n        },\n        recoveryMessageConfig: {\n            'auth-lost': {\n                title: 'Your session has expired.',\n                subtitle: 'Attempting to log you in.',\n            },\n            'connection-lost': {\n                title: 'Network connection down',\n                subtitle: 'Please check your network connection.',\n            },\n            maintenance: {\n                title: 'Server maintenance',\n                subtitle: 'We apologize for the inconvenience. Our site is currently under maintenance. Will come back as soon as possible.',\n            },\n            'server-overload': {\n                title: 'Server overloaded',\n                subtitle: 'We are trying to recover. Please wait.',\n            },\n        },\n    },\n    dataTable: {\n        title: 'No results found',\n        message: 'We can’t find any item matching your request',\n    },\n    filterToolbar: {\n        addCaption: 'Add filter',\n        datePicker: {\n            placeholder: 'Select date',\n            removeCaption: 'REMOVE FILTER',\n            clearCaption: 'CLEAR',\n        },\n        rangeDatePicker: {\n            emptyPickerPlaceholder: 'Select period',\n            emptyPlaceholderFrom: 'Select From',\n            emptyPlaceholderTo: 'Select To',\n        },\n        pickerInput: {\n            itemsPlaceholder: 'items',\n            emptyValueCaption: 'ALL',\n        },\n    },\n    presetPanel: {\n        addCaption: 'Add Preset',\n    },\n};\n"]}