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EACzB,CACO,SAAS8E,EAAeJ,GAC3B,MAAO,CACHrH,MAAOqH,EAAY,OAAS,OAEpC,CACO,SAAS9D,EAAe/B,GAC3B,MAAO,CACH,kBAAmB,CACfJ,QAAS,aAAuB,UAAVI,EAAoBG,EAAAA,GAASR,OAAOsI,eAAiB9H,EAAAA,GAASR,OAAO+F,gBAC3FwC,cAAe,OAG3B,CACO,SAASR,EAAkBvG,EAASnB,GACvC,MAAMmI,EAAiB,CACnBd,QAAS,CAAC,EACVG,UAAW,CACPf,UAAW,yBACX5G,WAAsB,SAAVG,EAAmBG,EAAAA,GAAS8G,OAAOC,QAASH,EAAAA,EAAAA,IAAa5G,EAAAA,GAASN,WAAWuI,MAAO,MAEpGT,SAAU,CAAC,EACXG,SAAU,CAAC,EACXC,MAAO,CACHtB,UAAW,yBACX5G,WAAsB,SAAVG,EAAmBG,EAAAA,GAAS8G,OAAOC,QAASH,EAAAA,EAAAA,IAAa5G,EAAAA,GAASN,WAAWuI,MAAO,KAEpGJ,KAAM,CAAC,GAEX,MAAO,CACHhI,MAAiB,SAAVA,EAAmBG,EAAAA,GAASC,KAAKuG,gBAAkBxG,EAAAA,GAASC,KAAK6H,eACxE,yBAA0BE,EAAehH,GAEjD,CACO,MAAM6E,EAAmB,CAC5B7K,QAAS,cACTgE,WAAY,SACZC,eAAgB,SAChBC,OAAQ,UACRgJ,WAAYC,EAAAA,GAAY1J,OACxBU,WAAY,OACZC,SAAU,WACVC,cAAe,SACfC,UAAW,aACXT,aAAc,MACdU,WAAY,uEACZC,OAAQ,EACRC,QAAS,EACTC,WAAY,OACZC,eAAgB,OAChB,QAAS,CACLrB,OAAQ,MACRD,MAAO,MACPwB,MAAO,eACP,SAAU,CACNC,KAAM,iBAGd,mBAAoB,CAChBC,cAAe,OACfF,MAAOG,EAAAA,GAASC,KAAKC,U","sources":["../node_modules/@mui/system/Stack/createStack.js","../node_modules/@mui/material/Stack/Stack.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/IconButton/styles.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/IconButton/IconButton.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Icons/BackIcon.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Icons/ForwardIcon.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Pagination/paginationHelper.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Pagination/Pagination.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Pagination/PaginationItem.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/Pagination/styles.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/V2Button.js","../node_modules/@web-for-marketing/react-ui/lib/esm/components/V2Button/styles.js"],"sourcesContent":["import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { handleBreakpoints, mergeBreakpointsInOrder, resolveBreakpointValues } from \"../breakpoints/index.js\";\nimport { createUnarySpacing, getValue } from \"../spacing/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiStack',\n defaultTheme\n });\n}\n\n/**\n * Return an array with the separator React element interspersed between\n * each React node of the input children.\n *\n * > joinChildren([1,2,3], 0)\n * [1,0,2,0,3]\n */\nfunction joinChildren(children, separator) {\n const childrenArray = React.Children.toArray(children).filter(Boolean);\n return childrenArray.reduce((output, child, index) => {\n output.push(child);\n if (index < childrenArray.length - 1) {\n output.push(/*#__PURE__*/React.cloneElement(separator, {\n key: `separator-${index}`\n }));\n }\n return output;\n }, []);\n}\nconst getSideFromDirection = direction => {\n return {\n row: 'Left',\n 'row-reverse': 'Right',\n column: 'Top',\n 'column-reverse': 'Bottom'\n }[direction];\n};\nexport const style = ({\n ownerState,\n theme\n}) => {\n let styles = {\n display: 'flex',\n flexDirection: 'column',\n ...handleBreakpoints({\n theme\n }, resolveBreakpointValues({\n values: ownerState.direction,\n breakpoints: theme.breakpoints.values\n }), propValue => ({\n flexDirection: propValue\n }))\n };\n if (ownerState.spacing) {\n const transformer = createUnarySpacing(theme);\n const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {\n if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {\n acc[breakpoint] = true;\n }\n return acc;\n }, {});\n const directionValues = resolveBreakpointValues({\n values: ownerState.direction,\n base\n });\n const spacingValues = resolveBreakpointValues({\n values: ownerState.spacing,\n base\n });\n if (typeof directionValues === 'object') {\n Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {\n const directionValue = directionValues[breakpoint];\n if (!directionValue) {\n const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';\n directionValues[breakpoint] = previousDirectionValue;\n }\n });\n }\n const styleFromPropValue = (propValue, breakpoint) => {\n if (ownerState.useFlexGap) {\n return {\n gap: getValue(transformer, propValue)\n };\n }\n return {\n // The useFlexGap={false} implement relies on each child to give up control of the margin.\n // We need to reset the margin to avoid double spacing.\n '& > :not(style):not(style)': {\n margin: 0\n },\n '& > :not(style) ~ :not(style)': {\n [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)\n }\n };\n };\n styles = deepmerge(styles, handleBreakpoints({\n theme\n }, spacingValues, styleFromPropValue));\n }\n styles = mergeBreakpointsInOrder(theme.breakpoints, styles);\n return styles;\n};\nexport default function createStack(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiStack'\n } = options;\n const useUtilityClasses = () => {\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n const StackRoot = createStyledComponent(style);\n const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n component = 'div',\n direction = 'column',\n spacing = 0,\n divider,\n children,\n className,\n useFlexGap = false,\n ...other\n } = props;\n const ownerState = {\n direction,\n spacing,\n useFlexGap\n };\n const classes = useUtilityClasses();\n return /*#__PURE__*/_jsx(StackRoot, {\n as: component,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n children: divider ? joinChildren(children, divider) : children\n });\n });\n process.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n divider: PropTypes.node,\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Stack;\n}","'use client';\n\nimport PropTypes from 'prop-types';\nimport { createStack } from '@mui/system';\nimport styled from \"../styles/styled.js\";\nimport useThemeProps from \"../styles/useThemeProps.js\";\nconst Stack = createStack({\n createStyledComponent: styled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n }),\n useThemeProps: inProps => useThemeProps({\n props: inProps,\n name: 'MuiStack'\n })\n});\nprocess.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n * @default 'column'\n */\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n /**\n * Add an element between each child.\n */\n divider: PropTypes.node,\n /**\n * Defines the space between immediate children.\n * @default 0\n */\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * The system prop, which allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.\n *\n * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),\n * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.\n *\n * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.\n * @default false\n */\n useFlexGap: PropTypes.bool\n} : void 0;\nexport default Stack;","import { v2Colors } from \"../../tokens/color\";\nexport const sizeStyles = {\n micro: {\n width: 30,\n height: 30,\n fontSize: '1.8rem',\n },\n small: {\n width: 40,\n height: 40,\n fontSize: '2rem',\n },\n medium: {\n width: 48,\n height: 48,\n fontSize: '2.4rem',\n },\n large: {\n width: 58,\n height: 58,\n fontSize: '2.5rem',\n },\n};\nexport const shapeStyles = {\n square: {\n borderRadius: '4px',\n },\n round: {\n borderRadius: '100px',\n },\n};\nexport const baseStyles = {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'pointer',\n userSelect: 'none',\n position: 'relative',\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n transition: 'background-color 300ms ease, box-shadow 300ms ease, color 300ms ease',\n border: 0,\n outline: 0,\n background: 'none',\n textDecoration: 'none',\n padding: 0,\n '& svg': {\n height: '1em',\n width: '1em',\n color: 'currentcolor',\n '& path': {\n fill: 'currentcolor',\n },\n },\n '&[data-disabled]': {\n pointerEvents: 'none',\n color: v2Colors.text.disabled,\n },\n};\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { getFocusStyles, getVariantStyles } from '../V2Button/styles';\nimport { baseStyles, shapeStyles, sizeStyles } from './styles';\nfunction IconButtonComponent(props, ref) {\n const { component, children, variant = 'primary', size = 'medium', color = 'blue', shape = 'square', label, isSelected = false, disabled = false, type } = props, componentProps = __rest(props, [\"component\", \"children\", \"variant\", \"size\", \"color\", \"shape\", \"label\", \"isSelected\", \"disabled\", \"type\"]);\n const Component = component || 'button';\n const buttonProps = {};\n if (Component === 'button') {\n buttonProps.type = type === undefined ? 'button' : type;\n buttonProps.disabled = disabled;\n }\n else {\n if (disabled) {\n buttonProps['aria-disabled'] = disabled;\n }\n }\n return (_jsx(Component, Object.assign({ ref: ref, \"aria-label\": label, css: [\n baseStyles,\n getFocusStyles(color),\n sizeStyles[size],\n shapeStyles[shape],\n getVariantStyles(variant, color, isSelected),\n ], \"data-disabled\": disabled || undefined, tabIndex: disabled ? -1 : 0 }, buttonProps, componentProps, { children: children })));\n}\n/**\n * A component that renders an icon within a button\n *\n * @example\n *\n *\n */\nexport const IconButton = React.forwardRef(IconButtonComponent);\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nexport function BackIcon(props) {\n return (_jsx(\"svg\", Object.assign({ \"aria-hidden\": true, width: '20', height: '20', viewBox: '0 0 20 20', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' }, props, { children: _jsx(\"path\", { d: 'M7.74214 2.4983L1.44251 9.4983C1.18583 9.78352 1.18583 10.2165 1.44251 10.5017L7.74214 17.5017C8.01922 17.8096 8.49344 17.8346 8.80133 17.5575C9.10922 17.2804 9.1342 16.8062 8.85711 16.4983L3.68395 10.75L18 10.75C18.4142 10.75 18.75 10.4142 18.75 10C18.75 9.58579 18.4142 9.25001 18 9.25001L3.68395 9.25001L8.85711 3.50171C9.13419 3.19382 9.10922 2.71961 8.80133 2.44252C8.49344 2.16544 8.01922 2.19041 7.74214 2.4983Z', fill: '#3C5164' }) })));\n}\n","import { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nexport function ForwardIcon(props) {\n return (_jsx(\"svg\", Object.assign({ \"aria-hidden\": true, width: '20', height: '20', viewBox: '0 0 20 20', fill: 'none', xmlns: 'http://www.w3.org/2000/svg' }, props, { children: _jsx(\"path\", { d: 'M18.5575 10.5017C18.8142 10.2165 18.8142 9.78352 18.5575 9.4983L12.2579 2.4983C11.9808 2.19041 11.5066 2.16544 11.1987 2.44252C10.8908 2.71961 10.8658 3.19382 11.1429 3.50171L16.316 9.25001L2 9.25001C1.58579 9.25001 1.25 9.58579 1.25 10C1.25 10.4142 1.58579 10.75 2 10.75H16.316L11.1429 16.4983C10.8658 16.8062 10.8908 17.2804 11.1987 17.5575C11.5066 17.8346 11.9808 17.8096 12.2579 17.5017L18.5575 10.5017Z', fill: '#3C5164' }) })));\n}\n","function range(start, end) {\n const length = end - start + 1;\n return Array.from({ length }, (_, index) => index + start);\n}\nexport function paginate(currentPage, total, siblings = 1, boundaries = 1) {\n const totalPageNumbers = siblings * 2 + 3 + boundaries * 2;\n if (currentPage > total || siblings <= 0 || boundaries <= 0) {\n return [];\n }\n if (totalPageNumbers >= total) {\n return range(1, total);\n }\n const leftSiblingIndex = Math.max(currentPage - siblings, boundaries);\n const rightSiblingIndex = Math.min(currentPage + siblings, total - boundaries);\n const shouldShowLeftDots = leftSiblingIndex > boundaries + 2;\n const shouldShowRightDots = rightSiblingIndex < total - (boundaries + 1);\n if (!shouldShowLeftDots && shouldShowRightDots) {\n const leftItemCount = siblings * 2 + boundaries + 2;\n return [...range(1, leftItemCount), null, ...range(total - (boundaries - 1), total)];\n }\n if (shouldShowLeftDots && !shouldShowRightDots) {\n const rightItemCount = boundaries + 1 + 2 * siblings;\n return [...range(1, boundaries), null, ...range(total - rightItemCount, total)];\n }\n return [\n ...range(1, boundaries),\n null,\n ...range(leftSiblingIndex, rightSiblingIndex),\n null,\n ...range(total - boundaries + 1, total),\n ];\n}\nexport function mobilePaginate(currentPage, totalPages, siblings = 2) {\n const maxPages = siblings * 2 + 1;\n if (currentPage > totalPages || siblings <= 0) {\n return [];\n }\n if (maxPages > totalPages) {\n return [...range(1, totalPages)];\n }\n if (currentPage - siblings <= 0) {\n return [...range(1, maxPages)];\n }\n if (totalPages - currentPage <= siblings) {\n return [...range(totalPages - (maxPages - 1), totalPages)];\n }\n return [...range(currentPage - siblings, currentPage + siblings)];\n}\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { paginate, mobilePaginate } from './paginationHelper';\nimport { PaginationItem } from './PaginationItem';\nimport { paginationStyles as classes } from './styles';\n/**\n * A component that allows for navigating through paged results.\n *\n * @example\n * \n */\nexport const Pagination = React.forwardRef(function Pagination(_a, ref) {\n var { currentPage, totalRecordCount, maxRecordsPerPage, siblings = { desktop: 1, mobile: 2 }, boundaries = 1, color = 'blue', renderItem = (props) => _jsx(PaginationItem, Object.assign({}, props)), pageLabel = (page) => `Go to page ${page}`, prevLabel = 'Go to previous page', nextLabel = 'Go to next page', onPageChange } = _a, props = __rest(_a, [\"currentPage\", \"totalRecordCount\", \"maxRecordsPerPage\", \"siblings\", \"boundaries\", \"color\", \"renderItem\", \"pageLabel\", \"prevLabel\", \"nextLabel\", \"onPageChange\"]);\n const paginationSiblings = typeof siblings === 'number' ? { desktop: siblings, mobile: siblings } : siblings;\n const totalPages = Math.ceil(totalRecordCount / maxRecordsPerPage);\n const paginationItems = paginate(currentPage, totalPages, paginationSiblings.desktop, boundaries);\n const mobilePaginationItems = mobilePaginate(currentPage, totalPages, paginationSiblings.mobile);\n return (_jsxs(\"nav\", Object.assign({ ref: ref, \"aria-label\": 'Pagination', css: classes.pagination }, props, { children: [renderItem({\n type: 'previous',\n color,\n label: prevLabel,\n page: currentPage - 1,\n disabled: currentPage <= 1,\n onPageChange,\n }), _jsx(\"div\", { css: [classes.pagination, classes.desktopPagination], children: paginationItems.map((page, index) => {\n return (_jsx(React.Fragment, { children: page ? (renderItem({\n type: 'page',\n color,\n label: pageLabel(page),\n page,\n isSelected: page === currentPage,\n onPageChange,\n })) : (_jsx(PaginationItem, { type: 'dots', color: color })) }, index));\n }) }), _jsx(\"div\", { css: [classes.pagination, classes.mobilePagination], children: mobilePaginationItems.map((page, index) => {\n return (_jsx(React.Fragment, { children: renderItem({\n type: 'page',\n color,\n label: pageLabel(page),\n page,\n isSelected: page === currentPage,\n onPageChange,\n }) }, index));\n }) }), renderItem({\n type: 'next',\n color,\n label: nextLabel,\n page: currentPage + 1,\n disabled: currentPage >= totalPages,\n onPageChange,\n })] })));\n});\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { IconButton } from \"../IconButton\";\nimport { V2Button } from \"../V2Button\";\nimport { BackIcon, ForwardIcon } from \"../Icons\";\nimport { paginationStyles as classes } from './styles';\nfunction PaginationItemComponent(props, ref) {\n const { color = 'blue', disabled, isSelected, label, page, type, onPageChange } = props, componentProps = __rest(props, [\"color\", \"disabled\", \"isSelected\", \"label\", \"page\", \"type\", \"onPageChange\"]);\n switch (type) {\n case 'dots':\n return _jsx(\"span\", { css: classes.dots(color), children: \"...\" });\n case 'next':\n case 'previous':\n return (_jsx(IconButton, Object.assign({ ref: ref, variant: 'ghost', color: color, size: 'small', onClick: () => {\n onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(page);\n }, disabled: disabled }, componentProps, { component: disabled ? 'button' : componentProps.component, href: disabled ? undefined : componentProps.href, to: disabled ? undefined : componentProps.to, label: label, children: type === 'previous' ? _jsx(BackIcon, {}) : _jsx(ForwardIcon, {}) })));\n default:\n return (_jsx(V2Button, Object.assign({ ref: ref, variant: 'ghost', color: color, size: 'small', onClick: () => {\n onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange(page);\n }, isSelected: isSelected, \"aria-current\": isSelected ? 'page' : undefined }, componentProps, { \"aria-label\": label, children: page })));\n }\n}\n/**\n * A component that renders a pagination item, which can be a page number, previous/next button, or dots.\n *\n * @example\n * \n */\nexport const PaginationItem = React.forwardRef(PaginationItemComponent);\n","import { body2Styles } from \"../../presets/typography\";\nimport { v2Colors } from \"../../tokens/color\";\nimport { breakpoints } from \"../../tokens/size\";\nexport const paginationStyles = {\n dots: (color) => (Object.assign(Object.assign({}, body2Styles), { color: color === 'blue' ? v2Colors.text.activePrimary : v2Colors.text.inverseActivePrimary })),\n pagination: {\n display: 'flex',\n alignItems: 'center',\n gap: '6px',\n },\n desktopPagination: {\n [`@media (max-width: ${breakpoints.sm})`]: {\n display: 'none',\n },\n },\n mobilePagination: {\n [`@media (min-width: ${breakpoints.sm})`]: {\n display: 'none',\n },\n },\n};\n","var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"@emotion/react/jsx-runtime\";\nimport React from 'react';\nimport { buttonBaseStyles, getFocusStyles, getVariantStyles, getWidthStyles, sizeStyles } from './styles';\nimport { getResponsiveStyleObject } from \"../../shared/utils/responsive/responsive\";\nfunction V2ButtonComponent(props, ref) {\n const { component, children, variant = 'primary', size = 'medium', color = 'blue', fullWidth = false, leftIcon, rightIcon, isSelected = false, disabled = false, type } = props, componentProps = __rest(props, [\"component\", \"children\", \"variant\", \"size\", \"color\", \"fullWidth\", \"leftIcon\", \"rightIcon\", \"isSelected\", \"disabled\", \"type\"]);\n const Component = component || 'button';\n const buttonProps = {};\n if (Component === 'button') {\n buttonProps.type = type === undefined ? 'button' : type;\n buttonProps.disabled = disabled;\n }\n else {\n if (disabled) {\n buttonProps['aria-disabled'] = disabled;\n }\n }\n return (_jsxs(Component, Object.assign({ ref: ref, css: [\n buttonBaseStyles,\n getFocusStyles(color),\n getWidthStyles(fullWidth),\n getResponsiveStyleObject(size, (size) => sizeStyles[size]),\n getVariantStyles(variant, color, isSelected), // variant styles must come after sizeStyles in order to override padding for link variant\n ], \"data-disabled\": disabled || undefined, tabIndex: disabled ? -1 : 0 }, buttonProps, componentProps, { children: [leftIcon ? _jsx(\"span\", { css: { marginRight: '1rem', display: 'inline-flex' }, children: leftIcon }) : null, children, rightIcon ? _jsx(\"span\", { css: { marginLeft: '1rem', display: 'inline-flex' }, children: rightIcon }) : null] })));\n}\n/**\n * A component that allows users to take actions, and make choices, with a single tap\n *\n * @example\n *Button text\n *\n */\nexport const V2Button = React.forwardRef(V2ButtonComponent);\n","import { fontWeights } from \"../../tokens/typography\";\nimport { body1Styles, body2Styles, body3Styles } from \"../../presets/typography\";\nimport { v2Colors } from \"../../tokens/color\";\nimport { getRgbaColor } from \"../../shared/utils/color/color\";\nexport const sizeStyles = {\n micro: Object.assign({ padding: '0.4rem 1.2rem' }, body3Styles),\n small: Object.assign({ padding: '0.8rem 1.2rem' }, body2Styles),\n medium: Object.assign({ padding: '1.2rem 2.4rem' }, body2Styles),\n large: Object.assign({ padding: '1.6rem 2.4rem' }, body1Styles),\n};\nconst colorStyles = {\n whiteSecondary: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 2px currentColor',\n },\n },\n blueSecondary: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n color: v2Colors.text.activeSecondary,\n boxShadow: '0 0 0 2px currentColor',\n },\n },\n whiteFloating: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 1px currentColor',\n },\n },\n blueFloating: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n boxShadow: '0 0 0 1px currentColor',\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteGhost: {\n color: v2Colors.text.inverseActivePrimary,\n '&:hover:not([data-disabled])': {\n background: getRgbaColor(v2Colors.text.inverseActivePrimary, 0.2),\n },\n },\n blueGhost: {\n color: v2Colors.text.activePrimary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.active,\n color: v2Colors.text.activeSecondary,\n },\n },\n whiteLink: {\n color: v2Colors.text.inverseActivePrimary,\n },\n blueLink: {\n color: v2Colors.text.activePrimary,\n },\n};\nexport function getVariantStyles(variant, color, isSelected) {\n const variantStyles = {\n primary: {\n color: v2Colors.text.inverseActivePrimary,\n background: v2Colors.action.innovation,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.innovationDark,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n secondary: Object.assign(Object.assign(Object.assign({ boxShadow: '0 0 0 1px currentColor', background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteSecondary : colorStyles.blueSecondary)), (isSelected ? getSelectedStyles(variant, color) : {})), { '&[data-disabled]': {\n background: v2Colors.action.disabled,\n boxShadow: 'none',\n } }),\n tertiary: {\n background: v2Colors.action.paleGray,\n color: v2Colors.text.secondary,\n '&:hover:not([data-disabled])': {\n background: v2Colors.action.lightGray,\n },\n '&[data-disabled]': {\n background: v2Colors.action.disabled,\n },\n },\n floating: Object.assign({ background: v2Colors.transparent }, (color === 'white' ? colorStyles.whiteFloating : colorStyles.blueFloating)),\n ghost: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteGhost : colorStyles.blueGhost)), (isSelected ? getSelectedStyles(variant, color) : {})),\n link: Object.assign(Object.assign({}, (color === 'white' ? colorStyles.whiteLink : colorStyles.blueLink)), { padding: 0, '&:hover:not([data-disabled])': {\n textDecoration: 'underline',\n } }),\n };\n return variantStyles[variant];\n}\nexport function getWidthStyles(fullWidth) {\n return {\n width: fullWidth ? '100%' : 'auto',\n };\n}\nexport function getFocusStyles(color) {\n return {\n '&:focus-visible': {\n outline: `2px solid ${color === 'white' ? v2Colors.border.inversePrimary : v2Colors.border.activePrimary}`,\n outlineOffset: '3px',\n },\n };\n}\nexport function getSelectedStyles(variant, color) {\n const selectedStyles = {\n primary: {},\n secondary: {\n boxShadow: '0 0 0 2px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.15),\n },\n tertiary: {},\n floating: {},\n ghost: {\n boxShadow: '0 0 0 1px currentColor',\n background: color === 'blue' ? v2Colors.action.active : getRgbaColor(v2Colors.background.white, 0.2),\n },\n link: {},\n };\n return {\n color: color === 'blue' ? v2Colors.text.activeSecondary : v2Colors.text.inversePrimary,\n '&:not([data-disabled])': selectedStyles[variant],\n };\n}\nexport const buttonBaseStyles = {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'pointer',\n fontWeight: fontWeights.medium,\n userSelect: 'none',\n position: 'relative',\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n borderRadius: '4px',\n transition: 'background-color 300ms ease, box-shadow 300ms ease, color 300ms ease',\n border: 0,\n outline: 0,\n background: 'none',\n textDecoration: 'none',\n '& svg': {\n height: '1em',\n width: '1em',\n color: 'currentcolor',\n '& path': {\n fill: 'currentcolor',\n },\n },\n '&[data-disabled]': {\n pointerEvents: 'none',\n color: v2Colors.text.disabled,\n },\n};\n"],"names":["defaultTheme","createTheme","defaultCreateStyledComponent","systemStyled","name","slot","overridesResolver","props","styles","root","useThemePropsDefault","useThemePropsSystem","joinChildren","children","separator","childrenArray","React","toArray","filter","Boolean","reduce","output","child","index","push","length","key","style","ownerState","theme","display","flexDirection","handleBreakpoints","resolveBreakpointValues","values","direction","breakpoints","propValue","spacing","transformer","createUnarySpacing","base","Object","keys","acc","breakpoint","directionValues","spacingValues","forEach","previousDirectionValue","styleFromPropValue","useFlexGap","gap","getValue","margin","row","column","deepmerge","mergeBreakpointsInOrder","Stack","options","createStyledComponent","useThemeProps","componentName","StackRoot","inProps","ref","themeProps","extendSxProp","component","divider","className","other","classes","composeClasses","generateUtilityClass","_jsx","as","clsx","createStack","styled","sizeStyles","micro","width","height","fontSize","small","medium","large","shapeStyles","square","borderRadius","round","baseStyles","alignItems","justifyContent","cursor","userSelect","position","verticalAlign","boxSizing","transition","border","outline","background","textDecoration","padding","color","fill","pointerEvents","v2Colors","text","disabled","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","propertyIsEnumerable","IconButton","variant","size","shape","label","isSelected","type","componentProps","Component","buttonProps","undefined","assign","css","getFocusStyles","getVariantStyles","tabIndex","BackIcon","viewBox","xmlns","d","ForwardIcon","range","start","end","Array","from","_","Pagination","_a","currentPage","totalRecordCount","maxRecordsPerPage","siblings","desktop","mobile","boundaries","renderItem","PaginationItem","pageLabel","page","prevLabel","nextLabel","onPageChange","paginationSiblings","totalPages","Math","ceil","paginationItems","total","leftSiblingIndex","max","rightSiblingIndex","min","shouldShowLeftDots","shouldShowRightDots","rightItemCount","paginate","mobilePaginationItems","maxPages","mobilePaginate","_jsxs","pagination","desktopPagination","map","mobilePagination","dots","onClick","href","to","V2Button","paginationStyles","body2Styles","activePrimary","inverseActivePrimary","sm","fullWidth","leftIcon","rightIcon","buttonBaseStyles","getWidthStyles","getResponsiveStyleObject","marginRight","marginLeft","body3Styles","body1Styles","colorStyles","whiteSecondary","boxShadow","blueSecondary","activeSecondary","whiteFloating","blueFloating","whiteGhost","getRgbaColor","blueGhost","action","active","whiteLink","blueLink","primary","innovation","innovationDark","secondary","transparent","getSelectedStyles","tertiary","paleGray","lightGray","floating","ghost","link","inversePrimary","outlineOffset","selectedStyles","white","fontWeight","fontWeights"],"sourceRoot":""}