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,IAAPA,OAAO,EAAPA,EAASI,SAASC,KAAKE,oBAAoB,QAASJ,EAAQ,CAC3E,GAAG,GACL,C","sources":["../node_modules/@alpine-iq/ui-library/constants/animations.ts","../node_modules/@alpine-iq/ui-library/Toast/Toast.tsx","../node_modules/@alpine-iq/ui-library/Toast/ToastContainer.tsx","../node_modules/@alpine-iq/ui-library/Toast/ToastProvider.tsx","../node_modules/@alpine-iq/ui-library/AppProvider.tsx","../node_modules/@alpine-iq/ui-library/Flex/Flex.tsx","../node_modules/@alpine-iq/ui-library/FormInput/utils.ts","../node_modules/@alpine-iq/ui-library/Link/Link.tsx","../node_modules/@alpine-iq/ui-library/Loading/Loading.tsx","../node_modules/@alpine-iq/ui-library/SlideOutPanel/SlideOutPanel.tsx","../node_modules/@alpine-iq/ui-library/Toast/ToastContext.tsx","../node_modules/@alpine-iq/ui-library/Typography/Typography.tsx","../node_modules/@alpine-iq/ui-library/hooks/useKeyPress.ts"],"sourcesContent":["import { keyframes } from 'styled-components'\n\nexport const fadeIn = () => {\n  return keyframes`\n    0% { opacity: 0; }\n    100% { opacity: 1; }\n  `\n}\n\n// Slide in/out from top\nexport const slideInTop = () => keyframes`\n  from {\n    transform: translateY(-100%);\n    opacity: 0;\n  }\n  to {\n    transform: translateY(0);\n    opacity: 1;\n  }\n`;\n\nexport const slideOutTop = () => keyframes`\n  from {\n    transform: translateY(0);\n    opacity: 1;\n  }\n  to {\n    transform: translateY(-100%);\n    opacity: 0;\n  }\n`;\n\n// Slide in/out from bottom\nexport const slideInBottom = () => keyframes`\n  from {\n    transform: translateY(100%);\n    opacity: 0;\n  }\n  to {\n    transform: translateY(0);\n    opacity: 1;\n  }\n`;\n\nexport const slideOutBottom = () => keyframes`\n  from {\n    transform: translateY(0);\n    opacity: 1;\n  }\n  to {\n    transform: translateY(100%);\n    opacity: 0;\n  }\n`;\n\n// Slide in/out from left\nexport const slideInLeft = () => keyframes`\n  from {\n    transform: translateX(-100%);\n    opacity: 0;\n  }\n  to {\n    transform: translateX(0);\n    opacity: 1;\n  }\n`;\n\nexport const slideOutLeft = () => keyframes`\n  from {\n    transform: translateX(0);\n    opacity: 1;\n  }\n  to {\n    transform: translateX(-100%);\n    opacity: 0;\n  }\n`;\n\n// Slide in/out from right\nexport const slideInRight = () => keyframes`\n  from {\n    transform: translateX(100%);\n    opacity: 0;\n  }\n  to {\n    transform: translateX(0);\n    opacity: 1;\n  }\n`;\n\nexport const slideOutRight = () => keyframes`\n  from {\n    transform: translateX(0);\n    opacity: 1;\n  }\n  to {\n    transform: translateX(100%);\n    opacity: 0;\n  }\n`;\n","import React from 'react'\nimport styled from 'styled-components'\nimport {\n  slideInBottom,\n  slideInLeft,\n  slideInRight,\n  slideInTop,\n  slideOutBottom,\n  slideOutLeft,\n  slideOutRight,\n  slideOutTop,\n} from '../constants'\nimport { Flex } from '../Flex'\nimport { Typography } from '../Typography'\nimport { Icon, type IconType } from '../Icon'\nimport { Loading } from '../Loading'\n\nexport type ToastPlacement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'top' | 'bottom'\nexport type ToastType = 'success' | 'info' | 'warning' | 'danger' | 'primary' | 'loading'\n\nexport interface ToastProps {\n  toastKey?: string\n  type: ToastType\n  duration?: number // in milliseconds\n  placement?: ToastPlacement\n  message: string | React.ReactNode | ((remainingDuration: number) => React.ReactNode)\n  closeable?: boolean\n  onClose?: () => void\n  extra?: React.ReactNode\n  icon?: IconType | false;\n  interval?: number; // Optionally update the message after a certain interval\n  zIndex?: number;\n}\n\ninterface ToastComponentProps extends ToastProps {\n  removeToast: (key: string) => void\n}\n\nexport default function Toast({\n  toastKey = '',\n  type,\n  duration = 3000,\n  message,\n  placement = 'top',\n  removeToast,\n  closeable,\n  onClose,\n  extra,\n  icon,\n  interval,\n}: ToastComponentProps) {\n  const removalTimer = React.useRef<NodeJS.Timeout>()\n  const intervalTimer = React.useRef<NodeJS.Timeout | null>(null)\n  const [isLeaving, setIsLeaving] = React.useState(false)\n  const [remainingDuration, setRemainingDuration] = React.useState(duration)\n  const [currentMessage, setCurrentMessage] = React.useState<React.ReactNode>(\n    typeof message === 'function' ? message(duration) : message\n  )\n\n  // Effect to handle toast removal based on duration\n  React.useEffect(() => {\n    let timer: NodeJS.Timeout\n    if (duration > 0) {\n      timer = setTimeout(triggerClose, duration)\n    }\n    return () => {\n      if (timer) clearTimeout(timer)\n      if (removalTimer.current) clearTimeout(removalTimer.current)\n      if (intervalTimer.current) clearInterval(intervalTimer.current)\n    }\n  }, [duration])\n\n  // Effect to update remaining time every second and update message\n  React.useEffect(() => {\n    const startTime = Date.now()\n    if (interval && typeof message === 'function') {\n      intervalTimer.current = setInterval(() => {\n        const elapsedTime = Date.now() - startTime\n        const timeLeft = Math.max(0, duration - elapsedTime)\n        setRemainingDuration(timeLeft)\n        setCurrentMessage(message(timeLeft))\n      }, interval)\n    }\n    return () => {\n      if (intervalTimer.current) clearInterval(intervalTimer.current)\n    }\n  }, [interval, message, duration])\n\n  // Update when message prop or remaining duration changes\n  React.useEffect(() => {\n    if (typeof message === 'function') {\n      setCurrentMessage(message(remainingDuration))\n    } else {\n      setCurrentMessage(message)\n    }\n  }, [message, remainingDuration]) \n\n  const triggerClose = () => {\n    setIsLeaving(true)\n    removalTimer.current = setTimeout(() => removeToast(toastKey), 300)\n    onClose?.()\n  }\n\n  const showExtra = closeable || extra\n  const realIcon = icon || getIconByType(type)\n\n  return (\n    <ToastWrapper type={type} placement={placement} isLeaving={isLeaving} data-testid={`toast-${toastKey}`}>\n      <Flex justify=\"space-between\" gap={16}>\n        <Flex gap={16}>\n          {realIcon !== false && <Icon height={24} width={24} type={realIcon} color=\"var(--text-primary-invert)\" />}\n          <DefaultText>{currentMessage}</DefaultText> \n        </Flex>\n        {showExtra && (\n          <Flex gap={16}>\n            {extra}\n            {closeable && (\n              <Icon\n                height={24}\n                width={24}\n                type=\"CLOSE_X\"\n                color=\"var(--text-primary-invert)\"\n                onClick={triggerClose}\n                css={'cursor: pointer;'}\n              />\n            )}\n          </Flex>\n        )}\n      </Flex>\n    </ToastWrapper>\n  )\n} \n\nconst ToastWrapper = styled.div<{ type: ToastType; placement: ToastPlacement; isLeaving: boolean; }>`\n  pointer-events: all;\n  padding: var(--radius-md, 16px) 32px;\n  align-items: center;\n  gap: var(--radius-md, 16px);\n  border-radius: var(--radius-xl, 100px);\n\n  background-color: ${(props) => getBackgroundColor(props.type)};\n  margin-bottom: 8px;\n  opacity: 1;\n\n  transform: translateY(0);\n  transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n\n  animation: ${(props) =>\n      props.isLeaving\n        ? getSlideOutAnimation(props.placement)\n        : getSlideInAnimation(props.placement)}\n    0.31s ease-out;\n  @prefers-reduced-motion: reduce {\n    animation: none;\n  }\n`\n\nconst DefaultText = styled(Typography)`\n  color: var(--text-primary-invert);\n  font-size: 16px;\n  font-style: normal;\n  font-weight: 700;\n  line-height: 24px;\n  letter-spacing: 0.4px;\n`\n\nconst getIconByType = (type: ToastType): IconType | false => {\n  switch (type) {\n    case 'success':\n      return 'SUCCESS_TOAST'\n    case 'info':\n      return 'INFO_TOAST'\n    case 'warning':\n      return 'WARNING_TOAST'\n    case 'danger':\n      return 'DANGER_TOAST'\n    case 'primary':\n      return false\n    case 'loading':\n      return 'LOADING'\n  }\n}\n\nfunction getBackgroundColor(type: ToastType) {\n  switch (type) {\n    case 'success':\n    case 'info':\n    case 'warning':\n    case 'danger':\n    case 'primary':\n      return `var(--${type})`\n    case 'loading':\n      return 'var(--info)'\n  }\n}\n\nexport const getSlideInAnimation = (placement: ToastPlacement) => {\n  switch (placement) {\n    case 'topLeft':\n    case 'topRight':\n    case 'top':\n      return slideInTop\n    case 'bottom':\n      return slideInBottom\n    case 'bottomLeft':\n      return slideInLeft\n    case 'bottomRight':\n      return slideInRight\n    default:\n      return slideInTop\n  }\n}\n\nexport const getSlideOutAnimation = (placement: ToastPlacement) => {\n  switch (placement) {\n    case 'topLeft':\n    case 'topRight':\n    case 'top':\n      return slideOutTop\n    case 'bottom':\n      return slideOutBottom\n    case 'bottomLeft':\n      return slideOutLeft\n    case 'bottomRight':\n      return slideOutRight\n    default:\n      return slideOutTop\n  }\n}\n","import React from 'react'\nimport styled from 'styled-components'\nimport Toast from './Toast'\nimport type { ToastProps, ToastPlacement } from './Toast'\n\ninterface ToastContainerProps {\n  toasts: ToastProps[]\n  removeToast: (key: string) => void\n}\n\nexport default function ToastContainer({ toasts, removeToast }: ToastContainerProps) {\n  // istanbul ignore next\n  const placements: ToastPlacement[] = ['topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'top', 'bottom']\n\n  const groupedToasts = React.useMemo(() => {\n    return placements.reduce((acc, placement) => {\n      acc[placement] = toasts.filter((toast) => toast.placement === placement)\n      return acc\n    }, {} as Record<ToastPlacement, ToastProps[]>)\n  }, [toasts])\n  \n  return (\n    <>\n      {placements.map(\n        (placement) =>\n          groupedToasts[placement].length > 0 && (\n            <Container key={placement} placement={placement} data-testid={`toast-container-${placement}`}>\n              {groupedToasts[placement].map((toast) => (\n                <React.Fragment key={toast.toastKey}>\n                  <Toast {...toast} removeToast={removeToast} />\n                </React.Fragment>\n              ))}\n            </Container>\n          )\n      )}\n    </>\n  )\n}\n\ninterface ContainerProps {\n  placement: ToastPlacement\n}\n\nconst Container = styled.div<ContainerProps>`\n  pointer-events: none;\n  z-index: 100000;\n  position: fixed;\n  ${(props) =>\n    props.placement.includes('top')\n      ? 'top: 0;'\n      : props.placement.includes('bottom')\n      ? 'bottom: 0;'\n      : ''}\n  ${(props) =>\n    props.placement === 'top' || props.placement === 'bottom'\n      ? `\n          left: 50%;\n          transform: translateX(-50%);\n        `\n      : props.placement.includes('Left')\n      ? 'left: 0;'\n      : 'right: 0;'}\n  padding: 16px;\n  display: flex;\n  flex-direction: column;\n  ${(props) => (props.placement === 'top' || props.placement === 'bottom' ? 'align-items: center;' : '')}\n`;","import React from 'react'\nimport ToastContext from './ToastContext'\nimport type { ToastProps } from './Toast'\nimport ToastContainer from './ToastContainer'\n\ninterface ToastProviderProps {\n  children: React.ReactNode\n}\n\nexport default function ToastProvider({ children }: ToastProviderProps) {\n  const [toasts, setToasts] = React.useState<Map<string, ToastProps>>(new Map())\n\n  const getToasts = React.useCallback(() => {\n    return toasts\n  }, [toasts])\n\n  const getToast = React.useCallback((key: string) => {\n    // istanbul ignore next\n    return toasts.get(key)\n  }, [toasts])\n\n  const addToast = React.useCallback((toast: ToastProps) => {\n    setToasts((prevToasts) => {\n      const newToasts = new Map(prevToasts)\n      const toastKey = toast.toastKey || Math.random().toString(36).substr(2, 9)\n      \n      // Merge with existing toast if present\n      const existingToast = newToasts.get(toastKey)\n      newToasts.set(toastKey, {\n        ...existingToast, \n        ...toast,        \n        toastKey,        \n        placement: toast.placement ?? existingToast?.placement ?? 'top' \n      })\n      \n      return newToasts\n    })\n  }, [])\n\n  const removeToast = React.useCallback((key: string) => {\n    setToasts((prevToasts) => {\n      const newToasts = new Map(prevToasts)\n      newToasts.delete(key)\n      return newToasts\n    })\n  }, [])\n\n  const toastsArray = React.useMemo(() => Array.from(toasts.values()), [toasts])\n\n  return (\n    <ToastContext.Provider value={{ getToasts, getToast, addToast, removeToast }}>\n      {children}\n      <ToastContainer toasts={toastsArray} removeToast={removeToast} />\n    </ToastContext.Provider>\n  )\n}\n","import React from 'react'\nimport { ModalProvider } from 'react-aria'\nimport ToastProvider from './Toast/ToastProvider'\n\ntype AppProviderProps = {\n  children: React.ReactNode\n}\n\nexport function AppProvider(props: AppProviderProps) {\n  return (\n    <ModalProvider>\n      <ToastProvider>{props.children}</ToastProvider>\n    </ModalProvider>\n  )\n}\n","import React from 'react'\nimport { css } from 'styled-components'\nimport { cssMeasurement } from '../utils/cssUtils'\n\nexport type FlexProps = React.HTMLAttributes<HTMLDivElement> & {\n  center?: boolean\n  gap?: string | number\n  flex?: string | number | boolean\n  padding?: string | number\n  column?: boolean\n  direction?: 'row' | 'column'\n  align?: 'center' | 'flex-start' | 'flex-end'\n  justify?: 'center' | 'flex-start' | 'flex-end' | 'space-between' | 'space-around'\n  wrap?: 'wrap' | 'nowrap' | 'wrap-reverse' | true\n}\n\nfunction Flex(props: FlexProps, ref: React.Ref<HTMLDivElement>) {\n  const flexDirection = props.direction ?? (props.column ? 'column' : 'row')\n\n  return (\n    <div\n      ref={ref}\n      css={`\n        display: flex;\n        flex-direction: ${flexDirection};\n        gap: ${cssMeasurement(props.gap ?? 'var(--radius-sm, 8px)')};\n        flex: ${props.flex === true ? 1 : props.flex};\n        padding: ${props.padding ? cssMeasurement(props.padding) : 'auto'};\n        ${props.wrap && `flex-wrap: ${props.wrap === true ? 'wrap' : props.wrap};`}\n        ${props.justify && `justify-content: ${props.justify};`}\n\t\t\t\t${props.align && `align-items: ${props.align};`}\n\t\t\t\t${props.center &&\n        css`\n          align-items: center;\n          justify-content: center;\n        `}\n      `}\n      {...props}\n    />\n  )\n}\n\nexport default React.forwardRef(Flex)\n","import { CustomStyleOverrideProps } from './types'\n\nexport const getBrandPrimaryColor = (\n  props?: Partial<CustomStyleOverrideProps>\n) => {\n  if (props?.brandColor) return props.brandColor\n  return 'var(--brand-primary)'\n}\n\nexport const getDangerColor = (props?: Partial<CustomStyleOverrideProps>) => {\n  if (props?.dangerColor) return props.dangerColor\n  return 'var(--danger)'\n}\n\nexport const getBorderColor = (props?: Partial<CustomStyleOverrideProps>) => {\n  if (props?.borderColor) return props.borderColor\n  return 'var(--gray200)'\n}\n\nexport const getBorderRadius = (props?: Partial<CustomStyleOverrideProps>) => {\n  if (props?.borderRadius) return props.borderRadius\n  return 'var(--border-radius-sm)'\n}\n\nexport const getTextPrimaryColor = (\n  props?: Partial<CustomStyleOverrideProps>\n) => {\n  if (props?.textPrimaryColor) return props.textPrimaryColor\n  return 'var(--text-primary)'\n}\n\nexport const getTextSecondaryColor = (\n  props?: Partial<CustomStyleOverrideProps>\n) => {\n  if (props?.textSecondaryColor) return props.textSecondaryColor\n  return 'var(--text-secondary)'\n}\n","import styled from 'styled-components'\nimport { getTypographyStyles } from '../Typography'\n\nconst Link = styled.a<React.HTMLAttributes<HTMLAnchorElement>>`\n  transition: color 0.3s ease-out;\n  color: var(--brand-primary);\n  ${getTypographyStyles('link')}\n  font-size: 0.813rem;\n\n  &:hover {\n    text-decoration: none;\n    color: var(--indigo700);\n  }\n`\n\nexport default Link\n","import React from 'react'\nimport styled, { css } from 'styled-components'\n\nexport type LoadingProps = {\n  size?: 'default' | 'small' | 'xsmall'\n} & React.ComponentPropsWithoutRef<'div'>\n\nconst Loading = styled.div<LoadingProps>`\n  display: inline-block;\n  position: relative;\n  height: 42px;\n  width: 42px;\n\n  @keyframes spinner {\n    to {\n      transform: rotate(360deg);\n    }\n  }\n\n  ${(props) =>\n    props.size === 'small' &&\n    css<LoadingProps>`\n      left: 7px;\n      top: 7px;\n      height: 1.3125rem;\n      width: 1.3125rem;\n    `}\n\n  ${(props) =>\n    props.size === 'xsmall' &&\n    css<LoadingProps>`\n      left: 4px;\n      top: 4px;\n      height: 1rem;\n      width: 1rem;\n    `}\n`\n\nconst Icon = styled.i<LoadingProps>`\n  position: absolute;\n  left: 14px;\n  top: 14px;\n  display: block;\n\n  &:before {\n    content: '';\n    box-sizing: border-box;\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    height: 42px;\n    width: 42px;\n    margin-top: -15px;\n    margin-left: -15px;\n    border-radius: 50%;\n    border: 2px solid var(--gray200);\n    border-top-color: var(--brand-primary);\n    animation: spinner 0.6s linear infinite;\n\n    @prefers-reduced-motion: reduce {\n      animation: none;\n    }\n\n    ${(props) =>\n      props.size === 'small' &&\n      css<LoadingProps>`\n        height: 21px;\n        width: 21px;\n      `}\n\n    ${(props) =>\n      props.size === 'xsmall' &&\n      css<LoadingProps>`\n        height: 16px;\n        width: 16px;\n      `}\n  }\n`\n\nexport default ({ size, ...rest }: LoadingProps) => {\n  return (\n    <Loading size={size} {...rest} data-testid='loading-component'>\n      <Icon size={size} />\n    </Loading>\n  )\n}\n","import React from 'react'\nimport styled from 'styled-components'\n\nimport useKeypress, { Keys } from '../hooks/useKeyPress'\nimport { cssMeasurement } from '../utils/cssUtils'\n\nexport type SlideOutPanelProps = {\n  children?: React.ReactNode\n  open?: boolean\n  level?: number\n  onClose?(): void\n  maxWidth?: number\n}\n\nexport const slideOutTransitionDuration = 300\n\nconst TransparentBackdrop = styled.div`\n  position: fixed;\n  z-index: 10;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n`\n\nconst SlideOutPanelContainer = styled.div<{\n  level: number\n  open: boolean\n  maxWidth?: string | number\n}>`\n  position: fixed;\n  top: 0;\n  right: ${({ open }) => (open ? 0 : -900)}px;\n  z-index: ${({ level }) => 100 + level};\n  background-color: #fff;\n  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n  overflow-y: auto;\n  overflow-x: hidden;\n  transition-duration: 0.2s;\n  max-width: 900px;\n  height: 100%;\n  width: 100%;\n  ${({ maxWidth }) => (maxWidth ? `max-width: ${cssMeasurement(maxWidth)};` : '')}\n`\n\nconst Backdrop = styled.div<{ visible: boolean }>`\n  position: fixed;\n  z-index: 10;\n  background-color: var(--dropdown-backdrop);\n  opacity: ${({ visible }) => (visible ? '1' : '0')};\n  pointer-events: ${({ visible }) => (visible ? 'all' : 'none')};\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  transition: opacity ${slideOutTransitionDuration}ms ease;\n`\nconst SlideOutPanel = ({\n  children,\n  open = false,\n  level = 0,\n  maxWidth,\n  onClose,\n}: SlideOutPanelProps) => {\n  const [isVisible, setVisible] = React.useState(false)\n\n  const close = () => {\n    // istanbul ignore next\n    onClose?.()\n  }\n\n  useKeypress(Keys.ESCAPE, (e: KeyboardEvent) => {\n\n    // istanbul ignore next\n    e.preventDefault()\n\n    // istanbul ignore next\n    close()\n  })\n\n  React.useEffect(() => {\n    if (open) {\n      setTimeout(() => setVisible(true))\n    } else {\n      setVisible(false)\n    }\n  }, [open])\n\n  return (\n    <>\n      <Backdrop\n        visible={level === 0 && isVisible}\n        data-testid='slideout-panel-backdrop'\n      />\n      {isVisible && <TransparentBackdrop onClick={close} />}\n      <SlideOutPanelContainer\n        role='dialog'\n        data-testid='slideout-panel-container'\n        aria-modal='true'\n        level={level}\n        open={isVisible}\n        aria-label='Slide out panel'\n        maxWidth={maxWidth}\n        aria-hidden={!isVisible}\n      >\n        {children}\n      </SlideOutPanelContainer>\n    </>\n  )\n}\n\nexport default React.forwardRef(SlideOutPanel)\n","import React  from 'react'\nimport type { ToastProps } from './Toast'\n\ninterface ToastContextProps {\n  getToasts: () => Map<string, ToastProps> | undefined\n  getToast: (key: string) => ToastProps | undefined\n  addToast: (toast: ToastProps) => void\n  removeToast: (key: string) => void\n}\n\nconst ToastContext = React.createContext<ToastContextProps>({\n  getToasts: () => undefined,\n  getToast: () => undefined,\n  addToast: () => {},\n  removeToast: () => {},\n})\n\nexport function useToast() {\n  return React.useContext(ToastContext)\n}\n\nexport default ToastContext\n","import styled from 'styled-components'\nimport { CustomStyleOverrideProps } from '../FormInput/types'\nimport {\n  getBrandPrimaryColor,\n  getDangerColor,\n  getTextPrimaryColor,\n  getTextSecondaryColor,\n} from '../FormInput/utils'\n\ntype Variant =\n  | 'body'\n  | 'body-sm'\n  | 'body-xs'\n  | 'dot-lg'\n  | 'label-sm'\n  | 'label'\n  | 'number-lg'\n  | 'number-lg-secondary'\n  | 'number-lg-discount'\n  | 'number-lg-sale'\n  | 'number'\n  | 'number-sm'\n  | 'number-secondary'\n  | 'number-sm-secondary'\n  | 'number-sm-discount'\n  | 'number-sm-sale'\n  | 'number-discount'\n  | 'link'\n  | 'link-sm'\n  | 'link-secondary'\n  | 'link-sm-secondary'\n  | 'h1'\n  | 'h2'\n  | 'h3'\n  | 'h4'\n\nexport const getVariantStyles = (\n  variant?: Variant,\n  baseOverrides?: CustomStyleOverrideProps\n) => {\n  const textPrimaryColor = getTextPrimaryColor(baseOverrides)\n  const textSecondaryColor = getTextSecondaryColor(baseOverrides)\n  switch (variant) {\n    case 'body-sm':\n      return `\n        color: ${textSecondaryColor};\n        font-size: 0.813rem;\n      `\n    case 'body-xs':\n      return `\n        color: ${textSecondaryColor};\n        font-size: 0.625rem;\n      `\n    case 'dot-lg':\n      return `\n        font-size: 1.5rem;\n        color: ${textPrimaryColor};\n      `\n    case 'label-sm':\n      return `\n        color: ${textSecondaryColor};\n        font-size: 0.75rem;\n      `\n    case 'label':\n      return `\n        color: ${textSecondaryColor};\n        font-size: 0.813rem;\n        font-weight: bold;\n      `\n    case 'number-sm':\n      return `\n        color: ${textPrimaryColor};\n        font-size: 0.8125rem;\n      `\n    case 'number-lg':\n      return `\n        font-size: 1.5rem;\n        color: ${textPrimaryColor};\n      `\n    case 'number-lg-secondary':\n      return `\n        font-size: 1.5rem;\n        color: ${textSecondaryColor};\n      `\n    case 'number':\n      return `\n        font-size: 1rem;\n        color: ${textPrimaryColor};\n      `\n    case 'number-secondary':\n      return `\n        font-size: 1rem;\n        color: ${textSecondaryColor};\n      `\n    case 'number-discount':\n      return `\n        font-size: 1rem;\n        text-decoration: line-through;\n        color: ${textSecondaryColor};\n      `\n    case 'number-sm-secondary':\n      return `\n        font-size: 0.8125rem;\n        color: ${textSecondaryColor};\n      `\n    case 'number-lg-sale':\n      return `\n        font-size: 1.5rem;\n        color: ${getDangerColor(baseOverrides)};\n      `\n    case 'link':\n      return `\n        font-size: 1rem;\n        font-weight: bold;\n        color: ${getBrandPrimaryColor(baseOverrides)};\n      `\n    case 'link-sm':\n      return `\n        font-size: 0.8125rem;\n        color: ${getBrandPrimaryColor(baseOverrides)};\n        font-weight: bold;\n      `\n    case 'link-secondary':\n      return `\n        font-size: 1rem;\n        font-weight: bold;\n        color: ${textSecondaryColor};\n      `\n    case 'link-sm-secondary':\n      return `\n        font-size: 0.8125rem;\n        color: ${textSecondaryColor};\n        font-weight: bold;\n      `\n    case 'h1':\n      return `\n        font: var(--font-primary);\n        margin-top: 0;\n        font-size: 2.25rem;\n        font-weight: bold;\n      `\n    case 'h2':\n      return `\n        font: var(--font-primary);\n        margin-top: 0;\n        font-size: 1.5rem;\n        font-weight: bold;\n      `\n    case 'h3':\n      return `\n        font: var(--font-primary);\n        margin-top: 0;\n        font-size: 1rem;\n        font-weight: bold;\n      `\n    case 'h4':\n      return `\n        font: var(--font-primary);\n        margin-top: 0;\n        font-size: 0.75rem;\n        font-weight: bold;\n        letter-spacing: 1px;\n        color: ${textSecondaryColor};\n        text-transform: uppercase;\n      `\n    // case 'body':\n    default:\n      return `\n        color: ${textPrimaryColor};\n        font: var(--font-primary);\n        font-size: 1rem;\n        font-weight: 400;\n      `\n  }\n}\n\nexport const getFont = (variant?: Variant) =>\n  variant?.startsWith('number')\n    ? 'var(--font-family-secondary), sans-serif'\n    : 'var(--font-family-primary), sans-serif'\n\nexport type TypographyProps = React.HTMLAttributes<HTMLDivElement> & {\n  variant?: Variant\n  role?: string\n  'aria-level'?: number\n  baseOverrides?: CustomStyleOverrideProps\n}\n\nexport const getTypographyStyles = (\n  variant?: Variant,\n  baseOverrides?: CustomStyleOverrideProps\n) =>\n  `\n  font-family: ${getFont(variant)};\n  font-display: swap;\n  font-weight: 400;\n  font-style: normal;\n  font-stretch: normal;\n  line-height: 1.5;\n  letter-spacing: 0.4px;\n  ${getVariantStyles(variant, baseOverrides)}\n`\n\nconst Typography = styled.div<TypographyProps>`\n  ${(props) => getTypographyStyles(props.variant, props.baseOverrides)}\n  role: ${(props) => (props.variant === 'h1' || props.variant === 'h2' || props.variant === 'h3' || props.variant === 'h4' ? 'heading' : undefined)};\n  aria-level: ${(props) => (props.variant === 'h1' ? 1 : props.variant === 'h2' ? 2 : props.variant === 'h3' ? 3 : props.variant === 'h4' ? 4 : undefined)};\n`\n\nexport default Typography","'use client'\n\nimport React from 'react'\n\nexport enum Keys {\n  ESCAPE = 'Escape',\n}\n// istanbul ignore next\nconst _window = typeof window !== 'undefined' ? window : undefined\n\nconst useKeyPress = (key: string, onKeyPress: (e: KeyboardEvent) => void) => {\n  React.useEffect(() => {\n    function onKeyup(e: KeyboardEvent) {\n      if (e.key === key) {\n        onKeyPress(e)\n      }\n    }\n\n    _window?.document.body.addEventListener('keyup', onKeyup)\n\n    return () => _window?.document.body.removeEventListener('keyup', onKeyup)\n  }, [])\n}\n\nexport default useKeyPress\n"],"names":["slideInTop","keyframes","slideOutTop","slideInBottom","slideOutBottom","slideInLeft","slideOutLeft","slideInRight","slideOutRight","Toast","_ref","_ref$toastKey","toastKey","type","_ref$duration","duration","message","_ref$placement","placement","removeToast","closeable","onClose","extra","icon","interval","removalTimer","React","intervalTimer","_React$useState2","_slicedToArray","isLeaving","setIsLeaving","_React$useState4","remainingDuration","setRemainingDuration","_React$useState6","currentMessage","setCurrentMessage","timer","setTimeout","triggerClose","clearTimeout","current","clearInterval","startTime","Date","now","setInterval","elapsedTime","timeLeft","Math","max","showExtra","realIcon","getIconByType","ToastWrapper","concat","Flex","justify","gap","Icon","height","width","color","DefaultText","_StyledIcon","onClick","$_css","styled","div","withConfig","displayName","props","getBackgroundColor","getSlideOutAnimation","getSlideInAnimation","Typography","p","ToastContainer","toasts","placements","groupedToasts","reduce","acc","filter","toast","map","length","Container","key","_extends","includes","ToastProvider","children","Map","setToasts","getToasts","getToast","get","addToast","prevToasts","_ref2","_toast$placement","newToasts","random","toString","substr","existingToast","set","_objectSpread","delete","toastsArray","Array","from","values","ToastContext","Provider","value","AppProvider","ModalProvider","ref","_props$direction","_props$gap","flexDirection","direction","column","_StyledDiv","$_css2","cssMeasurement","$_css3","flex","$_css4","padding","$_css5","wrap","$_css6","$_css7","align","$_css8","center","css","_styled","getBrandPrimaryColor","brandColor","getDangerColor","dangerColor","getBorderColor","borderColor","getBorderRadius","borderRadius","getTextPrimaryColor","textPrimaryColor","getTextSecondaryColor","textSecondaryColor","Link","a","getTypographyStyles","Loading","size","i","rest","_objectWithoutProperties","_excluded","TransparentBackdrop","SlideOutPanelContainer","open","level","_ref3","maxWidth","Backdrop","_ref4","visible","_ref5","SlideOutPanel","_ref6","_ref6$open","_ref6$level","isVisible","setVisible","close","useKeypress","Keys","ESCAPE","e","preventDefault","role","useToast","getVariantStyles","variant","baseOverrides","getFont","startsWith","undefined","_window","window","onKeyPress","onKeyup","document","body","addEventListener","removeEventListener"],"sourceRoot":""}