@shohojdhara/atomix 0.2.3 → 0.2.5

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.
Files changed (225) hide show
  1. package/README.md +19 -0
  2. package/dist/atomix.css +1703 -1544
  3. package/dist/atomix.min.css +4 -4
  4. package/dist/index.d.ts +1465 -963
  5. package/dist/index.esm.js +16289 -25908
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +15650 -21780
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.js +1 -1
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/themes/applemix.css +15008 -0
  12. package/dist/themes/applemix.min.css +72 -0
  13. package/dist/themes/boomdevs.css +1608 -1450
  14. package/dist/themes/boomdevs.min.css +5 -5
  15. package/dist/themes/esrar.css +1702 -1543
  16. package/dist/themes/esrar.min.css +4 -4
  17. package/dist/themes/flashtrade.css +15159 -0
  18. package/dist/themes/flashtrade.min.css +86 -0
  19. package/dist/themes/mashroom.css +1699 -1540
  20. package/dist/themes/mashroom.min.css +7 -7
  21. package/dist/themes/shaj-default.css +1693 -1534
  22. package/dist/themes/shaj-default.min.css +4 -4
  23. package/package.json +6 -17
  24. package/src/components/Accordion/Accordion.stories.tsx +662 -21
  25. package/src/components/Accordion/Accordion.tsx +21 -14
  26. package/src/components/AtomixGlass/AtomixGlass.test.tsx +106 -72
  27. package/src/components/AtomixGlass/AtomixGlass.tsx +529 -1195
  28. package/src/components/AtomixGlass/AtomixGlassContainer.tsx +400 -0
  29. package/src/components/AtomixGlass/GlassFilter.tsx +156 -0
  30. package/src/components/AtomixGlass/README.md +124 -2
  31. package/src/components/AtomixGlass/atomixGLass.old.tsx +1266 -0
  32. package/src/components/AtomixGlass/glass-utils.ts +263 -0
  33. package/src/components/AtomixGlass/shader-utils.ts +792 -68
  34. package/src/components/AtomixGlass/stories/AtomixGlass.stories.tsx +1250 -0
  35. package/src/components/AtomixGlass/stories/Examples.stories.tsx +5768 -0
  36. package/src/components/AtomixGlass/stories/Modes.stories.tsx +1065 -0
  37. package/src/components/AtomixGlass/stories/Playground.stories.tsx +1129 -0
  38. package/src/components/AtomixGlass/stories/ShaderVariants.stories.tsx +395 -0
  39. package/src/components/AtomixGlass/stories/shared-components.tsx +301 -0
  40. package/src/components/AtomixGlass/utils.ts +3 -3
  41. package/src/components/Avatar/Avatar.tsx +3 -0
  42. package/src/components/Avatar/AvatarGroup.tsx +2 -1
  43. package/src/components/Badge/Badge.stories.tsx +76 -55
  44. package/src/components/Badge/Badge.tsx +12 -14
  45. package/src/components/Breadcrumb/Breadcrumb.tsx +23 -4
  46. package/src/components/Button/Button.stories.tsx +501 -20
  47. package/src/components/Button/Button.tsx +5 -8
  48. package/src/components/Callout/Callout.stories.tsx +86 -35
  49. package/src/components/Callout/Callout.tsx +31 -9
  50. package/src/components/Card/Card.stories.tsx +565 -2
  51. package/src/components/Card/Card.tsx +15 -4
  52. package/src/components/Card/ElevationCard.tsx +2 -0
  53. package/src/components/Chart/AnimatedChart.tsx +179 -156
  54. package/src/components/Chart/AreaChart.tsx +123 -12
  55. package/src/components/Chart/BarChart.tsx +91 -100
  56. package/src/components/Chart/BaseChart.tsx +80 -0
  57. package/src/components/Chart/BubbleChart.tsx +114 -290
  58. package/src/components/Chart/CandlestickChart.tsx +282 -622
  59. package/src/components/Chart/Chart.stories.tsx +576 -179
  60. package/src/components/Chart/Chart.tsx +374 -75
  61. package/src/components/Chart/ChartRenderer.tsx +371 -220
  62. package/src/components/Chart/ChartToolbar.tsx +372 -61
  63. package/src/components/Chart/ChartTooltip.tsx +33 -18
  64. package/src/components/Chart/DonutChart.tsx +172 -254
  65. package/src/components/Chart/FunnelChart.tsx +169 -240
  66. package/src/components/Chart/GaugeChart.tsx +224 -392
  67. package/src/components/Chart/HeatmapChart.tsx +302 -440
  68. package/src/components/Chart/LineChart.tsx +148 -103
  69. package/src/components/Chart/MultiAxisChart.tsx +267 -395
  70. package/src/components/Chart/PieChart.tsx +114 -64
  71. package/src/components/Chart/RadarChart.tsx +202 -218
  72. package/src/components/Chart/ScatterChart.tsx +111 -97
  73. package/src/components/Chart/TreemapChart.tsx +147 -222
  74. package/src/components/Chart/WaterfallChart.tsx +253 -291
  75. package/src/components/Chart/index.ts +11 -9
  76. package/src/components/Chart/types.ts +85 -9
  77. package/src/components/Chart/utils.ts +66 -0
  78. package/src/components/ColorModeToggle/ColorModeToggle.tsx +6 -3
  79. package/src/components/Countdown/Countdown.tsx +4 -0
  80. package/src/components/DataTable/DataTable.tsx +2 -1
  81. package/src/components/DatePicker/DatePicker.stories.tsx +689 -12
  82. package/src/components/DatePicker/DatePicker.tsx +3 -9
  83. package/src/components/DatePicker/types.ts +5 -0
  84. package/src/components/Dropdown/Dropdown.stories.tsx +32 -25
  85. package/src/components/Dropdown/Dropdown.tsx +26 -28
  86. package/src/components/EdgePanel/EdgePanel.stories.tsx +473 -2
  87. package/src/components/EdgePanel/EdgePanel.tsx +101 -13
  88. package/src/components/Footer/Footer.stories.tsx +187 -60
  89. package/src/components/Footer/Footer.test.tsx +134 -0
  90. package/src/components/Footer/Footer.tsx +133 -34
  91. package/src/components/Footer/FooterLink.tsx +1 -1
  92. package/src/components/Footer/FooterSection.tsx +53 -36
  93. package/src/components/Footer/FooterSocialLink.tsx +32 -29
  94. package/src/components/Footer/README.md +82 -3
  95. package/src/components/Footer/index.ts +1 -1
  96. package/src/components/Form/Checkbox.stories.tsx +13 -5
  97. package/src/components/Form/Checkbox.tsx +3 -6
  98. package/src/components/Form/Form.stories.tsx +10 -3
  99. package/src/components/Form/Form.tsx +2 -0
  100. package/src/components/Form/FormGroup.tsx +2 -1
  101. package/src/components/Form/Input.stories.tsx +12 -11
  102. package/src/components/Form/Input.tsx +97 -95
  103. package/src/components/Form/Radio.stories.tsx +22 -7
  104. package/src/components/Form/Radio.tsx +3 -6
  105. package/src/components/Form/Select.stories.tsx +21 -6
  106. package/src/components/Form/Select.tsx +3 -5
  107. package/src/components/Form/Textarea.stories.tsx +13 -11
  108. package/src/components/Form/Textarea.tsx +88 -86
  109. package/src/components/Hero/Hero.stories.tsx +2 -3
  110. package/src/components/Hero/Hero.tsx +5 -6
  111. package/src/components/Icon/Icon.tsx +12 -1
  112. package/src/components/List/List.tsx +2 -1
  113. package/src/components/List/ListGroup.tsx +2 -1
  114. package/src/components/Messages/Messages.stories.tsx +113 -0
  115. package/src/components/Messages/Messages.tsx +52 -9
  116. package/src/components/Modal/Modal.stories.tsx +48 -32
  117. package/src/components/Modal/Modal.tsx +19 -24
  118. package/src/components/Navigation/Menu/MegaMenu.tsx +2 -2
  119. package/src/components/Navigation/Menu/Menu.tsx +2 -2
  120. package/src/components/Navigation/Nav/Nav.stories.tsx +469 -0
  121. package/src/components/Navigation/Nav/Nav.tsx +22 -4
  122. package/src/components/Navigation/Nav/NavDropdown.tsx +10 -1
  123. package/src/components/Navigation/Navbar/Navbar.stories.tsx +413 -0
  124. package/src/components/Navigation/Navbar/Navbar.tsx +70 -29
  125. package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +340 -0
  126. package/src/components/Navigation/SideMenu/SideMenu.tsx +29 -2
  127. package/src/components/Pagination/Pagination.stories.tsx +13 -6
  128. package/src/components/Pagination/Pagination.tsx +7 -6
  129. package/src/components/PhotoViewer/PhotoViewer.tsx +2 -1
  130. package/src/components/Popover/Popover.stories.tsx +32 -24
  131. package/src/components/Popover/Popover.tsx +4 -1
  132. package/src/components/ProductReview/ProductReview.tsx +8 -2
  133. package/src/components/Progress/Progress.tsx +19 -3
  134. package/src/components/Rating/Rating.stories.tsx +11 -6
  135. package/src/components/Rating/Rating.tsx +3 -5
  136. package/src/components/River/River.tsx +5 -5
  137. package/src/components/SectionIntro/SectionIntro.tsx +8 -2
  138. package/src/components/Slider/Slider.stories.tsx +4 -4
  139. package/src/components/Slider/Slider.tsx +4 -3
  140. package/src/components/Spinner/Spinner.tsx +19 -3
  141. package/src/components/Steps/Steps.stories.tsx +5 -4
  142. package/src/components/Steps/Steps.tsx +8 -5
  143. package/src/components/Tab/Tab.stories.tsx +4 -3
  144. package/src/components/Tab/Tab.tsx +8 -6
  145. package/src/components/Testimonial/Testimonial.tsx +8 -2
  146. package/src/components/Todo/Todo.tsx +2 -1
  147. package/src/components/Toggle/Toggle.stories.tsx +5 -4
  148. package/src/components/Toggle/Toggle.tsx +8 -5
  149. package/src/components/Tooltip/Tooltip.stories.tsx +40 -30
  150. package/src/components/Tooltip/Tooltip.tsx +9 -2
  151. package/src/components/Upload/Upload.stories.tsx +252 -0
  152. package/src/components/Upload/Upload.tsx +92 -53
  153. package/src/components/VideoPlayer/VideoPlayer.tsx +3 -1
  154. package/src/components/index.ts +0 -4
  155. package/src/layouts/Grid/Grid.stories.tsx +10 -23
  156. package/src/layouts/Grid/Grid.tsx +20 -1
  157. package/src/layouts/Grid/GridCol.tsx +76 -48
  158. package/src/lib/composables/useAtomixGlass.ts +861 -44
  159. package/src/lib/composables/useBarChart.ts +21 -4
  160. package/src/lib/composables/useChart.ts +227 -370
  161. package/src/lib/composables/useChartExport.ts +19 -78
  162. package/src/lib/composables/useChartToolbar.ts +11 -21
  163. package/src/lib/composables/useEdgePanel.ts +125 -71
  164. package/src/lib/composables/useFooter.ts +3 -3
  165. package/src/lib/composables/useGlassContainer.ts +16 -7
  166. package/src/lib/composables/useLineChart.ts +11 -2
  167. package/src/lib/composables/usePieChart.ts +4 -14
  168. package/src/lib/composables/useRiver.ts +5 -0
  169. package/src/lib/composables/useSlider.ts +62 -24
  170. package/src/lib/composables/useVideoPlayer.ts +60 -63
  171. package/src/lib/constants/components.ts +147 -32
  172. package/src/lib/types/components.ts +355 -25
  173. package/src/lib/utils/displacement-generator.ts +55 -49
  174. package/src/lib/utils/icons.ts +1 -1
  175. package/src/lib/utils/index.ts +16 -10
  176. package/src/styles/01-settings/_settings.accordion.scss +19 -19
  177. package/src/styles/01-settings/_settings.animations.scss +5 -5
  178. package/src/styles/01-settings/_settings.avatar-group.scss +1 -1
  179. package/src/styles/01-settings/_settings.avatar.scss +17 -17
  180. package/src/styles/01-settings/_settings.background.scss +0 -3
  181. package/src/styles/01-settings/_settings.badge.scss +1 -1
  182. package/src/styles/01-settings/_settings.breadcrumb.scss +1 -1
  183. package/src/styles/01-settings/_settings.card.scss +1 -1
  184. package/src/styles/01-settings/_settings.chart.scss +65 -2
  185. package/src/styles/01-settings/_settings.dropdown.scss +1 -1
  186. package/src/styles/01-settings/_settings.edge-panel.scss +1 -1
  187. package/src/styles/01-settings/_settings.footer.scss +35 -42
  188. package/src/styles/01-settings/_settings.input.scss +1 -1
  189. package/src/styles/01-settings/_settings.list.scss +1 -1
  190. package/src/styles/01-settings/_settings.rating.scss +1 -1
  191. package/src/styles/01-settings/_settings.tabs.scss +1 -1
  192. package/src/styles/01-settings/_settings.upload.scss +6 -5
  193. package/src/styles/02-tools/_tools.animations.scss +4 -5
  194. package/src/styles/02-tools/_tools.background.scss +1 -13
  195. package/src/styles/02-tools/_tools.glass.scss +0 -1
  196. package/src/styles/02-tools/_tools.utility-api.scss +91 -48
  197. package/src/styles/03-generic/_generic.root.scss +1 -4
  198. package/src/styles/04-elements/_elements.body.scss +0 -1
  199. package/src/styles/06-components/_components.atomix-glass.scss +249 -0
  200. package/src/styles/06-components/_components.badge.scss +8 -23
  201. package/src/styles/06-components/_components.button.scss +8 -3
  202. package/src/styles/06-components/_components.callout.scss +10 -5
  203. package/src/styles/06-components/_components.card.scss +2 -14
  204. package/src/styles/06-components/_components.chart.scss +969 -1449
  205. package/src/styles/06-components/_components.dropdown.scss +19 -7
  206. package/src/styles/06-components/_components.edge-panel.scss +103 -0
  207. package/src/styles/06-components/_components.footer.scss +166 -85
  208. package/src/styles/06-components/_components.input.scss +8 -9
  209. package/src/styles/06-components/_components.list.scss +1 -0
  210. package/src/styles/06-components/_components.messages.scss +176 -0
  211. package/src/styles/06-components/_components.modal.scss +16 -4
  212. package/src/styles/06-components/_components.navbar.scss +12 -1
  213. package/src/styles/06-components/_components.side-menu.scss +5 -0
  214. package/src/styles/06-components/_components.skeleton.scss +8 -6
  215. package/src/styles/06-components/_components.upload.scss +219 -4
  216. package/src/styles/06-components/old.chart.styles.scss +1 -30
  217. package/src/styles/99-utilities/_index.scss +1 -0
  218. package/src/styles/99-utilities/_utilities.glass-fixes.scss +1 -0
  219. package/src/styles/99-utilities/_utilities.scss +1 -1
  220. package/src/components/AtomixGlass/AtomixGlass.stories.tsx +0 -3011
  221. package/src/components/AtomixGlass/AtomixGlassComprehensivePreview.stories.tsx +0 -1369
  222. package/src/components/Chart/AdvancedChart.tsx +0 -624
  223. package/src/components/Chart/LineChartNew.tsx +0 -167
  224. package/src/components/Chart/RealTimeChart.tsx +0 -436
  225. package/src/components/DatePicker/DatePicker copy.tsx +0 -551
package/dist/index.min.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e,jsxs as t,Fragment as a}from"react/jsx-runtime";import n,{useState as i,useRef as r,useEffect as o,forwardRef as l,useId as s,useMemo as c,useCallback as d,Children as u,isValidElement as h,cloneElement as m,memo as p,useImperativeHandle as g,createContext as v}from"react";import*as S from"@phosphor-icons/react";import{Pause as f,Play as E,SkipBack as A,SkipForward as b,SpeakerX as N,SpeakerHigh as _,Gear as C,Download as T,Share as L,ArrowsIn as y,ArrowsOut as x}from"@phosphor-icons/react";import{createPortal as I}from"react-dom";const w={SELECTORS:{ACCORDION:".c-accordion",HEADER:".c-accordion__header",PANEL:".c-accordion__panel",BODY:".c-accordion__body"},CLASSES:{IS_OPEN:"is-open",IS_ANIMATING:"is-animating",IS_DISABLED:"is-disabled"},ATTRIBUTES:{ARIA_EXPANDED:"aria-expanded",ARIA_CONTROLS:"aria-controls",ARIA_HIDDEN:"aria-hidden",ROLE:"role"},CSS_VARS:{PANEL_HEIGHT:"--panel-height"}},R={BASE_CLASS:"c-badge",ICON_CLASS:"c-badge__icon",VARIANT_PREFIX:"c-badge--",SIZE_PREFIX:"c-badge--"},O={BASE_CLASS:"c-list",ITEM_CLASS:"c-list__item",VARIANT_PREFIX:"c-list--",SIZE_PREFIX:"c-list--",CLASSES:{ORDERED:"c-list--ordered",INLINE:"c-list--inline"}},M={SELECTORS:{BREADCRUMB:".c-breadcrumb",ITEM:".c-breadcrumb__item",LINK:".c-breadcrumb__link"},CLASSES:{BASE:"c-breadcrumb",ITEM:"c-breadcrumb__item",LINK:"c-breadcrumb__link",ACTIVE:"is-active"},DEFAULTS:{DIVIDER:"›"}},D={SELECTORS:{HERO:".c-hero",CONTAINER:".c-hero__container",GRID:".c-hero__grid",CONTENT:".c-hero__content",SUBTITLE:".c-hero__subtitle",TITLE:".c-hero__title",TEXT:".c-hero__text",ACTIONS:".c-hero__actions",IMAGE:".c-hero__image",BG:".c-hero__bg",BG_IMAGE:".c-hero__bg-image",OVERLAY:".c-hero__overlay",IMAGE_WRAPPER:".c-hero__image-wrapper"},CLASSES:{CENTER:"c-hero--center",RIGHT:"c-hero--right",LEFT:"c-hero--left",FULL_VH:"c-hero--full-vh"}},k={SELECTORS:{TOOLTIP:".js-atomix-tooltip",TRIGGER:".js-atomix-tooltip-trigger",CONTENT:".js-atomix-tooltip-content",ARROW:".c-tooltip__arrow"},CLASSES:{IS_ACTIVE:"is-active",TOP:"c-tooltip--top",BOTTOM:"c-tooltip--bottom",LEFT:"c-tooltip--left",RIGHT:"c-tooltip--right",TOP_LEFT:"c-tooltip--top-left",TOP_RIGHT:"c-tooltip--top-right",BOTTOM_LEFT:"c-tooltip--bottom-left",BOTTOM_RIGHT:"c-tooltip--bottom-right"},ATTRIBUTES:{POSITION:"data-tooltip-position",TRIGGER:"data-tooltip-trigger",CONTENT_ID:"data-tooltip-id"},DEFAULTS:{TRIGGER:"hover",POSITION:"top",OFFSET:10,DELAY:200}},B={SELECTORS:{POPOVER:".js-atomix-popover",TRIGGER:".js-atomix-popover-trigger",CONTENT:".js-atomix-popover-content",CONTENT_INNER:".c-popover__content-inner",ARROW:".c-popover__arrow"},CLASSES:{IS_OPEN:"is-open",TOP:"c-popover--top",BOTTOM:"c-popover--bottom",LEFT:"c-popover--left",RIGHT:"c-popover--right",AUTO:"c-popover--auto"},ATTRIBUTES:{POSITION:"data-popover-position",TRIGGER:"data-popover-trigger",CONTENT_ID:"data-popover-id"},DEFAULTS:{TRIGGER:"click",POSITION:"top",OFFSET:12,DELAY:0}},P={SELECTORS:{TOGGLE:".c-toggle"},CLASSES:{IS_ON:"is-on"}},z={SELECTORS:{TAB:".js-atomix-tab",NAV_ITEMS:".c-tabs__nav-item",NAV_BTN:".c-tabs__nav-btn",PANELS:".c-tabs__panel",PANEL_BODIES:".c-tabs__panel-body"},CLASSES:{ACTIVE:"is-active"},DEFAULTS:{ACTIVE_INDEX:0}},F={SELECTORS:{STEPS:".c-steps",ITEM:".c-steps__item",LINE:".c-steps__line",CONTENT:".c-steps__content",NUMBER:".c-steps__number",TEXT:".c-steps__text"},CLASSES:{ACTIVE:"is-active",VERTICAL:"c-steps--vertical",COMPLETED:"is-completed"}},U={SELECTORS:{TESTIMONIAL:".c-testimonial",QUOTE:".c-testimonial__quote",AUTHOR:".c-testimonial__author",AUTHOR_AVATAR:".c-testimonial__author-avatar",AUTHOR_INFO:".c-testimonial__info",AUTHOR_NAME:".c-testimonial__author-name",AUTHOR_ROLE:".c-testimonial__author-role"},CLASSES:{SMALL:"c-testimonial--sm",LARGE:"c-testimonial--lg"}},G={SELECTORS:{SPINNER:".c-spinner"},CLASSES:{PRIMARY:"c-spinner--primary",SECONDARY:"c-spinner--secondary",SUCCESS:"c-spinner--success",INFO:"c-spinner--info",WARNING:"c-spinner--warning",DANGER:"c-spinner--danger",LIGHT:"c-spinner--light",DARK:"c-spinner--dark",SMALL:"c-spinner--sm",LARGE:"c-spinner--lg"},VISUALLY_HIDDEN:"u-visually-hidden"},V={SELECTORS:{SECTION_INTRO:".c-sectionintro",LABEL:".c-sectionintro__label",TITLE:".c-sectionintro__title",TEXT:".c-sectionintro__text",ACTIONS:".c-sectionintro__actions"},CLASSES:{CENTER:"c-sectionintro--center",LARGE:"c-sectionintro--lg",SMALL:"c-sectionintro--sm"}},Y={SELECTORS:{RIVER:".c-river",CONTAINER:".c-river__container",ROW:".c-river__row",CONTENT:".c-river__content",CONTENT_COL:".c-river__content-col",CONTENT_COL_TITLE:".c-river__content-col--title",CONTENT_COL_TEXT:".c-river__content-col--text",TITLE:".c-river__title",TEXT:".c-river__text",ACTIONS:".c-river__actions",VISUAL:".c-river__visual",IMAGE_WRAPPER:".c-river__image-wrapper",IMAGE:".c-river__image",BG:".c-river__bg",BG_IMAGE:".c-river__bg-image",OVERLAY:".c-river__overlay"},CLASSES:{CENTER:"c-river--center",BREAKOUT:"c-river--breakout",REVERSE:"c-river--reverse"},ATTRIBUTES:{CONTENT_WIDTH:"--river-content-width"}},H={SELECTORS:{UPLOAD:".c-upload",INNER:".c-upload__inner",ICON:".c-upload__icon",TITLE:".c-upload__title",TEXT:".c-upload__text",BUTTON:".c-upload__btn",HELPER_TEXT:".c-upload__helper-text",LOADER:".c-upload__loader",LOADER_STATUS:".c-upload__loader-status",LOADER_TITLE:".c-upload__loader-title",LOADER_PROGRESS:".c-upload__loader-progress",LOADER_PAR:".c-upload__loader-par",LOADER_TIME:".c-upload__loader-time",LOADER_CONTROL:".c-upload__loader-control",LOADER_BAR:".c-upload__loader-bar",LOADER_CLOSE:".c-upload__loader-close"},CLASSES:{DISABLED:"c-upload--disabled",ERROR:"c-upload--error",SUCCESS:"c-upload--success",LOADING:"c-upload--loading",DRAGGING:"c-upload--dragging"},ATTRIBUTES:{PERCENTAGE:"--upload-loader-percentage"}},W={SELECTORS:{NAV:".c-nav",ITEM:".c-nav__item",LINK:".c-nav__link",DROPDOWN:".c-nav__item--dropdown",DROPDOWN_MENU:".c-nav__dropdown-menu",MEGA_MENU:".c-nav__mega-menu",ICON:".c-nav__icon"},CLASSES:{END:"c-nav--end",CENTER:"c-nav--center",ACTIVE:"is-active",DISABLED:"is-disabled"}},Q={SELECTORS:{SIDE_MENU:".c-side-menu",WRAPPER:".c-side-menu__wrapper",INNER:".c-side-menu__inner",TITLE:".c-side-menu__title",TOGGLER:".c-side-menu__toggler",TOGGLER_ICON:".c-side-menu__toggler-icon",LIST:".c-side-menu__list",ITEM:".c-side-menu__item",LINK:".c-side-menu__link",LINK_ICON:".c-side-menu__link-icon",LINK_TEXT:".c-side-menu__link-text"},CLASSES:{BASE:"c-side-menu",WRAPPER:"c-side-menu__wrapper",INNER:"c-side-menu__inner",TITLE:"c-side-menu__title",TOGGLER:"c-side-menu__toggler",TOGGLER_ICON:"c-side-menu__toggler-icon",LIST:"c-side-menu__list",ITEM:"c-side-menu__item",LINK:"c-side-menu__link",LINK_ICON:"c-side-menu__link-icon",LINK_TEXT:"c-side-menu__link-text",IS_OPEN:"is-open",ACTIVE:"is-active",DISABLED:"is-disabled"},ATTRIBUTES:{SIDE_MENU:"data-side-menu",COLLAPSIBLE:"data-collapsible",OPEN:"data-open",TITLE:"data-title"},DEFAULTS:{COLLAPSIBLE:!0,OPEN:!1,TOGGLE_ICON:"▶"}},K={SELECTORS:{RATING:".c-rating",STAR:".c-rating__star",STAR_FULL:".c-rating__star-full",STAR_HALF:".c-rating__star-half"},CLASSES:{FULL:"c-rating__star--full",HALF:"c-rating__star--half",SMALL:"c-rating--sm",LARGE:"c-rating--lg"},ATTRIBUTES:{READONLY:"data-readonly",VALUE:"data-value"}},Z={SELECTORS:{PANEL:".c-edge-panel",BACKDROP:".c-edge-panel__backdrop",CONTAINER:".c-edge-panel__container",HEADER:".c-edge-panel__header",BODY:".c-edge-panel__body",CLOSE:".c-edge-panel__close"},CLASSES:{BASE:"c-edge-panel",START:"c-edge-panel--start",END:"c-edge-panel--end",TOP:"c-edge-panel--top",BOTTOM:"c-edge-panel--bottom",IS_OPEN:"is-open"},TRANSFORM_VALUES:{start:"translateX(-100%)",end:"translateX(100%)",top:"translateY(-100%)",bottom:"translateY(100%)"},ANIMATION_DURATION:300},j={base:"c-data-table",container:"c-data-table-container",tableWrapper:"c-data-table-wrapper",header:"c-data-table__header",headerCell:"c-data-table__header-cell",headerContent:"c-data-table__header-content",sortable:"c-data-table__header-cell--sortable",sortIcon:"c-data-table__sort-icon",row:"c-data-table__row",cell:"c-data-table__cell",loadingCell:"c-data-table__loading-cell",loadingIndicator:"c-data-table__loading-indicator",emptyCell:"c-data-table__empty-cell",toolbar:"c-data-table-toolbar",search:"c-data-table-search",searchInput:"c-data-table-search__input",pagination:"c-data-table__pagination-container",striped:"c-data-table--striped",bordered:"c-data-table--bordered",dense:"c-data-table--dense",loading:"c-data-table--loading",open:"is-open"},q={currentPage:1,totalPages:1,siblingCount:1,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"md"},X={SELECTORS:{TODO:".c-todo",TITLE:".c-todo__title",LIST:".c-todo__list",ITEM:".c-todo__item",ITEM_CONTENT:".c-todo__item-content",ITEM_TEXT:".c-todo__item-text",ITEM_ACTIONS:".c-todo__item-actions",CHECKBOX:".c-todo__checkbox",DELETE_BUTTON:".c-todo__delete-btn",FORM:".c-todo__form",INPUT:".c-todo__input",ADD_BUTTON:".c-todo__add-btn"},CLASSES:{BASE:"c-todo",ITEM:"c-todo__item",COMPLETED:"c-todo__item--completed",SMALL:"c-todo--sm",LARGE:"c-todo--lg"}},$={SELECTORS:{FORM:".c-form",GROUP:".c-form-group",LABEL:".c-form-group__label",HELPER:".c-form-group__helper",FIELD:".c-form-group__field",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form",DISABLED:"c-form--disabled"}},J={SELECTORS:{GROUP:".c-form-group",LABEL:".c-form-group__label",FIELD:".c-form-group__field",HELPER:".c-form-group__helper",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form-group",SMALL:"c-form-group--sm",LARGE:"c-form-group--lg",INVALID:"c-form-group--invalid",VALID:"c-form-group--valid",DISABLED:"c-form-group--disabled"}},ee={SELECTORS:{INPUT:".c-input"},CLASSES:{BASE:"c-input",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},te={SELECTORS:{RADIO:".c-radio",INPUT:".c-radio__input",LABEL:".c-radio__label"},CLASSES:{BASE:"c-radio",INVALID:"is-error",VALID:"is-valid",DISABLED:"is-disabled"}},ae={SELECTORS:{CARD:".c-card",HEADER:".c-card__header",BODY:".c-card__body",IMAGE:".c-card__image",TITLE:".c-card__title",TEXT:".c-card__text",ACTIONS:".c-card__actions",ICON:".c-card__icon",FOOTER:".c-card__footer"},CLASSES:{BASE:"c-card",ROW:"c-card--row",FLAT:"c-card--flat",ACTIVE:"is-active",FLIPPED:"is-flipped",FOCUSED:"is-focused",CLICKABLE:"is-clickable"},DEFAULTS:{HOVER:!0}},ne={SELECTORS:{SELECT:".c-select",SELECTED:".c-select__selected",SELECT_BODY:".c-select__body",SELECT_PANEL:".c-select__panel",SELECT_ITEMS:".c-select__items",SELECT_ITEM:".c-select__item",ITEM_LABEL:".c-select__item-label",ITEM_INPUT:".c-select__item-input",OPTION:"option"},CLASSES:{BASE:"c-select",SELECTED:"c-select__selected",SELECT_BODY:"c-select__body",SELECT_PANEL:"c-select__panel",SELECT_ITEMS:"c-select__items",SELECT_ITEM:"c-select__item",TOGGLE_ICON:"c-select__toggle-icon",ICON_CARET:"icon-atomix-caret-down",SMALL:"c-select--sm",LARGE:"c-select--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled",IS_OPEN:"is-open"}},ie={SELECTORS:{TEXTAREA:".c-textarea"},CLASSES:{BASE:"c-input c-input--textarea",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},re={SELECTORS:{AVATAR:".c-avatar",IMAGE:".c-avatar__image",INITIALS:".c-avatar__initials",ICON:".c-avatar__icon"},CLASSES:{BASE:"c-avatar",XS:"c-avatar--xs",SM:"c-avatar--sm",MD:"c-avatar--md",LG:"c-avatar--lg",XL:"c-avatar--xl",CIRCLE:"c-avatar--circle"}},oe={SELECTORS:{GROUP:".c-avatar-group",MORE:".c-avatar-group__more"},CLASSES:{BASE:"c-avatar-group",STACKED:"c-avatar-group--stacked",MORE:"c-avatar-group__more"}},le={SELECTORS:{MODAL:".c-modal",OPEN_BUTTON:".js-modal-open",CLOSE_BUTTONS:".js-modal-close",DIALOG:".c-modal__dialog",BACKDROP:".c-modal__backdrop"},CLASSES:{IS_OPEN:"is-open"},DEFAULT_OPTIONS:{openELm:".js-modal-open",closeELms:".js-modal-close",modalDialogELm:".c-modal__dialog",backdropELm:".c-modal__backdrop",backdrop:!0,keyboard:!0}},se={SELECTORS:{MESSAGES:".c-messages",BODY:".c-messages__body",CONTENT:".c-messages__content",AVATAR:".c-messages__avatar",ITEMS:".c-messages__items",TEXT:".c-messages__text",FILE:".c-messages__file",IMAGE:".c-messages__image",FORM:".c-messages__form",INPUT:".c-messages__input"},CLASSES:{BASE:"c-messages",BODY:"c-messages__body",CONTENT:"c-messages__content",CONTENT_SELF:"c-messages__content--self",AVATAR:"c-messages__avatar",ITEMS:"c-messages__items",NAME:"c-messages__name",TEXT:"c-messages__text",TIME:"c-messages__time",FILE:"c-messages__file",FILE_ICON:"c-messages__file-icon",FILE_DETAILS:"c-messages__file-details",FILE_NAME:"c-messages__file-name",FILE_SIZE:"c-messages__file-size",IMAGE:"c-messages__image",FORM:"c-messages__form",INPUT_GROUP:"c-messages__input-group",INPUT:"c-messages__input",OPTIONS:"c-messages__options",OPTION:"c-messages__option c-btn",OPTION_ICON:"c-messages__option-icon",SUBMIT:"c-messages__submit"}},ce={SELECTORS:{DROPDOWN:".c-dropdown",TOGGLE:".c-dropdown__toggle",MENU:".c-dropdown__menu",MENU_WRAPPER:".c-dropdown__menu-wrapper",MENU_INNER:".c-dropdown__menu-inner",MENU_ITEM:".c-dropdown__menu-item",DIVIDER:".c-dropdown__divider",HEADER:".c-dropdown__header"},CLASSES:{IS_OPEN:"is-open",IS_ACTIVE:"is-active",IS_DISABLED:"is-disabled"},DEFAULTS:{PLACEMENT:"bottom-start",TRIGGER:"click",OFFSET:4,MIN_WIDTH:180,ANIMATION_DURATION:"0.25s",ANIMATION_TIMING:"cubic-bezier(0.16, 1, 0.3, 1)"}},de={SELECTORS:{PROGRESS:".c-progress",BAR:".c-progress__bar"},CLASSES:{BASE:"c-progress",BAR:"c-progress__bar",SM:"c-progress--sm",MD:"c-progress--md",LG:"c-progress--lg"},ATTRIBUTES:{ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUENOW:"aria-valuenow",ARIA_LABEL:"aria-label"},CSS_VARS:{PERCENTAGE:"--atomix-progress-percentage"},DEFAULTS:{ARIA_LABEL:"Progress bar"}},ue={SELECTORS:{VIDEO_PLAYER:".c-video-player",VIDEO:".c-video-player__video",CONTROLS:".c-video-player__controls",PROGRESS:".c-video-player__progress",VOLUME:".c-video-player__volume",SETTINGS:".c-video-player__settings"},CLASSES:{BASE:"c-video-player",VIDEO:"c-video-player__video",YOUTUBE:"c-video-player--youtube",LOADING:"c-video-player__loading",SPINNER:"c-video-player__spinner",CONTROLS:"c-video-player__controls",CONTROLS_VISIBLE:"c-video-player__controls--visible",PROGRESS_CONTAINER:"c-video-player__progress-container",PROGRESS_BAR:"c-video-player__progress-bar",PROGRESS_BUFFERED:"c-video-player__progress-buffered",PROGRESS_PLAYED:"c-video-player__progress-played",PROGRESS_THUMB:"c-video-player__progress-thumb",CONTROLS_ROW:"c-video-player__controls-row",CONTROLS_LEFT:"c-video-player__controls-left",CONTROLS_RIGHT:"c-video-player__controls-right",CONTROL_BUTTON:"c-video-player__control-button",VOLUME_CONTAINER:"c-video-player__volume-container",VOLUME_SLIDER:"c-video-player__volume-slider",VOLUME_BAR:"c-video-player__volume-bar",VOLUME_FILL:"c-video-player__volume-fill",TIME_DISPLAY:"c-video-player__time-display",SETTINGS_CONTAINER:"c-video-player__settings-container",SETTINGS_MENU:"c-video-player__settings-menu",SETTINGS_TABS:"c-video-player__settings-tabs",SETTINGS_TAB:"c-video-player__settings-tab",SETTINGS_TAB_ACTIVE:"c-video-player__settings-tab--active",SETTINGS_CONTENT:"c-video-player__settings-content",SETTINGS_OPTIONS:"c-video-player__settings-options",SETTINGS_OPTION:"c-video-player__settings-option",SETTINGS_OPTION_ACTIVE:"c-video-player__settings-option--active",AMBIENT:"c-video-player--ambient",AMBIENT_CANVAS:"c-video-player__ambient-canvas",GLASS:"c-video-player--glass",GLASS_OVERLAY:"c-video-player__glass-overlay",GLASS_CONTENT:"c-video-player__glass-content"},DEFAULTS:{CONTROLS_TIMEOUT:3e3,VOLUME:1,PLAYBACK_RATE:1,ASPECT_RATIO:"16:9"}},he={classes:{container:"c-slider",containerModifierClass:"c-slider--",wrapper:"c-slider__wrapper",slide:"c-slider__slide",slideActive:"c-slider__slide--active",slidePrev:"c-slider__slide--prev",slideNext:"c-slider__slide--next",slideDuplicate:"c-slider__slide--duplicate",slideVisible:"c-slider__slide--visible",pagination:"c-slider__pagination",paginationBullet:"c-slider__pagination-bullet",paginationBulletActive:"c-slider__pagination-bullet--active",navigation:"c-slider__navigation",navigationPrev:"c-slider__navigation-prev",navigationNext:"c-slider__navigation-next",navigationDisabled:"c-slider__navigation--disabled",scrollbar:"c-slider__scrollbar",scrollbarDrag:"c-slider__scrollbar-drag",thumbs:"c-slider__thumbs",thumbsWrapper:"c-slider__thumbs-wrapper",thumbsSlide:"c-slider__thumbs-slide",thumbsSlideActive:"c-slider__thumbs-slide--active",zoomContainer:"c-slider__zoom-container",lazyPreloader:"c-slider__lazy-preloader"},defaults:{slidesToShow:1,slidesToScroll:1,spaceBetween:0,centeredSlides:!1,loop:!1,initialSlide:0,direction:"horizontal",speed:300,easing:"ease-out",allowTouchMove:!0,threshold:5,mousewheel:!1,keyboard:!1,grabCursor:!1,freeMode:!1,watchSlidesProgress:!1,watchOverflow:!0,resistanceRatio:.85,preventClicks:!0,preventClicksPropagation:!0,simulateTouch:!0,touchRatio:1,touchAngle:45,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchReleaseOnEdges:!1,resistance:!0,passiveListeners:!0},breakpoints:{sm:576,md:768,lg:992,xl:1200,xxl:1400},events:{init:"slider:init",destroy:"slider:destroy",slideChange:"slider:slideChange",slideChangeTransitionStart:"slider:slideChangeTransitionStart",slideChangeTransitionEnd:"slider:slideChangeTransitionEnd",touchStart:"slider:touchStart",touchMove:"slider:touchMove",touchEnd:"slider:touchEnd",reachBeginning:"slider:reachBeginning",reachEnd:"slider:reachEnd",progress:"slider:progress",autoplayStart:"slider:autoplayStart",autoplayStop:"slider:autoplayStop",beforeResize:"slider:beforeResize",resize:"slider:resize"}},me=he,pe={BASE_CLASS:"c-chart",ROOT_CLASS:"c-chart",HEADER_CLASS:"c-chart__header",HEADER_CONTENT_CLASS:"c-chart__header-content",TITLE_CLASS:"c-chart__title",SUBTITLE_CLASS:"c-chart__subtitle",TOOLBAR_CLASS:"c-chart__toolbar",ACTION_CLASS:"c-chart__action",EXPORT_GROUP_CLASS:"c-chart__export-group",EXPORT_DROPDOWN_CLASS:"c-chart__export-dropdown",EXPORT_OPTION_CLASS:"c-chart__export-option",TOOLBAR_GROUP_CLASS:"c-chart__toolbar-group",TOOLBAR_SEPARATOR_CLASS:"c-chart__toolbar-separator",TOOLBAR_LABEL_CLASS:"c-chart__toolbar-label",CONTENT_CLASS:"c-chart__content",CANVAS_CLASS:"c-chart__canvas",LEGEND_CLASS:"c-chart__legend",LEGEND_ITEM_CLASS:"c-chart__legend-item",LEGEND_LABEL_CLASS:"c-chart__legend-label",LEGEND_COLOR_CLASS:"c-chart__legend-color",TOOLTIP_CLASS:"c-chart__tooltip",TOOLTIP_TITLE_CLASS:"c-chart__tooltip-title",TOOLTIP_CONTENT_CLASS:"c-chart__tooltip-content",TOOLTIP_ITEM_CLASS:"c-chart__tooltip-item",TOOLTIP_LABEL_CLASS:"c-chart__tooltip-label",TOOLTIP_VALUE_CLASS:"c-chart__tooltip-value",AXIS_CLASS:"c-chart__axis",AXIS_LABEL_CLASS:"c-chart__axis-label",GRID_CLASS:"c-chart__grid",DATA_POINT_CLASS:"c-chart__data-point",CHART_SVG_CLASS:"c-chart__svg",LOADING_CLASS:"c-chart__loading",LOADING_SPINNER_CLASS:"c-chart__loading-spinner",LOADING_TEXT_CLASS:"c-chart__loading-text",ERROR_CLASS:"c-chart__error",ERROR_ICON_CLASS:"c-chart__error-icon",ERROR_CONTENT_CLASS:"c-chart__error-content",ERROR_MESSAGE_CLASS:"c-chart__error-message",ERROR_DETAILS_CLASS:"c-chart__error-details",EMPTY_CLASS:"c-chart__empty",EMPTY_ICON_CLASS:"c-chart__empty-icon",EMPTY_MESSAGE_CLASS:"c-chart__empty-message",EMPTY_DETAILS_CLASS:"c-chart__empty-details",DEFAULT_WIDTH:800,DEFAULT_HEIGHT:400,PIE_RADIUS_RATIO:.8,DEFAULT_COLORS:["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-info)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-primary-5)","var(--atomix-primary-7)","var(--atomix-primary-3)","var(--atomix-gray-6)","var(--atomix-gray-8)","var(--atomix-gray-4)"],TYPE_PREFIX:"c-chart--",SIZE_PREFIX:"c-chart--",VARIANT_PREFIX:"c-chart--",LOADING_STATE_CLASS:"c-chart--loading",ERROR_STATE_CLASS:"c-chart--error",CLASSES:{LINE:"c-chart--line",AREA:"c-chart--area",BAR:"c-chart--bar",HORIZONTAL_BAR:"c-chart--horizontal-bar",PIE:"c-chart--pie",DONUT:"c-chart--donut",DOUGHNUT:"c-chart--doughnut",SCATTER:"c-chart--scatter",RADAR:"c-chart--radar",BUBBLE:"c-chart--bubble",CANDLESTICK:"c-chart--candlestick",GAUGE:"c-chart--gauge",FUNNEL:"c-chart--funnel",WATERFALL:"c-chart--waterfall",HEATMAP:"c-chart--heatmap",TREEMAP:"c-chart--treemap",SM:"c-chart--sm",MD:"c-chart--md",LG:"c-chart--lg",XL:"c-chart--xl",FULL:"c-chart--full",PRIMARY:"c-chart--primary",SECONDARY:"c-chart--secondary",SUCCESS:"c-chart--success",ERROR:"c-chart--error",WARNING:"c-chart--warning",INFO:"c-chart--info",LOADING:"c-chart--loading",INTERACTIVE:"c-chart--interactive",DISABLED:"c-chart--disabled",FULLSCREEN:"c-chart--fullscreen",MINIMIZED:"c-chart--minimized",ADVANCED:"c-chart--advanced",TOOLBAR_SM:"c-chart__toolbar--sm",TOOLBAR_MD:"c-chart__toolbar--md",TOOLBAR_LG:"c-chart__toolbar--lg",TOOLBAR_TOP:"c-chart__toolbar--top",TOOLBAR_BOTTOM:"c-chart__toolbar--bottom",TOOLBAR_LEFT:"c-chart__toolbar--left",TOOLBAR_RIGHT:"c-chart__toolbar--right",ACTION_ACTIVE:"c-chart__action--active",ACTION_DISABLED:"c-chart__action--disabled",ACTION_PRIMARY:"c-chart__action--primary",ACTION_SECONDARY:"c-chart__action--secondary",ACTION_SUCCESS:"c-chart__action--success",ACTION_INFO:"c-chart__action--info",ACTION_WARNING:"c-chart__action--warning",ACTION_ERROR:"c-chart__action--error"},TOOLBAR:{SIZES:["sm","md","lg"],POSITIONS:["top","bottom","left","right"],ACTION_VARIANTS:["primary","secondary","success","info","warning","error"]}},ge={BASE_CLASS:"o-block",SPACING_PREFIX:"o-block--",CLASSES:{SPACING_XS:"o-block--xs",SPACING_SM:"o-block--sm",SPACING_MD:"o-block--md",SPACING_LG:"o-block--lg",SPACING_XL:"o-block--xl",SPACING_NONE:"o-block--no-spacing",FULL_WIDTH:"o-block--full-width",BG_PRIMARY:"o-block--primary",BG_SECONDARY:"o-block--secondary",BG_TERTIARY:"o-block--tertiary",BG_INVERT:"o-block--invert",BG_BRAND:"o-block--brand",BG_ERROR:"o-block--error",BG_SUCCESS:"o-block--success",BG_WARNING:"o-block--warning",BG_INFO:"o-block--info",BG_LIGHT:"o-block--light",BG_DARK:"o-block--dark"},SPACING:{SIZES:["xs","sm","md","lg","xl","none"],DEFAULT:"md"}},ve={SELECTORS:{FOOTER:".c-footer",CONTAINER:".c-footer__container",SECTIONS:".c-footer__sections",BRAND:".c-footer__brand",BRAND_LOGO:".c-footer__brand-logo",BRAND_NAME:".c-footer__brand-name",BRAND_DESCRIPTION:".c-footer__brand-description",SECTION:".c-footer__section",SECTION_HEADER:".c-footer__section-header",SECTION_TITLE:".c-footer__section-title",SECTION_CONTENT:".c-footer__section-content",SECTION_TOGGLE:".c-footer__section-toggle",LINK:".c-footer__link",SOCIAL:".c-footer__social",SOCIAL_LINK:".c-footer__social-link",NEWSLETTER:".c-footer__newsletter",NEWSLETTER_FORM:".c-footer__newsletter-form",NEWSLETTER_INPUT:".c-footer__newsletter-input",NEWSLETTER_BUTTON:".c-footer__newsletter-button",BOTTOM:".c-footer__bottom",COPYRIGHT:".c-footer__copyright",BACK_TO_TOP:".c-footer__back-to-top",DIVIDER:".c-footer__divider"},CLASSES:{BASE:"c-footer",CONTAINER:"c-footer__container",SECTIONS:"c-footer__sections",BRAND:"c-footer__brand",BRAND_LOGO:"c-footer__brand-logo",BRAND_NAME:"c-footer__brand-name",BRAND_DESCRIPTION:"c-footer__brand-description",SECTION:"c-footer__section",SECTION_HEADER:"c-footer__section-header",SECTION_TITLE:"c-footer__section-title",SECTION_CONTENT:"c-footer__section-content",SECTION_TOGGLE:"c-footer__section-toggle",SECTION_COLLAPSIBLE:"c-footer__section--collapsible",SECTION_COLLAPSED:"c-footer__section--collapsed",LINK:"c-footer__link",LINK_ACTIVE:"c-footer__link--active",LINK_DISABLED:"c-footer__link--disabled",SOCIAL:"c-footer__social",SOCIAL_LINK:"c-footer__social-link",NEWSLETTER:"c-footer__newsletter",NEWSLETTER_FORM:"c-footer__newsletter-form",NEWSLETTER_INPUT:"c-footer__newsletter-input",NEWSLETTER_BUTTON:"c-footer__newsletter-button",BOTTOM:"c-footer__bottom",COPYRIGHT:"c-footer__copyright",BACK_TO_TOP:"c-footer__back-to-top",DIVIDER:"c-footer__divider",COLUMNS:"c-footer--columns",CENTERED:"c-footer--centered",MINIMAL:"c-footer--minimal",STACKED:"c-footer--stacked",SM:"c-footer--sm",MD:"c-footer--md",LG:"c-footer--lg",STICKY:"c-footer--sticky"},DEFAULTS:{LAYOUT:"columns",VARIANT:"primary",SIZE:"md",SHOW_NEWSLETTER:!1,SHOW_BACK_TO_TOP:!1,SHOW_DIVIDER:!0,STICKY:!1,NEWSLETTER_TITLE:"Stay Updated",NEWSLETTER_DESCRIPTION:"Subscribe to our newsletter for the latest updates.",NEWSLETTER_PLACEHOLDER:"Enter your email",NEWSLETTER_BUTTON_TEXT:"Subscribe",BACK_TO_TOP_TEXT:"Back to Top"}};function Se(e){const t={defaultOpen:!1,disabled:!1,iconPosition:"right",...e},a="boolean"==typeof t.isOpen,[n,l]=i(t.defaultOpen||!1),s=a?t.isOpen:n,[c,d]=i(s?"auto":"0px"),u=r(null),h=r(null),m=()=>{if(h.current&&u.current){const e=s?`${h.current.clientHeight}px`:"0px";u.current.style.setProperty(w.CSS_VARS.PANEL_HEIGHT,e),d(e)}};o((()=>{m()}),[s]),o((()=>{const e=()=>{s&&m()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[s]);return{state:{isOpen:s,panelHeight:c},toggle:()=>{t.disabled||(a?t.onOpenChange&&t.onOpenChange(!s):l((e=>!e)))},updatePanelHeight:m,panelRef:u,contentRef:h,generateClassNames:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`c-accordion ${s?w.CLASSES.IS_OPEN:""} ${t.disabled?w.CLASSES.IS_DISABLED:""} ${e}`.trim()},generateHeaderClassNames:()=>`c-accordion__header ${"left"===t.iconPosition?"c-accordion__header--icon-left":""}`.trim()}}var fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ae=function(e){try{return!!e()}catch(e){return!0}},be=!Ae((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Ne=be,_e=Function.prototype,Ce=_e.call,Te=Ne&&_e.bind.bind(Ce,Ce),Le=Ne?Te:function(e){return function(){return Ce.apply(e,arguments)}},ye=Le({}.isPrototypeOf),xe=function(e){return e&&e.Math===Math&&e},Ie=xe("object"==typeof globalThis&&globalThis)||xe("object"==typeof window&&window)||xe("object"==typeof self&&self)||xe("object"==typeof fe&&fe)||xe("object"==typeof fe&&fe)||function(){return this}()||Function("return this")(),we=be,Re=Function.prototype,Oe=Re.apply,Me=Re.call,De="object"==typeof Reflect&&Reflect.apply||(we?Me.bind(Oe):function(){return Me.apply(Oe,arguments)}),ke=Le,Be=ke({}.toString),Pe=ke("".slice),ze=function(e){return Pe(Be(e),8,-1)},Fe=ze,Ue=Le,Ge=function(e){if("Function"===Fe(e))return Ue(e)},Ve="object"==typeof document&&document.all,Ye=void 0===Ve&&void 0!==Ve?function(e){return"function"==typeof e||e===Ve}:function(e){return"function"==typeof e},He={},We=!Ae((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Qe=be,Ke=Function.prototype.call,Ze=Qe?Ke.bind(Ke):function(){return Ke.apply(Ke,arguments)},je={},qe={}.propertyIsEnumerable,Xe=Object.getOwnPropertyDescriptor,$e=Xe&&!qe.call({1:2},1);je.f=$e?function(e){var t=Xe(this,e);return!!t&&t.enumerable}:qe;var Je,et,tt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},at=Ae,nt=ze,it=Object,rt=Le("".split),ot=at((function(){return!it("z").propertyIsEnumerable(0)}))?function(e){return"String"===nt(e)?rt(e,""):it(e)}:it,lt=function(e){return null==e},st=lt,ct=TypeError,dt=function(e){if(st(e))throw new ct("Can't call method on "+e);return e},ut=ot,ht=dt,mt=function(e){return ut(ht(e))},pt=Ye,gt=function(e){return"object"==typeof e?null!==e:pt(e)},vt={},St=vt,ft=Ie,Et=Ye,At=function(e){return Et(e)?e:void 0},bt=Ie.navigator,Nt=bt&&bt.userAgent,_t=Nt?String(Nt):"",Ct=Ie,Tt=_t,Lt=Ct.process,yt=Ct.Deno,xt=Lt&&Lt.versions||yt&&yt.version,It=xt&&xt.v8;It&&(et=(Je=It.split("."))[0]>0&&Je[0]<4?1:+(Je[0]+Je[1])),!et&&Tt&&(!(Je=Tt.match(/Edge\/(\d+)/))||Je[1]>=74)&&(Je=Tt.match(/Chrome\/(\d+)/))&&(et=+Je[1]);var wt=et,Rt=wt,Ot=Ae,Mt=Ie.String,Dt=!!Object.getOwnPropertySymbols&&!Ot((function(){var e=Symbol("symbol detection");return!Mt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41})),kt=Dt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Bt=function(e,t){return arguments.length<2?At(St[e])||At(ft[e]):St[e]&&St[e][t]||ft[e]&&ft[e][t]},Pt=Ye,zt=ye,Ft=Object,Ut=kt?function(e){return"symbol"==typeof e}:function(e){var t=Bt("Symbol");return Pt(t)&&zt(t.prototype,Ft(e))},Gt=String,Vt=Ye,Yt=function(e){try{return Gt(e)}catch(e){return"Object"}},Ht=TypeError,Wt=function(e){if(Vt(e))return e;throw new Ht(Yt(e)+" is not a function")},Qt=Wt,Kt=lt,Zt=Ze,jt=Ye,qt=gt,Xt=TypeError,$t={exports:{}},Jt=Ie,ea=Object.defineProperty,ta=Ie,aa=function(e,t){try{ea(Jt,e,{value:t,configurable:!0,writable:!0})}catch(a){Jt[e]=t}return t},na="__core-js_shared__",ia=$t.exports=ta[na]||aa(na,{});(ia.versions||(ia.versions=[])).push({version:"3.43.0",mode:"pure",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ra=$t.exports,oa=dt,la=Object,sa=function(e){return la(oa(e))},ca=sa,da=Le({}.hasOwnProperty),ua=Object.hasOwn||function(e,t){return da(ca(e),t)},ha=Le,ma=0,pa=Math.random(),ga=ha(1.1.toString),va=function(e,t){return ra[e]||(ra[e]=t||{})},Sa=ua,fa=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ga(++ma+pa,36)},Ea=Dt,Aa=kt,ba=Ie.Symbol,Na=va("wks"),_a=Aa?ba.for||ba:ba&&ba.withoutSetter||fa,Ca=function(e){return Sa(Na,e)||(Na[e]=Ea&&Sa(ba,e)?ba[e]:_a("Symbol."+e)),Na[e]},Ta=Ze,La=gt,ya=Ut,xa=function(e,t){var a=e[t];return Kt(a)?void 0:Qt(a)},Ia=function(e,t){var a,n;if("string"===t&&jt(a=e.toString)&&!qt(n=Zt(a,e)))return n;if(jt(a=e.valueOf)&&!qt(n=Zt(a,e)))return n;if("string"!==t&&jt(a=e.toString)&&!qt(n=Zt(a,e)))return n;throw new Xt("Can't convert object to primitive value")},wa=TypeError,Ra=Ca("toPrimitive"),Oa=function(e,t){if(!La(e)||ya(e))return e;var a,n=xa(e,Ra);if(n){if(void 0===t&&(t="default"),a=Ta(n,e,t),!La(a)||ya(a))return a;throw new wa("Can't convert object to primitive value")}return void 0===t&&(t="number"),Ia(e,t)},Ma=Ut,Da=function(e){var t=Oa(e,"string");return Ma(t)?t:t+""},ka=gt,Ba=Ie.document,Pa=ka(Ba)&&ka(Ba.createElement),za=function(e){return Pa?Ba.createElement(e):{}},Fa=!We&&!Ae((function(){return 7!==Object.defineProperty(za("div"),"a",{get:function(){return 7}}).a})),Ua=We,Ga=Ze,Va=je,Ya=tt,Ha=mt,Wa=Da,Qa=ua,Ka=Fa,Za=Object.getOwnPropertyDescriptor;He.f=Ua?Za:function(e,t){if(e=Ha(e),t=Wa(t),Ka)try{return Za(e,t)}catch(e){}if(Qa(e,t))return Ya(!Ga(Va.f,e,t),e[t])};var ja=Ae,qa=Ye,Xa=/#|\.prototype\./,$a=function(e,t){var a=en[Ja(e)];return a===an||a!==tn&&(qa(t)?ja(t):!!t)},Ja=$a.normalize=function(e){return String(e).replace(Xa,".").toLowerCase()},en=$a.data={},tn=$a.NATIVE="N",an=$a.POLYFILL="P",nn=$a,rn=Wt,on=be,ln=Ge(Ge.bind),sn={},cn=We&&Ae((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),dn=gt,un=String,hn=TypeError,mn=We,pn=Fa,gn=cn,vn=function(e){if(dn(e))return e;throw new hn(un(e)+" is not an object")},Sn=Da,fn=TypeError,En=Object.defineProperty,An=Object.getOwnPropertyDescriptor,bn="enumerable",Nn="configurable",_n="writable";sn.f=mn?gn?function(e,t,a){if(vn(e),t=Sn(t),vn(a),"function"==typeof e&&"prototype"===t&&"value"in a&&_n in a&&!a[_n]){var n=An(e,t);n&&n[_n]&&(e[t]=a.value,a={configurable:Nn in a?a[Nn]:n[Nn],enumerable:bn in a?a[bn]:n[bn],writable:!1})}return En(e,t,a)}:En:function(e,t,a){if(vn(e),t=Sn(t),vn(a),pn)try{return En(e,t,a)}catch(e){}if("get"in a||"set"in a)throw new fn("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var Cn=sn,Tn=tt,Ln=We?function(e,t,a){return Cn.f(e,t,Tn(1,a))}:function(e,t,a){return e[t]=a,e},yn=Ie,xn=De,In=Ge,wn=Ye,Rn=He.f,On=nn,Mn=vt,Dn=function(e,t){return rn(e),void 0===t?e:on?ln(e,t):function(){return e.apply(t,arguments)}},kn=Ln,Bn=ua,Pn=function(e){var t=function(a,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(a);case 2:return new e(a,n)}return new e(a,n,i)}return xn(e,this,arguments)};return t.prototype=e.prototype,t},zn=function(e,t){var a,n,i,r,o,l,s,c,d,u=e.target,h=e.global,m=e.stat,p=e.proto,g=h?yn:m?yn[u]:yn[u]&&yn[u].prototype,v=h?Mn:Mn[u]||kn(Mn,u,{})[u],S=v.prototype;for(r in t)n=!(a=On(h?r:u+(m?".":"#")+r,e.forced))&&g&&Bn(g,r),l=v[r],n&&(s=e.dontCallGetSet?(d=Rn(g,r))&&d.value:g[r]),o=n&&s?s:t[r],(a||p||typeof l!=typeof o)&&(c=e.bind&&n?Dn(o,yn):e.wrap&&n?Pn(o):p&&wn(o)?In(o):o,(e.sham||o&&o.sham||l&&l.sham)&&kn(c,"sham",!0),kn(v,r,c),p&&(Bn(Mn,i=u+"Prototype")||kn(Mn,i,{}),kn(Mn[i],r,o),e.real&&S&&(a||!S[r])&&kn(S,r,o)))},Fn=Math.ceil,Un=Math.floor,Gn=Math.trunc||function(e){var t=+e;return(t>0?Un:Fn)(t)},Vn=function(e){var t=+e;return t!=t||0===t?0:Gn(t)},Yn=Vn,Hn=Math.max,Wn=Math.min,Qn=Vn,Kn=Math.min,Zn=function(e){var t=Qn(e);return t>0?Kn(t,9007199254740991):0},jn=function(e){return Zn(e.length)},qn=mt,Xn=function(e,t){var a=Yn(e);return a<0?Hn(a+t,0):Wn(a,t)},$n=jn,Jn=function(e){return function(t,a,n){var i=qn(t),r=$n(i);if(0===r)return!e&&-1;var o,l=Xn(n,r);if(e&&a!=a){for(;r>l;)if((o=i[l++])!=o)return!0}else for(;r>l;l++)if((e||l in i)&&i[l]===a)return e||l||0;return!e&&-1}},ei={includes:Jn(!0),indexOf:Jn(!1)}.includes;zn({target:"Array",proto:!0,forced:Ae((function(){return!Array(1).includes()}))},{includes:function(e){return ei(this,e,arguments.length>1?arguments[1]:void 0)}});var ti=Ie,ai=vt,ni=function(e,t){var a=ai[e+"Prototype"],n=a&&a[t];if(n)return n;var i=ti[e],r=i&&i.prototype;return r&&r[t]},ii=ni("Array","includes"),ri=gt,oi=ze,li=Ca("match"),si=function(e){var t;return ri(e)&&(void 0!==(t=e[li])?!!t:"RegExp"===oi(e))},ci=TypeError,di={};di[Ca("toStringTag")]="z";var ui="[object z]"===String(di),hi=Ye,mi=ze,pi=Ca("toStringTag"),gi=Object,vi="Arguments"===mi(function(){return arguments}()),Si=ui?mi:function(e){var t,a,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=gi(e),pi))?a:vi?mi(t):"Object"===(n=mi(t))&&hi(t.callee)?"Arguments":n},fi=String,Ei=Ca("match"),Ai=zn,bi=function(e){if(si(e))throw new ci("The method doesn't accept regular expressions");return e},Ni=dt,_i=function(e){if("Symbol"===Si(e))throw new TypeError("Cannot convert a Symbol value to a string");return fi(e)},Ci=function(e){var t=/./;try{"/./"[e](t)}catch(a){try{return t[Ei]=!1,"/./"[e](t)}catch(e){}}return!1},Ti=Le("".indexOf);Ai({target:"String",proto:!0,forced:!Ci("includes")},{includes:function(e){return!!~Ti(_i(Ni(this)),_i(bi(e)),arguments.length>1?arguments[1]:void 0)}});var Li=ni("String","includes"),yi=ye,xi=ii,Ii=Li,wi=Array.prototype,Ri=String.prototype,Oi=Ee((function(e){var t=e.includes;return e===wi||yi(wi,e)&&t===wi.includes?xi:"string"==typeof e||e===Ri||yi(Ri,e)&&t===Ri.includes?Ii:t}));function Mi(e,t,a){return(a=Math.max(0,Math.min(1,(a-e)/(t-e))))*a*(3-2*a)}function Di(e,t,a,n,i){const r=Math.abs(e)-a+i,o=Math.abs(t)-n+i;return Math.min(Math.max(r,o),0)+function(e,t){return Math.sqrt(e*e+t*t)}(Math.max(r,0),Math.max(o,0))-i}const ki={liquidGlass:e=>{const t=e.x-.5,a=e.y-.5,n=Mi(.8,0,Di(t,a,.3,.2,.6)-.15),i=Mi(0,1,n);return{x:t*i+.5,y:a*i+.5}}};class Bi{constructor(e){this.options=e,this.canvasDPI=1,this.canvas=document.createElement("canvas"),this.canvas.width=e.width*this.canvasDPI,this.canvas.height=e.height*this.canvasDPI,this.canvas.style.display="none";const t=this.canvas.getContext("2d");if(!t)throw new Error("Could not get 2D context");this.context=t}updateShader(e){const t=this.options.width*this.canvasDPI,a=this.options.height*this.canvasDPI;let n=0;const i=[];for(let r=0;r<a;r++)for(let o=0;o<t;o++){const l={x:o/t,y:r/a},s=this.options.fragment(l,e),c=s.x*t-o,d=s.y*a-r;n=Math.max(n,Math.abs(c),Math.abs(d)),i.push(c,d)}n=n>0?Math.max(n,1):1;const r=this.context.createImageData(t,a),o=r.data;let l=0;for(let e=0;e<a;e++)for(let r=0;r<t;r++){const s=i[l++]||0,c=i[l++]||0,d=Math.min(r,e,t-r-1,a-e-1),u=Math.min(1,d/2),h=s*u/n+.5,m=c*u/n+.5,p=4*(e*t+r);o[p]=Math.max(0,Math.min(255,255*h)),o[p+1]=Math.max(0,Math.min(255,255*m)),o[p+2]=Math.max(0,Math.min(255,255*m)),o[p+3]=255}return this.context.putImageData(r,0,0),this.canvas.toDataURL()}destroy(){this.canvas.remove()}getScale(){return this.canvasDPI}}const Pi="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAQDAwMDAwQDAwQGBAMEBgcFBAQFBwgHBwcHBwgLCAkJCQkICwsMDAwMDAsNDQ4ODQ0SEhISEhQUFBQUFBQUFBQBBQUFCAgIEAsLEBQODg4UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/CABEIAQABAAMBEQACEQEDEQH/xAAxAAEBAQEBAQAAAAAAAAAAAAADAgQIAQYBAQEBAQEBAQAAAAAAAAAAAAMCBAEACAf/2gAMAwEAAhADEAAAAPjPor6kOgOiKhKgKhKgOhKhOhKxKgKhOgKhKhKgKxOhKhOgKhKhKgKwKhKgKgKwG841nns9J/nn2KVCdCdCVAVCVCVAdCVCdiVAVidCVAVCVAdiVCVCdAVCVCVAVCVAVAViVZxsBrPPY6R/NvsY6E6ErEqAqE6ErAqE6E7E7ErA0ErArAqAqEuiVAXRLol0S6J0JUBWBUI0BXnG88djpH81+xjoToSoSoCoTsSoYQTsTsTQSsCsCsCsCsCoC6A0JeAuiXSLwn0SoioCoCoBsBrPFH0j+a/Yx0J0JUJUJ2BUMIR2MIRoBoJIBXnJAK840BUA0BdAegXhLpF4S8R+IuiVgVANAV546fSH5r9jHRHQFQlYxYnZQgnYwhQokgEgEmckzjecazlYD3OPQHoD0S8JcI/EXiPxF0SoSvONB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6q0000uc51atWrVq1ammmmmmmmmmmmmt1Vpppc5znVq1atWrVqaaaaaaaaaaaaaeqtNLnOc51atWrVq1ammmmmmmmmmmmmnqrS5znOc6tWrVq16222mmmmmmlVppp6tKuc5znOrVq1a9TbbbbTTTTTSq000qtLnOc5zq1atWrW0222200000qqqtKqrnOc5zq1atTbbbbbbbbTTTSqqqqqq5znOc6tTTTbbbbbbbbTTTSqqqqrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/xAAWEAADAAAAAAAAAAAAAAAAAAAhgJD/2gAIAQEAAz8AaExf/8QAGhEBAQEBAQEBAAAAAAAAAAAAAQISEQADEP/aAAgBAgEBAgDx48ePHjx48ePHjx48ePHjx48ePHjx48ePHj86IiIiIiInjx48ePHjx48IiIiIj0oooooooooRERER73ve60UUUUUUVrWiiiiiihERERER73ve97ooooorRWiiiiihKERERER73ve973RRRRWtFFFFFFCIiIiIiPe973ve60UUVrRRRRRRQiIlCIiI973ve973pRRWiiiiiiiiiiiiiiihEe973ve973RRWtFFFFFFFFFFFFFFFFFFa13ve973WitaKKKKKKKKKKKKKKKKKK1rWtd1rutFa1oooooooooooosssooorWta1rWta1rRRRRRRRRRRZZZZZZZZZWta1rWta1rRRRRRRRRZZZZZZZZZZZZe9a1rWta1rWitaKLLLLLLLLLLLLLLLLL3rWta1rWtFbLLLLLLLLLLLLLLLLLLLL3vWta1rWita1ssssssss+hZZZZZZZZe961rWta0Vre97LLLLLLLLLLLPoWWWWWXrWta1oorWta3ssss+hZZZZ9Cyyyyyyyyiita1orWta1ve9llllllllllllllllFFa0VorWta1ve9llllllllllllllllllFFFaK1rWta1rWiyyyyyyyyyyyyiiiiiiitFFa1rWta1oosoosssssoooosoooorRRRWta1rWta0UUUUUWUUUUUUUUUUUVoooorWta1rWtaKKKKKKmiiiiiiiiiiiiiiitd73ve61oSiiipoqaKKKKKKKKKK0UUUVrve973vREREZoSihEooooorRRRRWtd73ve9EREREREoSiiiiitFllllla73ve9ERERERESiiiiiitH0PoWWWWVrXe96IiIiMoiJRRRRRRWjwlFFllllFFd6IiIiIlCUUUUUUUUUePHjx48ePCIiIiIiIiUUUUUUUUUUUePHjx48ePHjx48ePHjx48IiUUUUUUJRRRX//xAAWEQADAAAAAAAAAAAAAAAAAAABYJD/2gAIAQIBAz8AtEV7/8QAFxEBAQEBAAAAAAAAAAAAAAAAAAECEP/aAAgBAwEBAgCtNNNNNNNNNNNNNNNNNNNNNNNNNNNNNcrTTTTTTTTTTTTTTTTTTTTTTTTTTTTTXKrTTTTTTTU000000000000000000001FVpppppqampqaaaaaaaaaaaaaaaaaaaa5Vaaaaampqampqammmmmmmmmmmlaaaaaaiq0001NTU1NTU1NTTTTTTTTTTSqqtNNNcqtNNSyzU1LNTU1NTTTTTTTTTSqqq001ytNLLLLNTU1NTU1NTbbbTTTTTSqqq001ytNLLLLLNTU1NTU3NttttNNNNNKqq001KrSyyyyyzU1NTU3Nzc02220000qqqqrSqqyyyyyzU1NTU3Nzc3NttttNNNKqqqqqqssssss1NTU3Nzc3NzbbbbTTTSqqqqqqrLLLLLNTU1Nzc3Nzc22220000qqqqqqqqssss1NTU3Nzc3NzbbbbbTTSqqqqqqqqqqzU1NTc3Nzc3Nzbc22000qqqqqqqqqqqtTU3Nzc3Nzc3NtzbTTSqqqqrKqqqqqtNNzc23Nzc3Nzc3NTU1KqqqrKqqqqqtNNNNttzc3Nzc3NzU1NLLLLLKqqqqqqqq0022223Nzc3NzU1NSyyyyyyqqqqqqqrTTbbbbc3Nzc3NTU1LLLLLLKsqqqqqqrTTTTbbbc3Nzc1NTUsssssssqqqqqqrTTTTTbbbTc3NTU1NTUsssssqqqqqqqq0000222023NTU1NTUsssssqqqqqqqq000000003NTU1NTU1LLLLLNKrTSqqqqtNNNNNNtNNTU1NSzUssss00qq0qqqqrTTTTTTTTTU1NTUs1LLLNNNKrTTTSqqq00000000001NTU1LNTU0000qtNNNKqqqtNNNNNNNNTU1NTUs1NNNNNKss1NNNK00qtK0000001NNTU0s000000qq000001NKrStNNNNK1NNNNStNNNNNKqtNNNNNNNK0000000rU0000rTTTTTSq00000rTTTTTTTTTTTTTTTTStNNNNKr/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=",zi=(e,t)=>{switch(e){case"standard":return Pi;case"polar":return"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQGBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH//CABEIAQABAAMBEQACEQEDEQH/xAAxAAADAQEBAAAAAAAAAAAAAAABAgMABAcBAAMBAQEBAAAAAAAAAAAAAAIDBAEABQb/2gAMAwEAAhADEAAAAPG/tfu93bu3bs7d27t3bu2du7d27h3bs3du7d27t3bc3du7d27tvbu3du7d27T3E+2du05u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AAAAoP/aAAgBAgEDPwAAH//EABsRAAMBAQEBAQAAAAAAAAAAAAABAhEDEDAg/9oACAEDAQECAPzmZmZnx3d3d3fjmZmZ8d3d3d+OZmZmfHd3d3fjmZmZmfDd3d3d9Qhe5mZmZ4xjGP3d3d3dEIQhCEZmZmZjGMYxjGbu7u6IQhCEIXmZhmMYxjGMYzd3d3UIQhCEIQlmZhjGMYxjGMfu7uoQhCEIQhLMzMGmMYxjGMZu7uppoQhCEIQklmZjTGMYxjGMbb3d1NCEIQhCEISzMxpjGMYxjGMb3d1NCEIkQhCEkszGmMYyihjGMbb3d1NCESSIkQhJLMxppjGUUUMYxtvd1NNNCJJESIQklmY0xjKKKKKGMbb3dTTTRJJJJJIhJLMxpjGUUUUUUMbb3dTTQiSSSSSRCSWZjTTGUUUUUUMbb3dTTRJJJJJJJIklmY0xjKKKKKKKG293U005JJJJJJJEkksaaaaoooooooobbb3U05JJJJJJJJEkksaaZRRRRRRRRQ223uppySSSSSSSSIQkNNMoooooooooptt7qackkkkkEEkiEksGmqKKLLKLKKKbbe6mnJJJBBBBJJKSSxpplFFFllllFFNtvdTTkkkggggkklJZjTTVFFFlllllFDbe6mnLkggggggkkSzGmUUUUWWWWWUUU291NOSSCCCCCCSRLMaaZRRRZZZZZRRTb3U5ckkEEEEEEkpLMaaaoossssssop0291OXJBBBBBBBBKSzGmMossssssssp0291OXJBBBzOZBBBKlZjTVFFllllllllOm3upy5cEEHM5kEEEqVmNNUUWWWWdCyyynTb1NOXLggg5nMggglSvGmUqLLOhZ0LLLKdNm6nLgggg5nMggglSsxpqlRZZ0Oh0OhZZTpt7qcuHBzOZzOZzOZBKleNNUUWWdDodDodCynQxmy5cEHM5n/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=";case"prominent":return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAABVXElEQVR4nO19aZasPKxkuE5toffS+1/YR/8AS6GQZAxZd3qvff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6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+H/kMAsbYr+iHAAAAAElFTkSuQmCC";case"shader":return t||Pi;default:throw new Error(`Invalid mode: ${e}`)}},Fi=a=>{let{id:n,displacementScale:i,aberrationIntensity:r,mode:o,shaderMapUrl:l}=a;return e("svg",{style:{position:"absolute",width:"100%",height:"100%",inset:0},"aria-hidden":"true",children:t("defs",{children:[t("radialGradient",{id:`${n}-edge-mask`,cx:"50%",cy:"50%",r:"50%",children:[e("stop",{offset:"0%",stopColor:"black",stopOpacity:"0"}),e("stop",{offset:`${Math.max(30,80-2*r)}%`,stopColor:"black",stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:"white",stopOpacity:"1"})]}),t("filter",{id:n,x:"-35%",y:"-35%",width:"170%",height:"170%",colorInterpolationFilters:"sRGB",children:[e("feImage",{id:"feimage",x:"0",y:"0",width:"100%",height:"100%",result:"DISPLACEMENT_MAP",href:zi(o,l),preserveAspectRatio:"xMidYMid slice"}),e("feColorMatrix",{in:"DISPLACEMENT_MAP",type:"matrix",values:"0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0 0 0 1 0",result:"EDGE_INTENSITY"}),e("feComponentTransfer",{in:"EDGE_INTENSITY",result:"EDGE_MASK",children:e("feFuncA",{type:"discrete",tableValues:`0 ${.05*r} 1`})}),e("feOffset",{in:"SourceGraphic",dx:"0",dy:"0",result:"CENTER_ORIGINAL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:i*("shader"===o?1:-1),xChannelSelector:"R",yChannelSelector:"B",result:"RED_DISPLACED"}),e("feColorMatrix",{in:"RED_DISPLACED",type:"matrix",values:"1 0 0 0 0\n 0 0 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"RED_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:i*(("shader"===o?1:-1)-.02*r),xChannelSelector:"R",yChannelSelector:"B",result:"GREEN_DISPLACED"}),e("feColorMatrix",{in:"GREEN_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 1 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"GREEN_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:i*(("shader"===o?1:-1)-.03*r),xChannelSelector:"R",yChannelSelector:"B",result:"BLUE_DISPLACED"}),e("feColorMatrix",{in:"BLUE_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 0 0 0 0\n 0 0 1 0 0\n 0 0 0 1 0",result:"BLUE_CHANNEL"}),e("feBlend",{in:"GREEN_CHANNEL",in2:"BLUE_CHANNEL",mode:"screen",result:"GB_COMBINED"}),e("feBlend",{in:"RED_CHANNEL",in2:"GB_COMBINED",mode:"screen",result:"RGB_COMBINED"}),e("feGaussianBlur",{in:"RGB_COMBINED",stdDeviation:Math.max(.1,.5-.1*r),result:"ABERRATED_BLURRED"}),e("feComposite",{in:"ABERRATED_BLURRED",in2:"EDGE_MASK",operator:"in",result:"EDGE_ABERRATION"}),e("feComponentTransfer",{in:"EDGE_MASK",result:"INVERTED_MASK",children:e("feFuncA",{type:"table",tableValues:"1 0"})}),e("feComposite",{in:"CENTER_ORIGINAL",in2:"INVERTED_MASK",operator:"in",result:"CENTER_CLEAN"}),e("feComposite",{in:"EDGE_ABERRATION",in2:"CENTER_CLEAN",operator:"over"})]})]})})},Ui=l(((a,n)=>{var r;let{children:l,className:d="",style:u,displacementScale:h=25,blurAmount:m=.0625,saturation:p=180,aberrationIntensity:g=2,mouseOffset:v={x:0,y:0},globalMousePos:S={x:0,y:0},onMouseEnter:f,onMouseLeave:E,onMouseDown:A,onMouseUp:b,active:N=!1,isHovered:_=!1,isActive:C=!1,overLight:T=!1,cornerRadius:L=0,padding:y="0 0",glassSize:x={width:0,height:0},onClick:I,mode:w="standard",transform:R="none",effectiveDisableEffects:O=!1,effectiveReducedMotion:M=!1}=a;const D=s(),[k,B]=i("");Oi(r=navigator.userAgent.toLowerCase()).call(r,"firefox"),o((()=>{if("shader"===w&&x.width>0&&x.height>0)try{const e=((e,t)=>{try{const a=new Bi({width:e,height:t,fragment:ki.liquidGlass}),n=a.updateShader();return a.destroy(),n}catch(e){return Pi}})(x.width,x.height);B(e)}catch(e){}}),[w,x.width,x.height]),o((()=>{if(!n||"function"==typeof n)return;const e=n.current;if(!e)return;const t=setTimeout((()=>{try{e.offsetHeight}catch(e){}}),0);return()=>clearTimeout(t)}),[L,x.width,x.height]);const P=c((()=>{var e;if(!n||!S.x||!S.y)return{baseBlur:m,edgeBlur:.5*m,centerBlur:.2*m,flowBlur:.3*m};const t=null===(e=n.current)||void 0===e?void 0:e.getBoundingClientRect();if(!t)return{baseBlur:m,edgeBlur:.5*m,centerBlur:.2*m,flowBlur:.3*m};const a=t.left+t.width/2,i=t.top+t.height/2,r=S.x-a,o=S.y-i,l=Math.sqrt(r*r+o*o),s=Math.sqrt(t.width*t.width+t.height*t.height)/2,c=Math.min(l/s,1),d=Math.sqrt(v.x*v.x+v.y*v.y)/100,u=m+d*m*.4,h=u*(.8+.6*(1.5*c+.3*d)),p=u*(.3+.4*(.3*(1-c)+.2*d)),g=Math.atan2(o,r),f=u*(.4+.6*(.5*Math.sin(g+d*Math.PI)+.5)),E=(_?1.2:1)*(C?1.4:1);return{baseBlur:Math.max(.1,u*E),edgeBlur:Math.max(.1,h*E),centerBlur:Math.max(.1,p*E),flowBlur:Math.max(.1,f*E)}}),[m,S,v,_,C,n]),z=c((()=>{const e=p+20*P.baseBlur,t=[`blur(${P.baseBlur}px)`,`blur(${P.flowBlur}px)`];return{filter:`url(#${D})`,backdropFilter:`${t.join(" ")} saturate(${Math.min(e,200)}%)`}}),[D,P,p]);return e("div",{ref:n,className:` ${d} ${N?"active":""}`,style:u,onClick:I,children:t("div",{className:"glass",style:{position:"relative",padding:y,borderRadius:`${L}px`,transition:"all 0.2s ease-out"},onMouseEnter:f,onMouseLeave:E,onMouseDown:A,onMouseUp:b,children:[e(Fi,{mode:w,id:D,displacementScale:h,aberrationIntensity:g,shaderMapUrl:k}),e("span",{className:"glass__warp",style:{...z,borderRadius:`${L}px`,position:"absolute",inset:"0"}}),e("div",{style:{position:"absolute",inset:"1px",borderRadius:`${L}px`,pointerEvents:"none",zIndex:20,boxShadow:["0 0 20px rgba(0, 0, 0, 0.15) inset","0 4px 8px rgba(0, 0, 0, 0.08) inset"].join(", "),opacity:O?0:1,transition:M?"none":"opacity 0.2s ease-out"}}),e("div",{style:{position:"relative",zIndex:1,textShadow:T?"0px 2px 12px rgba(0, 0, 0, 0)":"0px 2px 12px rgba(0, 0, 0, 0.4)"},children:l})]})})}));function Gi(n){let{children:l,displacementScale:s=15,blurAmount:u=.5,saturation:h=120,aberrationIntensity:m=1,elasticity:p=.15,cornerRadius:g=20,globalMousePos:v,mouseOffset:S,mouseContainer:f=null,className:E="",padding:A="0 0",overLight:b=!1,style:N={},mode:_="standard",onClick:C,"aria-label":T,"aria-describedby":L,role:y,tabIndex:x,reducedMotion:I=!1,highContrast:w=!1,disableEffects:R=!1,enablePerformanceMonitoring:O=!1}=n;const M=r(null),[D,k]=i(!1),[B,P]=i(!1),[z,F]=i({width:270,height:69}),[U,G]=i({x:0,y:0}),[V,Y]=i({x:0,y:0}),[H,W]=i(!1),[Q,K]=i(!1);o((()=>{if("function"==typeof window.matchMedia)try{const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=window.matchMedia("(prefers-contrast: high)");W(e.matches),K(t.matches);const a=e=>{W(e.matches)},n=e=>{K(e.matches)};return e.addEventListener?(e.addEventListener("change",a),t.addEventListener("change",n)):e.addListener&&(e.addListener(a),t.addListener(n)),()=>{e.removeEventListener?(e.removeEventListener("change",a),t.removeEventListener("change",n)):e.removeListener&&(e.removeListener(a),t.removeListener(n))}}catch(e){}}),[]);const Z=I||H,j=w||Q,q=R||Z,X=v||U,$=S||V,J=r(null),ee=r(null),te=d((e=>{ee.current=e,null===J.current&&(J.current=requestAnimationFrame((()=>{const e=ee.current;if(!e)return void(J.current=null);const t=(null==f?void 0:f.current)||M.current;if(t)try{const a=O?performance.now():0,n=t.getBoundingClientRect(),i=n.left+n.width/2,r=n.top+n.height/2;if(Y({x:(e.clientX-i)/n.width*100,y:(e.clientY-r)/n.height*100}),G({x:e.clientX,y:e.clientY}),O){performance.now()}}catch(e){}finally{J.current=null}else J.current=null})))}),[f]);o((()=>{if(v&&S)return;if(q)return;const e=(null==f?void 0:f.current)||M.current;return e?(e.addEventListener("mousemove",te,{passive:!0}),()=>{e.removeEventListener("mousemove",te),J.current&&(cancelAnimationFrame(J.current),J.current=null)}):void 0}),[te,f,v,S,q]);const ae=d((()=>{if(!X.x||!X.y||!M.current)return"scale(1)";const e=M.current.getBoundingClientRect(),t=e.left+e.width/2,a=e.top+e.height/2,n=z.width,i=z.height,r=X.x-t,o=X.y-a,l=Math.max(0,Math.abs(r)-n/2),s=Math.max(0,Math.abs(o)-i/2),c=Math.sqrt(l*l+s*s);if(c>200)return"scale(1)";const d=1-c/200,u=Math.sqrt(r*r+o*o);if(0===u)return"scale(1)";const h=r/u,m=o/u,g=Math.min(u/300,1)*p*d,v=1+Math.abs(h)*g*.3-Math.abs(m)*g*.15,S=1+Math.abs(m)*g*.3-Math.abs(h)*g*.15;return`scaleX(${Math.max(.8,v)}) scaleY(${Math.max(.8,S)})`}),[X,p,z]),ne=d((()=>{if(!X.x||!X.y||!M.current)return 0;const e=M.current.getBoundingClientRect(),t=e.left+e.width/2,a=e.top+e.height/2,n=z.width,i=z.height,r=Math.max(0,Math.abs(X.x-t)-n/2),o=Math.max(0,Math.abs(X.y-a)-i/2),l=Math.sqrt(r*r+o*o);return l>200?0:1-l/200}),[X,z]),ie=d((()=>{if(!M.current)return{x:0,y:0};const e=ne(),t=M.current.getBoundingClientRect(),a=t.left+t.width/2,n=t.top+t.height/2;return{x:(X.x-a)*p*.1*e,y:(X.y-n)*p*.1*e}}),[X,p,ne]);o((()=>{const e=e=>null!==e&&e instanceof HTMLElement&&e.isConnected;let t=null,a={width:0,height:0},n=g;const i=function(){let i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{null!==t&&cancelAnimationFrame(t),t=requestAnimationFrame((()=>{try{if(!e(M.current))return;const t=M.current.getBoundingClientRect();if(t.width<=0||t.height<=0)return;const r=Math.max(0,.1*g),o={width:Math.round(t.width+r),height:Math.round(t.height+r)},l=n!==g,s=o.width!==a.width||o.height!==a.height;(i||l||s)&&(a=o,n=g,F(o))}catch(e){}finally{t=null}}))}catch(e){}};let r=null;const o=()=>{r&&clearTimeout(r),r=setTimeout(i,16)};try{i(!0)}catch(e){}let l=null,s=null;try{if("undefined"!=typeof ResizeObserver&&"function"==typeof ResizeObserver.prototype.observe&&e(M.current))try{l=new ResizeObserver((e=>{try{for(const t of e)if(t.target===M.current){i();break}}catch(e){}})),l.observe(M.current)}catch(t){s=setInterval((()=>{e(M.current)&&i()}),100)}else s=setInterval((()=>{e(M.current)&&i()}),100)}catch(t){s=setInterval((()=>{e(M.current)&&i()}),100)}return window.addEventListener("resize",o,{passive:!0}),()=>{try{if(null!==t&&(cancelAnimationFrame(t),t=null),r&&(clearTimeout(r),r=null),window.removeEventListener("resize",o),l){try{e(M.current)&&l.unobserve(M.current),l.disconnect()}catch(e){}l=null}s&&(clearInterval(s),s=null)}catch(e){}}}),[g,O]),o((()=>{if(!M.current)return;const e=setTimeout((()=>{try{var e;const t=null===(e=M.current)||void 0===e?void 0:e.getBoundingClientRect();if(t&&t.width>0&&t.height>0){const e=Math.max(0,.1*g),a={width:Math.round(t.width+e),height:Math.round(t.height+e)};F(a)}}catch(e){}}),0);return()=>clearTimeout(e)}),[g,O]);const re=c((()=>q?{x:0,y:0}:ie()),[ie,q]),oe=c((()=>q?"scale(1)":ae()),[ae,q]),le=c((()=>q?B&&Boolean(C)?"scale(0.98)":"scale(1)":`translate(${re.x}px, ${re.y}px) ${B&&Boolean(C)?"scale(0.96)":oe}`),[re,B,C,oe,q]),se=c((()=>({...N,transform:le,transition:Z?"none":"all ease-out 0.2s",willChange:q?"auto":"transform",...j&&{border:"2px solid currentColor",outline:"2px solid transparent",outlineOffset:"2px"}})),[N,le,Z,q,j]),ce=c((()=>({position:se.position||"absolute",top:se.top||0,left:se.left||0})),[se]),de=d((()=>{if(!M.current)return{width:0,height:0};try{const e=M.current.getBoundingClientRect();return{width:Math.max(e.width,0),height:Math.max(e.height,0)}}catch(e){return{width:0,height:0}}}),[]);d((()=>{const e=de();if(q||0===e.width||0===e.height)return e;let t=1,a=1;const n=oe.match(/scale\(([^)]+)\)/);if(n&&n[1]){const e=parseFloat(n[1]);t=e,a=e}else{const e=oe.match(/scaleX\(([^)]+)\)/);e&&e[1]&&(t=parseFloat(e[1]));const n=oe.match(/scaleY\(([^)]+)\)/);n&&n[1]&&(a=parseFloat(n[1]))}return{width:e.width*t,height:e.height*a}}),[de,oe,q,O]);const ue=c((()=>{const e={width:"fixed"!==se.position?"100%":se.width?se.width:Math.max(z.width,0),height:"fixed"!==se.position?"100%":se.height?se.height:Math.max(z.height,0)};return{...ce,width:e.width,height:e.height,borderRadius:`${Math.max(0,g)}px`,transform:se.transform,transition:Z?"none":se.transition,pointerEvents:"none",mixBlendMode:"screen",opacity:.2,padding:"1.5px",boxSizing:"border-box",zIndex:5,WebkitMask:"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",boxShadow:"0 0 0 0.5px rgba(255, 255, 255, 0.5) inset, 0 1px 3px rgba(255, 255, 255, 0.25) inset, 0 1px 4px rgba(0, 0, 0, 0.35)",background:`linear-gradient(\n ${135+1.2*$.x}deg,\n rgba(255, 255, 255, 0.0) 0%,\n rgba(255, 255, 255, ${.12+.008*Math.abs($.x)}) ${Math.max(10,33+.3*$.y)}%,\n rgba(255, 255, 255, ${.4+.012*Math.abs($.x)}) ${Math.min(90,66+.4*$.y)}%,\n rgba(255, 255, 255, 0.0) 100%\n )`}}),[ce,z,g,se,$,Z]),he=c((()=>{const e={width:"fixed"!==se.position?"100%":se.width?se.width:Math.max(z.width,0),height:"fixed"!==se.position?"100%":se.height?se.height:Math.max(z.height,0)};return{...ce,width:e.width,height:e.height,borderRadius:`${Math.max(0,g)}px`,transform:se.transform,transition:Z?"none":se.transition,overflow:"hidden",pointerEvents:"none",zIndex:6,mixBlendMode:"overlay",padding:"1.5px",boxSizing:"border-box",WebkitMask:"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude",boxShadow:"0 0 0 0.5px rgba(255, 255, 255, 0.5) inset, 0 1px 3px rgba(255, 255, 255, 0.25) inset, 0 1px 4px rgba(0, 0, 0, 0.35)",background:`linear-gradient(\n ${135+1.2*$.x}deg,\n rgba(255, 255, 255, 0.0) 0%,\n rgba(255, 255, 255, ${.32+.008*Math.abs($.x)}) ${Math.max(10,33+.3*$.y)}%,\n rgba(255, 255, 255, ${.6+.012*Math.abs($.x)}) ${Math.min(90,66+.4*$.y)}%,\n rgba(255, 255, 255, 0.0) 100%\n )`}}),[ce,z,g,se,$,Z]),me=c((()=>({...ce,position:"absolute",inset:"0",borderRadius:`${Math.max(0,g)}px`,transform:se.transform,pointerEvents:"none",transition:Z?"none":"all 0.2s ease-out",opacity:D||B?.5:0,background:`radial-gradient(\n circle at ${50+$.x/2}% ${50+$.y/2}%,\n rgba(255, 255, 255, 0.5) 0%,\n rgba(255, 255, 255, 0) 50%\n )`,mixBlendMode:"overlay"})),[ce,g,se,D,B,$,Z]),pe=c((()=>({...ce,position:"absolute",inset:"0",borderRadius:`${Math.max(0,g)}px`,overflow:"hidden",transform:se.transform,pointerEvents:"none",transition:Z?"none":"all 0.2s ease-out",opacity:B?.5:0,background:`radial-gradient(\n circle at ${50+$.x/1.5}% ${50+$.y/1.5}%,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 80%\n )`,mixBlendMode:"overlay"})),[ce,g,se,B,$,Z]),ge=c((()=>({...ce,position:"absolute",inset:"0",transform:se.transform,borderRadius:`${Math.max(0,g)}px`,pointerEvents:"none",transition:Z?"none":"all 0.2s ease-out",opacity:D?.4:B?.8:0,background:`radial-gradient(\n circle at ${50+$.x}% ${50+$.y}%,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 0) 100%\n )`,mixBlendMode:"overlay"})),[ce,g,se,D,B,$,Z]);return t("div",{style:{...ce,position:"relative"},role:y||(C?"button":void 0),tabIndex:C?x??0:x,"aria-label":T,"aria-describedby":L,"aria-disabled":!C&&void 0,onKeyDown:C?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),C())}:void 0,children:[e("div",{className:"u-bg-dark "+(b?"u-opacity-50":"u-opacity-0"),style:{...ce,height:z.height,width:z.width,borderRadius:`${g}px`,transform:se.transform,transition:se.transition,willChange:"transform"}}),e("div",{className:"u-bg-black "+(b?"u-opacity-25":"u-opacity-0"),style:{...ce,height:z.height,width:z.width,borderRadius:`${g}px`,transform:se.transform,transition:se.transition,mixBlendMode:"overlay",pointerEvents:"none",willChange:"transform"}}),e(Ui,{ref:M,className:E,style:{...se,transform:se.transform},cornerRadius:g,displacementScale:q?0:b?.5*s:s,blurAmount:q?0:u,saturation:j?200:h,aberrationIntensity:q?0:m,glassSize:z,padding:A,mouseOffset:q?{x:0,y:0}:$,globalMousePos:q?{x:0,y:0}:X,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onMouseDown:()=>P(!0),onMouseUp:()=>P(!1),active:B,isHovered:D,isActive:B,overLight:b,onClick:C,mode:q?"standard":_,transform:se.transform,effectiveDisableEffects:q,effectiveReducedMotion:Z,children:l}),e("span",{style:ue}),e("span",{style:he}),Boolean(C)&&t(a,{children:[e("div",{style:me}),e("div",{style:pe}),e("div",{style:ge})]})]})}Ui.displayName="GlassContainer";const Vi=a=>{let{title:n,children:i,defaultOpen:r=!1,isOpen:o,onOpenChange:l,disabled:c=!1,iconPosition:d="right",icon:u,className:h="",glass:m}=a;const p=s(),g=`accordion-header-${p}`,v=`accordion-panel-${p}`,{state:S,toggle:f,updatePanelHeight:E,panelRef:A,contentRef:b,generateClassNames:N,generateHeaderClassNames:_}=Se({defaultOpen:r,disabled:c,iconPosition:d,isOpen:o,onOpenChange:l}),C=e("i",{className:"c-accordion__icon",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e("polyline",{points:"6 9 12 15 18 9"})})}),T=t("div",{className:N(h)+(m?" c-accordion--glass":""),children:[t("button",{id:g,className:_(),onClick:f,"aria-expanded":S.isOpen,"aria-controls":v,disabled:c,type:"button",children:[e("span",{className:"c-accordion__title",children:n}),u||C]}),e("div",{id:v,className:w.SELECTORS.PANEL.replace(".",""),ref:A,role:"region","aria-labelledby":g,children:e("div",{className:w.SELECTORS.BODY.replace(".",""),ref:b,children:i})})]});if(m){const t={displacementScale:20,blurAmount:10,saturation:140,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===m?t:{...t,...m};return e(Gi,{...a,children:T})}return T};Vi.displayName="Accordion";const Yi=a=>{let{height:n=24,width:i=24,color:r="currentColor",...o}=a;return t("svg",{width:i,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:r}),e("path",{d:"M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z",fill:r})]})},Hi={xs:16,sm:20,md:24,lg:32,xl:40},Wi=t=>{let{name:a,size:n="md",weight:i="regular",color:r,className:o="",alt:l}=t;const s=S[a];if(!s)return null;return e("span",{className:`c-icon c-icon--${n} ${o}`,"aria-hidden":!l,title:l,children:e(s,{size:"string"==typeof n?Hi[n]||24:n,weight:i,color:r,"aria-label":l})})};Wi.displayName="Icon";const Qi=t=>{let{src:a,alt:n="Avatar",initials:r,icon:o,size:l="md",circle:s=!1,className:c="",disabled:d=!1,onClick:u}=t;const[h,m]=i(!1),p=[re.CLASSES.BASE,"md"!==l&&`c-avatar--${l}`,s&&re.CLASSES.CIRCLE,d&&"is-disabled",c].filter(Boolean).join(" ");return e("div",{className:p,onClick:u?e=>{!d&&u&&u(e)}:void 0,role:u?"button":void 0,tabIndex:u&&!d?0:void 0,"aria-disabled":d||void 0,children:a&&!h?e("img",{src:a,alt:n,className:"c-avatar__image",onError:()=>{m(!0)}}):e("span",r?{className:"c-avatar__initials",children:r}:o?{className:"c-avatar__icon",children:o}:{className:"c-avatar__icon",children:e(Wi,{name:"User",size:"xs"===l?"xs":"sm"===l?"sm":"md"})})})};Qi.displayName="Avatar";const Ki=a=>{let{children:n,max:i,stacked:r=!1,className:o="",moreText:l}=a;const s=[oe.CLASSES.BASE,r&&oe.CLASSES.STACKED,o].filter(Boolean).join(" "),c=u.toArray(n).filter((e=>h(e)&&e.type===Qi)),d=void 0!==i&&c.length>i,p=d?c.slice(0,i):c,g=c.length-(i||0),v=h(c[0])?c[0].props:null,S=(null==v?void 0:v.size)||"md",f=(null==v?void 0:v.circle)||!1,E=[re.CLASSES.BASE,oe.CLASSES.MORE,"md"!==S&&`c-avatar--${S}`,f&&"c-avatar--circle"].filter(Boolean).join(" ");return t("div",{className:s,children:[p.map(((e,t)=>h(e)?m(e,{key:t,...e.props}):null)),d&&e("div",{className:E,children:l||`+${g}`})]})};function Zi(e){const t={variant:"primary",size:"md",disabled:!1,...e};return{defaultProps:t,generateBadgeClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,className:r=""}=e;return`${R.BASE_CLASS} ${a?`${R.VARIANT_PREFIX}${a}`:""} ${"md"===n?"":`${R.SIZE_PREFIX}${n}`} ${i?"c-badge--disabled":""} ${r}`.trim()}}}Ki.displayName="AvatarGroup";const ji=a=>{let{label:n,variant:i="primary",size:r="md",disabled:o=!1,icon:l,className:s="",glass:c}=a;const{generateBadgeClass:d}=Zi({variant:i,size:r,disabled:o}),u=d({variant:i,size:r,disabled:o,className:`${s} ${c?"c-badge--glass":""}`.trim()}),h=t("span",{className:u,"aria-disabled":o,children:[l&&e("span",{className:R.ICON_CLASS,children:l}),e("span",{children:n})]});if(c){const t={displacementScale:50,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:999,mode:"standard",className:"c-badge-glass"},a=!0===c?t:{...t,...c};return e(Gi,{...a,children:h})}return h};ji.displayName="Badge";const qi=l(((t,a)=>{let{children:n,className:i="",type:r,...o}=t,l="o-container";return r&&(l=`o-container-${r}`),e("div",{ref:a,className:`${l} ${i}`.trim(),...o,children:n})}));qi.displayName="Container";const Xi=()=>({generateBlockClass:e=>{let{spacing:t=ge.SPACING.DEFAULT,background:a="",fullWidth:n=!1,className:i=""}=e;const r=[ge.BASE_CLASS];if(t&&"none"!==t&&r.push(`${ge.SPACING_PREFIX}${t}`),a){const e=ge.CLASSES[`BG_${a.toUpperCase()}`];e&&r.push(e)}return n&&r.push(ge.CLASSES.FULL_WIDTH),i&&r.push(i),r.filter(Boolean).join(" ")}}),$i=l(((t,a)=>{let{children:n,as:i="section",spacing:r="md",container:o={},fullWidth:l=!1,className:s="",style:c,background:d="",...u}=t;const{generateBlockClass:h}=Xi(),m=h({spacing:r,background:d,fullWidth:l,className:s});return e(i,{ref:a,className:m,style:c,...u,children:l?n:e(qi,{type:o.type,className:o.className,children:n})})}));$i.displayName="Block";const Ji=n=>{let{items:i,divider:r,className:o="",ariaLabel:l="Breadcrumb",LinkComponent:s}=n;const c=[M.CLASSES.BASE,o].filter(Boolean).join(" ");return e("nav",{"aria-label":l,children:e("ol",{className:c,children:i.map(((n,r)=>{const o=r===i.length-1,l=[M.CLASSES.ITEM,n.active||o?M.CLASSES.ACTIVE:""].filter(Boolean).join(" "),c=t(a,{children:[n.icon&&e("span",{className:"c-breadcrumb__icon",children:n.icon}),n.label]}),d={href:n.href,className:M.CLASSES.LINK,onClick:n.onClick};return e("li",{className:l,children:n.href&&!n.active?e(s||"a",{...d,children:c}):e("span",{className:M.CLASSES.LINK,children:c})},r)}))})})};function er(e){const t={variant:"primary",size:"md",disabled:!1,rounded:!1,...e};return{defaultProps:t,generateButtonClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,rounded:r=t.rounded,iconOnly:o=!1,glass:l=t.glass,className:s=""}=e;return`c-btn c-btn--${a} ${"md"===n?"":`c-btn--${n}`} ${o?"c-btn--icon":""} ${r?"c-btn--rounded":""} ${i?"c-btn--disabled":""} ${l?"c-btn--glass":""} ${s}`.trim()},handleClick:e=>()=>{!t.disabled&&e&&e()}}}Ji.displayName="Breadcrumb";const tr=l(((n,i)=>{let{label:r,children:o,onClick:l,variant:s="primary",size:c="md",disabled:d=!1,icon:u,iconOnly:h=!1,rounded:m=!1,className:p="",as:g="button",glass:v,...S}=n;const{generateButtonClass:f,handleClick:E}=er({variant:s,size:c,disabled:d,rounded:m,glass:v}),A={},b={ref:i,className:f({variant:s,size:c,disabled:d,rounded:m,iconOnly:h,glass:v,className:p}),onClick:E(l),disabled:d,"aria-disabled":d,style:v?A:void 0,...S},N=t(a,{children:[u&&e("span",{className:"c-btn__icon",children:u}),!h&&e("span",{className:"c-btn__label",children:r||o})]});if(v){const t={displacementScale:80,blurAmount:1,saturation:200,aberrationIntensity:1,cornerRadius:12,mode:"shader",mouseContainer:i,onclick:()=>{}},a=!0===v?t:{...t,...v};return e(Gi,{...a,children:e(g,{...b,children:N})})}return e(g,{...b,children:N})}));tr.displayName="Button";const ar=n=>{let{title:i,children:r,icon:o,variant:l="primary",onClose:s,actions:c,oneLine:d=!1,toast:u=!1,glass:h,className:m,...p}=n;const{generateCalloutClass:g,handleClose:v}=function(e){const t={variant:"primary",oneLine:!1,toast:!1,glass:!1,...e};return{defaultProps:t,generateCalloutClass:e=>{const{variant:a=t.variant,oneLine:n=t.oneLine,toast:i=t.toast,glass:r=t.glass,className:o=""}=e;return`c-callout ${a?`c-callout--${a}`:""} ${n?"c-callout--oneline":""} ${i?"c-callout--toast":""} ${r?"c-callout--glass":""} ${o}`.trim()},handleClose:e=>()=>{e&&e()}}}({variant:l,oneLine:d,toast:u,glass:h,className:m}),S=()=>{var e,t;const a={role:"region"};return u?(a.role="alert",a["aria-live"]="polite"):Oi(e=["warning","error"]).call(e,l)?(a.role="alert",a["aria-live"]="assertive"):Oi(t=["info","success"]).call(t,l)&&(a.role="status",a["aria-live"]="polite"),a},f=t(a,{children:[t("div",{className:"c-callout__content",children:[o&&e("div",{className:"c-callout__icon",children:o}),t("div",{className:"c-callout__message",children:[i&&e("div",{className:"c-callout__title",children:i}),r&&e("div",{className:"c-callout__text",children:r})]})]}),c&&e("div",{className:"c-callout__actions",children:c}),s&&e("button",{className:"c-callout__close-btn",onClick:v(s),"aria-label":"Close",children:e(Wi,{name:"X",size:"md"})})]});if(h){const t={displacementScale:20,blurAmount:2,saturation:70,aberrationIntensity:1,cornerRadius:8,overLight:!1,elasticity:0,mode:"shader"},a=!0===h?t:{...t,...h};return e("div",{className:g({variant:l,oneLine:d,toast:u,glass:h,className:m}),...S(),...p,children:e(Gi,{...a,children:e("div",{className:"c-callout__glass-content",children:f})})})}return e("div",{className:g({variant:l,oneLine:d,toast:u,glass:h,className:m}),...S(),...p,children:f})};ar.displayName="Callout";const nr=l(((n,i)=>{let{header:r,image:o,imageAlt:l="",title:s,text:c,actions:d,icon:u,footer:h,row:m=!1,flat:p=!1,active:g=!1,className:v="",children:S,onClick:f,styles:E,glass:A,...b}=n;const N=[ae.CLASSES.BASE,m?ae.CLASSES.ROW:"",p?ae.CLASSES.FLAT:"",g?ae.CLASSES.ACTIVE:"",v].filter(Boolean).join(" "),_=t(a,{children:[(o||u||r)&&t("div",{className:ae.SELECTORS.HEADER.substring(1),children:[r,o&&e("img",{src:o,alt:l,className:ae.SELECTORS.IMAGE.substring(1)}),u&&e("div",{className:ae.SELECTORS.ICON.substring(1),children:u})]}),t("div",{className:ae.SELECTORS.BODY.substring(1),children:[s&&e("h3",{className:ae.SELECTORS.TITLE.substring(1),children:s}),c&&e("p",{className:ae.SELECTORS.TEXT.substring(1),children:c}),S]}),d&&e("div",{className:ae.SELECTORS.ACTIONS.substring(1),children:d}),h&&e("div",{className:ae.SELECTORS.FOOTER.substring(1),children:h})]});if(A){const t=!0===A?{}:A;return e("div",{ref:i,className:N+" c-card--glass",onClick:f,...b,style:{...E},children:e(Gi,{...t,cornerRadius:10,children:e("div",{className:"c-card__glass-content",children:_})})})}return e("div",{ref:i,className:N,onClick:f,...b,style:{...E},children:_})}));nr.displayName="Card";var ir=Wt,rr=sa,or=ot,lr=jn,sr=TypeError,cr="Reduce of empty array with no initial value",dr=function(e){return function(t,a,n,i){var r=rr(t),o=or(r),l=lr(r);if(ir(a),0===l&&n<2)throw new sr(cr);var s=e?l-1:0,c=e?-1:1;if(n<2)for(;;){if(s in o){i=o[s],s+=c;break}if(s+=c,e?s<0:l<=s)throw new sr(cr)}for(;e?s>=0:l>s;s+=c)s in o&&(i=a(i,o[s],s,r));return i}},ur={left:dr(!1),right:dr(!0)},hr=Ae,mr=Ie,pr=_t,gr=ze,vr=function(e){return pr.slice(0,e.length)===e},Sr=vr("Bun/")?"BUN":vr("Cloudflare-Workers")?"CLOUDFLARE":vr("Deno/")?"DENO":vr("Node.js/")?"NODE":mr.Bun&&"string"==typeof Bun.version?"BUN":mr.Deno&&"object"==typeof Deno.version?"DENO":"process"===gr(mr.process)?"NODE":mr.window&&mr.document?"BROWSER":"REST",fr=ur.left,Er=function(e,t){var a=[][e];return!!a&&hr((function(){a.call(null,t||function(){return 1},1)}))};zn({target:"Array",proto:!0,forced:!("NODE"===Sr)&&wt>79&&wt<83||!Er("reduce")},{reduce:function(e){var t=arguments.length;return fr(this,e,t,t>1?arguments[1]:void 0)}});var Ar=ni("Array","reduce"),br=ye,Nr=Ar,_r=Array.prototype,Cr=Ee((function(e){var t=e.reduce;return e===_r||br(_r,e)&&t===_r.reduce?Nr:t}));function Tr(e){const[t,a]=i({hoveredPoint:null,selectedPoints:[],zoomLevel:1,panOffset:{x:0,y:0},isAnimating:!1,isDragging:!1,dragStart:null,crosshair:null,brushSelection:null,focusedPointIndex:0,touchState:{touches:[],lastDistance:0,isPinching:!1,isTouch:!1,lastTouchTime:0},penState:{isPen:!1,pressure:0,tiltX:0,tiltY:0}}),n={type:"line",size:"md",variant:"primary",loading:!1,interactive:!0,...e},l=r(null),s=r(null),c=r(null),u=d((e=>{const{type:t=n.type,size:a=n.size,variant:i=n.variant,loading:r=n.loading,error:o,className:l=""}=e,s=t?`${pe.TYPE_PREFIX}${t}`:"",c="md"===a?"":`${pe.SIZE_PREFIX}${a}`,d=i?`${pe.VARIANT_PREFIX}${i}`:"",u=r?pe.LOADING_STATE_CLASS:"",h=o?pe.ERROR_STATE_CLASS:"";return`${pe.BASE_CLASS} ${s} ${d} ${c} ${u} ${h} ${l}`.trim()}),[n]),h=d((e=>{const{loading:t,error:a,type:n}=e,i={role:"img","aria-live":"polite"};return t&&(i["aria-busy"]="true"),a&&(i["aria-invalid"]="true"),n&&(i["data-chart-type"]=n),i}),[]),m=d((function(e){var a,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe.DEFAULT_WIDTH,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pe.DEFAULT_HEIGHT,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{top:20,right:30,bottom:40,left:50},l=arguments.length>4?arguments[4]:void 0;if(!e.length)return null;const s=i-o.left-o.right,c=r-o.top-o.bottom,d=e.flatMap((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.map((e=>"number"==typeof e.value?e.value:0)))||[]}));if(0===d.length)return null;const u=(null==l||null===(a=l.yAxis)||void 0===a?void 0:a.min)??Math.min(0,...d),h=(null==l||null===(n=l.yAxis)||void 0===n?void 0:n.max)??Math.max(...d,1),m=h-u;return{xScale:(a,n)=>{var i;const r=n||(null===(i=e[0])||void 0===i||null===(i=i.data)||void 0===i?void 0:i.length)||1;if(r<=1)return o.left+s/2;return(o.left+a/(r-1)*s)*t.zoomLevel+t.panOffset.x},yScale:e=>{if(0===m)return o.top+c/2;return(o.top+c-(e-u)/m*c)*t.zoomLevel+t.panOffset.y},minValue:u,maxValue:h,valueRange:m,innerWidth:s,innerHeight:c,width:i,height:r,padding:o}}),[t.zoomLevel,t.panOffset]),p=d((e=>{const t=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-info)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-primary-5)","var(--atomix-primary-7)","var(--atomix-primary-3)","var(--atomix-gray-6)","var(--atomix-gray-8)","var(--atomix-gray-4)"];return Array.from({length:e},((e,a)=>t[a%t.length]))}),[]),g=d(((e,t,n,i,r,o)=>{a((a=>({...a,hoveredPoint:{datasetIndex:e,pointIndex:t,x:n,y:i,clientX:r,clientY:o},focusedPointIndex:t})))}),[]),v=d((()=>{a((e=>({...e,hoveredPoint:null})))}),[]),S=d((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a((a=>{const i={datasetIndex:e,pointIndex:t},r=a.selectedPoints.findIndex((a=>a.datasetIndex===e&&a.pointIndex===t));let o;return o=r>=0?a.selectedPoints.filter(((e,t)=>t!==r)):n?[...a.selectedPoints,i]:[i],{...a,selectedPoints:o}}))}),[]),f=d(((e,t,n)=>{a((a=>{const i=1-.001*e,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=r/a.zoomLevel,l={x:t-(t-a.panOffset.x)*o,y:n?n-(n-a.panOffset.y)*o:a.panOffset.y};return{...a,zoomLevel:r,panOffset:l}}))}),[]),E=d(((e,t)=>{a((a=>({...a,panOffset:{x:a.panOffset.x+e,y:a.panOffset.y+t}})))}),[]),A=d(((e,t)=>{a((a=>({...a,isDragging:!0,dragStart:{x:e,y:t}})))}),[]),b=d((()=>{a((e=>({...e,isDragging:!1,dragStart:null})))}),[]),N=d(((e,t)=>{a((a=>({...a,crosshair:{x:e,y:t}})))}),[]),_=d((()=>{a((e=>({...e,crosshair:null})))}),[]),C=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n={...a,touchState:{...a.touchState,touches:t,isTouch:!0,lastTouchTime:Date.now()}};if(1===t.length&&t[0]){const a=e.target.getBoundingClientRect(),i=t[0].x-a.left,r=t[0].y-a.top;return{...n,isDragging:!0,dragStart:{x:i,y:r}}}if(2===t.length&&t[0]&&t[1]){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...n,touchState:{...n.touchState,lastDistance:e,isPinching:!0},isDragging:!1}}return n}))}),[]),T=d((e=>{e.preventDefault();const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n=e.target.getBoundingClientRect();if(1===t.length&&t[0]&&a.isDragging&&a.dragStart){const e=t[0].x-n.left,i=t[0].y-n.top,r=e-a.dragStart.x,o=i-a.dragStart.y;return{...a,panOffset:{x:a.panOffset.x+r,y:a.panOffset.y+o},dragStart:{x:e,y:i},touchState:{...a.touchState,touches:t}}}if(2===t.length&&t[0]&&t[1]&&a.touchState.isPinching){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));if(a.touchState.lastDistance>0){const i=e/a.touchState.lastDistance,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=(t[0].x+t[1].x)/2-n.left,l=(t[0].y+t[1].y)/2-n.top,s=r/a.zoomLevel,c={x:o-(o-a.panOffset.x)*s,y:l-(l-a.panOffset.y)*s};return{...a,zoomLevel:r,panOffset:c,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),L=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{if(0===t.length)return{...a,isDragging:!1,dragStart:null,touchState:{...a.touchState,touches:[],isPinching:!1,lastDistance:0,isTouch:!1}};if(1===t.length&&t[0]&&a.touchState.isPinching){const n=e.target.getBoundingClientRect(),i=t[0].x-n.left,r=t[0].y-n.top;return{...a,isDragging:!0,dragStart:{x:i,y:r},touchState:{...a.touchState,touches:t,isPinching:!1,lastDistance:0}}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),y=d((e=>{const t="pen"===e.pointerType,n="touch"===e.pointerType;if(t)a((t=>({...t,penState:{isPen:!0,pressure:e.pressure||0,tiltX:e.tiltX||0,tiltY:e.tiltY||0},isDragging:!0,dragStart:{x:e.clientX-e.target.getBoundingClientRect().left,y:e.clientY-e.target.getBoundingClientRect().top}})));else if(!n){const t=e.target.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top;A(a,n)}}),[A]),x=d((e=>{const n=e.target.getBoundingClientRect(),i=e.clientX-n.left,r=e.clientY-n.top;if("pen"===e.pointerType&&t.penState.isPen)a((t=>{if(t.isDragging&&t.dragStart){const a=i-t.dragStart.x,n=r-t.dragStart.y,o=Math.max(.1,e.pressure||.5);return{...t,panOffset:{x:t.panOffset.x+a*o,y:t.panOffset.y+n*o},dragStart:{x:i,y:r},penState:{...t.penState,pressure:e.pressure||0,tiltX:e.tiltX||0,tiltY:e.tiltY||0}}}return{...t,penState:{...t.penState,pressure:e.pressure||0,tiltX:e.tiltX||0,tiltY:e.tiltY||0}}}));else if("touch"!==e.pointerType&&(N(i,r),t.isDragging&&t.dragStart)){const e=i-t.dragStart.x,a=r-t.dragStart.y;E(e,a)}}),[t,N,E]),I=d((e=>{"pen"===e.pointerType?a((e=>({...e,isDragging:!1,dragStart:null,penState:{isPen:!1,pressure:0,tiltX:0,tiltY:0}}))):"touch"!==e.pointerType&&b()}),[b]),w=d((()=>{a((e=>({...e,zoomLevel:1,panOffset:{x:0,y:0},selectedPoints:[],crosshair:null,brushSelection:null})))}),[]),R=d((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;a((e=>({...e,isAnimating:!0}))),l.current&&cancelAnimationFrame(l.current);const t=Date.now(),n=()=>{const i=Date.now()-t;Math.min(i/e,1)<1?l.current=requestAnimationFrame(n):a((e=>({...e,isAnimating:!1})))};l.current=requestAnimationFrame(n)}),[]),O=d((()=>{l.current&&(cancelAnimationFrame(l.current),l.current=null),a((e=>({...e,isAnimating:!1})))}),[]);return o((()=>()=>{l.current&&cancelAnimationFrame(l.current)}),[]),{interactionState:t,hoveredPoint:t.hoveredPoint,selectedPoints:t.selectedPoints,zoomLevel:t.zoomLevel,panOffset:t.panOffset,isAnimating:t.isAnimating,isDragging:t.isDragging,crosshair:t.crosshair,brushSelection:t.brushSelection,focusedPointIndex:t.focusedPointIndex,containerRef:s,svgRef:c,defaultProps:n,generateChartClass:u,chartAttributes:h(e||{}),calculateScales:m,getChartColors:p,handlePointHover:g,handlePointLeave:v,handlePointClick:S,handleZoom:f,handlePan:E,handleDragStart:A,handleDragEnd:b,handleCrosshair:N,clearCrosshair:_,resetView:w,handleTouchStart:C,handleTouchMove:T,handleTouchEnd:L,handlePointerDown:y,handlePointerMove:x,handlePointerUp:I,startAnimation:R,stopAnimation:O,setInteractionState:a}}const Lr=p(l(((a,n)=>{let{chartType:r="line",groups:o=[],enableDefaults:l=!0,defaults:s={refresh:!0,export:!0,fullscreen:!0,settings:!0,zoom:!0,pan:!0,reset:!0},exportFormats:c=["png","svg","csv"],size:u="md",position:h="top",onRefresh:m,onExport:p,onFullscreen:g,onSettings:v,onZoomIn:S,onZoomOut:f,onZoomReset:E,onPanToggle:A,onReset:b,onGridToggle:N,onLegendToggle:_,onTooltipsToggle:C,onAnimationsToggle:T,state:L={},className:y="",...x}=a;const[I,w]=i(!1),[R,O]=i(!1),M=d((()=>{const e=[];return s.refresh&&m&&e.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:m,disabled:L.isRefreshing,tooltip:"Refresh chart data (Ctrl+R)",shortcut:"Ctrl+R"}),s.export&&p&&e.push({id:"export",label:"Export",icon:"Download",onClick:()=>w(!I),disabled:L.isExporting,variant:"primary",tooltip:"Export chart (Ctrl+E)",shortcut:"Ctrl+E"}),[{id:"data-actions",label:"Data",actions:e,separator:!0}]}),[s,m,p,L,I]),D=d((()=>{const e=[];return!s.zoom||"interactive"!==r&&"line"!==r&&"area"!==r&&"bar"!==r||e.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:()=>null==S?void 0:S(),tooltip:"Zoom in (+)",shortcut:"+"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:()=>null==f?void 0:f(),tooltip:"Zoom out (-)",shortcut:"-"}),!s.pan||"interactive"!==r&&"line"!==r&&"area"!==r||e.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>null==A?void 0:A(!L.panEnabled),active:L.panEnabled,tooltip:"Toggle pan mode (Space)",shortcut:"Space"}),s.reset&&(E||b)&&e.push({id:"reset",label:"Reset View",icon:"ArrowCounterClockwise",onClick:()=>{null==E||E(),null==b||b()},tooltip:"Reset view (R)",shortcut:"R"}),s.fullscreen&&g&&e.push({id:"fullscreen",label:L.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:L.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>null==g?void 0:g(!L.isFullscreen),variant:"success",tooltip:(L.isFullscreen?"Exit":"Enter")+" fullscreen (F11)",shortcut:"F11"}),e.length>0?[{id:"view-actions",label:"View",actions:e,separator:!0}]:[]}),[s,r,S,f,A,E,b,g,L]),k=d((()=>{const e=[];return s.settings&&v&&e.push({id:"settings",label:"Settings",icon:"Gear",onClick:()=>O(!R),tooltip:"Chart settings"}),e.length>0?[{id:"tool-actions",label:"Tools",actions:e}]:[]}),[s,v,R]),B=o&&o.length>0?o:[...l?M():[],...l?D():[],...l?k():[]],P=a=>t("button",{className:`${pe.ACTION_CLASS} ${a.variant?`${pe.ACTION_CLASS}--${a.variant}`:""} ${a.active?"is-active":""} u-d-inline-flex u-align-items-center u-gap-1`,onClick:()=>{a.onClick()},disabled:a.disabled,title:a.tooltip,type:"button","aria-label":a.label,children:[e(Wi,{name:a.icon,size:"sm"}),"lg"===u&&e("span",{className:"u-text-xs",children:a.label})]},a.id),z=`${pe.TOOLBAR_CLASS} ${pe.TOOLBAR_CLASS}--${u} ${pe.TOOLBAR_CLASS}--${h} u-d-flex u-align-items-center u-gap-2 ${y}`.trim();return e("div",{ref:n,className:z,...x,children:B.map(((a,n)=>t("div",{className:"u-d-flex u-align-items-center u-gap-1",children:[a.separator&&n>0&&e("div",{className:"u-border-start u-h-4 u-mx-1 u-opacity-25"}),a.label&&"lg"===u&&e("span",{className:"u-text-xs u-text-muted u-me-1",children:a.label}),t("div",{className:"u-d-flex u-align-items-center u-gap-1 u-position-relative",children:[a.actions.map(P),a.actions.some((e=>"export"===e.id))&&(I&&p?t("div",{className:`${pe.EXPORT_DROPDOWN_CLASS} u-position-absolute u-bg-white u-border u-border-radius u-shadow u-p-2 u-z-10`,children:[e("div",{className:"u-mb-2 u-text-xs u-text-muted u-fw-medium",children:"Export Formats"}),c.map((t=>e("button",{className:`${pe.EXPORT_OPTION_CLASS} u-d-block u-w-full u-text-start u-p-1 u-border-0 u-bg-transparent u-text-decoration-none u-border-radius-sm`,onClick:()=>{p(t),w(!1)},disabled:L.isExporting,type:"button",children:t.toUpperCase()},t)))]}):null),a.actions.some((e=>"settings"===e.id))&&(R?t("div",{className:"u-position-absolute u-bg-white u-border u-border-radius u-shadow u-p-3 u-z-10",style:{minWidth:"200px"},children:[e("div",{className:"u-mb-2 u-text-xs u-text-muted u-fw-medium",children:"Chart Settings"}),t("div",{className:"u-d-flex u-flex-column u-gap-2",children:[L.zoomLevel&&t("div",{className:"u-d-flex u-justify-between u-align-items-center",children:[e("span",{className:"u-text-sm",children:"Zoom Level"}),t("span",{className:"u-text-sm u-text-muted",children:[Math.round(100*(L.zoomLevel||1)),"%"]})]}),t("div",{className:"u-d-flex u-justify-between u-align-items-center",children:[e("span",{className:"u-text-sm",children:"Chart Type"}),e("span",{className:"u-text-sm u-text-muted u-text-capitalize",children:r})]})]})]}):null)]})]},a.id)))})})));Lr.displayName="ChartToolbar";const yr=p(l(((a,n)=>{let{children:r,type:l="line",size:s="md",variant:c="primary",title:u,subtitle:h,loading:m=!1,error:p,className:g="","aria-label":v,onFullscreen:S,onExport:f,onRefresh:E,showToolbar:A=!1,enableFullscreen:b=!1,enableExport:N=!1,enableRefresh:_=!1,exportFormats:C=["png","svg","csv"],datasets:T,config:L,...y}=a;const[x,I]=i(!1),[w,R]=i(!1),{state:O,handlers:M,toolbarGroups:D}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[n,r]=i({isFullscreen:!1,isExporting:!1,isRefreshing:!1,zoomLevel:1,panEnabled:!1,showGrid:!0,showLegend:!0,showTooltips:!0,animationsEnabled:!0}),{enableDefaults:l=!0,defaults:s={},exportFormats:c=["png","svg","csv"],customActions:u=[],customGroups:h=[]}=t,m={...d((()=>{const t={refresh:!0,export:!0,fullscreen:!0,settings:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,zoom:!1,pan:!1,reset:!1};switch(e){case"interactive":case"advanced":return{...t,zoom:!0,pan:!0,reset:!0};case"line":case"area":case"bar":case"scatter":return{...t,zoom:!0,reset:!0};case"realtime":return{...t,refresh:!0,export:!1,animations:!1};case"pie":case"donut":case"gauge":return{...t,zoom:!1,pan:!1,grid:!1};case"heatmap":case"treemap":return{...t,zoom:!0,pan:!0,grid:!1};case"candlestick":return{...t,zoom:!0,pan:!0,reset:!0,grid:!0};default:return t}}),[e])(),...s},p={onRefresh:d((()=>{var e;r((e=>({...e,isRefreshing:!0}))),null===(e=a.onRefresh)||void 0===e||e.call(a),setTimeout((()=>{r((e=>({...e,isRefreshing:!1})))}),1e3)}),[a.onRefresh]),onExport:d((async e=>{r((e=>({...e,isExporting:!0})));try{var t;await(null===(t=a.onExport)||void 0===t?void 0:t.call(a,e))}finally{r((e=>({...e,isExporting:!1})))}}),[a.onExport]),onFullscreen:d((e=>{var t;r((t=>({...t,isFullscreen:e}))),null===(t=a.onFullscreen)||void 0===t||t.call(a,e)}),[a.onFullscreen]),onZoomIn:d((()=>{var e;r((e=>({...e,zoomLevel:Math.min(1.2*e.zoomLevel,5)}))),null===(e=a.onZoomIn)||void 0===e||e.call(a)}),[a.onZoomIn]),onZoomOut:d((()=>{var e;r((e=>({...e,zoomLevel:Math.max(e.zoomLevel/1.2,.2)}))),null===(e=a.onZoomOut)||void 0===e||e.call(a)}),[a.onZoomOut]),onZoomReset:d((()=>{var e;r((e=>({...e,zoomLevel:1}))),null===(e=a.onZoomReset)||void 0===e||e.call(a)}),[a.onZoomReset]),onPanToggle:d((e=>{var t;r((t=>({...t,panEnabled:e}))),null===(t=a.onPanToggle)||void 0===t||t.call(a,e)}),[a.onPanToggle]),onReset:d((()=>{var e;r((e=>({...e,zoomLevel:1,panEnabled:!1}))),null===(e=a.onReset)||void 0===e||e.call(a)}),[a.onReset]),onGridToggle:d((e=>{var t;r((t=>({...t,showGrid:e}))),null===(t=a.onGridToggle)||void 0===t||t.call(a,e)}),[a.onGridToggle]),onLegendToggle:d((e=>{var t;r((t=>({...t,showLegend:e}))),null===(t=a.onLegendToggle)||void 0===t||t.call(a,e)}),[a.onLegendToggle]),onTooltipsToggle:d((e=>{var t;r((t=>({...t,showTooltips:e}))),null===(t=a.onTooltipsToggle)||void 0===t||t.call(a,e)}),[a.onTooltipsToggle]),onAnimationsToggle:d((e=>{var t;r((t=>({...t,animationsEnabled:e}))),null===(t=a.onAnimationsToggle)||void 0===t||t.call(a,e)}),[a.onAnimationsToggle]),onSettings:d((()=>{}),[])},g=d((()=>{const e=[],t=[];m.refresh&&t.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:p.onRefresh,disabled:n.isRefreshing,tooltip:"Refresh chart data"}),m.export&&t.push({id:"export",label:"Export",icon:"Download",onClick:()=>p.onExport("png"),disabled:n.isExporting,variant:"primary",tooltip:"Export chart"}),t.length>0&&e.push({id:"data-actions",label:"Data",actions:t,separator:!0});const a=[];m.zoom&&a.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:p.onZoomIn,tooltip:"Zoom in"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:p.onZoomOut,tooltip:"Zoom out"}),m.pan&&a.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>p.onPanToggle(!n.panEnabled),active:n.panEnabled,tooltip:"Toggle pan mode"}),m.reset&&a.push({id:"reset",label:"Reset",icon:"ArrowCounterClockwise",onClick:p.onReset,tooltip:"Reset view"}),m.fullscreen&&a.push({id:"fullscreen",label:n.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:n.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>p.onFullscreen(!n.isFullscreen),variant:"success",tooltip:(n.isFullscreen?"Exit":"Enter")+" fullscreen"}),a.length>0&&e.push({id:"view-actions",label:"View",actions:a,separator:!0});const i=[];if(m.grid&&i.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>p.onGridToggle(!n.showGrid),active:n.showGrid,tooltip:"Toggle grid"}),m.legend&&i.push({id:"legend",label:"Legend",icon:"List",onClick:()=>p.onLegendToggle(!n.showLegend),active:n.showLegend,tooltip:"Toggle legend"}),m.tooltips&&i.push({id:"tooltips",label:"Tooltips",icon:"ChatCircle",onClick:()=>p.onTooltipsToggle(!n.showTooltips),active:n.showTooltips,tooltip:"Toggle tooltips"}),m.animations&&i.push({id:"animations",label:"Animations",icon:"Play",onClick:()=>p.onAnimationsToggle(!n.animationsEnabled),active:n.animationsEnabled,tooltip:"Toggle animations"}),i.length>0&&e.push({id:"display-actions",label:"Display",actions:i,separator:!0}),m.settings&&e.push({id:"settings-actions",label:"Settings",actions:[{id:"settings",label:"Settings",icon:"Gear",onClick:p.onSettings,tooltip:"Chart settings"}]}),e.push(...h),u.length>0)if(e.length>0){if(e.length>0){const t=e[e.length-1];t&&t.actions.push(...u)}}else e.push({id:"custom-actions",label:"Custom",actions:u});return e}),[e,m,n,p,u,h]);return o((()=>{const e=e=>{if(e.ctrlKey||e.metaKey)switch(e.key.toLowerCase()){case"r":m.refresh&&(e.preventDefault(),p.onRefresh());break;case"e":m.export&&(e.preventDefault(),p.onExport("png"));break;case"f":m.fullscreen&&(e.preventDefault(),p.onFullscreen(!n.isFullscreen))}else switch(e.key){case"+":case"=":m.zoom&&(e.preventDefault(),p.onZoomIn());break;case"-":m.zoom&&(e.preventDefault(),p.onZoomOut());break;case"r":m.reset&&(e.preventDefault(),p.onReset());break;case" ":m.pan&&(e.preventDefault(),p.onPanToggle(!n.panEnabled));break;case"F11":m.fullscreen&&(e.preventDefault(),p.onFullscreen(!n.isFullscreen))}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[m,n,p]),{state:n,setState:r,handlers:p,toolbarGroups:g(),config:{enableDefaults:l,defaults:m,exportFormats:c}}}(l,{enableDefaults:A,defaults:{refresh:_,export:N,fullscreen:b,zoom:!0,pan:!0,reset:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:C},{onRefresh:E,onExport:f,onFullscreen:e=>{I(e),null==S||S(e)}}),{generateChartClass:k,chartAttributes:B}=Tr({type:l,size:s,variant:c,loading:m,error:p}),P=k({type:l,size:s,variant:c,loading:m,error:p,className:g});d((()=>{M.onFullscreen(!O.isFullscreen)}),[M,O.isFullscreen]),d((async e=>{await M.onExport(e)}),[M]),d((()=>{M.onRefresh()}),[M]),o((()=>{I(O.isFullscreen),R(O.isExporting)}),[O.isFullscreen,O.isExporting]);const z=`${P}${x?` ${pe.CLASSES.FULLSCREEN}`:""}`;return t("div",{ref:n,className:z,"aria-label":v||`${l} chart`,role:"img",tabIndex:0,...B,...y,children:[(u||h||A)&&t("div",{className:`${pe.HEADER_CLASS} u-d-flex u-justify-between u-align-items-start u-gap-4`,children:[t("div",{className:`${pe.HEADER_CONTENT_CLASS} u-flex-1`,children:[u&&e("h3",{className:`${pe.TITLE_CLASS} u-mb-1`,children:u}),h&&e("p",{className:`${pe.SUBTITLE_CLASS} u-mb-0`,children:h})]}),A?e(Lr,{chartType:l,groups:D,enableDefaults:0===D.length,exportFormats:C,state:{isFullscreen:O.isFullscreen,isExporting:O.isExporting,isRefreshing:O.isRefreshing,zoomLevel:O.zoomLevel,panEnabled:O.panEnabled,showGrid:O.showGrid,showLegend:O.showLegend,showTooltips:O.showTooltips,animationsEnabled:O.animationsEnabled},onRefresh:M.onRefresh,onExport:M.onExport,onFullscreen:M.onFullscreen,onZoomIn:M.onZoomIn,onZoomOut:M.onZoomOut,onZoomReset:M.onZoomReset,onPanToggle:M.onPanToggle,onReset:M.onReset,onSettings:M.onSettings,onGridToggle:M.onGridToggle,onLegendToggle:M.onLegendToggle,onTooltipsToggle:M.onTooltipsToggle,onAnimationsToggle:M.onAnimationsToggle}):null]}),t("div",{className:pe.CONTENT_CLASS,children:[m&&t("div",{className:pe.LOADING_CLASS,children:[e("div",{className:pe.LOADING_SPINNER_CLASS}),e("span",{className:pe.LOADING_TEXT_CLASS,children:O.isExporting?"Exporting chart...":O.isRefreshing?"Refreshing chart...":"Loading chart..."})]}),p&&t("div",{className:pe.ERROR_CLASS,children:[e("div",{className:pe.ERROR_ICON_CLASS,children:"⚠"}),t("div",{className:pe.ERROR_CONTENT_CLASS,children:[e("div",{className:pe.ERROR_MESSAGE_CLASS,children:"Chart Error"}),e("div",{className:pe.ERROR_DETAILS_CLASS,children:p})]})]}),!m&&!p&&!r&&t("div",{className:pe.EMPTY_CLASS,children:[e("div",{className:pe.EMPTY_ICON_CLASS,children:"📊"}),e("div",{className:pe.EMPTY_MESSAGE_CLASS,children:"No data available"}),e("div",{className:pe.EMPTY_DETAILS_CLASS,children:"Add data to your chart to see visualizations"})]}),!m&&!p&&r&&e("div",{className:pe.CANVAS_CLASS,children:r})]})]})})));yr.displayName="Chart";const xr=p(l(((a,n)=>{let{datasets:r=[],config:l={},advancedOptions:s={chartType:"line",realTime:!1,updateInterval:1e3,advancedTooltips:!0,enableSelection:!1,maxSelections:5,showTrendLines:!1,showMovingAverages:!1,movingAveragePeriod:7,enableExport:!1,exportFormats:["png","svg"],showDataTable:!1,enableAnnotations:!1,annotations:[]},onDataPointClick:u,...h}=a;const[m,p]=i(new Set),[g,v]=i(r),[S,f]=i(null);o((()=>{if(!s.realTime)return;const e=setInterval((()=>{v((e=>e.map((e=>({...e,data:e.data.map((e=>({...e,value:e.value+10*(Math.random()-.5)})))})))))}),s.updateInterval);return()=>clearInterval(e)}),[s.realTime,s.updateInterval]);const E=d(((e,t)=>{const a=[];for(let i=t-1;i<e.length;i++){var n;const r=Cr(n=e.slice(i-t+1,i+1)).call(n,((e,t)=>e+t.value),0)/t,o=e[i];o&&a.push({label:o.label,value:r,color:"rgba(255, 255, 255, 0.5)"})}return a}),[]),A=d(((e,t)=>{if(!s.enableSelection)return;const a=`${e}-${t}`,n=new Set(m);if(n.has(a))n.delete(a);else{if(n.size>=(s.maxSelections||5)){const e=n.values().next().value;e&&n.delete(e)}n.add(a)}p(n)}),[m,s.enableSelection,s.maxSelections]),b=d((e=>{if(!s.enableExport)return;const t=document.querySelector(".c-chart__canvas svg");if(t)switch(e){case"png":const e=(new XMLSerializer).serializeToString(t),a=document.createElement("canvas"),n=a.getContext("2d"),i=new Image;i.onload=()=>{a.width=i.width,a.height=i.height,null==n||n.drawImage(i,0,0);const e=document.createElement("a");e.download="chart.png",e.href=a.toDataURL(),e.click()},i.src="data:image/svg+xml;base64,"+btoa(e);break;case"svg":const o=new Blob([t.outerHTML],{type:"image/svg+xml"}),l=URL.createObjectURL(o),s=document.createElement("a");s.href=l,s.download="chart.svg",s.click();break;case"csv":const c=r.map((e=>e.data.map((e=>`${e.label},${e.value}`)).join("\n"))).join("\n"),d=new Blob([c],{type:"text/csv"}),u=URL.createObjectURL(d),h=document.createElement("a");h.href=u,h.download="chart-data.csv",h.click()}}),[r,s.enableExport]),N=c((()=>{var a,n,i,r;if(!g.length)return null;const o=20,c=30,d=50,h=800-d-c,p=400-o-40,v=g.flatMap((e=>e.data.map((e=>e.value)))),b=(null===(a=l.yAxis)||void 0===a?void 0:a.min)??Math.min(0,...v),N=(null===(n=l.yAxis)||void 0===n?void 0:n.max)??Math.max(...v),_=e=>{var t;const a=g[0];return null!=a&&null!==(t=a.data)&&void 0!==t&&t.length?d+e/(a.data.length-1)*h:d},C=e=>o+p-(e-b)/(N-b)*p,T=g.map(((t,a)=>{const n=t.color||`var(--atomix-color-${a+1})`,i=[];if("line"===s.chartType||"area"===s.chartType){const r=t.data.map(((e,t)=>({x:_(t),y:C(e.value)}))).map(((e,t)=>0===t?`M ${e.x},${e.y}`:`L ${e.x},${e.y}`)).join(" ");"area"===s.chartType&&i.push(e("path",{d:`${r} L ${_(t.data.length-1)},${C(b)} L ${_(0)},${C(b)} Z`,fill:n,opacity:.2},`area-${a}`)),i.push(e("path",{d:r,stroke:n,fill:"none",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},`line-${a}`))}if(t.data.forEach(((t,r)=>{const o=_(r),l=C(t.value),s=`${a}-${r}`,c=m.has(s),d=(null==S?void 0:S.datasetIndex)===a&&(null==S?void 0:S.pointIndex)===r;i.push(e("circle",{cx:o,cy:l,r:c?6:d?5:4,fill:c?"var(--atomix-primary-500)":n,stroke:"#ffffff",strokeWidth:c?3:2,className:pe.DATA_POINT_CLASS,onClick:()=>{A(a,r),null==u||u(t,a,r)},onMouseEnter:()=>f({datasetIndex:a,pointIndex:r,x:o,y:l,value:t.value,label:t.label}),onMouseLeave:()=>f(null),style:{cursor:"pointer",transition:"r 0.2s ease-in-out, fill 0.2s ease-in-out"}},`point-${a}-${r}`))})),s.showMovingAverages){const r=E(t.data,s.movingAveragePeriod||7).map(((e,t)=>({x:_(t+(s.movingAveragePeriod||7)-1),y:C(e.value)}))).map(((e,t)=>0===t?`M ${e.x},${e.y}`:`L ${e.x},${e.y}`)).join(" ");i.push(e("path",{d:r,stroke:n,fill:"none",strokeWidth:1,strokeDasharray:"5,5",opacity:.7},`moving-avg-${a}`))}return i})),L=(null===(i=s.annotations)||void 0===i?void 0:i.map(((a,n)=>t("g",{children:[e("circle",{cx:_(a.x),cy:C(a.y),r:4,fill:a.color||"#ef4444",stroke:"#ffffff",strokeWidth:2}),e("text",{x:_(a.x)+10,y:C(a.y)-10,fill:"#111827",fontSize:"12",fontWeight:"bold",children:a.label})]},`annotation-${n}`))))||[];return t("svg",{width:"100%",height:"100%",viewBox:"0 0 800 400",preserveAspectRatio:"xMidYMid meet",children:[e("g",{className:pe.GRID_CLASS,children:Array.from({length:5}).map(((t,a)=>{const n=b+(N-b)*a/4;return e("line",{x1:d,y1:C(n),x2:800-c,y2:C(n),stroke:"#e5e7eb",strokeWidth:1,strokeDasharray:"4,4",opacity:.3},`grid-${a}`)}))}),T.flat(),L,e("g",{className:`${pe.AXIS_CLASS} ${pe.AXIS_CLASS}--x`,children:null===(r=g[0])||void 0===r||null===(r=r.data)||void 0===r?void 0:r.map(((t,a)=>e("text",{x:_(a),y:390,textAnchor:"middle",fontSize:"12",fill:"#374151",children:t.label},`x-label-${a}`)))}),e("g",{className:`${pe.AXIS_CLASS} ${pe.AXIS_CLASS}--y`,children:Array.from({length:5}).map(((t,a)=>{const n=b+(N-b)*a/4;return e("text",{x:d-10,y:C(n),textAnchor:"end",dominantBaseline:"middle",fontSize:"12",fill:"#374151",children:n.toFixed(n%1==0?0:1)},`y-label-${a}`)}))})]})}),[g,l,s,m,S,E,A,u]),_=c((()=>{var a;return s.advancedTooltips&&S?t("div",{className:"advanced-tooltip",style:{position:"absolute",left:S.x+10,top:S.y-10,background:"var(--atomix-surface)",border:"1px solid #e5e7eb",borderRadius:"var(--radius-md)",padding:"0.5rem",fontSize:"var(--font-size-sm)",boxShadow:"var(--shadow-lg)",zIndex:1e3,pointerEvents:"none"},children:[e("div",{style:{fontWeight:"bold",marginBottom:"var(--space-1)"},children:S.label}),t("div",{children:["Value: ",S.value]}),t("div",{children:["Dataset: ",null===(a=g[S.datasetIndex])||void 0===a?void 0:a.label]})]}):null}),[S,s.advancedTooltips,g]),C=c((()=>{var a;return s.enableExport?e("div",{className:"chart-export-controls",style:{marginTop:"var(--space-3)"},children:e("div",{style:{display:"flex",gap:"0.5rem"},children:null===(a=s.exportFormats)||void 0===a?void 0:a.map((e=>t("button",{onClick:()=>b(e),style:{padding:"var(--space-1) 0.5rem",background:"var(--atomix-surface)",border:"1px solid #e5e7eb",borderRadius:"var(--radius-sm)",fontSize:"var(--font-size-sm)",cursor:"pointer"},children:["Export ",e.toUpperCase()]},e)))})}):null}),[s.enableExport,s.exportFormats,b]),T=c((()=>{var a;return s.showDataTable&&g.length?e("div",{className:"chart-data-table",style:{marginTop:"var(--space-3)"},children:t("table",{style:{width:"100%",borderCollapse:"collapse"},children:[e("thead",{children:t("tr",{children:[e("th",{style:{padding:"0.5rem",textAlign:"left",borderBottom:"1px solid #e5e7eb"},children:"Label"}),g.map(((t,a)=>e("th",{style:{padding:"0.5rem",textAlign:"left",borderBottom:"1px solid #e5e7eb"},children:t.label},a)))]})}),e("tbody",{children:null===(a=g[0])||void 0===a||null===(a=a.data)||void 0===a?void 0:a.map(((a,n)=>{var i;return t("tr",{children:[e("td",{style:{padding:"0.5rem",borderBottom:"1px solid #e5e7eb"},children:null===(i=g[0])||void 0===i||null===(i=i.data)||void 0===i||null===(i=i[n])||void 0===i?void 0:i.label}),g.map(((t,a)=>{var i;return e("td",{style:{padding:"0.5rem",borderBottom:"1px solid #e5e7eb"},children:null===(i=t.data[n])||void 0===i?void 0:i.value.toFixed(2)},a)}))]},n)}))})]})}):null}),[s.showDataTable,g]);return t(yr,{ref:n,type:"advanced",datasets:g,config:l,...h,children:[N,_,C,T]})})));xr.displayName="AdvancedChart";const Ir=p(l(((t,a)=>{let{datasets:n=[],config:i={},chartType:l="line",particleEffects:s,...c}=t;const u=r(null),h=r(0),m=r(0),p=r([]),g=d((e=>{var t;const a=u.current;if(!a)return;const i=a.getContext("2d");if(!i)return;const{width:r,height:o}=a,l=.02*m.current,c=i.createLinearGradient(0,0,0,o);c.addColorStop(0,"#0a0a0a"),c.addColorStop(.5,"#1a1a2e"),c.addColorStop(1,"#16213e"),i.fillStyle=c,i.fillRect(0,0,r,o);const d=(null===(t=n[0])||void 0===t?void 0:t.data)||[],v=Math.max(...d.map((e=>e.value))),S=Math.min(...d.map((e=>e.value))),f=v-S||1;if(p.current.length<((null==s?void 0:s.count)||800))for(let e=0;e<3;e++){const e=Math.floor(Math.random()*d.length),t=d[e];if(t){var E;const a=(t.value-S)/f,n=e/(d.length-1)*r,i=o-a*o*.6-.2*o;p.current.push({x:n+50*(Math.random()-.5),y:i+30*(Math.random()-.5),vx:(Math.random()-.5)*((null==s?void 0:s.speed)||2),vy:2*-Math.random()-.5,life:1,size:((null==s?void 0:s.size)||2)*(.5+.5*a),color:(null==s||null===(E=s.colors)||void 0===E?void 0:E[e%(s.colors.length||1)])||"#22c55e",dataIndex:e})}}if(p.current=p.current.filter((e=>{var t;if(e.x+=e.vx,e.y+=e.vy,e.life-=.008,e.vy+=.015,e.life<=0||e.y>o+50)return!1;const a=void 0!==e.dataIndex&&d[e.dataIndex]?((null===(t=d[e.dataIndex])||void 0===t?void 0:t.value)||0)/v:.5,n=20*Math.sin(.01*e.x+l)*a+15*Math.sin(.008*e.x+1.2*l),r=e.y+n;return i.save(),i.globalAlpha=.8*e.life,i.beginPath(),i.arc(e.x,r,e.size,0,2*Math.PI),i.fillStyle=e.color,i.fill(),i.shadowBlur=8,i.shadowColor=e.color,i.fill(),i.restore(),!0})),d.length>1){((null==s?void 0:s.colors)||["#22c55e"]).forEach(((e,t)=>{i.strokeStyle=e,i.lineWidth=2,i.globalAlpha=.6,i.beginPath(),d.forEach(((e,a)=>{const n=a/(d.length-1)*r,s=(e.value-S)/f,c=o-s*o*.6-.2*o+30*Math.sin(.008*n+l+t);0===a?i.moveTo(n,c):i.lineTo(n,c)})),i.stroke()}))}i.strokeStyle="rgba(34, 197, 94, 0.1)",i.lineWidth=1,i.globalAlpha=.2;for(let e=0;e<r;e+=60)i.beginPath(),i.moveTo(e,0),i.lineTo(e,o),i.stroke();m.current+=1,h.current=requestAnimationFrame(g)}),[s,n]);return o((()=>{const e=u.current;if(!e)return;const t=()=>{e.width=e.offsetWidth,e.height=e.offsetHeight};return t(),window.addEventListener("resize",t),g(0),()=>{window.removeEventListener("resize",t),h.current&&cancelAnimationFrame(h.current)}}),[g]),e(yr,{ref:a,type:l,datasets:n,config:i,...c,children:e("canvas",{ref:u,style:{width:"100%",height:"100%",borderRadius:"8px"}})})})));function wr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[a,n]=i(1),[r,o]=i({x:0,y:0}),[l,s]=i(null),u=d(((e,t)=>{const a=[];for(let i=t-1;i<e.length;i++){var n;const r=Cr(n=e.slice(i-t+1,i+1)).call(n,((e,t)=>e+t.value),0)/t,o=e[i];o&&a.push({label:o.label,value:r,color:"rgba(255, 255, 255, 0.5)"})}return a}),[]),h=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=Cr(e).call(e,((e,t,a)=>e+a),0),n=Cr(e).call(e,((e,t)=>e+t.value),0),i=(t*Cr(e).call(e,((e,t,a)=>e+a*t.value),0)-a*n)/(t*Cr(e).call(e,((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>({label:e.label,value:i*t+r,color:"rgba(255, 255, 255, 0.3)"})))}),[]),m=d((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.4;if(e.length<2)return"";const a=e.map(((a,n)=>{if(0===n||n===e.length-1)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const i=e[n-1],r=e[n+1];if(!i||!r)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const o=r.x-i.x,l=r.y-i.y;return{cp1x:a.x-o*t,cp1y:a.y-l*t,cp2x:a.x+o*t,cp2y:a.y+l*t}})),n=e[0];if(!n)return"";let i=`M ${n.x},${n.y}`;for(let t=1;t<e.length;t++){const n=a[t-1],r=a[t],o=e[t];n&&r&&o&&(i+=` C ${n.cp2x},${n.cp2y} ${r.cp1x},${r.cp1y} ${o.x},${o.y}`)}return i}),[]),p=d(((e,i,r)=>{if(!t.enableZoom)return;const l=e>0?.9:1.1,s=Math.max(.1,Math.min(10,a*l));n(s);const c=s/a;o((e=>({x:i-(i-e.x)*c,y:r-(r-e.y)*c})))}),[a,t.enableZoom]),g=d(((e,a)=>{t.enablePan&&o((t=>({x:t.x+e,y:t.y+a})))}),[t.enablePan]),v=d((()=>{n(1),o({x:0,y:0})}),[]),S=d(((e,t,a,n)=>{s({datasetIndex:e,pointIndex:t,x:a,y:n})}),[]),f=d((()=>{s(null)}),[]),E=c((()=>e.map((e=>{const a={...e};return t.showMovingAverages&&t.movingAveragePeriods&&(a.movingAverages=t.movingAveragePeriods.map((t=>({period:t,data:u(e.data,t)})))),t.showTrendLines&&(a.trendLine=h(e.data)),a}))),[e,t.showMovingAverages,t.movingAveragePeriods,t.showTrendLines,u,h]);return{zoomLevel:a,panOffset:r,hoveredPoint:l,processedDatasets:E,handleZoom:p,handlePan:g,resetView:v,handlePointHover:S,handlePointLeave:f,calculateMovingAverage:u,calculateTrendLine:h,generateSmoothPath:m,setZoomLevel:n,setPanOffset:o,setHoveredPoint:s}}Ir.displayName="AnimatedChart";const Rr=p(l(((a,n)=>{let{datasets:l=[],config:s,width:u=pe.DEFAULT_WIDTH,height:h=pe.DEFAULT_HEIGHT,onDataPointClick:m,interactive:p=!0,enableRealTime:g=!1,enableAccessibility:v=!0,enablePerformanceOptimization:S=!0,renderContent:f}=a;const{calculateScales:E,getChartColors:A,interactionState:b,handlePointHover:N,handlePointLeave:_,handlePointClick:C,handleZoom:T,handlePan:L,handleDragStart:y,handleDragEnd:x,handleCrosshair:I,clearCrosshair:w,handleTouchStart:R,handleTouchMove:O,handleTouchEnd:M,handlePointerDown:D,handlePointerMove:k,handlePointerUp:B,svgRef:P}=Tr({interactive:p}),{processedData:z,isProcessing:F}=function(e,t){const[a,n]=i(e),[r,l]=i(!1),{enableDecimation:s=!1,maxDataPoints:c=1e3,enableRealTime:u=!1,realTimeInterval:h=1e3}=t||{},m=d(((e,t)=>{var a;if(!s||!e.length)return e;const n=(null===(a=e[0])||void 0===a||null===(a=a.data)||void 0===a?void 0:a.length)||0;if(n<=t)return e;const i=Math.ceil(n/t);return e.map((e=>{var t;return{...e,data:(null===(t=e.data)||void 0===t?void 0:t.filter(((e,t)=>t%i==0)))||[]}}))}),[s]),p=d(((e,t)=>{const a=[];for(let i=0;i<e.length;i++)if(i<t-1)a.push(null);else{var n;const r=Cr(n=e.slice(i-t+1,i+1)).call(n,((e,t)=>e+t),0);a.push(r/t)}return a}),[]),g=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=Cr(e).call(e,((e,t,a)=>e+a),0),n=Cr(e).call(e,((e,t)=>e+t),0),i=(t*Cr(e).call(e,((e,t,a)=>e+a*t),0)-a*n)/(t*Cr(e).call(e,((e,t,a)=>e+a*a),0)-a*a),r=(n-i*a)/t;return e.map(((e,t)=>i*t+r))}),[]);return o((()=>{l(!0),(async()=>{let t=[...e];s&&c&&(t=m(t,c)),n(t),l(!1)})()}),[e,m,s,c]),o((()=>{if(!u)return;const e=setInterval((()=>{n((e=>[...e]))}),h);return()=>clearInterval(e)}),[u,h]),{processedData:a,isProcessing:r,decimateData:m,calculateMovingAverage:p,calculateTrendLine:g,setProcessedData:n}}(l,{enableRealTime:g,enableDecimation:S,maxDataPoints:1e3}),{announcement:U,focusedPoint:G,getAccessibleDescription:V,handleKeyDown:Y}=function(e,t){const{enableKeyboardNavigation:a=!0,enableScreenReader:n=!0,announceDataChanges:r=!0}=t||{},[l,s]=i({datasetIndex:0,pointIndex:0}),[c,u]=i(""),h=d(((t,n)=>{var i;if(!a||!e.length)return;const r=e.length-1,o=((null===(i=e[l.datasetIndex])||void 0===i||null===(i=i.data)||void 0===i?void 0:i.length)||1)-1;switch(t.key){case"ArrowLeft":t.preventDefault(),s((e=>({...e,pointIndex:Math.max(0,e.pointIndex-1)})));break;case"ArrowRight":t.preventDefault(),s((e=>({...e,pointIndex:Math.min(o,e.pointIndex+1)})));break;case"ArrowUp":t.preventDefault(),s((e=>({...e,datasetIndex:Math.max(0,e.datasetIndex-1)})));break;case"ArrowDown":t.preventDefault(),s((e=>({...e,datasetIndex:Math.min(r,e.datasetIndex+1)})));break;case"Home":t.preventDefault(),s((e=>({...e,pointIndex:0})));break;case"End":t.preventDefault(),s((e=>({...e,pointIndex:o})));break;case"Enter":case" ":t.preventDefault(),null==n||n(l.datasetIndex,l.pointIndex)}}),[a,e,l]),m=d((e=>{n&&(u(e),setTimeout((()=>u("")),1e3))}),[n]);o((()=>{if(!r||!e.length)return;const t=Cr(e).call(e,((e,t)=>{var a;return e+((null===(a=t.data)||void 0===a?void 0:a.length)||0)}),0);m(`Chart updated with ${e.length} datasets and ${t} data points`)}),[e,r,m]);const p=d((()=>{if(!e.length)return"Empty chart";const t=e.map(((e,t)=>{var a,n;const i=(null===(a=e.data)||void 0===a?void 0:a.length)||0,r=(null===(n=e.data)||void 0===n?void 0:n.map((e=>e.value)).filter((e=>"number"==typeof e)))||[],o=Math.min(...r),l=Math.max(...r);return`Dataset ${t+1}: ${e.label}, ${i} points, range ${o} to ${l}`})).join(". ");return`Chart with ${e.length} datasets. ${t}`}),[e]);return{focusedPoint:l,announcement:c,handleKeyDown:h,announceData:m,getAccessibleDescription:p,setFocusedPoint:s}}(z,{enableKeyboardNavigation:v,enableScreenReader:v});!function(e,t){const{enableVirtualization:a=!1,enableMemoization:n=!0,debounceMs:l=100}=t||{},[s,u]=i(!1),h=r(null),m=c((()=>n?e.map((e=>{var t,a,n;return{label:e.label,dataLength:(null===(t=e.data)||void 0===t?void 0:t.length)||0,minValue:Math.min(...(null===(a=e.data)||void 0===a?void 0:a.map((e=>e.value)).filter((e=>"number"==typeof e)))||[0]),maxValue:Math.max(...(null===(n=e.data)||void 0===n?void 0:n.map((e=>e.value)).filter((e=>"number"==typeof e)))||[0])}})):null),[e,n]),p=d((e=>{h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{e(),u(!1)}),l),u(!0)}),[l]),g=d(((t,n,i)=>{var r,o;if(!a)return{start:0,end:(null===(r=e[0])||void 0===r||null===(r=r.data)||void 0===r?void 0:r.length)||0};const l=Math.floor(t/n),s=Math.ceil(i/n),c=Math.min(l+s+1,(null===(o=e[0])||void 0===o||null===(o=o.data)||void 0===o?void 0:o.length)||0);return{start:Math.max(0,l-1),end:c}}),[a,e]);o((()=>()=>{h.current&&clearTimeout(h.current)}),[])}(z,{enableMemoization:S,debounceMs:100});const H=d((e=>{if(!p||b.touchState.isTouch)return;const t=e.currentTarget.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top;if(I(a,n),b.isDragging&&b.dragStart){const e=a-b.dragStart.x,t=n-b.dragStart.y;L(e,t)}}),[p,b,I,L]),W=d((e=>{if(!p||b.touchState.isTouch)return;const t=e.currentTarget.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top;y(a,n)}),[p,b.touchState.isTouch,y]),Q=d((()=>{p&&!b.touchState.isTouch&&x()}),[p,b.touchState.isTouch,x]),K=d((e=>{if(!p)return;e.preventDefault();const t=e.currentTarget.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top,i=Math.abs(e.deltaY)<50?.01:.1,r=e.deltaY*i;T(r,a,n)}),[p,T]),Z=d(((e,t,a)=>{p&&(C(t,a),null==m||m(e,t,a))}),[p,C,m]),j=c((()=>{const e=E(z,u,h,void 0,s);if(!e)return null;const t=A(z.length).filter((e=>void 0!==e));return{scales:e,colors:t,datasets:z.map(((e,a)=>({...e,color:e.color||t[a]})))}}),[z,s,u,h,E,A]);return j?t("svg",{ref:n||P,width:"100%",height:"100%",viewBox:`0 0 ${j.scales.width} ${j.scales.height}`,preserveAspectRatio:"xMidYMid meet",className:pe.CHART_SVG_CLASS,onMouseMove:H,onMouseDown:W,onMouseUp:Q,onMouseLeave:()=>{w(),Q()},onWheel:K,onTouchStart:e=>R(e.nativeEvent),onTouchMove:e=>O(e.nativeEvent),onTouchEnd:e=>M(e.nativeEvent),onPointerDown:e=>D(e.nativeEvent),onPointerMove:e=>k(e.nativeEvent),onPointerUp:e=>B(e.nativeEvent),tabIndex:v?0:void 0,role:v?"img":void 0,"aria-label":v?V():void 0,onKeyDown:v?e=>Y(e.nativeEvent,((e,t)=>{var a;const n=null===(a=z[e])||void 0===a?void 0:a.data[t];Z(n,e,t)})):void 0,style:{touchAction:"none",userSelect:"none",WebkitUserSelect:"none"},children:[v&&U&&e("text",{x:"-9999",y:"-9999",className:"sr-only","aria-live":"polite",children:U}),f({...j,interactionState:b,handlers:{onDataPointClick:Z,onPointHover:N,onPointLeave:_,onMouseMove:H,onMouseDown:W,onMouseUp:Q,onWheel:K},accessibility:{announcement:U,focusedPoint:G,getAccessibleDescription:V}}),p&&b.crosshair&&t("g",{className:"chart-crosshair",style:{pointerEvents:"none"},children:[e("line",{x1:b.crosshair.x,y1:0,x2:b.crosshair.x,y2:j.scales.height,stroke:"var(--atomix-gray-4)",strokeWidth:"1",strokeDasharray:"4,4",opacity:"0.6"}),e("line",{x1:0,y1:b.crosshair.y,x2:j.scales.width,y2:b.crosshair.y,stroke:"var(--atomix-gray-4)",strokeWidth:"1",strokeDasharray:"4,4",opacity:"0.6"})]}),p&&1!==b.zoomLevel&&t("g",{className:"chart-zoom-indicator",children:[e("rect",{x:j.scales.width-80,y:10,width:"70",height:"20",fill:"rgba(0, 0, 0, 0.8)",rx:"4"}),t("text",{x:j.scales.width-45,y:24,textAnchor:"middle",fill:"white",fontSize:"12",children:[Math.round(100*b.zoomLevel),"%"]})]})]}):null})));Rr.displayName="ChartRenderer";const Or=p((n=>{let{dataPoint:l,datasetLabel:s,datasetColor:c,position:d,visible:u,customRenderer:h}=n;const m=r(null),[p,g]=i(d);return o((()=>{if(!u||!m.current)return;const e=m.current.getBoundingClientRect(),t=window.innerWidth,a=window.innerHeight;let n=d.x+8,i=d.y-e.height;n+e.width>t-16&&(n=d.x-e.width-8),i<8&&(i=d.y+8),n=Math.max(8,Math.min(n,t-e.width-8)),i=Math.max(8,Math.min(i,a-e.height-8)),g({x:n,y:i})}),[d,u]),u?e("div",{ref:m,className:"c-chart__tooltip",style:{left:p.x,top:p.y},children:h?h(l):t(a,{children:[e("div",{className:"c-chart__tooltip-title",children:l.label}),t("div",{className:"c-chart__tooltip-content",children:[s&&t("div",{className:"c-chart__tooltip-dataset",children:[e("div",{className:"c-chart__tooltip-color-indicator",style:{backgroundColor:c}}),t("span",{className:"c-chart__tooltip-dataset-label",children:[s,":"]}),e("span",{className:"c-chart__tooltip-value",children:l.value})]}),l.metadata&&e("div",{className:"c-chart__tooltip-metadata",children:Object.entries(l.metadata).map((a=>{let[n,i]=a;return t("div",{className:"c-chart__tooltip-metadata-item",children:[t("span",{className:"c-chart__tooltip-metadata-key",children:[n,":"]}),e("span",{className:"c-chart__tooltip-metadata-value",children:String(i)})]},n)}))})]})]})}):null}));Or.displayName="ChartTooltip";const Mr=p(l(((a,n)=>{var i,r,o;let{datasets:l=[],config:s={},lineOptions:c={},onDataPointClick:u,onRealTimeUpdate:h,onZoomChange:m,onPanChange:p,onBrushSelection:g,...v}=a;const{processedDatasets:S,generateSmoothPath:f,calculateMovingAverage:E,handlePointHover:A,handlePointLeave:b,hoveredPoint:N}=wr(l,c),_=d((a=>{let{scales:n,colors:i,datasets:r,handlers:o}=a;return r.length?r.map(((a,r)=>{var l,s,d,u;const h=a.color||i[r],m=(null===(l=a.data)||void 0===l?void 0:l.map(((e,t)=>{var i;return{x:n.xScale(t,null===(i=a.data)||void 0===i?void 0:i.length),y:n.yScale(e.value)}})))||[],p=c.smooth?f(m):`M ${m.map((e=>`${e.x},${e.y}`)).join(" L ")}`;return t("g",{children:[c.showArea&&e("path",{d:`${p} L ${(null===(s=m[m.length-1])||void 0===s?void 0:s.x)||0},${n.yScale(0)} L ${(null===(d=m[0])||void 0===d?void 0:d.x)||0},${n.yScale(0)} Z`,fill:h,className:"c-chart__area-path"}),e("path",{d:p,stroke:h,fill:"none",className:"c-chart__line-path"}),c.showDataPoints&&(null===(u=a.data)||void 0===u?void 0:u.map(((t,i)=>{var l;const s=n.xScale(i,null===(l=a.data)||void 0===l?void 0:l.length),d=n.yScale(t.value),u=(null==N?void 0:N.datasetIndex)===r&&(null==N?void 0:N.pointIndex)===i;return e("circle",{cx:s,cy:d,r:c.pointRadius||4,fill:h,className:"c-chart__data-point "+(u?"c-chart__data-point--hovered":""),onClick:()=>{var e;return null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,t,r,i)},onMouseEnter:e=>{var t;const a=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect();a?a.left:e.clientX,a?a.top:e.clientY,A(r,i,s,d)},onMouseLeave:b},`point-${i}`)})))]},`dataset-${r}`)})):null}),[c,f,N,A,b]);return t(yr,{ref:n,type:"line",datasets:l,config:s,toolbarConfig:{defaults:{zoom:!0,pan:!0,reset:!0,grid:!0,tooltips:!0}},...v,children:[e(Rr,{datasets:S,config:s,onDataPointClick:u,renderContent:_}),N&&(null===(i=S[N.datasetIndex])||void 0===i||null===(i=i.data)||void 0===i?void 0:i[N.pointIndex])&&e(Or,{dataPoint:S[N.datasetIndex].data[N.pointIndex],datasetLabel:null===(r=S[N.datasetIndex])||void 0===r?void 0:r.label,datasetColor:null===(o=S[N.datasetIndex])||void 0===o?void 0:o.color,position:{x:N.x,y:N.y},visible:!0})]})})));Mr.displayName="LineChart";const Dr=p(l(((t,a)=>{let{areaOptions:n={},...i}=t;const r={showArea:!0,fillOpacity:.3,useGradient:!0,...n};return e(Mr,{ref:a,lineOptions:r,...i})})));function kr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[a,n]=i(null),[r,o]=i(0),[l,s]=i(!1),c=d((function(e,a,n){var i;let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{top:20,right:30,bottom:40,left:50},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e.length)return[];const l=a-r.left-r.right,s=n-r.top-r.bottom,c=(null===(i=e[0])||void 0===i||null===(i=i.data)||void 0===i?void 0:i.length)||0,d=e.length;if(0===c)return[];const u=e.flatMap((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.map((e=>e.value)).filter((e=>"number"==typeof e)))||[]})),h=Math.min(0,...u),m=Math.max(...u)-h,p=[],g=Array(c).fill(0);return e.forEach(((e,i)=>{var u;null===(u=e.data)||void 0===u||u.forEach(((e,u)=>{const v="number"==typeof e.value?e.value:0;if(isNaN(v)||!isFinite(v))return;let S,f,E,A;if(o){const e=s/c,a=e*(1-(t.groupPadding||.2));A=t.stacked?a:a/d,f=r.top+u*e+(e-a)/2,t.stacked||(f+=i*A*(1+(t.barPadding||.05))),S=r.left,E=(v-h)/m*l,t.stacked&&i>0?(S=r.left+(g[u]-h)/m*l,g[u]+=v):t.stacked&&(g[u]=v)}else{const e=l/c,a=e*(1-(t.groupPadding||.2));if(E=t.stacked?a:a/d,S=r.left+u*e+(e-a)/2,t.stacked||(S+=i*E*(1+(t.barPadding||.05))),A=(v-h)/m*s,f=n-r.bottom-A,t.stacked&&i>0){const e=(g[u]-h)/m*s;f=n-r.bottom-e-A,g[u]+=v}else t.stacked&&(g[u]=v)}if(t.minBarHeight&&(o?E:A)<t.minBarHeight&&(o?E=t.minBarHeight:(A=t.minBarHeight,f=n-r.bottom-A)),t.maxBarWidth&&(o?A:E)>t.maxBarWidth)if(o)A=t.maxBarWidth,f=r.top+u*(s/c)+(s/c-A)/2;else{E=t.maxBarWidth;const e=(a-r.left-r.right)/c;S=r.left+u*e+(e-E)/2}p.push({x:Math.max(S,0),y:Math.max(f,0),width:Math.max(E,0),height:Math.max(A,0),value:v,datasetIndex:i,pointIndex:u})}))})),p}),[t.stacked,t.groupPadding,t.barPadding,t.minBarHeight,t.maxBarWidth]),u=d((()=>{if(!t.enableAnimations)return;s(!0),o(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);o(r),i<1?requestAnimationFrame(n):s(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),h=d(((e,t,a,i)=>{n({datasetIndex:e,pointIndex:t,x:a,y:i})}),[]),m=d((()=>{n(null)}),[]),p=d((e=>t.useGradients?e.map(((e,t)=>{const a=e.color||`var(--atomix-color-${t+1})`;return{id:`bar-gradient-${t}`,stops:[{offset:"0%",color:a,opacity:.8},{offset:"100%",color:a,opacity:.4}]}})):[]),[t.useGradients]),g=d((e=>t.valueFormatter?t.valueFormatter(e):e.toString()),[t.valueFormatter]),v=d((function(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{x:n,y:i,width:r,height:o}=e;switch(t.dataLabelPosition){case"inside":case"center":default:return{x:n+r/2,y:i+o/2};case"outside":return{x:a?n+r+5:n+r/2,y:a?i+o/2:i-5}}}),[t.dataLabelPosition]);return{hoveredBar:a,animationProgress:r,isAnimating:l,calculateBarDimensions:c,generateGradients:p,getDataLabelPosition:v,handleBarHover:h,handleBarLeave:m,startAnimation:u,formatValue:g,setHoveredBar:n,setAnimationProgress:o,setIsAnimating:s}}Dr.displayName="AreaChart";const Br=p(l(((a,n)=>{var i,r,o;let{datasets:l=[],config:s={},barOptions:c={},horizontal:u=!1,onDataPointClick:h,...m}=a;const{calculateBarDimensions:p,handleBarHover:g,handleBarLeave:v,hoveredBar:S,formatValue:f}=kr(l,c),E=d((a=>{let{scales:n,colors:i,datasets:r,handlers:o}=a;if(!r.length)return null;return p(r,n.width,n.height,n.padding,u).map(((a,n)=>{var l;const s=r[a.datasetIndex],d=null===(l=s.data)||void 0===l?void 0:l[a.pointIndex],u=s.color||i[a.datasetIndex],h=(null==S?void 0:S.datasetIndex)===a.datasetIndex&&(null==S?void 0:S.pointIndex)===a.pointIndex;return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:u,rx:c.cornerRadius||4,className:"c-chart__bar "+(h?"c-chart__bar--hovered":""),onClick:()=>{var e;return d&&(null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,d,a.datasetIndex,a.pointIndex))},onMouseMove:e=>{var t;const n=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),i=n?n.left+a.x+a.width/2:e.clientX,r=e.clientY;g(a.datasetIndex,a.pointIndex,i,r)},onMouseLeave:v}),c.showValues&&e("text",{x:a.x+a.width/2,y:a.y-5,textAnchor:"middle",className:"c-chart__bar-value-label",children:f(a.value)})]},`bar-${n}`)}))}),[p,u,c,S,g,v,f]);return t(yr,{ref:n,type:u?"horizontal-bar":"bar",datasets:l,config:s,...m,children:[e(Rr,{datasets:l,config:s,onDataPointClick:h,renderContent:E}),S&&e(Or,{dataPoint:(null===(i=l[S.datasetIndex])||void 0===i||null===(i=i.data)||void 0===i?void 0:i[S.pointIndex])||{label:"",value:0},datasetLabel:null===(r=l[S.datasetIndex])||void 0===r?void 0:r.label,datasetColor:null===(o=l[S.datasetIndex])||void 0===o?void 0:o.color,position:{x:S.x,y:S.y},visible:!0})]})})));Br.displayName="BarChart";const Pr=p(l(((a,n)=>{var r,o,l,s,c,u;let{bubbleData:h=[],config:m={},bubbleOptions:p={},onDataPointClick:g,...v}=a;const{minBubbleSize:S=5,maxBubbleSize:f=50,bubbleOpacity:E=.7,showLabels:A=!0,labelPosition:b="center",enableAnimations:N=!0,animationDuration:_=1e3,showSizeLegend:C=!0,sizeLegendTitle:T="Size",colorScheme:L=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],sizeBasedColoring:y=!1}=p,[x,I]=i(null),w=d((a=>{let{scales:n,colors:i,handlers:r}=a;if(!h.length)return null;const o=h.map((e=>e.x)),l=h.map((e=>e.y)),s=h.map((e=>e.size)),c=Math.min(...o),d=Math.max(...o),u=Math.min(...l),m=Math.max(...l),p=Math.min(...s),g=Math.max(...s),v=60,_=n.width-120,x=n.height-120,w=e=>v+(e-c)/(d-c)*_,R=e=>v+x-(e-u)/(m-u)*x,O=e=>S+(e-p)/(g-p)*(f-S),M=h.map(((t,a)=>{const n=w(t.x),i=R(t.y),o=O(t.size);let l=t.color;if(!l)if(y){const e=Math.floor((t.size-p)/(g-p)*(L.length-1));l=L[e]}else l=L[a%L.length];const s=[];if(s.push(e("circle",{cx:n,cy:i,r:o,fill:l,className:"c-chart__bubble "+(N?"c-chart__bubble--animated":""),style:{opacity:E},onClick:()=>{var e;return null===(e=r.onDataPointClick)||void 0===e?void 0:e.call(r,t,0,a)},onMouseEnter:e=>{var t;const r=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),o=r?r.left+n:e.clientX,l=r?r.top+i:e.clientY;I({index:a,clientX:o,clientY:l})},onMouseLeave:()=>I(null)},`bubble-${a}`)),A){let r=n,l=i,c="middle",d="middle";switch(b){case"top":l=i-o-5,d="auto";break;case"bottom":l=i+o+15,d="hanging";break;case"left":r=n-o-5,c="end";break;case"right":r=n+o+5,c="start"}s.push(e("text",{x:r,y:l,textAnchor:c,dominantBaseline:d,className:"c-chart__bubble-label "+("center"===b?"c-chart__bubble-label--center":""),children:t.label},`label-${a}`))}return e("g",{children:s},`bubble-group-${a}`)})),D=[];D.push(e("line",{x1:v,y1:n.height-v,x2:n.width-v,y2:n.height-v,className:"c-chart__axis-line c-chart__axis-line--x"},"x-axis")),D.push(e("line",{x1:v,y1:v,x2:v,y2:n.height-v,className:"c-chart__axis-line c-chart__axis-line--y"},"y-axis"));for(let a=0;a<=5;a++){const i=c+a/5*(d-c),r=w(i);D.push(t("g",{children:[e("line",{x1:r,y1:n.height-v,x2:r,y2:n.height-v+5,className:"c-chart__tick-line"}),e("text",{x:r,y:n.height-v+20,textAnchor:"middle",className:"c-chart__tick-label",children:i.toFixed(1)})]},`x-tick-${a}`))}for(let a=0;a<=5;a++){const n=u+a/5*(m-u),i=R(n);D.push(t("g",{children:[e("line",{x1:55,y1:i,x2:v,y2:i,className:"c-chart__tick-line"}),e("text",{x:50,y:i,textAnchor:"end",dominantBaseline:"middle",className:"c-chart__tick-label",children:n.toFixed(1)})]},`y-tick-${a}`))}const k=[];if(C){const a=n.width-120,i=30;k.push(t("g",{children:[e("text",{x:a,y:i,fontSize:"12",fontWeight:"bold",fill:"var(--atomix-gray-8)",children:T}),[p,(p+g)/2,g].map(((n,r)=>{const o=O(n),l=i+20+30*r;return t("g",{children:[e("circle",{cx:a+15,cy:l,r:o/2,fill:"var(--atomix-gray-5)",opacity:"0.7"}),e("text",{x:a+35,y:l,dominantBaseline:"middle",fontSize:"10",fill:"var(--atomix-gray-6)",children:n.toFixed(0)})]},`legend-${r}`)}))]},"size-legend"))}return t("g",{children:[D,M,k]})}),[h,S,f,E,A,b,N,_,C,T,L,y]),R=[{label:"Bubble Data",data:h.map((e=>({label:e.label,value:e.size,x:e.x,y:e.y})))}];return t(yr,{ref:n,type:"bubble",datasets:R,config:m,...v,children:[e(Rr,{datasets:R,config:m,onDataPointClick:g,renderContent:w}),x&&h[x.index]&&e(Or,{dataPoint:{label:(null===(r=h[x.index])||void 0===r?void 0:r.label)||"",value:(null===(o=h[x.index])||void 0===o?void 0:o.size)||0,metadata:{x:null===(l=h[x.index])||void 0===l?void 0:l.x,y:null===(s=h[x.index])||void 0===s?void 0:s.y,...null===(c=h[x.index])||void 0===c?void 0:c.metadata}},datasetLabel:"Bubble Data",datasetColor:null===(u=h[x.index])||void 0===u?void 0:u.color,position:{x:x.clientX,y:x.clientY},visible:!0})]})})));Pr.displayName="BubbleChart";const zr=p(l(((n,r)=>{let{candlestickData:o=[],config:l={},candlestickOptions:s={bullishColor:"#4DFF9F",bearishColor:"#FF6B6B",candleWidth:.8,showVolume:!1,volumeHeightRatio:.3,showMovingAverages:!1,movingAveragePeriods:[20,50],movingAverageColors:["#FFD93D","#6BCF7F"],showTrendLines:!1,enableCrosshair:!0,showOHLCTooltip:!0,dateFormat:"short",pricePrecision:2,enableZoomPan:!1},onDataPointClick:u,...h}=n;const[m,p]=i(null),[g,v]=i(null),[S,f]=i({scale:1,translateX:0,translateY:0}),E=d(((e,t)=>{const a=[];for(let i=0;i<e.length;i++)if(i<t-1)a.push(NaN);else{var n;const r=Cr(n=e.slice(i-t+1,i+1)).call(n,((e,t)=>e+t.close),0);a.push(r/t)}return a}),[]),A=d((e=>{const t="string"==typeof e?new Date(e):e;switch(s.dateFormat){case"short":default:return t.toLocaleDateString("en-US",{month:"short",day:"numeric"});case"medium":return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"2-digit"});case"long":return t.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"});case"numeric":return t.toLocaleDateString("en-US")}}),[s.dateFormat]),b=c((()=>{var n,i,r,c;if(!o.length)return null;const d=800,h=s.showVolume?500:400,f=40,b=70,N=60,_=70,C=s.showVolume?h*(1-s.volumeHeightRatio):h-f-N,T=s.showVolume?h*s.volumeHeightRatio:0,L=d-_-b,y=o.flatMap((e=>[e.open,e.high,e.low,e.close])),x=(null===(n=l.yAxis)||void 0===n?void 0:n.min)??Math.min(...y),I=(null===(i=l.yAxis)||void 0===i?void 0:i.max)??Math.max(...y),w=I!==x?I-x:1,R=o.filter((e=>e.volume)),O=s.showVolume&&R.length>0?Math.max(...R.map((e=>e.volume))):0,M=O>0?O:1,D=e=>{const t=o.length>1?o.length-1:1;return(_+e/t*L)*S.scale+S.translateX},k=e=>(f+C-(e-x)/w*C)*S.scale+S.translateY,B=e=>C+f+10+(M-e)/M*(T-20),P=Math.max(o.length,1),z=L/P*(s.candleWidth||.8),F=[];s.showVolume&&R.length>0&&(o.forEach(((t,a)=>{if(!t.volume)return;const n=D(a),i=t.close>=t.open?s.bullishColor:s.bearishColor,r=isNaN(n)?0:n,o=isNaN(z/4)?0:z/4,l=B(t.volume),c=C+f+10+T-20-l;F.push(e("rect",{x:r-o,y:isNaN(l)?0:l,width:isNaN(z/2)?0:z/2,height:isNaN(c)?0:c,fill:i,opacity:.3},`volume-${a}`))})),F.push(e("line",{x1:_,y1:C+f+5,x2:d-b,y2:C+f+5,stroke:"#e5e7eb",strokeWidth:1},"volume-separator"))),o.forEach(((a,n)=>{const i=D(n),r=k(a.open),o=k(a.high),l=k(a.low),c=k(a.close),d=a.close>=a.open,h=d?s.bullishColor:s.bearishColor,g=Math.min(r,c),v=Math.abs(c-r),S=(null==m?void 0:m.index)===n,f=isNaN(i)?0:i,E=isNaN(z/2)?0:z/2,A=isNaN(g)?0:g,b=isNaN(v)||0===v?1:Math.abs(v);F.push(t("g",{children:[e("line",{x1:isNaN(f)?0:f,y1:isNaN(o)?0:o,x2:isNaN(f)?0:f,y2:isNaN(l)?0:l,stroke:h,className:"c-chart__wick "+(S?"c-chart__wick--hovered":"")}),e("rect",{x:f-E,y:A,width:isNaN(z)?0:z,height:b,fill:h,stroke:h,className:"c-chart__candlestick "+(d?"c-chart__candlestick--bullish":"c-chart__candlestick--bearish"),onMouseEnter:e=>{var t;const i=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),r=i?i.left+f:e.clientX,o=i?i.top+A:e.clientY;p({index:n,x:r,y:o,data:a})},onMouseLeave:()=>p(null),onClick:()=>null==u?void 0:u(a,0,n)}),S&&e("rect",{x:f-E-2,y:A-2,width:isNaN(z+4)?0:z+4,height:isNaN(b+4)?5:Math.max(b+4,5),fill:"none",stroke:h,className:"c-chart__candlestick-highlight"})]},`candle-${n}`))})),s.showMovingAverages&&s.movingAveragePeriods&&s.movingAveragePeriods.forEach(((t,a)=>{var n;const i=E(o,t),r=(null===(n=s.movingAverageColors)||void 0===n?void 0:n[a])||"#FFD93D",l=i.map(((e,t)=>{if(isNaN(e))return"";const a=D(t),n=k(e);if(0===t)return`M ${isNaN(a)?0:a},${isNaN(n)?0:n}`;const r=i[t-1];return void 0!==r&&isNaN(r)?`M ${isNaN(a)?0:a},${isNaN(n)?0:n}`:`L ${isNaN(a)?0:a},${isNaN(n)?0:n}`})).join(" ");F.push(e("path",{d:l,stroke:r,fill:"none",className:"c-chart__moving-average"},`ma-${t}`))})),g&&s.enableCrosshair&&F.push(t("g",{className:"c-chart__crosshair",children:[e("line",{x1:isNaN(g.x)?0:g.x,y1:f,x2:isNaN(g.x)?0:g.x,y2:C+f,className:"c-chart__crosshair-line c-chart__crosshair-line--vertical"}),e("line",{x1:_,y1:isNaN(g.y)?0:g.y,x2:d-b,y2:isNaN(g.y)?0:g.y,className:"c-chart__crosshair-line c-chart__crosshair-line--horizontal"})]},"crosshair"));const U=t("g",{className:pe.GRID_CLASS,children:[(null===(r=l.yAxis)||void 0===r?void 0:r.showGrid)&&Array.from({length:6}).map(((t,a)=>{const n=k(x+w*a/5);return e("line",{x1:_,y1:isNaN(n)?0:n,x2:d-b,y2:isNaN(n)?0:n,stroke:"#e5e7eb",strokeWidth:1,strokeDasharray:"2,2",opacity:.2},`price-grid-${a}`)})),(null===(c=l.xAxis)||void 0===c?void 0:c.showGrid)&&o.map(((t,a)=>{if(a%Math.ceil(o.length/10)!=0)return null;const n=D(a);return e("line",{x1:isNaN(n)?0:n,y1:f,x2:isNaN(n)?0:n,y2:C+f,stroke:"#e5e7eb",strokeWidth:1,strokeDasharray:"2,2",opacity:.2},`time-grid-${a}`)}))]}),G=t(a,{children:[t("g",{className:`${pe.AXIS_CLASS} ${pe.AXIS_CLASS}--y`,children:[e("line",{x1:_,y1:f,x2:_,y2:C+f,stroke:"#e5e7eb",strokeWidth:1}),Array.from({length:6}).map(((a,n)=>{const i=x+w*n/5,r=k(i);return t("g",{children:[e("line",{x1:_-5,y1:isNaN(r)?0:r,x2:_,y2:isNaN(r)?0:r,stroke:"#e5e7eb",strokeWidth:1}),t("text",{x:_-10,y:isNaN(r)?0:r,textAnchor:"end",dominantBaseline:"middle",fontSize:"12",fill:"#374151",children:["$",i.toFixed(s.pricePrecision)]})]},`price-axis-${n}`)}))]}),t("g",{className:`${pe.AXIS_CLASS} ${pe.AXIS_CLASS}--x`,children:[e("line",{x1:_,y1:C+f,x2:d-b,y2:C+f,stroke:"#e5e7eb",strokeWidth:1}),o.map(((a,n)=>{if(n%Math.ceil(o.length/8)!=0)return null;const i=D(n);return t("g",{children:[e("line",{x1:isNaN(i)?0:i,y1:C+f,x2:isNaN(i)?0:i,y2:C+f+5,stroke:"#e5e7eb",strokeWidth:1}),e("text",{x:isNaN(i)?0:i,y:C+f+20,textAnchor:"middle",fontSize:"12",fill:"#374151",children:A(a.date)})]},`time-axis-${n}`)}))]}),s.showVolume&&R.length>0&&t("g",{className:`${pe.AXIS_CLASS} ${pe.AXIS_CLASS}--volume`,children:[e("line",{x1:d-b,y1:C+f+10,x2:d-b,y2:h-N,stroke:"#e5e7eb",strokeWidth:1}),Array.from({length:3}).map(((a,n)=>{const i=M*(n+1)/3,r=B(i);return t("g",{children:[e("line",{x1:d-b,y1:isNaN(r)?0:r,x2:d-b+5,y2:isNaN(r)?0:r,stroke:"#e5e7eb",strokeWidth:1}),e("text",{x:d-b+10,y:isNaN(r)?0:r,textAnchor:"start",dominantBaseline:"middle",fontSize:"10",fill:"#374151",children:i>1e6?`${(i/1e6).toFixed(1)}M`:i>1e3?`${(i/1e3).toFixed(0)}K`:`${Math.round(i)}`})]},`volume-axis-${n}`)}))]})]});return t("svg",{width:"100%",height:"100%",viewBox:`0 0 800 ${h}`,preserveAspectRatio:"xMidYMid meet",onMouseMove:e=>{if(!s.enableCrosshair)return;const t=e.currentTarget.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top;v({x:a,y:n})},onMouseLeave:()=>v(null),style:{cursor:"crosshair"},children:[U,G,F]})}),[o,l,s,m,g,S,E,A,u]),N=d((a=>{if(!m)return null;const{data:n}=m,i=n.close>=n.open,r=n.close-n.open,o=r/n.open*100;return t("div",{children:[e("div",{style:{fontWeight:"bold",marginBottom:"0.5rem"},children:A(n.date)}),t("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"0.25rem",fontSize:"0.75rem"},children:[t("div",{children:["Open: ",t("strong",{children:["$",n.open.toFixed(s.pricePrecision)]})]}),t("div",{children:["High: ",t("strong",{children:["$",n.high.toFixed(s.pricePrecision)]})]}),t("div",{children:["Low: ",t("strong",{children:["$",n.low.toFixed(s.pricePrecision)]})]}),t("div",{children:["Close: ",t("strong",{children:["$",n.close.toFixed(s.pricePrecision)]})]})]}),t("div",{style:{marginTop:"0.5rem",paddingTop:"0.5rem",borderTop:"1px solid var(--atomix-gray-3)",color:i?s.bullishColor:s.bearishColor,fontWeight:"bold"},children:[i?"+":"",r.toFixed(s.pricePrecision)," (",o.toFixed(2),"%)"]}),n.volume&&t("div",{style:{marginTop:"0.25rem",fontSize:"0.75rem"},children:["Volume: ",n.volume.toLocaleString()]})]})}),[s,m,A]);return t(yr,{ref:r,type:"candlestick",datasets:[],config:l,...h,children:[b,s.showOHLCTooltip&&m&&e(Or,{dataPoint:{label:A(m.data.date),value:m.data.close,metadata:{open:m.data.open,high:m.data.high,low:m.data.low,close:m.data.close,volume:m.data.volume}},datasetLabel:"OHLC",position:{x:m.x,y:m.y},visible:!0,customRenderer:N}),s.showMovingAverages&&s.movingAveragePeriods&&e("div",{className:pe.LEGEND_CLASS,style:{display:"flex",gap:"0.75rem",marginTop:"0.5rem",fontSize:"0.875rem"},children:s.movingAveragePeriods.map(((a,n)=>{var i;return t("div",{style:{display:"flex",alignItems:"center"},children:[e("div",{className:pe.LEGEND_COLOR_CLASS,style:{width:"12px",height:"2px",backgroundColor:(null===(i=s.movingAverageColors)||void 0===i?void 0:i[n])||"#FFD93D",marginRight:"0.25rem"}}),t("span",{className:pe.LEGEND_LABEL_CLASS,children:["MA",a]})]},a)}))})]})})));zr.displayName="CandlestickChart";const Fr=p(l(((a,n)=>{var r;let{datasets:o=[],config:l={},pieOptions:s={showValues:!1,showPercentages:!0,showLabels:!1,startAngle:0,sortByValue:!1,padAngle:1},donutOptions:d={innerRadiusRatio:.6,showTotal:!0,centerLabel:"Total",centerValue:void 0,roundedCorners:!0},onDataPointClick:u,...h}=a;const m=o.length>0?o[0]:{label:"",data:[]},[p,g]=i(null),v=c((()=>{var a,n;if(null==m||null===(a=m.data)||void 0===a||!a.length)return null;const i=null==m||null===(n=m.data)||void 0===n?void 0:n.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));if(!i.length)return null;const r=Math.min(800,400)/2*.8,o=r*(d.innerRadiusRatio??.6),l=400,c=200,h=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"];let p=[...i];s.sortByValue&&p.sort(((e,t)=>t.value-e.value));const v=Cr(p).call(p,((e,t)=>e+t.value),0);if(v<=0||!isFinite(v))return null;const S=[];let f=(s.startAngle??0)*Math.PI/180;p.forEach(((e,t)=>{const a=e.value/v;if(!isFinite(a)||a<0)return;const n=2*a*Math.PI-(s.padAngle??1)*Math.PI/180;if(!isFinite(n)||n<0)return;const i=f+n;isFinite(f)&&isFinite(i)&&(S.push({dataPoint:e,index:t,startAngle:f,endAngle:i,color:e.color||h[t%h.length],percentage:a}),f=i+(s.padAngle??1)*Math.PI/180)}));const E=S.map((a=>{const{startAngle:n,endAngle:i,color:d,dataPoint:h,index:m,percentage:p}=a,v=l+r*Math.cos(n),S=c+r*Math.sin(n),f=l+r*Math.cos(i),E=c+r*Math.sin(i),A=l+o*Math.cos(i),b=c+o*Math.sin(i),N=l+o*Math.cos(n),_=c+o*Math.sin(n),C=i-n>Math.PI?1:0,T=[`M ${v},${S}`,`A ${r},${r} 0 ${C},1 ${f},${E}`,`L ${A},${b}`,`A ${o},${o} 0 ${C},0 ${N},${_}`,"Z"].join(" "),L=n+(i-n)/2,y=(r+o)/2,x=l+y*Math.cos(L),I=c+y*Math.sin(L),w=`${Math.round(100*p)}%`;return t("g",{children:[e("path",{d:T,fill:d,className:"c-chart__donut-slice",onClick:()=>null==u?void 0:u(h,0,m),onMouseEnter:e=>{var t;const a=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),n=a?a.left+x:e.clientX,i=a?a.top+I:e.clientY;g({index:m,clientX:n,clientY:i})},onMouseLeave:()=>g(null),"data-tooltip":`${h.label}: ${h.value} (${w})`}),s.showValues&&e("text",{x:x,y:I,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-label",children:s.showPercentages?w:h.value})]},`slice-${m}`)})),A=d.showTotal&&t("g",{className:"c-chart__donut-center",children:[e("circle",{cx:l,cy:c,r:o,className:"c-chart__donut-center-bg"}),d.centerLabel&&e("text",{x:l,y:185,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-label",children:d.centerLabel}),e("text",{x:l,y:c+(d.centerLabel?15:0),textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-value",children:void 0!==d.centerValue?d.centerValue:v})]});return e("svg",{width:"100%",height:"100%",viewBox:"0 0 800 400",preserveAspectRatio:"xMidYMid meet",children:t("g",{children:[E,A]})})}),[m,s,d,u]),S=c((()=>{var a,n;if(!l.showLegend||null==m||null===(a=m.data)||void 0===a||!a.length)return null;const i=null==m||null===(n=m.data)||void 0===n?void 0:n.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));if(!i.length)return null;const r=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"],o=Cr(i).call(i,((e,t)=>e+t.value),0);return o<=0||!isFinite(o)?null:e("div",{className:pe.LEGEND_CLASS,children:i.map(((a,n)=>{const i=Math.round(a.value/o*100);return isFinite(i)?t("div",{className:pe.LEGEND_ITEM_CLASS,onClick:()=>null==u?void 0:u(a,0,n),children:[e("div",{className:`${pe.LEGEND_COLOR_CLASS} c-chart__legend-color`,style:{backgroundColor:a.color||r[n%r.length]}}),t("span",{className:pe.LEGEND_LABEL_CLASS,children:[a.label," ",s.showPercentages&&`(${i}%)`]})]},`legend-${n}`):null}))})}),[m,l.showLegend,s.showPercentages,u]);return t(yr,{ref:n,type:"donut",datasets:o,config:l,...h,children:[t("div",{className:pe.CANVAS_CLASS,children:[v,p&&(null==m||null===(r=m.data)||void 0===r?void 0:r[p.index])&&e(Or,{dataPoint:m.data[p.index],datasetLabel:m.label,datasetColor:m.data[p.index].color,position:{x:p.clientX,y:p.clientY},visible:!0})]}),S]})})));Fr.displayName="DonutChart";const Ur=p(l(((a,n)=>{let{funnelData:i=[],config:r={},funnelOptions:o={},onDataPointClick:l,...s}=a;const{direction:c="vertical",showLabels:u=!0,showValues:h=!0,showPercentages:m=!1,labelPosition:p="outside",neckWidth:g=.3,neckHeight:v=.2,segmentGap:S=2,colorScheme:f=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],useGradient:E=!0,animate:A=!0,animationDuration:b=1e3,animationDelay:N=200,valueFormatter:_=e=>e.toLocaleString(),showConversionRates:C=!0,conversionRatePosition:T="between",proportional:L=!0,minSegmentRatio:y=.1}=o,x=d((a=>{let{scales:n,colors:r,handlers:o}=a;if(!i.length)return null;const l=60,s=n.width-120,d=n.height-120,b=Math.max(...i.map((e=>e.value))),x=i.map(((e,t)=>{const a=e.value/b*100,n=t>0&&i[t-1]?e.value/i[t-1].value*100:100;return{...e,percentage:a,conversionRate:n,index:t}})),I=[];if("vertical"===c){const a=(d-(i.length-1)*S)/i.length;x.forEach(((n,r)=>{const c=l+r*(a+S);let d;if(L){const e=Math.max(n.percentage/100,y);d=s*e}else{const e=Math.max(1-r/(i.length-1)*(1-g),y);d=s*e}const v=l+(s-d)/2;let b,w=n.color||f[r%f.length];if(E){const a=`funnel-gradient-${r}`;I.push(e("defs",{children:t("linearGradient",{id:a,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[e("stop",{offset:"0%",stopColor:w,stopOpacity:"0.8"}),e("stop",{offset:"100%",stopColor:w,stopOpacity:"1"})]})},`gradient-def-${r}`)),w=`url(#${a})`}if(r===i.length-1)b=`M ${v} ${c} L ${v+d} ${c} L ${v+d} ${c+a} L ${v} ${c+a} Z`;else{const e=x[r+1];let t;if(L&&e){const a=Math.max(e.percentage/100,y);t=s*a}else{const e=Math.max(1-(r+1)/(i.length-1)*(1-g),y);t=s*e}const n=l+(s-t)/2;b=`M ${v} ${c} L ${v+d} ${c} L ${n+t} ${c+a} L ${n} ${c+a} Z`}if(I.push(e("path",{d:b,fill:w,className:"c-chart__funnel-segment "+(A?"c-chart__funnel-segment--animated":""),style:{animationDelay:A?r*N+"ms":"0ms"},onClick:()=>{var e;return null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,n,0,r)}},`segment-${r}`)),u||h||m){const t=l+s/2,i=c+a/2;let o=t,d=t;"outside"===p&&(o=l+s+10,d=l+s+10);let g=[];if(u&&g.push(e("text",{x:o,y:i-5,textAnchor:"outside"===p?"start":"middle",dominantBaseline:"middle",className:"c-chart__funnel-label "+("inside"===p?"c-chart__funnel-label--inside":"c-chart__funnel-label--outside"),children:n.label},`label-${r}`)),h||m){let t="";t=h&&m?`${_(n.value)} (${n.percentage.toFixed(1)}%)`:h?_(n.value):`${n.percentage.toFixed(1)}%`,g.push(e("text",{x:d,y:i+(u?10:0),textAnchor:"outside"===p?"start":"middle",dominantBaseline:"middle",className:"c-chart__funnel-value "+("inside"===p?"c-chart__funnel-value--inside":"c-chart__funnel-value--outside"),children:t},`value-${r}`))}I.push(...g)}if(C&&r>0){const e="between"===T?c-S/2:c+a/2;I.push(t("text",{x:l+s/2,y:e,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__funnel-conversion",children:[n.conversionRate.toFixed(1),"%"]},`conversion-${r}`))}}))}else i.length,i.length,x.forEach(((e,t)=>{L?Math.max(e.percentage/100,y):Math.max(1-t/(i.length-1)*(1-v),y)}));return e("g",{children:I})}),[i,c,u,h,m,p,g,v,S,f,E,A,b,N,_,C,T,L,y]),I=[{label:"Funnel Data",data:i.map((e=>({label:e.label,value:e.value})))}];return e(yr,{ref:n,type:"funnel",datasets:I,config:r,...s,children:e(Rr,{datasets:I,config:r,onDataPointClick:l,renderContent:x})})})));Ur.displayName="FunnelChart";const Gr=p(l(((a,n)=>{let{value:r,min:l=0,max:s=100,config:c={},gaugeOptions:u={},...h}=a;const{startAngle:m=225,endAngle:p=315,thickness:g=.3,showNeedle:v=!0,needleColor:S="var(--atomix-gray-8)",showValue:f=!0,valueFormatter:E=e=>e.toFixed(0),showMinMaxLabels:A=!0,showTicks:b=!0,majorTicks:N=5,minorTicks:_=4,colorZones:C=[{from:0,to:30,color:"var(--atomix-success)",label:"Good"},{from:30,to:70,color:"var(--atomix-warning)",label:"Warning"},{from:70,to:100,color:"var(--atomix-error)",label:"Critical"}],animate:T=!0,animationDuration:L=1e3,animationEasing:y="ease-out",useGradient:x=!0,label:I,labelPosition:w="bottom"}=u,[R,O]=i(T?l:r),[M,D]=i(null);o((()=>{if(T){const e=Date.now(),t=R,a=Math.max(l,Math.min(s,r))-t,n=()=>{const i=Date.now()-e,r=Math.min(i/L,1);let o=r;"ease-out"===y?o=1-Math.pow(1-r,3):"ease-in"===y?o=Math.pow(r,3):"ease-in-out"===y&&(o=r<.5?4*Math.pow(r,3):1-Math.pow(-2*r+2,3)/2);O(t+a*o),r<1&&requestAnimationFrame(n)};requestAnimationFrame(n)}else O(r)}),[r,l,s,T,L,y,R]);const k=d((a=>{let{scales:n,colors:i,handlers:r}=a;const o=n.width/2,c=n.height/2,d=.8*Math.min(o,c),u=d*(1-g),h=m*Math.PI/180,T=p*Math.PI/180,L=h+(T-h)*((R-l)/(s-l)),y=[],O=B(o,c,d,u,m,p);if(y.push(e("path",{d:O,className:"c-chart__gauge-background"},"background")),C.forEach(((a,n)=>{const i=m+(a.from-l)/(s-l)*(p-m),r=m+(a.to-l)/(s-l)*(p-m),h=B(o,c,d,u,i,r);let g=a.color;if(x){const i=`gauge-gradient-${n}`;y.push(e("defs",{children:t("linearGradient",{id:i,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[e("stop",{offset:"0%",stopColor:a.color,stopOpacity:"0.8"}),e("stop",{offset:"100%",stopColor:a.color,stopOpacity:"1"})]})},`gradient-def-${n}`)),g=`url(#${i})`}y.push(e("path",{d:h,fill:g,className:"c-chart__gauge-zone"},`zone-${n}`))})),b)for(let t=0;t<=N;t++){const a=m+t/N*(p-m),n=a*Math.PI/180,i={x:o+Math.cos(n)*(d-10),y:c+Math.sin(n)*(d-10)},r={x:o+Math.cos(n)*d,y:c+Math.sin(n)*d};y.push(e("line",{x1:i.x,y1:i.y,x2:r.x,y2:r.y,className:"c-chart__gauge-tick c-chart__gauge-tick--major"},`major-tick-${t}`));const u=l+t/N*(s-l),h=d+15,g=o+Math.cos(n)*h,v=c+Math.sin(n)*h;if(y.push(e("text",{x:g,y:v,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-tick-label",children:u.toFixed(0)},`tick-label-${t}`)),t<N)for(let n=1;n<=_;n++){const i=(a+n/(_+1)*((p-m)/N))*Math.PI/180,r={x:o+Math.cos(i)*(d-5),y:c+Math.sin(i)*(d-5)},l={x:o+Math.cos(i)*d,y:c+Math.sin(i)*d};y.push(e("line",{x1:r.x,y1:r.y,x2:l.x,y2:l.y,className:"c-chart__gauge-tick c-chart__gauge-tick--minor"},`minor-tick-${t}-${n}`))}}if(A){const t=d+30,a=d+30,n=o+Math.cos(h)*t,i=c+Math.sin(h)*t,r=o+Math.cos(T)*a,u=c+Math.sin(T)*a;y.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-min-max-label",children:l},"min-label")),y.push(e("text",{x:r,y:u,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-min-max-label",children:s},"max-label"))}if(v){const a=.8*d,n=o+Math.cos(L)*a,i=c+Math.sin(L)*a;y.push(t("g",{className:"c-chart__gauge-needle",children:[e("line",{x1:o,y1:c,x2:n,y2:i,stroke:S,className:"c-chart__gauge-needle-line"}),e("circle",{cx:o,cy:c,r:"6",fill:S,className:"c-chart__gauge-needle-center",onMouseEnter:e=>{var t;const a=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),n=a?a.left+o:e.clientX,i=a?a.top+c:e.clientY;D({clientX:n,clientY:i})},onMouseLeave:()=>D(null)})]},"needle"))}if(f){let t=c;"top"===w&&(t=c-20),"bottom"===w&&(t=c+20),y.push(e("text",{x:o,y:t,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-value",children:E(R)},"value-text"))}if(I){let t=c+40;"top"===w&&(t=c-40),"center"===w&&(t=c+10),y.push(e("text",{x:o,y:t,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-label",children:I},"custom-label"))}return e("g",{children:y})}),[R,l,s,m,p,g,v,S,f,E,A,b,N,_,C,x,I,w]),B=(e,t,a,n,i,r)=>{const o=P(e,t,a,r),l=P(e,t,a,i),s=P(e,t,n,r),c=P(e,t,n,i),d=r-i<=180?"0":"1";return["M",o.x,o.y,"A",a,a,0,d,0,l.x,l.y,"L",c.x,c.y,"A",n,n,0,d,1,s.x,s.y,"Z"].join(" ")},P=(e,t,a,n)=>{const i=n*Math.PI/180;return{x:e+a*Math.cos(i),y:t+a*Math.sin(i)}},z=[{label:"Gauge Value",data:[{label:"Current",value:R}]}];return t(yr,{ref:n,type:"gauge",datasets:z,config:c,...h,children:[e(Rr,{datasets:z,config:c,renderContent:k}),M&&e(Or,{dataPoint:{label:I||"Current Value",value:R,metadata:{min:l,max:s,percentage:((R-l)/(s-l)*100).toFixed(1)+"%"}},datasetLabel:"Gauge",position:{x:M.clientX,y:M.clientY},visible:!0})]})})));Gr.displayName="GaugeChart";const Vr=p(l(((a,n)=>{let{data:r=[],colorScale:o={scheme:"github",steps:5},cellConfig:l={width:12,height:12,borderRadius:2,spacing:2,showBorders:!1},showValues:s=!1,valueFormatter:u=e=>e.toFixed(0),showColorLegend:h=!0,tooltipConfig:m={enabled:!0},variant:p="grid",animationConfig:g={enabled:!0,duration:800,delay:50,easing:"ease-out"},config:v={},...S}=a;const[f,E]=i(null),[A,b]=i({x:0,y:0}),N=c((()=>{if(!r.length)return{matrix:[],xLabels:[],yLabels:[],minValue:0,maxValue:1};const e=[...new Set(r.map((e=>e.x)))].sort(),t=[...new Set(r.map((e=>e.y)))].sort(),a=r.map((e=>e.value)),n=o.min??Math.min(...a),i=o.max??Math.max(...a),l=t.map((()=>new Array(e.length).fill(null)));return r.forEach((a=>{const n=e.indexOf(a.x),i=t.indexOf(a.y);n>=0&&i>=0&&l[i]&&(l[i][n]=a)})),{matrix:l,xLabels:e,yLabels:t,minValue:n,maxValue:i}}),[r,o.min,o.max]),_={viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],plasma:["#0d0887","#5302a3","#8b0aa5","#b83289","#db5c68","#f48849","#febd2a","#f0f921"],inferno:["#000004","#1b0c41","#4a0c6b","#781c6d","#a52c60","#cf4446","#ed6925","#fb9b06","#fcffa4"],magma:["#000004","#1c1044","#4f127b","#812581","#b5367a","#e55964","#fb8761","#fec287","#fcfdbf"],blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],github:["#ebedf0","#9be9a8","#40c463","#30a14e","#216e39"],custom:o.colors||["#ffffff","#000000"]},C=d((e=>{const{minValue:t,maxValue:a}=N,n=a-t;if(0===n)return _[o.scheme][0];const i=(e-t)/n,r=_[o.scheme],l=o.steps||r.length,s=Math.min(Math.floor(i*l),l-1);return r[Math.floor(s/l*(r.length-1))]}),[N,o.scheme,o.steps,_]),T=d(((e,t)=>{E(e),t&&e&&(t.currentTarget.getBoundingClientRect(),b({x:t.clientX,y:t.clientY}))}),[]),L=d((a=>{const{matrix:n,xLabels:i,yLabels:r}=N;if(!n.length)return null;const c=l.width||40,d=l.height||40,m=l.spacing||2,v=l.borderRadius||4,S=i.length*(c+m)-m;r.length;const E=100;return t("g",{children:[e("defs",{children:h&&e("linearGradient",{id:"heatmap-legend-gradient",x1:"0%",y1:"100%",x2:"0%",y2:"0%",children:_[o.scheme].map(((t,a)=>e("stop",{offset:a/(_[o.scheme].length-1)*100+"%",stopColor:t},a)))})}),i.map(((t,a)=>("calendar"===p?a%4==0:a%Math.max(1,Math.floor(i.length/12))==0)?e("text",{x:E+a*(c+m)+c/2,y:42,textAnchor:"middle",className:"c-chart__heatmap-axis-label",fontSize:"11",fill:"var(--atomix-gray-7)",children:String(t)},`x-label-${a}`):null)),r.map(((t,a)=>e("text",{x:92,y:50+a*(d+m)+d/2,textAnchor:"end",dominantBaseline:"middle",className:"c-chart__heatmap-axis-label",fontSize:"11",fill:"var(--atomix-gray-7)",children:String(t)},`y-label-${a}`))),n.map(((a,n)=>a.map(((a,r)=>{const o=E+r*(c+m),h=50+n*(d+m),p=g.enabled?(n*i.length+r)*(g.delay||50):0;if(!a)return e("rect",{x:o,y:h,width:c,height:d,rx:v,fill:"var(--atomix-gray-2)",stroke:l.showBorders?"var(--atomix-gray-3)":"none",strokeWidth:l.showBorders?.5:0,className:"c-chart__heatmap-cell c-chart__heatmap-cell--empty",style:{animation:g.enabled?`chart-fade-in ${g.duration}ms ${g.easing} ${p}ms both`:"none"}},`empty-${n}-${r}`);const S=C(a.value),A=f===a;return t("g",{children:[e("rect",{x:o,y:h,width:c,height:d,fill:S,rx:v,stroke:l.showBorders?"var(--atomix-gray-3)":"none",strokeWidth:l.showBorders?.5:0,className:"c-chart__heatmap-cell "+(A?"c-chart__heatmap-cell--hovered":""),onMouseEnter:e=>T(a,e),onMouseLeave:()=>T(null),style:{cursor:"pointer",transition:"all 0.2s ease",animation:g.enabled?`chart-scale-in ${g.duration}ms ${g.easing} ${p}ms both`:"none",transform:A?"scale(1.1)":"scale(1)",filter:A?"drop-shadow(0 2px 4px rgba(0,0,0,0.2))":"none"}}),s&&a.value>0&&e("text",{x:o+c/2,y:h+d/2,textAnchor:"middle",dominantBaseline:"middle",fontSize:"9",fontWeight:"500",fill:a.value>(N.minValue+N.maxValue)/2?"white":"var(--atomix-gray-8)",className:"c-chart__heatmap-value",style:{pointerEvents:"none"},children:u(a.value)})]},`cell-${n}-${r}`)})))),h&&t("g",{transform:`translate(${E+S+40}, 50)`,children:[e("text",{x:"0",y:"-15",fontSize:"12",fontWeight:"600",fill:"var(--atomix-gray-8)",children:"Activity"}),t("g",{transform:"translate(0, 10)",children:[e("text",{x:"-5",y:"15",fontSize:"10",fill:"var(--atomix-gray-6)",textAnchor:"end",children:"Less"}),_[o.scheme].map(((t,a)=>e("rect",{x:14*a,y:0,width:12,height:12,fill:t,rx:2,stroke:"var(--atomix-gray-3)",strokeWidth:.5},a))),e("text",{x:14*_[o.scheme].length+5,y:"15",fontSize:"10",fill:"var(--atomix-gray-6)",children:"More"})]})]})]})}),[N,l,s,u,h,C,f,T,o.scheme,_]),{matrix:y,xLabels:x,yLabels:I}=N,w=l.width||12,R=l.height||12,O=l.spacing||2,M=Math.max(600,x.length*(w+O)+200),D=Math.max(400,I.length*(R+O)+150);return t(yr,{ref:n,type:"heatmap",datasets:[],config:v,className:`c-chart--heatmap c-chart--${p}`,...S,children:[e("svg",{width:M,height:D,viewBox:`0 0 ${M} ${D}`,className:"c-chart__svg",style:{width:"100%",height:"100%"},children:L({scales:{width:M,height:D}})}),m.enabled&&f&&e("div",{className:"c-chart__tooltip",style:{position:"fixed",left:A.x+10,top:A.y-10},children:m.formatter?m.formatter(f):`${f.label||`${f.x}, ${f.y}`}: ${f.value}`})]})})));Vr.displayName="HeatmapChart";const Yr=p(l(((a,n)=>{let{datasets:i=[],yAxes:r=[],xAxis:o,config:l={},syncZoom:s=!0,showCrosshair:u=!0,...h}=a;const m=c((()=>{const e={},t=r.filter((e=>"left"===e.position)),a=r.filter((e=>"right"===e.position)),n=60*t.length,o=60*a.length,l=n,s=800-o,c=s-l,d=300;r.forEach(((n,r)=>{const o=i.filter((e=>e.yAxisId===n.id));if(0===o.length)return;const l=o.flatMap((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.map((e=>e.value)).filter((e=>"number"==typeof e)))||[]})),c=n.min??Math.min(0,...l),u=n.max??Math.max(...l,1),h=u-c;let m;if("left"===n.position){m=60*t.findIndex((e=>e.id===n.id))+30}else{const e=a.findIndex((e=>e.id===n.id));m=s+60*e+30}e[n.id]={yScale:e=>0===h?190:340-(e-c)/h*d,minValue:c,maxValue:u,valueRange:h,axisX:m,tickCount:n.tickCount||5,format:n.format||(e=>e.toFixed(1))}}));const u=Math.max(...i.map((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.length)||0})));return e.x={xScale:(e,t)=>{const a=t||u;return a<=1?l+c/2:l+e/(a-1)*c},plotAreaLeft:l,plotAreaRight:s,plotAreaTop:40,plotAreaBottom:340,plotAreaWidth:c,plotAreaHeight:d,maxDataLength:u},e}),[i,r,o]),p=d((a=>{var n;let{scales:i,colors:o,datasets:l,handlers:s}=a;if(!l.length||!m.x)return null;const{xScale:c,plotAreaLeft:d,plotAreaRight:u,plotAreaTop:h,plotAreaBottom:p,plotAreaWidth:g,plotAreaHeight:v}=m.x;return t("g",{children:[e("rect",{x:d,y:h,width:g,height:v,className:"c-chart__plot-area"}),r.map(((a,n)=>{const i=m[a.id];if(!i)return null;const r=Array.from({length:i.tickCount},((e,t)=>{const a=i.minValue+(i.maxValue-i.minValue)*(t/(i.tickCount-1));return{value:a,y:i.yScale(a),label:i.format(a)}}));return t("g",{children:[a.showGrid&&r.map(((t,a)=>e("line",{x1:d,y1:t.y,x2:u,y2:t.y,className:"c-chart__grid"},`grid-${a}`))),e("line",{x1:i.axisX,y1:h,x2:i.axisX,y2:p,stroke:a.color||"var(--atomix-secondary-text)",className:"c-chart__axis-line"}),r.map(((n,r)=>t("g",{children:[e("line",{x1:i.axisX-5,y1:n.y,x2:i.axisX+5,y2:n.y,stroke:a.color||"var(--atomix-gray-6)",strokeWidth:"1"}),e("text",{x:"left"===a.position?i.axisX-10:i.axisX+10,y:n.y,textAnchor:"left"===a.position?"end":"start",dominantBaseline:"middle",className:"c-chart__tick-label",children:n.label})]},`tick-${r}`))),a.label&&e("text",{x:i.axisX,y:"left"===a.position?20:p+40,textAnchor:"middle",fontSize:"14",fontWeight:"bold",fill:a.color||"var(--atomix-gray-8)",transform:"left"===a.position?`rotate(-90, ${i.axisX}, 20)`:"",children:a.label})]},`y-axis-${a.id}`)})),t("g",{children:[e("line",{x1:d,y1:p,x2:u,y2:p,stroke:"var(--atomix-gray-6)",strokeWidth:"2"}),null===(n=l[0])||void 0===n||null===(n=n.data)||void 0===n?void 0:n.map(((a,n)=>{var i;const r=c(n,(null===(i=l[0])||void 0===i||null===(i=i.data)||void 0===i?void 0:i.length)||0);return t("g",{children:[e("line",{x1:r,y1:p,x2:r,y2:p+5,stroke:"var(--atomix-gray-6)",strokeWidth:"1"}),e("text",{x:r,y:p+20,textAnchor:"middle",fontSize:"12",fill:"var(--atomix-gray-7)",children:a.label})]},`x-tick-${n}`)}))]}),l.map(((a,n)=>{var i;const l=m[a.yAxisId||(null===(i=r[0])||void 0===i?void 0:i.id)||""];if(!l)return null;const d=a.color||o[n],u=a.type||"line";if("line"===u||"area"===u){var h,v,S,f;const i=(null===(h=a.data)||void 0===h?void 0:h.map(((e,t)=>{var n;return{x:c(t,null===(n=a.data)||void 0===n?void 0:n.length),y:l.yScale(e.value)}})))||[],r=i.length>1?`M ${i.map((e=>`${e.x},${e.y}`)).join(" L ")}`:"";return t("g",{children:["area"===u&&e("path",{d:`${r} L ${(null===(v=i[i.length-1])||void 0===v?void 0:v.x)||0},${p} L ${(null===(S=i[0])||void 0===S?void 0:S.x)||0},${p} Z`,fill:d,opacity:"0.3"}),e("path",{d:r,stroke:d,fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),null===(f=a.data)||void 0===f?void 0:f.map(((t,i)=>{var r;const o=c(i,null===(r=a.data)||void 0===r?void 0:r.length),u=l.yScale(t.value);return e("circle",{cx:o,cy:u,r:"4",fill:d,className:"c-chart__data-point",onClick:()=>{var e;return null===(e=s.onDataPointClick)||void 0===e?void 0:e.call(s,t,n,i)}},`point-${i}`)}))]},`dataset-${n}`)}if("bar"===u){var E,A;const t=g/((null===(E=a.data)||void 0===E?void 0:E.length)||1)*.6;return e("g",{children:null===(A=a.data)||void 0===A?void 0:A.map(((i,r)=>{var o;const u=c(r,(null===(o=a.data)||void 0===o?void 0:o.length)||0),h=l.yScale(i.value);return e("rect",{x:u-t/2,y:h,width:t,height:p-h,fill:d,rx:"4",onClick:()=>{var e;return null===(e=s.onDataPointClick)||void 0===e?void 0:e.call(s,i,n,r)},style:{cursor:"pointer"}},`bar-${r}`)}))},`bars-${n}`)}return null})),e("g",{transform:`translate(${d}, ${p+50})`,children:l.map(((a,n)=>{const i=a.color||o[n];return t("g",{transform:`translate(${120*n}, 0)`,children:[e("rect",{x:"0",y:"0",width:"12",height:"12",fill:i,rx:"2"}),t("text",{x:"18",y:"9",fontSize:"12",fill:"var(--atomix-gray-8)",children:[a.label," (",a.yAxisId,")"]})]},`legend-${n}`)}))})]})}),[m,r]);return e(yr,{ref:n,type:"line",datasets:i,config:l,title:"Multi-Axis Chart",showToolbar:!0,...h,children:e(Rr,{datasets:i,config:l,width:800,height:500,renderContent:p,interactive:!0,enableAccessibility:!0})})})));function Hr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[a,n]=i(null),[r,o]=i(new Set),[l,s]=i(0),[u,h]=i(!1),m=c((()=>{const a=e.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return a.length?t.sortByValue?[...a].sort(((e,t)=>t.value-e.value)):a:[]}),[e,t.sortByValue]),p=c((()=>Cr(m).call(m,((e,t)=>e+t.value),0)),[m]),g=c((()=>{if(!m.length||p<=0)return[];const e=400,a=200,n=150,i=n*(t.innerRadius||0),r=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"];let o=(t.startAngle||0)*Math.PI/180;const l=(t.padAngle||1)*Math.PI/180;return m.map(((t,s)=>{const c=t.value/p,d=2*c*Math.PI-l,u=o+d,h=o+d/2,m=e+n*Math.cos(o),g=a+n*Math.sin(o),v=e+n*Math.cos(u),S=a+n*Math.sin(u),f=d>Math.PI?1:0;let E;if(i>0){const t=e+i*Math.cos(u),n=a+i*Math.sin(u),r=e+i*Math.cos(o),l=a+i*Math.sin(o);E=[`M ${m},${g}`,`A 150,150 0 ${f},1 ${v},${S}`,`L ${t},${n}`,`A ${i},${i} 0 ${f},0 ${r},${l}`,"Z"].join(" ")}else E=["M 400,200",`L ${m},${g}`,`A 150,150 0 ${f},1 ${v},${S}`,"Z"].join(" ");const A=(n+i)/2||105,b=e+A*Math.cos(h),N=a+A*Math.sin(h),_={dataPoint:t,index:s,startAngle:o,endAngle:u,midAngle:h,color:t.color||r[s%r.length],percentage:100*c,value:t.value,label:t.label,path:E,labelPosition:{x:b,y:N}};return o=u+l,_}))}),[m,p,t.innerRadius,t.startAngle,t.padAngle]),v=d((()=>{if(!t.enableAnimations)return;h(!0),s(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),r=1-Math.pow(1-i,3);s(r),i<1?requestAnimationFrame(n):h(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),S=d(((e,a,i)=>{t.enableHoverEffects&&(n(e),void 0!==a&&void 0!==i&&g[e]&&(g[e].clientX=a,g[e].clientY=i))}),[t.enableHoverEffects,g]),f=d((()=>{n(null)}),[]),E=d((e=>{t.enableSelection&&o((t=>{const a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a}))}),[t.enableSelection]),A=d((e=>{if(t.labelFormatter)return t.labelFormatter(e.value,e.percentage,e.label);const a=[];return!1!==t.showLabels&&a.push(e.label),t.showPercentages&&a.push(`${Math.round(e.percentage)}%`),t.showValues&&a.push(e.value.toString()),a.join(" - ")}),[t.labelFormatter,t.showLabels,t.showPercentages,t.showValues]),b=d(((e,a)=>{if(!a||!t.enableHoverEffects||!t.hoverOffset)return"";return`translate(${Math.cos(e.midAngle)*t.hoverOffset}, ${Math.sin(e.midAngle)*t.hoverOffset})`}),[t.enableHoverEffects,t.hoverOffset]),N=d((e=>r.has(e)),[r]);return{processedData:m,slices:g,totalValue:p,hoveredSlice:a,selectedSlices:r,animationProgress:l,isAnimating:u,handleSliceHover:S,handleSliceLeave:f,handleSliceClick:E,startAnimation:v,formatLabel:A,getSliceTransform:b,isSliceSelected:N,setHoveredSlice:n,setSelectedSlices:o,setAnimationProgress:s,setIsAnimating:h}}Yr.displayName="MultiAxisChart";const Wr=p(l(((a,n)=>{var i,r,o,l,s;let{datasets:c=[],config:u={},pieOptions:h={},onDataPointClick:m,...p}=a;const g=(null===(i=c[0])||void 0===i?void 0:i.data)||[],{slices:v,handleSliceHover:S,handleSliceLeave:f,handleSliceClick:E,formatLabel:A,hoveredSlice:b,selectedSlices:N}=Hr(g,h),_=d((()=>v.length?v.map(((a,n)=>{const i=b===n,r=N.has(n);return t("g",{children:[e("path",{d:a.path,fill:a.color,className:`c-chart__pie-slice ${i?"c-chart__pie-slice--hovered":""} ${r?"c-chart__pie-slice--selected":""}`,onClick:()=>{E(n),null==m||m(a.dataPoint,0,n)},onMouseEnter:e=>{var t;const i=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),r=i?i.left+a.labelPosition.x:e.clientX,o=i?i.top+a.labelPosition.y:e.clientY;S(n,r,o)},onMouseLeave:f}),h.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__pie-label",children:A(a)})]},`slice-${n}`)})):null),[v,b,N,h.showLabels,E,S,f,A,m]);return t(yr,{ref:n,type:"pie",datasets:c,config:u,...p,children:[e("svg",{width:"100%",height:"100%",viewBox:"0 0 800 400",children:_()}),null!==b&&g[b]&&e(Or,{dataPoint:g[b],datasetLabel:null===(r=c[0])||void 0===r?void 0:r.label,datasetColor:null===(o=v[b])||void 0===o?void 0:o.color,position:{x:(null===(l=v[b])||void 0===l?void 0:l.clientX)||0,y:(null===(s=v[b])||void 0===s?void 0:s.clientY)||0},visible:!0})]})})));Wr.displayName="PieChart";const Qr=p(l(((a,n)=>{var r,o,l;let{datasets:s=[],config:c={},radarOptions:u={},onDataPointClick:h,...m}=a;const{gridLevels:p=5,showGrid:g=!0,showAxisLabels:v=!0,fillArea:S=!0,fillOpacity:f=.3,showDataPoints:E=!0,pointRadius:A=4,lineWidth:b=2,smooth:N=!1,scaleType:_="linear",scaleMin:C=0,scaleMax:T}=u,[L,y]=i(null),x=d((a=>{let{scales:n,colors:i,datasets:r,handlers:o}=a;if(!r.length)return null;const l=n.width/2,s=n.height/2,c=.8*Math.min(l,s),d=r[0].data||[],u=2*Math.PI/d.length,h=T||Math.max(...r.flatMap((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.map((e=>e.value)))||[]}))),m=C,_=h-m,L=[];if(g){for(let t=1;t<=p;t++){const a=c*t/p,n=`M ${d.map(((e,t)=>{const n=t*u-Math.PI/2;return{x:l+Math.cos(n)*a,y:s+Math.sin(n)*a}})).map((e=>`${e.x},${e.y}`)).join(" L ")} Z`;L.push(e("path",{d:n,fill:"none",className:"c-chart__radar-grid"},`grid-${t}`))}d.forEach(((t,a)=>{const n=a*u-Math.PI/2,i=l+Math.cos(n)*c,r=s+Math.sin(n)*c;L.push(e("line",{x1:l,y1:s,x2:i,y2:r,className:"c-chart__radar-axis"},`axis-${a}`))}))}const x=[];v&&d.forEach(((t,a)=>{const n=a*u-Math.PI/2,i=c+20,r=l+Math.cos(n)*i,o=s+Math.sin(n)*i;x.push(e("text",{x:r,y:o,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__radar-label",children:t.label},`label-${a}`))}));const w=r.map(((t,a)=>{var n;const r=t.color||i[a],d=(null===(n=t.data)||void 0===n?void 0:n.map(((e,t)=>{const a=t*u-Math.PI/2,n=(e.value-m)/_,i=c*n;return{x:l+Math.cos(a)*i,y:s+Math.sin(a)*i,originalPoint:e,angle:a,radius:i}})))||[],h=N?I(d):`M ${d.map((e=>`${e.x},${e.y}`)).join(" L ")} Z`,p=[];return S&&p.push(e("path",{d:h,fill:r,className:"c-chart__radar-fill",style:{opacity:f}},`fill-${a}`)),p.push(e("path",{d:h,fill:"none",stroke:r,className:"c-chart__radar-line",style:{strokeWidth:b}},`line-${a}`)),E&&d.forEach(((t,n)=>{p.push(e("circle",{cx:t.x,cy:t.y,r:A,fill:r,className:"c-chart__radar-point",onClick:()=>{var e;return null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,t.originalPoint,a,n)},onMouseEnter:e=>{var i;const r=null===(i=e.currentTarget.ownerSVGElement)||void 0===i?void 0:i.getBoundingClientRect(),o=r?r.left+t.x:e.clientX,l=r?r.top+t.y:e.clientY;y({datasetIndex:a,pointIndex:n,clientX:o,clientY:l})},onMouseLeave:()=>y(null)},`point-${a}-${n}`))})),e("g",{children:p},`dataset-${a}`)}));return t("g",{children:[L,w,x]})}),[p,g,v,S,f,E,A,b,N,C,T]),I=d((e=>{if(e.length<3)return`M ${e.map((e=>`${e.x},${e.y}`)).join(" L ")} Z`;let t=`M ${e[0].x},${e[0].y}`;for(let a=0;a<e.length;a++){const n=e[a],i=e[(a+1)%e.length],r=e[0===a?e.length-1:a-1];t+=` C ${n.x+.1*(i.x-r.x)},${n.y+.1*(i.y-r.y)} ${i.x-.1*(e[(a+2)%e.length].x-n.x)},${i.y-.1*(e[(a+2)%e.length].y-n.y)} ${i.x},${i.y}`}return t+" Z"}),[]);return t(yr,{ref:n,type:"radar",datasets:s,config:c,...m,children:[e(Rr,{datasets:s,config:c,onDataPointClick:h,renderContent:x}),L&&e(Or,{dataPoint:null===(r=s[L.datasetIndex])||void 0===r||null===(r=r.data)||void 0===r?void 0:r[L.pointIndex],datasetLabel:null===(o=s[L.datasetIndex])||void 0===o?void 0:o.label,datasetColor:null===(l=s[L.datasetIndex])||void 0===l?void 0:l.color,position:{x:L.clientX,y:L.clientY},visible:!0})]})})));Qr.displayName="RadarChart";const Kr=p(l(((a,n)=>{let{datasets:l=[],config:s={},streamConfig:c={interval:1e3,maxDataPoints:100,autoScroll:!0,bufferSize:10},dataSource:u,websocketUrl:h,onDataUpdate:m,enablePerformanceMonitoring:p=!1,...g}=a;const[v,S]=i(l),[f,E]=i(!1),[A,b]=i({fps:0,updateTime:0,dataPoints:0}),N=r(null),_=r(null),C=r(0),T=r(Date.now()),L=r([]),y=d((()=>{if(!p)return;const e=Date.now(),t=e-T.current;if(t>=1e3){const a=Math.round(1e3*C.current/t);b((e=>({...e,fps:a,dataPoints:Cr(v).call(v,((e,t)=>{var a;return e+((null===(a=t.data)||void 0===a?void 0:a.length)||0)}),0)}))),C.current=0,T.current=e}C.current++}),[p,v]),x=d((()=>{if(0===L.current.length)return;const e=performance.now();S((e=>{const t=[...e];return L.current.forEach((e=>{e.forEach(((e,a)=>{t[a]||(t[a]={label:`Dataset ${a+1}`,data:[],color:`hsl(${60*a}, 70%, 50%)`});const n=t[a],i=n.data||[],r={...e,timestamp:e.timestamp||Date.now()};i.push(r),i.length>c.maxDataPoints&&i.splice(0,i.length-c.maxDataPoints),n.data=i}))})),t})),L.current=[];const t=performance.now();b((a=>({...a,updateTime:t-e}))),null==m||m(v),y()}),[c.maxDataPoints,m,v,y]),I=d((()=>{if(h)try{_.current=new WebSocket(h),_.current.onopen=()=>{E(!0)},_.current.onmessage=e=>{try{const t=JSON.parse(e.data);L.current.push(Array.isArray(t)?t:[t])}catch(e){}},_.current.onclose=()=>{E(!1)},_.current.onerror=e=>{E(!1)}}catch(e){}}),[h]),w=d((()=>{u&&(N.current=setInterval((async()=>{try{const e=await u();e&&e.length>0&&L.current.push(e)}catch(e){}}),c.interval),E(!0))}),[u,c.interval]),R=d((()=>{h?I():u&&w()}),[h,u,I,w]),O=d((()=>{E(!1),N.current&&(clearInterval(N.current),N.current=null),_.current&&(_.current.close(),_.current=null)}),[]);o((()=>{const e=setInterval(x,c.interval/4);return()=>clearInterval(e)}),[x,c.interval]),o((()=>((u||h)&&R(),()=>{O()})),[u,h,R,O]);const M=d((a=>{let{scales:n,colors:i,datasets:r,handlers:o}=a;return r.length?r.map(((a,r)=>{var l,s;const c=a.color||i[r],d=(null===(l=a.data)||void 0===l?void 0:l.map(((e,t)=>{var i;return{x:n.xScale(t,null===(i=a.data)||void 0===i?void 0:i.length),y:n.yScale(e.value),timestamp:e.timestamp}})))||[],u=d.length>1?`M ${d.map((e=>`${e.x},${e.y}`)).join(" L ")}`:"";return t("g",{children:[e("defs",{children:t("linearGradient",{id:`gradient-${r}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[e("stop",{offset:"0%",stopColor:c,stopOpacity:"0.1"}),e("stop",{offset:"100%",stopColor:c,stopOpacity:"0.8"})]})}),e("path",{d:u,stroke:`url(#gradient-${r})`,fill:"none",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),null===(s=a.data)||void 0===s?void 0:s.map(((i,l)=>{var s,d;const u=n.xScale(l,null===(s=a.data)||void 0===s?void 0:s.length),h=n.yScale(i.value),m=l===((null===(d=a.data)||void 0===d?void 0:d.length)||0)-1;return t("g",{children:[m&&t("circle",{cx:u,cy:h,r:"8",fill:c,opacity:"0.3",children:[e("animate",{attributeName:"r",values:"4;12;4",dur:"2s",repeatCount:"indefinite"}),e("animate",{attributeName:"opacity",values:"0.8;0.1;0.8",dur:"2s",repeatCount:"indefinite"})]}),e("circle",{cx:u,cy:h,r:"3",fill:c,stroke:"white",strokeWidth:"1",onClick:()=>{var e;return null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,i,r,l)},style:{cursor:"pointer"}})]},`point-${l}`)}))]},`realtime-dataset-${r}`)})):null}),[]);return t(yr,{ref:n,type:"line",datasets:v,config:s,title:"Real-time Chart "+(f?"🔴 LIVE":"⏸️ PAUSED"),showToolbar:!0,enableRefresh:!0,onRefresh:R,...g,children:[e(Rr,{datasets:v,config:s,renderContent:M,enableRealTime:!0,enablePerformanceOptimization:!0}),p&&t("div",{style:{position:"absolute",top:"10px",right:"10px",background:"rgba(0, 0, 0, 0.8)",color:"white",padding:"8px",borderRadius:"4px",fontSize:"12px",fontFamily:"monospace"},children:[t("div",{children:["FPS: ",A.fps]}),t("div",{children:["Update: ",A.updateTime.toFixed(2),"ms"]}),t("div",{children:["Points: ",A.dataPoints]}),t("div",{children:["Status: ",f?"STREAMING":"STOPPED"]})]}),t("div",{style:{position:"absolute",bottom:"10px",left:"10px",display:"flex",gap:"8px"},children:[e("button",{onClick:f?O:R,style:{padding:"6px 12px",borderRadius:"4px",border:"none",background:f?"#ef4444":"#10b981",color:"white",cursor:"pointer",fontSize:"12px"},children:f?"Stop":"Start"}),e("button",{onClick:()=>S([]),style:{padding:"6px 12px",borderRadius:"4px",border:"none",background:"#6b7280",color:"white",cursor:"pointer",fontSize:"12px"},children:"Clear"})]})]})})));Kr.displayName="RealTimeChart";const Zr=p(l(((n,r)=>{var o,l,s;let{datasets:c=[],config:d={},scatterOptions:u={pointRadius:4,showLabels:!1,enableHoverEffects:!0},onDataPointClick:h,...m}=n;const[p,g]=i(null);return t(yr,{ref:r,type:"scatter",datasets:c,config:d,...m,children:[e(Rr,{datasets:c,config:d,interactive:u.enableHoverEffects,renderContent:n=>{let{scales:i,colors:r,datasets:o}=n;if(!o.length)return null;const l=[];return o.forEach(((a,n)=>{var o;const s=a.color||r[n%r.length];null===(o=a.data)||void 0===o||o.forEach(((r,o)=>{var c;const d=void 0!==r.x?i.padding.left+r.x/100*i.innerWidth:i.xScale(o,null===(c=a.data)||void 0===c?void 0:c.length),m=void 0!==r.y?i.padding.top+i.innerHeight-r.y/100*i.innerHeight:i.yScale(r.value);l.push(t("g",{children:[e("circle",{cx:d,cy:m,r:r.size||u.pointRadius||4,fill:r.color||s,className:"c-chart__scatter-point",onClick:()=>null==h?void 0:h(r,n,o),onMouseEnter:e=>{if(u.enableHoverEffects){var t;e.currentTarget.setAttribute("r",String(1.5*(r.size||u.pointRadius||4)));const a=null===(t=e.currentTarget.ownerSVGElement)||void 0===t?void 0:t.getBoundingClientRect(),i=a?a.left+d:e.clientX,l=a?a.top+m:e.clientY;g({datasetIndex:n,pointIndex:o,clientX:i,clientY:l})}},onMouseLeave:e=>{e.currentTarget.setAttribute("r",String(r.size||u.pointRadius||4)),g(null)}}),u.showLabels&&e("text",{x:d,y:m-(u.pointRadius||4)-5,textAnchor:"middle",className:"c-chart__scatter-label",children:r.label})]},`point-${n}-${o}`))}))})),e(a,{children:l})}}),p&&(null===(o=c[p.datasetIndex])||void 0===o||null===(o=o.data)||void 0===o?void 0:o[p.pointIndex])&&e(Or,{dataPoint:c[p.datasetIndex].data[p.pointIndex],datasetLabel:null===(l=c[p.datasetIndex])||void 0===l?void 0:l.label,datasetColor:null===(s=c[p.datasetIndex])||void 0===s?void 0:s.color,position:{x:p.clientX,y:p.clientY},visible:!0})]})})));Zr.displayName="ScatterChart";const jr=p(l(((a,n)=>{let{data:r=[],algorithm:o="squarified",colorConfig:l={scheme:"category"},showLabels:s=!0,showValues:u=!1,labelConfig:h={minSize:1e3,fontSize:12,color:"white"},borderConfig:m={width:1,color:"white",radius:2},animationConfig:p={enabled:!0,duration:750,easing:"ease-out"},onNodeClick:g,onNodeHover:v,config:S={},...f}=a;const[E,A]=i(null),[b,N]=i(null),[_,C]=i({x:0,y:0}),T=c((()=>{if(!r.length)return null;const e=new Map;r.forEach((t=>e.set(t.id,t)));const t=[],a=new Set,n=e=>{if(a.has(e.id))return e;a.add(e.id);const t=r.filter((t=>t.parent===e.id));var i;t.length>0&&(e.children=t.map((e=>n(e))),e.value=Cr(i=e.children).call(i,((e,t)=>e+t.value),0));return e};return r.forEach((a=>{a.parent&&e.has(a.parent)||t.push(n(a))})),1===t.length?t[0]:{id:"root",label:"Root",value:Cr(t).call(t,((e,t)=>e+t.value),0),children:t}}),[r]),L=d(((e,t,a)=>{if(e.color)return e.color;const{scheme:n,palette:i,valueRange:o}=l,s=i||["#3b82f6","#ef4444","#10b981","#f59e0b","#8b5cf6","#06b6d4","#84cc16","#f97316","#ec4899","#6366f1"];switch(n){case"category":default:return s[a%s.length];case"depth":const n=["#1e40af","#3b82f6","#60a5fa","#93c5fd","#dbeafe"];return n[Math.min(t,n.length-1)];case"value":if(o&&T){const t=Math.max(...r.map((e=>e.value))),a=Math.min(...r.map((e=>e.value))),n=(e.value-a)/(t-a);return`hsl(${220+100*n}, 70%, ${30+40*n}%)`}return s[0]}}),[l,r,T]);d(((e,t,a,n,i)=>{if(0===e.length)return;const r=Cr(e).call(e,((e,t)=>e+t.value),0);if(1===e.length){const r=e[0];return void(r&&(r.x=t,r.y=a,r.width=n,r.height=i))}const o=[...e].sort(((e,t)=>t.value-e.value)),l=e=>Math.max(e.width/e.height,e.height/e.width);let s=[],c=[...o],d=t,u=a,h=n,m=i;for(;c.length>0;){const e=c.shift();if(!e)break;s.push(e);const t=Cr(s).call(s,((e,t)=>e+t.value),0),a=t/r;let n,i;h>=m?(n=h*a,i=m):(n=h,i=m*a);let o=!1;if(c.length>0){const e=c[0];if(!e)break;const a=[...s,e],d=Cr(a).call(a,((e,t)=>e+t.value),0),u=d/r;let p,g;h>=m?(p=h*u,g=m):(p=h,g=m*u);const v=Math.max(...s.filter((e=>e)).map((e=>{const a=e.value/t;return l({width:h>=m?n:n*a,height:h>=m?i*a:i})})));o=Math.max(...a.filter((e=>e)).map((e=>{const t=e.value/d;return l({width:h>=m?p:p*t,height:h>=m?g*t:g})})))<=v}if(!o){let e=d,a=u;s.forEach((r=>{const o=r.value/t;h>=m?(r.x=e,r.y=a,r.width=n,r.height=m*o,a+=r.height):(r.x=e,r.y=a,r.width=h*o,r.height=i,e+=r.width)})),h>=m?(d+=n,h-=n):(u+=i,m-=i),s=[]}}}),[]);const y=c((()=>{if(!r.length)return[];const e=r.filter((e=>!e.children||0===e.children.length));Cr(e).call(e,((e,t)=>e+t.value),0);let t=0,a=0;const n=800/Math.ceil(Math.sqrt(e.length)),i=600/Math.ceil(Math.sqrt(e.length));return e.map(((e,r)=>{const o={id:e.id,label:e.label,value:e.value,color:L(e,0,r)||"transparent",x:t,y:a,width:n,height:i,depth:0,children:[],originalData:e};return t+=n,t>=800&&(t=0,a+=i),o}))}),[r,L]),x=d((e=>{N(e),null==g||g(e)}),[g]),I=d(((e,t)=>{A(e),null==v||v(e),t&&e&&(t.currentTarget.getBoundingClientRect(),C({x:t.clientX,y:t.clientY}))}),[v]),w=d((()=>y.length?e("g",{children:y.map((a=>{const n=E===a,i=b===a,r=a.width*a.height,o=s&&r>=(h.minSize||1e3);return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:a.color,rx:m.radius||2,className:`c-chart__treemap-node ${n?"c-chart__treemap-node--hovered":""} ${i?"c-chart__treemap-node--selected":""} ${p.enabled?"c-chart__treemap-node--animated":""}`,onMouseEnter:e=>I(a,e),onMouseLeave:()=>I(null),onClick:()=>x(a)}),o&&t("g",{children:[e("text",{x:a.x+a.width/2,y:a.y+a.height/2-(u?8:0),textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__treemap-label",children:a.label}),u&&e("text",{x:a.x+a.width/2,y:a.y+a.height/2+12,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__treemap-value",children:a.value.toLocaleString()})]})]},a.id)}))}):null),[y,E,b,s,u,h,m,p,I,x]);return t(yr,{ref:n,type:"treemap",datasets:[],config:S,...f,children:[e("svg",{width:800,height:600,viewBox:"0 0 800 600",style:{width:"100%",height:"100%"},children:w()}),E&&t("div",{className:"c-chart__tooltip",style:{position:"fixed",left:_.x+10,top:_.y-10,transform:"translateY(-100%)",background:"var(--atomix-gray-9)",color:"white",padding:"8px 12px",borderRadius:"6px",fontSize:"12px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.2)",zIndex:1e3,pointerEvents:"none"},children:[e("div",{children:e("strong",{children:null==E?void 0:E.label})}),t("div",{children:["Value: ",null==E?void 0:E.value.toLocaleString()]})]})]})})));jr.displayName="TreemapChart";const qr=p(l(((a,n)=>{let{waterfallData:i=[],config:r={},waterfallOptions:o={},onDataPointClick:l,...s}=a;const{showConnectors:c=!0,connectorColor:u="#f9fafb",connectorStyle:h="dashed",showValues:m=!0,valuePosition:p="top",colors:g={positive:"var(--atomix-success)",negative:"var(--atomix-error)",total:"var(--atomix-primary)",subtotal:"var(--atomix-secondary)"},barWidth:v=.6,showCumulativeLine:S=!1,cumulativeLineColor:f="#3b82f6",animate:E=!0,animationDuration:A=1e3,animationDelay:b=100,valueFormatter:N=e=>e.toLocaleString(),showBaseline:_=!0,baselineColor:C="#f3f4f6"}=o,T=d((a=>{let{scales:n,colors:r,handlers:o}=a;if(!i.length)return null;const l=60,s=n.width-120,d=n.height-120;let A=0;const T=i.map(((e,t)=>{const a="total"===e.type||"subtotal"===e.type?0:A;let n;return"total"===e.type||"subtotal"===e.type?(n=e.value,A=e.value):(n=A+e.value,A=n),{...e,startValue:a,endValue:n,cumulativeValue:A,index:t}})),L=T.flatMap((e=>[e.startValue,e.endValue])),y=Math.min(0,...L),x=Math.max(...L)-y,I=s/i.length*v,w=s/i.length,R=e=>l+e*w+w/2,O=e=>l+d-(e-y)/x*d,M=[];if(_){const t=O(0);M.push(e("line",{x1:l,y1:t,x2:n.width-l,y2:t,stroke:C,strokeWidth:"2",opacity:"0.7"},"baseline"))}if(T.forEach(((t,a)=>{const n=R(a),i=Math.min(O(t.startValue),O(t.endValue)),r=Math.max(O(t.startValue),O(t.endValue)),l=r-i;let s=t.color;if(s||(s="total"===t.type?g.total:"subtotal"===t.type?g.subtotal:t.value>=0?g.positive:g.negative),M.push(e("rect",{x:n-I/2,y:i,width:I,height:Math.max(l,2),fill:s,rx:"4",className:"c-chart__waterfall-bar "+(E?"c-chart__waterfall-bar--animated":""),style:{animationDelay:E?a*b+"ms":"0ms"},onClick:()=>{var e;return null===(e=o.onDataPointClick)||void 0===e?void 0:e.call(o,t,0,a)}},`bar-${a}`)),m){let o=i,s=t.value;o="center"===p?i+l/2:"bottom"===p?r+15:i-5,"total"!==t.type&&"subtotal"!==t.type||(s=t.endValue),M.push(e("text",{x:n,y:o,textAnchor:"middle",dominantBaseline:"center"===p?"middle":"auto",className:"c-chart__waterfall-value "+("center"===p?"c-chart__waterfall-value--center":"c-chart__waterfall-value--outside"),children:N(s)},`value-${a}`))}if(c&&a<T.length-1){const i=T[a+1];if(i){const r=O(t.endValue),o=O(i.startValue),l=R(a+1);if(Math.abs(t.endValue-i.startValue)>.01){const t="dashed"===h?"5,5":"dotted"===h?"2,2":"none";M.push(e("line",{x1:n+I/2,y1:r,x2:l-I/2,y2:o,stroke:u,strokeDasharray:t,className:"c-chart__waterfall-connector"},`connector-${a}`))}}}})),S){const t=T.map(((e,t)=>({x:R(t),y:O(e.cumulativeValue)}))),a=`M ${t.map((e=>`${e.x},${e.y}`)).join(" L ")}`;M.push(e("path",{d:a,fill:"none",stroke:f,className:"c-chart__waterfall-cumulative-line"},"cumulative-line")),t.forEach(((t,a)=>{M.push(e("circle",{cx:t.x,cy:t.y,r:"4",fill:f,className:"c-chart__waterfall-cumulative-point"},`line-point-${a}`))}))}M.push(e("line",{x1:l,y1:n.height-l,x2:n.width-l,y2:n.height-l,stroke:"var(--atomix-gray-4)",strokeWidth:"2"},"x-axis")),M.push(e("line",{x1:l,y1:l,x2:l,y2:n.height-l,stroke:"var(--atomix-gray-4)",strokeWidth:"2"},"y-axis")),i.forEach(((t,a)=>{const i=R(a);M.push(e("text",{x:i,y:n.height-l+20,textAnchor:"middle",fontSize:"11",fill:"var(--atomix-gray-6)",transform:`rotate(-45, ${i}, ${n.height-l+20})`,children:t.label},`x-label-${a}`))}));for(let a=0;a<=5;a++){const n=y+a/5*x,i=O(n);M.push(t("g",{children:[e("line",{x1:55,y1:i,x2:l,y2:i,stroke:"var(--atomix-gray-4)",strokeWidth:"1"}),e("text",{x:50,y:i,textAnchor:"end",dominantBaseline:"middle",fontSize:"11",fill:"var(--atomix-gray-6)",children:N(n)})]},`y-tick-${a}`))}return e("g",{children:M})}),[i,c,u,h,m,p,v,S,f,E,A,b,N,_,C]),L=[{label:"Waterfall Data",data:i.map((e=>({label:e.label,value:e.value})))}];return e(yr,{ref:n,type:"waterfall",datasets:L,config:r,...s,children:e(Rr,{datasets:L,config:r,onDataPointClick:l,renderContent:T})})})));qr.displayName="WaterfallChart";const Xr=t=>{let{className:a=""}=t;const[n,r]=i("light");o((()=>{const e=localStorage.getItem("atomix-color-mode");"light"===e||"dark"===e?r(e):window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&r("dark")}),[]),o((()=>{document.body.setAttribute("data-atomix-color-mode",n),localStorage.setItem("atomix-color-mode",n)}),[n]),o((()=>{const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{localStorage.getItem("atomix-color-mode")||r(e.matches?"dark":"light")};return e.addEventListener?e.addEventListener("change",t):e.addListener(t),()=>{e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}}),[]);return e("button",{className:`c-color-mode-toggle ${a}`,onClick:()=>{r((e=>"light"===e?"dark":"light"))},"aria-label":`Switch to ${"light"===n?"dark":"light"} mode`,title:`Switch to ${"light"===n?"dark":"light"} mode`,children:e("svg","light"===n?{viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",children:e("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49zM12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"})}:{viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",children:e("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06z"})})})};Xr.displayName="ColorModeToggle";const $r=l(((a,r)=>{let{target:l,show:s=["days","hours","minutes","seconds"],separator:c=":",focused:d=!1,className:u="",onComplete:h}=a;const m="string"==typeof l?new Date(l):l,[p,g]=i((()=>new Date)),[v,S]=i(!1);o((()=>{if(v)return;const e=setInterval((()=>{g(new Date)}),1e3);return()=>clearInterval(e)}),[v]);const f=m.getTime()-p.getTime(),{days:E,hours:A,minutes:b,seconds:N}=function(e){const t=Math.max(0,Math.floor(e/1e3));return{days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60}}(f);o((()=>{f<=0&&!v&&(S(!0),h&&h())}),[f,v,h]);const _=[];return Oi(s).call(s,"days")&&_.push({label:"Days",value:E}),Oi(s).call(s,"hours")&&_.push({label:"Hours",value:A}),Oi(s).call(s,"minutes")&&_.push({label:"Minutes",value:b}),Oi(s).call(s,"seconds")&&_.push({label:"Seconds",value:N}),e("div",{ref:r,className:`c-countdown${d?" c-countdown--focused":""} ${u}`.trim(),children:_.map(((a,i)=>t(n.Fragment,{children:[t("div",{className:"c-countdown__time",children:[e("span",{className:"c-countdown__time-count",children:String(a.value).padStart(2,"0")}),e("span",{className:"c-countdown__time-label",children:a.label})]}),i<_.length-1&&e("span",{className:"c-countdown__separator",children:c})]},a.label)))})}));function Jr(e){let{data:t=[],columns:a=[],sortable:n=!1,paginated:r=!1,pageSize:l=10,onSort:s,initialSortConfig:u}=e;const[h,m]=i(u||null),[p,g]=i(1),[v,S]=i(""),f=d((e=>{if(!n)return;let t="asc";h&&h.key===e&&"asc"===h.direction&&(t="desc");const a={key:e,direction:t};m(a),s&&s(a)}),[n,h,s]),E=d((e=>{e<1||e>Math.ceil(t.length/l)||g(e)}),[t.length,l]),A=d((e=>{S(e),g(1)}),[]),b=c((()=>{if(!v)return t;const e=v.toLowerCase();return t.filter((t=>a.some((a=>{var n;const i=t[a.key];return null!=i&&Oi(n=String(i).toLowerCase()).call(n,e)}))))}),[t,a,v]),N=c((()=>h&&n?[...b].sort(((e,t)=>{const a=e[h.key],n=t[h.key];return null==a?"asc"===h.direction?-1:1:null==n?"asc"===h.direction?1:-1:"string"==typeof a&&"string"==typeof n?"asc"===h.direction?a.localeCompare(n):n.localeCompare(a):"asc"===h.direction?a>n?1:-1:a>n?-1:1})):b),[b,h,n]),_=c((()=>{if(!r)return N;const e=(p-1)*l;return N.slice(e,e+l)}),[N,r,p,l]),C=c((()=>r?Math.max(1,Math.ceil(N.length/l)):1),[N.length,r,l]);return o((()=>{g(1)}),[t]),o((()=>{p>C&&g(Math.max(1,C))}),[p,C]),{displayData:_,sortConfig:h,currentPage:p,totalPages:C,handleSort:f,handlePageChange:E,handleSearch:A}}function eo(e){const t={variant:"primary",size:"md",fullscreen:!1,...e};return{defaultProps:t,generateSpinnerClass:e=>{const{variant:a=t.variant,size:n=t.size,fullscreen:i=t.fullscreen,className:r=""}=e,o="c-spinner";return`${o} ${a?`${o}--${a}`:""} ${"md"!==n?`${o}--${n}`:""} ${i?`${o}--fullscreen`:""} ${r}`.trim()}}}$r.displayName="Countdown";const to=t=>{let{size:a="md",variant:n="primary",fullscreen:i=!1,className:r=""}=t;const{generateSpinnerClass:o}=eo({size:a,variant:n,fullscreen:i}),l=o({size:a,variant:n,fullscreen:i,className:r});return e("div",{className:l,role:"status",children:e("span",{className:G.VISUALLY_HIDDEN,children:"Loading..."})})};to.displayName="Spinner";const ao="...",no=(e,t)=>{const a=t-e+1;return Array.from({length:a},((t,a)=>a+e))},io=e=>{let{currentPage:t,totalPages:a,siblingCount:n=1,onPageChange:i}=e;const r=c((()=>{if(n+5>=a)return no(1,a);const e=Math.max(t-n,1),i=Math.min(t+n,a),r=e>2,o=i<a-2,l=a;if(!r&&o){return[...no(1,3+2*n),ao,a]}if(r&&!o){let e=no(a-(3+2*n)+1,a);return[1,ao,...e]}if(r&&o){let t=no(e,i);return[1,ao,...t,ao,l]}return[]}),[a,n,t]),o=e=>{e>=1&&e<=a&&e!==t&&i(e)};return{paginationRange:r,currentPage:t,totalPages:a,goToPage:o,nextPage:()=>{o(t+1)},prevPage:()=>{o(t-1)},firstPage:()=>{o(1)},lastPage:()=>{o(a)},DOTS:ao}},ro=t=>{let{type:a,onClick:n,disabled:i,label:r,iconName:o}=t;return e("li",{className:`c-pagination__item c-pagination__item--${a} ${i?"is-disabled":""}`,"aria-disabled":i,children:e("button",{type:"button",className:"c-pagination__link",onClick:n,disabled:i,"aria-label":r,children:e(Wi,{name:o,size:"sm","aria-hidden":"true"})})})},oo=a=>{let{currentPage:n=q.currentPage,totalPages:i=q.totalPages,onPageChange:r,siblingCount:o=q.siblingCount,showFirstLastButtons:l=q.showFirstLastButtons,showPrevNextButtons:s=q.showPrevNextButtons,size:c=q.size,className:d="",ariaLabel:u="Pagination",glass:h}=a;const{paginationRange:m,goToPage:p,nextPage:g,prevPage:v,firstPage:S,lastPage:f}=io({currentPage:n,totalPages:i,siblingCount:o,onPageChange:r});if(0===n||m.length<2)return null;const E=e("nav",{className:`c-pagination c-pagination--${c} ${d}`,"aria-label":u,children:t("ul",{className:"c-pagination__items",children:[l&&e(ro,{type:"first",onClick:S,disabled:1===n,label:"Go to first page",iconName:"SkipBack"}),s&&e(ro,{type:"prev",onClick:v,disabled:1===n,label:"Go to previous page",iconName:"CaretLeft"}),m.map(((t,a)=>{if(t===ao)return e("li",{className:"c-pagination__item c-pagination__item--dots","aria-hidden":"true",children:"…"},`dots-${a}`);const i=t===n;return e("li",{className:"c-pagination__item "+(i?"is-active":""),"aria-current":i?"page":void 0,children:e("button",{type:"button",className:"c-pagination__link",onClick:()=>p(t),"aria-label":`Page ${t}`,"aria-current":i?"page":void 0,children:t})},t)})),s&&e(ro,{type:"next",onClick:g,disabled:n===i,label:"Go to next page",iconName:"CaretRight"}),l&&e(ro,{type:"last",onClick:f,disabled:n===i,label:"Go to last page",iconName:"SkipForward"})]})});if(h){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===h?t:{...t,...h};return e(Gi,{...a,children:E})}return E};oo.displayName="Pagination";const lo=a=>{let{data:n,columns:i,className:o,sortable:l=!1,filterable:s=!1,paginated:c=!1,pageSize:d=10,striped:u=!1,bordered:h=!1,dense:m=!1,loading:p=!1,emptyMessage:g="No data available",onRowClick:v,onSort:S,...f}=a;const E=r(null),{displayData:A,sortConfig:b,currentPage:N,totalPages:_,handleSort:C,handlePageChange:T,handleSearch:L}=Jr({data:n,columns:i,sortable:l,paginated:c,pageSize:d,onSort:S}),y=[j.base,u&&j.striped,h&&j.bordered,m&&j.dense,p&&j.loading,o].filter(Boolean).join(" ");return t("div",{className:j.container,...f,children:[s?e("div",{className:j.toolbar,children:e("div",{className:j.search,children:e("input",{type:"text",placeholder:"Search...",className:`${j.searchInput} c-input`,onChange:e=>L(e.target.value),"aria-label":"Search table"})})}):null,e("div",{className:j.tableWrapper,children:t("table",{ref:E,className:y,children:[e("thead",{className:j.header,children:e("tr",{children:i.map(((a,n)=>e("th",{className:`${j.headerCell} ${!1!==a.sortable&&l?j.sortable:""}`,onClick:()=>!1!==a.sortable&&l?C(a.key):null,"aria-sort":(null==b?void 0:b.key)===a.key?"asc"===b.direction?"ascending":"descending":void 0,children:t("div",{className:j.headerContent,children:[e("span",{children:a.title}),!1!==a.sortable&&l&&e("span",{className:j.sortIcon,children:(null==b?void 0:b.key)===a.key?"asc"===b.direction?e(Wi,{name:"CaretUp",size:"sm"}):e(Wi,{name:"CaretDown",size:"sm"}):null})]})},`header-${n}`)))})}),p?e("tbody",{children:e("tr",{children:e("td",{colSpan:i.length,className:j.loadingCell,children:e("div",{className:j.loadingIndicator,children:e(to,{size:"md",variant:"primary"})})})})}):0===A.length?e("tbody",{children:e("tr",{children:e("td",{colSpan:i.length,className:j.emptyCell,children:g})})}):e("tbody",{children:A.map(((t,a)=>e("tr",{className:j.row,onClick:v?()=>v(t):void 0,tabIndex:v?0:void 0,role:v?"button":void 0,children:i.map(((n,i)=>e("td",{className:j.cell,children:n.render?n.render(t[n.key],t):t[n.key]},`cell-${a}-${i}`)))},`row-${a}`)))})]})}),!c||_<=1?null:e("div",{className:j.pagination,children:e(oo,{currentPage:N,totalPages:_,onPageChange:T,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"sm",ariaLabel:"Data table pagination",className:"c-data-table__pagination"})})]})};function so(e){const t=new Date;return t.setMonth(e),t.toLocaleString("default",{month:"long"})}function co(e,t){return new Date(e,t+1,0).getDate()}function uo(e,t){if(!e)return"";const a=e.getDate(),n=e.getMonth()+1,i=e.getFullYear();return t.replace("yyyy",i.toString()).replace("MM",n.toString().padStart(2,"0")).replace("M",n.toString()).replace("dd",a.toString().padStart(2,"0")).replace("d",a.toString())}function ho(){let{value:e,onChange:t,selectionMode:a="single",startDate:n,endDate:l,onRangeChange:s,format:c="MM/dd/yyyy",minDate:u,maxDate:h,inline:m=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[p,g]=i(m),[v,S]=i(e?uo(e,c):""),[f,E]=i(n&&l?`${uo(n,c)} - ${uo(l,c)}`:n?`${uo(n,c)} - Select end date`:""),[A,b]=i(e||n||new Date),[N,_]=i("days"),[C,T]=i(!n||n&&l?"start":"end"),L=r(null),y=r(null),x=new Date,I=A.getMonth(),w=A.getFullYear(),R=co(w,I),O=new Date(w,I,1).getDay();o((()=>{"single"===a?S(e?uo(e,c):""):(E(n&&l?`${uo(n,c)} - ${uo(l,c)}`:n?`${uo(n,c)} - Select end date`:""),T(!n||n&&l?"start":"end"))}),[e,n,l,c,a]);const M=d((e=>{const i=new Date(w,I,e);if(!(u&&i<u||h&&i>h))if("single"===a)t&&t(i),S(uo(i,c)),m||g(!1);else if("start"===C)s&&s({startDate:i,endDate:null}),E(`${uo(i,c)} - Select end date`),T("end");else{if(!n)return;i<n?(s&&s({startDate:i,endDate:n}),E(`${uo(i,c)} - ${uo(n,c)}`)):(s&&s({startDate:n,endDate:i}),E(`${uo(n,c)} - ${uo(i,c)}`)),m||g(!1),T("start")}}),[w,I,u,h,t,s,c,m,a,C,n]),D=d((()=>{b(new Date(w,I-1,1))}),[w,I]),k=d((()=>{b(new Date(w,I+1,1))}),[w,I]),B=d((()=>{b(new Date(w-1,I,1))}),[w,I]),P=d((()=>{b(new Date(w+1,I,1))}),[w,I]),z=d((()=>{_("months")}),[]),F=d((()=>{_("years")}),[]),U=d((e=>{b(new Date(w,e,1)),_("days")}),[w]),G=d((e=>{b(new Date(e,I,1)),_("months")}),[I]),V=d((()=>{const e=new Date;b(e),"single"===a?M(e.getDate()):b(new Date)}),[M,a]),Y=d((()=>{"single"===a?(S(""),t&&t(null)):(E(""),T("start"),s&&s({startDate:null,endDate:null}))}),[t,s,a]),H=d((e=>{if("single"===a){S(e.target.value);const a=new Date(e.target.value);isNaN(a.getTime())||(t&&t(a),b(a))}else{E(e.target.value);const t=e.target.value.split("-");if(2===t.length){var n,i;const e=null===(n=t[0])||void 0===n?void 0:n.trim(),a=null===(i=t[1])||void 0===i?void 0:i.trim();if(!e||!a)return;const r=new Date(e);if(isNaN(r.getTime())||b(r),e&&a){const t=new Date(e),n=new Date(a);isNaN(t.getTime())||isNaN(n.getTime())||s&&s({startDate:t,endDate:n})}}}}),[t,s,a]),W=d((()=>{m||g(!0)}),[m]),Q=d((e=>{L.current&&!L.current.contains(e.target)&&y.current&&!y.current.contains(e.target)&&g(!1)}),[]);o((()=>(p&&!m?document.addEventListener("mousedown",Q):document.removeEventListener("mousedown",Q),()=>{document.removeEventListener("mousedown",Q)})),[p,Q,m]);const K=d((()=>{const e=[],t=co(0===I?w-1:w,0===I?11:I-1);for(let a=O-1;a>=0;a--)e.push({day:t-a,month:0===I?11:I-1,year:0===I?w-1:w,isCurrentMonth:!1});for(let t=1;t<=R;t++)e.push({day:t,month:I,year:w,isCurrentMonth:!0});const a=42-e.length;for(let t=1;t<=a;t++)e.push({day:t,month:11===I?0:I+1,year:11===I?w+1:w,isCurrentMonth:!1});return e}),[R,O,I,w]),Z=d((()=>{const e=[];for(let t=0;t<12;t++)e.push({month:t,name:so(t)});return e}),[]),j=d((()=>{const e=[],t=w-6;for(let a=0;a<12;a++)e.push(t+a);return e}),[w]),q=d(((e,t,a)=>function(e,t,a){return!(!e||t&&e<t||a&&e>a)}(new Date(e,t,a),u,h)),[u,h]),X=d(((t,i,r)=>{if("single"===a)return!!e&&(e.getFullYear()===t&&e.getMonth()===i&&e.getDate()===r);if(!n&&!l)return!1;if(n&&!l)return n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r;if(n&&l){const e=n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===r,a=l.getFullYear()===t&&l.getMonth()===i&&l.getDate()===r;return e||a}return!1}),[e,a,n,l]),$=d(((e,t,i)=>{if("range"!==a||!n||!l)return!1;const r=new Date(e,t,i);return r>n&&r<l}),[a,n,l]),J=d(((e,t,a)=>x.getFullYear()===e&&x.getMonth()===t&&x.getDate()===a),[x]),ee=d((e=>{const t=new Date(e.valueOf()),a=(e.getDay()+6)%7;t.setDate(t.getDate()-a+3);const n=t.valueOf();return t.setMonth(0,1),4!==t.getDay()&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((n-t.valueOf())/6048e5)}),[]);return{isOpen:p,inputValue:v,rangeInputValue:f,viewDate:A,viewMode:N,currentMonth:I,currentYear:w,selectionMode:a,rangeSelectionState:C,datePickerRef:L,inputRef:y,startDate:n,endDate:l,setIsOpen:g,handleDateSelect:M,handlePrevMonth:D,handleNextMonth:k,handlePrevYear:B,handleNextYear:P,handleTodayClick:V,handleClear:Y,handleInputChange:H,handleInputFocus:W,switchToMonthView:z,switchToYearView:F,selectMonth:U,selectYear:G,generateDays:K,generateMonths:Z,generateYears:j,isDateSelectable:q,isDateSelected:X,isDateInSelectedRange:$,isToday:J,getWeekNumber:ee}}lo.displayName="DataTable";const mo=l(((n,i)=>{let{value:r,onChange:o,selectionMode:l="single",startDate:s,endDate:c,onRangeChange:d,format:u="MM/dd/yyyy",minDate:h,maxDate:m,placeholder:p="Select date...",disabled:v=!1,readOnly:S=!1,clearable:f=!0,showTodayButton:E=!0,showWeekNumbers:A=!1,inline:b=!1,id:N,name:_,className:C="",placement:T="bottom-start",inputClassName:L="",size:y="md",glass:x,...I}=n;const{isOpen:w,inputValue:R,rangeInputValue:O,viewMode:M,currentMonth:D,currentYear:k,selectionMode:B,rangeSelectionState:P,datePickerRef:z,inputRef:F,startDate:U,endDate:G,setIsOpen:V,handleInputChange:Y,handleInputFocus:H,handleClear:W,handleDateSelect:Q,handleTodayClick:K,handlePrevMonth:Z,handleNextMonth:j,handlePrevYear:q,handleNextYear:X,switchToMonthView:$,switchToYearView:J,selectMonth:ee,selectYear:te,generateDays:ae,generateMonths:ne,generateYears:ie,isDateSelectable:re,isDateSelected:oe,isDateInSelectedRange:le,isToday:se,getWeekNumber:ce}=ho({value:r,onChange:o,selectionMode:l,startDate:s,endDate:c,onRangeChange:d,minDate:h,maxDate:m,format:u,inline:b});g(i,(()=>({open:()=>V(!0),close:()=>V(!1),clear:W,focus:()=>{var e;return null===(e=F.current)||void 0===e?void 0:e.focus()}})));const de=`c-datepicker ${C} ${b?"c-datepicker--inline":""}`.trim(),ue=`c-datepicker__input c-input c-input--${y} ${L}`.trim(),he=N||`datepicker-${Math.random().toString(36).substring(2,9)}`,me=`${he}-calendar`,pe="single"===l?R:O,ge=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e]||"",ve=()=>{},Se=()=>{},fe=()=>{},Ee=()=>t(a,{children:[t("div",{className:"c-datepicker__header",children:["days"===M&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(Wi,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-month",onClick:Z,"aria-label":"Previous month",children:e(Wi,{name:"CaretLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:$,"aria-label":`${ge(D)} ${k}`,children:[ge(D)," ",k]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-month",onClick:j,"aria-label":"Next month",children:e(Wi,{name:"CaretRight",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(Wi,{name:"CaretDoubleRight",size:"sm"})})]}),"months"===M&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(Wi,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__view-switch",onClick:J,"aria-label":`Year ${k}`,children:k}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(Wi,{name:"CaretDoubleRight",size:"sm"})})]}),"years"===M&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-decade",onClick:ve,"aria-label":"Previous decade",children:e(Wi,{name:"CaretDoubleLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:fe,children:[ie()[0]," - ",ie()[ie().length-1]]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-decade",onClick:Se,"aria-label":"Next decade",children:e(Wi,{name:"CaretDoubleRight",size:"sm"})})]})]}),t("div",{className:"c-datepicker__body",children:["days"===M&&t(a,{children:[t("div",{className:"c-datepicker__weekdays"+(A?" c-datepicker__weekdays--has-weeknumber":""),role:"row",children:[A&&e("div",{className:"c-datepicker__weekday",children:"Wk"}),["Su","Mo","Tu","We","Th","Fr","Sa"].map((t=>e("div",{className:"c-datepicker__weekday",role:"columnheader",children:t},t)))]}),e("div",{className:"c-datepicker__days"+(A?" c-datepicker__days--has-weeknumber":""),role:"grid",children:(()=>{const t=[],a=ae();for(let n=0;n<a.length;n++){const i=a[n];if(!i)continue;const r=new Date(i.year,i.month,i.day),o=re(i.year,i.month,i.day),l=oe(i.year,i.month,i.day),s=se(i.year,i.month,i.day),c=le(i.year,i.month,i.day);if(A&&n%7==0){const a=ce(r);t.push(e("div",{className:"c-datepicker__weeknumber",role:"rowheader",children:a},`weeknumber-${Math.floor(n/7)}`))}t.push(e("button",{type:"button",className:`c-datepicker__day\n ${i.isCurrentMonth?"":"c-datepicker__day--outside"}\n ${l?"c-datepicker__day--selected":""}\n ${c?"c-datepicker__day--in-range":""}\n ${s?"c-datepicker__day--today":""}\n ${o?"":"c-datepicker__day--disabled"}`,onClick:()=>o&&Q(i.day),disabled:!o,tabIndex:i.isCurrentMonth?0:-1,"aria-label":r.toLocaleDateString(),"aria-selected":l?"true":"false",role:"gridcell",children:i.day},`day-${n}`))}return t})()})]}),"months"===M&&e("div",{className:"c-datepicker__months",role:"grid",children:ne().map(((t,a)=>{const n=r&&r.getMonth()===t.month&&r.getFullYear()===k;return e("button",{type:"button",className:"c-datepicker__month "+(n?"c-datepicker__month--selected":""),onClick:()=>ee(t.month),"aria-selected":n?"true":"false",role:"gridcell",children:t.name.substring(0,3)},`month-${a}`)}))}),"years"===M&&e("div",{className:"c-datepicker__years",role:"grid",children:ie().map(((t,a)=>{const n=r&&r.getFullYear()===t;return e("button",{type:"button",className:"c-datepicker__year "+(n?"c-datepicker__year--selected":""),onClick:()=>te(t),"aria-selected":n?"true":"false",role:"gridcell",children:t},`year-${a}`)}))})]}),"days"===M&&t("div",{className:"c-datepicker__footer",children:["range"===l&&t("div",{className:"c-datepicker__range-status c-badge c-badge--sm c-badge--info u-w-100",children:["Selecting ","start"===P?"start":"end"," date"]}),E&&e("button",{type:"button",className:"c-datepicker__today-button c-btn c-btn--sm c-btn--outline-primary",onClick:K,"aria-label":"Go to today",children:"Today"}),!b&&e("button",{type:"button",className:"c-datepicker__close-button c-btn c-btn--sm c-btn--outline-error",onClick:()=>V(!1),"aria-label":"Close calendar",children:"Close"})]})]});return t("div",{className:de,ref:z,...I,children:[!b&&t("div",{className:"c-datepicker__input-wrapper",children:[e("input",{id:he,name:_,ref:F,type:"text",className:ue,placeholder:"single"===l?p:"start"===P?"Select start date...":U?`${uo(U,u)} - Select end date...`:"Select date range...",value:pe,onChange:Y,onFocus:H,disabled:v,readOnly:S,"aria-haspopup":"dialog","aria-expanded":w,"aria-controls":me}),f&&pe&&e("button",{type:"button",className:"c-datepicker__clear-button",onClick:W,"aria-label":"Clear date",children:e(Wi,{name:"X",size:"sm"})}),e("span",{className:"c-datepicker__calendar-icon","aria-hidden":"true",children:e(Wi,{name:"Calendar",size:"sm",color:"var(--atomix-secondary-text-emphasis)"})})]}),(w||b)&&e(a,{children:e("div",x?{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${T} c-datepicker__calendar--glass`,role:"dialog","aria-modal":b?void 0:"true","aria-label":"Date picker",children:e(Gi,{...!0===x?{displacementScale:50,blurAmount:3,saturation:160,aberrationIntensity:0,cornerRadius:12,overLight:!1,elasticity:0,mode:"standard"}:x,children:e("div",{className:"c-datepicker__glass-content",children:Ee()})})}:{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${T}`,role:"dialog","aria-modal":b?void 0:"true","aria-label":"Date picker",children:Ee()})})]})}));mo.displayName="DatePicker";const po=v({isOpen:!1,close:()=>{},id:"",trigger:"click"}),go=a=>{let{children:n,menu:l,placement:s="bottom-start",trigger:c="click",offset:u=ce.DEFAULTS.OFFSET,isOpen:h,onOpenChange:m,closeOnClickOutside:p=!0,closeOnEscape:g=!0,maxHeight:v,minWidth:S=ce.DEFAULTS.MIN_WIDTH,variant:f,className:E="",glass:A,...b}=a;const[N,_]=i(!1),C=void 0!==h,T=C?h:N,L=r(null),y=r(null),x=r(null),I=r(`dropdown-${Math.random().toString(36).substring(2,9)}`).current,w=d((e=>{C||_(e),m&&m(e)}),[C,m]),R=d((()=>w(!T)),[T,w]),O=d((()=>{w(!1),setTimeout((()=>{var e;null===(e=y.current)||void 0===e||e.focus()}),0)}),[w]);o((()=>{if(!T||!p)return;const e=e=>{L.current&&!L.current.contains(e.target)&&O()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[T,p,O]),o((()=>{if(!T||!g)return;const e=e=>{"Escape"===e.key&&O()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[T,g,O]);const M=d((e=>{var t,a;if(!x.current)return;const n=x.current.querySelectorAll('[role="menuitem"]:not([disabled])');if(!n.length)return;const i=Array.from(n).findIndex((e=>e===document.activeElement));switch(e.key){case"ArrowDown":var r,o;if(e.preventDefault(),i<n.length-1)null===(r=n[i+1])||void 0===r||r.focus();else null===(o=n[0])||void 0===o||o.focus();break;case"ArrowUp":var l,s;if(e.preventDefault(),i>0)null===(l=n[i-1])||void 0===l||l.focus();else null===(s=n[n.length-1])||void 0===s||s.focus();break;case"Home":e.preventDefault(),null===(t=n[0])||void 0===t||t.focus();break;case"End":e.preventDefault(),null===(a=n[n.length-1])||void 0===a||a.focus()}}),[]),D=d((e=>{"click"===c&&(e.preventDefault(),e.stopPropagation(),R())}),[c,R]),k=d((e=>{"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key||T?"Escape"===e.key&&T&&(e.preventDefault(),O()):(e.preventDefault(),w(!0),"ArrowDown"===e.key&&x.current&&setTimeout((()=>{var e;const t=null===(e=x.current)||void 0===e?void 0:e.querySelector('[role="menuitem"]');null==t||t.focus()}),100))}),[T,w,O]),B=d((()=>{"hover"===c&&w(!0)}),[c,w]),P=["c-dropdown","click"===c?"c-dropdown--onclick":"",f?`c-dropdown--${f}`:"",T?"is-open":"",A?"c-dropdown--glass":"",E].filter(Boolean).join(" "),z={};v&&(z.maxHeight=v),void 0!==S&&(z.minWidth="number"==typeof S?`${S}px`:S);const F=e("div",{className:"c-dropdown__menu-inner",style:z,children:e(po.Provider,{value:{isOpen:T,close:O,id:I,trigger:c},children:e("ul",{className:"c-dropdown__menu "+(A?"c-dropdown__menu--glass":""),children:l})})});return t("div",{ref:L,className:P,onMouseEnter:"hover"===c?B:void 0,...b,children:[e("div",{ref:y,className:"c-dropdown__toggle",onClick:D,onKeyDown:k,"aria-haspopup":"menu","aria-expanded":T,"aria-controls":I,tabIndex:0,children:n}),e("div",{ref:x,id:I,className:`c-dropdown__menu-wrapper c-dropdown__menu-wrapper--${s} ${T?"is-open":""}`,role:"menu","aria-orientation":"vertical","aria-hidden":!T,onKeyDown:M,children:A?(()=>{const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:12,mode:"shader"},a=!0===A?t:{...t,...A};return e(Gi,{...a,style:{position:"absolute",width:"100%",height:"100%"},children:F})})():F})]})};function vo(e){const t={position:"start",mode:"slide",isOpen:!1,backdrop:!0,closeOnBackdropClick:!0,closeOnEscape:!0,...e},[a,n]=i(t.isOpen||!1),l=r(null),s=r(null),c=d((()=>{if(!l.current||"push"!==t.mode)return;const{position:e}=t,a="top"===e||"bottom"===e?l.current.clientHeight:l.current.clientWidth;let n;switch(e){case"start":n="paddingLeft";break;case"end":n="paddingRight";break;default:n=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[n]=`${a}px`,document.body.classList.add("is-pushed")}),[t.mode,t.position]),u=d((()=>{if("push"!==t.mode)return;const{position:e}=t;let a;switch(e){case"start":a="paddingLeft";break;case"end":a="paddingRight";break;default:a=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[a]="",document.body.classList.remove("is-pushed")}),[t.mode,t.position]),h=d((()=>{if(n(!0),document.body.classList.add("is-edgepanel-open"),l.current){const{mode:e}=t;if("none"!==e){l.current.classList.add("is-animating"),l.current.offsetHeight;const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-animating")}),Z.ANIMATION_DURATION)}l.current.style.transform="translate(0)","push"===t.mode&&c()}t.onOpenChange&&t.onOpenChange(!0)}),[t,c]),m=d((()=>{if(l.current){const{position:e,mode:a}=t;if("none"!==a){l.current.classList.add("is-animating-out");const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-animating-out")}),Z.ANIMATION_DURATION)}l.current.style.transform=e?Z.TRANSFORM_VALUES[e]:"","push"===t.mode&&u();setTimeout((()=>{n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),"none"===a?0:Z.ANIMATION_DURATION)}else n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),[t,u]),p=d((e=>{t.closeOnEscape&&"Escape"===e.key&&a&&m()}),[m,t.closeOnEscape,a]),g=d((e=>{t.closeOnBackdropClick&&e.target===e.currentTarget&&m()}),[m,t.closeOnBackdropClick]);return o((()=>(a&&t.closeOnEscape&&document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)})),[a,p,t.closeOnEscape]),o((()=>{if(l.current){const{position:e,mode:n}=t;a||"slide"!==n&&"push"!==n||!e||(l.current.style.transform=Z.TRANSFORM_VALUES[e])}}),[t.mode,t.position,a]),o((()=>{void 0!==t.isOpen&&t.isOpen!==a&&(t.isOpen?h():m())}),[t.isOpen,m,a,h]),{isOpen:a,containerRef:l,backdropRef:s,generateEdgePanelClass:e=>{const{position:n=t.position,className:i="",isOpen:r}=e,o=Z.CLASSES.BASE;return`${o} ${n?`${o}--${n}`:""} ${r??a?Z.CLASSES.IS_OPEN:""} ${i}`.trim()},openPanel:h,closePanel:m,handleBackdropClick:g}}go.displayName="Dropdown";const So=a=>{let{title:n,children:i,position:r="start",mode:o="slide",isOpen:l=!1,onOpenChange:s,backdrop:c=!0,closeOnBackdropClick:d=!0,closeOnEscape:u=!0,className:h=""}=a;const{isOpen:m,containerRef:p,backdropRef:g,generateEdgePanelClass:v,closePanel:S,handleBackdropClick:f}=vo({position:r,mode:o,isOpen:l,onOpenChange:s,backdrop:c,closeOnBackdropClick:d,closeOnEscape:u}),E=v({position:r,isOpen:l,className:h});return m||!1!==l?t("div",{className:E,"data-position":r,"data-mode":o,children:[c&&e("div",{ref:g,className:"c-edge-panel__backdrop",onClick:f}),t("div",{ref:p,className:"c-edge-panel__container",children:[t("div",{className:"c-edge-panel__header",children:[e("h4",{children:n}),e("button",{className:"c-edge-panel__close c-btn c-btn--icon",onClick:S,"aria-label":"Close panel",children:e(Wi,{name:"X"})})]}),e("div",{className:"c-edge-panel__body",children:i})]})]}):null};So.displayName="EdgePanel";const fo="c-checkbox",Eo="is-error",Ao="is-valid",bo="is-disabled",No="c-checkbox--mixed";function _o(e){const t={disabled:!1,invalid:!1,valid:!1,indeterminate:!1,...e},a=r(null);o((()=>{a.current&&(a.current.indeterminate=Boolean(t.indeterminate))}),[t.indeterminate]);return{defaultProps:t,generateCheckboxClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,indeterminate:r=t.indeterminate,className:o=""}=e;let l="";n?l=Eo:i&&(l=Ao);return`${fo} ${l} ${a?bo:""} ${r?No:""} ${o}`.trim()},checkboxRef:a}}const Co=a=>{let{label:n,checked:i=!1,onChange:r,className:o="",disabled:l=!1,required:s=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,indeterminate:p=!1,ariaLabel:g,ariaDescribedBy:v,glass:S}=a;const{generateCheckboxClass:f,checkboxRef:E}=_o({indeterminate:p,disabled:l,invalid:h,valid:m}),A=f({className:`${o} ${S?"c-checkbox--glass":""}`.trim(),disabled:l,invalid:h,valid:m,indeterminate:p}),b=t("div",{className:A,children:[e("input",{ref:E,type:"checkbox",className:"c-checkbox__input",checked:i,onChange:r,disabled:l,required:s,id:c,name:d,value:u,"aria-label":n?void 0:g,"aria-describedby":v,"aria-invalid":h}),n&&e("label",{className:"c-checkbox__label",htmlFor:c,children:n})]});if(S){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===S?t:{...t,...S};return e(Gi,{...a,children:b})}return b};function To(e){const t={disabled:!1,...e};return{defaultProps:t,generateFormClass:e=>{const{disabled:a=t.disabled,className:n=""}=e,i=a?$.CLASSES.DISABLED:"";return`${$.CLASSES.BASE} ${i} ${n}`.trim()},handleSubmit:e=>a=>{a.preventDefault(),!t.disabled&&e&&e(a)},handleReset:e=>a=>{!t.disabled&&e&&e(a)}}}Co.displayName="Checkbox";const Lo=t=>{let{children:a,onSubmit:n,onReset:i,className:r="",disabled:o=!1,id:l,method:s="post",encType:c,noValidate:d=!1,autoComplete:u="on"}=t;const{generateFormClass:h,handleSubmit:m,handleReset:p}=To({disabled:o}),g=h({className:r,disabled:o});return e("form",{id:l,className:g,onSubmit:m(n),onReset:p(i),method:s,encType:c,noValidate:d,autoComplete:u,children:a})};function yo(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateFormGroupClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,l="md"===a?"":"sm"===a?J.CLASSES.SMALL:J.CLASSES.LARGE,s=i?J.CLASSES.INVALID:r?J.CLASSES.VALID:"",c=n?J.CLASSES.DISABLED:"";return`${J.CLASSES.BASE} ${l} ${s} ${c} ${o}`.trim()}}}Lo.displayName="Form";const xo=a=>{let{children:n,label:i,helperText:r,htmlFor:o,className:l="",disabled:s=!1,required:c=!1,invalid:d=!1,valid:u=!1,size:h="md"}=a;const{generateFormGroupClass:m}=yo({size:h,disabled:s,invalid:d,valid:u}),p=m({className:l,disabled:s,invalid:d,valid:u,size:h});return t("div",{className:p,children:[i&&t("label",{className:"c-form-group__label",htmlFor:o,children:[i,c&&e("span",{className:"c-form-group__required",children:"*"})]}),e("div",{className:"c-form-group__field",children:n}),r&&e("div",{className:"c-form-group__helper",children:r})]})};function Io(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateInputClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:l="",type:s}=e,c="md"===a?"":"sm"===a?ee.CLASSES.SMALL:ee.CLASSES.LARGE,d=n?`c-input--${n}`:"",u="textarea"===s?"c-input--textarea":"";let h="";r?h=ee.CLASSES.INVALID:o&&(h=ee.CLASSES.VALID);const m=i?ee.CLASSES.DISABLED:"";return`${ee.CLASSES.BASE} ${c} ${d} ${u} ${h} ${m} ${l}`.trim()}}}xo.displayName="FormGroup";const wo=l(((t,a)=>{let{type:n="text",value:i,onChange:r,onBlur:o,onFocus:l,placeholder:s,className:c="",disabled:d=!1,required:u=!1,readOnly:h=!1,id:m,name:p,autoComplete:g,autoFocus:v=!1,size:S="md",variant:f,invalid:E=!1,valid:A=!1,maxLength:b,minLength:N,pattern:_,min:C,max:T,step:L,ariaLabel:y,ariaDescribedBy:x,glass:I}=t;const{generateInputClass:w}=Io({size:S,variant:f,disabled:d,invalid:E,valid:A}),R=w({className:`${c} ${I?"c-input--glass":""}`.trim(),size:S,variant:f,disabled:d,invalid:E,valid:A,type:n}),O=e("input",{ref:a,type:n,className:R,value:i,onChange:r,onBlur:o,onFocus:l,placeholder:s,disabled:d,required:u,readOnly:h,id:m,name:p,autoComplete:g,autoFocus:v,maxLength:b,minLength:N,pattern:_,min:C,max:T,step:L,"aria-label":y,"aria-describedby":x,"aria-invalid":E,style:I?{}:void 0});if(I){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===I?t:{...t,...I};return e(Gi,{...a,children:O})}return O}));function Ro(e){const t=r(null),a=r(null),n=r(null),i={alignment:"left",imageColSize:7,contentColSize:5,imageAlt:"Hero image",showOverlay:!0,fullViewportHeight:!1,contentWidth:void 0,parallax:!1,parallaxIntensity:.5,...e},l=!!i.backgroundImageSrc,s=!!i.imageSrc,c=s&&"center"!==i.alignment,d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;if(!e)return;const a=Math.max(0,Math.min(1,t));e.classList.add("c-hero--parallax");const i=()=>{const t=window.pageYOffset*a,n=e.querySelector(D.SELECTORS.BG);n&&(n.style.transform=`translateY(${t}px)`)};n.current=i,window.addEventListener("scroll",i),i()},u=e=>{if(!e)return;e.classList.remove("c-hero--parallax");const t=e.querySelector(D.SELECTORS.BG);t&&(t.style.transform=""),n.current&&(window.removeEventListener("scroll",n.current),n.current=null)};o((()=>{const e=t.current;return e&&i.parallax&&l&&d(e,i.parallaxIntensity),()=>{e&&n.current&&u(e)}}),[i.parallax,i.parallaxIntensity,l]);return{generateHeroClassNames:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=[D.SELECTORS.HERO.replace(".","")];return"center"===i.alignment?t.push(D.CLASSES.CENTER):"right"===i.alignment?t.push(D.CLASSES.RIGHT):"left"===i.alignment&&t.push(D.CLASSES.LEFT),i.fullViewportHeight&&t.push(D.CLASSES.FULL_VH),i.parallax&&t.push("c-hero--parallax"),i.videoBackground&&t.push("c-hero--video"),e&&t.push(e),t.join(" ")},generateImageColClass:function(){const e=[`o-grid__col o-grid__col--md-${arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.imageColSize||7}`];return"left"===i.alignment&&e.push("u-mt-5 u-mt-md-0"),e.join(" ")},generateContentColClass:function(){return`o-grid__col o-grid__col--md-${arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.contentColSize||5}`},hasBackgroundImage:l,hasForegroundImage:s,useGridLayout:c,heroRef:t,videoRef:a,applyParallaxEffect:d,removeParallaxEffect:u}}function Oo(e){const t={center:!1,breakout:!1,reverse:!1,imageAlt:"Image",showOverlay:!0,...e};return{generateRiverClassNames:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const a=[Y.SELECTORS.RIVER.replace(".","")];return t.center&&a.push(Y.CLASSES.CENTER),t.breakout&&a.push(Y.CLASSES.BREAKOUT),t.reverse&&a.push(Y.CLASSES.REVERSE),e&&a.push(e),a.join(" ")},generateContentClass:()=>Y.SELECTORS.CONTENT.replace(".",""),generateVisualClass:()=>Y.SELECTORS.VISUAL.replace(".",""),hasBackgroundImage:!!t.backgroundImageSrc,hasForegroundImage:!!t.imageSrc,textContent:"string"==typeof t.text?[t.text]:t.text||[]}}function Mo(e){const t={position:"static",collapsible:!0,backdrop:!1,closeOnOutsideClick:!0,closeOnEscape:!0,ariaLabel:"Main navigation",...e},[a,n]=i(t.expanded||!1);return{defaultProps:t,isExpanded:a,setIsExpanded:n,generateNavbarClass:e=>{const{position:a=t.position,variant:n,collapsible:i=t.collapsible,className:r=""}=e;return`c-navbar ${"static"!==a?`c-navbar--${a}`:""} ${n?`c-navbar--${n}`:""} ${i?"c-navbar--collapsible":""} ${r}`.trim()},generateContainerStyle:e=>e?{maxWidth:e}:{},generateCollapseClass:e=>("c-navbar__collapse "+(e?"is-expanded":"")).trim(),toggleExpanded:()=>{const e=!a;n(e),t.onToggle&&t.onToggle(e)},getExpandedState:e=>void 0!==e?e:a}}function Do(e){const t={alignment:"start",variant:"default",...e};return{defaultProps:t,generateNavClass:e=>{const{alignment:a=t.alignment,variant:n=t.variant,className:i=""}=e;return`c-nav ${"start"!==a?`c-nav--${a}`:""} ${"default"!==n?`c-nav--${n}`:""} ${i}`.trim()}}}function ko(e){const t={dropdown:!1,megaMenu:!1,active:!1,...e};return{defaultProps:t,generateNavItemClass:e=>{const{dropdown:a=t.dropdown,megaMenu:n=t.megaMenu,active:i=t.active,disabled:r=t.disabled,className:o=""}=e;return`c-nav__item ${a&&!n?W.SELECTORS.DROPDOWN.replace(".",""):""} ${n?"c-nav__item--mega-menu":""} ${i?W.CLASSES.ACTIVE:""} ${r?W.CLASSES.DISABLED:""} ${o}`.trim()},generateNavLinkClass:function(){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return`c-nav__link ${arguments.length>0&&void 0!==arguments[0]&&arguments[0]?W.CLASSES.ACTIVE:""} ${e?"c-nav__link--disabled":""} ${t}`.trim()},handleClick:e=>a=>{!t.disabled&&e?e():a.preventDefault()}}}function Bo(e){const t={collapsible:!0,isOpen:!1,...e},[a,n]=i(t.isOpen||!1),l=r(null),s=r(null);o((()=>{void 0!==t.isOpen&&n(t.isOpen)}),[t.isOpen]),o((()=>{const e=()=>{const e=window.innerWidth<768;if(!e&&t.collapsible)"function"==typeof t.onToggle?t.onToggle(!0):n(!0),l.current&&(l.current.style.height="auto");else if(e&&l.current&&s.current){const e=void 0!==t.isOpen?t.isOpen:a;l.current.style.height=e?`${s.current.scrollHeight}px`:"0px"}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t.collapsible,t.isOpen,t.onToggle,a]),o((()=>{if(window.innerWidth<768&&l.current&&s.current&&t.collapsible){const e=void 0!==t.isOpen?t.isOpen:a;l.current.style.height=e?`${s.current.scrollHeight}px`:"0px"}}),[t.isOpen,a,t.collapsible]);const c=()=>void 0!==t.isOpen?t.isOpen:a;return{defaultProps:t,isOpenState:c(),wrapperRef:l,innerRef:s,generateSideMenuClass:e=>{const{className:t="",isOpen:a=!1}=e,n=a?Q.CLASSES.IS_OPEN:"";return`${Q.CLASSES.BASE} ${n} ${t}`.trim()},generateWrapperClass:()=>Q.CLASSES.WRAPPER,handleToggle:()=>{if(t.disabled)return;const e=void 0!==t.isOpen?!t.isOpen:!a;"function"==typeof t.onToggle?t.onToggle(e):n(e)},getCurrentOpenState:c}}function Po(e){const t={active:!1,disabled:!1,...e};return{defaultProps:t,generateSideMenuItemClass:()=>{const{active:e=t.active,disabled:a=t.disabled,className:n=""}=t,i=e?Q.CLASSES.ACTIVE:"",r=a?Q.CLASSES.DISABLED:"";return`${Q.CLASSES.LINK} ${i} ${r} ${n}`.trim()},handleClick:e=>a=>{t.disabled?a.preventDefault():e&&e(a)}}}function zo(e,t){return e.classList.contains(t)}wo.displayName="Input";const Fo={House:"M240 121.6V240h-48v-72a24 24 0 0 0-24-24h-80a24 24 0 0 0-24 24v72H16V121.6a16 16 0 0 1 5.4-12L111.4 29a16 16 0 0 1 21.2 0l90 80.6a16 16 0 0 1 5.4 12Z",Package:"M223.68 66.15 135.68 18a15.88 15.88 0 0 0-15.36 0l-88 48.13a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03ZM128 32.59l74.12 40.55-32 17.56-74.12-40.55ZM96 68.08l73.56 40.23-32.04 17.53L64 85.64ZM40 95.83l72 39.39v79.23l-72-39.4Zm144 79.22v-79.23l72-39.39v79.22Z",Folder:"M216 72h-84.7L104.4 44.2A16.05 16.05 0 0 0 92.7 40H40a16 16 0 0 0-16 16v144.3a15.91 15.91 0 0 0 15.9 15.7h176.2a15.91 15.91 0 0 0 15.9-15.7V88a16 16 0 0 0-16-16Z",Tag:"M246.15 128.6 183.06 65.5l.09-24.21A16.05 16.05 0 0 0 167 25.14l-24.1.09L79.4 88.85a16 16 0 0 0 0 22.63l67.26 67.27a16 16 0 0 0 22.63 0l76.86-76.86a16 16 0 0 0 0-23.29ZM160 152l-56-56 56-56 56 56Zm-16-72a16 16 0 1 1-16 16 16 16 0 0 1 16-16Z",CaretRight:"M181.66 133.66l-80 80A8 8 0 0 1 88 208V48a8 8 0 0 1 13.66-5.66l80 80a8 8 0 0 1 0 11.32Z",CaretDown:"M208 96v16a8 8 0 0 1-2.34 5.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 32 112V96a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8Z",User:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z",Home:"M224 115.55V208a16 16 0 0 1-16 16h-40a16 16 0 0 1-16-16v-40a8 8 0 0 0-8-8h-32a8 8 0 0 0-8 8v40a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-92.45a16 16 0 0 1 5.17-11.78l80-75.48a16 16 0 0 1 21.66 0l80 75.48a16 16 0 0 1 5.17 11.78Z",X:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128l66.35 66.34Z",Calendar:"M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16ZM72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160v112Z",CaretDoubleLeft:"M181.66 181.66a8 8 0 0 1-11.32 0L120 131.31V160a8 8 0 0 1-13.66 5.66l-48-48a8 8 0 0 1 0-11.32l48-48A8 8 0 0 1 120 64v28.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0L102.63 98 64 128l38.63 30L114.34 146.63a8 8 0 0 1 11.32 0l56 56a8 8 0 0 1 0 11.32Z",CaretDoubleRight:"M74.34 181.66a8 8 0 0 0 11.32 0L136 131.31V160a8 8 0 0 0 13.66 5.66l48-48a8 8 0 0 0 0-11.32l-48-48A8 8 0 0 0 136 64v28.69L85.66 42.34a8 8 0 0 0-11.32 11.32l56 56a8 8 0 0 0 11.32 0l11.71-11.71L192 128l-38.63 30-11.71-11.71a8 8 0 0 0-11.32 0l-56 56a8 8 0 0 0 0 11.32Z"};function Uo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;const a=Fo[e]||"";return`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" fill="currentColor" viewBox="0 0 256 256">\n <path d="${a}"></path>\n </svg>`}function Go(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Vo(e){const t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return t?t[1]:null}function Yo(e){return/(?:youtube\.com|youtu\.be)/.test(e)}var Ho=Object.freeze({__proto__:null,addClass:function(e,t){zo(e,t)||e.classList.add(t)},cn:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter(Boolean).flat().map((e=>String(e).trim())).filter(Boolean).join(" ")},createIconElement:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=document.createElement("span");return n.className=a||"c-icon",n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center",n.innerHTML=Uo(e,t),n},createPhosphorIcon:Uo,extractYouTubeId:Vo,generateUUID:Go,getAvailableIcons:function(){return Object.keys(Fo)},hasClass:zo,isYouTubeUrl:Yo,removeClass:function(e,t){zo(e,t)&&e.classList.remove(t)},toggleClass:function(e,t,a){e.classList.toggle(t,a)}});function Wo(e){const t={items:[],title:"Todo List",size:"md",placeholder:"Add a new todo",showCompleted:!0,...e},[a,n]=i(t.items||[]),[r,o]=i(""),l=e=>{if(!e.trim())return null;const t={id:Go(),text:e.trim(),completed:!1};return n((e=>[...e,t])),o(""),t};return{items:a,inputText:r,setInputText:o,addTodo:l,toggleTodo:e=>{let t=null;return n((a=>a.map((a=>a.id===e?(t={...a,completed:!a.completed},t):a)))),t},deleteTodo:e=>{const t=a.length;return n((t=>t.filter((t=>t.id!==e)))),a.length!==t},handleSubmit:(e,t)=>{if(e.preventDefault(),!r.trim())return;const a=l(r);a&&t&&t(a.text)},generateTodoClasses:e=>{const{size:a=t.size,className:n="",disabled:i=!1}=e,r="md"===a?"":`c-todo--${a}`,o=i?"c-todo--disabled":"";return`${X.CLASSES.BASE} ${r} ${o} ${n}`.trim()},generateItemClasses:e=>{const t=e.completed?X.CLASSES.COMPLETED:"";return`${X.CLASSES.ITEM} ${t}`.trim()},getFilteredItems:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?a:a.filter((e=>!e.completed))}}}function Qo(e){const t={disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateRadioClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,className:r=""}=e;let o="";n?o=te.CLASSES.INVALID:i&&(o=te.CLASSES.VALID);const l=a?te.CLASSES.DISABLED:"";return`${te.CLASSES.BASE} ${o} ${l} ${r}`.trim()}}}function Ko(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateSelectClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:r=t.valid,className:o=""}=e,l="md"===a?"":"sm"===a?ne.CLASSES.SMALL:ne.CLASSES.LARGE;let s="";i?s=ne.CLASSES.INVALID:r&&(s=ne.CLASSES.VALID);const c=n?ne.CLASSES.DISABLED:"";return`${ne.CLASSES.BASE} ${l} ${s} ${c} ${o}`.trim()}}}function Zo(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateTextareaClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:r=t.invalid,valid:o=t.valid,className:l=""}=e,s="md"===a?"":"sm"===a?ie.CLASSES.SMALL:ie.CLASSES.LARGE,c=n?`c-input--${n}`:"";let d="";r?d=ie.CLASSES.INVALID:o&&(d=ie.CLASSES.VALID);const u=i?ie.CLASSES.DISABLED:"";return`${ie.CLASSES.BASE} ${s} ${c} ${d} ${u} ${l}`.trim()}}}function jo(e){const{slides:t,slidesToShow:a=1,spaceBetween:n=0,loop:l=!1,initialSlide:s=0,direction:u="horizontal",speed:h=300,allowTouchMove:m=!0,threshold:p=50,autoplay:g,onSlideChange:v}=e,S=r(null),f=r(null),E=r(!1),A=r(null),[b,N]=i(!1),[_,C]=i(s),[T,L]=i(0),[y,x]=i(!1),[I,w]=i(0),[R,O]=i(!1),[M,D]=i(0),[k,B]=i(0),P=c((()=>0===I?0:(I-n*(a-1))/a),[I,n,a]),z=c((()=>{if(!l||0===t.length)return t;return[...t.map(((e,t)=>({...e,id:`set1-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set2-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set3-${e.id||t}`})))]}),[t,l]),F=t.length,U=c((()=>0===P?0:-T*P+k),[P,T,k]);o((()=>{if(!g)return A.current&&(clearInterval(A.current),A.current=null),void N(!1);const e="boolean"==typeof g?{delay:3e3}:g,{delay:n=3e3,pauseOnMouseEnter:i=!1,disableOnInteraction:r=!1,reverseDirection:o=!1}=e;A.current&&clearInterval(A.current),A.current=setInterval((()=>{C((e=>{if(y)return e;let n;if(r&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),n=l?(e+1)%t.length:Math.min(e+1,t.length-a),o){const a=l?0===e?t.length-1:e-1:Math.max(e-1,0);return L(l?t.length+a:a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(a)}),h),a}return L(l?t.length+n:n),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(n),l&&n>=2*t.length&&(E.current=!0,L(t.length+n),setTimeout((()=>{E.current=!1}),0))}),h),n}))}),n),N(!0);let s=null;const c=()=>{A.current&&(clearInterval(A.current),A.current=null,N(!1))},d=()=>{A.current&&clearInterval(A.current),A.current=setInterval((()=>{C((e=>{if(y)return e;let n;return n=l?(e+1)%t.length:Math.min(e+1,t.length-a),L(l?t.length+n:n),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(n),l&&n>=2*t.length&&(E.current=!0,L(t.length+n),setTimeout((()=>{E.current=!1}),0))}),h),n}))}),n),N(!0)};return i&&S.current&&(s=S.current,s.addEventListener("mouseenter",c),s.addEventListener("mouseleave",d)),()=>{A.current&&(clearInterval(A.current),A.current=null),s&&(s.removeEventListener("mouseenter",c),s.removeEventListener("mouseleave",d)),N(!1)}}),[g,t.length,l,a,y,h,v,E]),o((()=>{L(l?t.length+s:s)}),[l,t.length,s]),o((()=>{const e=()=>{if(S.current){const e="horizontal"===u?S.current.offsetWidth:S.current.offsetHeight;w(e)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[u]);const G=d((()=>{if(!y)if(g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),l){const e=(_+1)%t.length,a=T+1;C(e),L(a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e),a>=2*t.length&&(E.current=!0,L(t.length+e),setTimeout((()=>{E.current=!1}),0))}),h)}else{const e=Math.min(_+1,t.length-a);C(e),L(e),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e)}),h)}}),[_,T,t.length,a,l,y,h,v,z.length,F,g]),V=d((()=>{if(!y)if(g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),l){const e=0===_?t.length-1:_-1,a=T-1;C(e),L(a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e),a<t.length&&(E.current=!0,L(t.length+e),setTimeout((()=>{E.current=!1}),0))}),h)}else{const e=Math.max(_-1,0);C(e),L(e),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e)}),h)}}),[_,T,t.length,l,y,h,v,z.length,F,g]),Y=d((e=>{y||e===_||(g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),x(!0),B(0),C(e),L(l?t.length+e:e),setTimeout((()=>{x(!1),null==v||v(e)}),h))}),[_,y,h,v,l,F,g]),H=d((e=>{var t,a;if(!m)return;g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1));const n="horizontal"===u?"touches"in e?(null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0:e.clientX:"touches"in e?(null===(a=e.touches[0])||void 0===a?void 0:a.clientY)||0:e.clientY;D(n),O(!0),B(0)}),[m,u,g]),W=d((e=>{var t,a;if(!R||!m)return;const n="horizontal"===u?"touches"in e?(null===(t=e.touches[0])||void 0===t?void 0:t.clientX)||0:e.clientX:"touches"in e?(null===(a=e.touches[0])||void 0===a?void 0:a.clientY)||0:e.clientY,i=M-n;Math.abs(i)>10&&(e.preventDefault(),B(.5*-i))}),[R,M,m,u]),Q=d((e=>{var t,a;if(!R||!m)return;const n="horizontal"===u?"changedTouches"in e?(null===(t=e.changedTouches[0])||void 0===t?void 0:t.clientX)||0:e.clientX:"changedTouches"in e?(null===(a=e.changedTouches[0])||void 0===a?void 0:a.clientY)||0:e.clientY,i=M-n;O(!1),B(0),Math.abs(i)>p&&(i>0?G():V())}),[R,M,p,G,V,m,u]),K=l||_<t.length-a,Z=l||_>0;return{activeIndex:_,realIndex:_,previousIndex:_,isBeginning:!l&&0===_,isEnd:!l&&_>=t.length-a,progress:t.length>0?_/(t.length-1):0,autoplayRunning:b,transitioning:y,touching:R,translate:U,slidesPerView:a,slidesCount:t.length,isLocked:!1,destroyed:!1,size:I,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},allowSlideNext:K,allowSlidePrev:Z,allowTouchMove:m,animating:y,enabled:!0,initialized:!0,slideNext:G,slidePrev:V,goToSlide:Y,canSlideNext:K,canSlidePrev:Z,containerRef:S,wrapperRef:f,handleTouchStart:H,handleTouchMove:W,handleTouchEnd:Q,allSlides:z,translateValue:U,slideWidth:P,currentSlidesToShow:a,loopedSlides:F,repositioningRef:E}}var qo=Object.freeze({__proto__:null,DOTS:ao,useAccordion:Se,useAtomixGlass:function(){return{generateGlassClass:d((e=>{const t=["c-atomix-glass"];return e.size&&"md"!==e.size&&t.push(`c-atomix-glass--${e.size}`),e.mode&&"standard"!==e.mode&&t.push(`c-atomix-glass--${e.mode}`),e.clickable&&t.push("c-atomix-glass--clickable"),e.overLight&&t.push("c-atomix-glass--over-light"),e.active&&t.push("c-atomix-glass--active"),e.className&&t.push(e.className),t.filter(Boolean).join(" ")}),[]),generateElementClass:d(((e,t)=>{const a=`c-atomix-glass__${e}`;return t?`${a}--${t}`:a}),[])}},useBadge:Zi,useBarChart:kr,useBlock:Xi,useBreadcrumb:function(e){return{defaultOptions:{items:[],divider:M.DEFAULTS.DIVIDER,className:"",ariaLabel:"Breadcrumb",...e},generateBreadcrumbClass:e=>{const{className:t=""}=e;return[M.CLASSES.BASE,t].filter(Boolean).join(" ").trim()},generateItemClass:(e,t)=>[M.CLASSES.ITEM,e.active||t?M.CLASSES.ACTIVE:""].filter(Boolean).join(" ").trim(),isItemLink:(e,t)=>Boolean(e.href&&!e.active&&!t),parseItemsFromJson:e=>{try{return JSON.parse(e)}catch(e){return[]}}}},useButton:er,useCard:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{elevationEffect:t=!1,elevationClass:a=ae.CLASSES.ACTIVE,flipEffect:n=!1,flipTrigger:o="click",focusEffect:l=!1,clickable:s=!1,onClick:c}=e,u=r(null),h=r(null),m=r(null),[p,g]=i(!1),[v,S]=i(!1),[f,E]=i(!1),[A,b]=i(!1),N=d((e=>{n&&"click"===o&&g((e=>!e)),c&&c(e)}),[n,o,c]),_=d((e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n&&"click"===o&&g((e=>!e)),c&&c(e))}),[n,o,c]),C=d((()=>{b(!0),t&&S(!0),n&&"hover"===o&&g(!0)}),[t,n,o]),T=d((()=>{b(!1),t&&S(!1),n&&"hover"===o&&g(!1)}),[t,n,o]),L=d((()=>{E(!0)}),[]),y=d((()=>{E(!1)}),[]),x=d((()=>({className:[ae.CLASSES.BASE,v?a:"",p?ae.CLASSES.FLIPPED:"",f&&l?ae.CLASSES.FOCUSED:"",s?ae.CLASSES.CLICKABLE:""].filter(Boolean).join(" "),ref:u,tabxwIndex:s||n?0:-1,role:s?"button":void 0,onMouseEnter:C,onMouseLeave:T,onFocus:L,onBlur:y,onClick:N,onKeyDown:_})),[v,p,f,a,l,s,C,T,L,y,N,_,n]);return{cardRef:u,frontRef:h,backRef:m,isFlipped:p,isElevated:v,isFocused:f,isHovered:A,handleClick:N,handleKeyDown:_,handleMouseEnter:C,handleMouseLeave:T,handleFocus:L,handleBlur:y,getCardProps:x}},useChartData:function(e){const t=c((()=>e.length?e.map(((e,t)=>({...e,value:"number"==typeof e.value?e.value:0,label:e.label||`Point ${t+1}`}))):[]),[e]),a=c((()=>{if(!t.length)return{min:0,max:0,total:0,average:0};const e=t.map((e=>e.value)),a=Math.min(...e),n=Math.max(...e),i=Cr(e).call(e,((e,t)=>e+t),0);return{min:a,max:n,total:i,average:i/e.length}}),[t]);return{data:t,stats:a,isEmpty:0===t.length}},useChartInteraction:function(){const[e,t]=i({hoveredIndex:null,selectedIndex:null});return{interaction:e,handlePointHover:d((e=>{t((t=>({...t,hoveredIndex:e})))}),[]),handlePointClick:d((e=>{t((t=>({...t,selectedIndex:t.selectedIndex===e?null:e})))}),[]),clearInteraction:d((()=>{t({hoveredIndex:null,selectedIndex:null})}),[])}},useChartScale:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;return c((()=>{const n={top:20,right:20,bottom:40,left:40},i=t-n.left-n.right,r=a-n.top-n.bottom;if(!e.length)return{xScale:()=>n.left,yScale:()=>n.top+r,width:t,height:a,padding:n};const o=e.map((e=>e.value)),l=Math.min(0,...o),s=Math.max(...o)-l||1;return{xScale:t=>n.left+t/Math.max(e.length-1,1)*i,yScale:e=>n.top+r-(e-l)/s*r,width:t,height:a,padding:n}}),[e,t,a])},useCheckbox:_o,useDataTable:Jr,useEdgePanel:vo,useForm:To,useFormGroup:yo,useGlassContainer:function(e){const{glassSize:t={width:270,height:69},elasticity:a=.15,mouseContainer:n,globalMousePos:l,mouseOffset:c}=e,u=s(),h=r(null),[m,p]=i(!1),[g,v]=i(!1),[S,f]=i(t),[E,A]=i({x:0,y:0}),[b,N]=i({x:0,y:0}),_=l||E,C=c||b,T=d((e=>{const t=(null==n?void 0:n.current)||h.current;if(!t)return;const a=t.getBoundingClientRect(),i=a.left+a.width/2,r=a.top+a.height/2;N({x:(e.clientX-i)/a.width*100,y:(e.clientY-r)/a.height*100}),A({x:e.clientX,y:e.clientY})}),[n]);o((()=>{if(l&&c)return;const e=(null==n?void 0:n.current)||h.current;return e?(e.addEventListener("mousemove",T),()=>e.removeEventListener("mousemove",T)):void 0}),[T,n,l,c]);const L=d((()=>{if(!_.x||!_.y||!h.current)return"scale(1)";const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=S.width,r=S.height,o=_.x-t,l=_.y-n,s=Math.max(0,Math.abs(o)-i/2),c=Math.max(0,Math.abs(l)-r/2),d=Math.sqrt(s*s+c*c);if(d>200)return"scale(1)";const u=1-d/200,m=Math.sqrt(o*o+l*l);if(0===m)return"scale(1)";const p=o/m,g=l/m,v=Math.min(m/300,1)*a*u,f=1+Math.abs(p)*v*.3-Math.abs(g)*v*.15,E=1+Math.abs(g)*v*.3-Math.abs(p)*v*.15;return`scaleX(${Math.max(.8,f)}) scaleY(${Math.max(.8,E)})`}),[_,a,S]),y=d((()=>{if(!h.current)return{x:0,y:0};const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=S.width,r=S.height,o=Math.max(0,Math.abs(_.x-t)-i/2),l=Math.max(0,Math.abs(_.y-n)-r/2),s=Math.sqrt(o*o+l*l),c=s>200?0:1-s/200;return{x:(_.x-t)*a*.1*c,y:(_.y-n)*a*.1*c}}),[_,a,S]);o((()=>{const e=()=>{if(h.current){const e=h.current.getBoundingClientRect();f({width:e.width,height:e.height})}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]);const x=d((()=>{p(!0)}),[]),I=d((()=>{p(!1)}),[]),w=d((()=>{v(!0)}),[]),R=d((()=>{v(!1)}),[]);return{filterId:u,glassRef:h,isHovered:m,isActive:g,currentGlassSize:S,globalMousePos:_,mouseOffset:C,calculateDirectionalScale:L,calculateElasticTranslation:y,handleMouseEnter:x,handleMouseLeave:I,handleMouseDown:w,handleMouseUp:R}},useHero:Ro,useInput:Io,useLineChart:wr,useModal:function(){let{isOpen:e,onOpenChange:t,onOpen:a,onClose:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[r,l]=i(!1),s=void 0!==e,c=s?!!e:r;o((()=>{s&&l(!!e)}),[e,s]);const u=d((e=>{s||l(e),t&&t(e),e&&a?a():!e&&n&&n()}),[s,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}},useNav:Do,useNavDropdown:function(e){const t={alignment:"start",megaMenu:!1,...e},a=()=>null!==document.querySelector(".c-navbar--fixed-bottom");return{defaultProps:t,generateDropdownMenuClass:e=>{const{alignment:a=t.alignment,megaMenu:n=t.megaMenu,className:i=""}=e,r=n?W.SELECTORS.MEGA_MENU.replace(".",""):W.SELECTORS.DROPDOWN_MENU.replace(".","");let o="";return"center"===a?o=`${r}--center`:"end"===a&&(o=`${r}--end`),`${r} ${o} ${i}`.trim()},isInFixedBottomNavbar:a,getIconClass:function(){return"c-nav__icon "+(a()?"icon-lux-caret-up":"icon-lux-caret-down")},getIconName:function(){return a()?"CaretUp":"CaretDown"}}},useNavItem:ko,useNavbar:Mo,usePagination:io,usePieChart:Hr,useRadio:Qo,useRiver:Oo,useSelect:Ko,useSideMenu:Bo,useSideMenuItem:Po,useSlider:jo,useSpinner:eo,useTextarea:Zo,useTodo:Wo});const Xo=a=>{let{options:n=[],value:l,onChange:s,onBlur:c,onFocus:d,placeholder:u="Select an option",className:h="",disabled:m=!1,required:p=!1,id:g,name:v,size:S="md",invalid:f=!1,valid:E=!1,multiple:A=!1,ariaLabel:b,ariaDescribedBy:N,glass:_}=a;const{generateSelectClass:C}=Ko({size:S,disabled:m,invalid:f,valid:E}),T=C({className:`${h} ${_?"c-select--glass":""}`.trim(),size:S,disabled:m,invalid:f,valid:E}),[L,y]=i(!1),[x,I]=i(u),w=r(null),R=r(null),O=r(null),M=r(null);o((()=>{if(l){const e=n.find((e=>e.value===l));e&&I(e.label)}else I(u)}),[l,n,u]),o((()=>{const e=e=>{w.current&&!w.current.contains(e.target)&&(y(!1),O.current&&(O.current.style.height="0px"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]);const D=t("div",{className:`${T} ${L?ne.CLASSES.IS_OPEN:""}`,ref:w,"aria-expanded":L,children:[t("select",{ref:M,value:l,onChange:s,onBlur:c,onFocus:d,disabled:m,required:p,id:g,name:v,multiple:A,"aria-label":b,"aria-describedby":N,"aria-invalid":f,style:{display:"none"},children:[u&&e("option",{value:"",disabled:!0,children:u}),n.map((t=>e("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)))]}),e("div",{className:ne.CLASSES.SELECTED,onClick:()=>{m||(!L&&O.current&&R.current?O.current.style.height=`${R.current.clientHeight}px`:O.current&&(O.current.style.height="0px"),y(!L))},"aria-disabled":m,children:x}),e("i",{className:`${ne.CLASSES.ICON_CARET} ${ne.CLASSES.TOGGLE_ICON}`}),e("div",{className:ne.CLASSES.SELECT_BODY,ref:O,style:{height:0},children:e("div",{className:ne.CLASSES.SELECT_PANEL,ref:R,children:e("ul",{className:ne.CLASSES.SELECT_ITEMS,children:n.map(((a,n)=>e("li",{className:ne.CLASSES.SELECT_ITEM,"data-value":a.value,onClick:()=>!a.disabled&&(e=>{if(I(e.label),y(!1),O.current&&(O.current.style.height="0px"),M.current&&(M.current.value=e.value),s){const t={target:{name:v,value:e.value}};s(t)}})(a),children:t("label",{htmlFor:`SelectItem${n}`,className:"c-checkbox",children:[e("input",{type:"checkbox",id:`SelectItem${n}`,className:"c-checkbox__input c-select__item-input",checked:l===a.value,readOnly:!0,disabled:a.disabled}),e("div",{className:"c-select__item-label",children:a.label})]})},a.value)))})})})]});if(_){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===_?t:{...t,..._};return e(Gi,{...a,children:D})}return D};Xo.displayName="Select";const $o=a=>{let{label:n,checked:i=!1,onChange:r,className:o="",disabled:l=!1,required:s=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,ariaLabel:p,ariaDescribedBy:g,glass:v}=a;const{generateRadioClass:S}=Qo({disabled:l,invalid:h,valid:m}),f=S({className:`${o} ${v?"c-radio--glass":""}`.trim(),disabled:l,invalid:h,valid:m}),E=t("div",{className:f,children:[e("input",{type:"radio",className:"c-radio__input",checked:i,onChange:r,disabled:l,required:s,id:c,name:d,value:u,"aria-label":n?void 0:p,"aria-describedby":g,"aria-invalid":h}),n&&e("label",{className:"c-radio__label",htmlFor:c,children:n})]});if(v){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===v?t:{...t,...v};return e(Gi,{...a,children:E})}return E};$o.displayName="Radio";const Jo=l(((t,a)=>{let{value:n,onChange:i,onBlur:r,onFocus:o,placeholder:l,className:s="",disabled:c=!1,required:d=!1,readOnly:u=!1,id:h,name:m,rows:p=4,cols:g,maxLength:v,minLength:S,size:f="md",variant:E,invalid:A=!1,valid:b=!1,autoFocus:N=!1,ariaLabel:_,ariaDescribedBy:C,glass:T}=t;const{generateTextareaClass:L}=Zo({size:f,variant:E,disabled:c,invalid:A,valid:b}),y=L({className:`${s} ${T?"c-input--glass":""}`.trim(),size:f,variant:E,disabled:c,invalid:A,valid:b}),x=e("textarea",{ref:a,className:y,value:n,onChange:i,onBlur:r,onFocus:o,placeholder:l,disabled:c,required:d,readOnly:u,id:h,name:m,rows:p,cols:g,maxLength:v,minLength:S,autoFocus:N,"aria-label":_,"aria-describedby":C,"aria-invalid":A,style:T?{}:void 0});if(T){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:1,cornerRadius:8,mode:"shader"},a=!0===T?t:{...t,...T};return e(Gi,{...a,children:x})}return x}));Jo.displayName="Textarea";const el=l(((a,n)=>{let{platform:i,url:r,icon:o,label:l,size:s="md",variant:c="default",disabled:d=!1,className:u="",...h}=a;const m=["c-footer__social-link",`c-footer__social-link--${i}`,`c-footer__social-link--${s}`,`c-footer__social-link--${c}`,d&&"c-footer__social-link--disabled",u].filter(Boolean).join(" "),p=l||`Follow us on ${(e=>({facebook:"Facebook",twitter:"Twitter",instagram:"Instagram",linkedin:"LinkedIn",youtube:"YouTube",github:"GitHub",discord:"Discord",tiktok:"TikTok",pinterest:"Pinterest",snapchat:"Snapchat",whatsapp:"WhatsApp",telegram:"Telegram",reddit:"Reddit",twitch:"Twitch",spotify:"Spotify",dribbble:"Dribbble",behance:"Behance",medium:"Medium",dev:"Dev.to",codepen:"CodePen"}[e]||e))(i)}`;return t("a",{ref:n,href:d?void 0:r,className:m,target:"_blank",rel:"noopener noreferrer","aria-label":p,"aria-disabled":d,...h,children:[e("span",{className:"c-footer__social-link-icon",children:o||(e=>({facebook:"📘",twitter:"🐦",instagram:"📷",linkedin:"💼",youtube:"📺",github:"🐙",discord:"🎮",tiktok:"🎵",pinterest:"📌",snapchat:"👻",whatsapp:"💬",telegram:"✈️",reddit:"🤖",twitch:"🎮",spotify:"🎵",dribbble:"🏀",behance:"🎨",medium:"📝",dev:"👨‍💻",codepen:"✏️"}[e]||"🔗"))(i)}),e("span",{className:"c-footer__social-link-label u-visually-hidden",children:p})]})}));el.displayName="FooterSocialLink";const tl=l(((a,n)=>{let{brand:i,brandLogo:r,brandDescription:o,copyright:l,layout:s="columns",variant:c="primary",size:d="md",showNewsletter:u=!1,newsletterTitle:h="Stay Updated",newsletterDescription:m="Subscribe to our newsletter for the latest updates.",newsletterPlaceholder:p="Enter your email",newsletterButtonText:g="Subscribe",onNewsletterSubmit:v,socialLinks:S=[],showBackToTop:f=!1,backToTopText:E="Back to Top",onBackToTop:A,showDivider:b=!0,sticky:N=!1,children:_,className:C="",disabled:T=!1,...L}=a;const{footerClass:y,containerClass:x,brandClass:I,sectionsClass:w,bottomClass:R,handleNewsletterSubmit:O,handleBackToTop:M,socialLinks:D}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{layout:t=ve.DEFAULTS.LAYOUT,variant:a=ve.DEFAULTS.VARIANT,size:n=ve.DEFAULTS.SIZE,sticky:i=ve.DEFAULTS.STICKY,showNewsletter:r=ve.DEFAULTS.SHOW_NEWSLETTER,showBackToTop:o=ve.DEFAULTS.SHOW_BACK_TO_TOP,socialLinks:l=[],onNewsletterSubmit:s,onBackToTop:c,className:d=""}=e;return{footerClass:[ve.CLASSES.BASE,ve.CLASSES[t.toUpperCase()]||ve.CLASSES.COLUMNS,`c-footer--${a}`,ve.CLASSES[n.toUpperCase()]||ve.CLASSES.MD,i&&ve.CLASSES.STICKY,d].filter(Boolean).join(" "),containerClass:ve.CLASSES.CONTAINER,brandClass:ve.CLASSES.BRAND,sectionsClass:[ve.CLASSES.SECTIONS,"columns"===t&&"c-footer__sections--columns","centered"===t&&"c-footer__sections--centered","stacked"===t&&"c-footer__sections--stacked"].filter(Boolean).join(" "),bottomClass:ve.CLASSES.BOTTOM,handleNewsletterSubmit:e=>{s&&s(e)},handleBackToTop:()=>{c?c():window.scrollTo({top:0,behavior:"smooth"})},socialLinks:l}}({layout:s,variant:c,size:d,sticky:N,showNewsletter:u,showBackToTop:f,socialLinks:S,onNewsletterSubmit:v,onBackToTop:A,className:C});return e("footer",{ref:n,className:y,...L,children:t("div",{className:x,children:[t("div",{className:w,children:[(i||r||o)&&t("div",{className:I,children:[r&&e("div",{className:"c-footer__brand-logo",children:"string"==typeof r?e("img",{src:r,alt:"Brand Logo"}):r}),i&&e("div",{className:"c-footer__brand-name",children:"string"==typeof i?e("h3",{children:i}):i}),o&&e("div",{className:"c-footer__brand-description",children:o}),S.length>0&&e("div",{className:"c-footer__social",children:S.map(((t,a)=>e(el,{platform:t.platform,url:t.url,icon:t.icon,label:t.label,size:d},`${t.platform}-${a}`)))})]}),_&&e("div",{className:"c-footer__sections",children:_}),u&&t("div",{className:"c-footer__newsletter",children:[e("h4",{className:"c-footer__newsletter-title",children:h}),m&&e("p",{className:"c-footer__newsletter-description",children:m}),e(Lo,{className:"c-footer__newsletter-form",onSubmit:e=>{e.preventDefault();const t=new FormData(e.currentTarget).get("email");t&&O(t)},children:t("div",{className:"c-footer__newsletter-input-group",children:[e(wo,{type:"email",name:"email",className:"c-footer__newsletter-input",placeholder:p,required:!0}),e(tr,{type:"submit",className:"c-footer__newsletter-button",children:g})]})})]})]}),(l||f)&&b&&e("hr",{className:"c-footer__divider"}),(l||f)&&t("div",{className:R,children:[l&&e("div",{className:"c-footer__copyright",children:l}),f&&t(tr,{variant:"ghost",className:"c-footer__back-to-top",onClick:M,disabled:T,"aria-label":E,children:[e("span",{className:"c-footer__back-to-top-icon",children:"↑"}),e("span",{className:"c-footer__back-to-top-text",children:E})]})]})]})})}));tl.displayName="Footer";const al=l(((a,i)=>{let{title:r,icon:o,collapsible:l=!1,defaultCollapsed:s=!1,children:c,className:d="",...u}=a;const[h,m]=n.useState(s),p=["c-footer__section",l&&"c-footer__section--collapsible",h&&"c-footer__section--collapsed",d].filter(Boolean).join(" ");return t("div",{ref:i,className:p,...u,children:[r&&e("div",{className:"c-footer__section-header",children:l?t("button",{type:"button",className:"c-footer__section-toggle",onClick:()=>{l&&m(!h)},"aria-expanded":!h,"aria-controls":`footer-section-${r.toString().toLowerCase().replace(/\s+/g,"-")}`,children:[o&&e("span",{className:"c-footer__section-icon",children:o}),e("h4",{className:"c-footer__section-title",children:r}),e("span",{className:"c-footer__section-chevron",children:h?"▼":"▲"})]}):t("div",{className:"c-footer__section-header-content",children:[o&&e("span",{className:"c-footer__section-icon",children:o}),e("h4",{className:"c-footer__section-title",children:r})]})}),e("div",{className:"c-footer__section-content",id:r?`footer-section-${r.toString().toLowerCase().replace(/\s+/g,"-")}`:void 0,style:{display:l&&h?"none":"block"},children:c})]})}));al.displayName="FooterSection";const nl=l(((a,n)=>{let{href:i,icon:r,external:o=!1,active:l=!1,disabled:s=!1,onClick:c,children:d,className:u="",LinkComponent:h,...m}=a;const p={className:["c-footer__link",l&&"c-footer__link--active",s&&"c-footer__link--disabled",u].filter(Boolean).join(" "),onClick:s?void 0:c,"aria-disabled":s,...o&&{target:"_blank",rel:"noopener noreferrer"},...m};return h?t(h,{ref:n,to:i,...p,children:[r&&e("span",{className:"c-footer__link-icon",children:r}),e("span",{className:"c-footer__link-text",children:d}),o&&e("span",{className:"c-footer__link-external",children:"↗"})]}):t("a",{ref:n,href:s?void 0:i,...p,children:[r&&e("span",{className:"c-footer__link-icon",children:r}),e("span",{className:"c-footer__link-text",children:d}),o&&e("span",{className:"c-footer__link-external",children:"↗"})]})}));nl.displayName="FooterLink";const il=n=>{let{title:i,subtitle:r,text:o,imageSrc:l,imageAlt:s="Hero image",alignment:c="left",backgroundImageSrc:d,showOverlay:u=!0,fullViewportHeight:h=!1,actions:m,imageColSize:p=7,contentColSize:g=5,contentWidth:v,className:S="",parallax:f=!1,parallaxIntensity:E=.5,videoBackground:A,children:b,glass:N,videoOptions:_={autoplay:!0,loop:!0,muted:!0}}=n;const{generateHeroClassNames:C,generateImageColClass:T,generateContentColClass:L,hasBackgroundImage:y,hasForegroundImage:x,useGridLayout:I,heroRef:w,videoRef:R}=Ro({alignment:c,imageColSize:p,contentColSize:g,imageSrc:l,backgroundImageSrc:d,showOverlay:u,fullViewportHeight:h,contentWidth:v,parallax:f,parallaxIntensity:E,videoBackground:A}),O=v?{"--atomix-hero-content-width":v}:void 0,M=()=>{if(!A)return null;const{autoplay:a,loop:n,muted:i,posterUrl:r}=_;return t("video",{ref:R,className:"c-hero__video",autoPlay:a,loop:n,muted:i,playsInline:!0,poster:r,children:[e("source",{src:A,type:`video/${A.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},k=()=>{const a=t("div",{className:D.SELECTORS.CONTENT.replace(".",""),children:[r&&e("p",{className:D.SELECTORS.SUBTITLE.replace(".",""),children:r}),e("h1",{className:D.SELECTORS.TITLE.replace(".",""),children:i}),o&&e("p",{className:D.SELECTORS.TEXT.replace(".",""),children:o}),m&&e("div",{className:D.SELECTORS.ACTIONS.replace(".",""),children:m})]});return!1===N?a:N?e("div",!0===N?{className:D.SELECTORS.CONTENT.replace(".",""),children:e(Gi,{displacementScale:60,blurAmount:3,saturation:180,aberrationIntensity:0,cornerRadius:8,overLight:!1,mode:"standard",children:t("div",{className:"u-p-4",children:[r&&e("p",{className:D.SELECTORS.SUBTITLE.replace(".",""),children:r}),e("h1",{className:D.SELECTORS.TITLE.replace(".",""),children:i}),o&&e("p",{className:D.SELECTORS.TEXT.replace(".",""),children:o}),m&&e("div",{className:D.SELECTORS.ACTIONS.replace(".",""),children:m})]})})}:{className:D.SELECTORS.CONTENT.replace(".",""),children:e(Gi,{...N,children:t("div",{className:"u-p-4",children:[r&&e("p",{className:D.SELECTORS.SUBTITLE.replace(".",""),children:r}),e("h1",{className:D.SELECTORS.TITLE.replace(".",""),children:i}),o&&e("p",{className:D.SELECTORS.TEXT.replace(".",""),children:o}),m&&e("div",{className:D.SELECTORS.ACTIONS.replace(".",""),children:m})]})})}):a},B=()=>x?e("div","center"===c?{className:D.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:l,alt:s,className:D.SELECTORS.IMAGE.replace(".","")})}:{className:T(),children:e("img",{src:l,alt:s,className:D.SELECTORS.IMAGE.replace(".","")})}):null;return t("div",{ref:w,className:C(S),style:O,"data-parallax":f?"true":void 0,"data-parallax-intensity":f?E:void 0,children:[y||A?t("div",{className:D.SELECTORS.BG.replace(".",""),children:[d&&e("img",{src:d,alt:"Background",className:D.SELECTORS.BG_IMAGE.replace(".","")}),M(),u&&e("div",{className:D.SELECTORS.OVERLAY.replace(".","")})]}):null,e("div",{className:`${D.SELECTORS.CONTAINER.replace(".","")} o-container`,children:b?e("div",{className:D.SELECTORS.GRID.replace(".",""),children:b}):I?e("div",{className:`${D.SELECTORS.GRID.replace(".","")} o-grid`,children:t(a,"left"===c?{children:[e("div",{className:L(),children:k()}),B()]}:{children:[B(),e("div",{className:L(),children:k()})]})}):t(a,{children:[k(),B()]})})]})};il.displayName="Hero";const rl=t=>{var a;let{children:i,variant:r="default",className:o="",...l}=t;const s=[O.BASE_CLASS,"default"!==r&&`c-list--${r}`,o].filter(Boolean).join(" "),c=Oi(a=["number","text"]).call(a,r)?"ol":"ul";return e(c,{className:s,...l,children:n.Children.map(i,(t=>e("li",{className:"c-list__item",children:t})))})};rl.displayName="List";const ol=a=>{let{messages:n=[],otherAvatar:r,selfAvatar:o,otherName:l,width:s="100%",onSendMessage:c,placeholder:d="Type a message",className:u="",bodyHeight:h,disabled:m=!1,id:p}=a;const{inputValue:g,handleInputChange:v,handleSubmit:S,handleKeyDown:f}=function(){let{onSendMessage:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,a]=i(""),n=n=>{n.preventDefault(),t.trim()&&e&&(e(t.trim()),a(""))};return{inputValue:t,setInputValue:a,handleInputChange:e=>{a(e.target.value)},handleSubmit:n,handleKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),n(e))}}}({onSendMessage:c}),E=p||`messages-${Math.random().toString(36).substr(2,9)}`,A=`${E}-input`;return t("div",{className:`${se.CLASSES.BASE} ${m?"is-disabled":""} ${u}`,style:{"--atomix-messages-width":s},id:E,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:[e("div",{className:se.CLASSES.BODY,style:h?{"--atomix-messages-body-height":h}:void 0,children:n.map((a=>t("div",{className:`${se.CLASSES.CONTENT} ${a.isSelf?se.CLASSES.CONTENT_SELF:""}`,"aria-label":`${a.isSelf?"You":l||"Other person"} sent a message at ${a.time}`,children:[e(Qi,{src:a.isSelf?o:r,size:"xl",circle:!0,className:se.CLASSES.AVATAR,alt:a.isSelf?"Your avatar":`${l||"Other person"}'s avatar`}),t("div",{className:se.CLASSES.ITEMS,children:[!a.isSelf&&l&&e("div",{className:se.CLASSES.NAME,children:l}),a.text&&t("div",{className:se.CLASSES.TEXT,children:[a.text,e("span",{className:se.CLASSES.TIME,"aria-label":`Sent at ${a.time}`,children:a.time})]}),a.image&&e("img",{className:se.CLASSES.IMAGE,src:a.image,alt:"Message attachment",loading:"lazy"}),a.file&&t("div",{className:se.CLASSES.FILE,"aria-label":`File attachment: ${a.file.name}, size: ${a.file.size}`,children:[e("span",{className:se.CLASSES.FILE_ICON,children:e(Wi,{name:"File","aria-hidden":"true"})}),t("div",{className:se.CLASSES.FILE_DETAILS,children:[e("div",{className:se.CLASSES.FILE_NAME,children:a.file.name}),e("div",{className:se.CLASSES.FILE_SIZE,children:a.file.size})]})]})]})]},a.id)))}),t("form",{className:se.CLASSES.FORM,onSubmit:S,"aria-label":"Message input form",children:[t("div",{className:se.CLASSES.INPUT_GROUP,children:[e("label",{htmlFor:A,className:"u-visually-hidden",children:"Type a message"}),e("input",{id:A,type:"text",className:se.CLASSES.INPUT,placeholder:d,value:g,onChange:v,onKeyDown:f,disabled:m,"aria-label":"Message input"}),t("div",{className:se.CLASSES.OPTIONS,"aria-label":"Message options",children:[e("button",{type:"button",className:se.CLASSES.OPTION,"aria-label":"Attach file",disabled:m,children:e(Wi,{name:"PaperclipHorizontal","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:se.CLASSES.OPTION,"aria-label":"Attach image",disabled:m,children:e(Wi,{name:"Image","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:se.CLASSES.OPTION,"aria-label":"Insert link",disabled:m,children:e(Wi,{name:"Link","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})})]})]}),e("button",{type:"submit",className:se.CLASSES.SUBMIT,"aria-label":"Send message",disabled:m,children:e(Wi,{name:"PaperPlaneTilt","aria-hidden":"true",size:24})})]})]})};ol.displayName="Messages";const ll=a=>{let{children:n,isOpen:l=!1,onOpenChange:s,onClose:c,onOpen:u,title:h,subtitle:m,size:p="md",backdrop:g=!0,keyboard:v=!0,className:S="",closeButton:f=!0,footer:E,glass:A,...b}=a;const N=r(null),_=r(null),C=r(null),{isOpen:T,open:L,close:y}=function(){let{isOpen:e,onOpenChange:t,onOpen:a,onClose:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[r,l]=i(!1),s=void 0!==e,c=s?!!e:r;o((()=>{s&&l(!!e)}),[e,s]);const u=d((e=>{s||l(e),t&&t(e),e&&a?a():!e&&n&&n()}),[s,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}}({isOpen:l,onOpenChange:s,onClose:c,onOpen:u});o((()=>{if(!v)return;const e=e=>{"Escape"===e.key&&T&&y()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[T,y,v]);const x=["c-modal",T?le.CLASSES.IS_OPEN:"",p?`c-modal--${p}`:"",A?"c-modal--glass":"",S].filter(Boolean).join(" "),I=t("div",{className:"c-modal__content",children:[(h||f)&&t("div",{className:"c-modal__header",children:[t("div",{className:"c-modal__header-content",children:[h&&e("h3",{className:"c-modal__title",children:h}),m&&e("p",{className:"c-modal__sub",children:m})]}),f&&e("button",{type:"button",className:"c-modal__close c-btn js-modal-close",onClick:y,"aria-label":"Close modal",children:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M16.0672 15.1828C16.1253 15.2409 16.1713 15.3098 16.2028 15.3857C16.2342 15.4615 16.2504 15.5429 16.2504 15.625C16.2504 15.7071 16.2342 15.7884 16.2028 15.8643C16.1713 15.9402 16.1253 16.0091 16.0672 16.0672C16.0091 16.1252 15.9402 16.1713 15.8643 16.2027C15.7885 16.2342 15.7071 16.2503 15.625 16.2503C15.5429 16.2503 15.4616 16.2342 15.3857 16.2027C15.3098 16.1713 15.2409 16.1252 15.1828 16.0672L10 10.8836L4.8172 16.0672C4.69992 16.1844 4.54086 16.2503 4.37501 16.2503C4.20916 16.2503 4.0501 16.1844 3.93282 16.0672C3.81555 15.9499 3.74966 15.7908 3.74966 15.625C3.74966 15.4591 3.81555 15.3001 3.93282 15.1828L9.11642 9.99998L3.93282 4.81717C3.81555 4.69989 3.74966 4.54083 3.74966 4.37498C3.74966 4.20913 3.81555 4.05007 3.93282 3.93279C4.0501 3.81552 4.20916 3.74963 4.37501 3.74963C4.54086 3.74963 4.69992 3.81552 4.8172 3.93279L10 9.11639L15.1828 3.93279C15.3001 3.81552 15.4592 3.74963 15.625 3.74963C15.7909 3.74963 15.9499 3.81552 16.0672 3.93279C16.1845 4.05007 16.2504 4.20913 16.2504 4.37498C16.2504 4.54083 16.1845 4.69989 16.0672 4.81717L10.8836 9.99998L16.0672 15.1828Z",fill:"#141414"})})})]}),e("div",{className:"c-modal__body",children:n}),E&&e("div",{className:"c-modal__footer",children:E})]});return t("div",{ref:N,className:x,style:{display:T?"block":"none"},role:"dialog","aria-modal":"true","aria-hidden":!T,...b,children:[e("div",{ref:C,className:"c-modal__backdrop",onClick:e=>{g&&e.target===e.currentTarget&&y()}}),e("div",{ref:_,className:"c-modal__dialog",children:A?(()=>{const t={displacementScale:100,blurAmount:2,saturation:180,aberrationIntensity:1,cornerRadius:16,mode:"shader"},a=!0===A?t:{...t,...A};return e(Gi,{...a,children:I})})():I})]})};ll.displayName="Modal";const sl=l(((t,a)=>{let{children:i,alignment:r="start",variant:o="default",className:l="",disabled:s=!1}=t;const{generateNavClass:c}=Do({alignment:r,variant:o}),d=c({alignment:r,variant:o,className:l});return e("ul",{ref:a,className:d,role:"menubar","aria-orientation":"horizontal",children:n.Children.map(i,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!s||(null==t?void 0:t.disabled)})}return e}))})}));sl.displayName="Nav";const cl=l(((a,l)=>{let{children:s,dropdown:c=!1,megaMenu:d=!1,active:u=!1,href:h,onClick:m,className:p="",disabled:g=!1,"aria-expanded":v,LinkComponent:S}=a;const{generateNavItemClass:f,generateNavLinkClass:E,handleClick:A}=ko({dropdown:c,megaMenu:d,active:u,disabled:g}),[b,N]=i(!1),_=r(null);o((()=>{if(!c&&!d||!b)return;const e=e=>{if(_.current&&!_.current.contains(e.target)){window.innerWidth<768||N(!1)}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[c,d,b]),o((()=>{if(!c&&!d)return;const e=()=>{!(window.innerWidth<768)&&b&&N(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[c,d,b]);const C=f({dropdown:c,megaMenu:d,active:u,disabled:g,className:p})+(b?" is-active":""),T=E(u,g,c||d?"c-nav__dropdown-toggle":""),L=n.Children.toArray(s),y=void 0!==v?v:b,x={ref:_,href:h||"#",className:T,onClick:c||d?e=>{(c||d)&&(e.preventDefault(),N(!b))}:A(m),"aria-disabled":g,"aria-expanded":c||d?y:void 0,"aria-current":!u||c||d?void 0:"page"};return t("li",{ref:l,className:C,role:"menuitem","aria-haspopup":c||d,children:[e(S||"a",{...x,children:c||d?L[0]:s}),(c||d)&&L.length>1&&L[1]]})}));cl.displayName="NavItem";const dl=l(((a,n)=>{let{brand:l,children:s,variant:c,position:d="static",containerWidth:u,collapsible:h=!0,expanded:m,onToggle:p,className:g="",disabled:v=!1,backdrop:S=!1,closeOnOutsideClick:f=!0,closeOnEscape:E=!0,ariaLabel:A="Main navigation",id:b}=a;const{generateNavbarClass:N,generateContainerStyle:_,generateCollapseClass:C}=Mo({position:d,collapsible:h,expanded:m,onToggle:p}),[T,L]=i(m||!1),y=r(null);o((()=>{void 0!==m&&L(m)}),[m]),o((()=>{const e=()=>{!(window.innerWidth<768)&&h&&("function"==typeof p?m&&p(!1):L(!1))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[h,m,p]);const x=N({position:d,variant:c,collapsible:h,className:g}),I=_(u),w=C(T);return e("nav",{ref:n,className:x,"aria-label":A,id:b,children:t("div",{className:"c-navbar__container",style:I,children:[l&&("string"==typeof l?e("a",{href:"/",className:"c-navbar__brand",children:l}):e("div",{className:"c-navbar__brand",children:l})),h&&e("button",{className:"c-navbar__toggler",onClick:()=>{if(v)return;const e=!T;"function"==typeof p?p(e):L(e)},"aria-expanded":T,"aria-label":"Toggle navigation","aria-controls":"navbar-collapse",disabled:v,type:"button",children:e("span",{className:"c-navbar__toggler-icon"})}),e("div",{id:"navbar-collapse",className:w,ref:y,children:s})]})})}));dl.displayName="Navbar";const ul=l(((a,n)=>{let{title:i,children:r,isOpen:o,onToggle:l,collapsible:s=!0,className:c="",disabled:d=!1,toggleIcon:u,id:h}=a;const{isOpenState:m,wrapperRef:p,innerRef:g,generateSideMenuClass:v,generateWrapperClass:S,handleToggle:f}=Bo({isOpen:o,onToggle:l,collapsible:s,disabled:d}),E=v({className:c,isOpen:m}),A=S(),b=e(Wi,{name:"CaretRight",size:"xs"});return t("div",{ref:n,className:E,id:h,children:[i&&s&&t("div",{className:"c-side-menu__toggler",onClick:f,role:"button",tabIndex:d?-1:0,"aria-expanded":m,"aria-controls":h?`${h}-content`:void 0,"aria-disabled":d,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||(e.preventDefault(),f())},children:[e("span",{className:"c-side-menu__title",children:i}),e("span",{className:"c-side-menu__toggler-icon",children:u||b})]}),i&&!s&&e("h3",{className:"c-side-menu__title",children:i}),e("div",{ref:p,className:A,id:h?`${h}-content`:void 0,"aria-hidden":!!s&&!m,children:e("div",{ref:g,className:"c-side-menu__inner",children:r})})]})}));ul.displayName="SideMenu";const hl=l(((a,n)=>{let{children:i,href:r,onClick:o,active:l=!1,disabled:s=!1,icon:c,className:d="",target:u,rel:h,LinkComponent:m}=a;const{generateSideMenuItemClass:p,handleClick:g}=Po({active:l,disabled:s,className:d}),v=p(),S={ref:n,href:s?void 0:r,className:v,onClick:g(o),"aria-disabled":s,"aria-current":l?"page":void 0,target:u,rel:h,tabIndex:s?-1:0};return r?t(m||"a",{...S,children:[c&&e("span",{className:"c-side-menu__link-icon",children:c}),e("span",{className:"c-side-menu__link-text",children:i})]}):t("button",{ref:n,type:"button",className:v,onClick:g(o),disabled:s,"aria-current":l?"page":void 0,tabIndex:s?-1:0,children:[c&&e("span",{className:"c-side-menu__link-icon",children:c}),e("span",{className:"c-side-menu__link-text",children:i})]})}));hl.displayName="SideMenuItem";const ml=l(((t,a)=>{let{children:i,className:r=""}=t;const o=`c-side-menu__list ${r}`.trim();return e("ul",{ref:a,className:o,role:"list",children:n.Children.map(i,((t,a)=>n.isValidElement(t)?e("li",{className:"c-side-menu__item",role:"listitem",children:t},a):t))})}));ml.displayName="SideMenuList";const pl=a=>{let{currentIndex:n,imagesLength:i,onZoomOut:r,onResetZoom:o,onZoomIn:l,onToggleFullscreen:s,onClose:c,isFullscreen:d,zoomLevel:u,onRotate:h,onDownload:m,onShare:p,showInfo:g,onToggleInfo:v,currentImage:S}=a;return t("div",{className:"c-photo-viewer__header",children:[t("div",{className:"c-photo-viewer__header-left",children:[e(ji,{label:`${n+1} / ${i}`,variant:"primary",size:"sm"}),(null==S?void 0:S.title)&&e("h3",{className:"c-photo-viewer__image-title",children:S.title})]}),t("div",{className:"c-photo-viewer__actions",children:[e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,disabled:u<=.1,"aria-label":"Zoom out",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"Minus",size:"sm"})}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:o,disabled:1===u,"aria-label":"Reset zoom",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"MagnifyingGlass",size:"sm"})}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:l,disabled:u>=5,"aria-label":"Zoom in",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"Plus",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:h,"aria-label":"Rotate image",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"ArrowsClockwise",size:"sm"})}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:m,"aria-label":"Download image",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"Download",size:"sm"})}),"share"in navigator&&"function"==typeof navigator.share&&e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:p,"aria-label":"Share image",className:"c-photo-viewer__action-button",icon:e(Wi,{name:"Share",size:"sm"})}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:v,"aria-label":"Toggle info panel",className:"c-photo-viewer__action-button "+(g?"is-active":""),icon:e(Wi,{name:"Info",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:s,"aria-label":d?"Exit fullscreen":"Enter fullscreen",className:"c-photo-viewer__action-button",icon:e(Wi,{name:d?"ArrowsIn":"ArrowsOut",size:"sm"})}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:c,"aria-label":"Close viewer",className:"c-photo-viewer__action-button c-photo-viewer__close-button",icon:e(Wi,{name:"X",size:"sm"})})]})]})},gl=n=>{let{show:i,onPrev:r,onNext:l,currentIndex:s,imagesLength:c,enableKeyboardNav:d,onClose:u}=n;return o((()=>{if(!d)return;const e=e=>{"ArrowLeft"===e.key&&r(),"ArrowRight"===e.key&&l(),"Escape"===e.key&&u()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[d,r,l,u]),i?t(a,{children:[e(tr,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:r,disabled:0===s,"aria-label":"Previous image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--prev",icon:e(Wi,{name:"CaretLeft",size:"md"})}),e(tr,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:l,disabled:s===c-1,"aria-label":"Next image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--next",icon:e(Wi,{name:"CaretRight",size:"md"})})]}):null},vl=t=>{let{imageRef:a,containerRef:n,src:l,alt:s,zoomLevel:c,dragPosition:d,isDragging:u,rotationAngle:h,isTransitioning:m=!1,onMouseDown:p,onMouseMove:g,onMouseUp:v,onWheel:S,onTouchStart:f,onTouchMove:E,onTouchEnd:A,onDoubleClick:b}=t;const N=r(null),_=n||N,[C,T]=i(!1);o((()=>(T(!0),()=>T(!1))),[]);return o((()=>{const e=_.current;if(!e)return;const t=t=>{C&&e&&S&&S(t)},a=t=>{C&&e&&f&&f(t)},n=t=>{C&&e&&E&&E(t)},i=t=>{C&&e&&A&&A(t)};return C&&(e.addEventListener("wheel",t,{passive:!1}),e.addEventListener("touchstart",a,{passive:!1}),e.addEventListener("touchmove",n,{passive:!1}),e.addEventListener("touchend",i,{passive:!1})),()=>{e.removeEventListener("wheel",t),e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",i)}}),[C,S,f,E,A,_]),e("div",{ref:_,className:"c-photo-viewer__image-container "+(m?"is-transitioning":""),style:{cursor:u?"grabbing":c>1?"grab":"default",opacity:m?.7:1,touchAction:"none"},onMouseDown:p,onMouseMove:g,onMouseUp:v,onMouseLeave:v,onDoubleClick:e=>{C&&b&&b(e)},children:e("img",{ref:a,src:l,alt:s,className:"c-photo-viewer__image",style:{transform:`scale(${c}) translate(${d.x}px, ${d.y}px) rotate(${h}deg)`,transition:u?"none":m?"opacity 0.15s ease-out":"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",transformOrigin:"center center",willChange:u?"transform":"auto",touchAction:"none"},draggable:!1,onContextMenu:e=>e.preventDefault()})})},Sl=a=>{let{images:n,currentIndex:i,goToImage:r}=a;return n.length<=1?null:e("div",{className:"c-photo-viewer__thumbnails",children:e("div",{className:"c-photo-viewer__thumbnails-container",children:n.map(((a,n)=>{const o=a.thumbnail||a.src,l=n===i;return e(tr,{variant:"ghost",className:"c-photo-viewer__thumbnail "+(l?"is-active":""),onClick:()=>r(n),"aria-label":`View image ${n+1}${a.title?`: ${a.title}`:""}`,"aria-current":l,children:t("div",{className:"c-photo-viewer__thumbnail-wrapper",children:[e("img",{loading:"lazy",src:o,alt:a.alt||`Thumbnail ${n+1}`,className:"c-photo-viewer__thumbnail-img"}),l&&e("div",{className:"c-photo-viewer__thumbnail-indicator"})]})},n)}))})})},fl=a=>{let{show:n,image:i,onClose:r}=a;return n&&i?t("div",{className:"c-photo-viewer__info-panel",children:[t("div",{className:"c-photo-viewer__info-header",children:[e("h4",{className:"c-photo-viewer__info-panel-title",children:"Image Details"}),e(tr,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,"aria-label":"Close info panel",className:"c-photo-viewer__info-close",icon:e(Wi,{name:"X",size:"sm"})})]}),t("div",{className:"c-photo-viewer__info-content",children:[i.title&&e("div",{className:"c-photo-viewer__info-section",children:e("h5",{className:"c-photo-viewer__info-title",children:i.title})}),i.description&&e("div",{className:"c-photo-viewer__info-section",children:e("p",{className:"c-photo-viewer__info-description",children:i.description})}),(i.date||i.author)&&e("div",{className:"c-photo-viewer__info-section",children:t("div",{className:"c-photo-viewer__info-meta",children:[i.date&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(Wi,{name:"Calendar",size:14}),e("span",{children:i.date})]}),i.author&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(Wi,{name:"User",size:14}),e("span",{children:i.author})]})]})}),i.tags&&i.tags.length>0&&t("div",{className:"c-photo-viewer__info-section",children:[e("h6",{className:"c-photo-viewer__info-section-title",children:"Tags"}),e("div",{className:"c-photo-viewer__info-tags",children:i.tags.map(((t,a)=>e(ji,{label:t,variant:"secondary",size:"sm"},a)))})]})]})]}):null},El=a=>{let{images:n,startIndex:l=0,className:s="",disabled:u=!1,enableKeyboardNavigation:h=!0,enableGestures:m=!0,enableFullscreen:p=!0,thumbnailPosition:g="bottom",onImageChange:v,onClose:S}=a;const{currentIndex:f,zoomLevel:E,imagePosition:A,isDragging:b,isFullscreen:N,rotationAngle:_,showInfo:C,imageRef:T,containerRef:L,isTransitioning:y,setZoomLevel:x,setImagePosition:I,setIsDragging:w,setIsFullscreen:R,setRotationAngle:O,setShowInfo:M,closeModal:D,goToPrevious:k,goToNext:B,setCurrentIndex:P,handleMouseDown:z,handleMouseMove:F,handleMouseUp:U,handleWheel:G,handleTouchStart:V,handleTouchMove:Y,handleTouchEnd:H,handleDoubleClick:W,resetImageState:Q}=(e=>{let{images:t,startIndex:a=0,enableGestures:n=!0,onImageChange:l,onClose:s}=e;const[c,u]=i(a),[h,m]=i(!1),[p,g]=i(!1),[v,S]=i({x:0,y:0}),[f,E]=i(!1),[A,b]=i(!1),[N,_]=i({}),[C,T]=i(!1),[L,y]=i(!1),[x,I]=i({velocity:0,timestamp:0}),w=r(null),R=r(null),O=r([]),M=r(null),D=r(null),k=r(0),B=r(null),P=d(((e,t)=>{if(!L||!w.current||!R.current)return{minX:0,maxX:0,minY:0,maxY:0};const a=w.current,n=R.current;if(!a.naturalWidth&&!a.width)return{minX:0,maxX:0,minY:0,maxY:0};const i=a.naturalWidth||a.width||800,r=a.naturalHeight||a.height||600;try{const a=n.getBoundingClientRect();if(!a||0===a.width||0===a.height)return{minX:0,maxX:0,minY:0,maxY:0};const o=a.width,l=a.height,s=t*Math.PI/180,c=Math.abs(Math.cos(s)),d=Math.abs(Math.sin(s)),u=i/r;let h,m;o/l>u?(m=Math.min(.9*l,r),h=m*u):(h=Math.min(.9*o,i),m=h/u);const p=(h*c+m*d)*e,g=(h*d+m*c)*e,v=Math.max(0,(p-o)/2),S=Math.max(0,(g-l)/2);return{minX:-v,maxX:v,minY:-S,maxY:S}}catch(e){return{minX:0,maxX:0,minY:0,maxY:0}}}),[L]),z=d(((e,t)=>({x:Math.max(t.minX,Math.min(t.maxX,e.x)),y:Math.max(t.minY,Math.min(t.maxY,e.y))})),[]);o((()=>(y(!0),a<0||a>=t.length?u(0):u(a),()=>y(!1))),[t,a]),o((()=>{h?document.body.classList.add("is-open-photoviewer"):document.body.classList.remove("is-open-photoviewer")}),[h]),o((()=>{h&&_((e=>e[c]?e:{...e,[c]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}}))}),[h,c]),o((()=>{l&&l(c)}),[c,l]),o((()=>{const e=w.current,t=R.current,a=()=>{L&&e&&t&&_((e=>{const t=e[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=z(t.position,a);return{...e,[c]:{...t,bounds:a,position:n}}}))};if(!(e&&t&&e.complete&&L))return e&&t&&L?(e.addEventListener("load",a),()=>e.removeEventListener("load",a)):void 0;a()}),[c,P,z,L]),o((()=>{const e=()=>{L&&w.current&&R.current&&_((e=>{const t=e[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=z(t.position,a);return{...e,[c]:{...t,bounds:a,position:n}}}))};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[c,P,z,L]);const F=d((()=>{m(!0)}),[]),U=d((()=>{m(!1),s&&s()}),[s]),G=d((()=>{c>0&&(T(!0),setTimeout((()=>{u((e=>e-1)),T(!1)}),150))}),[c]),V=d((()=>{c<t.length-1&&(T(!0),setTimeout((()=>{u((e=>e+1)),T(!1)}),150))}),[c,t.length]),Y=d((e=>{_((t=>{const a=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.zoomLevel):e,i=Math.max(.1,Math.min(5,n)),r=P(i,a.rotation),o=z(a.position,r);return{...t,[c]:{...a,zoomLevel:i,bounds:r,position:o}}}))}),[L,c,P,z]),H=d((e=>{_((t=>{const a=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.position):e,i=z(n,a.bounds);return{...t,[c]:{...a,position:i}}}))}),[c,z]),W=d((e=>{_((t=>{const a=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=(("function"==typeof e?e(a.rotation):e)%360+360)%360,i=P(a.zoomLevel,n),r=z(a.position,i);return{...t,[c]:{...a,rotation:n,bounds:i,position:r}}}))}),[L,c,P,z]),Q=d((e=>{var t;if(!L||!e||!e.currentTarget)return;const a=e.currentTarget;if(a&&"function"==typeof a.getBoundingClientRect){if("undefined"!=typeof window&&null!==(t=window.location)&&void 0!==t&&null!==(t=t.href)&&void 0!==t&&Oi(t).call(t,"storybook"))try{const e=a.getBoundingClientRect();if(!e||0===e.width||0===e.height)return}catch(e){return}_((t=>{const n=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},i=/Mac|iPod|iPhone|iPad/.test(navigator.platform),r=e.ctrlKey&&i,o=Math.abs(e.deltaX)>0,l=!e.ctrlKey&&o&&i,s=!e.ctrlKey&&!o&&i,d=!i;let u,h=!1;if(r)u=-.02*e.deltaY,h=!0;else if(l){if(!(n.zoomLevel>1))return t;u=-.003*e.deltaY,h=!0}else s?(u=-.004*e.deltaY,h=!0):d?(u=-.006*e.deltaY,h=!0):(u=-.005*e.deltaY,h=!0);h&&(e.preventDefault(),e.stopPropagation());const m=Date.now(),p=m-k.current;if(k.current=m,r&&p<100){const e=Math.abs(u)/p;I({velocity:e,timestamp:m}),B.current&&clearTimeout(B.current),B.current=setTimeout((()=>{const e=()=>{I((t=>{if(t.velocity<.001)return t;const a=.95*t.velocity,n=a*(u>0?1:-1);return _((e=>{const t=e[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=Math.max(.1,Math.min(5,t.zoomLevel+n));if(a===t.zoomLevel)return e;const i=P(a,t.rotation),r=z(t.position,i);return{...e,[c]:{...t,zoomLevel:a,bounds:i,position:r}}})),a>=.001&&requestAnimationFrame(e),{velocity:a,timestamp:Date.now()}}))};requestAnimationFrame(e)}),50)}let g;try{g=a.getBoundingClientRect()}catch(e){return t}if(!g||0===g.width||0===g.height)return t;const v=g.width/2,S=g.height/2,f=e.clientX-g.left-v,E=e.clientY-g.top-S,A=n.zoomLevel,b=Math.max(.1,Math.min(5,A+u));if(b!==A){const e=b/A,a=P(b,n.rotation),i={x:n.position.x+f*(1-e)*.5,y:n.position.y+E*(1-e)*.5},r=z(i,a);return{...t,[c]:{...n,zoomLevel:b,bounds:a,position:r}}}return t}))}}),[L,c,P,z]),K=d((e=>{if(!L||!e||!e.currentTarget)return;const t=e.currentTarget;t&&"function"==typeof t.getBoundingClientRect&&_((a=>{const n=a[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};let i;try{i=t.getBoundingClientRect()}catch(e){return a}if(!i||0===i.width||0===i.height)return a;const r=i.width/2,o=i.height/2,l=e.clientX-i.left-r,s=e.clientY-i.top-o;let d,u={x:0,y:0};n.zoomLevel<1.5?(d=2,u={x:.5*-l,y:.5*-s}):n.zoomLevel<3?(d=4,u={x:.75*-l,y:.75*-s}):(d=1,u={x:0,y:0});const h=P(d,n.rotation),m=z(u,h);return{...a,[c]:{...n,zoomLevel:d,bounds:h,position:m}}}))}),[L,c,P,z]),Z=d((e=>{_((t=>{const a=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return a.zoomLevel>1&&(e.preventDefault(),g(!0),S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})),t}))}),[c]),j=d((e=>{p&&_((t=>{const a=t[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=Math.min(1,1/a.zoomLevel),i=(e.clientX-v.x)*n,r=(e.clientY-v.y)*n,o=z({x:i,y:r},a.bounds);return{...t,[c]:{...a,position:o}}}))}),[p,v,c,z]),q=d((()=>{g(!1)}),[]),X=d((e=>{if(!n)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),O.current=Array.from(t).map((e=>({x:e.clientX,y:e.clientY}))),_((e=>{const a=e[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};if(1===t.length&&a.zoomLevel>1){g(!0);const e=t[0];e&&S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})}else if(2===t.length){const e=t[0],a=t[1];if(e&&a){const t=e.clientX-a.clientX,n=e.clientY-a.clientY;M.current=Math.sqrt(t*t+n*n),D.current={x:(e.clientX+a.clientX)/2,y:(e.clientY+a.clientY)/2}}}return e}))}),[n,c]),$=d((e=>{if(!n)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),_((a=>{const n=a[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};n.zoomLevel>1&&1===t.length&&e.preventDefault();let i=null,r=0,o=null;if(1===t.length&&p&&n.zoomLevel>1){const e=t[0];if(e){const t=Math.min(1,1/n.zoomLevel);i={x:(e.clientX-v.x)*t,y:(e.clientY-v.y)*t}}if(i){const e=z(i,n.bounds);return{...a,[c]:{...n,position:e}}}}else if(2===t.length&&null!==M.current){const i=t[0],l=t[1];if(i&&l){const t=i.clientX-l.clientX,s=i.clientY-l.clientY,d=Math.sqrt(t*t+s*s);r=.005*(d-M.current),M.current=d,o={x:(i.clientX+l.clientX)/2,y:(i.clientY+l.clientY)/2};const u=n.zoomLevel,h=Math.max(.1,Math.min(5,u+r));if(h!==u&&D.current&&o){let t;try{t=e.currentTarget.getBoundingClientRect()}catch(e){return a}if(!t||0===t.width||0===t.height)return a;const i=t.width/2,r=t.height/2,l=o.x-t.left-i,s=o.y-t.top-r,d=h/u,m=P(h,n.rotation),p={x:n.position.x+l*(1-d)*.5,y:n.position.y+s*(1-d)*.5},g=z(p,m);return D.current=o,{...a,[c]:{...n,zoomLevel:h,bounds:m,position:g}}}o&&(D.current=o)}}return a}))}),[L,n,p,v,c,z,P]),J=d((()=>{g(!1),M.current=null,D.current=null}),[]),ee=N[c]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return{currentIndex:c,isModalOpen:h,zoomLevel:ee.zoomLevel,imagePosition:ee.position,isDragging:p,isFullscreen:f,rotationAngle:ee.rotation,showInfo:A,imageRef:w,containerRef:R,isTransitioning:C,setCurrentIndex:u,setZoomLevel:Y,setImagePosition:H,setIsDragging:g,setIsFullscreen:E,setRotationAngle:W,setShowInfo:b,openModal:F,closeModal:U,goToPrevious:G,goToNext:V,handleWheel:Q,handleMouseDown:Z,handleMouseMove:j,handleMouseUp:q,handleTouchStart:X,handleTouchMove:$,handleTouchEnd:J,handleDoubleClick:K,resetImageState:()=>{_((e=>({...e,[c]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}})))}}})({images:n,startIndex:l,enableGestures:m,onImageChange:v,onClose:S||(()=>{})}),K=c((()=>n.map((e=>"string"==typeof e?{src:e}:e))),[n]),Z=K[f],j=c((()=>["c-photo-viewer",`c-photo-viewer--thumbnails-${g}`,b?"c-photo-viewer--dragging":"",N?"c-photo-viewer--fullscreen":"",C?"c-photo-viewer--info-open":"",u?"is-disabled":"",s].filter(Boolean).join(" ")),[b,N,C,u,g,s]);return o((()=>{const e=()=>{R(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[R]),o((()=>(document.body.classList.add("is-open-photoviewer"),()=>{document.body.classList.remove("is-open-photoviewer")})),[]),n.length?t("div",{className:j,role:"dialog","aria-modal":"true","aria-label":"Photo viewer",children:[e("div",{className:"c-photo-viewer__backdrop",onClick:D}),t("div",{className:"c-photo-viewer__container",children:[e(pl,{currentIndex:f,imagesLength:n.length,onZoomOut:()=>x((e=>Math.max(e-.25,.1))),onResetZoom:()=>{Q()},onZoomIn:()=>x((e=>Math.min(e+.25,5))),onToggleFullscreen:()=>{if(p){if(N)document.exitFullscreen&&document.exitFullscreen();else{const e=document.documentElement;e.requestFullscreen&&e.requestFullscreen()}R(!N)}},onClose:S||D,isFullscreen:N,zoomLevel:E,onRotate:()=>{O((e=>(e+90)%360))},onDownload:()=>{if(null==Z||!Z.src)return;const e=document.createElement("a");e.href=Z.src,e.download=Z.title||`image-${f+1}`,document.body.appendChild(e),e.click(),document.body.removeChild(e)},onShare:async()=>{if(navigator.share&&null!=Z&&Z.src)try{await navigator.share({title:Z.title||"Shared Image",text:Z.description||"Check out this image",url:Z.src})}catch(e){}},showInfo:C,onToggleInfo:()=>M(!C),currentImage:Z}),t("div",{className:"c-photo-viewer__content",children:[e(gl,{show:n.length>1,onPrev:k,onNext:B,currentIndex:f,imagesLength:n.length,enableKeyboardNav:h,onClose:S||D}),(null==Z?void 0:Z.src)&&e(vl,{imageRef:T,containerRef:L,src:Z.src,alt:(null==Z?void 0:Z.alt)||`Image ${f+1}`,zoomLevel:E,dragPosition:A,isDragging:b,rotationAngle:_,isTransitioning:y,onMouseDown:z,onMouseMove:F,onMouseUp:U,onWheel:G,onTouchStart:V,onTouchMove:Y,onTouchEnd:H,onDoubleClick:W})]}),"none"!==g&&e(Sl,{images:K,currentIndex:f,goToImage:P}),e(fl,{show:C,image:Z,onClose:()=>M(!1)})]})]}):null};El.displayName="PhotoViewer";const Al=v({isOpen:!1,setIsOpen:()=>{},triggerRef:{current:null},popoverId:"",triggerType:"click"}),bl=a=>{let{content:n,position:l="top",trigger:s="click",className:c="",delay:d=0,offset:u=12,defaultOpen:h=!1,isOpen:m,onOpenChange:p,closeOnClickOutside:g=!0,closeOnEscape:v=!0,id:S,children:f,glass:E}=a;const{isOpen:A,setIsOpen:b,triggerRef:N,popoverRef:_,arrowRef:C,popoverId:T,currentPosition:L,updatePosition:y}=(e=>{let{position:t="top",trigger:a="click",offset:n=12,delay:l=0,defaultOpen:s=!1,isOpen:c,onOpenChange:d,closeOnClickOutside:u=!0,closeOnEscape:h=!0,id:m}=e;const[p,g]=i(s),[v,S]=i("auto"===t?"top":t),f=r(null),E=r(null),A=r(null),b=r(null),N=m||`popover-${Math.random().toString(36).slice(2,11)}`,_=void 0!==c,C=_?c:p,T=e=>{_||g(e),d&&d(e)};o((()=>{if("hover"!==a||!f.current||!E.current)return;const e=()=>{null!==b.current&&(clearTimeout(b.current),b.current=null),l>0?b.current=setTimeout((()=>{T(!0)}),l):T(!0)},t=()=>{null!==b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout((()=>{var e;null!==(e=E.current)&&void 0!==e&&e.matches(":hover")||T(!1)}),100)},n=()=>{null!==b.current&&(clearTimeout(b.current),b.current=null)},i=()=>{T(!1)};return f.current.addEventListener("mouseenter",e),f.current.addEventListener("mouseleave",t),E.current.addEventListener("mouseenter",n),E.current.addEventListener("mouseleave",i),()=>{f.current&&(f.current.removeEventListener("mouseenter",e),f.current.removeEventListener("mouseleave",t)),E.current&&(E.current.removeEventListener("mouseenter",n),E.current.removeEventListener("mouseleave",i)),null!==b.current&&window.clearTimeout(b.current)}}),[a,l,C]);const L=e=>{if(!f.current||!E.current)return;const a=f.current.getBoundingClientRect(),i=E.current.getBoundingClientRect(),r=window.innerWidth,o=window.innerHeight,l=a.top<50||a.bottom>o-50||a.left<50||a.right>r-50;if("scroll"===(null==e?void 0:e.type)&&!l)return;const s=a.top,c=o-a.bottom,d=a.left,u=r-a.right;let h="auto"===t?"top":t;if("auto"===t){var m;const e=[{position:"top",space:s},{position:"right",space:u},{position:"bottom",space:c},{position:"left",space:d}];e.sort(((e,t)=>t.space-e.space)),h=null===(m=e[0])||void 0===m?void 0:m.position}else("top"===t&&s<i.height+n&&c>=i.height+n||"bottom"===t&&c<i.height+n&&s>=i.height+n||"left"===t&&d<i.width+n&&u>=i.width+n||"right"===t&&u<i.width+n&&d>=i.width+n)&&(h={top:"bottom",bottom:"top",left:"right",right:"left",auto:"bottom"}[t]);S(h);let p=0,g=0;switch(h){case"top":p=a.top-i.height-n,g=a.left+a.width/2-i.width/2;break;case"bottom":p=a.bottom+n,g=a.left+a.width/2-i.width/2;break;case"left":p=a.top+a.height/2-i.height/2,g=a.left-i.width-n;break;case"right":p=a.top+a.height/2-i.height/2,g=a.right+n}g<0?g=5:g+i.width>r&&(g=r-i.width-5),p<0?p=5:p+i.height>o&&(p=o-i.height-5);const v=p+window.scrollY,A=g+window.scrollX;E.current.style.position="absolute",E.current.style.top=`${v}px`,E.current.style.left=`${A}px`};return o((()=>{if(!C||!f.current||!E.current)return;L(),window.addEventListener("resize",L);let e=null;const t=t=>{e||(e=setTimeout((()=>{L(t),e=null}),100))};window.addEventListener("scroll",t,{passive:!0});const a=setInterval((()=>{L()}),500);return()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",t),e&&clearTimeout(e),clearInterval(a)}}),[C,t,n]),o((()=>{if(!C||!u)return;const e=e=>{E.current&&!E.current.contains(e.target)&&f.current&&!f.current.contains(e.target)&&T(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[C,u]),o((()=>{if(!C||!h)return;const e=e=>{"Escape"===e.key&&T(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[C,h]),o((()=>()=>{null!==b.current&&window.clearTimeout(b.current)}),[]),{isOpen:C,setIsOpen:T,triggerRef:f,popoverRef:E,arrowRef:A,popoverId:N,currentPosition:v,updatePosition:L}})({position:l,trigger:s,offset:u,delay:d,defaultOpen:h,isOpen:m,onOpenChange:p,closeOnClickOutside:g,closeOnEscape:v,id:S});return t(Al.Provider,{value:{isOpen:A,setIsOpen:b,triggerRef:N,popoverId:T,triggerType:s},children:[f,"undefined"!=typeof document&&I(t("div",{ref:_,className:`c-popover c-popover--${L} ${A?B.CLASSES.IS_OPEN:""} ${E?"c-popover--glass":""} ${c}`,id:T,role:"tooltip","aria-hidden":!A,children:[E?(()=>{const t={displacementScale:50,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===E?t:{...t,...E};return e(Gi,{...a,children:e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:n})})})})():e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:n})}),e("div",{ref:C,className:"c-popover__arrow"})]}),document.body)]})};bl.displayName="Popover";function Nl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function _l(e,t){return n.useMemo((()=>null==e&&null==t?null:a=>{Nl(e,a),Nl(t,a)}),[e,t])}const Cl=l(((a,n)=>{let{value:l=0,defaultValue:s,maxValue:c=5,allowHalf:u=!1,readOnly:h=!1,size:m="md",color:p,onChange:g,className:v="",label:S,id:f,useVanillaJS:E=!1,glass:A,...b}=a;const N=r(null),_=r(null),{currentValue:C,hoverValue:T,focusedIndex:L,setHoverValue:y,setFocused:x,handleKeyDown:I}=(e=>{let{value:t=0,maxValue:a=5,allowHalf:n=!1,readOnly:r=!1,onChange:o}=e;const l=void 0!==o,[s,c]=i(t),[u,h]=i(null),[m,p]=i(null),g=l?t:s,v=d((e=>{r||h(e)}),[r]),S=d((()=>{r||h(null)}),[r]),f=d((e=>{r||(l||c(e),null==o||o(e))}),[r,o,l]),E=d(((e,t)=>{if(r)return;const i=n?.5:1;let s=g;switch(e.key){case"ArrowRight":case"ArrowUp":s=Math.min(a,g+i),e.preventDefault();break;case"ArrowLeft":case"ArrowDown":s=Math.max(0,g-i),e.preventDefault();break;case"Home":s=0,e.preventDefault();break;case"End":s=a,e.preventDefault();break;case" ":case"Enter":s=t,e.preventDefault();break;default:return}s!==g&&(l||c(s),null==o||o(s))}),[g,a,n,r,o,l]);return{currentValue:g,hoverValue:u,focusedIndex:m,handleMouseEnter:v,handleMouseLeave:S,handleClick:f,handleKeyDown:E,setFocused:p,setHoverValue:h,isControlled:l}})({value:void 0!==l?l:s,maxValue:c,allowHalf:u,readOnly:h,onChange:g}),w=d(((e,t)=>{if(!h)if(u){const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;y(Math.max(.5,i))}else y(t)}),[h,u,y]),R=d(((e,t)=>{if(h||!u)return;const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;y(Math.max(.5,i))}),[h,u,y]),O=d((()=>{h||y(null)}),[h,y]),M=d(((e,t)=>{if(h)return;let a=t;if(u){const n=e.currentTarget.getBoundingClientRect(),i=n.left+n.width/2;a=e.clientX<i?t-.5:t,a=Math.max(.5,a)}null==g||g(a)}),[h,g,u]);o((()=>{if(E&&"undefined"!=typeof window&&N.current)return()=>{_.current&&_.current.destroy()}}),[E,l,s,c,u,h,m,p,g]),o((()=>{E&&_.current&&_.current.updateOptions({value:void 0!==l?l:s,maxValue:c,allowHalf:u,readOnly:h,size:m,color:p})}),[E,l,s,c,u,h,m,p]);const D=["c-rating","sm"===m?K.CLASSES.SMALL:"","lg"===m?K.CLASSES.LARGE:"",p?`c-rating--${p}`:"",v].filter(Boolean).join(" ");if(E)return e("div",{className:D,ref:_l(N,n),id:f,...b});const k=null!==T?T:C,B=e("div",{className:D,ref:_l(N,n),id:f,"data-readonly":h?"true":"false",onMouseLeave:O,role:h?"img":"radiogroup","aria-label":S||`Rating: ${C} out of ${c} stars`,...b,children:(()=>{const a=[],n=u?Math.floor(2*k)/2:Math.round(k),i=f||`rating-${Math.random().toString(36).substring(2,9)}`;for(let r=1;r<=c;r++){const o=r<=Math.floor(n),l=u&&r-.5===n,s=["c-rating__star",o?K.CLASSES.FULL:"",l?K.CLASSES.HALF:"",p?`c-rating__star--${p}`:"",L===r?"c-rating__star--focused":""].filter(Boolean).join(" "),d=`${i}-star-${r}`;a.push(e("div",{id:d,className:s,"data-value":r,role:h?"presentation":"button",tabIndex:h?-1:0,"aria-label":`${r} ${1===r?"star":"stars"}`,"aria-checked":r<=n,"aria-setsize":c,"aria-posinset":r,onClick:e=>M(e,r),onMouseEnter:e=>w(e,r),onMouseMove:e=>R(e,r),onFocus:()=>x(r),onBlur:()=>x(null),onKeyDown:e=>I(e,r),children:t("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{className:"c-rating__star-outline",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",strokeWidth:"1"}),e("path",{className:"c-rating__star-full",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),e("path",{className:"c-rating__star-half",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",clipPath:`url(#half-star-clip-${i}-${r})`}),e("defs",{children:e("clipPath",{id:`half-star-clip-${i}-${r}`,children:e("rect",{x:"0",y:"0",width:"12",height:"24"})})})]})},r))}return a})()});if(A){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===A?t:{...t,...A};return e(Gi,{...a,children:B})}return B}));Cl.displayName="Rating";const Tl=a=>{let{productName:n,productImage:l,initialRating:s=0,maxRating:c=5,allowHalf:d=!0,ratingColor:u="warning",onSubmit:h,className:m=""}=a;const[p,g]=i(s),[v,S]=i(""),[f,E]=i(!1),A=r(null),b=r(null);o((()=>{if("undefined"!=typeof window&&A.current)return()=>{b.current&&b.current.destroy()}}),[n,l,s,c,d,u,h]);const N=e=>{e.preventDefault(),h&&h(p,v),E(!0)},_=["c-product-review",m].filter(Boolean).join(" ");return f?e("div",{className:_,ref:A,children:t("div",{className:"c-product-review__success",children:[e("h3",{children:"Thank you for your review!"}),e("p",{children:"Your feedback helps us improve our products."}),e(tr,{variant:"secondary",label:"Write another review",onClick:()=>{E(!1),g(0),S("")}})]})}):t("div",{className:_,ref:A,children:[t("div",{className:"c-product-review__header",children:[t("h3",{className:"c-product-review__title",children:["Review ",n]}),l&&e("div",{className:"c-product-review__image-wrapper",children:e("img",{src:l,alt:n,className:"c-product-review__image"})})]}),t("form",{className:"c-product-review__form",onSubmit:N,children:[t("div",{className:"c-product-review__rating-container",children:[e("label",{className:"c-product-review__label",children:"Your Rating"}),t("div",{className:"c-rating-container",children:[e(Cl,{value:p,onChange:g,allowHalf:d,maxValue:c,size:"lg",color:u}),e("span",{className:"c-rating__value",children:p>0?p.toFixed(1):"Select a rating"})]})]}),t("div",{className:"c-product-review__comment-container",children:[e("label",{htmlFor:"review-comment",className:"c-product-review__label",children:"Your Review"}),e("textarea",{id:"review-comment",className:"c-product-review__textarea",value:v,onChange:e=>S(e.target.value),placeholder:"Share your experience with this product...",rows:5})]}),e("div",{className:"c-product-review__actions",children:e(tr,{variant:"primary",label:"Submit Review",disabled:0===p,onClick:()=>N(new Event("click"))})})]})]})};Tl.displayName="ProductReview";const Ll=l(((t,a)=>{let{value:n,variant:i="primary",size:r="md",className:o="",disabled:l=!1,ariaLabel:s=de.DEFAULTS.ARIA_LABEL}=t;const{progressValue:c,progressStyle:d,progressClasses:u}=(e=>{let{value:t,variant:a="primary",size:n="md",className:i=""}=e;const r=Math.min(Math.max(t,0),100),o="c-progress";return{progressValue:r,progressStyle:{"--atomix-progress-percentage":`${r}%`},progressClasses:[o,a?`${o}--${a}`:"",n?`${o}--${n}`:"",i||""].filter(Boolean).join(" ")}})({value:n,variant:i,size:r,className:o});return e("div",{ref:a,className:u,style:d,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c,"aria-label":s,"aria-disabled":l,children:e("div",{className:de.CLASSES.BAR})})})),yl=a=>{let{title:n,text:i,actions:r,imageSrc:o,imageAlt:l="Image",center:s=!1,breakout:c=!1,reverse:d=!1,contentColumns:u,backgroundImageSrc:h,showOverlay:m=!0,contentWidth:p,className:g=""}=a;const{generateRiverClassNames:v,generateContentClass:S,generateVisualClass:f,hasBackgroundImage:E,hasForegroundImage:A,textContent:b}=Oo({title:n,text:i,imageSrc:o,imageAlt:l,center:s,breakout:c,reverse:d,backgroundImageSrc:h,showOverlay:m,contentWidth:p}),N=p?{[Y.ATTRIBUTES.CONTENT_WIDTH]:p}:void 0,_=()=>E?t("div",{className:Y.SELECTORS.BG.replace(".",""),children:[e("img",{src:h,alt:"Background",className:Y.SELECTORS.BG_IMAGE.replace(".","")}),m&&e("div",{className:Y.SELECTORS.OVERLAY.replace(".","")})]}):null,C=()=>A?e("div",{className:f(),children:e("div",{className:Y.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:o,alt:l,className:Y.SELECTORS.IMAGE.replace(".","")})})}):null;return u&&u.length>0?t("div",{className:v(g),style:N,children:[_(),e("div",{className:`${Y.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:Y.SELECTORS.ROW.replace(".",""),children:[!d&&C(),t("div",{className:S(),children:[u.map(((t,a)=>e("div",{className:`${Y.SELECTORS.CONTENT_COL.replace(".","")} ${Y.SELECTORS[`CONTENT_COL_${t.type.toUpperCase()}`].replace(".","")}`,children:t.content},a))),r&&e("div",{className:Y.SELECTORS.ACTIONS.replace(".",""),children:r})]}),d&&C()]})})]}):t("div",{className:v(g),style:N,children:[_(),e("div",{className:`${Y.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:Y.SELECTORS.ROW.replace(".",""),children:[!d&&C(),t("div",{className:S(),children:[n&&e("h2",{className:Y.SELECTORS.TITLE.replace(".",""),children:n}),b.map(((t,a)=>e("p",{className:Y.SELECTORS.TEXT.replace(".",""),children:t},a))),r&&e("div",{className:Y.SELECTORS.ACTIONS.replace(".",""),children:r})]}),d&&C()]})})]})};yl.displayName="River";const xl=a=>{let{title:n,label:i,text:l,actions:s,alignment:c="left",backgroundImageSrc:d,showOverlay:u=!1,imageSrc:h,imageAlt:m="Section image",size:p="md",skeleton:g=!1,className:v=""}=a;const S=r(null),f=r(null);o((()=>{if("undefined"!=typeof window&&S.current)return()=>{f.current&&f.current.destroy()}}),[c,d,u,p,g]);const E=["c-sectionintro","center"===c?V.CLASSES.CENTER:"","sm"===p?V.CLASSES.SMALL:"","lg"===p?V.CLASSES.LARGE:"",d?"c-sectionintro--has-bg":"",v].filter(Boolean).join(" ");if(g)return e("div",{className:E,ref:S,children:t("div",{className:"c-sectionintro__container",children:[i&&e("div",{className:"c-sectionintro__label",children:e("span",{className:"c-skeleton u-w-25"})}),e("div",{className:"c-sectionintro__title",children:e("span",{className:"c-skeleton"})}),l&&t("div",{className:"c-sectionintro__text",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"})]}),s&&e("div",{className:"c-sectionintro__actions",children:e("span",{className:"c-skeleton u-w-25"})}),h&&e("div",{className:"c-sectionintro__image-wrapper",children:e("div",{className:"c-sectionintro__image c-skeleton"})})]})});return t("div",{className:E,ref:S,children:[d?t("div",{className:"c-sectionintro__bg",children:[e("img",{src:d,alt:"Background",className:"c-sectionintro__bg-image"}),u&&e("div",{className:"c-sectionintro__overlay"})]}):null,i&&e("div",{className:"c-sectionintro__label",children:i}),e("h2",{className:"c-sectionintro__title",children:n}),l&&e("div",{className:"c-sectionintro__text",children:l}),s&&e("div",{className:"c-sectionintro__actions",children:s}),h&&e("div",{className:"c-sectionintro__image-wrapper",children:e("img",{src:h,alt:m,className:"c-sectionintro__image"})})]})};xl.displayName="SectionIntro";const Il=l(((a,n)=>{var i;const{slides:r=[],height:o=300,width:l="100%",slidesToShow:s=1,spaceBetween:d=0,loop:u=!1,initialSlide:h=0,direction:m="horizontal",speed:p=300,allowTouchMove:g=!0,threshold:v=50,grabCursor:S=!0,autoplay:f,navigation:E,pagination:A,className:b,onSlideChange:N,..._}=a;if(!r||0===r.length)return e("div",{className:"c-slider c-slider--empty",style:{height:o,width:l},children:e("div",{className:"c-slider__empty-message",children:"No slides available"})});const C=jo({slides:r,slidesToShow:s,spaceBetween:d,loop:u,initialSlide:h,direction:m,speed:p,allowTouchMove:g,threshold:v,autoplay:f,onSlideChange:N}),{containerRef:T,wrapperRef:L,allSlides:y,realIndex:x,translateValue:I,slideWidth:w,transitioning:R,touching:O,slideNext:M,slidePrev:D,goToSlide:k,canSlideNext:B,canSlidePrev:P,handleTouchStart:z,handleTouchMove:F,handleTouchEnd:U,loopedSlides:G}=C,V=c((()=>0===w?0:y.length*(w+d)-d),[y.length,w,d]),Y=["c-slider","vertical"===m&&"c-slider--vertical",S&&"c-slider--grab-cursor",O&&"c-slider--grabbing",u&&"c-slider--loop",b].filter(Boolean).join(" ");return t("div",{ref:n||T,className:Y,style:{height:"number"==typeof o?`${o}px`:o,width:"number"==typeof l?`${l}px`:l,overflow:"hidden",position:"relative",cursor:S&&!O?"grab":O?"grabbing":"default",..._.style},onTouchStart:z,onTouchMove:F,onTouchEnd:U,onMouseDown:z,onMouseMove:F,onMouseUp:U,onMouseLeave:U,children:[e("div",{ref:L,className:"c-slider__wrapper",style:{display:"flex",flexDirection:"vertical"===m?"column":"row",width:"horizontal"===m?`${V}px`:"100%",height:"vertical"===m?`${V}px`:"100%",transform:"horizontal"===m?`translateX(${I}px)`:`translateY(${I}px)`,transition:!R||null!==(i=C.repositioningRef)&&void 0!==i&&i.current?"none":`transform ${p}ms ease-out`,willChange:"transform"},children:y.map(((a,n)=>t("div",{className:["c-slider__slide",(u?n%r.length===x:n===x)&&"c-slider__slide--active",a.isClone&&"c-slider__slide--duplicate"].filter(Boolean).join(" "),style:{width:"vertical"===m?"100%":`${w}px`,height:"vertical"===m?`${w}px`:"100%",flexShrink:0,marginRight:"horizontal"===m&&n<y.length-1?`${d}px`:0,marginBottom:"vertical"===m&&n<y.length-1?`${d}px`:0},children:[a.video?e("video",{src:a.video.src,poster:a.video.poster,autoPlay:a.video.autoplay,loop:a.video.loop,muted:a.video.muted,style:{width:"100%",height:"100%",objectFit:"cover"}}):a.backgroundImage?e("div",{style:{width:"100%",height:"100%",backgroundImage:`url(${a.backgroundImage})`,backgroundSize:"cover",backgroundPosition:"center"},children:a.content}):a.image?e("img",{src:a.image,alt:a.alt||a.title||"",style:{width:"100%",height:"100%",objectFit:"cover"}}):a.content,(a.title||a.description)&&t("div",{className:"c-slider__slide-content",children:[a.title&&e("h3",{children:a.title}),a.description&&e("p",{children:a.description})]})]},a.id||n)))}),E&&t("div",{className:"c-slider__navigation",children:[e("button",{type:"button",className:"c-slider__navigation-prev",onClick:D,disabled:!P,"aria-label":"Previous slide"}),e("button",{type:"button",className:"c-slider__navigation-next",onClick:M,disabled:!B,"aria-label":"Next slide"})]}),A&&e("div",{className:"c-slider__pagination",children:r.map(((t,a)=>e("button",{type:"button",className:"c-slider__pagination-bullet "+(a===x?"c-slider__pagination-bullet--active":""),onClick:()=>k(a),"aria-label":`Go to slide ${a+1}`},a)))})]})}));Il.displayName="Slider";const wl=a=>{let{items:n,activeIndex:r=0,vertical:l=!1,onStepChange:s,className:c="",glass:d}=a;const[u,h]=i(r);o((()=>{u!==r&&h(r)}),[r]);const m=e("div",{className:`c-steps ${l?F.CLASSES.VERTICAL:""} ${c}`,role:"navigation","aria-label":"Steps",children:n.map(((a,n)=>t("div",{className:`c-steps__item ${n<=u?F.CLASSES.ACTIVE:""} ${n<u?F.CLASSES.COMPLETED:""}`,"aria-current":n===u?"step":void 0,children:[e("div",{className:"c-steps__line"}),t("div",{className:"c-steps__content",children:[e("div",{className:"c-steps__number",children:a.number}),e("div",{className:"c-steps__text",children:a.text}),a.content&&e("div",{className:"c-steps__custom-content",children:a.content})]})]},`step-${n}`)))});if(d){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===d?t:{...t,...d};return e(Gi,{...a,children:m})}return m};wl.displayName="Steps";const Rl=a=>{let{items:n,activeIndex:r=z.DEFAULTS.ACTIVE_INDEX,onTabChange:o,className:l="",glass:s}=a;const[c,d]=i(r),u=t("div",{className:`c-tabs js-atomix-tab ${l}`,children:[e("ul",{className:"c-tabs__nav",children:n.map(((t,a)=>e("li",{className:"c-tabs__nav-item",children:e("button",{className:`c-tabs__nav-btn ${a===c?z.CLASSES.ACTIVE:""}`,onClick:()=>(e=>{d(e),o&&o(e)})(a),"data-tabindex":a,role:"tab","aria-selected":a===c,"aria-controls":`tab-panel-${a}`,children:t.label})},`tab-nav-${a}`)))}),e("div",{className:"c-tabs__panels",children:n.map(((t,a)=>e("div",{className:`c-tabs__panel ${a===c?z.CLASSES.ACTIVE:""}`,"data-tabindex":a,id:`tab-panel-${a}`,role:"tabpanel","aria-labelledby":`tab-nav-${a}`,style:{height:a===c?"auto":"0px",opacity:a===c?1:0,overflow:"hidden",transition:"height 0.3s ease, opacity 0.3s ease"},children:e("div",{className:"c-tabs__panel-body",children:t.content})},`tab-panel-${a}`)))})]});if(s){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===s?t:{...t,...s};return e(Gi,{...a,children:u})}return u};Rl.displayName="Tab";const Ol=a=>{let{quote:n,author:i,size:l="",skeleton:s=!1,className:c=""}=a;const d=r(null),u=r(null);o((()=>{if("undefined"!=typeof window&&d.current)return()=>{u.current&&u.current.destroy()}}),[l,s]);const h=["c-testimonial","sm"===l?U.CLASSES.SMALL:"","lg"===l?U.CLASSES.LARGE:"",c].filter(Boolean).join(" ");return t("div",s?{className:h,ref:d,children:[t("blockquote",{className:"c-testimonial__quote",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"}),e("span",{className:"c-skeleton u-w-25"})]}),t("div",{className:"c-testimonial__author",children:[e("span",{className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle c-skeleton"}),t("div",{className:"c-testimonial__info u-w-75",children:[e("p",{className:"c-testimonial__author-name",children:e("span",{className:"c-skeleton u-w-25"})}),e("p",{className:"c-testimonial__author-role",children:e("span",{className:"c-skeleton u-w-25"})})]})]})]}:{className:h,ref:d,children:[e("blockquote",{className:"c-testimonial__quote",children:n}),i&&t("div",{className:"c-testimonial__author",children:[i.avatarSrc&&e("img",{src:i.avatarSrc,alt:i.avatarAlt||"",className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle"}),t("div",{className:"c-testimonial__info",children:[e("p",{className:"c-testimonial__author-name",children:i.name}),e("p",{className:"c-testimonial__author-role",children:i.role})]})]})]})};Ol.displayName="Testimonial";const Ml=a=>{let{items:n=[],title:r="Todo List",onAddTodo:l,onToggleTodo:s,onDeleteTodo:c,size:d="md",placeholder:u="Add a new todo",showCompleted:h=!0,className:m="",disabled:p=!1}=a;const{inputText:g,setInputText:v,addTodo:S,generateTodoClasses:f,generateItemClasses:E}=Wo({items:n,title:r,size:d,placeholder:u,showCompleted:h,disabled:p}),[A,b]=i(n);o((()=>{b(n)}),[n]);const N=h?A:A.filter((e=>!e.completed)),_=f({size:d,className:m,disabled:p});return t("div",{className:_,children:[r&&e("h2",{className:"c-todo__title",children:r}),e("form",{className:"c-todo__form",onSubmit:e=>{if(e.preventDefault(),p||!g.trim())return;const t={id:Go(),text:g.trim(),completed:!1};b((e=>[...e,t])),l&&l(g),v("")},children:t("div",{className:"c-todo__form-group",children:[e("input",{type:"text",className:"c-todo__input c-input",placeholder:u,value:g,onChange:e=>v(e.target.value),disabled:p,"aria-label":"Add a new todo"}),e("button",{type:"submit",className:"c-todo__add-btn c-btn c-btn--primary",disabled:p||!g.trim(),"aria-label":"Add todo",children:e(Wi,{name:"Plus",size:"sm"})})]})}),e("ul",{className:"c-todo__list",children:0===N.length?e("li",{className:"c-todo__empty",children:"No items to display"}):N.map((a=>e("li",{className:E(a),children:t("div",{className:"c-todo__item-content",children:[t("label",{className:"c-todo__checkbox-label",children:[e("input",{type:"checkbox",className:"c-todo__checkbox c-checkbox",checked:a.completed,onChange:()=>(e=>{p||(b((t=>t.map((t=>t.id===e?{...t,completed:!t.completed}:t)))),s&&s(e))})(a.id),disabled:p,"aria-label":`Mark "${a.text}" as ${a.completed?"incomplete":"complete"}`}),e("span",{className:"c-todo__item-text",children:a.text})]}),e("button",{type:"button",className:"c-todo__delete-btn c-btn c-btn--error c-btn--sm",onClick:()=>(e=>{p||(b((t=>t.filter((t=>t.id!==e)))),c&&c(e))})(a.id),disabled:p,"aria-label":`Delete "${a.text}"`,children:e(Wi,{name:"Trash",size:"sm"})})]})},a.id)))})]})};Ml.displayName="Todo";const Dl=t=>{let{initialOn:a=!1,onToggleOn:n,onToggleOff:r,disabled:o=!1,className:l="",glass:s}=t;const[c,d]=i(a),u=()=>{if(o)return;const e=!c;d(e),e?n&&n():r&&r()},h=e("div",{className:`c-toggle ${c?P.CLASSES.IS_ON:""} ${o?"is-disabled":""} ${l}`,onClick:u,onKeyDown:e=>{o||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),u())},role:"switch","aria-checked":c,tabIndex:o?-1:0,"aria-disabled":o,children:e("div",{className:"c-toggle__switch"})});if(s){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===s?t:{...t,...s};return e(Gi,{...a,children:h})}return h};Dl.displayName="Toggle";const kl=a=>{let{content:n,children:o,position:l=k.DEFAULTS.POSITION,trigger:s=k.DEFAULTS.TRIGGER,className:c="",delay:d=k.DEFAULTS.DELAY,offset:u=k.DEFAULTS.OFFSET,glass:h}=a;const[m,p]=i(!1),g=r(null),v=()=>{g.current&&clearTimeout(g.current),d>0?g.current=setTimeout((()=>{p(!0)}),d):p(!0)},S=()=>{g.current&&clearTimeout(g.current),p(!1)},f=()=>{m?S():v()},E={};return"hover"===s?(E.onMouseEnter=v,E.onMouseLeave=S):"click"===s&&(E.onClick=f),t("div",{className:"u-position-relative u-d-inline-block",children:[e("div",{className:`${k.SELECTORS.TRIGGER.substring(1)}${c?` ${c}`:""}`,...E,children:o}),m&&e("div",{className:`c-tooltip ${k.SELECTORS.TOOLTIP.substring(1)} ${(()=>{switch(l){case"top":default:return"c-tooltip--top";case"bottom":return"c-tooltip--bottom";case"left":return"c-tooltip--left";case"right":return"c-tooltip--right";case"top-left":return"c-tooltip--top-left";case"top-right":return"c-tooltip--top-right";case"bottom-left":return"c-tooltip--bottom-left";case"bottom-right":return"c-tooltip--bottom-right"}})()} ${h?"c-tooltip--glass":""}`,"data-tooltip-position":l,"data-tooltip-trigger":s,children:h?(()=>{const a={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},i=!0===h?a:{...a,...h};return e(Gi,{...i,children:t("div",{className:`c-tooltip__content ${k.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:k.SELECTORS.ARROW.substring(1)}),n]})})})():t("div",{className:`c-tooltip__content ${k.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:k.SELECTORS.ARROW.substring(1)}),n]})})]})};kl.displayName="Tooltip";const Bl=a=>{let{disabled:n=!1,maxSizeInMB:o=5,acceptedFileTypes:l=["application/pdf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/jpeg","image/png"],multiple:s=!1,title:c="Drag and Drop files here",supportedFilesText:d="Files supported: PDF, XSLS, JPEG, PNG, Scanner",buttonText:u="Choose File",helperText:h=`Maximum size: ${o}MB`,icon:m=e("i",{className:"icon-lux-cloud-arrow-up-fill"}),onFileSelect:p,onFileUpload:g,onFileUploadComplete:v,onFileUploadError:S,className:f=""}=a;const E=r(null),[A,b]=i("idle"),[N,_]=i(!1),[C,T]=i(null),[L,y]=i(0),[x,I]=i(null),[w,R]=i(null),[O,M]=i(null),D=r(0),k=e=>{if(!e.length)return;const t=(s?e:[e[0]]).filter((e=>void 0!==e&&B(e)));t.length&&p&&p(t),t.length&&(T(t[0]||null),t[0]&&P(t[0]))},B=e=>{const t=1024*o*1024;if(e.size>t)return b("error"),R(`File too large. Maximum size is ${o}MB.`),!1;if(null!=l&&l.length){if(!l.some((t=>{if(t.endsWith("/*")){const a=t.split("/")[0];return e.type.startsWith(`${a}/`)}return e.type===t})))return b("error"),R("File type not supported."),!1}return!0},P=e=>{b("loading"),y(0);let t=0;const a=setInterval((()=>{t+=5,t<100?(y(t),I(`${Math.ceil((100-t)/5)} seconds left`),g&&g(e,t)):(clearInterval(a),b("success"),M("Upload successful"),v&&v(e))}),500)};return e("div",{className:`c-upload ${N?H.CLASSES.DRAGGING:""} ${n?H.CLASSES.DISABLED:""} ${f}`,onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),n||(D.current++,1===D.current&&_(!0))},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),n||(D.current--,0===D.current&&_(!1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation()},onDrop:e=>{var t;if(e.preventDefault(),e.stopPropagation(),n)return;if(D.current=0,_(!1),null===(t=e.dataTransfer.files)||void 0===t||!t.length)return;const a=Array.from(e.dataTransfer.files);k(a)},children:t("div",{className:"c-upload__inner",children:[e("input",{type:"file",ref:E,className:"c-upload__input",onChange:e=>{var t;if(null===(t=e.target.files)||void 0===t||!t.length)return;const a=Array.from(e.target.files);k(a)},disabled:n,accept:l.join(","),multiple:s}),t("div",{className:"c-upload__inner",children:[e("div",{className:"c-upload__icon",children:m}),e("h3",{className:"c-upload__title",children:c}),e("p",{className:"c-upload__text",children:d}),e("button",{type:"button",className:"c-upload__btn c-btn",onClick:()=>{E.current&&!n&&E.current.click()},disabled:n,children:u}),e("p",{className:"c-upload__helper-text",children:h})]}),"idle"!==A&&t("div",{className:"c-upload__loader",style:{"--upload-loader-percentage":L},children:[C&&t("div",{className:"c-upload__loader-status",children:[e("h5",{className:"c-upload__loader-title",children:C.name}),t("div",{className:"c-upload__loader-progress",children:[t("div",{className:"c-upload__loader-par",children:[L,"%"]}),e("div",{className:"c-upload__loader-time",children:x})]})]}),("loading"===A||"error"===A||"success"===A)&&t("div",{className:"c-upload__loader-control",children:[e("div",{className:"c-upload__loader-bar",children:t("svg",{children:[e("circle",{cx:"10",cy:"10",r:"10"}),e("circle",{cx:"10",cy:"10",r:"10"})]})}),e("button",{type:"button",className:"c-upload__loader-close c-btn",onClick:()=>{b("idle"),T(null),y(0),I(null),R(null),M(null)},children:e("i",{className:"icon-lux-x"})})]})]})]})})};Bl.displayName="Upload";const Pl=l(((n,l)=>{var s;let{src:c,type:u="video",youtubeId:h,poster:m,autoplay:p=!1,loop:g=!1,muted:v=!1,controls:S=!0,preload:I="metadata",width:w,height:R,aspectRatio:O="16:9",className:M="",onPlay:D,onPause:k,onEnded:B,onTimeUpdate:P,onVolumeChange:z,onFullscreenChange:F,onError:U,showDownload:G=!1,showShare:V=!1,showSettings:Y=!0,playbackRates:H=[.5,.75,1,1.25,1.5,2],subtitles:W,quality:Q,ambientMode:K=!1,glass:Z=!1,glassOpacity:j=1,glassContent:q,...X}=n;const $=r(null),J=r(null),ee=r(null),te=r(null),[ae,ne]=i(8),ie="youtube"===u||h||c&&Yo(c),re=h||(ie&&c?Vo(c):null),{isPlaying:oe,currentTime:le,duration:se,volume:ce,isMuted:de,isFullscreen:he,isLoading:me,playbackRate:pe,currentQuality:ge,showControls:ve,play:Se,pause:fe,togglePlay:Ee,seek:Ae,setVolume:be,toggleMute:Ne,toggleFullscreen:_e,togglePictureInPicture:Ce,setPlaybackRate:Te,setQuality:Le,formatTime:ye,getProgressPercentage:xe,getBufferedPercentage:Ie}=function(e){let{videoRef:t,containerRef:a,onPlay:n,onPause:l,onEnded:s,onTimeUpdate:c,onVolumeChange:u,onFullscreenChange:h,onError:m,playbackRates:p=[.5,.75,1,1.25,1.5,2],quality:g}=e;const[v,S]=i(!1),[f,E]=i(0),[A,b]=i(0),[N,_]=i(1),[C,T]=i(!1),[L,y]=i(!1),[x,I]=i(!1),[w,R]=i(!1),[O,M]=i(0),[D,k]=i(1),[B,P]=i((null==g?void 0:g[0])||null),[z,F]=i(!0),U=r(null),G=d((()=>{U.current&&clearTimeout(U.current),F(!0),U.current=setTimeout((()=>{v&&F(!1)}),3e3)}),[v]),V=d((async()=>{if(t.current)try{await t.current.play(),S(!0),null==n||n()}catch(e){}}),[t,n]),Y=d((()=>{t.current&&(t.current.pause(),S(!1),null==l||l())}),[t,l]),H=d((()=>{v?Y():V()}),[v,V,Y]),W=d((e=>{t.current&&(t.current.currentTime=Math.max(0,Math.min(e,A)))}),[t,A]),Q=d((e=>{const a=Math.max(0,Math.min(1,e));t.current&&(t.current.volume=a,_(a),T(0===a),null==u||u(a))}),[t,u]),K=d((()=>{if(t.current){const e=!C;t.current.muted=e,T(e)}}),[t,C]),Z=d((async()=>{if(a.current)try{L?document.exitFullscreen&&await document.exitFullscreen():a.current.requestFullscreen&&await a.current.requestFullscreen()}catch(e){}}),[a,L]),j=d((async()=>{if(t.current)try{x?document.exitPictureInPicture&&await document.exitPictureInPicture():t.current.requestPictureInPicture&&await t.current.requestPictureInPicture()}catch(e){}}),[t,x]),q=d((e=>{t.current&&Oi(p).call(p,e)&&(t.current.playbackRate=e,k(e))}),[t,p]),X=d((e=>{if(t.current&&g){const a=t.current.currentTime,n=!t.current.paused;t.current.src=e.src,t.current.currentTime=a,n&&t.current.play(),P(e)}}),[t,g]),$=d((e=>{const t=Math.floor(e/3600),a=Math.floor(e%3600/60),n=Math.floor(e%60);return t>0?`${t}:${a.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`:`${a}:${n.toString().padStart(2,"0")}`}),[]),J=d((()=>A>0?f/A*100:0),[f,A]),ee=d((()=>A>0?O/A*100:0),[O,A]);return o((()=>{const e=t.current;if(!e)return;const a=()=>R(!0),i=()=>R(!1),r=()=>{b(e.duration),_(e.volume),T(e.muted)},o=()=>{E(e.currentTime),null==c||c(e.currentTime)},d=()=>{e.buffered.length>0&&M(e.buffered.end(e.buffered.length-1))},h=()=>{S(!0),null==n||n()},p=()=>{S(!1),null==l||l()},g=()=>{S(!1),null==s||s()},v=()=>{_(e.volume),T(e.muted),null==u||u(e.volume)},f=e=>{R(!1),null==m||m(e)},A=()=>I(!0),N=()=>I(!1);return e.addEventListener("loadstart",a),e.addEventListener("canplay",i),e.addEventListener("loadedmetadata",r),e.addEventListener("timeupdate",o),e.addEventListener("progress",d),e.addEventListener("play",h),e.addEventListener("pause",p),e.addEventListener("ended",g),e.addEventListener("volumechange",v),e.addEventListener("error",f),e.addEventListener("enterpictureinpicture",A),e.addEventListener("leavepictureinpicture",N),()=>{e.removeEventListener("loadstart",a),e.removeEventListener("canplay",i),e.removeEventListener("loadedmetadata",r),e.removeEventListener("timeupdate",o),e.removeEventListener("progress",d),e.removeEventListener("play",h),e.removeEventListener("pause",p),e.removeEventListener("ended",g),e.removeEventListener("volumechange",v),e.removeEventListener("error",f),e.removeEventListener("enterpictureinpicture",A),e.removeEventListener("leavepictureinpicture",N)}}),[t,n,l,s,c,u,m]),o((()=>{const e=()=>{const e=!!document.fullscreenElement;y(e),null==h||h(e)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[h]),o((()=>{const e=e=>{var t;if(null!==(t=a.current)&&void 0!==t&&t.contains(document.activeElement))switch(e.code){case"Space":e.preventDefault(),H();break;case"ArrowLeft":e.preventDefault(),W(f-10);break;case"ArrowRight":e.preventDefault(),W(f+10);break;case"ArrowUp":e.preventDefault(),Q(Math.min(1,N+.1));break;case"ArrowDown":e.preventDefault(),Q(Math.max(0,N-.1));break;case"KeyM":e.preventDefault(),K();break;case"KeyF":e.preventDefault(),Z()}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[H,W,f,Q,N,K,Z,a]),o((()=>{const e=a.current;if(!e)return;const t=()=>G(),n=()=>{U.current&&clearTimeout(U.current),v&&F(!1)};return e.addEventListener("mousemove",t),e.addEventListener("mouseleave",n),()=>{e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",n),U.current&&clearTimeout(U.current)}}),[a,G,v]),{isPlaying:v,currentTime:f,duration:A,volume:N,isMuted:C,isFullscreen:L,isPictureInPicture:x,isLoading:w,buffered:O,playbackRate:D,currentQuality:B,showControls:z,play:V,pause:Y,togglePlay:H,seek:W,setVolume:Q,toggleMute:K,toggleFullscreen:Z,togglePictureInPicture:j,setPlaybackRate:q,setQuality:X,formatTime:$,getProgressPercentage:J,getBufferedPercentage:ee}}({videoRef:$,containerRef:J,onPlay:D,onPause:k,onEnded:B,onTimeUpdate:P,onVolumeChange:z,onFullscreenChange:F,onError:U,playbackRates:H,quality:Q});!function(e){let{videoRef:t,canvasRef:a,enabled:n,blur:i=60,opacity:l=.6,scale:s=1.2}=e;const c=r(60);o((()=>{if(!n||!t.current||!a.current)return;const e=t.current,r=a.current,o=r.getContext("2d");if(!o)return;const d=()=>{if(!e||!r||!o)return;const t=e.getBoundingClientRect();r.width=t.width*s,r.height=t.height*s,o.filter=`blur(${i}px)`,o.globalAlpha=l;try{o.drawImage(e,0,0,r.width,r.height)}catch(e){}n&&(c.current=requestAnimationFrame(d))},u=()=>{n&&d()},h=()=>{c.current&&cancelAnimationFrame(c.current)};return e.addEventListener("play",u),e.addEventListener("pause",h),e.addEventListener("ended",h),e.paused||u(),()=>{e.removeEventListener("play",u),e.removeEventListener("pause",h),e.removeEventListener("ended",h),c.current&&cancelAnimationFrame(c.current)}}),[n,i,l,s,t,a])}({videoRef:$,canvasRef:ee,enabled:K});const[we,Re]=i(!1),[Oe,Me]=i("quality"),[De,ke]=i((null==W||null===(s=W.find((e=>e.default)))||void 0===s?void 0:s.srcLang)||null),[Be,Pe]=i({width:0,height:0}),ze=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;Ae(a*se)}),[se,Ae]),Fe=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;be(a)}),[be]),Ue=d((()=>{if(c){const e=document.createElement("a");e.href=c,e.download="video",e.click()}}),[c]),Ge=d((async()=>{if(navigator.share)try{await navigator.share({title:"Video",url:window.location.href})}catch(e){}}),[]),Ve=d((e=>{const t=$.current;if(t){const a=t.textTracks;for(let e=0;e<a.length;e++){const t=a[e];t&&(t.mode="hidden")}if(e)for(let t=0;t<a.length;t++){const n=a[t];if(n&&n.language===e){n.mode="showing";break}}ke(e)}}),[$]);o((()=>{const e=$.current;if(e&&W){const t=()=>{setTimeout((()=>{const e=W.find((e=>e.default));e&&Ve(e.srcLang)}),100)},a=()=>{if(e.textTracks.length>0){const e=W.find((e=>e.default));e&&Ve(e.srcLang)}};return e.addEventListener("loadeddata",t),e.addEventListener("canplay",a),()=>{e.removeEventListener("loadeddata",t),e.removeEventListener("canplay",a)}}}),[W,Ve,$]),o((()=>{const e=()=>{if(ie&&te.current){const e=te.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}else if($.current){const e=$.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}},t=setTimeout(e,100),a=new ResizeObserver(e);if(ie&&te.current){const n=te.current;a.observe(n);const i=()=>e();return n.addEventListener("load",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("load",i)}}if($.current){const n=$.current;a.observe(n);const i=()=>e();return n.addEventListener("loadedmetadata",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("loadedmetadata",i)}}return window.addEventListener("resize",e),()=>{clearTimeout(t),a.disconnect(),window.removeEventListener("resize",e)}}),[ie,$,te]);const Ye=d((()=>{J.current&&J.current.focus()}),[]);o((()=>{const e=()=>{if(!J.current)return;const e=window.getComputedStyle(J.current),t=e.borderRadius||e.borderTopLeftRadius,a=parseFloat(t);isNaN(a)||ne(a)};e();let t=null;return"undefined"!=typeof ResizeObserver&&J.current&&(t=new ResizeObserver(e),t.observe(J.current)),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),t&&J.current&&(t.unobserve(J.current),t.disconnect())}}),[]);const He=d((e=>{switch(e.key){case" ":case"k":e.preventDefault(),Ee();break;case"ArrowLeft":e.preventDefault(),Ae(le-10);break;case"ArrowRight":e.preventDefault(),Ae(le+10);break;case"ArrowUp":e.preventDefault(),be(Math.min(1,ce+.1));break;case"ArrowDown":e.preventDefault(),be(Math.max(0,ce-.1));break;case"m":e.preventDefault(),Ne();break;case"f":e.preventDefault(),_e()}}),[Ee,le,Ae,ce,be,Ne,_e]);return t("div",{ref:J,className:`${ue.CLASSES.BASE} ${ie?ue.CLASSES.YOUTUBE:""} ${K?ue.CLASSES.AMBIENT:""} ${Z?ue.CLASSES.GLASS:""} ${M}`,style:{width:w,height:R,aspectRatio:O?O.replace(":","/"):void 0},tabIndex:0,onClick:Ye,onKeyDown:He,role:"application","aria-label":"Video player",...X,children:[K&&e("canvas",{ref:ee,className:ue.CLASSES.AMBIENT_CANVAS,"aria-hidden":"true"}),ie&&re?e("iframe",{ref:te,className:ue.CLASSES.VIDEO,src:`https://www.youtube.com/embed/${re}?${new URLSearchParams({autoplay:p?"1":"0",loop:g?"1":"0",mute:v?"1":"0",controls:S?"1":"0",modestbranding:"1",rel:"0",...g&&{playlist:re}}).toString()}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e("video",{ref:e=>{$&&$.current!==e&&($.current=e),"function"==typeof l?l(e):l&&l.current!==e&&(l.current=e)},className:ue.CLASSES.VIDEO,src:c,poster:m,autoPlay:p,loop:g,muted:v,preload:I,controls:!1,crossOrigin:"anonymous",children:W&&W.map((t=>e("track",{kind:"subtitles",src:t.src,srcLang:t.srcLang,label:t.label,default:t.default},t.srcLang)))}),me&&e("div",{className:ue.CLASSES.LOADING,children:e("div",{className:ue.CLASSES.SPINNER})}),Z&&e("div",{className:ue.CLASSES.GLASS_OVERLAY,children:e(Gi,{..."boolean"==typeof Z?{}:Z,style:{borderRadius:"inherit"},mouseContainer:J,displacementScale:30,blurAmount:0,saturation:100,aberrationIntensity:0,cornerRadius:ae,elasticity:0,children:!q&&e("div",{style:{width:Be.width>0?`${Be.width}px`:"100%",height:Be.height>0?`${Be.height}px`:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"transparent"}})})}),Z&&q&&e("div",{className:ue.CLASSES.GLASS_CONTENT,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:q}),S&&!ie&&t("div",{className:`${ue.CLASSES.CONTROLS} ${ve?ue.CLASSES.CONTROLS_VISIBLE:""}`,style:{zIndex:Z?3:"auto"},children:[e("div",{className:ue.CLASSES.PROGRESS_CONTAINER,children:t("div",{className:ue.CLASSES.PROGRESS_BAR,onClick:ze,children:[e("div",{className:ue.CLASSES.PROGRESS_BUFFERED,style:{width:`${Ie()}%`}}),e("div",{className:ue.CLASSES.PROGRESS_PLAYED,style:{width:`${xe()}%`}}),e("div",{className:ue.CLASSES.PROGRESS_THUMB,style:{left:`${xe()}%`}})]})}),t("div",{className:ue.CLASSES.CONTROLS_ROW,children:[t("div",{className:ue.CLASSES.CONTROLS_LEFT,children:[e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ee,"aria-label":oe?"Pause":"Play",children:e(oe?f:E,{size:20})}),e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:()=>Ae(le-10),"aria-label":"Skip back 10 seconds",children:e(A,{size:20})}),e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:()=>Ae(le+10),"aria-label":"Skip forward 10 seconds",children:e(b,{size:20})}),t("div",{className:ue.CLASSES.VOLUME_CONTAINER,children:[e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ne,"aria-label":de?"Unmute":"Mute",children:e(de||0===ce?N:_,{size:20})}),e("div",{className:ue.CLASSES.VOLUME_SLIDER,children:e("div",{className:ue.CLASSES.VOLUME_BAR,onClick:Fe,children:e("div",{className:ue.CLASSES.VOLUME_FILL,style:{width:100*ce+"%"}})})})]}),t("div",{className:ue.CLASSES.TIME_DISPLAY,children:[e("span",{children:ye(le)}),e("span",{children:"/"}),e("span",{children:ye(se)})]})]}),t("div",{className:ue.CLASSES.CONTROLS_RIGHT,children:[Y&&t("div",{className:ue.CLASSES.SETTINGS_CONTAINER,children:[e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:()=>Re(!we),"aria-label":"Settings",children:e(C,{size:20})}),we&&t("div",{className:ue.CLASSES.SETTINGS_MENU,children:[t("div",{className:ue.CLASSES.SETTINGS_TABS,children:[Q&&Q.length>1&&e("button",{className:`${ue.CLASSES.SETTINGS_TAB} ${"quality"===Oe?ue.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("quality"),children:"Quality"}),e("button",{className:`${ue.CLASSES.SETTINGS_TAB} ${"speed"===Oe?ue.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("speed"),children:"Speed"}),e("button",{className:`${ue.CLASSES.SETTINGS_TAB} ${"subtitles"===Oe?ue.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("subtitles"),children:"Subtitles"})]}),t("div",{className:ue.CLASSES.SETTINGS_CONTENT,children:["quality"===Oe&&Q&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:Q.map((t=>e("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${(null==ge?void 0:ge.label)===t.label?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Le(t),children:t.label},t.label)))}),"speed"===Oe&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:H.map((e=>t("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${pe===e?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Te(e),children:[e,"x"]},e)))}),"subtitles"===Oe&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:W&&W.length>0?t(a,{children:[e("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${null===De?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Ve(null),children:"Off"}),W.map((t=>e("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${De===t.srcLang?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Ve(t.srcLang),children:t.label},t.srcLang)))]}):e("div",{className:ue.CLASSES.SETTINGS_OPTION,style:{opacity:.6,cursor:"default"},children:"No subtitles available"})})]})]})]}),G&&e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ue,"aria-label":"Download video",children:e(T,{size:20})}),V&&e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ge,"aria-label":"Share video",children:e(L,{size:20})}),e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ce,"aria-label":"Picture in Picture",children:e("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:e("path",{d:"M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14z"})})}),e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:_e,"aria-label":he?"Exit fullscreen":"Enter fullscreen",children:e(he?y:x,{size:20})})]})]})]})]})}));Pl.displayName="VideoPlayer";var zl=Object.freeze({__proto__:null,Accordion:Vi,AdvancedChart:xr,AnimatedChart:Ir,AreaChart:Dr,AtomixGlass:Gi,AtomixLogo:Yi,Avatar:Qi,AvatarGroup:Ki,Badge:ji,BarChart:Br,Block:$i,Breadcrumb:Ji,BubbleChart:Pr,Button:tr,Callout:ar,CandlestickChart:zr,Card:nr,Chart:yr,ChartRenderer:Rr,Checkbox:Co,ColorModeToggle:Xr,Countdown:$r,DataTable:lo,DatePicker:mo,DonutChart:Fr,Dropdown:go,EdgePanel:So,Footer:tl,FooterLink:nl,FooterSection:al,FooterSocialLink:el,Form:Lo,FormGroup:xo,FunnelChart:Ur,GaugeChart:Gr,HeatmapChart:Vr,Hero:il,Icon:Wi,Input:wo,LineChart:Mr,List:rl,Messages:ol,Modal:ll,MultiAxisChart:Yr,Nav:sl,NavItem:cl,Navbar:dl,Pagination:oo,PhotoViewer:El,PieChart:Wr,Popover:bl,ProductReview:Tl,Progress:Ll,RadarChart:Qr,Radio:$o,Rating:Cl,RealTimeChart:Kr,River:yl,ScatterChart:Zr,SectionIntro:xl,Select:Xo,SideMenu:ul,SideMenuItem:hl,SideMenuList:ml,Slider:Il,Spinner:to,Steps:wl,Tab:Rl,Testimonial:Ol,Textarea:Jo,Todo:Ml,Toggle:Dl,Tooltip:kl,TreemapChart:jr,Upload:Bl,VideoPlayer:Pl,WaterfallChart:qr});const Fl=qo,Ul=Ho,Gl=Object.freeze({__proto__:null}),Vl=Object.freeze({__proto__:null,ACCORDION:w,ATOMIX_GLASS:{BASE_CLASS:"c-atomix-glass",WARP_CLASS:"c-atomix-glass__warp",CONTENT_CLASS:"c-atomix-glass__content",BORDER_CLASS:"c-atomix-glass__border",OVER_LIGHT_CLASS:"c-atomix-glass__over-light",HOVER_EFFECT_CLASS:"c-atomix-glass__hover-effect",ACTIVE_EFFECT_CLASS:"c-atomix-glass__active-effect",GLOW_EFFECT_CLASS:"c-atomix-glass__glow-effect",VARIANT_PREFIX:"c-atomix-glass--",MODE_PREFIX:"c-atomix-glass--",CLASSES:{BASE:"c-atomix-glass",WARP:"c-atomix-glass__warp",CONTENT:"c-atomix-glass__content",BORDER:"c-atomix-glass__border",BORDER_OVERLAY:"c-atomix-glass__border--overlay",OVER_LIGHT:"c-atomix-glass__over-light",OVER_LIGHT_ACTIVE:"c-atomix-glass__over-light--active",OVER_LIGHT_OVERLAY:"c-atomix-glass__over-light--overlay",OVER_LIGHT_OVERLAY_ACTIVE:"c-atomix-glass__over-light--overlay-active",HOVER_EFFECT:"c-atomix-glass__hover-effect",HOVER_EFFECT_ACTIVE:"c-atomix-glass__hover-effect--active",ACTIVE_EFFECT:"c-atomix-glass__active-effect",ACTIVE_EFFECT_ACTIVE:"c-atomix-glass__active-effect--active",GLOW_EFFECT:"c-atomix-glass__glow-effect",GLOW_EFFECT_HOVER:"c-atomix-glass__glow-effect--hover",GLOW_EFFECT_ACTIVE:"c-atomix-glass__glow-effect--active",CLICKABLE:"c-atomix-glass--clickable",ACTIVE:"c-atomix-glass--active",STANDARD:"c-atomix-glass--standard",POLAR:"c-atomix-glass--polar",PROMINENT:"c-atomix-glass--prominent",SHADER:"c-atomix-glass--shader"},DEFAULTS:{DISPLACEMENT_SCALE:70,BLUR_AMOUNT:.0625,SATURATION:140,ABERRATION_INTENSITY:2,ELASTICITY:.15,CORNER_RADIUS:999,PADDING:"24px 32px",MODE:"standard",OVER_LIGHT:!1,SIZE:"md"}},AVATAR:re,AVATAR_GROUP:oe,BADGE:R,BLOCK:ge,BREADCRUMB:M,BUTTON:{BASE_CLASS:"c-btn",ICON_CLASS:"c-btn__icon",VARIANT_PREFIX:"c-btn--"},CALLOUT:{BASE_CLASS:"c-callout",CONTENT_CLASS:"c-callout__content",ICON_CLASS:"c-callout__icon",MESSAGE_CLASS:"c-callout__message",TITLE_CLASS:"c-callout__title",TEXT_CLASS:"c-callout__text",ACTIONS_CLASS:"c-callout__actions",CLOSE_BTN_CLASS:"c-callout__close-btn",VARIANT_PREFIX:"c-callout--",CLASSES:{ONELINE:"c-callout--oneline",TOAST:"c-callout--toast",HIDE:"is-hide"}},CARD:ae,CHART:pe,CLASS_PREFIX:{COMPONENT:"c-",UTILITY:"u-",LAYOUT:"l-",OBJECT:"o-"},CODE_SNIPPET:{BASE_CLASS:"c-code-snippet",CONTAINER_CLASS:"c-code-snippet__container",HEADER_CLASS:"c-code-snippet__header",LANGUAGE_CLASS:"c-code-snippet__language",ACTIONS_CLASS:"c-code-snippet__actions",ACTION_CLASS:"c-code-snippet__action",CONTENT_CLASS:"c-code-snippet__content",CODE_CLASS:"c-code-snippet__content__code",LINE_NUMBER_CLASS:"c-code-snippet__content__line-number",COPY_FEEDBACK_CLASS:"c-code-snippet__copy-feedback",MODIFIERS:{FULLSCREEN:"c-code-snippet__container--fullscreen",WRAP:"c-code-snippet__content--wrap",LIGHT:"c-code-snippet__container--light",DARK:"c-code-snippet__container--dark"},ACTION_STATES:{ACTIVE:"c-code-snippet__action--active",DISABLED:"c-code-snippet__action--disabled"},COPY_FEEDBACK_STATES:{VISIBLE:"c-code-snippet__copy-feedback--visible"},THEMES:{LIGHT:"light",DARK:"dark",AUTO:"auto"},DEFAULTS:{SHOW_LINE_NUMBERS:!0,WRAP_LINES:!1,ENABLE_FULLSCREEN:!0,ENABLE_COPY:!0,SHOW_TOOLBAR:!0,THEME:"light"},ARIA_LABELS:{COPY:"Copy code to clipboard",WRAP_LINES:"Toggle line wrapping",FULLSCREEN:"Toggle fullscreen mode",LANGUAGE:"Code language"}},COUNTDOWN:{SELECTORS:{COUNTDOWN:".c-countdown",TIME:".c-countdown__time",TIME_COUNT:".c-countdown__time-count",TIME_LABEL:".c-countdown__time-label",SEPARATOR:".c-countdown__separator"},CLASSES:{BASE:"c-countdown",FOCUSED:"c-countdown--focused"},DEFAULTS:{SEPARATOR:":",SHOW:["days","hours","minutes","seconds"]}},DATA_TABLE_CLASSES:j,DATA_TABLE_SELECTORS:{TABLE:".c-data-table",HEADER:".c-data-table__header",HEADER_CELL:".c-data-table__header-cell",ROW:".c-data-table__row",CELL:".c-data-table__cell",PAGINATION:".c-data-table__pagination",PAGINATION_BUTTON:".c-data-table__pagination-button",SEARCH_INPUT:".c-data-table__search-input"},DATEPICKER:{SELECTORS:{DATEPICKER:".c-datepicker",INPUT:".c-datepicker__input",CALENDAR:".c-datepicker__calendar",DAY:".c-datepicker__day",MONTH:".c-datepicker__month",YEAR:".c-datepicker__year",HEADER:".c-datepicker__header",BODY:".c-datepicker__body",FOOTER:".c-datepicker__footer",WEEKDAYS:".c-datepicker__weekdays",TODAY_BUTTON:".c-datepicker__today-button",CLEAR_BUTTON:".c-datepicker__clear-button",CLOSE_BUTTON:".c-datepicker__close-button",NAV_BUTTON:".c-datepicker__nav-button",VIEW_SWITCH:".c-datepicker__view-switch"},CLASSES:{IS_OPEN:"is-open",IS_DISABLED:"is-disabled",IS_SELECTED:"is-selected",IS_TODAY:"is-today",INLINE:"c-datepicker--inline"},ATTRIBUTES:{FORMAT:"data-format",MIN_DATE:"data-min-date",MAX_DATE:"data-max-date",INLINE:"data-inline",PLACEMENT:"data-placement",CLEARABLE:"data-clearable",SHOW_TODAY:"data-show-today-button",SHOW_WEEK_NUMBERS:"data-show-week-numbers"},DEFAULTS:{FORMAT:"MM/dd/yyyy",PLACEMENT:"bottom-start",CLEARABLE:!0,SHOW_TODAY_BUTTON:!0,SHOW_WEEK_NUMBERS:!1,INLINE:!1}},DROPDOWN:ce,EDGE_PANEL:Z,FOOTER:ve,FORM:$,FORM_GROUP:J,GLASS_CONTAINER:{CLASSES:{BASE:"c-glass-container",GLASS:"c-glass-container__glass",WARP:"c-glass-container__warp",CONTENT:"c-glass-container__content",OVERLAY:"c-glass-container__overlay",OVERLAY_VISIBLE:"c-glass-container__overlay--visible",OVERLAY_HIDDEN:"c-glass-container__overlay--hidden",OVERLAY_BLEND:"c-glass-container__overlay-blend",BORDER:"c-glass-container__border",BORDER_OVERLAY:"c-glass-container__border-overlay",HOVER_EFFECT:"c-glass-container__hover-effect",ACTIVE_EFFECT:"c-glass-container__active-effect",INTERACTION_EFFECT:"c-glass-container__interaction-effect",ACTIVE:"c-glass-container--active",CLICKABLE:"c-glass-container--clickable"},DISPLACEMENT_MAPS:{STANDARD:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iZ3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZGllbnQpIi8+PC9zdmc+",POLAR:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0icG9sYXIiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQwNDA0MCIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjODA4MDgwIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwb2xhcikiLz48L3N2Zz4=",PROMINENT:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0icHJvbWluZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNjMGMwYzAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MDQwNDAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3Byb21pbmVudCkiLz48L3N2Zz4="}},HERO:D,INPUT:ee,LIST:O,LIST_GROUP:{BASE_CLASS:"c-list-group",ITEM_CLASS:"c-list-group__item",VARIANT_PREFIX:"c-list-group--",SIZE_PREFIX:"c-list-group--"},MESSAGES:se,MODAL:le,NAV:W,NAVBAR:{SELECTORS:{NAVBAR:".c-navbar",CONTAINER:".c-navbar__container",BRAND:".c-navbar__brand",COLLAPSE:".c-navbar__collapse",TOGGLER:".c-navbar__toggler",TOGGLER_ICON:".c-navbar__toggler-icon"},CLASSES:{BASE:"c-navbar",CONTAINER:"c-navbar__container",BRAND:"c-navbar__brand",COLLAPSE:"c-navbar__collapse",TOGGLER:"c-navbar__toggler",TOGGLER_ICON:"c-navbar__toggler-icon",FIXED:"c-navbar--fixed",FIXED_BOTTOM:"c-navbar--fixed-bottom",COLLAPSIBLE:"c-navbar--collapsible",EXPANDED:"is-expanded",BACKDROP:"c-navbar__backdrop"},ATTRIBUTES:{NAVBAR:"data-navbar",COLLAPSIBLE:"data-collapsible",EXPANDED:"data-expanded",POSITION:"data-position",BACKDROP:"data-backdrop",AUTO_CLOSE:"data-auto-close",KEYBOARD:"data-keyboard"},DEFAULTS:{POSITION:"static",COLLAPSIBLE:!0,EXPANDED:!1,BACKDROP:!1,AUTO_CLOSE:!0,KEYBOARD:!0,ARIA_LABEL:"Main navigation"}},PAGINATION_DEFAULTS:q,PHOTOVIEWER:{SELECTOR:".c-photo-viewer",CLASS:"c-photo-viewer",DEFAULTS:{startIndex:0,zoomLevel:1,fullscreen:!1}},POPOVER:B,PROGRESS:de,RADIO:te,RATING:K,RIVER:Y,SECTION_INTRO:V,SELECT:ne,SIDE_MENU:Q,SIZES:["sm","md","lg"],SLIDER:me,SPINNER:G,STEPS:F,TAB:z,TESTIMONIAL:U,TEXTAREA:ie,THEME_COLORS:["primary","secondary","success","info","warning","error","light","dark"],TODO:X,TOGGLE:P,TOOLTIP:k,UPLOAD:H,VIDEO_PLAYER:ue,sliderConstants:he}),Yl=l(((t,a)=>{let{children:n,className:i="",justifyContent:r,alignItems:o,noGutters:l,...s}=t;const c=["o-grid"];return r&&c.push(`u-justify-content-${r}`),o&&c.push(`u-align-items-${o}`),l&&c.push("o-grid--no-gutters"),i&&c.push(i),e("div",{ref:a,className:c.join(" "),...s,children:n})}));Yl.displayName="Grid";const Hl=l(((t,a)=>{let{children:n,className:i="",xs:r,sm:o,md:l,lg:s,xl:c,xxl:d,offsetXs:u,offsetSm:h,offsetMd:m,offsetLg:p,offsetXl:g,offsetXxl:v,...S}=t;const f=!(r||o||l||s||c||d)?["o-grid__col","o-grid__col--auto"]:["o-grid__col"];return r&&("auto"===r?f.push("o-grid__col--auto"):f.push(`o-grid__col--${r}`)),o&&("auto"===o?f.push("o-grid__col--sm-auto"):f.push(`o-grid__col--sm-${o}`)),l&&("auto"===l?f.push("o-grid__col--md-auto"):f.push(`o-grid__col--md-${l}`)),s&&("auto"===s?f.push("o-grid__col--lg-auto"):f.push(`o-grid__col--lg-${s}`)),c&&("auto"===c?f.push("o-grid__col--xl-auto"):f.push(`o-grid__col--xl-${c}`)),d&&("auto"===d?f.push("o-grid__col--xxl-auto"):f.push(`o-grid__col--xxl-${d}`)),u&&f.push(`o-grid__offset--${u}`),h&&f.push(`o-grid__offset--sm-${h}`),m&&f.push(`o-grid__offset--md-${m}`),p&&f.push(`o-grid__offset--lg-${p}`),g&&f.push(`o-grid__offset--xl-${g}`),v&&f.push(`o-grid__offset--xxl-${v}`),i&&f.push(i),e("div",{ref:a,className:f.join(" "),...S,children:n})}));Hl.displayName="GridCol";const Wl=l(((t,a)=>{let{children:n,className:i="",justifyContent:r,alignItems:o,noGutters:l,...s}=t;const c=["o-grid"];return r&&c.push(`u-justify-content-${r}`),o&&c.push(`u-align-items-${o}`),l&&c.push("o-grid--no-gutters"),i&&c.push(i),e("div",{ref:a,className:c.join(" "),...s,children:n})}));Wl.displayName="Row";const Ql=l(((t,a)=>{let{children:l,className:s="",xs:c=1,sm:m,md:p,lg:v,xl:S,xxl:f,gap:E=16,animate:A=!0,imagesLoaded:b=!0,onLayoutComplete:N,onImageLoad:_,...C}=t;const[T,L]=i(c),[y,x]=i([]),[I,w]=i(!1),[R,O]=i(!1),M=r(null),D=r([]),k=r(0),B=r(0),P=r(new Map);o((()=>{O(!!b)}),[T,b]),g(a,(()=>M.current));const z=d((()=>{const e=window.innerWidth;return e>=1400&&void 0!==f?f:e>=1200&&void 0!==S?S:e>=992&&void 0!==v?v:e>=768&&void 0!==p?p:e>=576&&void 0!==m?m:c}),[c,m,p,v,S,f]);o((()=>{const e=()=>L(z());return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[z]);const[F,U]=i([]);o((()=>{const e=[];u.forEach(l,((t,a)=>{var i;h(t)&&e.push({id:(null===(i=t.key)||void 0===i?void 0:i.toString())||`masonry-item-${a}`,element:t,position:null,ref:n.createRef()})})),U(e)}),[l]);const G=d((e=>{if(!P.current.get(e)){if(P.current.set(e,!0),k.current+=1,M.current&&b){const t=e.closest(".o-masonry-grid > div");t&&(t.offsetHeight,t.classList.add("o-masonry-grid__item-loaded"),t.classList.remove("o-masonry-grid__item-loading"))}requestAnimationFrame((()=>{requestAnimationFrame((()=>{Y()}))})),null==_||_(k.current,B.current),k.current>=B.current&&B.current>0&&(w(!0),O(!1),requestAnimationFrame((()=>{requestAnimationFrame((()=>{Y(),O(!1)}))})),null==N||N())}}),[_,N,b]),V=d((()=>{if(!b||!M.current)return;P.current.clear(),k.current=0;const e=M.current.querySelectorAll("img");return B.current=e.length,0===e.length?(w(!0),O(!1),void(null==N||N())):(O(!0),e.forEach((e=>{const t=e,a=e.closest(".o-masonry-grid > div");if(a&&a.classList.add("o-masonry-grid__item-loading"),e.complete)G(e);else{const a=()=>G(e);e.addEventListener("load",a),e.addEventListener("error",a),t._masonryLoadHandler=a}})),()=>{e.forEach((e=>{const t=e;t._masonryLoadHandler&&(e.removeEventListener("load",t._masonryLoadHandler),e.removeEventListener("error",t._masonryLoadHandler),delete t._masonryLoadHandler)}))})}),[b,G,N]),Y=d((()=>{if(!M.current||0===F.length)return;const e=(M.current.offsetWidth-E*(T-1))/T;D.current=Array(T).fill(0);const t=[];F.forEach(((a,n)=>{if(a.ref.current){const i=D.current.indexOf(Math.min(...D.current)),r=i*(e+E),o=D.current[i]??0,l=a.ref.current.offsetHeight;D.current[i]=o+l+E,t[n]={left:r,top:o,width:e,height:l}}})),x(t)}),[F,T,E]);o((()=>{if(!M.current)return;let e=null;const t=new ResizeObserver((()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>Y()))}));return t.observe(M.current),()=>{t.disconnect(),e&&cancelAnimationFrame(e)}}),[Y]),n.useLayoutEffect((()=>{if(b){return V()}return Y(),w(!0),void O(!1)}),[F,T,Y,b,V]),n.useEffect((()=>{const e=[];return F.forEach((t=>{if(t.ref.current){const a=new ResizeObserver((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{Y()}))}))}));a.observe(t.ref.current),e.push(a)}})),()=>{e.forEach((e=>e.disconnect()))}}),[F,Y]);const H=D.current.length>0?Math.max(...D.current):0,W=["o-masonry-grid",s,A?"o-masonry-grid--animate":"",R?"o-masonry-grid--loading-images":""].filter(Boolean).join(" ");return e("div",{ref:M,className:W,style:{position:"relative",width:"100%",height:`${H}px`,...C.style},...C,children:F.map(((t,a)=>{const n=y[a];return e("div",n?{ref:t.ref,className:"o-masonry-grid__item",style:{position:"absolute",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,opacity:1},children:t.element}:{ref:t.ref,style:{opacity:0,position:"absolute"},children:t.element},t.id)}))})}));Ql.displayName="MasonryGrid";const Kl=l(((t,a)=>{let{children:n,className:i="",...r}=t;const o=["o-masonry-grid__item-inner"];return i&&o.push(i),e("div",{ref:a,className:o.join(" "),...r,children:n})}));Kl.displayName="MasonryGridItem";const Zl={...zl,...Object.freeze({__proto__:null,Container:qi,Grid:Yl,GridCol:Hl,MasonryGrid:Ql,MasonryGridItem:Kl,Row:Wl}),composables:Fl,utils:Ul,constants:Vl,types:Gl};export{Vi as Accordion,xr as AdvancedChart,Ir as AnimatedChart,Dr as AreaChart,Gi as AtomixGlass,Yi as AtomixLogo,Qi as Avatar,Ki as AvatarGroup,ji as Badge,Br as BarChart,$i as Block,Ji as Breadcrumb,Pr as BubbleChart,tr as Button,ar as Callout,zr as CandlestickChart,nr as Card,yr as Chart,Rr as ChartRenderer,Co as Checkbox,Xr as ColorModeToggle,qi as Container,$r as Countdown,lo as DataTable,mo as DatePicker,Fr as DonutChart,go as Dropdown,So as EdgePanel,tl as Footer,nl as FooterLink,al as FooterSection,el as FooterSocialLink,Lo as Form,xo as FormGroup,Ur as FunnelChart,Gr as GaugeChart,Yl as Grid,Hl as GridCol,Vr as HeatmapChart,il as Hero,Wi as Icon,wo as Input,Mr as LineChart,rl as List,Ql as MasonryGrid,Kl as MasonryGridItem,ol as Messages,ll as Modal,Yr as MultiAxisChart,sl as Nav,cl as NavItem,dl as Navbar,oo as Pagination,El as PhotoViewer,Wr as PieChart,bl as Popover,Tl as ProductReview,Ll as Progress,Qr as RadarChart,$o as Radio,Cl as Rating,Kr as RealTimeChart,yl as River,Wl as Row,Zr as ScatterChart,xl as SectionIntro,Xo as Select,ul as SideMenu,hl as SideMenuItem,ml as SideMenuList,Il as Slider,to as Spinner,wl as Steps,Rl as Tab,Ol as Testimonial,Jo as Textarea,Ml as Todo,Dl as Toggle,kl as Tooltip,jr as TreemapChart,Bl as Upload,Pl as VideoPlayer,qr as WaterfallChart,Fl as composables,Vl as constants,Zl as default,Gl as types,Ul as utils};
1
+ import{jsx as e,jsxs as t,Fragment as a}from"react/jsx-runtime";import n,{useState as i,useRef as o,useEffect as r,forwardRef as s,useId as l,useMemo as c,useCallback as d,Children as u,isValidElement as h,cloneElement as m,memo as p,createContext as g,useContext as S,useImperativeHandle as E}from"react";import*as A from"@phosphor-icons/react";import{Pause as N,Play as v,SkipBack as _,SkipForward as f,SpeakerX as b,SpeakerHigh as T,Gear as C,Download as L,Share as I,ArrowsIn as y,ArrowsOut as x}from"@phosphor-icons/react";import{createPortal as R}from"react-dom";import O from"classnames";const M={SELECTORS:{ACCORDION:".c-accordion",HEADER:".c-accordion__header",PANEL:".c-accordion__panel",BODY:".c-accordion__body"},CLASSES:{IS_OPEN:"is-open",IS_ANIMATING:"is-animating",IS_DISABLED:"is-disabled"},ATTRIBUTES:{ARIA_EXPANDED:"aria-expanded",ARIA_CONTROLS:"aria-controls",ARIA_HIDDEN:"aria-hidden",ROLE:"role"},CSS_VARS:{PANEL_HEIGHT:"--panel-height"}},w={BASE_CLASS:"c-badge",ICON_CLASS:"c-badge__icon",VARIANT_PREFIX:"c-badge--",SIZE_PREFIX:"c-badge--"},D={BASE_CLASS:"c-list",ITEM_CLASS:"c-list__item",VARIANT_PREFIX:"c-list--",SIZE_PREFIX:"c-list--",CLASSES:{ORDERED:"c-list--ordered",INLINE:"c-list--inline"}},B={SELECTORS:{BREADCRUMB:".c-breadcrumb",ITEM:".c-breadcrumb__item",LINK:".c-breadcrumb__link"},CLASSES:{BASE:"c-breadcrumb",ITEM:"c-breadcrumb__item",LINK:"c-breadcrumb__link",ACTIVE:"is-active"},DEFAULTS:{DIVIDER:"›"}},P={SELECTORS:{HERO:".c-hero",CONTAINER:".c-hero__container",GRID:".c-hero__grid",CONTENT:".c-hero__content",SUBTITLE:".c-hero__subtitle",TITLE:".c-hero__title",TEXT:".c-hero__text",ACTIONS:".c-hero__actions",IMAGE:".c-hero__image",BG:".c-hero__bg",BG_IMAGE:".c-hero__bg-image",OVERLAY:".c-hero__overlay",IMAGE_WRAPPER:".c-hero__image-wrapper"},CLASSES:{CENTER:"c-hero--center",RIGHT:"c-hero--right",LEFT:"c-hero--left",FULL_VH:"c-hero--full-vh"}},k={SELECTORS:{TOOLTIP:".js-atomix-tooltip",TRIGGER:".js-atomix-tooltip-trigger",CONTENT:".js-atomix-tooltip-content",ARROW:".c-tooltip__arrow"},CLASSES:{IS_ACTIVE:"is-active",TOP:"c-tooltip--top",BOTTOM:"c-tooltip--bottom",LEFT:"c-tooltip--left",RIGHT:"c-tooltip--right",TOP_LEFT:"c-tooltip--top-left",TOP_RIGHT:"c-tooltip--top-right",BOTTOM_LEFT:"c-tooltip--bottom-left",BOTTOM_RIGHT:"c-tooltip--bottom-right"},ATTRIBUTES:{POSITION:"data-tooltip-position",TRIGGER:"data-tooltip-trigger",CONTENT_ID:"data-tooltip-id"},DEFAULTS:{TRIGGER:"hover",POSITION:"top",OFFSET:10,DELAY:200}},U={SELECTORS:{POPOVER:".js-atomix-popover",TRIGGER:".js-atomix-popover-trigger",CONTENT:".js-atomix-popover-content",CONTENT_INNER:".c-popover__content-inner",ARROW:".c-popover__arrow"},CLASSES:{IS_OPEN:"is-open",TOP:"c-popover--top",BOTTOM:"c-popover--bottom",LEFT:"c-popover--left",RIGHT:"c-popover--right",AUTO:"c-popover--auto"},ATTRIBUTES:{POSITION:"data-popover-position",TRIGGER:"data-popover-trigger",CONTENT_ID:"data-popover-id"},DEFAULTS:{TRIGGER:"click",POSITION:"top",OFFSET:12,DELAY:0}},G={SELECTORS:{TOGGLE:".c-toggle"},CLASSES:{IS_ON:"is-on"}},z={SELECTORS:{TAB:".js-atomix-tab",NAV_ITEMS:".c-tabs__nav-item",NAV_BTN:".c-tabs__nav-btn",PANELS:".c-tabs__panel",PANEL_BODIES:".c-tabs__panel-body"},CLASSES:{ACTIVE:"is-active"},DEFAULTS:{ACTIVE_INDEX:0}},F={SELECTORS:{STEPS:".c-steps",ITEM:".c-steps__item",LINE:".c-steps__line",CONTENT:".c-steps__content",NUMBER:".c-steps__number",TEXT:".c-steps__text"},CLASSES:{ACTIVE:"is-active",VERTICAL:"c-steps--vertical",COMPLETED:"is-completed"}},V={SELECTORS:{TESTIMONIAL:".c-testimonial",QUOTE:".c-testimonial__quote",AUTHOR:".c-testimonial__author",AUTHOR_AVATAR:".c-testimonial__author-avatar",AUTHOR_INFO:".c-testimonial__info",AUTHOR_NAME:".c-testimonial__author-name",AUTHOR_ROLE:".c-testimonial__author-role"},CLASSES:{SMALL:"c-testimonial--sm",LARGE:"c-testimonial--lg"}},H={SELECTORS:{SPINNER:".c-spinner"},CLASSES:{PRIMARY:"c-spinner--primary",SECONDARY:"c-spinner--secondary",SUCCESS:"c-spinner--success",INFO:"c-spinner--info",WARNING:"c-spinner--warning",DANGER:"c-spinner--danger",LIGHT:"c-spinner--light",DARK:"c-spinner--dark",SMALL:"c-spinner--sm",LARGE:"c-spinner--lg"},VISUALLY_HIDDEN:"u-visually-hidden"},Y={SELECTORS:{SECTION_INTRO:".c-sectionintro",LABEL:".c-sectionintro__label",TITLE:".c-sectionintro__title",TEXT:".c-sectionintro__text",ACTIONS:".c-sectionintro__actions"},CLASSES:{CENTER:"c-sectionintro--center",LARGE:"c-sectionintro--lg",SMALL:"c-sectionintro--sm"}},K={SELECTORS:{RIVER:".c-river",CONTAINER:".c-river__container",ROW:".c-river__row",CONTENT:".c-river__content",CONTENT_COL:".c-river__content-col",CONTENT_COL_TITLE:".c-river__content-col--title",CONTENT_COL_TEXT:".c-river__content-col--text",TITLE:".c-river__title",TEXT:".c-river__text",ACTIONS:".c-river__actions",VISUAL:".c-river__visual",IMAGE_WRAPPER:".c-river__image-wrapper",IMAGE:".c-river__image",BG:".c-river__bg",BG_IMAGE:".c-river__bg-image",OVERLAY:".c-river__overlay"},CLASSES:{CENTER:"c-river--center",BREAKOUT:"c-river--breakout",REVERSE:"c-river--reverse"},ATTRIBUTES:{CONTENT_WIDTH:"--river-content-width"}},W={SELECTORS:{UPLOAD:".c-upload",INNER:".c-upload__inner",ICON:".c-upload__icon",TITLE:".c-upload__title",TEXT:".c-upload__text",BUTTON:".c-upload__btn",HELPER_TEXT:".c-upload__helper-text",LOADER:".c-upload__loader",LOADER_STATUS:".c-upload__loader-status",LOADER_TITLE:".c-upload__loader-title",LOADER_PROGRESS:".c-upload__loader-progress",LOADER_PAR:".c-upload__loader-par",LOADER_TIME:".c-upload__loader-time",LOADER_CONTROL:".c-upload__loader-control",LOADER_BAR:".c-upload__loader-bar",LOADER_CLOSE:".c-upload__loader-close"},CLASSES:{DISABLED:"c-upload--disabled",ERROR:"c-upload--error",SUCCESS:"c-upload--success",LOADING:"c-upload--loading",DRAGGING:"c-upload--dragging"},ATTRIBUTES:{PERCENTAGE:"--upload-loader-percentage"}},Q={SELECTORS:{NAV:".c-nav",ITEM:".c-nav__item",LINK:".c-nav__link",DROPDOWN:".c-nav__item--dropdown",DROPDOWN_MENU:".c-nav__dropdown-menu",MEGA_MENU:".c-nav__mega-menu",ICON:".c-nav__icon"},CLASSES:{END:"c-nav--end",CENTER:"c-nav--center",ACTIVE:"is-active",DISABLED:"is-disabled"}},$={SELECTORS:{SIDE_MENU:".c-side-menu",WRAPPER:".c-side-menu__wrapper",INNER:".c-side-menu__inner",TITLE:".c-side-menu__title",TOGGLER:".c-side-menu__toggler",TOGGLER_ICON:".c-side-menu__toggler-icon",LIST:".c-side-menu__list",ITEM:".c-side-menu__item",LINK:".c-side-menu__link",LINK_ICON:".c-side-menu__link-icon",LINK_TEXT:".c-side-menu__link-text"},CLASSES:{BASE:"c-side-menu",WRAPPER:"c-side-menu__wrapper",INNER:"c-side-menu__inner",TITLE:"c-side-menu__title",TOGGLER:"c-side-menu__toggler",TOGGLER_ICON:"c-side-menu__toggler-icon",LIST:"c-side-menu__list",ITEM:"c-side-menu__item",LINK:"c-side-menu__link",LINK_ICON:"c-side-menu__link-icon",LINK_TEXT:"c-side-menu__link-text",IS_OPEN:"is-open",ACTIVE:"is-active",DISABLED:"is-disabled"},ATTRIBUTES:{SIDE_MENU:"data-side-menu",COLLAPSIBLE:"data-collapsible",OPEN:"data-open",TITLE:"data-title"},DEFAULTS:{COLLAPSIBLE:!0,OPEN:!1,TOGGLE_ICON:"▶"}},Z={SELECTORS:{RATING:".c-rating",STAR:".c-rating__star",STAR_FULL:".c-rating__star-full",STAR_HALF:".c-rating__star-half"},CLASSES:{FULL:"c-rating__star--full",HALF:"c-rating__star--half",SMALL:"c-rating--sm",LARGE:"c-rating--lg"},ATTRIBUTES:{READONLY:"data-readonly",VALUE:"data-value"}},q={SELECTORS:{PANEL:".c-edge-panel",BACKDROP:".c-edge-panel__backdrop",CONTAINER:".c-edge-panel__container",HEADER:".c-edge-panel__header",BODY:".c-edge-panel__body",CLOSE:".c-edge-panel__close"},CLASSES:{BASE:"c-edge-panel",START:"c-edge-panel--start",END:"c-edge-panel--end",TOP:"c-edge-panel--top",BOTTOM:"c-edge-panel--bottom",IS_OPEN:"is-open"},TRANSFORM_VALUES:{start:"translateX(-100%)",end:"translateX(100%)",top:"translateY(-100%)",bottom:"translateY(100%)"},ANIMATION_DURATION:300},X={base:"c-data-table",container:"c-data-table-container",tableWrapper:"c-data-table-wrapper",header:"c-data-table__header",headerCell:"c-data-table__header-cell",headerContent:"c-data-table__header-content",sortable:"c-data-table__header-cell--sortable",sortIcon:"c-data-table__sort-icon",row:"c-data-table__row",cell:"c-data-table__cell",loadingCell:"c-data-table__loading-cell",loadingIndicator:"c-data-table__loading-indicator",emptyCell:"c-data-table__empty-cell",toolbar:"c-data-table-toolbar",search:"c-data-table-search",searchInput:"c-data-table-search__input",pagination:"c-data-table__pagination-container",striped:"c-data-table--striped",bordered:"c-data-table--bordered",dense:"c-data-table--dense",loading:"c-data-table--loading",open:"is-open"},j={currentPage:1,totalPages:1,siblingCount:1,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"md"},J={SELECTORS:{TODO:".c-todo",TITLE:".c-todo__title",LIST:".c-todo__list",ITEM:".c-todo__item",ITEM_CONTENT:".c-todo__item-content",ITEM_TEXT:".c-todo__item-text",ITEM_ACTIONS:".c-todo__item-actions",CHECKBOX:".c-todo__checkbox",DELETE_BUTTON:".c-todo__delete-btn",FORM:".c-todo__form",INPUT:".c-todo__input",ADD_BUTTON:".c-todo__add-btn"},CLASSES:{BASE:"c-todo",ITEM:"c-todo__item",COMPLETED:"c-todo__item--completed",SMALL:"c-todo--sm",LARGE:"c-todo--lg"}},ee={SELECTORS:{FORM:".c-form",GROUP:".c-form-group",LABEL:".c-form-group__label",HELPER:".c-form-group__helper",FIELD:".c-form-group__field",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form",DISABLED:"c-form--disabled"}},te={SELECTORS:{GROUP:".c-form-group",LABEL:".c-form-group__label",FIELD:".c-form-group__field",HELPER:".c-form-group__helper",REQUIRED:".c-form-group__required"},CLASSES:{BASE:"c-form-group",SMALL:"c-form-group--sm",LARGE:"c-form-group--lg",INVALID:"c-form-group--invalid",VALID:"c-form-group--valid",DISABLED:"c-form-group--disabled"}},ae={SELECTORS:{INPUT:".c-input"},CLASSES:{BASE:"c-input",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},ne={SELECTORS:{RADIO:".c-radio",INPUT:".c-radio__input",LABEL:".c-radio__label"},CLASSES:{BASE:"c-radio",INVALID:"is-error",VALID:"is-valid",DISABLED:"is-disabled"}},ie={SELECTORS:{CARD:".c-card",HEADER:".c-card__header",BODY:".c-card__body",IMAGE:".c-card__image",TITLE:".c-card__title",TEXT:".c-card__text",ACTIONS:".c-card__actions",ICON:".c-card__icon",FOOTER:".c-card__footer"},CLASSES:{BASE:"c-card",ROW:"c-card--row",FLAT:"c-card--flat",ACTIVE:"is-active",FLIPPED:"is-flipped",FOCUSED:"is-focused",CLICKABLE:"is-clickable"},DEFAULTS:{HOVER:!0}},oe={SELECTORS:{SELECT:".c-select",SELECTED:".c-select__selected",SELECT_BODY:".c-select__body",SELECT_PANEL:".c-select__panel",SELECT_ITEMS:".c-select__items",SELECT_ITEM:".c-select__item",ITEM_LABEL:".c-select__item-label",ITEM_INPUT:".c-select__item-input",OPTION:"option"},CLASSES:{BASE:"c-select",SELECTED:"c-select__selected",SELECT_BODY:"c-select__body",SELECT_PANEL:"c-select__panel",SELECT_ITEMS:"c-select__items",SELECT_ITEM:"c-select__item",TOGGLE_ICON:"c-select__toggle-icon",ICON_CARET:"icon-atomix-caret-down",SMALL:"c-select--sm",LARGE:"c-select--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled",IS_OPEN:"is-open"}},re={SELECTORS:{TEXTAREA:".c-textarea"},CLASSES:{BASE:"c-input c-input--textarea",SMALL:"c-input--sm",LARGE:"c-input--lg",INVALID:"is-invalid",VALID:"is-valid",DISABLED:"is-disabled"}},se={SELECTORS:{AVATAR:".c-avatar",IMAGE:".c-avatar__image",INITIALS:".c-avatar__initials",ICON:".c-avatar__icon"},CLASSES:{BASE:"c-avatar",XS:"c-avatar--xs",SM:"c-avatar--sm",MD:"c-avatar--md",LG:"c-avatar--lg",XL:"c-avatar--xl",CIRCLE:"c-avatar--circle"}},le={SELECTORS:{GROUP:".c-avatar-group",MORE:".c-avatar-group__more"},CLASSES:{BASE:"c-avatar-group",STACKED:"c-avatar-group--stacked",MORE:"c-avatar-group__more"}},ce={SELECTORS:{MODAL:".c-modal",OPEN_BUTTON:".js-modal-open",CLOSE_BUTTONS:".js-modal-close",DIALOG:".c-modal__dialog",BACKDROP:".c-modal__backdrop"},CLASSES:{IS_OPEN:"is-open"},DEFAULT_OPTIONS:{openELm:".js-modal-open",closeELms:".js-modal-close",modalDialogELm:".c-modal__dialog",backdropELm:".c-modal__backdrop",backdrop:!0,keyboard:!0}},de={SELECTORS:{MESSAGES:".c-messages",BODY:".c-messages__body",CONTENT:".c-messages__content",AVATAR:".c-messages__avatar",ITEMS:".c-messages__items",TEXT:".c-messages__text",FILE:".c-messages__file",IMAGE:".c-messages__image",FORM:".c-messages__form",INPUT:".c-messages__input"},CLASSES:{BASE:"c-messages",BODY:"c-messages__body",CONTENT:"c-messages__content",CONTENT_SELF:"c-messages__content--self",AVATAR:"c-messages__avatar",ITEMS:"c-messages__items",NAME:"c-messages__name",TEXT:"c-messages__text",TIME:"c-messages__time",FILE:"c-messages__file",FILE_ICON:"c-messages__file-icon",FILE_DETAILS:"c-messages__file-details",FILE_NAME:"c-messages__file-name",FILE_SIZE:"c-messages__file-size",IMAGE:"c-messages__image",FORM:"c-messages__form",INPUT_GROUP:"c-messages__input-group",INPUT:"c-messages__input",OPTIONS:"c-messages__options",OPTION:"c-messages__option c-btn",OPTION_ICON:"c-messages__option-icon",SUBMIT:"c-messages__submit"}},ue={SELECTORS:{DROPDOWN:".c-dropdown",TOGGLE:".c-dropdown__toggle",MENU:".c-dropdown__menu",MENU_WRAPPER:".c-dropdown__menu-wrapper",MENU_INNER:".c-dropdown__menu-inner",MENU_ITEM:".c-dropdown__menu-item",DIVIDER:".c-dropdown__divider",HEADER:".c-dropdown__header"},CLASSES:{IS_OPEN:"is-open",IS_ACTIVE:"is-active",IS_DISABLED:"is-disabled"},DEFAULTS:{PLACEMENT:"bottom-start",TRIGGER:"click",OFFSET:4,MIN_WIDTH:180,ANIMATION_DURATION:"0.25s",ANIMATION_TIMING:"cubic-bezier(0.16, 1, 0.3, 1)"}},he={SELECTORS:{PROGRESS:".c-progress",BAR:".c-progress__bar"},CLASSES:{BASE:"c-progress",BAR:"c-progress__bar",SM:"c-progress--sm",MD:"c-progress--md",LG:"c-progress--lg"},ATTRIBUTES:{ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUENOW:"aria-valuenow",ARIA_LABEL:"aria-label"},CSS_VARS:{PERCENTAGE:"--atomix-progress-percentage"},DEFAULTS:{ARIA_LABEL:"Progress bar"}},me={SELECTORS:{VIDEO_PLAYER:".c-video-player",VIDEO:".c-video-player__video",CONTROLS:".c-video-player__controls",PROGRESS:".c-video-player__progress",VOLUME:".c-video-player__volume",SETTINGS:".c-video-player__settings"},CLASSES:{BASE:"c-video-player",VIDEO:"c-video-player__video",YOUTUBE:"c-video-player--youtube",LOADING:"c-video-player__loading",SPINNER:"c-video-player__spinner",CONTROLS:"c-video-player__controls",CONTROLS_VISIBLE:"c-video-player__controls--visible",PROGRESS_CONTAINER:"c-video-player__progress-container",PROGRESS_BAR:"c-video-player__progress-bar",PROGRESS_BUFFERED:"c-video-player__progress-buffered",PROGRESS_PLAYED:"c-video-player__progress-played",PROGRESS_THUMB:"c-video-player__progress-thumb",CONTROLS_ROW:"c-video-player__controls-row",CONTROLS_LEFT:"c-video-player__controls-left",CONTROLS_RIGHT:"c-video-player__controls-right",CONTROL_BUTTON:"c-video-player__control-button",VOLUME_CONTAINER:"c-video-player__volume-container",VOLUME_SLIDER:"c-video-player__volume-slider",VOLUME_BAR:"c-video-player__volume-bar",VOLUME_FILL:"c-video-player__volume-fill",TIME_DISPLAY:"c-video-player__time-display",SETTINGS_CONTAINER:"c-video-player__settings-container",SETTINGS_MENU:"c-video-player__settings-menu",SETTINGS_TABS:"c-video-player__settings-tabs",SETTINGS_TAB:"c-video-player__settings-tab",SETTINGS_TAB_ACTIVE:"c-video-player__settings-tab--active",SETTINGS_CONTENT:"c-video-player__settings-content",SETTINGS_OPTIONS:"c-video-player__settings-options",SETTINGS_OPTION:"c-video-player__settings-option",SETTINGS_OPTION_ACTIVE:"c-video-player__settings-option--active",AMBIENT:"c-video-player--ambient",AMBIENT_CANVAS:"c-video-player__ambient-canvas",GLASS:"c-video-player--glass",GLASS_OVERLAY:"c-video-player__glass-overlay",GLASS_CONTENT:"c-video-player__glass-content"},DEFAULTS:{CONTROLS_TIMEOUT:3e3,VOLUME:1,PLAYBACK_RATE:1,ASPECT_RATIO:"16:9"}},pe={classes:{container:"c-slider",containerModifierClass:"c-slider--",wrapper:"c-slider__wrapper",slide:"c-slider__slide",slideActive:"c-slider__slide--active",slidePrev:"c-slider__slide--prev",slideNext:"c-slider__slide--next",slideDuplicate:"c-slider__slide--duplicate",slideVisible:"c-slider__slide--visible",pagination:"c-slider__pagination",paginationBullet:"c-slider__pagination-bullet",paginationBulletActive:"c-slider__pagination-bullet--active",navigation:"c-slider__navigation",navigationPrev:"c-slider__navigation-prev",navigationNext:"c-slider__navigation-next",navigationDisabled:"c-slider__navigation--disabled",scrollbar:"c-slider__scrollbar",scrollbarDrag:"c-slider__scrollbar-drag",thumbs:"c-slider__thumbs",thumbsWrapper:"c-slider__thumbs-wrapper",thumbsSlide:"c-slider__thumbs-slide",thumbsSlideActive:"c-slider__thumbs-slide--active",zoomContainer:"c-slider__zoom-container",lazyPreloader:"c-slider__lazy-preloader"},defaults:{slidesToShow:1,slidesToScroll:1,spaceBetween:0,centeredSlides:!1,loop:!1,initialSlide:0,direction:"horizontal",speed:300,easing:"ease-out",allowTouchMove:!0,threshold:5,mousewheel:!1,keyboard:!1,grabCursor:!1,freeMode:!1,watchSlidesProgress:!1,watchOverflow:!0,resistanceRatio:.85,preventClicks:!0,preventClicksPropagation:!0,simulateTouch:!0,touchRatio:1,touchAngle:45,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchReleaseOnEdges:!1,resistance:!0,passiveListeners:!0},breakpoints:{sm:576,md:768,lg:992,xl:1200,xxl:1400},events:{init:"slider:init",destroy:"slider:destroy",slideChange:"slider:slideChange",slideChangeTransitionStart:"slider:slideChangeTransitionStart",slideChangeTransitionEnd:"slider:slideChangeTransitionEnd",touchStart:"slider:touchStart",touchMove:"slider:touchMove",touchEnd:"slider:touchEnd",reachBeginning:"slider:reachBeginning",reachEnd:"slider:reachEnd",progress:"slider:progress",autoplayStart:"slider:autoplayStart",autoplayStop:"slider:autoplayStop",beforeResize:"slider:beforeResize",resize:"slider:resize"}},ge=pe,Se={BASE_CLASS:"c-chart",ROOT_CLASS:"c-chart",HEADER_CLASS:"c-chart__header",HEADER_CONTENT_CLASS:"c-chart__header-content",TITLE_CLASS:"c-chart__title",SUBTITLE_CLASS:"c-chart__subtitle",TOOLBAR_CLASS:"c-chart__toolbar",ACTION_CLASS:"c-chart__action",EXPORT_GROUP_CLASS:"c-chart__export-group",EXPORT_DROPDOWN_CLASS:"c-chart__export-dropdown",EXPORT_OPTION_CLASS:"c-chart__export-option",SETTINGS_MENU_CLASS:"c-chart__settings-menu",TOOLBAR_GROUP_CLASS:"c-chart__toolbar-group",TOOLBAR_SEPARATOR_CLASS:"c-chart__toolbar-separator",TOOLBAR_LABEL_CLASS:"c-chart__toolbar-label",CONTENT_CLASS:"c-chart__content",CANVAS_CLASS:"c-chart__canvas",LEGEND_CLASS:"c-chart__legend",LEGEND_ITEM_CLASS:"c-chart__legend-item",LEGEND_LABEL_CLASS:"c-chart__legend-label",LEGEND_COLOR_CLASS:"c-chart__legend-color",TOOLTIP_CLASS:"c-chart__tooltip",TOOLTIP_TITLE_CLASS:"c-chart__tooltip-title",TOOLTIP_CONTENT_CLASS:"c-chart__tooltip-content",TOOLTIP_ITEM_CLASS:"c-chart__tooltip-item",TOOLTIP_LABEL_CLASS:"c-chart__tooltip-label",TOOLTIP_VALUE_CLASS:"c-chart__tooltip-value",AXIS_CLASS:"c-chart__axis",AXIS_LABEL_CLASS:"c-chart__axis-label",GRID_CLASS:"c-chart__grid",DATA_POINT_CLASS:"c-chart__data-point",CHART_SVG_CLASS:"c-chart__svg",LOADING_CLASS:"c-chart__loading",LOADING_SPINNER_CLASS:"c-chart__loading-spinner",LOADING_TEXT_CLASS:"c-chart__loading-text",ERROR_CLASS:"c-chart__error",ERROR_ICON_CLASS:"c-chart__error-icon",ERROR_CONTENT_CLASS:"c-chart__error-content",ERROR_MESSAGE_CLASS:"c-chart__error-message",ERROR_DETAILS_CLASS:"c-chart__error-details",EMPTY_CLASS:"c-chart__empty",EMPTY_ICON_CLASS:"c-chart__empty-icon",EMPTY_MESSAGE_CLASS:"c-chart__empty-message",EMPTY_DETAILS_CLASS:"c-chart__empty-details",DEFAULT_WIDTH:800,DEFAULT_HEIGHT:400,PIE_RADIUS_RATIO:.8,DEFAULT_COLORS:["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-info)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-primary-5)","var(--atomix-primary-7)","var(--atomix-primary-3)","var(--atomix-gray-6)","var(--atomix-gray-8)","var(--atomix-gray-4)"],TYPE_PREFIX:"c-chart--",SIZE_PREFIX:"c-chart--",VARIANT_PREFIX:"c-chart--",LOADING_STATE_CLASS:"c-chart--loading",ERROR_STATE_CLASS:"c-chart--error",CLASSES:{LINE:"c-chart--line",AREA:"c-chart--area",BAR:"c-chart--bar",HORIZONTAL_BAR:"c-chart--horizontal-bar",PIE:"c-chart--pie",DONUT:"c-chart--donut",DOUGHNUT:"c-chart--doughnut",SCATTER:"c-chart--scatter",RADAR:"c-chart--radar",BUBBLE:"c-chart--bubble",CANDLESTICK:"c-chart--candlestick",GAUGE:"c-chart--gauge",FUNNEL:"c-chart--funnel",WATERFALL:"c-chart--waterfall",HEATMAP:"c-chart--heatmap",TREEMAP:"c-chart--treemap",SM:"c-chart--sm",MD:"c-chart--md",LG:"c-chart--lg",XL:"c-chart--xl",FULL:"c-chart--full",PRIMARY:"c-chart--primary",SECONDARY:"c-chart--secondary",SUCCESS:"c-chart--success",ERROR:"c-chart--error",WARNING:"c-chart--warning",INFO:"c-chart--info",LOADING:"c-chart--loading",INTERACTIVE:"c-chart--interactive",DISABLED:"c-chart--disabled",FULLSCREEN:"c-chart--fullscreen",MINIMIZED:"c-chart--minimized",ADVANCED:"c-chart--advanced",TOOLBAR_SM:"c-chart__toolbar--sm",TOOLBAR_MD:"c-chart__toolbar--md",TOOLBAR_LG:"c-chart__toolbar--lg",TOOLBAR_TOP:"c-chart__toolbar--top",TOOLBAR_BOTTOM:"c-chart__toolbar--bottom",TOOLBAR_LEFT:"c-chart__toolbar--left",TOOLBAR_RIGHT:"c-chart__toolbar--right",ACTION_ACTIVE:"c-chart__action--active",ACTION_DISABLED:"c-chart__action--disabled",ACTION_PRIMARY:"c-chart__action--primary",ACTION_SECONDARY:"c-chart__action--secondary",ACTION_SUCCESS:"c-chart__action--success",ACTION_INFO:"c-chart__action--info",ACTION_WARNING:"c-chart__action--warning",ACTION_ERROR:"c-chart__action--error"},TOOLBAR:{SIZES:["sm","md","lg"],POSITIONS:["top","bottom","left","right"],ACTION_VARIANTS:["primary","secondary","success","info","warning","error"]}},Ee={BASE_CLASS:"o-block",SPACING_PREFIX:"o-block--",CLASSES:{SPACING_XS:"o-block--xs",SPACING_SM:"o-block--sm",SPACING_MD:"o-block--md",SPACING_LG:"o-block--lg",SPACING_XL:"o-block--xl",SPACING_NONE:"o-block--no-spacing",FULL_WIDTH:"o-block--full-width",BG_PRIMARY:"o-block--primary",BG_SECONDARY:"o-block--secondary",BG_TERTIARY:"o-block--tertiary",BG_INVERT:"o-block--invert",BG_BRAND:"o-block--brand",BG_ERROR:"o-block--error",BG_SUCCESS:"o-block--success",BG_WARNING:"o-block--warning",BG_INFO:"o-block--info",BG_LIGHT:"o-block--light",BG_DARK:"o-block--dark"},SPACING:{SIZES:["xs","sm","md","lg","xl","none"],DEFAULT:"md"}},Ae={SELECTORS:{FOOTER:".c-footer",CONTAINER:".c-footer__container",SECTIONS:".c-footer__sections",BRAND:".c-footer__brand",BRAND_LOGO:".c-footer__brand-logo",BRAND_NAME:".c-footer__brand-name",BRAND_DESCRIPTION:".c-footer__brand-description",SECTION:".c-footer__section",SECTION_HEADER:".c-footer__section-header",SECTION_TITLE:".c-footer__section-title",SECTION_CONTENT:".c-footer__section-content",SECTION_TOGGLE:".c-footer__section-toggle",LINK:".c-footer__link",SOCIAL:".c-footer__social",SOCIAL_LINK:".c-footer__social-link",NEWSLETTER:".c-footer__newsletter",NEWSLETTER_FORM:".c-footer__newsletter-form",NEWSLETTER_INPUT:".c-footer__newsletter-input",NEWSLETTER_BUTTON:".c-footer__newsletter-button",BOTTOM:".c-footer__bottom",COPYRIGHT:".c-footer__copyright",BACK_TO_TOP:".c-footer__back-to-top",DIVIDER:".c-footer__divider"},CLASSES:{BASE:"c-footer",CONTAINER:"c-footer__container",SECTIONS:"c-footer__sections",BRAND:"c-footer__brand",BRAND_LOGO:"c-footer__brand-logo",BRAND_NAME:"c-footer__brand-name",BRAND_DESCRIPTION:"c-footer__brand-description",SECTION:"c-footer__section",SECTION_HEADER:"c-footer__section-header",SECTION_TITLE:"c-footer__section-title",SECTION_CONTENT:"c-footer__section-content",SECTION_TOGGLE:"c-footer__section-toggle",SECTION_COLLAPSIBLE:"c-footer__section--collapsible",SECTION_COLLAPSED:"c-footer__section--collapsed",LINK:"c-footer__link",LINK_ACTIVE:"c-footer__link--active",LINK_DISABLED:"c-footer__link--disabled",SOCIAL:"c-footer__social",SOCIAL_LINK:"c-footer__social-link",NEWSLETTER:"c-footer__newsletter",NEWSLETTER_FORM:"c-footer__newsletter-form",NEWSLETTER_INPUT:"c-footer__newsletter-input",NEWSLETTER_BUTTON:"c-footer__newsletter-button",BOTTOM:"c-footer__bottom",COPYRIGHT:"c-footer__copyright",BACK_TO_TOP:"c-footer__back-to-top",DIVIDER:"c-footer__divider",COLUMNS:"c-footer--columns",CENTERED:"c-footer--centered",MINIMAL:"c-footer--minimal",STACKED:"c-footer--stacked",FLEXIBLE:"c-footer--flexible",SIDEBAR:"c-footer--sidebar",WIDE:"c-footer--wide",SM:"c-footer--sm",MD:"c-footer--md",LG:"c-footer--lg",STICKY:"c-footer--sticky"},DEFAULTS:{LAYOUT:"columns",VARIANT:"primary",SIZE:"md",SHOW_NEWSLETTER:!1,SHOW_BACK_TO_TOP:!1,SHOW_DIVIDER:!0,STICKY:!1,NEWSLETTER_TITLE:"Stay Updated",NEWSLETTER_DESCRIPTION:"Subscribe to our newsletter for the latest updates.",NEWSLETTER_PLACEHOLDER:"Enter your email",NEWSLETTER_BUTTON_TEXT:"Subscribe",BACK_TO_TOP_TEXT:"Back to Top"}},Ne={BASE_CLASS:"c-atomix-glass",CONTAINER_CLASS:"c-atomix-glass__container",INNER_CLASS:"c-atomix-glass__inner",FILTER_CLASS:"c-atomix-glass__filter",FILTER_OVERLAY_CLASS:"c-atomix-glass__filter-overlay",FILTER_SHADOW_CLASS:"c-atomix-glass__filter-shadow",CONTENT_CLASS:"c-atomix-glass__content",BORDER_1_CLASS:"c-atomix-glass__border-1",BORDER_2_CLASS:"c-atomix-glass__border-2",HOVER_1_CLASS:"c-atomix-glass__hover-1",HOVER_2_CLASS:"c-atomix-glass__hover-2",HOVER_3_CLASS:"c-atomix-glass__hover-3",BASE_LAYER_CLASS:"c-atomix-glass__base",OVERLAY_LAYER_CLASS:"c-atomix-glass__overlay",OVERLAY_HIGHLIGHT_CLASS:"c-atomix-glass__overlay-highlight",BACKGROUND_LAYER_CLASS:"c-atomix-glass__background-layer",BACKGROUND_LAYER_DARK_CLASS:"c-atomix-glass__background-layer--dark",BACKGROUND_LAYER_BLACK_CLASS:"c-atomix-glass__background-layer--black",BACKGROUND_LAYER_OVER_LIGHT_CLASS:"c-atomix-glass__background-layer--over-light",BACKGROUND_LAYER_HIDDEN_CLASS:"c-atomix-glass__background-layer--hidden",VARIANT_PREFIX:"c-atomix-glass--",MODE_PREFIX:"c-atomix-glass--",CLASSES:{BASE:"c-atomix-glass",CONTAINER:"c-atomix-glass__container",INNER:"c-atomix-glass__inner",FILTER:"c-atomix-glass__filter",CONTENT:"c-atomix-glass__content",ACTIVE:"active",OVER_LIGHT:"c-atomix-glass__container--over-light",STANDARD:"c-atomix-glass--standard",POLAR:"c-atomix-glass--polar",PROMINENT:"c-atomix-glass--prominent",SHADER:"c-atomix-glass--shader"},DEFAULTS:{DISPLACEMENT_SCALE:20,BLUR_AMOUNT:1,SATURATION:140,ABERRATION_INTENSITY:2.5,ELASTICITY:.05,CORNER_RADIUS:16,PADDING:"0 0",MODE:"standard",OVER_LIGHT:"auto",ENABLE_OVER_LIGHT_LAYERS:!0},CONSTANTS:{ACTIVATION_ZONE:200,MIN_BLUR:.1,MOUSE_INFLUENCE_DIVISOR:100,EDGE_FADE_PIXELS:2,DEFAULT_CORNER_RADIUS:16,MAX_SIZE:4096,GRADIENT:{BASE_ANGLE:135,ANGLE_MULTIPLIER:1.2,BORDER_STOP_1:{MIN:10,BASE:33,MULTIPLIER:.3},BORDER_STOP_2:{MAX:90,BASE:66,MULTIPLIER:.4},BORDER_OPACITY:{BASE_1:.12,BASE_2:.4,BASE_3:.32,BASE_4:.6,MULTIPLIER_LOW:.008,MULTIPLIER_HIGH:.012},CENTER_POSITION:50,HOVER_POSITION:{DIVISOR_1:2,DIVISOR_2:1.5,MULTIPLIER_3:1},BASE_LAYER_MULTIPLIER:.5},GRADIENT_OPACITY:{HOVER_1:{BLACK_START:.3,BLACK_MID:.1,BLACK_STOP:30,BLACK_END:60,WHITE_START:.5,WHITE_STOP:50},HOVER_2:{BLACK_START:.4,BLACK_MID:.15,BLACK_STOP:40,BLACK_END:80,WHITE_START:1,WHITE_STOP:80},HOVER_3:{BLACK_START:.5,BLACK_MID:.2,BLACK_STOP:50,BLACK_END:100,WHITE_START:1,WHITE_STOP:100}},BASE_GRADIENT:{ANGLE:135,BLACK_START_BASE:.15,BLACK_START_MULTIPLIER:.003,BLACK_MID_BASE:.1,BLACK_MID_MULTIPLIER:.002,BLACK_MID_STOP:50,BLACK_END_BASE:.18,BLACK_END_MULTIPLIER:.004,WHITE_OPACITY:.1},OVERLAY_GRADIENT:{BLACK_START_BASE:.12,BLACK_START_MULTIPLIER:.003,BLACK_MID:.06,BLACK_MID_STOP:40,BLACK_END_BASE:.15,BLACK_END_MULTIPLIER:.003,WHITE_OPACITY:.05},OVERLAY_HIGHLIGHT:{POSITION_X:20,POSITION_Y:20,WHITE_OPACITY:.4,STOP:60,OPACITY_MULTIPLIER:.7},MULTIPLIERS:{SHADER_DISPLACEMENT:.8,OVER_LIGHT_DISPLACEMENT:.6,SHADER_ABERRATION:.7},SATURATION:{HIGH_CONTRAST:200}}};function ve(e){const t={defaultOpen:!1,disabled:!1,iconPosition:"right",...e},a="boolean"==typeof t.isOpen,[n,s]=i(t.defaultOpen||!1),l=a?t.isOpen:n,[c,d]=i(l?"auto":"0px"),u=o(null),h=o(null),m=()=>{if(h.current&&u.current){const e=l?`${h.current.clientHeight}px`:"0px";u.current.style.setProperty(M.CSS_VARS.PANEL_HEIGHT,e),d(e)}};r((()=>{m()}),[l]),r((()=>{const e=()=>{l&&m()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l]);return{state:{isOpen:l,panelHeight:c},toggle:()=>{t.disabled||(a?t.onOpenChange&&t.onOpenChange(!l):s((e=>!e)))},updatePanelHeight:m,panelRef:u,contentRef:h,generateClassNames:(e="")=>`c-accordion ${l?M.CLASSES.IS_OPEN:""} ${t.disabled?M.CLASSES.IS_DISABLED:""} ${e}`.trim(),generateHeaderClassNames:()=>`c-accordion__header ${"left"===t.iconPosition?"c-accordion__header--icon-left":""}`.trim()}}const _e=0,fe=255,be=8e-4,Te=4096,Ce=(e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a)return 0;const n=Math.max(0,Math.min(1,(a-e)/(t-e)));return n*n*(3-2*n)},Le=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=Math.max(Math.abs(e),Math.abs(t));if(0===a)return 0;const n=e/a,i=t/a;return a*Math.sqrt(n*n+i*i)},Ie=(e,t,a,n,i)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i)return 0;const o=Math.abs(e)-a+i,r=Math.abs(t)-n+i;return Math.min(Math.max(o,r),0)+Le(Math.max(o,0),Math.max(r,0))-i},ye=(e,t)=>({x:"number"!=typeof e||isNaN(e)?.5:Math.max(0,Math.min(1,e)),y:"number"!=typeof t||isNaN(t)?.5:Math.max(0,Math.min(1,t))}),xe=e=>e&&"number"==typeof e.x&&"number"==typeof e.y&&!isNaN(e.x)&&!isNaN(e.y),Re=(e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)?t:isNaN(t)?0:isNaN(a)?1:Math.max(t,Math.min(a,e)),Oe=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},Me=e=>{if("number"!=typeof e||isNaN(e))return 0;const t=Math.max(0,Math.min(1,e));return 1-Math.pow(1-t,4)},we=(e,t)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const a=255&Math.floor(e),n=255&Math.floor(t),i=e-Math.floor(e),o=t-Math.floor(t),r=Oe(i),s=Oe(o),l=(e,t)=>{if("number"!=typeof e||"number"!=typeof t)return 0;const a=e+57*t,n=43758.5453*Math.sin(12.9898*a+78.233);return n-Math.floor(n)},c=l(a,n),d=l(a+1,n),u=l(a,n+1),h=c+r*(d-c);return h+s*(u+r*(l(a+1,n+1)-u)-h)},De=(e,t,a=4)=>{if("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))return 0;const n=Math.max(1,Math.min(8,Math.floor(a)));let i=0,o=.5,r=1;for(let a=0;a<n;a++)i+=o*we(e*r,t*r),r*=2,o*=.5;return i},Be=(e,t,a,n=0,i=0)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||"number"!=typeof i||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)||isNaN(i))return{x:0,y:0};const o=Math.min(.02*a,.1);return{x:(e-n)*o,y:(t-i)*o}},Pe={liquidGlass:(e,t)=>{if(!xe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*be,o=t&&xe(t)?t.x-.5:0,r=t&&xe(t)?t.y-.5:0,s=Le(o,r),l=Me(1-Math.min(2*s,1)),c=De(12*(a+.5*o)+i,12*(n+.5*r)+.7*i,3)-.5,d=Ie(a,n,.4,.3,.35),u=Ce(.8,0,d-.05),h=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=Le(e,t),i=Math.pow(Math.min(n,10),2)*a;return{x:e*(1+i),y:t*(1+i)}})(a,n,.4*.1),m=1.2*(h.x-a)*u,p=1.2*(h.y-n)*u,g=.018*Math.sin(8*(a+2*o)+2*i),S=.018*Math.cos(8*(n+2*r)+1.5*i),E=(.015*Math.sin(12*(a-o)+12*(n-r)+3*i)+.012*Math.cos(10*(a+o)-10*(n-r)-2*i))*l*s,A=(Math.sin(15*a+i)*Math.cos(15*n-i)*.008+Math.sin(20*a-.5*i)*Math.cos(20*n+.5*i)*.006)*u,N=.85*(g+S+.025*c),v=m+N+E+A,_=p+.8*N+.9*E+A,f=((e,t,a)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a))return{x:0,y:0};const n=Le(e,t);if(0===n)return{x:0,y:0};const i=Math.atan2(t,e);return{x:Math.cos(i)*n*a,y:Math.sin(i)*n*a}})(a,n,.015*u),b=Ce(0,1,1.15*u),T=a+v+.5*f.x,C=n+_+.5*f.y;return ye(Re(T*b+.5,0,1),Re(C*b+.5,0,1))},appleFluid:(e,t)=>{if(!xe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*be*.6,o=t&&xe(t)?t.x-.5:0,r=t&&xe(t)?t.y-.5:0,s=Le(o,r),l=Me(1-Math.min(1.5*s,1)),c=De(10*(a+.3*o)+i,10*(n+.3*r),5)-.5,d=De(10*(a-.3*o),10*(n-.3*r)+.8*i,5)-.5,u=Ie(a,n,.42,.32,.38),h=Ce(.85,-.1,u),m=Math.sin(6*a+2*i)*Math.cos(4*n-i)*.025,p=Math.cos(4*a-i)*Math.sin(6*n+2*i)*.025,g=Math.atan2(n-r,a-o),S=l*s*.08,E=Math.cos(g+i)*S,A=n+(.035*d+p+Math.sin(g+i)*S)*h;return ye(Re(a+(.035*c+m+E)*h+.5,0,1),Re(A+.5,0,1))},premiumGlass:(e,t)=>{if(!xe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*be*.4,o=t&&xe(t)?t.x-.5:0,r=t&&xe(t)?t.y-.5:0,s=Le(o,r),l=Le(a,n),c=.3*Math.pow(Math.min(l,1),1.5),d=Math.atan2(n,a);let u=0,h=0;for(let e=0;e<3;e++){const t=5*(e+1),o=i*(1+.3*e),r=.01/(e+1);u+=Math.sin(a*t+o)*r,h+=Math.cos(n*t-o)*r}const m=Math.cos(d)*c*(1+.5*s),p=Math.sin(d)*c*(1+.5*s),g=De(8*a+i,8*n-i,2)-.5,S=Ie(a,n,.43,.33,.36),E=Ce(.9,-.05,S),A=n+(p+h+.015*g)*E;return ye(Re(a+(m+u+.015*g)*E+.5,0,1),Re(A+.5,0,1))},liquidMetal:(e,t)=>{if(!xe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*be*1.2,o=t&&xe(t)?t.x-.5:0,r=t&&xe(t)?t.y-.5:0,s=Math.sin(20*a+4*i)*Math.cos(15*n-3*i)*.02,l=Math.cos(15*a-2*i)*Math.sin(20*n+5*i)*.015,c=.025*De(25*a+2*i,25*n-2*i,4),d=Math.atan2(n-r,a-o),u=Le(a-o,n-r),h=.02*Math.sin(15*u-6*i)*Me(1-Math.min(2*u,1)),m=Ie(a,n,.41,.31,.37),p=Ce(.88,-.08,m),g=a+(s+c+Math.cos(d)*h)*p,S=n+(l+.8*c+Math.sin(d)*h)*p;return ye(Re(g+.5,0,1),Re(S+.5,0,1))},basiBasi:(e,t)=>{if(!xe(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*be*.5,o=t&&xe(t)?t.x-.5:0,r=t&&xe(t)?t.y-.5:0,s=Le(o,r),l=Me(1-Math.min(1.2*s,1)),c=((e,t,a,n=1)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:.5*(Math.sin(8*e+2*a)*Math.cos(8*t-2*a)*.5+Math.sin(8*(e+.5)*1.3-2*a*.8)*Math.cos(8*(t-.3)*1.3+2*a*.8)*.3+Math.sin(8*(e-.3)*.7+2*a*1.2)*Math.cos(8*(t+.4)*.7-2*a*1.2)*.2+1)*n)(a,n,i,.8),d=.02*(c-.5),u=Math.atan2(n,a),h=((e,t,a,n)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return{r:{x:0,y:0},g:{x:0,y:0},b:{x:0,y:0}};const i=Le(e,t),o=Math.min(i*n,1),r=.8*o,s=1*o,l=1.2*o;return{r:{x:Math.cos(a)*r,y:Math.sin(a)*r},g:{x:Math.cos(a)*s,y:Math.sin(a)*s},b:{x:Math.cos(a)*l,y:Math.sin(a)*l}}})(a,n,u,.025),m=(h.r.x+h.g.x+h.b.x)/3,p=(h.r.y+h.g.y+h.b.y)/3;let g=0,S=0;for(let e=0;e<7;e++){const t=Be(a,n,(e+1)/7,o,r),s=De((a+t.x)*(8+2*e)+i*(.5+.1*e),(n+t.y)*(8+2*e)-i*(.5+.1*e),3)-.5,l=1/(e+1);g+=(t.x+.01*s)*l,S+=(t.y+.01*s)*l}g/=7,S/=7;const E=((e,t,a,n)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n)?.5:De(5*e+.5*n,5*t-.5*n,3)*Math.exp(2*-Math.max(0,a))*.5+.5)(a,n,.5,i),A=Math.cos(u)*E*.015,N=Math.sin(u)*E*.015,v=((e,t,a,n=5)=>{if("number"!=typeof e||"number"!=typeof t||"number"!=typeof a||"number"!=typeof n||isNaN(e)||isNaN(t)||isNaN(a)||isNaN(n))return 0;const i=Math.max(1,Math.min(8,Math.floor(n)));let o=0,r=1,s=1;for(let n=0;n<i;n++)o+=Math.abs(we(e*s+a,t*s-a))*r,s*=2,r*=.5;return o})(6*a,6*n,i,6),_=.012*Math.cos(v*Math.PI*2),f=.012*Math.sin(v*Math.PI*2),b=((e,t,a)=>"number"!=typeof e||"number"!=typeof t||"number"!=typeof a||isNaN(e)||isNaN(t)||isNaN(a)?.5:.5*(.7*De(40*e+.3*a,40*t-.3*a,6)+.3*De(80*e,80*t,4)))(a,n,i),T=.008*(b-.5),C=.008*(b-.5),L=Le(a,n),I=.35*Math.pow(Math.min(L,1),1.8)*(1+l*s*.8),y=Math.cos(u)*I,x=Math.sin(u)*I,R=Math.atan2(n-r,a-o),O=Le(a-o,n-r),M=l*Math.sin(10*O-3*i)*.025,w=Math.cos(R+2*i)*M,D=Math.sin(R+2*i)*M,B=Math.sin(10*a+5*o+2.5*i)*Math.cos(8*n-2*i)*.018,P=Math.cos(8*a-2*i)*Math.sin(10*n+5*r+2.5*i)*.018,k=(.012*Math.sin(15*Math.min(L,10)-4*i)+.008*Math.cos(20*Math.min(L,10)+3*i))*l,U=Math.cos(u)*k,G=Math.sin(u)*k,z=Ie(a,n,.44,.34,.39),F=Ce(.92,-.12,z),V=Ce(.85,.1,z),H=n+.85*((1.2*x+.8*p+1.5*S+.9*N+1*f+.6*C+1.3*D+1.1*P+.7*G+.8*d)*F*V);return ye(Re(a+.85*((1.2*y+.8*m+1.5*g+.9*A+1*_+.6*T+1.3*w+1.1*B+.7*U+d)*F*V)+.5,0,1),Re(H+.5,0,1))}};class ke{constructor(e){if(this.options=e,this.canvasDPI=1,!this.validateOptions(e))throw new Error("Invalid shader options provided");this.canvas=document.createElement("canvas"),this.canvas.width=Math.max(1,Math.min(Te,Math.round(e.width*this.canvasDPI||256))),this.canvas.height=Math.max(1,Math.min(Te,Math.round(e.height*this.canvasDPI||256))),this.canvas.style.display="none";const t=this.canvas.getContext("2d");if(!t)throw new Error("AtomixGlass: Could not get 2D canvas context");this.context=t}validateOptions(e){try{return e&&"number"==typeof e.width&&e.width>0&&e.width<=Te&&"number"==typeof e.height&&e.height>0&&e.height<=Te&&"function"==typeof e.fragment}catch(e){return!1}}updateShader(e){try{const t=this.options.width*this.canvasDPI,a=this.options.height*this.canvasDPI;let n=0;const i=[];for(let o=0;o<a;o++)for(let r=0;r<t;r++){const s={x:r/t,y:o/a},l=this.options.fragment(s,e);let c=l.x*t-r,d=l.y*a-o;const u=2*Math.min(r/t,(t-r)/t),h=2*Math.min(o/a,(a-o)/a),m=Math.min(u,h);c*=Ce(0,.2,m),d*=Ce(0,.2,m),n=Math.max(n,Math.abs(c),Math.abs(d)),i.push(c,d)}n=Math.max(n,1);const o=this.context.createImageData(t,a),r=o.data;let s=0;for(let e=0;e<a;e++)for(let o=0;o<t;o++){const l=i[s++]||0,c=i[s++]||0,d=Math.min(o,e,t-o-1,a-e-1),u=Math.min(1,d/2),h=l*u/n+.5,m=c*u/n+.5,p=4*(e*t+o);r[p]=Re(255*h,_e,fe),r[p+1]=Re(255*m,_e,fe),r[p+2]=Re(255*m,_e,fe),r[p+3]=255}return this.context.putImageData(o,0,0),this.canvas.toDataURL()}catch(e){return""}}destroy(){try{this.canvas.remove()}catch(e){}}getScale(){return this.canvasDPI}}const{CONSTANTS:Ue}=Ne,Ge=(e,t)=>{if(!e||!t||"number"!=typeof e.x||"number"!=typeof e.y||"number"!=typeof t.x||"number"!=typeof t.y)return 0;const a=e.x-t.x,n=e.y-t.y;return Math.sqrt(a*a+n*n)},ze=e=>e?{x:e.left+e.width/2,y:e.top+e.height/2}:{x:0,y:0},Fe=e=>{if(!e||"number"!=typeof e.x||"number"!=typeof e.y)return 0;const t=Math.sqrt(e.x*e.x+e.y*e.y)/Ue.MOUSE_INFLUENCE_DIVISOR;return Math.min(1.5,t)},Ve=e=>"number"!=typeof e||isNaN(e)?Ue.MIN_BLUR:Math.max(Ue.MIN_BLUR,Math.min(50,e)),He=e=>e&&"number"==typeof e.width&&"number"==typeof e.height&&e.width>0&&e.height>0&&e.width<=Ue.MAX_SIZE&&e.height<=Ue.MAX_SIZE,Ye=e=>{if("number"==typeof e)return Math.max(0,e);if("string"!=typeof e||!e.trim())return Ue.DEFAULT_CORNER_RADIUS;const t=e.trim();if(t.endsWith("px")){const e=parseFloat(t);return isNaN(e)?Ue.DEFAULT_CORNER_RADIUS:Math.max(0,e)}if(t.endsWith("rem")){const e=parseFloat(t);return isNaN(e)?Ue.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("em")){const e=parseFloat(t);return isNaN(e)?Ue.DEFAULT_CORNER_RADIUS:Math.max(0,16*e)}if(t.endsWith("%")){const e=parseFloat(t);return isNaN(e)?Ue.DEFAULT_CORNER_RADIUS:Math.max(0,e/100*200)}const a=parseFloat(t);return isNaN(a)?Ue.DEFAULT_CORNER_RADIUS:Math.max(0,a)},Ke=e=>{if(!e||!e.props)return null;if(e.props.style){const t=(e=>{if(!e)return null;const t=e.borderRadius||e.borderTopLeftRadius||e.borderTopRightRadius||e.borderBottomLeftRadius||e.borderBottomRightRadius;if(void 0!==t)return Ye(t);return null})(e.props.style);if(null!==t&&t>0)return t}if(e.props.children){const t=We(e.props.children);if(t>0&&t!==Ue.DEFAULT_CORNER_RADIUS)return t}return null},We=e=>{if(!e)return Ue.DEFAULT_CORNER_RADIUS;try{const t=n.Children.toArray(e);for(let e=0;e<t.length;e++){const a=t[e];if(n.isValidElement(a)){const e=Ke(a);if(null!==e)return e}}}catch(e){}return Ue.DEFAULT_CORNER_RADIUS},Qe=(e,t,a,n,i)=>{switch(e){case"standard":default:return t;case"polar":return a;case"prominent":return n;case"shader":return i||t}},$e=({id:a,displacementScale:n,aberrationIntensity:i,mode:o,shaderMapUrl:r})=>e("svg",{style:{position:"absolute",width:"100%",height:"100%",inset:0,visibility:"hidden",opacity:0},"aria-hidden":"true",children:t("defs",{children:[t("radialGradient",{id:`${a}-edge-mask`,cx:"50%",cy:"50%",r:"50%",children:[e("stop",{offset:"0%",stopColor:"black",stopOpacity:"0"}),e("stop",{offset:`${Math.max(30,80-2*i)}%`,stopColor:"black",stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:"white",stopOpacity:"1"})]}),t("filter",{id:a,x:"-35%",y:"-35%",width:"170%",height:"170%",colorInterpolationFilters:"sRGB",children:[e("feImage",{id:"feimage",x:"0",y:"0",width:"100%",height:"100%",result:"DISPLACEMENT_MAP",href:Qe(o,"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAQDAwMDAwQDAwQGBAMEBgcFBAQFBwgHBwcHBwgLCAkJCQkICwsMDAwMDAsNDQ4ODQ0SEhISEhQUFBQUFBQUFBQBBQUFCAgIEAsLEBQODg4UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/CABEIAQABAAMBEQACEQEDEQH/xAAxAAEBAQEBAQAAAAAAAAAAAAADAgQIAQYBAQEBAQEBAQAAAAAAAAAAAAMCBAEACAf/2gAMAwEAAhADEAAAAPjPor6kOgOiKhKgKhK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BKBIJoJIJ2R2J0JWBUJ0JUB0XTv479dFZDYiglYigkhEgjZFQjRFQjRFQjQigFYigHYigmgEgmglYlYnQlQlYlQHQlQnQ9P/kf1yVkNiNCNkNiVENiNiViNEViNkVCVgKCViViViSCViSCVgdCViVCViVCdgVCVCdD1D+U/XBWQ2I0I2Q2JUQ2I0JWQ0I2JUQ2JUI2JUI2J0JWJWJWA2R0BWJ0I2JUJ2BUJUJ0P//EABkQAQEBAQEBAAAAAAAAAAAAAAECABEDEP/aAAgBAQABAgB1atWrVq1atWrVq1atWrVq1atWrVq1atWrVq+OrVq1atWrVq1atWrVq1atWrVq1atWrVq1atXxVppppppdWrVq1atWrVq1NNNNNNNNNNNPVWmmmmms6tWrVq1atWpppppppppppppp6q0000uc51atWrVq1ammmmmmmmmmmmmt1Vpppc5znVq1atWrVqaaaaaaaaaaaaaeqtNLnOc51atWrVq1ammmmmmmmmmmmmnqrS5znOc6tWrVq16222mmmmmmlVppp6tKuc5znOrVq1a9TbbbbTTTTTSq000qtLnOc5zq1atWrW0222200000qqqtKqrnOc5zq1atTbbbbbbbbTTTSqqqqqq5znOc6tTTTbbbbbbbbTTTSqqqqrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/xAAWEAADAAAAAAAAAAAAAAAAAAAhgJD/2gAIAQEAAz8AaExf/8QAGhEBAQEBAQEBAAAAAAAAAAAAAQISEQADEP/aAAgBAgEBAgDx48ePHjx48ePHjx48ePHjx48ePHjx48ePHj86IiIiIiInjx48ePHjx48IiIiIj0oooooooooRERER73ve60UUUUUUVrWiiiiiihERERER73ve97ooooorRWiiiiihKERERER73ve973RRRRWtFFFFFFCIiIiIiPe973ve60UUVrRRRRRRQiIlCIiI973ve973pRRWiiiiiiiiiiiiiiihEe973ve973RRWtFFFFFFFFFFFFFFFFFFa13ve973WitaKKKKKKKKKKKKKKKKKK1rWtd1rutFa1oooooooooooosssooorWta1rWta1rRRRRRRRRRRZZZZZZZZZWta1rWta1rRRRRRRRRZZZZZZZZZZZZe9a1rWta1rWitaKLLLLLLLLLLLLLLLLL3rWta1rWtFbLLLLLLLLLLLLLLLLLLLL3vWta1rWita1ssssssss+hZZZZZZZZe961rWta0Vre97LLLLLLLLLLLPoWWWWWXrWta1oorWta3ssss+hZZZZ9Cyyyyyyyyiita1orWta1ve9llllllllllllllllFFa0VorWta1ve9llllllllllllllllllFFFaK1rWta1rWiyyyyyyyyyyyyiiiiiiitFFa1rWta1oosoosssssoooosoooorRRRWta1rWta0UUUUUWUUUUUUUUUUUVoooorWta1rWtaKKKKKKmiiiiiiiiiiiiiiitd73ve61oSiiipoqaKKKKKKKKKK0UUUVrve973vREREZoSihEooooorRRRRWtd73ve9EREREREoSiiiiitFllllla73ve9ERERERESiiiiiitH0PoWWWWVrXe96IiIiMoiJRRRRRRWjwlFFllllFFd6IiIiIlCUUUUUUUUUePHjx48ePCIiIiIiIiUUUUUUUUUUUePHjx48ePHjx48ePHjx48IiUUUUUUJRRRX//xAAWEQADAAAAAAAAAAAAAAAAAAABYJD/2gAIAQIBAz8AtEV7/8QAFxEBAQEBAAAAAAAAAAAAAAAAAAECEP/aAAgBAwEBAgCtNNNNNNNNNNNNNNNNNNNNNNNNNNNNNcrTTTTTTTTTTTTTTTTTTTTTTTTTTTTTXKrTTTTTTTU000000000000000000001FVpppppqampqaaaaaaaaaaaaaaaaaaaa5Vaaaaampqampqammmmmmmmmmmlaaaaaaiq0001NTU1NTU1NTTTTTTTTTTSqqtNNNcqtNNSyzU1LNTU1NTTTTTTTTTSqqq001ytNLLLLNTU1NTU1NTbbbTTTTTSqqq001ytNLLLLLNTU1NTU3NttttNNNNNKqq001KrSyyyyyzU1NTU3Nzc02220000qqqqrSqqyyyyyzU1NTU3Nzc3NttttNNNKqqqqqqssssss1NTU3Nzc3NzbbbbTTTSqqqqqqrLLLLLNTU1Nzc3Nzc22220000qqqqqqqqssss1NTU3Nzc3NzbbbbbTTSqqqqqqqqqqzU1NTc3Nzc3Nzbc22000qqqqqqqqqqqtTU3Nzc3Nzc3NtzbTTSqqqqrKqqqqqtNNzc23Nzc3Nzc3NTU1KqqqrKqqqqqtNNNNttzc3Nzc3NzU1NLLLLLKqqqqqqqq0022223Nzc3NzU1NSyyyyyyqqqqqqqrTTbbbbc3Nzc3NTU1LLLLLLKsqqqqqqrTTTTbbbc3Nzc1NTUsssssssqqqqqqrTTTTTbbbTc3NTU1NTUsssssqqqqqqqq0000222023NTU1NTUsssssqqqqqqqq000000003NTU1NTU1LLLLLNKrTSqqqqtNNNNNNtNNTU1NSzUssss00qq0qqqqrTTTTTTTTTU1NTUs1LLLNNNKrTTTSqqq00000000001NTU1LNTU0000qtNNNKqqqtNNNNNNNNTU1NTUs1NNNNNKss1NNNK00qtK0000001NNTU0s000000qq000001NKrStNNNNK1NNNNStNNNNNKqtNNNNNNNK0000000rU0000rTTTTTSq00000rTTTTTTTTTTTTTTTTStNNNNKr/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=","data:image/jpeg;base64,/9j/4AAQ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Kued71nTgrrq47u4DENe/at5CXyBuxYiSwu1pnB8sjED3QIDn0+Oer7plgp4t3Z5tDrTvAt2jP6G5gG/VRvtnPlg2Xj5AmUgMmSoI66Eqp4iDjM9R5Tdp0Hb0KN1duIZ+bmbFGy8oje5GgM6KSbFKvxcUQbwIAJSWPRPUI0qAfsoBeg6wg34beqRT0qDBU6Ea44gLxZ9H58oho4ojVM1s0IcbqGFBmyQ+KVq+Rn9zuTr9ff+q++PaWy9IGkSgG7aYe/ePqBamIBu6xruTznWI5egLDnwxGs4/Ye97bpQhKZJqv7/7GfkgF+rEBGfCVWZCTPnOjwxnPWcyxAqtLMZanXyfSv/Hz46iWQl6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+H/kMAsbYr+iHAAAAAElFTkSuQmCC",r),preserveAspectRatio:"xMidYMid slice"}),e("feColorMatrix",{in:"DISPLACEMENT_MAP",type:"matrix",values:"0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0.3 0.3 0.3 0 0\n 0 0 0 1 0",result:"EDGE_INTENSITY"}),e("feComponentTransfer",{in:"EDGE_INTENSITY",result:"EDGE_MASK",children:e("feFuncA",{type:"discrete",tableValues:`0 ${.05*i} 1`})}),e("feOffset",{in:"SourceGraphic",dx:"0",dy:"0",result:"CENTER_ORIGINAL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*("shader"===o?1:-1),xChannelSelector:"R",yChannelSelector:"B",result:"RED_DISPLACED"}),e("feColorMatrix",{in:"RED_DISPLACED",type:"matrix",values:"1 0 0 0 0\n 0 0 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"RED_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===o?1:-1)-.02*i),xChannelSelector:"R",yChannelSelector:"B",result:"GREEN_DISPLACED"}),e("feColorMatrix",{in:"GREEN_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 1 0 0 0\n 0 0 0 0 0\n 0 0 0 1 0",result:"GREEN_CHANNEL"}),e("feDisplacementMap",{in:"SourceGraphic",in2:"DISPLACEMENT_MAP",scale:n*(("shader"===o?1:-1)-.03*i),xChannelSelector:"R",yChannelSelector:"B",result:"BLUE_DISPLACED"}),e("feColorMatrix",{in:"BLUE_DISPLACED",type:"matrix",values:"0 0 0 0 0\n 0 0 0 0 0\n 0 0 1 0 0\n 0 0 0 1 0",result:"BLUE_CHANNEL"}),e("feBlend",{in:"GREEN_CHANNEL",in2:"BLUE_CHANNEL",mode:"screen",result:"GB_COMBINED"}),e("feBlend",{in:"RED_CHANNEL",in2:"GB_COMBINED",mode:"screen",result:"RGB_COMBINED"}),e("feComposite",{in:"ABERRATED_BLURRED",in2:"EDGE_MASK",operator:"in",result:"EDGE_ABERRATION"}),e("feComponentTransfer",{in:"EDGE_MASK",result:"INVERTED_MASK",children:e("feFuncA",{type:"table",tableValues:"1 0"})}),e("feComposite",{in:"CENTER_ORIGINAL",in2:"INVERTED_MASK",operator:"in",result:"CENTER_CLEAN"}),e("feComposite",{in:"EDGE_ABERRATION",in2:"CENTER_CLEAN",operator:"over"})]})]})});$e.displayName="GlassFilter";const Ze=s((({children:a,className:n="",style:s,displacementScale:d=25,blurAmount:u=.0625,saturation:h=180,aberrationIntensity:m=2,mouseOffset:p={x:0,y:0},globalMousePosition:g={x:0,y:0},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,active:v=!1,isHovered:_=!1,isActive:f=!1,overLight:b=!1,cornerRadius:T=0,padding:C="0 0",glassSize:L={width:0,height:0},onClick:I,mode:y="standard",effectiveDisableEffects:x=!1,effectiveReducedMotion:R=!1,shaderVariant:O="liquidGlass",enableLiquidBlur:M=!1,elasticity:w=0,contentRef:D},B)=>{const P=l(),[k,U]=i(""),G=o(null);r((()=>{if("shader"===y&&L&&He(L))try{G.current?.destroy();const e=Pe[O]||Pe.liquidGlass;G.current=new ke({width:L.width,height:L.height,fragment:e});const t=G.current.updateShader();U(t)}catch(e){U("")}return()=>{try{G.current?.destroy()}catch(e){}finally{G.current=null}}}),[y,L,O]),r((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(!e)return;const t=setTimeout((()=>{try{e.offsetHeight}catch(e){}}),0);return()=>clearTimeout(t)}),[T,L?.width,L?.height,B]);const[z,F]=i(null);r((()=>{if(!B||"function"==typeof B)return;const e=B.current;if(e)try{F(e.getBoundingClientRect())}catch(e){F(null)}}),[B,L]);const V=c((()=>{const e={baseBlur:u,edgeBlur:1.25*u,centerBlur:1.1*u,flowBlur:1.2*u};if(!M||!z||!g||"number"!=typeof g.x||"number"!=typeof g.y||isNaN(g.x)||isNaN(g.y))return e;try{const e=ze(z),t=Ge(g,e),a=Math.sqrt(z.width*z.width+z.height*z.height)/2,n=Math.min(t/a,1),i=Fe(p),o=u+i*u*.4,r=o*(.8+.6*(1.5*n+.3*i)),s=o*(.3+.4*(.3*(1-n)+.2*i)),l=g.x-e.x,c=g.y-e.y,d=Math.atan2(c,l),h=o*(.4+.6*(.5*Math.sin(d+i*Math.PI)+.5)),m=(_?1.2:1)*(f?1.4:1);return{baseBlur:Ve(o*m),edgeBlur:Ve(r*m),centerBlur:Ve(s*m),flowBlur:Ve(h*m)}}catch(t){return e}}),[M,u,g,p,_,f,z,s,L]),H=c((()=>{try{const e=h+20*(V.baseBlur||0),t="number"!=typeof V.baseBlur||isNaN(V.baseBlur)?0:V.baseBlur,a="number"!=typeof V.edgeBlur||isNaN(V.edgeBlur)?0:V.edgeBlur,n="number"!=typeof V.centerBlur||isNaN(V.centerBlur)?0:V.centerBlur,i="number"!=typeof V.flowBlur||isNaN(V.flowBlur)?0:V.flowBlur;return{backdropFilter:`${[`blur(${t}px)`,`blur(${a}px)`,`blur(${n}px)`,`blur(${i}px)`].join(" ")} saturate(${Math.min(e,200)}%) `}}catch(e){return{backdropFilter:`blur(${u}px) saturate(${h}%)`}}}),[P,V,h,u]),Y=c((()=>{try{const e=p&&"number"==typeof p.x&&!isNaN(p.x)?p.x:0,t=p&&"number"==typeof p.y&&!isNaN(p.y)?p.y:0;return{"--atomix-glass-container-width":`${L?.width}`,"--atomix-glass-container-height":`${L?.height}`,"--atomix-glass-container-padding":C||"0 0","--atomix-glass-container-radius":`${"number"!=typeof T||isNaN(T)?0:T}px`,"--atomix-glass-container-backdrop":H?.backdropFilter||"none","--atomix-glass-container-shadow":b?[`inset 0 1px 0 rgba(255, 255, 255, ${.4+.002*e})`,`inset 0 -1px 0 rgba(0, 0, 0, ${.2+.001*Math.abs(t)})`,`inset 0 0 20px rgba(0, 0, 0, ${.08+.001*Math.abs(e+t)})`,`0 2px 12px rgba(0, 0, 0, ${.12+.002*Math.abs(t)})`].join(", "):"0 0 20px rgba(0, 0, 0, 0.15) inset, 0 4px 8px rgba(0, 0, 0, 0.08) inset","--atomix-glass-container-shadow-opacity":x?0:1,"--atomix-glass-container-bg":b?`linear-gradient(${180+.5*e}deg, rgba(255, 255, 255, 0.1) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.05) 100%)`:"none","--atomix-glass-container-text-shadow":b?"0px 2px 12px rgba(0, 0, 0, 0)":"0px 2px 12px rgba(0, 0, 0, 0.4)","--atomix-glass-container-box-shadow":b?"0px 16px 70px rgba(0, 0, 0, 0.75)":"0px 12px 40px rgba(0, 0, 0, 0.25)"}}catch(e){return{"--atomix-glass-container-padding":"0 0","--atomix-glass-container-radius":"0px","--atomix-glass-container-backdrop":"none","--atomix-glass-container-shadow":"none","--atomix-glass-container-shadow-opacity":1,"--atomix-glass-container-bg":"none","--atomix-glass-container-text-shadow":"none"}}}),[L,C,T,H,p,b,x]);return e("div",{ref:B,className:`${Ne.CONTAINER_CLASS} ${n} ${v?Ne.CLASSES.ACTIVE:""} ${b?Ne.CLASSES.OVER_LIGHT:""}`,style:{...s,...Y},onClick:I,children:t("div",{className:Ne.INNER_CLASS,style:{padding:"var(--atomix-glass-container-padding)",borderRadius:"var(--atomix-glass-container-radius)",boxShadow:"var(--atomix-glass-container-box-shadow)",transition:R?"none":"all 0.2s ease-out"},onMouseEnter:S,onMouseLeave:E,onMouseDown:A,onMouseUp:N,children:[t("div",{className:Ne.FILTER_CLASS,children:[e($e,{mode:y,id:P,displacementScale:"number"!=typeof d||isNaN(d)?0:d,aberrationIntensity:"number"!=typeof m||isNaN(m)?0:m,shaderMapUrl:k}),e("span",{className:Ne.FILTER_OVERLAY_CLASS,style:{filter:`url(#${P})`,backdropFilter:"var(--atomix-glass-container-backdrop)",borderRadius:"var(--atomix-glass-container-radius)"}}),e("div",{className:Ne.FILTER_SHADOW_CLASS,style:{boxShadow:"var(--atomix-glass-container-shadow)",opacity:"var(--atomix-glass-container-shadow-opacity)",background:"var(--atomix-glass-container-bg)",borderRadius:"var(--atomix-glass-container-radius)"}})]}),e("div",{ref:D,className:Ne.CONTENT_CLASS,style:{position:"relative",textShadow:"var(--atomix-glass-container-text-shadow)",...w>0?{zIndex:100}:{}},children:a})]})})}));Ze.displayName="AtomixGlassContainer";const{CONSTANTS:qe}=Ne;function Xe({glassRef:e,contentRef:t,cornerRadius:a,globalMousePosition:n,mouseOffset:s,mouseContainer:l,overLight:u=Ne.DEFAULTS.OVER_LIGHT,reducedMotion:h=!1,highContrast:m=!1,disableEffects:p=!1,elasticity:g=.05,onClick:S,debugCornerRadius:E=!1,debugOverLight:A=!1,enablePerformanceMonitoring:N=!1,children:v}){const[_,f]=i(!1),[b,T]=i(!1),[C,L]=i({width:270,height:69}),[I,y]=i({x:0,y:0}),[x,R]=i({x:0,y:0}),[O,M]=i(qe.DEFAULT_CORNER_RADIUS),[w,D]=i(!1),[B,P]=i(!1),[k,U]=i(!1),G=c((()=>{if(void 0!==a){return Math.max(0,a)}return Math.max(0,O)}),[a,O,E]),z=c((()=>h||w),[h,w]),F=c((()=>m||B),[m,B]),V=c((()=>p||z),[p,z]),H=c((()=>n||I),[n,I]),Y=c((()=>s||x),[s,x]);r((()=>{const e=()=>{try{let e=null,a="default";if(t.current){const n=t.current.firstElementChild;if(n){const t=(e=>{if(!e||"undefined"==typeof window)return null;try{const t=window.getComputedStyle(e),a=t.borderRadius||t.borderTopLeftRadius||t.borderTopRightRadius||t.borderBottomLeftRadius||t.borderBottomRightRadius;if(a&&"0px"!==a&&"auto"!==a){const e=Ye(a);return e>0?e:null}return null}catch(e){return null}})(n);null!==t&&t>0&&(e=t,a="DOM element")}}if(null===e){const t=We(v);t>0&&t!==qe.DEFAULT_CORNER_RADIUS&&(e=t,a="React children")}null!==e&&e>0&&M(e)}catch(e){}};e();const a=setTimeout(e,100);return()=>clearTimeout(a)}),[v,E,t]),r((()=>{if(("auto"===u||"object"==typeof u&&null!==u)&&e.current){const t=setTimeout((()=>{try{const t=e.current;if(!t)return void U(!1);if("undefined"==typeof window||"function"!=typeof window.getComputedStyle)return void U(!1);let a=0,n=0,i=!1,o=t.parentElement,r=0;const s=20,l=10;for(;o&&n<l&&r<s;){try{const e=window.getComputedStyle(o);if(!e){o=o.parentElement,r++;continue}const t=e.backgroundColor,s=e.backgroundImage;if(t&&"rgba(0, 0, 0, 0)"!==t&&"transparent"!==t&&"initial"!==t&&"none"!==t){const e=t.match(/\d+/g);if(e&&e.length>=3){const t=Number(e[0]),o=Number(e[1]),r=Number(e[2]);if(!isNaN(t)&&!isNaN(o)&&!isNaN(r)&&isFinite(t)&&isFinite(o)&&isFinite(r)&&t>=0&&t<=255&&o>=0&&o<=255&&r>=0&&r<=255&&(t>10||o>10||r>10)){const e=(.299*t+.587*o+.114*r)/255;!isNaN(e)&&isFinite(e)&&(a+=e,n++,i=!0)}}}s&&"none"!==s&&"initial"!==s&&(a+=.5,n++,i=!0)}catch(e){process.env.NODE_ENV}if(!o)break;o=o.parentElement,r++}if(i&&n>0){const e=a/n;if(!isNaN(e)&&isFinite(e)){let t=.7;if("object"==typeof u&&null!==u){const e=u;if(void 0!==e.threshold){const a="number"==typeof e.threshold&&!isNaN(e.threshold)&&isFinite(e.threshold)?e.threshold:.7;t=Math.min(.9,Math.max(.1,a))}}U(e>t)}else U(!1)}else U(!1)}catch(e){process.env.NODE_ENV,U(!1)}}),150);return()=>clearTimeout(t)}if("boolean"==typeof u&&U(!1),"function"==typeof window.matchMedia)try{const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=window.matchMedia("(prefers-contrast: high)");D(e.matches),P(t.matches);const a=e=>{D(e.matches)},n=e=>{P(e.matches)};return e.addEventListener?(e.addEventListener("change",a),t.addEventListener("change",n)):e.addListener&&(e.addListener(a),t.addListener(n)),()=>{try{e.removeEventListener?(e.removeEventListener("change",a),t.removeEventListener("change",n)):e.removeListener&&(e.removeListener(a),t.removeListener(n))}catch(e){}}}catch(e){return}}),[u,e,A]);const K=o(null),W=o(null),Q=d((t=>{W.current=t,null===K.current&&(K.current=requestAnimationFrame((()=>{const t=W.current;if(!t)return void(K.current=null);const a=l?.current||e.current;if(!a)return void(K.current=null);const n=N?performance.now():0,i=a.getBoundingClientRect();if(0===i.width||0===i.height)return void(K.current=null);const o=ze(i);if(R({x:(t.clientX-o.x)/i.width*100,y:(t.clientY-o.y)/i.height*100}),y({x:t.clientX,y:t.clientY}),N){performance.now()}K.current=null})))}),[l,e,N]);r((()=>{if(n&&s)return;if(V)return;const t=l?.current||e.current;return t?(t.addEventListener("mousemove",Q,{passive:!0}),()=>{t.removeEventListener("mousemove",Q),K.current&&(cancelAnimationFrame(K.current),K.current=null)}):void 0}),[Q,l,e,n,s,V]);const $=d((()=>{if(!(H.x&&H.y&&e.current&&He(C)))return"scale(1)";const t=e.current.getBoundingClientRect(),a=ze(t),n=H.x-a.x,i=H.y-a.y,o=Math.max(0,Math.abs(n)-C.width/2),r=Math.max(0,Math.abs(i)-C.height/2),s=Ge({x:o,y:r},{x:0,y:0});if(s>qe.ACTIVATION_ZONE)return"scale(1)";const l=1-s/qe.ACTIVATION_ZONE,c=Ge(H,a);if(0===c)return"scale(1)";const d=n/c,u=i/c,h=Math.min(c/300,1)*g*l,m=1+Math.abs(d)*h*.3-Math.abs(u)*h*.15,p=1+Math.abs(u)*h*.3-Math.abs(d)*h*.15;return`scaleX(${Math.max(.8,m)}) scaleY(${Math.max(.8,p)})`}),[H,g,C,e]),Z=d((()=>{if(!(H.x&&H.y&&e.current&&He(C)))return 0;const t=e.current.getBoundingClientRect(),a=ze(t),n=Math.max(0,Math.abs(H.x-a.x)-C.width/2),i=Math.max(0,Math.abs(H.y-a.y)-C.height/2),o=Ge({x:n,y:i},{x:0,y:0});return o>qe.ACTIVATION_ZONE?0:1-o/qe.ACTIVATION_ZONE}),[H,C,e]),q=d((()=>{if(!e.current)return{x:0,y:0};const t=Z(),a=e.current.getBoundingClientRect(),n=ze(a);return{x:(H.x-n.x)*g*.1*t,y:(H.y-n.y)*g*.1*t}}),[H,g,Z,e]),X=c((()=>V?{x:0,y:0}:q()),[q,V]),j=c((()=>V?"scale(1)":$()),[$,V]),J=c((()=>V?b&&Boolean(S)?"scale(0.98)":"scale(1)":`translate(${X.x}px, ${X.y}px) ${b&&Boolean(S)?"scale(0.96)":j}`),[X,b,S,j,V]);r((()=>{const t=e=>null!==e&&e instanceof HTMLElement&&e.isConnected;let a=null,n={width:0,height:0},i=G;const o=(o=!1)=>{null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame((()=>{if(!t(e.current))return void(a=null);const r=e.current.getBoundingClientRect();if(r.width<=0||r.height<=0)return void(a=null);const s=Math.max(0,Math.min(.1*G,10)),l={width:Math.round(r.width+s),height:Math.round(r.height+s)},c=i!==G,d=Math.abs(l.width-n.width)>1||Math.abs(l.height-n.height)>1;var u;(o||c||d)&&(He(u=l)&&u.width<=qe.MAX_SIZE&&u.height<=qe.MAX_SIZE)&&(n=l,i=G,L(l)),a=null}))};let r=null;const s=()=>{r&&clearTimeout(r),r=setTimeout((()=>o(!1)),16)},l=setTimeout((()=>o(!0)),0);let c=null,d=null;if("undefined"!=typeof ResizeObserver&&t(e.current))try{c=new ResizeObserver((t=>{for(const a of t)if(a.target===e.current){o(!1);break}})),c.observe(e.current)}catch{d=setInterval((()=>t(e.current)&&o(!1)),100)}else d=setInterval((()=>t(e.current)&&o(!1)),100);return window.addEventListener("resize",s,{passive:!0}),()=>{clearTimeout(l),null!==a&&cancelAnimationFrame(a),r&&clearTimeout(r),d&&clearInterval(d),window.removeEventListener("resize",s),c?.disconnect()}}),[G,e]);const ee=d((()=>"boolean"==typeof u?u:("auto"===u||"object"==typeof u&&null!==u)&&k),[u,k]),te=d(((e,t,a,n)=>"number"!=typeof e||isNaN(e)||!isFinite(e)?n:Math.min(a,Math.max(t,e))),[]),ae=c((()=>{const e=ee(),t=Fe(Y),a=_?1.4:1,n=b?1.6:1,i={isOverLight:e,threshold:.7,opacity:e?Math.min(.6,Math.max(.2,.5*a*n)):0,contrast:Math.min(1.8,Math.max(1,1.4+.3*t)),brightness:Math.min(1.2,Math.max(.7,.85+.15*t)),saturationBoost:Math.min(2,Math.max(1,1.3+.4*t)),shadowIntensity:Math.min(1.5,Math.max(.5,.9+.5*t)),borderOpacity:Math.min(1,Math.max(.3,.7+.3*t))};if("object"==typeof u&&null!==u){const e=u,o=te(e.threshold,.1,1,i.threshold),r=te(e.opacity,.1,1,i.opacity),s=te(e.contrast,.5,2.5,i.contrast),l=te(e.brightness,.5,2,i.brightness),c=te(e.saturationBoost,.5,3,i.saturationBoost);return{...i,threshold:o,opacity:r*a*n,contrast:s+.3*t,brightness:l+.15*t,saturationBoost:c+.4*t}}return i}),[u,ee,Y,_,b,te,A]),ne=d((()=>f(!0)),[]),ie=d((()=>f(!1)),[]),oe=d((()=>T(!0)),[]),re=d((()=>T(!1)),[]),se=d((e=>{!S||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),S())}),[S]);return{isHovered:_,isActive:b,glassSize:C,dynamicCornerRadius:O,effectiveCornerRadius:G,effectiveReducedMotion:z,effectiveHighContrast:F,effectiveDisableEffects:V,detectedOverLight:k,globalMousePosition:H,mouseOffset:Y,overLightConfig:ae,elasticTranslation:X,directionalScale:j,transformStyle:J,handleMouseEnter:ne,handleMouseLeave:ie,handleMouseDown:oe,handleMouseUp:re,handleMouseMove:Q,handleKeyDown:se}}function je({children:n,displacementScale:i=Ne.DEFAULTS.DISPLACEMENT_SCALE,blurAmount:r=Ne.DEFAULTS.BLUR_AMOUNT,saturation:s=Ne.DEFAULTS.SATURATION,aberrationIntensity:l=Ne.DEFAULTS.ABERRATION_INTENSITY,elasticity:d=Ne.DEFAULTS.ELASTICITY,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p=null,className:g="",padding:S=Ne.DEFAULTS.PADDING,overLight:E=Ne.DEFAULTS.OVER_LIGHT,style:A={},mode:N=Ne.DEFAULTS.MODE,onClick:v,shaderVariant:_="liquidGlass","aria-label":f,"aria-describedby":b,role:T,tabIndex:C,reducedMotion:L=!1,highContrast:I=!1,disableEffects:y=!1,enableLiquidBlur:x=!1,enableBorderEffect:R=!0,enableOverLightLayers:O=Ne.DEFAULTS.ENABLE_OVER_LIGHT_LAYERS,enablePerformanceMonitoring:M=!1,debugCornerRadius:w=!1,debugOverLight:D=!1}){const B=o(null),P=o(null),{isHovered:k,isActive:U,glassSize:G,effectiveCornerRadius:z,effectiveReducedMotion:F,effectiveHighContrast:V,effectiveDisableEffects:H,overLightConfig:Y,globalMousePosition:K,mouseOffset:W,transformStyle:Q,handleMouseEnter:$,handleMouseLeave:Z,handleMouseDown:q,handleMouseUp:X,handleKeyDown:j}=Xe({glassRef:B,contentRef:P,cornerRadius:u,globalMousePosition:h,mouseOffset:m,mouseContainer:p,overLight:E,reducedMotion:L,highContrast:I,disableEffects:y,elasticity:d,onClick:v,debugCornerRadius:w,debugOverLight:D,enablePerformanceMonitoring:M,children:n}),J=Y.isOverLight,ee=O&&J,te=c((()=>F?"none":"var(--atomix-transition-duration, 0.2s) ease-out"),[F]),ae=c((()=>({...A,...0!==d&&!H&&{transform:Q,willChange:"transform"},...H&&{willChange:"auto"}})),[A,Q,H,d]),ne=c((()=>[Ne.BASE_CLASS,F&&`${Ne.BASE_CLASS}--reduced-motion`,V&&`${Ne.BASE_CLASS}--high-contrast`,H&&`${Ne.BASE_CLASS}--disabled-effects`,g].filter(Boolean).join(" ")),[F,V,H,g]),ie=ae.position,oe=ae.top,re=ae.left,se=c((()=>({position:ie||"absolute",top:oe||0,left:re||0})),[ie,oe,re]),le=ae.width,ce=ae.height,de=G.width,ue=G.height,he=c((()=>({width:"fixed"!==ie?"100%":le||Math.max(de,0),height:"fixed"!==ie?"100%":ce||Math.max(ue,0)})),[ie,le,ce,de,ue]),me=W.x,pe=W.y,ge=c((()=>{const e=me,t=pe,{GRADIENT:a}=Ne.CONSTANTS,n=a.BASE_ANGLE+e*a.ANGLE_MULTIPLIER,i=Math.max(a.BORDER_STOP_1.MIN,a.BORDER_STOP_1.BASE+t*a.BORDER_STOP_1.MULTIPLIER),o=Math.min(a.BORDER_STOP_2.MAX,a.BORDER_STOP_2.BASE+t*a.BORDER_STOP_2.MULTIPLIER),r=a.BORDER_OPACITY.BASE_1+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,s=a.BORDER_OPACITY.BASE_2+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,l=a.BORDER_OPACITY.BASE_3+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_LOW,c=a.BORDER_OPACITY.BASE_4+Math.abs(e)*a.BORDER_OPACITY.MULTIPLIER_HIGH,d=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_1,u=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_1,h=a.CENTER_POSITION+e/a.HOVER_POSITION.DIVISOR_2,m=a.CENTER_POSITION+t/a.HOVER_POSITION.DIVISOR_2,p=a.CENTER_POSITION+e*a.HOVER_POSITION.MULTIPLIER_3,g=a.CENTER_POSITION+t*a.HOVER_POSITION.MULTIPLIER_3,S=a.CENTER_POSITION+e*a.BASE_LAYER_MULTIPLIER,E=a.CENTER_POSITION+t*a.BASE_LAYER_MULTIPLIER;return{isOverLight:J,mx:e,my:t,borderGradientAngle:n,borderStop1:i,borderStop2:o,borderOpacity1:r,borderOpacity2:s,borderOpacity3:l,borderOpacity4:c,hover1X:d,hover1Y:u,hover2X:h,hover2Y:m,hover3X:p,hover3Y:g,baseX:S,baseY:E}}),[me,pe,J]),Se=Y.opacity,Ee=c((()=>{let e=.5,t=.4,a=.8,n=0;if("undefined"!=typeof window&&B.current)try{const i=window.getComputedStyle(B.current),o=i.getPropertyValue("--atomix-opacity-50").trim(),r=i.getPropertyValue("--atomix-opacity-40").trim(),s=i.getPropertyValue("--atomix-opacity-80").trim(),l=i.getPropertyValue("--atomix-opacity-0").trim();o&&(e=parseFloat(o)||.5),r&&(t=parseFloat(r)||.4),s&&(a=parseFloat(s)||.8),l&&(n=parseFloat(l)||0)}catch(e){}return{hover1:k||U?e:n,hover2:U?e:n,hover3:k?t:U?a:n,base:J?Se||t:n,over:J?1.1*(Se||t):n}}),[k,U,J,Se,B]),Ae=ge.isOverLight,ve=ge.mx,_e=ge.my,fe=ge.borderGradientAngle,be=ge.borderStop1,Te=ge.borderStop2,Ce=ge.borderOpacity1,Le=ge.borderOpacity2,Ie=ge.borderOpacity3,ye=ge.borderOpacity4,xe=ge.hover1X,Re=ge.hover1Y,Oe=ge.hover2X,Me=ge.hover2Y,we=ge.hover3X,De=ge.hover3Y,Be=ge.baseX,Pe=ge.baseY,ke=se.position,Ue=se.top,Ge=se.left,ze=he.width,Fe=he.height,Ve=ae.transform,He=Ee.hover1,Ye=Ee.hover2,Ke=Ee.hover3,We=Ee.base,Qe=Ee.over,$e=c((()=>{const e="255, 255, 255",t="0, 0, 0";return{"--atomix-glass-radius":`${z}px`,"--atomix-glass-transform":Ve||"none","--atomix-glass-transition":F?"none":te,"--atomix-glass-position":ke,"--atomix-glass-top":"fixed"!==Ue?`${Ue}px`:"0","--atomix-glass-left":"fixed"!==Ge?`${Ge}px`:"0","--atomix-glass-width":"fixed"!==ie?ze:`${ze}px`,"--atomix-glass-height":"fixed"!==ie?Fe:`${Fe}px`,"--atomix-glass-border-width":"var(--atomix-spacing-0-5, 0.09375rem)","--atomix-glass-blend-mode":Ae?"multiply":"overlay","--atomix-glass-border-gradient-1":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${Ce}) ${be}%, rgba(${e}, ${Le}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-border-gradient-2":`linear-gradient(${fe}deg, rgba(${e}, 0) 0%, rgba(${e}, ${Ie}) ${be}%, rgba(${e}, ${ye}) ${Te}%, rgba(${e}, 0) 100%)`,"--atomix-glass-hover-1-opacity":He,"--atomix-glass-hover-1-gradient":Ae?`radial-gradient(circle at ${xe}% ${Re}%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_START}) 0%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_MID}) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_STOP}%, rgba(${t}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.BLACK_END}%)`:`radial-gradient(circle at ${xe}% ${Re}%, rgba(${e}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_START}) 0%, rgba(${e}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_1.WHITE_STOP}%)`,"--atomix-glass-hover-2-opacity":Ye,"--atomix-glass-hover-2-gradient":Ae?`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_START}) 0%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_MID}) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_STOP}%, rgba(${t}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.BLACK_END}%)`:`radial-gradient(circle at ${Oe}% ${Me}%, rgba(${e}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_START}) 0%, rgba(${e}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_2.WHITE_STOP}%)`,"--atomix-glass-hover-3-opacity":Ke,"--atomix-glass-hover-3-gradient":Ae?`radial-gradient(circle at ${we}% ${De}%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_START}) 0%, rgba(${t}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_MID}) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_STOP}%, rgba(${t}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.BLACK_END}%)`:`radial-gradient(circle at ${we}% ${De}%, rgba(${e}, ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_START}) 0%, rgba(${e}, 0) ${Ne.CONSTANTS.GRADIENT_OPACITY.HOVER_3.WHITE_STOP}%)`,"--atomix-glass-base-opacity":We,"--atomix-glass-base-gradient":Ae?`linear-gradient(${Ne.CONSTANTS.BASE_GRADIENT.ANGLE}deg, rgba(${t}, ${Ne.CONSTANTS.BASE_GRADIENT.BLACK_START_BASE+ve*Ne.CONSTANTS.BASE_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${Ne.CONSTANTS.BASE_GRADIENT.BLACK_MID_BASE+_e*Ne.CONSTANTS.BASE_GRADIENT.BLACK_MID_MULTIPLIER}) ${Ne.CONSTANTS.BASE_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${Ne.CONSTANTS.BASE_GRADIENT.BLACK_END_BASE+Math.abs(ve)*Ne.CONSTANTS.BASE_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${Ne.CONSTANTS.BASE_GRADIENT.WHITE_OPACITY})`,"--atomix-glass-overlay-opacity":Qe,"--atomix-glass-overlay-gradient":Ae?`radial-gradient(circle at ${Be}% ${Pe}%, rgba(${t}, ${Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_BASE+Math.abs(ve)*Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_START_MULTIPLIER}) 0%, rgba(${t}, ${Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID}) ${Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_MID_STOP}%, rgba(${t}, ${Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_BASE+Math.abs(_e)*Ne.CONSTANTS.OVERLAY_GRADIENT.BLACK_END_MULTIPLIER}) 100%)`:`rgba(${e}, ${Ne.CONSTANTS.OVERLAY_GRADIENT.WHITE_OPACITY})`}}),[ke,Ue,Ge,ze,Fe,Ve,ie,z,F,te,Ae,ve,_e,fe,be,Te,Ce,Le,Ie,ye,xe,Re,Oe,Me,we,De,Be,Pe,He,Ye,Ke,We,Qe]);return t("div",{className:ne,style:$e,role:T||(v?"button":void 0),tabIndex:v?C??0:C,"aria-label":f,"aria-describedby":b,"aria-disabled":!(!v||!H)||!v&&void 0,"aria-pressed":!(!v||!U)||!v&&void 0,onKeyDown:v?j:void 0,children:[e(Ze,{ref:B,contentRef:P,className:g,style:ae,cornerRadius:z,displacementScale:H?0:"shader"===N?i*Ne.CONSTANTS.MULTIPLIERS.SHADER_DISPLACEMENT:Y.isOverLight?i*Ne.CONSTANTS.MULTIPLIERS.OVER_LIGHT_DISPLACEMENT:i,blurAmount:H?0:r,saturation:V?Ne.CONSTANTS.SATURATION.HIGH_CONTRAST:Y.isOverLight?s*Y.saturationBoost:s,aberrationIntensity:H?0:"shader"===N?l*Ne.CONSTANTS.MULTIPLIERS.SHADER_ABERRATION:l,glassSize:G,padding:S,mouseOffset:H?{x:0,y:0}:W,globalMousePosition:H?{x:0,y:0}:K,onMouseEnter:$,onMouseLeave:Z,onMouseDown:q,onMouseUp:X,active:U,isHovered:k,isActive:U,overLight:Y.isOverLight,onClick:v,mode:N,transform:ae.transform,effectiveDisableEffects:H,effectiveReducedMotion:F,shaderVariant:_,elasticity:d,enableLiquidBlur:x,children:n}),Boolean(v)&&t(a,{children:[e("div",{className:Ne.HOVER_1_CLASS}),e("div",{className:Ne.HOVER_2_CLASS}),e("div",{className:Ne.HOVER_3_CLASS})]}),e("div",{className:[Ne.BACKGROUND_LAYER_CLASS,Ne.BACKGROUND_LAYER_DARK_CLASS,J?Ne.BACKGROUND_LAYER_OVER_LIGHT_CLASS:Ne.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform,transition:ae.transition}}),e("div",{className:[Ne.BACKGROUND_LAYER_CLASS,Ne.BACKGROUND_LAYER_BLACK_CLASS,J?Ne.BACKGROUND_LAYER_OVER_LIGHT_CLASS:Ne.BACKGROUND_LAYER_HIDDEN_CLASS].filter(Boolean).join(" "),style:{...se,height:he.height,width:he.width,borderRadius:`${z}px`,transform:ae.transform,transition:ae.transition}}),ee&&t(a,{children:[e("div",{className:Ne.BASE_LAYER_CLASS}),e("div",{className:Ne.OVERLAY_LAYER_CLASS}),e("div",{className:Ne.OVERLAY_HIGHLIGHT_CLASS,style:{opacity:Ee.over*Ne.CONSTANTS.OVERLAY_HIGHLIGHT.OPACITY_MULTIPLIER,background:`radial-gradient(circle at ${Ne.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_X}% ${Ne.CONSTANTS.OVERLAY_HIGHLIGHT.POSITION_Y}%, rgba(255, 255, 255, ${Ne.CONSTANTS.OVERLAY_HIGHLIGHT.WHITE_OPACITY}) 0%, transparent ${Ne.CONSTANTS.OVERLAY_HIGHLIGHT.STOP}%)`}})]}),R&&t(a,{children:[e("span",{className:Ne.BORDER_1_CLASS}),e("span",{className:Ne.BORDER_2_CLASS})]})]})}const Je=({title:a,children:n,defaultOpen:i=!1,isOpen:o,onOpenChange:r,disabled:s=!1,iconPosition:c="right",icon:d,className:u="",style:h,glass:m})=>{const p=l(),g=`accordion-header-${p}`,S=`accordion-panel-${p}`,{state:E,toggle:A,updatePanelHeight:N,panelRef:v,contentRef:_,generateClassNames:f,generateHeaderClassNames:b}=ve({defaultOpen:i,disabled:s,iconPosition:c,isOpen:o,onOpenChange:r}),T=e("i",{className:"c-accordion__icon","aria-hidden":"true",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:e("polyline",{points:"6 9 12 15 18 9"})})}),C=t("div",{className:f(u)+(m?" c-accordion--glass":""),style:h,children:[t("button",{id:g,className:b(),onClick:A,"aria-expanded":E.isOpen,"aria-controls":S,"aria-disabled":s,disabled:s,type:"button",children:[e("span",{className:"c-accordion__title",children:a}),d||T]}),e("div",{id:S,className:M.SELECTORS.PANEL.replace(".",""),ref:v,role:"region","aria-labelledby":g,children:e("div",{className:M.SELECTORS.BODY.replace(".",""),ref:_,children:n})})]});if(m){const t={displacementScale:20,elasticity:0},a=!0===m?t:{...t,...m};return e(je,{...a,children:C})}return C};Je.displayName="Accordion";const et=({height:a=24,width:n=24,color:i="currentColor",...o})=>t("svg",{width:n,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:i}),e("path",{d:"M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z",fill:i})]}),tt={xs:16,sm:20,md:24,lg:32,xl:40},at=({name:t,size:a="md",weight:n="regular",color:i,className:o="",style:r,alt:s})=>{const l=A[t];if(!l)return null;return e("span",{className:`c-icon c-icon--${a} ${o}`,style:r,"aria-hidden":!s,title:s,children:e(l,{size:"string"==typeof a?tt[a]||24:a,weight:n,color:i,"aria-label":s})})};at.displayName="Icon";const nt=({src:t,alt:a="Avatar",initials:n,icon:o,size:r="md",circle:s=!1,className:l="",disabled:c=!1,onClick:d,style:u,glass:h})=>{const[m,p]=i(!1),g=[se.CLASSES.BASE,"md"!==r&&`c-avatar--${r}`,s&&se.CLASSES.CIRCLE,c&&"is-disabled",l].filter(Boolean).join(" ");return e("div",{className:g,onClick:d?e=>{!c&&d&&d(e)}:void 0,role:d?"button":void 0,tabIndex:d&&!c?0:void 0,"aria-disabled":c||void 0,style:u,children:t&&!m?e("img",{src:t,alt:a,className:"c-avatar__image",onError:()=>{p(!0)}}):e("span",n?{className:"c-avatar__initials",children:n}:o?{className:"c-avatar__icon",children:o}:{className:"c-avatar__icon",children:e(at,{name:"User",size:"xs"===r?"xs":"sm"===r?"sm":"md"})})})};nt.displayName="Avatar";const it=({children:a,max:n,stacked:i=!1,className:o="",style:r,moreText:s})=>{const l=[le.CLASSES.BASE,i&&le.CLASSES.STACKED,o].filter(Boolean).join(" "),c=u.toArray(a).filter((e=>h(e)&&e.type===nt)),d=void 0!==n&&c.length>n,p=d?c.slice(0,n):c,g=c.length-(n||0),S=h(c[0])?c[0].props:null,E=S?.size||"md",A=S?.circle||!1,N=[se.CLASSES.BASE,le.CLASSES.MORE,"md"!==E&&`c-avatar--${E}`,A&&"c-avatar--circle"].filter(Boolean).join(" ");return t("div",{className:l,style:r,children:[p.map(((e,t)=>h(e)?m(e,{key:t,...e.props}):null)),d&&e("div",{className:N,children:s||`+${g}`})]})};function ot(e){const t={variant:"primary",size:"md",disabled:!1,...e};return{defaultProps:t,generateBadgeClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,className:o=""}=e;return`${w.BASE_CLASS} ${a?`${w.VARIANT_PREFIX}${a}`:""} ${"md"===n?"":`${w.SIZE_PREFIX}${n}`} ${i?"c-badge--disabled":""} ${o}`.trim()}}}it.displayName="AvatarGroup";const rt=({label:a,variant:n="primary",size:i="md",disabled:r=!1,icon:s,className:l="",glass:c,style:d})=>{const{generateBadgeClass:u}=ot({variant:n,size:i,disabled:r}),h=o(null),m=u({variant:n,size:i,disabled:r,className:`${l} ${c?"c-badge--glass":""}`.trim()}),p=t("span",{className:m,"aria-disabled":r,ref:h,style:d,children:[s&&e("span",{className:w.ICON_CLASS,children:s}),e("span",{children:a})]});if(c){const t={displacementScale:20,cornerRadius:h.current?.getBoundingClientRect().width?h.current?.getBoundingClientRect().width/2:16,className:"c-badge--glass",elasticity:0},a=!0===c?t:{...t,...c};return e(je,{...a,children:p})}return p};rt.displayName="Badge";const st=s((({children:t,className:a="",type:n,...i},o)=>{let r="o-container";return n&&(r=`o-container-${n}`),e("div",{ref:o,className:`${r} ${a}`.trim(),...i,children:t})}));st.displayName="Container";const lt=()=>({generateBlockClass:({spacing:e=Ee.SPACING.DEFAULT,background:t="",fullWidth:a=!1,className:n=""})=>{const i=[Ee.BASE_CLASS];if(e&&"none"!==e&&i.push(`${Ee.SPACING_PREFIX}${e}`),t){const e=Ee.CLASSES[`BG_${t.toUpperCase()}`];e&&i.push(e)}return a&&i.push(Ee.CLASSES.FULL_WIDTH),n&&i.push(n),i.filter(Boolean).join(" ")}}),ct=s((({children:t,as:a="section",spacing:n="md",container:i={},fullWidth:o=!1,className:r="",style:s,background:l="",...c},d)=>{const{generateBlockClass:u}=lt(),h=u({spacing:n,background:l,fullWidth:o,className:r});return e(a,{ref:d,className:h,style:s,...c,children:o?t:e(st,{type:i.type,className:i.className,children:t})})}));ct.displayName="Block";const dt=({items:n,divider:i,className:o="",ariaLabel:r="Breadcrumb",LinkComponent:s,style:l})=>{const c=[B.CLASSES.BASE,o].filter(Boolean).join(" ");return e("nav",{"aria-label":r,style:l,children:e("ol",{className:c,children:n.map(((i,o)=>{const r=o===n.length-1,l=[B.CLASSES.ITEM,i.active||r?B.CLASSES.ACTIVE:""].filter(Boolean).join(" "),c=t(a,{children:[i.icon&&e("span",{className:"c-breadcrumb__icon",children:i.icon}),i.label]}),d={href:i.href,className:B.CLASSES.LINK,onClick:i.onClick,style:i.style};return e("li",{className:l,style:i.style,children:i.href&&!i.active?e(s||"a",{...d,children:c}):e("span",{className:B.CLASSES.LINK,children:c})},o)}))})})};function ut(e){const t={variant:"primary",size:"md",disabled:!1,rounded:!1,...e};return{defaultProps:t,generateButtonClass:e=>{const{variant:a=t.variant,size:n=t.size,disabled:i=t.disabled,rounded:o=t.rounded,iconOnly:r=!1,glass:s=t.glass,className:l=""}=e;return`c-btn c-btn--${a} ${"md"===n?"":`c-btn--${n}`} ${r?"c-btn--icon":""} ${o?"c-btn--rounded":""} ${i?"c-btn--disabled":""} ${s?"c-btn--glass":""} ${l}`.trim()},handleClick:e=>()=>{!t.disabled&&e&&e()}}}dt.displayName="Breadcrumb";const ht=s((({label:n,children:i,onClick:o,variant:r="primary",size:s="md",disabled:l=!1,icon:c,iconOnly:d=!1,rounded:u=!1,className:h="",as:m="button",glass:p,style:g,...S},E)=>{const{generateButtonClass:A,handleClick:N}=ut({variant:r,size:s,disabled:l,rounded:u,glass:p}),v={},_={ref:E,className:A({variant:r,size:s,disabled:l,rounded:u,iconOnly:d,glass:p,className:h}),onClick:N(o),disabled:l,"aria-disabled":l,style:p?{...v,...g}:g,...S},f=t(a,{children:[c&&e("span",{className:"c-btn__icon",children:c}),!d&&e("span",{className:"c-btn__label",children:n||i})]});if(p){const t={displacementScale:20,blurAmount:0,saturation:200,elasticity:0},a=!0===p?t:{...t,...p};return e(je,{...a,children:e(m,{..._,children:f})})}return e(m,{..._,children:f})}));ht.displayName="Button";const mt=({title:n,children:i,icon:o,variant:r="primary",onClose:s,actions:l,oneLine:c=!1,toast:d=!1,glass:u,className:h,style:m,...p})=>{const{generateCalloutClass:g,handleClose:S}=function(e){const t={variant:"primary",oneLine:!1,toast:!1,glass:!1,...e};return{defaultProps:t,generateCalloutClass:e=>{const{variant:a=t.variant,oneLine:n=t.oneLine,toast:i=t.toast,glass:o=t.glass,className:r=""}=e;return`c-callout ${a?`c-callout--${a}`:""} ${n?"c-callout--oneline":""} ${i?"c-callout--toast":""} ${o?"c-callout--glass":""} ${r}`.trim()},handleClose:e=>()=>{e&&e()}}}({variant:r,oneLine:c,toast:d,glass:u,className:h,style:m}),E=()=>{const e={role:"region"};return d?(e.role="alert",e["aria-live"]="polite"):["warning","error"].includes(r)?(e.role="alert",e["aria-live"]="assertive"):["info","success"].includes(r)&&(e.role="status",e["aria-live"]="polite"),e},A=t(a,{children:[t("div",{className:"c-callout__content",children:[o&&e("div",{className:"c-callout__icon",children:o}),t("div",{className:"c-callout__message",children:[n&&e("div",{className:"c-callout__title",children:n}),i&&e("div",{className:"c-callout__text",children:i})]})]}),l&&e("div",{className:"c-callout__actions",children:l}),s&&e("button",{className:"c-callout__close-btn",onClick:S(s),"aria-label":"Close",children:e(at,{name:"X",size:"md"})})]});if(u){const t={displacementScale:30,cornerRadius:8,elasticity:0},a=!0===u?t:{...t,...u};return e("div",{className:g({variant:r,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:e(je,{...a,children:e("div",{className:"c-callout__glass-content",style:{borderRadius:a.cornerRadius},children:A})})})}return e("div",{className:g({variant:r,oneLine:c,toast:d,glass:u,className:h}),...E(),...p,style:m,children:A})};mt.displayName="Callout";const pt=s((({header:n,image:i,imageAlt:o="",title:r,text:s,actions:l,icon:c,footer:d,row:u=!1,flat:h=!1,active:m=!1,className:p="",children:g,onClick:S,style:E,glass:A,...N},v)=>{const _=[ie.CLASSES.BASE,u?ie.CLASSES.ROW:"",h?ie.CLASSES.FLAT:"",m?ie.CLASSES.ACTIVE:"",p].filter(Boolean).join(" "),f=t(a,{children:[(i||c||n)&&t("div",{className:ie.SELECTORS.HEADER.substring(1),children:[n,i&&e("img",{src:i,alt:o,className:ie.SELECTORS.IMAGE.substring(1)}),c&&e("div",{className:ie.SELECTORS.ICON.substring(1),children:c})]}),t("div",{className:ie.SELECTORS.BODY.substring(1),children:[r&&e("h3",{className:ie.SELECTORS.TITLE.substring(1),children:r}),s&&e("p",{className:ie.SELECTORS.TEXT.substring(1),children:s}),g]}),l&&e("div",{className:ie.SELECTORS.ACTIONS.substring(1),children:l}),d&&e("div",{className:ie.SELECTORS.FOOTER.substring(1),children:d})]});if(A){return t(je,{...!0===A?{}:A,elasticity:0,children:[" ",e("div",{ref:v,className:_+" c-card--glass",onClick:S,...N,style:{...E},children:f})]})}return e("div",{ref:v,className:_,onClick:S,...N,style:{...E},children:f})}));function gt(e){const[t,a]=i({hoveredPoint:null,selectedPoints:[],zoomLevel:1,panOffset:{x:0,y:0},panEnabled:!1,isAnimating:!1,isDragging:!1,dragStart:null,crosshair:null,brushSelection:null,focusedPointIndex:0,touchState:{touches:[],lastDistance:0,isPinching:!1,isTouch:!1,lastTouchTime:0},penState:{isPen:!1,pressure:0,tiltX:0,tiltY:0}}),n=o(null);r((()=>()=>{n.current&&cancelAnimationFrame(n.current)}),[]);const s=d(((e,t,n,i,o,r)=>{a((a=>({...a,hoveredPoint:{datasetIndex:e,pointIndex:t,x:n,y:i,clientX:o,clientY:r}})))}),[]),l=d((()=>{a((e=>({...e,hoveredPoint:null})))}),[]),c=d(((e,t)=>{a((a=>{const n=a.selectedPoints.some((a=>a.datasetIndex===e&&a.pointIndex===t));return{...a,selectedPoints:n?a.selectedPoints.filter((a=>!(a.datasetIndex===e&&a.pointIndex===t))):[...a.selectedPoints,{datasetIndex:e,pointIndex:t}]}}))}),[]),u=d(((e,t,n)=>{a((a=>{const i=1-.001*e,o=Math.max(.1,Math.min(10,a.zoomLevel*i)),r=o/a.zoomLevel,s={x:t?t-(t-a.panOffset.x)*r:a.panOffset.x,y:n?n-(n-a.panOffset.y)*r:a.panOffset.y};return{...a,zoomLevel:o,panOffset:s}}))}),[]),h=d(((e,t)=>{a((a=>({...a,panOffset:{x:a.panOffset.x+e,y:a.panOffset.y+t}})))}),[]),m=d(((e,t)=>{a((a=>({...a,isDragging:!0,dragStart:{x:e,y:t}})))}),[]),p=d((()=>{a((e=>({...e,isDragging:!1,dragStart:null})))}),[]),g=d(((e,t)=>{a((a=>({...a,crosshair:{x:e,y:t}})))}),[]),S=d((()=>{a((e=>({...e,crosshair:null})))}),[]),E=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n={...a,touchState:{...a.touchState,touches:t,isTouch:!0,lastTouchTime:Date.now()}};if(1===t.length&&t[0]&&a.panEnabled){const a=e.target.getBoundingClientRect(),i=t[0].x-a.left,o=t[0].y-a.top;return{...n,isDragging:!0,dragStart:{x:i,y:o}}}if(2===t.length&&t[0]&&t[1]){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...n,touchState:{...n.touchState,lastDistance:e,isPinching:!0},isDragging:!1}}return n}))}),[]),A=d((e=>{e.preventDefault();const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{const n=e.target.getBoundingClientRect();if(1===t.length&&t[0]&&a.isDragging&&a.dragStart&&a.panEnabled){const e=t[0].x-n.left,i=t[0].y-n.top,o=a.touchState.touches[0];let r,s;if(o){r=e-(o.x-n.left),s=i-(o.y-n.top)}else r=e-a.dragStart.x,s=i-a.dragStart.y;const l=.6,c=r*l,d=s*l;return Math.abs(c)>1||Math.abs(d)>1?{...a,panOffset:{x:a.panOffset.x+c,y:a.panOffset.y+d},touchState:{...a.touchState,touches:t}}:{...a,touchState:{...a.touchState,touches:t}}}if(2===t.length&&t[0]&&t[1]&&a.touchState.isPinching){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));if(a.touchState.lastDistance>0){const i=e/a.touchState.lastDistance,o=Math.max(.1,Math.min(10,a.zoomLevel*i)),r=(t[0].x+t[1].x)/2-n.left,s=(t[0].y+t[1].y)/2-n.top,l=o/a.zoomLevel,c={x:r-(r-a.panOffset.x)*l,y:s-(s-a.panOffset.y)*l};return{...a,zoomLevel:o,panOffset:c,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t,lastDistance:e}}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),N=d((e=>{const t=Array.from(e.touches).map((e=>({id:e.identifier,x:e.clientX,y:e.clientY})));a((a=>{if(0===t.length)return{...a,isDragging:!1,dragStart:null,touchState:{...a.touchState,touches:[],isPinching:!1,lastDistance:0,isTouch:!1}};if(1===t.length&&a.panEnabled){const n=e.target.getBoundingClientRect(),i=t[0].x-n.left,o=t[0].y-n.top;return{...a,dragStart:{x:i,y:o},touchState:{...a.touchState,touches:t,isPinching:!1,lastDistance:0}}}if(2===t.length){const e=Math.sqrt(Math.pow(t[1].x-t[0].x,2)+Math.pow(t[1].y-t[0].y,2));return{...a,touchState:{...a.touchState,touches:t,lastDistance:e,isPinching:!0},isDragging:!1}}return{...a,touchState:{...a.touchState,touches:t}}}))}),[]),v=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,isPen:!0,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),_=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),f=d((e=>{"pen"===e.pointerType&&a((e=>({...e,penState:{...e.penState,isPen:!1,pressure:0,tiltX:0,tiltY:0}})))}),[]),b=d(((e,t=Se.DEFAULT_WIDTH,a=Se.DEFAULT_HEIGHT,n={top:20,right:20,bottom:30,left:40},i)=>{if(!e||0===e.length)return null;const o=e.flatMap((e=>e.data));if(0===o.length)return null;const r=Math.min(...o.map((e=>e.value))),s=Math.max(...o.map((e=>e.value))),l=s-r||1,c=t-n.left-n.right,d=a-n.top-n.bottom;return{xScale:(e,t=o.length)=>t<=1?n.left+c/2:n.left+e/(t-1)*c,yScale:e=>n.top+d-(e-r)/l*d,minValue:r,maxValue:s,valueRange:l,innerWidth:c,innerHeight:d,width:t,height:a,padding:n}}),[]),T=d((e=>{if(e<=0)return[];const t=[];for(let a=0;a<e;a++){const e=a%Se.DEFAULT_COLORS.length;t.push(Se.DEFAULT_COLORS[e])}return t}),[]),C=o(null);return{interactionState:t,setInteractionState:a,handlePointHover:s,handlePointLeave:l,handlePointClick:c,handleZoom:u,handlePan:h,handleDragStart:m,handleDragEnd:p,handleCrosshair:g,clearCrosshair:S,handleTouchStart:E,handleTouchMove:A,handleTouchEnd:N,handlePointerDown:v,handlePointerMove:_,handlePointerUp:f,calculateScales:b,getChartColors:T,svgRef:C}}pt.displayName="Card";const St=p(s((({chartType:a="line",groups:n=[],enableDefaults:s=!0,defaults:l={refresh:!0,export:!0,fullscreen:!0,settings:!0,zoom:!0,pan:!0,reset:!0},exportFormats:c=["png","svg","csv"],size:u="md",position:h="top",onRefresh:m,onExport:p,onFullscreen:g,onSettings:S,onZoomIn:E,onZoomOut:A,onZoomReset:N,onPanToggle:v,onReset:_,onGridToggle:f,onLegendToggle:b,onTooltipsToggle:T,onAnimationsToggle:C,state:L={},className:I="",...y},x)=>{const[R,O]=i(!1),[M,w]=i(!1),D=o(null),B=o(null),P=o(null),k=o(null),U=n&&n.length>0?{refresh:l.refresh??!0,export:l.export??!0,fullscreen:l.fullscreen??!0,settings:l.settings??!0,zoom:n.some((e=>e.actions.some((e=>"zoom-in"===e.id||"zoom-out"===e.id)))),pan:n.some((e=>e.actions.some((e=>"pan"===e.id)))),reset:n.some((e=>e.actions.some((e=>"reset"===e.id)))),grid:l.grid??!0,legend:l.legend??!0,tooltips:l.tooltips??!0,animations:l.animations??!0}:l;r((()=>{const e=e=>{D.current&&!D.current.contains(e.target)&&P.current&&!P.current.contains(e.target)&&O(!1),B.current&&!B.current.contains(e.target)&&k.current&&!k.current.contains(e.target)&&w(!1)};if(R||M)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[R,M]),r((()=>{const e=e=>{e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLElement&&e.target.isContentEditable||((e.ctrlKey||e.metaKey)&&"r"===e.key&&U.refresh&&m&&(e.preventDefault(),m()),(e.ctrlKey||e.metaKey)&&"e"===e.key&&U.export&&p&&(e.preventDefault(),O(!R)),"F11"===e.key&&U.fullscreen&&g&&(e.preventDefault(),g(!L.isFullscreen))," "===e.key&&U.pan&&v&&(e.preventDefault(),v(!L.panEnabled)),"r"!==e.key&&"R"!==e.key||e.ctrlKey||e.metaKey||!U.reset||(e.preventDefault(),N?.(),_?.()),"+"!==e.key&&"="!==e.key||U.zoom&&E&&(e.preventDefault(),E()),"-"!==e.key&&"_"!==e.key||U.zoom&&A&&(e.preventDefault(),A()),"Escape"===e.key&&(O(!1),w(!1)))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[U,m,p,g,v,N,_,E,A,L,R]);const G=d((()=>{const e=[];return U.refresh&&m&&e.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:m,disabled:L.isRefreshing,tooltip:"Refresh chart data (Ctrl+R)",shortcut:"Ctrl+R"}),U.export&&p&&e.push({id:"export",label:"Export",icon:"Download",onClick:()=>O(!R),disabled:L.isExporting,variant:"primary",tooltip:"Export chart (Ctrl+E)",shortcut:"Ctrl+E"}),[{id:"data-actions",label:"Data",actions:e,separator:!0}]}),[U,m,p,L,R]),z=d((()=>{const e=[];return U.zoom&&(E||A)&&e.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:()=>E?.(),tooltip:"Zoom in (+)",shortcut:"+"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:()=>A?.(),tooltip:"Zoom out (-)",shortcut:"-"}),U.pan&&v&&e.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>v?.(!L.panEnabled),active:L.panEnabled,tooltip:"Toggle pan mode (Space)",shortcut:"Space"}),U.reset&&(N||_)&&e.push({id:"reset",label:"Reset View",icon:"ArrowCounterClockwise",onClick:()=>{N?.(),_?.()},tooltip:"Reset view (R)",shortcut:"R"}),U.fullscreen&&g&&e.push({id:"fullscreen",label:L.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:L.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>g?.(!L.isFullscreen),variant:"success",tooltip:(L.isFullscreen?"Exit":"Enter")+" fullscreen (F11)",shortcut:"F11"}),e.length>0?[{id:"view-actions",label:"View",actions:e,separator:!0}]:[]}),[U,E,A,v,N,_,g,L]),F=d((()=>{const e=[];return U.grid&&f&&e.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>f(!L.showGrid),active:L.showGrid,tooltip:"Toggle grid lines"}),U.legend&&b&&e.push({id:"legend",label:"Legend",icon:"List",onClick:()=>b(!L.showLegend),active:L.showLegend,tooltip:"Toggle legend"}),U.tooltips&&T&&e.push({id:"tooltips",label:"Tooltips",icon:"CursorText",onClick:()=>T(!L.showTooltips),active:L.showTooltips,tooltip:"Toggle tooltips"}),U.animations&&C&&e.push({id:"animations",label:"Animations",icon:"Sparkle",onClick:()=>C(!L.animationsEnabled),active:L.animationsEnabled,tooltip:"Toggle animations"}),e.length>0?[{id:"display-actions",label:"Display",actions:e,separator:!0}]:[]}),[U,f,b,T,C,L]),V=d((()=>{const e=[];return U.settings&&S&&e.push({id:"settings",label:"Settings",icon:"Gear",onClick:()=>w(!M),active:M,tooltip:"Chart settings"}),e.length>0?[{id:"tool-actions",label:"Tools",actions:e}]:[]}),[U,S,M]),H=n&&n.length>0?n:s?[...G(),...z(),...F(),...V()]:[],Y=a=>{const n="export"===a.id?P:"settings"===a.id?k:null;return t("button",{ref:n,className:`${Se.ACTION_CLASS} ${a.variant?`${Se.ACTION_CLASS}--${a.variant}`:""} ${a.active?"is-active":""}`,onClick:()=>{if(a.onClick)a.onClick();else if("export"===a.id&&p)O(!R);else if("settings"===a.id&&S)w(!M);else switch(a.id){case"zoom-in":E?.();break;case"zoom-out":A?.();break;case"pan":v?.(!L.panEnabled);break;case"reset":N?.(),_?.();break;case"fullscreen":g?.(!L.isFullscreen);break;case"refresh":m?.()}},disabled:a.disabled,title:a.tooltip,type:"button","aria-label":a.label,"aria-pressed":a.active?"true":"false","aria-expanded":"export"===a.id?R:"settings"===a.id?M:void 0,children:[e(at,{name:a.icon,size:"sm"}),"lg"===u&&e("span",{className:`${Se.ACTION_CLASS}-label`,children:a.label})]},a.id)},K=`${Se.TOOLBAR_CLASS} ${Se.TOOLBAR_CLASS}--${u} ${Se.TOOLBAR_CLASS}--${h} ${I}`.trim();return e("div",{ref:x,className:K,...y,children:H.map(((n,i)=>t("div",{className:`${Se.TOOLBAR_CLASS}-group`,children:[n.separator&&i>0&&e("div",{className:`${Se.TOOLBAR_CLASS}-separator`}),n.label&&"lg"===u&&e("span",{className:`${Se.TOOLBAR_CLASS}-group-label`,children:n.label}),t("div",{className:`${Se.TOOLBAR_CLASS}-actions`,children:[n.actions.map(Y),n.actions.some((e=>"export"===e.id))&&(R&&p?t("div",{ref:D,className:`${Se.EXPORT_DROPDOWN_CLASS}`,role:"menu","aria-label":"Export formats",children:[e("div",{className:`${Se.EXPORT_DROPDOWN_CLASS}-title`,children:"Export Formats"}),c.map((t=>e("button",{className:`${Se.EXPORT_OPTION_CLASS}`,onClick:()=>{p(t),O(!1)},disabled:L.isExporting,type:"button",role:"menuitem","aria-label":`Export as ${t.toUpperCase()}`,children:t.toUpperCase()},t)))]}):null),n.actions.some((e=>"settings"===e.id))&&(M?t("div",{ref:B,className:`${Se.SETTINGS_MENU_CLASS}`,role:"menu","aria-label":"Chart settings",children:[e("div",{className:`${Se.SETTINGS_MENU_CLASS}-title`,children:"Chart Settings"}),t("div",{className:`${Se.SETTINGS_MENU_CLASS}-content`,children:[U.grid&&f&&e("div",{className:`${Se.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Se.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showGrid??!1,onChange:e=>f(e.target.checked),"aria-label":"Toggle grid lines"}),e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Show Grid"})]})}),U.legend&&b&&e("div",{className:`${Se.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Se.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showLegend??!1,onChange:e=>b(e.target.checked),"aria-label":"Toggle legend"}),e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Show Legend"})]})}),U.tooltips&&T&&e("div",{className:`${Se.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Se.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.showTooltips??!1,onChange:e=>T(e.target.checked),"aria-label":"Toggle tooltips"}),e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Show Tooltips"})]})}),U.animations&&C&&e("div",{className:`${Se.SETTINGS_MENU_CLASS}-item`,children:t("label",{className:`${Se.SETTINGS_MENU_CLASS}-toggle`,children:[e("input",{type:"checkbox",checked:L.animationsEnabled??!1,onChange:e=>C(e.target.checked),"aria-label":"Toggle animations"}),e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Enable Animations"})]})}),void 0!==L.zoomLevel&&t("div",{className:`${Se.SETTINGS_MENU_CLASS}-item ${Se.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Zoom Level"}),t("span",{className:`${Se.SETTINGS_MENU_CLASS}-value`,children:[Math.round(100*(L.zoomLevel||1)),"%"]})]}),t("div",{className:`${Se.SETTINGS_MENU_CLASS}-item ${Se.SETTINGS_MENU_CLASS}-item--info`,children:[e("span",{className:`${Se.SETTINGS_MENU_CLASS}-label`,children:"Chart Type"}),e("span",{className:`${Se.SETTINGS_MENU_CLASS}-value`,children:a})]})]})]}):null)]})]},n.id)))})})));St.displayName="ChartToolbar";const Et=g(null),At=p(s((({children:a,type:n="line",size:s="md",variant:l="primary",title:u,subtitle:h,loading:m=!1,error:p,className:g="","aria-label":S,onFullscreen:E,onExport:A,onRefresh:N,showToolbar:v=!1,enableFullscreen:_=!1,enableExport:f=!1,enableRefresh:b=!1,exportFormats:T=["png","svg","csv"],datasets:C,config:L,toolbarConfig:I,customToolbarActions:y,customToolbarGroups:x,data:R,showLegend:O,interactive:M,fullscreen:w,onDataPointClick:D,onLegendItemClick:B,glass:P,...k},U)=>{const[G,z]=i(!1),[F,V]=i(!1),H=o(null),[Y,K]=i(1),[W,Q]=i({x:0,y:0}),[$,Z]=i(!1),q=d((e=>{z(e),E?.(e)}),[E]),X=d((()=>{K((e=>Math.min(1.2*e,5)))}),[]),j=d((()=>{K((e=>Math.max(e/1.2,.2)))}),[]),J=d((()=>{K(1),Q({x:0,y:0})}),[]),ee=d((e=>{Z(e)}),[]),te=d((()=>{K(1),Q({x:0,y:0}),Z(!1)}),[]),ae=c((()=>({onRefresh:N,onExport:A,onFullscreen:q,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te})),[N,A,q,X,j,J,ee,te]),{state:ne,handlers:ie,toolbarGroups:oe}=function(e,t={},a={}){const[n,o]=i({isFullscreen:!1,isExporting:!1,isRefreshing:!1,zoomLevel:1,panEnabled:!1,showGrid:!0,showLegend:!0,showTooltips:!0,animationsEnabled:!0}),{enableDefaults:s=!0,defaults:l={},exportFormats:u=["png","svg","csv"],customActions:h=[],customGroups:m=[]}=t,p=d((()=>{const t={refresh:!0,export:!0,fullscreen:!0,settings:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,zoom:!1,pan:!1,reset:!1};switch(e){case"interactive":case"advanced":case"line":case"area":case"bar":case"horizontal-bar":case"scatter":case"bubble":case"funnel":case"waterfall":case"candlestick":return{...t,zoom:!0,pan:!0,reset:!0};case"realtime":return{...t,refresh:!0,export:!1,animations:!1};case"pie":case"donut":case"gauge":return{...t,zoom:!1,pan:!1,grid:!1};default:return t}}),[e]),g=c((()=>({...p(),...l})),[p,l]),S={onRefresh:d((()=>{o((e=>({...e,isRefreshing:!0}))),a.onRefresh?.(),setTimeout((()=>{o((e=>({...e,isRefreshing:!1})))}),1e3)}),[a.onRefresh]),onExport:d((async e=>{o((e=>({...e,isExporting:!0})));try{await(a.onExport?.(e))}finally{o((e=>({...e,isExporting:!1})))}}),[a.onExport]),onFullscreen:d((e=>{o((t=>({...t,isFullscreen:e}))),a.onFullscreen?.(e)}),[a.onFullscreen]),onZoomIn:d((()=>{o((e=>({...e,zoomLevel:Math.min(1.2*e.zoomLevel,5)}))),a.onZoomIn?.()}),[a.onZoomIn]),onZoomOut:d((()=>{o((e=>({...e,zoomLevel:Math.max(e.zoomLevel/1.2,.2)}))),a.onZoomOut?.()}),[a.onZoomOut]),onZoomReset:d((()=>{o((e=>({...e,zoomLevel:1}))),a.onZoomReset?.()}),[a.onZoomReset]),onPanToggle:d((e=>{o((t=>({...t,panEnabled:e}))),a.onPanToggle?.(e)}),[a.onPanToggle]),onReset:d((()=>{o((e=>({...e,zoomLevel:1,panEnabled:!1}))),a.onReset?.()}),[a.onReset]),onGridToggle:d((e=>{o((t=>({...t,showGrid:e}))),a.onGridToggle?.(e)}),[a.onGridToggle]),onLegendToggle:d((e=>{o((t=>({...t,showLegend:e}))),a.onLegendToggle?.(e)}),[a.onLegendToggle]),onTooltipsToggle:d((e=>{o((t=>({...t,showTooltips:e}))),a.onTooltipsToggle?.(e)}),[a.onTooltipsToggle]),onAnimationsToggle:d((e=>{o((t=>({...t,animationsEnabled:e}))),a.onAnimationsToggle?.(e)}),[a.onAnimationsToggle]),onSettings:d((()=>{}),[])},E=d((()=>{const e=[],t=[];g.refresh&&t.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:S.onRefresh,disabled:n.isRefreshing,tooltip:"Refresh chart data"}),g.export&&t.push({id:"export",label:"Export",icon:"Download",onClick:()=>S.onExport("png"),disabled:n.isExporting,variant:"primary",tooltip:"Export chart"}),t.length>0&&e.push({id:"data-actions",label:"Data",actions:t,separator:!0});const a=[];g.zoom&&a.push({id:"zoom-in",label:"Zoom In",icon:"MagnifyingGlassPlus",onClick:S.onZoomIn,tooltip:"Zoom in"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:S.onZoomOut,tooltip:"Zoom out"}),g.pan&&a.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>S.onPanToggle(!n.panEnabled),active:n.panEnabled,tooltip:"Toggle pan mode"}),g.reset&&a.push({id:"reset",label:"Reset",icon:"ArrowCounterClockwise",onClick:S.onReset,tooltip:"Reset view"}),g.fullscreen&&a.push({id:"fullscreen",label:n.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:n.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>S.onFullscreen(!n.isFullscreen),variant:"success",tooltip:(n.isFullscreen?"Exit":"Enter")+" fullscreen"}),a.length>0&&e.push({id:"view-actions",label:"View",actions:a,separator:!0});const i=[];if(g.grid&&i.push({id:"grid",label:"Grid",icon:"GridFour",onClick:()=>S.onGridToggle(!n.showGrid),active:n.showGrid,tooltip:"Toggle grid"}),g.legend&&i.push({id:"legend",label:"Legend",icon:"List",onClick:()=>S.onLegendToggle(!n.showLegend),active:n.showLegend,tooltip:"Toggle legend"}),g.tooltips&&i.push({id:"tooltips",label:"Tooltips",icon:"ChatCircle",onClick:()=>S.onTooltipsToggle(!n.showTooltips),active:n.showTooltips,tooltip:"Toggle tooltips"}),g.animations&&i.push({id:"animations",label:"Animations",icon:"Play",onClick:()=>S.onAnimationsToggle(!n.animationsEnabled),active:n.animationsEnabled,tooltip:"Toggle animations"}),i.length>0&&e.push({id:"display-actions",label:"Display",actions:i,separator:!0}),g.settings&&e.push({id:"settings-actions",label:"Settings",actions:[{id:"settings",label:"Settings",icon:"Gear",onClick:S.onSettings,tooltip:"Chart settings"}]}),e.push(...m),h.length>0)if(e.length>0){if(e.length>0){const t=e[e.length-1];t&&t.actions.push(...h)}}else e.push({id:"custom-actions",label:"Custom",actions:h});return e}),[e,g,n,S,h,m]);return r((()=>{const e=e=>{if(e.ctrlKey||e.metaKey)switch(e.key.toLowerCase()){case"r":g.refresh&&(e.preventDefault(),S.onRefresh());break;case"e":g.export&&(e.preventDefault(),S.onExport("png"));break;case"f":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}else switch(e.key){case"+":case"=":g.zoom&&(e.preventDefault(),S.onZoomIn());break;case"-":g.zoom&&(e.preventDefault(),S.onZoomOut());break;case"r":g.reset&&(e.preventDefault(),S.onReset());break;case" ":g.pan&&(e.preventDefault(),S.onPanToggle(!n.panEnabled));break;case"F11":g.fullscreen&&(e.preventDefault(),S.onFullscreen(!n.isFullscreen))}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[g,n,S]),{state:n,setState:o,handlers:S,toolbarGroups:E(),config:{enableDefaults:s,defaults:g,exportFormats:u}}}(n,{enableDefaults:v,defaults:{refresh:b,export:f,fullscreen:_,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T},ae);gt(),r((()=>{K(ne.zoomLevel)}),[ne.zoomLevel]),r((()=>{Z(ne.panEnabled)}),[ne.panEnabled]),r((()=>{ne.zoomLevel}),[Y,ne.zoomLevel]);const re=Nt({type:n,size:s,variant:l,loading:m,error:p,className:g,interactive:M,panEnabled:$});d((()=>{ie.onFullscreen(!ne.isFullscreen)}),[ie,ne.isFullscreen]),d((async e=>{await ie.onExport(e)}),[ie]),d((()=>{ie.onRefresh()}),[ie]),r((()=>{z(ne.isFullscreen),V(ne.isExporting)}),[ne.isFullscreen,ne.isExporting]);const se=`${re}${G?` ${Se.CLASSES.FULLSCREEN}`:""}${P?" c-chart--glass":""}`,le=c((()=>({displacementScale:25,blurAmount:0,saturation:180,aberrationIntensity:1.5,elasticity:0,enableLiquidBlur:!1,enableBorderEffect:!0,mode:"standard",mouseContainer:H,reducedMotion:!1})),[]),ce=c((()=>P?!0===P?le:{...le,...P}:null),[P,le]),de=c((()=>ce?.cornerRadius||void 0),[ce?.cornerRadius]),ue=c((()=>({zoomLevel:Y,panOffset:W,panEnabled:$,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,setZoomLevel:K,setPanOffset:Q,setPanEnabled:Z,toolbarState:{showTooltips:ne.showTooltips,showLegend:ne.showLegend,animationsEnabled:ne.animationsEnabled,showGrid:ne.showGrid}})),[Y,W,$,X,j,J,ee,te,Z,ne.showTooltips,ne.showLegend,ne.animationsEnabled,ne.showGrid]),he=t("div",{ref:H,className:se,"aria-label":S||`${n} chart`,role:"img",tabIndex:0,...k,children:[(u||h||v)&&t("div",{className:`${Se.HEADER_CLASS} u-d-flex u-justify-between u-align-items-start u-gap-4`,children:[t("div",{className:`${Se.HEADER_CONTENT_CLASS} u-flex-1`,children:[u&&e("h3",{className:`${Se.TITLE_CLASS} u-mb-1`,children:u}),h&&e("p",{className:`${Se.SUBTITLE_CLASS} u-mb-0`,children:h})]}),(()=>{if(!v)return null;const t=!oe||0===oe.length;return e(St,{chartType:n,groups:oe,defaults:{refresh:b,export:f,fullscreen:_,zoom:void 0!==ne.zoomLevel,pan:void 0!==ne.panEnabled,reset:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:T,state:{isFullscreen:ne.isFullscreen,isExporting:ne.isExporting,isRefreshing:ne.isRefreshing,zoomLevel:Y,panEnabled:$,showGrid:ne.showGrid,showLegend:ne.showLegend,showTooltips:ne.showTooltips,animationsEnabled:ne.animationsEnabled},...t?{onRefresh:ie.onRefresh,onExport:ie.onExport,onFullscreen:ie.onFullscreen,onZoomIn:X,onZoomOut:j,onZoomReset:J,onPanToggle:ee,onReset:te,onSettings:ie.onSettings,onGridToggle:ie.onGridToggle,onLegendToggle:ie.onLegendToggle,onTooltipsToggle:ie.onTooltipsToggle,onAnimationsToggle:ie.onAnimationsToggle}:{}})})()]}),t("div",{className:Se.CONTENT_CLASS,children:[m&&t("div",{className:Se.LOADING_CLASS,children:[e("div",{className:Se.LOADING_SPINNER_CLASS}),e("span",{className:Se.LOADING_TEXT_CLASS,children:ne.isExporting?"Exporting chart...":ne.isRefreshing?"Refreshing chart...":"Loading chart..."})]}),p&&t("div",{className:Se.ERROR_CLASS,children:[e("div",{className:Se.ERROR_ICON_CLASS,children:"⚠"}),t("div",{className:Se.ERROR_CONTENT_CLASS,children:[e("div",{className:Se.ERROR_MESSAGE_CLASS,children:"Chart Error"}),e("div",{className:Se.ERROR_DETAILS_CLASS,children:p})]})]}),!m&&!p&&!a&&t("div",{className:Se.EMPTY_CLASS,children:[e("div",{className:Se.EMPTY_ICON_CLASS,children:"📊"}),e("div",{className:Se.EMPTY_MESSAGE_CLASS,children:"No data available"}),e("div",{className:Se.EMPTY_DETAILS_CLASS,children:"Add data to your chart to see visualizations"})]}),!m&&!p&&a&&e("div",{className:Se.CANVAS_CLASS,children:a})]})]}),me=ce?e(je,{...ce,cornerRadius:de,style:{width:"100%",height:"100%",...ce.style},children:he}):he;return e(Et.Provider,{value:ue,children:e("div",{ref:U,style:{width:"100%",height:"100%"},children:me})})}))),Nt=({type:e,size:t,variant:a,loading:n,error:i,className:o,interactive:r,panEnabled:s})=>{const l=[Se.ROOT_CLASS];if(e){const t=e.toUpperCase(),a=Se.CLASSES[t]||`${Se.TYPE_PREFIX}${e}`;l.push(a)}if(t){const e=t.toUpperCase(),a=Se.CLASSES[e]||`${Se.SIZE_PREFIX}${t}`;l.push(a)}if(a){const e=a.toUpperCase(),t=Se.CLASSES[e]||`${Se.VARIANT_PREFIX}${a}`;l.push(t)}return(r||s)&&l.push(Se.CLASSES.INTERACTIVE),n&&l.push(Se.LOADING_STATE_CLASS),i&&l.push(Se.ERROR_STATE_CLASS),o&&l.push(o),l.join(" ")};At.displayName="Chart";const vt=p(s((({datasets:n=[],config:s,width:l=Se.DEFAULT_WIDTH,height:u=Se.DEFAULT_HEIGHT,onDataPointClick:h,interactive:m=!0,enableRealTime:p=!1,enableAccessibility:g=!0,enablePerformanceOptimization:E=!0,renderContent:A},N)=>{const v=S(Et),{calculateScales:_,getChartColors:f}=gt(),{processedData:b,isProcessing:T}=function(e,t){const[a,n]=i(e),[o,s]=i(!1),{enableDecimation:l=!1,maxDataPoints:c=1e3,enableRealTime:u=!1,realTimeInterval:h=1e3}=t||{},m=d(((e,t)=>{if(!l||!e.length)return e;const a=e[0]?.data?.length||0;if(a<=t)return e;const n=Math.ceil(a/t);return e.map((e=>({...e,data:e.data?.filter(((e,t)=>t%n==0))||[]})))}),[l]),p=d(((e,t)=>{const a=[];for(let n=0;n<e.length;n++)if(n<t-1)a.push(null);else{const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t),0);a.push(i/t)}return a}),[]),g=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t),0),i=(t*e.reduce(((e,t,a)=>e+a*t),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),o=(n-i*a)/t;return e.map(((e,t)=>i*t+o))}),[]);return r((()=>{s(!0),(async()=>{let t=[...e];l&&c&&(t=m(t,c)),n(t),s(!1)})()}),[e,m,l,c]),r((()=>{if(!u)return;const e=setInterval((()=>{n((e=>[...e]))}),h);return()=>clearInterval(e)}),[u,h]),{processedData:a,isProcessing:o,decimateData:m,calculateMovingAverage:p,calculateTrendLine:g,setProcessedData:n}}(n,{enableRealTime:p,enableDecimation:E,maxDataPoints:1e3}),{isOptimizing:C,memoizedScales:L}=function(e,t){const{enableVirtualization:a=!1,enableMemoization:n=!0,debounceMs:s=100}=t||{},[l,u]=i(!1),h=o(null),m=c((()=>n?e.map((e=>{const t=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],a=t.length>0?t:[0];return{label:e.label,dataLength:e.data?.length||0,minValue:Math.min(...a),maxValue:Math.max(...a)}})):null),[e,n]),p=d((e=>{h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{e(),u(!1)}),s),u(!0)}),[s]),g=d(((t,n,i)=>{if(!a)return{start:0,end:e[0]?.data?.length||0};const o=Math.floor(t/n),r=Math.ceil(i/n),s=Math.min(o+r+1,e[0]?.data?.length||0);return{start:Math.max(0,o-1),end:s}}),[a,e]);return r((()=>()=>{h.current&&clearTimeout(h.current)}),[]),{isOptimizing:l,memoizedScales:m,debouncedUpdate:p,getVisibleRange:g}}(b,{enableVirtualization:!1,enableMemoization:E,debounceMs:100}),{announcement:I,focusedPoint:y}=function(e,t){const{enableKeyboardNavigation:a=!0,enableScreenReader:n=!0,announceDataChanges:o=!0}=t||{},[s,l]=i({datasetIndex:0,pointIndex:0}),[c,u]=i(""),h=d(((t,n)=>{if(!a||!e.length)return;const i=e.length-1,o=(e[s.datasetIndex]?.data?.length||1)-1;switch(t.key){case"ArrowLeft":t.preventDefault(),l((e=>({...e,pointIndex:Math.max(0,e.pointIndex-1)})));break;case"ArrowRight":t.preventDefault(),l((e=>({...e,pointIndex:Math.min(o,e.pointIndex+1)})));break;case"ArrowUp":t.preventDefault(),l((e=>({...e,datasetIndex:Math.max(0,e.datasetIndex-1)})));break;case"ArrowDown":t.preventDefault(),l((e=>({...e,datasetIndex:Math.min(i,e.datasetIndex+1)})));break;case"Home":t.preventDefault(),l((e=>({...e,pointIndex:0})));break;case"End":t.preventDefault(),l((e=>({...e,pointIndex:o})));break;case"Enter":case" ":t.preventDefault(),n?.(s.datasetIndex,s.pointIndex)}}),[a,e,s]),m=d((e=>{n&&(u(e),setTimeout((()=>u("")),1e3))}),[n]);r((()=>{if(!o||!e.length)return;const t=e.reduce(((e,t)=>e+(t.data?.length||0)),0);m(`Chart updated with ${e.length} datasets and ${t} data points`)}),[e,o,m]);const p=d((()=>{if(!e.length)return"Empty chart";const t=e.map(((e,t)=>{const a=e.data?.length||0,n=e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[],i=n.length>0?Math.min(...n):0,o=n.length>0?Math.max(...n):0;return`Dataset ${t+1}: ${e.label}, ${a} points, range ${i} to ${o}`})).join(". ");return`Chart with ${e.length} datasets. ${t}`}),[e]);return{focusedPoint:s,announcement:c,handleKeyDown:h,announceData:m,getAccessibleDescription:p,setFocusedPoint:l}}(b,{enableScreenReader:g,enableKeyboardNavigation:g,announceDataChanges:g}),x=o({isDragging:!1,dragStart:{x:0,y:0},lastPan:{x:0,y:0}}),[R,O]=i(null),M=o(null),w=o(null),[D,B]=i(!1),[P,k]=i({width:0,height:0});r((()=>{const e=w.current;if(!e)return;const t=()=>{const t=e.getBoundingClientRect();t.width>0&&t.height>0&&(k({width:Math.floor(t.width),height:Math.floor(t.height)}),B(!0))};t();const a=requestAnimationFrame((()=>{t()})),n=new ResizeObserver((e=>{for(const t of e){const{width:e,height:a}=t.contentRect;e>0&&a>0&&(k({width:Math.floor(e),height:Math.floor(a)}),B(!0))}}));return n.observe(e),()=>{cancelAnimationFrame(a),n.disconnect()}}),[]),r((()=>{l===Se.DEFAULT_WIDTH&&u===Se.DEFAULT_HEIGHT||(k({width:l,height:u}),B(!0))}),[l,u]);const U=d(((e,t,a,n,i,o)=>{O({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:o})}),[]),G=d((()=>{O(null)}),[]),z=o(null),F=d((e=>{m&&v&&v.panEnabled&&x.current.isDragging&&(z.current||(z.current=requestAnimationFrame((()=>{const t=M.current;if(!t)return void(z.current=null);const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top,o=n-x.current.dragStart.x,r=i-x.current.dragStart.y;v.setPanOffset({x:x.current.lastPan.x+o,y:x.current.lastPan.y+r}),z.current=null}))))}),[m,v]),V=d((e=>{if(!m||!v||!v.panEnabled)return;const t=M.current;if(!t)return;const a=t.getBoundingClientRect(),n=e.clientX-a.left,i=e.clientY-a.top;x.current.isDragging=!0,x.current.dragStart={x:n,y:i},x.current.lastPan={...v.panOffset}}),[m,v]),H=d((()=>{x.current.isDragging=!1}),[]),Y=c((()=>({onDataPointClick:h,onPointHover:U,onPointLeave:G,onMouseMove:F,onMouseDown:V,onMouseUp:H,onWheel:()=>{}})),[h,U,G,F,V,H]),K=c((()=>({announcement:I,focusedPoint:y,getAccessibleDescription:()=>"Chart description"})),[I,y]),W=c((()=>v?`translate(${v.panOffset.x}px, ${v.panOffset.y}px) scale(${v.zoomLevel})`:""),[v?.panOffset.x,v?.panOffset.y,v?.zoomLevel]),Q=c((()=>{if(!D||0===P.width||0===P.height)return null;const e=_(b,P.width,P.height,void 0,s);if(!e)return null;const t=f(b.length).filter((e=>void 0!==e));return{scales:e,colors:t,datasets:b.map(((e,a)=>({...e,color:e.color||t[a]})))}}),[b,s,P.width,P.height,D,_,f]);if(r((()=>()=>{z.current&&cancelAnimationFrame(z.current)}),[]),r((()=>{const e=M.current;if(!e||!m||!v)return;const t=e=>{if(void 0===v.zoomLevel)return;e.preventDefault();const t=.001*-e.deltaY,a=Math.max(.2,Math.min(5,v.zoomLevel+t));v.setZoomLevel(a)};return e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("wheel",t)}}),[m,v]),C)return t("div",{className:`${Se.CONTENT_CLASS} ${Se.LOADING_CLASS}`,children:[e("div",{className:Se.LOADING_SPINNER_CLASS}),e("span",{className:Se.LOADING_TEXT_CLASS,children:"Optimizing chart..."})]});if(!D||0===P.width||0===P.height)return e("div",{ref:w,className:Se.CANVAS_CLASS,style:{width:"100%",height:"100%",minHeight:"200px",display:"flex",alignItems:"center",justifyContent:"center"}});if(!Q)return null;const $=P.width,Z=P.height;return t(a,{children:[e("div",{ref:w,className:Se.CANVAS_CLASS,style:{width:"100%",height:"100%"},children:t("svg",{ref:M,width:$,height:Z,viewBox:`0 0 ${$} ${Z}`,preserveAspectRatio:"xMidYMid meet",role:"img","aria-label":"Chart visualization",tabIndex:0,style:{width:"100%",height:"100%",transform:W,transformOrigin:"center center",willChange:v?.panEnabled?"transform":"auto"},className:"c-chart__svg",onMouseMove:F,onMouseDown:V,onMouseUp:H,onMouseLeave:H,children:[t("g",{className:"c-chart__grid-group",children:[Q.datasets[0]?.data.map(((t,a)=>e("line",{x1:Q.scales.xScale(a,Q.datasets[0]?.data.length),y1:0,x2:Q.scales.xScale(a,Q.datasets[0]?.data.length),y2:Z,className:"c-chart__grid c-chart__grid--vertical"},`x-grid-${a}`))),Array.from({length:5}).map(((t,a)=>{const n=Q.scales.minValue+(Q.scales.maxValue-Q.scales.minValue)*(a/4);return e("line",{x1:0,y1:Q.scales.yScale(n),x2:$,y2:Q.scales.yScale(n),className:"c-chart__grid c-chart__grid--horizontal"},`y-grid-${a}`)}))]}),A({scales:Q.scales,colors:Q.colors,datasets:Q.datasets,interactionState:{hoveredIndex:R?.pointIndex??null,selectedIndex:null},handlers:Y,accessibility:K,hoveredPoint:R,toolbarState:v?{showTooltips:v.toolbarState?.showTooltips,showLegend:v.toolbarState?.showLegend,animationsEnabled:v.toolbarState?.animationsEnabled,showGrid:v.toolbarState?.showGrid}:void 0,config:s}),m&&v?.panEnabled&&t("g",{className:"c-chart__crosshair",children:[e("line",{x1:0,y1:Z/2,x2:$,y2:Z/2,className:"c-chart__crosshair-line c-chart__crosshair-line--horizontal"}),e("line",{x1:$/2,y1:0,x2:$/2,y2:Z,className:"c-chart__crosshair-line c-chart__crosshair-line--vertical"})]})]})}),e("div",{"aria-live":"polite",className:"u-visually-hidden",children:I})]})})));vt.displayName="ChartRenderer";const _t=p(s((({type:t,datasets:a=[],config:n={},renderContent:i,interactive:o=!0,enableRealTime:r=!1,enableAccessibility:s=!0,enablePerformanceOptimization:l=!0,onDataPointClick:c,...u},h)=>{const m=d((e=>i(e)),[i]);return e(At,{ref:h,type:t,datasets:a,config:n,...u,children:e(vt,{datasets:a,config:n,interactive:o,enableRealTime:r,enableAccessibility:s,enablePerformanceOptimization:l,onDataPointClick:c,renderContent:m})})})));_t.displayName="BaseChart";const ft=p(s((({datasets:t=[],config:a={},chartType:n="line",particleEffects:i,onDataPointClick:s,...l},c)=>{const u=o(0),h=o(0),m=o([]),p=d((({scales:t,colors:a,datasets:o,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(r((()=>{const e=t=>{h.current=t,u.current=requestAnimationFrame(e)};return u.current=requestAnimationFrame(e),()=>{u.current&&cancelAnimationFrame(u.current)}}),[]),!o.length)return null;const p=40,g=t.width-80,S=t.height-80,E=[];if(o.forEach(((t,i)=>{const o=t.color||a[i%a.length];if("bar"===n)t.data.forEach(((a,n)=>{const r=g/t.data.length*.8,l=p+n*(g/t.data.length)+(g/t.data.length-r)/2,c=a.value/100*S,d=p+S-c;E.push(e("rect",{x:l,y:d,width:r,height:c,fill:o,style:{transform:`scaleY(${.1*Math.sin(.01*h.current+.2*n)+.9})`,transformOrigin:"bottom"},onClick:()=>s.onDataPointClick?.(a,i,n)},`bar-${i}-${n}`))}));else{const a=t.data.map(((e,a)=>({x:p+a/(t.data.length-1)*g,y:p+S-e.value/100*S})));if(a.length>0){const r=`M ${a.map((e=>`${e.x},${e.y}`)).join(" L ")}`;if("area"===n){const t=`${r} L ${p+g},${p+S} L 40,${p+S} Z`;E.push(e("path",{d:t,fill:o,fillOpacity:"0.3",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`area-${i}`))}E.push(e("path",{d:r,stroke:o,fill:"none",className:"c-chart__data-line",style:{transform:`translateY(${2*Math.sin(.01*h.current)}px)`}},`line-${i}`)),a.forEach(((a,n)=>{E.push(e("circle",{cx:a.x,cy:a.y,r:"4",fill:o,style:{transform:`scale(${1+.2*Math.sin(.01*h.current+n)})`},onClick:()=>s.onDataPointClick?.(t.data[n],i,n)},`point-${i}-${n}`))}))}}})),i?.enabled)for(let t=0;t<i.count;t++){const a=m.current[t];a&&E.push(e("circle",{cx:a.x,cy:a.y,r:a.size,fill:a.color,style:{opacity:a.life}},`particle-${t}`))}return e("g",{children:E})}),[n,i]);return e(_t,{ref:c,type:"animated",datasets:t,config:a,renderContent:p,onDataPointClick:s,...l})})));ft.displayName="AnimatedChart";const bt=p((({dataPoint:n,datasetLabel:s,datasetColor:l,position:c,visible:d,customRenderer:u})=>{const h=o(null),[m,p]=i(c);return r((()=>{if(!d||!h.current)return;const e=h.current.getBoundingClientRect(),t=window.innerWidth,a=window.innerHeight;let n=c.x,i=c.y;n=n+e.width>t-16?c.x-e.width-12:c.x+12,i=i+e.height>a-16?c.y-e.height-12:c.y-e.height/2,n=Math.max(16,Math.min(n,t-e.width-16)),i=Math.max(16,Math.min(i,a-e.height-16)),p({x:n,y:i})}),[c,d]),d&&n?R(e("div",{ref:h,className:"c-chart__tooltip",style:{left:`${m.x}px`,top:`${m.y}px`,opacity:d?1:0,visibility:d?"visible":"hidden",transition:"opacity 0.2s ease, transform 0.2s ease",transform:"translateZ(0)",position:"fixed",zIndex:1e3,pointerEvents:"none"},children:u?u(n):t(a,{children:[e("div",{className:"c-chart__tooltip-title",children:n.label}),t("div",{className:"c-chart__tooltip-content",children:[s&&t("div",{className:"c-chart__tooltip-dataset",children:[l&&e("div",{className:"c-chart__tooltip-color-indicator",style:{backgroundColor:l}}),t("span",{className:"c-chart__tooltip-dataset-label",children:[s,":"]}),e("span",{className:"c-chart__tooltip-value",children:n.value})]}),n.metadata&&e("div",{className:"c-chart__tooltip-metadata",children:Object.entries(n.metadata).map((([a,n])=>t("div",{className:"c-chart__tooltip-metadata-item",children:[t("span",{className:"c-chart__tooltip-metadata-key",children:[a,":"]}),e("span",{className:"c-chart__tooltip-metadata-value",children:String(n)})]},a)))})]})]})}),document.body):null}));bt.displayName="ChartTooltip";const Tt=p(s((({datasets:n=[],config:i={},areaOptions:o={},onDataPointClick:r,...s},l)=>{const c={showArea:!0,fillOpacity:.3,useGradient:!0,...o};return e(_t,{ref:l,type:"area",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:r,hoveredPoint:s,toolbarState:l,config:d})=>{if(!o.length)return null;const u=l?.showTooltips??d?.showTooltips??!0;return t(a,{children:[o.map(((a,o)=>{const l=a.color||i[o],d=a.data||[];if(0===d.length)return null;const u=d.map(((e,t)=>({x:n.xScale(t,d.length),y:n.yScale(e.value)}))),h=`M ${u.map((e=>`${e.x},${e.y}`)).join(" L ")} L ${u[u.length-1]?.x},${n.height} L ${u[0]?.x},${n.height} Z`;return t("g",{children:[e("path",{d:h,fill:l,fillOpacity:c.fillOpacity||.3,className:"c-chart__area-fill"}),d.map(((t,a)=>{const i=n.xScale(a,d.length),c=n.yScale(t.value),u=s?.datasetIndex===o&&s?.pointIndex===a;return e("circle",{cx:i,cy:c,r:u?6:4,fill:l,stroke:"white",strokeWidth:u?2:1,className:"c-chart__area-point "+(u?"c-chart__area-point--hovered":""),onClick:()=>r.onDataPointClick?.(t,o,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();r.onPointHover(o,a,i,c,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:r.onPointLeave,style:{cursor:"pointer"}},`point-${a}`)}))]},`dataset-${o}`)})),u&&s&&e(bt,{dataPoint:o[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:o[s.datasetIndex]?.label,datasetColor:o[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:r,...s})})));function Ct(e,t={}){const[a,n]=i(null),[o,r]=i(0),[s,l]=i(!1),c=d(((e,a,n,i={top:20,right:30,bottom:40,left:50},o=!1)=>{if(!e.length)return[];const r=a-i.left-i.right,s=n-i.top-i.bottom,l=e[0]?.data?.length||0,c=e.length;if(0===l)return[];const d=e.flatMap((e=>e.data?.map((e=>e.value)).filter((e=>"number"==typeof e))||[])),u=Math.min(0,...d),h=Math.max(...d)-u,m=[],p=Array(l).fill(0);return e.forEach(((e,d)=>{e.data?.forEach(((e,g)=>{const S="number"==typeof e.value?e.value:0;if(isNaN(S)||!isFinite(S))return;let E,A,N,v;if(o){const e=s/l,a=e*(1-(t.groupPadding||.2));v=t.stacked?a:a/c,A=i.top+g*e+(e-a)/2,t.stacked||(A+=d*v*(1+(t.barPadding||.05))),E=i.left,N=(S-u)/h*r,t.stacked&&d>0?(E=i.left+(p[g]-u)/h*r,p[g]+=S):t.stacked&&(p[g]=S)}else{const e=r/l,a=e*(1-(t.groupPadding||.2));if(N=t.stacked?a:a/c,E=i.left+g*e+(e-a)/2,t.stacked||(E+=d*N*(1+(t.barPadding||.05))),v=(S-u)/h*s,A=n-i.bottom-v,t.stacked&&d>0){const e=(p[g]-u)/h*s;A=n-i.bottom-e-v,p[g]+=S}else t.stacked&&(p[g]=S)}if(t.minBarHeight&&(o?N:v)<t.minBarHeight&&(o?N=t.minBarHeight:(v=t.minBarHeight,A=n-i.bottom-v)),t.maxBarWidth&&(o?v:N)>t.maxBarWidth)if(o)v=t.maxBarWidth,A=i.top+g*(s/l)+(s/l-v)/2;else{N=t.maxBarWidth;const e=(a-i.left-i.right)/l;E=i.left+g*e+(e-N)/2}m.push({x:Math.max(E,0),y:Math.max(A,0),width:Math.max(N,0),height:Math.max(v,0),value:S,datasetIndex:d,pointIndex:g})}))})),m}),[t.stacked,t.groupPadding,t.barPadding,t.minBarHeight,t.maxBarWidth]),u=d((()=>{if(!t.enableAnimations)return;l(!0),r(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),o=1-Math.pow(1-i,3);r(o),i<1?requestAnimationFrame(n):l(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),h=d(((e,t,a,i,o,r)=>{n({datasetIndex:e,pointIndex:t,chartX:a,chartY:i,clientX:o,clientY:r})}),[]),m=d((()=>{n(null)}),[]),p=d((e=>t.useGradients?e.map(((e,t)=>{const a=e.color||`var(--atomix-color-${t+1})`;return{id:`bar-gradient-${t}`,stops:[{offset:"0%",color:a,opacity:.8},{offset:"100%",color:a,opacity:.4}]}})):[]),[t.useGradients]),g=d((e=>t.valueFormatter?t.valueFormatter(e):e.toString()),[t.valueFormatter]);return{hoveredBar:a,animationProgress:o,isAnimating:s,calculateBarDimensions:c,generateGradients:p,getDataLabelPosition:d(((e,a=!1)=>{const{x:n,y:i,width:o,height:r}=e;switch(t.dataLabelPosition){case"inside":case"center":default:return{x:n+o/2,y:i+r/2};case"outside":return{x:a?n+o+5:n+o/2,y:a?i+r/2:i-5}}}),[t.dataLabelPosition]),handleBarHover:h,handleBarLeave:m,startAnimation:u,formatValue:g,setHoveredBar:n,setAnimationProgress:r,setIsAnimating:l}}Tt.displayName="AreaChart";const Lt=p(s((({datasets:n=[],config:i={},barOptions:o={},horizontal:r=!1,onDataPointClick:s,...l},c)=>{const{calculateBarDimensions:d,handleBarHover:u,handleBarLeave:h,hoveredBar:m,formatValue:p}=Ct(0,o);return e(_t,{ref:c,type:"bar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:u,config:h})=>{if(!s.length)return null;const m=u?.showTooltips??h?.showTooltips??!0,g=d(s,n.width,n.height,n.padding,r);return t(a,{children:[g.map(((a,n)=>{const r=s[a.datasetIndex],d=r.data?.[a.pointIndex],u=r.color||i[a.datasetIndex],h=c?.datasetIndex===a.datasetIndex&&c?.pointIndex===a.pointIndex;return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:u,className:"c-chart__bar "+(h?"c-chart__bar--hovered":""),onClick:()=>d&&l.onDataPointClick?.(d,a.datasetIndex,a.pointIndex),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(a.datasetIndex,a.pointIndex,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),o.showValues&&e("text",{x:a.x+a.width/2,y:a.y-5,textAnchor:"middle",className:"c-chart__bar-value-label",children:p(a.value)})]},`bar-${n}`)})),m&&c&&e(bt,{dataPoint:s[c.datasetIndex]?.data?.[c.pointIndex],datasetLabel:s[c.datasetIndex]?.label,datasetColor:s[c.datasetIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));Lt.displayName="BarChart";const It=p(s((({bubbleData:n=[],config:i={},bubbleOptions:o={},onDataPointClick:r,...s},l)=>{const{minBubbleSize:c=5,maxBubbleSize:d=50,bubbleOpacity:u=.7,showLabels:h=!0,labelPosition:m="center",enableAnimations:p=!0,animationDuration:g=1e3,showSizeLegend:S=!0,sizeLegendTitle:E="Size",colorScheme:A=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],sizeBasedColoring:N=!1}=o;return e(_t,{ref:l,type:"bubble",datasets:[{label:"Bubbles",data:n}],config:i,renderContent:({scales:i,colors:o,datasets:r,handlers:s,hoveredPoint:l,toolbarState:S,config:E})=>{if(!n.length)return null;const v=S?.showTooltips??E?.showTooltips??!0,_=n.map((e=>e.size)),f=Math.min(..._),b=Math.max(..._)-f||1,T=n.map(((a,n)=>{const o=c+(a.size-f)/b*(d-c),r=i.padding.left+a.x/100*i.innerWidth,S=i.padding.top+i.innerHeight-a.y/100*i.innerHeight;let E=a.color;if(!E)if(N){const e=Math.floor((A.length-1)*((a.size-f)/b));E=A[e]}else E=A[n%A.length];return t("g",{children:[e("circle",{cx:r,cy:S,r:o,fill:E,opacity:u,className:"c-chart__bubble "+(l?.pointIndex===n?"c-chart__bubble--hovered":""),style:p?{transition:`all ${g}ms ease`}:{},onClick:()=>s.onDataPointClick?.(a,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,r,S,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),h&&e("text",{x:r,y:S,textAnchor:"middle",dominantBaseline:"center"===m?"middle":"top"===m?"text-before-edge":"text-after-edge",className:"c-chart__bubble-label",children:a.label})]},`bubble-${n}`)}));return t(a,{children:[T,v&&l&&l.pointIndex<n.length&&e(bt,{dataPoint:n[l.pointIndex],datasetLabel:"Bubbles",datasetColor:n[l.pointIndex]?.color||A[l.pointIndex%A.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:r,...s})})));It.displayName="BubbleChart";const yt=p(s((({candlestickData:n=[],config:i={},candlestickOptions:o={},onDataPointClick:r,...s},l)=>{const{showVolume:c=!0,volumeHeightRatio:d=.2,upColor:u="var(--atomix-success-bg-subtle)",downColor:h="var(--atomix-error-bg-subtle)",wickColor:m="var(--atomix-brand-border-subtle)",borderColor:p="var(--atomix-primary-border-subtle)",showMovingAverages:g=!1,movingAveragePeriods:S=[7,21],movingAverageColors:E=["var(--atomix-warning-bg-subtle)","var(--atomix-warning-border-subtle)"],dateFormat:A="short",dateFormatter:N,showGrid:v=!0,gridColor:_="var(--atomix-brand-text-emphasis)",showTooltips:f=!0}=o;return e(_t,{ref:l,type:"candlestick",datasets:[{label:"Candlestick Data",data:n.map((e=>({label:e.date.toString(),value:e.close,metadata:{open:e.open,high:e.high,low:e.low,close:e.close,volume:e.volume}})))}],config:i,renderContent:({scales:i,colors:r,datasets:s,handlers:l,hoveredPoint:A,toolbarState:N,config:f})=>{if(!n.length)return null;const b=N?.showTooltips??f?.showTooltips??o.showTooltips??!0,T=40,C=i.width-80,L=i.height-80,I=c?L*d:0,y=L-I,x=n.map((e=>e.high)),R=n.map((e=>e.low)),O=Math.min(...R),M=Math.max(...x),w=M-O||1,D=n.map((e=>e.volume||0)),B=Math.max(...D)||1,P=[];if(v){for(let t=0;t<=5;t++){const a=T+t/5*y;P.push(e("line",{x1:T,y1:a,x2:T+C,y2:a,stroke:_,strokeWidth:"0.5",strokeDasharray:"4 2"},`price-grid-${t}`))}const t=Math.max(1,Math.floor(n.length/10));for(let a=0;a<n.length;a+=t){const t=T+a/(n.length-1)*C;P.push(e("line",{x1:t,y1:T,x2:t,y2:T+y,stroke:_,strokeWidth:"0.5",strokeDasharray:"4 2"},`time-grid-${a}`))}}const k=n.map(((a,i)=>{const o=a.close>=a.open?u:h,r=T+i/(n.length-1)*C,s=T+(M-a.high)/w*y,c=T+(M-a.low)/w*y,d=T+(M-a.open)/w*y,g=T+(M-a.close)/w*y,S=Math.min(d,g),E=Math.abs(d-g),A=Math.max(1,C/n.length*.8);return t("g",{children:[e("line",{x1:r,y1:s,x2:r,y2:c,stroke:m,strokeWidth:"1",className:"c-chart__candlestick-wick"}),e("rect",{x:r-A/2,y:S,width:A,height:E||1,fill:o,stroke:p,strokeWidth:"1",className:"c-chart__candlestick-candle",onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,i,r,s,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave,onClick:()=>l.onDataPointClick?.(a,0,i)})]},`candle-${i}`)})),U=[];if(c){const t=T+y+20;n.forEach(((a,i)=>{if(!a.volume)return;const o=a.close>=a.open?u:h,r=T+i/(n.length-1)*C,s=a.volume/B*(I-20),l=Math.max(1,C/n.length*.6);U.push(e("rect",{x:r-l/2,y:t+I-s,width:l,height:s,fill:o,fillOpacity:"0.7",className:"c-chart__candlestick-volume"},`volume-${i}`))}))}const G=[];return g&&S.forEach(((t,a)=>{const i=((e,t)=>{const a=[];for(let n=0;n<e.length;n++){if(n<t-1){a.push(NaN);continue}const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.close),0);a.push(i/t)}return a})(n,t),o=E?.[a]||"var(--atomix-warning)",r=i.map(((e,t)=>{if(isNaN(e))return null;return{x:T+t/(n.length-1)*C,y:T+(M-e)/w*y}})).filter(Boolean);if(r.length>1){const a=`M ${r.map((e=>`${e.x},${e.y}`)).join(" L ")}`;G.push(e("path",{d:a,stroke:o,strokeWidth:"1",fill:"none",strokeDasharray:"5,5"},`ma-${t}`))}})),t(a,{children:[P,k,U,G,b&&A&&n[A.pointIndex]&&e(bt,{dataPoint:n[A.pointIndex],datasetLabel:"Candlestick",position:{x:A.clientX,y:A.clientY},visible:!0})]})},onDataPointClick:r,...s})})));yt.displayName="CandlestickChart";const xt=p(s((({datasets:n=[],config:i={},pieOptions:o={showValues:!1,showPercentages:!0,showLabels:!1,startAngle:0,sortByValue:!1,padAngle:1},donutOptions:r={innerRadiusRatio:.6,showTotal:!0,centerLabel:"Total",centerValue:void 0,roundedCorners:!0},onDataPointClick:s,...l},d)=>{const u=n.length>0?n[0]:{label:"",data:[]},h=c((()=>{if(!u?.data?.length)return null;const e=u?.data?.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return e.length?{validDataPoints:e}:null}),[u]);return e(_t,{ref:d,type:"donut",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:s,handlers:l,hoveredPoint:c,toolbarState:d,config:m})=>{if(!h)return null;const p=n.width,g=n.height,S=Math.min(p,g)/2*.8,E=S*(r.innerRadiusRatio??.6),A=p/2,N=g/2,v=["var(--atomix-primary-2)","var(--atomix-primary-3)","var(--atomix-primary-4)","var(--atomix-primary-5)","var(--atomix-primary-6)","var(--atomix-primary-7)","var(--atomix-primary-8)","var(--atomix-primary-9)"],_=u?.color?[u.color]:u?.data?.map(((e,t)=>v[t%v.length]))||v,f=h.validDataPoints.reduce(((e,t)=>e+t.value),0),b=(o.padAngle||1)*Math.PI/180;let T=(o.startAngle||0)*Math.PI/180;const C=h.validDataPoints.map(((e,t)=>{const a=e.value/f*(2*Math.PI)-b,n=T,i=T+a,o=(n+i)/2,r=.75*S,s=A+Math.cos(o)*r,l=N+Math.sin(o)*r,c=A+E*Math.cos(n),d=N+E*Math.sin(n),u=A+S*Math.cos(n),h=N+S*Math.sin(n),m=A+S*Math.cos(i),p=N+S*Math.sin(i),g=A+E*Math.cos(i),v=N+E*Math.sin(i),C=a>Math.PI?1:0,L=[`M ${c} ${d}`,`L ${u} ${h}`,`A ${S} ${S} 0 ${C} 1 ${m} ${p}`,`L ${g} ${v}`,`A ${E} ${E} 0 ${C} 0 ${c} ${d}`,"Z"].join(" ");return T=i+b,{path:L,color:e.color||_[t],labelPosition:{x:s,y:l},dataPoint:e,value:e.value,percentage:e.value/f*100}})),L=d?.showTooltips??m?.showTooltips??!0;return t(a,{children:[C.map(((a,n)=>{const i=c?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__donut-slice "+(i?"c-chart__donut-slice--hovered":""),onClick:()=>l.onDataPointClick?.(a.dataPoint,0,n),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();l.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:l.onPointLeave}),o.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__donut-label",children:a.dataPoint.label}),o.showPercentages&&t("text",{x:a.labelPosition.x,y:a.labelPosition.y+20,textAnchor:"middle",className:"c-chart__donut-percentage",children:[a.percentage.toFixed(1),"%"]})]},`slice-${n}`)})),r.showTotal&&t("g",{children:[e("text",{x:A,y:N-10,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-label",children:r.centerLabel}),e("text",{x:A,y:N+20,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__donut-center-value",children:void 0!==r.centerValue?r.centerValue:f.toLocaleString()})]}),L&&c&&c.pointIndex<C.length&&C[c.pointIndex]&&e(bt,{dataPoint:C[c.pointIndex].dataPoint,datasetLabel:u?.label,datasetColor:C[c.pointIndex]?.color,position:{x:c.clientX,y:c.clientY},visible:!0})]})},onDataPointClick:s,...l})})));xt.displayName="DonutChart";const Rt=p(s((({funnelData:n=[],config:i={},funnelOptions:o={},onDataPointClick:r,...s},l)=>{const{direction:c="vertical",showLabels:d=!0,showValues:u=!0,showPercentages:h=!1,labelPosition:m="outside",neckWidth:p=.3,neckHeight:g=.2,segmentGap:S=2,colorScheme:E=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],useGradient:A=!0,animate:N=!0,animationDuration:v=1e3,animationDelay:_=200,valueFormatter:f=e=>e.toLocaleString(),showConversionRates:b=!0,conversionRatePosition:T="between",proportional:C=!0,minSegmentRatio:L=.1}=o;return e(_t,{ref:l,type:"funnel",datasets:[{label:"Funnel Data",data:n}],config:i,renderContent:({scales:i,colors:o,datasets:r,handlers:s,hoveredPoint:l,toolbarState:m,config:g})=>{if(!n.length)return null;const A=m?.showTooltips??g?.showTooltips??!0,I=i.width-120,y=i.height-120,x=Math.max(...n.map((e=>e.value))),R=n.map(((e,t)=>{const a=e.value/x*100,i=t>0&&n[t-1]?e.value/n[t-1].value*100:100;return{...e,percentage:a,conversionRate:i,index:t}})),O=[];if("vertical"===c){const a=(y-(n.length-1)*S)/n.length;R.forEach(((i,o)=>{const r=60+o*(a+S);let l;if(C){const e=Math.max(i.percentage/100,L);l=I*e}else{const e=Math.max(1-o/(n.length-1)*(1-p),L);l=I*e}const c=60+(I-l)/2;let m=i.color||E[o%E.length];const g=R[o+1];let A;if(g)if(C){const e=Math.max(g.percentage/100,L);A=I*e}else{const e=Math.max(1-(o+1)/(n.length-1)*(1-p),L);A=I*e}else A=l*p;const y=60+(I-A)/2,x=r+a,M=`\n M ${c} ${r}\n L ${c+l} ${r}\n L ${y+A} ${x}\n L ${y} ${x}\n Z\n `;O.push(t("g",{children:[e("path",{d:M,fill:m,className:"c-chart__funnel-segment",style:{transition:N?`all ${v}ms cubic-bezier(0.25, 0.1, 0.25, 1) ${o*_}ms`:"none"},onClick:()=>s.onDataPointClick?.(i,0,o)}),(d||u||h)&&t("text",{x:c+l/2,y:r+a/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__funnel-label",children:[d&&i.label,u&&e("tspan",{x:c+l/2,dy:"1.2em",children:f(i.value)}),h&&t("tspan",{x:c+l/2,dy:"1.2em",children:[i.percentage.toFixed(1),"%"]})]})]},`segment-${o}`)),b&&g&&"between"===T&&O.push(t("text",{x:c+l/2,y:r+a+S/2,textAnchor:"middle",className:"c-chart__funnel-conversion",children:["↓ ",i.conversionRate.toFixed(1),"%"]},`conversion-${o}`))}))}return t(a,{children:[e("g",{children:O}),A&&l&&n[l.pointIndex]&&e(bt,{dataPoint:n[l.pointIndex],datasetLabel:"Funnel Data",datasetColor:n[l.pointIndex]?.color||o[l.pointIndex%o.length],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:r,...s})})));Rt.displayName="FunnelChart";const Ot=p(s((({value:a,min:n=0,max:i=100,config:o={},gaugeOptions:r={},onDataPointClick:s,...l},c)=>{const{startAngle:d=180,endAngle:u=0,thickness:h=.2,showNeedle:m=!0,needleColor:p="var(--atomix-brand-text-emphasis)",showValue:g=!0,valueFormatter:S=e=>e.toFixed(1),showMinMaxLabels:E=!0,showTicks:A=!0,majorTicks:N=5,minorTicks:v=4,colorZones:_=[],animate:f=!0,animationDuration:b=1e3,animationEasing:T="easeOutCubic",useGradient:C=!1,label:L="",labelPosition:I="bottom"}=r;return e(_t,{ref:c,type:"gauge",datasets:[{label:"Gauge Value",data:[{label:"Value",value:a}]}],config:o,renderContent:({scales:o,colors:r,datasets:s,handlers:l,hoveredPoint:c,toolbarState:C,config:y})=>{const x=o.width,R=C?.animationsEnabled??y?.animate??f,O=o.height,M=x/2,w=O/2,D=Math.min(x,O)/2*.9,B=-d*Math.PI/180,P=-u*Math.PI/180,k=P-B,U=Math.min(Math.max(a,n),i),G=B+(U-n)/(i-n)*k,z=(e,t,a,n,i,o)=>{const r=a*(1-o),s=e+a*Math.cos(n),l=t+a*Math.sin(n),c=e+a*Math.cos(i),d=t+a*Math.sin(i),u=e+r*Math.cos(i),h=t+r*Math.sin(i),m=e+r*Math.cos(n),p=t+r*Math.sin(n),g=Math.abs(i-n)>Math.PI?1:0,S=i>n?1:0;return`M ${s} ${l} \n A ${a} ${a} 0 ${g} ${S} ${c} ${d}\n L ${u} ${h}\n A ${r} ${r} 0 ${g} ${1-S} ${m} ${p}\n Z`},F=[];for(const t of _){const a=B+(t.from-n)/(i-n)*k,o=B+(t.to-n)/(i-n)*k;F.push(e("path",{d:z(M,w,D,a,o,h),fill:t.color},`zone-${t.from}-${t.to}`))}const V=[];if(A){for(let t=0;t<=N;t++){const a=n+t/N*(i-n),o=B+t/N*k,r=.95*D,s=.05*D,l=M+r*Math.cos(o),c=w+r*Math.sin(o),d=M+(r-s)*Math.cos(o),u=w+(r-s)*Math.sin(o);if(V.push(e("line",{x1:l,y1:c,x2:d,y2:u,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"2"},`major-tick-${t}`)),E){const n=M+(r-s-10)*Math.cos(o),i=w+(r-s-10)*Math.sin(o);V.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",fontSize:"12",fill:"var(--atomix-brand-text-emphasis)",children:a},`label-${t}`))}}for(let t=0;t<N*v;t++){const a=B+t/(N*v)*k,n=.95*D,i=.025*D,o=M+n*Math.cos(a),r=w+n*Math.sin(a),s=M+(n-i)*Math.cos(a),l=w+(n-i)*Math.sin(a);V.push(e("line",{x1:o,y1:r,x2:s,y2:l,stroke:"var(--atomix-brand-border-subtle)",strokeWidth:"1"},`minor-tick-${t}`))}}const H=m?t("g",{children:[e("line",{x1:M,y1:w,x2:M+.8*D*Math.cos(G),y2:w+.8*D*Math.sin(G),stroke:p,strokeWidth:"3",strokeLinecap:"round"}),e("circle",{cx:M,cy:w,r:"8",fill:p})]}):null,Y=g?e("text",{x:M,y:w+10,textAnchor:"middle",fontSize:"24",fontWeight:"bold",fill:"var(--atomix-primary-text-emphasis)",children:S(U)}):null,K=L?e("text",{x:M,y:"top"===I?w-.7*D:w+.7*D,textAnchor:"middle",fontSize:"16",fill:"var(--atomix-brand-text-emphasis)",children:L}):null;return t("g",{children:[e("path",{d:z(M,w,D,B,P,h),fill:"var(--atomix-secondary-bg-subtle)"}),F,e("path",{d:z(M,w,D,B,G,h),fill:"var(--atomix-brand-bg-subtle)",style:{transition:R?`all ${b}ms ${T}`:"none"}}),V,H,Y,K]})},onDataPointClick:s,...l})})));Ot.displayName="GaugeChart";const Mt={viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],plasma:["#0d0887","#5302a3","#8b0aa5","#b83289","#db5c68","#f48849","#febd2a","#f0f921"],inferno:["#000004","#1b0c41","#4b0c6b","#781c6d","#a52c60","#cf4446","#ed6925","#fb9b06","#fcffa4"],magma:["#000004","#1c1044","#4f127b","#812581","#b5367a","#e55964","#fb8761","#fec287","#fcfdbf"],blues:["var(--atomix-blue-1)","var(--atomix-blue-2)","var(--atomix-blue-3)","var(--atomix-blue-4)","var(--atomix-blue-5)","var(--atomix-blue-6)","var(--atomix-blue-7)","var(--atomix-blue-8)","var(--atomix-blue-9)"],reds:["var(--atomix-red-1)","var(--atomix-red-2)","var(--atomix-red-3)","var(--atomix-red-4)","var(--atomix-red-5)","var(--atomix-red-6)","var(--atomix-red-7)","var(--atomix-red-8)","var(--atomix-red-9)"],greens:["var(--atomix-green-1)","var(--atomix-green-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)","var(--atomix-green-7)","var(--atomix-green-8)","var(--atomix-green-9)"],github:["var(--atomix-gray-2)","var(--atomix-green-3)","var(--atomix-green-4)","var(--atomix-green-5)","var(--atomix-green-6)"]},wt=p(s((({data:n=[],config:o={},colorScale:r={scheme:"viridis",steps:9},cellConfig:s={width:40,height:40,spacing:2,borderRadius:4,showLabels:!1},showColorLegend:l=!0,showGrid:u=!0,onDataPointClick:h,...m},p)=>{const[g,S]=i(null),E=c((()=>{if(!n.length)return{matrix:[],xLabels:[],yLabels:[]};const e=Array.from(new Set(n.map((e=>e.x)))).sort(),t=Array.from(new Set(n.map((e=>e.y)))).sort(),a=[];return t.forEach((t=>{const i=[];e.forEach((e=>{const a=n.find((a=>a.x===e&&a.y===t));i.push(a||null)})),a.push(i)})),{matrix:a,xLabels:e,yLabels:t}}),[n]),A=d((e=>{if(!E.matrix.length)return"var(--atomix-secondary-bg-subtle)";let t,a=r.min,i=r.max;if(void 0===a||void 0===i){const e=n.filter((e=>void 0!==e.value)).map((e=>e.value));void 0===a&&(a=Math.min(...e)),void 0===i&&(i=Math.max(...e))}if("custom"===r.scheme&&r.colors)t=r.colors;else{const e=r.scheme;t=Mt[e]||Mt.viridis}const o=r.steps||t.length,s=i-a;if(0===s)return t[0];const l=(e-a)/s,c=Math.min(Math.floor(l*o),o-1);return t[Math.floor(c/o*(t.length-1))]}),[E,r,n]),N=[{label:"Heatmap Data",data:n.map((e=>({...e,label:e.label||`${e.x}, ${e.y}`,value:e.value})))}];return e(_t,{ref:p,type:"heatmap",datasets:N,config:o,renderContent:({scales:n,colors:i,datasets:o,handlers:c,hoveredPoint:d,toolbarState:u,config:h})=>{const{matrix:m,xLabels:p,yLabels:N}=E,v=u?.showTooltips??h?.showTooltips??!0;if(!m.length)return null;const _=s.width||40,f=s.height||40,b=s.spacing||2,T=s.borderRadius||4;p.length,N.length;return t(a,{children:[t("g",{children:[e("defs",{children:l&&(()=>{const t=Mt[r.scheme]||Mt.viridis;return t&&0!==t.length?e("linearGradient",{id:"heatmap-legend-gradient",x1:"0%",y1:"100%",x2:"0%",y2:"0%",children:t.map(((a,n)=>e("stop",{offset:n/(t.length-1)*100+"%",stopColor:a},n)))}):null})()}),m.map(((a,n)=>a.map(((a,i)=>{if(!a)return null;const o=100+i*(_+b),r=50+n*(f+b),l=A(a.value),d=g===a;return t("g",{children:[e("rect",{x:o,y:r,width:_,height:f,rx:T,ry:T,fill:l,className:"c-chart__heatmap-cell "+(d?"c-chart__heatmap-cell--hovered":""),style:{transition:"all 0.2s ease",transform:d?"scale(1.05)":"scale(1)",transformOrigin:"center"},onClick:()=>{a&&c.onDataPointClick?.({...a,label:a.label||`${a.x}, ${a.y}`,value:a.value},n,i)},onMouseEnter:e=>{S(a)},onMouseLeave:()=>S(null)}),s.showLabels&&a.label&&e("text",{x:o+_/2,y:r+f/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__heatmap-label",children:a.label})]},`cell-${n}-${i}`)})))),p.map(((t,a)=>{const n=100+a*(_+b)+_/2,i=50+m.length*(f+b)+20;return e("text",{x:n,y:i,textAnchor:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`x-label-${a}`)})),N.map(((t,a)=>e("text",{x:80,y:50+a*(f+b)+f/2,textAnchor:"end",dominantBaseline:"middle",className:"c-chart__heatmap-axis-label",children:String(t)},`y-label-${a}`))),l&&t("g",{transform:"translate(600, 100)",children:[e("rect",{x:"0",y:"0",width:"20",height:"200",fill:"url(#heatmap-legend-gradient)",stroke:"var(--atomix-border-color)",className:"c-chart__grid"}),e("text",{x:"-10",y:"-10",className:"c-chart__heatmap-legend-title",children:"Values"}),e("text",{x:"25",y:"5",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"High"}),e("text",{x:"25",y:"200",textAnchor:"start",className:"c-chart__heatmap-legend-label",children:"Low"})]})]}),v&&d&&o[d.datasetIndex]?.data?.[d.pointIndex]&&e(bt,{dataPoint:o[d.datasetIndex].data[d.pointIndex],datasetLabel:o[d.datasetIndex]?.label,datasetColor:o[d.datasetIndex]?.color||i[d.datasetIndex%i.length],position:{x:d.clientX,y:d.clientY},visible:!0})]})},onDataPointClick:h,...m})})));function Dt(e,t={}){const[a,n]=i(1),[o,r]=i({x:0,y:0}),[s,l]=i(null),u=d(((e,t)=>{const a=[];for(let n=t-1;n<e.length;n++){const i=e.slice(n-t+1,n+1).reduce(((e,t)=>e+t.value),0)/t,o=e[n];o&&a.push({label:o.label,value:i,color:"rgba(255, 255, 255, 0.5)"})}return a}),[]),h=d((e=>{const t=e.length;if(t<2)return e.map((()=>null));const a=e.reduce(((e,t,a)=>e+a),0),n=e.reduce(((e,t)=>e+t.value),0),i=(t*e.reduce(((e,t,a)=>e+a*t.value),0)-a*n)/(t*e.reduce(((e,t,a)=>e+a*a),0)-a*a),o=(n-i*a)/t;return e.map(((e,t)=>({label:e.label,value:i*t+o,color:"rgba(255, 255, 255, 0.3)"})))}),[]),m=d(((e,t=.4)=>{if(e.length<2)return"";const a=e.map(((a,n)=>{if(0===n||n===e.length-1)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const i=e[n-1],o=e[n+1];if(!i||!o)return{cp1x:a.x,cp1y:a.y,cp2x:a.x,cp2y:a.y};const r=o.x-i.x,s=o.y-i.y;return{cp1x:a.x-r*t,cp1y:a.y-s*t,cp2x:a.x+r*t,cp2y:a.y+s*t}})),n=e[0];if(!n)return"";let i=`M ${n.x},${n.y}`;for(let t=1;t<e.length;t++){const n=a[t-1],o=a[t],r=e[t];n&&o&&r&&(i+=` C ${n.cp2x},${n.cp2y} ${o.cp1x},${o.cp1y} ${r.x},${r.y}`)}return i}),[]),p=d(((e,i,o)=>{if(!t.enableZoom)return;const s=e>0?.9:1.1,l=Math.max(.1,Math.min(10,a*s));n(l);const c=l/a;r((e=>({x:i-(i-e.x)*c,y:o-(o-e.y)*c})))}),[a,t.enableZoom]),g=d(((e,a)=>{t.enablePan&&r((t=>({x:t.x+e,y:t.y+a})))}),[t.enablePan]),S=d((()=>{n(1),r({x:0,y:0})}),[]),E=d(((e,t,a,n,i,o)=>{l({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:o})}),[]),A=d((()=>{l(null)}),[]),N=c((()=>e.map((e=>{const a={...e};return t.showMovingAverages&&t.movingAveragePeriods&&(a.movingAverages=t.movingAveragePeriods.map((t=>({period:t,data:u(e.data,t)})))),t.showTrendLines&&(a.trendLine=h(e.data)),a}))),[e,t.showMovingAverages,t.movingAveragePeriods,t.showTrendLines,u,h]);return{zoomLevel:a,panOffset:o,hoveredPoint:s,processedDatasets:N,handleZoom:p,handlePan:g,resetView:S,handlePointHover:E,handlePointLeave:A,calculateMovingAverage:u,calculateTrendLine:h,generateSmoothPath:m,setZoomLevel:n,setPanOffset:r,setHoveredPoint:l}}wt.displayName="HeatmapChart";const Bt=p(s((({datasets:n=[],config:i={},lineOptions:o={},onDataPointClick:r,onRealTimeUpdate:s,onZoomChange:l,onPanChange:c,onBrushSelection:d,...u},h)=>{const m={showDataPoints:!0,lineWidth:2,pointRadius:4,smooth:!1,tension:.4,showArea:!1,fillOpacity:.3,showPointLabels:!1,...o},{processedDatasets:p,generateSmoothPath:g,calculateMovingAverage:S,handlePointHover:E,handlePointLeave:A,hoveredPoint:N}=Dt(n,m);return e(_t,{ref:h,type:"line",datasets:p,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:r,hoveredPoint:s,toolbarState:l,config:c})=>{if(!o.length)return null;const d=l?.showTooltips??c?.showTooltips??!0;return l?.animationsEnabled??c?.animate??m.smooth,t(a,{children:[o.map(((a,o)=>{const l=a.color||i[o],c=a.data?.length||0;if(0===c)return null;const d=a.data?.map(((e,t)=>({x:n.xScale(t,c),y:n.yScale(e.value)})))||[],u=m.smooth?g(d):`M ${d.map((e=>`${e.x},${e.y}`)).join(" L ")}`;return t("g",{children:[m.showArea&&e("path",{d:`${u} L ${d[d.length-1]?.x||0},${n.yScale(0)} L ${d[0]?.x||0},${n.yScale(0)} Z`,fill:l,fillOpacity:m.fillOpacity||.3,className:"c-chart__area-path"}),e("path",{d:u,stroke:l,strokeWidth:m.lineWidth||2,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",className:"c-chart__line-path"}),m.showDataPoints&&a.data?.map(((a,i)=>{const d=n.xScale(i,c),u=n.yScale(a.value),h=s?.datasetIndex===o&&s?.pointIndex===i;return t("g",{children:[e("circle",{cx:d,cy:u,r:h?1.5*m.pointRadius:m.pointRadius,fill:l,stroke:"white",strokeWidth:h?2:1,className:"c-chart__data-point "+(h?"c-chart__data-point--hovered":""),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();r.onPointHover(o,i,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:r.onPointLeave,onClick:()=>r.onDataPointClick?.(a,o,i),style:{cursor:"pointer"}}),m.showPointLabels&&e("text",{x:d,y:u-15,textAnchor:"middle",fontSize:"12",fill:l,className:"c-chart__point-label",children:a.value})]},`point-${i}`)}))]},`dataset-${o}`)})),d&&s&&o[s.datasetIndex]?.data?.[s.pointIndex]&&e(bt,{dataPoint:o[s.datasetIndex].data[s.pointIndex],datasetLabel:o[s.datasetIndex]?.label,datasetColor:o[s.datasetIndex]?.color,position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:r,interactive:!0,enableAccessibility:!0,...u})})));Bt.displayName="LineChart";const Pt=p(s((({datasets:a=[],config:n={},yAxes:i=[],xAxes:o=[],multiAxisOptions:r={},onDataPointClick:s,...l},c)=>{const{showLegend:d=!0,legendPosition:u="top",syncAxes:h=!1,axisPadding:m=20,showTooltips:p=!0,tooltipPosition:g="nearest",interpolation:S="linear",showArea:E=!1,areaOpacity:A=.3,showDataPoints:N=!0,pointRadius:v=4,spanGaps:_=!1}=r;return e(_t,{ref:c,type:"line",datasets:a,config:n,renderContent:({scales:n,colors:r,datasets:s,handlers:l,hoveredPoint:c,toolbarState:h,config:m})=>{if(!a.length)return null;const p=h?.showGrid??!0,g=60,S=n.width-120,_=n.height-120,f=i.length?i:[{id:"y-axis-1",position:"left",label:"Y Axis"}],b=o.length?o:[{id:"x-axis-1",position:"bottom",label:"X Axis"}],T={};a.forEach(((e,t)=>{const a=e.yAxisId||f[0]?.id||"y-axis-1";T[a]||(T[a]=[]),T[a].push({...e,index:t})}));const C={};Object.entries(T).forEach((([e,t])=>{const a=t.flatMap((e=>e.data.map((e=>e.value)))),n=Math.min(...a),i=Math.max(...a),o=i-n||1;C[e]={min:n,max:i,scale:_/o}}));const L=[];if(p)for(let t=0;t<=5;t++){const a=g+t/5*_;L.push(e("line",{x1:g,y1:a,x2:g+S,y2:a,className:"c-chart__grid"},`grid-${t}`))}if(a.forEach(((t,a)=>{const n=t.yAxisId||f[0]?.id||"y-axis-1",i=C[n],o=t.color||r[a%r.length],s=t.data.map(((e,a)=>({x:g+a/(t.data.length-1)*S,y:i?g+_-(e.value-i.min)*i.scale:0})));let c="";if(s.length>0&&(c=`M ${s.map((e=>`${e.x},${e.y}`)).join(" L ")}`),E&&c){const t=`${c} L ${g+S},${g+_} L 60,${g+_} Z`;L.push(e("path",{d:t,fill:o,fillOpacity:A},`area-${a}`))}L.push(e("path",{d:c,stroke:o,fill:"none",className:"c-chart__data-line"},`line-${a}`)),N&&s.forEach(((n,i)=>{const r=t.data[i];r&&L.push(e("circle",{cx:n.x,cy:n.y,r:v,fill:o,onClick:()=>l.onDataPointClick?.(r,a,i)},`point-${a}-${i}`))}))})),f.forEach((t=>{L.push(e("line",{x1:g,y1:g,x2:g,y2:g+_,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`y-axis-${t.id}`))})),b.forEach((t=>{L.push(e("line",{x1:g,y1:g+_,x2:g+S,y2:g+_,stroke:t.color||"var(--atomix-text-primary)",className:"c-chart__axis-line"},`x-axis-${t.id}`))})),d){const i="top"===u?20:n.height-30;a.forEach(((n,o)=>{const s=n.color||r[o%r.length],l=g+o*S/a.length;L.push(t("g",{children:[e("rect",{x:l,y:i,width:"12",height:"12",fill:s,className:"c-chart__legend-item-color"}),e("text",{x:l+16,y:i+10,className:"c-chart__legend-item-text",children:n.label})]},`legend-${o}`))}))}return e("g",{children:L})},onDataPointClick:s,...l})})));function kt(e,t={}){const[a,n]=i(null),[o,r]=i(new Set),[s,l]=i(0),[u,h]=i(!1),m=c((()=>{const a=e.filter((e=>"number"==typeof e.value&&!isNaN(e.value)&&isFinite(e.value)&&e.value>0));return a.length?t.sortByValue?[...a].sort(((e,t)=>t.value-e.value)):a:[]}),[e,t.sortByValue]),p=c((()=>m.reduce(((e,t)=>e+t.value),0)),[m]),g=c((()=>{if(!m.length||p<=0)return[];const e=400,a=200,n=150,i=n*(t.innerRadius||0),o=["#7AFFD7","#1AFFD2","#00E6C3","#4DFF9F","#1AFF85","#00E66B","#DD6061","#FF1A1A","#E60000","#FFCC00","#E6B800","#B38F00"];let r=(t.startAngle||0)*Math.PI/180;const s=(t.padAngle||1)*Math.PI/180;return m.map(((t,l)=>{const c=t.value/p,d=2*c*Math.PI-s,u=r+d,h=r+d/2,m=e+n*Math.cos(r),g=a+n*Math.sin(r),S=e+n*Math.cos(u),E=a+n*Math.sin(u),A=d>Math.PI?1:0;let N;if(i>0){const t=e+i*Math.cos(u),n=a+i*Math.sin(u),o=e+i*Math.cos(r),s=a+i*Math.sin(r);N=[`M ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,`L ${t},${n}`,`A ${i},${i} 0 ${A},0 ${o},${s}`,"Z"].join(" ")}else N=["M 400,200",`L ${m},${g}`,`A 150,150 0 ${A},1 ${S},${E}`,"Z"].join(" ");const v=(n+i)/2||105,_=e+v*Math.cos(h),f=a+v*Math.sin(h),b={dataPoint:t,index:l,startAngle:r,endAngle:u,midAngle:h,color:t.color||o[l%o.length],percentage:100*c,value:t.value,label:t.label,path:N,labelPosition:{x:_,y:f}};return r=u+s,b}))}),[m,p,t.innerRadius,t.startAngle,t.padAngle]),S=d((()=>{if(!t.enableAnimations)return;h(!0),l(0);const e=t.animationDuration||1e3,a=Date.now(),n=()=>{const t=Date.now()-a,i=Math.min(t/e,1),o=1-Math.pow(1-i,3);l(o),i<1?requestAnimationFrame(n):h(!1)};requestAnimationFrame(n)}),[t.enableAnimations,t.animationDuration]),E=d(((e,t,a)=>{n(e)}),[]),A=d((()=>{n(null)}),[]),N=d((e=>{t.enableSelection&&r((t=>{const a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a}))}),[t.enableSelection]),v=d((e=>{if(t.labelFormatter)return t.labelFormatter(e.value,e.percentage,e.label);const a=[];return!1!==t.showLabels&&a.push(e.label),t.showPercentages&&a.push(`${Math.round(e.percentage)}%`),t.showValues&&a.push(e.value.toString()),a.join(" - ")}),[t.labelFormatter,t.showLabels,t.showPercentages,t.showValues]),_=d(((e,a)=>{if(!a||!t.enableHoverEffects||!t.hoverOffset)return"";return`translate(${Math.cos(e.midAngle)*t.hoverOffset}, ${Math.sin(e.midAngle)*t.hoverOffset})`}),[t.enableHoverEffects,t.hoverOffset]),f=d((e=>o.has(e)),[o]);return{processedData:m,slices:g,totalValue:p,hoveredSlice:a,selectedSlices:o,animationProgress:s,isAnimating:u,handleSliceHover:E,handleSliceLeave:A,handleSliceClick:N,startAnimation:S,formatLabel:v,getSliceTransform:_,isSliceSelected:f,setHoveredSlice:n,setSelectedSlices:r,setAnimationProgress:l,setIsAnimating:h}}Pt.displayName="MultiAxisChart";const Ut=p(s((({datasets:n=[],config:i={},pieOptions:o={},onDataPointClick:r,...s},l)=>{const c=n[0]?.data||[],{slices:d,handleSliceHover:u,handleSliceLeave:h,handleSliceClick:m,formatLabel:p,hoveredSlice:g,selectedSlices:S}=kt(c,o);return e(_t,{ref:l,type:"pie",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:s,hoveredPoint:l,toolbarState:u,config:h})=>{if(!d.length)return null;const g=n.width,S=n.height,E=g/2,A=S/2,N=Math.min(g,S)/2*.8,v=d.map((e=>{const t=E+N*Math.cos(e.startAngle),a=A+N*Math.sin(e.startAngle),n=E+N*Math.cos(e.endAngle),i=A+N*Math.sin(e.endAngle),o=e.endAngle-e.startAngle>Math.PI?1:0,r=[`M ${E},${A}`,`L ${t},${a}`,`A ${N},${N} 0 ${o},1 ${n},${i}`,"Z"].join(" "),s=.7*N,l=E+s*Math.cos(e.midAngle),c=A+s*Math.sin(e.midAngle);return{...e,path:r,labelPosition:{x:l,y:c}}})),_=u?.showTooltips??h?.showTooltips??!0;return t(a,{children:[v.map(((a,n)=>{const i=l?.pointIndex===n;return t("g",{children:[e("path",{d:a.path,fill:a.color,className:"c-chart__pie-slice "+(i?"c-chart__pie-slice--hovered":""),onClick:()=>{m(n),s.onDataPointClick?.(a.dataPoint,0,n)},onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();s.onPointHover(0,n,a.labelPosition.x,a.labelPosition.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:s.onPointLeave}),o.showLabels&&e("text",{x:a.labelPosition.x,y:a.labelPosition.y,textAnchor:"middle",className:"c-chart__pie-label",children:p(a)})]},`slice-${n}`)})),_&&l&&c[l.pointIndex]&&e(bt,{dataPoint:c[l.pointIndex],datasetLabel:r[0]?.label,datasetColor:d[l.pointIndex]?.color,position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:r,...s})})));Ut.displayName="PieChart";const Gt=p(s((({datasets:n=[],config:i={},radarOptions:o={},onDataPointClick:r,...s},l)=>{const{gridLevels:c=5,showGrid:d=!0,showAxisLabels:u=!0,fillArea:h=!0,fillOpacity:m=.3,showDataPoints:p=!0,pointRadius:g=4,lineWidth:S=2,smooth:E=!1,scaleType:A="linear",scaleMin:N=0,scaleMax:v}=o;return e(_t,{ref:l,type:"radar",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:o,handlers:r,hoveredPoint:s,toolbarState:l,config:A})=>{if(!o.length)return null;const _=l?.showTooltips??A?.showTooltips??!0,f=n.width/2,b=n.height/2,T=.8*Math.min(f,b),C=o[0].data||[],L=2*Math.PI/C.length;let I=N,y=v;if(void 0===I||void 0===y){const e=o.flatMap((e=>e.data?.map((e=>e.value))||[]));void 0===I&&(I=Math.min(N,...e)),void 0===y&&(y=Math.max(v||0,...e))}const x=y-I,R=[];if(d){for(let t=1;t<=c;t++){const a=T*t/c;R.push(e("circle",{cx:f,cy:b,r:a,className:"c-chart__radar-grid-line",fill:"none",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-circle-${t}`))}for(let t=0;t<C.length;t++){const a=t*L-Math.PI/2,n=f+T*Math.cos(a),i=b+T*Math.sin(a);R.push(e("line",{x1:f,y1:b,x2:n,y2:i,className:"c-chart__radar-grid-line",stroke:"var(--atomix-border-color)",strokeWidth:"1"},`grid-radial-${t}`))}}const O=[];if(u)for(let t=0;t<C.length;t++){const a=t*L-Math.PI/2,n=f+(T+20)*Math.cos(a),i=b+(T+20)*Math.sin(a);O.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__radar-axis-label",children:C[t]?.label},`label-${t}`))}const M=o.map(((a,n)=>{const o=a.color||i[n%i.length],l=[];for(let e=0;e<a.data?.length;e++){const t=a.data[e]?.value||0,n=T*(x>0?(t-I)/x:0),i=e*L-Math.PI/2,o=f+n*Math.cos(i),r=b+n*Math.sin(i);l.push({x:o,y:r,value:t,point:a.data[e]})}if(0===l.length)return null;let c="";if(E&&l.length>2){c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}else{c=`M ${l[0].x},${l[0].y}`;for(let e=1;e<l.length;e++)c+=` L ${l[e].x},${l[e].y}`;c+=` L ${l[0].x},${l[0].y} Z`}return t("g",{children:[h&&e("path",{d:c,fill:o,fillOpacity:m,className:"c-chart__radar-area"}),e("path",{d:c,fill:"none",stroke:o,strokeWidth:S,className:"c-chart__radar-line"}),p&&l.map(((t,a)=>{const i=s?.datasetIndex===n&&s?.pointIndex===a;return e("g",{children:e("circle",{cx:t.x,cy:t.y,r:i?1.5*g:g,fill:o,className:"c-chart__radar-point "+(i?"c-chart__radar-point--hovered":""),onClick:()=>r.onDataPointClick?.(t.point,n,a),onMouseEnter:e=>{const i=e.currentTarget.getBoundingClientRect();r.onPointHover(n,a,t.x,t.y,i.left+i.width/2,i.top+i.height/2)},onMouseLeave:r.onPointLeave})},`point-${n}-${a}`)}))]},`dataset-${n}`)}));return t(a,{children:[t("g",{children:[R,M,O]}),_&&s&&e(bt,{dataPoint:o[s.datasetIndex]?.data?.[s.pointIndex],datasetLabel:o[s.datasetIndex]?.label,datasetColor:o[s.datasetIndex]?.color||i[s.datasetIndex],position:{x:s.clientX,y:s.clientY},visible:!0})]})},onDataPointClick:r,...s})})));Gt.displayName="RadarChart";const zt=p(s((({datasets:n=[],config:i={},scatterOptions:o={pointRadius:4,showLabels:!1,enableHoverEffects:!0},onDataPointClick:r,...s},l)=>e(_t,{ref:l,type:"scatter",datasets:n,config:i,renderContent:({scales:n,colors:i,datasets:r,handlers:s,hoveredPoint:l,toolbarState:c,config:d})=>{if(!r.length)return null;const u=c?.showTooltips??d?.showTooltips??!0,h=[];return r.forEach(((a,r)=>{const l=a.color||i[r%i.length];a.data?.forEach(((i,c)=>{const d=void 0!==i.x?n.padding.left+i.x/100*n.innerWidth:n.xScale(c,a.data?.length),u=void 0!==i.y?n.padding.top+n.innerHeight-i.y/100*n.innerHeight:n.yScale(i.value);h.push(t("g",{children:[e("circle",{cx:d,cy:u,r:i.size||o.pointRadius||4,fill:i.color||l,className:"c-chart__scatter-point",onClick:()=>s.onDataPointClick?.(i,r,c),onMouseEnter:e=>{if(o.enableHoverEffects){const t=Math.max(0,1.5*(i.size||o.pointRadius||4));e.currentTarget.setAttribute("r",String(t))}const t=e.currentTarget.getBoundingClientRect();s.onPointHover(r,c,d,u,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:e=>{if(o.enableHoverEffects){const t=Math.max(0,i.size||o.pointRadius||4);e.currentTarget.setAttribute("r",String(t))}s.onPointLeave()}}),o.showLabels&&i.label&&e("text",{x:d,y:u-10,textAnchor:"middle",className:"c-chart__scatter-label",children:String(i.label).replace(/[<>&"']/g,(e=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;"}[e]||e)))})]},`point-${r}-${c}`))}))})),t(a,{children:[h,u&&l&&e(bt,{dataPoint:r[l.datasetIndex]?.data?.[l.pointIndex],datasetLabel:r[l.datasetIndex]?.label,datasetColor:r[l.datasetIndex]?.color||i[l.datasetIndex],position:{x:l.clientX,y:l.clientY},visible:!0})]})},onDataPointClick:r,...s}))));zt.displayName="ScatterChart";const Ft=p(s((({data:n=[],algorithm:o="squarified",colorConfig:r={scheme:"category"},labelConfig:s={showLabels:!0,minSize:1e3,fontSize:12,textColor:"white"},onDataPointClick:l,config:u={},...h},m)=>{const[p,g]=i(null),[S,E]=i(null);i({x:0,y:0}),c((()=>{if(!n.length)return null;const e=new Map;n.forEach((t=>e.set(t.id,t)));const t=[],a=new Set,i=e=>{if(a.has(e.id))return e;a.add(e.id);const t=n.filter((t=>t.parent===e.id));return t.length>0&&(e.children=t.map((e=>i(e))),e.value=e.children.reduce(((e,t)=>e+t.value),0)),e};return n.forEach((a=>{a.parent&&e.has(a.parent)||t.push(i(a))})),1===t.length?t[0]:{id:"root",label:"Root",value:t.reduce(((e,t)=>e+t.value),0),children:t}}),[n]);const A=d(((e,t,a)=>{if(e.color)return e.color;const{scheme:i,palette:o}=r,s=o||["var(--atomix-primary)","var(--atomix-error)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-primary-5)","var(--atomix-info)","var(--atomix-success-5)","var(--atomix-warning-7)","var(--atomix-primary-3)","var(--atomix-primary-7)"];switch(i){case"category":default:return s[a%s.length];case"depth":const i=["var(--atomix-blue-9)","var(--atomix-blue-6)","var(--atomix-blue-5)","var(--atomix-blue-4)","var(--atomix-blue-2)"];return i[Math.min(t,i.length-1)];case"value":if(n.length>0){const t=Math.max(...n.map((e=>e.value))),a=Math.min(...n.map((e=>e.value))),i=(e.value-a)/(t-a);return`hsl(${220+100*i}, 70%, ${30+40*i}%)`}return s[0]}}),[r,n]),N=d(((e,t,a,n,i)=>{if(0===e.length)return;const o=e.reduce(((e,t)=>e+t.value),0);if(1===e.length){const o=e[0];return void(o&&(o.x=t,o.y=a,o.width=n,o.height=i))}const r=[...e].sort(((e,t)=>t.value-e.value)),s=e=>Math.max(e.width/e.height,e.height/e.width);let l=[],c=[...r],d=t,u=a,h=n,m=i;for(;c.length>0;){const e=c.shift();if(!e)break;l.push(e);const t=l.reduce(((e,t)=>e+t.value),0),a=t/o;let n,i;h>=m?(n=h*a,i=m):(n=h,i=m*a);let r=!1;if(c.length>0){const e=c[0];if(!e)break;const a=[...l,e],d=a.reduce(((e,t)=>e+t.value),0),u=d/o;let p,g;h>=m?(p=h*u,g=m):(p=h,g=m*u);const S=Math.max(...l.filter((e=>e)).map((e=>{const a=e.value/t;return s({width:h>=m?n:n*a,height:h>=m?i*a:i})})));r=Math.max(...a.filter((e=>e)).map((e=>{const t=e.value/d;return s({width:h>=m?p:p*t,height:h>=m?g*t:g})})))<=S}if(!r){let e=d,a=u;l.forEach((o=>{const r=o.value/t;h>=m?(o.x=e,o.y=a,o.width=n,o.height=m*r,a+=o.height):(o.x=e,o.y=a,o.width=h*r,o.height=i,e+=o.width)})),h>=m?(d+=n,h-=n):(u+=i,m-=i),l=[]}}}),[]);return e(_t,{ref:m,type:"treemap",datasets:[{label:"Treemap Data",data:n}],config:u,renderContent:({scales:i,colors:r,datasets:l,handlers:c,hoveredPoint:d})=>{if(!n.length)return null;const u=i.width-40,h=i.height-40,m=n.filter((e=>!e.children||0===e.children.length));if(!m.length)return null;const v=m.reduce(((e,t)=>e+t.value),0),_=m.map(((e,t)=>({id:e.id,label:e.label,value:e.value,color:A(e,0,t)||"transparent",x:0,y:0,width:0,height:0,depth:0,children:[],originalData:e})));if("squarified"===o&&v>0)N(_,20,20,u,h);else{const e=Math.ceil(Math.sqrt(m.length)),t=Math.ceil(m.length/e),a=u/e,n=h/t;_.forEach(((t,i)=>{const o=i%e,r=Math.floor(i/e);t.x=20+o*a,t.y=20+r*n,t.width=a,t.height=n}))}return e(a,{children:_.map((a=>{const n=p===a,i=S===a,o=a.width*a.height,r=s.showLabels&&o>=(s.minSize||1e3);return t("g",{children:[e("rect",{x:a.x,y:a.y,width:a.width,height:a.height,fill:a.color,className:`c-chart__treemap-node ${n?"c-chart__treemap-node--hovered":""} ${i?"c-chart__treemap-node--selected":""}`,onClick:()=>{E(a),c.onDataPointClick?.(a.originalData,0,0)},onMouseEnter:e=>{g(a);const t=e.currentTarget.getBoundingClientRect();c.onPointHover(0,0,a.x,a.y,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:()=>{g(null),c.onPointLeave()}}),r&&e("text",{x:a.x+a.width/2,y:a.y+a.height/2,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__treemap-label",style:{fontSize:s.fontSize,fill:s.textColor},children:a.label})]},a.id)}))})},onDataPointClick:l,interactive:!0,...h})})));Ft.displayName="TreemapChart";const Vt=p(s((({waterfallData:t=[],config:a={},waterfallOptions:n={},onDataPointClick:i,...o},r)=>{const{showConnectors:s=!0,connectorColor:l="var(--atomix-gray-1)",connectorStyle:c="dashed",showValues:d=!0,valuePosition:u="top",colors:h={positive:"var(--atomix-success)",negative:"var(--atomix-error)",total:"var(--atomix-primary)",subtotal:"var(--atomix-secondary)"},barWidth:m=.6,showCumulativeLine:p=!1,cumulativeLineColor:g="var(--atomix-primary)",animate:S=!0,animationDuration:E=1e3,animationDelay:A=100,valueFormatter:N=e=>e.toLocaleString(),showBaseline:v=!0,baselineColor:_="var(--atomix-gray-2)"}=n;return e(_t,{ref:r,type:"waterfall",datasets:[{label:"Waterfall Data",data:t}],config:a,renderContent:({scales:a,colors:n,datasets:i,handlers:o,hoveredPoint:r,toolbarState:E,config:f})=>{if(!t.length)return null;const b=E?.animationsEnabled??f?.animate??S,T=60,C=a.width-120,L=a.height-120;let I=0;const y=t.map(((e,t)=>{const a="total"===e.type||"subtotal"===e.type?0:I;let n;return"total"===e.type||"subtotal"===e.type?(n=e.value,I=e.value):(n=I+e.value,I=n),{...e,startValue:a,endValue:n,cumulativeValue:I,index:t}})),x=y.flatMap((e=>[e.startValue,e.endValue])),R=Math.min(0,...x),O=Math.max(...x)-R,M=C/t.length*m,w=C/t.length,D=e=>T+e*w+w/2,B=e=>T+L-(e-R)/O*L,P=[];if(v){const t=B(0);P.push(e("line",{x1:T,y1:t,x2:a.width-T,y2:t,stroke:_,className:"c-chart__axis-line",opacity:"0.7"},"baseline"))}if(y.forEach(((t,a)=>{const n=D(a),i=Math.min(B(t.startValue),B(t.endValue)),r=Math.max(B(t.startValue),B(t.endValue)),m=r-i;let p=t.color;if(p||(p="total"===t.type?h.total:"subtotal"===t.type?h.subtotal:t.value>=0?h.positive:h.negative),P.push(e("rect",{x:n-M/2,y:i,width:M,height:Math.max(m,2),fill:p,className:"c-chart__waterfall-bar "+(b?"c-chart__waterfall-bar--animated":""),style:{animationDelay:b?a*A+"ms":"0ms"},onClick:()=>o.onDataPointClick?.(t,0,a),onMouseEnter:e=>{const t=e.currentTarget.getBoundingClientRect();o.onPointHover(0,a,n,i,t.left+t.width/2,t.top+t.height/2)},onMouseLeave:o.onPointLeave},`bar-${a}`)),d){let o=i,s=t.value;o="center"===u?i+m/2:"bottom"===u?r+15:i-5,"total"!==t.type&&"subtotal"!==t.type||(s=t.endValue),P.push(e("text",{x:n,y:o,textAnchor:"middle",dominantBaseline:"center"===u?"middle":"auto",className:"c-chart__waterfall-value "+("center"===u?"c-chart__waterfall-value--center":"c-chart__waterfall-value--outside"),children:N(s)},`value-${a}`))}if(s&&a<y.length-1){const i=y[a+1];if(i){const o=B(t.endValue),r=B(i.startValue),s=D(a+1);if(Math.abs(t.endValue-i.startValue)>.01){const t="dashed"===c?"5,5":"dotted"===c?"2,2":"none";P.push(e("line",{x1:n+M/2,y1:o,x2:s-M/2,y2:r,stroke:l,strokeDasharray:t,className:"c-chart__waterfall-connector"},`connector-${a}`))}}}})),p){const t=y.map(((e,t)=>({x:D(t),y:B(e.cumulativeValue)}))),a=`M ${t.map((e=>`${e.x},${e.y}`)).join(" L ")}`;P.push(e("path",{d:a,fill:"none",stroke:g,className:"c-chart__waterfall-cumulative-line"},"cumulative-line")),t.forEach(((t,a)=>{P.push(e("circle",{cx:t.x,cy:t.y,r:"4",fill:g,className:"c-chart__waterfall-cumulative-point"},`line-point-${a}`))}))}return P.push(e("line",{x1:T,y1:a.height-T,x2:a.width-T,y2:a.height-T,stroke:"var(--atomix-gray-4)",strokeWidth:"2"},"x-axis")),P.push(e("line",{x1:T,y1:T,x2:T,y2:a.height-T,stroke:"var(--atomix-gray-4)",className:"c-chart__axis-line"},"y-axis")),y.forEach(((t,n)=>{const i=T+n*w+w/2;P.push(e("text",{x:i,y:a.height-T+20,textAnchor:"middle",className:"c-chart__axis-label",fill:"var(--atomix-gray-6)",transform:`rotate(-45, ${i}, ${a.height-T+20})`,children:t.label},`x-label-${n}`))})),e("g",{children:P})},onDataPointClick:i,...o})})));Vt.displayName="WaterfallChart";const Ht=({className:t="",style:a})=>{const[n,o]=i("light");r((()=>{const e=localStorage.getItem("atomix-color-mode");"light"===e||"dark"===e?o(e):window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&o("dark")}),[]),r((()=>{const e="dark"===n?"dark":"light";document.body.setAttribute("data-atomix-color-mode",e),localStorage.setItem("atomix-color-mode",e)}),[n]),r((()=>{const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{localStorage.getItem("atomix-color-mode")||o(e.matches?"dark":"light")};return e.addEventListener?e.addEventListener("change",t):e.addListener(t),()=>{e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}}),[]);return e("button",{className:`c-color-mode-toggle ${t}`,onClick:()=>{o((e=>"light"===e?"dark":"light"))},"aria-label":`Switch to ${"light"===n?"dark":"light"} mode`,title:`Switch to ${"light"===n?"dark":"light"} mode`,style:a,children:e("svg","light"===n?{viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",children:e("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49zM12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"})}:{viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",children:e("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06z"})})})};Ht.displayName="ColorModeToggle";const Yt=s((({target:a,show:o=["days","hours","minutes","seconds"],separator:s=":",focused:l=!1,className:c="",style:d,onComplete:u},h)=>{const m="string"==typeof a?new Date(a):a,[p,g]=i((()=>new Date)),[S,E]=i(!1);r((()=>{if(S)return;const e=setInterval((()=>{g(new Date)}),1e3);return()=>clearInterval(e)}),[S]);const A=m.getTime()-p.getTime(),{days:N,hours:v,minutes:_,seconds:f}=function(e){const t=Math.max(0,Math.floor(e/1e3));return{days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60),seconds:t%60}}(A);r((()=>{A<=0&&!S&&(E(!0),u&&u())}),[A,S,u]);const b=[];return o.includes("days")&&b.push({label:"Days",value:N}),o.includes("hours")&&b.push({label:"Hours",value:v}),o.includes("minutes")&&b.push({label:"Minutes",value:_}),o.includes("seconds")&&b.push({label:"Seconds",value:f}),e("div",{ref:h,className:`c-countdown${l?" c-countdown--focused":""} ${c}`.trim(),style:d,children:b.map(((a,i)=>t(n.Fragment,{children:[t("div",{className:"c-countdown__time",children:[e("span",{className:"c-countdown__time-count",children:String(a.value).padStart(2,"0")}),e("span",{className:"c-countdown__time-label",children:a.label})]}),i<b.length-1&&e("span",{className:"c-countdown__separator",children:s})]},a.label)))})}));function Kt({data:e=[],columns:t=[],sortable:a=!1,paginated:n=!1,pageSize:o=10,onSort:s,initialSortConfig:l}){const[u,h]=i(l||null),[m,p]=i(1),[g,S]=i(""),E=d((e=>{if(!a)return;let t="asc";u&&u.key===e&&"asc"===u.direction&&(t="desc");const n={key:e,direction:t};h(n),s&&s(n)}),[a,u,s]),A=d((t=>{t<1||t>Math.ceil(e.length/o)||p(t)}),[e.length,o]),N=d((e=>{S(e),p(1)}),[]),v=c((()=>{if(!g)return e;const a=g.toLowerCase();return e.filter((e=>t.some((t=>{const n=e[t.key];return null!=n&&String(n).toLowerCase().includes(a)}))))}),[e,t,g]),_=c((()=>u&&a?[...v].sort(((e,t)=>{const a=e[u.key],n=t[u.key];return null==a?"asc"===u.direction?-1:1:null==n?"asc"===u.direction?1:-1:"string"==typeof a&&"string"==typeof n?"asc"===u.direction?a.localeCompare(n):n.localeCompare(a):"asc"===u.direction?a>n?1:-1:a>n?-1:1})):v),[v,u,a]),f=c((()=>{if(!n)return _;const e=(m-1)*o;return _.slice(e,e+o)}),[_,n,m,o]),b=c((()=>n?Math.max(1,Math.ceil(_.length/o)):1),[_.length,n,o]);return r((()=>{p(1)}),[e]),r((()=>{m>b&&p(Math.max(1,b))}),[m,b]),{displayData:f,sortConfig:u,currentPage:m,totalPages:b,handleSort:E,handlePageChange:A,handleSearch:N}}function Wt(e){const t={variant:"primary",size:"md",fullscreen:!1,...e};return{defaultProps:t,generateSpinnerClass:e=>{const{variant:a=t.variant,size:n=t.size,fullscreen:i=t.fullscreen,className:o=""}=e,r="c-spinner";return`${r} ${a?`${r}--${a}`:""} ${"md"!==n?`${r}--${n}`:""} ${i?`${r}--fullscreen`:""} ${o}`.trim()}}}Yt.displayName="Countdown";const Qt=({size:t="md",variant:a="primary",fullscreen:n=!1,className:i="",style:o,glass:r})=>{const{generateSpinnerClass:s}=Wt({size:t,variant:a,fullscreen:n}),l=s({size:t,variant:a,fullscreen:n,className:`${i} ${r?"c-spinner--glass":""}`.trim()}),c=e("div",{className:l,style:o,role:"status",children:e("span",{className:H.VISUALLY_HIDDEN,children:"Loading..."})});if(r){const t={displacementScale:20,blurAmount:1,cornerRadius:999,mode:"shader"},a=!0===r?t:{...t,...r};return e(je,{...a,children:c})}return c};Qt.displayName="Spinner";const $t="...",Zt=(e,t)=>{const a=t-e+1;return Array.from({length:a},((t,a)=>a+e))},qt=({currentPage:e,totalPages:t,siblingCount:a=1,onPageChange:n})=>{const i=c((()=>{if(a+5>=t)return Zt(1,t);const n=Math.max(e-a,1),i=Math.min(e+a,t),o=n>2,r=i<t-2,s=t;if(!o&&r){return[...Zt(1,3+2*a),$t,t]}if(o&&!r){let e=Zt(t-(3+2*a)+1,t);return[1,$t,...e]}if(o&&r){let e=Zt(n,i);return[1,$t,...e,$t,s]}return[]}),[t,a,e]),o=a=>{a>=1&&a<=t&&a!==e&&n(a)};return{paginationRange:i,currentPage:e,totalPages:t,goToPage:o,nextPage:()=>{o(e+1)},prevPage:()=>{o(e-1)},firstPage:()=>{o(1)},lastPage:()=>{o(t)},DOTS:$t}},Xt=({type:t,onClick:a,disabled:n,label:i,iconName:o})=>e("li",{className:`c-pagination__item c-pagination__item--${t} ${n?"is-disabled":""}`,"aria-disabled":n,children:e("button",{type:"button",className:"c-pagination__link",onClick:a,disabled:n,"aria-label":i,children:e(at,{name:o,size:"sm","aria-hidden":"true"})})}),jt=({currentPage:a=j.currentPage,totalPages:n=j.totalPages,onPageChange:i,siblingCount:o=j.siblingCount,showFirstLastButtons:r=j.showFirstLastButtons,showPrevNextButtons:s=j.showPrevNextButtons,size:l=j.size,className:c="",style:d,ariaLabel:u="Pagination",glass:h})=>{const{paginationRange:m,goToPage:p,nextPage:g,prevPage:S,firstPage:E,lastPage:A}=qt({currentPage:a,totalPages:n,siblingCount:o,onPageChange:i});if(0===a||m.length<2)return null;const N=e("nav",{className:`c-pagination c-pagination--${l} ${c}`,style:d,"aria-label":u,children:t("ul",{className:"c-pagination__items",children:[r&&e(Xt,{type:"first",onClick:E,disabled:1===a,label:"Go to first page",iconName:"SkipBack"}),s&&e(Xt,{type:"prev",onClick:S,disabled:1===a,label:"Go to previous page",iconName:"CaretLeft"}),m.map(((t,n)=>{if(t===$t)return e("li",{className:"c-pagination__item c-pagination__item--dots","aria-hidden":"true",children:"…"},`dots-${n}`);const i=t===a;return e("li",{className:"c-pagination__item "+(i?"is-active":""),"aria-current":i?"page":void 0,children:e("button",{type:"button",className:"c-pagination__link",onClick:()=>p(t),"aria-label":`Page ${t}`,"aria-current":i?"page":void 0,children:t})},t)})),s&&e(Xt,{type:"next",onClick:g,disabled:a===n,label:"Go to next page",iconName:"CaretRight"}),r&&e(Xt,{type:"last",onClick:A,disabled:a===n,label:"Go to last page",iconName:"SkipForward"})]})});if(h){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===h?t:{...t,...h};return e(je,{...a,children:N})}return N};jt.displayName="Pagination";const Jt=({data:a,columns:n,className:i,style:r,sortable:s=!1,filterable:l=!1,paginated:c=!1,pageSize:d=10,striped:u=!1,bordered:h=!1,dense:m=!1,loading:p=!1,emptyMessage:g="No data available",onRowClick:S,onSort:E,...A})=>{const N=o(null),{displayData:v,sortConfig:_,currentPage:f,totalPages:b,handleSort:T,handlePageChange:C,handleSearch:L}=Kt({data:a,columns:n,sortable:s,paginated:c,pageSize:d,onSort:E}),I=[X.base,u&&X.striped,h&&X.bordered,m&&X.dense,p&&X.loading,i].filter(Boolean).join(" ");return t("div",{className:X.container,style:r,...A,children:[l?e("div",{className:X.toolbar,children:e("div",{className:X.search,children:e("input",{type:"text",placeholder:"Search...",className:`${X.searchInput} c-input`,onChange:e=>L(e.target.value),"aria-label":"Search table"})})}):null,e("div",{className:X.tableWrapper,children:t("table",{ref:N,className:I,children:[e("thead",{className:X.header,children:e("tr",{children:n.map(((a,n)=>e("th",{className:`${X.headerCell} ${!1!==a.sortable&&s?X.sortable:""}`,onClick:()=>!1!==a.sortable&&s?T(a.key):null,"aria-sort":_?.key===a.key?"asc"===_.direction?"ascending":"descending":void 0,children:t("div",{className:X.headerContent,children:[e("span",{children:a.title}),!1!==a.sortable&&s&&e("span",{className:X.sortIcon,children:_?.key===a.key?"asc"===_.direction?e(at,{name:"CaretUp",size:"sm"}):e(at,{name:"CaretDown",size:"sm"}):null})]})},`header-${n}`)))})}),p?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:X.loadingCell,children:e("div",{className:X.loadingIndicator,children:e(Qt,{size:"md",variant:"primary"})})})})}):0===v.length?e("tbody",{children:e("tr",{children:e("td",{colSpan:n.length,className:X.emptyCell,children:g})})}):e("tbody",{children:v.map(((t,a)=>e("tr",{className:X.row,onClick:S?()=>S(t):void 0,tabIndex:S?0:void 0,role:S?"button":void 0,children:n.map(((n,i)=>e("td",{className:X.cell,children:n.render?n.render(t[n.key],t):t[n.key]},`cell-${a}-${i}`)))},`row-${a}`)))})]})}),!c||b<=1?null:e("div",{className:X.pagination,children:e(jt,{currentPage:f,totalPages:b,onPageChange:C,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"sm",ariaLabel:"Data table pagination",className:"c-data-table__pagination"})})]})};function ea(e){const t=new Date;return t.setMonth(e),t.toLocaleString("default",{month:"long"})}function ta(e,t){return new Date(e,t+1,0).getDate()}function aa(e,t){if(!e)return"";const a=e.getDate(),n=e.getMonth()+1,i=e.getFullYear();return t.replace("yyyy",i.toString()).replace("MM",n.toString().padStart(2,"0")).replace("M",n.toString()).replace("dd",a.toString().padStart(2,"0")).replace("d",a.toString())}function na({value:e,onChange:t,selectionMode:a="single",startDate:n,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:u,maxDate:h,inline:m=!1}={}){const[p,g]=i(m),[S,E]=i(e?aa(e,c):""),[A,N]=i(n&&s?`${aa(n,c)} - ${aa(s,c)}`:n?`${aa(n,c)} - Select end date`:""),[v,_]=i(e||n||new Date),[f,b]=i("days"),[T,C]=i(!n||n&&s?"start":"end"),L=o(null),I=o(null),y=new Date,x=v.getMonth(),R=v.getFullYear(),O=ta(R,x),M=new Date(R,x,1).getDay();r((()=>{"single"===a?E(e?aa(e,c):""):(N(n&&s?`${aa(n,c)} - ${aa(s,c)}`:n?`${aa(n,c)} - Select end date`:""),C(!n||n&&s?"start":"end"))}),[e,n,s,c,a]);const w=d((e=>{const i=new Date(R,x,e);if(!(u&&i<u||h&&i>h))if("single"===a)t&&t(i),E(aa(i,c)),m||g(!1);else if("start"===T)l&&l({startDate:i,endDate:null}),N(`${aa(i,c)} - Select end date`),C("end");else{if(!n)return;i<n?(l&&l({startDate:i,endDate:n}),N(`${aa(i,c)} - ${aa(n,c)}`)):(l&&l({startDate:n,endDate:i}),N(`${aa(n,c)} - ${aa(i,c)}`)),m||g(!1),C("start")}}),[R,x,u,h,t,l,c,m,a,T,n]),D=d((()=>{_(new Date(R,x-1,1))}),[R,x]),B=d((()=>{_(new Date(R,x+1,1))}),[R,x]),P=d((()=>{_(new Date(R-1,x,1))}),[R,x]),k=d((()=>{_(new Date(R+1,x,1))}),[R,x]),U=d((()=>{b("months")}),[]),G=d((()=>{b("years")}),[]),z=d((e=>{_(new Date(R,e,1)),b("days")}),[R]),F=d((e=>{_(new Date(e,x,1)),b("months")}),[x]),V=d((()=>{const e=new Date;_(e),"single"===a?w(e.getDate()):_(new Date)}),[w,a]),H=d((()=>{"single"===a?(E(""),t&&t(null)):(N(""),C("start"),l&&l({startDate:null,endDate:null}))}),[t,l,a]),Y=d((e=>{if("single"===a){E(e.target.value);const a=new Date(e.target.value);isNaN(a.getTime())||(t&&t(a),_(a))}else{N(e.target.value);const t=e.target.value.split("-");if(2===t.length){const e=t[0]?.trim(),a=t[1]?.trim();if(!e||!a)return;const n=new Date(e);if(isNaN(n.getTime())||_(n),e&&a){const t=new Date(e),n=new Date(a);isNaN(t.getTime())||isNaN(n.getTime())||l&&l({startDate:t,endDate:n})}}}}),[t,l,a]),K=d((()=>{m||g(!0)}),[m]),W=d((e=>{L.current&&!L.current.contains(e.target)&&I.current&&!I.current.contains(e.target)&&g(!1)}),[]);r((()=>(p&&!m?document.addEventListener("mousedown",W):document.removeEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)})),[p,W,m]);const Q=d((()=>{const e=[],t=ta(0===x?R-1:R,0===x?11:x-1);for(let a=M-1;a>=0;a--)e.push({day:t-a,month:0===x?11:x-1,year:0===x?R-1:R,isCurrentMonth:!1});for(let t=1;t<=O;t++)e.push({day:t,month:x,year:R,isCurrentMonth:!0});const a=42-e.length;for(let t=1;t<=a;t++)e.push({day:t,month:11===x?0:x+1,year:11===x?R+1:R,isCurrentMonth:!1});return e}),[O,M,x,R]),$=d((()=>{const e=[];for(let t=0;t<12;t++)e.push({month:t,name:ea(t)});return e}),[]),Z=d((()=>{const e=[],t=R-6;for(let a=0;a<12;a++)e.push(t+a);return e}),[R]),q=d(((e,t,a)=>function(e,t,a){return!(!e||t&&e<t||a&&e>a)}(new Date(e,t,a),u,h)),[u,h]),X=d(((t,i,o)=>{if("single"===a)return!!e&&(e.getFullYear()===t&&e.getMonth()===i&&e.getDate()===o);if(!n&&!s)return!1;if(n&&!s)return n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===o;if(n&&s){const e=n.getFullYear()===t&&n.getMonth()===i&&n.getDate()===o,a=s.getFullYear()===t&&s.getMonth()===i&&s.getDate()===o;return e||a}return!1}),[e,a,n,s]),j=d(((e,t,i)=>{if("range"!==a||!n||!s)return!1;const o=new Date(e,t,i);return o>n&&o<s}),[a,n,s]),J=d(((e,t,a)=>y.getFullYear()===e&&y.getMonth()===t&&y.getDate()===a),[y]),ee=d((e=>{const t=new Date(e.valueOf()),a=(e.getDay()+6)%7;t.setDate(t.getDate()-a+3);const n=t.valueOf();return t.setMonth(0,1),4!==t.getDay()&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((n-t.valueOf())/6048e5)}),[]);return{isOpen:p,inputValue:S,rangeInputValue:A,viewDate:v,viewMode:f,currentMonth:x,currentYear:R,selectionMode:a,rangeSelectionState:T,datePickerRef:L,inputRef:I,startDate:n,endDate:s,setIsOpen:g,handleDateSelect:w,handlePrevMonth:D,handleNextMonth:B,handlePrevYear:P,handleNextYear:k,handleTodayClick:V,handleClear:H,handleInputChange:Y,handleInputFocus:K,switchToMonthView:U,switchToYearView:G,selectMonth:z,selectYear:F,generateDays:Q,generateMonths:$,generateYears:Z,isDateSelectable:q,isDateSelected:X,isDateInSelectedRange:j,isToday:J,getWeekNumber:ee}}Jt.displayName="DataTable";const ia=s((({value:n,onChange:i,selectionMode:o="single",startDate:r,endDate:s,onRangeChange:l,format:c="MM/dd/yyyy",minDate:d,maxDate:u,placeholder:h="Select date...",disabled:m=!1,readOnly:p=!1,clearable:g=!0,showTodayButton:S=!0,showWeekNumbers:A=!1,inline:N=!1,id:v,name:_,className:f="",placement:b="bottom-start",inputClassName:T="",size:C="md",style:L,glass:I,...y},x)=>{const{isOpen:R,inputValue:O,rangeInputValue:M,viewMode:w,currentMonth:D,currentYear:B,selectionMode:P,rangeSelectionState:k,datePickerRef:U,inputRef:G,startDate:z,endDate:F,setIsOpen:V,handleInputChange:H,handleInputFocus:Y,handleClear:K,handleDateSelect:W,handleTodayClick:Q,handlePrevMonth:$,handleNextMonth:Z,handlePrevYear:q,handleNextYear:X,switchToMonthView:j,switchToYearView:J,selectMonth:ee,selectYear:te,generateDays:ae,generateMonths:ne,generateYears:ie,isDateSelectable:oe,isDateSelected:re,isDateInSelectedRange:se,isToday:le,getWeekNumber:ce}=na({value:n,onChange:i,selectionMode:o,startDate:r,endDate:s,onRangeChange:l,minDate:d,maxDate:u,format:c,inline:N});E(x,(()=>({open:()=>V(!0),close:()=>V(!1),clear:K,focus:()=>G.current?.focus()})));const de=`c-datepicker ${f} ${N?"c-datepicker--inline":""}`.trim(),ue=`c-datepicker__input c-input c-input--${C} ${T}`.trim(),he=v||`datepicker-${Math.random().toString(36).substring(2,9)}`,me=`${he}-calendar`,pe="single"===o?O:M,ge=e=>["January","February","March","April","May","June","July","August","September","October","November","December"][e]||"",Se=()=>{},Ee=()=>{},Ae=()=>{},Ne=()=>t(a,{children:[t("div",{className:"c-datepicker__header",children:["days"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(at,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-month",onClick:$,"aria-label":"Previous month",children:e(at,{name:"CaretLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:j,"aria-label":`${ge(D)} ${B}`,children:[ge(D)," ",B]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-month",onClick:Z,"aria-label":"Next month",children:e(at,{name:"CaretRight",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(at,{name:"CaretDoubleRight",size:"sm"})})]}),"months"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-year",onClick:q,"aria-label":"Previous year",children:e(at,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__view-switch",onClick:J,"aria-label":`Year ${B}`,children:B}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:X,"aria-label":"Next year",children:e(at,{name:"CaretDoubleRight",size:"sm"})})]}),"years"===w&&t(a,{children:[e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-decade",onClick:Se,"aria-label":"Previous decade",children:e(at,{name:"CaretDoubleLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:Ae,children:[ie()[0]," - ",ie()[ie().length-1]]}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-decade",onClick:Ee,"aria-label":"Next decade",children:e(at,{name:"CaretDoubleRight",size:"sm"})})]})]}),t("div",{className:"c-datepicker__body",children:["days"===w&&t(a,{children:[t("div",{className:"c-datepicker__weekdays"+(A?" c-datepicker__weekdays--has-weeknumber":""),role:"row",children:[A&&e("div",{className:"c-datepicker__weekday",children:"Wk"}),["Su","Mo","Tu","We","Th","Fr","Sa"].map((t=>e("div",{className:"c-datepicker__weekday",role:"columnheader",children:t},t)))]}),e("div",{className:"c-datepicker__days"+(A?" c-datepicker__days--has-weeknumber":""),role:"grid",children:(()=>{const t=[],a=ae();for(let n=0;n<a.length;n++){const i=a[n];if(!i)continue;const o=new Date(i.year,i.month,i.day),r=oe(i.year,i.month,i.day),s=re(i.year,i.month,i.day),l=le(i.year,i.month,i.day),c=se(i.year,i.month,i.day);if(A&&n%7==0){const a=ce(o);t.push(e("div",{className:"c-datepicker__weeknumber",role:"rowheader",children:a},`weeknumber-${Math.floor(n/7)}`))}t.push(e("button",{type:"button",className:`c-datepicker__day\n ${i.isCurrentMonth?"":"c-datepicker__day--outside"}\n ${s?"c-datepicker__day--selected":""}\n ${c?"c-datepicker__day--in-range":""}\n ${l?"c-datepicker__day--today":""}\n ${r?"":"c-datepicker__day--disabled"}`,onClick:()=>r&&W(i.day),disabled:!r,tabIndex:i.isCurrentMonth?0:-1,"aria-label":o.toLocaleDateString(),"aria-selected":s?"true":"false",role:"gridcell",children:i.day},`day-${n}`))}return t})()})]}),"months"===w&&e("div",{className:"c-datepicker__months",role:"grid",children:ne().map(((t,a)=>{const i=n&&n.getMonth()===t.month&&n.getFullYear()===B;return e("button",{type:"button",className:"c-datepicker__month "+(i?"c-datepicker__month--selected":""),onClick:()=>ee(t.month),"aria-selected":i?"true":"false",role:"gridcell",children:t.name.substring(0,3)},`month-${a}`)}))}),"years"===w&&e("div",{className:"c-datepicker__years",role:"grid",children:ie().map(((t,a)=>{const i=n&&n.getFullYear()===t;return e("button",{type:"button",className:"c-datepicker__year "+(i?"c-datepicker__year--selected":""),onClick:()=>te(t),"aria-selected":i?"true":"false",role:"gridcell",children:t},`year-${a}`)}))})]}),"days"===w&&t("div",{className:"c-datepicker__footer",children:["range"===o&&t("div",{className:"c-datepicker__range-status c-badge c-badge--sm c-badge--info u-w-100",children:["Selecting ","start"===k?"start":"end"," date"]}),S&&e("button",{type:"button",className:"c-datepicker__today-button c-btn c-btn--sm c-btn--outline-primary",onClick:Q,"aria-label":"Go to today",children:"Today"}),!N&&e("button",{type:"button",className:"c-datepicker__close-button c-btn c-btn--sm c-btn--outline-error",onClick:()=>V(!1),"aria-label":"Close calendar",children:"Close"})]})]});return t("div",{className:de,ref:U,style:L,...y,children:[!N&&t("div",{className:"c-datepicker__input-wrapper",children:[e("input",{id:he,name:_,ref:G,type:"text",className:ue,placeholder:"single"===o?h:"start"===k?"Select start date...":z?`${aa(z,c)} - Select end date...`:"Select date range...",value:pe,onChange:H,onFocus:Y,disabled:m,readOnly:p,"aria-haspopup":"dialog","aria-expanded":R,"aria-controls":me}),g&&pe&&e("button",{type:"button",className:"c-datepicker__clear-button",onClick:K,"aria-label":"Clear date",children:e(at,{name:"X",size:"sm"})}),e("span",{className:"c-datepicker__calendar-icon","aria-hidden":"true",children:e(at,{name:"Calendar",size:"sm",color:"var(--atomix-secondary-text-emphasis)"})})]}),(R||N)&&e(a,{children:e("div",I?{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b} c-datepicker__calendar--glass`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:e(je,{...!0===I?{displacementScale:20}:I,children:e("div",{className:"c-datepicker__glass-content",children:Ne()})})}:{id:me,className:`c-datepicker__calendar c-datepicker__calendar--${b}`,role:"dialog","aria-modal":N?void 0:"true","aria-label":"Date picker",children:Ne()})})]})}));ia.displayName="DatePicker";const oa=g({isOpen:!1,close:()=>{},id:"",trigger:"click"}),ra=({children:a,menu:n,placement:s="bottom-start",trigger:l="click",offset:c=ue.DEFAULTS.OFFSET,isOpen:u,onOpenChange:h,closeOnClickOutside:m=!0,closeOnEscape:p=!0,maxHeight:g,minWidth:S=ue.DEFAULTS.MIN_WIDTH,variant:E,className:A="",style:N,glass:v,..._})=>{const[f,b]=i(!1),T=void 0!==u,C=T?u:f,L=o(null),I=o(null),y=o(null),x=o(`dropdown-${Math.random().toString(36).substring(2,9)}`).current,R=d((e=>{T||b(e),h&&h(e)}),[T,h]),O=d((()=>R(!C)),[C,R]),M=d((()=>{R(!1),setTimeout((()=>{I.current?.focus()}),0)}),[R]);r((()=>{if(!C||!m)return;const e=e=>{L.current&&!L.current.contains(e.target)&&M()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[C,m,M]),r((()=>{if(!C||!p)return;const e=e=>{"Escape"===e.key&&M()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[C,p,M]);const w=d((e=>{if(!y.current)return;const t=y.current.querySelectorAll('[role="menuitem"]:not([disabled])');if(!t.length)return;const a=Array.from(t).findIndex((e=>e===document.activeElement));switch(e.key){case"ArrowDown":e.preventDefault(),a<t.length-1?t[a+1]?.focus():t[0]?.focus();break;case"ArrowUp":e.preventDefault(),a>0?t[a-1]?.focus():t[t.length-1]?.focus();break;case"Home":e.preventDefault(),t[0]?.focus();break;case"End":e.preventDefault(),t[t.length-1]?.focus()}}),[]),D=d((e=>{"click"===l&&(e.preventDefault(),e.stopPropagation(),O())}),[l,O]),B=d((e=>{"Enter"!==e.key&&" "!==e.key&&"ArrowDown"!==e.key||C?"Escape"===e.key&&C&&(e.preventDefault(),M()):(e.preventDefault(),R(!0),"ArrowDown"===e.key&&y.current&&setTimeout((()=>{const e=y.current?.querySelector('[role="menuitem"]');e?.focus()}),100))}),[C,R,M]),P=d((()=>{"hover"===l&&R(!0)}),[l,R]),k=["c-dropdown","click"===l?"c-dropdown--onclick":"",E?`c-dropdown--${E}`:"",C?"is-open":"",v?"c-dropdown--glass":"",A].filter(Boolean).join(" "),U={};g&&(U.maxHeight=g),void 0!==S&&(U.minWidth="number"==typeof S?`${S}px`:S);const G=e("div",{className:"c-dropdown__menu-inner",style:U,children:e(oa.Provider,{value:{isOpen:C,close:M,id:x,trigger:l},children:e("ul",{className:"c-dropdown__menu "+(v?"c-dropdown__menu--glass":""),children:n})})});return t("div",{ref:L,className:k,style:N,onMouseEnter:"hover"===l?P:void 0,..._,children:[e("div",{ref:I,className:"c-dropdown__toggle",onClick:D,onKeyDown:B,"aria-haspopup":"menu","aria-expanded":C,"aria-controls":x,tabIndex:0,children:a}),e("div",{ref:y,id:x,className:`c-dropdown__menu-wrapper c-dropdown__menu-wrapper--${s} ${C?"is-open":""} ${v?"is-glass":""}`,role:"menu","aria-orientation":"vertical","aria-hidden":!C,onKeyDown:w,children:v?(()=>{const t={displacementScale:20,elasticity:0},a=!0===v?t:{...t,...v};return e(je,{...a,children:G})})():G})]})};function sa(e){const t={position:"start",mode:"slide",isOpen:!1,backdrop:!0,closeOnBackdropClick:!0,closeOnEscape:!0,glass:void 0,...e},[a,n]=i(t.isOpen||!1),s=o(null),l=o(null),c=d((()=>{if(!s.current||"push"!==t.mode)return;const{position:e}=t,a="top"===e||"bottom"===e?s.current.clientHeight:s.current.clientWidth;let n;switch(e){case"start":n="paddingLeft";break;case"end":n="paddingRight";break;default:n=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[n]=`${a}px`,document.body.classList.add("is-pushed")}),[t.mode,t.position]),u=d((()=>{if("push"!==t.mode)return;const{position:e}=t;let a;switch(e){case"start":a="paddingLeft";break;case"end":a="paddingRight";break;default:a=`padding${e.charAt(0).toUpperCase()+e.slice(1)}`}document.body.style[a]="",document.body.classList.remove("is-pushed")}),[t.mode,t.position]),h=d(((e=!1)=>{if(n(!0),document.body.classList.add("is-edgepanel-open"),s.current){const{mode:a}=t;if("none"!==a)if(e){s.current.classList.add("is-fade-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating")}),q.ANIMATION_DURATION)}else{s.current.classList.add("is-animating"),s.current.offsetHeight;const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating")}),q.ANIMATION_DURATION)}e?(s.current.style.opacity="1",s.current.style.transform=""):s.current.style.transform="translate(0)","push"===t.mode&&c()}t.onOpenChange&&t.onOpenChange(!0)}),[t,c]),m=d(((e=!1)=>{if(s.current){const{position:a,mode:i}=t;if("none"!==i)if(e){s.current.classList.add("is-fade-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating-out")}),q.ANIMATION_DURATION)}else{s.current.classList.add("is-animating-out");const e=s.current;setTimeout((()=>{e&&e.classList.remove("is-animating-out")}),q.ANIMATION_DURATION)}e?(s.current.style.opacity="0",s.current.style.transform=""):s.current.style.transform=a?q.TRANSFORM_VALUES[a]:"","push"===t.mode&&u();setTimeout((()=>{n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),"none"===i?0:q.ANIMATION_DURATION)}else n(!1),document.body.classList.remove("is-edgepanel-open"),t.onOpenChange&&t.onOpenChange(!1)}),[t,u]),p=d((e=>{t.closeOnEscape&&"Escape"===e.key&&a&&m()}),[m,t.closeOnEscape,a]),g=d((e=>{t.closeOnBackdropClick&&e.target===e.currentTarget&&m()}),[m,t.closeOnBackdropClick]);return r((()=>(a&&t.closeOnEscape&&document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p)})),[a,p,t.closeOnEscape]),r((()=>{if(s.current){const{position:e,mode:n}=t;a||"slide"!==n&&"push"!==n||!e||(s.current.style.transform=q.TRANSFORM_VALUES[e],t.glass&&(s.current.style.opacity="0"))}}),[t.mode,t.position,t.glass,a]),r((()=>{void 0!==t.isOpen&&t.isOpen!==a&&(t.isOpen?h(!!t.glass):m(!!t.glass))}),[t.isOpen,m,a,h,t.glass]),{isOpen:a,containerRef:s,backdropRef:l,generateEdgePanelClass:e=>{const{position:n=t.position,className:i="",isOpen:o}=e,r=q.CLASSES.BASE;return`${r} ${n?`${r}--${n}`:""} ${o??a?q.CLASSES.IS_OPEN:""} ${i}`.trim()},openPanel:h,closePanel:m,handleBackdropClick:g}}ra.displayName="Dropdown";const la=({title:n,children:i,position:r="start",mode:s="slide",isOpen:l=!1,onOpenChange:c,backdrop:d=!0,closeOnBackdropClick:u=!0,closeOnEscape:h=!0,className:m="",style:p,glass:g})=>{const{isOpen:S,containerRef:E,backdropRef:A,generateEdgePanelClass:N,closePanel:v,handleBackdropClick:_}=sa({position:r,mode:s,isOpen:l,onOpenChange:c,backdrop:d,closeOnBackdropClick:u,closeOnEscape:h,glass:g}),f=o(null),b=N({position:r,isOpen:l,className:g?`${m} c-edge-panel--glass`:m});if(!S&&!1===l)return null;const T={elasticity:0},C=!0===g?T:{...T,...g},L=t(a,{children:[t("div",{className:"c-edge-panel__header",children:[e("h4",{children:n}),e("button",{className:"c-edge-panel__close c-btn c-btn--icon",onClick:()=>v(),"aria-label":"Close panel",children:e(at,{name:"X"})})]}),e("div",{className:"c-edge-panel__body",children:i})]});return t("div",{className:b,"data-position":r,"data-mode":s,style:p,children:[d&&e("div",{ref:A,className:"c-edge-panel__backdrop",onClick:_}),e("div",{ref:E,className:"c-edge-panel__container",children:g?e(je,{...C,className:"c-edge-panel__glass-wrapper",style:{position:"fixed",width:f.current?.offsetWidth,height:f.current?.offsetHeight,top:E.current?.offsetTop,left:E.current?.offsetLeft,bottom:E.current?.style.bottom,right:E.current?.style.right},children:e("div",{ref:f,className:"c-edge-panel__glass-content",style:{borderRadius:E.current?.style.borderRadius},children:L})}):L})]})};la.displayName="EdgePanel";const ca="c-checkbox",da="is-error",ua="is-valid",ha="is-disabled",ma="c-checkbox--mixed";function pa(e){const t={disabled:!1,invalid:!1,valid:!1,indeterminate:!1,...e},a=o(null);r((()=>{a.current&&(a.current.indeterminate=Boolean(t.indeterminate))}),[t.indeterminate]);return{defaultProps:t,generateCheckboxClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,indeterminate:o=t.indeterminate,className:r=""}=e;let s="";n?s=da:i&&(s=ua);return`${ca} ${s} ${a?ha:""} ${o?ma:""} ${r}`.trim()},checkboxRef:a}}const ga=({label:a,checked:n=!1,onChange:i,className:o="",style:r,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,indeterminate:p=!1,ariaLabel:g,ariaDescribedBy:S,glass:E})=>{const{generateCheckboxClass:A,checkboxRef:N}=pa({indeterminate:p,disabled:s,invalid:h,valid:m}),v=A({className:`${o} ${E?"c-checkbox--glass":""}`.trim(),disabled:s,invalid:h,valid:m,indeterminate:p}),_=t("div",{className:v,style:r,children:[e("input",{ref:N,type:"checkbox",className:"c-checkbox__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:g,"aria-describedby":S,"aria-invalid":h}),a&&e("label",{className:"c-checkbox__label",htmlFor:c,children:a})]});if(E){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===E?t:{...t,...E};return e(je,{...a,children:_})}return _};function Sa(e){const t={disabled:!1,...e};return{defaultProps:t,generateFormClass:e=>{const{disabled:a=t.disabled,className:n=""}=e,i=a?ee.CLASSES.DISABLED:"";return`${ee.CLASSES.BASE} ${i} ${n}`.trim()},handleSubmit:e=>a=>{a.preventDefault(),!t.disabled&&e&&e(a)},handleReset:e=>a=>{!t.disabled&&e&&e(a)}}}ga.displayName="Checkbox";const Ea=({children:t,onSubmit:a,onReset:n,className:i="",style:o,disabled:r=!1,id:s,method:l="post",encType:c,noValidate:d=!1,autoComplete:u="on"})=>{const{generateFormClass:h,handleSubmit:m,handleReset:p}=Sa({disabled:r}),g=h({className:i,disabled:r});return e("form",{id:s,className:g,style:o,onSubmit:m(a),onReset:p(n),method:l,encType:c,noValidate:d,autoComplete:u,children:t})};function Aa(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateFormGroupClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:o=t.valid,className:r=""}=e,s="md"===a?"":"sm"===a?te.CLASSES.SMALL:te.CLASSES.LARGE,l=i?te.CLASSES.INVALID:o?te.CLASSES.VALID:"",c=n?te.CLASSES.DISABLED:"";return`${te.CLASSES.BASE} ${s} ${l} ${c} ${r}`.trim()}}}Ea.displayName="Form";const Na=({children:a,label:n,helperText:i,htmlFor:o,className:r="",style:s,disabled:l=!1,required:c=!1,invalid:d=!1,valid:u=!1,size:h="md"})=>{const{generateFormGroupClass:m}=Aa({size:h,disabled:l,invalid:d,valid:u}),p=m({className:r,disabled:l,invalid:d,valid:u,size:h});return t("div",{className:p,style:s,children:[n&&t("label",{className:"c-form-group__label",htmlFor:o,children:[n,c&&e("span",{className:"c-form-group__required",children:"*"})]}),e("div",{className:"c-form-group__field",children:a}),i&&e("div",{className:"c-form-group__helper",children:i})]})};function va(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateInputClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:o=t.invalid,valid:r=t.valid,className:s="",type:l}=e,c="md"===a?"":"sm"===a?ae.CLASSES.SMALL:ae.CLASSES.LARGE,d=n?`c-input--${n}`:"",u="textarea"===l?"c-input--textarea":"";let h="";o?h=ae.CLASSES.INVALID:r&&(h=ae.CLASSES.VALID);const m=i?ae.CLASSES.DISABLED:"";return`${ae.CLASSES.BASE} ${c} ${d} ${u} ${h} ${m} ${s}`.trim()}}}Na.displayName="FormGroup";const _a=s((({type:t="text",value:a,onChange:n,onBlur:i,onFocus:o,placeholder:r,className:s="",style:l,disabled:c=!1,required:d=!1,readOnly:u=!1,id:h,name:m,autoComplete:p,autoFocus:g=!1,size:S="md",variant:E,invalid:A=!1,valid:N=!1,maxLength:v,minLength:_,pattern:f,min:b,max:T,step:C,ariaLabel:L,ariaDescribedBy:I,glass:y},x)=>{const{generateInputClass:R}=va({size:S,variant:E,disabled:c,invalid:A,valid:N}),O=R({className:`${s} ${y?"c-input--glass":""}`.trim(),size:S,variant:E,disabled:c,invalid:A,valid:N,type:t}),M=e("input",{ref:x,type:t,className:O,value:a,onChange:n,onBlur:i,onFocus:o,placeholder:r,disabled:c,required:d,readOnly:u,id:h,name:m,autoComplete:p,autoFocus:g,maxLength:v,minLength:_,pattern:f,min:b,max:T,step:C,"aria-label":L,"aria-describedby":I,"aria-invalid":A,style:y?{...{},...l}:l});if(y){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===y?t:{...t,...y};return e(je,{...a,children:M})}return M}));function fa(e){const t=o(null),a=o(null),n=o(null),i={alignment:"left",imageColSize:7,contentColSize:5,imageAlt:"Hero image",showOverlay:!0,fullViewportHeight:!1,contentWidth:void 0,parallax:!1,parallaxIntensity:.5,...e},s=!!i.backgroundImageSrc,l=!!i.imageSrc,c=l&&"center"!==i.alignment,d=(e,t=.5)=>{if(!e)return;const a=Math.max(0,Math.min(1,t));e.classList.add("c-hero--parallax");const i=()=>{const t=window.pageYOffset*a,n=e.querySelector(P.SELECTORS.BG);n&&(n.style.transform=`translateY(${t}px)`)};n.current=i,window.addEventListener("scroll",i),i()},u=e=>{if(!e)return;e.classList.remove("c-hero--parallax");const t=e.querySelector(P.SELECTORS.BG);t&&(t.style.transform=""),n.current&&(window.removeEventListener("scroll",n.current),n.current=null)};r((()=>{const e=t.current;return e&&i.parallax&&s&&d(e,i.parallaxIntensity),()=>{e&&n.current&&u(e)}}),[i.parallax,i.parallaxIntensity,s]);return{generateHeroClassNames:(e="")=>{const t=[P.SELECTORS.HERO.replace(".","")];return"center"===i.alignment?t.push(P.CLASSES.CENTER):"right"===i.alignment?t.push(P.CLASSES.RIGHT):"left"===i.alignment&&t.push(P.CLASSES.LEFT),i.fullViewportHeight&&t.push(P.CLASSES.FULL_VH),i.parallax&&t.push("c-hero--parallax"),i.videoBackground&&t.push("c-hero--video"),e&&t.push(e),t.join(" ")},generateImageColClass:(e=i.imageColSize||7)=>{const t=[`o-grid__col o-grid__col--md-${e}`];return"left"===i.alignment&&t.push("u-mt-5 u-mt-md-0"),t.join(" ")},generateContentColClass:(e=i.contentColSize||5)=>`o-grid__col o-grid__col--md-${e}`,hasBackgroundImage:s,hasForegroundImage:l,useGridLayout:c,heroRef:t,videoRef:a,applyParallaxEffect:d,removeParallaxEffect:u}}function ba(e){const t={center:!1,breakout:!1,reverse:!1,imageAlt:"Image",showOverlay:!0,...e};return{generateRiverClassNames:(e="")=>{const a=[K.SELECTORS.RIVER.replace(".","")];return t.center&&a.push(K.CLASSES.CENTER),t.breakout&&a.push(K.CLASSES.BREAKOUT),t.reverse&&a.push(K.CLASSES.REVERSE),e&&a.push(e),a.join(" ")},generateContentClass:()=>K.SELECTORS.CONTENT.replace(".",""),generateVisualClass:()=>K.SELECTORS.VISUAL.replace(".",""),hasBackgroundImage:!!t.backgroundImageSrc,hasForegroundImage:!!t.imageSrc,textContent:"string"==typeof t.text?[t.text]:t.text||[]}}function Ta(e){const t={position:"static",collapsible:!0,backdrop:!1,closeOnOutsideClick:!0,closeOnEscape:!0,ariaLabel:"Main navigation",...e},[a,n]=i(t.expanded||!1);return{defaultProps:t,isExpanded:a,setIsExpanded:n,generateNavbarClass:e=>{const{position:a=t.position,variant:n,collapsible:i=t.collapsible,className:o=""}=e;return`c-navbar ${"static"!==a?`c-navbar--${a}`:""} ${n?`c-navbar--${n}`:""} ${i?"c-navbar--collapsible":""} ${o}`.trim()},generateContainerStyle:e=>e?{maxWidth:e}:{},generateCollapseClass:e=>("c-navbar__collapse "+(e?"is-expanded":"")).trim(),toggleExpanded:()=>{const e=!a;n(e),t.onToggle&&t.onToggle(e)},getExpandedState:e=>void 0!==e?e:a}}function Ca(e){const t={alignment:"start",variant:"default",...e};return{defaultProps:t,generateNavClass:e=>{const{alignment:a=t.alignment,variant:n=t.variant,className:i=""}=e;return`c-nav ${"start"!==a?`c-nav--${a}`:""} ${"default"!==n?`c-nav--${n}`:""} ${i}`.trim()}}}function La(e){const t={dropdown:!1,megaMenu:!1,active:!1,...e};return{defaultProps:t,generateNavItemClass:e=>{const{dropdown:a=t.dropdown,megaMenu:n=t.megaMenu,active:i=t.active,disabled:o=t.disabled,className:r=""}=e;return`c-nav__item ${a&&!n?Q.SELECTORS.DROPDOWN.replace(".",""):""} ${n?"c-nav__item--mega-menu":""} ${i?Q.CLASSES.ACTIVE:""} ${o?Q.CLASSES.DISABLED:""} ${r}`.trim()},generateNavLinkClass:(e=!1,t=!1,a="")=>`c-nav__link ${e?Q.CLASSES.ACTIVE:""} ${t?"c-nav__link--disabled":""} ${a}`.trim(),handleClick:e=>a=>{!t.disabled&&e?e():a.preventDefault()}}}function Ia(e){const t={collapsible:!0,isOpen:!1,...e},[a,n]=i(t.isOpen||!1),s=o(null),l=o(null);r((()=>{void 0!==t.isOpen&&n(t.isOpen)}),[t.isOpen]),r((()=>{const e=()=>{const e=window.innerWidth<768;if(!e&&t.collapsible)"function"==typeof t.onToggle?t.onToggle(!0):n(!0),s.current&&(s.current.style.height="auto");else if(e&&s.current&&l.current){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t.collapsible,t.isOpen,t.onToggle,a]),r((()=>{if(window.innerWidth<768&&s.current&&l.current&&t.collapsible){const e=void 0!==t.isOpen?t.isOpen:a;s.current.style.height=e?`${l.current.scrollHeight}px`:"0px"}}),[t.isOpen,a,t.collapsible]);const c=()=>void 0!==t.isOpen?t.isOpen:a;return{defaultProps:t,isOpenState:c(),wrapperRef:s,innerRef:l,generateSideMenuClass:e=>{const{className:t="",isOpen:a=!1}=e,n=a?$.CLASSES.IS_OPEN:"";return`${$.CLASSES.BASE} ${n} ${t}`.trim()},generateWrapperClass:()=>$.CLASSES.WRAPPER,handleToggle:()=>{if(t.disabled)return;const e=void 0!==t.isOpen?!t.isOpen:!a;"function"==typeof t.onToggle?t.onToggle(e):n(e)},getCurrentOpenState:c}}function ya(e){const t={active:!1,disabled:!1,...e};return{defaultProps:t,generateSideMenuItemClass:()=>{const{active:e=t.active,disabled:a=t.disabled,className:n=""}=t,i=e?$.CLASSES.ACTIVE:"",o=a?$.CLASSES.DISABLED:"";return`${$.CLASSES.LINK} ${i} ${o} ${n}`.trim()},handleClick:e=>a=>{t.disabled?a.preventDefault():e&&e(a)}}}function xa(e,t){return e.classList.contains(t)}_a.displayName="Input";const Ra={House:"M240 121.6V240h-48v-72a24 24 0 0 0-24-24h-80a24 24 0 0 0-24 24v72H16V121.6a16 16 0 0 1 5.4-12L111.4 29a16 16 0 0 1 21.2 0l90 80.6a16 16 0 0 1 5.4 12Z",Package:"M223.68 66.15 135.68 18a15.88 15.88 0 0 0-15.36 0l-88 48.13a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03ZM128 32.59l74.12 40.55-32 17.56-74.12-40.55ZM96 68.08l73.56 40.23-32.04 17.53L64 85.64ZM40 95.83l72 39.39v79.23l-72-39.4Zm144 79.22v-79.23l72-39.39v79.22Z",Folder:"M216 72h-84.7L104.4 44.2A16.05 16.05 0 0 0 92.7 40H40a16 16 0 0 0-16 16v144.3a15.91 15.91 0 0 0 15.9 15.7h176.2a15.91 15.91 0 0 0 15.9-15.7V88a16 16 0 0 0-16-16Z",Tag:"M246.15 128.6 183.06 65.5l.09-24.21A16.05 16.05 0 0 0 167 25.14l-24.1.09L79.4 88.85a16 16 0 0 0 0 22.63l67.26 67.27a16 16 0 0 0 22.63 0l76.86-76.86a16 16 0 0 0 0-23.29ZM160 152l-56-56 56-56 56 56Zm-16-72a16 16 0 1 1-16 16 16 16 0 0 1 16-16Z",CaretRight:"M181.66 133.66l-80 80A8 8 0 0 1 88 208V48a8 8 0 0 1 13.66-5.66l80 80a8 8 0 0 1 0 11.32Z",CaretDown:"M208 96v16a8 8 0 0 1-2.34 5.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 32 112V96a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8Z",User:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z",Home:"M224 115.55V208a16 16 0 0 1-16 16h-40a16 16 0 0 1-16-16v-40a8 8 0 0 0-8-8h-32a8 8 0 0 0-8 8v40a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-92.45a16 16 0 0 1 5.17-11.78l80-75.48a16 16 0 0 1 21.66 0l80 75.48a16 16 0 0 1 5.17 11.78Z",X:"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128l66.35 66.34Z",Calendar:"M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16ZM72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160v112Z",CaretDoubleLeft:"M181.66 181.66a8 8 0 0 1-11.32 0L120 131.31V160a8 8 0 0 1-13.66 5.66l-48-48a8 8 0 0 1 0-11.32l48-48A8 8 0 0 1 120 64v28.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0L102.63 98 64 128l38.63 30L114.34 146.63a8 8 0 0 1 11.32 0l56 56a8 8 0 0 1 0 11.32Z",CaretDoubleRight:"M74.34 181.66a8 8 0 0 0 11.32 0L136 131.31V160a8 8 0 0 0 13.66 5.66l48-48a8 8 0 0 0 0-11.32l-48-48A8 8 0 0 0 136 64v28.69L85.66 42.34a8 8 0 0 0-11.32 11.32l56 56a8 8 0 0 0 11.32 0l11.71-11.71L192 128l-38.63 30-11.71-11.71a8 8 0 0 0-11.32 0l-56 56a8 8 0 0 0 0 11.32Z"};function Oa(e,t=16){const a=Ra[e]||"";return`<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" fill="currentColor" viewBox="0 0 256 256">\n <path d="${a}"></path>\n </svg>`}function Ma(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function wa(e){const t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return t?t[1]:null}function Da(e){return/(?:youtube\.com|youtu\.be)/.test(e)}var Ba=Object.freeze({__proto__:null,addClass:function(e,t){xa(e,t)||e.classList.add(t)},cn:function(...e){return O(...e)},createIconElement:function(e,t=16,a=""){const n=document.createElement("span");return n.className=a||"c-icon",n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center",n.innerHTML=Oa(e,t),n},createPhosphorIcon:Oa,extractYouTubeId:wa,generateUUID:Ma,getAvailableIcons:function(){return Object.keys(Ra)},hasClass:xa,isYouTubeUrl:Da,removeClass:function(e,t){xa(e,t)&&e.classList.remove(t)},toggleClass:function(e,t,a){e.classList.toggle(t,a)}});function Pa(e){const t={items:[],title:"Todo List",size:"md",placeholder:"Add a new todo",showCompleted:!0,...e},[a,n]=i(t.items||[]),[o,r]=i(""),s=e=>{if(!e.trim())return null;const t={id:Ma(),text:e.trim(),completed:!1};return n((e=>[...e,t])),r(""),t};return{items:a,inputText:o,setInputText:r,addTodo:s,toggleTodo:e=>{let t=null;return n((a=>a.map((a=>a.id===e?(t={...a,completed:!a.completed},t):a)))),t},deleteTodo:e=>{const t=a.length;return n((t=>t.filter((t=>t.id!==e)))),a.length!==t},handleSubmit:(e,t)=>{if(e.preventDefault(),!o.trim())return;const a=s(o);a&&t&&t(a.text)},generateTodoClasses:e=>{const{size:a=t.size,className:n="",disabled:i=!1}=e,o="md"===a?"":`c-todo--${a}`,r=i?"c-todo--disabled":"";return`${J.CLASSES.BASE} ${o} ${r} ${n}`.trim()},generateItemClasses:e=>{const t=e.completed?J.CLASSES.COMPLETED:"";return`${J.CLASSES.ITEM} ${t}`.trim()},getFilteredItems:(e=!0)=>e?a:a.filter((e=>!e.completed))}}function ka(e){const t={disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateRadioClass:e=>{const{disabled:a=t.disabled,invalid:n=t.invalid,valid:i=t.valid,className:o=""}=e;let r="";n?r=ne.CLASSES.INVALID:i&&(r=ne.CLASSES.VALID);const s=a?ne.CLASSES.DISABLED:"";return`${ne.CLASSES.BASE} ${r} ${s} ${o}`.trim()}}}function Ua(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateSelectClass:e=>{const{size:a=t.size,disabled:n=t.disabled,invalid:i=t.invalid,valid:o=t.valid,className:r=""}=e,s="md"===a?"":"sm"===a?oe.CLASSES.SMALL:oe.CLASSES.LARGE;let l="";i?l=oe.CLASSES.INVALID:o&&(l=oe.CLASSES.VALID);const c=n?oe.CLASSES.DISABLED:"";return`${oe.CLASSES.BASE} ${s} ${l} ${c} ${r}`.trim()}}}function Ga(e){const t={size:"md",disabled:!1,invalid:!1,valid:!1,...e};return{defaultProps:t,generateTextareaClass:e=>{const{size:a=t.size,variant:n=t.variant,disabled:i=t.disabled,invalid:o=t.invalid,valid:r=t.valid,className:s=""}=e,l="md"===a?"":"sm"===a?re.CLASSES.SMALL:re.CLASSES.LARGE,c=n?`c-input--${n}`:"";let d="";o?d=re.CLASSES.INVALID:r&&(d=re.CLASSES.VALID);const u=i?re.CLASSES.DISABLED:"";return`${re.CLASSES.BASE} ${l} ${c} ${d} ${u} ${s}`.trim()}}}function za(e){const{slides:t,slidesToShow:a=1,spaceBetween:n=0,loop:s=!1,initialSlide:l=0,direction:u="horizontal",speed:h=300,allowTouchMove:m=!0,threshold:p=50,autoplay:g,onSlideChange:S}=e,E=o(null),A=o(null),N=o(!1),v=o(null),[_,f]=i(!1),[b,T]=i(l),[C,L]=i(0),[I,y]=i(!1),[x,R]=i(0),[O,M]=i(!1),[w,D]=i(0),[B,P]=i(0),k=c((()=>0===x?0:(x-n*(a-1))/a),[x,n,a]),U=c((()=>{if(!s||0===t.length)return t;return[...t.map(((e,t)=>({...e,id:`set1-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set2-${e.id||t}`}))),...t.map(((e,t)=>({...e,id:`set3-${e.id||t}`})))]}),[t,s]),G=t.length,z=c((()=>0===k?0:-C*k+B),[k,C,B]);r((()=>{if(!g)return v.current&&(clearInterval(v.current),v.current=null),void f(!1);const e="boolean"==typeof g?{delay:3e3}:g,{delay:n=3e3,pauseOnMouseEnter:i=!1,disableOnInteraction:o=!1,reverseDirection:r=!1}=e;v.current&&clearInterval(v.current),v.current=setInterval((()=>{T((e=>{if(I)return e;let n;if(o&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),n=s?(e+1)%t.length:Math.min(e+1,t.length-a),r){const a=s?0===e?t.length-1:e-1:Math.max(e-1,0);return L(s?t.length+a:a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(a)}),h),a}return L(s?t.length+n:n),y(!0),P(0),setTimeout((()=>{y(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,L(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0);let l=null;const c=()=>{v.current&&(clearInterval(v.current),v.current=null,f(!1))},d=()=>{v.current&&clearInterval(v.current),v.current=setInterval((()=>{T((e=>{if(I)return e;let n;return n=s?(e+1)%t.length:Math.min(e+1,t.length-a),L(s?t.length+n:n),y(!0),P(0),setTimeout((()=>{y(!1),S?.(n),s&&n>=2*t.length&&(N.current=!0,L(t.length+n),setTimeout((()=>{N.current=!1}),0))}),h),n}))}),n),f(!0)};return i&&E.current&&(l=E.current,l.addEventListener("mouseenter",c),l.addEventListener("mouseleave",d)),()=>{v.current&&(clearInterval(v.current),v.current=null),l&&(l.removeEventListener("mouseenter",c),l.removeEventListener("mouseleave",d)),f(!1)}}),[g,t.length,s,a,I,h,S,N]),r((()=>{L(s?t.length+l:l)}),[s,t.length,l]),r((()=>{const e=()=>{if(E.current){const e="horizontal"===u?E.current.offsetWidth:E.current.offsetHeight;R(e)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[u]);const F=d((()=>{if(!I)if(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),s){const e=(b+1)%t.length,a=C+1;T(e),L(a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e),a>=2*t.length&&(N.current=!0,L(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.min(b+1,t.length-a);T(e),L(e),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e)}),h)}}),[b,C,t.length,a,s,I,h,S,U.length,G,g]),V=d((()=>{if(!I)if(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),s){const e=0===b?t.length-1:b-1,a=C-1;T(e),L(a),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e),a<t.length&&(N.current=!0,L(t.length+e),setTimeout((()=>{N.current=!1}),0))}),h)}else{const e=Math.max(b-1,0);T(e),L(e),y(!0),P(0),setTimeout((()=>{y(!1),S?.(e)}),h)}}),[b,C,t.length,s,I,h,S,U.length,G,g]),H=d((e=>{I||e===b||(g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1)),y(!0),P(0),T(e),L(s?t.length+e:e),setTimeout((()=>{y(!1),S?.(e)}),h))}),[b,I,h,S,s,G,g]),Y=d((e=>{if(!m)return;g&&"object"==typeof g&&g.disableOnInteraction&&v.current&&(clearInterval(v.current),v.current=null,f(!1));const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY;D(t),M(!0),P(0)}),[m,u,g]),K=d((e=>{if(!O||!m)return;const t="horizontal"===u?"touches"in e?e.touches[0]?.clientX||0:e.clientX:"touches"in e?e.touches[0]?.clientY||0:e.clientY,a=w-t;Math.abs(a)>10&&(e.preventDefault(),P(.5*-a))}),[O,w,m,u]),W=d((e=>{if(!O||!m)return;const t="horizontal"===u?"changedTouches"in e?e.changedTouches[0]?.clientX||0:e.clientX:"changedTouches"in e?e.changedTouches[0]?.clientY||0:e.clientY,a=w-t;M(!1),P(0),Math.abs(a)>p&&(a>0?F():V())}),[O,w,p,F,V,m,u]),Q=s||b<t.length-a,$=s||b>0;return{activeIndex:b,realIndex:b,previousIndex:b,isBeginning:!s&&0===b,isEnd:!s&&b>=t.length-a,progress:t.length>0?b/(t.length-1):0,autoplayRunning:_,transitioning:I,touching:O,translate:z,slidesPerView:a,slidesCount:t.length,isLocked:!1,destroyed:!1,size:x,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},allowSlideNext:Q,allowSlidePrev:$,allowTouchMove:m,animating:I,enabled:!0,initialized:!0,slideNext:F,slidePrev:V,goToSlide:H,canSlideNext:Q,canSlidePrev:$,containerRef:E,wrapperRef:A,handleTouchStart:Y,handleTouchMove:K,handleTouchEnd:W,allSlides:U,translateValue:z,slideWidth:k,currentSlidesToShow:a,loopedSlides:G,repositioningRef:N}}var Fa=Object.freeze({__proto__:null,DOTS:$t,useAccordion:ve,useAtomixGlass:Xe,useBadge:ot,useBarChart:Ct,useBlock:lt,useBreadcrumb:function(e){return{defaultOptions:{items:[],divider:B.DEFAULTS.DIVIDER,className:"",ariaLabel:"Breadcrumb",...e},generateBreadcrumbClass:e=>{const{className:t=""}=e;return[B.CLASSES.BASE,t].filter(Boolean).join(" ").trim()},generateItemClass:(e,t)=>[B.CLASSES.ITEM,e.active||t?B.CLASSES.ACTIVE:""].filter(Boolean).join(" ").trim(),isItemLink:(e,t)=>Boolean(e.href&&!e.active&&!t),parseItemsFromJson:e=>{try{return JSON.parse(e)}catch(e){return[]}}}},useButton:ut,useCard:(e={})=>{const{elevationEffect:t=!1,elevationClass:a=ie.CLASSES.ACTIVE,flipEffect:n=!1,flipTrigger:r="click",focusEffect:s=!1,clickable:l=!1,onClick:c}=e,u=o(null),h=o(null),m=o(null),[p,g]=i(!1),[S,E]=i(!1),[A,N]=i(!1),[v,_]=i(!1),f=d((e=>{n&&"click"===r&&g((e=>!e)),c&&c(e)}),[n,r,c]),b=d((e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n&&"click"===r&&g((e=>!e)),c&&c(e))}),[n,r,c]),T=d((()=>{_(!0),t&&E(!0),n&&"hover"===r&&g(!0)}),[t,n,r]),C=d((()=>{_(!1),t&&E(!1),n&&"hover"===r&&g(!1)}),[t,n,r]),L=d((()=>{N(!0)}),[]),I=d((()=>{N(!1)}),[]),y=d((()=>({className:[ie.CLASSES.BASE,S?a:"",p?ie.CLASSES.FLIPPED:"",A&&s?ie.CLASSES.FOCUSED:"",l?ie.CLASSES.CLICKABLE:""].filter(Boolean).join(" "),ref:u,tabxwIndex:l||n?0:-1,role:l?"button":void 0,onMouseEnter:T,onMouseLeave:C,onFocus:L,onBlur:I,onClick:f,onKeyDown:b})),[S,p,A,a,s,l,T,C,L,I,f,b,n]);return{cardRef:u,frontRef:h,backRef:m,isFlipped:p,isElevated:S,isFocused:A,isHovered:v,handleClick:f,handleKeyDown:b,handleMouseEnter:T,handleMouseLeave:C,handleFocus:L,handleBlur:I,getCardProps:y}},useChartData:function(e){const t=c((()=>e.length?e.map(((e,t)=>({...e,value:"number"==typeof e.value?e.value:0,label:e.label||`Point ${t+1}`}))):[]),[e]),a=c((()=>{if(!t.length)return{min:0,max:0,total:0,average:0};const e=t.map((e=>e.value)),a=Math.min(...e),n=Math.max(...e),i=e.reduce(((e,t)=>e+t),0);return{min:a,max:n,total:i,average:i/e.length}}),[t]);return{data:t,stats:a,isEmpty:0===t.length}},useChartInteraction:function(){const[e,t]=i({hoveredIndex:null,selectedIndex:null});return{interaction:e,handlePointHover:d((e=>{t((t=>({...t,hoveredIndex:e})))}),[]),handlePointClick:d((e=>{t((t=>({...t,selectedIndex:t.selectedIndex===e?null:e})))}),[]),clearInteraction:d((()=>{t({hoveredIndex:null,selectedIndex:null})}),[])}},useChartScale:function(e,t=400,a=300){return c((()=>{const n={top:20,right:20,bottom:40,left:40},i=t-n.left-n.right,o=a-n.top-n.bottom;if(!e.length)return{xScale:()=>n.left,yScale:()=>n.top+o,width:t,height:a,padding:n};const r=e.map((e=>e.value)),s=Math.min(0,...r),l=Math.max(...r)-s||1;return{xScale:t=>n.left+t/Math.max(e.length-1,1)*i,yScale:e=>n.top+o-(e-s)/l*o,width:t,height:a,padding:n}}),[e,t,a])},useCheckbox:pa,useDataTable:Kt,useEdgePanel:sa,useForm:Sa,useFormGroup:Aa,useGlassContainer:function(e){const{glassSize:t={width:270,height:69},elasticity:a=.15,mouseContainer:n,globalMousePos:s,mouseOffset:c}=e,u=l(),h=o(null),[m,p]=i(!1),[g,S]=i(!1),[E,A]=i(t),[N,v]=i({x:0,y:0}),[_,f]=i({x:0,y:0}),b=s||N,T=c||_,C=d((e=>{const t=n?.current||h.current;if(!t)return;const a=t.getBoundingClientRect(),i=a.left+a.width/2,o=a.top+a.height/2;f({x:(e.clientX-i)/a.width*100,y:(e.clientY-o)/a.height*100}),v({x:e.clientX,y:e.clientY})}),[n]);r((()=>{if(s&&c)return;const e=n?.current||h.current;return e?(e.addEventListener("mousemove",C),()=>e.removeEventListener("mousemove",C)):void 0}),[C,n,s,c]);const L=d((()=>{if(!b.x||!b.y||!h.current)return"scale(1)";const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,o=E.height,r=b.x-t,s=b.y-n,l=Math.max(0,Math.abs(r)-i/2),c=Math.max(0,Math.abs(s)-o/2),d=Math.sqrt(l*l+c*c);if(d>200)return"scale(1)";const u=1-d/200,m=Math.sqrt(r*r+s*s);if(0===m)return"scale(1)";const p=r/m,g=s/m,S=Math.min(m/300,1)*a*u,A=1+Math.abs(p)*S*.3-Math.abs(g)*S*.15,N=1+Math.abs(g)*S*.3-Math.abs(p)*S*.15;return`scaleX(${Math.max(.8,A)}) scaleY(${Math.max(.8,N)})`}),[b,a,E]),I=d((()=>{if(!h.current)return{x:0,y:0};const e=h.current.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2,i=E.width,o=E.height,r=Math.max(0,Math.abs(b.x-t)-i/2),s=Math.max(0,Math.abs(b.y-n)-o/2),l=Math.sqrt(r*r+s*s),c=l>200?0:1-l/200;return{x:(b.x-t)*a*.1*c,y:(b.y-n)*a*.1*c}}),[b,a,E]);r((()=>{const e=()=>{if(h.current){const e=h.current.getBoundingClientRect();A({width:e.width,height:e.height})}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]);const y=d((()=>{p(!0)}),[]),x=d((()=>{p(!1)}),[]),R=d((()=>{S(!0)}),[]),O=d((()=>{S(!1)}),[]);return{filterId:u,glassRef:h,isHovered:m,isActive:g,currentGlassSize:E,globalMousePos:b,mouseOffset:T,calculateDirectionalScale:L,calculateElasticTranslation:I,handleMouseEnter:y,handleMouseLeave:x,handleMouseDown:R,handleMouseUp:O}},useHero:fa,useInput:va,useLineChart:Dt,useModal:function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[o,s]=i(!1),l=void 0!==e,c=l?!!e:o;r((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}},useNav:Ca,useNavDropdown:function(e){const t={alignment:"start",megaMenu:!1,...e},a=()=>null!==document.querySelector(".c-navbar--fixed-bottom");return{defaultProps:t,generateDropdownMenuClass:e=>{const{alignment:a=t.alignment,megaMenu:n=t.megaMenu,className:i=""}=e,o=n?Q.SELECTORS.MEGA_MENU.replace(".",""):Q.SELECTORS.DROPDOWN_MENU.replace(".","");let r="";return"center"===a?r=`${o}--center`:"end"===a&&(r=`${o}--end`),`${o} ${r} ${i}`.trim()},isInFixedBottomNavbar:a,getIconClass:(e=!1)=>"c-nav__icon "+(a()?"icon-lux-caret-up":"icon-lux-caret-down"),getIconName:(e=!1)=>a()?"CaretUp":"CaretDown"}},useNavItem:La,useNavbar:Ta,usePagination:qt,usePieChart:kt,useRadio:ka,useRiver:ba,useSelect:Ua,useSideMenu:Ia,useSideMenuItem:ya,useSlider:za,useSpinner:Wt,useTextarea:Ga,useTodo:Pa});const Va=({options:a=[],value:n,onChange:s,onBlur:l,onFocus:c,placeholder:d="Select an option",className:u="",style:h,disabled:m=!1,required:p=!1,id:g,name:S,size:E="md",invalid:A=!1,valid:N=!1,multiple:v=!1,ariaLabel:_,ariaDescribedBy:f,glass:b})=>{const{generateSelectClass:T}=Ua({size:E,disabled:m,invalid:A,valid:N}),C=T({className:`${u} ${b?"c-select--glass":""}`.trim(),size:E,disabled:m,invalid:A,valid:N}),[L,I]=i(!1),[y,x]=i(d),R=o(null),O=o(null),M=o(null),w=o(null);r((()=>{if(n){const e=a.find((e=>e.value===n));e&&x(e.label)}else x(d)}),[n,a,d]),r((()=>{const e=e=>{R.current&&!R.current.contains(e.target)&&(I(!1),M.current&&(M.current.style.height="0px"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]);const D=t("div",{className:`${C} ${L?oe.CLASSES.IS_OPEN:""}`,ref:R,style:h,"aria-expanded":L,children:[t("select",{ref:w,value:n,onChange:s,onBlur:l,onFocus:c,disabled:m,required:p,id:g,name:S,multiple:v,"aria-label":_,"aria-describedby":f,"aria-invalid":A,style:{display:"none"},children:[d&&e("option",{value:"",disabled:!0,children:d}),a.map((t=>e("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)))]}),e("div",{className:oe.CLASSES.SELECTED,onClick:()=>{m||(!L&&M.current&&O.current?M.current.style.height=`${O.current.clientHeight}px`:M.current&&(M.current.style.height="0px"),I(!L))},"aria-disabled":m,children:y}),e("i",{className:`${oe.CLASSES.ICON_CARET} ${oe.CLASSES.TOGGLE_ICON}`}),e("div",{className:oe.CLASSES.SELECT_BODY,ref:M,style:{height:0},children:e("div",{className:oe.CLASSES.SELECT_PANEL,ref:O,children:e("ul",{className:oe.CLASSES.SELECT_ITEMS,children:a.map(((a,i)=>e("li",{className:oe.CLASSES.SELECT_ITEM,"data-value":a.value,onClick:()=>!a.disabled&&(e=>{if(x(e.label),I(!1),M.current&&(M.current.style.height="0px"),w.current&&(w.current.value=e.value),s){const t={target:{name:S,value:e.value}};s(t)}})(a),children:t("label",{htmlFor:`SelectItem${i}`,className:"c-checkbox",children:[e("input",{type:"checkbox",id:`SelectItem${i}`,className:"c-checkbox__input c-select__item-input",checked:n===a.value,readOnly:!0,disabled:a.disabled}),e("div",{className:"c-select__item-label",children:a.label})]})},a.value)))})})})]});if(b){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:.2,cornerRadius:12,mode:"shader"},a=!0===b?t:{...t,...b};return e(je,{...a,children:D})}return D};Va.displayName="Select";const Ha=({label:a,checked:n=!1,onChange:i,className:o="",style:r,disabled:s=!1,required:l=!1,id:c,name:d,value:u,invalid:h=!1,valid:m=!1,ariaLabel:p,ariaDescribedBy:g,glass:S})=>{const{generateRadioClass:E}=ka({disabled:s,invalid:h,valid:m}),A=E({className:`${o} ${S?"c-radio--glass":""}`.trim(),disabled:s,invalid:h,valid:m}),N=t("div",{className:A,style:r,children:[e("input",{type:"radio",className:"c-radio__input",checked:n,onChange:i,disabled:s,required:l,id:c,name:d,value:u,"aria-label":a?void 0:p,"aria-describedby":g,"aria-invalid":h}),a&&e("label",{className:"c-radio__label",htmlFor:c,children:a})]});if(S){const t={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},a=!0===S?t:{...t,...S};return e(je,{...a,children:N})}return N};Ha.displayName="Radio";const Ya=s((({value:t,onChange:a,onBlur:n,onFocus:i,placeholder:o,className:r="",style:s,disabled:l=!1,required:c=!1,readOnly:d=!1,id:u,name:h,rows:m=4,cols:p,maxLength:g,minLength:S,size:E="md",variant:A,invalid:N=!1,valid:v=!1,autoFocus:_=!1,ariaLabel:f,ariaDescribedBy:b,glass:T},C)=>{const{generateTextareaClass:L}=Ga({size:E,variant:A,disabled:l,invalid:N,valid:v}),I=L({className:`${r} ${T?"c-input--glass":""}`.trim(),size:E,variant:A,disabled:l,invalid:N,valid:v}),y=e("textarea",{ref:C,className:I,value:t,onChange:a,onBlur:n,onFocus:i,placeholder:o,disabled:l,required:c,readOnly:d,id:u,name:h,rows:m,cols:p,maxLength:g,minLength:S,autoFocus:_,"aria-label":f,"aria-describedby":b,"aria-invalid":N,style:T?{...{},...s}:s});if(T){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:1,cornerRadius:8,mode:"shader"},a=!0===T?t:{...t,...T};return e(je,{...a,children:y})}return y}));Ya.displayName="Textarea";const Ka=s((({platform:a,url:n,icon:i,label:o,size:r="md",variant:s="default",disabled:l=!1,className:c="",...d},u)=>{const h=["c-footer__social-link",`c-footer__social-link--${a}`,`c-footer__social-link--${r}`,`c-footer__social-link--${s}`,l&&"c-footer__social-link--disabled",c].filter(Boolean).join(" "),m=o||`Follow us on ${(e=>({facebook:"Facebook",twitter:"Twitter",instagram:"Instagram",linkedin:"LinkedIn",youtube:"YouTube",github:"GitHub",discord:"Discord",tiktok:"TikTok",pinterest:"Pinterest",snapchat:"Snapchat",whatsapp:"WhatsApp",telegram:"Telegram",reddit:"Reddit",twitch:"Twitch",spotify:"Spotify",dribbble:"Dribbble",behance:"Behance",medium:"Medium",dev:"Dev.to",codepen:"CodePen"}[e]||e))(a)}`;return t("a",{ref:u,href:l?void 0:n,className:h,target:"_blank",rel:"noopener noreferrer","aria-label":m,"aria-disabled":l,...d,children:[e("span",{className:"c-footer__social-link-icon",children:i||(t=>{const a={facebook:"FacebookLogo",twitter:"TwitterLogo",instagram:"InstagramLogo",linkedin:"LinkedinLogo",youtube:"YoutubeLogo",github:"GithubLogo",discord:"DiscordLogo",tiktok:"TiktokLogo",pinterest:"PinterestLogo",snapchat:"SnapchatLogo",whatsapp:"WhatsappLogo",telegram:"TelegramLogo",reddit:"RedditLogo",twitch:"TwitchLogo",spotify:"SpotifyLogo",dribbble:"DribbbleLogo",behance:"BehanceLogo",medium:"MediumLogo",dev:"DevToLogo",codepen:"CodepenLogo"}[t];return e(at,a?{name:a}:{name:"Link"})})(a)}),e("span",{className:"c-footer__social-link-label u-visually-hidden",children:m})]})}));Ka.displayName="FooterSocialLink";const Wa=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:o,direction:r,wrap:s,...l},c)=>{const d=["o-grid"];return n&&d.push(`u-justify-content-${n}`),i&&d.push(`u-align-items-${i}`),o&&d.push("o-grid--no-gutters"),r&&d.push(`u-flex-direction-${r}`),s&&d.push(`u-flex-wrap-${s}`),a&&d.push(a),e("div",{ref:c,className:d.join(" "),...l,children:t})}));Wa.displayName="Grid";const Qa=s((({children:t,className:a="",xs:n,sm:i,md:o,lg:r,xl:s,xxl:l,offsetXs:c,offsetSm:d,offsetMd:u,offsetLg:h,offsetXl:m,offsetXxl:p,grow:g,shrink:S,basis:E,align:A,...N},v)=>{const _=!(n||i||o||r||s||l)?["o-grid__col","o-grid__col--auto"]:["o-grid__col"],f=(e,t)=>{void 0!==e&&(!0!==e?!1!==e&&("xs"===t?"auto"===e?_.push("o-grid__col--auto"):_.push(`o-grid__col--${e}`):"auto"===e?_.push(`o-grid__col--${t}-auto`):_.push(`o-grid__col--${t}-${e}`)):_.push("xs"===t?"o-grid__col--auto":`o-grid__col--${t}-auto`))};return f(n,"xs"),f(i,"sm"),f(o,"md"),f(r,"lg"),f(s,"xl"),f(l,"xxl"),c&&_.push(`o-grid__offset--${c}`),d&&_.push(`o-grid__offset--sm-${d}`),u&&_.push(`o-grid__offset--md-${u}`),h&&_.push(`o-grid__offset--lg-${h}`),m&&_.push(`o-grid__offset--xl-${m}`),p&&_.push(`o-grid__offset--xxl-${p}`),void 0!==g&&_.push(g?"u-flex-grow-1":"u-flex-grow-0"),void 0!==S&&_.push(S?"u-flex-shrink-1":"u-flex-shrink-0"),E&&_.push(`u-flex-basis-${E}`),A&&_.push(`u-align-self-${A}`),a&&_.push(a),e("div",{ref:v,className:_.join(" "),...N,children:t})}));Qa.displayName="GridCol";const $a=s((({children:t,className:a="",justifyContent:n,alignItems:i,noGutters:o,...r},s)=>{const l=["o-grid"];return n&&l.push(`u-justify-content-${n}`),i&&l.push(`u-align-items-${i}`),o&&l.push("o-grid--no-gutters"),a&&l.push(a),e("div",{ref:s,className:l.join(" "),...r,children:t})}));$a.displayName="Row";const Za=s((({brand:a,brandLogo:i,brandDescription:o,copyright:r,layout:s="columns",variant:l="primary",size:c="md",showNewsletter:d=!1,newsletterTitle:u="Stay Updated",newsletterDescription:h="Subscribe to our newsletter for the latest updates.",newsletterPlaceholder:m="Enter your email",newsletterButtonText:p="Subscribe",onNewsletterSubmit:g,socialLinks:S=[],showBackToTop:E=!1,backToTopText:A="Back to Top",onBackToTop:N,showDivider:v=!0,sticky:_=!1,children:f,className:b="",disabled:T=!1,glass:C,...L},I)=>{const{footerClass:y,containerClass:x,brandClass:R,sectionsClass:O,bottomClass:M,handleNewsletterSubmit:w,handleBackToTop:D,socialLinks:B}=function(e={}){const{layout:t=Ae.DEFAULTS.LAYOUT,variant:a=Ae.DEFAULTS.VARIANT,size:n=Ae.DEFAULTS.SIZE,sticky:i=Ae.DEFAULTS.STICKY,showNewsletter:o=Ae.DEFAULTS.SHOW_NEWSLETTER,showBackToTop:r=Ae.DEFAULTS.SHOW_BACK_TO_TOP,socialLinks:s=[],onNewsletterSubmit:l,onBackToTop:c,className:d=""}=e;return{footerClass:[Ae.CLASSES.BASE,Ae.CLASSES[t.toUpperCase()]||Ae.CLASSES.COLUMNS,`c-footer--${a}`,Ae.CLASSES[n.toUpperCase()]||Ae.CLASSES.MD,i&&Ae.CLASSES.STICKY,o&&"c-footer--with-newsletter",d].filter(Boolean).join(" "),containerClass:Ae.CLASSES.CONTAINER,brandClass:Ae.CLASSES.BRAND,sectionsClass:[Ae.CLASSES.SECTIONS,"columns"===t&&"c-footer__sections--columns","centered"===t&&"c-footer__sections--centered","stacked"===t&&"c-footer__sections--stacked"].filter(Boolean).join(" "),bottomClass:Ae.CLASSES.BOTTOM,handleNewsletterSubmit:e=>{l&&l(e)},handleBackToTop:()=>{c?c():window.scrollTo({top:0,behavior:"smooth"})},socialLinks:s,showNewsletter:o}}({layout:s,variant:l,size:c,sticky:_,showNewsletter:d,showBackToTop:E,socialLinks:S,onNewsletterSubmit:g,onBackToTop:N,className:b}),P=(()=>{switch(s){case"columns":default:return{brand:4,content:d?4:8,newsletter:d?4:0};case"centered":case"minimal":case"stacked":return{brand:12,content:12,newsletter:d?12:0};case"flexible":return{brand:"auto",content:"auto",newsletter:"auto"};case"sidebar":return{brand:3,content:9,newsletter:d?9:0};case"wide":return{brand:3,content:6,newsletter:d?3:0}}})(),k=e=>{const t="columns"===s||"sidebar"===s||"wide"===s?P[e]:12;return"flexible"===s&&"auto"===P[e]?{xs:12,sm:!0,md:!0}:{xs:12,md:t}},U=t("div",{className:x,children:[t(Wa,{className:O,alignItems:"start",justifyContent:"centered"===s?"center":void 0,children:[(a||i||o)&&t(Qa,{...k("brand"),className:R,children:[i&&e("div",{className:"c-footer__brand-logo",children:"string"==typeof i?e("img",{src:i,alt:"Brand Logo"}):i}),a&&e("div",{className:"c-footer__brand-name",children:"string"==typeof a?e("h3",{children:a}):a}),o&&e("div",{className:"c-footer__brand-description",children:o}),S.length>0&&e("div",{className:"c-footer__social","data-testid":"footer-social-links",children:S.map(((t,a)=>e(Ka,{platform:t.platform,url:t.url,icon:t.icon,label:t.label,size:c},`${t.platform}-${a}`)))})]}),f&&e(Qa,{...k("content"),className:"c-footer__content",children:e(Wa,{className:"c-footer__sections",alignItems:"centered"===s||"stacked"===s?"center":void 0,children:n.Children.map(f,(e=>n.isValidElement(e)?n.cloneElement(e,{showNewsletter:d}):e))})}),d&&t(Qa,{...k("newsletter"),className:"c-footer__newsletter",children:[e("h4",{className:"c-footer__newsletter-title",children:u}),h&&e("p",{className:"c-footer__newsletter-description",children:h}),e(Ea,{className:"c-footer__newsletter-form",onSubmit:e=>{e.preventDefault();const t=new FormData(e.currentTarget).get("email");t&&w(t)},children:t("div",{className:"c-footer__newsletter-input-group",children:[e(_a,{type:"email",name:"email",className:"c-footer__newsletter-input",placeholder:m,required:!0}),e(ht,{type:"submit",className:"c-footer__newsletter-button",children:p})]})})]})]}),(r||E)&&t("div",{className:M,children:[r&&e("div",{className:"c-footer__copyright",children:r}),E&&t(ht,{variant:"ghost",className:"c-footer__back-to-top",onClick:D,disabled:T,"aria-label":A,children:[e("span",{className:"c-footer__back-to-top-icon",children:"↑"}),e("span",{className:"c-footer__back-to-top-text",children:A})]})]})]});return e("footer",{ref:I,className:y+" c-footer "+(C?"c-footer--glass":""),...L,children:C?e(je,{...C,elasticity:0,children:e("div",{className:"c-footer__glass",children:U})}):U})}));Za.displayName="Footer";const qa=s((({children:t,className:a="",xs:s=1,sm:l,md:c,lg:m,xl:p,xxl:g,gap:S=16,animate:A=!0,imagesLoaded:N=!0,onLayoutComplete:v,onImageLoad:_,...f},b)=>{const[T,C]=i(s),[L,I]=i([]),[y,x]=i(!1),[R,O]=i(!1),M=o(null),w=o([]),D=o(0),B=o(0),P=o(new Map);r((()=>{O(!!N)}),[T,N]),E(b,(()=>M.current));const k=d((()=>{const e=window.innerWidth;return e>=1400&&void 0!==g?g:e>=1200&&void 0!==p?p:e>=992&&void 0!==m?m:e>=768&&void 0!==c?c:e>=576&&void 0!==l?l:s}),[s,l,c,m,p,g]);r((()=>{const e=()=>C(k());return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[k]);const[U,G]=i([]);r((()=>{const e=[];u.forEach(t,((t,a)=>{h(t)&&e.push({id:t.key?.toString()||`masonry-item-${a}`,element:t,position:null,ref:n.createRef()})})),G(e)}),[t]);const z=d((e=>{if(!P.current.get(e)){if(P.current.set(e,!0),D.current+=1,M.current&&N){const t=e.closest(".o-masonry-grid > div");t&&(t.offsetHeight,t.classList.add("o-masonry-grid__item-loaded"),t.classList.remove("o-masonry-grid__item-loading"))}requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))})),_?.(D.current,B.current),D.current>=B.current&&B.current>0&&(x(!0),O(!1),requestAnimationFrame((()=>{requestAnimationFrame((()=>{V(),O(!1)}))})),v?.())}}),[_,v,N]),F=d((()=>{if(!N||!M.current)return;P.current.clear(),D.current=0;const e=M.current.querySelectorAll("img");return B.current=e.length,0===e.length?(x(!0),O(!1),void v?.()):(O(!0),e.forEach((e=>{const t=e,a=e.closest(".o-masonry-grid > div");if(a&&a.classList.add("o-masonry-grid__item-loading"),e.complete)z(e);else{const a=()=>z(e);e.addEventListener("load",a),e.addEventListener("error",a),t._masonryLoadHandler=a}})),()=>{e.forEach((e=>{const t=e;t._masonryLoadHandler&&(e.removeEventListener("load",t._masonryLoadHandler),e.removeEventListener("error",t._masonryLoadHandler),delete t._masonryLoadHandler)}))})}),[N,z,v]),V=d((()=>{if(!M.current||0===U.length)return;const e=(M.current.offsetWidth-S*(T-1))/T;w.current=Array(T).fill(0);const t=[];U.forEach(((a,n)=>{if(a.ref.current){const i=w.current.indexOf(Math.min(...w.current)),o=i*(e+S),r=w.current[i]??0,s=a.ref.current.offsetHeight;w.current[i]=r+s+S,t[n]={left:o,top:r,width:e,height:s}}})),I(t)}),[U,T,S]);r((()=>{if(!M.current)return;let e=null;const t=new ResizeObserver((()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>V()))}));return t.observe(M.current),()=>{t.disconnect(),e&&cancelAnimationFrame(e)}}),[V]),n.useLayoutEffect((()=>{if(N){return F()}return V(),x(!0),void O(!1)}),[U,T,V,N,F]),n.useEffect((()=>{const e=[];return U.forEach((t=>{if(t.ref.current){const a=new ResizeObserver((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{V()}))}))}));a.observe(t.ref.current),e.push(a)}})),()=>{e.forEach((e=>e.disconnect()))}}),[U,V]);const H=w.current.length>0?Math.max(...w.current):0,Y=["o-masonry-grid",a,A?"o-masonry-grid--animate":"",R?"o-masonry-grid--loading-images":""].filter(Boolean).join(" ");return e("div",{ref:M,className:Y,style:{position:"relative",width:"100%",height:`${H}px`,...f.style},...f,children:U.map(((t,a)=>{const n=L[a];return e("div",n?{ref:t.ref,className:"o-masonry-grid__item",style:{position:"absolute",left:`${n.left}px`,top:`${n.top}px`,width:`${n.width}px`,opacity:1},children:t.element}:{ref:t.ref,style:{opacity:0,position:"absolute"},children:t.element},t.id)}))})}));qa.displayName="MasonryGrid";const Xa=s((({children:t,className:a="",...n},i)=>{const o=["o-masonry-grid__item-inner"];return a&&o.push(a),e("div",{ref:i,className:o.join(" "),...n,children:t})}));Xa.displayName="MasonryGridItem";var ja=Object.freeze({__proto__:null,Container:st,Grid:Wa,GridCol:Qa,MasonryGrid:qa,MasonryGridItem:Xa,Row:$a});const Ja=s((({title:a,icon:i,collapsible:o=!1,defaultCollapsed:r=!1,showNewsletter:s=!1,children:l,className:c="",...d},u)=>{const[h,m]=n.useState(r),p=["c-footer__section",o&&"c-footer__section--collapsible",h&&"c-footer__section--collapsed",c].filter(Boolean).join(" ");return e(Qa,{xs:12,md:s?6:3,className:"c-footer__section-col",children:t("div",{ref:u,className:p,...d,children:[a&&e("div",{className:"c-footer__section-header",children:o?t("button",{type:"button",className:"c-footer__section-toggle",onClick:()=>{o&&m(!h)},"aria-expanded":!h,"aria-controls":`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`,children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a}),e("span",{className:"c-footer__section-chevron",children:h?"▼":"▲"})]}):t("div",{className:"c-footer__section-header-content",children:[i&&e("span",{className:"c-footer__section-icon",children:i}),e("h4",{className:"c-footer__section-title",children:a})]})}),e("div",{className:"c-footer__section-content",id:a?`footer-section-${a.toString().toLowerCase().replace(/\s+/g,"-")}`:void 0,style:{display:o&&h?"none":"flex"},children:l})]})})}));Ja.displayName="FooterSection";const en=s((({href:a,icon:n,external:i=!1,active:o=!1,disabled:r=!1,onClick:s,children:l,className:c="",LinkComponent:d,...u},h)=>{const m={className:["c-footer__link",o&&"c-footer__link--active",r&&"c-footer__link--disabled",c].filter(Boolean).join(" "),onClick:r?void 0:s,"aria-disabled":r,...i&&{target:"_blank",rel:"noopener noreferrer"},...u};return d?t(d,{ref:h,to:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]}):t("a",{ref:h,href:r?void 0:a,...m,children:[n&&e("span",{className:"c-footer__link-icon",children:n}),e("span",{className:"c-footer__link-text",children:l}),i&&e("span",{className:"c-footer__link-external",children:"↗"})]})}));en.displayName="FooterLink";const tn=({title:n,subtitle:i,text:o,imageSrc:r,imageAlt:s="Hero image",alignment:l="left",backgroundImageSrc:c,showOverlay:d=!0,fullViewportHeight:u=!1,actions:h,imageColSize:m=7,contentColSize:p=5,contentWidth:g,className:S="",style:E,parallax:A=!1,parallaxIntensity:N=.5,videoBackground:v,children:_,glass:f,videoOptions:b={autoplay:!0,loop:!0,muted:!0}})=>{const{generateHeroClassNames:T,generateImageColClass:C,generateContentColClass:L,hasBackgroundImage:I,hasForegroundImage:y,useGridLayout:x,heroRef:R,videoRef:O}=fa({alignment:l,imageColSize:m,contentColSize:p,imageSrc:r,backgroundImageSrc:c,showOverlay:d,fullViewportHeight:u,contentWidth:g,parallax:A,parallaxIntensity:N,videoBackground:v}),M={...g?{"--atomix-hero-content-width":g}:{},...E},w=()=>{if(!v)return null;const{autoplay:a,loop:n,muted:i,posterUrl:o}=b;return t("video",{ref:O,className:"c-hero__video",autoPlay:a,loop:n,muted:i,playsInline:!0,poster:o,children:[e("source",{src:v,type:`video/${v.split(".").pop()||"mp4"}`}),"Your browser does not support the video tag."]})},D=()=>{const a=t("div",{className:P.SELECTORS.CONTENT.replace(".",""),children:[i&&e("p",{className:P.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:P.SELECTORS.TITLE.replace(".",""),children:n}),o&&e("p",{className:P.SELECTORS.TEXT.replace(".",""),children:o}),h&&e("div",{className:P.SELECTORS.ACTIONS.replace(".",""),children:h})]});return!1===f?a:f?e("div",!0===f?{className:P.SELECTORS.CONTENT.replace(".",""),children:e(je,{displacementScale:60,blurAmount:3,saturation:180,aberrationIntensity:0,cornerRadius:8,overLight:!1,mode:"standard",children:t("div",{className:"u-p-4",children:[i&&e("p",{className:P.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:P.SELECTORS.TITLE.replace(".",""),children:n}),o&&e("p",{className:P.SELECTORS.TEXT.replace(".",""),children:o}),h&&e("div",{className:P.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}:{className:P.SELECTORS.CONTENT.replace(".",""),children:e(je,{...f,children:t("div",{className:"u-p-4",children:[i&&e("p",{className:P.SELECTORS.SUBTITLE.replace(".",""),children:i}),e("h1",{className:P.SELECTORS.TITLE.replace(".",""),children:n}),o&&e("p",{className:P.SELECTORS.TEXT.replace(".",""),children:o}),h&&e("div",{className:P.SELECTORS.ACTIONS.replace(".",""),children:h})]})})}):a},B=()=>y?e("div","center"===l?{className:P.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:r,alt:s,className:P.SELECTORS.IMAGE.replace(".","")})}:{className:C(),children:e("img",{src:r,alt:s,className:P.SELECTORS.IMAGE.replace(".","")})}):null;return t("div",{ref:R,className:T(S),style:M,"data-parallax":A?"true":void 0,"data-parallax-intensity":A?N:void 0,children:[I||v?t("div",{className:P.SELECTORS.BG.replace(".",""),children:[c&&e("img",{src:c,alt:"Background",className:P.SELECTORS.BG_IMAGE.replace(".","")}),w(),d&&e("div",{className:P.SELECTORS.OVERLAY.replace(".","")})]}):null,e("div",{className:`${P.SELECTORS.CONTAINER.replace(".","")} o-container`,children:_?e("div",{className:P.SELECTORS.GRID.replace(".",""),children:_}):x?e("div",{className:`${P.SELECTORS.GRID.replace(".","")} o-grid`,children:t(a,"left"===l?{children:[e("div",{className:L(),children:D()}),B()]}:{children:[B(),e("div",{className:L(),children:D()})]})}):t(a,{children:[D(),B()]})})]})};tn.displayName="Hero";const an=({children:t,variant:a="default",className:i="",style:o,...r})=>{const s=[D.BASE_CLASS,"default"!==a&&`c-list--${a}`,i].filter(Boolean).join(" "),l=["number","text"].includes(a)?"ol":"ul";return e(l,{className:s,style:o,...r,children:n.Children.map(t,(t=>(n.isValidElement(t),e("li",{className:"c-list__item",children:t}))))})};an.displayName="List";const nn=({messages:n=[],otherAvatar:o,selfAvatar:r,otherName:s,width:l="100%",onSendMessage:c,placeholder:d="Type a message",className:u="",style:h,bodyHeight:m,disabled:p=!1,id:g,glass:S})=>{const{inputValue:E,handleInputChange:A,handleSubmit:N,handleKeyDown:v}=(({onSendMessage:e}={})=>{const[t,a]=i(""),n=n=>{n.preventDefault(),t.trim()&&e&&(e(t.trim()),a(""))};return{inputValue:t,setInputValue:a,handleInputChange:e=>{a(e.target.value)},handleSubmit:n,handleKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),n(e))}}})({onSendMessage:c}),_=g||`messages-${Math.random().toString(36).substr(2,9)}`,f=`${_}-input`,b={displacementScale:150,cornerRadius:12,elasticity:0,aberrationIntensity:2},T=`${de.CLASSES.BASE} ${S?"c-messages--glass":""} ${p?"is-disabled":""} ${u}`,C=t(a,{children:[e("div",{className:de.CLASSES.BODY,style:m?{"--atomix-messages-body-height":m}:void 0,children:n.map((a=>t("div",{className:`${de.CLASSES.CONTENT} ${a.isSelf?de.CLASSES.CONTENT_SELF:""}`,"aria-label":`${a.isSelf?"You":s||"Other person"} sent a message at ${a.time}`,children:[e(nt,{src:a.isSelf?r:o,size:"xl",circle:!0,className:de.CLASSES.AVATAR,alt:a.isSelf?"Your avatar":`${s||"Other person"}'s avatar`}),t("div",{className:de.CLASSES.ITEMS,children:[!a.isSelf&&s&&e("div",{className:de.CLASSES.NAME,children:s}),a.text&&t("div",{className:de.CLASSES.TEXT,children:[a.text,e("span",{className:de.CLASSES.TIME,"aria-label":`Sent at ${a.time}`,children:a.time})]}),a.image&&e("img",{className:de.CLASSES.IMAGE,src:a.image,alt:"Message attachment",loading:"lazy"}),a.file&&t("div",{className:de.CLASSES.FILE,"aria-label":`File attachment: ${a.file.name}, size: ${a.file.size}`,children:[e("span",{className:de.CLASSES.FILE_ICON,children:e(at,{name:"File","aria-hidden":"true"})}),t("div",{className:de.CLASSES.FILE_DETAILS,children:[e("div",{className:de.CLASSES.FILE_NAME,children:a.file.name}),e("div",{className:de.CLASSES.FILE_SIZE,children:a.file.size})]})]})]})]},a.id)))}),t("form",{className:de.CLASSES.FORM,onSubmit:N,"aria-label":"Message input form",children:[t("div",{className:de.CLASSES.INPUT_GROUP,children:[e("label",{htmlFor:f,className:"u-visually-hidden",children:"Type a message"}),e("input",{id:f,type:"text",className:de.CLASSES.INPUT,placeholder:d,value:E,onChange:A,onKeyDown:v,disabled:p,"aria-label":"Message input"}),t("div",{className:de.CLASSES.OPTIONS,"aria-label":"Message options",children:[e("button",{type:"button",className:de.CLASSES.OPTION,"aria-label":"Attach file",disabled:p,children:e(at,{name:"PaperclipHorizontal","aria-hidden":"true",className:de.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:de.CLASSES.OPTION,"aria-label":"Attach image",disabled:p,children:e(at,{name:"Image","aria-hidden":"true",className:de.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:de.CLASSES.OPTION,"aria-label":"Insert link",disabled:p,children:e(at,{name:"Link","aria-hidden":"true",className:de.CLASSES.OPTION_ICON})})]})]}),e("button",{type:"submit",className:de.CLASSES.SUBMIT,"aria-label":"Send message",disabled:p,children:e(at,{name:"PaperPlaneTilt","aria-hidden":"true",size:24})})]})]});if(S){const t=!0===S?b:{...b,...S};return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:_,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:e(je,{...t,children:e("div",{className:"c-messages__glass-content",style:{borderRadius:t.cornerRadius},children:C})})})}return e("div",{className:T,style:{"--atomix-messages-width":l,...h},id:_,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:C})};nn.displayName="Messages";const on=({children:a,isOpen:n=!1,onOpenChange:s,onClose:l,onOpen:c,title:u,subtitle:h,size:m="md",backdrop:p=!0,keyboard:g=!0,className:S="",style:E,closeButton:A=!0,footer:N,glass:v,..._})=>{const f=o(null),b=o(null),T=o(null),{isOpen:C,open:L,close:I}=function({isOpen:e,onOpenChange:t,onOpen:a,onClose:n}={}){const[o,s]=i(!1),l=void 0!==e,c=l?!!e:o;r((()=>{l&&s(!!e)}),[e,l]);const u=d((e=>{l||s(e),t&&t(e),e&&a?a():!e&&n&&n()}),[l,t,a,n]),h=d((()=>{u(!0)}),[u]),m=d((()=>{u(!1)}),[u]),p=d((()=>{u(!c)}),[c,u]);return{isOpen:c,open:h,close:m,toggle:p}}({isOpen:n,onOpenChange:s,onClose:l,onOpen:c});r((()=>{if(!g)return;const e=e=>{"Escape"===e.key&&C&&I()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[C,I,g]);const y=["c-modal",C?ce.CLASSES.IS_OPEN:"",m?`c-modal--${m}`:"",v?"c-modal--glass":"",S].filter(Boolean).join(" "),x=t("div",{className:"c-modal__content",children:[(u||A)&&t("div",{className:"c-modal__header",children:[t("div",{className:"c-modal__header-content",children:[u&&e("h3",{className:"c-modal__title",children:u}),h&&e("p",{className:"c-modal__sub",children:h})]}),A&&e("button",{type:"button",className:"c-modal__close c-btn js-modal-close",onClick:I,"aria-label":"Close modal",children:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M16.0672 15.1828C16.1253 15.2409 16.1713 15.3098 16.2028 15.3857C16.2342 15.4615 16.2504 15.5429 16.2504 15.625C16.2504 15.7071 16.2342 15.7884 16.2028 15.8643C16.1713 15.9402 16.1253 16.0091 16.0672 16.0672C16.0091 16.1252 15.9402 16.1713 15.8643 16.2027C15.7885 16.2342 15.7071 16.2503 15.625 16.2503C15.5429 16.2503 15.4616 16.2342 15.3857 16.2027C15.3098 16.1713 15.2409 16.1252 15.1828 16.0672L10 10.8836L4.8172 16.0672C4.69992 16.1844 4.54086 16.2503 4.37501 16.2503C4.20916 16.2503 4.0501 16.1844 3.93282 16.0672C3.81555 15.9499 3.74966 15.7908 3.74966 15.625C3.74966 15.4591 3.81555 15.3001 3.93282 15.1828L9.11642 9.99998L3.93282 4.81717C3.81555 4.69989 3.74966 4.54083 3.74966 4.37498C3.74966 4.20913 3.81555 4.05007 3.93282 3.93279C4.0501 3.81552 4.20916 3.74963 4.37501 3.74963C4.54086 3.74963 4.69992 3.81552 4.8172 3.93279L10 9.11639L15.1828 3.93279C15.3001 3.81552 15.4592 3.74963 15.625 3.74963C15.7909 3.74963 15.9499 3.81552 16.0672 3.93279C16.1845 4.05007 16.2504 4.20913 16.2504 4.37498C16.2504 4.54083 16.1845 4.69989 16.0672 4.81717L10.8836 9.99998L16.0672 15.1828Z",fill:"#141414"})})})]}),e("div",{className:"c-modal__body",children:a}),N&&e("div",{className:"c-modal__footer",children:N})]});return t("div",{ref:f,className:y,style:{display:C?"block":"none",...E},role:"dialog","aria-modal":"true","aria-hidden":!C,..._,children:[e("div",{ref:T,className:"c-modal__backdrop",onClick:e=>{p&&e.target===e.currentTarget&&I()}}),e("div",{ref:b,className:"c-modal__dialog",children:v?(()=>{const t={displacementScale:100,blurAmount:2,aberrationIntensity:1,cornerRadius:12,mode:"shader"},a=!0===v?t:{...t,...v};return e(je,{...a,children:x})})():x})]})};on.displayName="Modal";const rn=s((({children:t,alignment:a="start",variant:i="default",className:o="",disabled:r=!1,glass:s},l)=>{const{generateNavClass:c}=Ca({alignment:a,variant:i}),d=c({alignment:a,variant:i,className:o}),u=e("ul",{ref:l,className:d+(s?" c-nav--glass":""),role:"menubar","aria-orientation":"horizontal",children:n.Children.map(t,(e=>{if(n.isValidElement(e)){const t=e.props;return n.cloneElement(e,{...t,disabled:!!r||t?.disabled})}return e}))});if(s){const t={displacementScale:60,blurAmount:1.5,cornerRadius:8,mode:"shader"},a=!0===s?t:{...t,...s};return e(je,{...a,children:u})}return u}));rn.displayName="Nav";const sn=s((({children:a,dropdown:s=!1,megaMenu:l=!1,active:c=!1,href:d,onClick:u,className:h="",disabled:m=!1,"aria-expanded":p,LinkComponent:g},S)=>{const{generateNavItemClass:E,generateNavLinkClass:A,handleClick:N}=La({dropdown:s,megaMenu:l,active:c,disabled:m}),[v,_]=i(!1),f=o(null);r((()=>{if(!s&&!l||!v)return;const e=e=>{if(f.current&&!f.current.contains(e.target)){window.innerWidth<768||_(!1)}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[s,l,v]),r((()=>{if(!s&&!l)return;const e=()=>{!(window.innerWidth<768)&&v&&_(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[s,l,v]);const b=E({dropdown:s,megaMenu:l,active:c,disabled:m,className:h})+(v?" is-active":""),T=A(c,m,s||l?"c-nav__dropdown-toggle":""),C=n.Children.toArray(a),L=void 0!==p?p:v,I={ref:f,href:d||"#",className:T,onClick:s||l?e=>{(s||l)&&(e.preventDefault(),_(!v))}:N(u),"aria-disabled":m,"aria-expanded":s||l?L:void 0,"aria-current":!c||s||l?void 0:"page"};return t("li",{ref:S,className:b,role:"menuitem","aria-haspopup":s||l,children:[e(g||"a",{...I,children:s||l?C[0]:a}),(s||l)&&C.length>1&&C[1]]})}));sn.displayName="NavItem";const ln=s((({brand:a,children:n,variant:s,position:l="static",containerWidth:c,collapsible:d=!0,expanded:u,onToggle:h,className:m="",style:p,disabled:g=!1,backdrop:S=!1,closeOnOutsideClick:E=!0,closeOnEscape:A=!0,ariaLabel:N="Main navigation",id:v,glass:_},f)=>{const{generateNavbarClass:b,generateContainerStyle:T,generateCollapseClass:C}=Ta({position:l,collapsible:d,expanded:u,onToggle:h}),[L,I]=i(u||!1),y=o(null);r((()=>{void 0!==u&&I(u)}),[u]),r((()=>{const e=()=>{!(window.innerWidth<768)&&d&&("function"==typeof h?u&&h(!1):I(!1))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[d,u,h]);const x=b({position:l,variant:s,collapsible:d,className:m}),R=T(c),O=C(L),M=t("div",{className:"c-navbar__container",style:R,children:[a&&("string"==typeof a?e("a",{href:"/",className:"c-navbar__brand",children:a}):e("div",{className:"c-navbar__brand",children:a})),d&&e("button",{className:"c-navbar__toggler",onClick:()=>{if(g)return;const e=!L;"function"==typeof h?h(e):I(e)},"aria-expanded":L,"aria-label":"Toggle navigation","aria-controls":"navbar-collapse",disabled:g,type:"button",children:e("span",{className:"c-navbar__toggler-icon"})}),e("div",{id:"navbar-collapse",className:O,ref:y,children:n})]});if(_){const t={displacementScale:30,blurAmount:2,cornerRadius:0,elasticity:0,mode:"shader",shaderVariant:"premiumGlass"},a=!0===_?t:{...t,..._};return e(je,{...a,style:{..."fixed"===l&&{position:"fixed"},left:0,right:0,top:0,zIndex:1e3},children:e("nav",{ref:f,className:x+" c-navbar--glass","aria-label":N,id:v,style:p,children:M})})}return e("nav",{ref:f,className:x,"aria-label":N,id:v,style:p,children:M})}));ln.displayName="Navbar";const cn=s((({title:n,children:i,isOpen:o,onToggle:r,collapsible:s=!0,className:l="",style:c,disabled:d=!1,toggleIcon:u,id:h,glass:m},p)=>{const{isOpenState:g,wrapperRef:S,innerRef:E,generateSideMenuClass:A,generateWrapperClass:N,handleToggle:v}=Ia({isOpen:o,onToggle:r,collapsible:s,disabled:d}),_=A({className:l,isOpen:g}),f=N(),b=e(at,{name:"CaretRight",size:"xs"}),T=t(a,{children:[n&&s&&t("div",{className:"c-side-menu__toggler",onClick:v,role:"button",tabIndex:d?-1:0,"aria-expanded":g,"aria-controls":h?`${h}-content`:void 0,"aria-disabled":d,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||d||(e.preventDefault(),v())},children:[e("span",{className:"c-side-menu__title",children:n}),e("span",{className:"c-side-menu__toggler-icon",children:u||b})]}),n&&!s&&e("h3",{className:"c-side-menu__title",children:n}),e("div",{ref:S,className:f,id:h?`${h}-content`:void 0,"aria-hidden":!!s&&!g,children:e("div",{ref:E,className:"c-side-menu__inner",children:i})})]});if(m){const t={displacementScale:70,blurAmount:2,cornerRadius:12,mode:"shader"},a=!0===m?t:{...t,...m};return e(je,{...a,children:e("div",{ref:p,className:_+" c-side-menu--glass",id:h,style:c,children:T})})}return e("div",{ref:p,className:_,id:h,style:c,children:T})}));cn.displayName="SideMenu";const dn=s((({children:a,href:n,onClick:i,active:o=!1,disabled:r=!1,icon:s,className:l="",target:c,rel:d,LinkComponent:u},h)=>{const{generateSideMenuItemClass:m,handleClick:p}=ya({active:o,disabled:r,className:l}),g=m(),S={ref:h,href:r?void 0:n,className:g,onClick:p(i),"aria-disabled":r,"aria-current":o?"page":void 0,target:c,rel:d,tabIndex:r?-1:0};return n?t(u||"a",{...S,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]}):t("button",{ref:h,type:"button",className:g,onClick:p(i),disabled:r,"aria-current":o?"page":void 0,tabIndex:r?-1:0,children:[s&&e("span",{className:"c-side-menu__link-icon",children:s}),e("span",{className:"c-side-menu__link-text",children:a})]})}));dn.displayName="SideMenuItem";const un=s((({children:t,className:a=""},i)=>{const o=`c-side-menu__list ${a}`.trim();return e("ul",{ref:i,className:o,role:"list",children:n.Children.map(t,((t,a)=>n.isValidElement(t)?e("li",{className:"c-side-menu__item",role:"listitem",children:t},a):t))})}));un.displayName="SideMenuList";const hn=({currentIndex:a,imagesLength:n,onZoomOut:i,onResetZoom:o,onZoomIn:r,onToggleFullscreen:s,onClose:l,isFullscreen:c,zoomLevel:d,onRotate:u,onDownload:h,onShare:m,showInfo:p,onToggleInfo:g,currentImage:S})=>t("div",{className:"c-photo-viewer__header",children:[t("div",{className:"c-photo-viewer__header-left",children:[e(rt,{label:`${a+1} / ${n}`,variant:"primary",size:"sm"}),S?.title&&e("h3",{className:"c-photo-viewer__image-title",children:S.title})]}),t("div",{className:"c-photo-viewer__actions",children:[e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,disabled:d<=.1,"aria-label":"Zoom out",className:"c-photo-viewer__action-button",icon:e(at,{name:"Minus",size:"sm"})}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:o,disabled:1===d,"aria-label":"Reset zoom",className:"c-photo-viewer__action-button",icon:e(at,{name:"MagnifyingGlass",size:"sm"})}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,disabled:d>=5,"aria-label":"Zoom in",className:"c-photo-viewer__action-button",icon:e(at,{name:"Plus",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:u,"aria-label":"Rotate image",className:"c-photo-viewer__action-button",icon:e(at,{name:"ArrowsClockwise",size:"sm"})}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:h,"aria-label":"Download image",className:"c-photo-viewer__action-button",icon:e(at,{name:"Download",size:"sm"})}),"share"in navigator&&"function"==typeof navigator.share&&e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:m,"aria-label":"Share image",className:"c-photo-viewer__action-button",icon:e(at,{name:"Share",size:"sm"})}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:g,"aria-label":"Toggle info panel",className:"c-photo-viewer__action-button "+(p?"is-active":""),icon:e(at,{name:"Info",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:s,"aria-label":c?"Exit fullscreen":"Enter fullscreen",className:"c-photo-viewer__action-button",icon:e(at,{name:c?"ArrowsIn":"ArrowsOut",size:"sm"})}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:l,"aria-label":"Close viewer",className:"c-photo-viewer__action-button c-photo-viewer__close-button",icon:e(at,{name:"X",size:"sm"})})]})]}),mn=({show:n,onPrev:i,onNext:o,currentIndex:s,imagesLength:l,enableKeyboardNav:c,onClose:d})=>(r((()=>{if(!c)return;const e=e=>{"ArrowLeft"===e.key&&i(),"ArrowRight"===e.key&&o(),"Escape"===e.key&&d()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[c,i,o,d]),n?t(a,{children:[e(ht,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:i,disabled:0===s,"aria-label":"Previous image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--prev",icon:e(at,{name:"CaretLeft",size:"md"})}),e(ht,{iconOnly:!0,size:"md",variant:"ghost",rounded:!0,onClick:o,disabled:s===l-1,"aria-label":"Next image",className:"c-photo-viewer__nav-button c-photo-viewer__nav-button--next",icon:e(at,{name:"CaretRight",size:"md"})})]}):null),pn=({imageRef:t,containerRef:a,src:n,alt:s,zoomLevel:l,dragPosition:c,isDragging:d,rotationAngle:u,isTransitioning:h=!1,onMouseDown:m,onMouseMove:p,onMouseUp:g,onWheel:S,onTouchStart:E,onTouchMove:A,onTouchEnd:N,onDoubleClick:v})=>{const _=o(null),f=a||_,[b,T]=i(!1);r((()=>(T(!0),()=>T(!1))),[]);return r((()=>{const e=f.current;if(!e)return;const t=t=>{b&&e&&S&&S(t)},a=t=>{b&&e&&E&&E(t)},n=t=>{b&&e&&A&&A(t)},i=t=>{b&&e&&N&&N(t)};return b&&(e.addEventListener("wheel",t,{passive:!1}),e.addEventListener("touchstart",a,{passive:!1}),e.addEventListener("touchmove",n,{passive:!1}),e.addEventListener("touchend",i,{passive:!1})),()=>{e.removeEventListener("wheel",t),e.removeEventListener("touchstart",a),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",i)}}),[b,S,E,A,N,f]),e("div",{ref:f,className:"c-photo-viewer__image-container "+(h?"is-transitioning":""),style:{cursor:d?"grabbing":l>1?"grab":"default",opacity:h?.7:1,touchAction:"none"},onMouseDown:m,onMouseMove:p,onMouseUp:g,onMouseLeave:g,onDoubleClick:e=>{b&&v&&v(e)},children:e("img",{ref:t,src:n,alt:s,className:"c-photo-viewer__image",style:{transform:`scale(${l}) translate(${c.x}px, ${c.y}px) rotate(${u}deg)`,transition:d?"none":h?"opacity 0.15s ease-out":"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)",transformOrigin:"center center",willChange:d?"transform":"auto",touchAction:"none"},draggable:!1,onContextMenu:e=>e.preventDefault()})})},gn=({images:a,currentIndex:n,goToImage:i})=>a.length<=1?null:e("div",{className:"c-photo-viewer__thumbnails",children:e("div",{className:"c-photo-viewer__thumbnails-container",children:a.map(((a,o)=>{const r=a.thumbnail||a.src,s=o===n;return e(ht,{variant:"ghost",className:"c-photo-viewer__thumbnail "+(s?"is-active":""),onClick:()=>i(o),"aria-label":`View image ${o+1}${a.title?`: ${a.title}`:""}`,"aria-current":s,children:t("div",{className:"c-photo-viewer__thumbnail-wrapper",children:[e("img",{loading:"lazy",src:r,alt:a.alt||`Thumbnail ${o+1}`,className:"c-photo-viewer__thumbnail-img"}),s&&e("div",{className:"c-photo-viewer__thumbnail-indicator"})]})},o)}))})}),Sn=({show:a,image:n,onClose:i})=>a&&n?t("div",{className:"c-photo-viewer__info-panel",children:[t("div",{className:"c-photo-viewer__info-header",children:[e("h4",{className:"c-photo-viewer__info-panel-title",children:"Image Details"}),e(ht,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:i,"aria-label":"Close info panel",className:"c-photo-viewer__info-close",icon:e(at,{name:"X",size:"sm"})})]}),t("div",{className:"c-photo-viewer__info-content",children:[n.title&&e("div",{className:"c-photo-viewer__info-section",children:e("h5",{className:"c-photo-viewer__info-title",children:n.title})}),n.description&&e("div",{className:"c-photo-viewer__info-section",children:e("p",{className:"c-photo-viewer__info-description",children:n.description})}),(n.date||n.author)&&e("div",{className:"c-photo-viewer__info-section",children:t("div",{className:"c-photo-viewer__info-meta",children:[n.date&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(at,{name:"Calendar",size:14}),e("span",{children:n.date})]}),n.author&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(at,{name:"User",size:14}),e("span",{children:n.author})]})]})}),n.tags&&n.tags.length>0&&t("div",{className:"c-photo-viewer__info-section",children:[e("h6",{className:"c-photo-viewer__info-section-title",children:"Tags"}),e("div",{className:"c-photo-viewer__info-tags",children:n.tags.map(((t,a)=>e(rt,{label:t,variant:"secondary",size:"sm"},a)))})]})]})]}):null,En=({images:a,startIndex:n=0,className:s="",disabled:l=!1,enableKeyboardNavigation:u=!0,enableGestures:h=!0,enableFullscreen:m=!0,thumbnailPosition:p="bottom",onImageChange:g,onClose:S})=>{const{currentIndex:E,zoomLevel:A,imagePosition:N,isDragging:v,isFullscreen:_,rotationAngle:f,showInfo:b,imageRef:T,containerRef:C,isTransitioning:L,setZoomLevel:I,setImagePosition:y,setIsDragging:x,setIsFullscreen:R,setRotationAngle:O,setShowInfo:M,closeModal:w,goToPrevious:D,goToNext:B,setCurrentIndex:P,handleMouseDown:k,handleMouseMove:U,handleMouseUp:G,handleWheel:z,handleTouchStart:F,handleTouchMove:V,handleTouchEnd:H,handleDoubleClick:Y,resetImageState:K}=(({images:e,startIndex:t=0,enableGestures:a=!0,onImageChange:n,onClose:s})=>{const[l,c]=i(t),[u,h]=i(!1),[m,p]=i(!1),[g,S]=i({x:0,y:0}),[E,A]=i(!1),[N,v]=i(!1),[_,f]=i({}),[b,T]=i(!1),[C,L]=i(!1),[I,y]=i({velocity:0,timestamp:0}),x=o(null),R=o(null),O=o([]),M=o(null),w=o(null),D=o(0),B=o(null),P=d(((e,t)=>{if(!C||!x.current||!R.current)return{minX:0,maxX:0,minY:0,maxY:0};const a=x.current,n=R.current;if(!a.naturalWidth&&!a.width)return{minX:0,maxX:0,minY:0,maxY:0};const i=a.naturalWidth||a.width||800,o=a.naturalHeight||a.height||600;try{const a=n.getBoundingClientRect();if(!a||0===a.width||0===a.height)return{minX:0,maxX:0,minY:0,maxY:0};const r=a.width,s=a.height,l=t*Math.PI/180,c=Math.abs(Math.cos(l)),d=Math.abs(Math.sin(l)),u=i/o;let h,m;r/s>u?(m=Math.min(.9*s,o),h=m*u):(h=Math.min(.9*r,i),m=h/u);const p=(h*c+m*d)*e,g=(h*d+m*c)*e,S=Math.max(0,(p-r)/2),E=Math.max(0,(g-s)/2);return{minX:-S,maxX:S,minY:-E,maxY:E}}catch(e){return{minX:0,maxX:0,minY:0,maxY:0}}}),[C]),k=d(((e,t)=>({x:Math.max(t.minX,Math.min(t.maxX,e.x)),y:Math.max(t.minY,Math.min(t.maxY,e.y))})),[]);r((()=>(L(!0),t<0||t>=e.length?c(0):c(t),()=>L(!1))),[e,t]),r((()=>{u?document.body.classList.add("is-open-photoviewer"):document.body.classList.remove("is-open-photoviewer")}),[u]),r((()=>{u&&f((e=>e[l]?e:{...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}}))}),[u,l]),r((()=>{n&&n(l)}),[l,n]),r((()=>{const e=x.current,t=R.current,a=()=>{C&&e&&t&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};if(!(e&&t&&e.complete&&C))return e&&t&&C?(e.addEventListener("load",a),()=>e.removeEventListener("load",a)):void 0;a()}),[l,P,k,C]),r((()=>{const e=()=>{C&&x.current&&R.current&&f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=P(t.zoomLevel,t.rotation),n=k(t.position,a);return{...e,[l]:{...t,bounds:a,position:n}}}))};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l,P,k,C]);const U=d((()=>{h(!0)}),[]),G=d((()=>{h(!1),s&&s()}),[s]),z=d((()=>{l>0&&(T(!0),setTimeout((()=>{c((e=>e-1)),T(!1)}),150))}),[l]),F=d((()=>{l<e.length-1&&(T(!0),setTimeout((()=>{c((e=>e+1)),T(!1)}),150))}),[l,e.length]),V=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.zoomLevel):e,i=Math.max(.1,Math.min(5,n)),o=P(i,a.rotation),r=k(a.position,o);return{...t,[l]:{...a,zoomLevel:i,bounds:o,position:r}}}))}),[C,l,P,k]),H=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n="function"==typeof e?e(a.position):e,i=k(n,a.bounds);return{...t,[l]:{...a,position:i}}}))}),[l,k]),Y=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=(("function"==typeof e?e(a.rotation):e)%360+360)%360,i=P(a.zoomLevel,n),o=k(a.position,i);return{...t,[l]:{...a,rotation:n,bounds:i,position:o}}}))}),[C,l,P,k]),K=d((e=>{if(!C||!e||!e.currentTarget)return;const t=e.currentTarget;if(t&&"function"==typeof t.getBoundingClientRect){if("undefined"!=typeof window&&window.location?.href?.includes("storybook"))try{const e=t.getBoundingClientRect();if(!e||0===e.width||0===e.height)return}catch(e){return}f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},i=/Mac|iPod|iPhone|iPad/.test(navigator.platform),o=e.ctrlKey&&i,r=Math.abs(e.deltaX)>0,s=!e.ctrlKey&&r&&i,c=!e.ctrlKey&&!r&&i,d=!i;let u,h=!1;if(o)u=-.02*e.deltaY,h=!0;else if(s){if(!(n.zoomLevel>1))return a;u=-.003*e.deltaY,h=!0}else c?(u=-.004*e.deltaY,h=!0):d?(u=-.006*e.deltaY,h=!0):(u=-.005*e.deltaY,h=!0);h&&(e.preventDefault(),e.stopPropagation());const m=Date.now(),p=m-D.current;if(D.current=m,o&&p<100){const e=Math.abs(u)/p;y({velocity:e,timestamp:m}),B.current&&clearTimeout(B.current),B.current=setTimeout((()=>{const e=()=>{y((t=>{if(t.velocity<.001)return t;const a=.95*t.velocity,n=a*(u>0?1:-1);return f((e=>{const t=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},a=Math.max(.1,Math.min(5,t.zoomLevel+n));if(a===t.zoomLevel)return e;const i=P(a,t.rotation),o=k(t.position,i);return{...e,[l]:{...t,zoomLevel:a,bounds:i,position:o}}})),a>=.001&&requestAnimationFrame(e),{velocity:a,timestamp:Date.now()}}))};requestAnimationFrame(e)}),50)}let g;try{g=t.getBoundingClientRect()}catch(e){return a}if(!g||0===g.width||0===g.height)return a;const S=g.width/2,E=g.height/2,A=e.clientX-g.left-S,N=e.clientY-g.top-E,v=n.zoomLevel,_=Math.max(.1,Math.min(5,v+u));if(_!==v){const e=_/v,t=P(_,n.rotation),i={x:n.position.x+A*(1-e)*.5,y:n.position.y+N*(1-e)*.5},o=k(i,t);return{...a,[l]:{...n,zoomLevel:_,bounds:t,position:o}}}return a}))}}),[C,l,P,k]),W=d((e=>{if(!C||!e||!e.currentTarget)return;const t=e.currentTarget;t&&"function"==typeof t.getBoundingClientRect&&f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};let i;try{i=t.getBoundingClientRect()}catch(e){return a}if(!i||0===i.width||0===i.height)return a;const o=i.width/2,r=i.height/2,s=e.clientX-i.left-o,c=e.clientY-i.top-r;let d,u={x:0,y:0};n.zoomLevel<1.5?(d=2,u={x:.5*-s,y:.5*-c}):n.zoomLevel<3?(d=4,u={x:.75*-s,y:.75*-c}):(d=1,u={x:0,y:0});const h=P(d,n.rotation),m=k(u,h);return{...a,[l]:{...n,zoomLevel:d,bounds:h,position:m}}}))}),[C,l,P,k]),Q=d((e=>{f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return a.zoomLevel>1&&(e.preventDefault(),p(!0),S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})),t}))}),[l]),$=d((e=>{m&&f((t=>{const a=t[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}},n=Math.min(1,1/a.zoomLevel),i=(e.clientX-g.x)*n,o=(e.clientY-g.y)*n,r=k({x:i,y:o},a.bounds);return{...t,[l]:{...a,position:r}}}))}),[m,g,l,k]),Z=d((()=>{p(!1)}),[]),q=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),O.current=Array.from(t).map((e=>({x:e.clientX,y:e.clientY}))),f((e=>{const a=e[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};if(1===t.length&&a.zoomLevel>1){p(!0);const e=t[0];e&&S({x:e.clientX-a.position.x,y:e.clientY-a.position.y})}else if(2===t.length){const e=t[0],a=t[1];if(e&&a){const t=e.clientX-a.clientX,n=e.clientY-a.clientY;M.current=Math.sqrt(t*t+n*n),w.current={x:(e.clientX+a.clientX)/2,y:(e.clientY+a.clientY)/2}}}return e}))}),[a,l]),X=d((e=>{if(!a)return;const t=e.touches;t.length>1&&(e.preventDefault(),e.stopPropagation()),f((a=>{const n=a[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};n.zoomLevel>1&&1===t.length&&e.preventDefault();let i=null,o=0,r=null;if(1===t.length&&m&&n.zoomLevel>1){const e=t[0];if(e){const t=Math.min(1,1/n.zoomLevel);i={x:(e.clientX-g.x)*t,y:(e.clientY-g.y)*t}}if(i){const e=k(i,n.bounds);return{...a,[l]:{...n,position:e}}}}else if(2===t.length&&null!==M.current){const i=t[0],s=t[1];if(i&&s){const t=i.clientX-s.clientX,c=i.clientY-s.clientY,d=Math.sqrt(t*t+c*c);o=.005*(d-M.current),M.current=d,r={x:(i.clientX+s.clientX)/2,y:(i.clientY+s.clientY)/2};const u=n.zoomLevel,h=Math.max(.1,Math.min(5,u+o));if(h!==u&&w.current&&r){let t;try{t=e.currentTarget.getBoundingClientRect()}catch(e){return a}if(!t||0===t.width||0===t.height)return a;const i=t.width/2,o=t.height/2,s=r.x-t.left-i,c=r.y-t.top-o,d=h/u,m=P(h,n.rotation),p={x:n.position.x+s*(1-d)*.5,y:n.position.y+c*(1-d)*.5},g=k(p,m);return w.current=r,{...a,[l]:{...n,zoomLevel:h,bounds:m,position:g}}}r&&(w.current=r)}}return a}))}),[C,a,m,g,l,k,P]),j=d((()=>{p(!1),M.current=null,w.current=null}),[]),J=_[l]||{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}};return{currentIndex:l,isModalOpen:u,zoomLevel:J.zoomLevel,imagePosition:J.position,isDragging:m,isFullscreen:E,rotationAngle:J.rotation,showInfo:N,imageRef:x,containerRef:R,isTransitioning:b,setCurrentIndex:c,setZoomLevel:V,setImagePosition:H,setIsDragging:p,setIsFullscreen:A,setRotationAngle:Y,setShowInfo:v,openModal:U,closeModal:G,goToPrevious:z,goToNext:F,handleWheel:K,handleMouseDown:Q,handleMouseMove:$,handleMouseUp:Z,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:j,handleDoubleClick:W,resetImageState:()=>{f((e=>({...e,[l]:{zoomLevel:1,position:{x:0,y:0},rotation:0,bounds:{minX:0,maxX:0,minY:0,maxY:0}}})))}}})({images:a,startIndex:n,enableGestures:h,onImageChange:g,onClose:S||(()=>{})}),W=c((()=>a.map((e=>"string"==typeof e?{src:e}:e))),[a]),Q=W[E],$=c((()=>["c-photo-viewer",`c-photo-viewer--thumbnails-${p}`,v?"c-photo-viewer--dragging":"",_?"c-photo-viewer--fullscreen":"",b?"c-photo-viewer--info-open":"",l?"is-disabled":"",s].filter(Boolean).join(" ")),[v,_,b,l,p,s]);return r((()=>{const e=()=>{R(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[R]),r((()=>(document.body.classList.add("is-open-photoviewer"),()=>{document.body.classList.remove("is-open-photoviewer")})),[]),a.length?t("div",{className:$,role:"dialog","aria-modal":"true","aria-label":"Photo viewer",children:[e("div",{className:"c-photo-viewer__backdrop",onClick:w}),t("div",{className:"c-photo-viewer__container",children:[e(hn,{currentIndex:E,imagesLength:a.length,onZoomOut:()=>I((e=>Math.max(e-.25,.1))),onResetZoom:()=>{K()},onZoomIn:()=>I((e=>Math.min(e+.25,5))),onToggleFullscreen:()=>{if(m){if(_)document.exitFullscreen&&document.exitFullscreen();else{const e=document.documentElement;e.requestFullscreen&&e.requestFullscreen()}R(!_)}},onClose:S||w,isFullscreen:_,zoomLevel:A,onRotate:()=>{O((e=>(e+90)%360))},onDownload:()=>{if(!Q?.src)return;const e=document.createElement("a");e.href=Q.src;const t=(Q.title||`image-${E+1}`).replace(/[^a-zA-Z0-9.-]/g,"_");e.download=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)},onShare:async()=>{if(navigator.share&&Q?.src)try{await navigator.share({title:Q.title||"Shared Image",text:Q.description||"Check out this image",url:Q.src})}catch(e){}},showInfo:b,onToggleInfo:()=>M(!b),currentImage:Q}),t("div",{className:"c-photo-viewer__content",children:[e(mn,{show:a.length>1,onPrev:D,onNext:B,currentIndex:E,imagesLength:a.length,enableKeyboardNav:u,onClose:S||w}),Q?.src&&e(pn,{imageRef:T,containerRef:C,src:Q.src,alt:Q?.alt||`Image ${E+1}`,zoomLevel:A,dragPosition:N,isDragging:v,rotationAngle:f,isTransitioning:L,onMouseDown:k,onMouseMove:U,onMouseUp:G,onWheel:z,onTouchStart:F,onTouchMove:V,onTouchEnd:H,onDoubleClick:Y})]}),"none"!==p&&e(gn,{images:W,currentIndex:E,goToImage:P}),e(Sn,{show:b,image:Q,onClose:()=>M(!1)})]})]}):null};En.displayName="PhotoViewer";const An=g({isOpen:!1,setIsOpen:()=>{},triggerRef:{current:null},popoverId:"",triggerType:"click"}),Nn=({content:a,position:n="top",trigger:s="click",className:l="",style:c,delay:d=0,offset:u=12,defaultOpen:h=!1,isOpen:m,onOpenChange:p,closeOnClickOutside:g=!0,closeOnEscape:S=!0,id:E,children:A,glass:N})=>{const{isOpen:v,setIsOpen:_,triggerRef:f,popoverRef:b,arrowRef:T,popoverId:C,currentPosition:L,updatePosition:I}=(({position:e="top",trigger:t="click",offset:a=12,delay:n=0,defaultOpen:s=!1,isOpen:l,onOpenChange:c,closeOnClickOutside:d=!0,closeOnEscape:u=!0,id:h})=>{const[m,p]=i(s),[g,S]=i("auto"===e?"top":e),E=o(null),A=o(null),N=o(null),v=o(null),_=h||`popover-${Math.random().toString(36).slice(2,11)}`,f=void 0!==l,b=f?l:m,T=e=>{f||p(e),c&&c(e)};r((()=>{if("hover"!==t||!E.current||!A.current)return;const e=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null),n>0?v.current=setTimeout((()=>{T(!0)}),n):T(!0)},a=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null),v.current=setTimeout((()=>{A.current?.matches(":hover")||T(!1)}),100)},i=()=>{null!==v.current&&(clearTimeout(v.current),v.current=null)},o=()=>{T(!1)};return E.current.addEventListener("mouseenter",e),E.current.addEventListener("mouseleave",a),A.current.addEventListener("mouseenter",i),A.current.addEventListener("mouseleave",o),()=>{E.current&&(E.current.removeEventListener("mouseenter",e),E.current.removeEventListener("mouseleave",a)),A.current&&(A.current.removeEventListener("mouseenter",i),A.current.removeEventListener("mouseleave",o)),null!==v.current&&window.clearTimeout(v.current)}}),[t,n,b]);const C=t=>{if(!E.current||!A.current)return;const n=E.current.getBoundingClientRect(),i=A.current.getBoundingClientRect(),o=window.innerWidth,r=window.innerHeight,s=n.top<50||n.bottom>r-50||n.left<50||n.right>o-50;if("scroll"===t?.type&&!s)return;const l=n.top,c=r-n.bottom,d=n.left,u=o-n.right;let h="auto"===e?"top":e;if("auto"===e){const e=[{position:"top",space:l},{position:"right",space:u},{position:"bottom",space:c},{position:"left",space:d}];e.sort(((e,t)=>t.space-e.space)),h=e[0]?.position}else("top"===e&&l<i.height+a&&c>=i.height+a||"bottom"===e&&c<i.height+a&&l>=i.height+a||"left"===e&&d<i.width+a&&u>=i.width+a||"right"===e&&u<i.width+a&&d>=i.width+a)&&(h={top:"bottom",bottom:"top",left:"right",right:"left",auto:"bottom"}[e]);S(h);let m=0,p=0;switch(h){case"top":m=n.top-i.height-a,p=n.left+n.width/2-i.width/2;break;case"bottom":m=n.bottom+a,p=n.left+n.width/2-i.width/2;break;case"left":m=n.top+n.height/2-i.height/2,p=n.left-i.width-a;break;case"right":m=n.top+n.height/2-i.height/2,p=n.right+a}p<0?p=5:p+i.width>o&&(p=o-i.width-5),m<0?m=5:m+i.height>r&&(m=r-i.height-5);const g=m+window.scrollY,N=p+window.scrollX;A.current.style.position="absolute",A.current.style.top=`${g}px`,A.current.style.left=`${N}px`};return r((()=>{if(!b||!E.current||!A.current)return;C(),window.addEventListener("resize",C);let e=null;const t=t=>{e||(e=setTimeout((()=>{C(t),e=null}),100))};window.addEventListener("scroll",t,{passive:!0});const a=setInterval((()=>{C()}),500);return()=>{window.removeEventListener("resize",C),window.removeEventListener("scroll",t),e&&clearTimeout(e),clearInterval(a)}}),[b,e,a]),r((()=>{if(!b||!d)return;const e=e=>{A.current&&!A.current.contains(e.target)&&E.current&&!E.current.contains(e.target)&&T(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[b,d]),r((()=>{if(!b||!u)return;const e=e=>{"Escape"===e.key&&T(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[b,u]),r((()=>()=>{null!==v.current&&window.clearTimeout(v.current)}),[]),{isOpen:b,setIsOpen:T,triggerRef:E,popoverRef:A,arrowRef:N,popoverId:_,currentPosition:g,updatePosition:C}})({position:n,trigger:s,offset:u,delay:d,defaultOpen:h,isOpen:m,onOpenChange:p,closeOnClickOutside:g,closeOnEscape:S,id:E});return t(An.Provider,{value:{isOpen:v,setIsOpen:_,triggerRef:f,popoverId:C,triggerType:s},children:[A,"undefined"!=typeof document&&R(t("div",{ref:b,className:`c-popover c-popover--${L} ${v?U.CLASSES.IS_OPEN:""} ${N?"c-popover--glass":""} ${l}`,style:c,id:C,role:"tooltip","aria-hidden":!v,children:[N?(()=>{const t={displacementScale:50,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},n=!0===N?t:{...t,...N};return e(je,{...n,children:e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})})})})():e("div",{className:"c-popover__content",children:e("div",{className:"c-popover__content-inner",children:a})}),e("div",{ref:T,className:"c-popover__arrow"})]}),document.body)]})};s((({children:e,trigger:t},a)=>{const{isOpen:i,setIsOpen:o,triggerRef:r,popoverId:s,triggerType:l}=n.useContext(An),c=t||l,d=()=>{o(!i)},u=()=>{o(!0)},h=()=>{o(!1)},m=n.Children.only(e),p={ref:a||r,"aria-describedby":s,"aria-expanded":i};return"click"===c?p.onClick=d:"hover"===c&&(p.onMouseEnter=u,p.onMouseLeave=h),n.cloneElement(m,p)})),Nn.displayName="Popover";function vn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function _n(e,t){return n.useMemo((()=>null==e&&null==t?null:a=>{vn(e,a),vn(t,a)}),[e,t])}const fn=s((({value:a=0,defaultValue:n,maxValue:s=5,allowHalf:l=!1,readOnly:c=!1,size:u="md",color:h,onChange:m,className:p="",style:g,label:S,id:E,useVanillaJS:A=!1,glass:N,...v},_)=>{const f=o(null),b=o(null),{currentValue:T,hoverValue:C,focusedIndex:L,setHoverValue:I,setFocused:y,handleKeyDown:x}=(({value:e=0,maxValue:t=5,allowHalf:a=!1,readOnly:n=!1,onChange:o})=>{const r=void 0!==o,[s,l]=i(e),[c,u]=i(null),[h,m]=i(null),p=r?e:s,g=d((e=>{n||u(e)}),[n]),S=d((()=>{n||u(null)}),[n]),E=d((e=>{n||(r||l(e),o?.(e))}),[n,o,r]),A=d(((e,i)=>{if(n)return;const s=a?.5:1;let c=p;switch(e.key){case"ArrowRight":case"ArrowUp":c=Math.min(t,p+s),e.preventDefault();break;case"ArrowLeft":case"ArrowDown":c=Math.max(0,p-s),e.preventDefault();break;case"Home":c=0,e.preventDefault();break;case"End":c=t,e.preventDefault();break;case" ":case"Enter":c=i,e.preventDefault();break;default:return}c!==p&&(r||l(c),o?.(c))}),[p,t,a,n,o,r]);return{currentValue:p,hoverValue:c,focusedIndex:h,handleMouseEnter:g,handleMouseLeave:S,handleClick:E,handleKeyDown:A,setFocused:m,setHoverValue:u,isControlled:r}})({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,onChange:m}),R=d(((e,t)=>{if(!c)if(l){const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;I(Math.max(.5,i))}else I(t)}),[c,l,I]),O=d(((e,t)=>{if(c||!l)return;const a=e.currentTarget.getBoundingClientRect(),n=a.left+a.width/2,i=e.clientX<n?t-.5:t;I(Math.max(.5,i))}),[c,l,I]),M=d((()=>{c||I(null)}),[c,I]),w=d(((e,t)=>{if(c)return;let a=t;if(l){const n=e.currentTarget.getBoundingClientRect(),i=n.left+n.width/2;a=e.clientX<i?t-.5:t,a=Math.max(.5,a)}m?.(a)}),[c,m,l]);r((()=>{if(A&&"undefined"!=typeof window&&f.current)return()=>{b.current&&b.current.destroy()}}),[A,a,n,s,l,c,u,h,m]),r((()=>{A&&b.current&&b.current.updateOptions({value:void 0!==a?a:n,maxValue:s,allowHalf:l,readOnly:c,size:u,color:h})}),[A,a,n,s,l,c,u,h]);const D=["c-rating","sm"===u?Z.CLASSES.SMALL:"","lg"===u?Z.CLASSES.LARGE:"",h?`c-rating--${h}`:"",p].filter(Boolean).join(" ");if(A)return e("div",{className:D,ref:_n(f,_),id:E,...v});const B=null!==C?C:T,P=e("div",{className:D,ref:_n(f,_),id:E,style:g,"data-readonly":c?"true":"false",onMouseLeave:M,role:c?"img":"radiogroup","aria-label":S||`Rating: ${T} out of ${s} stars`,...v,children:(()=>{const a=[],n=l?Math.floor(2*B)/2:Math.round(B),i=E||`rating-${Math.random().toString(36).substring(2,9)}`;for(let o=1;o<=s;o++){const r=o<=Math.floor(n),d=l&&o-.5===n,u=["c-rating__star",r?Z.CLASSES.FULL:"",d?Z.CLASSES.HALF:"",h?`c-rating__star--${h}`:"",L===o?"c-rating__star--focused":""].filter(Boolean).join(" "),m=`${i}-star-${o}`;a.push(e("div",{id:m,className:u,"data-value":o,role:c?"presentation":"button",tabIndex:c?-1:0,"aria-label":`${o} ${1===o?"star":"stars"}`,"aria-checked":o<=n,"aria-setsize":s,"aria-posinset":o,onClick:e=>w(e,o),onMouseEnter:e=>R(e,o),onMouseMove:e=>O(e,o),onFocus:()=>y(o),onBlur:()=>y(null),onKeyDown:e=>x(e,o),children:t("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:[e("path",{className:"c-rating__star-outline",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",strokeWidth:"1"}),e("path",{className:"c-rating__star-full",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),e("path",{className:"c-rating__star-half",d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",clipPath:`url(#half-star-clip-${i}-${o})`}),e("defs",{children:e("clipPath",{id:`half-star-clip-${i}-${o}`,children:e("rect",{x:"0",y:"0",width:"12",height:"24"})})})]})},o))}return a})()});if(N){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===N?t:{...t,...N};return e(je,{...a,children:P})}return P}));fn.displayName="Rating";const bn=({productName:a,productImage:n,initialRating:s=0,maxRating:l=5,allowHalf:c=!0,ratingColor:d="warning",onSubmit:u,className:h="",style:m})=>{const[p,g]=i(s),[S,E]=i(""),[A,N]=i(!1),v=o(null),_=o(null);r((()=>{if("undefined"!=typeof window&&v.current)return()=>{_.current&&_.current.destroy()}}),[a,n,s,l,c,d,u]);const f=e=>{e.preventDefault(),u&&u(p,S),N(!0)},b=["c-product-review",h].filter(Boolean).join(" ");return A?e("div",{className:b,ref:v,style:m,children:t("div",{className:"c-product-review__success",children:[e("h3",{children:"Thank you for your review!"}),e("p",{children:"Your feedback helps us improve our products."}),e(ht,{variant:"secondary",label:"Write another review",onClick:()=>{N(!1),g(0),E("")}})]})}):t("div",{className:b,ref:v,style:m,children:[t("div",{className:"c-product-review__header",children:[t("h3",{className:"c-product-review__title",children:["Review ",a]}),n&&e("div",{className:"c-product-review__image-wrapper",children:e("img",{src:n,alt:a,className:"c-product-review__image"})})]}),t("form",{className:"c-product-review__form",onSubmit:f,children:[t("div",{className:"c-product-review__rating-container",children:[e("label",{className:"c-product-review__label",children:"Your Rating"}),t("div",{className:"c-rating-container",children:[e(fn,{value:p,onChange:g,allowHalf:c,maxValue:l,size:"lg",color:d}),e("span",{className:"c-rating__value",children:p>0?p.toFixed(1):"Select a rating"})]})]}),t("div",{className:"c-product-review__comment-container",children:[e("label",{htmlFor:"review-comment",className:"c-product-review__label",children:"Your Review"}),e("textarea",{id:"review-comment",className:"c-product-review__textarea",value:S,onChange:e=>E(e.target.value),placeholder:"Share your experience with this product...",rows:5})]}),e("div",{className:"c-product-review__actions",children:e(ht,{variant:"primary",label:"Submit Review",disabled:0===p,onClick:()=>f(new Event("click"))})})]})]})};bn.displayName="ProductReview";const Tn=s((({value:t,variant:a="primary",size:n="md",className:i="",style:o,disabled:r=!1,ariaLabel:s=he.DEFAULTS.ARIA_LABEL,glass:l},c)=>{const{progressValue:d,progressStyle:u,progressClasses:h}=(({value:e,variant:t="primary",size:a="md",className:n=""})=>{const i=Math.min(Math.max(e,0),100),o="c-progress";return{progressValue:i,progressStyle:{"--atomix-progress-percentage":`${i}%`},progressClasses:[o,t?`${o}--${t}`:"",a?`${o}--${a}`:"",n||""].filter(Boolean).join(" ")}})({value:t,variant:a,size:n,className:i}),m=e("div",{ref:c,className:h+(l?" c-progress--glass":""),style:{...u,...o},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d,"aria-label":s,"aria-disabled":r,children:e("div",{className:he.CLASSES.BAR})});if(l){const t={displacementScale:30,blurAmount:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(je,{...a,children:m})}return m})),Cn=({title:a,text:n,actions:i,imageSrc:o,imageAlt:r="Image",center:s=!1,breakout:l=!1,reverse:c=!1,contentColumns:d,backgroundImageSrc:u,showOverlay:h=!0,contentWidth:m,className:p="",style:g})=>{const{generateRiverClassNames:S,generateContentClass:E,generateVisualClass:A,hasBackgroundImage:N,hasForegroundImage:v,textContent:_}=ba({title:a,text:n,imageSrc:o,imageAlt:r,center:s,breakout:l,reverse:c,backgroundImageSrc:u,showOverlay:h,contentWidth:m}),f={...m?{[K.ATTRIBUTES.CONTENT_WIDTH]:m}:{},...g},b=()=>N?t("div",{className:K.SELECTORS.BG.replace(".",""),children:[e("img",{src:u,alt:"Background",className:K.SELECTORS.BG_IMAGE.replace(".","")}),h&&e("div",{className:K.SELECTORS.OVERLAY.replace(".","")})]}):null,T=()=>v?e("div",{className:A(),children:e("div",{className:K.SELECTORS.IMAGE_WRAPPER.replace(".",""),children:e("img",{src:o,alt:r,className:K.SELECTORS.IMAGE.replace(".","")})})}):null;return d&&d.length>0?t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${K.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:K.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[d.map(((t,a)=>e("div",{className:`${K.SELECTORS.CONTENT_COL.replace(".","")} ${K.SELECTORS[`CONTENT_COL_${t.type.toUpperCase()}`].replace(".","")}`,children:t.content},a))),i&&e("div",{className:K.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]}):t("div",{className:S(p),style:f,children:[b(),e("div",{className:`${K.SELECTORS.CONTAINER.replace(".","")} o-container`,children:t("div",{className:K.SELECTORS.ROW.replace(".",""),children:[!c&&T(),t("div",{className:E(),children:[a&&e("h2",{className:K.SELECTORS.TITLE.replace(".",""),children:a}),_.map(((t,a)=>e("p",{className:K.SELECTORS.TEXT.replace(".",""),children:t},a))),i&&e("div",{className:K.SELECTORS.ACTIONS.replace(".",""),children:i})]}),c&&T()]})})]})};Cn.displayName="River";const Ln=({title:a,label:n,text:i,actions:s,alignment:l="left",backgroundImageSrc:c,showOverlay:d=!1,imageSrc:u,imageAlt:h="Section image",size:m="md",skeleton:p=!1,className:g="",style:S})=>{const E=o(null),A=o(null);r((()=>{if("undefined"!=typeof window&&E.current)return()=>{A.current&&A.current.destroy()}}),[l,c,d,m,p]);const N=["c-sectionintro","center"===l?Y.CLASSES.CENTER:"","sm"===m?Y.CLASSES.SMALL:"","lg"===m?Y.CLASSES.LARGE:"",c?"c-sectionintro--has-bg":"",g].filter(Boolean).join(" ");if(p)return e("div",{className:N,ref:E,style:S,children:t("div",{className:"c-sectionintro__container",children:[n&&e("div",{className:"c-sectionintro__label",children:e("span",{className:"c-skeleton u-w-25"})}),e("div",{className:"c-sectionintro__title",children:e("span",{className:"c-skeleton"})}),i&&t("div",{className:"c-sectionintro__text",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"})]}),s&&e("div",{className:"c-sectionintro__actions",children:e("span",{className:"c-skeleton u-w-25"})}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("div",{className:"c-sectionintro__image c-skeleton"})})]})});return t("div",{className:N,ref:E,style:S,children:[c?t("div",{className:"c-sectionintro__bg",children:[e("img",{src:c,alt:"Background",className:"c-sectionintro__bg-image"}),d&&e("div",{className:"c-sectionintro__overlay"})]}):null,n&&e("div",{className:"c-sectionintro__label",children:n}),e("h2",{className:"c-sectionintro__title",children:a}),i&&e("div",{className:"c-sectionintro__text",children:i}),s&&e("div",{className:"c-sectionintro__actions",children:s}),u&&e("div",{className:"c-sectionintro__image-wrapper",children:e("img",{src:u,alt:h,className:"c-sectionintro__image"})})]})};Ln.displayName="SectionIntro";const In=s(((a,n)=>{const{slides:i=[],height:o=300,width:r="100%",slidesToShow:s=1,spaceBetween:l=0,loop:d=!1,initialSlide:u=0,direction:h="horizontal",speed:m=300,allowTouchMove:p=!0,threshold:g=50,grabCursor:S=!0,autoplay:E,navigation:A,pagination:N,className:v,style:_,onSlideChange:f,...b}=a;if(!i||0===i.length)return e("div",{className:"c-slider c-slider--empty",style:{height:o,width:r,..._},children:e("div",{className:"c-slider__empty-message",children:"No slides available"})});const T=za({slides:i,slidesToShow:s,spaceBetween:l,loop:d,initialSlide:u,direction:h,speed:m,allowTouchMove:p,threshold:g,autoplay:E,onSlideChange:f}),{containerRef:C,wrapperRef:L,allSlides:I,realIndex:y,translateValue:x,slideWidth:R,transitioning:O,touching:M,slideNext:w,slidePrev:D,goToSlide:B,canSlideNext:P,canSlidePrev:k,handleTouchStart:U,handleTouchMove:G,handleTouchEnd:z,loopedSlides:F}=T,V=c((()=>0===R?0:I.length*(R+l)-l),[I.length,R,l]),H=["c-slider","vertical"===h&&"c-slider--vertical",S&&"c-slider--grab-cursor",M&&"c-slider--grabbing",d&&"c-slider--loop",v].filter(Boolean).join(" ");return t("div",{ref:n||C,className:H,style:{height:"number"==typeof o?`${o}px`:o,width:"number"==typeof r?`${r}px`:r,overflow:"hidden",position:"relative",cursor:S&&!M?"grab":M?"grabbing":"default",..._},onTouchStart:U,onTouchMove:G,onTouchEnd:z,onMouseDown:U,onMouseMove:G,onMouseUp:z,onMouseLeave:z,children:[e("div",{ref:L,className:"c-slider__wrapper",style:{display:"flex",flexDirection:"vertical"===h?"column":"row",width:"horizontal"===h?`${V}px`:"100%",height:"vertical"===h?`${V}px`:"100%",transform:"horizontal"===h?`translateX(${x}px)`:`translateY(${x}px)`,transition:O&&!T.repositioningRef?.current?`transform ${m}ms ease-out`:"none",willChange:"transform"},children:I.map(((a,n)=>t("div",{className:["c-slider__slide",(d?n%i.length===y:n===y)&&"c-slider__slide--active",a.isClone&&"c-slider__slide--duplicate"].filter(Boolean).join(" "),style:{width:"vertical"===h?"100%":`${R}px`,height:"vertical"===h?`${R}px`:"100%",flexShrink:0,marginRight:"horizontal"===h&&n<I.length-1?`${l}px`:0,marginBottom:"vertical"===h&&n<I.length-1?`${l}px`:0},children:[a.video?e("video",{src:a.video.src,poster:a.video.poster,autoPlay:a.video.autoplay,loop:a.video.loop,muted:a.video.muted,style:{width:"100%",height:"100%",objectFit:"cover"}}):a.backgroundImage?e("div",{style:{width:"100%",height:"100%",backgroundImage:`url(${a.backgroundImage})`,backgroundSize:"cover",backgroundPosition:"center"},children:a.content}):a.image?e("img",{src:a.image,alt:a.alt||a.title||"",style:{width:"100%",height:"100%",objectFit:"cover"}}):a.content,(a.title||a.description)&&t("div",{className:"c-slider__slide-content",children:[a.title&&e("h3",{children:a.title}),a.description&&e("p",{children:a.description})]})]},a.id||n)))}),A&&t("div",{className:"c-slider__navigation",children:[e("button",{type:"button",className:"c-slider__navigation-prev",onClick:D,disabled:!k,"aria-label":"Previous slide"}),e("button",{type:"button",className:"c-slider__navigation-next",onClick:w,disabled:!P,"aria-label":"Next slide"})]}),N&&e("div",{className:"c-slider__pagination",children:i.map(((t,a)=>e("button",{type:"button",className:"c-slider__pagination-bullet "+(a===y?"c-slider__pagination-bullet--active":""),onClick:()=>B(a),"aria-label":`Go to slide ${a+1}`},a)))})]})}));In.displayName="Slider";const yn=({items:a,activeIndex:n=0,vertical:o=!1,onStepChange:s,className:l="",style:c,glass:d})=>{const[u,h]=i(n);r((()=>{u!==n&&h(n)}),[n]);const m=e("div",{className:`c-steps ${o?F.CLASSES.VERTICAL:""} ${l}`,style:c,role:"navigation","aria-label":"Steps",children:a.map(((a,n)=>t("div",{className:`c-steps__item ${n<=u?F.CLASSES.ACTIVE:""} ${n<u?F.CLASSES.COMPLETED:""}`,"aria-current":n===u?"step":void 0,children:[e("div",{className:"c-steps__line"}),t("div",{className:"c-steps__content",children:[e("div",{className:"c-steps__number",children:a.number}),e("div",{className:"c-steps__text",children:a.text}),a.content&&e("div",{className:"c-steps__custom-content",children:a.content})]})]},`step-${n}`)))});if(d){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===d?t:{...t,...d};return e(je,{...a,children:m})}return m};yn.displayName="Steps";const xn=({items:a,activeIndex:n=z.DEFAULTS.ACTIVE_INDEX,onTabChange:o,className:r="",style:s,glass:l})=>{const[c,d]=i(n),u=t("div",{className:`c-tabs js-atomix-tab ${r}`,style:s,children:[e("ul",{className:"c-tabs__nav",children:a.map(((t,a)=>e("li",{className:"c-tabs__nav-item",children:e("button",{className:`c-tabs__nav-btn ${a===c?z.CLASSES.ACTIVE:""}`,onClick:()=>(e=>{d(e),o&&o(e)})(a),"data-tabindex":a,role:"tab","aria-selected":a===c,"aria-controls":`tab-panel-${a}`,children:t.label})},`tab-nav-${a}`)))}),e("div",{className:"c-tabs__panels",children:a.map(((t,a)=>e("div",{className:`c-tabs__panel ${a===c?z.CLASSES.ACTIVE:""}`,"data-tabindex":a,id:`tab-panel-${a}`,role:"tabpanel","aria-labelledby":`tab-nav-${a}`,style:{height:a===c?"auto":"0px",opacity:a===c?1:0,overflow:"hidden",transition:"height 0.3s ease, opacity 0.3s ease"},children:e("div",{className:"c-tabs__panel-body",children:t.content})},`tab-panel-${a}`)))})]});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(je,{...a,children:u})}return u};xn.displayName="Tab";const Rn=({quote:a,author:n,size:i="",skeleton:s=!1,className:l="",style:c})=>{const d=o(null),u=o(null);r((()=>{if("undefined"!=typeof window&&d.current)return()=>{u.current&&u.current.destroy()}}),[i,s]);const h=["c-testimonial","sm"===i?V.CLASSES.SMALL:"","lg"===i?V.CLASSES.LARGE:"",l].filter(Boolean).join(" ");return t("div",s?{className:h,ref:d,style:c,children:[t("blockquote",{className:"c-testimonial__quote",children:[e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton"}),e("span",{className:"c-skeleton u-w-75"}),e("span",{className:"c-skeleton u-w-25"})]}),t("div",{className:"c-testimonial__author",children:[e("span",{className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle c-skeleton"}),t("div",{className:"c-testimonial__info u-w-75",children:[e("p",{className:"c-testimonial__author-name",children:e("span",{className:"c-skeleton u-w-25"})}),e("p",{className:"c-testimonial__author-role",children:e("span",{className:"c-skeleton u-w-25"})})]})]})]}:{className:h,ref:d,style:c,children:[e("blockquote",{className:"c-testimonial__quote",children:a}),n&&t("div",{className:"c-testimonial__author",children:[n.avatarSrc&&e("img",{src:n.avatarSrc,alt:n.avatarAlt||"",className:"c-testimonial__author-avatar c-avatar c-avatar--xxl c-avatar--circle"}),t("div",{className:"c-testimonial__info",children:[e("p",{className:"c-testimonial__author-name",children:n.name}),e("p",{className:"c-testimonial__author-role",children:n.role})]})]})]})};Rn.displayName="Testimonial";const On=({items:a=[],title:n="Todo List",onAddTodo:o,onToggleTodo:s,onDeleteTodo:l,size:c="md",placeholder:d="Add a new todo",showCompleted:u=!0,className:h="",style:m,disabled:p=!1})=>{const{inputText:g,setInputText:S,addTodo:E,generateTodoClasses:A,generateItemClasses:N}=Pa({items:a,title:n,size:c,placeholder:d,showCompleted:u,disabled:p}),[v,_]=i(a);r((()=>{_(a)}),[a]);const f=u?v:v.filter((e=>!e.completed)),b=A({size:c,className:h,disabled:p});return t("div",{className:b,style:m,children:[n&&e("h2",{className:"c-todo__title",children:n}),e("form",{className:"c-todo__form",onSubmit:e=>{if(e.preventDefault(),p||!g.trim())return;const t={id:Ma(),text:g.trim(),completed:!1};_((e=>[...e,t])),o&&o(g),S("")},children:t("div",{className:"c-todo__form-group",children:[e("input",{type:"text",className:"c-todo__input c-input",placeholder:d,value:g,onChange:e=>S(e.target.value),disabled:p,"aria-label":"Add a new todo"}),e("button",{type:"submit",className:"c-todo__add-btn c-btn c-btn--primary",disabled:p||!g.trim(),"aria-label":"Add todo",children:e(at,{name:"Plus",size:"sm"})})]})}),e("ul",{className:"c-todo__list",children:0===f.length?e("li",{className:"c-todo__empty",children:"No items to display"}):f.map((a=>e("li",{className:N(a),children:t("div",{className:"c-todo__item-content",children:[t("label",{className:"c-todo__checkbox-label",children:[e("input",{type:"checkbox",className:"c-todo__checkbox c-checkbox",checked:a.completed,onChange:()=>{return e=a.id,void(p||(_((t=>t.map((t=>t.id===e?{...t,completed:!t.completed}:t)))),s&&s(e)));var e},disabled:p,"aria-label":`Mark "${a.text}" as ${a.completed?"incomplete":"complete"}`}),e("span",{className:"c-todo__item-text",children:a.text})]}),e("button",{type:"button",className:"c-todo__delete-btn c-btn c-btn--error c-btn--sm",onClick:()=>{return e=a.id,void(p||(_((t=>t.filter((t=>t.id!==e)))),l&&l(e)));var e},disabled:p,"aria-label":`Delete "${a.text}"`,children:e(at,{name:"Trash",size:"sm"})})]})},a.id)))})]})};On.displayName="Todo";const Mn=({initialOn:t=!1,onToggleOn:a,onToggleOff:n,disabled:o=!1,className:r="",style:s,glass:l})=>{const[c,d]=i(t),u=()=>{if(o)return;const e=!c;d(e),e?a&&a():n&&n()},h=e("div",{className:`c-toggle ${c?G.CLASSES.IS_ON:""} ${o?"is-disabled":""} ${r}`,style:s,onClick:u,onKeyDown:e=>{o||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),u())},role:"switch","aria-checked":c,tabIndex:o?-1:0,"aria-disabled":o,children:e("div",{className:"c-toggle__switch"})});if(l){const t={displacementScale:60,blurAmount:1,saturation:160,aberrationIntensity:.5,cornerRadius:8,mode:"shader"},a=!0===l?t:{...t,...l};return e(je,{...a,children:h})}return h};Mn.displayName="Toggle";const wn=({content:a,children:n,position:r=k.DEFAULTS.POSITION,trigger:s=k.DEFAULTS.TRIGGER,className:l="",style:c,delay:d=k.DEFAULTS.DELAY,offset:u=k.DEFAULTS.OFFSET,glass:h})=>{const[m,p]=i(!1),g=o(null),S=()=>{g.current&&clearTimeout(g.current),d>0?g.current=setTimeout((()=>{p(!0)}),d):p(!0)},E=()=>{g.current&&clearTimeout(g.current),p(!1)},A=()=>{m?E():S()},N={};return"hover"===s?(N.onMouseEnter=S,N.onMouseLeave=E):"click"===s&&(N.onClick=A),t("div",{className:"u-position-relative u-d-inline-block",style:c,children:[e("div",{className:`${k.SELECTORS.TRIGGER.substring(1)}${l?` ${l}`:""}`,...N,children:n}),m&&e("div",{className:`c-tooltip ${k.SELECTORS.TOOLTIP.substring(1)} ${(()=>{switch(r){case"top":default:return"c-tooltip--top";case"bottom":return"c-tooltip--bottom";case"left":return"c-tooltip--left";case"right":return"c-tooltip--right";case"top-left":return"c-tooltip--top-left";case"top-right":return"c-tooltip--top-right";case"bottom-left":return"c-tooltip--bottom-left";case"bottom-right":return"c-tooltip--bottom-right"}})()} ${h?"c-tooltip--glass":""}`,"data-tooltip-position":r,"data-tooltip-trigger":s,children:h?(()=>{const n={displacementScale:40,blurAmount:1,saturation:160,aberrationIntensity:.3,cornerRadius:6,mode:"shader"},i=!0===h?n:{...n,...h};return e(je,{...i,children:t("div",{className:`c-tooltip__content ${k.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:k.SELECTORS.ARROW.substring(1)}),a]})})})():t("div",{className:`c-tooltip__content ${k.SELECTORS.CONTENT.substring(1)} ${m&&"is-active"}`,children:[e("span",{className:k.SELECTORS.ARROW.substring(1)}),a]})})]})};wn.displayName="Tooltip";const Dn=({disabled:a=!1,size:n="md",maxSizeInMB:r=5,acceptedFileTypes:s=["application/pdf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/jpeg","image/png"],multiple:l=!1,title:c="Drag and Drop files here",supportedFilesText:d="Files supported: PDF, XSLS, JPEG, PNG, Scanner",buttonText:u="Choose File",helperText:h=`Maximum size: ${r}MB`,icon:m=e("i",{className:"icon-lux-cloud-arrow-up-fill"}),onFileSelect:p,onFileUpload:g,onFileUploadComplete:S,onFileUploadError:E,className:A="",style:N})=>{const v=o(null),[_,f]=i("idle"),[b,T]=i(!1),[C,L]=i(null),[I,y]=i(0),[x,R]=i(null),[O,M]=i(null),[w,D]=i(null),B=o(0),P=()=>{v.current&&!a&&v.current.click()},k=e=>{if(!e.length)return;const t=(l?e:[e[0]]).filter((e=>void 0!==e&&U(e)));t.length&&p&&p(t),t.length&&(L(t[0]||null),t[0]&&G(t[0]))},U=e=>{const t=1024*r*1024;if(e.size>t)return f("error"),M(`File too large. Maximum size is ${r}MB.`),!1;if(s?.length){if(!s.some((t=>{if(t.endsWith("/*")){const a=t.split("/")[0];return e.type.startsWith(`${a}/`)}return e.type===t})))return f("error"),M("File type not supported."),!1}return!0},G=e=>{f("loading"),y(0);let t=0;const a=setInterval((()=>{t+=5,t<100?(y(t),R(`${Math.ceil((100-t)/5)} seconds left`),g&&g(e,t)):(clearInterval(a),f("success"),D("Upload successful"),S&&S(e))}),500)},z=["c-upload","md"!==n&&`c-upload--${n}`,b&&W.CLASSES.DRAGGING,a&&W.CLASSES.DISABLED,"loading"===_&&"c-upload--loading","success"===_&&"c-upload--success","error"===_&&"c-upload--error",A].filter(Boolean).join(" ");return t("div",{className:z,style:N,onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current++,1===B.current&&T(!0))},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),a||(B.current--,0===B.current&&T(!1))},onDragOver:e=>{e.preventDefault(),e.stopPropagation()},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),a)return;if(B.current=0,T(!1),!e.dataTransfer.files?.length)return;const t=Array.from(e.dataTransfer.files);k(t)},children:[t("div",{className:"c-upload__inner",role:"button",tabIndex:a?-1:0,"aria-label":`${c}. ${d}. ${h}`,"aria-disabled":a,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||a||(e.preventDefault(),P())},children:[e("input",{type:"file",ref:v,className:"c-upload__input",onChange:e=>{if(!e.target.files?.length)return;const t=Array.from(e.target.files);k(t)},disabled:a,accept:s.join(","),multiple:l,"aria-hidden":"true"}),e("div",{className:"c-upload__icon",children:m}),e("h3",{className:"c-upload__title",children:c}),e("p",{className:"c-upload__text",children:d}),e("button",{type:"button",className:"c-upload__btn c-btn",onClick:P,disabled:a,children:u}),e("p",{className:"c-upload__helper-text",children:h})]}),"idle"!==_&&t("div",{className:"c-upload__loader",style:{"--upload-loader-percentage":I},children:[C&&t("div",{className:"c-upload__loader-status",children:[e("h5",{className:"c-upload__loader-title",children:C.name}),t("div",{className:"c-upload__loader-progress",children:[t("div",{className:"c-upload__loader-par",children:[I,"%"]}),e("div",{className:"c-upload__loader-time",children:x})]})]}),("loading"===_||"error"===_||"success"===_)&&t("div",{className:"c-upload__loader-control",children:[e("div",{className:"c-upload__loader-bar",children:t("svg",{children:[e("circle",{cx:"10",cy:"10",r:"10"}),e("circle",{cx:"10",cy:"10",r:"10"})]})}),e("button",{type:"button",className:"c-upload__loader-close",onClick:()=>{f("idle"),L(null),y(0),R(null),M(null),D(null)},"aria-label":"Close upload progress",children:e("i",{className:"icon-lux-x"})})]})]})]})};Dn.displayName="Upload";const Bn=s((({src:n,type:s="video",youtubeId:l,poster:c,autoplay:u=!1,loop:h=!1,muted:m=!1,controls:p=!0,preload:g="metadata",width:S,height:E,aspectRatio:A="16:9",className:R="",onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,showDownload:U=!1,showShare:G=!1,showSettings:z=!0,playbackRates:F=[.5,.75,1,1.25,1.5,2],subtitles:V,quality:H,ambientMode:Y=!1,glass:K=!1,glassOpacity:W=1,glassContent:Q,style:$,...Z},q)=>{const X=o(null),j=o(null),J=o(null),ee=o(null),[te,ae]=i(8),ne="youtube"===s||l||n&&Da(n),ie=l||(ne&&n?wa(n):null),{isPlaying:oe,currentTime:re,duration:se,volume:le,isMuted:ce,isFullscreen:de,isLoading:ue,playbackRate:he,currentQuality:pe,showControls:ge,play:Se,pause:Ee,togglePlay:Ae,seek:Ne,setVolume:ve,toggleMute:_e,toggleFullscreen:fe,togglePictureInPicture:be,setPlaybackRate:Te,setQuality:Ce,formatTime:Le,getProgressPercentage:Ie,getBufferedPercentage:ye}=function({videoRef:e,containerRef:t,onPlay:a,onPause:n,onEnded:s,onTimeUpdate:l,onVolumeChange:c,onFullscreenChange:u,onError:h,playbackRates:m=[.5,.75,1,1.25,1.5,2],quality:p}){const[g,S]=i(!1),[E,A]=i(0),[N,v]=i(0),[_,f]=i(1),[b,T]=i(!1),[C,L]=i(!1),[I,y]=i(!1),[x,R]=i(!1),[O,M]=i(0),[w,D]=i(1),[B,P]=i(p?.[0]||null),[k,U]=i(!0),G=o(null),z=d((()=>{G.current&&clearTimeout(G.current),U(!0),G.current=setTimeout((()=>{g&&U(!1)}),3e3)}),[g]),F=d((async()=>{if(e.current)try{await e.current.play(),S(!0),a?.()}catch(e){h?.(e),S(!1)}}),[e,a,h]),V=d((()=>{e.current&&(e.current.pause(),S(!1),n?.())}),[e,n]),H=d((()=>{g?V():F()}),[g,F,V]),Y=d((t=>{e.current&&(e.current.currentTime=Math.max(0,Math.min(t,N)))}),[e,N]),K=d((t=>{const a=Math.max(0,Math.min(1,t));e.current&&(e.current.volume=a,f(a),T(0===a),c?.(a))}),[e,c]),W=d((()=>{if(e.current){const t=!b;e.current.muted=t,T(t)}}),[e,b]),Q=d((async()=>{if(t.current)try{C?document.exitFullscreen&&await document.exitFullscreen():t.current.requestFullscreen&&await t.current.requestFullscreen()}catch(e){}}),[t,C]),$=d((async()=>{if(e.current)try{I?document.exitPictureInPicture&&await document.exitPictureInPicture():e.current.requestPictureInPicture&&await e.current.requestPictureInPicture()}catch(e){}}),[e,I]),Z=d((t=>{e.current&&m.includes(t)&&(e.current.playbackRate=t,D(t))}),[e,m]),q=d((t=>{if(e.current&&p){const a=e.current.currentTime,n=!e.current.paused,i=String(t.src).replace(/[<>"']/g,"");i&&(i.startsWith("http://")||i.startsWith("https://")||i.startsWith("blob:")||i.startsWith("data:"))&&(e.current.src=i,e.current.currentTime=a,n&&e.current.play(),P(t))}}),[e,p]),X=d((e=>{const t=Math.floor(e/3600),a=Math.floor(e%3600/60),n=Math.floor(e%60);return t>0?`${t}:${a.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`:`${a}:${n.toString().padStart(2,"0")}`}),[]),j=d((()=>N>0?E/N*100:0),[E,N]),J=d((()=>N>0?O/N*100:0),[O,N]);r((()=>{const t=e.current;if(!t)return;const i=()=>R(!0),o=()=>R(!1),r=()=>{v(t.duration),f(t.volume),T(t.muted)},d=()=>{A(t.currentTime),l?.(t.currentTime)},u=()=>{t.buffered.length>0&&M(t.buffered.end(t.buffered.length-1))},m=()=>{S(!0),a?.()},p=()=>{S(!1),n?.()},g=()=>{S(!1),s?.()},E=()=>{f(t.volume),T(t.muted),c?.(t.volume)},N=e=>{R(!1),h?.(e)},_=()=>y(!0),b=()=>y(!1);return t.addEventListener("loadstart",i),t.addEventListener("canplay",o),t.addEventListener("loadedmetadata",r),t.addEventListener("timeupdate",d),t.addEventListener("progress",u),t.addEventListener("play",m),t.addEventListener("pause",p),t.addEventListener("ended",g),t.addEventListener("volumechange",E),t.addEventListener("error",N),t.addEventListener("enterpictureinpicture",_),t.addEventListener("leavepictureinpicture",b),()=>{t.removeEventListener("loadstart",i),t.removeEventListener("canplay",o),t.removeEventListener("loadedmetadata",r),t.removeEventListener("timeupdate",d),t.removeEventListener("progress",u),t.removeEventListener("play",m),t.removeEventListener("pause",p),t.removeEventListener("ended",g),t.removeEventListener("volumechange",E),t.removeEventListener("error",N),t.removeEventListener("enterpictureinpicture",_),t.removeEventListener("leavepictureinpicture",b)}}),[e,a,n,s,l,c,h]),r((()=>{const e=()=>{const e=!!document.fullscreenElement;L(e),u?.(e)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)}),[u]);const ee=d((e=>{if(t.current?.contains(document.activeElement))switch(e.code){case"Space":e.preventDefault(),H();break;case"ArrowLeft":e.preventDefault(),Y(E-10);break;case"ArrowRight":e.preventDefault(),Y(E+10);break;case"ArrowUp":e.preventDefault(),K(Math.min(1,_+.1));break;case"ArrowDown":e.preventDefault(),K(Math.max(0,_-.1));break;case"KeyM":e.preventDefault(),W();break;case"KeyF":e.preventDefault(),Q()}}),[H,Y,E,K,_,W,Q,t]);r((()=>(document.addEventListener("keydown",ee),()=>document.removeEventListener("keydown",ee))),[ee]);const te=d((()=>z()),[z]),ae=d((()=>{G.current&&clearTimeout(G.current),g&&U(!1)}),[g]);return r((()=>{const e=t.current;if(e)return e.addEventListener("mousemove",te),e.addEventListener("mouseleave",ae),()=>{e.removeEventListener("mousemove",te),e.removeEventListener("mouseleave",ae),G.current&&clearTimeout(G.current)}}),[t,te,ae]),{isPlaying:g,currentTime:E,duration:N,volume:_,isMuted:b,isFullscreen:C,isPictureInPicture:I,isLoading:x,buffered:O,playbackRate:w,currentQuality:B,showControls:k,play:F,pause:V,togglePlay:H,seek:Y,setVolume:K,toggleMute:W,toggleFullscreen:Q,togglePictureInPicture:$,setPlaybackRate:Z,setQuality:q,formatTime:X,getProgressPercentage:j,getBufferedPercentage:J}}({videoRef:X,containerRef:j,onPlay:O,onPause:M,onEnded:w,onTimeUpdate:D,onVolumeChange:B,onFullscreenChange:P,onError:k,playbackRates:F,quality:H});!function({videoRef:e,canvasRef:t,enabled:a,blur:n=60,opacity:i=.6,scale:s=1.2}){const l=o(60);r((()=>{if(!a||!e.current||!t.current)return;const o=e.current,r=t.current,c=r.getContext("2d");if(!c)return;const d=()=>{if(!o||!r||!c)return;const e=o.getBoundingClientRect();r.width=e.width*s,r.height=e.height*s,c.filter=`blur(${n}px)`,c.globalAlpha=i;try{c.drawImage(o,0,0,r.width,r.height)}catch(e){}a&&(l.current=requestAnimationFrame(d))},u=()=>{a&&d()},h=()=>{l.current&&cancelAnimationFrame(l.current)};return o.addEventListener("play",u),o.addEventListener("pause",h),o.addEventListener("ended",h),o.paused||u(),()=>{o.removeEventListener("play",u),o.removeEventListener("pause",h),o.removeEventListener("ended",h),l.current&&cancelAnimationFrame(l.current)}}),[a,n,i,s,e,t])}({videoRef:X,canvasRef:J,enabled:Y});const[xe,Re]=i(!1),[Oe,Me]=i("quality"),[we,De]=i(V?.find((e=>e.default))?.srcLang||null),[Be,Pe]=i({width:0,height:0}),ke=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;Ne(a*se)}),[se,Ne]),Ue=d((e=>{const t=e.currentTarget.getBoundingClientRect(),a=(e.clientX-t.left)/t.width;ve(a)}),[ve]),Ge=d((()=>{if(n){const e=document.createElement("a");e.href=n,e.download="video",e.click()}}),[n]),ze=d((async()=>{if(navigator.share)try{await navigator.share({title:"Video",url:window.location.href})}catch(e){}}),[]),Fe=d((e=>{const t=X.current;if(t){const a=t.textTracks;for(let e=0;e<a.length;e++){const t=a[e];t&&(t.mode="hidden")}if(e)for(let t=0;t<a.length;t++){const n=a[t];if(n&&n.language===e){n.mode="showing";break}}De(e)}}),[X]);r((()=>{const e=X.current;if(e&&V){const t=()=>{setTimeout((()=>{const e=V.find((e=>e.default));e&&Fe(e.srcLang)}),100)},a=()=>{if(e.textTracks.length>0){const e=V.find((e=>e.default));e&&Fe(e.srcLang)}};return e.addEventListener("loadeddata",t),e.addEventListener("canplay",a),()=>{e.removeEventListener("loadeddata",t),e.removeEventListener("canplay",a)}}}),[V,Fe,X]),r((()=>{const e=()=>{if(ne&&ee.current){const e=ee.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}else if(X.current){const e=X.current.getBoundingClientRect();Pe({width:e.width,height:e.height})}},t=setTimeout(e,100),a=new ResizeObserver(e);if(ne&&ee.current){const n=ee.current;a.observe(n);const i=()=>e();return n.addEventListener("load",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("load",i)}}if(X.current){const n=X.current;a.observe(n);const i=()=>e();return n.addEventListener("loadedmetadata",i),()=>{clearTimeout(t),a.disconnect(),n.removeEventListener("loadedmetadata",i)}}return window.addEventListener("resize",e),()=>{clearTimeout(t),a.disconnect(),window.removeEventListener("resize",e)}}),[ne,X,ee]);const Ve=d((()=>{j.current&&j.current.focus()}),[]);r((()=>{const e=()=>{if(!j.current)return;const e=window.getComputedStyle(j.current),t=e.borderRadius||e.borderTopLeftRadius,a=parseFloat(t);isNaN(a)||ae(a)};e();let t=null;return"undefined"!=typeof ResizeObserver&&j.current&&(t=new ResizeObserver(e),t.observe(j.current)),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),t&&j.current&&(t.unobserve(j.current),t.disconnect())}}),[]);const He=d((e=>{switch(e.key){case" ":case"k":e.preventDefault(),Ae();break;case"ArrowLeft":e.preventDefault(),Ne(re-10);break;case"ArrowRight":e.preventDefault(),Ne(re+10);break;case"ArrowUp":e.preventDefault(),ve(Math.min(1,le+.1));break;case"ArrowDown":e.preventDefault(),ve(Math.max(0,le-.1));break;case"m":e.preventDefault(),_e();break;case"f":e.preventDefault(),fe()}}),[Ae,re,Ne,le,ve,_e,fe]);return t("div",{ref:j,className:`${me.CLASSES.BASE} ${ne?me.CLASSES.YOUTUBE:""} ${Y?me.CLASSES.AMBIENT:""} ${K?me.CLASSES.GLASS:""} ${R}`,style:{width:S,height:E,aspectRatio:A?A.replace(":","/"):void 0,...$},tabIndex:0,onClick:Ve,onKeyDown:He,role:"application","aria-label":"Video player",...Z,children:[Y&&e("canvas",{ref:J,className:me.CLASSES.AMBIENT_CANVAS,"aria-hidden":"true"}),ne&&ie?e("iframe",{ref:ee,className:me.CLASSES.VIDEO,src:`https://www.youtube.com/embed/${ie}?${new URLSearchParams({autoplay:u?"1":"0",loop:h?"1":"0",mute:m?"1":"0",controls:p?"1":"0",modestbranding:"1",rel:"0",...h&&{playlist:ie}}).toString()}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e("video",{ref:e=>{X&&X.current!==e&&(X.current=e),"function"==typeof q?q(e):q&&q.current!==e&&(q.current=e)},className:me.CLASSES.VIDEO,src:n,poster:c,autoPlay:u,loop:h,muted:m,preload:g,controls:!1,crossOrigin:"anonymous",children:V&&V.map((t=>e("track",{kind:"subtitles",src:t.src,srcLang:t.srcLang,label:t.label,default:t.default},t.srcLang)))}),ue&&e("div",{className:me.CLASSES.LOADING,children:e("div",{className:me.CLASSES.SPINNER})}),K&&e("div",{className:me.CLASSES.GLASS_OVERLAY,children:e(je,{..."boolean"==typeof K?{}:K,style:{borderRadius:"inherit"},mouseContainer:j,displacementScale:30,blurAmount:0,saturation:100,aberrationIntensity:0,cornerRadius:te,elasticity:0,children:!Q&&e("div",{style:{width:Be.width>0?`${Be.width}px`:"100%",height:Be.height>0?`${Be.height}px`:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"transparent"}})})}),K&&Q&&e("div",{className:me.CLASSES.GLASS_CONTENT,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:Q}),p&&!ne&&t("div",{className:`${me.CLASSES.CONTROLS} ${ge?me.CLASSES.CONTROLS_VISIBLE:""}`,style:{zIndex:K?3:"auto"},children:[e("div",{className:me.CLASSES.PROGRESS_CONTAINER,children:t("div",{className:me.CLASSES.PROGRESS_BAR,onClick:ke,children:[e("div",{className:me.CLASSES.PROGRESS_BUFFERED,style:{width:`${ye()}%`}}),e("div",{className:me.CLASSES.PROGRESS_PLAYED,style:{width:`${Ie()}%`}}),e("div",{className:me.CLASSES.PROGRESS_THUMB,style:{left:`${Ie()}%`}})]})}),t("div",{className:me.CLASSES.CONTROLS_ROW,children:[t("div",{className:me.CLASSES.CONTROLS_LEFT,children:[e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:Ae,"aria-label":oe?"Pause":"Play",children:e(oe?N:v,{size:20})}),e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(re-10),"aria-label":"Skip back 10 seconds",children:e(_,{size:20})}),e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:()=>Ne(re+10),"aria-label":"Skip forward 10 seconds",children:e(f,{size:20})}),t("div",{className:me.CLASSES.VOLUME_CONTAINER,children:[e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:_e,"aria-label":ce?"Unmute":"Mute",children:e(ce||0===le?b:T,{size:20})}),e("div",{className:me.CLASSES.VOLUME_SLIDER,children:e("div",{className:me.CLASSES.VOLUME_BAR,onClick:Ue,children:e("div",{className:me.CLASSES.VOLUME_FILL,style:{width:100*le+"%"}})})})]}),t("div",{className:me.CLASSES.TIME_DISPLAY,children:[e("span",{children:Le(re)}),e("span",{children:"/"}),e("span",{children:Le(se)})]})]}),t("div",{className:me.CLASSES.CONTROLS_RIGHT,children:[z&&t("div",{className:me.CLASSES.SETTINGS_CONTAINER,children:[e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:()=>Re(!xe),"aria-label":"Settings",children:e(C,{size:20})}),xe&&t("div",{className:me.CLASSES.SETTINGS_MENU,children:[t("div",{className:me.CLASSES.SETTINGS_TABS,children:[H&&H.length>1&&e("button",{className:`${me.CLASSES.SETTINGS_TAB} ${"quality"===Oe?me.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("quality"),children:"Quality"}),e("button",{className:`${me.CLASSES.SETTINGS_TAB} ${"speed"===Oe?me.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("speed"),children:"Speed"}),e("button",{className:`${me.CLASSES.SETTINGS_TAB} ${"subtitles"===Oe?me.CLASSES.SETTINGS_TAB_ACTIVE:""}`,onClick:()=>Me("subtitles"),children:"Subtitles"})]}),t("div",{className:me.CLASSES.SETTINGS_CONTENT,children:["quality"===Oe&&H&&e("div",{className:me.CLASSES.SETTINGS_OPTIONS,children:H.map((t=>e("button",{className:`${me.CLASSES.SETTINGS_OPTION} ${pe?.label===t.label?me.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Ce(t),children:t.label},t.label)))}),"speed"===Oe&&e("div",{className:me.CLASSES.SETTINGS_OPTIONS,children:F.map((e=>t("button",{className:`${me.CLASSES.SETTINGS_OPTION} ${he===e?me.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Te(e),children:[e,"x"]},e)))}),"subtitles"===Oe&&e("div",{className:me.CLASSES.SETTINGS_OPTIONS,children:V&&V.length>0?t(a,{children:[e("button",{className:`${me.CLASSES.SETTINGS_OPTION} ${null===we?me.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(null),children:"Off"}),V.map((t=>e("button",{className:`${me.CLASSES.SETTINGS_OPTION} ${we===t.srcLang?me.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Fe(t.srcLang),children:t.label},t.srcLang)))]}):e("div",{className:me.CLASSES.SETTINGS_OPTION,style:{opacity:.6,cursor:"default"},children:"No subtitles available"})})]})]})]}),U&&e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:Ge,"aria-label":"Download video",children:e(L,{size:20})}),G&&e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:ze,"aria-label":"Share video",children:e(I,{size:20})}),e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:be,"aria-label":"Picture in Picture",children:e("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:e("path",{d:"M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14z"})})}),e("button",{className:me.CLASSES.CONTROL_BUTTON,onClick:fe,"aria-label":de?"Exit fullscreen":"Enter fullscreen",children:e(de?y:x,{size:20})})]})]})]})]})}));Bn.displayName="VideoPlayer";var Pn=Object.freeze({__proto__:null,Accordion:Je,AnimatedChart:ft,AreaChart:Tt,AtomixGlass:je,AtomixLogo:et,Avatar:nt,AvatarGroup:it,Badge:rt,BarChart:Lt,Block:ct,Breadcrumb:dt,BubbleChart:It,Button:ht,Callout:mt,CandlestickChart:yt,Card:pt,Chart:At,ChartRenderer:vt,Checkbox:ga,ColorModeToggle:Ht,Countdown:Yt,DataTable:Jt,DatePicker:ia,DonutChart:xt,Dropdown:ra,EdgePanel:la,Footer:Za,FooterLink:en,FooterSection:Ja,FooterSocialLink:Ka,Form:Ea,FormGroup:Na,FunnelChart:Rt,GaugeChart:Ot,HeatmapChart:wt,Hero:tn,Icon:at,Input:_a,LineChart:Bt,List:an,Messages:nn,Modal:on,MultiAxisChart:Pt,Nav:rn,NavItem:sn,Navbar:ln,Pagination:jt,PhotoViewer:En,PieChart:Ut,Popover:Nn,ProductReview:bn,Progress:Tn,RadarChart:Gt,Radio:Ha,Rating:fn,River:Cn,ScatterChart:zt,SectionIntro:Ln,Select:Va,SideMenu:cn,SideMenuItem:dn,SideMenuList:un,Slider:In,Spinner:Qt,Steps:yn,Tab:xn,Testimonial:Rn,Textarea:Ya,Todo:On,Toggle:Mn,Tooltip:wn,TreemapChart:Ft,Upload:Dn,VideoPlayer:Bn,WaterfallChart:Vt});const kn=Fa,Un=Ba,Gn=Object.freeze({__proto__:null}),zn=Object.freeze({__proto__:null,ACCORDION:M,ATOMIX_GLASS:Ne,AVATAR:se,AVATAR_GROUP:le,BADGE:w,BLOCK:Ee,BREADCRUMB:B,BUTTON:{BASE_CLASS:"c-btn",ICON_CLASS:"c-btn__icon",VARIANT_PREFIX:"c-btn--"},CALLOUT:{BASE_CLASS:"c-callout",CONTENT_CLASS:"c-callout__content",ICON_CLASS:"c-callout__icon",MESSAGE_CLASS:"c-callout__message",TITLE_CLASS:"c-callout__title",TEXT_CLASS:"c-callout__text",ACTIONS_CLASS:"c-callout__actions",CLOSE_BTN_CLASS:"c-callout__close-btn",VARIANT_PREFIX:"c-callout--",CLASSES:{ONELINE:"c-callout--oneline",TOAST:"c-callout--toast",HIDE:"is-hide"}},CARD:ie,CHART:Se,CLASS_PREFIX:{COMPONENT:"c-",UTILITY:"u-",LAYOUT:"l-",OBJECT:"o-"},CODE_SNIPPET:{BASE_CLASS:"c-code-snippet",CONTAINER_CLASS:"c-code-snippet__container",HEADER_CLASS:"c-code-snippet__header",LANGUAGE_CLASS:"c-code-snippet__language",ACTIONS_CLASS:"c-code-snippet__actions",ACTION_CLASS:"c-code-snippet__action",CONTENT_CLASS:"c-code-snippet__content",CODE_CLASS:"c-code-snippet__content__code",LINE_NUMBER_CLASS:"c-code-snippet__content__line-number",COPY_FEEDBACK_CLASS:"c-code-snippet__copy-feedback",MODIFIERS:{FULLSCREEN:"c-code-snippet__container--fullscreen",WRAP:"c-code-snippet__content--wrap",LIGHT:"c-code-snippet__container--light",DARK:"c-code-snippet__container--dark"},ACTION_STATES:{ACTIVE:"c-code-snippet__action--active",DISABLED:"c-code-snippet__action--disabled"},COPY_FEEDBACK_STATES:{VISIBLE:"c-code-snippet__copy-feedback--visible"},THEMES:{LIGHT:"light",DARK:"dark",AUTO:"auto"},DEFAULTS:{SHOW_LINE_NUMBERS:!0,WRAP_LINES:!1,ENABLE_FULLSCREEN:!0,ENABLE_COPY:!0,SHOW_TOOLBAR:!0,THEME:"light"},ARIA_LABELS:{COPY:"Copy code to clipboard",WRAP_LINES:"Toggle line wrapping",FULLSCREEN:"Toggle fullscreen mode",LANGUAGE:"Code language"}},COUNTDOWN:{SELECTORS:{COUNTDOWN:".c-countdown",TIME:".c-countdown__time",TIME_COUNT:".c-countdown__time-count",TIME_LABEL:".c-countdown__time-label",SEPARATOR:".c-countdown__separator"},CLASSES:{BASE:"c-countdown",FOCUSED:"c-countdown--focused"},DEFAULTS:{SEPARATOR:":",SHOW:["days","hours","minutes","seconds"]}},DATA_TABLE_CLASSES:X,DATA_TABLE_SELECTORS:{TABLE:".c-data-table",HEADER:".c-data-table__header",HEADER_CELL:".c-data-table__header-cell",ROW:".c-data-table__row",CELL:".c-data-table__cell",PAGINATION:".c-data-table__pagination",PAGINATION_BUTTON:".c-data-table__pagination-button",SEARCH_INPUT:".c-data-table__search-input"},DATEPICKER:{SELECTORS:{DATEPICKER:".c-datepicker",INPUT:".c-datepicker__input",CALENDAR:".c-datepicker__calendar",DAY:".c-datepicker__day",MONTH:".c-datepicker__month",YEAR:".c-datepicker__year",HEADER:".c-datepicker__header",BODY:".c-datepicker__body",FOOTER:".c-datepicker__footer",WEEKDAYS:".c-datepicker__weekdays",TODAY_BUTTON:".c-datepicker__today-button",CLEAR_BUTTON:".c-datepicker__clear-button",CLOSE_BUTTON:".c-datepicker__close-button",NAV_BUTTON:".c-datepicker__nav-button",VIEW_SWITCH:".c-datepicker__view-switch"},CLASSES:{IS_OPEN:"is-open",IS_DISABLED:"is-disabled",IS_SELECTED:"is-selected",IS_TODAY:"is-today",INLINE:"c-datepicker--inline"},ATTRIBUTES:{FORMAT:"data-format",MIN_DATE:"data-min-date",MAX_DATE:"data-max-date",INLINE:"data-inline",PLACEMENT:"data-placement",CLEARABLE:"data-clearable",SHOW_TODAY:"data-show-today-button",SHOW_WEEK_NUMBERS:"data-show-week-numbers"},DEFAULTS:{FORMAT:"MM/dd/yyyy",PLACEMENT:"bottom-start",CLEARABLE:!0,SHOW_TODAY_BUTTON:!0,SHOW_WEEK_NUMBERS:!1,INLINE:!1}},DROPDOWN:ue,EDGE_PANEL:q,FOOTER:Ae,FORM:ee,FORM_GROUP:te,GLASS_CONTAINER:{CLASSES:{BASE:"c-glass-container",GLASS:"c-glass-container__glass",WARP:"c-glass-container__warp",CONTENT:"c-glass-container__content",OVERLAY:"c-glass-container__overlay",OVERLAY_VISIBLE:"c-glass-container__overlay--visible",OVERLAY_HIDDEN:"c-glass-container__overlay--hidden",OVERLAY_BLEND:"c-glass-container__overlay-blend",BORDER:"c-glass-container__border",BORDER_OVERLAY:"c-glass-container__border-overlay",HOVER_EFFECT:"c-glass-container__hover-effect",ACTIVE_EFFECT:"c-glass-container__active-effect",INTERACTION_EFFECT:"c-glass-container__interaction-effect",ACTIVE:"c-glass-container--active",CLICKABLE:"c-glass-container--clickable"},DISPLACEMENT_MAPS:{STANDARD:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iZ3JhZGllbnQiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzgwODA4MCIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZGllbnQpIi8+PC9zdmc+",POLAR:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0icG9sYXIiIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQwNDA0MCIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjODA4MDgwIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwb2xhcikiLz48L3N2Zz4=",PROMINENT:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjcwIiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMjcwIDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0icHJvbWluZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNDA0MDQwIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNjMGMwYzAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MDQwNDAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3Byb21pbmVudCkiLz48L3N2Zz4="}},HERO:P,INPUT:ae,LIST:D,LIST_GROUP:{BASE_CLASS:"c-list-group",ITEM_CLASS:"c-list-group__item",VARIANT_PREFIX:"c-list-group--",SIZE_PREFIX:"c-list-group--"},MESSAGES:de,MODAL:ce,NAV:Q,NAVBAR:{SELECTORS:{NAVBAR:".c-navbar",CONTAINER:".c-navbar__container",BRAND:".c-navbar__brand",COLLAPSE:".c-navbar__collapse",TOGGLER:".c-navbar__toggler",TOGGLER_ICON:".c-navbar__toggler-icon"},CLASSES:{BASE:"c-navbar",CONTAINER:"c-navbar__container",BRAND:"c-navbar__brand",COLLAPSE:"c-navbar__collapse",TOGGLER:"c-navbar__toggler",TOGGLER_ICON:"c-navbar__toggler-icon",FIXED:"c-navbar--fixed",FIXED_BOTTOM:"c-navbar--fixed-bottom",COLLAPSIBLE:"c-navbar--collapsible",EXPANDED:"is-expanded",BACKDROP:"c-navbar__backdrop"},ATTRIBUTES:{NAVBAR:"data-navbar",COLLAPSIBLE:"data-collapsible",EXPANDED:"data-expanded",POSITION:"data-position",BACKDROP:"data-backdrop",AUTO_CLOSE:"data-auto-close",KEYBOARD:"data-keyboard"},DEFAULTS:{POSITION:"static",COLLAPSIBLE:!0,EXPANDED:!1,BACKDROP:!1,AUTO_CLOSE:!0,KEYBOARD:!0,ARIA_LABEL:"Main navigation"}},PAGINATION_DEFAULTS:j,PHOTOVIEWER:{SELECTOR:".c-photo-viewer",CLASS:"c-photo-viewer",DEFAULTS:{startIndex:0,zoomLevel:1,fullscreen:!1}},POPOVER:U,PROGRESS:he,RADIO:ne,RATING:Z,RIVER:K,SECTION_INTRO:Y,SELECT:oe,SIDE_MENU:$,SIZES:["sm","md","lg"],SLIDER:ge,SPINNER:H,STEPS:F,TAB:z,TESTIMONIAL:V,TEXTAREA:re,THEME_COLORS:["primary","secondary","success","info","warning","error","light","dark"],TODO:J,TOGGLE:G,TOOLTIP:k,UPLOAD:W,VIDEO_PLAYER:me,sliderConstants:pe}),Fn={...Pn,...ja,composables:kn,utils:Un,constants:zn,types:Gn};export{Je as Accordion,ft as AnimatedChart,Tt as AreaChart,je as AtomixGlass,et as AtomixLogo,nt as Avatar,it as AvatarGroup,rt as Badge,Lt as BarChart,ct as Block,dt as Breadcrumb,It as BubbleChart,ht as Button,mt as Callout,yt as CandlestickChart,pt as Card,At as Chart,vt as ChartRenderer,ga as Checkbox,Ht as ColorModeToggle,st as Container,Yt as Countdown,Jt as DataTable,ia as DatePicker,xt as DonutChart,ra as Dropdown,la as EdgePanel,Za as Footer,en as FooterLink,Ja as FooterSection,Ka as FooterSocialLink,Ea as Form,Na as FormGroup,Rt as FunnelChart,Ot as GaugeChart,Wa as Grid,Qa as GridCol,wt as HeatmapChart,tn as Hero,at as Icon,_a as Input,Bt as LineChart,an as List,qa as MasonryGrid,Xa as MasonryGridItem,nn as Messages,on as Modal,Pt as MultiAxisChart,rn as Nav,sn as NavItem,ln as Navbar,jt as Pagination,En as PhotoViewer,Ut as PieChart,Nn as Popover,bn as ProductReview,Tn as Progress,Gt as RadarChart,Ha as Radio,fn as Rating,Cn as River,$a as Row,zt as ScatterChart,Ln as SectionIntro,Va as Select,cn as SideMenu,dn as SideMenuItem,un as SideMenuList,In as Slider,Qt as Spinner,yn as Steps,xn as Tab,Rn as Testimonial,Ya as Textarea,On as Todo,Mn as Toggle,wn as Tooltip,Ft as TreemapChart,Dn as Upload,Bn as VideoPlayer,Vt as WaterfallChart,kn as composables,zn as constants,Fn as default,Gn as types,Un as utils};
2
2
  //# sourceMappingURL=index.min.js.map