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,CACHN,SAA2B,GAAAiB,EAAAC,GAAA,EAAKI,EAAAxF,CAAA,CAAAyF,QAA2B,EAC3D3I,MAAA4H,EACAR,SAAAU,EAAAc,GAAA,EAAAC,EAAAX,IAC4B,GAAAG,EAAAC,GAAA,EAAKQ,EAAA5F,CAAA,CAAAyF,QAAiC,EAClE3I,MAAAiI,EAAAC,GACAd,SAAAyB,CACA,EAASX,GAET,EACA,GACA,GA4EA,IAAAa,EAAejC","sources":["webpack://_N_E/../../node_modules/@coingecko/cryptoformat/lib/cryptoformat.umd.js","webpack://_N_E/../../node_modules/@mui/material/ButtonGroup/buttonGroupClasses.js","webpack://_N_E/../../node_modules/@mui/material/ButtonGroup/ButtonGroup.js","webpack://_N_E/"],"sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.cryptoformat = {}));\n}(this, function (exports) { 'use strict';\n\n // A map of supported currency codes to currency symbols.\n const supportedCurrencySymbols = {\n BTC: \"₿\",\n ETH: \"Ξ\",\n USD: \"$\",\n CAD: \"C$\",\n GBP: \"£\",\n EUR: \"€\",\n CHF: \"Fr.\",\n SEK: \"kr\",\n JPY: \"¥\",\n CNY: \"¥\",\n INR: \"₹\",\n RUB: \"₽\",\n AUD: \"A$\",\n HKD: \"HK$\",\n SGD: \"S$\",\n TWD: \"NT$\",\n BRL: \"R$\",\n KRW: \"₩\",\n ZAR: \"R\",\n MYR: \"RM\",\n IDR: \"Rp\",\n NZD: \"NZ$\",\n MXN: \"MX$\",\n PHP: \"₱\",\n DKK: \"kr.\",\n PLN: \"zł\",\n AED: \"DH\",\n ARS: \"$\",\n CLP: \"CLP\",\n CZK: \"Kč\",\n HUF: \"Ft\",\n ILS: \"₪\",\n KWD: \"KD\",\n LKR: \"Rs\",\n NOK: \"kr\",\n PKR: \"₨\",\n SAR: \"SR\",\n THB: \"฿\",\n TRY: \"₺\",\n XAU: \"XAU\",\n XAG: \"XAG\",\n XDR: \"XDR\",\n };\n\n // A map of override objects to apply.\n // Format:\n // { location: { start: Boolean, end: Boolean }, forLocales: { : Boolean } }\n const symbolOverrides = {\n MYR: { location: { start: true }, forLocales: { en: true } },\n SGD: { location: { start: true }, forLocales: { en: true } },\n PHP: { location: { start: true }, forLocales: { en: true } },\n BTC: { location: { start: true }, forLocales: { en: true } },\n ETH: { location: { start: true }, forLocales: { en: true } },\n };\n\n // Feature detection for Intl.NumberFormat\n function IntlNumberFormatSupported() {\n return !!(\n typeof Intl == \"object\" &&\n Intl &&\n typeof Intl.NumberFormat == \"function\"\n );\n }\n\n function isBTCETH(isoCode) {\n return isoCode === \"BTC\" || isoCode === \"ETH\";\n }\n\n function isCrypto(isoCode) {\n return isBTCETH(isoCode) || supportedCurrencySymbols[isoCode] == null;\n }\n\n // Function to transform decimal trailing zeroes to exponent\n function decimalTrailingZeroesToExponent(formattedCurrency, maximumDecimalTrailingZeroes) {\n const decimalTrailingZeroesPattern = new RegExp(`(\\\\.|,)(0{${maximumDecimalTrailingZeroes + 1},})(?=[1-9]?)`);\n\n return formattedCurrency.replace(\n decimalTrailingZeroesPattern,\n (_match, separator, decimalTrailingZeroes) => `${separator}0${decimalTrailingZeroes.length}`,\n )\n }\n\n // Function to transform the output from Intl.NumberFormat#format\n function formatCurrencyOverride(formattedCurrency, locale = \"en\", maximumDecimalTrailingZeroes) {\n if (typeof maximumDecimalTrailingZeroes !== \"undefined\") {\n formattedCurrency = decimalTrailingZeroesToExponent(formattedCurrency, maximumDecimalTrailingZeroes);\n }\n\n // If currency code remains in front\n const currencyCodeFrontMatch = formattedCurrency.match(/^[A-Z]{3}\\s?/);\n if (currencyCodeFrontMatch != null) {\n const code = currencyCodeFrontMatch[0].trim(); // trim possible trailing space\n\n // Replace currency code with symbol if whitelisted.\n const overrideObj = symbolOverrides[code];\n if (\n overrideObj &&\n overrideObj.location.start &&\n overrideObj.forLocales[locale]\n ) {\n return formattedCurrency.replace(\n currencyCodeFrontMatch[0],\n supportedCurrencySymbols[code]\n );\n } else {\n return formattedCurrency;\n }\n }\n\n // If currency code is at the back\n const currencyCodeBackMatch = formattedCurrency.match(/[A-Z]{3}$/);\n if (currencyCodeBackMatch != null) {\n const code = currencyCodeBackMatch[0];\n\n // Replace currency code with symbol if whitelisted.\n const overrideObj = symbolOverrides[code];\n if (\n overrideObj &&\n overrideObj.location.end &&\n overrideObj.forLocales[locale]\n ) {\n return formattedCurrency.replace(code, supportedCurrencySymbols[code]);\n } else {\n return formattedCurrency;\n }\n }\n\n return formattedCurrency;\n }\n\n // Generates a formatter from Intl.NumberFormat\n function generateIntlNumberFormatter(isoCode, locale, numDecimals, numSigFig) {\n try {\n const params = {\n style: \"currency\",\n currency: isoCode,\n currencyDisplay: \"symbol\",\n };\n if (numDecimals !== undefined) {\n params.minimumFractionDigits = numDecimals;\n params.maximumFractionDigits = numDecimals;\n } else if (numSigFig !== undefined) {\n params.maximumSignificantDigits = numSigFig;\n }\n return new Intl.NumberFormat(locale, params);\n } catch (e) {\n // Unsupported currency, etc.\n // Use primitive fallback\n return generateFallbackFormatter(isoCode, locale, numDecimals);\n }\n }\n\n // Generates a primitive fallback formatter with no symbol support.\n function generateFallbackFormatter(isoCode, locale, numDecimals = 2) {\n isoCode = isoCode.toUpperCase();\n\n if (numDecimals > 2) {\n return {\n format: (value) => {\n return isCrypto(isoCode)\n ? `${value.toFixed(numDecimals)} ${isoCode}`\n : `${isoCode} ${value.toFixed(numDecimals)}`;\n },\n };\n } else {\n return {\n format: (value) => {\n return isCrypto(isoCode)\n ? `${value.toLocaleString(locale)} ${isoCode}`\n : `${isoCode} ${value.toLocaleString(locale)}`;\n },\n };\n }\n }\n\n function generateAbbreviatedFormatter(isoCode, locale) {\n // Show regular numbers if no Intl.NumberFormat support.\n if (!IntlNumberFormatSupported()) {\n return generateFallbackFormatter(isoCode, locale, 0);\n }\n\n let numberFormatOptions = { style: \"decimal\", notation: \"compact\", minimumFractionDigits: 0, maximumFractionDigits: 3 };\n\n // Currency symbol is supported if currency is Fiat/BTC/ETH.\n if (!isCrypto(isoCode) || isBTCETH(isoCode)) {\n numberFormatOptions.style = \"currency\";\n numberFormatOptions.currency = isoCode;\n }\n\n return new Intl.NumberFormat(locale, numberFormatOptions);\n }\n\n function generateFormatter(isoCode, locale, numDecimals, numSigFig) {\n const isNumberFormatSupported = IntlNumberFormatSupported();\n\n const useIntlNumberFormatter =\n isNumberFormatSupported && (!isCrypto(isoCode) || isBTCETH(isoCode));\n return useIntlNumberFormatter\n ? generateIntlNumberFormatter(isoCode, locale, numDecimals, numSigFig)\n : generateFallbackFormatter(isoCode, locale, numDecimals);\n }\n\n // State variables\n let currentISOCode;\n let currentLocale;\n let currencyFormatterNormal;\n let currencyFormatterNoDecimal;\n let currencyFormatterMedium;\n let currencyFormatterTwoDecimal;\n let currencyFormatterSmall;\n let currencyFormatterVerySmall;\n let currencyFormatterVeryVerySmall;\n let currencyFormatter15DP;\n let currencyFormatter18DP;\n let currencyFormatterAbbreviated;\n\n // If a page has to display multiple currencies, formatters would have to be created for each of them\n // To save some effort, we save formatters for reuse\n let formattersCache = {};\n\n function clearCache() {\n formattersCache = {};\n }\n\n function initializeFormatters(isoCode, locale) {\n const cacheKey = `${isoCode}-${locale}`;\n const cachedFormatter = formattersCache[cacheKey];\n\n currencyFormatterNormal = cachedFormatter\n ? cachedFormatter.currencyFormatterNormal\n : generateFormatter(isoCode, locale);\n currencyFormatterNoDecimal = cachedFormatter\n ? cachedFormatter.currencyFormatterNoDecimal\n : generateFormatter(isoCode, locale, 0);\n currencyFormatterMedium = cachedFormatter\n ? cachedFormatter.currencyFormatterMedium\n : generateFormatter(isoCode, locale, 3);\n currencyFormatterTwoDecimal = cachedFormatter\n ? cachedFormatter.currencyFormatterTwoDecimal\n : generateFormatter(isoCode, locale, 2);\n currencyFormatterSmall = cachedFormatter\n ? cachedFormatter.currencyFormatterSmall\n : generateFormatter(isoCode, locale, 6);\n currencyFormatterVerySmall = cachedFormatter\n ? cachedFormatter.currencyFormatterVerySmall\n : generateFormatter(isoCode, locale, 8);\n currencyFormatterVeryVerySmall = cachedFormatter\n ? cachedFormatter.currencyFormatterVeryVerySmall\n : generateFormatter(isoCode, locale, 12);\n currencyFormatter15DP = cachedFormatter\n ? cachedFormatter.currencyFormatter15DP\n : generateFormatter(isoCode, locale, 15);\n currencyFormatter18DP = cachedFormatter\n ? cachedFormatter.currencyFormatter18DP\n : generateFormatter(isoCode, locale, 18);\n currencyFormatterAbbreviated = cachedFormatter\n ? cachedFormatter.currencyFormatterAbbreviated\n : generateAbbreviatedFormatter(isoCode, locale);\n\n // Save in cache\n if (cachedFormatter == null) {\n formattersCache[cacheKey] = {};\n formattersCache[cacheKey].currencyFormatterNormal = currencyFormatterNormal;\n formattersCache[cacheKey].currencyFormatterNoDecimal = currencyFormatterNoDecimal;\n formattersCache[cacheKey].currencyFormatterMedium = currencyFormatterMedium;\n formattersCache[cacheKey].currencyFormatterTwoDecimal = currencyFormatterTwoDecimal;\n formattersCache[cacheKey].currencyFormatterSmall = currencyFormatterSmall;\n formattersCache[cacheKey].currencyFormatterVerySmall = currencyFormatterVerySmall;\n formattersCache[cacheKey].currencyFormatterVeryVerySmall = currencyFormatterVeryVerySmall;\n formattersCache[cacheKey].currencyFormatter15DP = currencyFormatter15DP;\n formattersCache[cacheKey].currencyFormatter18DP = currencyFormatter18DP;\n formattersCache[cacheKey].currencyFormatterAbbreviated = currencyFormatterAbbreviated;\n }\n }\n\n // Moderate crypto amount threshold\n const MEDIUM_CRYPTO_THRESHOLD = 50;\n // Large crypto amount threshold\n const LARGE_CRYPTO_THRESHOLD = 1000;\n // No decimal threshold for large amounts\n const NO_DECIMAL_THRESHOLD = 100000;\n\n function formatCurrency(\n amount,\n isoCode,\n locale = \"en\",\n raw = false,\n noDecimal = false,\n abbreviated = false,\n ) {\n isoCode = isoCode.toUpperCase();\n let maximumDecimalTrailingZeroes = undefined;\n\n if (currentISOCode !== isoCode || currentLocale != locale) {\n currentISOCode = isoCode;\n currentLocale = locale;\n\n // Formatters are tied to currency code, we try to initialize as infrequently as possible.\n initializeFormatters(isoCode, locale);\n }\n\n if (abbreviated) {\n let formattedAbbreviatedCurrency = currencyFormatterAbbreviated.format(amount);\n\n // Manually add currency code to the back for non-BTC/ETH crypto currencies.\n if (isCrypto(isoCode) && !isBTCETH(isoCode)) {\n formattedAbbreviatedCurrency = `${formattedAbbreviatedCurrency} ${isoCode}`;\n }\n\n return formatCurrencyOverride(formattedAbbreviatedCurrency, locale);\n }\n\n if (noDecimal === true && amount > 100.0) {\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else if (typeof noDecimal === \"object\" && noDecimal !== null) {\n if (raw) {\n // Limit to max n decimal places if applicable\n let raw_amount = noDecimal.hasOwnProperty(\"decimalPlaces\")\n ? amount.toFixed(noDecimal.decimalPlaces)\n : amount;\n // Round off to number of significant figures without trailing 0's\n return `${parseFloat(raw_amount).toPrecision(noDecimal.significantFigures) / 1}`;\n }\n\n if (noDecimal.hasOwnProperty(\"maximumDecimalTrailingZeroes\")) {\n maximumDecimalTrailingZeroes = noDecimal.maximumDecimalTrailingZeroes;\n }\n\n if (noDecimal.hasOwnProperty(\"decimalPlaces\") && noDecimal.hasOwnProperty(\"significantFigures\")) {\n // Show specified number of significant digits with cutoff of specified fraction digits\n const currencyFormatterCustom = generateFormatter(\n isoCode,\n locale,\n undefined,\n noDecimal.significantFigures\n );\n\n return formatCurrencyOverride(\n currencyFormatterCustom.format(\n Number.parseFloat(amount.toFixed(noDecimal.decimalPlaces))\n ),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (noDecimal.hasOwnProperty(\"decimalPlaces\") || noDecimal.hasOwnProperty(\"significantFigures\")) {\n const currencyFormatterCustom = generateFormatter(\n isoCode,\n locale,\n noDecimal.decimalPlaces,\n noDecimal.significantFigures\n );\n\n return formatCurrencyOverride(\n currencyFormatterCustom.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n }\n }\n\n if (isCrypto(isoCode)) {\n let price = parseFloat(amount);\n\n if (raw) {\n if (amount === 0.0) {\n return price.toFixed(2);\n }\n return price.toPrecision(8);\n }\n\n if (amount === 0.0) {\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= LARGE_CRYPTO_THRESHOLD) {\n // Large crypto amount, show no decimal value\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else if (\n price >= MEDIUM_CRYPTO_THRESHOLD &&\n price < LARGE_CRYPTO_THRESHOLD\n ) {\n // Medium crypto amount, show 3 fraction digits\n return formatCurrencyOverride(\n currencyFormatterMedium.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 1.0 && price < MEDIUM_CRYPTO_THRESHOLD) {\n // crypto amount, show 6 fraction digits\n return formatCurrencyOverride(\n currencyFormatterSmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 0.000001 && price < 1.0) {\n // crypto amount, show 8 fraction digits\n return formatCurrencyOverride(\n currencyFormatterVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 10**-9 && price < 10**-6) {\n return formatCurrencyOverride(\n currencyFormatterVeryVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price >= 10**-12 && price < 10**-9) {\n return formatCurrencyOverride(\n currencyFormatter15DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (price < 10**-12) {\n return formatCurrencyOverride(\n currencyFormatter18DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n }\n } else {\n const unsigned_amount = Math.abs(amount);\n if (raw) {\n if (unsigned_amount < 10**-12) {\n return amount.toFixed(18);\n } else if (unsigned_amount < 10**-9) {\n return amount.toFixed(15);\n } else if (unsigned_amount < 10**-6) {\n return amount.toFixed(12);\n } else if (unsigned_amount < 10**-3) {\n return amount.toFixed(8);\n } else if (unsigned_amount < 1.0) {\n return amount.toFixed(6);\n } else {\n return amount.toFixed(2);\n }\n }\n\n if (unsigned_amount === 0.0) {\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-12) {\n return formatCurrencyOverride(\n currencyFormatter18DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-9) {\n return formatCurrencyOverride(\n currencyFormatter15DP.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 10**-6) {\n return formatCurrencyOverride(\n currencyFormatterVeryVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 0.05) {\n return formatCurrencyOverride(\n currencyFormatterVerySmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount < 1.0) {\n return formatCurrencyOverride(\n currencyFormatterSmall.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (isoCode === \"JPY\" && unsigned_amount < 100) {\n return formatCurrencyOverride(\n currencyFormatterTwoDecimal.format(amount),\n locale,\n maximumDecimalTrailingZeroes\n );\n } else if (unsigned_amount > NO_DECIMAL_THRESHOLD) {\n return formatCurrencyOverride(\n currencyFormatterNoDecimal.format(amount),\n locale\n );\n } else {\n // Let the formatter do what it seems best. In particular, we should not set any fraction amount for Japanese Yen\n return formatCurrencyOverride(\n currencyFormatterNormal.format(amount),\n locale\n );\n }\n }\n }\n\n exports.clearCache = clearCache;\n exports.formatCurrency = formatCurrency;\n exports.isCrypto = isCrypto;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonGroupUtilityClass(slot) {\n return generateUtilityClass('MuiButtonGroup', slot);\n}\nconst buttonGroupClasses = generateUtilityClasses('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'firstButton', 'fullWidth', 'vertical', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary', 'lastButton', 'middleButton']);\nexport default buttonGroupClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"color\", \"component\", \"disabled\", \"disableElevation\", \"disableFocusRipple\", \"disableRipple\", \"fullWidth\", \"orientation\", \"size\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport getValidReactChildren from '@mui/utils/getValidReactChildren';\nimport capitalize from '../utils/capitalize';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport buttonGroupClasses, { getButtonGroupUtilityClass } from './buttonGroupClasses';\nimport ButtonGroupContext from './ButtonGroupContext';\nimport ButtonGroupButtonContext from './ButtonGroupButtonContext';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${buttonGroupClasses.grouped}`]: styles.grouped\n }, {\n [`& .${buttonGroupClasses.grouped}`]: styles[`grouped${capitalize(ownerState.orientation)}`]\n }, {\n [`& .${buttonGroupClasses.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}`]\n }, {\n [`& .${buttonGroupClasses.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.orientation)}`]\n }, {\n [`& .${buttonGroupClasses.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]\n }, {\n [`& .${buttonGroupClasses.firstButton}`]: styles.firstButton\n }, {\n [`& .${buttonGroupClasses.lastButton}`]: styles.lastButton\n }, {\n [`& .${buttonGroupClasses.middleButton}`]: styles.middleButton\n }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n color,\n disabled,\n disableElevation,\n fullWidth,\n orientation,\n variant\n } = ownerState;\n const slots = {\n root: ['root', variant, orientation === 'vertical' && 'vertical', fullWidth && 'fullWidth', disableElevation && 'disableElevation'],\n grouped: ['grouped', `grouped${capitalize(orientation)}`, `grouped${capitalize(variant)}`, `grouped${capitalize(variant)}${capitalize(orientation)}`, `grouped${capitalize(variant)}${capitalize(color)}`, disabled && 'disabled'],\n firstButton: ['firstButton'],\n lastButton: ['lastButton'],\n middleButton: ['middleButton']\n };\n return composeClasses(slots, getButtonGroupUtilityClass, classes);\n};\nconst ButtonGroupRoot = styled('div', {\n name: 'MuiButtonGroup',\n slot: 'Root',\n overridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'inline-flex',\n borderRadius: (theme.vars || theme).shape.borderRadius\n}, ownerState.variant === 'contained' && {\n boxShadow: (theme.vars || theme).shadows[2]\n}, ownerState.disableElevation && {\n boxShadow: 'none'\n}, ownerState.fullWidth && {\n width: '100%'\n}, ownerState.orientation === 'vertical' && {\n flexDirection: 'column'\n}, {\n [`& .${buttonGroupClasses.grouped}`]: _extends({\n minWidth: 40,\n '&:hover': _extends({}, ownerState.variant === 'contained' && {\n boxShadow: 'none'\n })\n }, ownerState.variant === 'contained' && {\n boxShadow: 'none'\n }),\n [`& .${buttonGroupClasses.firstButton},& .${buttonGroupClasses.middleButton}`]: _extends({}, ownerState.orientation === 'horizontal' && {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0\n }, ownerState.orientation === 'vertical' && {\n borderBottomRightRadius: 0,\n borderBottomLeftRadius: 0\n }, ownerState.variant === 'text' && ownerState.orientation === 'horizontal' && {\n borderRight: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,\n [`&.${buttonGroupClasses.disabled}`]: {\n borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`\n }\n }, ownerState.variant === 'text' && ownerState.orientation === 'vertical' && {\n borderBottom: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,\n [`&.${buttonGroupClasses.disabled}`]: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`\n }\n }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {\n borderColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)\n }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {\n borderRightColor: 'transparent'\n }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {\n borderBottomColor: 'transparent'\n }, ownerState.variant === 'contained' && ownerState.orientation === 'horizontal' && {\n borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,\n [`&.${buttonGroupClasses.disabled}`]: {\n borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`\n }\n }, ownerState.variant === 'contained' && ownerState.orientation === 'vertical' && {\n borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,\n [`&.${buttonGroupClasses.disabled}`]: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`\n }\n }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {\n borderColor: (theme.vars || theme).palette[ownerState.color].dark\n }, {\n '&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {\n borderRightColor: 'currentColor'\n }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {\n borderBottomColor: 'currentColor'\n })\n }),\n [`& .${buttonGroupClasses.lastButton},& .${buttonGroupClasses.middleButton}`]: _extends({}, ownerState.orientation === 'horizontal' && {\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0\n }, ownerState.orientation === 'vertical' && {\n borderTopRightRadius: 0,\n borderTopLeftRadius: 0\n }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {\n marginLeft: -1\n }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {\n marginTop: -1\n })\n}));\nconst ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiButtonGroup'\n });\n const {\n children,\n className,\n color = 'primary',\n component = 'div',\n disabled = false,\n disableElevation = false,\n disableFocusRipple = false,\n disableRipple = false,\n fullWidth = false,\n orientation = 'horizontal',\n size = 'medium',\n variant = 'outlined'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n component,\n disabled,\n disableElevation,\n disableFocusRipple,\n disableRipple,\n fullWidth,\n orientation,\n size,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const context = React.useMemo(() => ({\n className: classes.grouped,\n color,\n disabled,\n disableElevation,\n disableFocusRipple,\n disableRipple,\n fullWidth,\n size,\n variant\n }), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);\n const validChildren = getValidReactChildren(children);\n const childrenCount = validChildren.length;\n const getButtonPositionClassName = index => {\n const isFirstButton = index === 0;\n const isLastButton = index === childrenCount - 1;\n if (isFirstButton && isLastButton) {\n return '';\n }\n if (isFirstButton) {\n return classes.firstButton;\n }\n if (isLastButton) {\n return classes.lastButton;\n }\n return classes.middleButton;\n };\n return /*#__PURE__*/_jsx(ButtonGroupRoot, _extends({\n as: component,\n role: \"group\",\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState\n }, other, {\n children: /*#__PURE__*/_jsx(ButtonGroupContext.Provider, {\n value: context,\n children: validChildren.map((child, index) => {\n return /*#__PURE__*/_jsx(ButtonGroupButtonContext.Provider, {\n value: getButtonPositionClassName(index),\n children: child\n }, index);\n })\n })\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? ButtonGroup.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 * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\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 * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, no elevation is used.\n * @default false\n */\n disableElevation: PropTypes.bool,\n /**\n * If `true`, the button keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the button ripple effect is disabled.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If `true`, the buttons will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The component orientation (layout flow direction).\n * @default 'horizontal'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n /**\n * The system prop that 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 * The variant to use.\n * @default 'outlined'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default ButtonGroup;"],"names":["factory","exports","currentISOCode","currentLocale","currencyFormatterNormal","currencyFormatterNoDecimal","currencyFormatterMedium","currencyFormatterTwoDecimal","currencyFormatterSmall","currencyFormatterVerySmall","currencyFormatterVeryVerySmall","currencyFormatter15DP","currencyFormatter18DP","currencyFormatterAbbreviated","supportedCurrencySymbols","BTC","ETH","USD","CAD","GBP","EUR","CHF","SEK","JPY","CNY","INR","RUB","AUD","HKD","SGD","TWD","BRL","KRW","ZAR","MYR","IDR","NZD","MXN","PHP","DKK","PLN","AED","ARS","CLP","CZK","HUF","ILS","KWD","LKR","NOK","PKR","SAR","THB","TRY","XAU","XAG","XDR","symbolOverrides","location","start","forLocales","en","IntlNumberFormatSupported","Intl","NumberFormat","isBTCETH","isoCode","isCrypto","formatCurrencyOverride","formattedCurrency","locale","maximumDecimalTrailingZeroes","decimalTrailingZeroesToExponent","decimalTrailingZeroesPattern","replace","_match","separator","decimalTrailingZeroes","length","currencyCodeFrontMatch","match","code","trim","overrideObj","currencyCodeBackMatch","end","generateFallbackFormatter","numDecimals","toUpperCase","format","value","toFixed","toLocaleString","generateFormatter","numSigFig","isNumberFormatSupported","useIntlNumberFormatter","generateIntlNumberFormatter","params","style","currency","currencyDisplay","undefined","minimumFractionDigits","maximumFractionDigits","maximumSignificantDigits","e","formattersCache","clearCache","formatCurrency","amount","raw","noDecimal","abbreviated","initializeFormatters","cacheKey","cachedFormatter","generateAbbreviatedFormatter","numberFormatOptions","notation","formattedAbbreviatedCurrency","parseFloat","hasOwnProperty","decimalPlaces","toPrecision","significantFigures","currencyFormatterCustom","Number","price","unsigned_amount","Math","abs","Object","defineProperty","getButtonGroupUtilityClass","slot","generateUtilityClass","ZP","buttonGroupClasses","generateUtilityClasses","Z","_excluded","overridesResolver","props","styles","ownerState","ButtonGroup_buttonGroupClasses","grouped","capitalize","orientation","variant","color","firstButton","lastButton","middleButton","root","disableElevation","fullWidth","vertical","useUtilityClasses","classes","disabled","slots","composeClasses","ButtonGroupRoot","styled","name","theme","esm_extends","display","borderRadius","vars","shape","boxShadow","shadows","width","flexDirection","minWidth","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","borderRight","palette","common","onBackgroundChannel","mode","action","borderBottom","borderColor","mainChannel","colorManipulator","Fq","main","borderRightColor","borderBottomColor","grey","dark","borderTopLeftRadius","marginLeft","marginTop","ButtonGroup","react","forwardRef","inProps","ref","useThemeProps","children","className","component","disableFocusRipple","disableRipple","size","other","objectWithoutPropertiesLoose","context","useMemo","validChildren","getValidReactChildren","childrenCount","getButtonPositionClassName","index","isFirstButton","isLastButton","jsx_runtime","jsx","as","role","clsx","ButtonGroupContext","Provider","map","child","ButtonGroupButtonContext","ButtonGroup_ButtonGroup"],"sourceRoot":""}