@ssa-ui-kit/widgets 0.0.1-alpha → 0.0.3-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc.js +4 -4
- package/.env +7 -7
- package/.storybook/main.ts +42 -42
- package/.storybook/preview.tsx +21 -21
- package/.storybook/style.css +31 -31
- package/custom-shots/widgets-bots-table--no-control-orders--menu-opened_[w1920px].png +0 -0
- package/custom-shots/widgets-bots-table--no-control-orders--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px].png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px]_statistics_submenu_popover.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_side_menu_expanded.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_expanded.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_popover.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_default.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_menu_opened.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu.png +0 -0
- package/custom-shots/widgets-filters--default__[w1920px].png +0 -0
- package/custom-shots/widgets-filters--more-button__[w900px].png +0 -0
- package/custom-shots/widgets-heart-rate--hint-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-heart-rate--hint-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-heart-rate--hint-opened__[w390px].png +0 -0
- package/custom-shots/widgets-heart-rate--hint-opened__[w900px].png +0 -0
- package/custom-shots/widgets-linkstabbar--current-focus__[w1920px].png +0 -0
- package/custom-shots/widgets-linkstabbar--non-current-focus__[w1920px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w390px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w900px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w1440px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w1920px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w390px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w900px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w390px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w900px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w390px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w900px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w390px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w900px].png +0 -0
- package/custom-shots/widgets-pagination--next-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--not-selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--previous-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w1440px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w390px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w900px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w1440px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w390px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w900px].png +0 -0
- package/custom-shots/widgets-searchbox--cross-icon__[w1920px].png +0 -0
- package/custom-shots/widgets-searchbox--cross-icon__[w900px].png +0 -0
- package/custom-shots/widgets-searchbox--search-icon__[w1920px].png +0 -0
- package/custom-shots/widgets-searchbox--search-icon__[w900px].png +0 -0
- package/custom-shots/widgets-table-bots--default_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--menu-opened_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--no-control-orders--menu-opened_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--no-control-orders--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-table-filters--opened__[w1920px].png +0 -0
- package/custom-shots/widgets-trading-info-card--hover__[w1920px].png +0 -0
- package/custom-shots/widgets-user-profile--is-opened__[w1920px].png +0 -0
- package/customTest.tsx +35 -35
- package/dist/components/CollapsibleNavBar/CollapsibleNavBar.d.ts +6 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +8 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +8 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +9 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +8 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +8 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavContentToggle.d.ts +3 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggle.d.ts +2 -0
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +8 -0
- package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +16 -0
- package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +5 -0
- package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +6 -0
- package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +6 -0
- package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +6 -0
- package/dist/components/CollapsibleNavBar/index.d.ts +2 -0
- package/dist/components/CollapsibleNavBar/stories/Logo.d.ts +1 -0
- package/dist/components/CollapsibleNavBar/stories/StoryComponent.d.ts +2 -0
- package/dist/components/CollapsibleNavBar/stories/consts.d.ts +2 -0
- package/dist/components/CollapsibleNavBar/stories/styles.d.ts +2 -0
- package/dist/components/CollapsibleNavBar/styles.d.ts +10 -0
- package/dist/components/CollapsibleNavBar/types.d.ts +12 -0
- package/dist/components/Filters/Filters.d.ts +14 -1
- package/dist/components/Filters/FiltersWrapper.d.ts +2 -0
- package/dist/components/NavBar/types.d.ts +17 -0
- package/dist/components/TableFilters/TableFilters.d.ts +1 -1
- package/dist/components/TableFilters/TableFiltersAccordion.d.ts +1 -1
- package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +2 -2
- package/dist/components/TableFilters/hooks/useTableData.d.ts +2 -1
- package/dist/components/TableFilters/types.d.ts +1 -0
- package/dist/components/UserProfile/UserProfile.d.ts +1 -1
- package/dist/components/UserProfile/types.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/jest-setup.ts +17 -17
- package/lostpixel.config.ts +29 -29
- package/package.json +4 -4
- package/playwright.config.ts +7 -7
- package/src/components/AccountBalance/AccountBalance.spec.tsx +82 -82
- package/src/components/AccountBalance/AccountBalance.stories.tsx +35 -35
- package/src/components/AccountBalance/AccountBalance.tsx +63 -63
- package/src/components/AccountBalance/BalancePieChart.tsx +77 -77
- package/src/components/AccountBalance/BalancePieChartTitle.tsx +42 -42
- package/src/components/AccountBalance/WithLink.tsx +26 -26
- package/src/components/AccountBalance/index.ts +5 -5
- package/src/components/AccountBalance/stories/fixtures.ts +26 -26
- package/src/components/AccountBalance/types.ts +31 -31
- package/src/components/Activity/Activity.spec.tsx +79 -79
- package/src/components/Activity/Activity.stories.tsx +15 -15
- package/src/components/Activity/Activity.tsx +83 -83
- package/src/components/Activity/ActivityItem.tsx +38 -38
- package/src/components/Activity/index.tsx +2 -2
- package/src/components/Activity/mockActivityRequest.ts +106 -106
- package/src/components/Activity/styles.ts +12 -12
- package/src/components/Activity/types.ts +10 -10
- package/src/components/AddNewAccountCard/AddNewAccountCard.spec.tsx +39 -39
- package/src/components/AddNewAccountCard/AddNewAccountCard.stories.tsx +48 -48
- package/src/components/AddNewAccountCard/AddNewAccountCard.tsx +22 -22
- package/src/components/AddNewAccountCard/index.ts +2 -2
- package/src/components/AddNewAccountCard/styles.ts +29 -29
- package/src/components/AddNewAccountCard/types.ts +7 -7
- package/src/components/Bmi/Bmi.spec.tsx +68 -68
- package/src/components/Bmi/Bmi.stories.tsx +10 -10
- package/src/components/Bmi/Bmi.tsx +96 -96
- package/src/components/Bmi/BmiHeatbar.tsx +18 -18
- package/src/components/Bmi/BmiInfo.tsx +11 -11
- package/src/components/Bmi/BmiLabel.tsx +9 -9
- package/src/components/Bmi/BmiLabels.tsx +33 -33
- package/src/components/Bmi/BmiPointer.tsx +15 -15
- package/src/components/Bmi/index.tsx +2 -2
- package/src/components/Bmi/styles.ts +18 -18
- package/src/components/Bmi/types.ts +4 -4
- package/src/components/BotsTable/BotsTable.e2e.ts +77 -77
- package/src/components/BotsTable/BotsTable.spec.tsx +125 -125
- package/src/components/BotsTable/BotsTable.tsx +32 -32
- package/src/components/BotsTable/BotsTableCell.tsx +10 -10
- package/src/components/BotsTable/BotsTableHead.tsx +9 -9
- package/src/components/BotsTable/BotsTableRow.tsx +17 -17
- package/src/components/BotsTable/BotsTableWrapper.tsx +23 -23
- package/src/components/BotsTable/index.ts +5 -5
- package/src/components/BotsTable/stories/BotsTable/StoryComponent.tsx +59 -59
- package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionIcon.tsx +11 -11
- package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionItem.tsx +40 -40
- package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionMore.tsx +89 -89
- package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionRun.tsx +133 -133
- package/src/components/BotsTable/stories/BotsTable/components/Actions/Actions.tsx +13 -13
- package/src/components/BotsTable/stories/BotsTable/components/Actions/ActionsWrapper.tsx +21 -21
- package/src/components/BotsTable/stories/BotsTable/components/Actions/consts.tsx +118 -118
- package/src/components/BotsTable/stories/BotsTable/components/Actions/index.ts +6 -6
- package/src/components/BotsTable/stories/BotsTable/components/Exchange/Exchange.tsx +26 -26
- package/src/components/BotsTable/stories/BotsTable/components/Exchange/consts.tsx +157 -157
- package/src/components/BotsTable/stories/BotsTable/components/Exchange/index.ts +1 -1
- package/src/components/BotsTable/stories/BotsTable/components/Exchange/types.ts +6 -6
- package/src/components/BotsTable/stories/BotsTable/components/PNL.tsx +27 -27
- package/src/components/BotsTable/stories/BotsTable/components/ROI.tsx +25 -25
- package/src/components/BotsTable/stories/BotsTable/components/TableTag.tsx +22 -22
- package/src/components/BotsTable/stories/BotsTable/components/Trade/Trade.tsx +8 -8
- package/src/components/BotsTable/stories/BotsTable/components/Trade/consts.ts +14 -14
- package/src/components/BotsTable/stories/BotsTable/components/Trade/index.ts +1 -1
- package/src/components/BotsTable/stories/BotsTable/components/Trade/types.ts +5 -5
- package/src/components/BotsTable/stories/BotsTable/components/index.ts +6 -6
- package/src/components/BotsTable/stories/BotsTable/index.ts +1 -1
- package/src/components/BotsTable/stories/BotsTable/mockData.ts +84 -84
- package/src/components/BotsTable/stories/BotsTable.stories.tsx +39 -39
- package/src/components/BotsTable/stories/NoControlOrders/StoryComponent.tsx +35 -35
- package/src/components/BotsTable/stories/NoControlOrders/components/ActionMore.tsx +95 -95
- package/src/components/BotsTable/stories/NoControlOrders/components/Reason.tsx +11 -11
- package/src/components/BotsTable/stories/NoControlOrders/components/TableList.tsx +45 -45
- package/src/components/BotsTable/stories/NoControlOrders/components/TableRow.tsx +31 -31
- package/src/components/BotsTable/stories/NoControlOrders/components/index.ts +4 -4
- package/src/components/BotsTable/stories/NoControlOrders/mockData.ts +23 -23
- package/src/components/BotsTable/stories/NoControlOrders/types.ts +16 -16
- package/src/components/BotsTable/types.ts +31 -31
- package/src/components/Calories/Calories.spec.tsx +11 -11
- package/src/components/Calories/Calories.stories.tsx +26 -26
- package/src/components/Calories/Calories.tsx +54 -54
- package/src/components/Calories/index.tsx +2 -2
- package/src/components/Calories/innerContent.tsx +30 -30
- package/src/components/Calories/types.ts +4 -4
- package/src/components/CardList/CardList.spec.tsx +32 -32
- package/src/components/CardList/CardList.stories.tsx +37 -37
- package/src/components/CardList/CardList.tsx +37 -37
- package/src/components/CardList/index.ts +2 -2
- package/src/components/CardList/types.ts +10 -10
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.e2e.ts +115 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.spec.tsx +54 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.tsx +55 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBarBase.ts +122 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBarItem.ts +28 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBarLink.ts +34 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBarList.ts +18 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavBarWrapper.ts +23 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavContentToggle.tsx +24 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavToggle.tsx +52 -0
- package/src/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.ts +16 -0
- package/src/components/CollapsibleNavBar/NavBarAccordionContent.tsx +33 -0
- package/src/components/CollapsibleNavBar/NavBarItemWithSubMenu.tsx +84 -0
- package/src/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.tsx +39 -0
- package/src/components/CollapsibleNavBar/NavBarPopover.tsx +123 -0
- package/src/components/CollapsibleNavBar/TriggerIcon.tsx +35 -0
- package/src/components/CollapsibleNavBar/index.ts +2 -0
- package/src/components/CollapsibleNavBar/stories/CollapsibleNavBar.stories.tsx +57 -0
- package/src/components/CollapsibleNavBar/stories/Logo.tsx +12 -0
- package/src/components/CollapsibleNavBar/stories/StoryComponent.tsx +20 -0
- package/src/components/CollapsibleNavBar/stories/consts.ts +22 -0
- package/src/components/CollapsibleNavBar/stories/styles.ts +21 -0
- package/src/components/CollapsibleNavBar/styles.ts +119 -0
- package/src/components/CollapsibleNavBar/types.ts +14 -0
- package/src/components/ExchangeAccount/ExchangeAccount.spec.tsx +110 -110
- package/src/components/ExchangeAccount/ExchangeAccount.stories.tsx +90 -90
- package/src/components/ExchangeAccount/ExchangeAccount.tsx +73 -73
- package/src/components/ExchangeAccount/helpers.tsx +153 -153
- package/src/components/ExchangeAccount/index.ts +2 -2
- package/src/components/ExchangeAccount/styles.ts +134 -134
- package/src/components/ExchangeAccount/types.ts +12 -12
- package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.spec.tsx +43 -43
- package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.stories.tsx +14 -14
- package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.tsx +71 -71
- package/src/components/ExchangeAccountKeys/helpers.ts +7 -7
- package/src/components/ExchangeAccountKeys/index.ts +2 -2
- package/src/components/ExchangeAccountKeys/stories/StoryComponent.tsx +33 -33
- package/src/components/ExchangeAccountKeys/styles.ts +97 -96
- package/src/components/ExchangeAccountKeys/types.ts +8 -8
- package/src/components/Filters/FilterBlockWrapper.tsx +11 -11
- package/src/components/Filters/Filters.e2e.ts +47 -47
- package/src/components/Filters/Filters.spec.tsx +38 -38
- package/src/components/Filters/Filters.tsx +85 -75
- package/src/components/Filters/FiltersBlock.tsx +70 -70
- package/src/components/Filters/FiltersContext.tsx +41 -41
- package/src/components/Filters/FiltersWrapper.tsx +15 -8
- package/src/components/Filters/hooks/useVisibility.ts +101 -101
- package/src/components/Filters/index.ts +1 -1
- package/src/components/Filters/stories/Filters.stories.tsx +17 -17
- package/src/components/Filters/stories/StoryComponent.tsx +18 -18
- package/src/components/Filters/stories/mockData.ts +212 -212
- package/src/components/Filters/types.ts +4 -4
- package/src/components/HeartRate/BPM.tsx +43 -43
- package/src/components/HeartRate/HeartRate.e2e.ts +78 -78
- package/src/components/HeartRate/HeartRate.spec.tsx +91 -91
- package/src/components/HeartRate/HeartRate.stories.tsx +36 -36
- package/src/components/HeartRate/HeartRate.tsx +105 -105
- package/src/components/HeartRate/HeartRateLineChart.tsx +53 -53
- package/src/components/HeartRate/index.ts +2 -2
- package/src/components/HeartRate/mockHeartRateRequest.ts +15 -15
- package/src/components/HeartRate/types.ts +15 -15
- package/src/components/HeartRate/utils.tsx +8 -8
- package/src/components/LinksTabBar/LinksTabBar.e2e.ts +23 -23
- package/src/components/LinksTabBar/LinksTabBar.spec.tsx +48 -48
- package/src/components/LinksTabBar/LinksTabBar.stories.tsx +45 -45
- package/src/components/LinksTabBar/LinksTabBar.tsx +14 -14
- package/src/components/LinksTabBar/LinksTabBarBase.tsx +36 -36
- package/src/components/LinksTabBar/index.ts +2 -2
- package/src/components/LinksTabBar/stories/decorators.tsx +34 -34
- package/src/components/LinksTabBar/stories/mockData.ts +27 -27
- package/src/components/LinksTabBar/types.ts +12 -12
- package/src/components/ListGoals/ListGoals.spec.tsx +82 -82
- package/src/components/ListGoals/ListGoals.stories.tsx +58 -58
- package/src/components/ListGoals/ListGoals.tsx +29 -29
- package/src/components/ListGoals/ListGoalsCard.tsx +61 -61
- package/src/components/ListGoals/index.ts +2 -2
- package/src/components/ListGoals/styles.tsx +11 -11
- package/src/components/ListGoals/types.ts +25 -25
- package/src/components/MealNutrients/MealNutrients.e2e.ts +68 -68
- package/src/components/MealNutrients/MealNutrients.spec.tsx +134 -134
- package/src/components/MealNutrients/MealNutrients.stories.tsx +37 -37
- package/src/components/MealNutrients/MealNutrients.tsx +84 -84
- package/src/components/MealNutrients/MealNutrientsLineChart.tsx +87 -87
- package/src/components/MealNutrients/MealNutrientsTooltip.tsx +30 -30
- package/src/components/MealNutrients/chartDefaultConfig.tsx +87 -87
- package/src/components/MealNutrients/index.tsx +2 -2
- package/src/components/MealNutrients/mockMealNutrientsRequest.ts +1246 -1246
- package/src/components/MealNutrients/types.ts +37 -37
- package/src/components/MealNutrients/useChartConfig.ts +69 -69
- package/src/components/MealPlanner/MealPlanner.spec.tsx +77 -77
- package/src/components/MealPlanner/MealPlanner.stories.tsx +15 -15
- package/src/components/MealPlanner/MealPlanner.tsx +100 -100
- package/src/components/MealPlanner/MealPlannerBadge.tsx +15 -15
- package/src/components/MealPlanner/MealPlannerBars.tsx +19 -19
- package/src/components/MealPlanner/MealPlannerCard.tsx +73 -73
- package/src/components/MealPlanner/MealPlannerLegends.tsx +22 -22
- package/src/components/MealPlanner/index.ts +2 -2
- package/src/components/MealPlanner/mockMealPlannerRequest.ts +70 -70
- package/src/components/MealPlanner/types.ts +21 -21
- package/src/components/NavBar/NavBar.e2e.ts +64 -64
- package/src/components/NavBar/NavBar.stories.tsx +86 -86
- package/src/components/NavBar/NavBar.tsx +46 -46
- package/src/components/NavBar/NavBarBase.ts +45 -48
- package/src/components/NavBar/NavBarItem.ts +13 -13
- package/src/components/NavBar/NavBarLink.ts +27 -27
- package/src/components/NavBar/NavBarList.ts +16 -16
- package/src/components/NavBar/NavBarWrapper.ts +40 -40
- package/src/components/NavBar/NavToggle.tsx +36 -36
- package/src/components/NavBar/NavToggleWrapper.ts +21 -21
- package/src/components/NavBar/index.ts +2 -2
- package/src/components/NavBar/types.ts +22 -5
- package/src/components/NotificationCard/NotificationCard.spec.tsx +90 -90
- package/src/components/NotificationCard/NotificationCard.stories.tsx +112 -112
- package/src/components/NotificationCard/NotificationCard.tsx +94 -94
- package/src/components/NotificationCard/index.ts +2 -2
- package/src/components/NotificationCard/styles.tsx +134 -134
- package/src/components/NotificationCard/types.ts +9 -9
- package/src/components/NotificationMenu/NotificationMenu.e2e.ts +27 -27
- package/src/components/NotificationMenu/NotificationMenu.spec.tsx +64 -64
- package/src/components/NotificationMenu/NotificationMenu.tsx +77 -77
- package/src/components/NotificationMenu/helpers.ts +91 -91
- package/src/components/NotificationMenu/index.ts +2 -2
- package/src/components/NotificationMenu/stories/NotificationMenu.stories.tsx +14 -14
- package/src/components/NotificationMenu/stories/StoryComponent.tsx +84 -84
- package/src/components/NotificationMenu/stories/StoryContent.tsx +52 -52
- package/src/components/NotificationMenu/styles.ts +125 -125
- package/src/components/NotificationMenu/types.ts +11 -11
- package/src/components/Pagination/ArrowButton.tsx +32 -32
- package/src/components/Pagination/Pagination.e2e.ts +38 -38
- package/src/components/Pagination/Pagination.spec.tsx +218 -218
- package/src/components/Pagination/Pagination.stories.tsx +50 -50
- package/src/components/Pagination/Pagination.tsx +55 -55
- package/src/components/Pagination/PaginationButtons.tsx +55 -55
- package/src/components/Pagination/PaginationContext.tsx +20 -20
- package/src/components/Pagination/index.ts +3 -3
- package/src/components/Pagination/styles.tsx +81 -81
- package/src/components/Pagination/types.ts +35 -35
- package/src/components/PieChart/PieChart.spec.tsx +97 -97
- package/src/components/PieChart/PieChart.stories.tsx +129 -129
- package/src/components/PieChart/PieChart.tsx +40 -40
- package/src/components/PieChart/PieChartBases.tsx +26 -26
- package/src/components/PieChart/PieChartLegend.tsx +51 -51
- package/src/components/PieChart/PieChartLegendList.tsx +19 -19
- package/src/components/PieChart/PieChartLegendMarker.tsx +12 -12
- package/src/components/PieChart/colorPalettes.ts +28 -28
- package/src/components/PieChart/index.ts +4 -4
- package/src/components/PieChart/stories/fixtures.ts +39 -39
- package/src/components/PieChart/types.ts +28 -28
- package/src/components/ProgressInfo/ProgressInfo.e2e.ts +31 -31
- package/src/components/ProgressInfo/ProgressInfo.spec.tsx +91 -91
- package/src/components/ProgressInfo/ProgressInfo.stories.tsx +32 -32
- package/src/components/ProgressInfo/ProgressInfo.tsx +117 -117
- package/src/components/ProgressInfo/ProgressInfoTotals.tsx +60 -60
- package/src/components/ProgressInfo/index.ts +3 -3
- package/src/components/ProgressInfo/mockProgressInfoRequest.ts +166 -166
- package/src/components/ProgressInfo/styles.ts +20 -20
- package/src/components/ProgressInfo/types.ts +29 -29
- package/src/components/SearchBox/SearchBox.e2e.ts +37 -37
- package/src/components/SearchBox/SearchBox.spec.tsx +77 -77
- package/src/components/SearchBox/SearchBox.tsx +70 -68
- package/src/components/SearchBox/SearchBoxCrossIcon.tsx +26 -26
- package/src/components/SearchBox/SearchBoxInput.tsx +21 -20
- package/src/components/SearchBox/SearchBoxWrapper.tsx +6 -6
- package/src/components/SearchBox/index.ts +4 -4
- package/src/components/SearchBox/stories/SearchBox.stories.tsx +16 -16
- package/src/components/SearchBox/stories/StoryComponent.tsx +25 -25
- package/src/components/SearchBox/types.ts +9 -9
- package/src/components/StepsCounter/StepsCounter.spec.tsx +14 -14
- package/src/components/StepsCounter/StepsCounter.stories.tsx +16 -16
- package/src/components/StepsCounter/StepsCounter.tsx +74 -74
- package/src/components/StepsCounter/index.ts +2 -2
- package/src/components/StepsCounter/types.ts +4 -4
- package/src/components/TableFilters/TableFilterCancelButton.tsx +39 -39
- package/src/components/TableFilters/TableFilterCheckbox.tsx +24 -24
- package/src/components/TableFilters/TableFilterClearButton.tsx +47 -47
- package/src/components/TableFilters/TableFilterTrigger.tsx +50 -50
- package/src/components/TableFilters/TableFilterTriggerWithNotification.tsx +44 -44
- package/src/components/TableFilters/TableFilters.e2e.ts +28 -28
- package/src/components/TableFilters/TableFilters.spec.tsx +166 -166
- package/src/components/TableFilters/TableFilters.tsx +188 -178
- package/src/components/TableFilters/TableFiltersAccordion.tsx +14 -15
- package/src/components/TableFilters/TableFiltersAccordionContent.tsx +18 -19
- package/src/components/TableFilters/TableFiltersButtons.tsx +32 -32
- package/src/components/TableFilters/hooks/useTableData.ts +107 -97
- package/src/components/TableFilters/index.ts +9 -9
- package/src/components/TableFilters/stories/StoryComponent.tsx +35 -35
- package/src/components/TableFilters/stories/TableFilters.stories.tsx +17 -17
- package/src/components/TableFilters/stories/TableFiltersWrapper.tsx +7 -7
- package/src/components/TableFilters/stories/mockData.tsx +114 -114
- package/src/components/TableFilters/styles.ts +26 -26
- package/src/components/TableFilters/types.ts +34 -33
- package/src/components/TableFilters/utils/handlers.ts +73 -73
- package/src/components/TradingInfoCard/TradingInfoCard.e2e.ts +16 -16
- package/src/components/TradingInfoCard/TradingInfoCard.spec.tsx +116 -116
- package/src/components/TradingInfoCard/TradingInfoCard.stories.tsx +118 -118
- package/src/components/TradingInfoCard/TradingInfoCard.tsx +43 -43
- package/src/components/TradingInfoCard/TradingInfoCardContent.tsx +32 -32
- package/src/components/TradingInfoCard/TradingInfoCardTooltip.tsx +47 -47
- package/src/components/TradingInfoCard/TradingInfoCardWrapper.tsx +72 -72
- package/src/components/TradingInfoCard/index.ts +3 -3
- package/src/components/TradingInfoCard/types.ts +27 -27
- package/src/components/TradingScoreboard/TradingScoreboard.spec.tsx +119 -119
- package/src/components/TradingScoreboard/TradingScoreboard.stories.tsx +119 -119
- package/src/components/TradingScoreboard/TradingScoreboard.tsx +41 -41
- package/src/components/TradingScoreboard/TradingScoreboardBase.tsx +17 -17
- package/src/components/TradingScoreboard/helpers.tsx +134 -134
- package/src/components/TradingScoreboard/index.ts +2 -2
- package/src/components/TradingScoreboard/types.ts +18 -18
- package/src/components/UpcomingWorkouts/UpcomingWorkoutCard.tsx +64 -64
- package/src/components/UpcomingWorkouts/UpcomingWorkouts.spec.tsx +56 -56
- package/src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx +32 -32
- package/src/components/UpcomingWorkouts/UpcomingWorkouts.tsx +27 -27
- package/src/components/UpcomingWorkouts/index.ts +2 -2
- package/src/components/UpcomingWorkouts/style.ts +12 -12
- package/src/components/UpcomingWorkouts/types.ts +23 -23
- package/src/components/UserCard/UserCard.tsx +46 -46
- package/src/components/UserCard/UserCardBMI.tsx +37 -37
- package/src/components/UserCard/UserCardCredentials.tsx +56 -56
- package/src/components/UserCard/UserCardItem.tsx +42 -42
- package/src/components/UserCard/index.tsx +2 -2
- package/src/components/UserCard/types.ts +8 -8
- package/src/components/UserProfile/UserProfile.e2e.ts +21 -21
- package/src/components/UserProfile/UserProfile.spec.tsx +91 -55
- package/src/components/UserProfile/UserProfile.stories.tsx +21 -21
- package/src/components/UserProfile/UserProfile.tsx +53 -51
- package/src/components/UserProfile/index.ts +2 -2
- package/src/components/UserProfile/styles.ts +47 -47
- package/src/components/UserProfile/types.ts +8 -6
- package/src/components/WaterConsume/WaterConsume.spec.tsx +62 -62
- package/src/components/WaterConsume/WaterConsume.stories.tsx +36 -36
- package/src/components/WaterConsume/WaterConsume.tsx +188 -188
- package/src/components/WaterConsume/index.ts +2 -2
- package/src/components/WaterConsume/types.ts +11 -11
- package/src/consts.ts +18 -18
- package/src/index.ts +53 -50
- package/src/injectGlobal.ts +41 -41
- package/storybook-static/106.9e8cbea9.iframe.bundle.js +1 -0
- package/storybook-static/134.2444003c.iframe.bundle.js +1 -0
- package/storybook-static/166.927d7b90.iframe.bundle.js +1 -0
- package/storybook-static/185.4df02b5b.iframe.bundle.js +139 -0
- package/storybook-static/185.4df02b5b.iframe.bundle.js.map +1 -0
- package/storybook-static/251.8c3ebcca.iframe.bundle.js +1 -0
- package/storybook-static/263.0a5aa731.iframe.bundle.js +1 -0
- package/storybook-static/283.258a25c8.iframe.bundle.js +1 -0
- package/storybook-static/326.7772ae66.iframe.bundle.js +1 -0
- package/storybook-static/494.f5410ab1.iframe.bundle.js +2 -0
- package/storybook-static/494.f5410ab1.iframe.bundle.js.LICENSE.txt +18 -0
- package/storybook-static/{106.f1e6d14d.iframe.bundle.js → 497.7e0c2fc7.iframe.bundle.js} +4 -4
- package/storybook-static/497.7e0c2fc7.iframe.bundle.js.map +1 -0
- package/storybook-static/540.17a57e0e.iframe.bundle.js +1 -0
- package/storybook-static/547.951a46da.iframe.bundle.js +1 -0
- package/storybook-static/609.f12a4891.iframe.bundle.js +1 -0
- package/storybook-static/633.947e8b75.iframe.bundle.js +1 -0
- package/storybook-static/661.14057bc5.iframe.bundle.js +1 -0
- package/storybook-static/753.91179890.iframe.bundle.js +1 -0
- package/storybook-static/76.25b4aa80.iframe.bundle.js +1 -0
- package/storybook-static/767.1716b836.iframe.bundle.js +1 -0
- package/storybook-static/{696.e559304f.iframe.bundle.js → 781.3faed4b1.iframe.bundle.js} +2 -2
- package/storybook-static/906.a25e1330.iframe.bundle.js +402 -0
- package/storybook-static/{460.8dc4e7c6.iframe.bundle.js.LICENSE.txt → 906.a25e1330.iframe.bundle.js.LICENSE.txt} +0 -2
- package/storybook-static/906.a25e1330.iframe.bundle.js.map +1 -0
- package/storybook-static/912.a84a00a8.iframe.bundle.js +1 -0
- package/storybook-static/973.d2780faa.iframe.bundle.js +1 -0
- package/storybook-static/979.9baaf9d9.iframe.bundle.js +1 -0
- package/storybook-static/995.818e1781.iframe.bundle.js +1 -0
- package/storybook-static/components-Activity-Activity-stories.1f2220be.iframe.bundle.js +1 -0
- package/storybook-static/components-Bmi-Bmi-stories.033dba0e.iframe.bundle.js +1 -0
- package/storybook-static/components-Calories-Calories-stories.61da75cb.iframe.bundle.js +1 -0
- package/storybook-static/components-CardList-CardList-stories.caaffeda.iframe.bundle.js +1 -0
- package/storybook-static/components-HeartRate-HeartRate-stories.bd133239.iframe.bundle.js +1 -0
- package/storybook-static/components-ListGoals-ListGoals-stories.e68d5cbf.iframe.bundle.js +1 -0
- package/storybook-static/components-MealNutrients-MealNutrients-stories.7e46bd1e.iframe.bundle.js +1 -0
- package/storybook-static/components-MealPlanner-MealPlanner-stories.4b8341d3.iframe.bundle.js +1 -0
- package/storybook-static/components-NavBar-NavBar-stories.4f37096a.iframe.bundle.js +1 -0
- package/storybook-static/components-Pagination-Pagination-stories.2fd0c446.iframe.bundle.js +1 -0
- package/storybook-static/components-ProgressInfo-ProgressInfo-stories.665cee18.iframe.bundle.js +1 -0
- package/storybook-static/components-StepsCounter-StepsCounter-stories.b87bd065.iframe.bundle.js +1 -0
- package/storybook-static/components-TableFilters-stories-TableFilters-stories.24c4f9e8.iframe.bundle.js +1 -0
- package/storybook-static/{components-UpcomingWorkouts-UpcomingWorkouts-stories.ba735508.iframe.bundle.js → components-UpcomingWorkouts-UpcomingWorkouts-stories.fab18fcf.iframe.bundle.js} +1 -1
- package/storybook-static/components-WaterConsume-WaterConsume-stories.5dae388e.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +4 -4
- package/storybook-static/index.json +1 -1
- package/storybook-static/main.c21822d8.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.b259f462.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +5 -5
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +49 -51
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +3 -3
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +11 -11
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +4 -4
- package/storybook-static/sb-addons/links-0/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/links-0/manager-bundle.js.map +3 -3
- package/storybook-static/sb-manager/CRUD-I5EZL2FS-LBZVDZXV.js +1 -0
- package/storybook-static/sb-manager/Communicate-7JXCND2Z-6SIVXWT4.js +1 -0
- package/storybook-static/sb-manager/Devices-SUYACUPO-DMGV6ENX.js +1 -0
- package/storybook-static/sb-manager/Documents-SGWAY3KW-XZRZ6I6S.js +1 -0
- package/storybook-static/sb-manager/Editing-7QFB6ZMG-J5U6QGB6.js +1 -0
- package/storybook-static/sb-manager/Git-DZ2D5ZUL-VKBWYJHE.js +1 -0
- package/storybook-static/{162.50e9b926.iframe.bundle.js → sb-manager/GlobalScrollAreaStyles-4LLX2B3H-DOBSPBNW.js} +7 -1
- package/storybook-static/sb-manager/Images-S2WTXNGG-NXAYS4VP.js +1 -0
- package/storybook-static/sb-manager/Logos-SJTNNI74-F3IVL4UV.js +1 -0
- package/storybook-static/sb-manager/OS-YZ2Y4VYS-KGSGCOHC.js +1 -0
- package/storybook-static/sb-manager/OverlayScrollbars-OL4C4TVX-FNYA4OIC.js +1 -0
- package/storybook-static/sb-manager/People-OD4EV7WZ-DBPUNUXW.js +1 -0
- package/storybook-static/sb-manager/Wayfinding-BB4H7CHP-N2QAVLVA.js +1 -0
- package/storybook-static/sb-manager/WithTooltip-YBG737T3-GLWUADFI.js +1 -0
- package/storybook-static/sb-manager/{chunk-AA6TEL5N.js → chunk-6KNXZZZ5.js} +1 -1
- package/storybook-static/sb-manager/{chunk-3FAXWWKG.js → chunk-DP4DR4LA.js} +1 -1
- package/storybook-static/sb-manager/chunk-GBCXFRBK.js +1 -0
- package/storybook-static/sb-manager/chunk-IFNK3PLJ.js +1 -0
- package/storybook-static/sb-manager/chunk-JMPBYCHU.js +1 -0
- package/storybook-static/sb-manager/{chunk-R5BIZIS3.js → chunk-JSPL73I3.js} +1 -1
- package/storybook-static/sb-manager/{chunk-AM2ZNZZH.js → chunk-SJD7EFYL.js} +1 -1
- package/storybook-static/sb-manager/chunk-UBXIQABM.js +447 -0
- package/storybook-static/sb-manager/{chunk-IPZYHIL3.js → chunk-V7GYLJLR.js} +2 -2
- package/storybook-static/sb-manager/chunk-Z4NRYNHR.js +1 -0
- package/storybook-static/sb-manager/{formatter-OJ5LH2CX-IQX6U4TO.js → formatter-6736J7QO-TGL2ZGQC.js} +2 -2
- package/storybook-static/sb-manager/globals.js +1 -1
- package/storybook-static/sb-manager/index.js +1 -1
- package/storybook-static/sb-manager/runtime.js +1 -1
- package/storybook-static/sb-manager/syntaxhighlighter-4OVWVELQ-5IZ45DZY.js +1 -0
- package/storybook-static/sb-preview/runtime.js +4 -4
- package/storybook-static/stories.json +1 -1
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-37902-idgets-CollapsibleNavBar-1439-Should-be-visible-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-3bc42-amburger-menu-icon-should-be-visible-by-default-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-467fc-u-should-be-shown-after-Statistics-icon-hovered-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-550ce-idgets-CollapsibleNavBar-1920-Should-be-visible-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-82d84-should-be-visible-after-Statistics-item-clicked-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-86e96-nu-content-should-be-visible-after-icon-clicked-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-b093e-nu-should-be-expanded-after-toggle-icon-clicked-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-bc4b6-u-should-be-shown-after-Statistics-icon-hovered-chromium/trace.zip +0 -0
- package/test-results/src-components-CollapsibleNavBar-CollapsibleNa-d159d-d-after-Statistics-item-clicked-expanded-state--chromium/trace.zip +0 -0
- package/tsbuildcache +1 -1
- package/tsconfig.build.json +44 -44
- package/tsconfig.json +17 -17
- package/tsconfig.tsbuildinfo +1 -1
- package/webpack.config.js +28 -28
- package/storybook-static/0.19f2e251.iframe.bundle.js +0 -1
- package/storybook-static/106.f1e6d14d.iframe.bundle.js.map +0 -1
- package/storybook-static/291.c8585ee9.iframe.bundle.js +0 -1
- package/storybook-static/293.c50861da.iframe.bundle.js +0 -2
- package/storybook-static/293.c50861da.iframe.bundle.js.LICENSE.txt +0 -9
- package/storybook-static/36.713e1566.iframe.bundle.js +0 -1
- package/storybook-static/460.8dc4e7c6.iframe.bundle.js +0 -402
- package/storybook-static/460.8dc4e7c6.iframe.bundle.js.map +0 -1
- package/storybook-static/576.98c3eb27.iframe.bundle.js +0 -1
- package/storybook-static/710.ab631936.iframe.bundle.js +0 -1
- package/storybook-static/829.7385f99b.iframe.bundle.js +0 -139
- package/storybook-static/829.7385f99b.iframe.bundle.js.map +0 -1
- package/storybook-static/834.04cdfc87.iframe.bundle.js +0 -1
- package/storybook-static/945.ddb2ee2f.iframe.bundle.js +0 -1
- package/storybook-static/components-Activity-Activity-stories.107a3fa3.iframe.bundle.js +0 -1
- package/storybook-static/components-Bmi-Bmi-stories.b8c54168.iframe.bundle.js +0 -1
- package/storybook-static/components-Calories-Calories-stories.8851a637.iframe.bundle.js +0 -1
- package/storybook-static/components-CardList-CardList-stories.963f2911.iframe.bundle.js +0 -1
- package/storybook-static/components-HeartRate-HeartRate-stories.f9844316.iframe.bundle.js +0 -1
- package/storybook-static/components-ListGoals-ListGoals-stories.ca994275.iframe.bundle.js +0 -1
- package/storybook-static/components-MealNutrients-MealNutrients-stories.1850ecb0.iframe.bundle.js +0 -1
- package/storybook-static/components-MealPlanner-MealPlanner-stories.542c85fc.iframe.bundle.js +0 -1
- package/storybook-static/components-NavBar-NavBar-stories.73f09876.iframe.bundle.js +0 -1
- package/storybook-static/components-ProgressInfo-ProgressInfo-stories.f6b5466e.iframe.bundle.js +0 -1
- package/storybook-static/components-StepsCounter-StepsCounter-stories.967e384f.iframe.bundle.js +0 -1
- package/storybook-static/components-WaterConsume-WaterConsume-stories.4b5e8cb5.iframe.bundle.js +0 -1
- package/storybook-static/main.912c7e67.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.e664d5e5.iframe.bundle.js +0 -1
- package/storybook-static/sb-manager/GlobalScrollAreaStyles-DZEYMYDM-UAEZM2KF.js +0 -7
- package/storybook-static/sb-manager/OverlayScrollbars-OGE3XJTA-T3S33YR7.js +0 -1
- package/storybook-static/sb-manager/WithTooltip-I4CCNYWD-ZW5IOTVO.js +0 -1
- package/storybook-static/sb-manager/chunk-AS2AMEUR.js +0 -1
- package/storybook-static/sb-manager/chunk-FPTBIX6P.js +0 -403
- package/storybook-static/sb-manager/chunk-QPL63VNK.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-SIPZPD4I-WOB5MYBW.js +0 -1
- /package/storybook-static/{696.e559304f.iframe.bundle.js.LICENSE.txt → 781.3faed4b1.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@emotion/react"),require("react"),require("react-dom"),require("@nivo/core"),require("@nivo/line"),require("react-router-dom"),require("@nivo/pie")):"function"==typeof define&&define.amd?define(["@emotion/react","react","react-dom","@nivo/core","@nivo/line","react-router-dom","@nivo/pie"],t):"object"==typeof exports?exports.SSAWidgets=t(require("@emotion/react"),require("react"),require("react-dom"),require("@nivo/core"),require("@nivo/line"),require("react-router-dom"),require("@nivo/pie")):e.SSAWidgets=t(e["@emotion/react"],e.react,e["react-dom"],e["@nivo/core"],e["@nivo/line"],e["react-router-dom"],e["@nivo/pie"])}(self,(function(e,t,r,n,o,i,s){return function(){var a={440:function(e,t,r){var n,o,i;self,e.exports=(n=r(435),o=r(156),i=r(111),function(){var e,t,r={94:function(e,t,r){var n;self,e.exports=(n=r(156),function(){var e={468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},156:function(e){"use strict";e.exports=n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{useApi:function(){return t},useClickOutside:function(){return i},usePaginationRange:function(){return a},useTextSizeDecrease:function(){return d},useWindowSize:function(){return n}});var e=r(156);function t(t,r){const[n,o]=(0,e.useState)(!1),[i,s]=(0,e.useState)(null),[a,l]=(0,e.useState)(r);return{isLoading:n,error:i,data:a,query:async(...e)=>{o(!0),s(null);try{const r=await t(...e);l(r)}catch(e){s(e)}finally{o(!1)}}}}const n=()=>{const[t,r]=(0,e.useState)({width:window.innerWidth,height:window.innerHeight});return(0,e.useEffect)((()=>{function e(){r({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),t},i=(t,r)=>{const n=["mousedown","touchstart"];(0,e.useEffect)((()=>{const e=e=>{null==t.current||t.current.contains(e.target)||r(e)};return n.forEach((t=>document.addEventListener(t,e))),()=>n.forEach((t=>document.removeEventListener(t,e)))}),[t,r])};var s=r(468);const a=({pagesCount:t,selectedPage:r})=>(0,e.useMemo)((()=>(0,s.generateRange)(t,r)),[t,r]),l=/(\d+\.?\d+)(\S+)/,c=(e,t)=>e.scrollWidth>Number(t?.clientWidth),u=(e,t)=>{const r=window.getComputedStyle(e).fontSize.match(l);if(r){const[,n,o]=r;e.style.fontSize=`${Number(n)-t}${o}`}},d=(t=5,r=1)=>{const o=(0,e.useRef)(null),i=(0,e.useRef)(0),{width:s}=n();return(0,e.useEffect)((()=>{(()=>{if(null==o.current)return;const e=o.current,n=e.parentNode;let s=c(e,n);for(;i.current<t&&s;)u(e,r),s=c(e,n),++i.current;s&&(e.style.wordBreak="break-all")})()}),[o,s]),o}}(),o}())},468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},435:function(e){"use strict";e.exports=n},156:function(e){"use strict";e.exports=o},111:function(e){"use strict";e.exports=i}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},a.d(o,i),o},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return function(){"use strict";a.r(l),a.d(l,{Accordion:function(){return de},AccordionContent:function(){return te},AccordionGroup:function(){return G},AccordionGroupContext:function(){return q},AccordionGroupContextProvider:function(){return U},AccordionTitle:function(){return ce},Avatar:function(){return ge},Badge:function(){return be},Button:function(){return Re},ButtonGroup:function(){return va},Card:function(){return ze},CardBase:function(){return ue},CardContent:function(){return Y},CardHeader:function(){return Pe},Checkbox:function(){return Be},ColorPicker:function(){return Ze},Dropdown:function(){return zt},DropdownOption:function(){return Mt},Form:function(){return ga},FormAction:function(){return ha},FormCheckbox:function(){return yt},FormGroup:function(){return fa},FormRadioGroup:function(){return da},Icon:function(){return ae},Indicator:function(){return ba},Input:function(){return zo},Label:function(){return He},LargeTab:function(){return Ys},Modal:function(){return Ao},ModalContent:function(){return Fo},ModalContext:function(){return Po},ModalDismissButton:function(){return $o},ModalOpenButton:function(){return Vo},MultipleDropdown:function(){return Ti},MultipleDropdownNotification:function(){return Li},MultipleDropdownOptions:function(){return ji},Popover:function(){return Wo},PopoverClose:function(){return qo},PopoverContent:function(){return Qo},PopoverDescription:function(){return gi},PopoverHeading:function(){return fi},PopoverTrigger:function(){return xi},ProgressBar:function(){return zi},ProgressChartTooltip:function(){return Ns},ProgressCircle:function(){return _i},ProgressLegend:function(){return Wi},ProgressLegendItem:function(){return qi},ProgressVertical:function(){return Ui},Radio:function(){return la},RadioGroup:function(){return ua},ResponsiveImage:function(){return pa},SimpleChartTooltip:function(){return Is},Step:function(){return as},StepLabel:function(){return gs},Stepper:function(){return Yi},Switch:function(){return bs},SwitchContext:function(){return hs},SwitchContextProvider:function(){return ms},Tab:function(){return Us},TabBar:function(){return Ws},TabBarContext:function(){return Fs},TabBarContextProvider:function(){return Bs},Table:function(){return ys},TableBody:function(){return ks},TableCell:function(){return vs},TableHead:function(){return ws},TableRow:function(){return Cs},Tag:function(){return Js},TextField:function(){return sa},Textarea:function(){return ta},Tooltip:function(){return Ms},TooltipContent:function(){return As},TooltipContentBase:function(){return Os},TooltipTrigger:function(){return Ts},Typography:function(){return pi},Wrapper:function(){return ye},checkboxStyles:function(){return Fe},globalStyles:function(){return e},iconsList:function(){return ne},mainTheme:function(){return o},styleUtils:function(){return t},styles:function(){return n},useSwitchContext:function(){return xs},useTabBarContext:function(){return Vs}});var e={};a.r(e),a.d(e,{blue:function(){return f},blueLight:function(){return h},blueLightDarker:function(){return x},green:function(){return d},pink:function(){return s},purple:function(){return g},turquoise:function(){return p},yellow:function(){return c},yellowWarm:function(){return u}});var t={};a.r(t),a.d(t,{focusOutline:function(){return m},outlineStyles:function(){return b}});var r={};a.r(r),a.d(r,{body1:function(){return ri},body2:function(){return ni},body3:function(){return oi},bold:function(){return ci},caption:function(){return ii},gutter:function(){return ui},h1:function(){return Go},h2:function(){return Xo},h3:function(){return Yo},h4:function(){return Ko},h5:function(){return Jo},h6:function(){return ei},lighter:function(){return si},medium:function(){return li},regular:function(){return ai},subtitle:function(){return ti}});var n={};a.r(n),a.d(n,{large:function(){return zs},medium:function(){return Rs},small:function(){return Ds}});var o={colors:{black25:"rgba(0, 0, 0, 0.25)",black45:"rgba(0, 0, 0, 0.45)",white:"rgba(255, 255, 255, 1)",white80:"rgba(255, 255, 255, 0.8)",white60:"rgba(255, 255, 255, 0.6)",white30:"rgba(255, 255, 255, 0.3)",greyLighter:"rgba(238, 241, 247, 1)",greySelectedMenuItem:"rgba(222, 225, 236, 1)",greyFocused:"rgba(210, 212, 219, 1)",greyFocused40:"rgba(210, 212, 219, 0.4)",greyDropdownMain:"rgba(222, 224, 232, 1)",greyDropdownFocused:"rgba(128, 129, 131)",greyDropdownText:"rgba(21, 21, 21, 1)",greyArrowSidebar:"rgba(218, 219, 220)",grey:"rgba(195, 197, 204, 1)",grey20:"rgba(43, 45, 49, 0.2)",grey40:"rgba(43, 45, 49, 0.4)",greyShadow24:"rgba(93, 102, 112, 0.24)",greyDarker:"rgba(43, 45, 49, 1)",greyDarker60:"rgba(43, 45, 49, 0.6)",greyDarker80:"rgba(43, 45, 49, 0.8)",greyDarker14:"rgba(43, 45, 49, 0.14)",greyDark:"rgb(64, 72, 83)",greyDisabled:"rgba(85, 87, 90, 1)",greyDisabledCheckbox:"rgba(164, 167, 171, 1)",greyButtonGradient:"rgba(77, 82, 87, 1)",greyButtonGradientLight:"rgba(94, 103, 114, 1)",greyBackground:"rgb(64, 68, 73)",greyBackgroundLight:"rgb(76, 84, 93)",greyPopoverLight:"rgba(242, 244, 247, 1)",greyGraphite:"rgba(71, 74, 80, 1)",greyGraphite70:"rgb(122, 124, 127, 0.7)",greyShadow:"rgba(42, 48, 57, 0.08)",greyShadowHover:"rgba(93, 102, 112, 0.24)",greyOutline:"rgba(208,\t210,\t220, 1)",greyFilterIcon:"rgb(133, 137, 147)",greyCancelClearButton:"rgb(101, 101, 103)",redLighter:"rgba(242, 136, 142, 1)",redLighter40:"rgba(242, 136, 142, 0.4)",red:"rgba(235, 117, 86, 1)",red40:"rgba(235, 117, 86, 0.4)",greenLighter:"rgba(137, 217, 150, 1)",greenLighter20:"rgba(137, 217, 150, 0.2)",greenLighter40:"rgba(137, 217, 150, 0.4)",greenLighter60:"rgba(137, 217, 150, 0.6)",green:"rgba(82, 197, 135, 1)",green20:"rgba(82, 197, 135, 0.2)",green40:"rgba(82, 197, 135, 0.4)",green60:"rgba(82, 197, 135, 0.6)",greenMint:"rgba(236, 253, 243, 1)",greenDark:"rgba(11, 159, 67, 1)",pink:"rgba(240, 129, 107, 1)",pink20:"rgba(240, 129, 107, 0.2)",pinkDark:"rgba(221, 99, 75, 1)",pinkDarker:"rgba(241, 132, 122, 1)",pinkLighter:"rgba(249, 153, 144, 1)",pinkLighter20:"rgba(249, 153, 144, 0.2)",pinkLighter40:"rgba(249, 153, 144, 0.4)",pinkShadow40:"rgba(236, 119, 91, 0.4)",yellow:"rgba(237, 153, 93, 1)",yellow20:"rgba(237, 153, 93, 0.2)",yellowLighter:"rgba(237, 186, 93, 1)",yellowLighter20:"rgba(237, 186, 93, 0.2)",yellowLighter40:"rgba(237, 186, 93, 0.4)",yellowWarm:"rgba(237, 223, 93, 1)",yellowWarm20:"rgba(237, 223, 93, 0.2)",yellowWarm40:"rgba(237, 223, 93, 0.4)",turquoise:"rgba(65, 187, 187, 1)",turquoise20:"rgba(65, 187, 187, 0.2)",turquoiseShadow40:"rgba(143, 207, 207, 0.4)",turquoiseLighter:"rgba(125, 203, 203, 1)",turquoiseLighter20:"rgba(125, 203, 203, 0.2)",turquoiseLighter40:"rgba(125, 203, 203, 0.4)",purple:"rgba(123, 71, 235, 1)",purple20:"rgba(123, 71, 235, 0.2)",purpleLighter:"rgba(160, 120, 245, 1)",purpleLighter20:"rgba(160, 120, 245, 0.2)",purpleLighter40:"rgba(160, 120, 245, 0.4)",purpleDark:"rgba(156, 122, 235, 1)",purpleDark40:"rgba(156, 122, 235, 0.4)",blue:"rgba(65, 120, 225, 1)",blue20:"rgba(65, 120, 225, 0.2)",blueDark:"rgba(36, 101, 227, 1)",blueLightDarker:"rgba(127, 159, 221)",blueDropdownWithSelectedItems:"rgba(236, 247, 255, 1)",blueDropdownWithSelectedItemsBorder:"rgba(166, 213, 244, 1)",blueLighter:"rgba(117, 153, 222, 1)",blueLighter20:"rgba(117, 153, 222, 0.2)",blueLighter40:"rgba(117, 153, 222, 0.4)",blueLight:"rgba(68, 179, 252, 1)",blueLight20:"rgba(68, 179, 252, 0.2)",blueLightDarker40:"rgba(127, 159, 221, 0.4)",blueLightLighter:"rgba(133, 199, 242, 1)",blueLightLighter20:"rgba(133, 199, 242, 0.2)",blueLightLighter40:"rgba(133, 199, 242, 0.4)",blueNotification:"rgba(0, 133, 226, 1)",blueNotification40:"rgba(0, 133, 226, 0.4)",blueButtonHoverGradientFrom:"rgb(72, 122, 218)",blueButtonHoverGradientTo:"rgb(14, 75, 193)",blueButtonActive:"rgb(7, 69, 189)",blueRoyal:"rgba(72, 125, 225, 1)"},mediaQueries:{xs:"@media screen and (max-width: 390px)",sm:"@media screen and (min-width: 390px)",md:"@media screen and (min-width: 900px)",lg:"@media screen and (min-width: 1440px)",xlg:"@media screen and (min-width: 1920px)"}},i=a(435);const s=e=>(0,i.css)("background-color:",e.colors.pink,";background:linear-gradient(\n 99.26deg,\n ",e.colors.pink,",\n ",e.colors.pinkLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.pinkLighter40,";","",""),c=e=>(0,i.css)("background-color:",e.colors.yellow,";background:linear-gradient(\n 90deg,\n ",e.colors.yellow,",\n ",e.colors.yellowLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),u=e=>(0,i.css)("background-color:",e.colors.yellowLighter,";background:linear-gradient(\n 90deg,\n ",e.colors.yellowLighter,",\n ",e.colors.yellowWarm,"\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),d=e=>(0,i.css)("background-color:",e.colors.green,";background:linear-gradient(\n 295.98deg,\n ",e.colors.green,",\n ",e.colors.greenLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.greenLighter40,";","",""),p=e=>(0,i.css)("background-color:",e.colors.turquoise,";background:linear-gradient(\n 116.22deg,\n ",e.colors.turquoise,",\n ",e.colors.turquoiseLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.turquoiseLighter40,";","",""),g=e=>(0,i.css)("background-color:",e.colors.purple,";background:linear-gradient(\n 243.84deg,\n ",e.colors.purpleLighter,",\n ",e.colors.purple,"\n );box-shadow:-4px 4px 10px ",e.colors.purpleLighter40,";","",""),f=e=>(0,i.css)("background-color:",e.colors.blue,";background:linear-gradient(\n 90deg,\n ",e.colors.blue,",\n ",e.colors.blueLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLighter40,";","",""),h=e=>(0,i.css)("background-color:",e.colors.blueLight,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueLightLighter,",\n ",e.colors.blueLight,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightLighter40,";","",""),x=e=>(0,i.css)("background-color:",e.colors.blueLightDarker,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueDark,",\n ",e.colors.blueLightDarker,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightDarker40,";","",""),m=(e,t,r="12px")=>(0,i.css)("&:focus::before{",b(e,t,r),";}","",""),b=(e,t,r="12px",n="solid")=>(0,i.css)("content:'';position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-style:",n,";border-width:1px;border-color:",e.colors[t||"greyDarker"],";border-radius:",r,";","","");function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}var w=a(156),C=a.t(w,2),k=a.n(w);function j(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=j((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),M=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},T={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},E=/[A-Z]|^ms/g,O=/_EMO_([^_]+?)_([^]*?)_EMO_/g,D=function(e){return 45===e.charCodeAt(1)},R=function(e){return null!=e&&"boolean"!=typeof e},z=j((function(e){return D(e)?e:e.replace(E,"-$&").toLowerCase()})),P=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(O,(function(e,t,r){return I={name:t,styles:r,next:I},t}))}return 1===T[e]||D(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return I={name:r.name,styles:r.styles,next:I},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)I={name:n.name,styles:n.styles,next:I},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=A(e,t,r[o])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":R(s)&&(n+=z(i)+":"+P(i,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=A(e,t,s);switch(i){case"animation":case"animationName":n+=z(i)+":"+a+";";break;default:n+=i+"{"+a+"}"}}else for(var l=0;l<s.length;l++)R(s[l])&&(n+=z(i)+":"+P(i,s[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=I,i=r(e);return I=o,A(e,t,i)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var I,$=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Z=!!w.useInsertionEffect&&w.useInsertionEffect,N=Z||function(e){return e()},H=(Z||w.useLayoutEffect,S),F=function(e){return"theme"!==e},V=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?H:F},B=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},_=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return M(t,r,n),N((function(){return function(e,t,r){M(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,r,n)})),null},W=function e(t,r){var n,o,s=t.__emotion_real===t,a=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=B(t,r,s),c=l||V(a),u=!c("as");return function(){var d=arguments,p=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var g=d.length,f=1;f<g;f++)p.push(d[f],d[0][f])}var h=(0,i.withEmotionCache)((function(e,t,r){var n,s,d,g,f=u&&e.as||a,h="",x=[],m=e;if(null==e.theme){for(var b in m={},e)m[b]=e[b];m.theme=w.useContext(i.ThemeContext)}"string"==typeof e.className?(n=t.registered,s=x,d=e.className,g="",d.split(" ").forEach((function(e){void 0!==n[e]?s.push(n[e]+";"):g+=e+" "})),h=g):null!=e.className&&(h=e.className+" ");var y=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";I=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=A(r,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=A(r,t,e[s]),n&&(o+=i[s]);$.lastIndex=0;for(var a,l="";null!==(a=$.exec(o));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:I}}(p.concat(x),t.registered,m);h+=t.key+"-"+y.name,void 0!==o&&(h+=" "+o);var v=u&&void 0===l?V(f):c,C={};for(var k in e)u&&"as"===k||v(k)&&(C[k]=e[k]);return C.className=h,C.ref=r,w.createElement(w.Fragment,null,w.createElement(_,{cache:t,serialized:y,isStringTag:"string"==typeof f}),w.createElement(f,C))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=p,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,n){return e(t,v({},r,n,{shouldForwardProp:B(h,n,!0)})).apply(void 0,p)},h}};const q=(0,w.createContext)({}),U=({children:e})=>{const{openedAccordions:t,stayOpen:r,setOpenedAccordions:n,toggleOpenedAccordion:o,setStayOpen:s}=(()=>{const[e,t]=(0,w.useState)([]),[r,n]=(0,w.useState)(!1);return{openedAccordions:e,stayOpen:r,setOpenedAccordions:t,toggleOpenedAccordion:n=>{const o=!!e.find((e=>e.id===n.id));if(r){const r=o?e.filter((e=>e.id!==n.id)):e.concat([n]);t(r)}else t(o?[]:[n])},setStayOpen:n}})();return(0,i.jsx)(q.Provider,{value:{openedAccordions:t,stayOpen:r,setOpenedAccordions:n,toggleOpenedAccordion:o,setStayOpen:s}},e)},Q=W("div",{target:"e6tqso50"})(""),G=({children:e,size:t="empty",accordionsStayOpen:r=!0,...n})=>{const{openedAccordions:o,setOpenedAccordions:s,toggleOpenedAccordion:a,setStayOpen:l}=(0,w.useContext)(q);return(0,w.useEffect)((()=>{l(r)}),[]),(0,w.useLayoutEffect)((()=>{const t=[];w.Children.map(e,(e=>{if((0,w.isValidElement)(e)&&e.props.isOpened){const{renderContent:r,renderTitle:n,...o}=e.props;t.push({id:o.id,renderContent:r.bind(null,o),renderTitle:n.bind(null,o)})}})),s(t)}),[]),(0,i.jsx)(Q,y({"data-testid":"accordion-group",tabIndex:0},n),w.Children.map(e,(e=>{if((0,w.isValidElement)(e)){const{renderContent:r,renderTitle:n,...i}=e.props,s=i.id,l=!!o?.find((e=>e.id===s));return(0,w.cloneElement)(e,{key:s,isOpened:l,size:t,onClick:()=>a({id:s,renderContent:r.bind(null,i),renderTitle:n.bind(null,i)})})}})))};var X=W("div",{target:"e3wmt1x0"})("display:flex;justify-content:space-between;flex-direction:",(({direction:e})=>e||"row"),";align-items:",(({direction:e})=>"column"===e?"normal":"center"),";"),Y=({children:e,...t})=>(0,i.jsx)(X,t,e);const K={empty:(0,i.css)("","",""),small:{name:"1iv13by",styles:"background:none;border-radius:0;box-shadow:none"},medium:{name:"1vx7lfx",styles:"border-radius:0;box-shadow:none"},large:{name:"1vq0w5m",styles:"margin-bottom:25px;min-height:70px;border-radius:20px;padding:0;&:last-child:{margin-bottom:0;}"}},J={name:"1mji0ze",styles:"user-select:none;align-items:center;cursor:pointer;border:none"},ee=e=>(0,i.css)("flex-direction:column;align-self:flex-start;height:",e?"auto":0,";max-height:",e?"initial":0,";overflow:",e?"visible":"hidden",";","",""),te=({isOpened:e,children:t,size:r="empty",...n})=>{const o=((e,t)=>({empty:(0,i.css)(ee(t),";","",""),small:(0,i.css)(ee(t),";color:",e.colors.white80,";& p{color:",e.colors.white80,";margin:15px 0;}","",""),medium:(0,i.css)(ee(t),";padding:",t?"18px 8px 23px 8px":0,";","",""),large:(0,i.css)(ee(t),";padding:",t?"19px 30px 23px 30px":0,";","","")}))((0,i.useTheme)(),e);return(0,i.jsx)(Y,y({css:o[r]},n),t)};var re=W("div",{target:"e1yl60z30"})("position:relative;display:flex;justify-content:space-between;width:100%;margin-bottom:20px;background:",(e=>e.transparent?"transparent":"initial"),";padding-left:",(e=>e.hasIcon?"30px":null),";",(({theme:e})=>e.mediaQueries.md),"{padding-left:",(e=>e.hasIcon?"40px":null),";}");const ne=["diet","calendar","home","stats","sleep","trainings","measurements","settings","plus","minus","more","more-vertical","check","check-circle","cross","user","union","notification","information","warning","attention","visible","invisible","log-out","carrot-down","carrot-up","carrot-left","carrot-right","radio-on","circle","arrow-up","arrow-down","filter","search","archive","bin","change","copy"],oe=[({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Diet"),(0,i.jsx)("path",{d:"M15.3794 1.6875C15.3294 1.68734 15.2788 1.69189 15.2278 1.70215C14.1195 1.92375 13.0319 2.82406 12.4431 3.96241C8.37168 4.3361 5.25 9.29549 5.25 15.5625C5.25 19.2844 8.27812 22.3125 12 22.3125C15.7219 22.3125 18.75 19.2844 18.75 15.5625C18.75 13.7303 18.0635 12.4566 17.3994 11.2251C16.7443 10.009 16.125 8.86013 16.125 7.125C16.125 5.77573 15.2807 4.62307 14.094 4.1587C14.5181 3.61873 15.077 3.26196 15.5222 3.17286C15.9283 3.09186 16.1917 2.69641 16.1104 2.29029C16.0395 1.93493 15.7292 1.68864 15.3794 1.6875ZM12.9441 5.43824C13.8714 5.4419 14.625 6.19689 14.625 7.125C14.625 9.2385 15.3982 10.6714 16.0796 11.9363C16.7077 13.1018 17.25 14.1086 17.25 15.5625C17.25 18.4575 14.895 20.8125 12 20.8125C9.105 20.8125 6.75 18.4575 6.75 15.5625C6.75 10.0089 9.49693 5.4871 12.884 5.4397C12.9054 5.44185 12.9236 5.43802 12.9441 5.43824ZM12 11.4375C10.2319 11.4375 9 13.6247 9 15.5874C9 17.5599 10.2337 18.9375 12 18.9375C13.7662 18.9375 15 17.5599 15 15.5874C15 13.6247 13.7681 11.4375 12 11.4375ZM12 12.9375C12.6611 12.9375 13.5 14.1849 13.5 15.5874C13.5 16.7109 12.9113 17.4375 12 17.4375C11.0887 17.4375 10.5 16.7109 10.5 15.5874C10.5 14.1849 11.3389 12.9375 12 12.9375Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Calendar"),(0,i.jsx)("path",{d:"M3.61111 0C1.6267 0 0 1.6267 0 3.61111V16.3889C0 18.3733 1.6267 20 3.61111 20H16.3889C18.3733 20 20 18.3733 20 16.3889V3.61111C20 1.6267 18.3733 0 16.3889 0H3.61111ZM3.61111 1.66667H16.3889C17.4723 1.66667 18.3333 2.52774 18.3333 3.61111V4.44444H1.66667V3.61111C1.66667 2.52774 2.52774 1.66667 3.61111 1.66667ZM1.66667 6.11111H18.3333V16.3889C18.3333 17.4723 17.4723 18.3333 16.3889 18.3333H3.61111C2.52774 18.3333 1.66667 17.4723 1.66667 16.3889V6.11111ZM5.27778 8.33333C4.90942 8.33333 4.55615 8.47966 4.29569 8.74013C4.03522 9.0006 3.88889 9.35387 3.88889 9.72222C3.88889 10.0906 4.03522 10.4438 4.29569 10.7043C4.55615 10.9648 4.90942 11.1111 5.27778 11.1111C5.64613 11.1111 5.9994 10.9648 6.25987 10.7043C6.52034 10.4438 6.66667 10.0906 6.66667 9.72222C6.66667 9.35387 6.52034 9.0006 6.25987 8.74013C5.9994 8.47966 5.64613 8.33333 5.27778 8.33333ZM10 8.33333C9.63164 8.33333 9.27837 8.47966 9.01791 8.74013C8.75744 9.0006 8.61111 9.35387 8.61111 9.72222C8.61111 10.0906 8.75744 10.4438 9.01791 10.7043C9.27837 10.9648 9.63164 11.1111 10 11.1111C10.3684 11.1111 10.7216 10.9648 10.9821 10.7043C11.2426 10.4438 11.3889 10.0906 11.3889 9.72222C11.3889 9.35387 11.2426 9.0006 10.9821 8.74013C10.7216 8.47966 10.3684 8.33333 10 8.33333ZM14.7222 8.33333C14.3539 8.33333 14.0006 8.47966 13.7401 8.74013C13.4797 9.0006 13.3333 9.35387 13.3333 9.72222C13.3333 10.0906 13.4797 10.4438 13.7401 10.7043C14.0006 10.9648 14.3539 11.1111 14.7222 11.1111C15.0906 11.1111 15.4438 10.9648 15.7043 10.7043C15.9648 10.4438 16.1111 10.0906 16.1111 9.72222C16.1111 9.35387 15.9648 9.0006 15.7043 8.74013C15.4438 8.47966 15.0906 8.33333 14.7222 8.33333ZM5.27778 13.3333C4.90942 13.3333 4.55615 13.4797 4.29569 13.7401C4.03522 14.0006 3.88889 14.3539 3.88889 14.7222C3.88889 15.0906 4.03522 15.4438 4.29569 15.7043C4.55615 15.9648 4.90942 16.1111 5.27778 16.1111C5.64613 16.1111 5.9994 15.9648 6.25987 15.7043C6.52034 15.4438 6.66667 15.0906 6.66667 14.7222C6.66667 14.3539 6.52034 14.0006 6.25987 13.7401C5.9994 13.4797 5.64613 13.3333 5.27778 13.3333ZM10 13.3333C9.63164 13.3333 9.27837 13.4797 9.01791 13.7401C8.75744 14.0006 8.61111 14.3539 8.61111 14.7222C8.61111 15.0906 8.75744 15.4438 9.01791 15.7043C9.27837 15.9648 9.63164 16.1111 10 16.1111C10.3684 16.1111 10.7216 15.9648 10.9821 15.7043C11.2426 15.4438 11.3889 15.0906 11.3889 14.7222C11.3889 14.3539 11.2426 14.0006 10.9821 13.7401C10.7216 13.4797 10.3684 13.3333 10 13.3333Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Home"),(0,i.jsx)("path",{d:"M8.97559 0.250119C8.81566 0.25558 8.66168 0.312041 8.53613 0.411252L1.42969 6.00988C0.527739 6.7207 0 7.80687 0 8.9552V18.5001C0 19.1819 0.568203 19.7501 1.25 19.7501H6.25C6.9318 19.7501 7.5 19.1819 7.5 18.5001V13.5001C7.5 13.3526 7.60248 13.2501 7.75 13.2501H10.25C10.3975 13.2501 10.5 13.3526 10.5 13.5001V18.5001C10.5 19.1819 11.0682 19.7501 11.75 19.7501H16.75C17.4318 19.7501 18 19.1819 18 18.5001V8.9552C18 7.80687 17.4723 6.7207 16.5703 6.00988L9.46387 0.411252C9.32518 0.301689 9.15225 0.244623 8.97559 0.250119ZM9 1.9552L15.6426 7.1886C16.1846 7.61578 16.5 8.26552 16.5 8.9552V18.2501H12V13.5001C12 12.5426 11.2075 11.7501 10.25 11.7501H7.75C6.79252 11.7501 6 12.5426 6 13.5001V18.2501H1.5V8.9552C1.5 8.26552 1.81537 7.61578 2.35742 7.1886L9 1.9552Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 22 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Stats"),(0,i.jsx)("path",{d:"M8.60653 3.62364C7.65543 3.81726 6.74357 4.19357 5.9236 4.73666C4.6787 5.56119 3.7015 6.73312 3.11555 8.10427C2.52961 9.47541 2.36125 10.9842 2.63175 12.4398C2.90226 13.8954 3.59949 15.2324 4.63526 16.2818C5.67104 17.3313 6.99885 18.0459 8.45078 18.3355C9.90272 18.625 11.4136 18.4764 12.7923 17.9085C14.1709 17.3405 15.3556 16.3787 16.1963 15.1447C16.7501 14.332 17.1383 13.4251 17.3444 12.4766L14.2451 12.4766C14.116 12.8294 13.943 13.1672 13.7288 13.4816C13.2234 14.2233 12.5114 14.8014 11.6827 15.1427C10.8541 15.4841 9.94598 15.5734 9.0733 15.3994C8.20061 15.2253 7.40253 14.7958 6.77997 14.165C6.15741 13.5343 5.73834 12.7306 5.57575 11.8557C5.41317 10.9809 5.51436 10.074 5.86654 9.24988C6.21873 8.42575 6.80608 7.72135 7.55433 7.22577C7.87147 7.01572 8.21151 6.84716 8.56596 6.72268L8.60653 3.62364ZM9.12977 2.0268C9.67978 1.96553 10.1232 2.41922 10.116 2.97178L10.0637 6.96592C10.0564 7.51848 9.59085 7.95088 9.06614 8.13122C8.82267 8.2149 8.58921 8.32964 8.37184 8.47361C7.87257 8.80429 7.48066 9.27429 7.24567 9.82419C7.01067 10.3741 6.94315 10.9792 7.05164 11.563C7.16013 12.1467 7.43975 12.683 7.85515 13.1038C8.27055 13.5247 8.80308 13.8113 9.38538 13.9274C9.96768 14.0436 10.5736 13.984 11.1265 13.7562C11.6795 13.5284 12.1546 13.1427 12.4917 12.6478C12.6385 12.4323 12.7563 12.2004 12.8432 11.958C13.0304 11.4357 13.4688 10.9759 14.0214 10.9759L18.0159 10.9759C18.5685 10.9759 19.0164 11.4252 18.9479 11.9743C18.7699 13.402 18.2526 14.776 17.4334 15.9785C16.4245 17.4593 15.0029 18.6135 13.3485 19.295C11.694 19.9765 9.88102 20.1548 8.13871 19.8074C6.39639 19.46 4.80302 18.6024 3.56008 17.343C2.31715 16.0837 1.48047 14.4793 1.15587 12.7326C0.83126 10.9858 1.0333 9.17532 1.73643 7.52995C2.43956 5.88458 3.61221 4.47826 5.10608 3.48882C6.31919 2.68535 7.69987 2.18609 9.12977 2.0268Z",fill:e}),(0,i.jsx)("path",{d:"M19.4116 7.47417C19.3221 7.00597 19.1878 6.54685 19.0098 6.10324C18.6446 5.19277 18.1026 4.3655 17.4148 3.66865C16.7271 2.97181 15.9069 2.41904 15.0013 2.04191C14.5601 1.85816 14.1028 1.71786 13.6358 1.62229L13.5952 4.72155C13.6706 4.74828 13.7454 4.77706 13.8193 4.80786C14.3637 5.03454 14.8566 5.36678 15.27 5.78562C15.6834 6.20446 16.0091 6.7017 16.2287 7.24894C16.2585 7.32331 16.2863 7.39842 16.312 7.47417H19.4116ZM21.0021 7.97651C21.0562 8.52571 20.5965 8.97504 20.0439 8.97504H16.0491C15.4964 8.97504 15.07 8.51513 14.8965 7.99278C14.8775 7.93573 14.8568 7.8792 14.8344 7.8233C14.6879 7.45815 14.4705 7.12637 14.1947 6.8469C13.9189 6.56743 13.59 6.34574 13.2268 6.19449C13.1712 6.17133 13.1149 6.1499 13.0581 6.1302C12.5381 5.94984 12.0838 5.51742 12.091 4.96481L12.1433 0.970385C12.1506 0.417779 12.6059 -0.0359408 13.1543 0.0253343C13.9929 0.119031 14.8143 0.330651 15.5939 0.655286C16.6806 1.10784 17.6648 1.77116 18.4901 2.60738C19.3154 3.44359 19.9658 4.43632 20.4041 5.52888C20.7185 6.31262 20.9194 7.13672 21.0021 7.97651Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Sleep"),(0,i.jsx)("path",{d:"M6.00833 2.0001C5.86499 2.002 5.7252 2.04501 5.60557 2.12402C4.00925 3.14394 2.65193 4.502 1.63258 6.0992C1.57541 6.18206 1.53552 6.2756 1.51529 6.37424C1.49506 6.47287 1.4949 6.57457 1.51482 6.67327C1.53474 6.77196 1.57434 6.86563 1.63124 6.94868C1.68814 7.03172 1.76119 7.10245 1.84601 7.15662C1.93084 7.2108 2.0257 7.24732 2.12495 7.264C2.22419 7.28068 2.32577 7.27718 2.42363 7.25371C2.52149 7.23024 2.61363 7.18728 2.69453 7.12739C2.77543 7.06751 2.84343 6.99192 2.89449 6.90516C3.79647 5.49188 4.99859 4.2891 6.41109 3.38663C6.55019 3.30043 6.65725 3.17103 6.71591 3.01821C6.77458 2.86538 6.78161 2.69754 6.73595 2.54034C6.69028 2.38314 6.59443 2.24522 6.46304 2.14766C6.33164 2.05011 6.17194 1.99828 6.00833 2.0001ZM17.9692 2.0001C17.8075 2.00312 17.6512 2.05841 17.5235 2.15772C17.3958 2.25703 17.3037 2.39502 17.2609 2.55107C17.2181 2.70711 17.2269 2.87282 17.286 3.02343C17.3451 3.17404 17.4514 3.30146 17.5889 3.38663C19.0014 4.2891 20.2035 5.49188 21.1055 6.90516C21.1566 6.99192 21.2246 7.06751 21.3055 7.12739C21.3864 7.18727 21.4785 7.23024 21.5764 7.25371C21.6742 7.27718 21.7758 7.28068 21.8751 7.26399C21.9743 7.24731 22.0692 7.2108 22.154 7.15662C22.2388 7.10244 22.3119 7.03172 22.3688 6.94868C22.4257 6.86563 22.4653 6.77196 22.4852 6.67327C22.5051 6.57457 22.5049 6.47287 22.4847 6.37424C22.4645 6.2756 22.4246 6.18206 22.3674 6.0992C21.3481 4.502 19.9907 3.14394 18.3944 2.12402C18.2684 2.04078 18.1202 1.99759 17.9692 2.0001ZM12 3.00512C6.76945 3.00512 2.51319 7.26371 2.51319 12.4971C2.51319 15.3532 3.80753 17.8881 5.80939 19.6298L4.72983 20.71C4.65795 20.779 4.60057 20.8617 4.56104 20.9532C4.5215 21.0448 4.50062 21.1432 4.49961 21.2429C4.49859 21.3426 4.51747 21.4415 4.55514 21.5338C4.5928 21.6261 4.6485 21.71 4.71896 21.7805C4.78942 21.851 4.87323 21.9067 4.96548 21.9444C5.05773 21.9821 5.15658 22.001 5.25622 22C5.35586 21.9989 5.4543 21.9781 5.54576 21.9385C5.63723 21.8989 5.71989 21.8415 5.78891 21.7696L7.01864 20.5392C8.47058 21.4429 10.168 21.9892 12 21.9892C13.832 21.9892 15.5294 21.4429 16.9814 20.5392L18.2111 21.7696C18.2801 21.8415 18.3628 21.8989 18.4542 21.9385C18.5457 21.9781 18.6441 21.9989 18.7438 22C18.8434 22.001 18.9423 21.9821 19.0345 21.9444C19.1268 21.9067 19.2106 21.851 19.281 21.7805C19.3515 21.71 19.4072 21.6261 19.4449 21.5338C19.4825 21.4415 19.5014 21.3426 19.5004 21.2429C19.4994 21.1432 19.4785 21.0448 19.439 20.9532C19.3994 20.8617 19.342 20.779 19.2702 20.71L18.1906 19.6298C20.1925 17.8881 21.4868 15.3532 21.4868 12.4971C21.4868 7.26371 17.2306 3.00512 12 3.00512ZM12 4.50386C16.421 4.50386 19.9889 8.07369 19.9889 12.4971C19.9889 16.9206 16.421 20.4904 12 20.4904C7.57898 20.4904 4.01111 16.9206 4.01111 12.4971C4.01111 8.07369 7.57898 4.50386 12 4.50386ZM10.8 13.3439L10.7992 7.7003C10.7992 7.3137 11.1125 7.00025 11.4991 7.0002C11.8857 7.00014 12.1992 7.31349 12.1992 7.70009L12.1999 12.6035L17.3302 11.3209C17.7053 11.2271 18.0853 11.4552 18.1791 11.8302C18.2729 12.2053 18.0448 12.5853 17.6698 12.6791L11.6698 14.1791C11.2947 14.2729 10.9147 14.0448 10.8209 13.6698C10.8 13.586 10.7951 13.5021 10.8043 13.4211C10.8015 13.3957 10.8001 13.37 10.8 13.3439Z",fill:e}),(0,i.jsx)("path",{d:"M5.60557 2.12402L5.63249 2.16616L5.63313 2.16574L5.60557 2.12402ZM6.00833 2.0001L6.00777 1.95011L6.00767 1.95011L6.00833 2.0001ZM1.63258 6.0992L1.67376 6.1276L1.67472 6.12609L1.63258 6.0992ZM1.51529 6.37424L1.46631 6.36419L1.51529 6.37424ZM1.51482 6.67327L1.56383 6.66337H1.56383L1.51482 6.67327ZM1.63124 6.94868L1.58999 6.97694H1.58999L1.63124 6.94868ZM2.12495 7.264L2.13323 7.21469H2.13323L2.12495 7.264ZM2.42363 7.25371L2.43529 7.30233H2.4353L2.42363 7.25371ZM2.69453 7.12739L2.66478 7.0872H2.66478L2.69453 7.12739ZM2.89449 6.90516L2.85232 6.87824L2.8514 6.8798L2.89449 6.90516ZM6.41109 3.38663L6.38475 3.34413L6.38417 3.3445L6.41109 3.38663ZM6.71591 3.01821L6.76259 3.03612L6.71591 3.01821ZM6.73595 2.54034L6.78396 2.52639V2.52639L6.73595 2.54034ZM6.46304 2.14766L6.43323 2.18781V2.18781L6.46304 2.14766ZM17.5235 2.15772L17.5542 2.19719L17.5235 2.15772ZM17.9692 2.0001L17.9684 1.95011L17.9683 1.95011L17.9692 2.0001ZM17.2609 2.55107L17.2126 2.53784V2.53784L17.2609 2.55107ZM17.5889 3.38663L17.6158 3.34449L17.6152 3.34413L17.5889 3.38663ZM21.1055 6.90516L21.1486 6.87978L21.1477 6.87826L21.1055 6.90516ZM21.3055 7.12739L21.3352 7.0872L21.3055 7.12739ZM21.5764 7.25371L21.588 7.20508L21.5764 7.25371ZM21.8751 7.26399L21.8668 7.21469L21.8751 7.26399ZM22.154 7.15662L22.1809 7.19876V7.19876L22.154 7.15662ZM22.3688 6.94868L22.3275 6.92041V6.92041L22.3688 6.94868ZM22.4852 6.67327L22.4362 6.66337V6.66337L22.4852 6.67327ZM22.3674 6.0992L22.3253 6.12611L22.3263 6.12759L22.3674 6.0992ZM18.3944 2.12402L18.3669 2.16575L18.3675 2.16616L18.3944 2.12402ZM5.80939 19.6298L5.84475 19.6652L5.88263 19.6273L5.84221 19.5921L5.80939 19.6298ZM4.72983 20.71L4.76448 20.746L4.7652 20.7453L4.72983 20.71ZM4.56104 20.9532L4.60694 20.9731L4.56104 20.9532ZM4.55514 21.5338L4.60143 21.5149L4.55514 21.5338ZM4.71896 21.7805L4.68359 21.8158L4.71896 21.7805ZM4.96548 21.9444L4.94657 21.9907H4.94657L4.96548 21.9444ZM5.25622 22L5.25571 21.95H5.25571L5.25622 22ZM5.54576 21.9385L5.52592 21.8926H5.52592L5.54576 21.9385ZM5.78891 21.7696L5.75354 21.7343L5.75283 21.735L5.78891 21.7696ZM7.01864 20.5392L7.04507 20.4967L7.01135 20.4758L6.98328 20.5039L7.01864 20.5392ZM16.9814 20.5392L17.0167 20.5039L16.9886 20.4758L16.9549 20.4967L16.9814 20.5392ZM18.2111 21.7696L18.2472 21.735L18.2465 21.7343L18.2111 21.7696ZM18.4542 21.9385L18.4741 21.8926L18.4542 21.9385ZM18.7438 22L18.7433 22.05L18.7438 22ZM19.0345 21.9444L19.0534 21.9907H19.0534L19.0345 21.9444ZM19.281 21.7805L19.3164 21.8158L19.281 21.7805ZM19.439 20.9532L19.3931 20.9731L19.439 20.9532ZM19.2702 20.71L19.2348 20.7453L19.2355 20.746L19.2702 20.71ZM18.1906 19.6298L18.1578 19.5921L18.1174 19.6273L18.1552 19.6652L18.1906 19.6298ZM10.7992 7.7003L10.8492 7.70029V7.70029L10.7992 7.7003ZM10.8 13.3439L10.85 13.3438L10.8 13.3439ZM11.4991 7.0002L11.4991 7.0502L11.4991 7.0002ZM12.1992 7.70009L12.1492 7.7001L12.1992 7.70009ZM12.1999 12.6035L12.1499 12.6035L12.1499 12.6675L12.2121 12.652L12.1999 12.6035ZM17.3302 11.3209L17.3181 11.2724L17.3302 11.3209ZM18.1791 11.8302L18.2276 11.8181L18.1791 11.8302ZM11.6698 14.1791L11.6819 14.2276H11.6819L11.6698 14.1791ZM10.8209 13.6698L10.8694 13.6576L10.8209 13.6698ZM10.8043 13.4211L10.8552 13.4269L10.854 13.4156L10.8043 13.4211ZM5.63313 2.16574C5.74477 2.092 5.87523 2.05187 6.00899 2.0501L6.00767 1.95011C5.85476 1.95213 5.70564 1.99801 5.57801 2.0823L5.63313 2.16574ZM1.67472 6.12609C2.69017 4.53503 4.0423 3.18216 5.63249 2.16616L5.57865 2.08189C3.97621 3.10571 2.61369 4.46898 1.59043 6.0723L1.67472 6.12609ZM1.56427 6.38428C1.58316 6.29223 1.62038 6.20493 1.67373 6.12759L1.59142 6.0708C1.53044 6.1592 1.48789 6.25898 1.46631 6.36419L1.56427 6.38428ZM1.56383 6.66337C1.54524 6.57126 1.54539 6.47634 1.56427 6.38428L1.46631 6.36419C1.44473 6.4694 1.44456 6.57788 1.46581 6.68316L1.56383 6.66337ZM1.67249 6.92041C1.61938 6.84291 1.58243 6.75549 1.56383 6.66337L1.46581 6.68316C1.48706 6.78844 1.5293 6.88835 1.58999 6.97694L1.67249 6.92041ZM1.87293 7.11448C1.79376 7.06392 1.72559 6.99792 1.67249 6.92041L1.58999 6.97694C1.65069 7.06552 1.72861 7.14097 1.8191 7.19876L1.87293 7.11448ZM2.13323 7.21469C2.04062 7.19912 1.95209 7.16504 1.87293 7.11448L1.8191 7.19876C1.90959 7.25655 2.01079 7.29551 2.11666 7.3133L2.13323 7.21469ZM2.41197 7.20509C2.32065 7.22699 2.22585 7.23025 2.13323 7.21469L2.11666 7.3133C2.22253 7.3311 2.3309 7.32737 2.43529 7.30233L2.41197 7.20509ZM2.66478 7.0872C2.58928 7.14309 2.5033 7.18318 2.41197 7.20509L2.4353 7.30233C2.53969 7.27729 2.63797 7.23146 2.72427 7.16758L2.66478 7.0872ZM2.8514 6.8798C2.80375 6.96078 2.74028 7.03132 2.66478 7.0872L2.72427 7.16758C2.81057 7.1037 2.88312 7.02307 2.93759 6.93052L2.8514 6.8798ZM6.38417 3.3445C4.96554 4.25088 3.75823 5.45886 2.85235 6.87826L2.93664 6.93206C3.83471 5.5249 5.03163 4.32733 6.43801 3.42877L6.38417 3.3445ZM6.66923 3.00029C6.61448 3.14292 6.51456 3.26369 6.38475 3.34413L6.43743 3.42913C6.58581 3.33718 6.70002 3.19914 6.76259 3.03612L6.66923 3.00029ZM6.68793 2.55429C6.73055 2.70101 6.72399 2.85765 6.66923 3.00029L6.76259 3.03612C6.82517 2.87311 6.83267 2.69408 6.78396 2.52639L6.68793 2.55429ZM6.43323 2.18781C6.55585 2.27885 6.64531 2.40757 6.68793 2.55429L6.78396 2.52639C6.73525 2.3587 6.63301 2.21158 6.49284 2.10752L6.43323 2.18781ZM6.00889 2.0501C6.16157 2.0484 6.31061 2.09676 6.43323 2.18781L6.49284 2.10752C6.35268 2.00345 6.18231 1.94816 6.00777 1.95011L6.00889 2.0501ZM17.5542 2.19719C17.6733 2.10451 17.8193 2.05291 17.9702 2.0501L17.9683 1.95011C17.7958 1.95333 17.629 2.01231 17.4928 2.11825L17.5542 2.19719ZM17.3091 2.56429C17.349 2.41865 17.435 2.28987 17.5542 2.19719L17.4928 2.11825C17.3566 2.22419 17.2583 2.37139 17.2126 2.53784L17.3091 2.56429ZM17.3326 3.00516C17.2774 2.86459 17.2691 2.70993 17.3091 2.56429L17.2126 2.53784C17.167 2.70429 17.1764 2.88105 17.2395 3.0417L17.3326 3.00516ZM17.6152 3.34413C17.4869 3.26464 17.3877 3.14572 17.3326 3.00516L17.2395 3.0417C17.3025 3.20236 17.4159 3.33828 17.5626 3.42914L17.6152 3.34413ZM21.1477 6.87826C20.2418 5.45886 19.0345 4.25088 17.6158 3.3445L17.562 3.42877C18.9684 4.32733 20.1653 5.5249 21.0634 6.93206L21.1477 6.87826ZM21.3352 7.0872C21.2597 7.03132 21.1963 6.96078 21.1486 6.8798L21.0624 6.93052C21.1169 7.02307 21.1894 7.1037 21.2757 7.16758L21.3352 7.0872ZM21.588 7.20508C21.4967 7.18318 21.4107 7.14309 21.3352 7.0872L21.2757 7.16758C21.362 7.23146 21.4603 7.27729 21.5647 7.30233L21.588 7.20508ZM21.8668 7.21469C21.7742 7.23025 21.6794 7.22699 21.588 7.20508L21.5647 7.30233C21.6691 7.32736 21.7775 7.3311 21.8833 7.3133L21.8668 7.21469ZM22.1271 7.11448C22.0479 7.16504 21.9594 7.19912 21.8668 7.21469L21.8833 7.3133C21.9892 7.29551 22.0904 7.25655 22.1809 7.19876L22.1271 7.11448ZM22.3275 6.92041C22.2744 6.99792 22.2062 7.06392 22.1271 7.11448L22.1809 7.19876C22.2714 7.14097 22.3493 7.06552 22.41 6.97694L22.3275 6.92041ZM22.4362 6.66337C22.4176 6.75549 22.3806 6.84291 22.3275 6.92041L22.41 6.97694C22.4707 6.88835 22.5129 6.78843 22.5342 6.68316L22.4362 6.66337ZM22.4357 6.38428C22.4546 6.47634 22.4548 6.57126 22.4362 6.66337L22.5342 6.68316C22.5554 6.57788 22.5553 6.4694 22.5337 6.36419L22.4357 6.38428ZM22.3263 6.12759C22.3796 6.20493 22.4168 6.29223 22.4357 6.38428L22.5337 6.36419C22.5121 6.25898 22.4696 6.1592 22.4086 6.0708L22.3263 6.12759ZM18.3675 2.16616C19.9577 3.18216 21.3098 4.53503 22.3253 6.12609L22.4096 6.0723C21.3863 4.46898 20.0238 3.10571 18.4214 2.08189L18.3675 2.16616ZM17.9701 2.0501C18.111 2.04775 18.2493 2.08806 18.3669 2.16574L18.422 2.0823C18.2876 1.99351 18.1295 1.94743 17.9684 1.95011L17.9701 2.0501ZM2.56319 12.4971C2.56319 7.2913 6.79709 3.05512 12 3.05512V2.95512C6.74181 2.95512 2.46319 7.23613 2.46319 12.4971H2.56319ZM5.84221 19.5921C3.85037 17.8591 2.56319 15.3376 2.56319 12.4971H2.46319C2.46319 15.3688 3.76469 17.9171 5.77657 19.6675L5.84221 19.5921ZM4.7652 20.7453L5.84475 19.6652L5.77402 19.5945L4.69447 20.6746L4.7652 20.7453ZM4.60694 20.9731C4.64383 20.8876 4.69739 20.8105 4.76447 20.746L4.69519 20.6739C4.61852 20.7476 4.55731 20.8358 4.51514 20.9334L4.60694 20.9731ZM4.5496 21.2434C4.55055 21.1504 4.57004 21.0585 4.60694 20.9731L4.51514 20.9334C4.47297 21.031 4.45069 21.1361 4.44961 21.2424L4.5496 21.2434ZM4.60143 21.5149C4.56628 21.4288 4.54866 21.3365 4.5496 21.2434L4.44961 21.2424C4.44853 21.3488 4.46867 21.4543 4.50884 21.5527L4.60143 21.5149ZM4.75432 21.7451C4.68856 21.6794 4.63658 21.6011 4.60143 21.5149L4.50884 21.5527C4.54902 21.6512 4.60843 21.7406 4.68359 21.8158L4.75432 21.7451ZM4.98439 21.8981C4.89829 21.8629 4.82008 21.8109 4.75432 21.7451L4.68359 21.8158C4.75875 21.891 4.84816 21.9505 4.94657 21.9907L4.98439 21.8981ZM5.25571 21.95C5.16272 21.9509 5.07048 21.9333 4.98439 21.8981L4.94657 21.9907C5.04499 22.0309 5.15043 22.051 5.25673 22.05L5.25571 21.95ZM5.52592 21.8926C5.44056 21.9295 5.34869 21.949 5.25571 21.95L5.25673 22.05C5.36302 22.0489 5.46803 22.0266 5.56561 21.9844L5.52592 21.8926ZM5.75283 21.735C5.68842 21.8021 5.61128 21.8557 5.52592 21.8926L5.56561 21.9844C5.66319 21.9422 5.75137 21.8809 5.82498 21.8042L5.75283 21.735ZM6.98328 20.5039L5.75354 21.7343L5.82427 21.805L7.05401 20.5745L6.98328 20.5039ZM12 21.9392C10.1782 21.9392 8.4898 21.396 7.04507 20.4967L6.99222 20.5816C8.45137 21.4899 10.1578 22.0392 12 22.0392V21.9392ZM16.9549 20.4967C15.5102 21.396 13.8218 21.9392 12 21.9392V22.0392C13.8422 22.0392 15.5486 21.4899 17.0078 20.5816L16.9549 20.4967ZM18.2465 21.7343L17.0167 20.5039L16.946 20.5745L18.1757 21.805L18.2465 21.7343ZM18.4741 21.8926C18.3887 21.8557 18.3116 21.8021 18.2472 21.735L18.175 21.8042C18.2486 21.8809 18.3368 21.9422 18.4344 21.9844L18.4741 21.8926ZM18.7443 21.95C18.6513 21.949 18.5594 21.9295 18.4741 21.8926L18.4344 21.9844C18.532 22.0266 18.637 22.0489 18.7433 22.05L18.7443 21.95ZM19.0156 21.8981C18.9295 21.9333 18.8373 21.9509 18.7443 21.95L18.7433 22.05C18.8496 22.051 18.955 22.0309 19.0534 21.9907L19.0156 21.8981ZM19.2457 21.7451C19.1799 21.8109 19.1017 21.8629 19.0156 21.8981L19.0534 21.9907C19.1518 21.9505 19.2412 21.891 19.3164 21.8158L19.2457 21.7451ZM19.3986 21.5149C19.3634 21.6011 19.3114 21.6794 19.2457 21.7451L19.3164 21.8158C19.3916 21.7406 19.451 21.6512 19.4912 21.5527L19.3986 21.5149ZM19.4504 21.2434C19.4513 21.3365 19.4337 21.4288 19.3986 21.5149L19.4912 21.5527C19.5313 21.4543 19.5515 21.3488 19.5504 21.2424L19.4504 21.2434ZM19.3931 20.9731C19.43 21.0585 19.4495 21.1504 19.4504 21.2434L19.5504 21.2424C19.5493 21.1361 19.527 21.031 19.4849 20.9334L19.3931 20.9731ZM19.2355 20.746C19.3026 20.8105 19.3562 20.8876 19.3931 20.9731L19.4849 20.9334C19.4427 20.8358 19.3815 20.7476 19.3048 20.6739L19.2355 20.746ZM18.1552 19.6652L19.2348 20.7453L19.3055 20.6746L18.226 19.5945L18.1552 19.6652ZM21.4368 12.4971C21.4368 15.3376 20.1496 17.8591 18.1578 19.5921L18.2234 19.6675C20.2353 17.9171 21.5368 15.3688 21.5368 12.4971H21.4368ZM12 3.05512C17.2029 3.05512 21.4368 7.2913 21.4368 12.4971H21.5368C21.5368 7.23613 17.2582 2.95512 12 2.95512V3.05512ZM20.0389 12.4971C20.0389 8.0461 16.4487 4.45386 12 4.45386V4.55386C16.3934 4.55386 19.9389 8.10128 19.9389 12.4971H20.0389ZM12 20.5404C16.4487 20.5404 20.0389 16.9482 20.0389 12.4971H19.9389C19.9389 16.893 16.3934 20.4404 12 20.4404V20.5404ZM3.96111 12.4971C3.96111 16.9482 7.55134 20.5404 12 20.5404V20.4404C7.60662 20.4404 4.06111 16.893 4.06111 12.4971H3.96111ZM12 4.45386C7.55134 4.45386 3.96111 8.0461 3.96111 12.4971H4.06111C4.06111 8.10128 7.60662 4.55386 12 4.55386V4.45386ZM10.7492 7.70031L10.75 13.3439L10.85 13.3438L10.8492 7.70029L10.7492 7.70031ZM11.4991 6.9502C11.0849 6.95026 10.7492 7.28609 10.7492 7.70031L10.8492 7.70029C10.8492 7.34131 11.1401 7.05025 11.4991 7.0502L11.4991 6.9502ZM12.2492 7.70009C12.2492 7.28587 11.9133 6.95013 11.4991 6.9502L11.4991 7.0502C11.8581 7.05014 12.1492 7.34111 12.1492 7.7001L12.2492 7.70009ZM12.2499 12.6035L12.2492 7.70009L12.1492 7.7001L12.1499 12.6035L12.2499 12.6035ZM12.2121 12.652L17.3424 11.3694L17.3181 11.2724L12.1878 12.555L12.2121 12.652ZM17.3424 11.3694C17.6906 11.2823 18.0435 11.4941 18.1306 11.8424L18.2276 11.8181C18.1271 11.4163 17.7199 11.1719 17.3181 11.2724L17.3424 11.3694ZM18.1306 11.8424C18.2177 12.1906 18.0059 12.5435 17.6576 12.6306L17.6819 12.7276C18.0837 12.6271 18.3281 12.2199 18.2276 11.8181L18.1306 11.8424ZM17.6576 12.6306L11.6576 14.1306L11.6819 14.2276L17.6819 12.7276L17.6576 12.6306ZM11.6576 14.1306C11.3094 14.2177 10.9565 14.0059 10.8694 13.6576L10.7724 13.6819C10.8729 14.0837 11.2801 14.3281 11.6819 14.2276L11.6576 14.1306ZM10.8694 13.6576C10.8499 13.5798 10.8454 13.5019 10.854 13.4267L10.7546 13.4154C10.7447 13.5023 10.75 13.5923 10.7724 13.6819L10.8694 13.6576ZM10.75 13.3439C10.7501 13.3718 10.7516 13.3994 10.7546 13.4265L10.854 13.4156C10.8514 13.3921 10.8501 13.3681 10.85 13.3438L10.75 13.3439Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Trainings"),(0,i.jsx)("path",{d:"M6.75 3.75C5.51634 3.75 4.5 4.76634 4.5 6V6.89062C4.26408 6.80564 4.01367 6.75 3.75 6.75C2.51634 6.75 1.5 7.76634 1.5 9V11.25H0V12.75H1.5V15C1.5 16.2329 2.51544 17.25 3.75 17.25C4.01342 17.25 4.26327 17.1968 4.5 17.1123V18C4.5 19.2329 5.51544 20.25 6.75 20.25C7.3669 20.25 7.93454 19.9971 8.34082 19.5908C8.7471 19.1845 9 18.6169 9 18V12.75H15V18C15 18.6169 15.2529 19.1845 15.6592 19.5908C16.0655 19.9971 16.6331 20.25 17.25 20.25C18.4846 20.25 19.5 19.2329 19.5 18V17.1123C19.7367 17.1968 19.9866 17.25 20.25 17.25C21.4846 17.25 22.5 16.2329 22.5 15V12.75H24V11.25H22.5V9C22.5 7.76634 21.4837 6.75 20.25 6.75C19.9863 6.75 19.7359 6.80564 19.5 6.89062V6C19.5 4.76634 18.4837 3.75 17.25 3.75C16.0154 3.75 15 4.76711 15 6V11.25H9V6C9 4.76711 7.98456 3.75 6.75 3.75ZM6.75 5.25C7.17444 5.25 7.5 5.57689 7.5 6V18C7.5 18.2111 7.41699 18.3936 7.28027 18.5303C7.14355 18.667 6.9611 18.75 6.75 18.75C6.32556 18.75 6 18.4231 6 18V6C6 5.57466 6.32466 5.25 6.75 5.25ZM17.25 5.25C17.6753 5.25 18 5.57466 18 6V9V11.4785V15V18C18 18.4231 17.6744 18.75 17.25 18.75C17.0389 18.75 16.8564 18.667 16.7197 18.5303C16.583 18.3936 16.5 18.2111 16.5 18V6C16.5 5.57689 16.8256 5.25 17.25 5.25ZM3.75 8.25C4.17444 8.25 4.5 8.57689 4.5 9V11.4785V15C4.5 15.2111 4.41699 15.3936 4.28027 15.5303C4.14355 15.667 3.9611 15.75 3.75 15.75C3.32556 15.75 3 15.4231 3 15V9C3 8.57466 3.32466 8.25 3.75 8.25ZM20.25 8.25C20.6753 8.25 21 8.57466 21 9V15C21 15.4231 20.6744 15.75 20.25 15.75C20.0389 15.75 19.8564 15.667 19.7197 15.5303C19.583 15.3936 19.5 15.2111 19.5 15V9C19.5 8.57689 19.8256 8.25 20.25 8.25Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Measurements"),(0,i.jsx)("path",{d:"M8.8254 2C5 2 2 3.60317 2 5.65079V13.5873C2 15.2222 3.95238 16.6349 6.84127 17.0794H6.92064C7.15873 17.0794 7.34921 16.9048 7.39683 16.6825C7.44444 16.4286 7.25397 16.1745 7 16.1428C4.65079 15.7777 2.95238 14.6984 2.95238 13.5873V7.53974C4.12698 8.60324 6.30159 9.30159 8.8254 9.30159H19.1429C20.1905 9.30159 21.0476 10.1587 21.0476 11.2063C21.0476 12.254 20.1905 13.1111 19.1429 13.1111H10.4127C9.26984 13.1111 8.34921 14.0317 8.34921 15.1746V19.9365C8.34921 21.0794 9.26984 22 10.4127 22H19.1429C20.7143 22 22 20.7143 22 19.1429V11.2063C22 9.63492 20.7143 8.34921 19.1429 8.34921H8.8254C5.31746 8.34921 2.95238 6.95238 2.95238 5.65079C2.95238 4.34921 5.31746 2.95238 8.8254 2.95238C12.3333 2.95238 14.6984 4.34921 14.6984 5.65079V6.92064C14.6984 7.19048 14.9048 7.39683 15.1746 7.39683C15.4444 7.39683 15.6508 7.19048 15.6508 6.92064V5.65079C15.6508 3.60317 12.6508 2 8.8254 2ZM8.8254 4.85714C8.40442 4.85714 8.00068 4.94076 7.70301 5.0896C7.40533 5.23844 7.2381 5.4403 7.2381 5.65079C7.2381 5.86128 7.40533 6.06315 7.70301 6.21199C8.00068 6.36083 8.40442 6.44444 8.8254 6.44444C9.24638 6.44444 9.65011 6.36083 9.94779 6.21199C10.2455 6.06315 10.4127 5.86128 10.4127 5.65079C10.4127 5.4403 10.2455 5.23844 9.94779 5.0896C9.65011 4.94076 9.24638 4.85714 8.8254 4.85714ZM21.0476 13.3334V19.1429C21.0476 20.1905 20.1905 21.0476 19.1429 21.0476H10.4127C9.79365 21.0476 9.30159 20.5556 9.30159 19.9365V15.1746C9.30159 14.5556 9.79365 14.0635 10.4127 14.0635H13.1111V15.9683C13.1111 16.2381 13.3175 16.4444 13.5873 16.4444C13.8571 16.4444 14.0635 16.2381 14.0635 15.9683V14.0635H17.873V15.9683C17.873 16.2381 18.0794 16.4444 18.3492 16.4444C18.619 16.4444 18.8254 16.2381 18.8254 15.9683V14.0635H19.1429C19.873 14.0635 20.5397 13.7937 21.0476 13.3334Z",fill:e,stroke:e,strokeWidth:"0.4"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Settings"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9673 14.5016C13.349 14.5016 14.4837 13.3816 14.5017 12.0001C14.5198 10.6186 13.4145 9.49868 12.0328 9.49868C10.6512 9.49868 9.5165 10.6186 9.49841 12.0001C9.48033 13.3816 10.5857 14.5016 11.9673 14.5016ZM16.0028 12.0001C15.9738 14.2106 14.1583 16.0025 11.9477 16.0025C9.73707 16.0025 7.96848 14.2106 7.99741 12.0001C8.02635 9.78971 9.84186 7.9978 12.0525 7.9978C14.2631 7.9978 16.0317 9.78971 16.0028 12.0001Z",fill:e}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0239 2.83721L10.6209 4.00046C10.281 4.98131 9.55444 5.67613 8.79735 6.0946C8.73279 6.13028 8.66885 6.16698 8.60556 6.20468C7.86065 6.64834 6.89517 6.92307 5.88366 6.71555L4.68439 6.4695C4.47399 6.42633 4.25779 6.52299 4.14768 6.70947L3.51224 7.78559C3.40213 7.97206 3.42281 8.20651 3.56357 8.36762L4.36704 9.2872C5.0414 10.059 5.27384 11.0262 5.2489 11.8881C5.24674 11.9626 5.24576 12.0373 5.24597 12.1118C5.24834 12.9737 4.99057 13.9409 4.29602 14.7127L3.46847 15.6323C3.32349 15.7934 3.29668 16.0278 3.40191 16.2143L4.00917 17.2904C4.1144 17.4769 4.32806 17.5736 4.5396 17.5304L5.74522 17.2844C6.76218 17.0768 7.72048 17.3516 8.45378 17.7952C8.5161 17.8329 8.5791 17.8697 8.64274 17.9053C9.38887 18.3238 10.0973 19.0186 10.4114 19.9995L10.784 21.1627C10.8494 21.367 11.0388 21.5048 11.2541 21.5048H12.4968C12.7122 21.5048 12.9052 21.367 12.9759 21.1627L13.3789 19.9995C13.7188 19.0186 14.4454 18.3238 15.2025 17.9053C15.267 17.8697 15.331 17.8329 15.3943 17.7952C16.1392 17.3516 17.1047 17.0768 18.1162 17.2844L19.3154 17.5304C19.5258 17.5736 19.742 17.4769 19.8521 17.2904L20.4875 16.2143C20.5976 16.0278 20.5769 15.7934 20.4362 15.6323L19.6328 14.7127C18.9584 13.9409 18.726 12.9737 18.7509 12.1118C18.7531 12.0373 18.754 11.9626 18.7538 11.8881C18.7515 11.0262 19.0092 10.059 19.7038 9.28714L20.5313 8.36762C20.6763 8.20651 20.7031 7.97206 20.5979 7.78559L19.9906 6.70947C19.8854 6.52299 19.6717 6.42633 19.4602 6.4695L18.2545 6.71554C17.2375 6.92307 16.2793 6.64834 15.546 6.20468C15.4837 6.16698 15.4207 6.13028 15.3571 6.0946C14.6109 5.67613 13.9025 4.98131 13.5884 4.00046L13.2158 2.83721C13.1504 2.63293 12.961 2.49515 12.7457 2.49515L11.503 2.49515C11.2876 2.49515 11.0946 2.63293 11.0239 2.83721ZM9.20321 3.52588C9.01369 4.07288 8.59184 4.50289 8.08436 4.7834C8.00543 4.82702 7.92726 4.87189 7.84989 4.91797C7.35101 5.2151 6.7679 5.36099 6.20381 5.24525L5.00454 4.9992C4.16291 4.82653 3.29814 5.21318 2.85769 5.95909L2.22226 7.0352C1.78181 7.78111 1.86451 8.7189 2.42756 9.36333L3.23104 10.2829C3.60754 10.7138 3.76517 11.2885 3.74851 11.8643C3.74589 11.9547 3.74471 12.0452 3.74495 12.1356C3.74654 12.7114 3.57386 13.2861 3.18608 13.717L2.35854 14.6366C1.7786 15.281 1.67135 16.2188 2.09227 16.9647L2.69954 18.0408C3.12046 18.7867 3.9751 19.1733 4.82125 19.0007L6.02688 18.7546C6.59401 18.6389 7.17331 18.7848 7.66441 19.0819C7.7406 19.128 7.81761 19.1729 7.89542 19.2166C8.39556 19.4971 8.80615 19.9271 8.98134 20.4741L9.3539 21.6373C9.61559 22.4544 10.3731 23.0056 11.2345 23.0056H12.4772C13.3386 23.0056 14.1105 22.4544 14.3936 21.6373L14.7966 20.4741C14.9861 19.9271 15.408 19.4971 15.9154 19.2166C15.9944 19.1729 16.0726 19.128 16.15 19.0819C16.6488 18.7848 17.232 18.6389 17.7961 18.7546L18.9952 19.0007C19.8368 19.1733 20.7016 18.7867 21.1421 18.0408L21.7775 16.9647C22.2179 16.2188 22.1352 15.281 21.5722 14.6366L20.7688 13.717C20.3923 13.2861 20.2346 12.7115 20.2513 12.1356C20.2539 12.0452 20.2551 11.9547 20.2549 11.8643C20.2533 11.2884 20.4259 10.7138 20.8137 10.2829L21.6412 9.36333C22.2212 8.7189 22.3284 7.78111 21.9075 7.03521L21.3002 5.95909C20.8793 5.21318 20.0247 4.82653 19.1785 4.9992L17.9728 5.24525C17.4057 5.36098 16.8264 5.21509 16.3353 4.91797C16.2592 4.87189 16.1822 4.82702 16.1044 4.7834C15.6042 4.50289 15.1937 4.07288 15.0185 3.52588L14.6459 2.36262C14.3842 1.54552 13.6267 0.994385 12.7653 0.994385H11.5226C10.6613 0.994385 9.8893 1.54552 9.60622 2.36262L9.20321 3.52588Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Plus"),(0,i.jsx)("path",{d:"M1 5H9",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5 9V1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 10 2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Minus"),(0,i.jsx)("path",{d:"M1 1H9",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"More"),(0,i.jsx)("path",{d:"M5.4001 10.2C4.4101 10.2 3.6001 11.01 3.6001 12C3.6001 12.99 4.4101 13.8 5.4001 13.8C6.3901 13.8 7.2001 12.99 7.2001 12C7.2001 11.01 6.3901 10.2 5.4001 10.2Z",fill:e}),(0,i.jsx)("path",{d:"M12.0002 10.2C11.0102 10.2 10.2002 11.01 10.2002 12C10.2002 12.99 11.0102 13.8 12.0002 13.8C12.9902 13.8 13.8002 12.99 13.8002 12C13.8002 11.01 12.9902 10.2 12.0002 10.2Z",fill:e}),(0,i.jsx)("path",{d:"M18.6003 10.2C17.6103 10.2 16.8003 11.01 16.8003 12C16.8003 12.99 17.6103 13.8 18.6003 13.8C19.5903 13.8 20.4003 12.99 20.4003 12C20.4003 11.01 19.5903 10.2 18.6003 10.2Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t/4+"px",height:`${t}px`,viewBox:`0 0 ${t/4} ${t}`,fill:"none"},(0,i.jsx)("title",null,"More vertical"),(0,i.jsx)("circle",{cx:"1.66016",cy:"2",r:"1.5",fill:e}),(0,i.jsx)("circle",{cx:"1.66016",cy:"8",r:"1.5",fill:e}),(0,i.jsx)("circle",{cx:"1.66016",cy:"14",r:"1.5",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 11 8",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Check"),(0,i.jsx)("path",{d:"M1 3.83L3.83 6.66L9.5 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Check circle"),(0,i.jsx)("path",{d:"M10.0003 18.3334C14.5837 18.3334 18.3337 14.5834 18.3337 10.0001C18.3337 5.41675 14.5837 1.66675 10.0003 1.66675C5.41699 1.66675 1.66699 5.41675 1.66699 10.0001C1.66699 14.5834 5.41699 18.3334 10.0003 18.3334Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.45801 9.99993L8.81634 12.3583L13.5413 7.6416",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Cross"),(0,i.jsx)("path",{d:"M1 6.66L6.66 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.66 6.66L1 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"User"),(0,i.jsx)("path",{d:"M12.1202 12.78C12.0502 12.77 11.9602 12.77 11.8802 12.78C10.1202 12.72 8.72021 11.28 8.72021 9.50998C8.72021 7.69998 10.1802 6.22998 12.0002 6.22998C13.8102 6.22998 15.2802 7.69998 15.2802 9.50998C15.2702 11.28 13.8802 12.72 12.1202 12.78Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M18.7398 19.3801C16.9598 21.0101 14.5998 22.0001 11.9998 22.0001C9.39977 22.0001 7.03977 21.0101 5.25977 19.3801C5.35977 18.4401 5.95977 17.5201 7.02977 16.8001C9.76977 14.9801 14.2498 14.9801 16.9698 16.8001C18.0398 17.5201 18.6398 18.4401 18.7398 19.3801Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 3 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Union"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.50879 2C0.956504 2 0.508789 1.55228 0.508789 1C0.508789 0.447715 0.956504 0 1.50879 0H1.51777C2.07006 0 2.51777 0.447715 2.51777 1C2.51777 1.55228 2.07006 2 1.51777 2H1.50879ZM2.21416 9C2.21416 9.3866 1.90076 9.7 1.51416 9.7C1.12756 9.7 0.81416 9.3866 0.81416 9V4C0.81416 3.6134 1.12756 3.3 1.51416 3.3C1.90076 3.3 2.21416 3.6134 2.21416 4V9Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 22",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Notification"),(0,i.jsx)("path",{d:"M0.776752 7.36345C0.819992 7.37426 0.865032 7.37966 0.908271 7.37966C1.14969 7.37966 1.37129 7.21572 1.43255 6.97069C1.9334 4.96728 3.12608 3.19267 4.78899 1.97837C5.0304 1.80181 5.08265 1.46491 4.90609 1.22349C4.72953 0.98207 4.39263 0.929823 4.15121 1.10638C2.28472 2.47022 0.946106 4.45922 0.383997 6.70946C0.31013 6.99772 0.48669 7.29138 0.776752 7.36345ZM15.2114 1.97837C16.8743 3.19267 18.0652 4.96548 18.5679 6.97069C18.6291 7.21572 18.8489 7.37966 19.0921 7.37966C19.1354 7.37966 19.1804 7.37426 19.2237 7.36345C19.5137 7.29138 19.6885 6.99772 19.6164 6.70765C19.0543 4.45922 17.7157 2.46842 15.8492 1.10458C15.6078 0.928021 15.2709 0.980269 15.0943 1.22169C14.9178 1.46491 14.97 1.80181 15.2114 1.97837ZM1.92799 15.3879C1.75144 16.0924 1.90638 16.8256 2.35498 17.3967C2.80179 17.9697 3.4756 18.2976 4.20165 18.2976H6.80681C7.06445 19.8289 8.39765 21 10.0011 21C11.6046 21 12.936 19.8289 13.1954 18.2976H15.8006C16.5266 18.2976 17.2004 17.9697 17.6472 17.3967C18.094 16.8238 18.249 16.0924 18.0742 15.3879L16.1194 7.58325C15.4168 4.7691 12.8999 2.80352 9.9993 2.80352C7.09868 2.80352 4.5818 4.7691 3.87916 7.58325L1.92799 15.3879ZM9.9993 19.919C8.99399 19.919 8.14903 19.229 7.90761 18.2976H12.0892C11.8496 19.229 11.0046 19.919 9.9993 19.919ZM9.9993 3.8845C12.4027 3.8845 14.489 5.51317 15.0709 7.84448L17.0221 15.6492C17.1176 16.0293 17.0329 16.4221 16.7933 16.7319C16.5518 17.04 16.1897 17.2166 15.7988 17.2166H4.19985C3.8089 17.2166 3.44677 17.04 3.20535 16.7319C2.96393 16.4239 2.88106 16.0293 2.97654 15.6492L4.92771 7.84448C5.50964 5.51317 7.59593 3.8845 9.9993 3.8845Z",fill:e,stroke:e,strokeWidth:"0.3"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Information"),(0,i.jsx)("path",{d:"M9.99998 17.8889C14.3651 17.8889 17.9365 14.3175 17.9365 9.95238C17.9365 5.5873 14.3651 2.01587 9.99998 2.01587C5.6349 2.01587 2.06348 5.5873 2.06348 9.95238C2.06348 14.3175 5.6349 17.8889 9.99998 17.8889Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M9.99573 7.77759C9.44344 7.77759 8.99573 7.32987 8.99573 6.77759C8.99573 6.2253 9.44344 5.77759 9.99573 5.77759H10.0029C10.5551 5.77759 11.0029 6.2253 11.0029 6.77759C11.0029 7.32987 10.5551 7.77759 10.0029 7.77759H9.99573ZM10.7 13.1268C10.7 13.5134 10.3866 13.8268 9.99999 13.8268C9.61339 13.8268 9.29999 13.5134 9.29999 13.1268V9.15854C9.29999 8.77194 9.61339 8.45854 9.99999 8.45854C10.3866 8.45854 10.7 8.77194 10.7 9.15854V13.1268Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Warning"),(0,i.jsx)("path",{d:"M9.65357 1.32393C9.80753 1.05726 10.1924 1.05726 10.3464 1.32393L18.5118 15.4668C18.6657 15.7334 18.4733 16.0668 18.1654 16.0668H1.8346C1.52668 16.0668 1.33423 15.7334 1.48819 15.4668L9.65357 1.32393Z",stroke:e,strokeWidth:"1.2"}),(0,i.jsx)("path",{d:"M10.7003 6.19072C10.7003 5.80412 10.3869 5.49072 10.0003 5.49072C9.61368 5.49072 9.30028 5.80412 9.30028 6.19072V10.159C9.30028 10.5456 9.61368 10.859 10.0003 10.859C10.3869 10.859 10.7003 10.5456 10.7003 10.159V6.19072ZM9.99609 12.1749C9.44381 12.1749 8.99609 12.6226 8.99609 13.1749C8.99609 13.7272 9.44381 14.1749 9.99609 14.1749H10.0032C10.5555 14.1749 11.0032 13.7272 11.0032 13.1749C11.0032 12.6226 10.5555 12.1749 10.0032 12.1749H9.99609Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Attention"),(0,i.jsx)("path",{d:"M10 1.90479L2.85718 6.1905V13.8095L10 18.5715L17.1429 13.8095V6.1905L10 1.90479Z",stroke:e,strokeWidth:"1.2"}),(0,i.jsx)("path",{d:"M10.7004 6.19048C10.7004 5.80388 10.387 5.49048 10.0004 5.49048C9.6138 5.49048 9.3004 5.80388 9.3004 6.19048V10.1587C9.3004 10.5453 9.6138 10.8587 10.0004 10.8587C10.387 10.8587 10.7004 10.5453 10.7004 10.1587V6.19048ZM9.99622 12.1746C9.44393 12.1746 8.99622 12.6224 8.99622 13.1746C8.99622 13.7269 9.44393 14.1746 9.99622 14.1746H10.0033C10.5556 14.1746 11.0033 13.7269 11.0033 13.1746C11.0033 12.6224 10.5556 12.1746 10.0033 12.1746H9.99622Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Visible"),(0,i.jsx)("path",{d:"M15.5799 11.9999C15.5799 13.9799 13.9799 15.5799 11.9999 15.5799C10.0199 15.5799 8.41992 13.9799 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C13.9799 8.41992 15.5799 10.0199 15.5799 11.9999Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M11.9998 20.27C15.5298 20.27 18.8198 18.19 21.1098 14.59C22.0098 13.18 22.0098 10.81 21.1098 9.39997C18.8198 5.79997 15.5298 3.71997 11.9998 3.71997C8.46984 3.71997 5.17984 5.79997 2.88984 9.39997C1.98984 10.81 1.98984 13.18 2.88984 14.59C5.17984 18.19 8.46984 20.27 11.9998 20.27Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Invisible"),(0,i.jsx)("path",{d:"M14.5299 9.46992L9.46992 14.5299C8.81992 13.8799 8.41992 12.9899 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C12.9899 8.41992 13.8799 8.81992 14.5299 9.46992Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M17.8198 5.76998C16.0698 4.44998 14.0698 3.72998 11.9998 3.72998C8.46984 3.72998 5.17984 5.80998 2.88984 9.40998C1.98984 10.82 1.98984 13.19 2.88984 14.6C3.67984 15.84 4.59984 16.91 5.59984 17.77",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M8.41992 19.5299C9.55992 20.0099 10.7699 20.2699 11.9999 20.2699C15.5299 20.2699 18.8199 18.1899 21.1099 14.5899C22.0099 13.1799 22.0099 10.8099 21.1099 9.39993C20.7799 8.87993 20.4199 8.38993 20.0499 7.92993",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M15.5099 12.7C15.2499 14.11 14.0999 15.26 12.6899 15.52",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M9.47 14.53L2 22",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M21.9998 2L14.5298 9.47",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 16 15",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Log out"),(0,i.jsx)("path",{d:"M7.9751 13.7292H2.36876C2.0249 13.7292 1.74585 13.4502 1.74585 13.1063V1.89369C1.74585 1.54983 2.02493 1.27078 2.36876 1.27078H7.9751C8.31957 1.27078 8.59801 0.992344 8.59801 0.647871C8.59801 0.303398 8.31957 0.0249023 7.9751 0.0249023H2.36876C1.33845 0.0249023 0.5 0.863379 0.5 1.89369V13.1063C0.5 14.1366 1.33845 14.9751 2.36876 14.9751H7.9751C8.31957 14.9751 8.59801 14.6966 8.59801 14.3522C8.59801 14.0077 8.31957 13.7292 7.9751 13.7292Z",fill:e}),(0,i.jsx)("path",{d:"M15.3144 7.05653L11.527 3.31898C11.2828 3.07729 10.8879 3.08042 10.6462 3.32522C10.4045 3.57003 10.407 3.96434 10.6524 4.20604L13.359 6.87712H6.10631C5.76184 6.87712 5.4834 7.15556 5.4834 7.50003C5.4834 7.8445 5.76184 8.12297 6.10631 8.12297H13.359L10.6524 10.7941C10.407 11.0358 10.4051 11.4301 10.6462 11.6749C10.7683 11.7982 10.929 11.8605 11.0897 11.8605C11.2479 11.8605 11.4061 11.8007 11.527 11.6811L15.3144 7.94353C15.4327 7.82643 15.5 7.66693 15.5 7.5C15.5 7.33313 15.4333 7.17428 15.3144 7.05653Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot down"),(0,i.jsx)("path",{d:"M17 1L9 9L1 1",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot up"),(0,i.jsx)("path",{d:"M17 9.5L9 1.5L1 9.5",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 11 18",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot left"),(0,i.jsx)("path",{d:"M9.5 0.999999L1.5 9L9.5 17",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 11 18",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot right"),(0,i.jsx)("path",{d:"M1.5 0.999999L9.5 9L1.5 17",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 21",fill:"#fff",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Radio on"),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",fill:e}),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",stroke:e,strokeWidth:"1.4"}),(0,i.jsx)("circle",{cx:"10",cy:"10.7",r:"5",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 21",fill:"#fff"},(0,i.jsx)("title",null,"Circle"),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",fill:"none"}),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",stroke:e,strokeWidth:"1.4"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 7 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Arrow Up"),(0,i.jsx)("path",{d:"M3.17757 0.92293L3.17757 7.07727",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M0.416507 3.40515L3.17751 0.922901L5.93896 3.40515",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 7 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Arrow Down"),(0,i.jsx)("path",{d:"M3.1779 7.07707L3.1779 0.922729",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5.93896 4.59485L3.17796 7.0771L0.416504 4.59485",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 21 20",fill:"none"},(0,i.jsx)("title",null,"Filter"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0189 10.0002C16.8598 10.0002 18.3522 8.50775 18.3522 6.66683C18.3522 4.82588 16.8598 3.3335 15.0189 3.3335C13.4657 3.3335 12.1606 4.3958 11.7905 5.8335H2.51888C2.05865 5.8335 1.68555 6.2066 1.68555 6.66683C1.68555 7.12707 2.05865 7.50016 2.51888 7.50016H11.7905C12.1606 8.93783 13.4657 10.0002 15.0189 10.0002ZM13.3522 6.66683C13.3522 7.5873 14.0984 8.3335 15.0189 8.3335C15.9394 8.3335 16.6855 7.5873 16.6855 6.66683C16.6855 5.74635 15.9394 5.00016 15.0189 5.00016C14.0984 5.00016 13.3522 5.74635 13.3522 6.66683ZM1.68555 13.3335C1.68555 11.4926 3.17793 10.0002 5.01888 10.0002C6.57208 10.0002 7.87716 11.0625 8.2472 12.5002H17.5189C17.9791 12.5002 18.3522 12.8732 18.3522 13.3335C18.3522 13.7937 17.9791 14.1668 17.5189 14.1668H8.2472C7.87716 15.6045 6.57208 16.6668 5.01888 16.6668C3.17793 16.6668 1.68555 15.1744 1.68555 13.3335ZM6.68555 13.3335C6.68555 12.413 5.93936 11.6668 5.01888 11.6668C4.09841 11.6668 3.35221 12.413 3.35221 13.3335C3.35221 14.254 4.09841 15.0002 5.01888 15.0002C5.93936 15.0002 6.68555 14.254 6.68555 13.3335Z",fill:e})),({fill:e="#55575A",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:`0 0 ${t} ${t}`,fill:"none"},(0,i.jsx)("title",null,"Search"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.82917 1.47028C12.1756 3.5284 12.5224 7.05414 10.6219 9.52998L15 13.9081L13.9081 15L9.52998 10.6219C7.05414 12.5224 3.5284 12.1756 1.47028 9.82917C-0.587839 7.48275 -0.472077 3.94189 1.73491 1.73491C3.94189 -0.472077 7.48275 -0.587839 9.82917 1.47028ZM1.5 6C1.5 8.48528 3.51472 10.5 6 10.5C8.48528 10.5 10.5 8.48528 10.5 6C10.5 3.51472 8.48528 1.5 6 1.5C3.51472 1.5 1.5 3.51472 1.5 6Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Archive"),(0,i.jsx)("g",{clipPath:"url(#clip0_532_12720)"},(0,i.jsx)("path",{d:"M12.5 14.2188H2.5C2.04426 14.2184 1.60728 14.0372 1.28503 13.715C0.96277 13.3927 0.781581 12.9557 0.78125 12.5V5C0.78125 4.87568 0.830636 4.75645 0.918544 4.66854C1.00645 4.58064 1.12568 4.53125 1.25 4.53125H13.75C13.8743 4.53125 13.9936 4.58064 14.0815 4.66854C14.1694 4.75645 14.2188 4.87568 14.2188 5V12.5C14.2184 12.9557 14.0372 13.3927 13.715 13.715C13.3927 14.0372 12.9557 14.2184 12.5 14.2188ZM1.71875 5.46875V12.5C1.71908 12.7071 1.8015 12.9056 1.94794 13.0521C2.09438 13.1985 2.2929 13.2809 2.5 13.2813H12.5C12.7071 13.2809 12.9056 13.1985 13.0521 13.0521C13.1985 12.9056 13.2809 12.7071 13.2813 12.5V5.46875H1.71875Z",fill:e}),(0,i.jsx)("path",{d:"M13.75 5.46876H1.24998C1.17011 5.46875 1.09156 5.44834 1.02179 5.40945C0.952017 5.37056 0.893342 5.31449 0.851329 5.24656C0.809316 5.17862 0.78536 5.10108 0.781733 5.02129C0.778107 4.94149 0.794931 4.8621 0.830609 4.79063L2.53311 1.38563C2.62339 1.20356 2.76288 1.05043 2.93577 0.943609C3.10865 0.836785 3.30801 0.780542 3.51123 0.781257H11.4887C11.692 0.780526 11.8915 0.836833 12.0644 0.943779C12.2373 1.05073 12.3767 1.20402 12.4669 1.38626L14.1694 4.79063C14.205 4.8621 14.2219 4.94149 14.2182 5.02129C14.2146 5.10108 14.1907 5.17862 14.1486 5.24656C14.1066 5.31449 14.048 5.37056 13.9782 5.40945C13.9084 5.44834 13.8299 5.46875 13.75 5.46876ZM2.00873 4.53126H12.9912L11.6281 1.80501C11.6153 1.779 11.5955 1.75711 11.5708 1.74186C11.5462 1.7266 11.5177 1.7186 11.4887 1.71876H3.51123C3.48234 1.71869 3.45401 1.72666 3.42939 1.74178C3.40477 1.7569 3.38485 1.77858 3.37186 1.80438L2.00873 4.53126Z",fill:e}),(0,i.jsx)("path",{d:"M7.5 11.7188C7.37568 11.7188 7.25645 11.6694 7.16854 11.5815C7.08064 11.4935 7.03125 11.3743 7.03125 11.25V7.5C7.03125 7.37568 7.08064 7.25645 7.16854 7.16854C7.25645 7.08064 7.37568 7.03125 7.5 7.03125C7.62432 7.03125 7.74355 7.08064 7.83146 7.16854C7.91936 7.25645 7.96875 7.37568 7.96875 7.5V11.25C7.96875 11.3743 7.91936 11.4935 7.83146 11.5815C7.74355 11.6694 7.62432 11.7188 7.5 11.7188Z",fill:e}),(0,i.jsx)("path",{d:"M7.50003 11.7188C7.43846 11.7189 7.37747 11.7069 7.32061 11.6832C7.26375 11.6596 7.21214 11.625 7.16878 11.5813L5.29378 9.70628C5.21098 9.61742 5.1659 9.49989 5.16804 9.37845C5.17018 9.25701 5.21938 9.14115 5.30526 9.05526C5.39115 8.96938 5.50701 8.92018 5.62845 8.91804C5.74989 8.9159 5.86742 8.96098 5.95628 9.04378L7.50003 10.5869L9.04378 9.04378C9.13264 8.96098 9.25016 8.9159 9.3716 8.91804C9.49304 8.92018 9.60891 8.96938 9.69479 9.05526C9.78067 9.14115 9.82987 9.25701 9.83201 9.37845C9.83415 9.49989 9.78908 9.61742 9.70628 9.70628L7.83128 11.5813C7.78791 11.625 7.7363 11.6596 7.67944 11.6832C7.62258 11.7069 7.56159 11.7189 7.50003 11.7188Z",fill:e})),(0,i.jsx)("defs",null,(0,i.jsx)("clipPath",{id:"clip0_532_12720"},(0,i.jsx)("rect",{width:t,height:t,fill:"white"})))),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Bin"),(0,i.jsx)("path",{d:"M9.14062 11.1328C9.39947 11.1328 9.60938 10.9229 9.60938 10.6641V5.97656C9.60938 5.71772 9.39947 5.50781 9.14062 5.50781C8.88178 5.50781 8.67188 5.71772 8.67188 5.97656V10.6641C8.67188 10.9229 8.88178 11.1328 9.14062 11.1328Z",fill:e}),(0,i.jsx)("path",{d:"M5.85938 11.1328C6.11822 11.1328 6.32812 10.9229 6.32812 10.6641V5.97656C6.32812 5.71772 6.11822 5.50781 5.85938 5.50781C5.60053 5.50781 5.39062 5.71772 5.39062 5.97656V10.6641C5.39062 10.9229 5.60053 11.1328 5.85938 11.1328Z",fill:e}),(0,i.jsx)("path",{d:"M9.375 1.99219C9.63384 1.99219 9.84375 1.78228 9.84375 1.52344C9.84375 1.26459 9.63384 1.05469 9.375 1.05469H5.625C5.36616 1.05469 5.15625 1.26459 5.15625 1.52344C5.15625 1.78228 5.36616 1.99219 5.625 1.99219H9.375Z",fill:e}),(0,i.jsx)("path",{d:"M2.34375 2.46094C2.08491 2.46094 1.875 2.67084 1.875 2.92969C1.875 3.18853 2.08491 3.39844 2.34375 3.39844H2.8125V12.0234C2.8125 13.0828 3.675 13.9453 4.73438 13.9453H10.2656C11.325 13.9453 12.1875 13.0828 12.1875 12.0234V3.39844H12.6562C12.9151 3.39844 13.125 3.18853 13.125 2.92969C13.125 2.67084 12.9151 2.46094 12.6562 2.46094H11.7188H3.28125H2.34375ZM11.25 3.39844V12.0234C11.25 12.5672 10.8094 13.0078 10.2656 13.0078H4.73438C4.19063 13.0078 3.75 12.5672 3.75 12.0234V3.39844H11.25Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Change"),(0,i.jsx)("path",{d:"M4.3628 1.24246C4.20043 1.2473 4.04632 1.31518 3.93312 1.43169L1.43311 3.93289C1.37491 3.99095 1.32874 4.05988 1.29723 4.13582C1.26573 4.21175 1.24951 4.29316 1.24951 4.37537C1.24951 4.45758 1.26573 4.53898 1.29723 4.61492C1.32874 4.69085 1.37491 4.75979 1.43311 4.81785L3.93312 7.31911C3.99087 7.37893 4.05998 7.42662 4.1364 7.4594C4.21283 7.49217 4.29502 7.50939 4.37817 7.51C4.46132 7.51062 4.54376 7.49464 4.62066 7.463C4.69755 7.43136 4.76736 7.38463 4.826 7.32567C4.88463 7.26671 4.93092 7.19671 4.96213 7.11964C4.99335 7.04257 5.00888 6.95999 5.0078 6.87685C5.00673 6.7937 4.98907 6.71159 4.95588 6.63535C4.92268 6.55911 4.8746 6.49028 4.81446 6.43285L3.38258 4.99857H13.1238C13.2897 4.99857 13.4488 4.93265 13.5662 4.81532C13.6835 4.698 13.7494 4.53884 13.7494 4.37292C13.7494 4.20699 13.6835 4.04791 13.5662 3.93058C13.4488 3.81325 13.2897 3.74733 13.1238 3.74733H3.38868L4.81446 2.31788C4.90548 2.23039 4.96787 2.11734 4.99342 1.9937C5.01897 1.87006 5.00647 1.74158 4.95759 1.62518C4.9087 1.50878 4.82571 1.4099 4.71954 1.34158C4.61337 1.27326 4.489 1.23873 4.3628 1.24246ZM10.6189 7.49364C10.4953 7.49464 10.3747 7.53226 10.2725 7.60177C10.1703 7.67128 10.091 7.76955 10.0446 7.88414C9.99819 7.99873 9.98683 8.12455 10.0119 8.2456C10.037 8.36665 10.0974 8.47752 10.1856 8.56423L11.6199 9.99973H1.87623C1.71284 10.0033 1.55734 10.0708 1.44306 10.1876C1.32877 10.3044 1.26477 10.4613 1.26477 10.6247C1.26477 10.7882 1.32877 10.9451 1.44306 11.062C1.55734 11.1788 1.71284 11.2462 1.87623 11.2498H11.6162L10.1856 12.6841C10.1201 12.7401 10.067 12.8091 10.0295 12.8866C9.99196 12.9641 9.97088 13.0486 9.96756 13.1347C9.96424 13.2208 9.97874 13.3066 10.0102 13.3868C10.0416 13.467 10.0893 13.5399 10.1502 13.6009C10.2111 13.6618 10.2839 13.7094 10.3641 13.7409C10.4444 13.7723 10.5302 13.7868 10.6163 13.7835C10.7024 13.7801 10.7868 13.759 10.8644 13.7215C10.9419 13.684 11.0109 13.6309 11.0669 13.5655L13.5669 11.0654C13.6833 10.9483 13.7487 10.7899 13.7487 10.6247C13.7487 10.4596 13.6833 10.3012 13.5669 10.1841L11.0669 7.68287C11.0087 7.623 10.939 7.57537 10.8621 7.54287C10.7851 7.51038 10.7024 7.49364 10.6189 7.49364Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Copy"),(0,i.jsx)("g",{clipPath:"url(#clip0_532_12716)"},(0,i.jsx)("path",{d:"M12.8755 14.5239H5.40479C4.49601 14.5239 3.75684 13.7848 3.75684 12.876V5.40527C3.75684 4.4965 4.49601 3.75732 5.40479 3.75732H12.8755C13.7843 3.75732 14.5234 4.4965 14.5234 5.40527V12.876C14.5234 13.7848 13.7843 14.5239 12.8755 14.5239ZM5.40479 4.85596C5.10189 4.85596 4.85547 5.10238 4.85547 5.40527V12.876C4.85547 13.1789 5.10189 13.4253 5.40479 13.4253H12.8755C13.1784 13.4253 13.4248 13.1789 13.4248 12.876V5.40527C13.4248 5.10238 13.1784 4.85596 12.8755 4.85596H5.40479ZM2.6582 10.1294H2.10889C1.80599 10.1294 1.55957 9.88297 1.55957 9.58008V2.10938C1.55957 1.80648 1.80599 1.56006 2.10889 1.56006H9.57959C9.88249 1.56006 10.1289 1.80648 10.1289 2.10938V2.63123H11.2275V2.10938C11.2275 1.2006 10.4884 0.461426 9.57959 0.461426H2.10889C1.20011 0.461426 0.460938 1.2006 0.460938 2.10938V9.58008C0.460938 10.4889 1.20011 11.228 2.10889 11.228H2.6582V10.1294Z",fill:e})),(0,i.jsx)("defs",null,(0,i.jsx)("clipPath",{id:"clip0_532_12716"},(0,i.jsx)("rect",{width:t,height:t,fill:"white"}))))],ie=ne.reduce(((e,t,r)=>(e[t]=oe[r],e)),{});var se=({name:e,color:t,size:r})=>{const n=ie[e];return null==n?null:(0,i.jsx)(n,{fill:t,size:r})},ae=({name:e,color:t="#000",size:r=24})=>(0,i.jsx)(se,{name:e,color:t,size:r});const le=re.withComponent("button",{target:"e1d2nzq00"}),ce=({title:e,size:t="empty",id:r,isOpened:n,ariaControls:o,onClick:s})=>{const a=((e,t)=>({empty:(0,i.css)(J,";","",""),small:(0,i.css)(J," color:",e.colors.white80,";margin-bottom:0;height:20px;font-size:16px;font-weight:500;& svg{width:16px;height:16px;& path{stroke:",e.colors.greyArrowSidebar,";stroke-width:1.6px;}}","",""),medium:(0,i.css)(J," color:",e.colors.greyDropdownText,";margin-bottom:0;height:40px;font-weight:500;font-size:14px;padding:11px 22px 9px 17px;border:1px solid ",e.colors.greyDropdownMain,";border-radius:5px;& svg{width:16px;height:8px;& path{stroke:",e.colors.greyDropdownText,";stroke-width:1.2px;}}","",""),large:(0,i.css)(J," margin-bottom:0;height:70px;font-weight:700;font-size:20px;padding:23px 22px 23px 30px;background:",t?e.colors.greyLighter:"none",";border-top-left-radius:20px;border-top-right-radius:20px;& svg{width:20px;height:10px;& path{stroke:",e.colors.greyDarker,";stroke-width:1.2px;}}","","")}))((0,i.useTheme)(),n);return(0,i.jsx)(le,{type:"button","data-testid":"accordion-title",css:a[t],id:`${r}`,"aria-expanded":n,"aria-controls":o,onClick:()=>{"function"==typeof s&&s()}},(0,i.jsx)(w.Fragment,null,e,n?(0,i.jsx)(ae,{name:"carrot-down"}):(0,i.jsx)(ae,{name:"carrot-up"})))};var ue=W("div",{target:"e1ddmilo0"})("display:flex;flex-direction:column;align-items:center;padding:20px;background:#fff;box-shadow:",(({theme:e,noShadow:t})=>!t&&`0px 10px 40px ${e.colors.greyDarker60}`),";border-radius:10px;border:none;cursor:",(({onClick:e})=>e?"pointer":"default"),";");const de=({title:e,isOpened:t,ariaControls:r,id:n,size:o="empty",renderTitle:s,renderContent:a,onClick:l,...c})=>(0,i.jsx)(ue,y({role:"region",tabIndex:0,title:e,css:K[o]},c),s({id:n,isOpened:t,title:e,size:o,ariaControls:r,onClick:l}),a({id:`${r}`,isOpened:t,size:o,"aria-labelledby":`${n}`})),pe=W("div",{target:"e1gxdpq60"})("border-radius:100px;overflow:hidden;width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;background:",(({image:e})=>`url(${e})`)," center no-repeat;");var ge=pe,fe=W("div",{target:"e1kzcm730"})({name:"1peiwb3",styles:"display:inline-block;font-family:Manrope,sans-serif;font-style:normal;font-weight:500;border-radius:6px;text-align:center;color:#fff;white-space:pre"});const he={small:{name:"56mou",styles:"height:18px;padding:4px 8px;font-size:0.438rem"},medium:{name:"a7vpx0",styles:"height:24px;padding:4px 15px;font-size:0.688rem"},large:{name:"n10po3",styles:"height:32px;padding:4px 18px;font-size:1rem"}},xe={pink:s,yellow:c,yellowWarm:u,green:d,turquoise:p,purple:g,blueLight:h,blue:f},me=k().forwardRef((function({color:e="purple",size:t="medium",children:r,...n},o){return(0,i.jsx)(fe,y({ref:o,css:[xe[e],he[t],"","","",""]},n),r||null)}));var be=me,ye=W("div",{target:"ecpj7sg0"})("display:flex;align-items:",(({alignItems:e})=>e||"center"),";width:100%;flex-direction:",(({direction:e})=>e||"row"),";");const ve=W("button",{target:"eaatt7n0"})({name:"by1nkt",styles:"display:inline-flex;align-items:center;position:relative;border:none;padding:0 16px;font:inherit;cursor:pointer;outline:inherit;border-radius:12px"}),we=({text:e,className:t,testId:r})=>(0,i.jsx)("span",{className:t,"data-testid":r},e),Ce=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"white-button-text",text:e,css:(0,i.css)({color:t.colors.white},"","")})},ke=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"grey-button-text",text:e,css:(0,i.css)({color:t.colors.greyDarker},"","")})},je=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"greylight-button-text",text:e,css:(0,i.css)({color:t.colors.greyButtonGradient},"","")})},Le=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"disabled-button-text",text:e,css:(0,i.css)({color:t.colors.grey40},"","")})},Se={name:"3s76dy",styles:"display:grid;span{display:inline-block;margin:auto;}"},Me={name:"rbcvie",styles:"display:inline-flex;margin-right:6px"},Te={name:"1640ilx",styles:"display:inline-flex;margin-left:6px"},Ee={small:{name:"9hr42i",styles:"height:36px;font-size:13.33px;font-weight:400;letter-spacing:0.8px;padding:0 16px"},medium:{name:"1xlglgs",styles:"height:46px;font-weight:500;font-size:16px;letter-spacing:0.8px;padding:0 24px"},large:{name:"42ly3s",styles:"height:54px;font-weight:400;font-size:16px;letter-spacing:0.8px;padding:0 32px"}},Oe={primary:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 108.3deg,\n ",e.colors.greyDarker," -0.36%,\n ",e.colors.greyDark," 100%\n );&:hover{background:linear-gradient(\n 108.3deg,\n ",e.colors.greyButtonGradient," -0.36%,\n ",e.colors.greyButtonGradientLight," 100%\n );box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}&:active{background:",e.colors.greyDarker,";box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}&:disabled{background:",e.colors.grey,";}&:focus{background:linear-gradient(\n 108.3deg,\n ",e.colors.greyBackground," -0.36%,\n ",e.colors.greyBackgroundLight," 100%\n );box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}","",""),secondary:e=>(0,i.css)("background:",e.colors.greyLighter,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";&:hover{background:",e.colors.white,";box-shadow:0px 10px 40px ",e.colors.greyShadowHover,";}&:active{background:",e.colors.greyFocused,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}&:disabled{background:",e.colors.grey,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}&:focus{background:",e.colors.greySelectedMenuItem,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}","",""),tertiary:e=>(0,i.css)("background:transparent;",m(e,"greyOutline"),";","",""),info:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 247deg,\n ",e.colors.blueLighter," 14.71%,\n ",e.colors.blue," 85.29%\n );&:hover{background:linear-gradient(\n 247deg,\n ",e.colors.blueButtonHoverGradientFrom," 14.71%,\n ",e.colors.blueButtonHoverGradientTo," 85.29%\n );}&:active{background:",e.colors.blueButtonActive,";}&:disabled{background:",e.colors.grey,";}","",""),attention:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 99.26deg,\n ",e.colors.pink," -7.01%,\n ",e.colors.pinkLighter," 92.87%\n );&:hover{background:linear-gradient(\n 99.26deg,\n ",e.colors.pinkDark," 7.01%,\n ",e.colors.pinkDarker," 92.87%\n );}&:active{background:",e.colors.pinkDark,";}&:disabled{background:",e.colors.grey,";}","","")},De=(0,w.forwardRef)((function({block:e=!1,size:t="small",text:r,startIcon:n,endIcon:o,variant:s="primary",type:a="button",className:l,isDisabled:c,onClick:u,children:d,...p},g){if(!(r||n||o||d))throw new Error("Button must have either text or icon or children");const f=(0,i.useTheme)(),[h,x]=(0,w.useState)(!1),m="primary"===s,b="info"===s,v="tertiary"===s,C="attention"===s,k=r?{}:{margin:0},j=m||b||v||"secondary"===s||C?Oe[s]&&Oe[s](f):void 0,L=(0,i.jsx)(ve,y({ref:g,css:[Ee[t],j,"","","",""],type:a,disabled:c,className:l,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),onClick:u},p),n?(0,i.jsx)("span",{style:k,css:[Me,"","","",""]},n):null,d||(r?c?(0,i.jsx)(Le,{text:r,size:t}):m||b||C?(0,i.jsx)(Ce,{text:r,size:t}):v&&h?(0,i.jsx)(je,{text:r,size:t}):(0,i.jsx)(ke,{text:r,size:t}):null),o?(0,i.jsx)("span",{style:k,css:Te},o):null);return e?(0,i.jsx)(ye,{css:Se},L):L}));var Re=De,ze=({children:e,onClick:t,...r})=>(0,i.jsx)(ue,y({},r,{as:t?"button":"div",onClick:t}),e),Pe=({children:e,icon:t,transparent:r,...n})=>(0,i.jsx)(re,y({transparent:r,hasIcon:!!t},n),t?(0,i.jsx)("span",{style:{position:"absolute",left:"-30px",top:"-30px"}},t):null,e);const Ae=W("button",{target:"e1u7e71a0"})("cursor:pointer;width:24px;height:24px;border:none;border-radius:50%;border:",(({active:e})=>e?"1.4px solid #fff":"none"),";box-shadow:",(({active:e})=>e?"inherit":"none !important"),";"),Ie={pink:s,yellow:c,green:d,turquoise:p,blueLight:h,blue:f,purple:g};var $e={name:"eebmbo",styles:"display:flex;gap:10px;list-style:none;padding:0"},Ze=({onChange:e,initColor:t})=>{const[r,n]=(0,w.useState)(t||"");return(0,i.jsx)("ul",{css:$e},Object.keys(Ie).map((t=>(0,i.jsx)("li",{key:t},(0,i.jsx)(Ae,{active:t===r,onClick:()=>(t=>{e(t),n(t)})(t),css:[Ie[t],"","","",""]})))))};const Ne=W("label",{target:"e1t1qetj0"})("display:inline-block;flex:1;font-weight:500;font-size:1rem;line-height:22px;color:",(({theme:e})=>e.colors.greyDarker),";margin:0 0 6px 4px;");var He=({children:e,htmlFor:t,className:r,onMouseEnter:n,onMouseLeave:o})=>(0,i.jsx)(Ne,{htmlFor:t,className:r,onMouseEnter:n,onMouseLeave:o},e);const Fe={blueInput:e=>(0,i.css)("& input:focus+div{box-shadow:-4px 4px 10px ",e.colors.blueNotification40,";}& input:disabled+div,& input:indeterminate:disabled+div{background:",e.colors.greyFocused,";}& input:not(:checked, :indeterminate, :disabled)+div::before{border:1.5px solid ",e.colors.greyDropdownMain,";}& input:not(:checked, :indeterminate, :disabled)+div:hover::before{border:1.5px solid ",e.colors.greyDropdownMain,";}& input:not(:disabled):checked+div::before,& input:not(:disabled):indeterminate+div::before{background:",e.colors.blueNotification,";}& input:not(:disabled):checked+div:hover::before{background:",e.colors.blueNotification,";}& input:not(:disabled):checked+div+span{font-weight:500;color:",e.colors.greyDropdownText,";}","",""),greenInput:e=>(0,i.css)("& input:focus+div{box-shadow:-4px 4px 10px ",e.colors.green40,";}& input:disabled+div,& input:indeterminate:disabled+div{background:",e.colors.greyFocused,";}& input:not(:checked, :indeterminate, :disabled)+div::before{border:1.5px solid ",e.colors.green,";}& input:not(:checked, :indeterminate, :disabled)+div:hover::before{border:1.5px solid ",e.colors.green60,";}& input:not(:disabled):checked+div::before,& input:not(:disabled):indeterminate+div::before{background:linear-gradient(\n 117.5deg,\n ",e.colors.greenLighter," 17.12%,\n ",e.colors.green," 85.53%\n );}& input:not(:disabled):checked+div:hover::before,& input:not(:disabled):indeterminate+div:hover::before{background:linear-gradient(\n 117.5deg,\n ",e.colors.greenLighter60," 17.12%,\n ",e.colors.green60," 85.53%\n );}","","")},Ve=W(He,{target:"e9e7wc30"})("position:relative;display:inline-flex;flex-grow:0;align-items:center;vertical-align:middle;cursor:pointer;&:has(input:disabled){cursor:default;}div{position:relative;height:20px;width:20px;display:flex;align-items:center;justify-content:center;border-radius:6px;}input+div{svg{z-index:2;}&::before{content:'';position:absolute;box-sizing:border-box;height:20px;width:20px;top:0;left:0;border-radius:6px;z-index:1;}}",(({color:e="green",theme:t})=>{switch(e){case"blue":return Fe.blueInput(t);case"green":return Fe.greenInput(t)}})," input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}span{margin-left:10px;font-size:14px;font-weight:100;}");var Be=({text:e,id:t,onChange:r,isDisabled:n,externalState:o,initialState:s,isIndeterminate:a,name:l="",isRequired:c=!1,ref:u,...d})=>{const[p,g]=(0,w.useState)(Boolean(s)),f=(0,w.useId)(),h=(0,i.useTheme)(),x=(0,w.useRef)(null);(0,w.useEffect)((()=>{x.current&&(x.current.indeterminate=Boolean(a))}),[a,p]),(0,w.useEffect)((()=>{"boolean"==typeof o&&g(Boolean(o))}),[o]);const m=t||f;return(0,i.jsx)(Ve,y({htmlFor:m},d),(0,i.jsx)("input",{id:m,type:"checkbox",checked:p,onChange:()=>{const e=!p;g(e),r?.(e)},disabled:n,ref:e=>{x.current=e,u&&(u.current=e)},name:l,required:c}),(0,i.jsx)("div",null,a?(0,i.jsx)(ae,{name:"minus",size:12,color:h.colors.white}):p?(0,i.jsx)(ae,{name:"check",size:12,color:h.colors.white}):null),e?(0,i.jsx)("span",null,e):null)},_e=e=>"checkbox"===e.type,We=e=>e instanceof Date,qe=e=>null==e;const Ue=e=>"object"==typeof e;var Qe=e=>!qe(e)&&!Array.isArray(e)&&Ue(e)&&!We(e),Ge=e=>Qe(e)&&e.target?_e(e.target)?e.target.checked:e.target.value:e,Xe=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Ye=e=>{const t=e.constructor&&e.constructor.prototype;return Qe(t)&&t.hasOwnProperty("isPrototypeOf")},Ke="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Je(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ke&&(e instanceof Blob||e instanceof FileList)||!r&&!Qe(e))return e;if(t=r?[]:{},r||Ye(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Je(e[r]));else t=e}return t}var et=e=>Array.isArray(e)?e.filter(Boolean):[],tt=e=>void 0===e,rt=(e,t,r)=>{if(!t||!Qe(e))return r;const n=et(t.split(/[,[\].]+?/)).reduce(((e,t)=>qe(e)?e:e[t]),e);return tt(n)||n===e?tt(e[t])?r:e[t]:n};const nt={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ot={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},it=w.createContext(null),st=()=>w.useContext(it);var at=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const o=i;return t._proxyFormState[o]!==ot.all&&(t._proxyFormState[o]=!n||ot.all),r&&(r[o]=!0),e[o]}});return o},lt=e=>Qe(e)&&!Object.keys(e).length,ct=(e,t,r,n)=>{r(e);const{name:o,...i}=e;return lt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find((e=>t[e]===(!n||ot.all)))},ut=e=>Array.isArray(e)?e:[e],dt=(e,t,r)=>r&&t?e===t||Array.isArray(e)&&e.some((e=>e&&r&&e===t)):!e||!t||e===t||ut(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function pt(e){const t=w.useRef(e);t.current=e,w.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var gt=e=>"string"==typeof e,ft=(e,t,r,n,o)=>gt(e)?(n&&t.watch.add(e),rt(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),rt(r,e)))):(n&&(t.watchAll=!0),r),ht=e=>/^\w*$/.test(e),xt=e=>et(e.replace(/["|']|\]/g,"").split(/\.|\[/));function mt(e,t,r){let n=-1;const o=ht(t)?[t]:xt(t),i=o.length,s=i-1;for(;++n<i;){const t=o[n];let i=r;if(n!==s){const r=e[t];i=Qe(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}e[t]=i,e=e[t]}return e}function bt(e){const t=st(),{name:r,disabled:n,control:o=t.control,shouldUnregister:i}=e,s=Xe(o._names.array,r),a=function(e){const t=st(),{control:r=t.control,name:n,defaultValue:o,disabled:i,exact:s}=e||{},a=w.useRef(n);a.current=n,pt({disabled:i,subject:r._subjects.values,next:e=>{dt(a.current,e.name,s)&&c(Je(ft(a.current,r._names,e.values||r._formValues,!1,o)))}});const[l,c]=w.useState(r._getWatch(n,o));return w.useEffect((()=>r._removeUnmounted())),l}({control:o,name:r,defaultValue:rt(o._formValues,r,rt(o._defaultValues,r,e.defaultValue)),exact:!0}),l=function(e){const t=st(),{control:r=t.control,disabled:n,name:o,exact:i}=e||{},[s,a]=w.useState(r._formState),l=w.useRef(!0),c=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=w.useRef(o);return u.current=o,pt({disabled:n,next:e=>l.current&&dt(u.current,e.name,i)&&ct(e,c.current,r._updateFormState)&&a({...r._formState,...e}),subject:r._subjects.state}),w.useEffect((()=>(l.current=!0,c.current.isValid&&r._updateValid(!0),()=>{l.current=!1})),[r]),at(s,r,c.current,!1)}({control:o,name:r}),c=w.useRef(o.register(r,{...e.rules,value:a}));return c.current=o.register(r,e.rules),w.useEffect((()=>{const e=o._options.shouldUnregister||i,t=(e,t)=>{const r=rt(o._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){const e=Je(rt(o._options.defaultValues,r));mt(o._defaultValues,r,e),tt(rt(o._formValues,r))&&mt(o._formValues,r,e)}return()=>{(s?e&&!o._state.action:e)?o.unregister(r):t(r,!1)}}),[r,o,s,i]),w.useEffect((()=>{o._updateDisabledField({disabled:n,fields:o._fields,name:r})}),[n,r,o]),{field:{name:r,value:a,disabled:n,onChange:w.useCallback((e=>c.current.onChange({target:{value:Ge(e),name:r},type:nt.CHANGE})),[r]),onBlur:w.useCallback((()=>c.current.onBlur({target:{value:rt(o._formValues,r),name:r},type:nt.BLUR})),[r,o]),ref:e=>{const t=rt(o._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!rt(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!rt(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!rt(l.touchedFields,r)},error:{enumerable:!0,get:()=>rt(l.errors,r)}})}}ot.onSubmit,ot.onChange;var yt=({control:e,name:t,isRequired:r=!1,...n})=>{const{field:o}=bt({control:e,name:t,rules:{required:r}});return(0,i.jsx)(Be,y({name:t,onChange:e=>{o.onChange(e)},isRequired:r},n))},vt=a(94);const wt=W("button",{target:"er3kf7h0"})((({isMultiple:e,theme:t})=>e?m(t,"greyDropdownFocused","5px"):m(t))," display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;gap:10px;position:relative;color:",(({colors:e,isOpen:t})=>t&&e?.[0]||"initial"),";width:auto;padding:8px 14px;font:inherit;font-size:13px;text-align:left;line-height:18px;border:none;cursor:pointer;outline:inherit;border-radius:12px;background:",(({isOpen:e,theme:t})=>e?`linear-gradient(108.3deg, ${t.colors.greyDarker} -0.36%, ${t.colors.greyDark} 100%)`:t.colors.greyLighter),";&:disabled{background:",(({theme:e})=>e.colors.grey),";cursor:default;}&:focus{color:",(({colors:e,theme:t})=>e?.[0]||t.colors.greyDarker),";background:",(({isOpen:e,theme:t})=>e?`linear-gradient(108.3deg, ${t.colors.greyDarker} -0.36%, ${t.colors.greyDark} 100%)`:t.colors.greyFocused),";}svg{path{stroke:",(({colors:e,theme:t})=>e?.[0]||t.colors.greyDarker),";}}",(({isMultiple:e,selectedCount:t,theme:r})=>e&&(({theme:e,selectedCount:t=0})=>{let r=e.colors.greyDropdownMain,n=e.colors.greyDropdownFocused,o=e.colors.white;return t>0&&(r=e.colors.blueDropdownWithSelectedItemsBorder,n=e.colors.blueDropdownWithSelectedItemsBorder,o=e.colors.blueDropdownWithSelectedItems),(0,i.css)("justify-content:space-between;height:40px;padding:11px 15px 9px 10px;font-size:14px;font-weight:500;color:",e.colors.greyDropdownText,";border:1px solid ",r,";border-radius:5px;background:",o,";max-width:250px;&:focus{color:",e.colors.greyDropdownText,";background:",o,";&::before{border-color:",n,";}}svg{path{stroke:",e.colors.greyDarker,";}}","","")})({theme:r,selectedCount:t})),";");var Ct=({onClick:e,onFocus:t,isOpen:r,isMultiple:n,selectedCount:o,disabled:s,children:a,ariaLabelledby:l,ariaControls:c,colors:u,className:d})=>(0,i.jsx)(wt,{className:d,colors:u,isOpen:r,isMultiple:n,selectedCount:o,onClick:t=>{t.currentTarget.focus(),e&&e(t)},onFocus:t,disabled:s,role:"combobox","aria-labelledby":l,"aria-controls":c,"aria-expanded":r,"aria-haspopup":"listbox"},a);const kt=W("div",{target:"e1lkmrt90"})({name:"s5xdrg",styles:"display:flex;align-items:center"});var jt=({isUp:e})=>(0,i.jsx)(kt,null,(0,i.jsx)(ae,{name:"carrot-"+(e?"up":"down"),size:12}));const Lt=w.createContext({activeItem:null,onChange:()=>{}});var St=Lt,Mt=W("li",{target:"e784n6w0"})("overflow:hidden;height:34px;padding:8px 16px;border:none;background:",(({isActive:e,theme:t})=>e?t.colors.greySelectedMenuItem:"inherit"),";&:hover{background:",(({theme:e})=>e.colors.greyLighter),";}",(({isMultiple:e,isDisabled:t,theme:r})=>e&&(({theme:e,isDisabled:t})=>(0,i.css)("background:none;color:",t?e.colors.greyDisabledCheckbox:e.colors.greyDisabled,";&:hover{background:none;}","",""))({theme:r,isDisabled:t})),";");const Tt=W("ul",{target:"e1qg2z4z0"})("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;overflow-x:hidden;overflow-y:auto;z-index:2;filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";backdrop-filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";"),Et={name:"1vl8pyi",styles:"display:flex;align-items:center;cursor:pointer;font:inherit;font-size:0.813rem;outline:inherit;text-align:left;width:100%;padding:0;margin:0;background:none;color:inherit;border:none"},Ot={id:Number.NaN,value:"No items"};var Dt=({ariaLabelledby:e,id:t,children:r})=>{const{onChange:n,activeItem:o}=w.useContext(Lt),s=k().Children.toArray(r).filter(Boolean).map((e=>{const t=o?.value===e.props.value;return k().cloneElement(e,{...e.props,isActive:t,"aria-selected":t,onClick:n.bind(null,e.props.value)},(0,i.jsx)("button",{type:"button",css:Et},e.props.children||e.props.label||e.props.value))}));return 0===s.length&&s.push((0,i.jsx)(Mt,{key:Ot.id,value:"",onClick:n.bind(null,""),"aria-selected":!1},(0,i.jsx)("button",{css:Et},Ot.value))),(0,i.jsx)(Tt,{role:"listbox",tabindex:"-1",id:t,"aria-labelledby":e},s)};const Rt=W("div",{target:"eizhqtp0"})({name:"11ffxfj",styles:"display:inline-block;position:relative"});var zt=({selectedItem:e,isDisabled:t,isOpen:r,children:n,onChange:o,className:s})=>{const a=(0,i.useTheme)(),l=(0,w.useRef)(null),c="Select something",u=(0,w.useId)(),d=[],[p,g]=(0,w.useState)(!1),[f,h]=(0,w.useState)(r||!1),[x,m]=(0,w.useState)([]),[b,y]=(0,w.useState)(e),v=e=>{const r=d.filter((t=>t.value===e))[0];h(!1),!t&&e&&r.value!==b?.value&&(y(r),o&&o(r))};(0,vt.useClickOutside)(l,(()=>f&&h(!1))),(0,w.useEffect)((()=>{t?m([a.colors.greyDarker60,a.colors.grey20]):f?m([a.colors.white,a.colors.white60]):p&&m([a.colors.greyDarker,a.colors.greyDarker60])}),[f,t,p]),(0,w.useEffect)((()=>{t&&f&&h(!1)}),[t]);const C=k().Children.toArray(n).filter(Boolean).map(((e,t)=>(d.push(e.props),k().cloneElement(e,{index:t,onClick:v.bind(void 0),...e.props})))),j=k().useMemo((()=>({onChange:v,activeItem:b})),[v,b]),L=b&&(b.label||b.children||b.value||b)||c;return(0,i.jsx)(St.Provider,{value:j},(0,i.jsx)(Rt,{ref:l,"data-testid":"dropdown"},(0,i.jsx)(Ct,{className:s,isOpen:f,disabled:t,onClick:h.bind(null,!f),onFocus:g.bind(null,!0),colors:x,ariaLabelledby:`dropdown-label-${u}`,ariaControls:`dropdown-popup-${u}`},L,(0,i.jsx)(jt,{isUp:f})),f?(0,i.jsx)(Dt,null,C):null))};function Pt(e){return $t(e)?(e.nodeName||"").toLowerCase():"#document"}function At(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function It(e){var t;return null==(t=($t(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $t(e){return e instanceof Node||e instanceof At(e).Node}function Zt(e){return e instanceof Element||e instanceof At(e).Element}function Nt(e){return e instanceof HTMLElement||e instanceof At(e).HTMLElement}function Ht(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof At(e).ShadowRoot)}function Ft(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Vt(e){return["table","td","th"].includes(Pt(e))}function Bt(e){const t=_t(),r=qt(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function _t(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wt(e){return["html","body","#document"].includes(Pt(e))}function qt(e){return At(e).getComputedStyle(e)}function Ut(e){return Zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Qt(e){if("html"===Pt(e))return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||It(e);return Ht(t)?t.host:t}function Gt(e){const t=Qt(e);return Wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(t)&&Ft(t)?t:Gt(t)}function Xt(e,t){var r;void 0===t&&(t=[]);const n=Gt(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=At(n);return o?t.concat(i,i.visualViewport||[],Ft(n)?n:[]):t.concat(n,Xt(n))}function Yt(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(n=r.shadowRoot)?void 0:n.activeElement);){var r,n;t=t.shadowRoot.activeElement}return t}function Kt(e,t){if(!e||!t)return!1;const r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ht(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Jt(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function er(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(Jt())||t.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function tr(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function rr(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function nr(e){return(null==e?void 0:e.ownerDocument)||document}function or(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}function ir(e){return"composedPath"in e?e.composedPath()[0]:e.target}const sr="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function ar(e){return Nt(e)&&e.matches(sr)}function lr(e){e.preventDefault(),e.stopPropagation()}const cr=Math.min,ur=Math.max,dr=Math.round,pr=Math.floor,gr=e=>({x:e,y:e}),fr={left:"right",right:"left",bottom:"top",top:"bottom"},hr={start:"end",end:"start"};function xr(e,t,r){return ur(e,cr(t,r))}function mr(e,t){return"function"==typeof e?e(t):e}function br(e){return e.split("-")[0]}function yr(e){return e.split("-")[1]}function vr(e){return"x"===e?"y":"x"}function wr(e){return"y"===e?"height":"width"}function Cr(e){return["top","bottom"].includes(br(e))?"y":"x"}function kr(e){return vr(Cr(e))}function jr(e){return e.replace(/start|end/g,(e=>hr[e]))}function Lr(e){return e.replace(/left|right|bottom|top/g,(e=>fr[e]))}function Sr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Tr(e,t,r){let{reference:n,floating:o}=e;const i=Cr(t),s=kr(t),a=wr(s),l=br(t),c="y"===i,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let g;switch(l){case"top":g={x:u,y:n.y-o.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch(yr(t)){case"start":g[s]-=p*(r&&c?-1:1);break;case"end":g[s]+=p*(r&&c?-1:1)}return g}async function Er(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:g=0}=mr(t,e),f=Sr(g),h=a[p?"floating"===d?"reference":"floating":d],x=Mr(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(h)))||r?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),m="floating"===d?{...s.floating,x:n,y:o}:s.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},v=Mr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:b,strategy:l}):m);return{top:(x.top-v.top+f.top)/y.y,bottom:(v.bottom-x.bottom+f.bottom)/y.y,left:(x.left-v.left+f.left)/y.x,right:(v.right-x.right+f.right)/y.x}}const Or=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:a}=t,{element:l,padding:c=0}=mr(e,t)||{};if(null==l)return{};const u=Sr(c),d={x:r,y:n},p=kr(o),g=wr(p),f=await s.getDimensions(l),h="y"===p,x=h?"top":"left",m=h?"bottom":"right",b=h?"clientHeight":"clientWidth",y=i.reference[g]+i.reference[p]-d[p]-i.floating[g],v=d[p]-i.reference[p],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let C=w?w[b]:0;C&&await(null==s.isElement?void 0:s.isElement(w))||(C=a.floating[b]||i.floating[g]);const k=y/2-v/2,j=C/2-f[g]/2-1,L=cr(u[x],j),S=cr(u[m],j),M=L,T=C-f[g]-S,E=C/2-f[g]/2+k,O=xr(M,E,T),D=null!=yr(o)&&E!=O&&i.reference[g]/2-(E<M?L:S)-f[g]/2<0?E<M?M-E:T-E:0;return{[p]:d[p]-D,data:{[p]:O,centerOffset:E-O+D}}}}),Dr=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...h}=mr(e,t),x=br(n),m=br(s)===s,b=await(null==a.isRTL?void 0:a.isRTL(l.floating)),y=d||(m||!f?[Lr(s)]:function(e){const t=Lr(e);return[jr(e),t,jr(t)]}(s));d||"none"===g||y.push(...function(e,t,r,n){const o=yr(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}(br(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(jr)))),i}(s,f,g,b));const v=[s,...y],w=await Er(t,h),C=[];let k=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&C.push(w[x]),u){const e=function(e,t,r){void 0===r&&(r=!1);const n=yr(e),o=kr(e),i=wr(o);let s="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Lr(s)),[s,Lr(s)]}(n,i,b);C.push(w[e[0]],w[e[1]])}if(k=[...k,{placement:n,overflows:C}],!C.every((e=>e<=0))){var j,L;const e=((null==(j=o.flip)?void 0:j.index)||0)+1,t=v[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let r=null==(L=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:L.placement;if(!r)switch(p){case"bestFit":{var S;const e=null==(S=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(r=e);break}case"initialPlacement":r=s}if(n!==r)return{reset:{placement:r}}}return{}}}},Rr=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=br(r),a=yr(r),l="y"===Cr(r),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=mr(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof f&&(g="end"===a?-1*f:f),l?{x:g*u,y:p*c}:{x:p*c,y:g*u}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}},zr=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=mr(e,t),c={x:r,y:n},u=await Er(t,l),d=Cr(br(o)),p=vr(d);let g=c[p],f=c[d];if(i){const e="y"===p?"bottom":"right";g=xr(g+u["y"===p?"top":"left"],g,g-u[e])}if(s){const e="y"===d?"bottom":"right";f=xr(f+u["y"===d?"top":"left"],f,f-u[e])}const h=a.fn({...t,[p]:g,[d]:f});return{...h,data:{x:h.x-r,y:h.y-n}}}}};function Pr(e){const t=qt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Nt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,a=dr(r)!==i||dr(n)!==s;return a&&(r=i,n=s),{width:r,height:n,$:a}}function Ar(e){return Zt(e)?e:e.contextElement}function Ir(e){const t=Ar(e);if(!Nt(t))return gr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Pr(t);let s=(i?dr(r.width):r.width)/n,a=(i?dr(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const $r=gr(0);function Zr(e){const t=At(e);return _t()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$r}function Nr(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=Ar(e);let s=gr(1);t&&(n?Zt(n)&&(s=Ir(n)):s=Ir(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==At(e))&&t}(i,r,n)?Zr(i):gr(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=At(i),t=n&&Zt(n)?At(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=Ir(r),t=r.getBoundingClientRect(),n=qt(r),o=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,r=At(r).frameElement}}return Mr({width:u,height:d,x:l,y:c})}function Hr(e){return Nr(It(e)).left+Ut(e).scrollLeft}function Fr(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=At(e),n=It(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=_t();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,r);else if("document"===t)n=function(e){const t=It(e),r=Ut(e),n=e.ownerDocument.body,o=ur(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ur(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Hr(e);const a=-r.scrollTop;return"rtl"===qt(n).direction&&(s+=ur(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:a}}(It(e));else if(Zt(t))n=function(e,t){const r=Nr(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Nt(e)?Ir(e):gr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=Zr(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return Mr(n)}function Vr(e,t){const r=Qt(e);return!(r===t||!Zt(r)||Wt(r))&&("fixed"===qt(r).position||Vr(r,t))}function Br(e,t,r){const n=Nt(t),o=It(t),i="fixed"===r,s=Nr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=gr(0);if(n||!n&&!i)if(("body"!==Pt(t)||Ft(o))&&(a=Ut(t)),n){const e=Nr(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Hr(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function _r(e,t){return Nt(e)&&"fixed"!==qt(e).position?t?t(e):e.offsetParent:null}function Wr(e,t){const r=At(e);if(!Nt(e))return r;let n=_r(e,t);for(;n&&Vt(n)&&"static"===qt(n).position;)n=_r(n,t);return n&&("html"===Pt(n)||"body"===Pt(n)&&"static"===qt(n).position&&!Bt(n))?r:n||function(e){let t=Qt(e);for(;Nt(t)&&!Wt(t);){if(Bt(t))return t;t=Qt(t)}return null}(e)||r}const qr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Nt(r),i=It(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},a=gr(1);const l=gr(0);if((o||!o&&"fixed"!==n)&&(("body"!==Pt(r)||Ft(i))&&(s=Ut(r)),Nt(r))){const e=Nr(r);a=Ir(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:It,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=Xt(e).filter((e=>Zt(e)&&"body"!==Pt(e))),o=null;const i="fixed"===qt(e).position;let s=i?Qt(e):e;for(;Zt(s)&&!Wt(s);){const t=qt(s),r=Bt(s);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Ft(s)&&!r&&Vr(e,s))?n=n.filter((e=>e!==s)):o=t,s=Qt(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=i[0],a=i.reduce(((e,r)=>{const n=Fr(t,r,o);return e.top=ur(n.top,e.top),e.right=cr(n.right,e.right),e.bottom=cr(n.bottom,e.bottom),e.left=ur(n.left,e.left),e}),Fr(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Wr,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||Wr,i=this.getDimensions;return{reference:Br(t,await o(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Pr(e)},getScale:Ir,isElement:Zt,isRTL:function(e){return"rtl"===qt(e).direction}};function Ur(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Ar(e),u=o||i?[...c?Xt(c):[],...Xt(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const d=c&&a?function(e,t){let r,n=null;const o=It(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(a||t(),!d||!p)return;const g={rootMargin:-pr(u)+"px "+-pr(o.clientWidth-(c+d))+"px "+-pr(o.clientHeight-(u+p))+"px "+-pr(c)+"px",threshold:ur(0,cr(1,l))||1};let f=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return s();t?s(!1,t):r=setTimeout((()=>{s(!1,1e-7)}),100)}f=!1}try{n=new IntersectionObserver(h,{...g,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(h,g)}n.observe(e)}(!0),i}(c,r):null;let p,g=-1,f=null;s&&(f=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{f&&f.observe(t)}))),r()})),c&&!l&&f.observe(c),f.observe(t));let h=l?Nr(e):null;return l&&function t(){const n=Nr(e);!h||n.x===h.x&&n.y===h.y&&n.width===h.width&&n.height===h.height||r(),h=n,p=requestAnimationFrame(t)}(),r(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),d&&d(),f&&f.disconnect(),f=null,l&&cancelAnimationFrame(p)}}const Qr=(e,t,r)=>{const n=new Map,o={platform:qr,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Tr(c,n,l),p=n,g={},f=0;for(let r=0;r<a.length;r++){const{name:i,fn:h}=a[r],{x:x,y:m,data:b,reset:y}=await h({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=x?x:u,d=null!=m?m:d,g={...g,[i]:{...g[i],...b}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Tr(c,p,l))),r=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:g}})(e,t,{...o,platform:i})};var Gr=a(111),Xr="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;function Yr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!=n--;)if(!Yr(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(!("_owner"===r&&e.$$typeof||Yr(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function Kr(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jr(e,t){const r=Kr(e);return Math.round(t*r)/r}function en(e){const t=w.useRef(e);return Xr((()=>{t.current=e})),t}var tn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),rn="undefined"==typeof Element,nn=rn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,on=!rn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},sn=function e(t,r){var n;void 0===r&&(r=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},an=function(e,t,r){if(sn(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(tn));return t&&nn.call(e,tn)&&n.unshift(e),n.filter(r)},ln=function e(t,r,n){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!sn(s,!1))if("SLOT"===s.tagName){var a=s.assignedElements(),l=e(a.length?a:s.children,!0,n);n.flatten?o.push.apply(o,l):o.push({scopeParent:s,candidates:l})}else{nn.call(s,tn)&&n.filter(s)&&(r||!t.includes(s))&&o.push(s);var c=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),u=!sn(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(c&&u){var d=e(!0===c?s.children:c.children,!0,n);n.flatten?o.push.apply(o,d):o.push({scopeParent:s,candidates:d})}else i.unshift.apply(i,s.children)}}return o},cn=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},un=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},dn=function(e){return"INPUT"===e.tagName},pn=function(e){return function(e){return dn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||on(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)},gn=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},fn=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=nn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(nn.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return gn(e)}else{if("function"==typeof n){for(var i=e;e;){var s=e.parentElement,a=on(e);if(s&&!s.shadowRoot&&!0===n(s))return gn(e);e=e.assignedSlot?e.assignedSlot:s||a===e.ownerDocument?s:a.host}e=i}if(function(e){var t,r,n,o,i=e&&on(e),s=null===(t=i)||void 0===t?void 0:t.host,a=!1;if(i&&i!==e)for(a=!!(null!==(r=s)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(s)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!a&&s;){var l,c,u;a=!(null===(c=s=null===(l=i=on(s))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(s))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},hn=function(e,t){return!(t.disabled||sn(t)||function(e){return dn(e)&&"hidden"===e.type}(t)||fn(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!nn.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},xn=function(e,t){return!(pn(t)||cn(t)<0||!hn(e,t))},mn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},bn=function e(t){var r=[],n=[];return t.forEach((function(t,o){var i=!!t.scopeParent,s=i?t.scopeParent:t,a=cn(s,i),l=i?e(t.candidates):s;0===a?i?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:l})})),n.sort(un).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},yn=function(e,t){var r;return r=(t=t||{}).getShadowRoot?ln([e],t.includeContainer,{filter:xn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:mn}):an(e,t.includeContainer,xn.bind(null,t)),bn(r)};function vn(e){return w.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}let wn=0;function Cn(e,t){void 0===t&&(t={});const{preventScroll:r=!1,cancelPrevious:n=!0,sync:o=!1}=t;n&&cancelAnimationFrame(wn);const i=()=>null==e?void 0:e.focus({preventScroll:r});o?i():wn=requestAnimationFrame(i)}var kn="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jn.apply(this,arguments)}let Ln=!1,Sn=0;const Mn=()=>"floating-ui-"+Sn++,Tn=C["useId".toString()]||function(){const[e,t]=w.useState((()=>Ln?Mn():void 0));return kn((()=>{null==e&&t(Mn())}),[]),w.useEffect((()=>{Ln||(Ln=!0)}),[]),e},En=w.forwardRef((function(e,t){let{context:{placement:r,elements:{floating:n},middlewareData:{arrow:o}},width:i=14,height:s=7,tipRadius:a=0,strokeWidth:l=0,staticOffset:c,stroke:u,d:d,style:{transform:p,...g}={},...f}=e;const h=Tn();if(!n)return null;l*=2;const x=l/2,m=i/2*(a/-8+1),b=s/2*a/4,[y,v]=r.split("-"),C=qr.isRTL(n),k=!!d,j="top"===y||"bottom"===y,L=c&&"end"===v?"bottom":"top";let S=c&&"end"===v?"right":"left";c&&C&&(S="end"===v?"left":"right");const M=null!=(null==o?void 0:o.x)?c||o.x:"",T=null!=(null==o?void 0:o.y)?c||o.y:"",E=d||"M0,0 H"+i+" L"+(i-m)+","+(s-b)+" Q"+i/2+","+s+" "+m+","+(s-b)+" Z",O={top:k?"rotate(180deg)":"",left:k?"rotate(90deg)":"rotate(-90deg)",bottom:k?"":"rotate(180deg)",right:k?"rotate(-90deg)":"rotate(90deg)"}[y];return w.createElement("svg",jn({},f,{"aria-hidden":!0,ref:t,width:k?i:i+l,height:i,viewBox:"0 0 "+i+" "+(s>i?s:i),style:{position:"absolute",pointerEvents:"none",[S]:M,[L]:T,[y]:j||k?"100%":"calc(100% - "+l/2+"px)",transform:""+O+(null!=p?p:""),...g}}),l>0&&w.createElement("path",{clipPath:"url(#"+h+")",fill:"none",stroke:u,strokeWidth:l+(d?0:1),d:E}),w.createElement("path",{stroke:l&&!d?f.fill:"none",d:E}),w.createElement("clipPath",{id:h},w.createElement("rect",{x:-x,y:x*(k?-1:1),width:i+l,height:i})))}));function On(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter((e=>e!==r)))||[])}}}const Dn=w.createContext(null),Rn=w.createContext(null),zn=()=>{var e;return(null==(e=w.useContext(Dn))?void 0:e.id)||null},Pn=()=>w.useContext(Rn);function An(e){return"data-floating-ui-"+e}function In(e){const t=(0,w.useRef)(e);return kn((()=>{t.current=e})),t}const $n=An("safe-polygon");function Zn(e,t,r){return r&&!rr(r)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Nn(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)})),n=r;for(;n.length;)n=e.filter((e=>{var t;return null==(t=n)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))})),r=r.concat(n);return r}let Hn=new WeakMap,Fn=new WeakSet,Vn={},Bn=0;const _n=e=>e&&(e.host||_n(e.parentNode)),Wn=(e,t)=>t.map((t=>{if(e.contains(t))return t;const r=_n(t);return e.contains(r)?r:null})).filter((e=>null!=e));function qn(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=nr(e[0]).body;return function(e,t,r,n){const o="data-floating-ui-inert",i=n?"inert":r?"aria-hidden":null,s=Wn(t,e),a=new Set,l=new Set(s),c=[];Vn[o]||(Vn[o]=new WeakMap);const u=Vn[o];return s.forEach((function e(t){t&&!a.has(t)&&(a.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!l.has(t)&&Array.prototype.forEach.call(t.children,(t=>{if(a.has(t))e(t);else{const e=i?t.getAttribute(i):null,r=null!==e&&"false"!==e,n=(Hn.get(t)||0)+1,s=(u.get(t)||0)+1;Hn.set(t,n),u.set(t,s),c.push(t),1===n&&r&&Fn.add(t),1===s&&t.setAttribute(o,""),!r&&i&&t.setAttribute(i,"true")}}))}(t),a.clear(),Bn++,()=>{c.forEach((e=>{const t=(Hn.get(e)||0)-1,r=(u.get(e)||0)-1;Hn.set(e,t),u.set(e,r),t||(!Fn.has(e)&&i&&e.removeAttribute(i),Fn.delete(e)),r||e.removeAttribute(o)})),Bn--,Bn||(Hn=new WeakMap,Hn=new WeakMap,Fn=new WeakSet,Vn={})}}(e.concat(Array.from(n.querySelectorAll("[aria-live]"))),n,t,r)}const Un=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Qn(e,t){const r=yn(e,Un());"prev"===t&&r.reverse();const n=r.indexOf(Yt(nr(e)));return r.slice(n+1)[0]}function Gn(){return Qn(document.body,"next")}function Xn(){return Qn(document.body,"prev")}function Yn(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!Kt(r,n)}function Kn(e){yn(e,Un()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Jn(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const eo={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function to(e){"Tab"===e.key&&(e.target,clearTimeout(void 0))}const ro=w.forwardRef((function(e,t){const[r,n]=w.useState();kn((()=>(/apple/i.test(navigator.vendor)&&n("button"),document.addEventListener("keydown",to),()=>{document.removeEventListener("keydown",to)})),[]);const o={ref:t,tabIndex:0,role:r,"aria-hidden":!r||void 0,[An("focus-guard")]:"",style:eo};return w.createElement("span",jn({},e,o))})),no=w.createContext(null);function oo(e){let{children:t,id:r,root:n=null,preserveTabOrder:o=!0}=e;const i=function(e){let{id:t,root:r}=void 0===e?{}:e;const[n,o]=w.useState(null),i=Tn(),s=io(),a=w.useMemo((()=>({id:t,root:r,portalContext:s,uniqueId:i})),[t,r,s,i]),l=w.useRef();return kn((()=>()=>{null==n||n.remove()}),[n,a]),kn((()=>{if(l.current===a)return;l.current=a;const{id:e,root:t,portalContext:r,uniqueId:n}=a,i=e?document.getElementById(e):null,s=An("portal");if(i){const e=document.createElement("div");e.id=n,e.setAttribute(s,""),i.appendChild(e),o(e)}else{let i=t||(null==r?void 0:r.portalNode);i&&!Zt(i)&&(i=i.current),i=i||document.body;let a=null;e&&(a=document.createElement("div"),a.id=e,i.appendChild(a));const l=document.createElement("div");l.id=n,l.setAttribute(s,""),i=a||i,i.appendChild(l),o(l)}}),[a]),n}({id:r,root:n}),[s,a]=w.useState(null),l=w.useRef(null),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),p=!!s&&!s.modal&&s.open&&o&&!(!n&&!i);return w.useEffect((()=>{if(i&&o&&(null==s||!s.modal))return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&Yn(e)&&("focusin"===e.type?Jn:Kn)(i)}}),[i,o,null==s?void 0:s.modal]),w.createElement(no.Provider,{value:w.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:l,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:i,setFocusManagerState:a})),[o,i])},p&&i&&w.createElement(ro,{"data-type":"outside",ref:l,onFocus:e=>{if(Yn(e,i)){var t;null==(t=u.current)||t.focus()}else{const e=Xn()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),p&&i&&w.createElement("span",{"aria-owns":i.id,style:eo}),i&&(0,Gr.createPortal)(t,i),p&&i&&w.createElement(ro,{"data-type":"outside",ref:c,onFocus:e=>{if(Yn(e,i)){var t;null==(t=d.current)||t.focus()}else{const t=Gn()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent))}}}))}const io=()=>w.useContext(no),so=w.forwardRef((function(e,t){return w.createElement("button",jn({},e,{type:"button",ref:t,tabIndex:-1,style:eo}))}));function ao(e){const{context:t,children:r,disabled:n=!1,order:o=["content"],guards:i=!0,initialFocus:s=0,returnFocus:a=!0,modal:l=!0,visuallyHiddenDismiss:c=!1,closeOnFocusOut:u=!0}=e,{open:d,refs:p,nodeId:g,onOpenChange:f,events:h,dataRef:x,elements:{domReference:m,floating:b}}=t,y="undefined"==typeof HTMLElement||!("inert"in HTMLElement.prototype)||i,v=In(o),C=In(s),k=In(a),j=Pn(),L=io(),S="number"==typeof s&&s<0,M=w.useRef(null),T=w.useRef(null),E=w.useRef(!1),O=w.useRef(null),D=w.useRef(!1),R=null!=L,z=m&&"combobox"===m.getAttribute("role")&&ar(m)&&S,P=w.useCallback((function(e){return void 0===e&&(e=b),e?yn(e,Un()):[]}),[b]),A=w.useCallback((e=>{const t=P(e);return v.current.map((e=>m&&"reference"===e?m:b&&"floating"===e?b:t)).filter(Boolean).flat()}),[m,b,v,P]);function I(e){return!n&&c&&l?w.createElement(so,{ref:"start"===e?M:T,onClick:e=>f(!1,e.nativeEvent)},"string"==typeof c?c:"Dismiss"):null}w.useEffect((()=>{if(n||!l)return;function e(e){if("Tab"===e.key){Kt(b,Yt(nr(b)))&&0===P().length&&!z&&lr(e);const t=A(),r=ir(e);"reference"===v.current[0]&&r===m&&(lr(e),e.shiftKey?Cn(t[t.length-1]):Cn(t[1])),"floating"===v.current[1]&&r===b&&e.shiftKey&&(lr(e),Cn(t[0]))}}const t=nr(b);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[n,m,b,l,v,p,z,P,A]),w.useEffect((()=>{if(!n&&u)return b&&Nt(m)?(m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),!l&&b.addEventListener("focusout",t),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),!l&&b.removeEventListener("focusout",t)}):void 0;function e(){D.current=!0,setTimeout((()=>{D.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const r=!(Kt(m,t)||Kt(b,t)||Kt(t,b)||Kt(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(An("focus-guard"))||j&&(Nn(j.nodesRef.current,g).find((e=>{var r,n;return Kt(null==(r=e.context)?void 0:r.elements.floating,t)||Kt(null==(n=e.context)?void 0:n.elements.domReference,t)}))||function(e,t){var r;let n=[],o=null==(r=e.find((e=>e.id===t)))?void 0:r.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(n=n.concat(t))}return n}(j.nodesRef.current,g).find((e=>{var r,n;return(null==(r=e.context)?void 0:r.elements.floating)===t||(null==(n=e.context)?void 0:n.elements.domReference)===t}))));t&&r&&!D.current&&t!==O.current&&(E.current=!0,f(!1,e))}))}}),[n,m,b,l,g,j,L,f,u]),w.useEffect((()=>{var e;if(n)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+An("portal")+"]"))||[]);if(b){const e=[b,...t,M.current,T.current,v.current.includes("reference")||z?m:null].filter((e=>null!=e)),r=l?qn(e,y,!y):qn(e);return()=>{r()}}}),[n,m,b,l,v,L,z,y]),kn((()=>{if(n||!b)return;const e=Yt(nr(b));queueMicrotask((()=>{const t=A(b),r=C.current,n=("number"==typeof r?t[r]:r.current)||b,o=Kt(b,e);S||o||!d||Cn(n,{preventScroll:n===b})}))}),[n,d,b,S,A,C]),kn((()=>{if(n||!b)return;let e=!1;const t=nr(b),r=Yt(t),o=x.current;function i(t){if("escapeKey"===t.type&&p.domReference.current&&(O.current=p.domReference.current),["referencePress","escapeKey"].includes(t.type))return;const r=t.data.returnFocus;"object"==typeof r?(E.current=!1,e=r.preventScroll):E.current=!r}return O.current=r,h.on("dismiss",i),()=>{h.off("dismiss",i);const r=Yt(t);(Kt(b,r)||j&&Nn(j.nodesRef.current,g).some((e=>{var t;return Kt(null==(t=e.context)?void 0:t.elements.floating,r)}))||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&p.domReference.current&&(O.current=p.domReference.current),k.current&&Nt(O.current)&&!E.current&&Cn(O.current,{cancelPrevious:!1,preventScroll:e})}}),[n,b,k,x,p,h,j,g]),kn((()=>{if(!n&&L)return L.setFocusManagerState({modal:l,closeOnFocusOut:u,open:d,onOpenChange:f,refs:p}),()=>{L.setFocusManagerState(null)}}),[n,L,l,d,f,p,u]),kn((()=>{if(!n&&b&&"function"==typeof MutationObserver&&!S){const e=()=>{const e=b.getAttribute("tabindex");v.current.includes("floating")||Yt(nr(b))!==p.domReference.current&&0===P().length?"0"!==e&&b.setAttribute("tabindex","0"):"-1"!==e&&b.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(b,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}}),[n,b,p,v,P,S]);const $=!n&&y&&!z&&(R||l);return w.createElement(w.Fragment,null,$&&w.createElement(ro,{"data-type":"inside",ref:null==L?void 0:L.beforeInsideRef,onFocus:e=>{if(l){const e=A();Cn("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(E.current=!1,Yn(e,L.portalNode)){const e=Gn()||m;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!z&&I("start"),r,I("end"),$&&w.createElement(ro,{"data-type":"inside",ref:null==L?void 0:L.afterInsideRef,onFocus:e=>{if(l)Cn(A()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(u&&(E.current=!0),Yn(e,L.portalNode)){const e=Xn()||m;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}}))}function lo(e){return Nt(e.target)&&"BUTTON"===e.target.tagName}function co(e){return ar(e)}function uo(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:o,elements:{domReference:i}}=e,{enabled:s=!0,event:a="click",toggle:l=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0}=t,d=w.useRef(),p=w.useRef(!1);return w.useMemo((()=>s?{reference:{onPointerDown(e){d.current=e.pointerType},onMouseDown(e){0===e.button&&(rr(d.current,!0)&&c||"click"!==a&&(!r||!l||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),n(!0,e.nativeEvent)):n(!1,e.nativeEvent)))},onClick(e){"mousedown"===a&&d.current?d.current=void 0:rr(d.current,!0)&&c||(!r||!l||o.current.openEvent&&"click"!==o.current.openEvent.type?n(!0,e.nativeEvent):n(!1,e.nativeEvent))},onKeyDown(e){d.current=void 0,e.defaultPrevented||!u||lo(e)||(" "!==e.key||co(i)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&n(!r||!l,e.nativeEvent))},onKeyUp(e){e.defaultPrevented||!u||lo(e)||co(i)||" "===e.key&&p.current&&(p.current=!1,n(!r||!l,e.nativeEvent))}}}:{}),[s,o,a,c,u,i,l,r,n])}const po=C["useInsertionEffect".toString()]||(e=>e());function go(e){const t=w.useRef((()=>{}));return po((()=>{t.current=e})),w.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}const fo={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},ho={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"};function xo(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,events:o,nodeId:i,elements:{reference:s,domReference:a,floating:l},dataRef:c}=e,{enabled:u=!0,escapeKey:d=!0,outsidePress:p=!0,outsidePressEvent:g="pointerdown",referencePress:f=!1,referencePressEvent:h="pointerdown",ancestorScroll:x=!1,bubbles:m}=t,b=Pn(),y=null!=zn(),v=go("function"==typeof p?p:()=>!1),C="function"==typeof p?v:p,k=w.useRef(!1),{escapeKeyBubbles:j,outsidePressBubbles:L}=(e=>{var t,r;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePressBubbles:"boolean"==typeof e?e:null==(r=null==e?void 0:e.outsidePress)||r}})(m),S=go((e=>{if(!r||!u||!d||"Escape"!==e.key)return;const t=b?Nn(b.nodesRef.current,i):[];if(!j&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e)})),M=go((e=>{const t=k.current;if(k.current=!1,t)return;if("function"==typeof C&&!C(e))return;const r=ir(e),s="["+An("inert")+"]",c=nr(l).querySelectorAll(s);let u=Zt(r)?r:null;for(;u&&!Wt(u);){const e=Qt(u);if(e===nr(l).body||!Zt(e))break;u=e}if(c.length&&Zt(r)&&!r.matches("html,body")&&!Kt(r,l)&&Array.from(c).every((e=>!Kt(u,e))))return;if(Nt(r)&&l){const t=r.clientWidth>0&&r.scrollWidth>r.clientWidth,n=r.clientHeight>0&&r.scrollHeight>r.clientHeight;let o=n&&e.offsetX>r.clientWidth;if(n&&"rtl"===qt(r).direction&&(o=e.offsetX<=r.offsetWidth-r.clientWidth),o||t&&e.offsetY>r.clientHeight)return}const d=b&&Nn(b.nodesRef.current,i).some((t=>{var r;return or(e,null==(r=t.context)?void 0:r.elements.floating)}));if(or(e,l)||or(e,a)||d)return;const p=b?Nn(b.nodesRef.current,i):[];if(p.length>0){let e=!0;if(p.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}o.emit("dismiss",{type:"outsidePress",data:{returnFocus:y?{preventScroll:!0}:er(e)||tr(e)}}),n(!1,e)}));return w.useEffect((()=>{if(!r||!u)return;function e(e){n(!1,e)}c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=L;const t=nr(l);d&&t.addEventListener("keydown",S),C&&t.addEventListener(g,M);let o=[];return x&&(Zt(a)&&(o=Xt(a)),Zt(l)&&(o=o.concat(Xt(l))),!Zt(s)&&s&&s.contextElement&&(o=o.concat(Xt(s.contextElement)))),o=o.filter((e=>{var r;return e!==(null==(r=t.defaultView)?void 0:r.visualViewport)})),o.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),()=>{d&&t.removeEventListener("keydown",S),C&&t.removeEventListener(g,M),o.forEach((t=>{t.removeEventListener("scroll",e)}))}}),[c,l,a,s,d,C,g,r,n,x,u,j,L,S,M]),w.useEffect((()=>{k.current=!1}),[C,g]),w.useMemo((()=>u?{reference:{onKeyDown:S,[fo[h]]:e=>{f&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1,e.nativeEvent))}},floating:{onKeyDown:S,[ho[g]]:()=>{k.current=!0}}}:{}),[u,o,f,g,h,n,S])}function mo(e){var t;void 0===e&&(e={});const{open:r=!1,onOpenChange:n,nodeId:o}=e,[i,s]=w.useState(null),a=(null==(t=e.elements)?void 0:t.reference)||i,l=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=w.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=w.useState(n);Yr(p,n)||g(n);const[f,h]=w.useState(null),[x,m]=w.useState(null),b=w.useCallback((e=>{e!=k.current&&(k.current=e,h(e))}),[h]),y=w.useCallback((e=>{e!==j.current&&(j.current=e,m(e))}),[m]),v=i||f,C=s||x,k=w.useRef(null),j=w.useRef(null),L=w.useRef(u),S=en(l),M=en(o),T=w.useCallback((()=>{if(!k.current||!j.current)return;const e={placement:t,strategy:r,middleware:p};M.current&&(e.platform=M.current),Qr(k.current,j.current,e).then((e=>{const t={...e,isPositioned:!0};E.current&&!Yr(L.current,t)&&(L.current=t,Gr.flushSync((()=>{d(t)})))}))}),[p,t,r,M]);Xr((()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const E=w.useRef(!1);Xr((()=>(E.current=!0,()=>{E.current=!1})),[]),Xr((()=>{if(v&&(k.current=v),C&&(j.current=C),v&&C){if(S.current)return S.current(v,C,T);T()}}),[v,C,T,S]);const O=w.useMemo((()=>({reference:k,floating:j,setReference:b,setFloating:y})),[b,y]),D=w.useMemo((()=>({reference:v,floating:C})),[v,C]),R=w.useMemo((()=>{const e={position:r,left:0,top:0};if(!D.floating)return e;const t=Jr(D.floating,u.x),n=Jr(D.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...Kr(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,a,D.floating,u.x,u.y]);return w.useMemo((()=>({...u,update:T,refs:O,elements:D,floatingStyles:R})),[u,T,O,D,R])}(e),c=Pn(),u=go(((e,t)=>{e&&(p.current.openEvent=t),null==n||n(e,t)})),d=w.useRef(null),p=w.useRef({}),g=w.useState((()=>On()))[0],f=Tn(),h=w.useCallback((e=>{const t=Zt(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l.refs.setReference(t)}),[l.refs]),x=w.useCallback((e=>{(Zt(e)||null===e)&&(d.current=e,s(e)),(Zt(l.refs.reference.current)||null===l.refs.reference.current||null!==e&&!Zt(e))&&l.refs.setReference(e)}),[l.refs]),m=w.useMemo((()=>({...l.refs,setReference:x,setPositionReference:h,domReference:d})),[l.refs,x,h]),b=w.useMemo((()=>({...l.elements,domReference:a})),[l.elements,a]),y=w.useMemo((()=>({...l,refs:m,elements:b,dataRef:p,nodeId:o,floatingId:f,events:g,open:r,onOpenChange:u})),[l,o,f,g,r,u,m,b]);return kn((()=>{const e=null==c?void 0:c.nodesRef.current.find((e=>e.id===o));e&&(e.context=y)})),w.useMemo((()=>({...l,context:y,refs:m,elements:b})),[l,m,b,y])}function bo(e,t,r){const n=new Map;return{..."floating"===r&&{tabIndex:-1},...e,...t.map((e=>e?e[r]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,o]=t;var i;0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof o&&(null==(i=n.get(r))||i.push(o),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=n.get(r))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[r]=o})),e):e),{})}}function yo(e){void 0===e&&(e=[]);const t=e,r=w.useCallback((t=>bo(t,e,"reference")),t),n=w.useCallback((t=>bo(t,e,"floating")),t),o=w.useCallback((t=>bo(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return w.useMemo((()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:o})),[r,n,o])}function vo(e,t){void 0===t&&(t={});const{open:r,floatingId:n}=e,{enabled:o=!0,role:i="dialog"}=t,s=Tn();return w.useMemo((()=>{const e={id:n,role:i};return o?"tooltip"===i?{reference:{"aria-describedby":r?n:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===i?"dialog":i,"aria-controls":r?n:void 0,..."listbox"===i&&{role:"combobox"},..."menu"===i&&{id:s}},floating:{...e,..."menu"===i&&{"aria-labelledby":s}}}:{}}),[o,i,r,n,s])}const wo=W("input",{target:"emgvleb0"})("flex:1;background:",(({theme:e})=>e.colors.white),";border-radius:12px;background-origin:border-box;background-clip:padding-box,border-box;border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";color:",(({theme:e})=>e.colors.greyDarker),";width:100%;height:44px;padding:14px;font-weight:400;font-size:0.875rem;line-height:1rem;&::placeholder{color:",(({theme:e})=>e.colors.greyDarker60),";}&:disabled{color:",(({theme:e})=>`${e.colors.grey}`),";background:",(({theme:e})=>e.colors.greyLighter),";&::placeholder{color:",(({theme:e})=>e.colors.grey),";}&:disabled,&:disabled:hover{border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";background-image:none;}}"),Co=W("div",{target:"ewb6hsz0"})("position:relative;width:100%;*{color:",(({theme:e,disabled:t})=>t?`${e.colors.grey} !important`:"inherit"),";}");var ko={name:"0",styles:""};const jo={name:"1g5wypb",styles:"position:absolute;top:34%;right:14px;display:flex;justify-content:center;align-items:center;border-radius:10px;width:14px;height:14px"},Lo={name:"1wiujvu",styles:"position:absolute;top:0;left:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"},So={name:"14yja53",styles:"position:absolute;top:0;right:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"},Mo=W("div",{target:"e1urrxy10"})("background:",(({theme:e})=>`linear-gradient(117.5deg, ${e.colors.red}, ${e.colors.redLighter});`),";svg{transform:rotateX(180deg);}"),To=()=>(0,i.jsx)(Mo,{css:jo},(0,i.jsx)(ae,{name:"union",size:10,color:"#fff"})),Eo=W("div",{target:"ea93yeh0"})("background:",(({theme:e})=>`linear-gradient(68.38deg, ${e.colors.greenLighter}, ${e.colors.green});`),";"),Oo=()=>(0,i.jsx)(Eo,{css:jo},(0,i.jsx)(ae,{name:"check",size:10,color:"#fff"})),Do={basic:e=>(0,i.css)({[`& ${wo}`]:{border:`1px solid ${e.colors.grey}`,"&:hover":{border:`1.4px solid ${e.colors.greyDarker60}`},"&:focus":{border:`2px solid ${e.colors.grey40}`}}},"","","",""),error:e=>(0,i.css)({[`& ${wo}`]:{border:"double 1px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(to right, ${e.colors.red}, ${e.colors.redLighter})`,"&:hover":{border:"double 1.4px transparent"},"&:focus":{border:"double 2px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.red40},\n ${e.colors.redLighter40}\n )`}}},"","","",""),success:e=>(0,i.css)({[`& ${wo}`]:{border:"double 1px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.greenLighter},\n ${e.colors.green}\n )`,"&:hover":{border:"double 1.4px transparent"},"&:focus":{border:"double 2px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.greenLighter40},\n ${e.colors.green40}\n )`}},svg:{stroke:`${e.colors.green}`}},"","","",""),custom:()=>ko},Ro=({name:e,type:t="text",placeholder:r,validationSchema:n,status:o="basic",disabled:s=!1,startElement:a,endElement:l,className:c,inputProps:u={},register:d,onKeyUp:p},g)=>{if(!d)throw new Error("Input component must be used within a Form component");const f=()=>!s&&!l,h=d(e,n);return(0,i.jsx)(Co,{css:[Do[o],"","","",""],disabled:s},a?(0,i.jsx)("div",{css:Lo},a):null,(0,i.jsx)(wo,y({type:t,id:`formElement-${e}`,placeholder:r,disabled:s,css:(0,i.css)({paddingLeft:a&&40,paddingRight:l&&40},"",""),className:c,onKeyUp:p},u,d(e,n),{ref:vn([h.ref,g])})),"error"===o&&f()?(0,i.jsx)(To,null):null,"success"===o&&f()?(0,i.jsx)(Oo,null):null,l?(0,i.jsx)("div",{css:So},l):null)};var zo=(0,w.forwardRef)(Ro);const Po=(0,w.createContext)([!1,()=>{}]);var Ao=({isOpen:e,...t})=>{const[r,n]=(0,w.useState)(e||!1);return(0,i.jsx)(Po.Provider,y({value:[r,n]},t))},Io=a(468),$o=function({children:e}){const[,t]=(0,w.useContext)(Po);return(0,w.cloneElement)(e,{onClick:(0,Io.callAll)((()=>t(!1)),e.props.onClick)})};const Zo=(e,t,r)=>(0,i.css)("display:",t?"flex":"none",";position:fixed;inset:0;justify-content:center;align-items:center;background-color:",r?"transparent":e.colors.grey20,";z-index:1000;","",""),No=(e,t)=>(0,i.css)("display:",t?"flex":"none",";flex-direction:column;position:relative;width:100%;max-width:400px;padding:20px;background-color:white;box-shadow:0 5px 15px ",e.colors.grey20,";border-radius:20px;","","");var Ho=({isOpen:e,noBackground:t,children:r,"aria-label":n,...o})=>{const s=(0,i.useTheme)();return(0,i.jsx)("div",{role:"button",tabIndex:-1,css:Zo(s,e,t)},(0,i.jsx)("div",y({"aria-modal":"true","aria-labelledby":n,role:"dialog",css:No(s,e)},o),r))},Fo=function({children:e,"aria-label":t,...r}){const[n]=(0,w.useContext)(Po);return(0,i.jsx)(Ho,y({"aria-label":t,isOpen:n},r),n?e:null)},Vo=function({children:e}){const[,t]=(0,w.useContext)(Po);return(0,w.cloneElement)(e,{onClick:(0,Io.callAll)((()=>t(!0)),e.props.onClick)})};const Bo=w.createContext({}),_o=()=>{const e=w.useContext(Bo);if(null==e)throw new Error("Popover components must be wrapped in <Popover />");return e},Wo=({children:e,modal:t=!1,...r})=>{const n=(({initialOpen:e=!1,placement:t="bottom",modal:r,open:n,onOpenChange:o,floatingOptions:i={}}={})=>{const[s,a]=w.useState(e),[l,c]=w.useState(),[u,d]=w.useState(),p=n??s,g=o??a,f=mo({placement:t,open:p,onOpenChange:g,whileElementsMounted:Ur,middleware:[Rr(5),Dr({crossAxis:t.includes("-"),padding:5}),zr({padding:5})],...i}),h=f.context,x=yo([uo(h,{enabled:null==n}),xo(h),vo(h)]);return w.useMemo((()=>({open:p,setOpen:g,...x,...f,modal:r,labelId:l,descriptionId:u,floatingOptions:i,setLabelId:c,setDescriptionId:d})),[p,g,x,f,r,l,u,i])})({modal:t,...r});return(0,i.jsx)(Bo.Provider,{value:n},e)},qo=w.forwardRef((function(e,t){const{setOpen:r}=_o();return(0,i.jsx)(Re,y({ref:t,variant:"secondary"},e,{onClick:t=>{e.onClick?.(t),r(!1)}}))}));var Uo={name:"3abrc0",styles:"width:auto"};const Qo=w.forwardRef((function({style:e,...t},r){const{context:n,...o}=_o(),s=vn([o.refs.setFloating,r]);return n.open?(0,i.jsx)(oo,null,(0,i.jsx)(ao,{context:n,modal:o.modal},(0,i.jsx)(ye,y({ref:s,css:Uo,style:{...o.floatingStyles,...e},"aria-labelledby":o.labelId,"aria-describedby":o.descriptionId,direction:"column"},o.getFloatingProps(t)),t.children))):null})),Go={name:"96m7w5",styles:"font-size:2.488rem;line-height:3.375rem"},Xo=e=>(0,i.css)("font-size:1.188rem;line-height:1.375rem;",e.mediaQueries.md,"{font-size:1.719rem;}",e.mediaQueries.lg,"{font-size:2.074rem;line-height:2.813rem;}","",""),Yo=e=>(0,i.css)("font-size:1.438rem;line-height:1.625rem;",e.mediaQueries.lg,"{font-size:1.728rem;}","",""),Ko={name:"syje04",styles:"font-size:1.44rem;line-height:1.625rem"},Jo=e=>(0,i.css)("font-size:1rem;line-height:1.5rem;",e.mediaQueries.md,"{font-size:1.2rem;}","",""),ei={name:"186bvbg",styles:"font-size:1rem;line-height:1.375rem"},ti={name:"t6dbm",styles:"font-size:0.833rem;line-height:0.938rem"},ri={name:"xmvvjj",styles:"font-size:0.694rem;line-height:0.938rem"},ni={name:"176y97v",styles:"font-size:0.579rem;line-height:0.938rem"},oi={name:"1289xoh",styles:"font-size:0.5rem;line-height:0.938rem"},ii={name:"1j7d63q",styles:"display:block;font-size:0.481rem;line-height:0.75rem"},si={name:"zfxb30",styles:"font-style:normal;font-weight:400"},ai={name:"1ef5ax",styles:"font-style:normal;font-weight:500"},li={name:"14avjek",styles:"font-style:normal;font-weight:600"},ci={name:"h15tq0",styles:"font-style:normal;font-weight:700"},ui={name:"14oxna6",styles:"margin-block-end:1rem"},di={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle:"h6",body1:"p",body2:"p",body3:"p",caption:"span"};var pi=(0,w.forwardRef)((function({children:e,weight:t="regular",variant:n="body1",gutter:o=!1,color:s="rgba(43, 45, 49, 1)",as:a,...l},c){const u=a||di[n];return(0,i.jsx)(u,y({ref:c,css:[r[n],r[t],(0,i.css)("color:",s,";","",""),o&&ui,"","","",""]},l),e)}));const gi=w.forwardRef((function(e,t){const{setDescriptionId:r}=_o(),n=Tn();return w.useLayoutEffect((()=>(r(n),()=>r(void 0))),[n,r]),(0,i.jsx)(pi,y({as:"div"},e,{ref:t,id:n}))})),fi=w.forwardRef((function(e,t){const{setLabelId:r}=_o(),n=Tn();return w.useLayoutEffect((()=>(r(n),()=>r(void 0))),[n,r]),(0,i.jsx)(pi,y({},e,{ref:t,id:n}),e.children)}));var hi={name:"220rkc",styles:"color:#fff"};const xi=w.forwardRef((function({children:e,asChild:t=!1,dataTestId:r="trigger-button",...n},o){const s=_o(),a=e?.ref,l=vn([s?.refs.setReference,o,a]);return t&&w.isValidElement(e)?w.cloneElement(e,s?.getReferenceProps({ref:l,...n,...e.props,"data-state":s.open?"open":"closed"})):(0,i.jsx)(Re,y({css:hi,"data-testid":r,ref:l,"data-state":s?.open?"open":"closed"},s?.getReferenceProps(n)),e)}));var mi=W("div",{target:"e17t09ee0"})({name:"1g20qn",styles:"display:inline-block;position:relative;min-width:180px"});const bi=w.createContext({allItems:{},isMultiple:!1,onChange:()=>{}});var yi=bi;const vi=W("ul",{target:"e1ckq94i1"})("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;overflow-x:hidden;overflow-y:auto;z-index:2;filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";backdrop-filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";",(({theme:e})=>Fe.blueInput(e)),";"),wi=W("div",{target:"e1ckq94i0"})((({theme:e,isDisabled:t})=>({display:"block",cursor:t?"default":"pointer",font:"inherit",fontSize:"0.813rem",outline:"inherit",textAlign:"left",width:"100%",padding:0,margin:0,background:"none",color:"inherit",border:"none",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",userSelect:"none","& label":{margin:"0 16px 0 0","& input + div":{borderRadius:"2px","&::before":{borderRadius:"2px"}}},"&:has(> label > input:checked)":{fontWeight:"800"},"&:hover input:not(:checked, :indeterminate) + div::before":{borderColor:e.colors.greyDropdownFocused}})),""),Ci={id:Number.NaN,value:"No items"};var ki={name:"ti75j2",styles:"margin:0"},ji=({ariaLabelledby:e,id:t,children:r})=>{const{onChange:n,allItems:o,isMultiple:s}=w.useContext(bi),a=k().Children.toArray(r).filter(Boolean).map((e=>{const t=o[e.props.value],r=Boolean(t?.isSelected),a=Boolean(t?.isDisabled);return k().cloneElement(e,{...e.props,isActive:r,isMultiple:s,"aria-selected":r,onClick:t=>{t.preventDefault(),((e,t)=>{if(!t){const t=o[e];n(t)}})(e.props.value,a)}},(0,i.jsx)(wi,{checked:r,isDisabled:a,role:"button"},s&&(0,i.jsx)(Be,{initialState:r,externalState:r,isDisabled:a,css:ki,color:"blue"}),e.props.children||e.props.label||e.props.value))}));return 0===a.length&&a.push((0,i.jsx)(Mt,{key:Ci.id,value:"","aria-selected":!1},(0,i.jsx)(wi,{as:"button"},Ci.value))),(0,i.jsx)(vi,{role:"listbox",tabindex:"-1",id:t,"aria-labelledby":e},a)},Li=W(fe,{target:"epos7tr0"})("min-width:18px;width:18px;color:",(({theme:e})=>e.colors.white),";background-color:",(({theme:e})=>e.colors.blueNotification),";font-size:10px;border-radius:50%;");const Si=W("div",{target:"ezz35kx0"})({name:"l8l8b8",styles:"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"});function Mi({selectedItems:e=[],isDisabled:t,isOpen:r,isMultiple:n=!0,placeholder:o="Select something",showPlaceholder:s=!0,label:a,children:l,onChange:c,className:u},d){const p=(0,i.useTheme)(),g=(0,w.useRef)(null),f=(0,w.useId)(),[h,x]=(0,w.useState)(!1),[m,b]=(0,w.useState)(r||!1),[y,v]=(0,w.useState)([]),[C,j]=(0,w.useState)({}),[L,S]=(0,w.useState)([]),[M,T]=(0,w.useState)([]),[E,O]=(0,w.useState)([]),D=k().useMemo((()=>e),[JSON.stringify(e)]),R=e=>{if(t||!e)return;if(!n&&C[e.value].isSelected)return;let r={},o=!0;n?(o=!C[e.value].isSelected,r={...C,[e.value]:{...C[e.value],isSelected:o}},j(r)):(r=(0,Io.mapObjIndexed)((t=>({...t,isSelected:t.value===e.value})),C),j(r),b(!1)),c&&c(e.value,o)};(0,vt.useClickOutside)(g,(()=>m&&b(!1))),(0,w.useEffect)((()=>{t?v([p.colors.greyDarker60,p.colors.grey20]):m?v([p.colors.white,p.colors.white60]):h&&v([p.colors.greyDarker,p.colors.greyDarker60])}),[m,t,h]),(0,w.useEffect)((()=>{t&&m&&b(!1)}),[t]),(0,w.useEffect)((()=>{const e=k().Children.toArray(l).filter(Boolean),t=[],r={},n=e.map(((e,n)=>{const o={...e.props,isSelected:!!D.find((t=>t.value===e.props.value))};return t.push(o),r[o.value]=o,k().cloneElement(e,{index:n,onClick:R.bind(null),...e.props})}));j(r),S(n)}),[D]);const z=k().useMemo((()=>({onChange:R,allItems:C,isMultiple:n})),[R,C,n]);return(0,w.useEffect)((()=>{const e=(({allItems:e={},placeholder:t})=>{const r=Object.values(e).filter((e=>e.isSelected)).map((e=>(({activeItem:e,placeholder:t})=>e&&(e.label||e.children||e.value||e)||t)({activeItem:e,placeholder:t})));return r.length?r:[t]})({allItems:C,placeholder:o}),t=e.filter((e=>e!==o));T(e),O(t)}),[C]),(0,i.jsx)(yi.Provider,{value:z},(0,i.jsx)(mi,{ref:vn([g,d]),"data-testid":"dropdown"},(0,i.jsx)(Ct,{className:u,isOpen:m,disabled:t,onClick:b.bind(null,!m),onFocus:x.bind(null,!0),colors:y,ariaLabelledby:`dropdown-label-${f}`,ariaControls:`dropdown-popup-${f}`,isMultiple:n,selectedCount:E.length},n?(0,i.jsx)(k().Fragment,null,(0,i.jsx)(Si,null,a,s?M.length>0&&`: ${M[0]}`:E.length>0&&`: ${E[0]}`),M.length>1?(0,i.jsx)(Li,{as:"div"},"+",M.length-1):""):M.join(""),(0,i.jsx)(jt,{isUp:m})),m?(0,i.jsx)(ji,null,L):null))}var Ti=k().forwardRef(Mi);const Ei=e=>(0,i.css)("position:relative;background-color:",e.colors.greyLighter,";border-radius:12px;box-shadow:inset 0 -1px 1px ",e.colors.white30,";","","");var Oi={name:"14rz325",styles:"position:absolute;display:block;bottom:0;border-radius:12px"};const Di=()=>Oi,Ri={pink:s,yellow:c,green:d,turquoise:p,purple:g,blue:f,blueLight:h,yellowWarm:u};var zi=({percentage:e,color:t="green",vertical:r=!1,bgColor:n="rgba(238, 241, 247, 1)",size:o=12})=>{const s={horizontal:{height:o,width:"100%"},vertical:{height:"100%",width:o}},a={horizontal:{width:`${e}%`,height:o},vertical:{width:o,height:`${e}%`}};return(0,i.jsx)("div",{css:[Ei,{backgroundColor:n},"","","",""],style:{...s[r?"vertical":"horizontal"]}},(0,i.jsx)("span",{role:"progressbar",css:[Di,Ri[t],"","","",""],style:a[r?"vertical":"horizontal"]}))},Pi={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Ai;const Ii=new Uint8Array(16);function $i(){if(!Ai&&(Ai="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ai))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ai(Ii)}const Zi=[];for(let e=0;e<256;++e)Zi.push((e+256).toString(16).slice(1));function Ni(e,t=0){return(Zi[e[t+0]]+Zi[e[t+1]]+Zi[e[t+2]]+Zi[e[t+3]]+"-"+Zi[e[t+4]]+Zi[e[t+5]]+"-"+Zi[e[t+6]]+Zi[e[t+7]]+"-"+Zi[e[t+8]]+Zi[e[t+9]]+"-"+Zi[e[t+10]]+Zi[e[t+11]]+Zi[e[t+12]]+Zi[e[t+13]]+Zi[e[t+14]]+Zi[e[t+15]]).toLowerCase()}var Hi=function(e,t,r){if(Pi.randomUUID&&!t&&!e)return Pi.randomUUID();const n=(e=e||{}).random||(e.rng||$i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return Ni(n)};const Fi=W("div",{target:"eok4i9s0"})("width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;position:relative;svg{position:absolute;top:0;left:0;filter:",(({theme:e,color:t})=>`drop-shadow(3px 5px 10px ${e.colors[`${t}Lighter40`]||e.colors[t]})`),";}circle{fill:none;stroke:url(#",(({gradientId:e})=>e),");stroke-width:",(({size:e})=>e/10),"px;stroke-linecap:round;stroke-dasharray:",(({fullStroke:e})=>e),";stroke-dashoffset:",(({fullStroke:e})=>e),";animation:",(({gradientId:e})=>e)," 1s linear forwards;}@keyframes ",(({gradientId:e})=>e),"{100%{stroke-dashoffset:",(e=>e.svgOffset),";}}"),Vi=W("div",{target:"ec0v4p0"})("width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;border-radius:50%;padding:",(({size:e})=>e/10),"px;background:",(({theme:e})=>e.colors.greyLighter),";"),Bi=W("div",{target:"e73kyir0"})("width:",(({size:e})=>e-e/10*2),"px;height:",(({size:e})=>e-e/10*2),"px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;");var _i=({max:e,currentValue:t,color:r="green",size:n=160,infoContent:o})=>{const s=(0,i.useTheme)(),a=`gradient-${Hi()}`,l=n/10/2,c=22/7*2*(n/2-l),u=c-44/7*(n/2-l)*(t/e*100)/100,d=`${r}Lighter`,p=s.colors[d]||s.colors[r];return(0,i.jsx)(Fi,{gradientId:a,role:"progressbar",fullStroke:c,svgOffset:u,color:r,size:n},(0,i.jsx)(Vi,{size:n},(0,i.jsx)(Bi,{size:n},o)),(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:`0 0 ${n} ${n}`,preserveAspectRatio:"xMinYMin slice",width:"100%",height:"100%"},(0,i.jsx)("defs",null,(0,i.jsx)("linearGradient",{id:a},(0,i.jsx)("stop",{offset:"0%",stopColor:s.colors[r]}),(0,i.jsx)("stop",{offset:"100%",stopColor:p}))),(0,i.jsx)("circle",{cx:n/2,cy:n/2,r:n/2-l})))},Wi=({children:e,vertical:t=!1})=>{const r={horizontal:{width:"100%",height:"12px"},vertical:{height:"100%",width:"35px"}};return(0,i.jsx)("div",{style:{position:"relative",fontSize:"10px",fontWeight:700,...r[t?"vertical":"horizontal"]}},w.Children.map(e,(e=>{if((0,w.isValidElement)(e))return(0,w.cloneElement)(e,{...e.props,vertical:t})})))},qi=({position:e="current",percentage:t,vertical:r=!1,children:n})=>{const o={horizontal:{top:0,left:"start"===e?0:"current"===e?`${t}%`:"100%",transform:"current"===e||"end"===e?"translateX(-50%)":"none"},vertical:{width:"100%",top:"start"===e?"100%":"current"===e?100-t+"%":0,transform:"start"===e?"translateY(-100%)":"current"===e?"translateY(-50%)":"none"}};return(0,i.jsx)("div",{style:{position:"absolute",display:"block",lineHeight:1,...o[r?"vertical":"horizontal"]}},n)},Ui=({children:e})=>(0,i.jsx)("div",{style:{display:"flex",height:"100%"}},w.Children.map(e,(e=>{if((0,w.isValidElement)(e))return(0,w.cloneElement)(e,{vertical:!0})})));const Qi=w.createContext({activeStep:0,orientation:"horizontal",color:"grey",inverted:!1});function Gi(){return w.useContext(Qi)}var Xi=Qi,Yi=({activeStep:e=0,orientation:t="horizontal",color:r="#4178e1",inverted:n=!1,children:o,sx:s})=>{const a=k().Children.toArray(o).filter(Boolean);n&&a.reverse();const l=a.map(((e,t)=>k().cloneElement(e,{index:n?a.length-t-1:t,...e.props}))),c=k().useMemo((()=>({activeStep:e,orientation:t,color:r,inverted:n})),[e,t,r,n]);return(0,i.jsx)(Xi.Provider,{value:c},(0,i.jsx)("div",{"data-testid":"stepper",css:(0,i.css)("display:flex;flex-direction:","vertical"===t?"column":"row",";row-gap:8px;","",""),style:{...s}},l))};const Ki=w.createContext({index:0,active:!1,completed:!1,disabled:!1});function Ji(){return w.useContext(Ki)}var es=Ki;const ts=e=>(0,i.css)("position:absolute;top:10px;left:calc(",e?"50%":"-50%"," + 16px);right:calc(",e?"-50%":"50%"," + 16px);","",""),rs=e=>(0,i.css)("display:block;border-color:",e,";border-left-style:solid;border-left-width:2px;min-height:20px;","",""),ns=e=>(0,i.css)("display:block;border-color:",e,";border-top-width:2px;border-top-style:solid;","","");var os={name:"1hrg7is",styles:"flex:1 1 auto;margin-left:calc(12px - 1px)"},is=()=>{const e=(0,i.useTheme)(),{orientation:t,color:r,inverted:n}=Gi(),{active:o,completed:s}=Ji(),a=o||s?r:e.colors.grey;return"vertical"===t?(0,i.jsx)("div",{css:os},(0,i.jsx)("span",{css:rs(a)})):(0,i.jsx)("div",{css:ts(n)},(0,i.jsx)("span",{css:ns(a)}))},ss={name:"15tvnc7",styles:"flex:1 1 0%;position:relative"},as=({index:e=0,children:t,Connector:r=is})=>{const{activeStep:n,orientation:o,inverted:s}=Gi();let[a,l,c]=[!1,!1,!1];n===e?a=n===e:n>e?l=!0:n<e&&(c=!0);const u=(0,w.useMemo)((()=>({index:e,active:a,completed:l,disabled:c})),[e,a,l,c]);return(0,i.jsx)(es.Provider,{value:u},s||"vertical"!==o||0===e?null:(0,i.jsx)(r,{active:a,completed:l}),(0,i.jsx)("div",{css:ss},"horizontal"===o&&0!==e?(0,i.jsx)(r,{active:a,completed:l}):null,t),s&&"vertical"===o&&0!==e&&(0,i.jsx)(r,{active:a,completed:l}))};const ls={name:"i38kcj",styles:"display:flex;align-items:center;flex-direction:column"},cs={name:"1w8lz0x",styles:"display:flex;height:22px;align-items:center"},us={name:"11a6uth",styles:"display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-right:5px"},ds={name:"1azakc",styles:"text-align:center"},ps=e=>(0,i.css)("display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:",e,";","","");var gs=({children:e,StepIcon:t})=>{const r=(0,i.useTheme)(),{orientation:n,color:o}=Gi(),{index:s,active:a,completed:l}=Ji(),c="vertical"===n?us:cs;return(0,i.jsx)("div",{role:"listitem",css:ls,style:{flexDirection:"vertical"===n?"row":"column"}},(0,i.jsx)("div",{css:c},t?(0,i.jsx)(t,{index:s,completed:l,active:l}):l?(0,i.jsx)(ae,{name:"check",size:16,color:o}):(0,i.jsx)("div",{css:ps(a||l?o:r.colors.greyLighter)},(0,i.jsx)("span",{style:{color:a||l?r.colors.white:r.colors.grey}},s+1))),(0,i.jsx)("div",{css:ds},e))},fs=W("button",{target:"eb0rpfw0"})("width:44px;height:24px;border:0;outline:0;padding:0;border-radius:50px;position:relative;background:",(({theme:e})=>`linear-gradient(117.5deg, ${e.colors.greenLighter}, ${e.colors.green});`),";cursor:pointer;&::before{position:absolute;content:'';height:14px;width:14px;right:5px;bottom:calc(50% - 7px);background-color:",(({theme:e})=>e.colors.white),";transition:0.4s;border-radius:50%;}&[aria-checked='false']{background:",(({theme:e})=>e.colors.greyFocused),";}&:focus{box-shadow:",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),";outline:0;}&:disabled{background:",(({theme:e})=>e.colors.greyDisabled),";cursor:auto;}&:not(:disabled):hover{box-shadow:",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),";}&[aria-checked='false']:focus::after,&:not(:disabled)[aria-checked='false']:hover::after{",(({theme:e})=>b(e,"greenLighter","50px")),";}&[aria-checked='true']::before{transform:translateX(0);}&[aria-checked='false']::before{transform:translateX(-20px);}");const hs=(0,w.createContext)({isOn:!0,toggle:()=>{}}),xs=()=>(0,w.useContext)(hs),ms=({initialState:e,children:t})=>{const[r,n]=((e=!1)=>{const[t,r]=(0,w.useState)(e);return[t,(0,w.useCallback)((()=>r((e=>!e))),[])]})(e);return(0,i.jsx)(hs.Provider,{value:{isOn:r,toggle:n}},t)};var bs=({label:e,isDisabled:t=!1})=>{const{isOn:r,toggle:n}=xs();return(0,i.jsx)(fs,{type:"button",role:"switch","aria-readonly":t,"aria-checked":r,"aria-label":e,disabled:t,onClick:()=>!t&&n()})},ys=W("table",{target:"ef55xbt0"})({name:"1suweh2",styles:"display:table;width:100%;border-collapse:collapse;border-spacing:0"}),vs=W("td",{target:"e9xnb9j0"})("display:table-cell;vertical-align:inherit;text-align:",(({align:e})=>e||"left"),";border-bottom:1px solid #eef1f7;border-right:1px solid #eef1f7;padding:14px;"),ws=W("thead",{target:"e1ezyu020"})({display:"table-header-group",background:"#eef1f7",[`& ${vs}`]:{borderBottom:"1px solid white",borderRight:"1px solid white"}},""),Cs=W("tr",{target:"epe3ucm0"})({name:"1cb05rb",styles:"display:table-row;outline:0;vertical-align:middle"}),ks=W("tbody",{target:"erj4fs00"})({name:"xfuyo9",styles:"display:table-row-group"});const js=({placement:e,enableClick:t=!0,enableHover:r=!1,offsetPx:n=12,size:o="small",hasArrow:i=!0,arrowProps:s={},isOpen:a=!1})=>{const[l,c]=(0,w.useState)(a||!1),u=(0,w.useRef)(null),d=mo({open:l,onOpenChange:c,placement:e,middleware:[Rr(n),Dr(),zr(),(p={element:u},{name:"arrow",options:p,fn(e){const{element:t,padding:r}="function"==typeof p?p(e):p;return t&&(n=t,{}.hasOwnProperty.call(n,"current"))?null!=t.current?Or({element:t.current,padding:r}).fn(e):{}:t?Or({element:t,padding:r}).fn(e):{};var n}})],whileElementsMounted:Ur});var p;const{context:g}=d,f=function(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:o,events:i,elements:{domReference:s,floating:a},refs:l}=e,{enabled:c=!0,delay:u=0,handleClose:d=null,mouseOnly:p=!1,restMs:g=0,move:f=!0}=t,h=Pn(),x=zn(),m=In(d),b=In(u),y=w.useRef(),v=w.useRef(),C=w.useRef(),k=w.useRef(),j=w.useRef(!0),L=w.useRef(!1),S=w.useRef((()=>{})),M=w.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);w.useEffect((()=>{if(c)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(){clearTimeout(v.current),clearTimeout(k.current),j.current=!0}}),[c,i]),w.useEffect((()=>{if(!c||!m.current||!r)return;function e(e){M()&&n(!1,e)}const t=nr(a).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[a,r,n,c,m,o,M]);const T=w.useCallback((function(e,t){void 0===t&&(t=!0);const r=Zn(b.current,"close",y.current);r&&!C.current?(clearTimeout(v.current),v.current=setTimeout((()=>n(!1,e)),r)):t&&(clearTimeout(v.current),n(!1,e))}),[b,n]),E=w.useCallback((()=>{S.current(),C.current=void 0}),[]),O=w.useCallback((()=>{if(L.current){const e=nr(l.floating.current).body;e.style.pointerEvents="",e.removeAttribute($n),L.current=!1}}),[l]);return w.useEffect((()=>{if(c&&Zt(s)){const e=s;return r&&e.addEventListener("mouseleave",u),null==a||a.addEventListener("mouseleave",u),f&&e.addEventListener("mousemove",i,{once:!0}),e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",l),()=>{r&&e.removeEventListener("mouseleave",u),null==a||a.removeEventListener("mouseleave",u),f&&e.removeEventListener("mousemove",i),e.removeEventListener("mouseenter",i),e.removeEventListener("mouseleave",l)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function i(e){if(clearTimeout(v.current),j.current=!1,p&&!rr(y.current)||g>0&&0===Zn(b.current,"open"))return;const t=Zn(b.current,"open",y.current);t?v.current=setTimeout((()=>{n(!0,e)}),t):n(!0,e)}function l(n){if(t())return;S.current();const o=nr(a);if(clearTimeout(k.current),m.current){r||clearTimeout(v.current),C.current=m.current({...e,tree:h,x:n.clientX,y:n.clientY,onClose(){O(),E(),T(n)}});const t=C.current;return o.addEventListener("mousemove",t),void(S.current=()=>{o.removeEventListener("mousemove",t)})}("touch"!==y.current||!Kt(a,n.relatedTarget))&&T(n)}function u(r){t()||null==m.current||m.current({...e,tree:h,x:r.clientX,y:r.clientY,onClose(){O(),E(),T(r)}})(r)}}),[s,a,c,e,p,g,f,T,E,O,n,r,h,b,m,o]),kn((()=>{var e;if(c&&r&&null!=(e=m.current)&&e.__options.blockPointerEvents&&M()){const e=nr(a).body;if(e.setAttribute($n,""),e.style.pointerEvents="none",L.current=!0,Zt(s)&&a){var t,n;const e=s,r=null==h||null==(t=h.nodesRef.current.find((e=>e.id===x)))||null==(n=t.context)?void 0:n.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{e.style.pointerEvents="",a.style.pointerEvents=""}}}}),[c,r,x,a,s,h,m,o,M]),kn((()=>{r||(y.current=void 0,E(),O())}),[r,E,O]),w.useEffect((()=>()=>{E(),clearTimeout(v.current),clearTimeout(k.current),O()}),[c,s,E,O]),w.useMemo((()=>{if(!c)return{};function e(e){y.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){r||0===g||(clearTimeout(k.current),k.current=setTimeout((()=>{j.current||n(!0,e.nativeEvent)}),g))}},floating:{onMouseEnter(){clearTimeout(v.current)},onMouseLeave(e){i.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),T(e.nativeEvent,!1)}}}}),[i,c,g,r,n,T])}(g,{enabled:r,move:!0}),h=yo([f,uo(g,{enabled:t}),xo(g),vo(g)]);return(0,w.useMemo)((()=>({isOpen:l,arrowRef:u,size:o,hasArrow:i,arrowProps:s,...d,...h})),[l,u,o,i,s,d,h])},Ls=(0,w.createContext)(null),Ss=()=>{const e=(0,w.useContext)(Ls);if(null==e)throw new Error("The component should be wrapped with <Tooltip> to have access to the context");return e};var Ms=({children:e,...t})=>{const r=js(t);return(0,i.jsx)(Ls.Provider,{value:r},e)},Ts=({children:e})=>{const t=Ss();return(0,w.isValidElement)(e)?(0,w.cloneElement)(e,t?.getReferenceProps({ref:t.refs.setReference})):null};const Es=({width:e=10,height:t=10,fill:r,...n})=>{const{context:o,arrowRef:s}=Ss(),a=(0,i.useTheme)();return(0,i.jsx)(En,y({"data-testid":"floating-arrow",ref:s,context:o,width:e,height:t,fill:r||a.colors.greyLighter},n))},Os=W("div",{target:"e1bojkfb0"})("line-height:0.75rem;background:",(({theme:e})=>e.colors.greyLighter),";border-radius:8px;color:",(({theme:e})=>e.colors.greyDarker),";font-weight:600;"),Ds={name:"1gyajfm",styles:"font-size:0.579rem;padding:6px 12px"},Rs={name:"171cl2n",styles:"font-size:0.694rem;padding:8px 16px"},zs={name:"2t1ujq",styles:"font-size:0.833rem;padding:10px 20px"},Ps={small:Ds,medium:Rs,large:zs};var As=(0,w.forwardRef)((function({children:e,className:t,style:r},n){const o=Ss(),s=vn([o?.refs.setFloating,n]);return(0,i.jsx)(oo,null,o?.isOpen&&(0,i.jsx)(ao,{context:o.context,modal:!1},(0,i.jsx)(Os,o.getFloatingProps({ref:s,css:o.size&&Ps[o.size],className:t,style:{position:o.strategy,top:o.y??0,left:o.x??0,width:"max-content",...r}}),o.hasArrow&&(0,i.jsx)(Es,o.arrowProps),e)))}));const Is=({point:e,size:t="small",renderValue:r})=>{const{data:n}=e,{xFormatted:o,yFormatted:s}=n;return(0,i.jsx)(Os,{css:Ps[t]},"function"==typeof r?r(n):`${o} - ${s}`)};var $s={name:"1pays9c",styles:"display:flex;flex-direction:row;justify-content:space-between;align-items:center;line-height:1rem;margin-bottom:6px"},Zs={name:"s5xdrg",styles:"display:flex;align-items:center"};const Ns=({caption:e,value:t,valueFormatted:r,iconName:n,barProps:o={}})=>{const{color:s}=o;return(0,i.jsx)(Os,{css:[Ps.small,"padding:12px;width:112px;","","",""]},(0,i.jsx)("div",{css:$s},(0,i.jsx)(pi,{variant:"body2",weight:"medium"},e),(0,i.jsx)(pi,{variant:"body3",weight:"lighter",css:Zs},r,n&&(0,i.jsx)(ae,{name:n,size:8}))),(0,i.jsx)(zi,{percentage:t,color:s,bgColor:"#fff",size:6}))},Hs={tabId:Number.NaN,renderContent(){return null}},Fs=(0,w.createContext)({activeTab:Hs,setActiveTab(){}}),Vs=()=>(0,w.useContext)(Fs),Bs=({initialTab:e=Hs,children:t})=>{const{activeTab:r,setActiveTab:n}=(e=>{const[t,r]=(0,w.useState)(e);return{activeTab:t,setActiveTab:e=>r(e)}})(e);return(0,i.jsx)(Fs.Provider,{value:{activeTab:r,setActiveTab:n}},t)},_s=W("div",{target:"e1hg26v10"})("");var Ws=({children:e})=>{const{activeTab:t,setActiveTab:r}=Vs(),n=t?.tabId;return(0,i.jsx)(_s,{role:"tablist"},w.Children.map(e,(e=>{if((0,w.isValidElement)(e)){const{renderContent:t,...o}=e.props,i=o.tabId;return(0,w.cloneElement)(e,{key:i,isActive:n===i,onClick:()=>n!==i&&r({tabId:i,renderContent:t.bind(null,o)})})}})))};const qs=W("button",{target:"e1k30s2y0"})("height:34px;border:0;outline:0;padding:0 14px;margin:0 1px 0 0;color:",(({theme:e})=>e.colors.greyDarker),";background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greyLighter),";font-size:14px;line-height:15px;cursor:pointer;&:first-of-type{border-radius:12px 0 0 12px;}&:last-child{border-radius:0 12px 12px 0;margin-right:0;}&:focus{background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greySelectedMenuItem),";}");var Us=({onClick:e,isActive:t,text:r,ariaControls:n,tabId:o})=>(0,i.jsx)(qs,{role:"tab",id:`${o}`,"aria-selected":t,"aria-controls":n,tabIndex:0,isActive:t,title:r,onClick:()=>{"function"==typeof e&&e()}},r);const Qs=W("button",{target:"etuhwiv0"})("width:100px;max-width:100px;height:60px;border:0;border-radius:12px;outline:0;margin:0 12px 0 0;padding:0;color:",(({theme:e})=>e.colors.greyDarker),";background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greyLighter),";box-shadow:",(({isActive:e,theme:t})=>e?`0px 10px 40px ${t.colors.greyShadow24}`:null),";cursor:pointer;&:last-child{margin-right:0;}&:focus{background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greySelectedMenuItem),";}p{letter-spacing:0.1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}@media (max-width: 900px){max-width:70px;}"),Gs=e=>(0,i.css)("fontSize:'15.5px',lineHeight:'22px',fontWeight:300,color:",e.colors.greyDarker60,",margin:0,;","",""),Xs=e=>(0,i.css)("fontSize:'14px',fontWeight:500,lineHeight:'18px',color:",e.colors.greyDarker,",margin:'3px 0 0 0',;","","");var Ys=({topText:e,bottomText:t,isActive:r,onClick:n,ariaControls:o,tabId:s})=>{const a=(0,i.useTheme)();return(0,i.jsx)(Qs,{role:"tab",id:`${s}`,"aria-selected":r,"aria-controls":o,tabIndex:0,isActive:r,title:`${e}-${t}`,onClick:()=>{"function"==typeof n&&n()}},(0,i.jsx)("p",{css:Gs(a)},e),(0,i.jsx)("p",{css:Xs(a)},t))};const Ks={pink:[e=>(0,i.css)("color:",e.colors.pink,";background-color:",e.colors.pink20,";background:linear-gradient(\n 90deg,\n ",e.colors.pink20," 0%,\n ",e.colors.pinkLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.pinkShadow40,";","",""),(0,i.css)("border:1px solid ",o.colors.pink,";","","")],yellow:[e=>(0,i.css)("color:",e.colors.yellow,";background-color:",e.colors.yellow20,";background:linear-gradient(\n 90deg,\n ",e.colors.yellow20," 0%,\n ",e.colors.yellowLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.yellow,";","","")],green:[e=>(0,i.css)("color:",e.colors.green,";background-color:",e.colors.green20,";background:linear-gradient(\n 270deg,\n ",e.colors.greenLighter20," 0%,\n ",e.colors.green20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.greenLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.green,";","","")],turquoise:[e=>(0,i.css)("color:",e.colors.turquoise,";background-color:",e.colors.turquoise20,";background:linear-gradient(\n 90deg,\n ",e.colors.turquoise20," 0%,\n ",e.colors.turquoiseLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.turquoiseShadow40,";","",""),(0,i.css)("border:1px solid ",o.colors.turquoise,";","","")],purple:[e=>(0,i.css)("color:",e.colors.purple,";background-color:",e.colors.purpleLighter20,";background:linear-gradient(\n 270deg,\n ",e.colors.purpleLighter20," 0%,\n ",e.colors.purple20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.purpleLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.purple,";","","")],blueLight:[e=>(0,i.css)("color:",e.colors.blueLight,";background-color:",e.colors.blueLight20,";background:linear-gradient(\n 270deg,\n ",e.colors.blueLight20," 0%,\n ",e.colors.blueLightLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.blueLightLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.blueLight,";","","")],blue:[e=>(0,i.css)("color:",e.colors.blue,";background-color:",e.colors.blue20,";background:linear-gradient(\n 90deg,\n ",e.colors.blueLighter20,",\n ",e.colors.blue20,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightDarker40,";","",""),(0,i.css)("border:1px solid ",o.colors.blue,";","","")],yellowWarm:[e=>(0,i.css)("color:",e.colors.yellowLighter,";background-color:",e.colors.yellowLighter20,";background:linear-gradient(\n 90deg,\n ",e.colors.yellowLighter20," 0%,\n ",e.colors.yellowWarm20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.yellowWarm40,";","",""),(0,i.css)("border:1px solid ",o.colors.yellowWarm,";","","")]};var Js=({color:e="purple",size:t="medium",className:r,children:n})=>(0,i.jsx)(be,{color:e,size:t,css:Ks[e],className:r},n);const ea=W("textarea",{target:"e1jiml3c0"})("flex:1 100%;background:",(({theme:e})=>e.colors.white),";border-radius:12px;background-origin:border-box;background-clip:padding-box,border-box;border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";color:",(({theme:e})=>e.colors.greyDarker),";width:100%;min-height:114px;padding:14px;font-weight:400;font-size:0.875rem;line-height:1rem;&::placeholder{color:",(({theme:e})=>e.colors.greyDarker60),";}&:hover{border:",(({theme:e})=>`1.4px solid ${e.colors.greyDarker60};`),";}&:focus{border:",(({theme:e})=>`2px solid ${e.colors.grey40};`),";}&:disabled{color:",(({theme:e})=>`${e.colors.grey}`),";border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";background:",(({theme:e})=>e.colors.greyLighter),";&::placeholder{color:",(({theme:e})=>e.colors.grey),";}}");var ta=({name:e,placeholder:t,register:r,validationSchema:n,disabled:o=!1,rows:s=10,setCountChar:a,maxLength:l})=>{if(!r)throw new Error("Input component must be used within a Form component");const{onChange:c,...u}=r(e,n);return(0,i.jsx)(ea,y({id:`formElement-${e}`,placeholder:t,disabled:o,rows:s,maxLength:l,onChange:(0,Io.callAll)(a,c)},u))};const ra={error:"red",success:"greenLighter",basic:"greyDarker60"},na=W("span",{target:"ereid9f0"})("display:block;font-weight:400;font-size:0.688rem;margin:6px 0 0 4px;color:",(({theme:e,status:t="basic"})=>e.colors[ra[t]]),";");var oa=({role:e,status:t,disabled:r,children:n})=>(t=r?"basic":t,(0,i.jsx)(na,{role:e,status:t},n)),ia={name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"},sa=({multirow:e,name:t,label:r,errors:n,helperText:o,success:s,disabled:a,maxLength:l,...c})=>{const[u,d]=k().useState(0),p=s?"success":n?"error":"basic";return(0,i.jsx)(k().Fragment,null,(0,i.jsx)(He,{htmlFor:`formElement-${t}`},r),e?(0,i.jsx)(ta,y({name:t,disabled:a,maxLength:l,setCountChar:e=>d(e.currentTarget.value.length)},c)):(0,i.jsx)(zo,y({name:t,status:p,disabled:a},c)),(0,i.jsx)("div",{css:ia},(0,i.jsx)(oa,{role:"status",status:p,disabled:a},n?n?.message:o),(0,i.jsx)(oa,{role:"meter"},l?`${u} / ${l}`:null)))};const aa=W(He,{target:"efp6u1p0"})("display:inline-flex;flex-grow:0;align-items:center;cursor:pointer;&:has(input:disabled){cursor:default;}input:focus+svg{filter:drop-shadow(\n ",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),"\n );}input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}span{margin-left:10px;font-size:14px;font-weight:100;}");var la=({id:e,name:t="",value:r,isChecked:n,isDisabled:o,isRequired:s,onChange:a,text:l,className:c})=>{const u=(0,i.useTheme)(),d=(0,w.useId)(),[p,g]=(0,w.useState)(!1),f=e||d;return(0,i.jsx)(aa,{htmlFor:f,className:c,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1)},(0,i.jsx)("input",{id:f,type:"radio",value:r,checked:n,onChange:()=>"function"==typeof a&&a(r),disabled:o,required:s,name:t}),(0,i.jsx)(ae,{name:n?"radio-on":"circle",size:20,color:u.colors[o?"greyFocused40":p?"green60":"green"]}),l?(0,i.jsx)("span",{"data-testid":e},l):null)};const ca=W("div",{target:"ex21npo0"})("");var ua=({name:e,isRequired:t,initialState:r,onChange:n,children:o,className:s})=>{const[a,l]=(0,w.useState)(r),c=e=>{l(e),n(e)};return(0,i.jsx)(ca,{role:"radiogroup","aria-required":t,className:s},w.Children.map(o,(r=>{if((0,w.isValidElement)(r)&&r.type===la){const{id:n,value:o,isDisabled:i,text:s}=r.props;return(0,w.cloneElement)(r,{key:n,name:e,value:o,isChecked:a===o,isDisabled:i,isRequired:t,text:s,onChange:c})}})))},da=({name:e,isRequired:t=!1,control:r,children:n,...o})=>{const{field:s}=bt({control:r,name:e,rules:{required:t}});return(0,i.jsx)(ua,y({name:s.name,onChange:e=>{s.onChange(e)},isRequired:t},o),n)},pa=({src:e,alt:t,...r})=>(0,i.jsx)("img",y({src:e,alt:t},r)),ga=W("form",{target:"e33is650"})({name:"1wb33nr",styles:"display:flex;flex-flow:row wrap"}),fa=W("div",{target:"e1kq83bj0"})({name:"b3bm4q",styles:"display:flex;margin:10px 0;flex:1 1 100%;flex-wrap:wrap;align-items:flex-start"}),ha=W("div",{target:"e1fqyjs10"})({name:"10h7o7i",styles:"flex:1 1 100%"}),xa=W("div",{target:"ex2po2m0"})("position:absolute;left:0;z-index:1;display:flex;justify-content:center;align-items:center;min-width:5px;min-height:5px;padding:2px;border-radius:50%;aspect-ratio:1;background:",(({theme:e,background:t})=>t||`linear-gradient(291.8deg, ${e.colors.blueLightDarker}, ${e.colors.blueDark})`),";",(({theme:e})=>e.mediaQueries.md),"{min-width:8px;min-height:8px;padding:3px;}"),ma={name:"1w60ly8",styles:"border-radius:10px;aspect-ratio:0"},ba=({isVisible:e=!0,position:t="left",background:r,text:n,children:o})=>{const s=(0,w.useRef)(null),a=(0,w.useRef)(null),[l,c]=(0,w.useState)(0),[u,d]=(0,w.useState)({}||null),{width:p}=(0,vt.useWindowSize)(),g=(0,i.useTheme)(),f=s.current?s.current.offsetWidth:0,h="right"===t;return(0,w.useEffect)((()=>{if(s.current&&a.current){const e={top:a.current.offsetTop,left:a.current.offsetLeft,width:a.current.offsetWidth,right:a.current.offsetWidth+a.current.offsetLeft};c(f),d(e)}}),[l,a.current,p]),(0,i.jsx)(k().Fragment,null,e?(0,i.jsx)(xa,{"data-testid":`indicator-${t}`,ref:s,css:u&&[(0,i.css)("top:",u.top+2,"px;left:",h?"-6px":"1px",";transform:translate(",u?.[t],"px, -50%);",g.mediaQueries.md,"{left:",h?"-10px":"1px",";}","",""),l>8&&(0,i.css)("left:",h?"4px":"-4px",";transform:",h?`translate(${u?.[t]-l}px, -50%)`:`translate(${u?.[t]}px, -50%)`,";",g.mediaQueries.md,"{left:",h?"4px":"-4px",";}","",""),l>24&&ma],background:r},n):null,k().cloneElement(o,{ref:e=>a.current=e}))};const ya=e=>(0,i.css)("justify-content:center;min-width:40px;height:auto;padding:8px;text-align:center;letter-spacing:0em;border-radius:0;box-shadow:none;user-select:none;&:hover,&:focus,&:active{box-shadow:none;}&:first-of-type{border-radius:6px 0 0 6px;}&:last-child{border-radius:0 6px 6px 0;}&:not(:last-child){margin-right:1px;}&.active{background:",e.colors.greyFocused,";}&:disabled{background:",e.colors.grey,";p{color:",e.colors.grey40,";}}",e.mediaQueries.md,"{min-width:65px;padding:12px;p{font-size:13.3px;line-height:15px;}}","",""),va=({items:e,buttonStyles:t,onClick:r})=>{const[n,o]=(0,w.useState)(e[0]),s=e=>()=>{o(e),r(e)};return(0,i.jsx)(k().Fragment,null,e.map((e=>{const r=n.id===e.id&&!e.isDisabled;return(0,i.jsx)(Re,{key:e.id,"aria-pressed":r,variant:"secondary",size:"small",isDisabled:e.isDisabled,"aria-disabled":e.isDisabled,onClick:s(e),css:[ya,t,"","","",""],className:r?"active":""},(0,i.jsx)(pi,{variant:"body1"},e.text))})))}}(),l}())},94:function(e,t,r){var n;self,e.exports=(n=r(156),function(){var e={468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},156:function(e){"use strict";e.exports=n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{useApi:function(){return t},useClickOutside:function(){return i},usePaginationRange:function(){return a},useTextSizeDecrease:function(){return d},useWindowSize:function(){return n}});var e=r(156);function t(t,r){const[n,o]=(0,e.useState)(!1),[i,s]=(0,e.useState)(null),[a,l]=(0,e.useState)(r);return{isLoading:n,error:i,data:a,query:async(...e)=>{o(!0),s(null);try{const r=await t(...e);l(r)}catch(e){s(e)}finally{o(!1)}}}}const n=()=>{const[t,r]=(0,e.useState)({width:window.innerWidth,height:window.innerHeight});return(0,e.useEffect)((()=>{function e(){r({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),t},i=(t,r)=>{const n=["mousedown","touchstart"];(0,e.useEffect)((()=>{const e=e=>{null==t.current||t.current.contains(e.target)||r(e)};return n.forEach((t=>document.addEventListener(t,e))),()=>n.forEach((t=>document.removeEventListener(t,e)))}),[t,r])};var s=r(468);const a=({pagesCount:t,selectedPage:r})=>(0,e.useMemo)((()=>(0,s.generateRange)(t,r)),[t,r]),l=/(\d+\.?\d+)(\S+)/,c=(e,t)=>e.scrollWidth>Number(t?.clientWidth),u=(e,t)=>{const r=window.getComputedStyle(e).fontSize.match(l);if(r){const[,n,o]=r;e.style.fontSize=`${Number(n)-t}${o}`}},d=(t=5,r=1)=>{const o=(0,e.useRef)(null),i=(0,e.useRef)(0),{width:s}=n();return(0,e.useEffect)((()=>{(()=>{if(null==o.current)return;const e=o.current,n=e.parentNode;let s=c(e,n);for(;i.current<t&&s;)u(e,r),s=c(e,n),++i.current;s&&(e.style.wordBreak="break-all")})()}),[o,s]),o}}(),o}())},468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},435:function(t){"use strict";t.exports=e},607:function(e){"use strict";e.exports=n},712:function(e){"use strict";e.exports=o},812:function(e){"use strict";e.exports=s},156:function(e){"use strict";e.exports=t},111:function(e){"use strict";e.exports=r},128:function(e){"use strict";e.exports=i}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){"use strict";c.r(u),c.d(u,{AccountBalance:function(){return Sn},Activity:function(){return h},AddNewAccountCard:function(){return mn},BalancePieChart:function(){return wn},BalancePieChartTitle:function(){return yn},Bmi:function(){return ut},BotsTable:function(){return fn},BotsTableCell:function(){return gn},BotsTableHead:function(){return dn},BotsTableRow:function(){return pn},BotsTableWrapper:function(){return un},Calories:function(){return y},CardList:function(){return Ne},ExchangeAccount:function(){return zn},ExchangeAccountKeys:function(){return Vn},HeartRate:function(){return re},LinksTabBar:function(){return jr},ListGoals:function(){return ht},MealNutrients:function(){return xe},MealPlanner:function(){return St},NavBar:function(){return Se},NotificationCard:function(){return Cr},NotificationMenu:function(){return Rr},Pagination:function(){return or},PaginationContext:function(){return Kt},PaginationContextProvider:function(){return er},PieChart:function(){return Oe},PieChartLegend:function(){return ze},ProgressInfo:function(){return $e},ProgressInfoTotals:function(){return Pe},SearchBox:function(){return tn},SearchBoxCrossIcon:function(){return en},SearchBoxInput:function(){return Jr},SearchBoxWrapper:function(){return Kr},StepsCounter:function(){return Ot},TradingInfoCard:function(){return gr},TradingScoreboard:function(){return hr},UpcomingWorkouts:function(){return _e},UserCard:function(){return Vt},UserProfile:function(){return cn},WaterConsume:function(){return Xe},WithLink:function(){return kn},pieChartPalettes:function(){return e},usePaginationContext:function(){return Jt}});var e={};c.r(e),c.d(e,{getBalancePalette:function(){return bn}});var t=c(435);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}var n=c(156),o=c.n(n),i=c(440);const s=e=>(0,t.css)("justify-content:center;gap:20px;flex-direction:row;max-width:380px;",e.mediaQueries.md,"{gap:30px;}","","");var a=c(468);const{printDayOfTheWeek:l}=a.dateFormatters,d={name:"109oaxu",styles:"display:flex;align-items:center;flex-direction:column;justify-content:center;height:162px;gap:10px;font-size:11px"};var p=({currentValue:e,date:r})=>(0,t.jsx)("div",{css:d},(0,t.jsx)(i.ProgressVertical,null,(0,t.jsx)(i.ProgressBar,{percentage:e,color:"yellow"})),(0,t.jsx)(i.Typography,{variant:"subtitle"},l(new Date(r).getDay())));var g={name:"11yrylr",styles:"width:100%;flex-direction:column"},f={name:"1uqairc",styles:"border-radius:20px;padding-inline:24px;padding-block:24px"};const h=({data:e})=>{const[o,a]=(0,n.useState)(""),[l,c]=(0,n.useState)([]);(0,n.useEffect)((()=>{null!=e&&"object"==typeof e&&c(Object.keys(e).map(((e,t)=>({id:t,value:`${e.charAt(0).toUpperCase()}${e.slice(1)}`}))))}),[e]),(0,n.useEffect)((()=>{l?.length>0&&!o&&u(l[0])}),[l]);const u=e=>{const t=e.value.toString().toLowerCase();a(t)};return(0,t.jsx)(i.Card,{css:f},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold"},"Activity"),l?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:l[0],onChange:u},l.map(((e,r)=>(0,t.jsx)(i.DropdownOption,{key:r,value:e.value}))))),(0,t.jsx)(i.CardContent,{css:g},(0,t.jsx)(i.Wrapper,{css:s},Array.isArray(e[o])&&e[o].map(((e,n)=>(0,t.jsx)(p,r({key:n},e)))))))};var x={name:"8or0zb",styles:"gap:5px"};const m=({currentValue:e,max:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)("div",{style:{display:"grid",textAlign:"center"}},(0,t.jsx)(i.Wrapper,{alignItems:"baseline",direction:"row",css:x},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",color:n.colors.greyDarker},e),(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"bold",color:n.colors.greyDarker},"kcal")),(0,t.jsx)(i.Typography,{variant:"subtitle",color:n.colors.greyDarker60},e/r*100,"% done"))};var b={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"};const y=({max:e,currentValue:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.Card,{css:b},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${n.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_64.png?alt=media&token=6a57e3f5-0e15-4dcf-8871-f1bf94d887af 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_48.png?alt=media&token=861ad7c8-1bcb-4f2d-a581-4b73b4821251 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_48.png?alt=media&token=861ad7c8-1bcb-4f2d-a581-4b73b4821251",alt:"Calories burn"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Calories")),(0,t.jsx)(i.CardContent,null,(0,t.jsx)(i.ProgressCircle,{max:e,currentValue:r,color:"pink",infoContent:(0,t.jsx)(m,{max:e,currentValue:r}),size:120})))};var v=c(607),w=c(712);const C={margin:{top:0,right:0,bottom:0,left:0},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!0,reverse:!1},pointBorderColor:{from:"serieColor"},legends:[],xFormat:e=>{return new Date(e).toLocaleTimeString("en-US",t||{hour:"2-digit",minute:"2-digit"});var t},yFormat:e=>`${e} bpm`,tooltip:e=>(0,t.jsx)(i.SimpleChartTooltip,e)},k=({data:e,...n})=>(0,t.jsx)(w.ResponsiveLine,r({data:e,curve:"linear",axisTop:null,axisRight:null,axisBottom:null,axisLeft:null,enableGridX:!1,enableGridY:!1,lineWidth:1,enablePoints:!1,pointSize:3,pointColor:"black",pointBorderWidth:2,pointLabelYOffset:-12,enableArea:!0,areaOpacity:.1,enableCrosshair:!1,crosshairType:"top-left",useMesh:!0,animate:!1},C,n));function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function L(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var S=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=L((function(e){return S.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var T=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)};var E={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},O=/[A-Z]|^ms/g,D=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R=function(e){return 45===e.charCodeAt(1)},z=function(e){return null!=e&&"boolean"!=typeof e},P=L((function(e){return R(e)?e:e.replace(O,"-$&").toLowerCase()})),A=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(D,(function(e,t,r){return $={name:t,styles:r,next:$},t}))}return 1===E[e]||R(e)||"number"!=typeof t||0===t?t:t+"px"};function I(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return $={name:r.name,styles:r.styles,next:$},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)$={name:n.name,styles:n.styles,next:$},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=I(e,t,r[o])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":z(s)&&(n+=P(i)+":"+A(i,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=I(e,t,s);switch(i){case"animation":case"animationName":n+=P(i)+":"+a+";";break;default:n+=i+"{"+a+"}"}}else for(var l=0;l<s.length;l++)z(s[l])&&(n+=P(i)+":"+A(i,s[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=$,i=r(e);return $=o,I(e,t,i)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var $,Z=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var N=!!n.useInsertionEffect&&n.useInsertionEffect,H=N||function(e){return e()},F=(N||n.useLayoutEffect,M),V=function(e){return"theme"!==e},B=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?F:V},_=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},W=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return T(t,r,n),H((function(){return function(e,t,r){T(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,r,n)})),null},q=function e(r,o){var i,s,a=r.__emotion_real===r,l=a&&r.__emotion_base||r;void 0!==o&&(i=o.label,s=o.target);var c=_(r,o,a),u=c||B(l),d=!u("as");return function(){var p=arguments,g=a&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&g.push("label:"+i+";"),null==p[0]||void 0===p[0].raw)g.push.apply(g,p);else{0,g.push(p[0][0]);for(var f=p.length,h=1;h<f;h++)g.push(p[h],p[0][h])}var x=(0,t.withEmotionCache)((function(e,r,o){var i,a,p,f,h=d&&e.as||l,x="",m=[],b=e;if(null==e.theme){for(var y in b={},e)b[y]=e[y];b.theme=n.useContext(t.ThemeContext)}"string"==typeof e.className?(i=r.registered,a=m,p=e.className,f="",p.split(" ").forEach((function(e){void 0!==i[e]?a.push(i[e]+";"):f+=e+" "})),x=f):null!=e.className&&(x=e.className+" ");var v=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";$=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=I(r,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=I(r,t,e[s]),n&&(o+=i[s]);Z.lastIndex=0;for(var a,l="";null!==(a=Z.exec(o));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:$}}(g.concat(m),r.registered,b);x+=r.key+"-"+v.name,void 0!==s&&(x+=" "+s);var w=d&&void 0===c?B(h):u,C={};for(var k in e)d&&"as"===k||w(k)&&(C[k]=e[k]);return C.className=x,C.ref=o,n.createElement(n.Fragment,null,n.createElement(W,{cache:r,serialized:v,isStringTag:"string"==typeof h}),n.createElement(h,C))}));return x.displayName=void 0!==i?i:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",x.defaultProps=r.defaultProps,x.__emotion_real=x,x.__emotion_base=l,x.__emotion_styles=g,x.__emotion_forwardProp=c,Object.defineProperty(x,"toString",{value:function(){return"."+s}}),x.withComponent=function(t,r){return e(t,j({},o,r,{shouldForwardProp:_(x,r,!0)})).apply(void 0,g)},x}};const U=q("div",{target:"ek7c6rl0"})({name:"1v1gu0d",styles:"text-align:center;margin-top:23px"}),Q={name:"1ttuluy",styles:"font-weight:700;font-size:1.728rem;line-height:2rem;@media (max-width: 900px){font-size:1.2rem;line-height:1.639;}"},G=e=>(0,t.css)("color:",e.colors.greyDarker60,";font-weight:600;font-size:1rem;line-height:1.5rem;margin-left:4px;@media (max-width: 900px){font-size:0.833rem;line-height:1.375;}","",""),X=({value:e})=>{const r=(0,t.useTheme)();return(0,t.jsx)(U,null,(0,t.jsx)("span",{css:Q},e),(0,t.jsx)("span",{css:G(r)},"BPM"))};const Y="HeartRateGradient",K=[{match:"*",id:Y}];var J={name:"1srykpd",styles:"height:65px;width:calc(100% + 40px);margin-inline:-20px"},ee={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"},te={name:"1d3w5wq",styles:"width:100%"};const re=({data:e,caption:o="Heart Rate",color:s})=>{const[l,c]=(0,n.useState)(e?.data?.[0]?.y),[u,d]=(0,n.useMemo)((()=>(0,a.throttle)((e=>c(e?.data?.y)),100)),[]),p=(0,t.useTheme)(),g=s||p.colors.purpleDark;(0,n.useEffect)((()=>()=>d()),[]),(0,n.useEffect)((()=>{c(e?.data?.[0]?.y)}),[e]);const f=(0,n.useMemo)((()=>[(0,v.linearGradientDef)(Y,[{offset:100,color:g},{offset:0,color:g}])]),[g]),h=(0,n.useMemo)((()=>({data:[e],colors:g})),[e,g]);return(0,t.jsx)(i.Card,{css:ee},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${p.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_64.png?alt=media&token=aca1639b-62f5-44ed-a0d1-3cea8e4797e2 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_48.png?alt=media&token=7ef68a25-5362-48b9-b359-c46b48d1db54 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_48.png?alt=media&token=7ef68a25-5362-48b9-b359-c46b48d1db54",alt:"Heart"})},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},o)),(0,t.jsx)(i.CardContent,{direction:"column",css:te},(0,t.jsx)("div",{css:J},(0,t.jsx)(k,r({},h,{fill:K,defs:f,onMouseMove:u}))),null!=l?(0,t.jsx)(X,{value:l}):null))},{formatDayOfWeek:ne}=a.dateFormatters,oe=[0,20,40,60,80,100],ie={margin:{top:28,right:50,bottom:50,left:5},xScale:{type:"time",format:"%L",precision:"day"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!1,reverse:!1},axisRight:{tickSize:0,tickPadding:10,tickRotation:0,tickValues:oe,format:e=>`${e}%`,legend:"",legendOffset:0},axisBottom:{tickSize:0,tickPadding:30,tickRotation:0,legend:"",tickValues:"every day",format:ne},pointColor:{from:"color",modifiers:[]},pointBorderColor:{from:"color",modifiers:[]},legends:[],gridYValues:oe,layers:["grid","markers","axes","areas","crosshair","lines",({currentPoint:e,pointSize:n,pointBorderWidth:o,...i})=>{const s=(0,v.useTheme)();if(!e)return;const a=e;return(0,t.jsx)("g",null,(0,t.jsx)(v.DotsItem,r({key:a.id,x:a.x,y:a.y,color:a.color,borderColor:a.borderColor,datum:a.data,theme:s,size:n||0,borderWidth:o||0},i)))},"slices","mesh","legends"]},se=({colorName:e,point:r})=>{const n=`${(o=String(r.serieId))[0].toUpperCase()}${o.substring(1)}`;var o;const{data:{y:s,comp:a,unit:l}}=r,c=a&&"arrow-"+(a>0?"up":"down")||void 0;return(0,t.jsx)(i.ProgressChartTooltip,{caption:n,value:s,valueFormatted:`${a}${l}`,iconName:c,barProps:{color:e}})},ae=["pink","purple","turquoise","yellow","green","blue"],le=({data:e,...o})=>{const i=(0,t.useTheme)(),s=(0,n.useMemo)((()=>ae.reduce(((e,t)=>(e[i.colors[`${t}Lighter`]]=t,e)),{})),[i.colors]),a=(0,n.useMemo)((()=>Object.assign(ie,{colors:ae.map((e=>i.colors[`${e}Lighter`])),tooltip:({point:e})=>{const r=s[e.color];return(0,t.jsx)(se,{point:e,colorName:r})},theme:{fontFamily:"'Manrope', sans-serif",axis:{ticks:{text:{fontSize:"0.833rem",fontWeight:500,fill:i.colors.greyDarker}}},grid:{line:{stroke:i.colors.greyLighter,strokeWidth:1,strokeDasharray:"8 8"}}}})),[i.colors,s]);return(0,t.jsx)(w.ResponsiveLine,r({data:e,curve:"catmullRom",axisTop:null,axisLeft:null,enableGridX:!1,enableGridY:!0,lineWidth:1,enablePoints:!0,pointSize:8,pointBorderWidth:0,pointLabelYOffset:-12,enableArea:!1,areaOpacity:.1,enableCrosshair:!1,useMesh:!0,animate:!1},a,o))},{formatTime:ce,formatDayOfWeek:ue,formatDate:de}=a.dateFormatters;var pe=(e,t,r="day")=>{const[o,i]=(0,n.useState)(0),s=(0,n.useRef)((0,a.throttle)((e=>{i(e[0].contentRect.width)}),50)),l=(0,n.useRef)(new ResizeObserver(s?.current?.[0]));return(0,n.useEffect)((()=>{const t=e.current;return l.current&&t&&l.current.observe(t),()=>{l.current&&t&&l.current.unobserve(t)}}),[e,l]),(0,n.useEffect)((()=>()=>{if(s.current){const[,e]=s.current;e()}}),[s]),(0,n.useMemo)((()=>({xScale:{type:"time",format:"%L",precision:"week"===r?"day":r},axisBottom:{tickSize:0,tickPadding:30,legend:"",tickValues:o<600?7:void 0,tickRotation:o<600?30:0,format:"hour"===r?ce:"week"===r?ue:de}})),[t,o,r])};var ge={name:"as11ew",styles:"line-height:normal"},fe={name:"1d3w5wq",styles:"width:100%"},he={name:"1otqacd",styles:"height:227px;svg{overflow:visible;}"};const xe=({caption:e="Meal Nutrients",options:o,data:s,onOptionChange:a})=>{const[l,c]=(0,n.useState)(),u=(0,n.useRef)(null),d=pe(u,s,l?.precision);(0,n.useEffect)((()=>{o?.length>0&&null==l&&p(o[0])}),[o]);const p=e=>{const t=o.filter((t=>t.value===e.value))[0];c(t),a&&a(t)};return(0,t.jsx)("div",{ref:u},(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold",css:ge},e),o?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:o[0],onChange:p},o.map((e=>(0,t.jsx)(i.DropdownOption,{key:e.value,value:e.value,label:e.label}))))),(0,t.jsx)(i.Card,null,(0,t.jsx)(i.CardContent,{direction:"column",css:fe},(0,t.jsx)("div",{css:he},s?.length>0&&(0,t.jsx)(le,r({data:s},d))))))};var me=c(128);var be=q("div",{target:"e13c6ff40"})("position:absolute;top:60px;left:0;width:56px;border-radius:12px 12px 0 0;background:linear-gradient(\n 108.3deg,\n ",(({theme:e})=>e.colors.greyDarker)," -0.36%,\n ",(({theme:e})=>e.colors.greyDarker)," 100%\n );transform:translateY(-200vh);transition:height 475ms ease,transform 450ms ease,border-radius 450ms ease;",(({theme:e})=>e.mediaQueries.sm),"{width:64px;}",(({theme:e})=>e.mediaQueries.lg),"{display:flex;position:fixed;top:0;width:94px;height:100vh;border-radius:0;transform:translateY(0);}");var ye=q("div",{target:"e1wac53j0"})("display:flex;flex-wrap:wrap;align-items:center;justify-content:center;border:none;border-radius:25px;background:transparent;height:36px;width:36px;",(({theme:e})=>e.mediaQueries.lg),"{display:none;}");var ve=q("nav",{target:"e15k97860"})("align-items:center;justify-content:center;z-index:9999;color:",(({theme:e})=>e.colors.greyLighter),";input[type='checkbox']{display:none;&:checked{&~",ye,"{background-color:#dee1ec;}&~",be,"{transform:translateY(0);border-radius:12px 12px 0 0;height:calc(100vh - 60px);",(({theme:e})=>e.mediaQueries.lg),"{border-radius:0;height:100vh;}}}}",(({theme:e})=>e.mediaQueries.lg),"{display:flex;top:0;border-radius:0;button{display:none;}}");var we=q("ul",{target:"e12lkdk0"})({name:"t0tg5g",styles:"display:flex;flex-wrap:wrap;list-style:none;align-items:center;align-self:center;height:486px;padding:0"});var Ce=q("li",{target:"eybh96z0"})({name:"fd4ibt",styles:"display:flex;flex:1 1 100%;align-items:center;justify-content:center;height:65px"});var ke=q(me.Link,{target:"e1nx84b50"})("cursor:pointer;&:hover{svg{filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.white})`),";}}",(({active:e,theme:t})=>e&&`\n svg {\n filter: drop-shadow(-4px 4px 14px ${t.colors.white});\n \n path {\n fill: ${t.colors.white};\n }\n }\n `),";");var je={name:"1apeu08",styles:"cursor:pointer;height:20px;width:20px;transform:scale(-1, 1);span{height:2px;width:100%;background:black;display:block;margin:3px 0;&:nth-of-type(2){width:80%;}}"};var Le=({htmlFor:e})=>(0,t.jsx)(ye,null,(0,t.jsx)("label",{htmlFor:e,css:je},(0,t.jsx)("span",null),(0,t.jsx)("span",null),(0,t.jsx)("span",null)));const Se=({items:e})=>{const r=(0,n.useId)(),{pathname:o}=(0,me.useLocation)(),s=(0,t.useTheme)();return(0,t.jsx)(ve,null,(0,t.jsx)("input",{type:"checkbox",id:r}),(0,t.jsx)(Le,{htmlFor:r}),(0,t.jsx)(be,null,(0,t.jsx)(we,null,e.map((({path:e,iconName:r})=>(0,t.jsx)(Ce,{key:e},(0,t.jsx)(ke,{to:"/"+e,active:o===e||void 0},(0,t.jsx)(i.Icon,{name:r,color:s.colors.grey}))))))))};var Me=c(812);const Te=q("div",{target:"e29btp71"})({name:"jy88eh",styles:"display:flex;flex-direction:row;justify-content:space-between;align-items:center;&>.pie-chart-wrapper{position:relative;width:160px;height:160px;}"}),Ee=q("div",{target:"e29btp70"})({name:"917u4b",styles:"position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;text-align:center"}),Oe=({data:e,as:n,className:o,title:i,children:s,...a})=>(0,t.jsx)(Te,{as:n,className:o},(0,t.jsx)("div",{className:"pie-chart-wrapper"},(0,t.jsx)(Me.ResponsivePie,r({data:e,isInteractive:!1,innerRadius:.8,enableArcLinkLabels:!1,enableArcLabels:!1,padAngle:2,cornerRadius:16,activeOuterRadiusOffset:8,colors:{datum:"data.color"},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:"#333333",arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:"color"},arcLabelsSkipAngle:10,layers:["arcs"]},a)),i&&(0,t.jsx)(Ee,null,i)),s);const De=q(i.Badge,{target:"eyg73b90"})({name:"czkajx",styles:"display:inline-block;padding:0;margin-right:12px;width:8px;height:8px"});const Re=q("ul",{target:"e1mxrrmh0"})({name:"8ev57u",styles:"display:flex;flex-flow:column;justify-content:center;list-style:none;height:100%;padding:0;margin:0;gap:14px;li{display:flex;align-items:center;height:20px;}"}),ze=({data:e,colors:r,renderLabel:o,renderValue:s,markerStyles:a,labelListStyles:l,valueListStyles:c})=>{const u=(0,t.useTheme)();return(0,t.jsx)(n.Fragment,null,(0,t.jsx)(Re,{css:l},e.map(((e,n)=>{const{id:s,label:l}=e;return(0,t.jsx)("li",{key:`tag-${s}`},(0,t.jsx)(De,{color:r[n]||"purple",as:"span",css:a}),(0,t.jsx)(i.Typography,{variant:"h6"},"function"==typeof o?o(e):l))}))),(0,t.jsx)(Re,{css:c},e.map((e=>(0,t.jsx)("li",{key:`subtitle-${e.id}`},(0,t.jsx)(i.Typography,{variant:"subtitle",color:u.colors.greyDarker60},"function"==typeof s?s(e):e.value))))))},Pe=(0,t.withTheme)((({theme:e,total:r})=>(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",color:e.colors.greyDarker60,css:(0,t.css)("font-size:13px;line-height:16px;margin-top:-5px;",e.mediaQueries.md,"{font-size:16px;font-weight:700;}","","")},"Total",(0,t.jsx)(i.Typography,{variant:"body2",weight:"bold",color:e.colors.greyDarker,as:"span",css:(0,t.css)("font-size:19px;line-height:23px;display:block;",e.mediaQueries.md,"{font-size:27.65px;line-height:35px;}","","")},r,(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",as:"span",color:e.colors.greyDarker60,css:(0,t.css)("font-size:13px;font-weight:600;margin-left:3px;",e.mediaQueries.md,"{font-size:16px;}","","")},"hrs"))))),Ae=e=>(0,t.css)("width:100%;height:100%;max-width:380px;div:nth-of-type(1){width:120px;height:120px;}",e.mediaQueries.md,"{div:nth-of-type(1){width:160px;height:160px;}}","","");var Ie={name:"1uqairc",styles:"border-radius:20px;padding-inline:24px;padding-block:24px"};const $e=({data:e,className:r})=>{const[o,s]=(0,n.useState)([]),[a,l]=(0,n.useState)(),[c,u]=(0,n.useState)([]),d=(0,t.useTheme)();(0,n.useEffect)((()=>{if(Object.keys(e).length>0){const t=[];Object.keys(e).forEach((r=>{Object.keys(e[r]).length>0&&t.push({value:r,id:r})})),s(t),l(t[0]),g(t[0].id)}}),[e]);const p=(e,t)=>({...e,value:e.value+(t?.value?t.value:0)}),g=t=>{const r=[];Object.keys(e[t]).forEach((n=>{const o=e[t][n].reduce(p);r.push(o)})),u(r)};return(0,t.jsx)(i.Card,{css:Ie,className:r},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold"},"Progress"),Object.keys(o).length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:a,onChange:e=>{g(e.value)}},o.map(((e,r)=>(0,t.jsx)(i.DropdownOption,{key:r,value:e.value}))))),c.length>0?(0,t.jsx)(Oe,{data:c,css:Ae(d),title:(0,t.jsx)(Pe,{theme:d,total:c.reduce(((e,{value:t})=>e+t),0)})},(0,t.jsx)(ze,{data:c,colors:c.map((({colorTag:e})=>e||"purple")),renderValue:({value:e})=>e+" hrs"})):null)};var Ze={name:"1fgo50s",styles:"list-style:none;padding:0;li{margin-bottom:15px;}"};const Ne=({title:e,items:r,renderItem:o})=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},e),(0,t.jsx)("ul",{css:Ze},Array.isArray(r)&&r.map((e=>(0,t.jsx)("li",{key:e.id},o(e))))));var He={name:"1g7ta9s",styles:"display:flex;justify-content:space-between;align-items:center;width:100%;padding-left:15px"};const Fe=()=>He;var Ve={name:"10ava9y",styles:"width:calc(100% - 42px)"};const Be=({image:e,title:r,workoutTime:n,renderDetails:o,onClick:s})=>{const a=(0,t.useTheme)();return(0,t.jsx)(i.Card,{noShadow:!0},(0,t.jsx)(i.Wrapper,{direction:"row"},(0,t.jsx)(i.Avatar,{size:42,image:e}),(0,t.jsx)(i.CardContent,{css:Ve},(0,t.jsx)(i.Wrapper,{direction:"column"},(0,t.jsx)("div",{css:Fe},(0,t.jsx)(i.Typography,{variant:"h6"},r),(0,t.jsx)(i.Button,{endIcon:(0,t.jsx)(i.Icon,{name:"more"}),variant:"tertiary",size:"small",onClick:s})),(0,t.jsx)("div",{css:Fe},(0,t.jsx)(i.Typography,{variant:"subtitle",color:a.colors.greyDarker60,as:"p"},o()),(0,t.jsx)(i.Typography,{variant:"subtitle",as:"p"},n))))))},_e=({workouts:e})=>(0,t.jsx)(Ne,{title:"Upcoming Workout",items:e,renderItem:e=>(0,t.jsx)(Be,{image:e.image,title:e.title,workoutTime:e.workoutTime,onClick:e.handleClick,renderDetails:()=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)("strong",null,e.details.exercises)," Exercises |"," ",(0,t.jsx)("strong",null,e.details.minutes)," mins")})});var We={name:"7mn33w",styles:"flex:1 1 auto;margin-left:11.5px"};const qe=({active:e,completed:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)("div",{css:We},(0,t.jsx)("span",{css:(0,t.css)("display:block;border-color:",e||r?n.colors.blueLightLighter:n.colors.greyDarker60,";border-left-style:dashed;border-left-width:1px;min-height:20px;","","")}))},Ue=e=>{const{active:r,completed:n}=e,o=(0,t.useTheme)();return(0,t.jsx)("div",{css:(0,t.css)("width:6px;height:6px;background-color:",r||n?o.colors.blueLightLighter:o.colors.greyDarker60,";border-radius:50%;","","")})};var Qe={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"},Ge={name:"1n5h93v",styles:"width:100%;justify-content:center;align-items:stretch"};const Xe=({minValue:e=0,maxValue:r=100,currentValue:n,active:o,steps:s,unit:a="%"})=>{const l=(0,t.useTheme)(),c=Math.round(100*n/r);return(0,t.jsx)(i.Card,{css:Qe},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${l.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_64.png?alt=media&token=2abf9f9c-2159-4235-856c-f054783a007d 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2",alt:"Water"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Water")),(0,t.jsx)(i.CardContent,{css:Ge},(0,t.jsx)("div",{style:{fontSize:14,marginRight:"15px"}},(0,t.jsx)(i.ProgressVertical,null,(0,t.jsx)(i.ProgressLegend,null,(0,t.jsx)(i.ProgressLegendItem,{position:"end",percentage:100},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${r}${a}`)),(0,t.jsx)(i.ProgressLegendItem,{position:"current",percentage:c},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${n}${a}`)),(0,t.jsx)(i.ProgressLegendItem,{position:"start",percentage:0},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${e}${a}`))),(0,t.jsx)(i.ProgressBar,{percentage:c,color:"blueLight"}))),(0,t.jsx)(i.Stepper,{color:l.colors.blueLight,activeStep:o,orientation:"vertical",inverted:!0,sx:{rowGap:0}},s.map(((e,r)=>(0,t.jsx)(i.Step,{key:r,Connector:qe},(0,t.jsx)(i.StepLabel,{StepIcon:Ue},(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9}},e.caption),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9,fontWeight:700}},e.title))))))))};const Ye=q("div",{target:"e1n6hn4h0"})({name:"1oaiz4z",styles:"width:100%;height:14px;background:linear-gradient(\n 90deg,\n #8b60f4 0%,\n #658fdf 16.67%,\n #69cdd0 35.42%,\n #88e4c3 51.04%,\n #edba5d 68.23%,\n #ed8f66 84.38%,\n #f28689 100%\n );border-radius:21px"}),Ke=q("div",{target:"etdmc4t0"})("position:absolute;left:",(({percentage:e})=>e),"%;top:0;width:14px;height:14px;background:#2b2d31;box-shadow:-4px 4px 10px rgba(42, 48, 57, 0.2);border-radius:19px;"),Je=q("div",{target:"e1968qvg0"})("display:flex;padding:8px 16px;background:",(({theme:e})=>e.colors.greyLighter),";border-radius:12px;align-items:center;");const et=q(i.Typography,{target:"ejsfewa0"})({name:"h16vwx",styles:"position:absolute;left:65%"});var tt={name:"13f8x48",styles:"left:80%"},rt={name:"322hte",styles:"left:60%"},nt={name:"1s4icj2",styles:"left:20%"},ot={name:"1i0rnv0",styles:"position:relative;margin-top:5px"};const it=()=>(0,t.jsx)("div",{css:ot},(0,t.jsx)(et,{variant:"subtitle",css:nt},"18.5"),(0,t.jsx)(et,{variant:"subtitle",css:rt},"25"),(0,t.jsx)(et,{variant:"subtitle",css:tt},"30"));const st=e=>(0,t.css)("display:flex;h6{line-height:1.625rem;margin-left:10px;color:",e.colors.greyDarker60,";}","",""),at={name:"1fgsgvi",styles:"position:relative;width:100%;padding-top:20px"};var lt={name:"1d3w5wq",styles:"width:100%"},ct={name:"zccqi5",styles:"box-shadow:0 10px 40px rgba(29, 22, 23, 0.07);border-radius:16px;padding-bottom:40px"};const ut=({height:e=175,weight:r=66})=>{const[o,s]=(0,n.useState)(""),[a,l]=(0,n.useState)(0),c=Number((r/(e*e)*1e4).toFixed(1)),u=()=>{s("Under Weight"),l(10)},d=()=>{s("Healthy"),l(40)},p=()=>{s("Overweight"),l(70)},g=()=>{s("Obese"),l(90)};return(0,n.useEffect)((()=>{c<18.5?u():c>18.5&&c<=24.9?d():c>24.9&&c<30?p():g()}),[c]),(0,t.jsx)(n.Fragment,null,(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)("div",{css:st},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},"BMI"," "),(0,t.jsx)(i.Typography,{variant:"h6"},"Body Mass Index"))),(0,t.jsx)(i.Card,{css:ct},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h2",weight:"medium"},c),(0,t.jsx)(Je,null,(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"lighter"},"You're ",o))),(0,t.jsx)(i.CardContent,{css:lt},(0,t.jsx)("div",{css:at},(0,t.jsx)(Ke,{"data-testid":"bmi-pointer",percentage:a}),(0,t.jsx)(Ye,null),(0,t.jsx)(it,null)))))},dt=e=>(0,t.css)("h6{line-height:23px;}p{color:",e.colors.greyDarker60,";line-height:23px;}","","");var pt={name:"ui9771",styles:"width:calc(100% - 42px);padding-left:15px"},gt={name:"1ch9yvl",styles:"border-radius:0"};const ft=({image:e,title:r,details:n,progressProps:o})=>{const{size:s=50,max:a=100,currentValue:l=0,infoContent:c,color:u="blue"}=o;return(0,t.jsx)(i.Card,{noShadow:!0},(0,t.jsx)(i.Wrapper,{direction:"row",avatarSize:42},(0,t.jsx)(i.Avatar,{size:42,image:e,css:gt}),(0,t.jsx)(i.CardContent,{css:pt},(0,t.jsx)("div",{css:dt},(0,t.jsx)(i.Typography,{variant:"h6"},r),(0,t.jsx)(i.Typography,{variant:"subtitle",as:"p"},n)),(0,t.jsx)(i.ProgressCircle,{size:s,max:a,currentValue:l,infoContent:c||(0,t.jsx)(i.Typography,{variant:"body1"},l,"%"),color:u}))))},ht=({goals:e})=>(0,t.jsx)(Ne,{title:"Goals",items:e,renderItem:e=>(0,t.jsx)(ft,{image:e.image,title:e.title,details:e.details,progressProps:{currentValue:e.completion,color:e.color}})});var xt=q(i.Badge,{target:"e12bwihj0"})({name:"1c9h7mo",styles:"display:inline-block;padding:0;margin-right:5px;width:4px;height:4px"});var mt={List:q("ul",{target:"e1yfjgtr1"})({name:"wmff3h",styles:"display:flex;justify-content:space-between;list-style:none;width:100%;height:20px;padding:0;margin:0;margin-bottom:8px"}),Item:q("li",{target:"e1yfjgtr0"})({name:"s5xdrg",styles:"display:flex;align-items:center"})};var bt=q("ul",{target:"e1obar840"})({name:"1bn6kyv",styles:"display:flex;list-style:none;width:100%;height:20px;padding:0;margin:0;&>li:nth-of-type(2n):not(:last-child){margin:0 5px;}"});const yt={carbs:"yellow",protein:"green",fat:"blue"};var vt={name:"azty0s",styles:"width:calc(100% - 64px);padding-left:15px"},wt={name:"14aax6i",styles:"margin-top:5.6px"};const Ct=({name:e,image:r,carbs:n,protein:o,fat:s})=>{const a={carbs:n,protein:o,fat:s};return(0,t.jsx)(i.Wrapper,{css:wt},(0,t.jsx)(i.Avatar,{size:64,image:r}),(0,t.jsx)("div",{css:vt},(0,t.jsx)(i.Typography,{variant:"h6",weight:"medium"},e),(0,t.jsx)(mt.List,null,Object.keys(a).map((e=>(0,t.jsx)(mt.Item,{key:e},(0,t.jsx)(xt,{color:yt[e]}),(0,t.jsx)(i.Typography,{variant:"body1"},a[e],"% ",e))))),(0,t.jsx)(bt,null,Object.keys(a).map((e=>(0,t.jsx)("li",{css:(0,t.css)("width:",a[e],"%;","",""),key:e},(0,t.jsx)(i.ProgressBar,{percentage:100,color:yt[e]})))))))};const kt=q(i.DropdownOption,{target:"e1mo13t60"})({name:"dzdmk4",styles:"text-align:left;line-height:18px;font-size:11px"});var jt={name:"17y49kf",styles:"flex-direction:column;width:100%"},Lt={name:"as11ew",styles:"line-height:normal"};const St=({data:e})=>{const[o,s]=(0,n.useState)(null),[a,l]=(0,n.useState)([]),c=e=>{const t=e.value.toString().toLowerCase();s(t)};return(0,n.useEffect)((()=>{null!=e&&"object"==typeof e&&l(Object.keys(e).map(((t,r)=>({id:r,value:`${t.charAt(0).toUpperCase()}${t.slice(1)}`,label:`${t.charAt(0).toUpperCase()}${t.slice(1)} | ${e[t].time}`,extraVal:e[t].time}))))}),[e]),(0,n.useEffect)((()=>{a?.length>0&&null==o&&c(a[0])}),[a]),(0,t.jsx)("div",null,(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold",css:Lt},"Meal Planner"),a?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:a[0],onChange:c},a.map(((e,r)=>(0,t.jsx)(kt,{key:r,value:e.value,label:e.label.toString()},(0,t.jsx)("span",{style:{fontSize:13,fontWeight:500}},e.value)," | ",(0,t.jsx)("span",{style:{fontSize:11,fontWeight:500}},e.extraVal)))))),(0,t.jsx)(i.Card,null,(0,t.jsx)(i.CardContent,{css:jt},o&&e[o].data.map((({id:e,...n})=>(0,t.jsx)(Ct,r({key:e},n)))))))};var Mt={name:"1rcnabe",styles:"width:100%;margin:10px 0"},Tt={name:"192owum",styles:"font-size:33px;font-weight:bold"},Et={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"};const Ot=({max:e,currentValue:r})=>{const n=(0,t.useTheme)(),o=Math.round(r/e*100);return(0,t.jsx)(i.Card,{css:Et},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0 5px 5px ${n.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_64.png?alt=media&token=22d59e48-da19-448a-98e3-25f396108243 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_48.png?alt=media&token=7c66d777-ddad-416a-9f07-a89dd3167ca7 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_48.png?alt=media&token=7c66d777-ddad-416a-9f07-a89dd3167ca7",alt:"Steps"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Steps")),(0,t.jsx)(i.CardContent,{style:{flexWrap:"wrap"}},(0,t.jsx)("div",null,(0,t.jsx)("span",{css:Tt},r),(0,t.jsx)("span",null,"Steps")),(0,t.jsx)("div",{css:Mt},(0,t.jsx)(i.ProgressBar,{percentage:o,color:"green"})),(0,t.jsx)(i.Typography,{variant:"body1",css:(0,t.css)("color:",n.colors.greyDarker60,";","","")},!Number.isNaN(o)&&`${o}% of your goals`)))};const Dt=e=>(0,t.css)("display:flex;width:92px;height:68px;align-items:center;flex-flow:column;justify-content:center;background:",e.colors.white,";border-radius:16px;box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);","","");var Rt={name:"1sw7psn",styles:"align-items:baseline;justify-content:center"};var zt=({value:e,unit:r,caption:n})=>(0,t.jsx)("div",{css:Dt},(0,t.jsx)(i.Wrapper,{css:Rt},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold"},e),(0,t.jsx)(i.Typography,{variant:"subtitle"},r)),(0,t.jsx)(i.Typography,{variant:"subtitle"},n));const Pt={name:"d346af",styles:"display:flex;justify-content:space-between;list-style:none;padding:0;li{max-width:92px;}"};var At=({weight:e,height:r,age:n})=>(0,t.jsx)("ul",{css:Pt},(0,t.jsx)("li",null,(0,t.jsx)(zt,{value:e||"",unit:"kg",caption:"Weight"})),(0,t.jsx)("li",null,(0,t.jsx)(zt,{value:r||"",unit:"cm",caption:"Height"})),(0,t.jsx)("li",null,(0,t.jsx)(zt,{value:n||"",unit:"yrs",caption:"Age"})));const It=e=>(0,t.css)("display:flex;align-items:center;button{display:none;}",e.mediaQueries.lg,"{justify-content:space-between;button{display:block;}}","","");var $t={name:"3u6yym",styles:"padding-inline:15px"},Zt={name:"s5xdrg",styles:"display:flex;align-items:center"};var Nt=({name:e,email:r})=>(0,t.jsx)("div",{css:It},(0,t.jsx)("div",{css:Zt},(0,t.jsx)(i.Avatar,{size:42,image:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fface%2Fface_46.png?alt=media&token=aaa3a75c-4779-4887-b011-352f8dd6c214"}),(0,t.jsx)("div",{css:$t},(0,t.jsx)(i.Typography,{variant:"subtitle"},e),(0,t.jsx)(i.Typography,{variant:"body1"},r))),(0,t.jsx)(i.Button,{variant:"tertiary",size:"large",endIcon:(0,t.jsx)(i.Icon,{name:"notification"})}));const Ht=e=>(0,t.css)("display:grid;grid-template-columns:50px auto;align-items:center;",e.mediaQueries.lg,"{grid-template-columns:auto;}","","");var Ft={name:"e0dnmk",styles:"cursor:pointer"};var Vt=({user:e})=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)("div",{css:Ht},(0,t.jsx)("div",{css:e=>(0,t.css)(e.mediaQueries.lg,"{display:none;}","","")},(0,t.jsx)("label",{htmlFor:"aside",css:Ft},(0,t.jsx)(i.Icon,{name:"carrot-left",size:16}))),(0,t.jsx)(Nt,{name:e?.name,email:e?.email})),(0,t.jsx)(At,{weight:e?.weight,height:e?.height,age:e?.age})),Bt=c(94);const _t=e=>(0,t.css)("height:30px;border-radius:6px;",e.mediaQueries.md,"{height:25px;}","",""),Wt=e=>(0,t.css)("background:",e.colors.blueLightDarker,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueDark,",\n ",e.colors.blueLightDarker,"\n );","",""),qt=e=>(0,t.css)(_t(e)," padding:0 8px;background:",e.colors.greyLighter,";&:disabled{cursor:default;background:unset;}&:not(:disabled):hover{box-shadow:0 5px 5px -2px rgba(0, 0, 0, 0.2);cursor:pointer;}","",""),Ut=({direction:e,onClick:r,isDisabled:n,className:o})=>{const s=(0,t.useTheme)();return(0,t.jsx)(i.Button,{startIcon:(0,t.jsx)(i.Icon,{name:`carrot-${e}`,size:12,color:s.colors.greyDisabled}),variant:"custom",onClick:r,isDisabled:n,size:"small",className:o,css:qt(s),"aria-label":`Go to ${"left"===e?"previous":"next"} page`})};var Qt={name:"1ll9bqd",styles:"cursor:default"};const Gt=()=>(0,t.jsx)("span",{css:Qt},"..."),Xt=({onClick:e,isSelected:r,page:o})=>{const s=(0,t.useTheme)(),a=(0,n.useMemo)((()=>r?(e=>(0,t.css)(_t(e)," ",Wt(e)," color:white;margin:0 3px;padding:0 13px;",e.mediaQueries.md,"{padding:0 10px;}&:hover{box-shadow:0 5px 5px -1px rgba(0, 0, 0, 0.3);cursor:default;}&:hover,&:active,&:focus{",Wt(e),";}","",""))(s):(e=>(0,t.css)(_t(e)," background:unset;box-shadow:unset;color:#070821;padding:0 11px;",e.mediaQueries.md,"{padding:0 9px;}&:hover,&:active,&:focus{background:#eef1f7;box-shadow:unset;}","",""))(s)),[r]);return(0,t.jsx)(i.Button,{size:"small",variant:"secondary",onClick:r?()=>{}:e,css:a,"aria-label":r?`Current page ${o}`:`Go to page ${o}`,"aria-current":r},o)},Yt=({range:e,selectedPage:r,onClick:n})=>Array.isArray(e)&&e.map(((e,o)=>-1===e?(0,t.jsx)(Gt,{key:o}):(0,t.jsx)(Xt,{key:o,page:e,isSelected:e===r,onClick:()=>n(e)}))),Kt=(0,n.createContext)({}),Jt=()=>(0,n.useContext)(Kt),er=({selectedPage:e,children:r})=>{const[o,i]=(0,n.useState)(e);return(0,t.jsx)(Kt.Provider,{value:{page:o,setPage:i}},r)};const tr=q("nav",{target:"e1ccwy860"})("");var rr={name:"1j97xhc",styles:"margin-right:12px"},nr={name:"lrb7um",styles:"margin-left:7px"};var or=({pagesCount:e,className:r,as:n,ariaLabel:o})=>{const{page:i,setPage:s}=Jt(),a=(0,Bt.usePaginationRange)({pagesCount:e,selectedPage:i});return(0,t.jsx)(tr,{className:r,as:n,"aria-label":o||"Pagination"},(0,t.jsx)(Ut,{direction:"left",onClick:()=>{i&&s(i-1)},isDisabled:null==e||e<=1||null==i||1===i,css:rr}),(0,t.jsx)(Yt,{range:a,selectedPage:i,onClick:s}),(0,t.jsx)(Ut,{direction:"right",onClick:()=>{i&&s(i+1)},isDisabled:null==e||e<=1||null==i||i===e,css:nr}))};var ir={name:"1ytt2st",styles:"justify-content:flex-start;align-items:baseline;gap:2px"},sr={name:"xutw8p",styles:"display:flex;align-self:center;margin-left:3px"};var ar=({value:e,unit:r,icon:n})=>{const o=(0,t.useTheme)();return(0,t.jsx)(i.CardContent,{css:ir},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",color:o.colors.greyDarker},e),r?(0,t.jsx)(i.Typography,{"data-testid":"unit",variant:"h6",weight:"lighter"},r):null,n?(0,t.jsx)("div",{css:sr},n):null)};var lr={name:"rnnx2x",styles:"font-size:12px"};var cr=({trigger:e,children:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.Tooltip,{offsetPx:0,enableHover:!0,enableClick:!1,arrowProps:{width:18,height:3,fill:n.colors.greyGraphite}},(0,t.jsx)(i.TooltipTrigger,null,(0,t.jsx)("div",{"data-testid":"tooltip-trigger"},e)),(0,t.jsx)(i.TooltipContent,{css:(0,t.css)("padding:4px 5px;border-radius:2px;background:",n.colors.greyGraphite,";svg{margin-bottom:-1px;}","","")},(0,t.jsx)(i.Typography,{css:lr,color:n.colors.white},r)))};const ur=e=>(0,t.css)("position:relative;display:flex;flex-direction:column;align-items:flex-start;width:max-content;min-width:100%;background:",e.colors.greyLighter,";padding:4px 10px;border-radius:6px;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none;user-select:none;&::before{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;box-shadow:0 10px 40px 0 ",e.colors.greyShadow,";content:'';}&:active{background:",e.colors.white,";&::before{border-radius:6px;box-shadow:0 10px 40px 0 ",e.colors.greyShadow24,";}}","","");var dr=({onClick:e,link:r,children:n})=>(0,t.jsx)(o().Fragment,null,r?(0,t.jsx)(me.Link,{to:r,css:ur},n):(0,t.jsx)(i.CardBase,{role:e?"button":"region",tabIndex:e?0:-1,onClick:()=>{"function"==typeof e&&e()},css:ur},n));var pr={name:"rnnx2x",styles:"font-size:12px"};var gr=({value:e,unit:r,title:n,onClick:o,icon:s,link:a})=>{const l=Number(e),c=Number.isInteger(l),u=Number.isNaN(l)?e:Math.floor(l);return(0,t.jsx)(dr,{onClick:o,link:a},c||Number.isNaN(l)?(0,t.jsx)(ar,{value:u,unit:r,icon:s}):(0,t.jsx)(cr,{trigger:(0,t.jsx)(ar,{value:u,unit:r,icon:s})},e," ",r),(0,t.jsx)(i.CardContent,null,(0,t.jsx)(i.Typography,{css:pr},n)))};var fr=q("div",{target:"e1xdy4lf0"})("display:grid;gap:5px;grid-auto-flow:column;overflow:auto;",(({theme:e})=>e.mediaQueries.md),"{grid-template-columns:",(({itemsPerRow:e})=>e&&`repeat(${e}, 1fr)`),";grid-auto-flow:inherit;overflow:inherit;}");var hr=({items:e,onClick:r,renderCard:n,...o})=>(0,t.jsx)("div",null,(0,t.jsx)(fr,o,e.map(((e,o)=>(0,t.jsx)("div",{key:o},"function"==typeof n?n(e,r):(0,t.jsx)(gr,{value:e.value,unit:e.unit,title:e.title,icon:e.icon,link:e.link,onClick:()=>{"function"==typeof r&&r(e)}}))))));const xr=e=>(0,t.css)("position:relative;display:grid;column-gap:9px;grid-template-columns:auto 1fr auto;padding:14px 12px;align-items:flex-start;&:not(:last-child){margin-bottom:5px;}",e.mediaQueries.md,"{column-gap:12px;padding:14px 18px 14px 12px;&:not(:last-child){margin-bottom:10px;}}",e.mediaQueries.xs,"{padding:10px 8px;}","",""),mr=e=>(0,t.css)("display:grid;grid-row:1/span 2;height:auto;width:fit-content;padding:8px;border-radius:6px;box-shadow:-4px 12px 14px 0 #dae1e1;",e.mediaQueries.md,"{padding:11px;border-radius:12px;svg{width:20px;height:20px;}}","",""),br=e=>(0,t.css)("grid-row:1;grid-column:2;margin-bottom:2px;",e.mediaQueries.md,"{margin-top:-3px;font-size:16px;line-height:20px;}",e.mediaQueries.xs,"{grid-row:2;}","",""),yr=e=>(0,t.css)("grid-row:2;grid-column:2/span 3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&:hover{overflow:visible;text-overflow:inherit;white-space:normal;}",e.mediaQueries.md,"{font-size:13.3px;line-height:20px;overflow:visible;text-overflow:inherit;white-space:normal;}",e.mediaQueries.xs,"{grid-row:3;}","",""),vr=e=>(0,t.css)("grid-row:1;grid-column:3;text-align:right;",e.mediaQueries.xs,"{grid-column:2;text-align:left;}","",""),wr={Informational:{icon:"information",color:"blueLight"},Warning:{icon:"warning",color:"yellowWarm"},Error:{icon:"attention",color:"pink"}},Cr=({title:e,children:r,text:n,isRead:o,type:s,time:l,onClick:c})=>{const u=(0,t.useTheme)(),{getTimeAgo:d}=a.dateFormatters;return(0,t.jsx)(i.CardBase,{"data-testid":"notification",css:xr,noShadow:!0,onClick:()=>{"function"==typeof c&&c()}},(0,t.jsx)(i.Indicator,{isVisible:!o},(0,t.jsx)(i.Badge,{"data-testid":"badge",color:wr[s].color,css:mr},(0,t.jsx)(i.Icon,{name:wr[s].icon,color:u.colors.white,size:14}))),(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"medium",css:br,color:u.colors.greyDarker},e),(0,t.jsx)(i.Typography,{variant:"body1",weight:"regular",css:yr,color:u.colors.greyDarker60},n),r,(0,t.jsx)(i.Typography,{variant:"body1",weight:"regular",css:vr,color:u.colors.greyDarker},d(l)))},kr=q("div",{target:"ef2o37u0"})("display:flex;flex-direction:row;justify-content:space-between;a{display:flex;align-items:center;position:relative;padding:8px 4px;font-size:14px;text-decoration:none;color:",(({theme:e})=>e.colors.greyDropdownFocused),";}",(({theme:e})=>e.mediaQueries.md),"{a{font-size:18px;}}a.active{font-weight:700;color:",(({theme:e})=>e.colors.greyDarker),";text-decoration:underline solid #2f6ce3;text-decoration-thickness:2px;text-underline-offset:8px;}a:focus-visible::before{",(({theme:e})=>i.styleUtils.outlineStyles(e,"grey40","6px","dashed")),";}"),jr=({as:e,className:n,links:o})=>(0,t.jsx)(kr,{as:e,className:n},o.map((({id:e,...n})=>(0,t.jsx)(me.NavLink,r({key:e},n)))));const Lr={name:"2hrei",styles:"padding:0;height:auto;background:none;&:focus,&:hover{border:none;background:none;box-shadow:none;&::before{border:none;}}"},Sr=e=>(0,t.css)("align-items:flex-start;z-index:1;width:345px;border-radius:15px;box-shadow:0px 4px 15px 0px ",e.colors.black25,";background:",e.colors.greyPopoverLight,";",e.mediaQueries.md,"{width:470px;}",e.mediaQueries.xs,"{width:310px;}","",""),Mr=e=>(0,t.css)("width:100%;padding:10px;",e.mediaQueries.md,"{padding:20px;}","",""),Tr={name:"tkkksa",styles:"max-height:460px;overflow:auto"},Er=e=>(0,t.css)("display:grid;grid-template-columns:auto;justify-content:space-between;width:100%;padding:10px;border-top:0.4px solid ",e.colors.greyGraphite70,";",e.mediaQueries.md,"{padding:10px 20px 13px;}",e.mediaQueries.xs,"{button{span{font-size:12px;}}}","",""),Or=e=>(0,t.css)("position:absolute;right:10px;top:15px;",Lr,";",e.mediaQueries.md,"{right:26px;top:26px;}","",""),Dr=e=>(0,t.css)("display:flex;align-items:center;justify-content:center;height:460px;&:before{width:30px;height:30px;border:5px solid ",e.colors.greyGraphite70,";border-radius:50%;border-top:5px solid ",e.colors.grey,";animation:spin 2s linear infinite;content:'';}@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}","",""),Rr=(i.mainTheme.colors.white,i.mainTheme.colors.greyLighter,({trigger:e,notifications:r,children:n,onClick:o,isLoading:s,rightButton:a,leftButton:l})=>{const c=(0,t.useTheme)();return(0,t.jsx)(i.Popover,{placement:"bottom-end"},(0,t.jsx)(i.PopoverTrigger,{onClick:o,css:Lr},e),(0,t.jsx)(i.PopoverContent,{className:"popover",css:Sr},(0,t.jsx)("div",{css:Mr},(0,t.jsx)(i.PopoverClose,{css:Or},(0,t.jsx)(i.Icon,{name:"cross",size:14,color:c.colors.greyGraphite70})),(0,t.jsx)(i.PopoverHeading,{variant:"h5",weight:"bold"},"Notification"),s?(0,t.jsx)("div",{css:Dr}):(0,t.jsx)(i.PopoverDescription,{variant:"body1"},(0,t.jsx)("div",{"data-testid":"element-wrapper"},n),(0,t.jsx)("div",{css:Tr},r.map(((e,r)=>(0,t.jsx)(Cr,{key:r,title:e.title,text:e.text,type:e.type,time:e.time,isRead:e.isRead})))))),a||l?(0,t.jsx)("div",{css:Er},l,a):null))});var zr=e=>e instanceof Date,Pr=e=>null==e;const Ar=e=>"object"==typeof e;var Ir=e=>!Pr(e)&&!Array.isArray(e)&&Ar(e)&&!zr(e),$r=e=>{const t=e.constructor&&e.constructor.prototype;return Ir(t)&&t.hasOwnProperty("isPrototypeOf")},Zr="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Nr(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Zr&&(e instanceof Blob||e instanceof FileList)||!r&&!Ir(e))return e;if(t=r?[]:{},r||$r(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Nr(e[r]));else t=e}return t}var Hr=e=>Array.isArray(e)?e.filter(Boolean):[],Fr=e=>void 0===e,Vr=(e,t,r)=>{if(!t||!Ir(e))return r;const n=Hr(t.split(/[,[\].]+?/)).reduce(((e,t)=>Pr(e)?e:e[t]),e);return Fr(n)||n===e?Fr(e[t])?r:e[t]:n};const Br={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},_r=n.createContext(null),Wr=()=>n.useContext(_r);var qr=e=>Array.isArray(e)?e:[e],Ur=(e,t,r)=>r&&t?e===t||Array.isArray(e)&&e.some((e=>e&&r&&e===t)):!e||!t||e===t||qr(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function Qr(e){const t=n.useRef(e);t.current=e,n.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var Gr=e=>"string"==typeof e,Xr=(e,t,r,n,o)=>Gr(e)?(n&&t.watch.add(e),Vr(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),Vr(r,e)))):(n&&(t.watchAll=!0),r);function Yr(e){const t=Wr(),{control:r=t.control,name:o,defaultValue:i,disabled:s,exact:a}=e||{},l=n.useRef(o);l.current=o,Qr({disabled:s,subject:r._subjects.values,next:e=>{Ur(l.current,e.name,a)&&u(Nr(Xr(l.current,r._names,e.values||r._formValues,!1,i)))}});const[c,u]=n.useState(r._getWatch(o,i));return n.useEffect((()=>r._removeUnmounted())),c}Br.onSubmit,Br.onChange;const Kr=q("div",{target:"e1t9ddye0"})({name:"1fbga4e",styles:"width:180px;height:40px"}),Jr=q(i.Input,{target:"ea70vef0"})("height:40px;border-radius:5px;background-color:",(({theme:e})=>e.colors.greyLighter),";border:1px solid #dee0e8;color:",(({theme:e})=>e.colors.greyDarker),";&::placeholder{color:#55575a;font-weight:500;}&:hover{border:",(({theme:e})=>`1px solid ${e.colors.greyDropdownFocused}`),";}&+div{right:23px;}"),en=({onClick:e})=>{const r=(0,t.useTheme)();return(0,t.jsx)(i.Button,{onClick:e,variant:"custom","data-testid":"cross-icon",css:(0,t.css)({padding:0,background:"none","& svg path":{strokeWidth:1,stroke:r.colors.greyFilterIcon}},"","")},(0,t.jsx)(i.Icon,{name:"cross",size:15,color:"#55575A"}))},tn=({name:e,placeholder:o="Search by name",control:s,callbackDelay:l=500,autoSearchTrigger:c=!0,register:u,resetField:d,callback:p,...g})=>{const f=Yr({control:s}),h=(0,n.useRef)(null),x=(0,n.useRef)((0,a.debounce)(p,l)),[m,b]=x.current;(0,n.useEffect)((()=>{const t=f[e];c&&void 0!==t&&m(t)}),[f]);const y=f[e]?(0,t.jsx)(en,{onClick:()=>{d(e),h.current?.focus()}}):(0,t.jsx)("div",{"data-testid":"search-icon"},(0,t.jsx)(i.Icon,{name:"search",size:15,color:"#55575A"}));return(0,t.jsx)(Kr,null,(0,t.jsx)(Jr,r({name:e,endElement:y,register:u,control:s,placeholder:o,status:"custom",onKeyUp:t=>{"Enter"===t.key&&(b(),p(f[e]))}},g,{ref:h})))};const rn={name:"2hrei",styles:"padding:0;height:auto;background:none;&:focus,&:hover{border:none;background:none;box-shadow:none;&::before{border:none;}}"},nn=e=>(0,t.css)("width:224px;background:",e.colors.greyPopoverLight,";border-radius:20px;box-shadow:0px 4px 15px 0px ",e.colors.black25,";","",""),on={name:"fwy071",styles:"gap:2px;width:100%;padding:10px"},sn=e=>(0,t.css)("width:100%;padding:10px 10px 18px 10px;border-top:0.4px solid ",e.colors.greyGraphite70,";","",""),an={name:"1t1u438",styles:"justify-content:center;gap:8px;width:100%;padding:8px;font-size:14px;line-height:19px;font-weight:500"};var ln={name:"gxlp6o",styles:"font-size:14px;margin-top:6px"};const cn=({name:e,email:r,trigger:n,onClick:o})=>{const s=(0,t.useTheme)();return(0,t.jsx)(i.Popover,{placement:"bottom-end"},(0,t.jsx)(i.PopoverTrigger,{css:rn},n),(0,t.jsx)(i.PopoverContent,{css:nn},(0,t.jsx)("div",{css:on},(0,t.jsx)(i.PopoverHeading,{variant:"h5",weight:"bold"},e),(0,t.jsx)(i.PopoverDescription,{css:ln,weight:"regular",color:s.colors.greyDropdownFocused},r)),(0,t.jsx)("div",{css:sn},(0,t.jsx)(i.Button,{variant:"info",css:an,onClick:o},(0,t.jsx)(i.Icon,{name:"log-out",size:15,color:s.colors.white}),"Log Out"))))};const un=q(i.Table,{target:"e1x8lq5p0"})({name:"ibvn9w",styles:"background:none;& thead td:first-of-type{border-top-left-radius:20px;}& thead td:last-child{border-top-right-radius:20px;}& tbody tr:last-child td:first-of-type{border-bottom-left-radius:20px;}& tbody tr:last-child td:last-child{border-bottom-right-radius:20px;}& tbody tr:not([aria-disabled='true']):hover{& td{background-color:#eef1f7;}}"});const dn=q(i.TableHead,{target:"e13om0eu0"})({name:"1fs4b9l",styles:"background:none;& tr td:first-of-type{padding-left:16px;}"}),pn=q(i.TableRow,{target:"e5of4c10"})("border:none;padding:0 16px;height:44px;",(({isDisabled:e})=>e&&{opacity:.6,cursor:"default",userSelect:"none"})," & tr:first-of-type{padding-left:18px;}");const gn=q(i.TableCell,{target:"e1tsk7oh0"})({name:"1mr60bk",styles:"border:none;padding:0 16px;background:#fff;font-size:14px;font-weight:500"}),fn=({children:e,columns:r,className:o})=>(0,t.jsx)(un,{className:o},(0,t.jsx)(dn,null,(0,t.jsx)(pn,null,r.map((e=>(0,t.jsx)(gn,{key:`column-${e.toLowerCase()}`},e))))),(0,t.jsx)(i.TableBody,null,n.Children.map(e,(e=>{if((0,n.isValidElement)(e))return(0,n.cloneElement)(e,{key:e.props.id})})))),hn=e=>(0,t.css)("display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;width:100%;padding:21px 10px;color:",e.colors.blueRoyal,";font-size:14px;font-weight:500;line-height:18px;letter-spacing:0;border-radius:20px;padding:21px 0;background:",e.colors.greyLighter,";border:1px solid ",e.colors.white,";box-shadow:0px 10px 40px 0px ",e.colors.greyShadow,";transition:0.3s;cursor:pointer;&:hover{border:1px solid ",e.colors.white,";background:",e.colors.greyLighter,";box-shadow:5px 5px 20px 0px ",e.colors.black25,";}","","");var xn={name:"g65o95",styles:"text-decoration:none"};const mn=({children:e,link:r,onClick:n})=>r?(0,t.jsx)(me.Link,{css:xn,to:r,onClick:n},(0,t.jsx)(i.Card,{css:hn,noShadow:!0},e)):(0,t.jsx)(i.Card,{css:hn,noShadow:!0,onClick:n},e),bn=e=>({legendColorNames:["yellow","blue","green","yellowWarm","blueLight","turquoise","pink","purple"],pieChartColors:[e.colors.yellow,e.colors.blue,e.colors.green,e.colors.yellowLighter,e.colors.blueLight,e.colors.turquoise,e.colors.pink,e.colors.purple]}),yn=(0,t.withTheme)((({total:e,currency:r,theme:n})=>{const o=(0,Bt.useTextSizeDecrease)();return(0,t.jsx)(i.Typography,{ref:o,variant:"body2",weight:"bold",color:n.colors.greyDarker,css:(0,t.css)("font-size:14px;padding:0 14px;",n.mediaQueries.md,"{font-size:16px;}line-height:1;","","")},e,(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",as:"span",color:n.colors.greyDarker80,css:(0,t.css)("display:block;font-size:12px;",n.mediaQueries.md,"{font-size:14px;}line-height:25px;","","")},r))}));var vn={name:"1f1533z",styles:"width:10px;height:10px;margin-right:5px"};const wn=(0,t.withTheme)((({total:e,currency:r,data:n,theme:o})=>{const{legendColorNames:i,pieChartColors:s}=bn(o);return(0,t.jsx)(Oe,{data:n,colors:s,animate:!1,title:(0,t.jsx)(yn,{theme:o,total:e,currency:r}),css:(0,t.css)("div:nth-of-type(1){width:100px;height:100px;}",o.mediaQueries.md,"{div:nth-of-type(1){width:120px;height:120px;}}","","")},(0,t.jsx)(ze,{data:n,colors:i,markerStyles:vn,labelListStyles:(0,t.css)("gap:5px;h6{font-weight:700;font-size:14px;}",o.mediaQueries.lg,"{margin-left:-20%;}","",""),valueListStyles:(0,t.css)("gap:5px;h6{color:",o.colors.greyDarker80,";font-size:12px;}","",""),renderValue:({id:e,legendValue:t})=>"Other"===e?t+" "+r:t+" "+e}))}));var Cn={name:"me5k4h",styles:"text-decoration:none;div{cursor:pointer;}"};const kn=({link:e,onClick:r,children:n})=>e?(0,t.jsx)(me.Link,{to:e,onClick:r,css:Cn},n):n;var jn={name:"12yl7b1",styles:"max-width:406px;width:100%;display:block"},Ln={name:"pr10xp",styles:"margin-bottom:10px"};const Sn=({title:e="Balance",className:n,onClick:o,link:s,...a})=>{const l=(0,t.useTheme)();return(0,t.jsx)(kn,{link:s,onClick:o},(0,t.jsx)(i.Card,{className:n,onClick:s?void 0:o,css:(0,t.css)("border-radius:20px;padding:5px 10px;width:100%;",l.mediaQueries.md,"{padding:10px;}",l.mediaQueries.lg,"{padding:12px 20px 11px;}box-shadow:0 10px 40px 0 ",l.colors.greyShadow,";","","")},(0,t.jsx)(i.CardHeader,{css:Ln},(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold",css:(0,t.css)("font-size:16px;",l.mediaQueries.md,"{font-size:20px;}","","")},e)),(0,t.jsx)(i.CardContent,{css:jn},(0,t.jsx)(wn,r({theme:l},a)))))};const Mn=e=>(0,t.css)("max-width:500px;padding:0;border-radius:20px;box-shadow:0px 10px 40px 0px ",e.colors.greyShadow,";transition:0.3s;&:hover{box-shadow:5px 5px 20px 0px ",e.colors.black25,";}","",""),Tn=e=>(0,t.css)("display:grid;grid-template-columns:auto 1fr 20px;align-items:center;width:100%;padding:10px;border-radius:20px 20px 0 0;background:",e.colors.greyLighter,";margin-bottom:0;",e.mediaQueries.md,"{h6{font-size:16px;line-height:24px;}}",e.mediaQueries.xs,"{padding:6px 10px;}","",""),En=e=>(0,t.css)("height:auto;padding:0;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}&:hover{svg path{fill:",e.colors.greyDarker,";}}","",""),On={name:"75whpw",styles:"display:flex;align-items:center;gap:9px;margin-right:13px"},Dn=e=>(0,t.css)("width:100%;text-align:center;padding:4px;&.active{color:",e.colors.greenDark,";background:",e.colors.greenMint,";}&.not-available{color:",e.colors.red,";background:",e.colors.redLighter40,";}",e.mediaQueries.md,"{font-size:14px;line-height:17px;}","",""),Rn=e=>(0,t.css)("width:100%;padding:10px 20px;ul:last-child{li{justify-content:flex-end;text-align:right;}}",e.mediaQueries.sm,"{>div{display:block;text-align:center;.pie-chart-wrapper{margin:0 auto 6px;}}ul{display:inline-flex;height:auto;}ul:last-child{margin-left:30px;}}",e.mediaQueries.md,"{>div{display:flex;justify-content:space-around;.pie-chart-wrapper{margin:0 10px 0 0;}}ul{display:flex;margin-left:0;}ul:last-child{margin-left:10px;}}","",""),zn=({platform:e,title:n,status:o,link:s,data:a,onClick:l,onDelete:c})=>{const u=(0,t.useTheme)(),d="Active"===o;return(0,t.jsx)(kn,{link:s,onClick:l},(0,t.jsx)(i.CardBase,{noShadow:!0,css:Mn,"data-testid":"card",onClick:s?void 0:l},(0,t.jsx)(i.CardHeader,{css:Tn},(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"bold",color:u.colors.greyDarker,css:On},e),(0,t.jsx)(i.Typography,{color:u.colors.greyDropdownFocused,variant:"subtitle",weight:"regular"},n),(0,t.jsx)(i.Button,{css:En,onClick:e=>{return(t=e).preventDefault(),t.stopPropagation(),void c();var t}},(0,t.jsx)(i.Icon,{name:"bin",color:u.colors.greyDropdownFocused,size:20}))),(0,t.jsx)(i.Typography,{css:Dn,className:d?"active":"not-available",variant:"body1",weight:"regular"},d?o:"Not available"),(0,t.jsx)(i.CardContent,{css:Rn,direction:"column"},(0,t.jsx)(wn,r({theme:u},a)))))};const Pn=e=>(0,t.css)("box-shadow:0 10px 40px 0 ",e.colors.greyShadow,";padding:0;&.disabled{pointer-events:none;}","",""),An=e=>(0,t.css)("align-items:center;background:",e.colors.greyLighter,";padding:10px;border-radius:20px 20px 0 0;margin-bottom:0;",e.mediaQueries.md,"{padding:15px 10px 15px 30px;}","",""),In=e=>(0,t.css)("height:auto;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}&:hover{svg path{fill:",e.colors.greyDarker,";}}",e.mediaQueries.md,"{padding:12px;}","",""),$n=e=>(0,t.css)("width:100%;padding:10px;",e.mediaQueries.md,"{padding:13px 30px 20px;}","",""),Zn={name:"gnnc8a",styles:"display:flex;flex-direction:column;gap:5px;&:not(:last-child){margin-bottom:20px;}"},Nn={name:"15bna7",styles:"height:auto;padding:0;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}"},Hn={name:"omrqbe",styles:"display:flex;align-items:center;gap:7px;height:24px;span{padding:4px 0 0;}"},Fn=e=>(0,t.css)("white-space:nowrap;overflow-x:auto;",e.mediaQueries.md,"{overflow-x:visible;}","",""),Vn=({title:e,apiKey:r,secretKey:o,onDelete:s,onVisibilityChange:a,isDisabled:l})=>{const[c,u]=(0,n.useState)(!1),d=(0,t.useTheme)(),p=(0,t.jsx)("span",null,"******");return(0,n.useEffect)((()=>{a(c)}),[c]),(0,t.jsx)(i.Card,{noShadow:!0,css:Pn,className:l?"disabled":""},(0,t.jsx)(i.CardHeader,{css:An},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},e),(0,t.jsx)(i.Button,{css:In,onClick:s},(0,t.jsx)(i.Icon,{name:"bin",size:15,color:d.colors.greyDropdownFocused}))),(0,t.jsx)(i.CardContent,{css:$n,direction:"column"},(0,t.jsx)("div",{css:Zn},(0,t.jsx)(i.Typography,{variant:"h6",color:d.colors.greyDropdownFocused},"API Key"),(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",css:Fn},r)),(0,t.jsx)("div",{css:Zn},(0,t.jsx)(i.Typography,{variant:"h6",color:d.colors.greyDropdownFocused},"Secret Key"),(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",css:Hn},c&&o||p,(0,t.jsx)(i.Button,{css:Nn,onClick:()=>{u((e=>!e))}},(0,t.jsx)(i.Icon,{name:c?"visible":"invisible",size:20,color:d.colors.greyDropdownFocused}))))))}}(),u}()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@emotion/react"),require("react"),require("react-dom"),require("@nivo/core"),require("@nivo/line"),require("react-router-dom"),require("@nivo/pie")):"function"==typeof define&&define.amd?define(["@emotion/react","react","react-dom","@nivo/core","@nivo/line","react-router-dom","@nivo/pie"],t):"object"==typeof exports?exports.SSAWidgets=t(require("@emotion/react"),require("react"),require("react-dom"),require("@nivo/core"),require("@nivo/line"),require("react-router-dom"),require("@nivo/pie")):e.SSAWidgets=t(e["@emotion/react"],e.react,e["react-dom"],e["@nivo/core"],e["@nivo/line"],e["react-router-dom"],e["@nivo/pie"])}(self,(function(e,t,r,n,o,i,s){return function(){var a={440:function(e,t,r){var n,o,i;self,e.exports=(n=r(435),o=r(156),i=r(111),function(){var e,t,r={94:function(e,t,r){var n;self,e.exports=(n=r(156),function(){var e={468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},156:function(e){"use strict";e.exports=n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{useApi:function(){return t},useClickOutside:function(){return i},usePaginationRange:function(){return a},useTextSizeDecrease:function(){return d},useWindowSize:function(){return n}});var e=r(156);function t(t,r){const[n,o]=(0,e.useState)(!1),[i,s]=(0,e.useState)(null),[a,l]=(0,e.useState)(r);return{isLoading:n,error:i,data:a,query:async(...e)=>{o(!0),s(null);try{const r=await t(...e);l(r)}catch(e){s(e)}finally{o(!1)}}}}const n=()=>{const[t,r]=(0,e.useState)({width:window.innerWidth,height:window.innerHeight});return(0,e.useEffect)((()=>{function e(){r({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),t},i=(t,r)=>{const n=["mousedown","touchstart"];(0,e.useEffect)((()=>{const e=e=>{null==t.current||t.current.contains(e.target)||r(e)};return n.forEach((t=>document.addEventListener(t,e))),()=>n.forEach((t=>document.removeEventListener(t,e)))}),[t,r])};var s=r(468);const a=({pagesCount:t,selectedPage:r})=>(0,e.useMemo)((()=>(0,s.generateRange)(t,r)),[t,r]),l=/(\d+\.?\d+)(\S+)/,c=(e,t)=>e.scrollWidth>Number(t?.clientWidth),u=(e,t)=>{const r=window.getComputedStyle(e).fontSize.match(l);if(r){const[,n,o]=r;e.style.fontSize=`${Number(n)-t}${o}`}},d=(t=5,r=1)=>{const o=(0,e.useRef)(null),i=(0,e.useRef)(0),{width:s}=n();return(0,e.useEffect)((()=>{(()=>{if(null==o.current)return;const e=o.current,n=e.parentNode;let s=c(e,n);for(;i.current<t&&s;)u(e,r),s=c(e,n),++i.current;s&&(e.style.wordBreak="break-all")})()}),[o,s]),o}}(),o}())},468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},435:function(e){"use strict";e.exports=n},156:function(e){"use strict";e.exports=o},111:function(e){"use strict";e.exports=i}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},a.d(o,i),o},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return function(){"use strict";a.r(l),a.d(l,{Accordion:function(){return de},AccordionContent:function(){return te},AccordionGroup:function(){return G},AccordionGroupContext:function(){return q},AccordionGroupContextProvider:function(){return U},AccordionTitle:function(){return ce},Avatar:function(){return ge},Badge:function(){return be},Button:function(){return Re},ButtonGroup:function(){return ka},Card:function(){return Pe},CardBase:function(){return ue},CardContent:function(){return J},CardHeader:function(){return ze},Checkbox:function(){return Fe},ColorPicker:function(){return Ne},Dropdown:function(){return Pt},DropdownArrow:function(){return jt},DropdownBase:function(){return zt},DropdownOption:function(){return Mt},DropdownOptions:function(){return Ot},DropdownToggle:function(){return Ct},Form:function(){return xa},FormAction:function(){return ba},FormCheckbox:function(){return yt},FormGroup:function(){return ma},FormHelperText:function(){return aa},FormRadioGroup:function(){return fa},Icon:function(){return ae},Indicator:function(){return wa},Input:function(){return $o},Label:function(){return Ve},LargeTab:function(){return ea},Link:function(){return La},Modal:function(){return Zo},ModalContent:function(){return _o},ModalContext:function(){return No},ModalDialog:function(){return Wo},ModalDismissButton:function(){return Ho},ModalOpenButton:function(){return qo},MultipleDropdown:function(){return Oi},MultipleDropdownNotification:function(){return Ti},MultipleDropdownOptions:function(){return Mi},Popover:function(){return Go},PopoverClose:function(){return Xo},PopoverContent:function(){return Yo},PopoverDescription:function(){return mi},PopoverHeading:function(){return bi},PopoverTrigger:function(){return vi},Progress:function(){return Ri},ProgressBar:function(){return $i},ProgressChartTooltip:function(){return Bs},ProgressCircle:function(){return Qi},ProgressLegend:function(){return Gi},ProgressLegendItem:function(){return Xi},ProgressVertical:function(){return Ji},Radio:function(){return da},RadioGroup:function(){return ga},ResponsiveImage:function(){return ha},SimpleChartTooltip:function(){return Zs},Step:function(){return ds},StepConnector:function(){return cs},StepLabel:function(){return ms},Stepper:function(){return ts},Switch:function(){return Cs},SwitchContext:function(){return ys},SwitchContextProvider:function(){return ws},Tab:function(){return Xs},TabBar:function(){return Qs},TabBarContext:function(){return Ws},TabBarContextProvider:function(){return qs},Table:function(){return ks},TableBody:function(){return Ms},TableCell:function(){return js},TableHead:function(){return Ls},TableRow:function(){return Ss},Tag:function(){return ra},TextField:function(){return ca},Textarea:function(){return oa},Tooltip:function(){return Es},TooltipContent:function(){return Ns},TooltipContentBase:function(){return Ps},TooltipTrigger:function(){return Os},Typography:function(){return xi},Wrapper:function(){return ye},checkboxStyles:function(){return He},globalStyles:function(){return e},iconsList:function(){return ne},mainTheme:function(){return o},styleUtils:function(){return t},styles:function(){return n},useSwitchContext:function(){return vs},useTabBarContext:function(){return _s}});var e={};a.r(e),a.d(e,{blue:function(){return f},blueLight:function(){return h},blueLightDarker:function(){return x},green:function(){return d},pink:function(){return s},purple:function(){return g},turquoise:function(){return p},yellow:function(){return c},yellowWarm:function(){return u}});var t={};a.r(t),a.d(t,{focusOutline:function(){return m},outlineStyles:function(){return b}});var r={};a.r(r),a.d(r,{body1:function(){return si},body2:function(){return ai},body3:function(){return li},bold:function(){return gi},caption:function(){return ci},gutter:function(){return fi},h1:function(){return Ko},h2:function(){return ei},h3:function(){return ti},h4:function(){return ri},h5:function(){return ni},h6:function(){return oi},lighter:function(){return ui},medium:function(){return pi},regular:function(){return di},subtitle:function(){return ii}});var n={};a.r(n),a.d(n,{large:function(){return Is},medium:function(){return As},small:function(){return zs}});var o={colors:{black25:"rgba(0, 0, 0, 0.25)",black45:"rgba(0, 0, 0, 0.45)",white:"rgba(255, 255, 255, 1)",white80:"rgba(255, 255, 255, 0.8)",white60:"rgba(255, 255, 255, 0.6)",white30:"rgba(255, 255, 255, 0.3)",greyLighter:"rgba(238, 241, 247, 1)",greySelectedMenuItem:"rgba(222, 225, 236, 1)",greyFocused:"rgba(210, 212, 219, 1)",greyFocused40:"rgba(210, 212, 219, 0.4)",greyDropdownMain:"rgba(222, 224, 232, 1)",greyDropdownFocused:"rgba(128, 129, 131)",greyDropdownText:"rgba(21, 21, 21, 1)",greyArrowSidebar:"rgba(218, 219, 220)",grey:"rgba(195, 197, 204, 1)",grey20:"rgba(43, 45, 49, 0.2)",grey40:"rgba(43, 45, 49, 0.4)",greyShadow24:"rgba(93, 102, 112, 0.24)",greyDarker:"rgba(43, 45, 49, 1)",greyDarker60:"rgba(43, 45, 49, 0.6)",greyDarker80:"rgba(43, 45, 49, 0.8)",greyDarker14:"rgba(43, 45, 49, 0.14)",greyDark:"rgb(64, 72, 83)",greyDisabled:"rgba(85, 87, 90, 1)",greyDisabledCheckbox:"rgba(164, 167, 171, 1)",greyButtonGradient:"rgba(77, 82, 87, 1)",greyButtonGradientLight:"rgba(94, 103, 114, 1)",greyBackground:"rgb(64, 68, 73)",greyBackgroundLight:"rgb(76, 84, 93)",greyPopoverLight:"rgba(242, 244, 247, 1)",greyGraphite:"rgba(71, 74, 80, 1)",greyGraphite70:"rgb(122, 124, 127, 0.7)",greyShadow:"rgba(42, 48, 57, 0.08)",greyShadowHover:"rgba(93, 102, 112, 0.24)",greyOutline:"rgba(208,\t210,\t220, 1)",greyFilterIcon:"rgb(133, 137, 147)",greyCancelClearButton:"rgb(101, 101, 103)",redLighter:"rgba(242, 136, 142, 1)",redLighter40:"rgba(242, 136, 142, 0.4)",red:"rgba(235, 117, 86, 1)",red40:"rgba(235, 117, 86, 0.4)",greenLighter:"rgba(137, 217, 150, 1)",greenLighter20:"rgba(137, 217, 150, 0.2)",greenLighter40:"rgba(137, 217, 150, 0.4)",greenLighter60:"rgba(137, 217, 150, 0.6)",green:"rgba(82, 197, 135, 1)",green20:"rgba(82, 197, 135, 0.2)",green40:"rgba(82, 197, 135, 0.4)",green60:"rgba(82, 197, 135, 0.6)",greenMint:"rgba(236, 253, 243, 1)",greenDark:"rgba(11, 159, 67, 1)",pink:"rgba(240, 129, 107, 1)",pink20:"rgba(240, 129, 107, 0.2)",pinkDark:"rgba(221, 99, 75, 1)",pinkDarker:"rgba(241, 132, 122, 1)",pinkLighter:"rgba(249, 153, 144, 1)",pinkLighter20:"rgba(249, 153, 144, 0.2)",pinkLighter40:"rgba(249, 153, 144, 0.4)",pinkShadow40:"rgba(236, 119, 91, 0.4)",yellow:"rgba(237, 153, 93, 1)",yellow20:"rgba(237, 153, 93, 0.2)",yellowLighter:"rgba(237, 186, 93, 1)",yellowLighter20:"rgba(237, 186, 93, 0.2)",yellowLighter40:"rgba(237, 186, 93, 0.4)",yellowWarm:"rgba(237, 223, 93, 1)",yellowWarm20:"rgba(237, 223, 93, 0.2)",yellowWarm40:"rgba(237, 223, 93, 0.4)",turquoise:"rgba(65, 187, 187, 1)",turquoise20:"rgba(65, 187, 187, 0.2)",turquoiseShadow40:"rgba(143, 207, 207, 0.4)",turquoiseLighter:"rgba(125, 203, 203, 1)",turquoiseLighter20:"rgba(125, 203, 203, 0.2)",turquoiseLighter40:"rgba(125, 203, 203, 0.4)",purple:"rgba(123, 71, 235, 1)",purple20:"rgba(123, 71, 235, 0.2)",purpleLighter:"rgba(160, 120, 245, 1)",purpleLighter20:"rgba(160, 120, 245, 0.2)",purpleLighter40:"rgba(160, 120, 245, 0.4)",purpleDark:"rgba(156, 122, 235, 1)",purpleDark40:"rgba(156, 122, 235, 0.4)",blue:"rgba(65, 120, 225, 1)",blue20:"rgba(65, 120, 225, 0.2)",blueDark:"rgba(36, 101, 227, 1)",blueLightDarker:"rgba(127, 159, 221)",blueDropdownWithSelectedItems:"rgba(236, 247, 255, 1)",blueDropdownWithSelectedItemsBorder:"rgba(166, 213, 244, 1)",blueLighter:"rgba(117, 153, 222, 1)",blueLighter20:"rgba(117, 153, 222, 0.2)",blueLighter40:"rgba(117, 153, 222, 0.4)",blueLight:"rgba(68, 179, 252, 1)",blueLight20:"rgba(68, 179, 252, 0.2)",blueLightDarker40:"rgba(127, 159, 221, 0.4)",blueLightLighter:"rgba(133, 199, 242, 1)",blueLightLighter20:"rgba(133, 199, 242, 0.2)",blueLightLighter40:"rgba(133, 199, 242, 0.4)",blueNotification:"rgba(0, 133, 226, 1)",blueNotification40:"rgba(0, 133, 226, 0.4)",blueButtonHoverGradientFrom:"rgb(72, 122, 218)",blueButtonHoverGradientTo:"rgb(14, 75, 193)",blueButtonActive:"rgb(7, 69, 189)",blueRoyal:"rgba(72, 125, 225, 1)"},mediaQueries:{xs:"@media screen and (max-width: 389px)",sm:"@media screen and (min-width: 390px)",md:"@media screen and (min-width: 900px)",lg:"@media screen and (min-width: 1440px)",xlg:"@media screen and (min-width: 1920px)"}},i=a(435);const s=e=>(0,i.css)("background-color:",e.colors.pink,";background:linear-gradient(\n 99.26deg,\n ",e.colors.pink,",\n ",e.colors.pinkLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.pinkLighter40,";","",""),c=e=>(0,i.css)("background-color:",e.colors.yellow,";background:linear-gradient(\n 90deg,\n ",e.colors.yellow,",\n ",e.colors.yellowLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),u=e=>(0,i.css)("background-color:",e.colors.yellowLighter,";background:linear-gradient(\n 90deg,\n ",e.colors.yellowLighter,",\n ",e.colors.yellowWarm,"\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),d=e=>(0,i.css)("background-color:",e.colors.green,";background:linear-gradient(\n 295.98deg,\n ",e.colors.green,",\n ",e.colors.greenLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.greenLighter40,";","",""),p=e=>(0,i.css)("background-color:",e.colors.turquoise,";background:linear-gradient(\n 116.22deg,\n ",e.colors.turquoise,",\n ",e.colors.turquoiseLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.turquoiseLighter40,";","",""),g=e=>(0,i.css)("background-color:",e.colors.purple,";background:linear-gradient(\n 243.84deg,\n ",e.colors.purpleLighter,",\n ",e.colors.purple,"\n );box-shadow:-4px 4px 10px ",e.colors.purpleLighter40,";","",""),f=e=>(0,i.css)("background-color:",e.colors.blue,";background:linear-gradient(\n 90deg,\n ",e.colors.blue,",\n ",e.colors.blueLighter,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLighter40,";","",""),h=e=>(0,i.css)("background-color:",e.colors.blueLight,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueLightLighter,",\n ",e.colors.blueLight,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightLighter40,";","",""),x=e=>(0,i.css)("background-color:",e.colors.blueLightDarker,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueDark,",\n ",e.colors.blueLightDarker,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightDarker40,";","",""),m=(e,t,r="12px")=>(0,i.css)("&:focus::before{",b(e,t,r),";}","",""),b=(e,t,r="12px",n="solid")=>(0,i.css)("content:'';position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-style:",n,";border-width:1px;border-color:",e.colors[t||"greyDarker"],";border-radius:",r,";","","");function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}var w=a(156),C=a.t(w,2),k=a.n(w);function j(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=j((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),M=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},T={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},D=/[A-Z]|^ms/g,E=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O=function(e){return 45===e.charCodeAt(1)},R=function(e){return null!=e&&"boolean"!=typeof e},P=j((function(e){return O(e)?e:e.replace(D,"-$&").toLowerCase()})),z=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(E,(function(e,t,r){return I={name:t,styles:r,next:I},t}))}return 1===T[e]||O(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return I={name:r.name,styles:r.styles,next:I},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)I={name:n.name,styles:n.styles,next:I},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=A(e,t,r[o])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":R(s)&&(n+=P(i)+":"+z(i,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=A(e,t,s);switch(i){case"animation":case"animationName":n+=P(i)+":"+a+";";break;default:n+=i+"{"+a+"}"}}else for(var l=0;l<s.length;l++)R(s[l])&&(n+=P(i)+":"+z(i,s[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=I,i=r(e);return I=o,A(e,t,i)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var I,$=/label:\s*([^\s;\n{]+)\s*(;|$)/g,N=!!w.useInsertionEffect&&w.useInsertionEffect,Z=N||function(e){return e()},V=(N||w.useLayoutEffect,S),H=function(e){return"theme"!==e},B=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?V:H},F=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},W=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return M(t,r,n),Z((function(){return function(e,t,r){M(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,r,n)})),null},_=function e(t,r){var n,o,s=t.__emotion_real===t,a=s&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=F(t,r,s),c=l||B(a),u=!c("as");return function(){var d=arguments,p=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var g=d.length,f=1;f<g;f++)p.push(d[f],d[0][f])}var h=(0,i.withEmotionCache)((function(e,t,r){var n,s,d,g,f=u&&e.as||a,h="",x=[],m=e;if(null==e.theme){for(var b in m={},e)m[b]=e[b];m.theme=w.useContext(i.ThemeContext)}"string"==typeof e.className?(n=t.registered,s=x,d=e.className,g="",d.split(" ").forEach((function(e){void 0!==n[e]?s.push(n[e]+";"):g+=e+" "})),h=g):null!=e.className&&(h=e.className+" ");var y=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";I=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=A(r,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=A(r,t,e[s]),n&&(o+=i[s]);$.lastIndex=0;for(var a,l="";null!==(a=$.exec(o));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:I}}(p.concat(x),t.registered,m);h+=t.key+"-"+y.name,void 0!==o&&(h+=" "+o);var v=u&&void 0===l?B(f):c,C={};for(var k in e)u&&"as"===k||v(k)&&(C[k]=e[k]);return C.className=h,C.ref=r,w.createElement(w.Fragment,null,w.createElement(W,{cache:t,serialized:y,isStringTag:"string"==typeof f}),w.createElement(f,C))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=p,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,n){return e(t,v({},r,n,{shouldForwardProp:F(h,n,!0)})).apply(void 0,p)},h}};const q=(0,w.createContext)({}),U=({children:e})=>{const{openedAccordions:t,stayOpen:r,setOpenedAccordions:n,toggleOpenedAccordion:o,setStayOpen:s}=(()=>{const[e,t]=(0,w.useState)([]),[r,n]=(0,w.useState)(!1);return{openedAccordions:e,stayOpen:r,setOpenedAccordions:t,toggleOpenedAccordion:n=>{const o=!!e.find((e=>e.id===n.id));if(r){const r=o?e.filter((e=>e.id!==n.id)):e.concat([n]);t(r)}else t(o?[]:[n])},setStayOpen:n}})();return(0,i.jsx)(q.Provider,{value:{openedAccordions:t,stayOpen:r,setOpenedAccordions:n,toggleOpenedAccordion:o,setStayOpen:s}},e)},Q=_("div",{target:"e6tqso50"})(""),G=({children:e,size:t="empty",accordionsStayOpen:r=!0,...n})=>{const{openedAccordions:o,setOpenedAccordions:s,toggleOpenedAccordion:a,setStayOpen:l}=(0,w.useContext)(q);return(0,w.useEffect)((()=>{l(r)}),[]),(0,w.useLayoutEffect)((()=>{const t=[];w.Children.map(e,(e=>{if((0,w.isValidElement)(e)&&e.props.isOpened){const{renderContent:r,renderTitle:n,...o}=e.props;t.push({id:o.id,renderContent:r.bind(null,o),renderTitle:n.bind(null,o)})}})),s(t)}),[]),(0,i.jsx)(Q,y({"data-testid":"accordion-group",tabIndex:0},n),w.Children.map(e,(e=>{if((0,w.isValidElement)(e)){const{renderContent:r,renderTitle:n,...i}=e.props,s=i.id,l=!!o?.find((e=>e.id===s));return(0,w.cloneElement)(e,{key:s,isOpened:l,size:t,onClick:()=>a({id:s,renderContent:r.bind(null,i),renderTitle:n.bind(null,i)})})}})))};var X=_("div",{target:"e3wmt1x0"})("display:flex;justify-content:space-between;flex-direction:",(({direction:e})=>e||"row"),";align-items:",(({direction:e})=>"column"===e?"normal":"center"),";"),J=({children:e,...t})=>(0,i.jsx)(X,t,e);const Y={empty:(0,i.css)("","",""),small:{name:"1iv13by",styles:"background:none;border-radius:0;box-shadow:none"},medium:{name:"1vx7lfx",styles:"border-radius:0;box-shadow:none"},large:{name:"1vq0w5m",styles:"margin-bottom:25px;min-height:70px;border-radius:20px;padding:0;&:last-child:{margin-bottom:0;}"}},K={name:"1mji0ze",styles:"user-select:none;align-items:center;cursor:pointer;border:none"},ee=e=>(0,i.css)("flex-direction:column;align-self:flex-start;height:",e?"auto":0,";max-height:",e?"initial":0,";overflow:",e?"visible":"hidden",";","",""),te=({isOpened:e,children:t,size:r="empty",...n})=>{const o=((e,t)=>({empty:(0,i.css)(ee(t),";","",""),small:(0,i.css)(ee(t),";color:",e.colors.white80,";& p{color:",e.colors.white80,";margin:15px 0;}","",""),medium:(0,i.css)(ee(t),";padding:",t?"18px 8px 23px 8px":0,";","",""),large:(0,i.css)(ee(t),";padding:",t?"19px 30px 23px 30px":0,";","","")}))((0,i.useTheme)(),e);return(0,i.jsx)(J,y({css:o[r]},n),t)};var re=_("div",{target:"e1yl60z30"})("position:relative;display:flex;justify-content:space-between;width:100%;margin-bottom:20px;background:",(e=>e.transparent?"transparent":"initial"),";padding-left:",(e=>e.hasIcon?"30px":null),";",(({theme:e})=>e.mediaQueries.md),"{padding-left:",(e=>e.hasIcon?"40px":null),";}");const ne=["diet","calendar","home","stats","sleep","trainings","measurements","settings","plus","minus","more","more-vertical","check","check-circle","cross","user","union","notification","information","warning","attention","visible","invisible","log-out","log-in","email","lock","carrot-down","carrot-up","carrot-left","carrot-right","radio-on","circle","arrow-up","arrow-down","filter","search","archive","bin","change","copy","robot","chart","clock"],oe=[({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Diet"),(0,i.jsx)("path",{d:"M15.3794 1.6875C15.3294 1.68734 15.2788 1.69189 15.2278 1.70215C14.1195 1.92375 13.0319 2.82406 12.4431 3.96241C8.37168 4.3361 5.25 9.29549 5.25 15.5625C5.25 19.2844 8.27812 22.3125 12 22.3125C15.7219 22.3125 18.75 19.2844 18.75 15.5625C18.75 13.7303 18.0635 12.4566 17.3994 11.2251C16.7443 10.009 16.125 8.86013 16.125 7.125C16.125 5.77573 15.2807 4.62307 14.094 4.1587C14.5181 3.61873 15.077 3.26196 15.5222 3.17286C15.9283 3.09186 16.1917 2.69641 16.1104 2.29029C16.0395 1.93493 15.7292 1.68864 15.3794 1.6875ZM12.9441 5.43824C13.8714 5.4419 14.625 6.19689 14.625 7.125C14.625 9.2385 15.3982 10.6714 16.0796 11.9363C16.7077 13.1018 17.25 14.1086 17.25 15.5625C17.25 18.4575 14.895 20.8125 12 20.8125C9.105 20.8125 6.75 18.4575 6.75 15.5625C6.75 10.0089 9.49693 5.4871 12.884 5.4397C12.9054 5.44185 12.9236 5.43802 12.9441 5.43824ZM12 11.4375C10.2319 11.4375 9 13.6247 9 15.5874C9 17.5599 10.2337 18.9375 12 18.9375C13.7662 18.9375 15 17.5599 15 15.5874C15 13.6247 13.7681 11.4375 12 11.4375ZM12 12.9375C12.6611 12.9375 13.5 14.1849 13.5 15.5874C13.5 16.7109 12.9113 17.4375 12 17.4375C11.0887 17.4375 10.5 16.7109 10.5 15.5874C10.5 14.1849 11.3389 12.9375 12 12.9375Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Calendar"),(0,i.jsx)("path",{d:"M3.61111 0C1.6267 0 0 1.6267 0 3.61111V16.3889C0 18.3733 1.6267 20 3.61111 20H16.3889C18.3733 20 20 18.3733 20 16.3889V3.61111C20 1.6267 18.3733 0 16.3889 0H3.61111ZM3.61111 1.66667H16.3889C17.4723 1.66667 18.3333 2.52774 18.3333 3.61111V4.44444H1.66667V3.61111C1.66667 2.52774 2.52774 1.66667 3.61111 1.66667ZM1.66667 6.11111H18.3333V16.3889C18.3333 17.4723 17.4723 18.3333 16.3889 18.3333H3.61111C2.52774 18.3333 1.66667 17.4723 1.66667 16.3889V6.11111ZM5.27778 8.33333C4.90942 8.33333 4.55615 8.47966 4.29569 8.74013C4.03522 9.0006 3.88889 9.35387 3.88889 9.72222C3.88889 10.0906 4.03522 10.4438 4.29569 10.7043C4.55615 10.9648 4.90942 11.1111 5.27778 11.1111C5.64613 11.1111 5.9994 10.9648 6.25987 10.7043C6.52034 10.4438 6.66667 10.0906 6.66667 9.72222C6.66667 9.35387 6.52034 9.0006 6.25987 8.74013C5.9994 8.47966 5.64613 8.33333 5.27778 8.33333ZM10 8.33333C9.63164 8.33333 9.27837 8.47966 9.01791 8.74013C8.75744 9.0006 8.61111 9.35387 8.61111 9.72222C8.61111 10.0906 8.75744 10.4438 9.01791 10.7043C9.27837 10.9648 9.63164 11.1111 10 11.1111C10.3684 11.1111 10.7216 10.9648 10.9821 10.7043C11.2426 10.4438 11.3889 10.0906 11.3889 9.72222C11.3889 9.35387 11.2426 9.0006 10.9821 8.74013C10.7216 8.47966 10.3684 8.33333 10 8.33333ZM14.7222 8.33333C14.3539 8.33333 14.0006 8.47966 13.7401 8.74013C13.4797 9.0006 13.3333 9.35387 13.3333 9.72222C13.3333 10.0906 13.4797 10.4438 13.7401 10.7043C14.0006 10.9648 14.3539 11.1111 14.7222 11.1111C15.0906 11.1111 15.4438 10.9648 15.7043 10.7043C15.9648 10.4438 16.1111 10.0906 16.1111 9.72222C16.1111 9.35387 15.9648 9.0006 15.7043 8.74013C15.4438 8.47966 15.0906 8.33333 14.7222 8.33333ZM5.27778 13.3333C4.90942 13.3333 4.55615 13.4797 4.29569 13.7401C4.03522 14.0006 3.88889 14.3539 3.88889 14.7222C3.88889 15.0906 4.03522 15.4438 4.29569 15.7043C4.55615 15.9648 4.90942 16.1111 5.27778 16.1111C5.64613 16.1111 5.9994 15.9648 6.25987 15.7043C6.52034 15.4438 6.66667 15.0906 6.66667 14.7222C6.66667 14.3539 6.52034 14.0006 6.25987 13.7401C5.9994 13.4797 5.64613 13.3333 5.27778 13.3333ZM10 13.3333C9.63164 13.3333 9.27837 13.4797 9.01791 13.7401C8.75744 14.0006 8.61111 14.3539 8.61111 14.7222C8.61111 15.0906 8.75744 15.4438 9.01791 15.7043C9.27837 15.9648 9.63164 16.1111 10 16.1111C10.3684 16.1111 10.7216 15.9648 10.9821 15.7043C11.2426 15.4438 11.3889 15.0906 11.3889 14.7222C11.3889 14.3539 11.2426 14.0006 10.9821 13.7401C10.7216 13.4797 10.3684 13.3333 10 13.3333Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Home"),(0,i.jsx)("path",{d:"M8.97559 0.250119C8.81566 0.25558 8.66168 0.312041 8.53613 0.411252L1.42969 6.00988C0.527739 6.7207 0 7.80687 0 8.9552V18.5001C0 19.1819 0.568203 19.7501 1.25 19.7501H6.25C6.9318 19.7501 7.5 19.1819 7.5 18.5001V13.5001C7.5 13.3526 7.60248 13.2501 7.75 13.2501H10.25C10.3975 13.2501 10.5 13.3526 10.5 13.5001V18.5001C10.5 19.1819 11.0682 19.7501 11.75 19.7501H16.75C17.4318 19.7501 18 19.1819 18 18.5001V8.9552C18 7.80687 17.4723 6.7207 16.5703 6.00988L9.46387 0.411252C9.32518 0.301689 9.15225 0.244623 8.97559 0.250119ZM9 1.9552L15.6426 7.1886C16.1846 7.61578 16.5 8.26552 16.5 8.9552V18.2501H12V13.5001C12 12.5426 11.2075 11.7501 10.25 11.7501H7.75C6.79252 11.7501 6 12.5426 6 13.5001V18.2501H1.5V8.9552C1.5 8.26552 1.81537 7.61578 2.35742 7.1886L9 1.9552Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 22 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Stats"),(0,i.jsx)("path",{d:"M8.60653 3.62364C7.65543 3.81726 6.74357 4.19357 5.9236 4.73666C4.6787 5.56119 3.7015 6.73312 3.11555 8.10427C2.52961 9.47541 2.36125 10.9842 2.63175 12.4398C2.90226 13.8954 3.59949 15.2324 4.63526 16.2818C5.67104 17.3313 6.99885 18.0459 8.45078 18.3355C9.90272 18.625 11.4136 18.4764 12.7923 17.9085C14.1709 17.3405 15.3556 16.3787 16.1963 15.1447C16.7501 14.332 17.1383 13.4251 17.3444 12.4766L14.2451 12.4766C14.116 12.8294 13.943 13.1672 13.7288 13.4816C13.2234 14.2233 12.5114 14.8014 11.6827 15.1427C10.8541 15.4841 9.94598 15.5734 9.0733 15.3994C8.20061 15.2253 7.40253 14.7958 6.77997 14.165C6.15741 13.5343 5.73834 12.7306 5.57575 11.8557C5.41317 10.9809 5.51436 10.074 5.86654 9.24988C6.21873 8.42575 6.80608 7.72135 7.55433 7.22577C7.87147 7.01572 8.21151 6.84716 8.56596 6.72268L8.60653 3.62364ZM9.12977 2.0268C9.67978 1.96553 10.1232 2.41922 10.116 2.97178L10.0637 6.96592C10.0564 7.51848 9.59085 7.95088 9.06614 8.13122C8.82267 8.2149 8.58921 8.32964 8.37184 8.47361C7.87257 8.80429 7.48066 9.27429 7.24567 9.82419C7.01067 10.3741 6.94315 10.9792 7.05164 11.563C7.16013 12.1467 7.43975 12.683 7.85515 13.1038C8.27055 13.5247 8.80308 13.8113 9.38538 13.9274C9.96768 14.0436 10.5736 13.984 11.1265 13.7562C11.6795 13.5284 12.1546 13.1427 12.4917 12.6478C12.6385 12.4323 12.7563 12.2004 12.8432 11.958C13.0304 11.4357 13.4688 10.9759 14.0214 10.9759L18.0159 10.9759C18.5685 10.9759 19.0164 11.4252 18.9479 11.9743C18.7699 13.402 18.2526 14.776 17.4334 15.9785C16.4245 17.4593 15.0029 18.6135 13.3485 19.295C11.694 19.9765 9.88102 20.1548 8.13871 19.8074C6.39639 19.46 4.80302 18.6024 3.56008 17.343C2.31715 16.0837 1.48047 14.4793 1.15587 12.7326C0.83126 10.9858 1.0333 9.17532 1.73643 7.52995C2.43956 5.88458 3.61221 4.47826 5.10608 3.48882C6.31919 2.68535 7.69987 2.18609 9.12977 2.0268Z",fill:e}),(0,i.jsx)("path",{d:"M19.4116 7.47417C19.3221 7.00597 19.1878 6.54685 19.0098 6.10324C18.6446 5.19277 18.1026 4.3655 17.4148 3.66865C16.7271 2.97181 15.9069 2.41904 15.0013 2.04191C14.5601 1.85816 14.1028 1.71786 13.6358 1.62229L13.5952 4.72155C13.6706 4.74828 13.7454 4.77706 13.8193 4.80786C14.3637 5.03454 14.8566 5.36678 15.27 5.78562C15.6834 6.20446 16.0091 6.7017 16.2287 7.24894C16.2585 7.32331 16.2863 7.39842 16.312 7.47417H19.4116ZM21.0021 7.97651C21.0562 8.52571 20.5965 8.97504 20.0439 8.97504H16.0491C15.4964 8.97504 15.07 8.51513 14.8965 7.99278C14.8775 7.93573 14.8568 7.8792 14.8344 7.8233C14.6879 7.45815 14.4705 7.12637 14.1947 6.8469C13.9189 6.56743 13.59 6.34574 13.2268 6.19449C13.1712 6.17133 13.1149 6.1499 13.0581 6.1302C12.5381 5.94984 12.0838 5.51742 12.091 4.96481L12.1433 0.970385C12.1506 0.417779 12.6059 -0.0359408 13.1543 0.0253343C13.9929 0.119031 14.8143 0.330651 15.5939 0.655286C16.6806 1.10784 17.6648 1.77116 18.4901 2.60738C19.3154 3.44359 19.9658 4.43632 20.4041 5.52888C20.7185 6.31262 20.9194 7.13672 21.0021 7.97651Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Sleep"),(0,i.jsx)("path",{d:"M6.00833 2.0001C5.86499 2.002 5.7252 2.04501 5.60557 2.12402C4.00925 3.14394 2.65193 4.502 1.63258 6.0992C1.57541 6.18206 1.53552 6.2756 1.51529 6.37424C1.49506 6.47287 1.4949 6.57457 1.51482 6.67327C1.53474 6.77196 1.57434 6.86563 1.63124 6.94868C1.68814 7.03172 1.76119 7.10245 1.84601 7.15662C1.93084 7.2108 2.0257 7.24732 2.12495 7.264C2.22419 7.28068 2.32577 7.27718 2.42363 7.25371C2.52149 7.23024 2.61363 7.18728 2.69453 7.12739C2.77543 7.06751 2.84343 6.99192 2.89449 6.90516C3.79647 5.49188 4.99859 4.2891 6.41109 3.38663C6.55019 3.30043 6.65725 3.17103 6.71591 3.01821C6.77458 2.86538 6.78161 2.69754 6.73595 2.54034C6.69028 2.38314 6.59443 2.24522 6.46304 2.14766C6.33164 2.05011 6.17194 1.99828 6.00833 2.0001ZM17.9692 2.0001C17.8075 2.00312 17.6512 2.05841 17.5235 2.15772C17.3958 2.25703 17.3037 2.39502 17.2609 2.55107C17.2181 2.70711 17.2269 2.87282 17.286 3.02343C17.3451 3.17404 17.4514 3.30146 17.5889 3.38663C19.0014 4.2891 20.2035 5.49188 21.1055 6.90516C21.1566 6.99192 21.2246 7.06751 21.3055 7.12739C21.3864 7.18727 21.4785 7.23024 21.5764 7.25371C21.6742 7.27718 21.7758 7.28068 21.8751 7.26399C21.9743 7.24731 22.0692 7.2108 22.154 7.15662C22.2388 7.10244 22.3119 7.03172 22.3688 6.94868C22.4257 6.86563 22.4653 6.77196 22.4852 6.67327C22.5051 6.57457 22.5049 6.47287 22.4847 6.37424C22.4645 6.2756 22.4246 6.18206 22.3674 6.0992C21.3481 4.502 19.9907 3.14394 18.3944 2.12402C18.2684 2.04078 18.1202 1.99759 17.9692 2.0001ZM12 3.00512C6.76945 3.00512 2.51319 7.26371 2.51319 12.4971C2.51319 15.3532 3.80753 17.8881 5.80939 19.6298L4.72983 20.71C4.65795 20.779 4.60057 20.8617 4.56104 20.9532C4.5215 21.0448 4.50062 21.1432 4.49961 21.2429C4.49859 21.3426 4.51747 21.4415 4.55514 21.5338C4.5928 21.6261 4.6485 21.71 4.71896 21.7805C4.78942 21.851 4.87323 21.9067 4.96548 21.9444C5.05773 21.9821 5.15658 22.001 5.25622 22C5.35586 21.9989 5.4543 21.9781 5.54576 21.9385C5.63723 21.8989 5.71989 21.8415 5.78891 21.7696L7.01864 20.5392C8.47058 21.4429 10.168 21.9892 12 21.9892C13.832 21.9892 15.5294 21.4429 16.9814 20.5392L18.2111 21.7696C18.2801 21.8415 18.3628 21.8989 18.4542 21.9385C18.5457 21.9781 18.6441 21.9989 18.7438 22C18.8434 22.001 18.9423 21.9821 19.0345 21.9444C19.1268 21.9067 19.2106 21.851 19.281 21.7805C19.3515 21.71 19.4072 21.6261 19.4449 21.5338C19.4825 21.4415 19.5014 21.3426 19.5004 21.2429C19.4994 21.1432 19.4785 21.0448 19.439 20.9532C19.3994 20.8617 19.342 20.779 19.2702 20.71L18.1906 19.6298C20.1925 17.8881 21.4868 15.3532 21.4868 12.4971C21.4868 7.26371 17.2306 3.00512 12 3.00512ZM12 4.50386C16.421 4.50386 19.9889 8.07369 19.9889 12.4971C19.9889 16.9206 16.421 20.4904 12 20.4904C7.57898 20.4904 4.01111 16.9206 4.01111 12.4971C4.01111 8.07369 7.57898 4.50386 12 4.50386ZM10.8 13.3439L10.7992 7.7003C10.7992 7.3137 11.1125 7.00025 11.4991 7.0002C11.8857 7.00014 12.1992 7.31349 12.1992 7.70009L12.1999 12.6035L17.3302 11.3209C17.7053 11.2271 18.0853 11.4552 18.1791 11.8302C18.2729 12.2053 18.0448 12.5853 17.6698 12.6791L11.6698 14.1791C11.2947 14.2729 10.9147 14.0448 10.8209 13.6698C10.8 13.586 10.7951 13.5021 10.8043 13.4211C10.8015 13.3957 10.8001 13.37 10.8 13.3439Z",fill:e}),(0,i.jsx)("path",{d:"M5.60557 2.12402L5.63249 2.16616L5.63313 2.16574L5.60557 2.12402ZM6.00833 2.0001L6.00777 1.95011L6.00767 1.95011L6.00833 2.0001ZM1.63258 6.0992L1.67376 6.1276L1.67472 6.12609L1.63258 6.0992ZM1.51529 6.37424L1.46631 6.36419L1.51529 6.37424ZM1.51482 6.67327L1.56383 6.66337H1.56383L1.51482 6.67327ZM1.63124 6.94868L1.58999 6.97694H1.58999L1.63124 6.94868ZM2.12495 7.264L2.13323 7.21469H2.13323L2.12495 7.264ZM2.42363 7.25371L2.43529 7.30233H2.4353L2.42363 7.25371ZM2.69453 7.12739L2.66478 7.0872H2.66478L2.69453 7.12739ZM2.89449 6.90516L2.85232 6.87824L2.8514 6.8798L2.89449 6.90516ZM6.41109 3.38663L6.38475 3.34413L6.38417 3.3445L6.41109 3.38663ZM6.71591 3.01821L6.76259 3.03612L6.71591 3.01821ZM6.73595 2.54034L6.78396 2.52639V2.52639L6.73595 2.54034ZM6.46304 2.14766L6.43323 2.18781V2.18781L6.46304 2.14766ZM17.5235 2.15772L17.5542 2.19719L17.5235 2.15772ZM17.9692 2.0001L17.9684 1.95011L17.9683 1.95011L17.9692 2.0001ZM17.2609 2.55107L17.2126 2.53784V2.53784L17.2609 2.55107ZM17.5889 3.38663L17.6158 3.34449L17.6152 3.34413L17.5889 3.38663ZM21.1055 6.90516L21.1486 6.87978L21.1477 6.87826L21.1055 6.90516ZM21.3055 7.12739L21.3352 7.0872L21.3055 7.12739ZM21.5764 7.25371L21.588 7.20508L21.5764 7.25371ZM21.8751 7.26399L21.8668 7.21469L21.8751 7.26399ZM22.154 7.15662L22.1809 7.19876V7.19876L22.154 7.15662ZM22.3688 6.94868L22.3275 6.92041V6.92041L22.3688 6.94868ZM22.4852 6.67327L22.4362 6.66337V6.66337L22.4852 6.67327ZM22.3674 6.0992L22.3253 6.12611L22.3263 6.12759L22.3674 6.0992ZM18.3944 2.12402L18.3669 2.16575L18.3675 2.16616L18.3944 2.12402ZM5.80939 19.6298L5.84475 19.6652L5.88263 19.6273L5.84221 19.5921L5.80939 19.6298ZM4.72983 20.71L4.76448 20.746L4.7652 20.7453L4.72983 20.71ZM4.56104 20.9532L4.60694 20.9731L4.56104 20.9532ZM4.55514 21.5338L4.60143 21.5149L4.55514 21.5338ZM4.71896 21.7805L4.68359 21.8158L4.71896 21.7805ZM4.96548 21.9444L4.94657 21.9907H4.94657L4.96548 21.9444ZM5.25622 22L5.25571 21.95H5.25571L5.25622 22ZM5.54576 21.9385L5.52592 21.8926H5.52592L5.54576 21.9385ZM5.78891 21.7696L5.75354 21.7343L5.75283 21.735L5.78891 21.7696ZM7.01864 20.5392L7.04507 20.4967L7.01135 20.4758L6.98328 20.5039L7.01864 20.5392ZM16.9814 20.5392L17.0167 20.5039L16.9886 20.4758L16.9549 20.4967L16.9814 20.5392ZM18.2111 21.7696L18.2472 21.735L18.2465 21.7343L18.2111 21.7696ZM18.4542 21.9385L18.4741 21.8926L18.4542 21.9385ZM18.7438 22L18.7433 22.05L18.7438 22ZM19.0345 21.9444L19.0534 21.9907H19.0534L19.0345 21.9444ZM19.281 21.7805L19.3164 21.8158L19.281 21.7805ZM19.439 20.9532L19.3931 20.9731L19.439 20.9532ZM19.2702 20.71L19.2348 20.7453L19.2355 20.746L19.2702 20.71ZM18.1906 19.6298L18.1578 19.5921L18.1174 19.6273L18.1552 19.6652L18.1906 19.6298ZM10.7992 7.7003L10.8492 7.70029V7.70029L10.7992 7.7003ZM10.8 13.3439L10.85 13.3438L10.8 13.3439ZM11.4991 7.0002L11.4991 7.0502L11.4991 7.0002ZM12.1992 7.70009L12.1492 7.7001L12.1992 7.70009ZM12.1999 12.6035L12.1499 12.6035L12.1499 12.6675L12.2121 12.652L12.1999 12.6035ZM17.3302 11.3209L17.3181 11.2724L17.3302 11.3209ZM18.1791 11.8302L18.2276 11.8181L18.1791 11.8302ZM11.6698 14.1791L11.6819 14.2276H11.6819L11.6698 14.1791ZM10.8209 13.6698L10.8694 13.6576L10.8209 13.6698ZM10.8043 13.4211L10.8552 13.4269L10.854 13.4156L10.8043 13.4211ZM5.63313 2.16574C5.74477 2.092 5.87523 2.05187 6.00899 2.0501L6.00767 1.95011C5.85476 1.95213 5.70564 1.99801 5.57801 2.0823L5.63313 2.16574ZM1.67472 6.12609C2.69017 4.53503 4.0423 3.18216 5.63249 2.16616L5.57865 2.08189C3.97621 3.10571 2.61369 4.46898 1.59043 6.0723L1.67472 6.12609ZM1.56427 6.38428C1.58316 6.29223 1.62038 6.20493 1.67373 6.12759L1.59142 6.0708C1.53044 6.1592 1.48789 6.25898 1.46631 6.36419L1.56427 6.38428ZM1.56383 6.66337C1.54524 6.57126 1.54539 6.47634 1.56427 6.38428L1.46631 6.36419C1.44473 6.4694 1.44456 6.57788 1.46581 6.68316L1.56383 6.66337ZM1.67249 6.92041C1.61938 6.84291 1.58243 6.75549 1.56383 6.66337L1.46581 6.68316C1.48706 6.78844 1.5293 6.88835 1.58999 6.97694L1.67249 6.92041ZM1.87293 7.11448C1.79376 7.06392 1.72559 6.99792 1.67249 6.92041L1.58999 6.97694C1.65069 7.06552 1.72861 7.14097 1.8191 7.19876L1.87293 7.11448ZM2.13323 7.21469C2.04062 7.19912 1.95209 7.16504 1.87293 7.11448L1.8191 7.19876C1.90959 7.25655 2.01079 7.29551 2.11666 7.3133L2.13323 7.21469ZM2.41197 7.20509C2.32065 7.22699 2.22585 7.23025 2.13323 7.21469L2.11666 7.3133C2.22253 7.3311 2.3309 7.32737 2.43529 7.30233L2.41197 7.20509ZM2.66478 7.0872C2.58928 7.14309 2.5033 7.18318 2.41197 7.20509L2.4353 7.30233C2.53969 7.27729 2.63797 7.23146 2.72427 7.16758L2.66478 7.0872ZM2.8514 6.8798C2.80375 6.96078 2.74028 7.03132 2.66478 7.0872L2.72427 7.16758C2.81057 7.1037 2.88312 7.02307 2.93759 6.93052L2.8514 6.8798ZM6.38417 3.3445C4.96554 4.25088 3.75823 5.45886 2.85235 6.87826L2.93664 6.93206C3.83471 5.5249 5.03163 4.32733 6.43801 3.42877L6.38417 3.3445ZM6.66923 3.00029C6.61448 3.14292 6.51456 3.26369 6.38475 3.34413L6.43743 3.42913C6.58581 3.33718 6.70002 3.19914 6.76259 3.03612L6.66923 3.00029ZM6.68793 2.55429C6.73055 2.70101 6.72399 2.85765 6.66923 3.00029L6.76259 3.03612C6.82517 2.87311 6.83267 2.69408 6.78396 2.52639L6.68793 2.55429ZM6.43323 2.18781C6.55585 2.27885 6.64531 2.40757 6.68793 2.55429L6.78396 2.52639C6.73525 2.3587 6.63301 2.21158 6.49284 2.10752L6.43323 2.18781ZM6.00889 2.0501C6.16157 2.0484 6.31061 2.09676 6.43323 2.18781L6.49284 2.10752C6.35268 2.00345 6.18231 1.94816 6.00777 1.95011L6.00889 2.0501ZM17.5542 2.19719C17.6733 2.10451 17.8193 2.05291 17.9702 2.0501L17.9683 1.95011C17.7958 1.95333 17.629 2.01231 17.4928 2.11825L17.5542 2.19719ZM17.3091 2.56429C17.349 2.41865 17.435 2.28987 17.5542 2.19719L17.4928 2.11825C17.3566 2.22419 17.2583 2.37139 17.2126 2.53784L17.3091 2.56429ZM17.3326 3.00516C17.2774 2.86459 17.2691 2.70993 17.3091 2.56429L17.2126 2.53784C17.167 2.70429 17.1764 2.88105 17.2395 3.0417L17.3326 3.00516ZM17.6152 3.34413C17.4869 3.26464 17.3877 3.14572 17.3326 3.00516L17.2395 3.0417C17.3025 3.20236 17.4159 3.33828 17.5626 3.42914L17.6152 3.34413ZM21.1477 6.87826C20.2418 5.45886 19.0345 4.25088 17.6158 3.3445L17.562 3.42877C18.9684 4.32733 20.1653 5.5249 21.0634 6.93206L21.1477 6.87826ZM21.3352 7.0872C21.2597 7.03132 21.1963 6.96078 21.1486 6.8798L21.0624 6.93052C21.1169 7.02307 21.1894 7.1037 21.2757 7.16758L21.3352 7.0872ZM21.588 7.20508C21.4967 7.18318 21.4107 7.14309 21.3352 7.0872L21.2757 7.16758C21.362 7.23146 21.4603 7.27729 21.5647 7.30233L21.588 7.20508ZM21.8668 7.21469C21.7742 7.23025 21.6794 7.22699 21.588 7.20508L21.5647 7.30233C21.6691 7.32736 21.7775 7.3311 21.8833 7.3133L21.8668 7.21469ZM22.1271 7.11448C22.0479 7.16504 21.9594 7.19912 21.8668 7.21469L21.8833 7.3133C21.9892 7.29551 22.0904 7.25655 22.1809 7.19876L22.1271 7.11448ZM22.3275 6.92041C22.2744 6.99792 22.2062 7.06392 22.1271 7.11448L22.1809 7.19876C22.2714 7.14097 22.3493 7.06552 22.41 6.97694L22.3275 6.92041ZM22.4362 6.66337C22.4176 6.75549 22.3806 6.84291 22.3275 6.92041L22.41 6.97694C22.4707 6.88835 22.5129 6.78843 22.5342 6.68316L22.4362 6.66337ZM22.4357 6.38428C22.4546 6.47634 22.4548 6.57126 22.4362 6.66337L22.5342 6.68316C22.5554 6.57788 22.5553 6.4694 22.5337 6.36419L22.4357 6.38428ZM22.3263 6.12759C22.3796 6.20493 22.4168 6.29223 22.4357 6.38428L22.5337 6.36419C22.5121 6.25898 22.4696 6.1592 22.4086 6.0708L22.3263 6.12759ZM18.3675 2.16616C19.9577 3.18216 21.3098 4.53503 22.3253 6.12609L22.4096 6.0723C21.3863 4.46898 20.0238 3.10571 18.4214 2.08189L18.3675 2.16616ZM17.9701 2.0501C18.111 2.04775 18.2493 2.08806 18.3669 2.16574L18.422 2.0823C18.2876 1.99351 18.1295 1.94743 17.9684 1.95011L17.9701 2.0501ZM2.56319 12.4971C2.56319 7.2913 6.79709 3.05512 12 3.05512V2.95512C6.74181 2.95512 2.46319 7.23613 2.46319 12.4971H2.56319ZM5.84221 19.5921C3.85037 17.8591 2.56319 15.3376 2.56319 12.4971H2.46319C2.46319 15.3688 3.76469 17.9171 5.77657 19.6675L5.84221 19.5921ZM4.7652 20.7453L5.84475 19.6652L5.77402 19.5945L4.69447 20.6746L4.7652 20.7453ZM4.60694 20.9731C4.64383 20.8876 4.69739 20.8105 4.76447 20.746L4.69519 20.6739C4.61852 20.7476 4.55731 20.8358 4.51514 20.9334L4.60694 20.9731ZM4.5496 21.2434C4.55055 21.1504 4.57004 21.0585 4.60694 20.9731L4.51514 20.9334C4.47297 21.031 4.45069 21.1361 4.44961 21.2424L4.5496 21.2434ZM4.60143 21.5149C4.56628 21.4288 4.54866 21.3365 4.5496 21.2434L4.44961 21.2424C4.44853 21.3488 4.46867 21.4543 4.50884 21.5527L4.60143 21.5149ZM4.75432 21.7451C4.68856 21.6794 4.63658 21.6011 4.60143 21.5149L4.50884 21.5527C4.54902 21.6512 4.60843 21.7406 4.68359 21.8158L4.75432 21.7451ZM4.98439 21.8981C4.89829 21.8629 4.82008 21.8109 4.75432 21.7451L4.68359 21.8158C4.75875 21.891 4.84816 21.9505 4.94657 21.9907L4.98439 21.8981ZM5.25571 21.95C5.16272 21.9509 5.07048 21.9333 4.98439 21.8981L4.94657 21.9907C5.04499 22.0309 5.15043 22.051 5.25673 22.05L5.25571 21.95ZM5.52592 21.8926C5.44056 21.9295 5.34869 21.949 5.25571 21.95L5.25673 22.05C5.36302 22.0489 5.46803 22.0266 5.56561 21.9844L5.52592 21.8926ZM5.75283 21.735C5.68842 21.8021 5.61128 21.8557 5.52592 21.8926L5.56561 21.9844C5.66319 21.9422 5.75137 21.8809 5.82498 21.8042L5.75283 21.735ZM6.98328 20.5039L5.75354 21.7343L5.82427 21.805L7.05401 20.5745L6.98328 20.5039ZM12 21.9392C10.1782 21.9392 8.4898 21.396 7.04507 20.4967L6.99222 20.5816C8.45137 21.4899 10.1578 22.0392 12 22.0392V21.9392ZM16.9549 20.4967C15.5102 21.396 13.8218 21.9392 12 21.9392V22.0392C13.8422 22.0392 15.5486 21.4899 17.0078 20.5816L16.9549 20.4967ZM18.2465 21.7343L17.0167 20.5039L16.946 20.5745L18.1757 21.805L18.2465 21.7343ZM18.4741 21.8926C18.3887 21.8557 18.3116 21.8021 18.2472 21.735L18.175 21.8042C18.2486 21.8809 18.3368 21.9422 18.4344 21.9844L18.4741 21.8926ZM18.7443 21.95C18.6513 21.949 18.5594 21.9295 18.4741 21.8926L18.4344 21.9844C18.532 22.0266 18.637 22.0489 18.7433 22.05L18.7443 21.95ZM19.0156 21.8981C18.9295 21.9333 18.8373 21.9509 18.7443 21.95L18.7433 22.05C18.8496 22.051 18.955 22.0309 19.0534 21.9907L19.0156 21.8981ZM19.2457 21.7451C19.1799 21.8109 19.1017 21.8629 19.0156 21.8981L19.0534 21.9907C19.1518 21.9505 19.2412 21.891 19.3164 21.8158L19.2457 21.7451ZM19.3986 21.5149C19.3634 21.6011 19.3114 21.6794 19.2457 21.7451L19.3164 21.8158C19.3916 21.7406 19.451 21.6512 19.4912 21.5527L19.3986 21.5149ZM19.4504 21.2434C19.4513 21.3365 19.4337 21.4288 19.3986 21.5149L19.4912 21.5527C19.5313 21.4543 19.5515 21.3488 19.5504 21.2424L19.4504 21.2434ZM19.3931 20.9731C19.43 21.0585 19.4495 21.1504 19.4504 21.2434L19.5504 21.2424C19.5493 21.1361 19.527 21.031 19.4849 20.9334L19.3931 20.9731ZM19.2355 20.746C19.3026 20.8105 19.3562 20.8876 19.3931 20.9731L19.4849 20.9334C19.4427 20.8358 19.3815 20.7476 19.3048 20.6739L19.2355 20.746ZM18.1552 19.6652L19.2348 20.7453L19.3055 20.6746L18.226 19.5945L18.1552 19.6652ZM21.4368 12.4971C21.4368 15.3376 20.1496 17.8591 18.1578 19.5921L18.2234 19.6675C20.2353 17.9171 21.5368 15.3688 21.5368 12.4971H21.4368ZM12 3.05512C17.2029 3.05512 21.4368 7.2913 21.4368 12.4971H21.5368C21.5368 7.23613 17.2582 2.95512 12 2.95512V3.05512ZM20.0389 12.4971C20.0389 8.0461 16.4487 4.45386 12 4.45386V4.55386C16.3934 4.55386 19.9389 8.10128 19.9389 12.4971H20.0389ZM12 20.5404C16.4487 20.5404 20.0389 16.9482 20.0389 12.4971H19.9389C19.9389 16.893 16.3934 20.4404 12 20.4404V20.5404ZM3.96111 12.4971C3.96111 16.9482 7.55134 20.5404 12 20.5404V20.4404C7.60662 20.4404 4.06111 16.893 4.06111 12.4971H3.96111ZM12 4.45386C7.55134 4.45386 3.96111 8.0461 3.96111 12.4971H4.06111C4.06111 8.10128 7.60662 4.55386 12 4.55386V4.45386ZM10.7492 7.70031L10.75 13.3439L10.85 13.3438L10.8492 7.70029L10.7492 7.70031ZM11.4991 6.9502C11.0849 6.95026 10.7492 7.28609 10.7492 7.70031L10.8492 7.70029C10.8492 7.34131 11.1401 7.05025 11.4991 7.0502L11.4991 6.9502ZM12.2492 7.70009C12.2492 7.28587 11.9133 6.95013 11.4991 6.9502L11.4991 7.0502C11.8581 7.05014 12.1492 7.34111 12.1492 7.7001L12.2492 7.70009ZM12.2499 12.6035L12.2492 7.70009L12.1492 7.7001L12.1499 12.6035L12.2499 12.6035ZM12.2121 12.652L17.3424 11.3694L17.3181 11.2724L12.1878 12.555L12.2121 12.652ZM17.3424 11.3694C17.6906 11.2823 18.0435 11.4941 18.1306 11.8424L18.2276 11.8181C18.1271 11.4163 17.7199 11.1719 17.3181 11.2724L17.3424 11.3694ZM18.1306 11.8424C18.2177 12.1906 18.0059 12.5435 17.6576 12.6306L17.6819 12.7276C18.0837 12.6271 18.3281 12.2199 18.2276 11.8181L18.1306 11.8424ZM17.6576 12.6306L11.6576 14.1306L11.6819 14.2276L17.6819 12.7276L17.6576 12.6306ZM11.6576 14.1306C11.3094 14.2177 10.9565 14.0059 10.8694 13.6576L10.7724 13.6819C10.8729 14.0837 11.2801 14.3281 11.6819 14.2276L11.6576 14.1306ZM10.8694 13.6576C10.8499 13.5798 10.8454 13.5019 10.854 13.4267L10.7546 13.4154C10.7447 13.5023 10.75 13.5923 10.7724 13.6819L10.8694 13.6576ZM10.75 13.3439C10.7501 13.3718 10.7516 13.3994 10.7546 13.4265L10.854 13.4156C10.8514 13.3921 10.8501 13.3681 10.85 13.3438L10.75 13.3439Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Trainings"),(0,i.jsx)("path",{d:"M6.75 3.75C5.51634 3.75 4.5 4.76634 4.5 6V6.89062C4.26408 6.80564 4.01367 6.75 3.75 6.75C2.51634 6.75 1.5 7.76634 1.5 9V11.25H0V12.75H1.5V15C1.5 16.2329 2.51544 17.25 3.75 17.25C4.01342 17.25 4.26327 17.1968 4.5 17.1123V18C4.5 19.2329 5.51544 20.25 6.75 20.25C7.3669 20.25 7.93454 19.9971 8.34082 19.5908C8.7471 19.1845 9 18.6169 9 18V12.75H15V18C15 18.6169 15.2529 19.1845 15.6592 19.5908C16.0655 19.9971 16.6331 20.25 17.25 20.25C18.4846 20.25 19.5 19.2329 19.5 18V17.1123C19.7367 17.1968 19.9866 17.25 20.25 17.25C21.4846 17.25 22.5 16.2329 22.5 15V12.75H24V11.25H22.5V9C22.5 7.76634 21.4837 6.75 20.25 6.75C19.9863 6.75 19.7359 6.80564 19.5 6.89062V6C19.5 4.76634 18.4837 3.75 17.25 3.75C16.0154 3.75 15 4.76711 15 6V11.25H9V6C9 4.76711 7.98456 3.75 6.75 3.75ZM6.75 5.25C7.17444 5.25 7.5 5.57689 7.5 6V18C7.5 18.2111 7.41699 18.3936 7.28027 18.5303C7.14355 18.667 6.9611 18.75 6.75 18.75C6.32556 18.75 6 18.4231 6 18V6C6 5.57466 6.32466 5.25 6.75 5.25ZM17.25 5.25C17.6753 5.25 18 5.57466 18 6V9V11.4785V15V18C18 18.4231 17.6744 18.75 17.25 18.75C17.0389 18.75 16.8564 18.667 16.7197 18.5303C16.583 18.3936 16.5 18.2111 16.5 18V6C16.5 5.57689 16.8256 5.25 17.25 5.25ZM3.75 8.25C4.17444 8.25 4.5 8.57689 4.5 9V11.4785V15C4.5 15.2111 4.41699 15.3936 4.28027 15.5303C4.14355 15.667 3.9611 15.75 3.75 15.75C3.32556 15.75 3 15.4231 3 15V9C3 8.57466 3.32466 8.25 3.75 8.25ZM20.25 8.25C20.6753 8.25 21 8.57466 21 9V15C21 15.4231 20.6744 15.75 20.25 15.75C20.0389 15.75 19.8564 15.667 19.7197 15.5303C19.583 15.3936 19.5 15.2111 19.5 15V9C19.5 8.57689 19.8256 8.25 20.25 8.25Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Measurements"),(0,i.jsx)("path",{d:"M8.8254 2C5 2 2 3.60317 2 5.65079V13.5873C2 15.2222 3.95238 16.6349 6.84127 17.0794H6.92064C7.15873 17.0794 7.34921 16.9048 7.39683 16.6825C7.44444 16.4286 7.25397 16.1745 7 16.1428C4.65079 15.7777 2.95238 14.6984 2.95238 13.5873V7.53974C4.12698 8.60324 6.30159 9.30159 8.8254 9.30159H19.1429C20.1905 9.30159 21.0476 10.1587 21.0476 11.2063C21.0476 12.254 20.1905 13.1111 19.1429 13.1111H10.4127C9.26984 13.1111 8.34921 14.0317 8.34921 15.1746V19.9365C8.34921 21.0794 9.26984 22 10.4127 22H19.1429C20.7143 22 22 20.7143 22 19.1429V11.2063C22 9.63492 20.7143 8.34921 19.1429 8.34921H8.8254C5.31746 8.34921 2.95238 6.95238 2.95238 5.65079C2.95238 4.34921 5.31746 2.95238 8.8254 2.95238C12.3333 2.95238 14.6984 4.34921 14.6984 5.65079V6.92064C14.6984 7.19048 14.9048 7.39683 15.1746 7.39683C15.4444 7.39683 15.6508 7.19048 15.6508 6.92064V5.65079C15.6508 3.60317 12.6508 2 8.8254 2ZM8.8254 4.85714C8.40442 4.85714 8.00068 4.94076 7.70301 5.0896C7.40533 5.23844 7.2381 5.4403 7.2381 5.65079C7.2381 5.86128 7.40533 6.06315 7.70301 6.21199C8.00068 6.36083 8.40442 6.44444 8.8254 6.44444C9.24638 6.44444 9.65011 6.36083 9.94779 6.21199C10.2455 6.06315 10.4127 5.86128 10.4127 5.65079C10.4127 5.4403 10.2455 5.23844 9.94779 5.0896C9.65011 4.94076 9.24638 4.85714 8.8254 4.85714ZM21.0476 13.3334V19.1429C21.0476 20.1905 20.1905 21.0476 19.1429 21.0476H10.4127C9.79365 21.0476 9.30159 20.5556 9.30159 19.9365V15.1746C9.30159 14.5556 9.79365 14.0635 10.4127 14.0635H13.1111V15.9683C13.1111 16.2381 13.3175 16.4444 13.5873 16.4444C13.8571 16.4444 14.0635 16.2381 14.0635 15.9683V14.0635H17.873V15.9683C17.873 16.2381 18.0794 16.4444 18.3492 16.4444C18.619 16.4444 18.8254 16.2381 18.8254 15.9683V14.0635H19.1429C19.873 14.0635 20.5397 13.7937 21.0476 13.3334Z",fill:e,stroke:e,strokeWidth:"0.4"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Settings"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9673 14.5016C13.349 14.5016 14.4837 13.3816 14.5017 12.0001C14.5198 10.6186 13.4145 9.49868 12.0328 9.49868C10.6512 9.49868 9.5165 10.6186 9.49841 12.0001C9.48033 13.3816 10.5857 14.5016 11.9673 14.5016ZM16.0028 12.0001C15.9738 14.2106 14.1583 16.0025 11.9477 16.0025C9.73707 16.0025 7.96848 14.2106 7.99741 12.0001C8.02635 9.78971 9.84186 7.9978 12.0525 7.9978C14.2631 7.9978 16.0317 9.78971 16.0028 12.0001Z",fill:e}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0239 2.83721L10.6209 4.00046C10.281 4.98131 9.55444 5.67613 8.79735 6.0946C8.73279 6.13028 8.66885 6.16698 8.60556 6.20468C7.86065 6.64834 6.89517 6.92307 5.88366 6.71555L4.68439 6.4695C4.47399 6.42633 4.25779 6.52299 4.14768 6.70947L3.51224 7.78559C3.40213 7.97206 3.42281 8.20651 3.56357 8.36762L4.36704 9.2872C5.0414 10.059 5.27384 11.0262 5.2489 11.8881C5.24674 11.9626 5.24576 12.0373 5.24597 12.1118C5.24834 12.9737 4.99057 13.9409 4.29602 14.7127L3.46847 15.6323C3.32349 15.7934 3.29668 16.0278 3.40191 16.2143L4.00917 17.2904C4.1144 17.4769 4.32806 17.5736 4.5396 17.5304L5.74522 17.2844C6.76218 17.0768 7.72048 17.3516 8.45378 17.7952C8.5161 17.8329 8.5791 17.8697 8.64274 17.9053C9.38887 18.3238 10.0973 19.0186 10.4114 19.9995L10.784 21.1627C10.8494 21.367 11.0388 21.5048 11.2541 21.5048H12.4968C12.7122 21.5048 12.9052 21.367 12.9759 21.1627L13.3789 19.9995C13.7188 19.0186 14.4454 18.3238 15.2025 17.9053C15.267 17.8697 15.331 17.8329 15.3943 17.7952C16.1392 17.3516 17.1047 17.0768 18.1162 17.2844L19.3154 17.5304C19.5258 17.5736 19.742 17.4769 19.8521 17.2904L20.4875 16.2143C20.5976 16.0278 20.5769 15.7934 20.4362 15.6323L19.6328 14.7127C18.9584 13.9409 18.726 12.9737 18.7509 12.1118C18.7531 12.0373 18.754 11.9626 18.7538 11.8881C18.7515 11.0262 19.0092 10.059 19.7038 9.28714L20.5313 8.36762C20.6763 8.20651 20.7031 7.97206 20.5979 7.78559L19.9906 6.70947C19.8854 6.52299 19.6717 6.42633 19.4602 6.4695L18.2545 6.71554C17.2375 6.92307 16.2793 6.64834 15.546 6.20468C15.4837 6.16698 15.4207 6.13028 15.3571 6.0946C14.6109 5.67613 13.9025 4.98131 13.5884 4.00046L13.2158 2.83721C13.1504 2.63293 12.961 2.49515 12.7457 2.49515L11.503 2.49515C11.2876 2.49515 11.0946 2.63293 11.0239 2.83721ZM9.20321 3.52588C9.01369 4.07288 8.59184 4.50289 8.08436 4.7834C8.00543 4.82702 7.92726 4.87189 7.84989 4.91797C7.35101 5.2151 6.7679 5.36099 6.20381 5.24525L5.00454 4.9992C4.16291 4.82653 3.29814 5.21318 2.85769 5.95909L2.22226 7.0352C1.78181 7.78111 1.86451 8.7189 2.42756 9.36333L3.23104 10.2829C3.60754 10.7138 3.76517 11.2885 3.74851 11.8643C3.74589 11.9547 3.74471 12.0452 3.74495 12.1356C3.74654 12.7114 3.57386 13.2861 3.18608 13.717L2.35854 14.6366C1.7786 15.281 1.67135 16.2188 2.09227 16.9647L2.69954 18.0408C3.12046 18.7867 3.9751 19.1733 4.82125 19.0007L6.02688 18.7546C6.59401 18.6389 7.17331 18.7848 7.66441 19.0819C7.7406 19.128 7.81761 19.1729 7.89542 19.2166C8.39556 19.4971 8.80615 19.9271 8.98134 20.4741L9.3539 21.6373C9.61559 22.4544 10.3731 23.0056 11.2345 23.0056H12.4772C13.3386 23.0056 14.1105 22.4544 14.3936 21.6373L14.7966 20.4741C14.9861 19.9271 15.408 19.4971 15.9154 19.2166C15.9944 19.1729 16.0726 19.128 16.15 19.0819C16.6488 18.7848 17.232 18.6389 17.7961 18.7546L18.9952 19.0007C19.8368 19.1733 20.7016 18.7867 21.1421 18.0408L21.7775 16.9647C22.2179 16.2188 22.1352 15.281 21.5722 14.6366L20.7688 13.717C20.3923 13.2861 20.2346 12.7115 20.2513 12.1356C20.2539 12.0452 20.2551 11.9547 20.2549 11.8643C20.2533 11.2884 20.4259 10.7138 20.8137 10.2829L21.6412 9.36333C22.2212 8.7189 22.3284 7.78111 21.9075 7.03521L21.3002 5.95909C20.8793 5.21318 20.0247 4.82653 19.1785 4.9992L17.9728 5.24525C17.4057 5.36098 16.8264 5.21509 16.3353 4.91797C16.2592 4.87189 16.1822 4.82702 16.1044 4.7834C15.6042 4.50289 15.1937 4.07288 15.0185 3.52588L14.6459 2.36262C14.3842 1.54552 13.6267 0.994385 12.7653 0.994385H11.5226C10.6613 0.994385 9.8893 1.54552 9.60622 2.36262L9.20321 3.52588Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Plus"),(0,i.jsx)("path",{d:"M1 5H9",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5 9V1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 10 2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Minus"),(0,i.jsx)("path",{d:"M1 1H9",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"More"),(0,i.jsx)("path",{d:"M5.4001 10.2C4.4101 10.2 3.6001 11.01 3.6001 12C3.6001 12.99 4.4101 13.8 5.4001 13.8C6.3901 13.8 7.2001 12.99 7.2001 12C7.2001 11.01 6.3901 10.2 5.4001 10.2Z",fill:e}),(0,i.jsx)("path",{d:"M12.0002 10.2C11.0102 10.2 10.2002 11.01 10.2002 12C10.2002 12.99 11.0102 13.8 12.0002 13.8C12.9902 13.8 13.8002 12.99 13.8002 12C13.8002 11.01 12.9902 10.2 12.0002 10.2Z",fill:e}),(0,i.jsx)("path",{d:"M18.6003 10.2C17.6103 10.2 16.8003 11.01 16.8003 12C16.8003 12.99 17.6103 13.8 18.6003 13.8C19.5903 13.8 20.4003 12.99 20.4003 12C20.4003 11.01 19.5903 10.2 18.6003 10.2Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t/4+"px",height:`${t}px`,viewBox:`0 0 ${t/4} ${t}`,fill:"none"},(0,i.jsx)("title",null,"More vertical"),(0,i.jsx)("circle",{cx:"1.66016",cy:"2",r:"1.5",fill:e}),(0,i.jsx)("circle",{cx:"1.66016",cy:"8",r:"1.5",fill:e}),(0,i.jsx)("circle",{cx:"1.66016",cy:"14",r:"1.5",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 11 8",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Check"),(0,i.jsx)("path",{d:"M1 3.83L3.83 6.66L9.5 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Check circle"),(0,i.jsx)("path",{d:"M10.0003 18.3334C14.5837 18.3334 18.3337 14.5834 18.3337 10.0001C18.3337 5.41675 14.5837 1.66675 10.0003 1.66675C5.41699 1.66675 1.66699 5.41675 1.66699 10.0001C1.66699 14.5834 5.41699 18.3334 10.0003 18.3334Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.45801 9.99993L8.81634 12.3583L13.5413 7.6416",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Cross"),(0,i.jsx)("path",{d:"M1 6.66L6.66 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.66 6.66L1 1",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"User"),(0,i.jsx)("path",{d:"M12.1202 12.78C12.0502 12.77 11.9602 12.77 11.8802 12.78C10.1202 12.72 8.72021 11.28 8.72021 9.50998C8.72021 7.69998 10.1802 6.22998 12.0002 6.22998C13.8102 6.22998 15.2802 7.69998 15.2802 9.50998C15.2702 11.28 13.8802 12.72 12.1202 12.78Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M18.7398 19.3801C16.9598 21.0101 14.5998 22.0001 11.9998 22.0001C9.39977 22.0001 7.03977 21.0101 5.25977 19.3801C5.35977 18.4401 5.95977 17.5201 7.02977 16.8001C9.76977 14.9801 14.2498 14.9801 16.9698 16.8001C18.0398 17.5201 18.6398 18.4401 18.7398 19.3801Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 3 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Union"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.50879 2C0.956504 2 0.508789 1.55228 0.508789 1C0.508789 0.447715 0.956504 0 1.50879 0H1.51777C2.07006 0 2.51777 0.447715 2.51777 1C2.51777 1.55228 2.07006 2 1.51777 2H1.50879ZM2.21416 9C2.21416 9.3866 1.90076 9.7 1.51416 9.7C1.12756 9.7 0.81416 9.3866 0.81416 9V4C0.81416 3.6134 1.12756 3.3 1.51416 3.3C1.90076 3.3 2.21416 3.6134 2.21416 4V9Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 22",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Notification"),(0,i.jsx)("path",{d:"M0.776752 7.36345C0.819992 7.37426 0.865032 7.37966 0.908271 7.37966C1.14969 7.37966 1.37129 7.21572 1.43255 6.97069C1.9334 4.96728 3.12608 3.19267 4.78899 1.97837C5.0304 1.80181 5.08265 1.46491 4.90609 1.22349C4.72953 0.98207 4.39263 0.929823 4.15121 1.10638C2.28472 2.47022 0.946106 4.45922 0.383997 6.70946C0.31013 6.99772 0.48669 7.29138 0.776752 7.36345ZM15.2114 1.97837C16.8743 3.19267 18.0652 4.96548 18.5679 6.97069C18.6291 7.21572 18.8489 7.37966 19.0921 7.37966C19.1354 7.37966 19.1804 7.37426 19.2237 7.36345C19.5137 7.29138 19.6885 6.99772 19.6164 6.70765C19.0543 4.45922 17.7157 2.46842 15.8492 1.10458C15.6078 0.928021 15.2709 0.980269 15.0943 1.22169C14.9178 1.46491 14.97 1.80181 15.2114 1.97837ZM1.92799 15.3879C1.75144 16.0924 1.90638 16.8256 2.35498 17.3967C2.80179 17.9697 3.4756 18.2976 4.20165 18.2976H6.80681C7.06445 19.8289 8.39765 21 10.0011 21C11.6046 21 12.936 19.8289 13.1954 18.2976H15.8006C16.5266 18.2976 17.2004 17.9697 17.6472 17.3967C18.094 16.8238 18.249 16.0924 18.0742 15.3879L16.1194 7.58325C15.4168 4.7691 12.8999 2.80352 9.9993 2.80352C7.09868 2.80352 4.5818 4.7691 3.87916 7.58325L1.92799 15.3879ZM9.9993 19.919C8.99399 19.919 8.14903 19.229 7.90761 18.2976H12.0892C11.8496 19.229 11.0046 19.919 9.9993 19.919ZM9.9993 3.8845C12.4027 3.8845 14.489 5.51317 15.0709 7.84448L17.0221 15.6492C17.1176 16.0293 17.0329 16.4221 16.7933 16.7319C16.5518 17.04 16.1897 17.2166 15.7988 17.2166H4.19985C3.8089 17.2166 3.44677 17.04 3.20535 16.7319C2.96393 16.4239 2.88106 16.0293 2.97654 15.6492L4.92771 7.84448C5.50964 5.51317 7.59593 3.8845 9.9993 3.8845Z",fill:e,stroke:e,strokeWidth:"0.3"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Information"),(0,i.jsx)("path",{d:"M9.99998 17.8889C14.3651 17.8889 17.9365 14.3175 17.9365 9.95238C17.9365 5.5873 14.3651 2.01587 9.99998 2.01587C5.6349 2.01587 2.06348 5.5873 2.06348 9.95238C2.06348 14.3175 5.6349 17.8889 9.99998 17.8889Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M9.99573 7.77759C9.44344 7.77759 8.99573 7.32987 8.99573 6.77759C8.99573 6.2253 9.44344 5.77759 9.99573 5.77759H10.0029C10.5551 5.77759 11.0029 6.2253 11.0029 6.77759C11.0029 7.32987 10.5551 7.77759 10.0029 7.77759H9.99573ZM10.7 13.1268C10.7 13.5134 10.3866 13.8268 9.99999 13.8268C9.61339 13.8268 9.29999 13.5134 9.29999 13.1268V9.15854C9.29999 8.77194 9.61339 8.45854 9.99999 8.45854C10.3866 8.45854 10.7 8.77194 10.7 9.15854V13.1268Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Warning"),(0,i.jsx)("path",{d:"M9.65357 1.32393C9.80753 1.05726 10.1924 1.05726 10.3464 1.32393L18.5118 15.4668C18.6657 15.7334 18.4733 16.0668 18.1654 16.0668H1.8346C1.52668 16.0668 1.33423 15.7334 1.48819 15.4668L9.65357 1.32393Z",stroke:e,strokeWidth:"1.2"}),(0,i.jsx)("path",{d:"M10.7003 6.19072C10.7003 5.80412 10.3869 5.49072 10.0003 5.49072C9.61368 5.49072 9.30028 5.80412 9.30028 6.19072V10.159C9.30028 10.5456 9.61368 10.859 10.0003 10.859C10.3869 10.859 10.7003 10.5456 10.7003 10.159V6.19072ZM9.99609 12.1749C9.44381 12.1749 8.99609 12.6226 8.99609 13.1749C8.99609 13.7272 9.44381 14.1749 9.99609 14.1749H10.0032C10.5555 14.1749 11.0032 13.7272 11.0032 13.1749C11.0032 12.6226 10.5555 12.1749 10.0032 12.1749H9.99609Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Attention"),(0,i.jsx)("path",{d:"M10 1.90479L2.85718 6.1905V13.8095L10 18.5715L17.1429 13.8095V6.1905L10 1.90479Z",stroke:e,strokeWidth:"1.2"}),(0,i.jsx)("path",{d:"M10.7004 6.19048C10.7004 5.80388 10.387 5.49048 10.0004 5.49048C9.6138 5.49048 9.3004 5.80388 9.3004 6.19048V10.1587C9.3004 10.5453 9.6138 10.8587 10.0004 10.8587C10.387 10.8587 10.7004 10.5453 10.7004 10.1587V6.19048ZM9.99622 12.1746C9.44393 12.1746 8.99622 12.6224 8.99622 13.1746C8.99622 13.7269 9.44393 14.1746 9.99622 14.1746H10.0033C10.5556 14.1746 11.0033 13.7269 11.0033 13.1746C11.0033 12.6224 10.5556 12.1746 10.0033 12.1746H9.99622Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Visible"),(0,i.jsx)("path",{d:"M15.5799 11.9999C15.5799 13.9799 13.9799 15.5799 11.9999 15.5799C10.0199 15.5799 8.41992 13.9799 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C13.9799 8.41992 15.5799 10.0199 15.5799 11.9999Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M11.9998 20.27C15.5298 20.27 18.8198 18.19 21.1098 14.59C22.0098 13.18 22.0098 10.81 21.1098 9.39997C18.8198 5.79997 15.5298 3.71997 11.9998 3.71997C8.46984 3.71997 5.17984 5.79997 2.88984 9.39997C1.98984 10.81 1.98984 13.18 2.88984 14.59C5.17984 18.19 8.46984 20.27 11.9998 20.27Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Invisible"),(0,i.jsx)("path",{d:"M14.5299 9.46992L9.46992 14.5299C8.81992 13.8799 8.41992 12.9899 8.41992 11.9999C8.41992 10.0199 10.0199 8.41992 11.9999 8.41992C12.9899 8.41992 13.8799 8.81992 14.5299 9.46992Z",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M17.8198 5.76998C16.0698 4.44998 14.0698 3.72998 11.9998 3.72998C8.46984 3.72998 5.17984 5.80998 2.88984 9.40998C1.98984 10.82 1.98984 13.19 2.88984 14.6C3.67984 15.84 4.59984 16.91 5.59984 17.77",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M8.41992 19.5299C9.55992 20.0099 10.7699 20.2699 11.9999 20.2699C15.5299 20.2699 18.8199 18.1899 21.1099 14.5899C22.0099 13.1799 22.0099 10.8099 21.1099 9.39993C20.7799 8.87993 20.4199 8.38993 20.0499 7.92993",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M15.5099 12.7C15.2499 14.11 14.0999 15.26 12.6899 15.52",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M9.47 14.53L2 22",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M21.9998 2L14.5298 9.47",stroke:e,strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 16 15",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Log out"),(0,i.jsx)("path",{d:"M7.9751 13.7292H2.36876C2.0249 13.7292 1.74585 13.4502 1.74585 13.1063V1.89369C1.74585 1.54983 2.02493 1.27078 2.36876 1.27078H7.9751C8.31957 1.27078 8.59801 0.992344 8.59801 0.647871C8.59801 0.303398 8.31957 0.0249023 7.9751 0.0249023H2.36876C1.33845 0.0249023 0.5 0.863379 0.5 1.89369V13.1063C0.5 14.1366 1.33845 14.9751 2.36876 14.9751H7.9751C8.31957 14.9751 8.59801 14.6966 8.59801 14.3522C8.59801 14.0077 8.31957 13.7292 7.9751 13.7292Z",fill:e}),(0,i.jsx)("path",{d:"M15.3144 7.05653L11.527 3.31898C11.2828 3.07729 10.8879 3.08042 10.6462 3.32522C10.4045 3.57003 10.407 3.96434 10.6524 4.20604L13.359 6.87712H6.10631C5.76184 6.87712 5.4834 7.15556 5.4834 7.50003C5.4834 7.8445 5.76184 8.12297 6.10631 8.12297H13.359L10.6524 10.7941C10.407 11.0358 10.4051 11.4301 10.6462 11.6749C10.7683 11.7982 10.929 11.8605 11.0897 11.8605C11.2479 11.8605 11.4061 11.8007 11.527 11.6811L15.3144 7.94353C15.4327 7.82643 15.5 7.66693 15.5 7.5C15.5 7.33313 15.4333 7.17428 15.3144 7.05653Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Log in"),(0,i.jsx)("path",{d:"M7.39504 9.17067C8.58623 9.17067 9.61771 8.74344 10.4605 7.90051C11.3033 7.05773 11.7305 6.02652 11.7305 4.8352C11.7305 3.64428 11.3033 2.61294 10.4604 1.76988C9.61743 0.92723 8.58609 0.5 7.39504 0.5C6.20371 0.5 5.17251 0.92723 4.32972 1.77002C3.48694 2.6128 3.05957 3.64414 3.05957 4.8352C3.05957 6.02652 3.48694 7.05786 4.32986 7.90065C5.17279 8.7433 6.20413 9.17067 7.39504 9.17067Z",fill:e}),(0,i.jsx)("path",{d:"M14.9811 14.341C14.9568 13.9902 14.9076 13.6076 14.8352 13.2036C14.7622 12.7966 14.6681 12.4118 14.5555 12.0601C14.4392 11.6966 14.281 11.3376 14.0854 10.9936C13.8824 10.6365 13.644 10.3256 13.3765 10.0698C13.0968 9.80212 12.7543 9.58693 12.3582 9.42996C11.9635 9.27382 11.5261 9.19472 11.0583 9.19472C10.8745 9.19472 10.6968 9.27011 10.3536 9.49354C10.1424 9.63129 9.89537 9.79059 9.61961 9.96678C9.38382 10.117 9.06439 10.2578 8.66985 10.3852C8.28491 10.5098 7.89407 10.5729 7.50832 10.5729C7.12256 10.5729 6.73186 10.5098 6.34652 10.3852C5.95238 10.2579 5.63296 10.1172 5.39744 9.96692C5.12429 9.79237 4.8771 9.63307 4.66273 9.49341C4.31995 9.26997 4.14211 9.19458 3.95837 9.19458C3.49035 9.19458 3.0531 9.27382 2.65855 9.4301C2.26277 9.58679 1.92013 9.80199 1.64012 10.0699C1.37274 10.3259 1.1342 10.6367 0.931502 10.9936C0.736083 11.3376 0.57788 11.6964 0.461425 12.0602C0.348953 12.4119 0.254882 12.7966 0.181823 13.2036C0.109451 13.6071 0.0602874 13.9898 0.0359802 14.3414C0.0120849 14.6858 0 15.0433 0 15.4043C0 16.3439 0.29869 17.1046 0.887694 17.6656C1.46942 18.2191 2.23915 18.5 3.17518 18.5H11.8423C12.7783 18.5 13.5478 18.2193 14.1296 17.6656C14.7188 17.105 15.0175 16.3442 15.0175 15.4042C15.0173 15.0415 15.0051 14.6838 14.9811 14.341Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 18 14",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Email"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.718587 2.52762C0.823606 2.04828 1.08177 1.62029 1.4508 1.31376C1.81982 1.00722 2.27784 0.840299 2.74984 0.840332H15.2498C15.7218 0.840299 16.1799 1.00722 16.5489 1.31376C16.9179 1.62029 17.1761 2.04828 17.2811 2.52762L8.99984 7.79997L0.718587 2.52762ZM0.666504 3.76676V11.4751L6.7113 7.61442L0.666504 3.76676ZM7.70921 8.25136L0.865462 12.6209C1.03455 12.9923 1.30143 13.3061 1.63503 13.5256C1.96863 13.7452 2.35523 13.8616 2.74984 13.8612H15.2498C15.6444 13.8613 16.0308 13.7446 16.3642 13.5249C16.6977 13.3051 16.9643 12.9913 17.1332 12.6198L10.2894 8.25027L8.99984 9.07167L7.70921 8.25027V8.25136ZM11.2884 7.61551L17.3332 11.4751V3.76676L11.2884 7.61442V7.61551Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,fill:"none",viewBox:"0 0 16 21",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Lock"),(0,i.jsx)("path",{d:"M13.625 8.41602H13V5.91602C13 3.15852 10.7575 0.916016 8 0.916016C5.2425 0.916016 3 3.15852 3 5.91602V8.41602H2.375C1.34167 8.41602 0.5 9.25685 0.5 10.291V19.041C0.5 20.0752 1.34167 20.916 2.375 20.916H13.625C14.6583 20.916 15.5 20.0752 15.5 19.041V10.291C15.5 9.25685 14.6583 8.41602 13.625 8.41602ZM4.66667 5.91602C4.66667 4.07768 6.16167 2.58268 8 2.58268C9.83833 2.58268 11.3333 4.07768 11.3333 5.91602V8.41602H4.66667V5.91602ZM8.83333 14.851V16.7493C8.83333 17.2093 8.46083 17.5827 8 17.5827C7.53917 17.5827 7.16667 17.2093 7.16667 16.7493V14.851C6.67083 14.5618 6.33333 14.0302 6.33333 13.416C6.33333 12.4968 7.08083 11.7493 8 11.7493C8.91917 11.7493 9.66667 12.4968 9.66667 13.416C9.66667 14.0302 9.32917 14.5618 8.83333 14.851Z",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot down"),(0,i.jsx)("path",{d:"M17 1L9 9L1 1",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot up"),(0,i.jsx)("path",{d:"M17 9.5L9 1.5L1 9.5",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 11 18",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot left"),(0,i.jsx)("path",{d:"M9.5 0.999999L1.5 9L9.5 17",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 11 18",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,i.jsx)("title",null,"Carrot right"),(0,i.jsx)("path",{d:"M1.5 0.999999L9.5 9L1.5 17",stroke:e,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 21",fill:"#fff",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Radio on"),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",fill:e}),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",stroke:e,strokeWidth:"1.4"}),(0,i.jsx)("circle",{cx:"10",cy:"10.7",r:"5",fill:e})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 20 21",fill:"#fff"},(0,i.jsx)("title",null,"Circle"),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",fill:"none"}),(0,i.jsx)("rect",{x:"0.7",y:"1.39995",width:"18.6",height:"18.6",rx:"9.3",stroke:e,strokeWidth:"1.4"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 7 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Arrow Up"),(0,i.jsx)("path",{d:"M3.17757 0.92293L3.17757 7.07727",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M0.416507 3.40515L3.17751 0.922901L5.93896 3.40515",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{width:`${t}px`,height:`${t}px`,viewBox:"0 0 7 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.jsx)("title",null,"Arrow Down"),(0,i.jsx)("path",{d:"M3.1779 7.07707L3.1779 0.922729",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M5.93896 4.59485L3.17796 7.0771L0.416504 4.59485",stroke:e,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})),({fill:e="#000",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 21 20",fill:"none"},(0,i.jsx)("title",null,"Filter"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0189 10.0002C16.8598 10.0002 18.3522 8.50775 18.3522 6.66683C18.3522 4.82588 16.8598 3.3335 15.0189 3.3335C13.4657 3.3335 12.1606 4.3958 11.7905 5.8335H2.51888C2.05865 5.8335 1.68555 6.2066 1.68555 6.66683C1.68555 7.12707 2.05865 7.50016 2.51888 7.50016H11.7905C12.1606 8.93783 13.4657 10.0002 15.0189 10.0002ZM13.3522 6.66683C13.3522 7.5873 14.0984 8.3335 15.0189 8.3335C15.9394 8.3335 16.6855 7.5873 16.6855 6.66683C16.6855 5.74635 15.9394 5.00016 15.0189 5.00016C14.0984 5.00016 13.3522 5.74635 13.3522 6.66683ZM1.68555 13.3335C1.68555 11.4926 3.17793 10.0002 5.01888 10.0002C6.57208 10.0002 7.87716 11.0625 8.2472 12.5002H17.5189C17.9791 12.5002 18.3522 12.8732 18.3522 13.3335C18.3522 13.7937 17.9791 14.1668 17.5189 14.1668H8.2472C7.87716 15.6045 6.57208 16.6668 5.01888 16.6668C3.17793 16.6668 1.68555 15.1744 1.68555 13.3335ZM6.68555 13.3335C6.68555 12.413 5.93936 11.6668 5.01888 11.6668C4.09841 11.6668 3.35221 12.413 3.35221 13.3335C3.35221 14.254 4.09841 15.0002 5.01888 15.0002C5.93936 15.0002 6.68555 14.254 6.68555 13.3335Z",fill:e})),({fill:e="#55575A",size:t=24})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:`0 0 ${t} ${t}`,fill:"none"},(0,i.jsx)("title",null,"Search"),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.82917 1.47028C12.1756 3.5284 12.5224 7.05414 10.6219 9.52998L15 13.9081L13.9081 15L9.52998 10.6219C7.05414 12.5224 3.5284 12.1756 1.47028 9.82917C-0.587839 7.48275 -0.472077 3.94189 1.73491 1.73491C3.94189 -0.472077 7.48275 -0.587839 9.82917 1.47028ZM1.5 6C1.5 8.48528 3.51472 10.5 6 10.5C8.48528 10.5 10.5 8.48528 10.5 6C10.5 3.51472 8.48528 1.5 6 1.5C3.51472 1.5 1.5 3.51472 1.5 6Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Archive"),(0,i.jsx)("g",{clipPath:"url(#clip0_532_12720)"},(0,i.jsx)("path",{d:"M12.5 14.2188H2.5C2.04426 14.2184 1.60728 14.0372 1.28503 13.715C0.96277 13.3927 0.781581 12.9557 0.78125 12.5V5C0.78125 4.87568 0.830636 4.75645 0.918544 4.66854C1.00645 4.58064 1.12568 4.53125 1.25 4.53125H13.75C13.8743 4.53125 13.9936 4.58064 14.0815 4.66854C14.1694 4.75645 14.2188 4.87568 14.2188 5V12.5C14.2184 12.9557 14.0372 13.3927 13.715 13.715C13.3927 14.0372 12.9557 14.2184 12.5 14.2188ZM1.71875 5.46875V12.5C1.71908 12.7071 1.8015 12.9056 1.94794 13.0521C2.09438 13.1985 2.2929 13.2809 2.5 13.2813H12.5C12.7071 13.2809 12.9056 13.1985 13.0521 13.0521C13.1985 12.9056 13.2809 12.7071 13.2813 12.5V5.46875H1.71875Z",fill:e}),(0,i.jsx)("path",{d:"M13.75 5.46876H1.24998C1.17011 5.46875 1.09156 5.44834 1.02179 5.40945C0.952017 5.37056 0.893342 5.31449 0.851329 5.24656C0.809316 5.17862 0.78536 5.10108 0.781733 5.02129C0.778107 4.94149 0.794931 4.8621 0.830609 4.79063L2.53311 1.38563C2.62339 1.20356 2.76288 1.05043 2.93577 0.943609C3.10865 0.836785 3.30801 0.780542 3.51123 0.781257H11.4887C11.692 0.780526 11.8915 0.836833 12.0644 0.943779C12.2373 1.05073 12.3767 1.20402 12.4669 1.38626L14.1694 4.79063C14.205 4.8621 14.2219 4.94149 14.2182 5.02129C14.2146 5.10108 14.1907 5.17862 14.1486 5.24656C14.1066 5.31449 14.048 5.37056 13.9782 5.40945C13.9084 5.44834 13.8299 5.46875 13.75 5.46876ZM2.00873 4.53126H12.9912L11.6281 1.80501C11.6153 1.779 11.5955 1.75711 11.5708 1.74186C11.5462 1.7266 11.5177 1.7186 11.4887 1.71876H3.51123C3.48234 1.71869 3.45401 1.72666 3.42939 1.74178C3.40477 1.7569 3.38485 1.77858 3.37186 1.80438L2.00873 4.53126Z",fill:e}),(0,i.jsx)("path",{d:"M7.5 11.7188C7.37568 11.7188 7.25645 11.6694 7.16854 11.5815C7.08064 11.4935 7.03125 11.3743 7.03125 11.25V7.5C7.03125 7.37568 7.08064 7.25645 7.16854 7.16854C7.25645 7.08064 7.37568 7.03125 7.5 7.03125C7.62432 7.03125 7.74355 7.08064 7.83146 7.16854C7.91936 7.25645 7.96875 7.37568 7.96875 7.5V11.25C7.96875 11.3743 7.91936 11.4935 7.83146 11.5815C7.74355 11.6694 7.62432 11.7188 7.5 11.7188Z",fill:e}),(0,i.jsx)("path",{d:"M7.50003 11.7188C7.43846 11.7189 7.37747 11.7069 7.32061 11.6832C7.26375 11.6596 7.21214 11.625 7.16878 11.5813L5.29378 9.70628C5.21098 9.61742 5.1659 9.49989 5.16804 9.37845C5.17018 9.25701 5.21938 9.14115 5.30526 9.05526C5.39115 8.96938 5.50701 8.92018 5.62845 8.91804C5.74989 8.9159 5.86742 8.96098 5.95628 9.04378L7.50003 10.5869L9.04378 9.04378C9.13264 8.96098 9.25016 8.9159 9.3716 8.91804C9.49304 8.92018 9.60891 8.96938 9.69479 9.05526C9.78067 9.14115 9.82987 9.25701 9.83201 9.37845C9.83415 9.49989 9.78908 9.61742 9.70628 9.70628L7.83128 11.5813C7.78791 11.625 7.7363 11.6596 7.67944 11.6832C7.62258 11.7069 7.56159 11.7189 7.50003 11.7188Z",fill:e})),(0,i.jsx)("defs",null,(0,i.jsx)("clipPath",{id:"clip0_532_12720"},(0,i.jsx)("rect",{width:t,height:t,fill:"white"})))),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Bin"),(0,i.jsx)("path",{d:"M9.14062 11.1328C9.39947 11.1328 9.60938 10.9229 9.60938 10.6641V5.97656C9.60938 5.71772 9.39947 5.50781 9.14062 5.50781C8.88178 5.50781 8.67188 5.71772 8.67188 5.97656V10.6641C8.67188 10.9229 8.88178 11.1328 9.14062 11.1328Z",fill:e}),(0,i.jsx)("path",{d:"M5.85938 11.1328C6.11822 11.1328 6.32812 10.9229 6.32812 10.6641V5.97656C6.32812 5.71772 6.11822 5.50781 5.85938 5.50781C5.60053 5.50781 5.39062 5.71772 5.39062 5.97656V10.6641C5.39062 10.9229 5.60053 11.1328 5.85938 11.1328Z",fill:e}),(0,i.jsx)("path",{d:"M9.375 1.99219C9.63384 1.99219 9.84375 1.78228 9.84375 1.52344C9.84375 1.26459 9.63384 1.05469 9.375 1.05469H5.625C5.36616 1.05469 5.15625 1.26459 5.15625 1.52344C5.15625 1.78228 5.36616 1.99219 5.625 1.99219H9.375Z",fill:e}),(0,i.jsx)("path",{d:"M2.34375 2.46094C2.08491 2.46094 1.875 2.67084 1.875 2.92969C1.875 3.18853 2.08491 3.39844 2.34375 3.39844H2.8125V12.0234C2.8125 13.0828 3.675 13.9453 4.73438 13.9453H10.2656C11.325 13.9453 12.1875 13.0828 12.1875 12.0234V3.39844H12.6562C12.9151 3.39844 13.125 3.18853 13.125 2.92969C13.125 2.67084 12.9151 2.46094 12.6562 2.46094H11.7188H3.28125H2.34375ZM11.25 3.39844V12.0234C11.25 12.5672 10.8094 13.0078 10.2656 13.0078H4.73438C4.19063 13.0078 3.75 12.5672 3.75 12.0234V3.39844H11.25Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Change"),(0,i.jsx)("path",{d:"M4.3628 1.24246C4.20043 1.2473 4.04632 1.31518 3.93312 1.43169L1.43311 3.93289C1.37491 3.99095 1.32874 4.05988 1.29723 4.13582C1.26573 4.21175 1.24951 4.29316 1.24951 4.37537C1.24951 4.45758 1.26573 4.53898 1.29723 4.61492C1.32874 4.69085 1.37491 4.75979 1.43311 4.81785L3.93312 7.31911C3.99087 7.37893 4.05998 7.42662 4.1364 7.4594C4.21283 7.49217 4.29502 7.50939 4.37817 7.51C4.46132 7.51062 4.54376 7.49464 4.62066 7.463C4.69755 7.43136 4.76736 7.38463 4.826 7.32567C4.88463 7.26671 4.93092 7.19671 4.96213 7.11964C4.99335 7.04257 5.00888 6.95999 5.0078 6.87685C5.00673 6.7937 4.98907 6.71159 4.95588 6.63535C4.92268 6.55911 4.8746 6.49028 4.81446 6.43285L3.38258 4.99857H13.1238C13.2897 4.99857 13.4488 4.93265 13.5662 4.81532C13.6835 4.698 13.7494 4.53884 13.7494 4.37292C13.7494 4.20699 13.6835 4.04791 13.5662 3.93058C13.4488 3.81325 13.2897 3.74733 13.1238 3.74733H3.38868L4.81446 2.31788C4.90548 2.23039 4.96787 2.11734 4.99342 1.9937C5.01897 1.87006 5.00647 1.74158 4.95759 1.62518C4.9087 1.50878 4.82571 1.4099 4.71954 1.34158C4.61337 1.27326 4.489 1.23873 4.3628 1.24246ZM10.6189 7.49364C10.4953 7.49464 10.3747 7.53226 10.2725 7.60177C10.1703 7.67128 10.091 7.76955 10.0446 7.88414C9.99819 7.99873 9.98683 8.12455 10.0119 8.2456C10.037 8.36665 10.0974 8.47752 10.1856 8.56423L11.6199 9.99973H1.87623C1.71284 10.0033 1.55734 10.0708 1.44306 10.1876C1.32877 10.3044 1.26477 10.4613 1.26477 10.6247C1.26477 10.7882 1.32877 10.9451 1.44306 11.062C1.55734 11.1788 1.71284 11.2462 1.87623 11.2498H11.6162L10.1856 12.6841C10.1201 12.7401 10.067 12.8091 10.0295 12.8866C9.99196 12.9641 9.97088 13.0486 9.96756 13.1347C9.96424 13.2208 9.97874 13.3066 10.0102 13.3868C10.0416 13.467 10.0893 13.5399 10.1502 13.6009C10.2111 13.6618 10.2839 13.7094 10.3641 13.7409C10.4444 13.7723 10.5302 13.7868 10.6163 13.7835C10.7024 13.7801 10.7868 13.759 10.8644 13.7215C10.9419 13.684 11.0109 13.6309 11.0669 13.5655L13.5669 11.0654C13.6833 10.9483 13.7487 10.7899 13.7487 10.6247C13.7487 10.4596 13.6833 10.3012 13.5669 10.1841L11.0669 7.68287C11.0087 7.623 10.939 7.57537 10.8621 7.54287C10.7851 7.51038 10.7024 7.49364 10.6189 7.49364Z",fill:e})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 15 15",fill:"none"},(0,i.jsx)("title",null,"Copy"),(0,i.jsx)("g",{clipPath:"url(#clip0_532_12716)"},(0,i.jsx)("path",{d:"M12.8755 14.5239H5.40479C4.49601 14.5239 3.75684 13.7848 3.75684 12.876V5.40527C3.75684 4.4965 4.49601 3.75732 5.40479 3.75732H12.8755C13.7843 3.75732 14.5234 4.4965 14.5234 5.40527V12.876C14.5234 13.7848 13.7843 14.5239 12.8755 14.5239ZM5.40479 4.85596C5.10189 4.85596 4.85547 5.10238 4.85547 5.40527V12.876C4.85547 13.1789 5.10189 13.4253 5.40479 13.4253H12.8755C13.1784 13.4253 13.4248 13.1789 13.4248 12.876V5.40527C13.4248 5.10238 13.1784 4.85596 12.8755 4.85596H5.40479ZM2.6582 10.1294H2.10889C1.80599 10.1294 1.55957 9.88297 1.55957 9.58008V2.10938C1.55957 1.80648 1.80599 1.56006 2.10889 1.56006H9.57959C9.88249 1.56006 10.1289 1.80648 10.1289 2.10938V2.63123H11.2275V2.10938C11.2275 1.2006 10.4884 0.461426 9.57959 0.461426H2.10889C1.20011 0.461426 0.460938 1.2006 0.460938 2.10938V9.58008C0.460938 10.4889 1.20011 11.228 2.10889 11.228H2.6582V10.1294Z",fill:e})),(0,i.jsx)("defs",null,(0,i.jsx)("clipPath",{id:"clip0_532_12716"},(0,i.jsx)("rect",{width:t,height:t,fill:"white"})))),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",fill:"none"},(0,i.jsx)("title",null,"Robot"),(0,i.jsx)("path",{d:"M17.0001 4.4H17H12.6V3C12.6 2.84087 12.5368 2.68826 12.4243 2.57574C12.3117 2.46321 12.1591 2.4 12 2.4C11.8409 2.4 11.6883 2.46321 11.5757 2.57574C11.4632 2.68826 11.4 2.84087 11.4 3V4.4H7L6.99991 4.4C6.31056 4.40064 5.64964 4.67476 5.1622 5.1622C4.67476 5.64964 4.40064 6.31056 4.4 6.99991V7L4.4 16L4.4 16.0001C4.40064 16.6894 4.67476 17.3504 5.1622 17.8378C5.64964 18.3252 6.31056 18.5994 6.99991 18.6H7H9.6789L11.5008 21.3328L11.584 21.2773L11.5008 21.3328C11.5556 21.415 11.6298 21.4824 11.7169 21.529C11.804 21.5756 11.9012 21.6 12 21.6C12.0988 21.6 12.196 21.5756 12.2831 21.529C12.3702 21.4824 12.4444 21.415 12.4992 21.3328L12.416 21.2773L12.4992 21.3328L14.3211 18.6H17H17.0001C17.6894 18.5994 18.3504 18.3252 18.8378 17.8378C19.3252 17.3504 19.5994 16.6894 19.6 16.0001V16V7V6.99991C19.5994 6.31056 19.3252 5.64964 18.8378 5.1622C18.3504 4.67476 17.6894 4.40064 17.0001 4.4ZM17.9895 16.9895C17.727 17.252 17.3711 17.3996 16.9999 17.4L10.4992 17.6672L10.4991 17.667C10.4443 17.585 10.37 17.5177 10.283 17.4712C10.196 17.4246 10.0988 17.4001 10.0001 17.4H10H7.00011C6.6289 17.3996 6.27301 17.252 6.01053 16.9895C5.74805 16.727 5.6004 16.3711 5.6 15.9999V14.6H18.4V15.9999C18.3996 16.3711 18.252 16.727 17.9895 16.9895ZM5.6 13.4V7.00011C5.6004 6.6289 5.74805 6.27301 6.01053 6.01053C6.27301 5.74805 6.6289 5.60041 7.00011 5.6H16.9999C17.3711 5.60041 17.727 5.74805 17.9895 6.01053C18.252 6.27301 18.3996 6.6289 18.4 7.00011V13.4H5.6ZM9.91462 10.6111C10.0355 10.4302 10.1 10.2176 10.1 10C10.1 9.70826 9.98411 9.42847 9.77782 9.22218C9.57153 9.01589 9.29174 8.9 9 8.9C8.78244 8.9 8.56977 8.96451 8.38887 9.08538C8.20798 9.20625 8.06699 9.37805 7.98373 9.57905C7.90048 9.78005 7.87869 10.0012 7.92114 10.2146C7.96358 10.428 8.06835 10.624 8.22218 10.7778C8.37602 10.9317 8.57202 11.0364 8.7854 11.0789C8.99878 11.1213 9.21995 11.0995 9.42095 11.0163C9.62195 10.933 9.79375 10.792 9.91462 10.6111ZM15.9146 10.6111C16.0355 10.4302 16.1 10.2176 16.1 10C16.1 9.70826 15.9841 9.42847 15.7778 9.22218C15.5715 9.01589 15.2917 8.9 15 8.9C14.7824 8.9 14.5698 8.96451 14.3889 9.08538C14.208 9.20625 14.067 9.37805 13.9837 9.57905C13.9005 9.78005 13.8787 10.0012 13.9211 10.2146C13.9636 10.428 14.0683 10.624 14.2222 10.7778C14.376 10.9317 14.572 11.0364 14.7854 11.0789C14.9988 11.1213 15.22 11.0995 15.421 11.0163C15.622 10.933 15.7937 10.792 15.9146 10.6111ZM2.6 12V8C2.6 7.84087 2.53679 7.68826 2.42426 7.57574C2.31174 7.46321 2.15913 7.4 2 7.4C1.84087 7.4 1.68826 7.46321 1.57574 7.57574C1.46321 7.68826 1.4 7.84087 1.4 8V12C1.4 12.1591 1.46321 12.3117 1.57574 12.4243C1.68826 12.5368 1.84087 12.6 2 12.6C2.15913 12.6 2.31174 12.5368 2.42426 12.4243C2.53679 12.3117 2.6 12.1591 2.6 12ZM22.6 12V8C22.6 7.84087 22.5368 7.68826 22.4243 7.57574C22.3117 7.46321 22.1591 7.4 22 7.4C21.8409 7.4 21.6883 7.46321 21.5757 7.57574C21.4632 7.68826 21.4 7.84087 21.4 8V12C21.4 12.1591 21.4632 12.3117 21.5757 12.4243C21.6883 12.5368 21.8409 12.6 22 12.6C22.1591 12.6 22.3117 12.5368 22.4243 12.4243C22.5368 12.3117 22.6 12.1591 22.6 12Z",fill:e,stroke:e,strokeWidth:"0.2"})),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 22 22",fill:"none"},(0,i.jsx)("title",null,"Chart"),(0,i.jsx)("g",{clipPath:"url(#clip0_2353_10249)"},(0,i.jsx)("path",{d:"M15.9118 19.3153L15.9119 19.3152C16.1279 19.1374 16.1629 18.8202 15.9915 18.5992L15.9914 18.5991L10.2667 11.2396V2.24969C10.2667 1.96446 10.0352 1.73301 9.75 1.73301C4.8614 1.73301 0.9 6.08572 0.9 11.4163C0.9 16.7557 5.24395 21.0997 10.5833 21.0997C11.771 21.0997 12.6938 20.9922 13.526 20.7137C14.359 20.4349 15.0948 19.987 15.9118 19.3153ZM10.5833 20.0664C5.81355 20.0664 1.93332 16.1861 1.93332 11.4164C1.93332 6.83058 5.17123 3.0801 9.23332 2.78478V11.4164C9.23332 11.531 9.27152 11.6427 9.34279 11.7337C9.34284 11.7338 9.3429 11.7338 9.34295 11.7339L14.8604 18.8277C14.2411 19.2904 13.6698 19.5955 13.0225 19.7874C12.346 19.9879 11.5811 20.0664 10.5833 20.0664Z",fill:e,stroke:e,strokeWidth:"0.2"}),(0,i.jsx)("path",{d:"M11.4167 11.1H20.5834C20.8686 11.1 21.1 10.8685 21.1 10.5833C21.1 5.24395 16.756 0.9 11.4167 0.9C11.1315 0.9 10.9 1.13145 10.9 1.41668V10.5834C10.9 10.8686 11.1315 11.1 11.4167 11.1ZM11.9333 10.0666V1.94877C16.2925 2.20673 19.7933 5.70751 20.0512 10.0666H11.9333Z",fill:e,stroke:e,strokeWidth:"0.2"}),(0,i.jsx)("path",{d:"M18.0192 19.3336L18.0189 19.3339C17.9231 19.4225 17.7972 19.4721 17.6668 19.4721L18.0192 19.3336ZM18.0192 19.3336C19.9769 17.5072 21.1001 14.9258 21.1001 12.2497C21.1001 11.9645 20.8687 11.733 20.5835 11.733H12.2501M18.0192 19.3336L12.2501 11.733M12.2501 11.733C12.0517 11.733 11.8691 11.8475 11.7832 12.0274M12.2501 11.733L11.7832 12.0274M11.7832 12.0274C11.6974 12.2073 11.7232 12.4202 11.8482 12.5743M11.7832 12.0274L11.8482 12.5743M11.8482 12.5743C11.8483 12.5743 11.8483 12.5743 11.8483 12.5744M11.8482 12.5743L11.8483 12.5744M11.8483 12.5744L17.2645 19.2795C17.2645 19.2796 17.2646 19.2797 17.2647 19.2797C17.3549 19.3926 17.4872 19.4606 17.63 19.471C17.6298 19.471 17.6296 19.471 17.6295 19.471L11.8483 12.5744ZM20.0512 12.7664C19.9288 14.7847 19.0958 16.7118 17.7089 18.185L13.332 12.7664H20.0512Z",fill:e,stroke:e,strokeWidth:"0.2"})),(0,i.jsx)("defs",null,(0,i.jsx)("clipPath",{id:"clip0_2353_10249"},(0,i.jsx)("rect",{width:"22",height:"22",fill:"white"})))),({fill:e="#000",size:t=15})=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",fill:"none"},(0,i.jsx)("title",null,"Clock"),(0,i.jsx)("circle",{cx:"12.1001",cy:"12.1001",r:"11.1001",stroke:e,strokeWidth:"1.4"}),(0,i.jsx)("path",{d:"M11.4824 6.18066L11.4835 13.1411",stroke:e,strokeWidth:"1.4",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M18.8843 11.4834L11.4842 13.3334",stroke:e,strokeWidth:"1.4",strokeLinecap:"round"}))],ie=ne.reduce(((e,t,r)=>(e[t]=oe[r],e)),{});var se=({name:e,color:t,size:r})=>{const n=ie[e];return null==n?null:(0,i.jsx)(n,{fill:t,size:r})},ae=({name:e,color:t="#000",size:r=24})=>(0,i.jsx)(se,{name:e,color:t,size:r});const le=re.withComponent("button",{target:"e1d2nzq00"}),ce=({title:e,size:t="empty",id:r,isOpened:n,ariaControls:o,className:s,onClick:a})=>{const l=((e,t)=>({empty:(0,i.css)(K,";","",""),small:(0,i.css)(K," color:",e.colors.white80,";margin-bottom:0;height:20px;font-size:16px;font-weight:500;& svg{width:16px;height:16px;& path{stroke:",e.colors.greyArrowSidebar,";stroke-width:1.6px;}}","",""),medium:(0,i.css)(K," color:",e.colors.greyDropdownText,";margin-bottom:0;height:40px;font-weight:500;font-size:14px;padding:11px 22px 9px 17px;border:1px solid ",e.colors.greyDropdownMain,";border-radius:5px;& svg{width:16px;height:8px;& path{stroke:",e.colors.greyDropdownText,";stroke-width:1.2px;}}","",""),large:(0,i.css)(K," margin-bottom:0;height:70px;font-weight:700;font-size:20px;padding:23px 22px 23px 30px;background:",t?e.colors.greyLighter:"none",";border-top-left-radius:20px;border-top-right-radius:20px;& svg{width:20px;height:10px;& path{stroke:",e.colors.greyDarker,";stroke-width:1.2px;}}","","")}))((0,i.useTheme)(),n);return(0,i.jsx)(le,{type:"button","data-testid":"accordion-title",css:l[t],className:s,id:`${r}`,"aria-expanded":n,"aria-controls":o,onClick:()=>{"function"==typeof a&&a()}},(0,i.jsx)(w.Fragment,null,e,n?(0,i.jsx)(ae,{name:"carrot-down"}):(0,i.jsx)(ae,{name:"carrot-up"})))};var ue=_("div",{target:"e1ddmilo0"})("display:flex;flex-direction:column;align-items:center;padding:20px;background:#fff;box-shadow:",(({theme:e,noShadow:t})=>!t&&`0px 10px 40px ${e.colors.greyDarker60}`),";border-radius:10px;border:none;cursor:",(({onClick:e})=>e?"pointer":"default"),";");const de=({title:e,isOpened:t,ariaControls:r,id:n,size:o="empty",renderTitle:s,renderContent:a,onClick:l,...c})=>(0,i.jsx)(ue,y({role:"region",tabIndex:0,title:e,css:Y[o]},c),s({id:n,isOpened:t,title:e,size:o,ariaControls:r,onClick:l}),a({id:`${r}`,isOpened:t,size:o,"aria-labelledby":`${n}`})),pe=_("div",{target:"e1gxdpq60"})("border-radius:100px;overflow:hidden;width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;background:",(({image:e})=>`url(${e})`)," center no-repeat;");var ge=pe,fe=_("div",{target:"e1kzcm730"})({name:"1peiwb3",styles:"display:inline-block;font-family:Manrope,sans-serif;font-style:normal;font-weight:500;border-radius:6px;text-align:center;color:#fff;white-space:pre"});const he={small:{name:"56mou",styles:"height:18px;padding:4px 8px;font-size:0.438rem"},medium:{name:"a7vpx0",styles:"height:24px;padding:4px 15px;font-size:0.688rem"},large:{name:"n10po3",styles:"height:32px;padding:4px 18px;font-size:1rem"}},xe={pink:s,yellow:c,yellowWarm:u,green:d,turquoise:p,purple:g,blueLight:h,blue:f},me=k().forwardRef((function({color:e="purple",size:t="medium",children:r,...n},o){return(0,i.jsx)(fe,y({ref:o,css:[xe[e],he[t],"","","",""]},n),r||null)}));var be=me,ye=_("div",{target:"ecpj7sg0"})("display:flex;align-items:",(({alignItems:e})=>e||"center"),";width:100%;flex-direction:",(({direction:e})=>e||"row"),";");const ve=_("button",{target:"eaatt7n0"})({name:"by1nkt",styles:"display:inline-flex;align-items:center;position:relative;border:none;padding:0 16px;font:inherit;cursor:pointer;outline:inherit;border-radius:12px"}),we=({text:e,className:t,testId:r})=>(0,i.jsx)("span",{className:t,"data-testid":r},e),Ce=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"white-button-text",text:e,css:(0,i.css)({color:t.colors.white},"","")})},ke=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"grey-button-text",text:e,css:(0,i.css)({color:t.colors.greyDarker},"","")})},je=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"greylight-button-text",text:e,css:(0,i.css)({color:t.colors.greyButtonGradient},"","")})},Le=({text:e})=>{const t=(0,i.useTheme)();return(0,i.jsx)(we,{testId:"disabled-button-text",text:e,css:(0,i.css)({color:t.colors.grey40},"","")})},Se={name:"3s76dy",styles:"display:grid;span{display:inline-block;margin:auto;}"},Me={name:"rbcvie",styles:"display:inline-flex;margin-right:6px"},Te={name:"1640ilx",styles:"display:inline-flex;margin-left:6px"},De={small:{name:"9hr42i",styles:"height:36px;font-size:13.33px;font-weight:400;letter-spacing:0.8px;padding:0 16px"},medium:{name:"1xlglgs",styles:"height:46px;font-weight:500;font-size:16px;letter-spacing:0.8px;padding:0 24px"},large:{name:"42ly3s",styles:"height:54px;font-weight:400;font-size:16px;letter-spacing:0.8px;padding:0 32px"}},Ee={primary:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 108.3deg,\n ",e.colors.greyDarker," -0.36%,\n ",e.colors.greyDark," 100%\n );&:hover{background:linear-gradient(\n 108.3deg,\n ",e.colors.greyButtonGradient," -0.36%,\n ",e.colors.greyButtonGradientLight," 100%\n );box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}&:active{background:",e.colors.greyDarker,";box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}&:disabled{background:",e.colors.grey,";}&:focus{background:linear-gradient(\n 108.3deg,\n ",e.colors.greyBackground," -0.36%,\n ",e.colors.greyBackgroundLight," 100%\n );box-shadow:-4px 4px 14px ",e.colors.greyDarker14,";}","",""),secondary:e=>(0,i.css)("background:",e.colors.greyLighter,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";&:hover{background:",e.colors.white,";box-shadow:0px 10px 40px ",e.colors.greyShadowHover,";}&:active{background:",e.colors.greyFocused,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}&:disabled{background:",e.colors.grey,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}&:focus{background:",e.colors.greySelectedMenuItem,";box-shadow:0px 10px 40px ",e.colors.greyShadow,";}","",""),tertiary:e=>(0,i.css)("background:transparent;",m(e,"greyOutline"),";","",""),info:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 247deg,\n ",e.colors.blueLighter," 14.71%,\n ",e.colors.blue," 85.29%\n );&:hover{background:linear-gradient(\n 247deg,\n ",e.colors.blueButtonHoverGradientFrom," 14.71%,\n ",e.colors.blueButtonHoverGradientTo," 85.29%\n );}&:active{background:",e.colors.blueButtonActive,";}&:disabled{background:",e.colors.grey,";}","",""),attention:e=>(0,i.css)("color:",e.colors.white,";background:linear-gradient(\n 99.26deg,\n ",e.colors.pink," -7.01%,\n ",e.colors.pinkLighter," 92.87%\n );&:hover{background:linear-gradient(\n 99.26deg,\n ",e.colors.pinkDark," 7.01%,\n ",e.colors.pinkDarker," 92.87%\n );}&:active{background:",e.colors.pinkDark,";}&:disabled{background:",e.colors.grey,";}","","")},Oe=(0,w.forwardRef)((function({block:e=!1,size:t="small",text:r,startIcon:n,endIcon:o,variant:s="primary",type:a="button",className:l,isDisabled:c,onClick:u,children:d,...p},g){if(!(r||n||o||d))throw new Error("Button must have either text or icon or children");const f=(0,i.useTheme)(),[h,x]=(0,w.useState)(!1),m="primary"===s,b="info"===s,v="tertiary"===s,C="attention"===s,k=r?{}:{margin:0},j=m||b||v||"secondary"===s||C?Ee[s]&&Ee[s](f):void 0,L=(0,i.jsx)(ve,y({ref:g,css:[De[t],j,"","","",""],type:a,disabled:c,className:l,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),onClick:u},p),n?(0,i.jsx)("span",{style:k,css:[Me,"","","",""]},n):null,d||(r?c?(0,i.jsx)(Le,{text:r,size:t}):m||b||C?(0,i.jsx)(Ce,{text:r,size:t}):v&&h?(0,i.jsx)(je,{text:r,size:t}):(0,i.jsx)(ke,{text:r,size:t}):null),o?(0,i.jsx)("span",{style:k,css:Te},o):null);return e?(0,i.jsx)(ye,{css:Se},L):L}));var Re=Oe,Pe=({children:e,onClick:t,...r})=>(0,i.jsx)(ue,y({},r,{as:t?"button":"div",onClick:t}),e),ze=({children:e,icon:t,transparent:r,...n})=>(0,i.jsx)(re,y({transparent:r,hasIcon:!!t},n),t?(0,i.jsx)("span",{style:{position:"absolute",left:"-30px",top:"-30px"}},t):null,e);const Ae=_("button",{target:"e1u7e71a0"})("cursor:pointer;width:24px;height:24px;border:none;border-radius:50%;border:",(({active:e})=>e?"1.4px solid #fff":"none"),";box-shadow:",(({active:e})=>e?"inherit":"none !important"),";"),Ie={pink:s,yellow:c,green:d,turquoise:p,blueLight:h,blue:f,purple:g};var $e={name:"eebmbo",styles:"display:flex;gap:10px;list-style:none;padding:0"},Ne=({onChange:e,initColor:t})=>{const[r,n]=(0,w.useState)(t||"");return(0,i.jsx)("ul",{css:$e},Object.keys(Ie).map((t=>(0,i.jsx)("li",{key:t},(0,i.jsx)(Ae,{active:t===r,onClick:()=>(t=>{e(t),n(t)})(t),css:[Ie[t],"","","",""]})))))};const Ze=_("label",{target:"e1t1qetj0"})("display:inline-block;flex:1;font-weight:500;font-size:1rem;line-height:22px;color:",(({theme:e})=>e.colors.greyDarker),";margin:0 0 6px 4px;");var Ve=({children:e,htmlFor:t,className:r,onMouseEnter:n,onMouseLeave:o})=>(0,i.jsx)(Ze,{htmlFor:t,className:r,onMouseEnter:n,onMouseLeave:o},e);const He={blueInput:e=>(0,i.css)("& input:focus+div{box-shadow:-4px 4px 10px ",e.colors.blueNotification40,";}& input:disabled+div,& input:indeterminate:disabled+div{background:",e.colors.greyFocused,";}& input:not(:checked, :indeterminate, :disabled)+div::before{border:1.5px solid ",e.colors.greyDropdownMain,";}& input:not(:checked, :indeterminate, :disabled)+div:hover::before{border:1.5px solid ",e.colors.greyDropdownMain,";}& input:not(:disabled):checked+div::before,& input:not(:disabled):indeterminate+div::before{background:",e.colors.blueNotification,";}& input:not(:disabled):checked+div:hover::before{background:",e.colors.blueNotification,";}& input:not(:disabled):checked+div+span{font-weight:500;color:",e.colors.greyDropdownText,";}","",""),greenInput:e=>(0,i.css)("& input:focus+div{box-shadow:-4px 4px 10px ",e.colors.green40,";}& input:disabled+div,& input:indeterminate:disabled+div{background:",e.colors.greyFocused,";}& input:not(:checked, :indeterminate, :disabled)+div::before{border:1.5px solid ",e.colors.green,";}& input:not(:checked, :indeterminate, :disabled)+div:hover::before{border:1.5px solid ",e.colors.green60,";}& input:not(:disabled):checked+div::before,& input:not(:disabled):indeterminate+div::before{background:linear-gradient(\n 117.5deg,\n ",e.colors.greenLighter," 17.12%,\n ",e.colors.green," 85.53%\n );}& input:not(:disabled):checked+div:hover::before,& input:not(:disabled):indeterminate+div:hover::before{background:linear-gradient(\n 117.5deg,\n ",e.colors.greenLighter60," 17.12%,\n ",e.colors.green60," 85.53%\n );}","","")},Be=_(Ve,{target:"e9e7wc30"})("position:relative;display:inline-flex;flex-grow:0;align-items:center;vertical-align:middle;cursor:pointer;&:has(input:disabled){cursor:default;}div{position:relative;height:20px;width:20px;display:flex;align-items:center;justify-content:center;border-radius:6px;}input+div{svg{z-index:2;}&::before{content:'';position:absolute;box-sizing:border-box;height:20px;width:20px;top:0;left:0;border-radius:6px;z-index:1;}}",(({color:e="green",theme:t})=>{switch(e){case"blue":return He.blueInput(t);case"green":return He.greenInput(t)}})," input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}span{margin-left:10px;font-size:14px;font-weight:100;}");var Fe=({text:e,id:t,onChange:r,isDisabled:n,externalState:o,initialState:s,isIndeterminate:a,name:l="",isRequired:c=!1,ref:u,register:d,...p})=>{const[g,f]=(0,w.useState)(Boolean(s)),h=(0,w.useId)(),x=(0,i.useTheme)(),m=(0,w.useRef)(null);(0,w.useEffect)((()=>{m.current&&(m.current.indeterminate=Boolean(a))}),[a,g]),(0,w.useEffect)((()=>{"boolean"==typeof o&&f(Boolean(o))}),[o]);const b=t||h;return(0,i.jsx)(Be,y({htmlFor:b},p),(0,i.jsx)("input",y({id:b,type:"checkbox",checked:g,onChange:()=>{const e=!g;f(e),r?.(e)},disabled:n,ref:e=>{m.current=e,u&&(u.current=e)},name:l,required:c},d)),(0,i.jsx)("div",null,a?(0,i.jsx)(ae,{name:"minus",size:12,color:x.colors.white}):g?(0,i.jsx)(ae,{name:"check",size:12,color:x.colors.white}):null),e?(0,i.jsx)("span",null,e):null)},We=e=>"checkbox"===e.type,_e=e=>e instanceof Date,qe=e=>null==e;const Ue=e=>"object"==typeof e;var Qe=e=>!qe(e)&&!Array.isArray(e)&&Ue(e)&&!_e(e),Ge=e=>Qe(e)&&e.target?We(e.target)?e.target.checked:e.target.value:e,Xe=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Je=e=>{const t=e.constructor&&e.constructor.prototype;return Qe(t)&&t.hasOwnProperty("isPrototypeOf")},Ye="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Ke(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ye&&(e instanceof Blob||e instanceof FileList)||!r&&!Qe(e))return e;if(t=r?[]:{},r||Je(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Ke(e[r]));else t=e}return t}var et=e=>Array.isArray(e)?e.filter(Boolean):[],tt=e=>void 0===e,rt=(e,t,r)=>{if(!t||!Qe(e))return r;const n=et(t.split(/[,[\].]+?/)).reduce(((e,t)=>qe(e)?e:e[t]),e);return tt(n)||n===e?tt(e[t])?r:e[t]:n};const nt={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ot={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},it=w.createContext(null),st=()=>w.useContext(it);var at=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const o=i;return t._proxyFormState[o]!==ot.all&&(t._proxyFormState[o]=!n||ot.all),r&&(r[o]=!0),e[o]}});return o},lt=e=>Qe(e)&&!Object.keys(e).length,ct=(e,t,r,n)=>{r(e);const{name:o,...i}=e;return lt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find((e=>t[e]===(!n||ot.all)))},ut=e=>Array.isArray(e)?e:[e],dt=(e,t,r)=>r&&t?e===t||Array.isArray(e)&&e.some((e=>e&&r&&e===t)):!e||!t||e===t||ut(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function pt(e){const t=w.useRef(e);t.current=e,w.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var gt=e=>"string"==typeof e,ft=(e,t,r,n,o)=>gt(e)?(n&&t.watch.add(e),rt(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),rt(r,e)))):(n&&(t.watchAll=!0),r),ht=e=>/^\w*$/.test(e),xt=e=>et(e.replace(/["|']|\]/g,"").split(/\.|\[/));function mt(e,t,r){let n=-1;const o=ht(t)?[t]:xt(t),i=o.length,s=i-1;for(;++n<i;){const t=o[n];let i=r;if(n!==s){const r=e[t];i=Qe(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}e[t]=i,e=e[t]}return e}function bt(e){const t=st(),{name:r,disabled:n,control:o=t.control,shouldUnregister:i}=e,s=Xe(o._names.array,r),a=function(e){const t=st(),{control:r=t.control,name:n,defaultValue:o,disabled:i,exact:s}=e||{},a=w.useRef(n);a.current=n,pt({disabled:i,subject:r._subjects.values,next:e=>{dt(a.current,e.name,s)&&c(Ke(ft(a.current,r._names,e.values||r._formValues,!1,o)))}});const[l,c]=w.useState(r._getWatch(n,o));return w.useEffect((()=>r._removeUnmounted())),l}({control:o,name:r,defaultValue:rt(o._formValues,r,rt(o._defaultValues,r,e.defaultValue)),exact:!0}),l=function(e){const t=st(),{control:r=t.control,disabled:n,name:o,exact:i}=e||{},[s,a]=w.useState(r._formState),l=w.useRef(!0),c=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=w.useRef(o);return u.current=o,pt({disabled:n,next:e=>l.current&&dt(u.current,e.name,i)&&ct(e,c.current,r._updateFormState)&&a({...r._formState,...e}),subject:r._subjects.state}),w.useEffect((()=>(l.current=!0,c.current.isValid&&r._updateValid(!0),()=>{l.current=!1})),[r]),at(s,r,c.current,!1)}({control:o,name:r}),c=w.useRef(o.register(r,{...e.rules,value:a}));return c.current=o.register(r,e.rules),w.useEffect((()=>{const e=o._options.shouldUnregister||i,t=(e,t)=>{const r=rt(o._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){const e=Ke(rt(o._options.defaultValues,r));mt(o._defaultValues,r,e),tt(rt(o._formValues,r))&&mt(o._formValues,r,e)}return()=>{(s?e&&!o._state.action:e)?o.unregister(r):t(r,!1)}}),[r,o,s,i]),w.useEffect((()=>{o._updateDisabledField({disabled:n,fields:o._fields,name:r})}),[n,r,o]),{field:{name:r,value:a,disabled:n,onChange:w.useCallback((e=>c.current.onChange({target:{value:Ge(e),name:r},type:nt.CHANGE})),[r]),onBlur:w.useCallback((()=>c.current.onBlur({target:{value:rt(o._formValues,r),name:r},type:nt.BLUR})),[r,o]),ref:e=>{const t=rt(o._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!rt(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!rt(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!rt(l.touchedFields,r)},error:{enumerable:!0,get:()=>rt(l.errors,r)}})}}ot.onSubmit,ot.onChange;var yt=({control:e,name:t,isRequired:r=!1,...n})=>{const{field:o}=bt({control:e,name:t,rules:{required:r}});return(0,i.jsx)(Fe,y({name:t,onChange:e=>{o.onChange(e)},isRequired:r},n))},vt=a(94);const wt=_("button",{target:"er3kf7h0"})((({isMultiple:e,theme:t})=>e?m(t,"greyDropdownFocused","5px"):m(t))," display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;gap:10px;position:relative;color:",(({colors:e,isOpen:t})=>t&&e?.[0]||"initial"),";width:auto;padding:8px 14px;font:inherit;font-size:13px;text-align:left;line-height:18px;border:none;cursor:pointer;outline:inherit;border-radius:12px;background:",(({isOpen:e,theme:t})=>e?`linear-gradient(108.3deg, ${t.colors.greyDarker} -0.36%, ${t.colors.greyDark} 100%)`:t.colors.greyLighter),";&:disabled{background:",(({theme:e})=>e.colors.grey),";cursor:default;}&:focus{color:",(({colors:e,theme:t})=>e?.[0]||t.colors.greyDarker),";background:",(({isOpen:e,theme:t})=>e?`linear-gradient(108.3deg, ${t.colors.greyDarker} -0.36%, ${t.colors.greyDark} 100%)`:t.colors.greyFocused),";}svg{path{stroke:",(({colors:e,theme:t})=>e?.[0]||t.colors.greyDarker),";}}",(({isMultiple:e,selectedCount:t,theme:r})=>e&&(({theme:e,selectedCount:t=0})=>{let r=e.colors.greyDropdownMain,n=e.colors.greyDropdownFocused,o=e.colors.white;return t>0&&(r=e.colors.blueDropdownWithSelectedItemsBorder,n=e.colors.blueDropdownWithSelectedItemsBorder,o=e.colors.blueDropdownWithSelectedItems),(0,i.css)("justify-content:space-between;height:40px;padding:11px 15px 9px 10px;font-size:14px;font-weight:500;color:",e.colors.greyDropdownText,";border:1px solid ",r,";border-radius:5px;background:",o,";max-width:250px;&:focus{color:",e.colors.greyDropdownText,";background:",o,";&::before{border-color:",n,";}}svg{path{stroke:",e.colors.greyDarker,";}}","","")})({theme:r,selectedCount:t})),";");var Ct=({onClick:e,onFocus:t,isOpen:r,isMultiple:n,selectedCount:o,disabled:s,children:a,ariaLabelledby:l,ariaControls:c,colors:u,className:d})=>(0,i.jsx)(wt,{className:d,colors:u,isOpen:r,isMultiple:n,selectedCount:o,onClick:t=>{t.currentTarget.focus(),e&&e(t)},onFocus:t,disabled:s,role:"combobox","aria-labelledby":l,"aria-controls":c,"aria-expanded":r,"aria-haspopup":"listbox"},a);const kt=_("div",{target:"e1lkmrt90"})({name:"s5xdrg",styles:"display:flex;align-items:center"});var jt=({isUp:e})=>(0,i.jsx)(kt,null,(0,i.jsx)(ae,{name:"carrot-"+(e?"up":"down"),size:12}));const Lt=w.createContext({activeItem:null,onChange:()=>{}});var St=Lt,Mt=_("li",{target:"e784n6w0"})("overflow:hidden;height:34px;padding:8px 16px;border:none;background:",(({isActive:e,theme:t})=>e?t.colors.greySelectedMenuItem:"inherit"),";&:hover{background:",(({theme:e})=>e.colors.greyLighter),";}",(({isMultiple:e,isDisabled:t,theme:r})=>e&&(({theme:e,isDisabled:t})=>(0,i.css)("background:none;color:",t?e.colors.greyDisabledCheckbox:e.colors.greyDisabled,";&:hover{background:none;}","",""))({theme:r,isDisabled:t})),";");const Tt=_("ul",{target:"e1qg2z4z0"})("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;overflow-x:hidden;overflow-y:auto;z-index:2;filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";backdrop-filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";"),Dt={name:"1vl8pyi",styles:"display:flex;align-items:center;cursor:pointer;font:inherit;font-size:0.813rem;outline:inherit;text-align:left;width:100%;padding:0;margin:0;background:none;color:inherit;border:none"},Et={id:Number.NaN,value:"No items"};var Ot=({ariaLabelledby:e,id:t,children:r})=>{const{onChange:n,activeItem:o}=w.useContext(Lt),s=k().Children.toArray(r).filter(Boolean).map((e=>{const t=o?.value===e.props.value;return k().cloneElement(e,{...e.props,isActive:t,"aria-selected":t,onClick:n.bind(null,e.props.value)},(0,i.jsx)("button",{type:"button",css:Dt},e.props.children||e.props.label||e.props.value))}));return 0===s.length&&s.push((0,i.jsx)(Mt,{key:Et.id,value:"",onClick:n.bind(null,""),"aria-selected":!1},(0,i.jsx)("button",{css:Dt},Et.value))),(0,i.jsx)(Tt,{role:"listbox",tabindex:"-1",id:t,"aria-labelledby":e},s)};const Rt=_("div",{target:"eizhqtp0"})({name:"11ffxfj",styles:"display:inline-block;position:relative"});var Pt=({selectedItem:e,isDisabled:t,isOpen:r,children:n,onChange:o,className:s})=>{const a=(0,i.useTheme)(),l=(0,w.useRef)(null),c="Select something",u=(0,w.useId)(),d=[],[p,g]=(0,w.useState)(!1),[f,h]=(0,w.useState)(r||!1),[x,m]=(0,w.useState)([]),[b,y]=(0,w.useState)(e),v=e=>{const r=d.filter((t=>t.value===e))[0];h(!1),!t&&e&&r.value!==b?.value&&(y(r),o&&o(r))};(0,vt.useClickOutside)(l,(()=>f&&h(!1))),(0,w.useEffect)((()=>{t?m([a.colors.greyDarker60,a.colors.grey20]):f?m([a.colors.white,a.colors.white60]):p&&m([a.colors.greyDarker,a.colors.greyDarker60])}),[f,t,p]),(0,w.useEffect)((()=>{t&&f&&h(!1)}),[t]);const C=k().Children.toArray(n).filter(Boolean).map(((e,t)=>(d.push(e.props),k().cloneElement(e,{index:t,onClick:v.bind(void 0),...e.props})))),j=k().useMemo((()=>({onChange:v,activeItem:b})),[v,b]),L=b&&(b.label||b.children||b.value||b)||c;return(0,i.jsx)(St.Provider,{value:j},(0,i.jsx)(Rt,{ref:l,"data-testid":"dropdown"},(0,i.jsx)(Ct,{className:s,isOpen:f,disabled:t,onClick:h.bind(null,!f),onFocus:g.bind(null,!0),colors:x,ariaLabelledby:`dropdown-label-${u}`,ariaControls:`dropdown-popup-${u}`},L,(0,i.jsx)(jt,{isUp:f})),f?(0,i.jsx)(Ot,null,C):null))},zt=_("div",{target:"e17t09ee0"})({name:"1g20qn",styles:"display:inline-block;position:relative;min-width:180px"});function At(e){return Nt(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function $t(e){var t;return null==(t=(Nt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Nt(e){return e instanceof Node||e instanceof It(e).Node}function Zt(e){return e instanceof Element||e instanceof It(e).Element}function Vt(e){return e instanceof HTMLElement||e instanceof It(e).HTMLElement}function Ht(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof It(e).ShadowRoot)}function Bt(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Ft(e){return["table","td","th"].includes(At(e))}function Wt(e){const t=_t(),r=Ut(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function _t(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qt(e){return["html","body","#document"].includes(At(e))}function Ut(e){return It(e).getComputedStyle(e)}function Qt(e){return Zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Gt(e){if("html"===At(e))return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||$t(e);return Ht(t)?t.host:t}function Xt(e){const t=Gt(e);return qt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vt(t)&&Bt(t)?t:Xt(t)}function Jt(e,t){var r;void 0===t&&(t=[]);const n=Xt(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=It(n);return o?t.concat(i,i.visualViewport||[],Bt(n)?n:[]):t.concat(n,Jt(n))}function Yt(e){let t=e.activeElement;for(;null!=(null==(r=t)||null==(n=r.shadowRoot)?void 0:n.activeElement);){var r,n;t=t.shadowRoot.activeElement}return t}function Kt(e,t){if(!e||!t)return!1;const r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ht(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function er(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function tr(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(er())||t.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function rr(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function nr(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function or(e){return(null==e?void 0:e.ownerDocument)||document}function ir(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}function sr(e){return"composedPath"in e?e.composedPath()[0]:e.target}const ar="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function lr(e){return Vt(e)&&e.matches(ar)}function cr(e){e.preventDefault(),e.stopPropagation()}const ur=Math.min,dr=Math.max,pr=Math.round,gr=Math.floor,fr=e=>({x:e,y:e}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},xr={start:"end",end:"start"};function mr(e,t,r){return dr(e,ur(t,r))}function br(e,t){return"function"==typeof e?e(t):e}function yr(e){return e.split("-")[0]}function vr(e){return e.split("-")[1]}function wr(e){return"x"===e?"y":"x"}function Cr(e){return"y"===e?"height":"width"}function kr(e){return["top","bottom"].includes(yr(e))?"y":"x"}function jr(e){return wr(kr(e))}function Lr(e){return e.replace(/start|end/g,(e=>xr[e]))}function Sr(e){return e.replace(/left|right|bottom|top/g,(e=>hr[e]))}function Mr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Tr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Dr(e,t,r){let{reference:n,floating:o}=e;const i=kr(t),s=jr(t),a=Cr(s),l=yr(t),c="y"===i,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let g;switch(l){case"top":g={x:u,y:n.y-o.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-o.width,y:d};break;default:g={x:n.x,y:n.y}}switch(vr(t)){case"start":g[s]-=p*(r&&c?-1:1);break;case"end":g[s]+=p*(r&&c?-1:1)}return g}async function Er(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:g=0}=br(t,e),f=Mr(g),h=a[p?"floating"===d?"reference":"floating":d],x=Tr(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(h)))||r?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),m="floating"===d?{...s.floating,x:n,y:o}:s.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},v=Tr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:b,strategy:l}):m);return{top:(x.top-v.top+f.top)/y.y,bottom:(v.bottom-x.bottom+f.bottom)/y.y,left:(x.left-v.left+f.left)/y.x,right:(v.right-x.right+f.right)/y.x}}const Or=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:a}=t,{element:l,padding:c=0}=br(e,t)||{};if(null==l)return{};const u=Mr(c),d={x:r,y:n},p=jr(o),g=Cr(p),f=await s.getDimensions(l),h="y"===p,x=h?"top":"left",m=h?"bottom":"right",b=h?"clientHeight":"clientWidth",y=i.reference[g]+i.reference[p]-d[p]-i.floating[g],v=d[p]-i.reference[p],w=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let C=w?w[b]:0;C&&await(null==s.isElement?void 0:s.isElement(w))||(C=a.floating[b]||i.floating[g]);const k=y/2-v/2,j=C/2-f[g]/2-1,L=ur(u[x],j),S=ur(u[m],j),M=L,T=C-f[g]-S,D=C/2-f[g]/2+k,E=mr(M,D,T),O=null!=vr(o)&&D!=E&&i.reference[g]/2-(D<M?L:S)-f[g]/2<0?D<M?M-D:T-D:0;return{[p]:d[p]-O,data:{[p]:E,centerOffset:D-E+O}}}}),Rr=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:i,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...h}=br(e,t),x=yr(n),m=yr(s)===s,b=await(null==a.isRTL?void 0:a.isRTL(l.floating)),y=d||(m||!f?[Sr(s)]:function(e){const t=Sr(e);return[Lr(e),t,Lr(t)]}(s));d||"none"===g||y.push(...function(e,t,r,n){const o=vr(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}(yr(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Lr)))),i}(s,f,g,b));const v=[s,...y],w=await Er(t,h),C=[];let k=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&C.push(w[x]),u){const e=function(e,t,r){void 0===r&&(r=!1);const n=vr(e),o=jr(e),i=Cr(o);let s="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Sr(s)),[s,Sr(s)]}(n,i,b);C.push(w[e[0]],w[e[1]])}if(k=[...k,{placement:n,overflows:C}],!C.every((e=>e<=0))){var j,L;const e=((null==(j=o.flip)?void 0:j.index)||0)+1,t=v[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let r=null==(L=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:L.placement;if(!r)switch(p){case"bestFit":{var S;const e=null==(S=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(r=e);break}case"initialPlacement":r=s}if(n!==r)return{reset:{placement:r}}}return{}}}},Pr=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=yr(r),a=vr(r),l="y"===kr(r),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=br(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof f&&(g="end"===a?-1*f:f),l?{x:g*u,y:p*c}:{x:p*c,y:g*u}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}},zr=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=br(e,t),c={x:r,y:n},u=await Er(t,l),d=kr(yr(o)),p=wr(d);let g=c[p],f=c[d];if(i){const e="y"===p?"bottom":"right";g=mr(g+u["y"===p?"top":"left"],g,g-u[e])}if(s){const e="y"===d?"bottom":"right";f=mr(f+u["y"===d?"top":"left"],f,f-u[e])}const h=a.fn({...t,[p]:g,[d]:f});return{...h,data:{x:h.x-r,y:h.y-n}}}}};function Ar(e){const t=Ut(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Vt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,a=pr(r)!==i||pr(n)!==s;return a&&(r=i,n=s),{width:r,height:n,$:a}}function Ir(e){return Zt(e)?e:e.contextElement}function $r(e){const t=Ir(e);if(!Vt(t))return fr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Ar(t);let s=(i?pr(r.width):r.width)/n,a=(i?pr(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Nr=fr(0);function Zr(e){const t=It(e);return _t()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Nr}function Vr(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=Ir(e);let s=fr(1);t&&(n?Zt(n)&&(s=$r(n)):s=$r(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==It(e))&&t}(i,r,n)?Zr(i):fr(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=It(i),t=n&&Zt(n)?It(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=$r(r),t=r.getBoundingClientRect(),n=Ut(r),o=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,r=It(r).frameElement}}return Tr({width:u,height:d,x:l,y:c})}function Hr(e){return Vr($t(e)).left+Qt(e).scrollLeft}function Br(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=It(e),n=$t(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=_t();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,r);else if("document"===t)n=function(e){const t=$t(e),r=Qt(e),n=e.ownerDocument.body,o=dr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=dr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Hr(e);const a=-r.scrollTop;return"rtl"===Ut(n).direction&&(s+=dr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:a}}($t(e));else if(Zt(t))n=function(e,t){const r=Vr(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Vt(e)?$r(e):fr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=Zr(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return Tr(n)}function Fr(e,t){const r=Gt(e);return!(r===t||!Zt(r)||qt(r))&&("fixed"===Ut(r).position||Fr(r,t))}function Wr(e,t,r){const n=Vt(t),o=$t(t),i="fixed"===r,s=Vr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=fr(0);if(n||!n&&!i)if(("body"!==At(t)||Bt(o))&&(a=Qt(t)),n){const e=Vr(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Hr(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function _r(e,t){return Vt(e)&&"fixed"!==Ut(e).position?t?t(e):e.offsetParent:null}function qr(e,t){const r=It(e);if(!Vt(e))return r;let n=_r(e,t);for(;n&&Ft(n)&&"static"===Ut(n).position;)n=_r(n,t);return n&&("html"===At(n)||"body"===At(n)&&"static"===Ut(n).position&&!Wt(n))?r:n||function(e){let t=Gt(e);for(;Vt(t)&&!qt(t);){if(Wt(t))return t;t=Gt(t)}return null}(e)||r}const Ur={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Vt(r),i=$t(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},a=fr(1);const l=fr(0);if((o||!o&&"fixed"!==n)&&(("body"!==At(r)||Bt(i))&&(s=Qt(r)),Vt(r))){const e=Vr(r);a=$r(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:$t,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=Jt(e).filter((e=>Zt(e)&&"body"!==At(e))),o=null;const i="fixed"===Ut(e).position;let s=i?Gt(e):e;for(;Zt(s)&&!qt(s);){const t=Ut(s),r=Wt(s);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Bt(s)&&!r&&Fr(e,s))?n=n.filter((e=>e!==s)):o=t,s=Gt(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=i[0],a=i.reduce(((e,r)=>{const n=Br(t,r,o);return e.top=dr(n.top,e.top),e.right=ur(n.right,e.right),e.bottom=ur(n.bottom,e.bottom),e.left=dr(n.left,e.left),e}),Br(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:qr,getElementRects:async function(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||qr,i=this.getDimensions;return{reference:Wr(t,await o(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Ar(e)},getScale:$r,isElement:Zt,isRTL:function(e){return"rtl"===Ut(e).direction}};function Qr(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Ir(e),u=o||i?[...c?Jt(c):[],...Jt(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const d=c&&a?function(e,t){let r,n=null;const o=$t(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(a||t(),!d||!p)return;const g={rootMargin:-gr(u)+"px "+-gr(o.clientWidth-(c+d))+"px "+-gr(o.clientHeight-(u+p))+"px "+-gr(c)+"px",threshold:dr(0,ur(1,l))||1};let f=!0;function h(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return s();t?s(!1,t):r=setTimeout((()=>{s(!1,1e-7)}),100)}f=!1}try{n=new IntersectionObserver(h,{...g,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(h,g)}n.observe(e)}(!0),i}(c,r):null;let p,g=-1,f=null;s&&(f=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{f&&f.observe(t)}))),r()})),c&&!l&&f.observe(c),f.observe(t));let h=l?Vr(e):null;return l&&function t(){const n=Vr(e);!h||n.x===h.x&&n.y===h.y&&n.width===h.width&&n.height===h.height||r(),h=n,p=requestAnimationFrame(t)}(),r(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),d&&d(),f&&f.disconnect(),f=null,l&&cancelAnimationFrame(p)}}const Gr=(e,t,r)=>{const n=new Map,o={platform:Ur,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Dr(c,n,l),p=n,g={},f=0;for(let r=0;r<a.length;r++){const{name:i,fn:h}=a[r],{x:x,y:m,data:b,reset:y}=await h({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=x?x:u,d=null!=m?m:d,g={...g,[i]:{...g[i],...b}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Dr(c,p,l))),r=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:g}})(e,t,{...o,platform:i})};var Xr=a(111),Jr="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;function Yr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!=n--;)if(!Yr(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(!("_owner"===r&&e.$$typeof||Yr(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function Kr(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function en(e,t){const r=Kr(e);return Math.round(t*r)/r}function tn(e){const t=w.useRef(e);return Jr((()=>{t.current=e})),t}var rn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),nn="undefined"==typeof Element,on=nn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sn=!nn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},an=function e(t,r){var n;void 0===r&&(r=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},ln=function(e,t,r){if(an(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(rn));return t&&on.call(e,rn)&&n.unshift(e),n.filter(r)},cn=function e(t,r,n){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!an(s,!1))if("SLOT"===s.tagName){var a=s.assignedElements(),l=e(a.length?a:s.children,!0,n);n.flatten?o.push.apply(o,l):o.push({scopeParent:s,candidates:l})}else{on.call(s,rn)&&n.filter(s)&&(r||!t.includes(s))&&o.push(s);var c=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),u=!an(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(c&&u){var d=e(!0===c?s.children:c.children,!0,n);n.flatten?o.push.apply(o,d):o.push({scopeParent:s,candidates:d})}else i.unshift.apply(i,s.children)}}return o},un=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},dn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},pn=function(e){return"INPUT"===e.tagName},gn=function(e){return function(e){return pn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||sn(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)},fn=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},hn=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=on.call(e,"details>summary:first-of-type")?e.parentElement:e;if(on.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return fn(e)}else{if("function"==typeof n){for(var i=e;e;){var s=e.parentElement,a=sn(e);if(s&&!s.shadowRoot&&!0===n(s))return fn(e);e=e.assignedSlot?e.assignedSlot:s||a===e.ownerDocument?s:a.host}e=i}if(function(e){var t,r,n,o,i=e&&sn(e),s=null===(t=i)||void 0===t?void 0:t.host,a=!1;if(i&&i!==e)for(a=!!(null!==(r=s)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(s)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!a&&s;){var l,c,u;a=!(null===(c=s=null===(l=i=sn(s))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(s))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},xn=function(e,t){return!(t.disabled||an(t)||function(e){return pn(e)&&"hidden"===e.type}(t)||hn(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!on.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},mn=function(e,t){return!(gn(t)||un(t)<0||!xn(e,t))},bn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},yn=function e(t){var r=[],n=[];return t.forEach((function(t,o){var i=!!t.scopeParent,s=i?t.scopeParent:t,a=un(s,i),l=i?e(t.candidates):s;0===a?i?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:l})})),n.sort(dn).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},vn=function(e,t){var r;return r=(t=t||{}).getShadowRoot?cn([e],t.includeContainer,{filter:mn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:bn}):ln(e,t.includeContainer,mn.bind(null,t)),yn(r)};function wn(e){return w.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}let Cn=0;function kn(e,t){void 0===t&&(t={});const{preventScroll:r=!1,cancelPrevious:n=!0,sync:o=!1}=t;n&&cancelAnimationFrame(Cn);const i=()=>null==e?void 0:e.focus({preventScroll:r});o?i():Cn=requestAnimationFrame(i)}var jn="undefined"!=typeof document?w.useLayoutEffect:w.useEffect;function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ln.apply(this,arguments)}let Sn=!1,Mn=0;const Tn=()=>"floating-ui-"+Mn++,Dn=C["useId".toString()]||function(){const[e,t]=w.useState((()=>Sn?Tn():void 0));return jn((()=>{null==e&&t(Tn())}),[]),w.useEffect((()=>{Sn||(Sn=!0)}),[]),e},En=w.forwardRef((function(e,t){let{context:{placement:r,elements:{floating:n},middlewareData:{arrow:o}},width:i=14,height:s=7,tipRadius:a=0,strokeWidth:l=0,staticOffset:c,stroke:u,d:d,style:{transform:p,...g}={},...f}=e;const h=Dn();if(!n)return null;l*=2;const x=l/2,m=i/2*(a/-8+1),b=s/2*a/4,[y,v]=r.split("-"),C=Ur.isRTL(n),k=!!d,j="top"===y||"bottom"===y,L=c&&"end"===v?"bottom":"top";let S=c&&"end"===v?"right":"left";c&&C&&(S="end"===v?"left":"right");const M=null!=(null==o?void 0:o.x)?c||o.x:"",T=null!=(null==o?void 0:o.y)?c||o.y:"",D=d||"M0,0 H"+i+" L"+(i-m)+","+(s-b)+" Q"+i/2+","+s+" "+m+","+(s-b)+" Z",E={top:k?"rotate(180deg)":"",left:k?"rotate(90deg)":"rotate(-90deg)",bottom:k?"":"rotate(180deg)",right:k?"rotate(-90deg)":"rotate(90deg)"}[y];return w.createElement("svg",Ln({},f,{"aria-hidden":!0,ref:t,width:k?i:i+l,height:i,viewBox:"0 0 "+i+" "+(s>i?s:i),style:{position:"absolute",pointerEvents:"none",[S]:M,[L]:T,[y]:j||k?"100%":"calc(100% - "+l/2+"px)",transform:""+E+(null!=p?p:""),...g}}),l>0&&w.createElement("path",{clipPath:"url(#"+h+")",fill:"none",stroke:u,strokeWidth:l+(d?0:1),d:D}),w.createElement("path",{stroke:l&&!d?f.fill:"none",d:D}),w.createElement("clipPath",{id:h},w.createElement("rect",{x:-x,y:x*(k?-1:1),width:i+l,height:i})))}));function On(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter((e=>e!==r)))||[])}}}const Rn=w.createContext(null),Pn=w.createContext(null),zn=()=>{var e;return(null==(e=w.useContext(Rn))?void 0:e.id)||null},An=()=>w.useContext(Pn);function In(e){return"data-floating-ui-"+e}function $n(e){const t=(0,w.useRef)(e);return jn((()=>{t.current=e})),t}const Nn=In("safe-polygon");function Zn(e,t,r){return r&&!nr(r)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Vn(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:o,events:i,elements:{domReference:s,floating:a},refs:l}=e,{enabled:c=!0,delay:u=0,handleClose:d=null,mouseOnly:p=!1,restMs:g=0,move:f=!0}=t,h=An(),x=zn(),m=$n(d),b=$n(u),y=w.useRef(),v=w.useRef(),C=w.useRef(),k=w.useRef(),j=w.useRef(!0),L=w.useRef(!1),S=w.useRef((()=>{})),M=w.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);w.useEffect((()=>{if(c)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(){clearTimeout(v.current),clearTimeout(k.current),j.current=!0}}),[c,i]),w.useEffect((()=>{if(!c||!m.current||!r)return;function e(e){M()&&n(!1,e)}const t=or(a).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[a,r,n,c,m,o,M]);const T=w.useCallback((function(e,t){void 0===t&&(t=!0);const r=Zn(b.current,"close",y.current);r&&!C.current?(clearTimeout(v.current),v.current=setTimeout((()=>n(!1,e)),r)):t&&(clearTimeout(v.current),n(!1,e))}),[b,n]),D=w.useCallback((()=>{S.current(),C.current=void 0}),[]),E=w.useCallback((()=>{if(L.current){const e=or(l.floating.current).body;e.style.pointerEvents="",e.removeAttribute(Nn),L.current=!1}}),[l]);return w.useEffect((()=>{if(c&&Zt(s)){const e=s;return r&&e.addEventListener("mouseleave",u),null==a||a.addEventListener("mouseleave",u),f&&e.addEventListener("mousemove",i,{once:!0}),e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",l),()=>{r&&e.removeEventListener("mouseleave",u),null==a||a.removeEventListener("mouseleave",u),f&&e.removeEventListener("mousemove",i),e.removeEventListener("mouseenter",i),e.removeEventListener("mouseleave",l)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function i(e){if(clearTimeout(v.current),j.current=!1,p&&!nr(y.current)||g>0&&0===Zn(b.current,"open"))return;const t=Zn(b.current,"open",y.current);t?v.current=setTimeout((()=>{n(!0,e)}),t):n(!0,e)}function l(n){if(t())return;S.current();const o=or(a);if(clearTimeout(k.current),m.current){r||clearTimeout(v.current),C.current=m.current({...e,tree:h,x:n.clientX,y:n.clientY,onClose(){E(),D(),T(n)}});const t=C.current;return o.addEventListener("mousemove",t),void(S.current=()=>{o.removeEventListener("mousemove",t)})}("touch"!==y.current||!Kt(a,n.relatedTarget))&&T(n)}function u(r){t()||null==m.current||m.current({...e,tree:h,x:r.clientX,y:r.clientY,onClose(){E(),D(),T(r)}})(r)}}),[s,a,c,e,p,g,f,T,D,E,n,r,h,b,m,o]),jn((()=>{var e;if(c&&r&&null!=(e=m.current)&&e.__options.blockPointerEvents&&M()){const e=or(a).body;if(e.setAttribute(Nn,""),e.style.pointerEvents="none",L.current=!0,Zt(s)&&a){var t,n;const e=s,r=null==h||null==(t=h.nodesRef.current.find((e=>e.id===x)))||null==(n=t.context)?void 0:n.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{e.style.pointerEvents="",a.style.pointerEvents=""}}}}),[c,r,x,a,s,h,m,o,M]),jn((()=>{r||(y.current=void 0,D(),E())}),[r,D,E]),w.useEffect((()=>()=>{D(),clearTimeout(v.current),clearTimeout(k.current),E()}),[c,s,D,E]),w.useMemo((()=>{if(!c)return{};function e(e){y.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){r||0===g||(clearTimeout(k.current),k.current=setTimeout((()=>{j.current||n(!0,e.nativeEvent)}),g))}},floating:{onMouseEnter(){clearTimeout(v.current)},onMouseLeave(e){i.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),T(e.nativeEvent,!1)}}}}),[i,c,g,r,n,T])}function Hn(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)})),n=r;for(;n.length;)n=e.filter((e=>{var t;return null==(t=n)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))})),r=r.concat(n);return r}let Bn=new WeakMap,Fn=new WeakSet,Wn={},_n=0;const qn=e=>e&&(e.host||qn(e.parentNode)),Un=(e,t)=>t.map((t=>{if(e.contains(t))return t;const r=qn(t);return e.contains(r)?r:null})).filter((e=>null!=e));function Qn(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=or(e[0]).body;return function(e,t,r,n){const o="data-floating-ui-inert",i=n?"inert":r?"aria-hidden":null,s=Un(t,e),a=new Set,l=new Set(s),c=[];Wn[o]||(Wn[o]=new WeakMap);const u=Wn[o];return s.forEach((function e(t){t&&!a.has(t)&&(a.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!l.has(t)&&Array.prototype.forEach.call(t.children,(t=>{if(a.has(t))e(t);else{const e=i?t.getAttribute(i):null,r=null!==e&&"false"!==e,n=(Bn.get(t)||0)+1,s=(u.get(t)||0)+1;Bn.set(t,n),u.set(t,s),c.push(t),1===n&&r&&Fn.add(t),1===s&&t.setAttribute(o,""),!r&&i&&t.setAttribute(i,"true")}}))}(t),a.clear(),_n++,()=>{c.forEach((e=>{const t=(Bn.get(e)||0)-1,r=(u.get(e)||0)-1;Bn.set(e,t),u.set(e,r),t||(!Fn.has(e)&&i&&e.removeAttribute(i),Fn.delete(e)),r||e.removeAttribute(o)})),_n--,_n||(Bn=new WeakMap,Bn=new WeakMap,Fn=new WeakSet,Wn={})}}(e.concat(Array.from(n.querySelectorAll("[aria-live]"))),n,t,r)}const Gn=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Xn(e,t){const r=vn(e,Gn());"prev"===t&&r.reverse();const n=r.indexOf(Yt(or(e)));return r.slice(n+1)[0]}function Jn(){return Xn(document.body,"next")}function Yn(){return Xn(document.body,"prev")}function Kn(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!Kt(r,n)}function eo(e){vn(e,Gn()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function to(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const ro={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function no(e){"Tab"===e.key&&(e.target,clearTimeout(void 0))}const oo=w.forwardRef((function(e,t){const[r,n]=w.useState();jn((()=>(/apple/i.test(navigator.vendor)&&n("button"),document.addEventListener("keydown",no),()=>{document.removeEventListener("keydown",no)})),[]);const o={ref:t,tabIndex:0,role:r,"aria-hidden":!r||void 0,[In("focus-guard")]:"",style:ro};return w.createElement("span",Ln({},e,o))})),io=w.createContext(null);function so(e){let{children:t,id:r,root:n=null,preserveTabOrder:o=!0}=e;const i=function(e){let{id:t,root:r}=void 0===e?{}:e;const[n,o]=w.useState(null),i=Dn(),s=ao(),a=w.useMemo((()=>({id:t,root:r,portalContext:s,uniqueId:i})),[t,r,s,i]),l=w.useRef();return jn((()=>()=>{null==n||n.remove()}),[n,a]),jn((()=>{if(l.current===a)return;l.current=a;const{id:e,root:t,portalContext:r,uniqueId:n}=a,i=e?document.getElementById(e):null,s=In("portal");if(i){const e=document.createElement("div");e.id=n,e.setAttribute(s,""),i.appendChild(e),o(e)}else{let i=t||(null==r?void 0:r.portalNode);i&&!Zt(i)&&(i=i.current),i=i||document.body;let a=null;e&&(a=document.createElement("div"),a.id=e,i.appendChild(a));const l=document.createElement("div");l.id=n,l.setAttribute(s,""),i=a||i,i.appendChild(l),o(l)}}),[a]),n}({id:r,root:n}),[s,a]=w.useState(null),l=w.useRef(null),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),p=!!s&&!s.modal&&s.open&&o&&!(!n&&!i);return w.useEffect((()=>{if(i&&o&&(null==s||!s.modal))return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&Kn(e)&&("focusin"===e.type?to:eo)(i)}}),[i,o,null==s?void 0:s.modal]),w.createElement(io.Provider,{value:w.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:l,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:i,setFocusManagerState:a})),[o,i])},p&&i&&w.createElement(oo,{"data-type":"outside",ref:l,onFocus:e=>{if(Kn(e,i)){var t;null==(t=u.current)||t.focus()}else{const e=Yn()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),p&&i&&w.createElement("span",{"aria-owns":i.id,style:ro}),i&&(0,Xr.createPortal)(t,i),p&&i&&w.createElement(oo,{"data-type":"outside",ref:c,onFocus:e=>{if(Kn(e,i)){var t;null==(t=d.current)||t.focus()}else{const t=Jn()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent))}}}))}const ao=()=>w.useContext(io),lo=w.forwardRef((function(e,t){return w.createElement("button",Ln({},e,{type:"button",ref:t,tabIndex:-1,style:ro}))}));function co(e){const{context:t,children:r,disabled:n=!1,order:o=["content"],guards:i=!0,initialFocus:s=0,returnFocus:a=!0,modal:l=!0,visuallyHiddenDismiss:c=!1,closeOnFocusOut:u=!0}=e,{open:d,refs:p,nodeId:g,onOpenChange:f,events:h,dataRef:x,elements:{domReference:m,floating:b}}=t,y="undefined"==typeof HTMLElement||!("inert"in HTMLElement.prototype)||i,v=$n(o),C=$n(s),k=$n(a),j=An(),L=ao(),S="number"==typeof s&&s<0,M=w.useRef(null),T=w.useRef(null),D=w.useRef(!1),E=w.useRef(null),O=w.useRef(!1),R=null!=L,P=m&&"combobox"===m.getAttribute("role")&&lr(m)&&S,z=w.useCallback((function(e){return void 0===e&&(e=b),e?vn(e,Gn()):[]}),[b]),A=w.useCallback((e=>{const t=z(e);return v.current.map((e=>m&&"reference"===e?m:b&&"floating"===e?b:t)).filter(Boolean).flat()}),[m,b,v,z]);function I(e){return!n&&c&&l?w.createElement(lo,{ref:"start"===e?M:T,onClick:e=>f(!1,e.nativeEvent)},"string"==typeof c?c:"Dismiss"):null}w.useEffect((()=>{if(n||!l)return;function e(e){if("Tab"===e.key){Kt(b,Yt(or(b)))&&0===z().length&&!P&&cr(e);const t=A(),r=sr(e);"reference"===v.current[0]&&r===m&&(cr(e),e.shiftKey?kn(t[t.length-1]):kn(t[1])),"floating"===v.current[1]&&r===b&&e.shiftKey&&(cr(e),kn(t[0]))}}const t=or(b);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[n,m,b,l,v,p,P,z,A]),w.useEffect((()=>{if(!n&&u)return b&&Vt(m)?(m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),!l&&b.addEventListener("focusout",t),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),!l&&b.removeEventListener("focusout",t)}):void 0;function e(){O.current=!0,setTimeout((()=>{O.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const r=!(Kt(m,t)||Kt(b,t)||Kt(t,b)||Kt(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(In("focus-guard"))||j&&(Hn(j.nodesRef.current,g).find((e=>{var r,n;return Kt(null==(r=e.context)?void 0:r.elements.floating,t)||Kt(null==(n=e.context)?void 0:n.elements.domReference,t)}))||function(e,t){var r;let n=[],o=null==(r=e.find((e=>e.id===t)))?void 0:r.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(n=n.concat(t))}return n}(j.nodesRef.current,g).find((e=>{var r,n;return(null==(r=e.context)?void 0:r.elements.floating)===t||(null==(n=e.context)?void 0:n.elements.domReference)===t}))));t&&r&&!O.current&&t!==E.current&&(D.current=!0,f(!1,e))}))}}),[n,m,b,l,g,j,L,f,u]),w.useEffect((()=>{var e;if(n)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+In("portal")+"]"))||[]);if(b){const e=[b,...t,M.current,T.current,v.current.includes("reference")||P?m:null].filter((e=>null!=e)),r=l?Qn(e,y,!y):Qn(e);return()=>{r()}}}),[n,m,b,l,v,L,P,y]),jn((()=>{if(n||!b)return;const e=Yt(or(b));queueMicrotask((()=>{const t=A(b),r=C.current,n=("number"==typeof r?t[r]:r.current)||b,o=Kt(b,e);S||o||!d||kn(n,{preventScroll:n===b})}))}),[n,d,b,S,A,C]),jn((()=>{if(n||!b)return;let e=!1;const t=or(b),r=Yt(t),o=x.current;function i(t){if("escapeKey"===t.type&&p.domReference.current&&(E.current=p.domReference.current),["referencePress","escapeKey"].includes(t.type))return;const r=t.data.returnFocus;"object"==typeof r?(D.current=!1,e=r.preventScroll):D.current=!r}return E.current=r,h.on("dismiss",i),()=>{h.off("dismiss",i);const r=Yt(t);(Kt(b,r)||j&&Hn(j.nodesRef.current,g).some((e=>{var t;return Kt(null==(t=e.context)?void 0:t.elements.floating,r)}))||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&p.domReference.current&&(E.current=p.domReference.current),k.current&&Vt(E.current)&&!D.current&&kn(E.current,{cancelPrevious:!1,preventScroll:e})}}),[n,b,k,x,p,h,j,g]),jn((()=>{if(!n&&L)return L.setFocusManagerState({modal:l,closeOnFocusOut:u,open:d,onOpenChange:f,refs:p}),()=>{L.setFocusManagerState(null)}}),[n,L,l,d,f,p,u]),jn((()=>{if(!n&&b&&"function"==typeof MutationObserver&&!S){const e=()=>{const e=b.getAttribute("tabindex");v.current.includes("floating")||Yt(or(b))!==p.domReference.current&&0===z().length?"0"!==e&&b.setAttribute("tabindex","0"):"-1"!==e&&b.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(b,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}}),[n,b,p,v,z,S]);const $=!n&&y&&!P&&(R||l);return w.createElement(w.Fragment,null,$&&w.createElement(oo,{"data-type":"inside",ref:null==L?void 0:L.beforeInsideRef,onFocus:e=>{if(l){const e=A();kn("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(D.current=!1,Kn(e,L.portalNode)){const e=Jn()||m;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!P&&I("start"),r,I("end"),$&&w.createElement(oo,{"data-type":"inside",ref:null==L?void 0:L.afterInsideRef,onFocus:e=>{if(l)kn(A()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(u&&(D.current=!0),Kn(e,L.portalNode)){const e=Yn()||m;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}}))}function uo(e){return Vt(e.target)&&"BUTTON"===e.target.tagName}function po(e){return lr(e)}function go(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,dataRef:o,elements:{domReference:i}}=e,{enabled:s=!0,event:a="click",toggle:l=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0}=t,d=w.useRef(),p=w.useRef(!1);return w.useMemo((()=>s?{reference:{onPointerDown(e){d.current=e.pointerType},onMouseDown(e){0===e.button&&(nr(d.current,!0)&&c||"click"!==a&&(!r||!l||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),n(!0,e.nativeEvent)):n(!1,e.nativeEvent)))},onClick(e){"mousedown"===a&&d.current?d.current=void 0:nr(d.current,!0)&&c||(!r||!l||o.current.openEvent&&"click"!==o.current.openEvent.type?n(!0,e.nativeEvent):n(!1,e.nativeEvent))},onKeyDown(e){d.current=void 0,e.defaultPrevented||!u||uo(e)||(" "!==e.key||po(i)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&n(!r||!l,e.nativeEvent))},onKeyUp(e){e.defaultPrevented||!u||uo(e)||po(i)||" "===e.key&&p.current&&(p.current=!1,n(!r||!l,e.nativeEvent))}}}:{}),[s,o,a,c,u,i,l,r,n])}const fo=C["useInsertionEffect".toString()]||(e=>e());function ho(e){const t=w.useRef((()=>{}));return fo((()=>{t.current=e})),w.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}const xo={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},mo={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"};function bo(e,t){void 0===t&&(t={});const{open:r,onOpenChange:n,events:o,nodeId:i,elements:{reference:s,domReference:a,floating:l},dataRef:c}=e,{enabled:u=!0,escapeKey:d=!0,outsidePress:p=!0,outsidePressEvent:g="pointerdown",referencePress:f=!1,referencePressEvent:h="pointerdown",ancestorScroll:x=!1,bubbles:m}=t,b=An(),y=null!=zn(),v=ho("function"==typeof p?p:()=>!1),C="function"==typeof p?v:p,k=w.useRef(!1),{escapeKeyBubbles:j,outsidePressBubbles:L}=(e=>{var t,r;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePressBubbles:"boolean"==typeof e?e:null==(r=null==e?void 0:e.outsidePress)||r}})(m),S=ho((e=>{if(!r||!u||!d||"Escape"!==e.key)return;const t=b?Hn(b.nodesRef.current,i):[];if(!j&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}o.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e)})),M=ho((e=>{const t=k.current;if(k.current=!1,t)return;if("function"==typeof C&&!C(e))return;const r=sr(e),s="["+In("inert")+"]",c=or(l).querySelectorAll(s);let u=Zt(r)?r:null;for(;u&&!qt(u);){const e=Gt(u);if(e===or(l).body||!Zt(e))break;u=e}if(c.length&&Zt(r)&&!r.matches("html,body")&&!Kt(r,l)&&Array.from(c).every((e=>!Kt(u,e))))return;if(Vt(r)&&l){const t=r.clientWidth>0&&r.scrollWidth>r.clientWidth,n=r.clientHeight>0&&r.scrollHeight>r.clientHeight;let o=n&&e.offsetX>r.clientWidth;if(n&&"rtl"===Ut(r).direction&&(o=e.offsetX<=r.offsetWidth-r.clientWidth),o||t&&e.offsetY>r.clientHeight)return}const d=b&&Hn(b.nodesRef.current,i).some((t=>{var r;return ir(e,null==(r=t.context)?void 0:r.elements.floating)}));if(ir(e,l)||ir(e,a)||d)return;const p=b?Hn(b.nodesRef.current,i):[];if(p.length>0){let e=!0;if(p.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}o.emit("dismiss",{type:"outsidePress",data:{returnFocus:y?{preventScroll:!0}:tr(e)||rr(e)}}),n(!1,e)}));return w.useEffect((()=>{if(!r||!u)return;function e(e){n(!1,e)}c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=L;const t=or(l);d&&t.addEventListener("keydown",S),C&&t.addEventListener(g,M);let o=[];return x&&(Zt(a)&&(o=Jt(a)),Zt(l)&&(o=o.concat(Jt(l))),!Zt(s)&&s&&s.contextElement&&(o=o.concat(Jt(s.contextElement)))),o=o.filter((e=>{var r;return e!==(null==(r=t.defaultView)?void 0:r.visualViewport)})),o.forEach((t=>{t.addEventListener("scroll",e,{passive:!0})})),()=>{d&&t.removeEventListener("keydown",S),C&&t.removeEventListener(g,M),o.forEach((t=>{t.removeEventListener("scroll",e)}))}}),[c,l,a,s,d,C,g,r,n,x,u,j,L,S,M]),w.useEffect((()=>{k.current=!1}),[C,g]),w.useMemo((()=>u?{reference:{onKeyDown:S,[xo[h]]:e=>{f&&(o.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1,e.nativeEvent))}},floating:{onKeyDown:S,[mo[g]]:()=>{k.current=!0}}}:{}),[u,o,f,g,h,n,S])}function yo(e){var t;void 0===e&&(e={});const{open:r=!1,onOpenChange:n,nodeId:o}=e,[i,s]=w.useState(null),a=(null==(t=e.elements)?void 0:t.reference)||i,l=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=w.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=w.useState(n);Yr(p,n)||g(n);const[f,h]=w.useState(null),[x,m]=w.useState(null),b=w.useCallback((e=>{e!=k.current&&(k.current=e,h(e))}),[h]),y=w.useCallback((e=>{e!==j.current&&(j.current=e,m(e))}),[m]),v=i||f,C=s||x,k=w.useRef(null),j=w.useRef(null),L=w.useRef(u),S=tn(l),M=tn(o),T=w.useCallback((()=>{if(!k.current||!j.current)return;const e={placement:t,strategy:r,middleware:p};M.current&&(e.platform=M.current),Gr(k.current,j.current,e).then((e=>{const t={...e,isPositioned:!0};D.current&&!Yr(L.current,t)&&(L.current=t,Xr.flushSync((()=>{d(t)})))}))}),[p,t,r,M]);Jr((()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const D=w.useRef(!1);Jr((()=>(D.current=!0,()=>{D.current=!1})),[]),Jr((()=>{if(v&&(k.current=v),C&&(j.current=C),v&&C){if(S.current)return S.current(v,C,T);T()}}),[v,C,T,S]);const E=w.useMemo((()=>({reference:k,floating:j,setReference:b,setFloating:y})),[b,y]),O=w.useMemo((()=>({reference:v,floating:C})),[v,C]),R=w.useMemo((()=>{const e={position:r,left:0,top:0};if(!O.floating)return e;const t=en(O.floating,u.x),n=en(O.floating,u.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...Kr(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,a,O.floating,u.x,u.y]);return w.useMemo((()=>({...u,update:T,refs:E,elements:O,floatingStyles:R})),[u,T,E,O,R])}(e),c=An(),u=ho(((e,t)=>{e&&(p.current.openEvent=t),null==n||n(e,t)})),d=w.useRef(null),p=w.useRef({}),g=w.useState((()=>On()))[0],f=Dn(),h=w.useCallback((e=>{const t=Zt(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l.refs.setReference(t)}),[l.refs]),x=w.useCallback((e=>{(Zt(e)||null===e)&&(d.current=e,s(e)),(Zt(l.refs.reference.current)||null===l.refs.reference.current||null!==e&&!Zt(e))&&l.refs.setReference(e)}),[l.refs]),m=w.useMemo((()=>({...l.refs,setReference:x,setPositionReference:h,domReference:d})),[l.refs,x,h]),b=w.useMemo((()=>({...l.elements,domReference:a})),[l.elements,a]),y=w.useMemo((()=>({...l,refs:m,elements:b,dataRef:p,nodeId:o,floatingId:f,events:g,open:r,onOpenChange:u})),[l,o,f,g,r,u,m,b]);return jn((()=>{const e=null==c?void 0:c.nodesRef.current.find((e=>e.id===o));e&&(e.context=y)})),w.useMemo((()=>({...l,context:y,refs:m,elements:b})),[l,m,b,y])}function vo(e,t,r){const n=new Map;return{..."floating"===r&&{tabIndex:-1},...e,...t.map((e=>e?e[r]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,o]=t;var i;0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof o&&(null==(i=n.get(r))||i.push(o),e[r]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=n.get(r))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[r]=o})),e):e),{})}}function wo(e){void 0===e&&(e=[]);const t=e,r=w.useCallback((t=>vo(t,e,"reference")),t),n=w.useCallback((t=>vo(t,e,"floating")),t),o=w.useCallback((t=>vo(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return w.useMemo((()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:o})),[r,n,o])}function Co(e,t){void 0===t&&(t={});const{open:r,floatingId:n}=e,{enabled:o=!0,role:i="dialog"}=t,s=Dn();return w.useMemo((()=>{const e={id:n,role:i};return o?"tooltip"===i?{reference:{"aria-describedby":r?n:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===i?"dialog":i,"aria-controls":r?n:void 0,..."listbox"===i&&{role:"combobox"},..."menu"===i&&{id:s}},floating:{...e,..."menu"===i&&{"aria-labelledby":s}}}:{}}),[o,i,r,n,s])}function ko(e,t){const[r,n]=e;let o=!1;const i=t.length;for(let e=0,s=i-1;e<i;s=e++){const[i,a]=t[e]||[0,0],[l,c]=t[s]||[0,0];a>=n!=c>=n&&r<=(l-i)*(n-a)/(c-a)+i&&(o=!o)}return o}function jo(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:r=!1,requireIntent:n=!0}=e;let o,i=!1,s=null,a=null,l=performance.now();const c=e=>{let{x:r,y:c,placement:u,elements:d,onClose:p,nodeId:g,tree:f}=e;return function(e){function h(){clearTimeout(o),p()}if(clearTimeout(o),!d.domReference||!d.floating||null==u||null==r||null==c)return;const{clientX:x,clientY:m}=e,b=[x,m],y=sr(e),v="mouseleave"===e.type,w=Kt(d.floating,y),C=Kt(d.domReference,y),k=d.domReference.getBoundingClientRect(),j=d.floating.getBoundingClientRect(),L=u.split("-")[0],S=r>j.right-j.width/2,M=c>j.bottom-j.height/2,T=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(b,k),D=j.width>k.width,E=j.height>k.height,O=(D?k:j).left,R=(D?k:j).right,P=(E?k:j).top,z=(E?k:j).bottom;if(w&&(i=!0,!v))return;if(C&&(i=!1),C&&!v)return void(i=!0);if(v&&Zt(e.relatedTarget)&&Kt(d.floating,e.relatedTarget))return;if(f&&Hn(f.nodesRef.current,g).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===L&&c>=k.bottom-1||"bottom"===L&&c<=k.top+1||"left"===L&&r>=k.right-1||"right"===L&&r<=k.left+1)return h();let A=[];switch(L){case"top":A=[[O,k.top+1],[O,j.bottom-1],[R,j.bottom-1],[R,k.top+1]];break;case"bottom":A=[[O,j.top+1],[O,k.bottom-1],[R,k.bottom-1],[R,j.top+1]];break;case"left":A=[[j.right-1,z],[j.right-1,P],[k.left+1,P],[k.left+1,z]];break;case"right":A=[[k.right-1,z],[k.right-1,P],[j.left+1,P],[j.left+1,z]]}if(!ko([x,m],A)){if(i&&!T)return h();if(!v&&n){const t=function(e,t){const r=performance.now(),n=r-l;if(null===s||null===a||0===n)return s=e,a=t,l=r,null;const o=e-s,i=t-a,c=Math.sqrt(o*o+i*i);return s=e,a=t,l=r,c/n}(e.clientX,e.clientY);if(null!==t&&t<.1)return h()}ko([x,m],function(e){let[r,n]=e;switch(L){case"top":return[[D?r+t/2:S?r+4*t:r-4*t,n+t+1],[D?r-t/2:S?r+4*t:r-4*t,n+t+1],[j.left,S||D?j.bottom-t:j.top],[j.right,S?D?j.bottom-t:j.top:j.bottom-t]];case"bottom":return[[D?r+t/2:S?r+4*t:r-4*t,n-t],[D?r-t/2:S?r+4*t:r-4*t,n-t],[j.left,S||D?j.top+t:j.bottom],[j.right,S?D?j.top+t:j.bottom:j.top+t]];case"left":{const e=[r+t+1,E?n+t/2:M?n+4*t:n-4*t],o=[r+t+1,E?n-t/2:M?n+4*t:n-4*t];return[[M||E?j.right-t:j.left,j.top],[M?E?j.right-t:j.left:j.right-t,j.bottom],e,o]}case"right":return[[r-t,E?n+t/2:M?n+4*t:n-4*t],[r-t,E?n-t/2:M?n+4*t:n-4*t],[M||E?j.left+t:j.right,j.top],[M?E?j.left+t:j.right:j.left+t,j.bottom]]}}([r,c]))?!i&&n&&(o=window.setTimeout(h,40)):h()}}};return c.__options={blockPointerEvents:r},c}const Lo=_("input",{target:"emgvleb0"})("flex:1;background:",(({theme:e})=>e.colors.white),";border-radius:12px;background-origin:border-box;background-clip:padding-box,border-box;border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";color:",(({theme:e})=>e.colors.greyDarker),";width:100%;height:44px;padding:14px;font-weight:400;font-size:0.875rem;line-height:1rem;&::placeholder{color:",(({theme:e})=>e.colors.greyDarker60),";}&:disabled{color:",(({theme:e})=>`${e.colors.grey}`),";background:",(({theme:e})=>e.colors.greyLighter),";&::placeholder{color:",(({theme:e})=>e.colors.grey),";}&:disabled,&:disabled:hover{border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";background-image:none;}}"),So=_("div",{target:"ewb6hsz0"})("position:relative;width:100%;*{color:",(({theme:e,disabled:t})=>t?`${e.colors.grey} !important`:"inherit"),";}");var Mo={name:"0",styles:""};const To={name:"1g5wypb",styles:"position:absolute;top:34%;right:14px;display:flex;justify-content:center;align-items:center;border-radius:10px;width:14px;height:14px"},Do={name:"1wiujvu",styles:"position:absolute;top:0;left:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"},Eo={name:"14yja53",styles:"position:absolute;top:0;right:14px;height:100%;width:auto;display:flex;justify-content:center;align-items:center;border-radius:10px"},Oo=_("div",{target:"e1urrxy10"})("background:",(({theme:e})=>`linear-gradient(117.5deg, ${e.colors.red}, ${e.colors.redLighter});`),";svg{transform:rotateX(180deg);}"),Ro=()=>(0,i.jsx)(Oo,{css:To},(0,i.jsx)(ae,{name:"union",size:10,color:"#fff"})),Po=_("div",{target:"ea93yeh0"})("background:",(({theme:e})=>`linear-gradient(68.38deg, ${e.colors.greenLighter}, ${e.colors.green});`),";"),zo=()=>(0,i.jsx)(Po,{css:To},(0,i.jsx)(ae,{name:"check",size:10,color:"#fff"})),Ao={basic:e=>(0,i.css)({[`& ${Lo}`]:{border:`1px solid ${e.colors.grey}`,"&:hover":{border:`1.4px solid ${e.colors.greyDarker60}`},"&:focus":{border:`2px solid ${e.colors.grey40}`}}},"","","",""),error:e=>(0,i.css)({[`& ${Lo}`]:{border:"double 1px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(to right, ${e.colors.red}, ${e.colors.redLighter})`,"&:hover":{border:"double 1.4px transparent"},"&:focus":{border:"double 2px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.red40},\n ${e.colors.redLighter40}\n )`}}},"","","",""),success:e=>(0,i.css)({[`& ${Lo}`]:{border:"double 1px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.greenLighter},\n ${e.colors.green}\n )`,"&:hover":{border:"double 1.4px transparent"},"&:focus":{border:"double 2px transparent",backgroundImage:`linear-gradient(white, white),\n linear-gradient(\n to right,\n ${e.colors.greenLighter40},\n ${e.colors.green40}\n )`}},svg:{stroke:`${e.colors.green}`}},"","","",""),custom:()=>Mo},Io=({name:e,type:t="text",placeholder:r,validationSchema:n,status:o="basic",disabled:s=!1,startElement:a,endElement:l,className:c,inputProps:u={},register:d,onKeyUp:p},g)=>{if(!d)throw new Error("Input component must be used within a Form component");const f=()=>!s&&!l,h=d(e,n);return(0,i.jsx)(So,{css:[Ao[o],"","","",""],disabled:s},a?(0,i.jsx)("div",{css:Do},a):null,(0,i.jsx)(Lo,y({type:t,id:`formElement-${e}`,placeholder:r,disabled:s,css:(0,i.css)({paddingLeft:a&&40,paddingRight:l&&40},"",""),className:c,onKeyUp:p},u,d(e,n),{ref:wn([h.ref,g])})),"error"===o&&f()?(0,i.jsx)(Ro,null):null,"success"===o&&f()?(0,i.jsx)(zo,null):null,l?(0,i.jsx)("div",{css:Eo},l):null)};var $o=(0,w.forwardRef)(Io);const No=(0,w.createContext)([!1,()=>{}]);var Zo=({isOpen:e,...t})=>{const[r,n]=(0,w.useState)(e||!1);return(0,i.jsx)(No.Provider,y({value:[r,n]},t))},Vo=a(468),Ho=function({children:e}){const[,t]=(0,w.useContext)(No);return(0,w.cloneElement)(e,{onClick:(0,Vo.callAll)((()=>t(!1)),e.props.onClick)})};const Bo=(e,t,r)=>(0,i.css)("display:",t?"flex":"none",";position:fixed;inset:0;justify-content:center;align-items:center;background-color:",r?"transparent":e.colors.grey20,";z-index:1000;","",""),Fo=(e,t)=>(0,i.css)("display:",t?"flex":"none",";flex-direction:column;position:relative;width:100%;max-width:400px;padding:20px;background-color:white;box-shadow:0 5px 15px ",e.colors.grey20,";border-radius:20px;","","");var Wo=({isOpen:e,noBackground:t,children:r,"aria-label":n,...o})=>{const s=(0,i.useTheme)();return(0,i.jsx)("div",{role:"button",tabIndex:-1,css:Bo(s,e,t)},(0,i.jsx)("div",y({"aria-modal":"true","aria-labelledby":n,role:"dialog",css:Fo(s,e)},o),r))},_o=function({children:e,"aria-label":t,...r}){const[n]=(0,w.useContext)(No);return(0,i.jsx)(Wo,y({"aria-label":t,isOpen:n},r),n?e:null)},qo=function({children:e}){const[,t]=(0,w.useContext)(No);return(0,w.cloneElement)(e,{onClick:(0,Vo.callAll)((()=>t(!0)),e.props.onClick)})};const Uo=w.createContext({}),Qo=()=>{const e=w.useContext(Uo);if(null==e)throw new Error("Popover components must be wrapped in <Popover />");return e},Go=({children:e,modal:t=!1,...r})=>{const n=(({initialOpen:e=!1,placement:t="bottom",modal:r,open:n,onOpenChange:o,floatingOptions:i={},interactionsEnabled:s="click"}={})=>{const[a,l]=w.useState(e),[c,u]=w.useState(),[d,p]=w.useState(),g=n??a,f=o??l,h=yo({placement:t,open:g,onOpenChange:f,whileElementsMounted:Qr,middleware:[Pr(5),Rr({crossAxis:t.includes("-"),padding:5}),zr({padding:5})],...i}),x=h.context,m=go(x,{enabled:null==n&&["click","both"].includes(s)}),b=bo(x),y=Co(x),v=Vn(x,{enabled:null==n&&["hover","both"].includes(s),handleClose:jo()}),C=[b,y];switch(s){case"click":C.push(m);break;case"hover":C.push(v);break;default:C.push(m,v)}const k=wo(C);return w.useMemo((()=>({open:g,setOpen:f,...k,...h,modal:r,labelId:c,descriptionId:d,floatingOptions:i,setLabelId:u,setDescriptionId:p})),[g,f,k,h,r,c,d,i])})({modal:t,...r});return(0,i.jsx)(Uo.Provider,{value:n},e)},Xo=w.forwardRef((function(e,t){const{setOpen:r}=Qo();return(0,i.jsx)(Re,y({ref:t,variant:"secondary"},e,{onClick:t=>{e.onClick?.(t),r(!1)}}))}));var Jo={name:"3abrc0",styles:"width:auto"};const Yo=w.forwardRef((function({style:e,...t},r){const{context:n,...o}=Qo(),s=wn([o.refs.setFloating,r]);return n.open?(0,i.jsx)(so,null,(0,i.jsx)(co,{context:n,modal:o.modal},(0,i.jsx)(ye,y({ref:s,css:Jo,style:{...o.floatingStyles,...e},"aria-labelledby":o.labelId,"aria-describedby":o.descriptionId,direction:"column"},o.getFloatingProps(t)),t.children))):null})),Ko={name:"96m7w5",styles:"font-size:2.488rem;line-height:3.375rem"},ei=e=>(0,i.css)("font-size:1.188rem;line-height:1.375rem;",e.mediaQueries.md,"{font-size:1.719rem;}",e.mediaQueries.lg,"{font-size:2.074rem;line-height:2.813rem;}","",""),ti=e=>(0,i.css)("font-size:1.438rem;line-height:1.625rem;",e.mediaQueries.lg,"{font-size:1.728rem;}","",""),ri={name:"syje04",styles:"font-size:1.44rem;line-height:1.625rem"},ni=e=>(0,i.css)("font-size:1rem;line-height:1.5rem;",e.mediaQueries.md,"{font-size:1.2rem;}","",""),oi={name:"186bvbg",styles:"font-size:1rem;line-height:1.375rem"},ii={name:"t6dbm",styles:"font-size:0.833rem;line-height:0.938rem"},si={name:"xmvvjj",styles:"font-size:0.694rem;line-height:0.938rem"},ai={name:"176y97v",styles:"font-size:0.579rem;line-height:0.938rem"},li={name:"1289xoh",styles:"font-size:0.5rem;line-height:0.938rem"},ci={name:"1j7d63q",styles:"display:block;font-size:0.481rem;line-height:0.75rem"},ui={name:"zfxb30",styles:"font-style:normal;font-weight:400"},di={name:"1ef5ax",styles:"font-style:normal;font-weight:500"},pi={name:"14avjek",styles:"font-style:normal;font-weight:600"},gi={name:"h15tq0",styles:"font-style:normal;font-weight:700"},fi={name:"14oxna6",styles:"margin-block-end:1rem"},hi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle:"h6",body1:"p",body2:"p",body3:"p",caption:"span"};var xi=(0,w.forwardRef)((function({children:e,weight:t="regular",variant:n="body1",gutter:o=!1,color:s="rgba(43, 45, 49, 1)",as:a,...l},c){const u=a||hi[n];return(0,i.jsx)(u,y({ref:c,css:[r[n],r[t],(0,i.css)("color:",s,";","",""),o&&fi,"","","",""]},l),e)}));const mi=w.forwardRef((function(e,t){const{setDescriptionId:r}=Qo(),n=Dn();return w.useLayoutEffect((()=>(r(n),()=>r(void 0))),[n,r]),(0,i.jsx)(xi,y({as:"div"},e,{ref:t,id:n}))})),bi=w.forwardRef((function(e,t){const{setLabelId:r}=Qo(),n=Dn();return w.useLayoutEffect((()=>(r(n),()=>r(void 0))),[n,r]),(0,i.jsx)(xi,y({},e,{ref:t,id:n}),e.children)}));var yi={name:"220rkc",styles:"color:#fff"};const vi=w.forwardRef((function({children:e,asChild:t=!1,dataTestId:r="trigger-button",...n},o){const s=Qo(),a=e?.ref,l=wn([s?.refs.setReference,o,a]);return t&&w.isValidElement(e)?w.cloneElement(e,s?.getReferenceProps({ref:l,...n,...e.props,"data-state":s.open?"open":"closed"})):(0,i.jsx)(Re,y({css:yi,"data-testid":r,ref:l,"data-state":s?.open?"open":"closed"},s?.getReferenceProps(n)),e)})),wi=w.createContext({allItems:{},isMultiple:!1,onChange:()=>{}});var Ci=wi;const ki=_("ul",{target:"e1ckq94i1"})("position:absolute;width:100%;list-style:none;margin:4px 0 0;padding:0;background:#fff;border-radius:8px;overflow-x:hidden;overflow-y:auto;z-index:2;filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";backdrop-filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.greyDarker14})`),";",(({theme:e})=>He.blueInput(e)),";"),ji=_("div",{target:"e1ckq94i0"})((({theme:e,isDisabled:t})=>({display:"block",cursor:t?"default":"pointer",font:"inherit",fontSize:"0.813rem",outline:"inherit",textAlign:"left",width:"100%",padding:0,margin:0,background:"none",color:"inherit",border:"none",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",userSelect:"none","& label":{margin:"0 16px 0 0","& input + div":{borderRadius:"2px","&::before":{borderRadius:"2px"}}},"&:has(> label > input:checked)":{fontWeight:"800"},"&:hover input:not(:checked, :indeterminate) + div::before":{borderColor:e.colors.greyDropdownFocused}})),""),Li={id:Number.NaN,value:"No items"};var Si={name:"ti75j2",styles:"margin:0"},Mi=({ariaLabelledby:e,id:t,children:r})=>{const{onChange:n,allItems:o,isMultiple:s}=w.useContext(wi),a=k().Children.toArray(r).filter(Boolean).map((e=>{const t=o[e.props.value],r=Boolean(t?.isSelected),a=Boolean(t?.isDisabled);return k().cloneElement(e,{...e.props,isActive:r,isMultiple:s,"aria-selected":r,onClick:t=>{t.preventDefault(),((e,t)=>{if(!t){const t=o[e];n(t)}})(e.props.value,a)}},(0,i.jsx)(ji,{checked:r,isDisabled:a,role:"button"},s&&(0,i.jsx)(Fe,{initialState:r,externalState:r,isDisabled:a,css:Si,color:"blue"}),e.props.children||e.props.label||e.props.value))}));return 0===a.length&&a.push((0,i.jsx)(Mt,{key:Li.id,value:"","aria-selected":!1},(0,i.jsx)(ji,{as:"button"},Li.value))),(0,i.jsx)(ki,{role:"listbox",tabindex:"-1",id:t,"aria-labelledby":e},a)},Ti=_(fe,{target:"epos7tr0"})("min-width:18px;width:18px;color:",(({theme:e})=>e.colors.white),";background-color:",(({theme:e})=>e.colors.blueNotification),";font-size:10px;border-radius:50%;");const Di=_("div",{target:"ezz35kx0"})({name:"l8l8b8",styles:"white-space:nowrap;overflow:hidden;text-overflow:ellipsis"});function Ei({selectedItems:e=[],isDisabled:t,isOpen:r,isMultiple:n=!0,placeholder:o="Select something",showPlaceholder:s=!0,label:a,children:l,onChange:c,className:u},d){const p=(0,i.useTheme)(),g=(0,w.useRef)(null),f=(0,w.useId)(),[h,x]=(0,w.useState)(!1),[m,b]=(0,w.useState)(r||!1),[y,v]=(0,w.useState)([]),[C,j]=(0,w.useState)({}),[L,S]=(0,w.useState)([]),[M,T]=(0,w.useState)([]),[D,E]=(0,w.useState)([]),O=k().useMemo((()=>e),[JSON.stringify(e)]),R=e=>{if(t||!e)return;if(!n&&C[e.value].isSelected)return;let r={},o=!0;n?(o=!C[e.value].isSelected,r={...C,[e.value]:{...C[e.value],isSelected:o}},j(r)):(r=(0,Vo.mapObjIndexed)((t=>({...t,isSelected:t.value===e.value})),C),j(r),b(!1)),c&&c(e.value,o)};(0,vt.useClickOutside)(g,(()=>m&&b(!1))),(0,w.useEffect)((()=>{t?v([p.colors.greyDarker60,p.colors.grey20]):m?v([p.colors.white,p.colors.white60]):h&&v([p.colors.greyDarker,p.colors.greyDarker60])}),[m,t,h]),(0,w.useEffect)((()=>{t&&m&&b(!1)}),[t]),(0,w.useEffect)((()=>{const e=k().Children.toArray(l).filter(Boolean),t=[],r={},n=e.map(((e,n)=>{const o={...e.props,isSelected:!!O.find((t=>t.value===e.props.value))};return t.push(o),r[o.value]=o,k().cloneElement(e,{index:n,onClick:R.bind(null),...e.props})}));j(r),S(n)}),[O,l]);const P=k().useMemo((()=>({onChange:R,allItems:C,isMultiple:n})),[R,C,n]);return(0,w.useEffect)((()=>{const e=(({allItems:e={},placeholder:t})=>{const r=Object.values(e).filter((e=>e.isSelected)).map((e=>(({activeItem:e,placeholder:t})=>e&&(e.label||e.children||e.value||e)||t)({activeItem:e,placeholder:t})));return r.length?r:[t]})({allItems:C,placeholder:o}),t=e.filter((e=>e!==o));T(e),E(t)}),[C]),(0,i.jsx)(Ci.Provider,{value:P},(0,i.jsx)(zt,{ref:wn([g,d]),"data-testid":"dropdown"},(0,i.jsx)(Ct,{className:u,isOpen:m,disabled:t,onClick:b.bind(null,!m),onFocus:x.bind(null,!0),colors:y,ariaLabelledby:`dropdown-label-${f}`,ariaControls:`dropdown-popup-${f}`,isMultiple:n,selectedCount:D.length},n?(0,i.jsx)(k().Fragment,null,(0,i.jsx)(Di,null,a,s?M.length>0&&`: ${M[0]}`:D.length>0&&`: ${D[0]}`),M.length>1?(0,i.jsx)(Ti,{as:"div"},"+",M.length-1):""):M.join(""),(0,i.jsx)(jt,{isUp:m})),m?(0,i.jsx)(Mi,null,L):null))}var Oi=k().forwardRef(Ei),Ri=({children:e})=>(0,i.jsx)("div",null,e);const Pi=e=>(0,i.css)("position:relative;background-color:",e.colors.greyLighter,";border-radius:12px;box-shadow:inset 0 -1px 1px ",e.colors.white30,";","","");var zi={name:"14rz325",styles:"position:absolute;display:block;bottom:0;border-radius:12px"};const Ai=()=>zi,Ii={pink:s,yellow:c,green:d,turquoise:p,purple:g,blue:f,blueLight:h,yellowWarm:u};var $i=({percentage:e,color:t="green",vertical:r=!1,bgColor:n="rgba(238, 241, 247, 1)",size:o=12})=>{const s={horizontal:{height:o,width:"100%"},vertical:{height:"100%",width:o}},a={horizontal:{width:`${e}%`,height:o},vertical:{width:o,height:`${e}%`}};return(0,i.jsx)("div",{css:[Pi,{backgroundColor:n},"","","",""],style:{...s[r?"vertical":"horizontal"]}},(0,i.jsx)("span",{role:"progressbar",css:[Ai,Ii[t],"","","",""],style:a[r?"vertical":"horizontal"]}))},Ni={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Zi;const Vi=new Uint8Array(16);function Hi(){if(!Zi&&(Zi="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Zi))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Zi(Vi)}const Bi=[];for(let e=0;e<256;++e)Bi.push((e+256).toString(16).slice(1));function Fi(e,t=0){return(Bi[e[t+0]]+Bi[e[t+1]]+Bi[e[t+2]]+Bi[e[t+3]]+"-"+Bi[e[t+4]]+Bi[e[t+5]]+"-"+Bi[e[t+6]]+Bi[e[t+7]]+"-"+Bi[e[t+8]]+Bi[e[t+9]]+"-"+Bi[e[t+10]]+Bi[e[t+11]]+Bi[e[t+12]]+Bi[e[t+13]]+Bi[e[t+14]]+Bi[e[t+15]]).toLowerCase()}var Wi=function(e,t,r){if(Ni.randomUUID&&!t&&!e)return Ni.randomUUID();const n=(e=e||{}).random||(e.rng||Hi)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return Fi(n)};const _i=_("div",{target:"eok4i9s0"})("width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;position:relative;svg{position:absolute;top:0;left:0;filter:",(({theme:e,color:t})=>`drop-shadow(3px 5px 10px ${e.colors[`${t}Lighter40`]||e.colors[t]})`),";}circle{fill:none;stroke:url(#",(({gradientId:e})=>e),");stroke-width:",(({size:e})=>e/10),"px;stroke-linecap:round;stroke-dasharray:",(({fullStroke:e})=>e),";stroke-dashoffset:",(({fullStroke:e})=>e),";animation:",(({gradientId:e})=>e)," 1s linear forwards;}@keyframes ",(({gradientId:e})=>e),"{100%{stroke-dashoffset:",(e=>e.svgOffset),";}}"),qi=_("div",{target:"ec0v4p0"})("width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;border-radius:50%;padding:",(({size:e})=>e/10),"px;background:",(({theme:e})=>e.colors.greyLighter),";"),Ui=_("div",{target:"e73kyir0"})("width:",(({size:e})=>e-e/10*2),"px;height:",(({size:e})=>e-e/10*2),"px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;");var Qi=({max:e,currentValue:t,color:r="green",size:n=160,infoContent:o})=>{const s=(0,i.useTheme)(),a=`gradient-${Wi()}`,l=n/10/2,c=22/7*2*(n/2-l),u=c-44/7*(n/2-l)*(t/e*100)/100,d=`${r}Lighter`,p=s.colors[d]||s.colors[r];return(0,i.jsx)(_i,{gradientId:a,role:"progressbar",fullStroke:c,svgOffset:u,color:r,size:n},(0,i.jsx)(qi,{size:n},(0,i.jsx)(Ui,{size:n},o)),(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:`0 0 ${n} ${n}`,preserveAspectRatio:"xMinYMin slice",width:"100%",height:"100%"},(0,i.jsx)("defs",null,(0,i.jsx)("linearGradient",{id:a},(0,i.jsx)("stop",{offset:"0%",stopColor:s.colors[r]}),(0,i.jsx)("stop",{offset:"100%",stopColor:p}))),(0,i.jsx)("circle",{cx:n/2,cy:n/2,r:n/2-l})))},Gi=({children:e,vertical:t=!1})=>{const r={horizontal:{width:"100%",height:"12px"},vertical:{height:"100%",width:"35px"}};return(0,i.jsx)("div",{style:{position:"relative",fontSize:"10px",fontWeight:700,...r[t?"vertical":"horizontal"]}},w.Children.map(e,(e=>{if((0,w.isValidElement)(e))return(0,w.cloneElement)(e,{...e.props,vertical:t})})))},Xi=({position:e="current",percentage:t,vertical:r=!1,children:n})=>{const o={horizontal:{top:0,left:"start"===e?0:"current"===e?`${t}%`:"100%",transform:"current"===e||"end"===e?"translateX(-50%)":"none"},vertical:{width:"100%",top:"start"===e?"100%":"current"===e?100-t+"%":0,transform:"start"===e?"translateY(-100%)":"current"===e?"translateY(-50%)":"none"}};return(0,i.jsx)("div",{style:{position:"absolute",display:"block",lineHeight:1,...o[r?"vertical":"horizontal"]}},n)},Ji=({children:e})=>(0,i.jsx)("div",{style:{display:"flex",height:"100%"}},w.Children.map(e,(e=>{if((0,w.isValidElement)(e))return(0,w.cloneElement)(e,{vertical:!0})})));const Yi=w.createContext({activeStep:0,orientation:"horizontal",color:"grey",inverted:!1});function Ki(){return w.useContext(Yi)}var es=Yi,ts=({activeStep:e=0,orientation:t="horizontal",color:r="#4178e1",inverted:n=!1,children:o,sx:s})=>{const a=k().Children.toArray(o).filter(Boolean);n&&a.reverse();const l=a.map(((e,t)=>k().cloneElement(e,{index:n?a.length-t-1:t,...e.props}))),c=k().useMemo((()=>({activeStep:e,orientation:t,color:r,inverted:n})),[e,t,r,n]);return(0,i.jsx)(es.Provider,{value:c},(0,i.jsx)("div",{"data-testid":"stepper",css:(0,i.css)("display:flex;flex-direction:","vertical"===t?"column":"row",";row-gap:8px;","",""),style:{...s}},l))};const rs=w.createContext({index:0,active:!1,completed:!1,disabled:!1});function ns(){return w.useContext(rs)}var os=rs;const is=e=>(0,i.css)("position:absolute;top:10px;left:calc(",e?"50%":"-50%"," + 16px);right:calc(",e?"-50%":"50%"," + 16px);","",""),ss=e=>(0,i.css)("display:block;border-color:",e,";border-left-style:solid;border-left-width:2px;min-height:20px;","",""),as=e=>(0,i.css)("display:block;border-color:",e,";border-top-width:2px;border-top-style:solid;","","");var ls={name:"1hrg7is",styles:"flex:1 1 auto;margin-left:calc(12px - 1px)"},cs=()=>{const e=(0,i.useTheme)(),{orientation:t,color:r,inverted:n}=Ki(),{active:o,completed:s}=ns(),a=o||s?r:e.colors.grey;return"vertical"===t?(0,i.jsx)("div",{css:ls},(0,i.jsx)("span",{css:ss(a)})):(0,i.jsx)("div",{css:is(n)},(0,i.jsx)("span",{css:as(a)}))},us={name:"15tvnc7",styles:"flex:1 1 0%;position:relative"},ds=({index:e=0,children:t,Connector:r=cs})=>{const{activeStep:n,orientation:o,inverted:s}=Ki();let[a,l,c]=[!1,!1,!1];n===e?a=n===e:n>e?l=!0:n<e&&(c=!0);const u=(0,w.useMemo)((()=>({index:e,active:a,completed:l,disabled:c})),[e,a,l,c]);return(0,i.jsx)(os.Provider,{value:u},s||"vertical"!==o||0===e?null:(0,i.jsx)(r,{active:a,completed:l}),(0,i.jsx)("div",{css:us},"horizontal"===o&&0!==e?(0,i.jsx)(r,{active:a,completed:l}):null,t),s&&"vertical"===o&&0!==e&&(0,i.jsx)(r,{active:a,completed:l}))};const ps={name:"i38kcj",styles:"display:flex;align-items:center;flex-direction:column"},gs={name:"1w8lz0x",styles:"display:flex;height:22px;align-items:center"},fs={name:"11a6uth",styles:"display:flex;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-right:5px"},hs={name:"1azakc",styles:"text-align:center"},xs=e=>(0,i.css)("display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:",e,";","","");var ms=({children:e,StepIcon:t})=>{const r=(0,i.useTheme)(),{orientation:n,color:o}=Ki(),{index:s,active:a,completed:l}=ns(),c="vertical"===n?fs:gs;return(0,i.jsx)("div",{role:"listitem",css:ps,style:{flexDirection:"vertical"===n?"row":"column"}},(0,i.jsx)("div",{css:c},t?(0,i.jsx)(t,{index:s,completed:l,active:l}):l?(0,i.jsx)(ae,{name:"check",size:16,color:o}):(0,i.jsx)("div",{css:xs(a||l?o:r.colors.greyLighter)},(0,i.jsx)("span",{style:{color:a||l?r.colors.white:r.colors.grey}},s+1))),(0,i.jsx)("div",{css:hs},e))},bs=_("button",{target:"eb0rpfw0"})("width:44px;height:24px;border:0;outline:0;padding:0;border-radius:50px;position:relative;background:",(({theme:e})=>`linear-gradient(117.5deg, ${e.colors.greenLighter}, ${e.colors.green});`),";cursor:pointer;&::before{position:absolute;content:'';height:14px;width:14px;right:5px;bottom:calc(50% - 7px);background-color:",(({theme:e})=>e.colors.white),";transition:0.4s;border-radius:50%;}&[aria-checked='false']{background:",(({theme:e})=>e.colors.greyFocused),";}&:focus{box-shadow:",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),";outline:0;}&:disabled{background:",(({theme:e})=>e.colors.greyDisabled),";cursor:auto;}&:not(:disabled):hover{box-shadow:",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),";}&[aria-checked='false']:focus::after,&:not(:disabled)[aria-checked='false']:hover::after{",(({theme:e})=>b(e,"greenLighter","50px")),";}&[aria-checked='true']::before{transform:translateX(0);}&[aria-checked='false']::before{transform:translateX(-20px);}");const ys=(0,w.createContext)({isOn:!0,toggle:()=>{}}),vs=()=>(0,w.useContext)(ys),ws=({initialState:e,children:t})=>{const[r,n]=((e=!1)=>{const[t,r]=(0,w.useState)(e);return[t,(0,w.useCallback)((()=>r((e=>!e))),[])]})(e);return(0,i.jsx)(ys.Provider,{value:{isOn:r,toggle:n}},t)};var Cs=({label:e,isDisabled:t=!1})=>{const{isOn:r,toggle:n}=vs();return(0,i.jsx)(bs,{type:"button",role:"switch","aria-readonly":t,"aria-checked":r,"aria-label":e,disabled:t,onClick:()=>!t&&n()})},ks=_("table",{target:"ef55xbt0"})({name:"1suweh2",styles:"display:table;width:100%;border-collapse:collapse;border-spacing:0"}),js=_("td",{target:"e9xnb9j0"})("display:table-cell;vertical-align:inherit;text-align:",(({align:e})=>e||"left"),";border-bottom:1px solid #eef1f7;border-right:1px solid #eef1f7;padding:14px;"),Ls=_("thead",{target:"e1ezyu020"})({display:"table-header-group",background:"#eef1f7",[`& ${js}`]:{borderBottom:"1px solid white",borderRight:"1px solid white"}},""),Ss=_("tr",{target:"epe3ucm0"})({name:"1cb05rb",styles:"display:table-row;outline:0;vertical-align:middle"}),Ms=_("tbody",{target:"erj4fs00"})({name:"xfuyo9",styles:"display:table-row-group"});const Ts=(0,w.createContext)(null),Ds=()=>{const e=(0,w.useContext)(Ts);if(null==e)throw new Error("The component should be wrapped with <Tooltip> to have access to the context");return e};var Es=({children:e,...t})=>{const r=(({placement:e,enableClick:t=!0,enableHover:r=!1,offsetPx:n=12,size:o="small",hasArrow:i=!0,arrowProps:s={},isOpen:a=!1})=>{const[l,c]=(0,w.useState)(a||!1),u=(0,w.useRef)(null),d=yo({open:l,onOpenChange:c,placement:e,middleware:[Pr(n),Rr(),zr(),(p={element:u},{name:"arrow",options:p,fn(e){const{element:t,padding:r}="function"==typeof p?p(e):p;return t&&(n=t,{}.hasOwnProperty.call(n,"current"))?null!=t.current?Or({element:t.current,padding:r}).fn(e):{}:t?Or({element:t,padding:r}).fn(e):{};var n}})],whileElementsMounted:Qr});var p;const{context:g}=d,f=wo([Vn(g,{enabled:r,move:!0}),go(g,{enabled:t}),bo(g),Co(g)]);return(0,w.useMemo)((()=>({isOpen:l,arrowRef:u,size:o,hasArrow:i,arrowProps:s,...d,...f})),[l,u,o,i,s,d,f])})(t);return(0,i.jsx)(Ts.Provider,{value:r},e)},Os=({children:e})=>{const t=Ds();return(0,w.isValidElement)(e)?(0,w.cloneElement)(e,t?.getReferenceProps({ref:t.refs.setReference})):null};const Rs=({width:e=10,height:t=10,fill:r,...n})=>{const{context:o,arrowRef:s}=Ds(),a=(0,i.useTheme)();return(0,i.jsx)(En,y({"data-testid":"floating-arrow",ref:s,context:o,width:e,height:t,fill:r||a.colors.greyLighter},n))},Ps=_("div",{target:"e1bojkfb0"})("line-height:0.75rem;background:",(({theme:e})=>e.colors.greyLighter),";border-radius:8px;color:",(({theme:e})=>e.colors.greyDarker),";font-weight:600;"),zs={name:"1gyajfm",styles:"font-size:0.579rem;padding:6px 12px"},As={name:"171cl2n",styles:"font-size:0.694rem;padding:8px 16px"},Is={name:"2t1ujq",styles:"font-size:0.833rem;padding:10px 20px"},$s={small:zs,medium:As,large:Is};var Ns=(0,w.forwardRef)((function({children:e,className:t,style:r},n){const o=Ds(),s=wn([o?.refs.setFloating,n]);return(0,i.jsx)(so,null,o?.isOpen&&(0,i.jsx)(co,{context:o.context,modal:!1},(0,i.jsx)(Ps,o.getFloatingProps({ref:s,css:o.size&&$s[o.size],className:t,style:{position:o.strategy,top:o.y??0,left:o.x??0,width:"max-content",...r}}),o.hasArrow&&(0,i.jsx)(Rs,o.arrowProps),e)))}));const Zs=({point:e,size:t="small",renderValue:r})=>{const{data:n}=e,{xFormatted:o,yFormatted:s}=n;return(0,i.jsx)(Ps,{css:$s[t]},"function"==typeof r?r(n):`${o} - ${s}`)};var Vs={name:"1pays9c",styles:"display:flex;flex-direction:row;justify-content:space-between;align-items:center;line-height:1rem;margin-bottom:6px"},Hs={name:"s5xdrg",styles:"display:flex;align-items:center"};const Bs=({caption:e,value:t,valueFormatted:r,iconName:n,barProps:o={}})=>{const{color:s}=o;return(0,i.jsx)(Ps,{css:[$s.small,"padding:12px;width:112px;","","",""]},(0,i.jsx)("div",{css:Vs},(0,i.jsx)(xi,{variant:"body2",weight:"medium"},e),(0,i.jsx)(xi,{variant:"body3",weight:"lighter",css:Hs},r,n&&(0,i.jsx)(ae,{name:n,size:8}))),(0,i.jsx)($i,{percentage:t,color:s,bgColor:"#fff",size:6}))},Fs={tabId:Number.NaN,renderContent(){return null}},Ws=(0,w.createContext)({activeTab:Fs,setActiveTab(){}}),_s=()=>(0,w.useContext)(Ws),qs=({initialTab:e=Fs,children:t})=>{const{activeTab:r,setActiveTab:n}=(e=>{const[t,r]=(0,w.useState)(e);return{activeTab:t,setActiveTab:e=>r(e)}})(e);return(0,i.jsx)(Ws.Provider,{value:{activeTab:r,setActiveTab:n}},t)},Us=_("div",{target:"e1hg26v10"})("");var Qs=({children:e})=>{const{activeTab:t,setActiveTab:r}=_s(),n=t?.tabId;return(0,i.jsx)(Us,{role:"tablist"},w.Children.map(e,(e=>{if((0,w.isValidElement)(e)){const{renderContent:t,...o}=e.props,i=o.tabId;return(0,w.cloneElement)(e,{key:i,isActive:n===i,onClick:()=>n!==i&&r({tabId:i,renderContent:t.bind(null,o)})})}})))};const Gs=_("button",{target:"e1k30s2y0"})("height:34px;border:0;outline:0;padding:0 14px;margin:0 1px 0 0;color:",(({theme:e})=>e.colors.greyDarker),";background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greyLighter),";font-size:14px;line-height:15px;cursor:pointer;&:first-of-type{border-radius:12px 0 0 12px;}&:last-child{border-radius:0 12px 12px 0;margin-right:0;}&:focus{background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greySelectedMenuItem),";}");var Xs=({onClick:e,isActive:t,text:r,ariaControls:n,tabId:o})=>(0,i.jsx)(Gs,{role:"tab",id:`${o}`,"aria-selected":t,"aria-controls":n,tabIndex:0,isActive:t,title:r,onClick:()=>{"function"==typeof e&&e()}},r);const Js=_("button",{target:"etuhwiv0"})("width:100px;max-width:100px;height:60px;border:0;border-radius:12px;outline:0;margin:0 12px 0 0;padding:0;color:",(({theme:e})=>e.colors.greyDarker),";background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greyLighter),";box-shadow:",(({isActive:e,theme:t})=>e?`0px 10px 40px ${t.colors.greyShadow24}`:null),";cursor:pointer;&:last-child{margin-right:0;}&:focus{background:",(({isActive:e,theme:t})=>e?t.colors.greyFocused:t.colors.greySelectedMenuItem),";}p{letter-spacing:0.1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}@media (max-width: 900px){max-width:70px;}"),Ys=e=>(0,i.css)("fontSize:'15.5px',lineHeight:'22px',fontWeight:300,color:",e.colors.greyDarker60,",margin:0,;","",""),Ks=e=>(0,i.css)("fontSize:'14px',fontWeight:500,lineHeight:'18px',color:",e.colors.greyDarker,",margin:'3px 0 0 0',;","","");var ea=({topText:e,bottomText:t,isActive:r,onClick:n,ariaControls:o,tabId:s})=>{const a=(0,i.useTheme)();return(0,i.jsx)(Js,{role:"tab",id:`${s}`,"aria-selected":r,"aria-controls":o,tabIndex:0,isActive:r,title:`${e}-${t}`,onClick:()=>{"function"==typeof n&&n()}},(0,i.jsx)("p",{css:Ys(a)},e),(0,i.jsx)("p",{css:Ks(a)},t))};const ta={pink:[e=>(0,i.css)("color:",e.colors.pink,";background-color:",e.colors.pink20,";background:linear-gradient(\n 90deg,\n ",e.colors.pink20," 0%,\n ",e.colors.pinkLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.pinkShadow40,";","",""),(0,i.css)("border:1px solid ",o.colors.pink,";","","")],yellow:[e=>(0,i.css)("color:",e.colors.yellow,";background-color:",e.colors.yellow20,";background:linear-gradient(\n 90deg,\n ",e.colors.yellow20," 0%,\n ",e.colors.yellowLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.yellowLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.yellow,";","","")],green:[e=>(0,i.css)("color:",e.colors.green,";background-color:",e.colors.green20,";background:linear-gradient(\n 270deg,\n ",e.colors.greenLighter20," 0%,\n ",e.colors.green20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.greenLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.green,";","","")],turquoise:[e=>(0,i.css)("color:",e.colors.turquoise,";background-color:",e.colors.turquoise20,";background:linear-gradient(\n 90deg,\n ",e.colors.turquoise20," 0%,\n ",e.colors.turquoiseLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.turquoiseShadow40,";","",""),(0,i.css)("border:1px solid ",o.colors.turquoise,";","","")],purple:[e=>(0,i.css)("color:",e.colors.purple,";background-color:",e.colors.purpleLighter20,";background:linear-gradient(\n 270deg,\n ",e.colors.purpleLighter20," 0%,\n ",e.colors.purple20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.purpleLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.purple,";","","")],blueLight:[e=>(0,i.css)("color:",e.colors.blueLight,";background-color:",e.colors.blueLight20,";background:linear-gradient(\n 270deg,\n ",e.colors.blueLight20," 0%,\n ",e.colors.blueLightLighter20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.blueLightLighter40,";","",""),(0,i.css)("border:1px solid ",o.colors.blueLight,";","","")],blue:[e=>(0,i.css)("color:",e.colors.blue,";background-color:",e.colors.blue20,";background:linear-gradient(\n 90deg,\n ",e.colors.blueLighter20,",\n ",e.colors.blue20,"\n );box-shadow:-4px 4px 10px ",e.colors.blueLightDarker40,";","",""),(0,i.css)("border:1px solid ",o.colors.blue,";","","")],yellowWarm:[e=>(0,i.css)("color:",e.colors.yellowLighter,";background-color:",e.colors.yellowLighter20,";background:linear-gradient(\n 90deg,\n ",e.colors.yellowLighter20," 0%,\n ",e.colors.yellowWarm20," 100%\n );box-shadow:-4px 4px 10px ",e.colors.yellowWarm40,";","",""),(0,i.css)("border:1px solid ",o.colors.yellowWarm,";","","")]};var ra=({color:e="purple",size:t="medium",className:r,children:n})=>(0,i.jsx)(be,{color:e,size:t,css:ta[e],className:r},n);const na=_("textarea",{target:"e1jiml3c0"})("flex:1 100%;background:",(({theme:e})=>e.colors.white),";border-radius:12px;background-origin:border-box;background-clip:padding-box,border-box;border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";color:",(({theme:e})=>e.colors.greyDarker),";width:100%;min-height:114px;padding:14px;font-weight:400;font-size:0.875rem;line-height:1rem;&::placeholder{color:",(({theme:e})=>e.colors.greyDarker60),";}&:hover{border:",(({theme:e})=>`1.4px solid ${e.colors.greyDarker60};`),";}&:focus{border:",(({theme:e})=>`2px solid ${e.colors.grey40};`),";}&:disabled{color:",(({theme:e})=>`${e.colors.grey}`),";border:",(({theme:e})=>`1px solid ${e.colors.grey}`),";background:",(({theme:e})=>e.colors.greyLighter),";&::placeholder{color:",(({theme:e})=>e.colors.grey),";}}");var oa=({name:e,placeholder:t,register:r,validationSchema:n,disabled:o=!1,rows:s=10,setCountChar:a,maxLength:l})=>{if(!r)throw new Error("Input component must be used within a Form component");const{onChange:c,...u}=r(e,n);return(0,i.jsx)(na,y({id:`formElement-${e}`,placeholder:t,disabled:o,rows:s,maxLength:l,onChange:(0,Vo.callAll)(a,c)},u))};const ia={error:"red",success:"greenLighter",basic:"greyDarker60"},sa=_("span",{target:"ereid9f0"})("display:block;font-weight:400;font-size:0.688rem;margin:6px 0 0 4px;color:",(({theme:e,status:t="basic"})=>e.colors[ia[t]]),";");var aa=({role:e,status:t,disabled:r,children:n})=>(t=r?"basic":t,(0,i.jsx)(sa,{role:e,status:t},n)),la={name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"},ca=({multirow:e,name:t,label:r,errors:n,helperText:o,success:s,disabled:a,maxLength:l,...c})=>{const[u,d]=k().useState(0),p=s?"success":n?"error":"basic";return(0,i.jsx)(k().Fragment,null,(0,i.jsx)(Ve,{htmlFor:`formElement-${t}`},r),e?(0,i.jsx)(oa,y({name:t,disabled:a,maxLength:l,setCountChar:e=>d(e.currentTarget.value.length)},c)):(0,i.jsx)($o,y({name:t,status:p,disabled:a},c)),(0,i.jsx)("div",{css:la},(0,i.jsx)(aa,{role:"status",status:p,disabled:a},n?n?.message:o),(0,i.jsx)(aa,{role:"meter"},l?`${u} / ${l}`:null)))};const ua=_(Ve,{target:"efp6u1p0"})("display:inline-flex;flex-grow:0;align-items:center;cursor:pointer;&:has(input:disabled){cursor:default;}input:focus+svg{filter:drop-shadow(\n ",(({theme:e})=>`-4px 4px 10px ${e.colors.green40}`),"\n );}input{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}span{margin-left:10px;font-size:14px;font-weight:100;}");var da=({id:e,name:t="",value:r,isChecked:n,isDisabled:o,isRequired:s,onChange:a,text:l,className:c})=>{const u=(0,i.useTheme)(),d=(0,w.useId)(),[p,g]=(0,w.useState)(!1),f=e||d;return(0,i.jsx)(ua,{htmlFor:f,className:c,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1)},(0,i.jsx)("input",{id:f,type:"radio",value:r,checked:n,onChange:()=>"function"==typeof a&&a(r),disabled:o,required:s,name:t}),(0,i.jsx)(ae,{name:n?"radio-on":"circle",size:20,color:u.colors[o?"greyFocused40":p?"green60":"green"]}),l?(0,i.jsx)("span",{"data-testid":e},l):null)};const pa=_("div",{target:"ex21npo0"})("");var ga=({name:e,isRequired:t,initialState:r,onChange:n,children:o,className:s})=>{const[a,l]=(0,w.useState)(r),c=e=>{l(e),n(e)};return(0,i.jsx)(pa,{role:"radiogroup","aria-required":t,className:s},w.Children.map(o,(r=>{if((0,w.isValidElement)(r)&&r.type===da){const{id:n,value:o,isDisabled:i,text:s}=r.props;return(0,w.cloneElement)(r,{key:n,name:e,value:o,isChecked:a===o,isDisabled:i,isRequired:t,text:s,onChange:c})}})))},fa=({name:e,isRequired:t=!1,control:r,children:n,...o})=>{const{field:s}=bt({control:r,name:e,rules:{required:t}});return(0,i.jsx)(ga,y({name:s.name,onChange:e=>{s.onChange(e)},isRequired:t},o),n)},ha=({src:e,alt:t,...r})=>(0,i.jsx)("img",y({src:e,alt:t},r)),xa=_("form",{target:"e33is650"})({name:"1wb33nr",styles:"display:flex;flex-flow:row wrap"}),ma=_("div",{target:"e1kq83bj0"})({name:"b3bm4q",styles:"display:flex;margin:10px 0;flex:1 1 100%;flex-wrap:wrap;align-items:flex-start"}),ba=_("div",{target:"e1fqyjs10"})({name:"10h7o7i",styles:"flex:1 1 100%"}),ya=_("div",{target:"ex2po2m0"})("position:absolute;left:0;z-index:1;display:flex;justify-content:center;align-items:center;min-width:5px;min-height:5px;padding:2px;border-radius:50%;aspect-ratio:1;background:",(({theme:e,background:t})=>t||`linear-gradient(291.8deg, ${e.colors.blueLightDarker}, ${e.colors.blueDark})`),";",(({theme:e})=>e.mediaQueries.md),"{min-width:8px;min-height:8px;padding:3px;}"),va={name:"1w60ly8",styles:"border-radius:10px;aspect-ratio:0"},wa=({isVisible:e=!0,position:t="left",background:r,text:n,children:o})=>{const s=(0,w.useRef)(null),a=(0,w.useRef)(null),[l,c]=(0,w.useState)(0),[u,d]=(0,w.useState)({}||null),{width:p}=(0,vt.useWindowSize)(),g=(0,i.useTheme)(),f=s.current?s.current.offsetWidth:0,h="right"===t;return(0,w.useEffect)((()=>{if(s.current&&a.current){const e={top:a.current.offsetTop,left:a.current.offsetLeft,width:a.current.offsetWidth,right:a.current.offsetWidth+a.current.offsetLeft};c(f),d(e)}}),[l,a.current,p]),(0,i.jsx)(k().Fragment,null,e?(0,i.jsx)(ya,{"data-testid":`indicator-${t}`,ref:s,css:u&&[(0,i.css)("top:",u.top+2,"px;left:",h?"-6px":"1px",";transform:translate(",u?.[t],"px, -50%);",g.mediaQueries.md,"{left:",h?"-10px":"1px",";}","",""),l>8&&(0,i.css)("left:",h?"4px":"-4px",";transform:",h?`translate(${u?.[t]-l}px, -50%)`:`translate(${u?.[t]}px, -50%)`,";",g.mediaQueries.md,"{left:",h?"4px":"-4px",";}","",""),l>24&&va],background:r},n):null,k().cloneElement(o,{ref:e=>a.current=e}))};const Ca=e=>(0,i.css)("justify-content:center;min-width:40px;height:auto;padding:8px;text-align:center;letter-spacing:0em;border-radius:0;box-shadow:none;user-select:none;&:hover,&:focus,&:active{box-shadow:none;}&:first-of-type{border-radius:6px 0 0 6px;}&:last-child{border-radius:0 6px 6px 0;}&:not(:last-child){margin-right:1px;}&.active{background:",e.colors.greyFocused,";}&:disabled{background:",e.colors.grey,";p{color:",e.colors.grey40,";}}",e.mediaQueries.md,"{min-width:65px;padding:12px;p{font-size:13.3px;line-height:15px;}}","",""),ka=({items:e,buttonStyles:t,onClick:r})=>{const[n,o]=(0,w.useState)(e[0]),s=e=>()=>{o(e),r(e)};return(0,i.jsx)(k().Fragment,null,e.map((e=>{const r=n.id===e.id&&!e.isDisabled;return(0,i.jsx)(Re,{key:e.id,"aria-pressed":r,variant:"secondary",size:"small",isDisabled:e.isDisabled,"aria-disabled":e.isDisabled,onClick:s(e),css:[Ca,t,"","","",""],className:r?"active":""},(0,i.jsx)(xi,{variant:"body1"},e.text))})))},ja=_("a",{target:"e7p2unh0"})({name:"1r5gb7q",styles:"display:inline-block"}),La=({children:e,href:t,...r})=>(0,i.jsx)(ja,y({href:t},r),(0,i.jsx)(xi,{variant:"subtitle"},e))}(),l}())},94:function(e,t,r){var n;self,e.exports=(n=r(156),function(){var e={468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},156:function(e){"use strict";e.exports=n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{useApi:function(){return t},useClickOutside:function(){return i},usePaginationRange:function(){return a},useTextSizeDecrease:function(){return d},useWindowSize:function(){return n}});var e=r(156);function t(t,r){const[n,o]=(0,e.useState)(!1),[i,s]=(0,e.useState)(null),[a,l]=(0,e.useState)(r);return{isLoading:n,error:i,data:a,query:async(...e)=>{o(!0),s(null);try{const r=await t(...e);l(r)}catch(e){s(e)}finally{o(!1)}}}}const n=()=>{const[t,r]=(0,e.useState)({width:window.innerWidth,height:window.innerHeight});return(0,e.useEffect)((()=>{function e(){r({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),t},i=(t,r)=>{const n=["mousedown","touchstart"];(0,e.useEffect)((()=>{const e=e=>{null==t.current||t.current.contains(e.target)||r(e)};return n.forEach((t=>document.addEventListener(t,e))),()=>n.forEach((t=>document.removeEventListener(t,e)))}),[t,r])};var s=r(468);const a=({pagesCount:t,selectedPage:r})=>(0,e.useMemo)((()=>(0,s.generateRange)(t,r)),[t,r]),l=/(\d+\.?\d+)(\S+)/,c=(e,t)=>e.scrollWidth>Number(t?.clientWidth),u=(e,t)=>{const r=window.getComputedStyle(e).fontSize.match(l);if(r){const[,n,o]=r;e.style.fontSize=`${Number(n)-t}${o}`}},d=(t=5,r=1)=>{const o=(0,e.useRef)(null),i=(0,e.useRef)(0),{width:s}=n();return(0,e.useEffect)((()=>{(()=>{if(null==o.current)return;const e=o.current,n=e.parentNode;let s=c(e,n);for(;i.current<t&&s;)u(e,r),s=c(e,n),++i.current;s&&(e.style.wordBreak="break-all")})()}),[o,s]),o}}(),o}())},468:function(e){self,e.exports=function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{assocPath:function(){return x},callAll:function(){return n},dateFormatters:function(){return r},debounce:function(){return i},dissocPath:function(){return m},generateRange:function(){return h},mapObjIndexed:function(){return g},path:function(){return b},pathOr:function(){return y},prop:function(){return v},propOr:function(){return w},throttle:function(){return o}});var r={};e.r(r),e.d(r,{formatDate:function(){return u},formatDayOfWeek:function(){return c},formatTime:function(){return l},getTimeAgo:function(){return p},printDayOfTheWeek:function(){return d}});const n=(...e)=>(...t)=>e.forEach((e=>e?.(...t))),o=(e,t)=>{let r=!1,n=null,o=null;return[function i(...s){r?n=s:(r=!0,e(...s),o=setTimeout((()=>{r=!1,n&&(i(...n),n=null)}),t))},function(){o&&clearTimeout(o)}]},i=(e,t=200)=>{let r=null;return[(...n)=>{r&&clearTimeout(r),r=setTimeout((()=>{r&&clearTimeout(r),e(...n)}),t)},function(){r&&clearTimeout(r)}]},s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a={year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,min:60},l=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),c=e=>s[new Date(e).getDay()],u=e=>new Date(e).toLocaleDateString("en-US",{day:"2-digit",month:"short"}),d=e=>{switch(e){case 0:return"Sun";case 1:return"Mon";case 2:return"Tue";case 3:return"Wed";case 4:return"Thu";case 5:return"Fri";case 6:return"Sat"}},p=e=>{const t=new Date(e).getTime();if(Number.isNaN(t))throw new Error("Invalid date");const r=Math.floor((Date.now()-t)/1e3);let n;for(const e in a)if(n=Math.floor(r/a[e]),n>=1)return`${n} ${e}${n>1?"s":""} ago`;return"Just Now"},g=(e,t)=>Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n,t),r)),{}),f=(e,t,r)=>{for(let n=t;n<r;++n)e.push(n)};var h=(e,t)=>{if(null==e||!Number.isInteger(e))throw new Error("Pages count should be an integer");if(e<=0)return[];let r=[1];if(1===e)return r;if(null!=t&&!Number.isInteger(t))throw new Error("Selected page should be an integer");if(null!=t&&(t<1||t>e))throw new Error(`Selected page ${t} is out of range`);if(t&&t>2){const n=((e,t)=>{const r=[];return t!==e&&r.push(t),t>1&&r.unshift(t-1),t+1<e&&r.push(t+1),r})(e,t),[o,,i]=n;o-2>1?r.push(-1):f(r,2,o),r=r.concat(n),e-i>2?r.push(-1):f(r,i+1,e)}else e<=5?f(r,2,e):r.push(2,3,-1);return r.push(e),r};const x=([e,...t],r)=>n=>JSON.parse(JSON.stringify({...n,[e]:t.length?x(t,r)(n[e]):r})),m=e=>t=>{const r=JSON.parse(JSON.stringify(t));return e.reduce(((t,r,n)=>(n===e.length-1&&delete t[r],t[r])),r),r},b=e=>t=>e.reduce(((e,t)=>e?.[t]),t),y=(e,t)=>r=>{const n=b(t)(r);return null==n?e:n},v=e=>t=>t?.[e],w=(e,t)=>r=>{const n=v(t)(r);return null==n?e:n};return t}()},435:function(t){"use strict";t.exports=e},607:function(e){"use strict";e.exports=n},712:function(e){"use strict";e.exports=o},812:function(e){"use strict";e.exports=s},156:function(e){"use strict";e.exports=t},111:function(e){"use strict";e.exports=r},128:function(e){"use strict";e.exports=i}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){"use strict";c.r(u),c.d(u,{AccountBalance:function(){return Sn},Activity:function(){return h},AddNewAccountCard:function(){return mn},BalancePieChart:function(){return wn},BalancePieChartTitle:function(){return yn},Bmi:function(){return ut},BotsTable:function(){return fn},BotsTableCell:function(){return gn},BotsTableHead:function(){return dn},BotsTableRow:function(){return pn},BotsTableWrapper:function(){return un},Calories:function(){return y},CardList:function(){return Ze},CollapsibleNavBar:function(){return mo},ExchangeAccount:function(){return Pn},ExchangeAccountKeys:function(){return So},Filters:function(){return ri},HeartRate:function(){return re},LinksTabBar:function(){return jr},ListGoals:function(){return ht},MealNutrients:function(){return xe},MealPlanner:function(){return St},NavBar:function(){return Se},NotificationCard:function(){return Cr},NotificationMenu:function(){return Rr},Pagination:function(){return or},PaginationContext:function(){return Yt},PaginationContextProvider:function(){return er},PieChart:function(){return Ee},PieChartLegend:function(){return Pe},ProgressInfo:function(){return $e},ProgressInfoTotals:function(){return ze},SearchBox:function(){return tn},SearchBoxCrossIcon:function(){return en},SearchBoxInput:function(){return Kr},SearchBoxWrapper:function(){return Yr},StepsCounter:function(){return Et},TableFilterCheckbox:function(){return Io},TableFilterTrigger:function(){return Oo},TableFilterTriggerWithNotification:function(){return Po},TableFilters:function(){return Qo},TableFiltersAccordion:function(){return zo},TableFiltersAccordionContent:function(){return Ao},TableFiltersButtons:function(){return Bo},TableFiltersCancelButton:function(){return No},TableFiltersClearButton:function(){return Vo},TradingInfoCard:function(){return gr},TradingScoreboard:function(){return hr},UpcomingWorkouts:function(){return We},UserCard:function(){return Bt},UserProfile:function(){return cn},WaterConsume:function(){return Xe},WithLink:function(){return kn},cancelButtonStyles:function(){return $o},clearButtonStyles:function(){return Zo},filterButtonStyles:function(){return Eo},pieChartPalettes:function(){return e},usePaginationContext:function(){return Kt}});var e={};c.r(e),c.d(e,{getBalancePalette:function(){return bn}});var t=c(435);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}var n=c(156),o=c.n(n),i=c(440);const s=e=>(0,t.css)("justify-content:center;gap:20px;flex-direction:row;max-width:380px;",e.mediaQueries.md,"{gap:30px;}","","");var a=c(468);const{printDayOfTheWeek:l}=a.dateFormatters,d={name:"109oaxu",styles:"display:flex;align-items:center;flex-direction:column;justify-content:center;height:162px;gap:10px;font-size:11px"};var p=({currentValue:e,date:r})=>(0,t.jsx)("div",{css:d},(0,t.jsx)(i.ProgressVertical,null,(0,t.jsx)(i.ProgressBar,{percentage:e,color:"yellow"})),(0,t.jsx)(i.Typography,{variant:"subtitle"},l(new Date(r).getDay())));var g={name:"11yrylr",styles:"width:100%;flex-direction:column"},f={name:"1uqairc",styles:"border-radius:20px;padding-inline:24px;padding-block:24px"};const h=({data:e})=>{const[o,a]=(0,n.useState)(""),[l,c]=(0,n.useState)([]);(0,n.useEffect)((()=>{null!=e&&"object"==typeof e&&c(Object.keys(e).map(((e,t)=>({id:t,value:`${e.charAt(0).toUpperCase()}${e.slice(1)}`}))))}),[e]),(0,n.useEffect)((()=>{l?.length>0&&!o&&u(l[0])}),[l]);const u=e=>{const t=e.value.toString().toLowerCase();a(t)};return(0,t.jsx)(i.Card,{css:f},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold"},"Activity"),l?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:l[0],onChange:u},l.map(((e,r)=>(0,t.jsx)(i.DropdownOption,{key:r,value:e.value}))))),(0,t.jsx)(i.CardContent,{css:g},(0,t.jsx)(i.Wrapper,{css:s},Array.isArray(e[o])&&e[o].map(((e,n)=>(0,t.jsx)(p,r({key:n},e)))))))};var x={name:"8or0zb",styles:"gap:5px"};const m=({currentValue:e,max:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)("div",{style:{display:"grid",textAlign:"center"}},(0,t.jsx)(i.Wrapper,{alignItems:"baseline",direction:"row",css:x},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",color:n.colors.greyDarker},e),(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"bold",color:n.colors.greyDarker},"kcal")),(0,t.jsx)(i.Typography,{variant:"subtitle",color:n.colors.greyDarker60},e/r*100,"% done"))};var b={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"};const y=({max:e,currentValue:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.Card,{css:b},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${n.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_64.png?alt=media&token=6a57e3f5-0e15-4dcf-8871-f1bf94d887af 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_48.png?alt=media&token=861ad7c8-1bcb-4f2d-a581-4b73b4821251 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fcalories%2Fcalories_48.png?alt=media&token=861ad7c8-1bcb-4f2d-a581-4b73b4821251",alt:"Calories burn"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Calories")),(0,t.jsx)(i.CardContent,null,(0,t.jsx)(i.ProgressCircle,{max:e,currentValue:r,color:"pink",infoContent:(0,t.jsx)(m,{max:e,currentValue:r}),size:120})))};var v=c(607),w=c(712);const C={margin:{top:0,right:0,bottom:0,left:0},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!0,reverse:!1},pointBorderColor:{from:"serieColor"},legends:[],xFormat:e=>{return new Date(e).toLocaleTimeString("en-US",t||{hour:"2-digit",minute:"2-digit"});var t},yFormat:e=>`${e} bpm`,tooltip:e=>(0,t.jsx)(i.SimpleChartTooltip,e)},k=({data:e,...n})=>(0,t.jsx)(w.ResponsiveLine,r({data:e,curve:"linear",axisTop:null,axisRight:null,axisBottom:null,axisLeft:null,enableGridX:!1,enableGridY:!1,lineWidth:1,enablePoints:!1,pointSize:3,pointColor:"black",pointBorderWidth:2,pointLabelYOffset:-12,enableArea:!0,areaOpacity:.1,enableCrosshair:!1,crosshairType:"top-left",useMesh:!0,animate:!1},C,n));function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function L(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var S=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=L((function(e){return S.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var T=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)};var D={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},E=/[A-Z]|^ms/g,O=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R=function(e){return 45===e.charCodeAt(1)},P=function(e){return null!=e&&"boolean"!=typeof e},z=L((function(e){return R(e)?e:e.replace(E,"-$&").toLowerCase()})),A=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(O,(function(e,t,r){return $={name:t,styles:r,next:$},t}))}return 1===D[e]||R(e)||"number"!=typeof t||0===t?t:t+"px"};function I(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return $={name:r.name,styles:r.styles,next:$},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)$={name:n.name,styles:n.styles,next:$},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=I(e,t,r[o])+";";else for(var i in r){var s=r[i];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":P(s)&&(n+=z(i)+":"+A(i,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=I(e,t,s);switch(i){case"animation":case"animationName":n+=z(i)+":"+a+";";break;default:n+=i+"{"+a+"}"}}else for(var l=0;l<s.length;l++)P(s[l])&&(n+=z(i)+":"+A(i,s[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=$,i=r(e);return $=o,I(e,t,i)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var $,N=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Z=!!n.useInsertionEffect&&n.useInsertionEffect,V=Z||function(e){return e()},H=(Z||n.useLayoutEffect,M),B=function(e){return"theme"!==e},F=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?H:B},W=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},_=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return T(t,r,n),V((function(){return function(e,t,r){T(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,r,n)})),null},q=function e(r,o){var i,s,a=r.__emotion_real===r,l=a&&r.__emotion_base||r;void 0!==o&&(i=o.label,s=o.target);var c=W(r,o,a),u=c||F(l),d=!u("as");return function(){var p=arguments,g=a&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==i&&g.push("label:"+i+";"),null==p[0]||void 0===p[0].raw)g.push.apply(g,p);else{0,g.push(p[0][0]);for(var f=p.length,h=1;h<f;h++)g.push(p[h],p[0][h])}var x=(0,t.withEmotionCache)((function(e,r,o){var i,a,p,f,h=d&&e.as||l,x="",m=[],b=e;if(null==e.theme){for(var y in b={},e)b[y]=e[y];b.theme=n.useContext(t.ThemeContext)}"string"==typeof e.className?(i=r.registered,a=m,p=e.className,f="",p.split(" ").forEach((function(e){void 0!==i[e]?a.push(i[e]+";"):f+=e+" "})),x=f):null!=e.className&&(x=e.className+" ");var v=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";$=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=I(r,t,i)):o+=i[0];for(var s=1;s<e.length;s++)o+=I(r,t,e[s]),n&&(o+=i[s]);N.lastIndex=0;for(var a,l="";null!==(a=N.exec(o));)l+="-"+a[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:$}}(g.concat(m),r.registered,b);x+=r.key+"-"+v.name,void 0!==s&&(x+=" "+s);var w=d&&void 0===c?F(h):u,C={};for(var k in e)d&&"as"===k||w(k)&&(C[k]=e[k]);return C.className=x,C.ref=o,n.createElement(n.Fragment,null,n.createElement(_,{cache:r,serialized:v,isStringTag:"string"==typeof h}),n.createElement(h,C))}));return x.displayName=void 0!==i?i:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",x.defaultProps=r.defaultProps,x.__emotion_real=x,x.__emotion_base=l,x.__emotion_styles=g,x.__emotion_forwardProp=c,Object.defineProperty(x,"toString",{value:function(){return"."+s}}),x.withComponent=function(t,r){return e(t,j({},o,r,{shouldForwardProp:W(x,r,!0)})).apply(void 0,g)},x}};const U=q("div",{target:"ek7c6rl0"})({name:"1v1gu0d",styles:"text-align:center;margin-top:23px"}),Q={name:"1ttuluy",styles:"font-weight:700;font-size:1.728rem;line-height:2rem;@media (max-width: 900px){font-size:1.2rem;line-height:1.639;}"},G=e=>(0,t.css)("color:",e.colors.greyDarker60,";font-weight:600;font-size:1rem;line-height:1.5rem;margin-left:4px;@media (max-width: 900px){font-size:0.833rem;line-height:1.375;}","",""),X=({value:e})=>{const r=(0,t.useTheme)();return(0,t.jsx)(U,null,(0,t.jsx)("span",{css:Q},e),(0,t.jsx)("span",{css:G(r)},"BPM"))};const J="HeartRateGradient",Y=[{match:"*",id:J}];var K={name:"1srykpd",styles:"height:65px;width:calc(100% + 40px);margin-inline:-20px"},ee={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"},te={name:"1d3w5wq",styles:"width:100%"};const re=({data:e,caption:o="Heart Rate",color:s})=>{const[l,c]=(0,n.useState)(e?.data?.[0]?.y),[u,d]=(0,n.useMemo)((()=>(0,a.throttle)((e=>c(e?.data?.y)),100)),[]),p=(0,t.useTheme)(),g=s||p.colors.purpleDark;(0,n.useEffect)((()=>()=>d()),[]),(0,n.useEffect)((()=>{c(e?.data?.[0]?.y)}),[e]);const f=(0,n.useMemo)((()=>[(0,v.linearGradientDef)(J,[{offset:100,color:g},{offset:0,color:g}])]),[g]),h=(0,n.useMemo)((()=>({data:[e],colors:g})),[e,g]);return(0,t.jsx)(i.Card,{css:ee},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${p.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_64.png?alt=media&token=aca1639b-62f5-44ed-a0d1-3cea8e4797e2 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_48.png?alt=media&token=7ef68a25-5362-48b9-b359-c46b48d1db54 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fheart%2Fheart_48.png?alt=media&token=7ef68a25-5362-48b9-b359-c46b48d1db54",alt:"Heart"})},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},o)),(0,t.jsx)(i.CardContent,{direction:"column",css:te},(0,t.jsx)("div",{css:K},(0,t.jsx)(k,r({},h,{fill:Y,defs:f,onMouseMove:u}))),null!=l?(0,t.jsx)(X,{value:l}):null))},{formatDayOfWeek:ne}=a.dateFormatters,oe=[0,20,40,60,80,100],ie={margin:{top:28,right:50,bottom:50,left:5},xScale:{type:"time",format:"%L",precision:"day"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!1,reverse:!1},axisRight:{tickSize:0,tickPadding:10,tickRotation:0,tickValues:oe,format:e=>`${e}%`,legend:"",legendOffset:0},axisBottom:{tickSize:0,tickPadding:30,tickRotation:0,legend:"",tickValues:"every day",format:ne},pointColor:{from:"color",modifiers:[]},pointBorderColor:{from:"color",modifiers:[]},legends:[],gridYValues:oe,layers:["grid","markers","axes","areas","crosshair","lines",({currentPoint:e,pointSize:n,pointBorderWidth:o,...i})=>{const s=(0,v.useTheme)();if(!e)return;const a=e;return(0,t.jsx)("g",null,(0,t.jsx)(v.DotsItem,r({key:a.id,x:a.x,y:a.y,color:a.color,borderColor:a.borderColor,datum:a.data,theme:s,size:n||0,borderWidth:o||0},i)))},"slices","mesh","legends"]},se=({colorName:e,point:r})=>{const n=`${(o=String(r.serieId))[0].toUpperCase()}${o.substring(1)}`;var o;const{data:{y:s,comp:a,unit:l}}=r,c=a&&"arrow-"+(a>0?"up":"down")||void 0;return(0,t.jsx)(i.ProgressChartTooltip,{caption:n,value:s,valueFormatted:`${a}${l}`,iconName:c,barProps:{color:e}})},ae=["pink","purple","turquoise","yellow","green","blue"],le=({data:e,...o})=>{const i=(0,t.useTheme)(),s=(0,n.useMemo)((()=>ae.reduce(((e,t)=>(e[i.colors[`${t}Lighter`]]=t,e)),{})),[i.colors]),a=(0,n.useMemo)((()=>Object.assign(ie,{colors:ae.map((e=>i.colors[`${e}Lighter`])),tooltip:({point:e})=>{const r=s[e.color];return(0,t.jsx)(se,{point:e,colorName:r})},theme:{fontFamily:"'Manrope', sans-serif",axis:{ticks:{text:{fontSize:"0.833rem",fontWeight:500,fill:i.colors.greyDarker}}},grid:{line:{stroke:i.colors.greyLighter,strokeWidth:1,strokeDasharray:"8 8"}}}})),[i.colors,s]);return(0,t.jsx)(w.ResponsiveLine,r({data:e,curve:"catmullRom",axisTop:null,axisLeft:null,enableGridX:!1,enableGridY:!0,lineWidth:1,enablePoints:!0,pointSize:8,pointBorderWidth:0,pointLabelYOffset:-12,enableArea:!1,areaOpacity:.1,enableCrosshair:!1,useMesh:!0,animate:!1},a,o))},{formatTime:ce,formatDayOfWeek:ue,formatDate:de}=a.dateFormatters;var pe=(e,t,r="day")=>{const[o,i]=(0,n.useState)(0),s=(0,n.useRef)((0,a.throttle)((e=>{i(e[0].contentRect.width)}),50)),l=(0,n.useRef)(new ResizeObserver(s?.current?.[0]));return(0,n.useEffect)((()=>{const t=e.current;return l.current&&t&&l.current.observe(t),()=>{l.current&&t&&l.current.unobserve(t)}}),[e,l]),(0,n.useEffect)((()=>()=>{if(s.current){const[,e]=s.current;e()}}),[s]),(0,n.useMemo)((()=>({xScale:{type:"time",format:"%L",precision:"week"===r?"day":r},axisBottom:{tickSize:0,tickPadding:30,legend:"",tickValues:o<600?7:void 0,tickRotation:o<600?30:0,format:"hour"===r?ce:"week"===r?ue:de}})),[t,o,r])};var ge={name:"as11ew",styles:"line-height:normal"},fe={name:"1d3w5wq",styles:"width:100%"},he={name:"1otqacd",styles:"height:227px;svg{overflow:visible;}"};const xe=({caption:e="Meal Nutrients",options:o,data:s,onOptionChange:a})=>{const[l,c]=(0,n.useState)(),u=(0,n.useRef)(null),d=pe(u,s,l?.precision);(0,n.useEffect)((()=>{o?.length>0&&null==l&&p(o[0])}),[o]);const p=e=>{const t=o.filter((t=>t.value===e.value))[0];c(t),a&&a(t)};return(0,t.jsx)("div",{ref:u},(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold",css:ge},e),o?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:o[0],onChange:p},o.map((e=>(0,t.jsx)(i.DropdownOption,{key:e.value,value:e.value,label:e.label}))))),(0,t.jsx)(i.Card,null,(0,t.jsx)(i.CardContent,{direction:"column",css:fe},(0,t.jsx)("div",{css:he},s?.length>0&&(0,t.jsx)(le,r({data:s},d))))))};var me=c(128);var be=q("nav",{target:"e15k97860"})("align-items:center;justify-content:center;z-index:9999;color:",(({theme:e})=>e.colors.greyLighter),";input[type='checkbox']{display:none;&:checked{&~div:first-of-type{background-color:#dee1ec;}&~div:nth-of-type(2){transform:translateY(0);border-radius:12px 12px 0 0;height:calc(100vh - 60px);",(({theme:e})=>e.mediaQueries.lg),"{border-radius:0;height:100vh;}}}}",(({theme:e})=>e.mediaQueries.lg),"{display:flex;top:0;border-radius:0;button{display:none;}}");var ye=q("div",{target:"e13c6ff40"})("position:absolute;top:60px;left:0;width:56px;border-radius:12px 12px 0 0;background:linear-gradient(\n 108.3deg,\n ",(({theme:e})=>e.colors.greyDarker)," -0.36%,\n ",(({theme:e})=>e.colors.greyDarker)," 100%\n );transform:translateY(-200vh);transition:height 475ms ease,transform 450ms ease,border-radius 450ms ease;",(({theme:e})=>e.mediaQueries.md),"{width:64px;}",(({theme:e})=>e.mediaQueries.xlg),"{display:flex;position:fixed;top:0;width:94px;height:100vh;border-radius:0;transform:translateY(0);}");var ve=q("ul",{target:"e12lkdk0"})({name:"t0tg5g",styles:"display:flex;flex-wrap:wrap;list-style:none;align-items:center;align-self:center;height:486px;padding:0"});var we=q("li",{target:"eybh96z0"})({name:"fd4ibt",styles:"display:flex;flex:1 1 100%;align-items:center;justify-content:center;height:65px"});var Ce=q(me.Link,{target:"e1nx84b50"})("cursor:pointer;&:hover{svg{filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.white})`),";}}",(({active:e,theme:t})=>e&&`\n svg {\n filter: drop-shadow(-4px 4px 14px ${t.colors.white});\n \n path {\n fill: ${t.colors.white};\n }\n }\n `),";");var ke=q("div",{target:"e1wac53j0"})("display:flex;flex-wrap:wrap;align-items:center;justify-content:center;border:none;border-radius:25px;background:transparent;height:36px;width:36px;",(({theme:e})=>e.mediaQueries.lg),"{display:none;}");var je={name:"1apeu08",styles:"cursor:pointer;height:20px;width:20px;transform:scale(-1, 1);span{height:2px;width:100%;background:black;display:block;margin:3px 0;&:nth-of-type(2){width:80%;}}"};var Le=({htmlFor:e})=>(0,t.jsx)(ke,null,(0,t.jsx)("label",{htmlFor:e,css:je},(0,t.jsx)("span",null),(0,t.jsx)("span",null),(0,t.jsx)("span",null)));const Se=({items:e})=>{const r=(0,n.useId)(),{pathname:o}=(0,me.useLocation)(),s=(0,t.useTheme)();return(0,t.jsx)(be,null,(0,t.jsx)("input",{type:"checkbox",id:r}),(0,t.jsx)(Le,{htmlFor:r}),(0,t.jsx)(ye,null,(0,t.jsx)(ve,null,e.map((({path:e,iconName:r})=>(0,t.jsx)(we,{key:e},(0,t.jsx)(Ce,{to:"/"+e,active:o===e||void 0},(0,t.jsx)(i.Icon,{name:r,color:s.colors.grey}))))))))};var Me=c(812);const Te=q("div",{target:"e29btp71"})({name:"jy88eh",styles:"display:flex;flex-direction:row;justify-content:space-between;align-items:center;&>.pie-chart-wrapper{position:relative;width:160px;height:160px;}"}),De=q("div",{target:"e29btp70"})({name:"917u4b",styles:"position:absolute;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center;text-align:center"}),Ee=({data:e,as:n,className:o,title:i,children:s,...a})=>(0,t.jsx)(Te,{as:n,className:o},(0,t.jsx)("div",{className:"pie-chart-wrapper"},(0,t.jsx)(Me.ResponsivePie,r({data:e,isInteractive:!1,innerRadius:.8,enableArcLinkLabels:!1,enableArcLabels:!1,padAngle:2,cornerRadius:16,activeOuterRadiusOffset:8,colors:{datum:"data.color"},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:"#333333",arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:"color"},arcLabelsSkipAngle:10,layers:["arcs"]},a)),i&&(0,t.jsx)(De,null,i)),s);const Oe=q(i.Badge,{target:"eyg73b90"})({name:"czkajx",styles:"display:inline-block;padding:0;margin-right:12px;width:8px;height:8px"});const Re=q("ul",{target:"e1mxrrmh0"})({name:"8ev57u",styles:"display:flex;flex-flow:column;justify-content:center;list-style:none;height:100%;padding:0;margin:0;gap:14px;li{display:flex;align-items:center;height:20px;}"}),Pe=({data:e,colors:r,renderLabel:o,renderValue:s,markerStyles:a,labelListStyles:l,valueListStyles:c})=>{const u=(0,t.useTheme)();return(0,t.jsx)(n.Fragment,null,(0,t.jsx)(Re,{css:l},e.map(((e,n)=>{const{id:s,label:l}=e;return(0,t.jsx)("li",{key:`tag-${s}`},(0,t.jsx)(Oe,{color:r[n]||"purple",as:"span",css:a}),(0,t.jsx)(i.Typography,{variant:"h6"},"function"==typeof o?o(e):l))}))),(0,t.jsx)(Re,{css:c},e.map((e=>(0,t.jsx)("li",{key:`subtitle-${e.id}`},(0,t.jsx)(i.Typography,{variant:"subtitle",color:u.colors.greyDarker60},"function"==typeof s?s(e):e.value))))))},ze=(0,t.withTheme)((({theme:e,total:r})=>(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",color:e.colors.greyDarker60,css:(0,t.css)("font-size:13px;line-height:16px;margin-top:-5px;",e.mediaQueries.md,"{font-size:16px;font-weight:700;}","","")},"Total",(0,t.jsx)(i.Typography,{variant:"body2",weight:"bold",color:e.colors.greyDarker,as:"span",css:(0,t.css)("font-size:19px;line-height:23px;display:block;",e.mediaQueries.md,"{font-size:27.65px;line-height:35px;}","","")},r,(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",as:"span",color:e.colors.greyDarker60,css:(0,t.css)("font-size:13px;font-weight:600;margin-left:3px;",e.mediaQueries.md,"{font-size:16px;}","","")},"hrs"))))),Ae=e=>(0,t.css)("width:100%;height:100%;max-width:380px;div:nth-of-type(1){width:120px;height:120px;}",e.mediaQueries.md,"{div:nth-of-type(1){width:160px;height:160px;}}","","");var Ie={name:"1uqairc",styles:"border-radius:20px;padding-inline:24px;padding-block:24px"};const $e=({data:e,className:r})=>{const[o,s]=(0,n.useState)([]),[a,l]=(0,n.useState)(),[c,u]=(0,n.useState)([]),d=(0,t.useTheme)();(0,n.useEffect)((()=>{if(Object.keys(e).length>0){const t=[];Object.keys(e).forEach((r=>{Object.keys(e[r]).length>0&&t.push({value:r,id:r})})),s(t),l(t[0]),g(t[0].id)}}),[e]);const p=(e,t)=>({...e,value:e.value+(t?.value?t.value:0)}),g=t=>{const r=[];Object.keys(e[t]).forEach((n=>{const o=e[t][n].reduce(p);r.push(o)})),u(r)};return(0,t.jsx)(i.Card,{css:Ie,className:r},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold"},"Progress"),Object.keys(o).length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:a,onChange:e=>{g(e.value)}},o.map(((e,r)=>(0,t.jsx)(i.DropdownOption,{key:r,value:e.value}))))),c.length>0?(0,t.jsx)(Ee,{data:c,css:Ae(d),title:(0,t.jsx)(ze,{theme:d,total:c.reduce(((e,{value:t})=>e+t),0)})},(0,t.jsx)(Pe,{data:c,colors:c.map((({colorTag:e})=>e||"purple")),renderValue:({value:e})=>e+" hrs"})):null)};var Ne={name:"1fgo50s",styles:"list-style:none;padding:0;li{margin-bottom:15px;}"};const Ze=({title:e,items:r,renderItem:o})=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},e),(0,t.jsx)("ul",{css:Ne},Array.isArray(r)&&r.map((e=>(0,t.jsx)("li",{key:e.id},o(e))))));var Ve={name:"1g7ta9s",styles:"display:flex;justify-content:space-between;align-items:center;width:100%;padding-left:15px"};const He=()=>Ve;var Be={name:"10ava9y",styles:"width:calc(100% - 42px)"};const Fe=({image:e,title:r,workoutTime:n,renderDetails:o,onClick:s})=>{const a=(0,t.useTheme)();return(0,t.jsx)(i.Card,{noShadow:!0},(0,t.jsx)(i.Wrapper,{direction:"row"},(0,t.jsx)(i.Avatar,{size:42,image:e}),(0,t.jsx)(i.CardContent,{css:Be},(0,t.jsx)(i.Wrapper,{direction:"column"},(0,t.jsx)("div",{css:He},(0,t.jsx)(i.Typography,{variant:"h6"},r),(0,t.jsx)(i.Button,{endIcon:(0,t.jsx)(i.Icon,{name:"more"}),variant:"tertiary",size:"small",onClick:s})),(0,t.jsx)("div",{css:He},(0,t.jsx)(i.Typography,{variant:"subtitle",color:a.colors.greyDarker60,as:"p"},o()),(0,t.jsx)(i.Typography,{variant:"subtitle",as:"p"},n))))))},We=({workouts:e})=>(0,t.jsx)(Ze,{title:"Upcoming Workout",items:e,renderItem:e=>(0,t.jsx)(Fe,{image:e.image,title:e.title,workoutTime:e.workoutTime,onClick:e.handleClick,renderDetails:()=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)("strong",null,e.details.exercises)," Exercises |"," ",(0,t.jsx)("strong",null,e.details.minutes)," mins")})});var _e={name:"7mn33w",styles:"flex:1 1 auto;margin-left:11.5px"};const qe=({active:e,completed:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)("div",{css:_e},(0,t.jsx)("span",{css:(0,t.css)("display:block;border-color:",e||r?n.colors.blueLightLighter:n.colors.greyDarker60,";border-left-style:dashed;border-left-width:1px;min-height:20px;","","")}))},Ue=e=>{const{active:r,completed:n}=e,o=(0,t.useTheme)();return(0,t.jsx)("div",{css:(0,t.css)("width:6px;height:6px;background-color:",r||n?o.colors.blueLightLighter:o.colors.greyDarker60,";border-radius:50%;","","")})};var Qe={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"},Ge={name:"1n5h93v",styles:"width:100%;justify-content:center;align-items:stretch"};const Xe=({minValue:e=0,maxValue:r=100,currentValue:n,active:o,steps:s,unit:a="%"})=>{const l=(0,t.useTheme)(),c=Math.round(100*n/r);return(0,t.jsx)(i.Card,{css:Qe},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0px 5px 5px ${l.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_64.png?alt=media&token=2abf9f9c-2159-4235-856c-f054783a007d 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fwater%2Fwater_48.png?alt=media&token=abc1e619-940a-4fc0-9f83-ef0a998464f2",alt:"Water"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Water")),(0,t.jsx)(i.CardContent,{css:Ge},(0,t.jsx)("div",{style:{fontSize:14,marginRight:"15px"}},(0,t.jsx)(i.ProgressVertical,null,(0,t.jsx)(i.ProgressLegend,null,(0,t.jsx)(i.ProgressLegendItem,{position:"end",percentage:100},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${r}${a}`)),(0,t.jsx)(i.ProgressLegendItem,{position:"current",percentage:c},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${n}${a}`)),(0,t.jsx)(i.ProgressLegendItem,{position:"start",percentage:0},(0,t.jsx)("span",{style:{textAlign:"right",display:"block",paddingRight:6}},`${e}${a}`))),(0,t.jsx)(i.ProgressBar,{percentage:c,color:"blueLight"}))),(0,t.jsx)(i.Stepper,{color:l.colors.blueLight,activeStep:o,orientation:"vertical",inverted:!0,sx:{rowGap:0}},s.map(((e,r)=>(0,t.jsx)(i.Step,{key:r,Connector:qe},(0,t.jsx)(i.StepLabel,{StepIcon:Ue},(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9}},e.caption),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:9,fontWeight:700}},e.title))))))))};const Je=q("div",{target:"e1n6hn4h0"})({name:"1oaiz4z",styles:"width:100%;height:14px;background:linear-gradient(\n 90deg,\n #8b60f4 0%,\n #658fdf 16.67%,\n #69cdd0 35.42%,\n #88e4c3 51.04%,\n #edba5d 68.23%,\n #ed8f66 84.38%,\n #f28689 100%\n );border-radius:21px"}),Ye=q("div",{target:"etdmc4t0"})("position:absolute;left:",(({percentage:e})=>e),"%;top:0;width:14px;height:14px;background:#2b2d31;box-shadow:-4px 4px 10px rgba(42, 48, 57, 0.2);border-radius:19px;"),Ke=q("div",{target:"e1968qvg0"})("display:flex;padding:8px 16px;background:",(({theme:e})=>e.colors.greyLighter),";border-radius:12px;align-items:center;");const et=q(i.Typography,{target:"ejsfewa0"})({name:"h16vwx",styles:"position:absolute;left:65%"});var tt={name:"13f8x48",styles:"left:80%"},rt={name:"322hte",styles:"left:60%"},nt={name:"1s4icj2",styles:"left:20%"},ot={name:"1i0rnv0",styles:"position:relative;margin-top:5px"};const it=()=>(0,t.jsx)("div",{css:ot},(0,t.jsx)(et,{variant:"subtitle",css:nt},"18.5"),(0,t.jsx)(et,{variant:"subtitle",css:rt},"25"),(0,t.jsx)(et,{variant:"subtitle",css:tt},"30"));const st=e=>(0,t.css)("display:flex;h6{line-height:1.625rem;margin-left:10px;color:",e.colors.greyDarker60,";}","",""),at={name:"1fgsgvi",styles:"position:relative;width:100%;padding-top:20px"};var lt={name:"1d3w5wq",styles:"width:100%"},ct={name:"zccqi5",styles:"box-shadow:0 10px 40px rgba(29, 22, 23, 0.07);border-radius:16px;padding-bottom:40px"};const ut=({height:e=175,weight:r=66})=>{const[o,s]=(0,n.useState)(""),[a,l]=(0,n.useState)(0),c=Number((r/(e*e)*1e4).toFixed(1)),u=()=>{s("Under Weight"),l(10)},d=()=>{s("Healthy"),l(40)},p=()=>{s("Overweight"),l(70)},g=()=>{s("Obese"),l(90)};return(0,n.useEffect)((()=>{c<18.5?u():c>18.5&&c<=24.9?d():c>24.9&&c<30?p():g()}),[c]),(0,t.jsx)(n.Fragment,null,(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)("div",{css:st},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},"BMI"," "),(0,t.jsx)(i.Typography,{variant:"h6"},"Body Mass Index"))),(0,t.jsx)(i.Card,{css:ct},(0,t.jsx)(i.CardHeader,null,(0,t.jsx)(i.Typography,{variant:"h2",weight:"medium"},c),(0,t.jsx)(Ke,null,(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"lighter"},"You're ",o))),(0,t.jsx)(i.CardContent,{css:lt},(0,t.jsx)("div",{css:at},(0,t.jsx)(Ye,{"data-testid":"bmi-pointer",percentage:a}),(0,t.jsx)(Je,null),(0,t.jsx)(it,null)))))},dt=e=>(0,t.css)("h6{line-height:23px;}p{color:",e.colors.greyDarker60,";line-height:23px;}","","");var pt={name:"ui9771",styles:"width:calc(100% - 42px);padding-left:15px"},gt={name:"1ch9yvl",styles:"border-radius:0"};const ft=({image:e,title:r,details:n,progressProps:o})=>{const{size:s=50,max:a=100,currentValue:l=0,infoContent:c,color:u="blue"}=o;return(0,t.jsx)(i.Card,{noShadow:!0},(0,t.jsx)(i.Wrapper,{direction:"row",avatarSize:42},(0,t.jsx)(i.Avatar,{size:42,image:e,css:gt}),(0,t.jsx)(i.CardContent,{css:pt},(0,t.jsx)("div",{css:dt},(0,t.jsx)(i.Typography,{variant:"h6"},r),(0,t.jsx)(i.Typography,{variant:"subtitle",as:"p"},n)),(0,t.jsx)(i.ProgressCircle,{size:s,max:a,currentValue:l,infoContent:c||(0,t.jsx)(i.Typography,{variant:"body1"},l,"%"),color:u}))))},ht=({goals:e})=>(0,t.jsx)(Ze,{title:"Goals",items:e,renderItem:e=>(0,t.jsx)(ft,{image:e.image,title:e.title,details:e.details,progressProps:{currentValue:e.completion,color:e.color}})});var xt=q(i.Badge,{target:"e12bwihj0"})({name:"1c9h7mo",styles:"display:inline-block;padding:0;margin-right:5px;width:4px;height:4px"});var mt={List:q("ul",{target:"e1yfjgtr1"})({name:"wmff3h",styles:"display:flex;justify-content:space-between;list-style:none;width:100%;height:20px;padding:0;margin:0;margin-bottom:8px"}),Item:q("li",{target:"e1yfjgtr0"})({name:"s5xdrg",styles:"display:flex;align-items:center"})};var bt=q("ul",{target:"e1obar840"})({name:"1bn6kyv",styles:"display:flex;list-style:none;width:100%;height:20px;padding:0;margin:0;&>li:nth-of-type(2n):not(:last-child){margin:0 5px;}"});const yt={carbs:"yellow",protein:"green",fat:"blue"};var vt={name:"azty0s",styles:"width:calc(100% - 64px);padding-left:15px"},wt={name:"14aax6i",styles:"margin-top:5.6px"};const Ct=({name:e,image:r,carbs:n,protein:o,fat:s})=>{const a={carbs:n,protein:o,fat:s};return(0,t.jsx)(i.Wrapper,{css:wt},(0,t.jsx)(i.Avatar,{size:64,image:r}),(0,t.jsx)("div",{css:vt},(0,t.jsx)(i.Typography,{variant:"h6",weight:"medium"},e),(0,t.jsx)(mt.List,null,Object.keys(a).map((e=>(0,t.jsx)(mt.Item,{key:e},(0,t.jsx)(xt,{color:yt[e]}),(0,t.jsx)(i.Typography,{variant:"body1"},a[e],"% ",e))))),(0,t.jsx)(bt,null,Object.keys(a).map((e=>(0,t.jsx)("li",{css:(0,t.css)("width:",a[e],"%;","",""),key:e},(0,t.jsx)(i.ProgressBar,{percentage:100,color:yt[e]})))))))};const kt=q(i.DropdownOption,{target:"e1mo13t60"})({name:"dzdmk4",styles:"text-align:left;line-height:18px;font-size:11px"});var jt={name:"17y49kf",styles:"flex-direction:column;width:100%"},Lt={name:"as11ew",styles:"line-height:normal"};const St=({data:e})=>{const[o,s]=(0,n.useState)(null),[a,l]=(0,n.useState)([]),c=e=>{const t=e.value.toString().toLowerCase();s(t)};return(0,n.useEffect)((()=>{null!=e&&"object"==typeof e&&l(Object.keys(e).map(((t,r)=>({id:r,value:`${t.charAt(0).toUpperCase()}${t.slice(1)}`,label:`${t.charAt(0).toUpperCase()}${t.slice(1)} | ${e[t].time}`,extraVal:e[t].time}))))}),[e]),(0,n.useEffect)((()=>{a?.length>0&&null==o&&c(a[0])}),[a]),(0,t.jsx)("div",null,(0,t.jsx)(i.CardHeader,{transparent:!0},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold",css:Lt},"Meal Planner"),a?.length>0&&(0,t.jsx)(i.Dropdown,{selectedItem:a[0],onChange:c},a.map(((e,r)=>(0,t.jsx)(kt,{key:r,value:e.value,label:e.label.toString()},(0,t.jsx)("span",{style:{fontSize:13,fontWeight:500}},e.value)," | ",(0,t.jsx)("span",{style:{fontSize:11,fontWeight:500}},e.extraVal)))))),(0,t.jsx)(i.Card,null,(0,t.jsx)(i.CardContent,{css:jt},o&&e[o].data.map((({id:e,...n})=>(0,t.jsx)(Ct,r({key:e},n)))))))};var Mt={name:"1rcnabe",styles:"width:100%;margin:10px 0"},Tt={name:"192owum",styles:"font-size:33px;font-weight:bold"},Dt={name:"1paxtit",styles:"box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);border-radius:20px"};const Et=({max:e,currentValue:r})=>{const n=(0,t.useTheme)(),o=Math.round(r/e*100);return(0,t.jsx)(i.Card,{css:Dt},(0,t.jsx)(i.CardHeader,{icon:(0,t.jsx)(i.ResponsiveImage,{css:(0,t.css)({filter:`drop-shadow(0 5px 5px ${n.colors.grey})`},"",""),srcSet:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_64.png?alt=media&token=22d59e48-da19-448a-98e3-25f396108243 64w, https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_48.png?alt=media&token=7c66d777-ddad-416a-9f07-a89dd3167ca7 48w",sizes:"(min-width: 1440px) 64px, 48px",src:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fsteps%2Fsteps_48.png?alt=media&token=7c66d777-ddad-416a-9f07-a89dd3167ca7",alt:"Steps"})},(0,t.jsx)(i.Typography,{variant:"h6",weight:"bold"},"Steps")),(0,t.jsx)(i.CardContent,{style:{flexWrap:"wrap"}},(0,t.jsx)("div",null,(0,t.jsx)("span",{css:Tt},r),(0,t.jsx)("span",null,"Steps")),(0,t.jsx)("div",{css:Mt},(0,t.jsx)(i.ProgressBar,{percentage:o,color:"green"})),(0,t.jsx)(i.Typography,{variant:"body1",css:(0,t.css)("color:",n.colors.greyDarker60,";","","")},!Number.isNaN(o)&&`${o}% of your goals`)))};const Ot=e=>(0,t.css)("display:flex;width:92px;height:68px;align-items:center;flex-flow:column;justify-content:center;background:",e.colors.white,";border-radius:16px;box-shadow:0 10px 40px rgba(42, 48, 57, 0.08);","","");var Rt={name:"1sw7psn",styles:"align-items:baseline;justify-content:center"};var Pt=({value:e,unit:r,caption:n})=>(0,t.jsx)("div",{css:Ot},(0,t.jsx)(i.Wrapper,{css:Rt},(0,t.jsx)(i.Typography,{variant:"h4",weight:"bold"},e),(0,t.jsx)(i.Typography,{variant:"subtitle"},r)),(0,t.jsx)(i.Typography,{variant:"subtitle"},n));const zt={name:"d346af",styles:"display:flex;justify-content:space-between;list-style:none;padding:0;li{max-width:92px;}"};var At=({weight:e,height:r,age:n})=>(0,t.jsx)("ul",{css:zt},(0,t.jsx)("li",null,(0,t.jsx)(Pt,{value:e||"",unit:"kg",caption:"Weight"})),(0,t.jsx)("li",null,(0,t.jsx)(Pt,{value:r||"",unit:"cm",caption:"Height"})),(0,t.jsx)("li",null,(0,t.jsx)(Pt,{value:n||"",unit:"yrs",caption:"Age"})));const It=e=>(0,t.css)("display:flex;align-items:center;button{display:none;}",e.mediaQueries.lg,"{justify-content:space-between;button{display:block;}}","","");var $t={name:"3u6yym",styles:"padding-inline:15px"},Nt={name:"s5xdrg",styles:"display:flex;align-items:center"};var Zt=({name:e,email:r})=>(0,t.jsx)("div",{css:It},(0,t.jsx)("div",{css:Nt},(0,t.jsx)(i.Avatar,{size:42,image:"https://firebasestorage.googleapis.com/v0/b/admin-themes.appspot.com/o/img%2Fface%2Fface_46.png?alt=media&token=aaa3a75c-4779-4887-b011-352f8dd6c214"}),(0,t.jsx)("div",{css:$t},(0,t.jsx)(i.Typography,{variant:"subtitle"},e),(0,t.jsx)(i.Typography,{variant:"body1"},r))),(0,t.jsx)(i.Button,{variant:"tertiary",size:"large",endIcon:(0,t.jsx)(i.Icon,{name:"notification"})}));const Vt=e=>(0,t.css)("display:grid;grid-template-columns:50px auto;align-items:center;",e.mediaQueries.lg,"{grid-template-columns:auto;}","","");var Ht={name:"e0dnmk",styles:"cursor:pointer"};var Bt=({user:e})=>(0,t.jsx)(n.Fragment,null,(0,t.jsx)("div",{css:Vt},(0,t.jsx)("div",{css:e=>(0,t.css)(e.mediaQueries.lg,"{display:none;}","","")},(0,t.jsx)("label",{htmlFor:"aside",css:Ht},(0,t.jsx)(i.Icon,{name:"carrot-left",size:16}))),(0,t.jsx)(Zt,{name:e?.name,email:e?.email})),(0,t.jsx)(At,{weight:e?.weight,height:e?.height,age:e?.age})),Ft=c(94);const Wt=e=>(0,t.css)("height:30px;border-radius:6px;",e.mediaQueries.md,"{height:25px;}","",""),_t=e=>(0,t.css)("background:",e.colors.blueLightDarker,";background:linear-gradient(\n 247.37deg,\n ",e.colors.blueDark,",\n ",e.colors.blueLightDarker,"\n );","",""),qt=e=>(0,t.css)(Wt(e)," padding:0 8px;background:",e.colors.white,";&:disabled{cursor:default;background:unset;}&:not(:disabled):hover{box-shadow:0 5px 5px -2px rgba(0, 0, 0, 0.2);cursor:pointer;}","",""),Ut=({direction:e,onClick:r,isDisabled:n,className:o})=>{const s=(0,t.useTheme)();return(0,t.jsx)(i.Button,{startIcon:(0,t.jsx)(i.Icon,{name:`carrot-${e}`,size:12,color:s.colors.greyDisabled}),variant:"custom",onClick:r,isDisabled:n,size:"small",className:o,css:qt(s),"aria-label":`Go to ${"left"===e?"previous":"next"} page`})};var Qt={name:"1ll9bqd",styles:"cursor:default"};const Gt=()=>(0,t.jsx)("span",{css:Qt},"..."),Xt=({onClick:e,isSelected:r,page:o})=>{const s=(0,t.useTheme)(),a=(0,n.useMemo)((()=>r?(e=>(0,t.css)(Wt(e)," ",_t(e)," color:white;margin:0 3px;padding:0 13px;",e.mediaQueries.md,"{padding:0 10px;}&:hover{box-shadow:0 5px 5px -1px rgba(0, 0, 0, 0.3);cursor:default;}&:hover,&:active,&:focus{",_t(e),";}","",""))(s):(e=>(0,t.css)(Wt(e)," background:unset;box-shadow:unset;color:#070821;padding:0 11px;",e.mediaQueries.md,"{padding:0 9px;}&:hover,&:active,&:focus{background:#eef1f7;box-shadow:unset;}","",""))(s)),[r]);return(0,t.jsx)(i.Button,{size:"small",variant:"secondary",onClick:r?()=>{}:e,css:a,"aria-label":r?`Current page ${o}`:`Go to page ${o}`,"aria-current":r},o)},Jt=({range:e,selectedPage:r,onClick:n})=>Array.isArray(e)&&e.map(((e,o)=>-1===e?(0,t.jsx)(Gt,{key:o}):(0,t.jsx)(Xt,{key:o,page:e,isSelected:e===r,onClick:()=>n(e)}))),Yt=(0,n.createContext)({}),Kt=()=>(0,n.useContext)(Yt),er=({selectedPage:e,children:r})=>{const[o,i]=(0,n.useState)(e);return(0,t.jsx)(Yt.Provider,{value:{page:o,setPage:i}},r)};const tr=q("nav",{target:"e1ccwy860"})("");var rr={name:"1j97xhc",styles:"margin-right:12px"},nr={name:"lrb7um",styles:"margin-left:7px"};var or=({pagesCount:e,className:r,as:n,ariaLabel:o})=>{const{page:i,setPage:s}=Kt(),a=(0,Ft.usePaginationRange)({pagesCount:e,selectedPage:i});return(0,t.jsx)(tr,{className:r,as:n,"aria-label":o||"Pagination"},(0,t.jsx)(Ut,{direction:"left",onClick:()=>{i&&s(i-1)},isDisabled:null==e||e<=1||null==i||1===i,css:rr}),(0,t.jsx)(Jt,{range:a,selectedPage:i,onClick:s}),(0,t.jsx)(Ut,{direction:"right",onClick:()=>{i&&s(i+1)},isDisabled:null==e||e<=1||null==i||i===e,css:nr}))};var ir={name:"1ytt2st",styles:"justify-content:flex-start;align-items:baseline;gap:2px"},sr={name:"xutw8p",styles:"display:flex;align-self:center;margin-left:3px"};var ar=({value:e,unit:r,icon:n})=>{const o=(0,t.useTheme)();return(0,t.jsx)(i.CardContent,{css:ir},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",color:o.colors.greyDarker},e),r?(0,t.jsx)(i.Typography,{"data-testid":"unit",variant:"h6",weight:"lighter"},r):null,n?(0,t.jsx)("div",{css:sr},n):null)};var lr={name:"rnnx2x",styles:"font-size:12px"};var cr=({trigger:e,children:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.Tooltip,{offsetPx:0,enableHover:!0,enableClick:!1,arrowProps:{width:18,height:3,fill:n.colors.greyGraphite}},(0,t.jsx)(i.TooltipTrigger,null,(0,t.jsx)("div",{"data-testid":"tooltip-trigger"},e)),(0,t.jsx)(i.TooltipContent,{css:(0,t.css)("padding:4px 5px;border-radius:2px;background:",n.colors.greyGraphite,";svg{margin-bottom:-1px;}","","")},(0,t.jsx)(i.Typography,{css:lr,color:n.colors.white},r)))};const ur=e=>(0,t.css)("position:relative;display:flex;flex-direction:column;align-items:flex-start;width:max-content;min-width:100%;background:",e.colors.greyLighter,";padding:4px 10px;border-radius:6px;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none;user-select:none;&::before{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;box-shadow:0 10px 40px 0 ",e.colors.greyShadow,";content:'';}&:active{background:",e.colors.white,";&::before{border-radius:6px;box-shadow:0 10px 40px 0 ",e.colors.greyShadow24,";}}","","");var dr=({onClick:e,link:r,children:n})=>(0,t.jsx)(o().Fragment,null,r?(0,t.jsx)(me.Link,{to:r,css:ur},n):(0,t.jsx)(i.CardBase,{role:e?"button":"region",tabIndex:e?0:-1,onClick:()=>{"function"==typeof e&&e()},css:ur},n));var pr={name:"rnnx2x",styles:"font-size:12px"};var gr=({value:e,unit:r,title:n,onClick:o,icon:s,link:a})=>{const l=Number(e),c=Number.isInteger(l),u=Number.isNaN(l)?e:Math.floor(l);return(0,t.jsx)(dr,{onClick:o,link:a},c||Number.isNaN(l)?(0,t.jsx)(ar,{value:u,unit:r,icon:s}):(0,t.jsx)(cr,{trigger:(0,t.jsx)(ar,{value:u,unit:r,icon:s})},e," ",r),(0,t.jsx)(i.CardContent,null,(0,t.jsx)(i.Typography,{css:pr},n)))};var fr=q("div",{target:"e1xdy4lf0"})("display:grid;gap:5px;grid-auto-flow:column;overflow:auto;",(({theme:e})=>e.mediaQueries.md),"{grid-template-columns:",(({itemsPerRow:e})=>e&&`repeat(${e}, 1fr)`),";grid-auto-flow:inherit;overflow:inherit;}");var hr=({items:e,onClick:r,renderCard:n,...o})=>(0,t.jsx)("div",null,(0,t.jsx)(fr,o,e.map(((e,o)=>(0,t.jsx)("div",{key:o},"function"==typeof n?n(e,r):(0,t.jsx)(gr,{value:e.value,unit:e.unit,title:e.title,icon:e.icon,link:e.link,onClick:()=>{"function"==typeof r&&r(e)}}))))));const xr=e=>(0,t.css)("position:relative;display:grid;column-gap:9px;grid-template-columns:auto 1fr auto;padding:14px 12px;align-items:flex-start;&:not(:last-child){margin-bottom:5px;}",e.mediaQueries.md,"{column-gap:12px;padding:14px 18px 14px 12px;&:not(:last-child){margin-bottom:10px;}}",e.mediaQueries.xs,"{padding:10px 8px;}","",""),mr=e=>(0,t.css)("display:grid;grid-row:1/span 2;height:auto;width:fit-content;padding:8px;border-radius:6px;box-shadow:-4px 12px 14px 0 #dae1e1;",e.mediaQueries.md,"{padding:11px;border-radius:12px;svg{width:20px;height:20px;}}","",""),br=e=>(0,t.css)("grid-row:1;grid-column:2;margin-bottom:2px;",e.mediaQueries.md,"{margin-top:-3px;font-size:16px;line-height:20px;}",e.mediaQueries.xs,"{grid-row:2;}","",""),yr=e=>(0,t.css)("grid-row:2;grid-column:2/span 3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&:hover{overflow:visible;text-overflow:inherit;white-space:normal;}",e.mediaQueries.md,"{font-size:13.3px;line-height:20px;overflow:visible;text-overflow:inherit;white-space:normal;}",e.mediaQueries.xs,"{grid-row:3;}","",""),vr=e=>(0,t.css)("grid-row:1;grid-column:3;text-align:right;",e.mediaQueries.xs,"{grid-column:2;text-align:left;}","",""),wr={Informational:{icon:"information",color:"blueLight"},Warning:{icon:"warning",color:"yellowWarm"},Error:{icon:"attention",color:"pink"}},Cr=({title:e,children:r,text:n,isRead:o,type:s,time:l,onClick:c})=>{const u=(0,t.useTheme)(),{getTimeAgo:d}=a.dateFormatters;return(0,t.jsx)(i.CardBase,{"data-testid":"notification",css:xr,noShadow:!0,onClick:()=>{"function"==typeof c&&c()}},(0,t.jsx)(i.Indicator,{isVisible:!o},(0,t.jsx)(i.Badge,{"data-testid":"badge",color:wr[s].color,css:mr},(0,t.jsx)(i.Icon,{name:wr[s].icon,color:u.colors.white,size:14}))),(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"medium",css:br,color:u.colors.greyDarker},e),(0,t.jsx)(i.Typography,{variant:"body1",weight:"regular",css:yr,color:u.colors.greyDarker60},n),r,(0,t.jsx)(i.Typography,{variant:"body1",weight:"regular",css:vr,color:u.colors.greyDarker},d(l)))},kr=q("div",{target:"ef2o37u0"})("display:flex;flex-direction:row;justify-content:space-between;a{display:flex;align-items:center;position:relative;padding:8px 4px;font-size:14px;text-decoration:none;color:",(({theme:e})=>e.colors.greyDropdownFocused),";}",(({theme:e})=>e.mediaQueries.md),"{a{font-size:18px;}}a.active{font-weight:700;color:",(({theme:e})=>e.colors.greyDarker),";text-decoration:underline solid #2f6ce3;text-decoration-thickness:2px;text-underline-offset:8px;}a:focus-visible::before{",(({theme:e})=>i.styleUtils.outlineStyles(e,"grey40","6px","dashed")),";}"),jr=({as:e,className:n,links:o})=>(0,t.jsx)(kr,{as:e,className:n},o.map((({id:e,...n})=>(0,t.jsx)(me.NavLink,r({key:e},n)))));const Lr={name:"2hrei",styles:"padding:0;height:auto;background:none;&:focus,&:hover{border:none;background:none;box-shadow:none;&::before{border:none;}}"},Sr=e=>(0,t.css)("align-items:flex-start;z-index:1;width:345px;border-radius:15px;box-shadow:0px 4px 15px 0px ",e.colors.black25,";background:",e.colors.greyPopoverLight,";",e.mediaQueries.md,"{width:470px;}",e.mediaQueries.xs,"{width:310px;}","",""),Mr=e=>(0,t.css)("width:100%;padding:10px;",e.mediaQueries.md,"{padding:20px;}","",""),Tr={name:"tkkksa",styles:"max-height:460px;overflow:auto"},Dr=e=>(0,t.css)("display:grid;grid-template-columns:auto;justify-content:space-between;width:100%;padding:10px;border-top:0.4px solid ",e.colors.greyGraphite70,";",e.mediaQueries.md,"{padding:10px 20px 13px;}",e.mediaQueries.xs,"{button{span{font-size:12px;}}}","",""),Er=e=>(0,t.css)("position:absolute;right:10px;top:15px;",Lr,";",e.mediaQueries.md,"{right:26px;top:26px;}","",""),Or=e=>(0,t.css)("display:flex;align-items:center;justify-content:center;height:460px;&:before{width:30px;height:30px;border:5px solid ",e.colors.greyGraphite70,";border-radius:50%;border-top:5px solid ",e.colors.grey,";animation:spin 2s linear infinite;content:'';}@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}","",""),Rr=(i.mainTheme.colors.white,i.mainTheme.colors.greyLighter,({trigger:e,notifications:r,children:n,onClick:o,isLoading:s,rightButton:a,leftButton:l})=>{const c=(0,t.useTheme)();return(0,t.jsx)(i.Popover,{placement:"bottom-end"},(0,t.jsx)(i.PopoverTrigger,{onClick:o,css:Lr},e),(0,t.jsx)(i.PopoverContent,{className:"popover",css:Sr},(0,t.jsx)("div",{css:Mr},(0,t.jsx)(i.PopoverClose,{css:Er},(0,t.jsx)(i.Icon,{name:"cross",size:14,color:c.colors.greyGraphite70})),(0,t.jsx)(i.PopoverHeading,{variant:"h5",weight:"bold"},"Notification"),s?(0,t.jsx)("div",{css:Or}):(0,t.jsx)(i.PopoverDescription,{variant:"body1"},(0,t.jsx)("div",{"data-testid":"element-wrapper"},n),(0,t.jsx)("div",{css:Tr},r.map(((e,r)=>(0,t.jsx)(Cr,{key:r,title:e.title,text:e.text,type:e.type,time:e.time,isRead:e.isRead})))))),a||l?(0,t.jsx)("div",{css:Dr},l,a):null))});var Pr=e=>e instanceof Date,zr=e=>null==e;const Ar=e=>"object"==typeof e;var Ir=e=>!zr(e)&&!Array.isArray(e)&&Ar(e)&&!Pr(e),$r=e=>{const t=e.constructor&&e.constructor.prototype;return Ir(t)&&t.hasOwnProperty("isPrototypeOf")},Nr="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Zr(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Nr&&(e instanceof Blob||e instanceof FileList)||!r&&!Ir(e))return e;if(t=r?[]:{},r||$r(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Zr(e[r]));else t=e}return t}var Vr=e=>Array.isArray(e)?e.filter(Boolean):[],Hr=e=>void 0===e,Br=(e,t,r)=>{if(!t||!Ir(e))return r;const n=Vr(t.split(/[,[\].]+?/)).reduce(((e,t)=>zr(e)?e:e[t]),e);return Hr(n)||n===e?Hr(e[t])?r:e[t]:n};const Fr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Wr=n.createContext(null),_r=()=>n.useContext(Wr);var qr=e=>Array.isArray(e)?e:[e],Ur=(e,t,r)=>r&&t?e===t||Array.isArray(e)&&e.some((e=>e&&r&&e===t)):!e||!t||e===t||qr(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function Qr(e){const t=n.useRef(e);t.current=e,n.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var Gr=e=>"string"==typeof e,Xr=(e,t,r,n,o)=>Gr(e)?(n&&t.watch.add(e),Br(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),Br(r,e)))):(n&&(t.watchAll=!0),r);function Jr(e){const t=_r(),{control:r=t.control,name:o,defaultValue:i,disabled:s,exact:a}=e||{},l=n.useRef(o);l.current=o,Qr({disabled:s,subject:r._subjects.values,next:e=>{Ur(l.current,e.name,a)&&u(Zr(Xr(l.current,r._names,e.values||r._formValues,!1,i)))}});const[c,u]=n.useState(r._getWatch(o,i));return n.useEffect((()=>r._removeUnmounted())),c}Fr.onSubmit,Fr.onChange;const Yr=q("div",{target:"e1t9ddye0"})({name:"1fbga4e",styles:"width:180px;height:40px"}),Kr=q(i.Input,{target:"ea70vef0"})("height:40px;line-height:40px;border-radius:5px;background-color:",(({theme:e})=>e.colors.greyLighter),";border:1px solid #dee0e8;color:",(({theme:e})=>e.colors.greyDarker),";&::placeholder{color:#55575a;font-weight:500;}&:hover{border:",(({theme:e})=>`1px solid ${e.colors.greyDropdownFocused}`),";}&+div{right:23px;}"),en=({onClick:e})=>{const r=(0,t.useTheme)();return(0,t.jsx)(i.Button,{onClick:e,variant:"custom","data-testid":"cross-icon",css:(0,t.css)({padding:0,background:"none","& svg path":{strokeWidth:1,stroke:r.colors.greyFilterIcon}},"","")},(0,t.jsx)(i.Icon,{name:"cross",size:15,color:"#55575A"}))},tn=({name:e,placeholder:o="Search by name",control:s,callbackDelay:l=500,autoSearchTrigger:c=!0,register:u,resetField:d,callback:p,...g})=>{const f=Jr({control:s}),h=(0,n.useRef)(null),x=(0,n.useRef)((0,a.debounce)(p,l)),[m,b]=x.current;(0,n.useEffect)((()=>{const t=f[e];c&&void 0!==t&&m(t)}),[f]);const y=f[e]?(0,t.jsx)(en,{onClick:()=>{d(e,{defaultValue:""}),h.current?.focus()}}):(0,t.jsx)("div",{"data-testid":"search-icon"},(0,t.jsx)(i.Icon,{name:"search",size:15,color:"#55575A"}));return(0,t.jsx)(Yr,null,(0,t.jsx)(Kr,r({name:e,endElement:y,register:u,control:s,placeholder:o,status:"custom",onKeyUp:t=>{"Enter"===t.key&&(b(),p(f[e]))}},g,{ref:h})))};const rn={name:"2hrei",styles:"padding:0;height:auto;background:none;&:focus,&:hover{border:none;background:none;box-shadow:none;&::before{border:none;}}"},nn=e=>(0,t.css)("width:224px;background:",e.colors.greyPopoverLight,";border-radius:20px;box-shadow:0px 4px 15px 0px ",e.colors.black25,";","",""),on={name:"fwy071",styles:"gap:2px;width:100%;padding:10px"},sn=e=>(0,t.css)("width:100%;padding:10px 10px 18px 10px;border-top:0.4px solid ",e.colors.greyGraphite70,";","",""),an={name:"1t1u438",styles:"justify-content:center;gap:8px;width:100%;padding:8px;font-size:14px;line-height:19px;font-weight:500"};var ln={name:"gxlp6o",styles:"font-size:14px;margin-top:6px"};const cn=({name:e,email:r,trigger:n,onClick:o,logOutText:s="Log Out",className:a})=>{const l=(0,t.useTheme)();return(0,t.jsx)(i.Popover,{placement:"bottom-end"},(0,t.jsx)(i.PopoverTrigger,{css:rn},n),(0,t.jsx)(i.PopoverContent,{css:nn,className:a},(0,t.jsx)("div",{css:on},(0,t.jsx)(i.PopoverHeading,{variant:"h5",weight:"bold"},e),(0,t.jsx)(i.PopoverDescription,{css:ln,weight:"regular",color:l.colors.greyDropdownFocused},r)),(0,t.jsx)("div",{css:sn},(0,t.jsx)(i.Button,{variant:"info",css:an,onClick:o},(0,t.jsx)(i.Icon,{name:"log-out",size:15,color:l.colors.white}),s))))};const un=q(i.Table,{target:"e1x8lq5p0"})({name:"ibvn9w",styles:"background:none;& thead td:first-of-type{border-top-left-radius:20px;}& thead td:last-child{border-top-right-radius:20px;}& tbody tr:last-child td:first-of-type{border-bottom-left-radius:20px;}& tbody tr:last-child td:last-child{border-bottom-right-radius:20px;}& tbody tr:not([aria-disabled='true']):hover{& td{background-color:#eef1f7;}}"});const dn=q(i.TableHead,{target:"e13om0eu0"})({name:"1fs4b9l",styles:"background:none;& tr td:first-of-type{padding-left:16px;}"}),pn=q(i.TableRow,{target:"e5of4c10"})("border:none;padding:0 16px;height:44px;",(({isDisabled:e})=>e&&{opacity:.6,cursor:"default",userSelect:"none"})," & tr:first-of-type{padding-left:18px;}");const gn=q(i.TableCell,{target:"e1tsk7oh0"})({name:"1mr60bk",styles:"border:none;padding:0 16px;background:#fff;font-size:14px;font-weight:500"}),fn=({children:e,columns:r,className:o})=>(0,t.jsx)(un,{className:o},(0,t.jsx)(dn,null,(0,t.jsx)(pn,null,r.map((e=>(0,t.jsx)(gn,{key:`column-${e.toLowerCase()}`},e))))),(0,t.jsx)(i.TableBody,null,n.Children.map(e,(e=>{if((0,n.isValidElement)(e))return(0,n.cloneElement)(e,{key:e.props.id})})))),hn=e=>(0,t.css)("display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;width:100%;padding:21px 10px;color:",e.colors.blueRoyal,";font-size:14px;font-weight:500;line-height:18px;letter-spacing:0;border-radius:20px;padding:21px 0;background:",e.colors.greyLighter,";border:1px solid ",e.colors.white,";box-shadow:0px 10px 40px 0px ",e.colors.greyShadow,";transition:0.3s;cursor:pointer;&:hover{border:1px solid ",e.colors.white,";background:",e.colors.greyLighter,";box-shadow:5px 5px 20px 0px ",e.colors.black25,";}","","");var xn={name:"g65o95",styles:"text-decoration:none"};const mn=({children:e,link:r,onClick:n})=>r?(0,t.jsx)(me.Link,{css:xn,to:r,onClick:n},(0,t.jsx)(i.Card,{css:hn,noShadow:!0},e)):(0,t.jsx)(i.Card,{css:hn,noShadow:!0,onClick:n},e),bn=e=>({legendColorNames:["yellow","blue","green","yellowWarm","blueLight","turquoise","pink","purple"],pieChartColors:[e.colors.yellow,e.colors.blue,e.colors.green,e.colors.yellowLighter,e.colors.blueLight,e.colors.turquoise,e.colors.pink,e.colors.purple]}),yn=(0,t.withTheme)((({total:e,currency:r,theme:n})=>{const o=(0,Ft.useTextSizeDecrease)();return(0,t.jsx)(i.Typography,{ref:o,variant:"body2",weight:"bold",color:n.colors.greyDarker,css:(0,t.css)("font-size:14px;padding:0 14px;",n.mediaQueries.md,"{font-size:16px;}line-height:1;","","")},e,(0,t.jsx)(i.Typography,{variant:"body2",weight:"regular",as:"span",color:n.colors.greyDarker80,css:(0,t.css)("display:block;font-size:12px;",n.mediaQueries.md,"{font-size:14px;}line-height:25px;","","")},r))}));var vn={name:"1f1533z",styles:"width:10px;height:10px;margin-right:5px"};const wn=(0,t.withTheme)((({total:e,currency:r,data:n,theme:o})=>{const{legendColorNames:i,pieChartColors:s}=bn(o);return(0,t.jsx)(Ee,{data:n,colors:s,animate:!1,title:(0,t.jsx)(yn,{theme:o,total:e,currency:r}),css:(0,t.css)("div:nth-of-type(1){width:100px;height:100px;}",o.mediaQueries.md,"{div:nth-of-type(1){width:120px;height:120px;}}","","")},(0,t.jsx)(Pe,{data:n,colors:i,markerStyles:vn,labelListStyles:(0,t.css)("gap:5px;h6{font-weight:700;font-size:14px;}",o.mediaQueries.lg,"{margin-left:-20%;}","",""),valueListStyles:(0,t.css)("gap:5px;h6{color:",o.colors.greyDarker80,";font-size:12px;}","",""),renderValue:({id:e,legendValue:t})=>"Other"===e?t+" "+r:t+" "+e}))}));var Cn={name:"me5k4h",styles:"text-decoration:none;div{cursor:pointer;}"};const kn=({link:e,onClick:r,children:n})=>e?(0,t.jsx)(me.Link,{to:e,onClick:r,css:Cn},n):n;var jn={name:"12yl7b1",styles:"max-width:406px;width:100%;display:block"},Ln={name:"pr10xp",styles:"margin-bottom:10px"};const Sn=({title:e="Balance",className:n,onClick:o,link:s,...a})=>{const l=(0,t.useTheme)();return(0,t.jsx)(kn,{link:s,onClick:o},(0,t.jsx)(i.Card,{className:n,onClick:s?void 0:o,css:(0,t.css)("border-radius:20px;padding:5px 10px;width:100%;",l.mediaQueries.md,"{padding:10px;}",l.mediaQueries.lg,"{padding:12px 20px 11px;}box-shadow:0 10px 40px 0 ",l.colors.greyShadow,";","","")},(0,t.jsx)(i.CardHeader,{css:Ln},(0,t.jsx)(i.Typography,{variant:"h3",weight:"bold",css:(0,t.css)("font-size:16px;",l.mediaQueries.md,"{font-size:20px;}","","")},e)),(0,t.jsx)(i.CardContent,{css:jn},(0,t.jsx)(wn,r({theme:l},a)))))};const Mn=e=>(0,t.css)("max-width:500px;padding:0;border-radius:20px;box-shadow:0px 10px 40px 0px ",e.colors.greyShadow,";transition:0.3s;&:hover{box-shadow:5px 5px 20px 0px ",e.colors.black25,";}","",""),Tn=e=>(0,t.css)("display:grid;grid-template-columns:auto 1fr 20px;align-items:center;width:100%;padding:10px;border-radius:20px 20px 0 0;background:",e.colors.greyLighter,";margin-bottom:0;",e.mediaQueries.md,"{h6{font-size:16px;line-height:24px;}}",e.mediaQueries.xs,"{padding:6px 10px;}","",""),Dn=e=>(0,t.css)("height:auto;padding:0;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}&:hover{svg path{fill:",e.colors.greyDarker,";}}","",""),En={name:"75whpw",styles:"display:flex;align-items:center;gap:9px;margin-right:13px"},On=e=>(0,t.css)("width:100%;text-align:center;padding:4px;&.active{color:",e.colors.greenDark,";background:",e.colors.greenMint,";}&.not-available{color:",e.colors.red,";background:",e.colors.redLighter40,";}",e.mediaQueries.md,"{font-size:14px;line-height:17px;}","",""),Rn=e=>(0,t.css)("width:100%;padding:10px 20px;ul:last-child{li{justify-content:flex-end;text-align:right;}}",e.mediaQueries.md,"{>div{display:block;text-align:center;.pie-chart-wrapper{margin:0 auto 6px;}}ul{display:inline-flex;height:auto;}ul:last-child{margin-left:30px;}}",e.mediaQueries.lg,"{>div{display:flex;justify-content:space-around;.pie-chart-wrapper{margin:0 10px 0 0;}}ul{display:flex;margin-left:0;}ul:last-child{margin-left:10px;}}","",""),Pn=({platform:e,title:n,status:o,link:s,data:a,onClick:l,onDelete:c})=>{const u=(0,t.useTheme)(),d="Active"===o;return(0,t.jsx)(kn,{link:s,onClick:l},(0,t.jsx)(i.CardBase,{noShadow:!0,css:Mn,"data-testid":"card",onClick:s?void 0:l},(0,t.jsx)(i.CardHeader,{css:Tn},(0,t.jsx)(i.Typography,{variant:"subtitle",weight:"bold",color:u.colors.greyDarker,css:En},e),(0,t.jsx)(i.Typography,{color:u.colors.greyDropdownFocused,variant:"subtitle",weight:"regular"},n),(0,t.jsx)(i.Button,{css:Dn,onClick:e=>{return(t=e).preventDefault(),t.stopPropagation(),void c();var t}},(0,t.jsx)(i.Icon,{name:"bin",color:u.colors.greyDropdownFocused,size:20}))),(0,t.jsx)(i.Typography,{css:On,className:d?"active":"not-available",variant:"body1",weight:"regular"},d?o:"Not available"),(0,t.jsx)(i.CardContent,{css:Rn,direction:"column"},(0,t.jsx)(wn,r({theme:u},a)))))},zn=e=>(0,t.css)("filter:drop-shadow(-4px 4px 14px ",e.colors.white,");& path{fill:",e.colors.white,";}& circle{stroke:",e.colors.white,";}","",""),An=e=>(0,t.css)("& svg{& path{fill:",e.colors.greyDisabledCheckbox,";}& circle{stroke:",e.colors.greyDisabledCheckbox,";}}","",""),In=e=>(0,t.css)("cursor:pointer;align-items:flex-start;",An(e)," ",e.mediaQueries.md,"{justify-content:center;}&:hover{&>div:nth-of-type(2)>svg{",zn(e),";}}","",""),$n=e=>(0,t.css)("padding:0 14px 0 22px;& svg{& path{fill:none;}}",e.mediaQueries.md,"{display:none;}","",""),Nn=e=>(0,t.css)("display:flex;align-items:flex-start;width:100%;padding-left:44px;& a{width:100%;padding:4.8px 0;&:first-of-type{padding-top:15px;}},",e.mediaQueries.md,"{display:none;}",e.mediaQueries.lg,"{display:none;}","",""),Zn=e=>(0,t.css)("display:flex;",e.mediaQueries.md,"{display:flex;}",e.mediaQueries.lg,"{display:flex;}","",""),Vn=e=>(0,t.css)("width:24px;height:24px;",An(e)," &:hover svg{",zn(e),";}","",""),Hn=e=>(0,t.css)("position:relative;",e.mediaQueries.md,"{justify-content:center;}",e.mediaQueries.lg,"{justify-content:flex-start;}","",""),Bn=e=>(0,t.css)("display:none;position:absolute;cursor:pointer;right:-17px;width:34px;height:34px;background:",e.colors.greyLighter,";border-radius:12px;justify-content:center;align-items:center;& input{display:none;}& svg{cursor:pointer;}",e.mediaQueries.lg,"{display:flex;}","",""),Fn=e=>(0,t.css)("& a>button{display:",e?"block":"none",";}&>div>div>div>div:first-of-type{display:",e?"block":"none",";&>button{display:",e?"block":"none",";}}","",""),Wn=e=>(0,t.css)("& a>div{display:",e?"flex":"none",";}&>div>div>div>div:nth-of-type(2){display:",e?"block":"none",";}&>div>div>div:nth-of-type(2){display:",e?"block":"none",";}","","");var _n=q(be,{target:"ei0xtuk0"})("padding:15px 0 0 15px;position:absolute;& li{",Fn(!1),";}&:has(> input[type='checkbox']:checked){position:static;background:linear-gradient(\n 108.3deg,\n ",(({theme:e})=>e.colors.greyDarker)," -0.36%,\n ",(({theme:e})=>e.colors.greyDarker)," 100%\n );height:100%;}&>input[type='checkbox']{&:checked{&~div:first-of-type{background-color:#4a4d51;& label span{opacity:1;transform:rotate(45deg) translate(-5px, -9px);background:",(({theme:e})=>e.colors.white),";&:nth-last-of-type(3){opacity:0;transform:rotate(0deg) scale(0.2, 0.2);}&:nth-last-of-type(2){transform:rotate(-45deg) translate(-2px, 8px);}}}&~div:nth-of-type(2){opacity:1;border-radius:12px 12px 0 0;height:calc(100vh - 60px);",(({theme:e})=>e.mediaQueries.xlg),"{border-radius:0;height:100vh;}}}}",(({theme:e})=>e.mediaQueries.md),"{width:85px;padding:0;height:100%;& li{",Wn(!1)," ",Fn(!0),";}}",(({theme:e})=>e.mediaQueries.lg),"{&:has(#contentToggler:checked){width:240px;&>div:nth-of-type(2){width:240px;padding-left:31px;& img{margin-left:0;}& li{justify-content:flex-start;& button{display:flex;}",Wn(!0)," ",Fn(!1)," &>a>span{display:block;}& div>div>div:nth-of-type(2){display:flex;}}}}}");var qn=q(ye,{target:"ecglbzq0"})("transform:none;transition:unset;opacity:0;width:100%;",(({theme:e})=>e.mediaQueries.md),"{display:flex;flex-direction:column;align-items:center;opacity:1;height:100%;width:85px;top:auto;border-radius:0;padding-top:35px;}");var Un=q(ve,{target:"em749020"})("height:auto;padding:0 0 0 15px;margin:14px 0 0 0;",(({theme:e})=>e.mediaQueries.md),"{margin-top:90px;width:100%;padding:0;}",(({theme:e})=>e.mediaQueries.lg),"{margin-top:84px;}");var Qn=q(ke,{target:"e13nikzq0"})("border-radius:50%;background:",(({theme:e})=>e.colors.greyLighter),";height:40px;width:40px;",(({theme:e})=>e.mediaQueries.md),"{display:none;}");var Gn={name:"16v0cfi",styles:"cursor:pointer;height:20px;width:20px;transform:scale(-1, 1);span{height:2px;width:100%;background:black;display:block;margin:4px 0;transform-origin:4px 0;transition:transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1),background 0.3s cubic-bezier(0.77, 0.2, 0.05, 1),opacity 0.35s ease;&:first-of-type{transform-origin:0% 0%;}&:nth-last-of-type(2){transform-origin:0% 100%;}}"};var Xn=()=>{const e=(0,n.useId)();return(0,t.jsx)(o().Fragment,null,(0,t.jsx)("input",{type:"checkbox",id:e}),(0,t.jsx)(Qn,null,(0,t.jsx)("label",{htmlFor:e,css:Gn},(0,t.jsx)("span",null),(0,t.jsx)("span",null),(0,t.jsx)("span",null))))};var Jn={name:"syxc93",styles:"width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer"};const Yn=({id:e})=>{const[r,o]=(0,n.useState)(!1);return(0,t.jsx)("div",{css:Bn},(0,t.jsx)("input",{type:"checkbox",id:e,onChange:()=>o(!r)}),(0,t.jsx)("label",{htmlFor:e,css:Jn},(0,t.jsx)(i.Icon,{name:r?"carrot-left":"carrot-right",size:14})))};var Kn=q(we,{target:"e1h0v5wv0"})("align-items:flex-start;justify-content:flex-start;height:auto;min-height:24px;padding:12px 0;&:first-of-type{padding-top:0;}&:last-of-type{padding-bottom:0;}width:100%;&>a{height:26px;}",(({theme:e})=>e.mediaQueries.md),"{justify-content:center;padding:20px 0;width:100%;}");var eo=q(Ce,{target:"e1yqb8s90"})("text-decoration:none;display:inline-flex;gap:20px;color:",(({theme:e})=>e.colors.white80),";",(({theme:e})=>An(e)),";&:hover{svg{filter:",(({theme:e})=>`drop-shadow(-4px 4px 14px ${e.colors.white})`),";& path{fill:",(({theme:e})=>e.colors.white),";}& circle{stroke:",(({theme:e})=>e.colors.white),";}}}&>span{color:",(({theme:e})=>e.colors.white80),";",(({theme:e})=>e.mediaQueries.md),"{display:none;}}");const to=({items:e,accordionUniqueName:n,prefix:o,pathname:s,isPopover:a,...l})=>(0,t.jsx)(i.AccordionContent,r({},l,{css:[Nn,a&&Zn,"","","",""]}),e.map((e=>(0,t.jsx)(eo,{key:`${n}-link-${e.title.replace(" ","").toLowerCase()}`,to:"/"+o+e.path,active:s===e.path||void 0},e.title))));Math.min,Math.max,Math.round,Math.floor;function ro(e){return e.split("-")[0]}function no(e){return e.split("-")[1]}function oo(e){return["top","bottom"].includes(ro(e))?"y":"x"}const io=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=ro(r),a=no(r),l="y"===oo(r),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=(g=e,"function"==typeof(p=t)?p(g):p);var p,g;let{mainAxis:f,crossAxis:h,alignmentAxis:x}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof x&&(h="end"===a?-1*x:x),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};var so={name:"ly2x3i",styles:"height:auto;padding:0;cursor:pointer;background-color:unset"};const ao=({triggerIcon:e,title:r,content:o})=>{const s=(0,t.useTheme)(),[a,l]=(0,n.useState)(!1),{width:c}=(0,Ft.useWindowSize)();return(0,n.useEffect)((()=>{l(!1)}),[c]),(0,t.jsx)(i.Popover,{floatingOptions:{onOpenChange:e=>{l(e)},open:a,middleware:[io({mainAxis:37})]},placement:"right-start",interactionsEnabled:"both"},(0,t.jsx)(i.PopoverTrigger,{variant:"custom",dataTestId:"collapsible-nav-bar-trigger-button",css:so,startIcon:e}),(0,t.jsx)(i.PopoverContent,{css:(0,t.css)({[s.mediaQueries.xs]:{display:"none"},[s.mediaQueries.md]:{display:"block"}},"","")},(0,t.jsx)(i.PopoverHeading,{css:(0,t.css)({color:s.colors.white,fontSize:12,padding:"3px 5px 5px 5px",background:s.colors.greyGraphite,borderRadius:5,cursor:"default",marginBottom:1,width:85,"&::before":{content:'""',display:"block",background:"rgba(71, 74, 80, 1)",borderRadius:2,position:"absolute",width:9,height:9,top:7,left:-4,transform:"rotate(45deg)",zIndex:-1}},"","")},r),(0,t.jsx)(i.PopoverDescription,{css:(0,t.css)({"& > div":{padding:0,background:s.colors.greyGraphite,borderRadius:5,width:85,"& > a":{color:s.colors.white,padding:5,fontSize:12,fontWeight:400,"&:first-of-type":{paddingTop:5},"&:last-of-type":{paddingBottom:9},"&:hover":{background:"#62656B"}}}},"","")},o)))};var lo={name:"r5hahk",styles:"margin-right:20px"};const co=({iconName:e,iconSize:r,className:n})=>{const o=(0,t.useTheme)();return(0,t.jsx)(i.Wrapper,{css:(0,t.css)("width:24px;height:24px;justify-content:center;&:hover{",zn(o),";}","",""),className:"trigger-icon"},(0,t.jsx)(i.Icon,{name:e,color:o.colors.grey,css:lo,size:r,className:n}))};var uo={name:"1d3w5wq",styles:"width:100%"},po={name:"14hk0hx",styles:"padding:0;& ul li:last-child{padding-bottom:10px;}"};const go=({item:e,pathname:n})=>{const{iconName:o,iconSize:s,title:a,items:l,prefix:c}=e,u=o+a.replace(" ","").toLowerCase(),d=u+"accordion";return(0,t.jsx)(i.AccordionGroupContextProvider,{key:u},(0,t.jsx)(Kn,null,(0,t.jsx)(i.AccordionGroup,{size:"small",css:uo},(0,t.jsx)(i.Accordion,{id:d,title:a,isOpened:!1,ariaControls:`${d}-panel`,css:po,renderContent:e=>(0,t.jsx)(to,r({items:l,accordionUniqueName:d,prefix:c,pathname:n,isPopover:!1},e)),renderTitle:e=>(0,t.jsx)(i.Wrapper,{onClick:e.onClick,css:In},(0,t.jsx)("div",{css:Vn,className:"icon-wrapper"},(0,t.jsx)(ao,{triggerIcon:(0,t.jsx)(co,{iconName:o,iconSize:s}),title:e.title,content:(0,t.jsx)(to,{items:l,accordionUniqueName:d,prefix:c,pathname:n,id:d,isOpened:!0,isPopover:!0})})),(0,t.jsx)(co,{iconName:o,iconSize:s}),(0,t.jsx)(i.AccordionTitle,r({},e,{css:$n})))}))))};var fo={name:"r5hahk",styles:"margin-right:20px"},ho={name:"r5hahk",styles:"margin-right:20px"};const xo=({item:e,pathname:r})=>{const{path:n,iconName:o,title:i,iconSize:s}=e;return(0,t.jsx)(Kn,{key:n},(0,t.jsx)(eo,{to:"/"+n,active:r===n||void 0},(0,t.jsx)(ao,{triggerIcon:(0,t.jsx)(co,{iconName:o,iconSize:s,css:fo}),title:i}),(0,t.jsx)(co,{iconName:o,iconSize:s,css:ho}),(0,t.jsx)("span",null,i)))},mo=({items:e,renderLogo:r})=>{const{pathname:n}=(0,me.useLocation)();return(0,t.jsx)(_n,null,(0,t.jsx)(Xn,null),(0,t.jsx)(qn,null,(0,t.jsx)(i.Wrapper,{css:Hn},r,(0,t.jsx)(Yn,{id:"contentToggler"})),(0,t.jsx)(Un,null,e.map((e=>{const{iconName:r,title:o}=e,i=r+o.replace(" ","").toLowerCase();return"items"in e?(0,t.jsx)(go,{item:e,pathname:n,key:i}):(0,t.jsx)(xo,{item:e,pathname:n,key:i})})))))};const bo=e=>(0,t.css)("box-shadow:0 10px 40px 0 ",e.colors.greyShadow,";padding:0;border-radius:20px;&.disabled{pointer-events:none;}","",""),yo=e=>(0,t.css)("align-items:center;background:",e.colors.greyLighter,";padding:10px;border-radius:20px 20px 0 0;margin-bottom:0;",e.mediaQueries.md,"{padding:15px 10px 15px 30px;}","",""),vo=e=>(0,t.css)("height:auto;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}&:hover{svg path{fill:",e.colors.greyDarker,";}}",e.mediaQueries.md,"{padding:12px;}","",""),wo=e=>(0,t.css)("width:100%;padding:10px;",e.mediaQueries.md,"{padding:13px 30px 20px;}","",""),Co={name:"gnnc8a",styles:"display:flex;flex-direction:column;gap:5px;&:not(:last-child){margin-bottom:20px;}"},ko={name:"15bna7",styles:"height:auto;padding:0;background:none;box-shadow:none;&:hover,&:focus{background:none;box-shadow:none;}"},jo={name:"omrqbe",styles:"display:flex;align-items:center;gap:7px;height:24px;span{padding:4px 0 0;}"},Lo=e=>(0,t.css)("white-space:nowrap;overflow-x:auto;",e.mediaQueries.md,"{overflow-x:visible;}","",""),So=({title:e,apiKey:r,secretKey:o,onDelete:s,onVisibilityChange:a,isDisabled:l})=>{const[c,u]=(0,n.useState)(!1),d=(0,t.useTheme)(),p=(0,t.jsx)("span",null,"******");return(0,n.useEffect)((()=>{a(c)}),[c]),(0,t.jsx)(i.Card,{noShadow:!0,css:bo,className:l?"disabled":""},(0,t.jsx)(i.CardHeader,{css:yo},(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold"},e),(0,t.jsx)(i.Button,{css:vo,onClick:s},(0,t.jsx)(i.Icon,{name:"bin",size:15,color:d.colors.greyDropdownFocused}))),(0,t.jsx)(i.CardContent,{css:wo,direction:"column"},(0,t.jsx)("div",{css:Co},(0,t.jsx)(i.Typography,{variant:"h6",color:d.colors.greyDropdownFocused},"API Key"),(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",css:Lo},r)),(0,t.jsx)("div",{css:Co},(0,t.jsx)(i.Typography,{variant:"h6",color:d.colors.greyDropdownFocused},"Secret Key"),(0,t.jsx)(i.Typography,{variant:"h5",weight:"bold",css:jo},c&&o||p,(0,t.jsx)(i.Button,{css:ko,onClick:()=>{u((e=>!e))}},(0,t.jsx)(i.Icon,{name:c?"visible":"invisible",size:20,color:d.colors.greyDropdownFocused}))))))};const Mo=e=>(0,t.css)("border:1px solid ",e.colors.greyDropdownMain,";border-radius:20px;padding:20px 20px 14px 18px;width:340px;background:",e.colors.white,";","",""),To=e=>(0,t.css)("border:1px solid ",e.colors.greyDropdownMain,";width:calc(100% + 38px);margin:22px auto 14px -19px;","",""),Do={name:"jk3zq0",styles:"padding:0 14px;height:38px;border-radius:5px;font-size:14px;font-weight:600;&:hover{box-shadow:none;}"},Eo=e=>(0,t.css)("height:40px;color:",e.colors.greyDisabled,";background:",e.colors.white,";border:1px solid ",e.colors.greyDropdownMain,";border-radius:6.5px;padding:0 11px 0 13px;font-size:14px;letter-spacing:normal;gap:5px;user-select:none;&:hover{border-color:",e.colors.greyDropdownFocused,";}&:active{border-color:",e.colors.blueNotification,";}&:disabled{background:",e.colors.grey,";}","",""),Oo=({children:e,...n})=>{const o=(0,t.useTheme)();return(0,t.jsx)(i.PopoverTrigger,r({variant:"custom",css:Eo,endIcon:(0,t.jsx)(i.Icon,{name:"filter",color:o.colors.greyFilterIcon,size:20})},n),e)};var Ro={name:"3e57yb",styles:"width:16px;height:16px;min-width:16px;display:flex;justify-content:center;align-items:center"};const Po=({children:e,count:r,visible:n=!0})=>{const o=(0,t.useTheme)(),s={display:n?"flex":"none"};return r&&(s.background=o.colors.blueDropdownWithSelectedItems,s.borderColor=o.colors.blueDropdownWithSelectedItemsBorder),(0,t.jsx)(Oo,{css:s},e,r?(0,t.jsx)(i.MultipleDropdownNotification,{as:"div",css:Ro,"data-testid":"trigger-notification"},r):"")},zo=e=>(0,t.jsx)(i.Accordion,r({},e,{css:(0,t.css)({display:e.isHidden?"none":"flex",padding:"10px 0","&:last-child":{paddingBottom:0}},"","")})),Ao=({isOpened:e,children:n,...o})=>(0,t.jsx)(i.AccordionContent,r({},o,{isOpened:e,css:(0,t.css)({padding:e?"18px 3px 5px 3px":0},"","")}),n),Io=e=>{const n=(e=>(0,t.css)("margin:0 0 14px;& span{margin-left:16px;color:",e.colors.greyDisabled,";user-select:none;}& input+div{border-radius:2px;&::before{border-radius:2px;}}",i.checkboxStyles.blueInput(e),";","",""))((0,t.useTheme)());return(0,t.jsx)(i.Checkbox,r({},e,{css:n}))},$o=e=>(0,t.css)(Do," color:",e.colors.greyCancelClearButton,";background:",e.colors.white,";border:1px solid ",e.colors.greyDropdownMain,";justify-content:center;&:hover{border-color:",e.colors.greyDropdownFocused,";}&:active{border-color:",e.colors.blueNotification,";}&:disabled{background:",e.colors.grey,";color:",e.colors.greyFilterIcon,";}","",""),No=({children:e,onClick:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.PopoverClose,{css:$o(n),onClick:r},e)},Zo=e=>(0,t.css)(Do," color:",e.colors.greyCancelClearButton,";background:",e.colors.greyLighter,";border:1px solid ",e.colors.greyDropdownMain,";justify-content:center;&:hover{border-color:",e.colors.greyDropdownFocused,";background:",e.colors.greyLighter,";}&:active{border-color:",e.colors.greyDropdownFocused,";background:",e.colors.greyLighter,";}&:disabled{background:",e.colors.grey,";color:",e.colors.greyFilterIcon,";}","",""),Vo=({children:e,onClick:r})=>{const n=(0,t.useTheme)();return(0,t.jsx)(i.Button,{css:(0,t.css)({...Do,...Zo(n)},"",""),variant:"secondary",onClick:r},e)};var Ho={name:"ufsh0v",styles:"gap:10px;width:auto;align-self:end"};const Bo=({onClear:e,onCancel:r})=>(0,t.jsx)(i.Wrapper,{css:Ho},(0,t.jsx)(No,{onClick:()=>{r?.()}},"Cancel"),(0,t.jsx)(Vo,{onClick:()=>{e?.()}},"Clear"),(0,t.jsx)(i.Button,{css:Do,variant:"info",type:"submit"},"Apply")),Fo=e=>{let t=JSON.parse(JSON.stringify(e));const r={};return Object.keys(t).forEach((e=>{t=(0,a.assocPath)([e,"selectedItems"],t[e].selectedItemsDraft)(t),r[e]=t[e].selectedItemsDraft})),{submitCheckboxData:t,dataForSubmit:r}},Wo=e=>{let t=JSON.parse(JSON.stringify(e));return Object.keys(t).forEach((e=>{t=(0,a.assocPath)([e,"selectedItemsDraft"],t[e].selectedItems)(t)})),t},_o=e=>{let t=JSON.parse(JSON.stringify(e));return Object.keys(e).forEach((r=>{const n=[],o=e[r].selectedItems,i=e[r].items;Object.keys(e[r].items).forEach((e=>{const t=i[e];t.isDisabled&&o.includes(t.name)&&n.push(t.name)})),t=(0,a.assocPath)([r,"selectedItemsDraft"],n)(t)})),t},qo=(e,t,r)=>{const n=[t,"selectedItemsDraft"],o=(0,a.pathOr)([],n)(e);return{items:o.includes(`${r}`)?o.filter((e=>e!==r)):[...o,r],path:n}};var Uo={name:"b6wrti",styles:"display:flex;flex-direction:column;width:100%"};const Qo=({checkboxData:e={},onReset:o,onSubmit:s,onClear:l,handleMoreButtonVisibleChange:c,handleCheckboxToggle:u})=>{const[d,p]=(0,n.useState)(e),[g,f]=(0,n.useState)(0),[h,x]=(0,n.useState)(!1),[m,b]=(0,n.useState)(!1);(0,n.useEffect)((()=>{p(e)}),[e]),(0,n.useLayoutEffect)((()=>{let e=0;Object.keys(d).forEach((t=>{(d[t].selectedItemsDraft||[]).length>0&&e++})),f(e),0===Object.keys(d).length&&b(!1);const t=!(0===Object.keys(d).length);x(t)}),[d]),(0,n.useEffect)((()=>{c?.(h)}),[h]);const y=(e,t)=>()=>{const{items:r,path:n}=qo(d,e,t);p((0,a.assocPath)(n,r)),u?.(e,t)};return(0,t.jsx)(i.Popover,{floatingOptions:{onOpenChange:e=>{b(e)},open:m}},(0,t.jsx)(Po,{count:g,visible:h},"More"),(0,t.jsx)(i.PopoverContent,{className:"popover",css:Mo},(0,t.jsx)("form",{onSubmit:e=>{e.preventDefault();const{submitCheckboxData:t}=Fo(d);p(t),s?.()},css:Uo,"data-testid":"table-filters-form"},(0,t.jsx)(i.PopoverDescription,{variant:"body1"},(0,t.jsx)(i.AccordionGroupContextProvider,null,(0,t.jsx)(i.AccordionGroup,{size:"medium"},Object.keys(d).map((e=>{const n=d[e];return(0,t.jsx)(zo,{key:n.id,id:n.id,title:n.title,isOpened:n.isOpened,ariaControls:n.ariaControls,renderContent:o=>(0,t.jsx)(Ao,o,Object.keys(n.items).map((o=>{const i=n.items[o],s={},a=!!d?.[n.id].selectedItemsDraft?.includes(i.name);return i.isDisabled?s.initialState=a:s.externalState=a,(0,t.jsx)(Io,r({key:i.key,name:i.name,id:i.key,onChange:y(e,i.name),text:i.content.text,isDisabled:i.isDisabled},s))}))),renderTitle:i.AccordionTitle})}))))),(0,t.jsx)("hr",{css:To}),(0,t.jsx)(Bo,{onClear:()=>{const e=_o(d);p(e),l?.()},onCancel:()=>{const e=Wo(d);p(e),b(!1),o?.()}}))))},Go=(0,n.createContext)({checkboxData:{strategy:{id:"strategy",title:"Strategy",isOpened:!0,ariaControls:"strategy-panel",selectedItems:["checkbox1","checkbox4"],items:{checkbox1:{key:"strategy-checkbox1",name:"checkbox1",content:{statePath:["strategy","items","checkbox1"],text:"checkbox1"}},checkbox2:{key:"strategy-checkbox2",name:"checkbox2",content:{statePath:["strategy","items","checkbox2"],text:"checkbox2"}},checkbox3:{key:"strategy-checkbox3",name:"checkbox3",content:{statePath:["strategy","items","checkbox3"],text:"checkbox3"}},checkbox4:{key:"strategy-checkbox4",name:"checkbox4",content:{statePath:["strategy","items","checkbox4"],text:"checkbox4"}},checkbox5:{key:"strategy-checkbox5",name:"checkbox5",content:{statePath:["strategy","items","checkbox5"],text:"checkbox5"}}}},status:{id:"status",title:"Status",isOpened:!1,ariaControls:"status-panel",selectedItems:["running"],items:{running:{key:"status-checkbox-running",name:"running",content:{statePath:["status","items","running"],text:"Running"}},stopped:{key:"status-checkbox-stopped",name:"stopped",content:{statePath:["status","items","stopped"],text:"Stopped"}}}},pairs:{id:"pairs",title:"Pairs",isOpened:!1,ariaControls:"pairs-panel",selectedItems:["btcfdusd"],items:{btcfdusd:{key:"btcfdusd",name:"btcfdusd",isDisabled:!0,content:{statePath:["pairs","items","btcfdusd"],text:"BTC-FDUSD"}}}},exchange:{id:"exchange",title:"Exchange",isOpened:!1,ariaControls:"exchange-panel",selectedItems:["binance"],items:{binance:{key:"binance",name:"binance",isDisabled:!0,content:{statePath:["exchange","items","binance"],text:"Binance"}}}}},selectedItemsByGroup:{},handleCheckboxToggle:(e,t)=>()=>{},onClear:()=>{},onReset:()=>{},onSubmit:e=>{},refsList:[],setElementRef:(e,t)=>{},wrapperRef:(0,n.createRef)()}),Xo=({children:e,...r})=>(0,t.jsx)(Go.Provider,{value:r},e);var Jo={name:"jov8tp",styles:"& + ul{min-width:150px;}"};const Yo=()=>{const{setElementRef:e,handleCheckboxToggle:r,checkboxData:s}=(0,n.useContext)(Go),a=e=>t=>{r(e,t)},[l,c]=(0,n.useState)({});return(0,n.useEffect)((()=>{const e={};Object.keys(s).map((t=>{const r=s[t].selectedItemsDraft;r&&(e[t]=r.map((e=>({value:e}))))})),c(e)}),[s]),(0,t.jsx)(o().Fragment,null,Object.keys(s).map((r=>{const n=s[r],o=l[r];return(0,t.jsx)(i.MultipleDropdown,{key:n.id,showPlaceholder:!1,label:n.title,ref:t=>{e(n.id,t)},onChange:a(r),selectedItems:o,css:Jo},Object.keys(n.items).map((e=>{const r=n.items[e];return(0,t.jsx)(i.DropdownOption,{key:`${n.id}${r.name}`,value:r.name,isDisabled:r.isDisabled},r.content.text)})))})))};const Ko=q(i.Wrapper,{target:"ee7hesn0"})({name:"ana72a",styles:"justify-content:end;width:500px;&>div{min-width:auto;margin-right:10px;}"}),ei=q("div",{target:"e1itr0ds0"})("width:300px;display:flex;justify-content:right;flex:auto;flex-direction:",(({isMoreButtonVisible:e})=>e?"row":"row-reverse"),";&>div:first-child>div:last-child{margin-right:",(({isMoreButtonVisible:e})=>e?"10px":0),";}");var ti={name:"inyrtd",styles:"width:110px"};const ri=({checkboxData:e={},updatedCheckboxData:o,handleSubmit:s,handleCancel:l,handleClear:c})=>{const u=(0,n.useRef)(null),[d,p]=(0,n.useState)({}),[g,f]=(0,n.useState)(!1),h=(({initialState:e,wrapperRef:t,updatedCheckboxData:r,handleCancel:o,handleSubmit:i,handleClear:s})=>{const[l,c]=(0,n.useState)({}),[u,d]=(0,n.useState)([]),[p,g]=(0,n.useState)([]),f=e=>{if(e){const t=JSON.parse(JSON.stringify(e));Object.keys(e).forEach((r=>{const n=(0,a.propOr)({},r)(e),o=(0,a.propOr)([],"selectedItems")(n);t[r].selectedItemsDraft=o})),c(t)}};return(0,n.useEffect)((()=>{f(e)}),[]),(0,n.useEffect)((()=>{f(r)}),[r]),{checkboxData:l,wrapperRef:t,refsList:u,setElementRef:(e,t)=>{if(null!==t&&!p.includes(e)){const r=(0,n.createRef)();r.current=t,d((e=>[...e,r])),g((t=>[...t,e]))}},handleCheckboxToggle:(e,t)=>{const{items:r,path:n}=qo(l,e,t);c((0,a.assocPath)(n,r))},onSubmit:e=>{e?.preventDefault();const{submitCheckboxData:t,dataForSubmit:r}=Fo(l);c(t),i?.(r)},onReset:()=>{const e=Wo(l);c(e),o?.()},onClear:()=>{const e=_o(l);c(e),s?.()}}})({initialState:e,updatedCheckboxData:o,wrapperRef:u,handleSubmit:s,handleCancel:l,handleClear:c}),{checkboxData:x,refsList:m}=h;return(({checkboxData:e,wrapperRef:t,refsList:r,onVisibilityProcessed:o})=>{const[i,s]=(0,n.useState)(Object.keys(e).map((()=>!1))),a=()=>{t&&t.current&&u()},l=(0,n.useMemo)((()=>null===t?null:new IntersectionObserver(a,{root:t?.current,rootMargin:"0px",threshold:1})),[t?.current,r]);(0,n.useEffect)((()=>()=>{null!==l&&l.disconnect()}),[]),(0,n.useEffect)((()=>(r.length===Object.keys(e).length&&r.forEach((e=>{e.current&&null!==l&&l.observe(e.current)})),()=>{r.forEach((e=>{e.current&&null!==l&&l.unobserve(e.current)}))})),[r,l]);const c=(0,Ft.useWindowSize)(),u=()=>{const e=[];r.forEach((r=>{if(r.current&&t?.current){const n=r.current?.offsetLeft>=t?.current.offsetLeft;e.push(n),r.current.style.visibility=n?"visible":"hidden"}})),s(e)},d=(0,n.useMemo)((()=>i),[JSON.stringify(i)]);(0,n.useEffect)((()=>{o?.()}),[d]),(0,n.useEffect)((()=>{r.length>0&&r.length===Object.keys(e).length&&u()}),[c.width])})({checkboxData:x,refsList:m,wrapperRef:u,onVisibilityProcessed:()=>{const e={},t=Object.keys(x);m.forEach(((r,n)=>{const o=t[n];"hidden"===r.current?.style.visibility&&(e[o]=x[o])})),p(e)}}),(0,t.jsx)(ei,{ref:u,isMoreButtonVisible:g},(0,t.jsx)(Xo,h,(0,t.jsx)(Ko,null,(0,t.jsx)(Yo,null)),(0,t.jsx)(i.Wrapper,{css:ti},(0,t.jsx)(Qo,r({},h,{checkboxData:d,handleMoreButtonVisibleChange:e=>{f(e)}})))))}}(),u}()}));
|
|
2
2
|
//# sourceMappingURL=index.js.map
|