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/ImageComponents/Avatar/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/ImageComponents/IconBox/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/ImageComponents/AvatarBox/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/ImageComponents/GroupAvatar/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/ImageComponents/Image/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/ImageComponents/CircularAvatarPair/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/CheckList/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/Chip/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/GridTable/GridTableRow/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/GridTable/GridTableNavigator/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/GridTable/getPinnedRowProps/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/GridTable/getVisibleRowProps/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/GridTable/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/KeyStat/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/PieChartCard/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/Leaderboard/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/Metrics/CustomGridDateFilter/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/ProgressIndicatorDial/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/Table/index.js","file:////home/runner/work/platform/platform/packages/ui/lib/components/Information/Tooltip/index.js"],"sourcesContent":["function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Skeleton as MuiSkeleton, useTheme } from \"@mui/material\";\nimport { Image } from \"../..\";\nexport var avatarSize = {\n xs: \"24px\",\n small: \"38px\",\n medium: \"56px\",\n large: \"94px\",\n xl: \"297px\"\n};\nexport function Avatar(param) {\n var size = param.size, src = param.src, _param_hasBorder = param.hasBorder, hasBorder = _param_hasBorder === void 0 ? true : _param_hasBorder, _param_sx = param.sx, sx = _param_sx === void 0 ? {} : _param_sx, _param_dataCy = param.dataCy, dataCy = _param_dataCy === void 0 ? \"avatarImage\" : _param_dataCy;\n var palette = useTheme().palette;\n if (src) {\n var _palette_default_border;\n return /*#__PURE__*/ _jsx(Image, {\n \"data-cy\": dataCy,\n src: src,\n width: size ? avatarSize[size] : \"100%\",\n height: size ? avatarSize[size] : \"100%\",\n duration: 0,\n sx: _object_spread({\n borderRadius: \"4px\",\n border: hasBorder ? \"1px solid \".concat((_palette_default_border = palette.default.border) === null || _palette_default_border === void 0 ? void 0 : _palette_default_border.primary) : \"none\",\n minWidth: size ? avatarSize[size] : \"\",\n minHeight: size ? avatarSize[size] : \"\"\n }, sx)\n });\n } else {\n return /*#__PURE__*/ _jsx(MuiSkeleton, {\n variant: \"rectangular\",\n width: size ? avatarSize[size] : \"100%\",\n height: size ? avatarSize[size] : \"100%\"\n });\n }\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Box as MuiBox, useTheme } from \"@mui/material\";\nimport { avatarSize } from \"../..\";\nvar iconBoxSize = {\n xl: {\n fontSize: \"128px\",\n borderRadius: \"10px\"\n },\n large: {\n fontSize: \"64px\",\n borderRadius: \"10px\"\n },\n medium: {\n fontSize: \"32px\",\n borderRadius: \"8px\"\n },\n small: {\n fontSize: \"24px\",\n borderRadius: \"6px\"\n },\n xs: {\n fontSize: \"14px\",\n borderRadius: \"4px\"\n }\n};\nexport function IconBox(param) {\n var _param_variant = param.variant, variant = _param_variant === void 0 ? \"square\" : _param_variant, size = param.size, providedColor = param.color, icon = param.icon, _param_noMargin = param.noMargin, noMargin = _param_noMargin === void 0 ? false : _param_noMargin, _param_sx = param.sx, sx = _param_sx === void 0 ? {} : _param_sx, backgroundColor = param.backgroundColor;\n var palette = useTheme().palette;\n var color = providedColor ? palette[providedColor].main : palette.default.text.primary;\n var borderColor = providedColor ? color : palette.default.hover.light;\n var providedBackgroundColor = providedColor ? palette[providedColor].transparent : \"transparent\";\n var boxWidth = variant === \"square\" ? avatarSize[size] : parseInt(avatarSize[size].replace(\"px\", \"\")) * 1.5;\n return /*#__PURE__*/ _jsx(MuiBox, {\n sx: _object_spread_props(_object_spread({\n height: avatarSize[size],\n width: boxWidth,\n border: \"1px solid \".concat(borderColor),\n borderRadius: iconBoxSize[size].borderRadius,\n backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : providedBackgroundColor,\n display: \"inline-flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: iconBoxSize[size].fontSize,\n color: color,\n margin: noMargin ? \"0 !important\" : \"\"\n }, sx), {\n \"& .MuiSvgIcon-root\": {\n fontSize: iconBoxSize[size].fontSize\n }\n }),\n children: icon\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useTheme, Skeleton as MuiSkeleton } from \"@mui/material\";\nimport { Avatar, Stack, TextStack, IconBox, avatarSize } from \"../..\";\nexport function AvatarBox(param) {\n var size = param.size, heading = param.heading, chips = param.chips, subtitles = param.subtitles, _param_orientation = param.orientation, orientation = _param_orientation === void 0 ? \"horizontal\" : _param_orientation, _param_align = param.align, align = _param_align === void 0 ? \"left\" : _param_align, avatarSrc = param.avatarSrc, icon = param.icon, _param_spacing = param.spacing, spacing = _param_spacing === void 0 ? 2 : _param_spacing, textSpacing = param.textSpacing, sx = param.sx, avatarSx = param.avatarSx;\n var palette = useTheme().palette;\n return /*#__PURE__*/ _jsxs(Stack, {\n direction: orientation === \"vertical\" ? \"column\" : \"row\",\n align: align,\n justifyContent: \"flex-start\",\n alignItems: orientation === \"horizontal\" ? \"center\" : align,\n sx: sx,\n spacing: spacing,\n children: [\n avatarSrc && !icon ? /*#__PURE__*/ _jsx(Avatar, {\n size: size,\n src: avatarSrc,\n sx: _object_spread({\n border: \"1px solid \".concat(palette.default.border.primary)\n }, avatarSx)\n }) : undefined,\n icon && !avatarSrc ? /*#__PURE__*/ _jsx(IconBox, {\n icon: icon,\n size: size\n }) : undefined,\n !icon && !avatarSrc ? /*#__PURE__*/ _jsx(MuiSkeleton, {\n width: avatarSize[size],\n height: avatarSize[size],\n variant: \"rounded\"\n }) : undefined,\n /*#__PURE__*/ _jsx(TextStack, {\n sx: {\n color: \"inherit\"\n },\n size: size,\n heading: heading,\n chips: chips,\n subtitles: subtitles,\n align: align,\n spacing: textSpacing,\n subtitlesContainerProps: {\n marginTop: 0\n }\n })\n ]\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport Groups from \"@mui/icons-material/Groups\";\nimport { Avatar as MuiAvatar, useTheme } from \"@mui/material\";\nexport function GroupAvatar(param) {\n var width = param.width, height = param.height, _param_size = param.size, size = _param_size === void 0 ? \"24px\" : _param_size, sx = param.sx;\n var palette = useTheme().palette;\n return /*#__PURE__*/ _jsx(MuiAvatar, {\n variant: \"rounded\",\n sx: _object_spread({\n width: width,\n height: height,\n backgroundColor: \"#EEEEEE\"\n }, sx),\n children: /*#__PURE__*/ _jsx(Groups, {\n sx: {\n color: palette.text.secondary,\n fontSize: size\n }\n })\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport MuiImage from \"mui-image\";\nexport function Image(_param) {\n var _param_duration = _param.duration, duration = _param_duration === void 0 ? 0 : _param_duration, props = _object_without_properties(_param, [\n \"duration\"\n ]);\n return /*#__PURE__*/ _jsx(MuiImage, _object_spread({\n duration: duration\n }, props));\n}\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Stack } from \"../..\";\nimport { Avatar, Box } from \"@mui/material\";\nexport function CircularAvatarPair(param) {\n var mainAvatar = param.mainAvatar, secondaryAvatar = param.secondaryAvatar;\n return /*#__PURE__*/ _jsxs(Stack, {\n direction: \"row\",\n spacing: 0,\n alignItems: \"center\",\n children: [\n /*#__PURE__*/ _jsx(Avatar, {\n src: secondaryAvatar,\n sx: {\n height: \"110px\",\n width: \"110px\"\n }\n }),\n /*#__PURE__*/ _jsx(Box, {\n sx: {\n ml: -3,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: \"50%\",\n height: \"149px\",\n width: \"149px\",\n backdropFilter: \"blur(21px)\",\n background: \"linear-gradient(180deg, rgba(106, 163, 244, 0.12) 0%, rgba(106, 163, 244, 0.00) 101.69%, rgba(106, 163, 244, 0.00) 101.69%)\"\n },\n children: /*#__PURE__*/ _jsx(Avatar, {\n src: mainAvatar,\n sx: {\n height: \"120px\",\n width: \"120px\",\n border: \"1px solid #E1E3E5\"\n }\n })\n })\n ]\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { CheckCircleOutlineSharp } from \"@mui/icons-material\";\nimport RadioButtonUncheckedOutlined from \"@mui/icons-material/RadioButtonUncheckedOutlined\";\nimport { ListItem as MuiListItem, useTheme } from \"@mui/material\";\nimport { Stack, Text } from \"../..\";\nexport function CheckList(param) {\n var items = param.items, title = param.title, _param_spacing = param.spacing, spacing = _param_spacing === void 0 ? 1 : _param_spacing, sx = param.sx;\n var palette = useTheme().palette;\n var titleProps = typeof title === \"string\" ? {\n text: title,\n variant: \"caption\"\n } : title;\n return /*#__PURE__*/ _jsxs(Stack, {\n direction: \"column\",\n sx: _object_spread({\n width: \"100%\",\n color: \"inherit\"\n }, sx),\n spacing: spacing,\n children: [\n title ? /*#__PURE__*/ _jsx(Text, _object_spread({\n sx: {\n my: 1\n }\n }, titleProps)) : undefined,\n items.map(function(item) {\n return /*#__PURE__*/ _jsxs(MuiListItem, {\n onClick: item.isCurrent ? item.onClick : undefined,\n sx: {\n cursor: item.isCurrent && item.onClick ? \"pointer\" : \"\",\n width: \"100%\",\n display: item.hidden ? \"none\" : \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: 1,\n borderRadius: \"10px\",\n backgroundColor: item.isCurrent ? \"#F8FBFF\" : \"transparent\",\n color: item.isChecked || item.isCurrent ? palette.info.main : \"#888888\",\n \"& .MuiSvgIcon-root\": {\n color: item.isChecked || item.isCurrent ? palette.info.main : \"#888888\"\n }\n },\n children: [\n item.isChecked ? /*#__PURE__*/ _jsx(CheckCircleOutlineSharp, {}) : /*#__PURE__*/ _jsx(RadioButtonUncheckedOutlined, {}),\n /*#__PURE__*/ _jsx(Text, {\n text: item.label,\n variant: \"body1\",\n color: \"inherit\"\n })\n ]\n }, item.key);\n })\n ]\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Chip as MuiChip, useTheme } from \"@mui/material\";\nimport React from \"react\";\nvar chipSizes = {\n xl: {\n fontSize: \"24px\",\n height: \"34px\",\n fontWeight: 600\n },\n large: {\n fontSize: \"20px\",\n height: \"30px\",\n fontWeight: 500\n },\n medium: {\n fontSize: \"16px\",\n height: \"24px\",\n fontWeight: 400\n },\n small: {\n fontSize: \"13px\",\n height: \"20px\",\n fontWeight: 400\n },\n xs: {\n fontSize: \"10px\",\n height: \"16px\",\n fontWeight: 300\n }\n};\nexport function Chip(_param) {\n var label = _param.label, _param_color = _param.color, color = _param_color === void 0 ? \"primary\" : _param_color, _param_size = _param.size, size = _param_size === void 0 ? \"small\" : _param_size, _param_variant = _param.variant, variant = _param_variant === void 0 ? \"contained\" : _param_variant, icon = _param.icon, bgColor = _param.bgColor, props = _object_without_properties(_param, [\n \"label\",\n \"color\",\n \"size\",\n \"variant\",\n \"icon\",\n \"bgColor\"\n ]);\n var palette = useTheme().palette;\n var containedStyles = {\n color: palette[color].contrastText,\n backgroundColor: bgColor !== null && bgColor !== void 0 ? bgColor : palette[color].main,\n border: \"1px solid transparent\"\n };\n var outlinedStyles = {\n color: palette[color].dark,\n backgroundColor: bgColor !== null && bgColor !== void 0 ? bgColor : palette[color].transparent,\n border: \"1px solid \".concat(palette[color].dark)\n };\n var grayOutlinedStyles = {\n color: palette[color].dark,\n backgroundColor: bgColor !== null && bgColor !== void 0 ? bgColor : palette[color].transparent,\n border: \"1px solid \".concat(palette[color].light)\n };\n return /*#__PURE__*/ _jsx(MuiChip, _object_spread_props(_object_spread({\n label: label\n }, props), {\n icon: icon,\n sx: _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, props.sx), {\n borderRadius: \"4px\",\n height: chipSizes[size].height,\n fontSize: chipSizes[size].fontSize,\n fontWeight: chipSizes[size].fontWeight\n }), variant === \"contained\" && containedStyles, variant === \"outlined\" && outlinedStyles, color === \"gray\" && variant === \"outlined\" && grayOutlinedStyles), {\n svg: {\n fontSize: chipSizes[size].fontSize\n },\n \".MuiChip-icon\": {\n color: variant === \"outlined\" ? palette[color].dark : palette[color].contrastText\n }\n })\n }));\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { isNotUndefined } from \"@guider-global/shared-types\";\nimport { Box, Button, Grid } from \"@mui/material\";\nimport { csx } from \"../../../../utils/csx\";\nexport function GridTableRow(param) {\n var providedCells = param.cells, sx = param.sx, disabledSx = param.disabledSx, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, selectedSx = param.selectedSx, _param_isSelected = param.isSelected, isSelected = _param_isSelected === void 0 ? false : _param_isSelected, onClick = param.onClick;\n var appliedSx = csx([\n {\n px: 1.0,\n py: 0.5\n },\n sx,\n isDisabled ? disabledSx : undefined,\n isSelected ? selectedSx : undefined,\n onClick ? {\n textAlign: \"left\"\n } : {}\n ]);\n var cells = (providedCells !== null && providedCells !== void 0 ? providedCells : []).filter(isNotUndefined);\n var onClickProps = onClick ? {\n component: Button,\n onClick: onClick\n } : {};\n return /*#__PURE__*/ _jsx(Box, _object_spread_props(_object_spread({\n sx: appliedSx\n }, onClickProps), {\n children: /*#__PURE__*/ _jsx(Grid, {\n container: true,\n alignItems: \"center\",\n children: cells.map(function(_param) {\n var key = _param.key, content = _param.content, gridProps = _object_without_properties(_param, [\n \"key\",\n \"content\"\n ]);\n return /*#__PURE__*/ _jsx(Grid, _object_spread_props(_object_spread({\n item: true\n }, gridProps), {\n children: content\n }), key);\n })\n })\n }));\n}\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Box, Grid, Stack } from \"@mui/material\";\nimport { IconButton } from \"../../..\";\nimport { Text } from \"../../..\";\nimport ChevronLeftIcon from \"@mui/icons-material/ChevronLeft\";\nimport ChevronRightIcon from \"@mui/icons-material/ChevronRight\";\nimport { csx } from \"../../../../utils\";\nexport function GridTableNavigator(param) {\n var currentPage = param.currentPage, pageCount = param.pageCount, onNavigate = param.onNavigate, sx = param.sx;\n var appliedSx = csx([\n {\n px: 1.0,\n py: 1.5,\n backgroundColor: function(theme) {\n return theme.palette.background.paper;\n }\n },\n sx\n ]);\n function onNavigateLeft() {\n var nextPage = Math.max(currentPage - 1, 1);\n onNavigate(nextPage);\n }\n function onNavigateRight() {\n var nextPage = Math.min(currentPage + 1, pageCount);\n onNavigate(nextPage);\n }\n return /*#__PURE__*/ _jsx(Box, {\n sx: appliedSx,\n children: /*#__PURE__*/ _jsxs(Grid, {\n container: true,\n alignItems: \"center\",\n children: [\n /*#__PURE__*/ _jsx(Grid, {\n item: true,\n xs: 6,\n md: 8\n }),\n /*#__PURE__*/ _jsx(Grid, {\n item: true,\n xs: 3,\n md: 2,\n textAlign: \"center\",\n children: /*#__PURE__*/ _jsx(Text, {\n text: \"\".concat(currentPage, \" of \").concat(pageCount)\n })\n }),\n /*#__PURE__*/ _jsx(Grid, {\n item: true,\n xs: 3,\n md: 2,\n textAlign: {\n xs: \"center\",\n md: \"left\"\n },\n children: /*#__PURE__*/ _jsxs(Stack, {\n direction: \"row\",\n children: [\n /*#__PURE__*/ _jsx(IconButton, {\n variant: \"regular\",\n onClick: onNavigateLeft,\n icon: /*#__PURE__*/ _jsx(ChevronLeftIcon, {})\n }),\n /*#__PURE__*/ _jsx(IconButton, {\n variant: \"regular\",\n onClick: onNavigateRight,\n icon: /*#__PURE__*/ _jsx(ChevronRightIcon, {})\n })\n ]\n })\n })\n ]\n })\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { csx } from \"../../../../utils\";\nexport function getPinnedRowProps(_param) {\n var pinnedRowRefs = _param.pinnedRowRefs, indexedRows = _param.indexedRows, startIndex = _param.startIndex, endIndex = _param.endIndex, visibleIndex = _param.visibleIndex, selectedIndex = _param.selectedIndex, placement = _param.placement, remainingProps = _object_without_properties(_param, [\n \"pinnedRowRefs\",\n \"indexedRows\",\n \"startIndex\",\n \"endIndex\",\n \"visibleIndex\",\n \"selectedIndex\",\n \"placement\"\n ]);\n var pinnedRowRef = pinnedRowRefs.find(function(pinnedRowRef) {\n var rowIndex = pinnedRowRef.rowIndex, pinIndex = pinnedRowRef.pinIndex, tmp = pinnedRowRef.placement, pinnedRowPlacement = tmp === void 0 ? \"before\" : tmp, _pinnedRowRef_hideIfVisible = pinnedRowRef.hideIfVisible, hideIfVisible = _pinnedRowRef_hideIfVisible === void 0 ? true : _pinnedRowRef_hideIfVisible;\n var isVisible = rowIndex >= startIndex && rowIndex < endIndex;\n var hide = hideIfVisible && isVisible;\n var showPinnedRow = pinIndex === visibleIndex && pinnedRowPlacement === placement && !hide;\n if (!showPinnedRow) return undefined;\n return pinnedRowRef;\n });\n if (!pinnedRowRef) return undefined;\n var indexedRow = indexedRows.at(pinnedRowRef.rowIndex);\n if (!indexedRow) return undefined;\n var getIsSelected = function() {\n if (pinnedRowRef.isSelected !== undefined) return pinnedRowRef.isSelected;\n if (selectedIndex !== undefined) return indexedRow.index === selectedIndex;\n return undefined;\n };\n var getIsDisabled = function() {\n if (pinnedRowRef.isDisabled !== undefined) return pinnedRowRef.isDisabled;\n return indexedRow.isDisabled;\n };\n var pinnedRow = _object_spread({\n key: \"pinned-row-\".concat(visibleIndex, \"-\").concat(placement),\n cells: indexedRow.cells,\n sx: csx([\n indexedRow.sx,\n pinnedRowRef.sx\n ]),\n isSelected: getIsSelected(),\n isDisabled: getIsDisabled()\n }, remainingProps);\n return pinnedRow;\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { csx } from \"../../../../utils\";\nexport function getVisibleRowProps(_param) {\n var visibleRowData = _param.visibleRowData, visibleIndex = _param.visibleIndex, selectedIndex = _param.selectedIndex, genericSx = _param.genericSx, remainingProps = _object_without_properties(_param, [\n \"visibleRowData\",\n \"visibleIndex\",\n \"selectedIndex\",\n \"genericSx\"\n ]);\n if (!visibleRowData) return undefined;\n var key = \"row-\".concat(visibleIndex);\n var isSelected = selectedIndex !== undefined && selectedIndex === visibleRowData.index;\n var sx = csx([\n genericSx,\n visibleRowData.sx\n ]);\n var visibleRowProps = _object_spread(_object_spread_props(_object_spread({\n key: key\n }, visibleRowData), {\n isSelected: isSelected,\n sx: sx\n }), remainingProps);\n return visibleRowProps;\n}\n\n//# sourceMappingURL=index.js.map","function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];\n return arr2;\n}\nfunction _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nfunction _array_without_holes(arr) {\n if (Array.isArray(arr)) return _array_like_to_array(arr);\n}\nfunction _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _iterable_to_array(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\nfunction _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n try {\n for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally{\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally{\n if (_d) throw _e;\n }\n }\n return _arr;\n}\nfunction _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _non_iterable_spread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nfunction _to_consumable_array(arr) {\n return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();\n}\nfunction _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { GridTableRow } from \"./GridTableRow\";\nimport { Stack } from \"../..\";\nimport { GridTableNavigator } from \"./GridTableNavigator\";\nimport { useState } from \"react\";\nimport { isNotUndefined } from \"@guider-global/shared-types\";\nimport { indexProps } from \"../../../utils\";\nimport { getPinnedRowProps } from \"./getPinnedRowProps\";\nimport { getVisibleRowProps } from \"./getVisibleRowProps\";\n/**\n * Lean presentational table implemented as `Stack` of `Grid` components\n *\n * **Features:** Pagination, pinned rows, selected rows, disabled rows\n */ export function GridTable(param) {\n var header = param.header, rowDataList = param.rows, tmp = param.pinnedRows, pinnedRowRefs = tmp === void 0 ? [] : tmp, tmp1 = param.rowProps, genericRowProps = tmp1 === void 0 ? {} : tmp1, selectedIndex = param.selected, _param_spacing = param.spacing, spacing = _param_spacing === void 0 ? 0 : _param_spacing, _param_showNavigator = param.showNavigator, showNavigator = _param_showNavigator === void 0 ? true : _param_showNavigator, navigatorSx = param.navigatorSx, _param_rowsPerPage = param.rowsPerPage, rowsPerPage = _param_rowsPerPage === void 0 ? 6 : _param_rowsPerPage, _param_sx = param.sx, sx = _param_sx === void 0 ? {} : _param_sx;\n var genericSx = genericRowProps.sx, remainingRowProps = _object_without_properties(genericRowProps, [\n \"sx\"\n ]);\n var _useState = _sliced_to_array(useState(1), 2), currentPage = _useState[0], setCurrentPage = _useState[1];\n function onNavigate(nextPage) {\n setCurrentPage(nextPage);\n }\n // - Calculate number of pages\n // - ...range of visible rows\n // - ...and how many placeholder rows to insert to last page\n var pageCount = Math.ceil(rowDataList.length / rowsPerPage);\n var startIndex = (currentPage - 1) * rowsPerPage;\n var endIndex = startIndex + rowsPerPage;\n var placeholderRowCount = endIndex - rowDataList.length;\n // - Index Rows\n // - Fill last page with placeholder rows\n // - Select visible rows\n // - Interleave with pinned rows\n var indexedRows = indexProps(rowDataList);\n var placeholderRows = Array.from({\n length: placeholderRowCount\n }).map(function() {\n return undefined;\n });\n var visibleRows = _to_consumable_array(indexedRows.slice(startIndex, endIndex)).concat(_to_consumable_array(placeholderRows));\n var visibleAndPinnedRows = visibleRows.flatMap(function(visibleRowData, visibleIndex) {\n var pinnedBeforeRowProps = getPinnedRowProps(_object_spread({\n pinnedRowRefs: pinnedRowRefs,\n indexedRows: indexedRows,\n startIndex: startIndex,\n endIndex: endIndex,\n visibleIndex: visibleIndex,\n selectedIndex: selectedIndex,\n placement: \"before\"\n }, remainingRowProps));\n var visibleRowProps = getVisibleRowProps(_object_spread({\n visibleRowData: visibleRowData,\n visibleIndex: visibleIndex,\n selectedIndex: selectedIndex,\n genericSx: genericSx\n }, remainingRowProps));\n var pinnedAfterRowProps = getPinnedRowProps(_object_spread({\n pinnedRowRefs: pinnedRowRefs,\n indexedRows: indexedRows,\n startIndex: startIndex,\n endIndex: endIndex,\n visibleIndex: visibleIndex,\n selectedIndex: selectedIndex,\n placement: \"after\"\n }, remainingRowProps));\n return [\n pinnedBeforeRowProps,\n visibleRowProps,\n pinnedAfterRowProps\n ];\n }).filter(isNotUndefined);\n return /*#__PURE__*/ _jsxs(Stack, {\n direction: \"column\",\n spacing: spacing,\n sx: sx,\n children: [\n header ? /*#__PURE__*/ _jsx(GridTableRow, {\n cells: header.cells,\n sx: header.sx\n }) : /*#__PURE__*/ _jsx(_Fragment, {}),\n visibleAndPinnedRows.map(function(_param) {\n var key = _param.key, row = _object_without_properties(_param, [\n \"key\"\n ]);\n return /*#__PURE__*/ _jsx(GridTableRow, _object_spread({}, row), key);\n }),\n showNavigator ? /*#__PURE__*/ _jsx(GridTableNavigator, {\n currentPage: currentPage,\n pageCount: pageCount,\n onNavigate: onNavigate,\n sx: navigatorSx\n }) : undefined\n ]\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useTheme, Box } from \"@mui/material\";\nimport { Divider, Stack, Text } from \"../..\";\nexport function KeyStat(param) {\n var label = param.label, value = param.value, align = param.align, divider = param.divider, _param_underline = param.underline, underline = _param_underline === void 0 ? \"secondary\" : _param_underline, sx = param.sx;\n var palette = useTheme().palette;\n return /*#__PURE__*/ _jsxs(Box, {\n sx: _object_spread({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\"\n }, sx),\n children: [\n divider ? /*#__PURE__*/ _jsx(Divider, {\n orientation: \"vertical\",\n height: \"65px\",\n thickness: 2\n }) : undefined,\n /*#__PURE__*/ _jsxs(Stack, {\n direction: \"column\",\n align: align,\n spacing: 0,\n sx: {\n ml: divider ? 3 : undefined\n },\n children: [\n /*#__PURE__*/ _jsx(Text, {\n variant: \"caption\",\n text: label\n }),\n /*#__PURE__*/ _jsx(Text, {\n variant: \"h1\",\n component: \"p\",\n text: \"\".concat(value)\n }),\n underline ? /*#__PURE__*/ _jsx(Box, {\n sx: {\n width: \"35px\",\n height: \"5px\",\n borderRadius: \"30px\",\n backgroundColor: palette[underline].main\n }\n }) : undefined\n ]\n })\n ]\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport FileDownloadOutlinedIcon from \"@mui/icons-material/FileDownloadOutlined\";\nimport { Skeleton } from \"@mui/material\";\nimport { PieChart, pieArcLabelClasses } from \"@mui/x-charts\";\nimport { AlertBox, Button, Card } from \"../..\";\nimport { exportCSVFile } from \"../../../../../front-end-utils/lib\";\nexport function PieChartCard(param) {\n var title = param.title, fileName = param.fileName, _param_isLoading = param.isLoading, isLoading = _param_isLoading === void 0 ? false : _param_isLoading, data = param.data, arcLabel = param.arcLabel, sxProps = param.sxProps, slotProps = param.slotProps;\n var isEmpty = data.reduce(function(acc, item) {\n return acc + item.value;\n }, 0);\n if (isLoading) {\n return /*#__PURE__*/ _jsx(Skeleton, {\n variant: \"rounded\",\n height: \"258px\",\n sx: {\n borderRadius: \"8px\",\n flex: 1,\n ml: \"12px\"\n }\n });\n }\n var _obj;\n return /*#__PURE__*/ _jsxs(Card, {\n title: title,\n sx: _object_spread({\n height: \"300px\",\n flex: 1,\n display: \"flex\",\n flexDirection: \"column\",\n pb: 2,\n pr: 1\n }, sxProps),\n children: [\n /*#__PURE__*/ _jsx(Button, {\n label: \"Export\",\n color: \"primary\",\n startIcon: /*#__PURE__*/ _jsx(FileDownloadOutlinedIcon, {}),\n variant: \"textWithIcon\",\n onClick: function() {\n return exportCSVFile({\n headers: [\n {\n field: \"label\"\n },\n {\n field: \"value\"\n }\n ],\n rows: data,\n fileName: fileName\n });\n },\n sx: {\n alignSelf: \"flex-end\",\n position: \"absolute\",\n px: \"4px\",\n m: 0.5,\n height: \"32px\",\n \"&:hover\": {\n borderColor: \"cubic-bezier(0.4, 0, 0.2, 1);\"\n }\n }\n }),\n isEmpty && !isLoading ? /*#__PURE__*/ _jsx(PieChart, {\n series: [\n {\n data: data,\n arcLabel: arcLabel,\n highlightScope: {\n faded: \"global\",\n highlighted: \"item\"\n },\n faded: {\n additionalRadius: -20,\n color: \"gray\"\n }\n }\n ],\n slotProps: _object_spread({\n legend: {\n hidden: true\n }\n }, slotProps),\n margin: {\n bottom: 5,\n left: 5,\n right: 5,\n top: 5\n },\n sx: (_obj = {}, _define_property(_obj, \"& .\".concat(pieArcLabelClasses.root), {\n cursor: \"default\",\n pointerEvents: \"none\"\n }), _define_property(_obj, \"height\", \"200px\"), _obj)\n }) : EmptyState\n ]\n });\n}\nvar EmptyState = /*#__PURE__*/ _jsx(AlertBox, {\n title: \"\",\n description: \"Pie chart data will show when available.\",\n variant: \"icon\",\n iconVariant: \"warning\"\n});\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Box, ButtonBase, useTheme, Link } from \"@mui/material\";\nimport { GridTable, Text, AvatarBox } from \"../..\";\nimport { FirstPositionIcon, SecondPositionIcon, ThirdPositionIcon } from \"../../../icons\";\nexport function Leaderboard(param) {\n var leaderboardHeader = param.header, leaderboardRows = param.rows, _param_rowsPerPage = param.rowsPerPage, rowsPerPage = _param_rowsPerPage === void 0 ? 6 : _param_rowsPerPage, selectedIndex = param.selected, _param_pinSelected = param.pinSelected, pinSelected = _param_pinSelected === void 0 ? true : _param_pinSelected, _param_showNavigator = param.showNavigator, showNavigator = _param_showNavigator === void 0 ? true : _param_showNavigator;\n var theme = useTheme();\n var rowSx = {\n color: theme.palette.text.secondary\n };\n var selectedSx = {\n backgroundColor: theme.palette.default.hover.light\n };\n var header = leaderboardHeader ? {\n cells: [\n {\n key: \"rank\",\n content: /*#__PURE__*/ _jsx(Text, {\n text: leaderboardHeader.rankColumnLabel\n }),\n xs: 2,\n textAlign: \"center\"\n },\n {\n key: \"profile\",\n content: /*#__PURE__*/ _jsx(Text, {\n text: leaderboardHeader.profileColumnLabel\n }),\n xs: 7,\n textAlign: \"left\"\n },\n {\n key: \"contributions\",\n content: /*#__PURE__*/ _jsx(Text, {\n text: leaderboardHeader.contributionsColumnLabel\n }),\n xs: 3,\n textAlign: \"center\"\n }\n ],\n sx: function(theme) {\n return {\n pt: 2,\n backgroundColor: theme.palette.background.default,\n borderBottom: function(theme) {\n return \"1pt solid \".concat(theme.palette.divider);\n }\n };\n }\n } : undefined;\n var rows = leaderboardRows.map(function(row) {\n return {\n cells: [\n {\n key: \"rank\",\n content: /*#__PURE__*/ _jsx(LeaderboardPosition, {\n position: row.position\n }),\n xs: 2,\n textAlign: \"center\"\n },\n {\n key: \"profile\",\n content: /*#__PURE__*/ _jsx(Box, {\n display: \"inline-block\",\n py: 0.5,\n children: /*#__PURE__*/ _jsx(Link, {\n href: row.href,\n children: /*#__PURE__*/ _jsx(ButtonBase, {\n onClick: row.onClick,\n children: /*#__PURE__*/ _jsx(AvatarBox, {\n avatarSrc: row.avatarSrc,\n heading: {\n text: row.displayName,\n variant: \"body1\",\n color: function(theme) {\n return theme.palette.paper.text.primary;\n }\n },\n size: \"small\"\n })\n })\n })\n }),\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n xs: 7\n },\n {\n key: \"contributions\",\n content: /*#__PURE__*/ _jsx(Text, {\n text: \"\".concat(row.score),\n variant: \"body1\",\n fontSize: 18\n }),\n xs: 3,\n textAlign: \"center\"\n }\n ]\n };\n });\n function getPinnedRows() {\n if (selectedIndex === undefined) return undefined;\n if (!pinSelected) return undefined;\n return [\n {\n rowIndex: selectedIndex,\n pinIndex: rowsPerPage - 1,\n placement: \"after\"\n }\n ];\n }\n return /*#__PURE__*/ _jsx(GridTable, {\n header: header,\n rows: rows,\n pinnedRows: getPinnedRows(),\n selected: selectedIndex,\n rowProps: {\n sx: rowSx,\n selectedSx: selectedSx\n },\n rowsPerPage: rowsPerPage,\n showNavigator: showNavigator\n });\n}\nexport function LeaderboardPosition(param) {\n var position = param.position;\n if (position === 1) {\n return /*#__PURE__*/ _jsx(FirstPositionIcon, {\n fontSize: \"large\"\n });\n }\n if (position === 2) {\n return /*#__PURE__*/ _jsx(SecondPositionIcon, {\n fontSize: \"large\"\n });\n }\n if (position === 3) {\n return /*#__PURE__*/ _jsx(ThirdPositionIcon, {\n fontSize: \"large\"\n });\n }\n return /*#__PURE__*/ _jsx(Text, {\n text: \"\".concat(position, \". \"),\n variant: \"body1\",\n fontSize: 18\n });\n}\n\n//# sourceMappingURL=index.js.map","function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];\n return arr2;\n}\nfunction _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nfunction _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _instanceof(left, right) {\n if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n return !!right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n}\nfunction _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n try {\n for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally{\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally{\n if (_d) throw _e;\n }\n }\n return _arr;\n}\nfunction _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nfunction _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport ArrowDropDownIcon from \"@mui/icons-material/ArrowDropDown\";\nimport { DatePicker, LocalizationProvider } from \"@mui/x-date-pickers\";\nimport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\nimport { enGB } from \"date-fns/locale\";\nimport { useState } from \"react\";\nexport function CustomGridDateFilter(param) {\n var labelTo = param.labelTo, labelFrom = param.labelFrom, locale = param.locale, applyValue = param.applyValue, item = param.item;\n var value = item.value;\n var _useState = _sliced_to_array(useState(value !== null && value !== void 0 ? value : {\n from: null,\n to: null\n }), 2), _useState_ = _useState[0], fromDate = _useState_.from, toDate = _useState_.to, setDates = _useState[1];\n var handleChange = function(value, context) {\n applyValue(_object_spread_props(_object_spread({}, item), {\n value: value\n }));\n setDates(value);\n };\n return /*#__PURE__*/ _jsxs(LocalizationProvider, {\n dateAdapter: AdapterDateFns,\n adapterLocale: locale !== null && locale !== void 0 ? locale : enGB,\n children: [\n /*#__PURE__*/ _jsx(DatePicker, {\n label: labelFrom,\n onChange: function(from, context) {\n return from && handleChange({\n from: from,\n to: toDate\n }, context);\n },\n value: fromDate && new Date(fromDate),\n slots: {\n openPickerIcon: ArrowDropDownIcon\n },\n slotProps: {\n textField: {\n variant: \"standard\",\n size: \"small\",\n margin: \"none\",\n fullWidth: true\n },\n openPickerButton: {\n size: \"small\",\n disableFocusRipple: true\n },\n inputAdornment: {\n disableTypography: true\n }\n }\n }),\n /*#__PURE__*/ _jsx(DatePicker, {\n label: labelTo,\n value: toDate && new Date(toDate),\n onChange: function(to, context) {\n return to && handleChange({\n from: fromDate,\n to: to\n }, context);\n },\n slots: {\n openPickerIcon: ArrowDropDownIcon\n },\n slotProps: {\n textField: {\n variant: \"standard\",\n size: \"small\",\n margin: \"none\",\n fullWidth: true\n },\n openPickerButton: {\n size: \"small\",\n disableFocusRipple: true\n },\n inputAdornment: {\n disableTypography: true\n }\n }\n })\n ]\n });\n}\nvar verifyDate = function(date) {\n if (!date) return undefined;\n if (_instanceof(date, Date)) return date;\n return new Date(date);\n};\nexport var getCustomGridDateFilterOperator = function(param) {\n var _param_labelTo = param.labelTo, labelTo = _param_labelTo === void 0 ? \"To\" : _param_labelTo, _param_labelFrom = param.labelFrom, labelFrom = _param_labelFrom === void 0 ? \"From\" : _param_labelFrom, locale = param.locale;\n return {\n label: \"Between\",\n value: \"between\",\n getApplyFilterFn: function(filterItem, column) {\n if (!filterItem.field || !filterItem.value || !filterItem.operator) return null;\n var value = filterItem.value;\n var fromDate = verifyDate(value === null || value === void 0 ? void 0 : value.from);\n var toDate = verifyDate(value === null || value === void 0 ? void 0 : value.to);\n if (!fromDate || !toDate) return null;\n var from = fromDate === null || fromDate === void 0 ? void 0 : fromDate.getTime();\n var to = toDate === null || toDate === void 0 ? void 0 : toDate.getTime();\n return function(params) {\n var rowValue = params === null || params === void 0 ? void 0 : params.value;\n if (!rowValue) return false;\n return rowValue >= from && rowValue <= to;\n };\n },\n InputComponent: CustomGridDateFilter,\n InputComponentProps: {\n labelTo: labelTo,\n labelFrom: labelFrom,\n locale: locale\n },\n getValueAsString: function(value) {\n if (Array.isArray(value)) {\n return value.map(function(item) {\n return item.id;\n });\n }\n return value === null || value === void 0 ? void 0 : value.id;\n }\n };\n};\n\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport CircularProgress from \"@mui/material/CircularProgress\";\nimport { Box as MuiBox } from \"@mui/material\";\nimport { Text } from \"../..\";\nimport { csx } from \"../../../utils\";\nexport function ProgressIndicatorDial(param) {\n var percentComplete = param.percentComplete, _param_showMetric = param.showMetric, showMetric = _param_showMetric === void 0 ? true : _param_showMetric, metricLabelOverride = param.metricLabel, metricDescription = param.metricDescription, size = param.size, sx = param.sx, containerSx = param.containerSx;\n var floatingCenteredSx = {\n position: \"absolute\",\n left: 0,\n top: 0,\n bottom: 0,\n right: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n };\n var dialPadding = 1;\n var metricLabel = metricLabelOverride !== null && metricLabelOverride !== void 0 ? metricLabelOverride : \"\".concat(Math.round(percentComplete), \"%\");\n var showMetricLabel = showMetric;\n var showMetricDescription = metricDescription !== undefined && showMetric;\n return /*#__PURE__*/ _jsx(MuiBox, {\n sx: csx([\n {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n containerSx\n ]),\n children: /*#__PURE__*/ _jsxs(MuiBox, {\n display: \"inline-block\",\n position: \"relative\",\n p: {\n md: 1.0,\n lg: 1.5,\n xl: 2.0\n },\n sx: csx([\n {\n width: size ? \"auto\" : \"100%\",\n height: size ? \"\".concat(size, \"em\") : \"auto\",\n aspectRatio: \"1/1\",\n lineHeight: 0\n },\n sx\n ]),\n children: [\n /*#__PURE__*/ _jsx(MuiBox, {\n sx: floatingCenteredSx,\n children: /*#__PURE__*/ _jsx(MuiBox, {\n sx: {\n borderRadius: \"50%\",\n width: \"100%\",\n height: \"100%\"\n }\n })\n }),\n /*#__PURE__*/ _jsx(MuiBox, {\n sx: floatingCenteredSx,\n children: /*#__PURE__*/ _jsx(MuiBox, {\n p: dialPadding,\n sx: {\n width: \"100%\"\n },\n children: /*#__PURE__*/ _jsx(CircularProgress, {\n variant: \"determinate\",\n sx: {\n color: function(theme) {\n return theme.palette.grey[200];\n }\n },\n size: \"100%\",\n thickness: 2,\n value: 100\n })\n })\n }),\n /*#__PURE__*/ _jsx(MuiBox, {\n sx: floatingCenteredSx,\n children: /*#__PURE__*/ _jsx(MuiBox, {\n p: dialPadding,\n sx: {\n width: \"100%\"\n },\n children: /*#__PURE__*/ _jsx(CircularProgress, {\n sx: {\n borderRadius: \"50px\"\n },\n variant: \"determinate\",\n color: \"secondary\",\n size: \"100%\",\n thickness: 2,\n value: percentComplete\n })\n })\n }),\n /*#__PURE__*/ _jsx(MuiBox, {\n sx: floatingCenteredSx,\n children: /*#__PURE__*/ _jsxs(MuiBox, {\n children: [\n showMetricLabel ? /*#__PURE__*/ _jsx(Text, {\n text: metricLabel,\n variant: \"caption\",\n component: \"div\",\n color: \"text.primary\",\n fontSize: {\n xs: 22,\n sm: 24,\n md: 26,\n lg: 28,\n xl: 30\n },\n fontWeight: 600,\n textAlign: \"center\",\n sx: {\n display: \"block\",\n lineHeight: {\n md: 0.8,\n lg: 1.0,\n xl: 1.0\n }\n }\n }) : /*#__PURE__*/ _jsx(_Fragment, {}),\n showMetricDescription ? /*#__PURE__*/ _jsx(Text, {\n text: metricDescription,\n variant: \"caption\",\n component: \"div\",\n color: \"text.secondary\",\n fontSize: {\n md: 12,\n lg: 14,\n xl: 16\n },\n textAlign: \"center\",\n sx: {\n display: \"block\"\n }\n }) : /*#__PURE__*/ _jsx(_Fragment, {})\n ]\n })\n })\n ]\n })\n });\n}\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport KeyboardArrowDownIcon from \"@mui/icons-material/KeyboardArrowDown\";\nimport KeyboardArrowUpIcon from \"@mui/icons-material/KeyboardArrowUp\";\nimport { useTheme } from \"@mui/material\";\nimport { DataGrid } from \"@mui/x-data-grid\";\nimport { AlertBox, Card } from \"../..\";\nexport function Table(_param) {\n var fileName = _param.fileName, description = _param.description, title = _param.title, columns = _param.columns, rows = _param.rows, page = _param.page, pageSize = _param.pageSize, pageSizeOptions = _param.pageSizeOptions, checkboxSelection = _param.checkboxSelection, topBorderColor = _param.topBorderColor, disablePagination = _param.disablePagination, enableColumnFilter = _param.enableColumnFilter, toolbar = _param.toolbar, onRowClick = _param.onRowClick, localeText = _param.localeText, slots = _param.slots, props = _object_without_properties(_param, [\n \"fileName\",\n \"description\",\n \"title\",\n \"columns\",\n \"rows\",\n \"page\",\n \"pageSize\",\n \"pageSizeOptions\",\n \"checkboxSelection\",\n \"topBorderColor\",\n \"disablePagination\",\n \"enableColumnFilter\",\n \"toolbar\",\n \"onRowClick\",\n \"localeText\",\n \"slots\"\n ]);\n var palette = useTheme().palette;\n var customLocaleText = _object_spread({\n columnMenuSortAsc: \"Sort by ascending order\",\n columnMenuSortDesc: \"Sort by descending order\"\n }, localeText);\n return /*#__PURE__*/ _jsx(Card, {\n topBorderColor: topBorderColor,\n title: title,\n subtitles: description ? [\n description\n ] : undefined,\n children: /*#__PURE__*/ _jsx(DataGrid, _object_spread({\n sx: _object_spread({\n borderRadius: 0,\n \"& .MuiDataGrid-columnHeader\": {\n backgroundColor: palette.paper.hover.light,\n \"& .MuiIconButton-root\": {\n color: palette.paper.text.primary\n },\n \"& .MuiIconButton-root:hover\": {\n color: palette.paper.text.secondary,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:focus\": {\n color: palette.paper.highlight.main,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:active\": {\n color: palette.paper.highlight.dark,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:disabled\": {\n color: palette.paper.text.disabled,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n }\n },\n \".MuiDataGrid-row\": {\n \":hover\": {\n cursor: checkboxSelection || onRowClick ? \"pointer\" : undefined\n }\n },\n \"& .MuiIconButton-root\": {\n color: palette.paper.text.primary\n },\n \"& .MuiIconButton-root:hover\": {\n color: palette.paper.text.secondary,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:focus\": {\n color: palette.paper.highlight.main,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:active\": {\n color: palette.paper.highlight.dark,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiIconButton-root:disabled\": {\n color: palette.paper.text.disabled,\n boxShadow: 0,\n backgroundColor: \"transparent\"\n },\n \"& .MuiDataGrid-withBorderColor\": {\n borderRadius: 0\n },\n \"& .MuiDataGrid-cell:focus-within\": {\n outline: \"none\"\n },\n border: \"none\",\n boxShadow: \"none\"\n }, props.sx),\n rows: rows,\n columns: columns,\n initialState: !disablePagination ? {\n pagination: {\n paginationModel: {\n page: page,\n pageSize: pageSize\n }\n }\n } : undefined,\n slots: _object_spread({\n toolbar: toolbar,\n columnSortedAscendingIcon: function() {\n return /*#__PURE__*/ _jsx(KeyboardArrowUpIcon, {});\n },\n columnSortedDescendingIcon: function() {\n return /*#__PURE__*/ _jsx(KeyboardArrowDownIcon, {});\n },\n noRowsOverlay: EmptyState\n }, slots),\n pageSizeOptions: pageSizeOptions,\n checkboxSelection: checkboxSelection,\n hideFooterPagination: disablePagination,\n hideFooter: disablePagination,\n disableColumnFilter: !enableColumnFilter,\n onRowClick: onRowClick,\n localeText: customLocaleText,\n autoHeight: true,\n rowHeight: (rows === null || rows === void 0 ? void 0 : rows.length) === 0 ? 200 : undefined\n }, props))\n });\n}\nvar EmptyState = function() {\n return /*#__PURE__*/ _jsx(AlertBox, {\n title: \"No Data Available\",\n description: \"There is no data to display at the moment. Please try again later.\",\n variant: \"iconWithBackground\",\n iconVariant: \"warning\",\n sx: {\n height: \"400px\"\n }\n });\n};\n\n//# sourceMappingURL=index.js.map","function _define_property(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _object_spread(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === \"function\") {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n _define_property(target, key, source[key]);\n });\n }\n return target;\n}\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) {\n symbols = symbols.filter(function(sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n keys.push.apply(keys, symbols);\n }\n return keys;\n}\nfunction _object_spread_props(target, source) {\n source = source != null ? source : {};\n if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function(key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n}\nfunction _object_without_properties(source, excluded) {\n if (source == null) return {};\n var target = _object_without_properties_loose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _object_without_properties_loose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Tooltip, useTheme } from \"@mui/material\";\nimport { InfoIcon } from \"../../../icons\";\nimport React from \"react\";\nexport function ToolTip(_param) {\n var iconColor = _param.iconColor, transitionTimeMS = _param.transitionTimeMS, placement = _param.placement, children = _param.children, sx = _param.sx, props = _object_without_properties(_param, [\n \"iconColor\",\n \"transitionTimeMS\",\n \"placement\",\n \"children\",\n \"sx\"\n ]);\n var palette = useTheme().palette;\n var backgroundColor = _object_spread({\n backgroundColor: palette.common.black\n }, sx).backgroundColor;\n return /*#__PURE__*/ _jsx(Tooltip, _object_spread_props(_object_spread({}, props), {\n arrow: true,\n placement: placement,\n TransitionProps: {\n timeout: {\n enter: transitionTimeMS !== null && transitionTimeMS !== void 0 ? transitionTimeMS : 700\n }\n },\n componentsProps: {\n arrow: {\n sx: {\n color: backgroundColor\n }\n },\n tooltip: {\n sx: _object_spread({\n border: \"0.5px solid \".concat(backgroundColor),\n borderRadius: \"4px\",\n padding: \"12px\",\n lineHeight: \"175%\",\n fontSize: \"12px\",\n color: palette.common.white,\n maxWidth: \"193px\",\n backgroundColor: backgroundColor\n }, sx)\n }\n },\n children: /*#__PURE__*/ _jsx(\"span\", {\n style: {\n cursor: \"pointer\"\n },\n children: children ? children : /*#__PURE__*/ _jsx(InfoIcon, {\n size: \"small\",\n color: iconColor !== null && iconColor !== void 0 ? iconColor : palette.info.main,\n sx: {\n margin: 0,\n padding: 0,\n verticalAlign: \"middle\"\n }\n })\n })\n }));\n}\n\n//# sourceMappingURL=index.js.map"],"names":["_define_property","obj","key","value","Object","defineProperty","enumerable","configurable","writable","_object_spread","target","i","arguments","length","source","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","forEach","avatarSize","xs","small","medium","large","xl","Avatar","param","_palette_default_border","size","src","_param_hasBorder","hasBorder","_param_sx","sx","_param_dataCy","dataCy","palette","width","height","duration","borderRadius","border","default","primary","minWidth","minHeight","variant","_object_spread_props","getOwnPropertyDescriptors","defineProperties","object","enumerableOnly","symbols","push","apply","iconBoxSize","fontSize","IconBox","_param_variant","providedColor","color","icon","_param_noMargin","noMargin","backgroundColor","main","text","borderColor","hover","light","providedBackgroundColor","transparent","boxWidth","parseInt","replace","display","justifyContent","alignItems","margin","children","AvatarBox","heading","chips","subtitles","_param_orientation","orientation","_param_align","align","avatarSrc","_param_spacing","spacing","textSpacing","avatarSx","useTheme","direction","undefined","subtitlesContainerProps","marginTop","GroupAvatar","_param_size","Groups","secondary","_object_without_properties","excluded","sourceKeys","indexOf","_object_without_properties_loose","sourceSymbolKeys","prototype","propertyIsEnumerable","call","Image","_param","_param_duration","props","CircularAvatarPair","mainAvatar","secondaryAvatar","ml","backdropFilter","background","CheckList","items","title","titleProps","my","map","item","onClick","isCurrent","cursor","hidden","flexDirection","gap","isChecked","info","CheckCircleOutlineSharp","RadioButtonUncheckedOutlined","label","chipSizes","fontWeight","_param_color","bgColor","containedStyles","contrastText","outlinedStyles","dark","grayOutlinedStyles","svg","GridTableRow","providedCells","cells","disabledSx","_param_isDisabled","isDisabled","selectedSx","_param_isSelected","isSelected","appliedSx","csx","px","py","textAlign","isNotUndefined","onClickProps","component","container","content","gridProps","GridTableNavigator","currentPage","pageCount","onNavigate","theme","paper","md","nextPage","Math","max","ChevronLeft","min","ChevronRight","getPinnedRowProps","pinnedRowRefs","indexedRows","startIndex","endIndex","visibleIndex","selectedIndex","placement","remainingProps","pinnedRowRef","find","rowIndex","pinIndex","tmp","pinnedRowPlacement","_pinnedRowRef_hideIfVisible","hideIfVisible","indexedRow","at","pinnedRow","index","_array_like_to_array","arr","len","arr2","Array","_sliced_to_array","isArray","_array_with_holes","_i","Symbol","iterator","_s","_e","_arr","_n","_d","next","done","err","_iterable_to_array_limit","_unsupported_iterable_to_array","TypeError","_non_iterable_rest","_to_consumable_array","_array_without_holes","iter","from","_iterable_to_array","_non_iterable_spread","o","minLen","n","toString","slice","constructor","name","test","GridTable","header","rowDataList","rows","pinnedRows","tmp1","rowProps","genericRowProps","selected","_param_showNavigator","showNavigator","navigatorSx","_param_rowsPerPage","rowsPerPage","genericSx","remainingRowProps","_useState","useState","setCurrentPage","ceil","placeholderRowCount","placeholderRows","visibleAndPinnedRows","flatMap","visibleRowData","pinnedBeforeRowProps","visibleRowProps","getVisibleRowProps","row","KeyStat","divider","_param_underline","underline","thickness","Leaderboard","leaderboardHeader","leaderboardRows","_param_pinSelected","pinSelected","rowSx","rankColumnLabel","profileColumnLabel","contributionsColumnLabel","pt","borderBottom","LeaderboardPosition","position","Link","href","ButtonBase","displayName","textOverflow","overflow","whiteSpace","score","getPinnedRows","ProgressIndicatorDial","percentComplete","_param_showMetric","showMetric","metricLabelOverride","metricLabel","metricDescription","containerSx","floatingCenteredSx","left","top","bottom","right","round","showMetricLabel","showMetricDescription","p","lg","aspectRatio","lineHeight","CircularProgress","grey","sm","iconColor","transitionTimeMS","common","black","Tooltip","arrow","TransitionProps","timeout","enter","componentsProps","tooltip","padding","white","maxWidth","style","verticalAlign"],"sourceRoot":""}