@shohojdhara/atomix 0.2.3 → 0.2.4

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 (74) hide show
  1. package/dist/atomix.css +430 -125
  2. package/dist/atomix.min.css +4 -4
  3. package/dist/index.d.ts +188 -42
  4. package/dist/index.esm.js +2049 -1516
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +3571 -3055
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.min.js +1 -1
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/themes/boomdevs.css +379 -74
  11. package/dist/themes/boomdevs.min.css +4 -4
  12. package/dist/themes/esrar.css +430 -125
  13. package/dist/themes/esrar.min.css +4 -4
  14. package/dist/themes/mashroom.css +429 -124
  15. package/dist/themes/mashroom.min.css +4 -4
  16. package/dist/themes/shaj-default.css +429 -124
  17. package/dist/themes/shaj-default.min.css +4 -4
  18. package/package.json +1 -1
  19. package/src/components/Accordion/Accordion.stories.tsx +684 -21
  20. package/src/components/Accordion/Accordion.tsx +5 -7
  21. package/src/components/AtomixGlass/AtomixGlass.stories.tsx +456 -2237
  22. package/src/components/AtomixGlass/AtomixGlass.test.tsx +2 -2
  23. package/src/components/AtomixGlass/AtomixGlass.tsx +728 -666
  24. package/src/components/AtomixGlass/shader-utils.ts +589 -33
  25. package/src/components/AtomixGlass/stories/Examples.stories.tsx +5800 -0
  26. package/src/components/AtomixGlass/stories/Modes.stories.tsx +1065 -0
  27. package/src/components/AtomixGlass/stories/Playground.stories.tsx +1066 -0
  28. package/src/components/AtomixGlass/stories/ShaderVariants.stories.tsx +397 -0
  29. package/src/components/AtomixGlass/stories/shared-components.tsx +310 -0
  30. package/src/components/Badge/Badge.stories.tsx +3 -2
  31. package/src/components/Badge/Badge.tsx +9 -7
  32. package/src/components/Button/Button.stories.tsx +501 -20
  33. package/src/components/Button/Button.tsx +4 -5
  34. package/src/components/Callout/Callout.tsx +27 -9
  35. package/src/components/Card/Card.stories.tsx +560 -1
  36. package/src/components/Card/Card.tsx +1 -1
  37. package/src/components/DatePicker/DatePicker.stories.tsx +697 -9
  38. package/src/components/EdgePanel/EdgePanel.stories.tsx +476 -3
  39. package/src/components/EdgePanel/EdgePanel.tsx +86 -13
  40. package/src/components/Messages/Messages.stories.tsx +113 -0
  41. package/src/components/Messages/Messages.tsx +51 -9
  42. package/src/components/Modal/Modal.stories.tsx +6 -4
  43. package/src/components/Modal/Modal.tsx +2 -3
  44. package/src/components/Navigation/Nav/Nav.stories.tsx +469 -0
  45. package/src/components/Navigation/Nav/Nav.tsx +17 -4
  46. package/src/components/Navigation/Navbar/Navbar.stories.tsx +413 -0
  47. package/src/components/Navigation/Navbar/Navbar.tsx +66 -28
  48. package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +340 -0
  49. package/src/components/Navigation/SideMenu/SideMenu.tsx +28 -2
  50. package/src/components/Progress/Progress.tsx +17 -2
  51. package/src/components/Spinner/Spinner.tsx +17 -2
  52. package/src/lib/composables/useBarChart.ts +14 -4
  53. package/src/lib/composables/useChart.ts +223 -370
  54. package/src/lib/composables/useChartToolbar.ts +11 -20
  55. package/src/lib/composables/useEdgePanel.ts +81 -35
  56. package/src/lib/composables/useLineChart.ts +4 -2
  57. package/src/lib/composables/usePieChart.ts +4 -14
  58. package/src/lib/constants/components.ts +1 -0
  59. package/src/lib/types/components.ts +97 -15
  60. package/src/styles/01-settings/_settings.background.scss +2 -2
  61. package/src/styles/01-settings/_settings.edge-panel.scss +1 -1
  62. package/src/styles/02-tools/_tools.utility-api.scss +62 -27
  63. package/src/styles/06-components/_components.atomix-glass.scss +72 -0
  64. package/src/styles/06-components/_components.badge.scss +2 -15
  65. package/src/styles/06-components/_components.callout.scss +10 -5
  66. package/src/styles/06-components/_components.edge-panel.scss +101 -0
  67. package/src/styles/06-components/_components.messages.scss +176 -0
  68. package/src/styles/06-components/_components.modal.scss +13 -3
  69. package/src/styles/06-components/_components.navbar.scss +12 -1
  70. package/src/styles/06-components/_components.side-menu.scss +5 -0
  71. package/src/styles/99-utilities/_index.scss +1 -0
  72. package/src/styles/99-utilities/_utilities.glass-fixes.scss +1 -0
  73. package/src/styles/99-utilities/_utilities.opacity.scss +1 -1
  74. package/src/components/AtomixGlass/AtomixGlassComprehensivePreview.stories.tsx +0 -1369
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/EXiPxF0SoSvONBFF0j+a/YxdI7EqA6KLGEKEKEGFI0AlA0AUzimYbzjecazjWce5w6BdEeCXhPhFwz8R+MuiVgVAdF0j+a/Yp0RUJ0MWUIUWUIUKUIJqBoArnJM4pmBMw3nCsw1mCs4+AegPBLxHwi4Z8KPGXSPojYH0ukfzX7FOiKhiyiylDiylDhBNRNQJAJcwpnBMopmC84XlCswdzj3OPQHwlwS8R8M+HHDPxl0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qrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/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+2du05u7tm7O2cM7d2zt3Du2YOzbw7N3bcHZt7dm3tvbeO9u7dx3d3Ht3cS05pzd24dOds0Z2HdnDsGdswdg7hw7cHYNzbg3NvbcO9izbx3TvbtPae09pLTmnCObh3ZuHcO4eGcM4ZgzB2DhHYOEbg0QWbcxZtzFmLjvEuO6e07p4jmsWnCOERIiWHcO4NA8M4DwzBmLgjsXRHCNEEI0QQ4sxZjwlxLjv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QhCEIQhLMzMGmMYxjGMZu7uppoQhCEIQklmZjTGMYxjGMbb3d1NCEIQhCEISzMxpjGMYxjGMb3d1NCEIkQhCEkszGmMYyihjGMbb3d1NCESSIkQhJLMxppjGUUUMYxtvd1NNNCJJESIQklmY0xjKKKKKGMbb3dTTTRJJJJJIhJLMxpjGUUUUUUMbb3dTTQiSSSSSRCSWZjTTGUUUUUUMbb3dTTRJJJJJJJIklmY0xjKKKKKKKG293U005JJJJJJJEkksaaaaoooooooobbb3U05JJJJJJJJEkksaaZRRRRRRRRQ223uppySSSSSSSSIQkNNMoooooooooptt7qackkkkkEEkiEksGmqKKLLKLKKKbbe6mnJJJBBBBJJKSSxpplFFFllllFFNtvdTTkkkggggkklJZjTTVFFFlllllFDbe6mnLkggggggkkSzGmUUUUWWWWWUUU291NOSSCCCCCCSRLMaaZRRRZZZZZRRTb3U5ckkEEEEEEkpLMaaaoossssssop0291OXJBBBBBBBBKSzGmMossssssssp0291OXJBBBzOZBBBKlZjTVFFllllllllOm3upy5cEEHM5kEEEqVmNNUUWWWWdCyyynTb1NOXLggg5nMggglSvGmUqLLOhZ0LLLKdNm6nLgggg5nMggglSsxpqlRZZ0Oh0OhZZTpt7qcuHBzOZzOZzOZBKleNNUUWWdDodDodCynQxmy5cEHM5n/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=";case"prominent":return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAABVXElEQVR4nO19aZasPKxkuE5toffS+1/YR/8AS6GQZAxZd3qvffJQtjEe5AgNQGaN//N/caZxAAAODFyZsnLcnZIGz47UiVVeNeWpWDlmJbhILW8rv7oaYBz4SpWS+ZJKuwofHMeVH8DXoFMjVHpmXFdJpR1zzRipWFUiVYJaIlVCLpynQO0fHRE7uQ5Vg/JUUQl8TfyeoAXGzJyVI1aemVGdSg24WXtEPKYLdWJ0lQ4HHOdnIKdjzLP04eGsZ+4csbeDelukY3XyfVq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h/7RnNoPfBPc9RKbZz8fnpIVB7SrkOGiQF8Gkg4yDSQk4PY74C5Tc2FwD4bmLTk6uTKuV2lQSobOdkbAmrUqOQ30IAxomNCGwq848IVH6BcZ9U5RkmFoUx49e8u3mVmrf8dPjAG0yBONQJV8mAknoUuJ9RLWi093eTkogAr6R5NnGrAv1BV5uNoIdOgvcc8dpqMGA4jFhgOQtW9z4OsZ+hPuFaZxbYJmXXhnK6hB6FzmNisXRUVJWaygjyYvNBhdO+5xhCHWKWC0JEMcLngXCTFlXh2bHRHZtcviCv0LUzAU7rmBXZgdHqRmjzjwZYU1+iFnIzSv8x3uqfE6AJCeCw7QxOSGVS4O6Bxorv5XYca9laN3PBImlGAfG5/uqplYR3plzjBu5GYIfZZLCtbAL++LtUfeePa3YUC+BJF1ueewlg0OfG2if3HLv7ztYy06p1+BHpkgp6R/bhNQ14e2Tgm5JUotvXOq1gn0NPBKued71nTgrrq47u4DENe/at5CXyBuxYiSwu1pnB8sjED3QIDn0+Oer7plgp4t3Z5tDrTvAt2jP6G5gG/VRvtnPlg2Xj5AmUgMmSoI66Eqp4iDjM9R5Tdp0Hb0KN1duIZ+bmbFGy8oje5GgM6KSbFKvxcUQbwIAJSWPRPUI0qAfsoBeg6wg34beqRT0qDBU6Ea44gLxZ9H58oho4ojVM1s0IcbqGFBmyQ+KVq+Rn9zuTr9ff+q++PaWy9IGkSgG7aYe/ePqBamIBu6xruTznWI5egLDnwxGs4/Ye97bpQhKZJqv7/7GfkgF+rEBGfCVWZCTPnOjwxnPWcyxAqtLMZanXyfSv/Hz46iWQl6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+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 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 y,Share as T,ArrowsIn as L,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"}},$={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"}},H={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"}},W={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:"▶"}},Q={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"}},K={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},Z={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"},q={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"}},X={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",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"]}},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()}}const fe=0,Ee=255,Ae=8e-4,be=(e,t,a)=>{const n=Math.max(0,Math.min(1,(a-e)/(t-e)));return n*n*(3-2*n)},Ne=(e,t)=>Math.sqrt(e*e+t*t),_e=(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)+Ne(Math.max(r,0),Math.max(o,0))-i},Ce=(e,t)=>({x:e,y:t}),ye=e=>e&&"number"==typeof e.x&&"number"==typeof e.y&&!isNaN(e.x)&&!isNaN(e.y),Te=(e,t,a)=>Math.max(t,Math.min(a,e)),Le=e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,xe=e=>1-Math.pow(1-e,4),Ie=(e,t)=>{const a=255&Math.floor(e),n=255&Math.floor(t),i=e-Math.floor(e),r=t-Math.floor(t),o=Le(i),l=Le(r),s=(e,t)=>{const a=e+57*t;return 43758.5453*Math.sin(12.9898*a+78.233)%1},c=s(a,n),d=s(a+1,n),u=s(a,n+1),h=c+o*(d-c);return h+l*(u+o*(s(a+1,n+1)-u)-h)},we=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,n=0,i=.5,r=1;for(let o=0;o<a;o++)n+=i*Ie(e*r,t*r),r*=2,i*=.5;return n},Re=function(e,t,a){const n=.02*a;return{x:(e-(arguments.length>3&&void 0!==arguments[3]?arguments[3]:0))*n,y:(t-(arguments.length>4&&void 0!==arguments[4]?arguments[4]:0))*n}},Oe={liquidGlass:(e,t)=>{if(!ye(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Ae,r=t&&ye(t)?t.x-.5:0,o=t&&ye(t)?t.y-.5:0,l=Ne(r,o),s=xe(1-Math.min(2*l,1)),c=we(12*(a+.5*r)+i,12*(n+.5*o)+.7*i,3)-.5,d=_e(a,n,.4,.3,.35),u=be(.8,0,d-.05),h=((e,t,a)=>{const n=Ne(e,t),i=Math.pow(n,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*r)+2*i),v=.018*Math.cos(8*(n+2*o)+1.5*i),S=(.015*Math.sin(12*(a-r)+12*(n-o)+3*i)+.012*Math.cos(10*(a+r)-10*(n-o)-2*i))*s*l,f=(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,E=.85*(g+v+.025*c),A=m+E+S+f,b=p+.8*E+.9*S+f,N=((e,t,a)=>{const n=Ne(e,t),i=Math.atan2(t,e);return{x:Math.cos(i)*n*a,y:Math.sin(i)*n*a}})(a,n,.015*u),_=be(0,1,1.15*u),C=a+A+.5*N.x,y=n+b+.5*N.y;return Ce(Te(C*_+.5,0,1),Te(y*_+.5,0,1))},appleFluid:(e,t)=>{if(!ye(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Ae*.6,r=t&&ye(t)?t.x-.5:0,o=t&&ye(t)?t.y-.5:0,l=Ne(r,o),s=xe(1-Math.min(1.5*l,1)),c=we(10*(a+.3*r)+i,10*(n+.3*o),5)-.5,d=we(10*(a-.3*r),10*(n-.3*o)+.8*i,5)-.5,u=_e(a,n,.42,.32,.38),h=be(.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-o,a-r),v=s*l*.08,S=Math.cos(g+i)*v,f=n+(.035*d+p+Math.sin(g+i)*v)*h;return Ce(Te(a+(.035*c+m+S)*h+.5,0,1),Te(f+.5,0,1))},premiumGlass:(e,t)=>{if(!ye(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Ae*.4,r=t&&ye(t)?t.x-.5:0,o=t&&ye(t)?t.y-.5:0,l=Ne(r,o),s=Ne(a,n),c=.3*Math.pow(s,1.5),d=Math.atan2(n,a);let u=0,h=0;for(let e=0;e<3;e++){const t=5*(e+1),r=i*(1+.3*e),o=.01/(e+1);u+=Math.sin(a*t+r)*o,h+=Math.cos(n*t-r)*o}const m=Math.cos(d)*c*(1+.5*l),p=Math.sin(d)*c*(1+.5*l),g=we(8*a+i,8*n-i,2)-.5,v=_e(a,n,.43,.33,.36),S=be(.9,-.05,v),f=n+(p+h+.015*g)*S;return Ce(Te(a+(m+u+.015*g)*S+.5,0,1),Te(f+.5,0,1))},liquidMetal:(e,t)=>{if(!ye(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Ae*1.2,r=t&&ye(t)?t.x-.5:0,o=t&&ye(t)?t.y-.5:0,l=Math.sin(20*a+4*i)*Math.cos(15*n-3*i)*.02,s=Math.cos(15*a-2*i)*Math.sin(20*n+5*i)*.015,c=.025*we(25*a+2*i,25*n-2*i,4),d=Math.atan2(n-o,a-r),u=Ne(a-r,n-o),h=.02*Math.sin(15*u-6*i)*xe(1-Math.min(2*u,1)),m=_e(a,n,.41,.31,.37),p=be(.88,-.08,m),g=a+(l+c+Math.cos(d)*h)*p,v=n+(s+.8*c+Math.sin(d)*h)*p;return Ce(Te(g+.5,0,1),Te(v+.5,0,1))},basiBasi:(e,t)=>{if(!ye(e))return{x:.5,y:.5};const a=e.x-.5,n=e.y-.5,i=Date.now()*Ae*.5,r=t&&ye(t)?t.x-.5:0,o=t&&ye(t)?t.y-.5:0,l=Ne(r,o),s=xe(1-Math.min(1.2*l,1)),c=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return.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)=>{const i=Ne(e,t)*n,r=.8*i,o=1*i,l=1.2*i;return{r:{x:Math.cos(a)*r,y:Math.sin(a)*r},g:{x:Math.cos(a)*o,y:Math.sin(a)*o},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,v=0;for(let e=0;e<7;e++){const t=Re(a,n,(e+1)/7,r,o),l=we((a+t.x)*(8+2*e)+i*(.5+.1*e),(n+t.y)*(8+2*e)-i*(.5+.1*e),3)-.5,s=1/(e+1);g+=(t.x+.01*l)*s,v+=(t.y+.01*l)*s}g/=7,v/=7;const S=((e,t,a,n)=>we(5*e+.5*n,5*t-.5*n,3)*Math.exp(2*-a)*.5+.5)(a,n,.5,i),f=Math.cos(u)*S*.015,E=Math.sin(u)*S*.015,A=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5,i=0,r=1,o=1;for(let l=0;l<n;l++)i+=Math.abs(Ie(e*o+a,t*o-a))*r,o*=2,r*=.5;return i}(6*a,6*n,i,6),b=.012*Math.cos(A*Math.PI*2),N=.012*Math.sin(A*Math.PI*2),_=((e,t,a)=>.5*(.7*we(40*e+.3*a,40*t-.3*a,6)+.3*we(80*e,80*t,4)))(a,n,i),C=.008*(_-.5),y=.008*(_-.5),T=Ne(a,n),L=.35*Math.pow(T,1.8)*(1+s*l*.8),x=Math.cos(u)*L,I=Math.sin(u)*L,w=Math.atan2(n-o,a-r),R=Ne(a-r,n-o),O=s*Math.sin(10*R-3*i)*.025,M=Math.cos(w+2*i)*O,D=Math.sin(w+2*i)*O,k=Math.sin(10*a+5*r+2.5*i)*Math.cos(8*n-2*i)*.018,B=Math.cos(8*a-2*i)*Math.sin(10*n+5*o+2.5*i)*.018,P=(.012*Math.sin(15*T-4*i)+.008*Math.cos(20*T+3*i))*s,z=Math.cos(u)*P,F=Math.sin(u)*P,U=_e(a,n,.44,.34,.39),G=be(.92,-.12,U),V=be(.85,.1,U),Y=n+.85*((1.2*I+.8*p+1.5*v+.9*E+1*N+.6*y+1.3*D+1.1*B+.7*F+.8*d)*G*V);return Ce(Te(a+.85*((1.2*x+.8*m+1.5*g+.9*f+1*b+.6*C+1.3*M+1.1*k+.7*z+d)*G*V)+.5,0,1),Te(Y+.5,0,1))}};class Me{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,e.width*this.canvasDPI),this.canvas.height=Math.max(1,e.height*this.canvasDPI),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){return e&&"number"==typeof e.width&&e.width>0&&"number"==typeof e.height&&e.height>0&&"function"==typeof e.fragment}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);let c=s.x*t-o,d=s.y*a-r;const u=2*Math.min(o/t,(t-o)/t),h=2*Math.min(r/a,(a-r)/a),m=Math.min(u,h);c*=be(0,.2,m),d*=be(0,.2,m),n=Math.max(n,Math.abs(c),Math.abs(d)),i.push(c,d)}n=Math.max(n,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]=Te(255*h,fe,Ee),o[p+1]=Te(255*m,fe,Ee),o[p+2]=Te(255*m,fe,Ee),o[p+3]=255}return this.context.putImageData(r,0,0),this.canvas.toDataURL()}destroy(){this.canvas.remove()}getScale(){return this.canvasDPI}}const De="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAQDAwMDAwQDAwQGBAMEBgcFBAQFBwgHBwcHBwgLCAkJCQkICwsMDAwMDAsNDQ4ODQ0SEhISEhQUFBQUFBQUFBQBBQUFCAgIEAsLEBQODg4UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/CABEIAQABAAMBEQACEQEDEQH/xAAxAAEBAQEBAQAAAAAAAAAAAAADAgQIAQYBAQEBAQEBAQAAAAAAAAAAAAMCBAEACAf/2gAMAwEAAhADEAAAAPjPor6kOgOiKhKgKhKgOhKhOhKxKgK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2J0JWBUJ0JUB0XTv479dFZDYiglYigkhEgjZFQjRFQjRFQjQigFYigHYigmgEgmglYlYnQlQlYlQHQlQnQ9P/kf1yVkNiNCNkNiVENiNiViNEViNkVCVgKCViViViSCViSCVgdCViVCViVCdgVCVCdD1D+U/XBWQ2I0I2Q2JUQ2I0JWQ0I2JUQ2JUI2JUI2J0JWJWJWA2R0BWJ0I2JUJ2BUJUJ0P//EABkQAQEBAQEBAAAAAAAAAAAAAAECABEDEP/aAAgBAQABAgB1atWrVq1atWrVq1atWrVq1atWrVq1atWrVq+OrVq1atWrVq1atWrVq1atWrVq1atWrVq1atXxVppppppdWrVq1atWrVq1NNNNNNNNNNNPVWmmmmms6tWrVq1atWpppppppppppppp6q0000uc51atWrVq1ammmmmmmmmmmmmt1Vpppc5znVq1atWrVqaaaaaaaaaaaaaeqtNLnOc51atWrVq1ammmmmmmmmmmmmnqrS5znOc6tWrVq16222mmmmmmlVppp6tKuc5znOrVq1a9TbbbbTTTTTSq000qtLnOc5zq1atWrW0222200000qqqtKqrnOc5zq1atTbbbbbbbbTTTSqqqqqq5znOc6tTTTbbbbbbbbTTTSqqqqrlVznOctNNNtttttttttNNNNKqqqrqznKqrTTTTbbbbbbbbbTTTSqqqqrqznOc5aaaabbbbbbbbbaaaaVVVVVdWc5znVq1NNttttttttttNNKqqqqudWc5znVq16tbbbbbbbbbbTTSqqqq5XVnOc6tWrVrb1tttttttttNNKqqqqrWrK5VWmmm2230bbbbbbaaaXOc5zlVa1KuVVppptttt9G22222mmlzlVznK6tWVVWmmmm2222222222mlznOc5znLWppVVWmmm22222229bTWrOc5znOcq1qaaVpWmm222222229erVqznOc5znKtatStK0rTbTTbbbberXr1as5znOc5aVpppppWlabaabbbb1ta9WrVnOc5znU0rTTTTTTTTTbTTbbbTWvVq1as5znOdTTStNNNNNNNNNtNNtttN6tWvVq1ZznOrU00rTTTTTTTTTTTTTbTWvVq1atWrOc6tTTTStNNNNNNNNNNtNNtNa9WrVq1Z1Z1NNNNNK1q1NNNNNNNNNNNtNatWrVq1atWrU00000rWrVq1atWrVq1alaaa1atWrVq1NNNammmmla1atWrVq1aterVq16tWrVnVqa1NK1qaaaVX/xAAWEAADAAAAAAAAAAAAAAAAAAAhgJD/2gAIAQEAAz8AaExf/8QAGhEBAQEBAQEBAAAAAAAAAAAAAQISEQADEP/aAAgBAgEBAgDx48ePHjx48ePHjx48ePHjx48ePHjx48ePHj86IiIiIiInjx48ePHjx48IiIiIj0oooooooooRERER73ve60UUUUUUVrWiiiiiihERERER73ve97ooooorRWiiiiihKERERER73ve973RRRRWtFFFFFFCIiIiIiPe973ve60UUVrRRRRRRQiIlCIiI973ve973pRRWiiiiiiiiiiiiiiihEe973ve973RRWtFFFFFFFFFFFFFFFFFFa13ve973WitaKKKKKKKKKKKKKKKKKK1rWtd1rutFa1oooooooooooosssooorWta1rWta1rRRRRRRRRRRZZZZZZZZZWta1rWta1rRRRRRRRRZZZZZZZZZZZZe9a1rWta1rWitaKLLLLLLLLLLLLLLLLL3rWta1rWtFbLLLLLLLLLLLLLLLLLLLL3vWta1rWita1ssssssss+hZZZZZZZZe961rWta0Vre97LLLLLLLLLLLPoWWWWWXrWta1oorWta3ssss+hZZZZ9Cyyyyyyyyiita1orWta1ve9llllllllllllllllFFa0VorWta1ve9llllllllllllllllllFFFaK1rWta1rWiyyyyyyyyyyyyiiiiiiitFFa1rWta1oosoosssssoooosoooorRRRWta1rWta0UUUUUWUUUUUUUUUUUVoooorWta1rWtaKKKKKKmiiiiiiiiiiiiiiitd73ve61oSiiipoqaKKKKKKKKKK0UUUVrve973vREREZoSihEooooorRRRRWtd73ve9EREREREoSiiiiitFllllla73ve9ERERERESiiiiiitH0PoWWWWVrXe96IiIiMoiJRRRRRRWjwlFFllllFFd6IiIiIlCUUUUUUUUUePHjx48ePCIiIiIiIiUUUUUUUUUUUePHjx48ePHjx48ePHjx48IiUUUUUUJRRRX//xAAWEQADAAAAAAAAAAAAAAAAAAABYJD/2gAIAQIBAz8AtEV7/8QAFxEBAQEBAAAAAAAAAAAAAAAAAAECEP/aAAgBAwEBAgCtNNNNNNNNNNNNNNNNNNNNNNNNNNNNNcrTTTTTTTTTTTTTTTTTTTTTTTTTTTTTXKrTTTTTTTU000000000000000000001FVpppppqampqaaaaaaaaaaaaaaaaaaaa5Vaaaaampqampqammmmmmmmmmmlaaaaaaiq0001NTU1NTU1NTTTTTTTTTTSqqtNNNcqtNNSyzU1LNTU1NTTTTTTTTTSqqq001ytNLLLLNTU1NTU1NTbbbTTTTTSqqq001ytNLLLLLNTU1NTU3NttttNNNNNKqq001KrSyyyyyzU1NTU3Nzc02220000qqqqrSqqyyyyyzU1NTU3Nzc3NttttNNNKqqqqqqssssss1NTU3Nzc3NzbbbbTTTSqqqqqqrLLLLLNTU1Nzc3Nzc22220000qqqqqqqqssss1NTU3Nzc3NzbbbbbTTSqqqqqqqqqqzU1NTc3Nzc3Nzbc22000qqqqqqqqqqqtTU3Nzc3Nzc3NtzbTTSqqqqrKqqqqqtNNzc23Nzc3Nzc3NTU1KqqqrKqqqqqtNNNNttzc3Nzc3NzU1NLLLLLKqqqqqqqq0022223Nzc3NzU1NSyyyyyyqqqqqqqrTTbbbbc3Nzc3NTU1LLLLLLKsqqqqqqrTTTTbbbc3Nzc1NTUsssssssqqqqqqrTTTTTbbbTc3NTU1NTUsssssqqqqqqqq0000222023NTU1NTUsssssqqqqqqqq000000003NTU1NTU1LLLLLNKrTSqqqqtNNNNNNtNNTU1NSzUssss00qq0qqqqrTTTTTTTTTU1NTUs1LLLNNNKrTTTSqqq00000000001NTU1LNTU0000qtNNNKqqqtNNNNNNNNTU1NTUs1NNNNNKss1NNNK00qtK0000001NNTU0s000000qq000001NKrStNNNNK1NNNNStNNNNNKqtNNNNNNNK0000000rU0000rTTTTTSq00000rTTTTTTTTTTTTTTTTStNNNNKr/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=",ke=200,Be=(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)},Pe=e=>e?{x:e.left+e.width/2,y:e.top+e.height/2}:{x:0,y:0},ze=e=>e&&"number"==typeof e.x&&"number"==typeof e.y?Math.sqrt(e.x*e.x+e.y*e.y)/100:0,Fe=e=>"number"!=typeof e||isNaN(e)?.1:Math.max(.1,e),Ue=e=>e&&"number"==typeof e.width&&"number"==typeof e.height&&e.width>0&&e.height>0,Ge=(e,t)=>{switch(e){case"standard":default:return De;case"polar":return"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/2wCEAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDAwMDAwMEAwODxAPDgwTExQUExMcGxsbHB8fHx8fHx8fHx8BBwcHDQwNGBAQGBoVERUaHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH//CABEIAQABAAMBEQACEQEDEQH/xAAxAAADAQEBAAAAAAAAAAAAAAABAgMABAcBAAMBAQEBAAAAAAAAAAAAAAIDBAEABQb/2gAMAwEAAhADEAAAAPG/tfu93bu3bs7d27t3bu2du7d27h3bs3du7d27t3bc3du7d27tvbu3du7d27T3E+2du05u7tm7O2cM7d2zt3Du2YOzbw7N3bcHZt7dm3tvbeO9u7dx3d3Ht3cS05pzd24dOds0Z2HdnDsGdswdg7hw7cHYNzbg3NvbcO9izbx3TvbtPae09pLTmnCObh3ZuHcO4eGcM4ZgzB2DhHYOEbg0QWbcxZtzFmLjvEuO6e07p4jmsWnCOERIiWHcO4NA8M4DwzBmLgjsXRHCNEEI0QQ4sxZjwlxLjvEtPa2keJuJt04bCREsJECw6A3BoHFHhmKIrmLwjQXRGgpCCHEIMcWE8x4S1i4lraR7W02wnIiJsJkTIFg3AWXoHgGqGAcXBTBXhXgXQUgBADAGIMceE8J4T4lrFraTaT6TYbabiZFjAeAiss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klmY0xjKKKKKGMbb3dTTTRJJJJJIhJLMxpjGUUUUUUMbb3dTTQiSSSSSRCSWZjTTGUUUUUUMbb3dTTRJJJJJJJIklmY0xjKKKKKKKG293U005JJJJJJJEkksaaaaoooooooobbb3U05JJJJJJJJEkksaaZRRRRRRRRQ223uppySSSSSSSSIQkNNMoooooooooptt7qackkkkkEEkiEksGmqKKLLKLKKKbbe6mnJJJBBBBJJKSSxpplFFFllllFFNtvdTTkkkggggkklJZjTTVFFFlllllFDbe6mnLkggggggkkSzGmUUUUWWWWWUUU291NOSSCCCCCCSRLMaaZRRRZZZZZRRTb3U5ckkEEEEEEkpLMaaaoossssssop0291OXJBBBBBBBBKSzGmMossssssssp0291OXJBBBzOZBBBKlZjTVFFllllllllOm3upy5cEEHM5kEEEqVmNNUUWWWWdCyyynTb1NOXLggg5nMggglSvGmUqLLOhZ0LLLKdNm6nLgggg5nMggglSsxpqlRZZ0Oh0OhZZTpt7qcuHBzOZzOZzOZBKleNNUUWWdDodDodCynQxmy5cEHM5n/xAAUEQEAAAAAAAAAAAAAAAAAAACg/9oACAEDAQM/AAAf/9k=";case"prominent":return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAABVXElEQVR4nO19aZasPKxkuE5toffS+1/YR/8AS6GQZAxZd3qvffJQtjEe5AgNQGaN//N/caZxAAAODFyZsnLcnZIGz47UiVVeNeWpWDlmJbhILW8rv7oaYBz4SpWS+ZJKuwofHMeVH8DXoFMjVHpmXFdJpR1zzRipWFUiVYJaIlVCLpynQO0fHRE7uQ5Vg/JUUQl8TfyeoAXGzJyVI1aemVGdSg24WXtEPKYLdWJ0lQ4HHOdnIKdjzLP04eGsZ+4csbeDelukY3XyfVqO6Ts6ciWdGtyIQKOfajAjlXVneAL1HCCYpzGy1O9xn4fDI/RLe6r6YhxkqKECes0BaZBwoFgHXZV4pVBrRufKg4U1LzHckwwSYSrQBy2ANh1RSkXLNWxvU7qcEQPUSM2XOqYjGQTQ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0yBONQJV8mAknoUuJ9RLWi093eTkogAr6R5NnGrAv1BV5uNoIdOgvcc8dpqMGA4jFhgOQtW9z4OsZ+hPuFaZxbYJmXXhnK6hB6FzmNisXRUVJWaygjyYvNBhdO+5xhCHWKWC0JEMcLngXCTFlXh2bHRHZtcviCv0LUzAU7rmBXZgdHqRmjzjwZYU1+iFnIzSv8x3uqfE6AJCeCw7QxOSGVS4O6Bxorv5XYca9laN3PBImlGAfG5/uqplYR3plzjBu5GYIfZZLCtbAL++LtUfeePa3YUC+BJF1ueewlg0OfG2if3HLv7ztYy06p1+BHpkgp6R/bhNQ14e2Tgm5JUotvXOq1gn0NPBKued71nTgrrq47u4DENe/at5CXyBuxYiSwu1pnB8sjED3QIDn0+Oer7plgp4t3Z5tDrTvAt2jP6G5gG/VRvtnPlg2Xj5AmUgMmSoI66Eqp4iDjM9R5Tdp0Hb0KN1duIZ+bmbFGy8oje5GgM6KSbFKvxcUQbwIAJSWPRPUI0qAfsoBeg6wg34beqRT0qDBU6Ea44gLxZ9H58oho4ojVM1s0IcbqGFBmyQ+KVq+Rn9zuTr9ff+q++PaWy9IGkSgG7aYe/ePqBamIBu6xruTznWI5egLDnwxGs4/Ye97bpQhKZJqv7/7GfkgF+rEBGfCVWZCTPnOjwxnPWcyxAqtLMZanXyfSv/Hz46iWQl6ryEc6KdaQ3440BkBh1qeRon4sTqGC2liNQdGdUra0xL+H/kMAsbYr+iHAAAAAElFTkSuQmCC";case"shader":return t||De}},Ve=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,visibility:"hidden",opacity: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:Ge(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"})]})]})})},Ye=l(((a,n)=>{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},globalMousePosition:S={x:0,y:0},onMouseEnter:f,onMouseLeave:E,onMouseDown:A,onMouseUp:b,active:N=!1,isHovered:_=!1,isActive:C=!1,overLight:y=!1,cornerRadius:T=0,padding:L="0 0",glassSize:x={width:0,height:0},onClick:I,mode:w="standard",transform:R="none",effectiveDisableEffects:O=!1,effectiveReducedMotion:M=!1,shaderVariant:D="liquidGlass",enableLiquidBlur:k=!1,elasticity:B=0}=a;const P=s(),[z,F]=i(""),U=r(null);o((()=>{if("shader"===w&&x.width>0&&x.height>0){var e;null===(e=U.current)||void 0===e||e.destroy();const t=Oe[D]||Oe.liquidGlass;U.current=new Me({width:x.width,height:x.height,fragment:t});const a=U.current.updateShader();F(a)}return()=>{var e;null===(e=U.current)||void 0===e||e.destroy(),U.current=null}}),[w,x.width,x.height,D]),o((()=>{if(!n||"function"==typeof n)return;const e=n.current;if(!e)return;const t=setTimeout((()=>{e.offsetHeight}),0);return()=>clearTimeout(t)}),[T,x.width,x.height]);const[G,V]=i(null);o((()=>{if(!n||"function"==typeof n)return;const e=n.current;e&&V(e.getBoundingClientRect())}),[n,x]);const Y=c((()=>{const e={baseBlur:m,edgeBlur:1.25*m,centerBlur:1.1*m,flowBlur:1.2*m};if(!(k&&G&&S.x&&S.y))return e;const t=Pe(G),a=Be(S,t),n=Math.sqrt(G.width*G.width+G.height*G.height)/2,i=Math.min(a/n,1),r=ze(v),o=m+r*m*.4,l=o*(.8+.6*(1.5*i+.3*r)),s=o*(.3+.4*(.3*(1-i)+.2*r)),c=S.x-t.x,d=S.y-t.y,u=Math.atan2(d,c),h=o*(.4+.6*(.5*Math.sin(u+r*Math.PI)+.5)),p=(_?1.2:1)*(C?1.4:1);return{baseBlur:Fe(o*p),edgeBlur:Fe(l*p),centerBlur:Fe(s*p),flowBlur:Fe(h*p)}}),[k,m,S,v,_,C,G]),$=c((()=>{const e=p+20*Y.baseBlur;return{backdropFilter:`${[`blur(${Y.baseBlur}px)`,`blur(${Y.edgeBlur}px)`,`blur(${Y.centerBlur}px)`,`blur(${Y.flowBlur}px)`].join(" ")} saturate(${Math.min(e,200)}%) url(#${P})`}}),[P,Y,p]),H=c((()=>{const e=(null==v?void 0:v.x)||0,t=(null==v?void 0:v.y)||0,a=`gc-${P.replace(/:/g,"")}`;return{[`--${a}-padding`]:L,[`--${a}-radius`]:`${T}px`,[`--${a}-backdrop`]:$.backdropFilter,[`--${a}-shadow`]:y?[`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",[`--${a}-shadow-opacity`]:O?0:1,[`--${a}-bg`]:y?`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",[`--${a}-text-shadow`]:y?"0px 1px 3px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.1)":"0px 2px 12px rgba(0, 0, 0, 0.4)","--gc-scoped-id":a}}),[P,L,T,$,v,y,O]),W=`gc-${P.replace(/:/g,"")}`;return e("div",{ref:n,className:` ${d} ${N?"active":""}`,style:{...u,...H},onClick:I,children:t("div",{className:"atomix-glass",style:{position:"relative",padding:`var(--${W}-padding)`,borderRadius:`var(--${W}-radius)`},onMouseEnter:f,onMouseLeave:E,onMouseDown:A,onMouseUp:b,children:[e(Ve,{mode:w,id:P,displacementScale:h,aberrationIntensity:g,shaderMapUrl:z}),e("span",{className:"atomix-glass__warp",style:{backdropFilter:`var(--${W}-backdrop)`,borderRadius:`var(--${W}-radius)`,position:"absolute",inset:"0"}}),e("div",{style:{position:"absolute",inset:"1.5px",borderRadius:`var(--${W}-radius)`,pointerEvents:"none",boxShadow:`var(--${W}-shadow)`,opacity:`var(--${W}-shadow-opacity)`,background:`var(--${W}-bg)`}}),e("div",{style:{position:"relative",...0!==B&&{zIndex:4,textShadow:`var(--${W}-text-shadow)`}},children:l})]})})}));function $e(n){let{children:l,displacementScale:u=20,blurAmount:h=1,saturation:m=140,aberrationIntensity:p=2.5,elasticity:g=.05,cornerRadius:v=16,globalMousePosition:S,mouseOffset:f,mouseContainer:E=null,className:A="",padding:b="0 0",overLight:N=!1,style:_={},mode:C="standard",onClick:y,shaderVariant:T="liquidGlass","aria-label":L,"aria-describedby":x,role:I,tabIndex:w,reducedMotion:R=!1,highContrast:O=!1,disableEffects:M=!1,enableLiquidBlur:D=!1,enableBorderEffect:k=!0,enableOverLightLayers:B=!1,enablePerformanceMonitoring:P=!1}=n;const z=r(null),[F,U]=i(!1),[G,V]=i(!1),[Y,$]=i({width:270,height:69}),[H,W]=i({x:0,y:0}),[Q,K]=i({x:0,y:0}),[Z,j]=i(!1),[q,X]=i(!1),[J,ee]=i(!1),te=c((()=>R||Z),[R,Z]),ae=c((()=>O||q),[O,q]),ne=c((()=>M||te),[M,te]);o((()=>{if("auto"===N&&z.current)try{const e=z.current;e.getBoundingClientRect();let t=0,a=0,n=e.parentElement;for(;n&&a<3;){const e=window.getComputedStyle(n).backgroundColor;if(e&&"rgba(0, 0, 0, 0)"!==e&&"transparent"!==e){const n=e.match(/\d+/g);if(n&&n.length>=3){const e=Number(n[0])||0,i=Number(n[1])||0,r=Number(n[2])||0;t+=(.299*e+.587*i+.114*r)/255,a++}}n=n.parentElement}if(0===a&&"undefined"!=typeof document)try{const e=document.createElement("canvas"),n=e.getContext("2d");if(n){e.width=1,e.height=1;const i=n.getImageData(0,0,1,1),r=i.data[0]||0,o=i.data[1]||0,l=i.data[2]||0;t=(.299*r+.587*o+.114*l)/255,a=1}}catch(e){}if(a>0){const e=t/a;let n=.7;if("object"==typeof N&&null!==N&&"auto"!==N){n=N.threshold||.7}ee(e>n)}}catch(e){}if("function"==typeof window.matchMedia)try{const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=window.matchMedia("(prefers-contrast: high)");j(e.matches),X(t.matches);const a=e=>{j(e.matches)},n=e=>{X(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}}),[]);const ie=c((()=>S||H),[S,H]),re=c((()=>f||Q),[f,Q]),oe=d((()=>"boolean"==typeof N?N:J),[N,J]),le=c((()=>{const e=oe(),t=ze(re),a=F?1.3:1,n=G?1.5:1,i={isOverLight:e,threshold:.7,opacity:.4*a*n,contrast:1.3+.2*t,brightness:.9+.1*t,saturationBoost:1.2+.3*t,shadowIntensity:.8+.4*t,borderOpacity:.6+.2*t};if("object"==typeof N&&null!==N){const e=N;return{...i,threshold:e.threshold||i.threshold,opacity:(e.opacity||.4)*a*n,contrast:(e.contrast||1.3)+.2*t}}return i}),[N,oe,re,F,G]),se=r(null),ce=r(null),de=d((e=>{ce.current=e,null===se.current&&(se.current=requestAnimationFrame((()=>{const e=ce.current;if(!e)return void(se.current=null);const t=(null==E?void 0:E.current)||z.current;if(!t)return void(se.current=null);const a=P?performance.now():0,n=t.getBoundingClientRect();if(0===n.width||0===n.height)return void(se.current=null);const i=Pe(n);if(K({x:(e.clientX-i.x)/n.width*100,y:(e.clientY-i.y)/n.height*100}),W({x:e.clientX,y:e.clientY}),P){performance.now()}se.current=null})))}),[E,P]);o((()=>{if(S&&f)return;if(ne)return;const e=(null==E?void 0:E.current)||z.current;return e?(e.addEventListener("mousemove",de,{passive:!0}),()=>{e.removeEventListener("mousemove",de),se.current&&(cancelAnimationFrame(se.current),se.current=null)}):void 0}),[de,E,S,f,ne]);const ue=d((()=>{if(!(ie.x&&ie.y&&z.current&&Ue(Y)))return"scale(1)";const e=z.current.getBoundingClientRect(),t=Pe(e),a=ie.x-t.x,n=ie.y-t.y,i=Math.max(0,Math.abs(a)-Y.width/2),r=Math.max(0,Math.abs(n)-Y.height/2),o=Be({x:i,y:r},{x:0,y:0});if(o>ke)return"scale(1)";const l=1-o/ke,s=Be(ie,t);if(0===s)return"scale(1)";const c=a/s,d=n/s,u=Math.min(s/300,1)*g*l,h=1+Math.abs(c)*u*.3-Math.abs(d)*u*.15,m=1+Math.abs(d)*u*.3-Math.abs(c)*u*.15;return`scaleX(${Math.max(.8,h)}) scaleY(${Math.max(.8,m)})`}),[ie,g,Y]),he=d((()=>{if(!(ie.x&&ie.y&&z.current&&Ue(Y)))return 0;const e=z.current.getBoundingClientRect(),t=Pe(e),a=Math.max(0,Math.abs(ie.x-t.x)-Y.width/2),n=Math.max(0,Math.abs(ie.y-t.y)-Y.height/2),i=Be({x:a,y:n},{x:0,y:0});return i>ke?0:1-i/ke}),[ie,Y]),me=d((()=>{if(!z.current)return{x:0,y:0};const e=he(),t=z.current.getBoundingClientRect(),a=Pe(t);return{x:(ie.x-a.x)*g*.1*e,y:(ie.y-a.y)*g*.1*e}}),[ie,g,he]);o((()=>{const e=e=>null!==e&&e instanceof HTMLElement&&e.isConnected;let t=null,a={width:0,height:0},n=v;const i=function(){let i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null!==t&&cancelAnimationFrame(t),t=requestAnimationFrame((()=>{if(!e(z.current))return;const r=z.current.getBoundingClientRect();if(r.width<=0||r.height<=0)return;const o=Math.max(0,.1*v),l={width:Math.round(r.width+o),height:Math.round(r.height+o)},s=n!==v,c=l.width!==a.width||l.height!==a.height;var d;(i||s||c)&&(Ue(d=l)&&d.width<=4096&&d.height<=4096)&&(a=l,n=v,$(l)),t=null}))};let r=null;const o=()=>{r&&clearTimeout(r),r=setTimeout(i,16)};i(!0);let l=null,s=null;if("undefined"!=typeof ResizeObserver&&e(z.current))try{l=new ResizeObserver((e=>{for(const t of e)if(t.target===z.current){i();break}})),l.observe(z.current)}catch{s=setInterval((()=>e(z.current)&&i()),100)}else s=setInterval((()=>e(z.current)&&i()),100);return window.addEventListener("resize",o,{passive:!0}),()=>{var e;null!==t&&cancelAnimationFrame(t),r&&clearTimeout(r),s&&clearInterval(s),window.removeEventListener("resize",o),null===(e=l)||void 0===e||e.disconnect()}}),[v,P]),o((()=>{if(!z.current)return;const e=setTimeout((()=>{if(!z.current)return;const e=z.current.getBoundingClientRect();if(e.width>0&&e.height>0){const t=Math.max(0,.1*v);$({width:Math.round(e.width+t),height:Math.round(e.height+t)})}}),0);return()=>clearTimeout(e)}),[v]);const pe=c((()=>ne?{x:0,y:0}:me()),[me,ne]),ge=c((()=>ne?"scale(1)":ue()),[ue,ne]),ve=c((()=>ne?G&&Boolean(y)?"scale(0.98)":"scale(1)":`translate(${pe.x}px, ${pe.y}px) ${G&&Boolean(y)?"scale(0.96)":ge}`),[pe,G,y,ge,ne]),Se=c((()=>({..._,...0!==g&&{transform:ve,transition:te?"none":"all ease-out 0.2s",willChange:ne?"auto":"transform"},...ae&&{border:"2px solid currentColor",outline:"2px solid transparent",outlineOffset:"2px"}})),[_,ve,te,ne,ae,g]),fe=c((()=>({position:Se.position||"absolute",top:Se.top||0,left:Se.left||0})),[Se]),Ee={width:"fixed"!==Se.position?"100%":Se.width?Se.width:Math.max(Y.width,0),height:"fixed"!==Se.position?"100%":Se.height?Se.height:Math.max(Y.height,0)},Ae=s(),be=c((()=>{const e=(null==le?void 0:le.isOverLight)??!1,t=re.x,a=re.y,n=`ag-${Ae.replace(/:/g,"")}`;return{[`--${n}-pos`]:fe.position,[`--${n}-top`]:"fixed"!==fe.top?`${fe.top}px`:"0",[`--${n}-left`]:"fixed"!==fe.left?`${fe.left}px`:"0",[`--${n}-w`]:"fixed"!==Se.position?Ee.width:`${Ee.width}px`,[`--${n}-h`]:"fixed"!==Se.position?Ee.height:`${Ee.height}px`,[`--${n}-r`]:`${v}px`,[`--${n}-t`]:Se.transform,[`--${n}-tr`]:te?"none":Se.transition,[`--${n}-blend`]:e?"multiply":"overlay",[`--${n}-b1`]:`linear-gradient(${135+1.2*t}deg, rgba(255,255,255,0) 0%, rgba(255,255,255,${.12+.008*Math.abs(t)}) ${Math.max(10,33+.3*a)}%, rgba(255,255,255,${.4+.012*Math.abs(t)}) ${Math.min(90,66+.4*a)}%, rgba(255,255,255,0) 100%)`,[`--${n}-b2`]:`linear-gradient(${135+1.2*t}deg, rgba(255,255,255,0) 0%, rgba(255,255,255,${.32+.008*Math.abs(t)}) ${Math.max(10,33+.3*a)}%, rgba(255,255,255,${.6+.012*Math.abs(t)}) ${Math.min(90,66+.4*a)}%, rgba(255,255,255,0) 100%)`,[`--${n}-h1-o`]:F||G?e?.3:.5:0,[`--${n}-h1`]:e?`radial-gradient(circle at ${50+t/2}% ${50+a/2}%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0) 60%)`:`radial-gradient(circle at ${50+t/2}% ${50+a/2}%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%)`,[`--${n}-h2-o`]:G?e?.4:.5:0,[`--${n}-h2`]:e?`radial-gradient(circle at ${50+t/1.5}% ${50+a/1.5}%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 80%)`:`radial-gradient(circle at ${50+t/1.5}% ${50+a/1.5}%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 80%)`,[`--${n}-h3-o`]:F?e?.25:.4:G?e?.5:.8:0,[`--${n}-h3`]:e?`radial-gradient(circle at ${50+t}% ${50+a}%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%)`:`radial-gradient(circle at ${50+t}% ${50+a}%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)`,[`--${n}-base-o`]:e?le.opacity:0,[`--${n}-base`]:e?`linear-gradient(135deg, rgba(0,0,0,${.12+.002*t}) 0%, rgba(0,0,0,${.08+.001*a}) 50%, rgba(0,0,0,${.15+.003*Math.abs(t)}) 100%)`:"rgba(255,255,255,0.1)",[`--${n}-over-o`]:e?.9*le.opacity:0,[`--${n}-over`]:e?`radial-gradient(circle at ${50+.5*t}% ${50+.5*a}%, rgba(0,0,0,${.08+.002*Math.abs(t)}) 0%, rgba(0,0,0,0.04) 40%, rgba(0,0,0,${.12+.002*Math.abs(a)}) 100%)`:"rgba(255,255,255,0.05)","--ag-scoped-id":n}}),[Ae,fe,Ee,v,Se,te,re,F,G,le]),Ne=`ag-${Ae.replace(/:/g,"")}`;return t("div",{className:"atomix-glass",style:{...fe,position:"relative",...be},role:I||(y?"button":void 0),tabIndex:y?w??0:w,"aria-label":L,"aria-describedby":x,"aria-disabled":!y&&void 0,onKeyDown:y?e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),y())}:void 0,children:[e(Ye,{ref:z,className:A,style:Se,cornerRadius:v,displacementScale:ne?0:"shader"===C?.8*u:le.isOverLight?.6*u:u,blurAmount:ne?0:h,saturation:ae?200:le.isOverLight?m*le.saturationBoost:m,aberrationIntensity:ne?0:"shader"===C?.7*p:p,glassSize:Y,padding:b,mouseOffset:ne?{x:0,y:0}:re,globalMousePosition:ne?{x:0,y:0}:ie,onMouseEnter:()=>U(!0),onMouseLeave:()=>U(!1),onMouseDown:()=>V(!0),onMouseUp:()=>V(!1),active:G,isHovered:F,isActive:G,overLight:(null==le?void 0:le.isOverLight)||!1,onClick:y,mode:C,transform:Se.transform,effectiveDisableEffects:ne,effectiveReducedMotion:te,shaderVariant:T,elasticity:g,enableLiquidBlur:D,children:l}),k&&t(a,{children:[e("span",{className:"atomix-glass__border-1",style:{position:`var(--${Ne}-pos)`,top:`var(--${Ne}-top)`,left:`var(--${Ne}-left)`,width:`var(--${Ne}-w)`,height:`var(--${Ne}-h)`,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,background:`var(--${Ne}-b1)`}}),e("span",{className:"atomix-glass__border-2",style:{position:`var(--${Ne}-pos)`,top:`var(--${Ne}-top)`,left:`var(--${Ne}-left)`,width:`var(--${Ne}-w)`,height:`var(--${Ne}-h)`,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,mixBlendMode:`var(--${Ne}-blend)`,background:`var(--${Ne}-b2)`}})]}),Boolean(y)&&t(a,{children:[e("div",{className:"atomix-glass__hover-1",style:{position:"absolute",inset:0,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,mixBlendMode:`var(--${Ne}-blend)`,opacity:`var(--${Ne}-h1-o)`,background:`var(--${Ne}-h1)`}}),e("div",{className:"atomix-glass__hover-2",style:{position:"absolute",inset:0,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,mixBlendMode:`var(--${Ne}-blend)`,opacity:`var(--${Ne}-h2-o)`,background:`var(--${Ne}-h2)`}}),e("div",{className:"atomix-glass__hover-3",style:{position:"absolute",inset:0,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,mixBlendMode:`var(--${Ne}-blend)`,opacity:`var(--${Ne}-h3-o)`,background:`var(--${Ne}-h3)`}})]}),B&&t(a,{children:[e("div",{className:"atomix-glass__base",style:{position:"absolute",inset:0,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,opacity:`var(--${Ne}-base-o)`,background:`var(--${Ne}-base)`}}),e("div",{className:"atomix-glass__overlay",style:{position:"absolute",inset:0,borderRadius:`var(--${Ne}-r)`,transform:`var(--${Ne}-t)`,transition:`var(--${Ne}-tr)`,opacity:`var(--${Ne}-over-o)`,background:`var(--${Ne}-over)`}})]})]})}Ye.displayName="GlassContainer";const He=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"})})}),y=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:60,blurAmount:1.5,cornerRadius:4,mode:"shader"},a=!0===m?t:{...t,...m};return e($e,{...a,children:y})}return y};He.displayName="Accordion";const We=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})]})},Qe={xs:16,sm:20,md:24,lg:32,xl:40},Ke=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?Qe[n]||24:n,weight:i,color:r,"aria-label":l})})};Ke.displayName="Icon";const Ze=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(Ke,{name:"User",size:"xs"===l?"xs":"sm"===l?"sm":"md"})})})};Ze.displayName="Avatar";const je=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===Ze)),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 qe(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()}}}je.displayName="AvatarGroup";const Xe=a=>{let{label:n,variant:i="primary",size:o="md",disabled:l=!1,icon:s,className:c="",glass:d}=a;const{generateBadgeClass:u}=qe({variant:i,size:o,disabled:l}),h=r(null),m=u({variant:i,size:o,disabled:l,className:`${c} ${d?"c-badge--glass":""}`.trim()}),p=t("span",{className:m,"aria-disabled":l,ref:h,children:[s&&e("span",{className:R.ICON_CLASS,children:s}),e("span",{children:n})]});if(d){var g,v;const t={displacementScale:10,saturation:200,blurAmount:1,cornerRadius:null!==(g=h.current)&&void 0!==g&&g.getBoundingClientRect().width?(null===(v=h.current)||void 0===v?void 0:v.getBoundingClientRect().width)/2:16,mode:"standard",className:"c-badge--glass",elasticity:0},a=!0===d?t:{...t,...d};return e($e,{...a,children:p})}return p};Xe.displayName="Badge";const Je=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})}));Je.displayName="Container";const et=()=>({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(" ")}}),tt=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}=et(),m=h({spacing:r,background:d,fullWidth:l,className:s});return e(i,{ref:a,className:m,style:c,...u,children:l?n:e(Je,{type:o.type,className:o.className,children:n})})}));tt.displayName="Block";const at=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 nt(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()}}}at.displayName="Breadcrumb";const it=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}=nt({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:5,blurAmount:0,saturation:200,aberrationIntensity:1,cornerRadius:12,overLight:!1,elasticity:0},a=!0===v?t:{...t,...v};return e($e,{...a,children:e(g,{...b,children:N})})}return e(g,{...b,children:N})}));it.displayName="Button";var rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lt=function(e){try{return!!e()}catch(e){return!0}},st=!lt((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),ct=st,dt=Function.prototype,ut=dt.call,ht=ct&&dt.bind.bind(ut,ut),mt=ct?ht:function(e){return function(){return ut.apply(e,arguments)}},pt=mt({}.isPrototypeOf),gt=function(e){return e&&e.Math===Math&&e},vt=gt("object"==typeof globalThis&&globalThis)||gt("object"==typeof window&&window)||gt("object"==typeof self&&self)||gt("object"==typeof rt&&rt)||gt("object"==typeof rt&&rt)||function(){return this}()||Function("return this")(),St=st,ft=Function.prototype,Et=ft.apply,At=ft.call,bt="object"==typeof Reflect&&Reflect.apply||(St?At.bind(Et):function(){return At.apply(Et,arguments)}),Nt=mt,_t=Nt({}.toString),Ct=Nt("".slice),yt=function(e){return Ct(_t(e),8,-1)},Tt=yt,Lt=mt,xt=function(e){if("Function"===Tt(e))return Lt(e)},It="object"==typeof document&&document.all,wt=void 0===It&&void 0!==It?function(e){return"function"==typeof e||e===It}:function(e){return"function"==typeof e},Rt={},Ot=!lt((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Mt=st,Dt=Function.prototype.call,kt=Mt?Dt.bind(Dt):function(){return Dt.apply(Dt,arguments)},Bt={},Pt={}.propertyIsEnumerable,zt=Object.getOwnPropertyDescriptor,Ft=zt&&!Pt.call({1:2},1);Bt.f=Ft?function(e){var t=zt(this,e);return!!t&&t.enumerable}:Pt;var Ut,Gt,Vt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Yt=lt,$t=yt,Ht=Object,Wt=mt("".split),Qt=Yt((function(){return!Ht("z").propertyIsEnumerable(0)}))?function(e){return"String"===$t(e)?Wt(e,""):Ht(e)}:Ht,Kt=function(e){return null==e},Zt=Kt,jt=TypeError,qt=function(e){if(Zt(e))throw new jt("Can't call method on "+e);return e},Xt=Qt,Jt=qt,ea=function(e){return Xt(Jt(e))},ta=wt,aa=function(e){return"object"==typeof e?null!==e:ta(e)},na={},ia=na,ra=vt,oa=wt,la=function(e){return oa(e)?e:void 0},sa=vt.navigator,ca=sa&&sa.userAgent,da=ca?String(ca):"",ua=vt,ha=da,ma=ua.process,pa=ua.Deno,ga=ma&&ma.versions||pa&&pa.version,va=ga&&ga.v8;va&&(Gt=(Ut=va.split("."))[0]>0&&Ut[0]<4?1:+(Ut[0]+Ut[1])),!Gt&&ha&&(!(Ut=ha.match(/Edge\/(\d+)/))||Ut[1]>=74)&&(Ut=ha.match(/Chrome\/(\d+)/))&&(Gt=+Ut[1]);var Sa=Gt,fa=Sa,Ea=lt,Aa=vt.String,ba=!!Object.getOwnPropertySymbols&&!Ea((function(){var e=Symbol("symbol detection");return!Aa(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fa&&fa<41})),Na=ba&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_a=function(e,t){return arguments.length<2?la(ia[e])||la(ra[e]):ia[e]&&ia[e][t]||ra[e]&&ra[e][t]},Ca=wt,ya=pt,Ta=Object,La=Na?function(e){return"symbol"==typeof e}:function(e){var t=_a("Symbol");return Ca(t)&&ya(t.prototype,Ta(e))},xa=String,Ia=wt,wa=function(e){try{return xa(e)}catch(e){return"Object"}},Ra=TypeError,Oa=function(e){if(Ia(e))return e;throw new Ra(wa(e)+" is not a function")},Ma=Oa,Da=Kt,ka=kt,Ba=wt,Pa=aa,za=TypeError,Fa={exports:{}},Ua=vt,Ga=Object.defineProperty,Va=vt,Ya=function(e,t){try{Ga(Ua,e,{value:t,configurable:!0,writable:!0})}catch(a){Ua[e]=t}return t},$a="__core-js_shared__",Ha=Fa.exports=Va[$a]||Ya($a,{});(Ha.versions||(Ha.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 Wa=Fa.exports,Qa=qt,Ka=Object,Za=function(e){return Ka(Qa(e))},ja=Za,qa=mt({}.hasOwnProperty),Xa=Object.hasOwn||function(e,t){return qa(ja(e),t)},Ja=mt,en=0,tn=Math.random(),an=Ja(1.1.toString),nn=function(e,t){return Wa[e]||(Wa[e]=t||{})},rn=Xa,on=function(e){return"Symbol("+(void 0===e?"":e)+")_"+an(++en+tn,36)},ln=ba,sn=Na,cn=vt.Symbol,dn=nn("wks"),un=sn?cn.for||cn:cn&&cn.withoutSetter||on,hn=function(e){return rn(dn,e)||(dn[e]=ln&&rn(cn,e)?cn[e]:un("Symbol."+e)),dn[e]},mn=kt,pn=aa,gn=La,vn=function(e,t){var a=e[t];return Da(a)?void 0:Ma(a)},Sn=function(e,t){var a,n;if("string"===t&&Ba(a=e.toString)&&!Pa(n=ka(a,e)))return n;if(Ba(a=e.valueOf)&&!Pa(n=ka(a,e)))return n;if("string"!==t&&Ba(a=e.toString)&&!Pa(n=ka(a,e)))return n;throw new za("Can't convert object to primitive value")},fn=TypeError,En=hn("toPrimitive"),An=function(e,t){if(!pn(e)||gn(e))return e;var a,n=vn(e,En);if(n){if(void 0===t&&(t="default"),a=mn(n,e,t),!pn(a)||gn(a))return a;throw new fn("Can't convert object to primitive value")}return void 0===t&&(t="number"),Sn(e,t)},bn=La,Nn=function(e){var t=An(e,"string");return bn(t)?t:t+""},_n=aa,Cn=vt.document,yn=_n(Cn)&&_n(Cn.createElement),Tn=function(e){return yn?Cn.createElement(e):{}},Ln=!Ot&&!lt((function(){return 7!==Object.defineProperty(Tn("div"),"a",{get:function(){return 7}}).a})),xn=Ot,In=kt,wn=Bt,Rn=Vt,On=ea,Mn=Nn,Dn=Xa,kn=Ln,Bn=Object.getOwnPropertyDescriptor;Rt.f=xn?Bn:function(e,t){if(e=On(e),t=Mn(t),kn)try{return Bn(e,t)}catch(e){}if(Dn(e,t))return Rn(!In(wn.f,e,t),e[t])};var Pn=lt,zn=wt,Fn=/#|\.prototype\./,Un=function(e,t){var a=Vn[Gn(e)];return a===$n||a!==Yn&&(zn(t)?Pn(t):!!t)},Gn=Un.normalize=function(e){return String(e).replace(Fn,".").toLowerCase()},Vn=Un.data={},Yn=Un.NATIVE="N",$n=Un.POLYFILL="P",Hn=Un,Wn=Oa,Qn=st,Kn=xt(xt.bind),Zn={},jn=Ot&&lt((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),qn=aa,Xn=String,Jn=TypeError,ei=Ot,ti=Ln,ai=jn,ni=function(e){if(qn(e))return e;throw new Jn(Xn(e)+" is not an object")},ii=Nn,ri=TypeError,oi=Object.defineProperty,li=Object.getOwnPropertyDescriptor,si="enumerable",ci="configurable",di="writable";Zn.f=ei?ai?function(e,t,a){if(ni(e),t=ii(t),ni(a),"function"==typeof e&&"prototype"===t&&"value"in a&&di in a&&!a[di]){var n=li(e,t);n&&n[di]&&(e[t]=a.value,a={configurable:ci in a?a[ci]:n[ci],enumerable:si in a?a[si]:n[si],writable:!1})}return oi(e,t,a)}:oi:function(e,t,a){if(ni(e),t=ii(t),ni(a),ti)try{return oi(e,t,a)}catch(e){}if("get"in a||"set"in a)throw new ri("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var ui=Zn,hi=Vt,mi=Ot?function(e,t,a){return ui.f(e,t,hi(1,a))}:function(e,t,a){return e[t]=a,e},pi=vt,gi=bt,vi=xt,Si=wt,fi=Rt.f,Ei=Hn,Ai=na,bi=function(e,t){return Wn(e),void 0===t?e:Qn?Kn(e,t):function(){return e.apply(t,arguments)}},Ni=mi,_i=Xa,Ci=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 gi(e,this,arguments)};return t.prototype=e.prototype,t},yi=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?pi:m?pi[u]:pi[u]&&pi[u].prototype,v=h?Ai:Ai[u]||Ni(Ai,u,{})[u],S=v.prototype;for(r in t)n=!(a=Ei(h?r:u+(m?".":"#")+r,e.forced))&&g&&_i(g,r),l=v[r],n&&(s=e.dontCallGetSet?(d=fi(g,r))&&d.value:g[r]),o=n&&s?s:t[r],(a||p||typeof l!=typeof o)&&(c=e.bind&&n?bi(o,pi):e.wrap&&n?Ci(o):p&&Si(o)?vi(o):o,(e.sham||o&&o.sham||l&&l.sham)&&Ni(c,"sham",!0),Ni(v,r,c),p&&(_i(Ai,i=u+"Prototype")||Ni(Ai,i,{}),Ni(Ai[i],r,o),e.real&&S&&(a||!S[r])&&Ni(S,r,o)))},Ti=Math.ceil,Li=Math.floor,xi=Math.trunc||function(e){var t=+e;return(t>0?Li:Ti)(t)},Ii=function(e){var t=+e;return t!=t||0===t?0:xi(t)},wi=Ii,Ri=Math.max,Oi=Math.min,Mi=Ii,Di=Math.min,ki=function(e){var t=Mi(e);return t>0?Di(t,9007199254740991):0},Bi=function(e){return ki(e.length)},Pi=ea,zi=function(e,t){var a=wi(e);return a<0?Ri(a+t,0):Oi(a,t)},Fi=Bi,Ui=function(e){return function(t,a,n){var i=Pi(t),r=Fi(i);if(0===r)return!e&&-1;var o,l=zi(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}},Gi={includes:Ui(!0),indexOf:Ui(!1)}.includes;yi({target:"Array",proto:!0,forced:lt((function(){return!Array(1).includes()}))},{includes:function(e){return Gi(this,e,arguments.length>1?arguments[1]:void 0)}});var Vi=vt,Yi=na,$i=function(e,t){var a=Yi[e+"Prototype"],n=a&&a[t];if(n)return n;var i=Vi[e],r=i&&i.prototype;return r&&r[t]},Hi=$i("Array","includes"),Wi=aa,Qi=yt,Ki=hn("match"),Zi=function(e){var t;return Wi(e)&&(void 0!==(t=e[Ki])?!!t:"RegExp"===Qi(e))},ji=TypeError,qi={};qi[hn("toStringTag")]="z";var Xi="[object z]"===String(qi),Ji=wt,er=yt,tr=hn("toStringTag"),ar=Object,nr="Arguments"===er(function(){return arguments}()),ir=Xi?er: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=ar(e),tr))?a:nr?er(t):"Object"===(n=er(t))&&Ji(t.callee)?"Arguments":n},rr=String,or=hn("match"),lr=yi,sr=function(e){if(Zi(e))throw new ji("The method doesn't accept regular expressions");return e},cr=qt,dr=function(e){if("Symbol"===ir(e))throw new TypeError("Cannot convert a Symbol value to a string");return rr(e)},ur=function(e){var t=/./;try{"/./"[e](t)}catch(a){try{return t[or]=!1,"/./"[e](t)}catch(e){}}return!1},hr=mt("".indexOf);lr({target:"String",proto:!0,forced:!ur("includes")},{includes:function(e){return!!~hr(dr(cr(this)),dr(sr(e)),arguments.length>1?arguments[1]:void 0)}});var mr=$i("String","includes"),pr=pt,gr=Hi,vr=mr,Sr=Array.prototype,fr=String.prototype,Er=ot((function(e){var t=e.includes;return e===Sr||pr(Sr,e)&&t===Sr.includes?gr:"string"==typeof e||e===fr||pr(fr,e)&&t===fr.includes?vr:t}));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"):Er(e=["warning","error"]).call(e,l)?(a.role="alert",a["aria-live"]="assertive"):Er(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(Ke,{name:"X",size:"md"})})]});if(h){const t={displacementScale:30,cornerRadius:8,elasticity:0},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($e,{...a,children:e("div",{className:"c-callout__glass-content",style:{borderRadius:a.cornerRadius},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 br=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($e,{...t,cornerRadius:10,elasticity:0,children:e("div",{className:"c-card__glass-content",children:_})})})}return e("div",{ref:i,className:N,onClick:f,...b,style:{...E},children:_})}));br.displayName="Card";var Nr=Oa,_r=Za,Cr=Qt,yr=Bi,Tr=TypeError,Lr="Reduce of empty array with no initial value",xr=function(e){return function(t,a,n,i){var r=_r(t),o=Cr(r),l=yr(r);if(Nr(a),0===l&&n<2)throw new Tr(Lr);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 Tr(Lr)}for(;e?s>=0:l>s;s+=c)s in o&&(i=a(i,o[s],s,r));return i}},Ir={left:xr(!1),right:xr(!0)},wr=lt,Rr=vt,Or=da,Mr=yt,Dr=function(e){return Or.slice(0,e.length)===e},kr=Dr("Bun/")?"BUN":Dr("Cloudflare-Workers")?"CLOUDFLARE":Dr("Deno/")?"DENO":Dr("Node.js/")?"NODE":Rr.Bun&&"string"==typeof Bun.version?"BUN":Rr.Deno&&"object"==typeof Deno.version?"DENO":"process"===Mr(Rr.process)?"NODE":Rr.window&&Rr.document?"BROWSER":"REST",Br=Ir.left,Pr=function(e,t){var a=[][e];return!!a&&wr((function(){a.call(null,t||function(){return 1},1)}))};yi({target:"Array",proto:!0,forced:!("NODE"===kr)&&Sa>79&&Sa<83||!Pr("reduce")},{reduce:function(e){var t=arguments.length;return Br(this,e,t,t>1?arguments[1]:void 0)}});var zr=$i("Array","reduce"),Fr=pt,Ur=zr,Gr=Array.prototype,Vr=ot((function(e){var t=e.reduce;return e===Gr||Fr(Gr,e)&&t===Gr.reduce?Ur:t}));function Yr(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=r(null);o((()=>()=>{n.current&&cancelAnimationFrame(n.current)}),[]);const l=d(((e,t,n,i,r,o)=>{a((a=>({...a,hoveredPoint:{datasetIndex:e,pointIndex:t,x:n,y:i,clientX:r,clientY:o}})))}),[]),s=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,r=Math.max(.1,Math.min(10,a.zoomLevel*i)),o=r/a.zoomLevel,l={x:t?t-(t-a.panOffset.x)*o:a.panOffset.x,y:n?n-(n-a.panOffset.y)*o:a.panOffset.y};return{...a,zoomLevel:r,panOffset:l}}))}),[]),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}})))}),[]),v=d((()=>{a((e=>({...e,crosshair:null})))}),[]),S=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,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}))}),[]),f=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,r=a.touchState.touches[0];let o,l;if(r){o=e-(r.x-n.left),l=i-(r.y-n.top)}else o=e-a.dragStart.x,l=i-a.dragStart.y;const s=.6,c=o*s,d=l*s;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,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}}}))}),[]),E=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,r=t[0].y-n.top;return{...a,dragStart:{x:i,y:r},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}}}))}),[]),A=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,isPen:!0,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),b=d((e=>{"pen"===e.pointerType&&a((t=>({...t,penState:{...t.penState,pressure:e.pressure,tiltX:e.tiltX,tiltY:e.tiltY}})))}),[]),N=d((e=>{"pen"===e.pointerType&&a((e=>({...e,penState:{...e.penState,isPen:!1,pressure:0,tiltX:0,tiltY:0}})))}),[]),_=d((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe.DEFAULT_WIDTH,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pe.DEFAULT_HEIGHT,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{top:20,right:20,bottom:30,left:40};if(!e||0===e.length)return null;const i=e.flatMap((e=>e.data));if(0===i.length)return null;const r=Math.min(...i.map((e=>e.value))),o=Math.max(...i.map((e=>e.value))),l=o-r||1,s=t-n.left-n.right,c=a-n.top-n.bottom;return{xScale:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.length;return t<=1?n.left+s/2:n.left+e/(t-1)*s},yScale:e=>n.top+c-(e-r)/l*c,minValue:r,maxValue:o,valueRange:l,innerWidth:s,innerHeight:c,width:t,height:a,padding:n}}),[]),C=d((e=>{if(e<=0)return[];const t=[];for(let a=0;a<e;a++){const e=a%pe.DEFAULT_COLORS.length;t.push(pe.DEFAULT_COLORS[e])}return t}),[]),y=r(null);return{interactionState:t,setInteractionState:a,handlePointHover:l,handlePointLeave:s,handlePointClick:c,handleZoom:u,handlePan:h,handleDragStart:m,handleDragEnd:p,handleCrosshair:g,clearCrosshair:v,handleTouchStart:S,handleTouchMove:f,handleTouchEnd:E,handlePointerDown:A,handlePointerMove:b,handlePointerUp:N,calculateScales:_,getChartColors:C,svgRef:y}}const $r=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:y,state:T={},className:L="",...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:T.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:T.isExporting,variant:"primary",tooltip:"Export chart (Ctrl+E)",shortcut:"Ctrl+E"}),[{id:"data-actions",label:"Data",actions:e,separator:!0}]}),[s,m,p,T,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(!T.panEnabled),active:T.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:T.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:T.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>null==g?void 0:g(!T.isFullscreen),variant:"success",tooltip:(T.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,T]),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(Ke,{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 ${L}`.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:T.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:[T.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*(T.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)))})})));$r.displayName="ChartToolbar";const Hr=p(l(((a,n)=>{let{children:r,type:l="line",size:s="md",variant:u="primary",title:h,subtitle:m,loading:p=!1,error:g,className:v="","aria-label":S,onFullscreen:f,onExport:E,onRefresh:A,showToolbar:b=!1,enableFullscreen:N=!1,enableExport:_=!1,enableRefresh:C=!1,exportFormats:y=["png","svg","csv"],datasets:T,config:L,...x}=a;const[I,w]=i(!1),[R,O]=i(!1),{state:M,handlers:D,toolbarGroups:k}=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: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(),...s})),[p,s]),v={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((()=>{}),[])},S=d((()=>{const e=[],t=[];g.refresh&&t.push({id:"refresh",label:"Refresh",icon:"ArrowClockwise",onClick:v.onRefresh,disabled:n.isRefreshing,tooltip:"Refresh chart data"}),g.export&&t.push({id:"export",label:"Export",icon:"Download",onClick:()=>v.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:v.onZoomIn,tooltip:"Zoom in"},{id:"zoom-out",label:"Zoom Out",icon:"MagnifyingGlassMinus",onClick:v.onZoomOut,tooltip:"Zoom out"}),g.pan&&a.push({id:"pan",label:"Pan",icon:"ArrowsOutCardinal",onClick:()=>v.onPanToggle(!n.panEnabled),active:n.panEnabled,tooltip:"Toggle pan mode"}),g.reset&&a.push({id:"reset",label:"Reset",icon:"ArrowCounterClockwise",onClick:v.onReset,tooltip:"Reset view"}),g.fullscreen&&a.push({id:"fullscreen",label:n.isFullscreen?"Exit Fullscreen":"Fullscreen",icon:n.isFullscreen?"ArrowsIn":"ArrowsOut",onClick:()=>v.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:()=>v.onGridToggle(!n.showGrid),active:n.showGrid,tooltip:"Toggle grid"}),g.legend&&i.push({id:"legend",label:"Legend",icon:"List",onClick:()=>v.onLegendToggle(!n.showLegend),active:n.showLegend,tooltip:"Toggle legend"}),g.tooltips&&i.push({id:"tooltips",label:"Tooltips",icon:"ChatCircle",onClick:()=>v.onTooltipsToggle(!n.showTooltips),active:n.showTooltips,tooltip:"Toggle tooltips"}),g.animations&&i.push({id:"animations",label:"Animations",icon:"Play",onClick:()=>v.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:v.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,v,h,m]);return o((()=>{const e=e=>{if(e.ctrlKey||e.metaKey)switch(e.key.toLowerCase()){case"r":g.refresh&&(e.preventDefault(),v.onRefresh());break;case"e":g.export&&(e.preventDefault(),v.onExport("png"));break;case"f":g.fullscreen&&(e.preventDefault(),v.onFullscreen(!n.isFullscreen))}else switch(e.key){case"+":case"=":g.zoom&&(e.preventDefault(),v.onZoomIn());break;case"-":g.zoom&&(e.preventDefault(),v.onZoomOut());break;case"r":g.reset&&(e.preventDefault(),v.onReset());break;case" ":g.pan&&(e.preventDefault(),v.onPanToggle(!n.panEnabled));break;case"F11":g.fullscreen&&(e.preventDefault(),v.onFullscreen(!n.isFullscreen))}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[g,n,v]),{state:n,setState:r,handlers:v,toolbarGroups:S(),config:{enableDefaults:l,defaults:g,exportFormats:u}}}(l,{enableDefaults:b,defaults:{refresh:C,export:_,fullscreen:N,zoom:!0,pan:!0,reset:!0,grid:!0,legend:!0,tooltips:!0,animations:!0,settings:!0},exportFormats:y},{onRefresh:A,onExport:E,onFullscreen:e=>{w(e),null==f||f(e)}}),{generateChartClass:B,chartAttributes:P}=Yr(),z=B({type:l,size:s,variant:u,loading:p,error:g,className:v});d((()=>{D.onFullscreen(!M.isFullscreen)}),[D,M.isFullscreen]),d((async e=>{await D.onExport(e)}),[D]),d((()=>{D.onRefresh()}),[D]),o((()=>{w(M.isFullscreen),O(M.isExporting)}),[M.isFullscreen,M.isExporting]);const F=`${z}${I?` ${pe.CLASSES.FULLSCREEN}`:""}`;return t("div",{ref:n,className:F,"aria-label":S||`${l} chart`,role:"img",tabIndex:0,...P,...x,children:[(h||m||b)&&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:[h&&e("h3",{className:`${pe.TITLE_CLASS} u-mb-1`,children:h}),m&&e("p",{className:`${pe.SUBTITLE_CLASS} u-mb-0`,children:m})]}),b?e($r,{chartType:l,groups:k,enableDefaults:0===k.length,exportFormats:y,state:{isFullscreen:M.isFullscreen,isExporting:M.isExporting,isRefreshing:M.isRefreshing,zoomLevel:M.zoomLevel,panEnabled:M.panEnabled,showGrid:M.showGrid,showLegend:M.showLegend,showTooltips:M.showTooltips,animationsEnabled:M.animationsEnabled},onRefresh:D.onRefresh,onExport:D.onExport,onFullscreen:D.onFullscreen,onZoomIn:D.onZoomIn,onZoomOut:D.onZoomOut,onZoomReset:D.onZoomReset,onPanToggle:D.onPanToggle,onReset:D.onReset,onSettings:D.onSettings,onGridToggle:D.onGridToggle,onLegendToggle:D.onLegendToggle,onTooltipsToggle:D.onTooltipsToggle,onAnimationsToggle:D.onAnimationsToggle}):null]}),t("div",{className:pe.CONTENT_CLASS,children:[p&&t("div",{className:pe.LOADING_CLASS,children:[e("div",{className:pe.LOADING_SPINNER_CLASS}),e("span",{className:pe.LOADING_TEXT_CLASS,children:M.isExporting?"Exporting chart...":M.isRefreshing?"Refreshing chart...":"Loading chart..."})]}),g&&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:g})]})]}),!p&&!g&&!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"})]}),!p&&!g&&r&&e("div",{className:pe.CANVAS_CLASS,children:r})]})]})})));Hr.displayName="Chart";const Wr=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=Vr(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,y=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})),T=(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}`)}))}),y.flat(),T,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]),y=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(Hr,{ref:n,type:"advanced",datasets:g,config:l,...h,children:[N,_,C,y]})})));Wr.displayName="AdvancedChart";const Qr=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(Hr,{ref:a,type:l,datasets:n,config:i,...c,children:e("canvas",{ref:u,style:{width:"100%",height:"100%",borderRadius:"8px"}})})})));function Kr(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=Vr(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=Vr(e).call(e,((e,t,a)=>e+a),0),n=Vr(e).call(e,((e,t)=>e+t.value),0),i=(t*Vr(e).call(e,((e,t,a)=>e+a*t.value),0)-a*n)/(t*Vr(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,i,r)=>{s({datasetIndex:e,pointIndex:t,x:a,y:n,clientX:i,clientY:r})}),[]),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}}Qr.displayName="AnimatedChart";const Zr=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:y,handlePan:T,handleDragStart:L,handleDragEnd:x,handleCrosshair:I,clearCrosshair:w,handleTouchStart:R,handleTouchMove:O,handleTouchEnd:M,handlePointerDown:D,handlePointerMove:k,handlePointerUp:B,svgRef:P}=Yr(),{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=Vr(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=Vr(e).call(e,((e,t,a)=>e+a),0),n=Vr(e).call(e,((e,t)=>e+t),0),i=(t*Vr(e).call(e,((e,t,a)=>e+a*t),0)-a*n)/(t*Vr(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=Vr(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=r.length>0?Math.min(...r):0,l=r.length>0?Math.max(...r):0;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;const n=(null===(t=e.data)||void 0===t?void 0:t.map((e=>e.value)).filter((e=>"number"==typeof e)))||[],i=n.length>0?n:[0];return{label:e.label,dataLength:(null===(a=e.data)||void 0===a?void 0:a.length)||0,minValue:Math.min(...i),maxValue:Math.max(...i)}})):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 $=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;T(e,t)}}),[p,b,I,T]),H=d((e=>{if(!p||b.touchState.isTouch)return;const t=e.currentTarget.getBoundingClientRect(),a=e.clientX-t.left,n=e.clientY-t.top;L(a,n)}),[p,b.touchState.isTouch,L]),W=d((()=>{p&&!b.touchState.isTouch&&x()}),[p,b.touchState.isTouch,x]),Q=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;y(r,a,n)}),[p,y]),K=d(((e,t,a)=>{p&&(C(t,a),null==m||m(e,t,a))}),[p,C,m]),Z=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 Z?t("svg",{ref:n||P,width:"100%",height:"100%",viewBox:`0 0 ${Z.scales.width} ${Z.scales.height}`,preserveAspectRatio:"xMidYMid meet",className:pe.CHART_SVG_CLASS,onMouseMove:$,onMouseDown:H,onMouseUp:W,onMouseLeave:()=>{w(),W()},onWheel:Q,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];K(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({...Z,interactionState:b,handlers:{onDataPointClick:K,onPointHover:N,onPointLeave:_,onMouseMove:$,onMouseDown:H,onMouseUp:W,onWheel:Q},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:Z.scales.height,stroke:"var(--atomix-gray-4)",strokeWidth:"1",strokeDasharray:"4,4",opacity:"0.6"}),e("line",{x1:0,y1:b.crosshair.y,x2:Z.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:Z.scales.width-80,y:10,width:"70",height:"20",fill:"rgba(0, 0, 0, 0.8)",rx:"4"}),t("text",{x:Z.scales.width-45,y:24,textAnchor:"middle",fill:"white",fontSize:"12",children:[Math.round(100*b.zoomLevel),"%"]})]})]}):null})));Zr.displayName="ChartRenderer";const jr=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}));jr.displayName="ChartTooltip";const qr=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}=Kr(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(Hr,{ref:n,type:"line",datasets:l,config:s,toolbarConfig:{defaults:{zoom:!0,pan:!0,reset:!0,grid:!0,tooltips:!0}},...v,children:[e(Zr,{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(jr,{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})]})})));qr.displayName="LineChart";const Xr=p(l(((t,a)=>{let{areaOptions:n={},...i}=t;const r={showArea:!0,fillOpacity:.3,useGradient:!0,...n};return e(qr,{ref:a,lineOptions:r,...i})})));function Jr(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,r,o)=>{n({datasetIndex:e,pointIndex:t,chartX:a,chartY:i,clientX:r,clientY:o})}),[]),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}}Xr.displayName="AreaChart";const eo=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}=Jr(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(Hr,{ref:n,type:u?"horizontal-bar":"bar",datasets:l,config:s,...m,children:[e(Zr,{datasets:l,config:s,onDataPointClick:h,renderContent:E}),S&&e(jr,{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})]})})));eo.displayName="BarChart";const to=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:y="Size",colorScheme:T=["var(--atomix-primary)","var(--atomix-secondary)","var(--atomix-success)","var(--atomix-warning)","var(--atomix-error)","var(--atomix-info)"],sizeBasedColoring:L=!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(L){const e=Math.floor((t.size-p)/(g-p)*(T.length-1));l=T[e]}else l=T[a%T.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:y}),[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,y,T,L]),R=[{label:"Bubble Data",data:h.map((e=>({label:e.label,value:e.size,x:e.x,y:e.y})))}];return t(Hr,{ref:n,type:"bubble",datasets:R,config:m,...v,children:[e(Zr,{datasets:R,config:m,onDataPointClick:g,renderContent:w}),x&&h[x.index]&&e(jr,{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})]})})));to.displayName="BubbleChart";const ao=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=Vr(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,y=s.showVolume?h*s.volumeHeightRatio:0,T=d-_-b,L=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(...L),I=(null===(i=l.yAxis)||void 0===i?void 0:i.max)??Math.max(...L),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*T)*S.scale+S.translateX},k=e=>(f+C-(e-x)/w*C)*S.scale+S.translateY,B=e=>C+f+10+(M-e)/M*(y-20),P=Math.max(o.length,1),z=T/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+y-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(Hr,{ref:r,type:"candlestick",datasets:[],config:l,...h,children:[b,s.showOHLCTooltip&&m&&e(jr,{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)}))})]})})));ao.displayName="CandlestickChart";const no=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=Vr(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,y=[`M ${v},${S}`,`A ${r},${r} 0 ${C},1 ${f},${E}`,`L ${A},${b}`,`A ${o},${o} 0 ${C},0 ${N},${_}`,"Z"].join(" "),T=n+(i-n)/2,L=(r+o)/2,x=l+L*Math.cos(T),I=c+L*Math.sin(T),w=`${Math.round(100*p)}%`;return t("g",{children:[e("path",{d:y,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=Vr(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(Hr,{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(jr,{dataPoint:m.data[p.index],datasetLabel:m.label,datasetColor:m.data[p.index].color,position:{x:p.clientX,y:p.clientY},visible:!0})]}),S]})})));no.displayName="DonutChart";const io=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:y="between",proportional:T=!0,minSegmentRatio:L=.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(T){const e=Math.max(n.percentage/100,L);d=s*e}else{const e=Math.max(1-r/(i.length-1)*(1-g),L);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(T&&e){const a=Math.max(e.percentage/100,L);t=s*a}else{const e=Math.max(1-(r+1)/(i.length-1)*(1-g),L);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"===y?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)=>{T?Math.max(e.percentage/100,L):Math.max(1-t/(i.length-1)*(1-v),L)}));return e("g",{children:I})}),[i,c,u,h,m,p,g,v,S,f,E,A,b,N,_,C,y,T,L]),I=[{label:"Funnel Data",data:i.map((e=>({label:e.label,value:e.value})))}];return e(Hr,{ref:n,type:"funnel",datasets:I,config:r,...s,children:e(Zr,{datasets:I,config:r,onDataPointClick:l,renderContent:x})})})));io.displayName="FunnelChart";const ro=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:y=!0,animationDuration:T=1e3,animationEasing:L="ease-out",useGradient:x=!0,label:I,labelPosition:w="bottom"}=u,[R,O]=i(y?l:r),[M,D]=i(null);o((()=>{if(y){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/T,1);let o=r;"ease-out"===L?o=1-Math.pow(1-r,3):"ease-in"===L?o=Math.pow(r,3):"ease-in-out"===L&&(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,y,T,L,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,y=p*Math.PI/180,T=h+(y-h)*((R-l)/(s-l)),L=[],O=B(o,c,d,u,m,p);if(L.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}`;L.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})`}L.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};L.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(L.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};L.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(y)*a,u=c+Math.sin(y)*a;L.push(e("text",{x:n,y:i,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-min-max-label",children:l},"min-label")),L.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(T)*a,i=c+Math.sin(T)*a;L.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),L.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),L.push(e("text",{x:o,y:t,textAnchor:"middle",dominantBaseline:"middle",className:"c-chart__gauge-label",children:I},"custom-label"))}return e("g",{children:L})}),[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(Hr,{ref:n,type:"gauge",datasets:z,config:c,...h,children:[e(Zr,{datasets:z,config:c,renderContent:k}),M&&e(jr,{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})]})})));ro.displayName="GaugeChart";const oo=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,_]),y=d(((e,t)=>{E(e),t&&e&&(t.currentTarget.getBoundingClientRect(),b({x:t.clientX,y:t.clientY}))}),[]),T=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=>y(a,e),onMouseLeave:()=>y(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,y,o.scheme,_]),{matrix:L,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(Hr,{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:T({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}`})]})})));oo.displayName="HeatmapChart";const lo=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(Hr,{ref:n,type:"line",datasets:i,config:l,title:"Multi-Axis Chart",showToolbar:!0,...h,children:e(Zr,{datasets:i,config:l,width:800,height:500,renderContent:p,interactive:!0,enableAccessibility:!0})})})));function so(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((()=>Vr(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,t,a)=>{n(e)}),[]),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}}lo.displayName="MultiAxisChart";const co=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}=so(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(Hr,{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(jr,{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})]})})));co.displayName="PieChart";const uo=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:y}=u,[T,L]=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=y||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,T=[];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`;T.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;T.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;L({datasetIndex:a,pointIndex:n,clientX:o,clientY:l})},onMouseLeave:()=>L(null)},`point-${a}-${n}`))})),e("g",{children:p},`dataset-${a}`)}));return t("g",{children:[T,w,x]})}),[p,g,v,S,f,E,A,b,N,C,y]),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(Hr,{ref:n,type:"radar",datasets:s,config:c,...m,children:[e(Zr,{datasets:s,config:c,onDataPointClick:h,renderContent:x}),T&&e(jr,{dataPoint:null===(r=s[T.datasetIndex])||void 0===r||null===(r=r.data)||void 0===r?void 0:r[T.pointIndex],datasetLabel:null===(o=s[T.datasetIndex])||void 0===o?void 0:o.label,datasetColor:null===(l=s[T.datasetIndex])||void 0===l?void 0:l.color,position:{x:T.clientX,y:T.clientY},visible:!0})]})})));uo.displayName="RadarChart";const ho=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),y=r(Date.now()),T=r([]),L=d((()=>{if(!p)return;const e=Date.now(),t=e-y.current;if(t>=1e3){const a=Math.round(1e3*C.current/t);b((e=>({...e,fps:a,dataPoints:Vr(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,y.current=e}C.current++}),[p,v]),x=d((()=>{if(0===T.current.length)return;const e=performance.now();S((e=>{const t=[...e];return T.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})),T.current=[];const t=performance.now();b((a=>({...a,updateTime:t-e}))),null==m||m(v),L()}),[c.maxDataPoints,m,v,L]),I=d((()=>{if(h)try{_.current=new WebSocket(h),_.current.onopen=()=>{E(!0)},_.current.onmessage=e=>{try{const t=JSON.parse(e.data);T.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&&T.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(Hr,{ref:n,type:"line",datasets:v,config:s,title:"Real-time Chart "+(f?"🔴 LIVE":"⏸️ PAUSED"),showToolbar:!0,enableRefresh:!0,onRefresh:R,...g,children:[e(Zr,{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"})]})]})})));ho.displayName="RealTimeChart";const mo=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(Hr,{ref:r,type:"scatter",datasets:c,config:d,...m,children:[e(Zr,{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(jr,{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})]})})));mo.displayName="ScatterChart";const po=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}),y=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=Vr(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:Vr(t).call(t,((e,t)=>e+t.value),0),children:t}}),[r]),T=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&&y){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,y]);d(((e,t,a,n,i)=>{if(0===e.length)return;const r=Vr(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=Vr(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=Vr(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 L=c((()=>{if(!r.length)return[];const e=r.filter((e=>!e.children||0===e.children.length));Vr(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:T(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,T]),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((()=>L.length?e("g",{children:L.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),[L,E,b,s,u,h,m,p,I,x]);return t(Hr,{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()]})]})]})})));po.displayName="TreemapChart";const go=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,y=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 y=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}})),T=y.flatMap((e=>[e.startValue,e.endValue])),L=Math.min(0,...T),x=Math.max(...T)-L,I=s/i.length*v,w=s/i.length,R=e=>l+e*w+w/2,O=e=>l+d-(e-L)/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(y.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<y.length-1){const i=y[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=y.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=L+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]),T=[{label:"Waterfall Data",data:i.map((e=>({label:e.label,value:e.value})))}];return e(Hr,{ref:n,type:"waterfall",datasets:T,config:r,...s,children:e(Zr,{datasets:T,config:r,onDataPointClick:l,renderContent:y})})})));go.displayName="WaterfallChart";const vo=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"})})})};vo.displayName="ColorModeToggle";const So=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 Er(s).call(s,"days")&&_.push({label:"Days",value:E}),Er(s).call(s,"hours")&&_.push({label:"Hours",value:A}),Er(s).call(s,"minutes")&&_.push({label:"Minutes",value:b}),Er(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 fo(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&&Er(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()}}}So.displayName="Countdown";const Ao=t=>{let{size:a="md",variant:n="primary",fullscreen:i=!1,className:r="",glass:o}=t;const{generateSpinnerClass:l}=Eo({size:a,variant:n,fullscreen:i}),s=l({size:a,variant:n,fullscreen:i,className:`${r} ${o?"c-spinner--glass":""}`.trim()}),c=e("div",{className:s,role:"status",children:e("span",{className:G.VISUALLY_HIDDEN,children:"Loading..."})});if(o){const t={displacementScale:20,blurAmount:1,cornerRadius:999,mode:"shader"},a=!0===o?t:{...t,...o};return e($e,{...a,children:c})}return c};Ao.displayName="Spinner";const bo="...",No=(e,t)=>{const a=t-e+1;return Array.from({length:a},((t,a)=>a+e))},_o=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),bo,a]}if(r&&!o){let e=No(a-(3+2*n)+1,a);return[1,bo,...e]}if(r&&o){let t=No(e,i);return[1,bo,...t,bo,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:bo}},Co=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(Ke,{name:o,size:"sm","aria-hidden":"true"})})})},yo=a=>{let{currentPage:n=j.currentPage,totalPages:i=j.totalPages,onPageChange:r,siblingCount:o=j.siblingCount,showFirstLastButtons:l=j.showFirstLastButtons,showPrevNextButtons:s=j.showPrevNextButtons,size:c=j.size,className:d="",ariaLabel:u="Pagination",glass:h}=a;const{paginationRange:m,goToPage:p,nextPage:g,prevPage:v,firstPage:S,lastPage:f}=_o({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(Co,{type:"first",onClick:S,disabled:1===n,label:"Go to first page",iconName:"SkipBack"}),s&&e(Co,{type:"prev",onClick:v,disabled:1===n,label:"Go to previous page",iconName:"CaretLeft"}),m.map(((t,a)=>{if(t===bo)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(Co,{type:"next",onClick:g,disabled:n===i,label:"Go to next page",iconName:"CaretRight"}),l&&e(Co,{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($e,{...a,children:E})}return E};yo.displayName="Pagination";const To=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:y,handleSearch:T}=fo({data:n,columns:i,sortable:l,paginated:c,pageSize:d,onSort:S}),L=[Z.base,u&&Z.striped,h&&Z.bordered,m&&Z.dense,p&&Z.loading,o].filter(Boolean).join(" ");return t("div",{className:Z.container,...f,children:[s?e("div",{className:Z.toolbar,children:e("div",{className:Z.search,children:e("input",{type:"text",placeholder:"Search...",className:`${Z.searchInput} c-input`,onChange:e=>T(e.target.value),"aria-label":"Search table"})})}):null,e("div",{className:Z.tableWrapper,children:t("table",{ref:E,className:L,children:[e("thead",{className:Z.header,children:e("tr",{children:i.map(((a,n)=>e("th",{className:`${Z.headerCell} ${!1!==a.sortable&&l?Z.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:Z.headerContent,children:[e("span",{children:a.title}),!1!==a.sortable&&l&&e("span",{className:Z.sortIcon,children:(null==b?void 0:b.key)===a.key?"asc"===b.direction?e(Ke,{name:"CaretUp",size:"sm"}):e(Ke,{name:"CaretDown",size:"sm"}):null})]})},`header-${n}`)))})}),p?e("tbody",{children:e("tr",{children:e("td",{colSpan:i.length,className:Z.loadingCell,children:e("div",{className:Z.loadingIndicator,children:e(Ao,{size:"md",variant:"primary"})})})})}):0===A.length?e("tbody",{children:e("tr",{children:e("td",{colSpan:i.length,className:Z.emptyCell,children:g})})}):e("tbody",{children:A.map(((t,a)=>e("tr",{className:Z.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:Z.cell,children:n.render?n.render(t[n.key],t):t[n.key]},`cell-${a}-${i}`)))},`row-${a}`)))})]})}),!c||_<=1?null:e("div",{className:Z.pagination,children:e(yo,{currentPage:N,totalPages:_,onPageChange:y,showFirstLastButtons:!0,showPrevNextButtons:!0,size:"sm",ariaLabel:"Data table pagination",className:"c-data-table__pagination"})})]})};function Lo(e){const t=new Date;return t.setMonth(e),t.toLocaleString("default",{month:"long"})}function xo(e,t){return new Date(e,t+1,0).getDate()}function Io(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 wo(){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?Io(e,c):""),[f,E]=i(n&&l?`${Io(n,c)} - ${Io(l,c)}`:n?`${Io(n,c)} - Select end date`:""),[A,b]=i(e||n||new Date),[N,_]=i("days"),[C,y]=i(!n||n&&l?"start":"end"),T=r(null),L=r(null),x=new Date,I=A.getMonth(),w=A.getFullYear(),R=xo(w,I),O=new Date(w,I,1).getDay();o((()=>{"single"===a?S(e?Io(e,c):""):(E(n&&l?`${Io(n,c)} - ${Io(l,c)}`:n?`${Io(n,c)} - Select end date`:""),y(!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(Io(i,c)),m||g(!1);else if("start"===C)s&&s({startDate:i,endDate:null}),E(`${Io(i,c)} - Select end date`),y("end");else{if(!n)return;i<n?(s&&s({startDate:i,endDate:n}),E(`${Io(i,c)} - ${Io(n,c)}`)):(s&&s({startDate:n,endDate:i}),E(`${Io(n,c)} - ${Io(i,c)}`)),m||g(!1),y("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(""),y("start"),s&&s({startDate:null,endDate:null}))}),[t,s,a]),$=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]),H=d((()=>{m||g(!0)}),[m]),W=d((e=>{T.current&&!T.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&g(!1)}),[]);o((()=>(p&&!m?document.addEventListener("mousedown",W):document.removeEventListener("mousedown",W),()=>{document.removeEventListener("mousedown",W)})),[p,W,m]);const Q=d((()=>{const e=[],t=xo(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]),K=d((()=>{const e=[];for(let t=0;t<12;t++)e.push({month:t,name:Lo(t)});return e}),[]),Z=d((()=>{const e=[],t=w-6;for(let a=0;a<12;a++)e.push(t+a);return e}),[w]),j=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]),q=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]),X=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:T,inputRef:L,startDate:n,endDate:l,setIsOpen:g,handleDateSelect:M,handlePrevMonth:D,handleNextMonth:k,handlePrevYear:B,handleNextYear:P,handleTodayClick:V,handleClear:Y,handleInputChange:$,handleInputFocus:H,switchToMonthView:z,switchToYearView:F,selectMonth:U,selectYear:G,generateDays:Q,generateMonths:K,generateYears:Z,isDateSelectable:j,isDateSelected:q,isDateInSelectedRange:X,isToday:J,getWeekNumber:ee}}To.displayName="DataTable";const Ro=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:y="bottom-start",inputClassName:T="",size:L="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:$,handleClear:H,handleDateSelect:W,handleTodayClick:Q,handlePrevMonth:K,handleNextMonth:Z,handlePrevYear:j,handleNextYear:q,switchToMonthView:X,switchToYearView:J,selectMonth:ee,selectYear:te,generateDays:ae,generateMonths:ne,generateYears:ie,isDateSelectable:re,isDateSelected:oe,isDateInSelectedRange:le,isToday:se,getWeekNumber:ce}=wo({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:H,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--${L} ${T}`.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:j,"aria-label":"Previous year",children:e(Ke,{name:"CaretDoubleLeft",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--prev-month",onClick:K,"aria-label":"Previous month",children:e(Ke,{name:"CaretLeft",size:"sm"})}),t("button",{type:"button",className:"c-datepicker__view-switch",onClick:X,"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:Z,"aria-label":"Next month",children:e(Ke,{name:"CaretRight",size:"sm"})}),e("button",{type:"button",className:"c-datepicker__nav-button c-datepicker__nav-button--next-year",onClick:q,"aria-label":"Next year",children:e(Ke,{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:j,"aria-label":"Previous year",children:e(Ke,{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:q,"aria-label":"Next year",children:e(Ke,{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(Ke,{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(Ke,{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&&W(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:Q,"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?`${Io(U,u)} - Select end date...`:"Select date range...",value:pe,onChange:Y,onFocus:$,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:H,"aria-label":"Clear date",children:e(Ke,{name:"X",size:"sm"})}),e("span",{className:"c-datepicker__calendar-icon","aria-hidden":"true",children:e(Ke,{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--${y} c-datepicker__calendar--glass`,role:"dialog","aria-modal":b?void 0:"true","aria-label":"Date picker",children:e($e,{...!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--${y}`,role:"dialog","aria-modal":b?void 0:"true","aria-label":"Date picker",children:Ee()})})]})}));Ro.displayName="DatePicker";const Oo=v({isOpen:!1,close:()=>{},id:"",trigger:"click"}),Mo=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,y=C?h:N,T=r(null),L=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(!y)),[y,w]),O=d((()=>{w(!1),setTimeout((()=>{var e;null===(e=L.current)||void 0===e||e.focus()}),0)}),[w]);o((()=>{if(!y||!p)return;const e=e=>{T.current&&!T.current.contains(e.target)&&O()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[y,p,O]),o((()=>{if(!y||!g)return;const e=e=>{"Escape"===e.key&&O()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[y,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||y?"Escape"===e.key&&y&&(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))}),[y,w,O]),B=d((()=>{"hover"===c&&w(!0)}),[c,w]),P=["c-dropdown","click"===c?"c-dropdown--onclick":"",f?`c-dropdown--${f}`:"",y?"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(Oo.Provider,{value:{isOpen:y,close:O,id:I,trigger:c},children:e("ul",{className:"c-dropdown__menu "+(A?"c-dropdown__menu--glass":""),children:l})})});return t("div",{ref:T,className:P,onMouseEnter:"hover"===c?B:void 0,...b,children:[e("div",{ref:L,className:"c-dropdown__toggle",onClick:D,onKeyDown:k,"aria-haspopup":"menu","aria-expanded":y,"aria-controls":I,tabIndex:0,children:n}),e("div",{ref:x,id:I,className:`c-dropdown__menu-wrapper c-dropdown__menu-wrapper--${s} ${y?"is-open":""}`,role:"menu","aria-orientation":"vertical","aria-hidden":!y,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($e,{...a,style:{position:"absolute",width:"100%",height:"100%"},children:F})})():F})]})};function Do(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),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((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n(!0),document.body.classList.add("is-edgepanel-open"),l.current){const{mode:a}=t;if("none"!==a)if(e){l.current.classList.add("is-fade-animating"),l.current.offsetHeight;const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating")}),K.ANIMATION_DURATION)}else{l.current.classList.add("is-animating"),l.current.offsetHeight;const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-animating")}),K.ANIMATION_DURATION)}e?(l.current.style.opacity="1",l.current.style.transform=""):l.current.style.transform="translate(0)","push"===t.mode&&c()}t.onOpenChange&&t.onOpenChange(!0)}),[t,c]),m=d((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(l.current){const{position:a,mode:i}=t;if("none"!==i)if(e){l.current.classList.add("is-fade-animating-out");const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-fade-animating-out")}),K.ANIMATION_DURATION)}else{l.current.classList.add("is-animating-out");const e=l.current;setTimeout((()=>{e&&e.classList.remove("is-animating-out")}),K.ANIMATION_DURATION)}e?(l.current.style.opacity="0",l.current.style.transform=""):l.current.style.transform=a?K.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:K.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=K.TRANSFORM_VALUES[e],t.glass&&(l.current.style.opacity="0"))}}),[t.mode,t.position,t.glass,a]),o((()=>{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:l,backdropRef:s,generateEdgePanelClass:e=>{const{position:n=t.position,className:i="",isOpen:r}=e,o=K.CLASSES.BASE;return`${o} ${n?`${o}--${n}`:""} ${r??a?K.CLASSES.IS_OPEN:""} ${i}`.trim()},openPanel:h,closePanel:m,handleBackdropClick:g}}Mo.displayName="Dropdown";const ko=n=>{var i,o,l,s,c,d,u;let{title:h,children:m,position:p="start",mode:g="slide",isOpen:v=!1,onOpenChange:S,backdrop:f=!0,closeOnBackdropClick:E=!0,closeOnEscape:A=!0,className:b="",glass:N}=n;const{isOpen:_,containerRef:C,backdropRef:y,generateEdgePanelClass:T,closePanel:L,handleBackdropClick:x}=Do({position:p,mode:g,isOpen:v,onOpenChange:S,backdrop:f,closeOnBackdropClick:E,closeOnEscape:A,glass:N}),I=r(null),w=T({position:p,isOpen:v,className:N?`${b} c-edge-panel--glass`:b});if(!_&&!1===v)return null;const R={elasticity:0},O=!0===N?R:{...R,...N},M=t(a,{children:[t("div",{className:"c-edge-panel__header",children:[e("h4",{children:h}),e("button",{className:"c-edge-panel__close c-btn c-btn--icon",onClick:()=>L(),"aria-label":"Close panel",children:e(Ke,{name:"X"})})]}),e("div",{className:"c-edge-panel__body",children:m})]});return t("div",{className:w,"data-position":p,"data-mode":g,children:[f&&e("div",{ref:y,className:"c-edge-panel__backdrop",onClick:x}),e("div",{ref:C,className:"c-edge-panel__container",children:N?e($e,{...O,className:"c-edge-panel__glass-wrapper",style:{position:"fixed",width:null===(i=I.current)||void 0===i?void 0:i.offsetWidth,height:null===(o=I.current)||void 0===o?void 0:o.offsetHeight,top:null===(l=C.current)||void 0===l?void 0:l.offsetTop,left:null===(s=C.current)||void 0===s?void 0:s.offsetLeft,bottom:null===(c=C.current)||void 0===c?void 0:c.style.bottom,right:null===(d=C.current)||void 0===d?void 0:d.style.right},children:e("div",{ref:I,className:"c-edge-panel__glass-content",style:{borderRadius:null===(u=C.current)||void 0===u?void 0:u.style.borderRadius},children:M})}):M})]})};ko.displayName="EdgePanel";const Bo="c-checkbox",Po="is-error",zo="is-valid",Fo="is-disabled",Uo="c-checkbox--mixed";function Go(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=Po:i&&(l=zo);return`${Bo} ${l} ${a?Fo:""} ${r?Uo:""} ${o}`.trim()},checkboxRef:a}}const Vo=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}=Go({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($e,{...a,children:b})}return b};function Yo(e){const t={disabled:!1,...e};return{defaultProps:t,generateFormClass:e=>{const{disabled:a=t.disabled,className:n=""}=e,i=a?X.CLASSES.DISABLED:"";return`${X.CLASSES.BASE} ${i} ${n}`.trim()},handleSubmit:e=>a=>{a.preventDefault(),!t.disabled&&e&&e(a)},handleReset:e=>a=>{!t.disabled&&e&&e(a)}}}Vo.displayName="Checkbox";const $o=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}=Yo({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 Ho(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()}}}$o.displayName="Form";const Wo=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}=Ho({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 Qo(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()}}}Wo.displayName="FormGroup";const Ko=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:y,step:T,ariaLabel:L,ariaDescribedBy:x,glass:I}=t;const{generateInputClass:w}=Qo({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:y,step:T,"aria-label":L,"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($e,{...a,children:O})}return O}));function Zo(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 jo(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 qo(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 Xo(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 Jo(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?H.SELECTORS.DROPDOWN.replace(".",""):""} ${n?"c-nav__item--mega-menu":""} ${i?H.CLASSES.ACTIVE:""} ${r?H.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]?H.CLASSES.ACTIVE:""} ${e?"c-nav__link--disabled":""} ${t}`.trim()},handleClick:e=>a=>{!t.disabled&&e?e():a.preventDefault()}}}function el(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?W.CLASSES.IS_OPEN:"";return`${W.CLASSES.BASE} ${n} ${t}`.trim()},generateWrapperClass:()=>W.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 tl(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?W.CLASSES.ACTIVE:"",r=a?W.CLASSES.DISABLED:"";return`${W.CLASSES.LINK} ${i} ${r} ${n}`.trim()},handleClick:e=>a=>{t.disabled?a.preventDefault():e&&e(a)}}}function al(e,t){return e.classList.contains(t)}Ko.displayName="Input";const nl={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 il(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;const a=nl[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 rl(){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 ol(e){const t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return t?t[1]:null}function ll(e){return/(?:youtube\.com|youtu\.be)/.test(e)}var sl=Object.freeze({__proto__:null,addClass:function(e,t){al(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=il(e,t),n},createPhosphorIcon:il,extractYouTubeId:ol,generateUUID:rl,getAvailableIcons:function(){return Object.keys(nl)},hasClass:al,isYouTubeUrl:ll,removeClass:function(e,t){al(e,t)&&e.classList.remove(t)},toggleClass:function(e,t,a){e.classList.toggle(t,a)}});function cl(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:rl(),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`${q.CLASSES.BASE} ${r} ${o} ${n}`.trim()},generateItemClasses:e=>{const t=e.completed?q.CLASSES.COMPLETED:"";return`${q.CLASSES.ITEM} ${t}`.trim()},getFilteredItems:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?a:a.filter((e=>!e.completed))}}}function dl(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 ul(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 hl(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 ml(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),[y,T]=i(0),[L,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:-y*P+k),[P,y,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(L)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 T(l?t.length+a:a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(a)}),h),a}return T(l?t.length+n:n),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(n),l&&n>=2*t.length&&(E.current=!0,T(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(L)return e;let n;return n=l?(e+1)%t.length:Math.min(e+1,t.length-a),T(l?t.length+n:n),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(n),l&&n>=2*t.length&&(E.current=!0,T(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,L,h,v,E]),o((()=>{T(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(!L)if(g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),l){const e=(_+1)%t.length,a=y+1;C(e),T(a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e),a>=2*t.length&&(E.current=!0,T(t.length+e),setTimeout((()=>{E.current=!1}),0))}),h)}else{const e=Math.min(_+1,t.length-a);C(e),T(e),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e)}),h)}}),[_,y,t.length,a,l,L,h,v,z.length,F,g]),V=d((()=>{if(!L)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=y-1;C(e),T(a),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e),a<t.length&&(E.current=!0,T(t.length+e),setTimeout((()=>{E.current=!1}),0))}),h)}else{const e=Math.max(_-1,0);C(e),T(e),x(!0),B(0),setTimeout((()=>{x(!1),null==v||v(e)}),h)}}),[_,y,t.length,l,L,h,v,z.length,F,g]),Y=d((e=>{L||e===_||(g&&"object"==typeof g&&g.disableOnInteraction&&A.current&&(clearInterval(A.current),A.current=null,N(!1)),x(!0),B(0),C(e),T(l?t.length+e:e),setTimeout((()=>{x(!1),null==v||v(e)}),h))}),[_,L,h,v,l,F,g]),$=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]),H=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]),W=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]),Q=l||_<t.length-a,K=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:L,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:Q,allowSlidePrev:K,allowTouchMove:m,animating:L,enabled:!0,initialized:!0,slideNext:G,slidePrev:V,goToSlide:Y,canSlideNext:Q,canSlidePrev:K,containerRef:S,wrapperRef:f,handleTouchStart:$,handleTouchMove:H,handleTouchEnd:W,allSlides:z,translateValue:U,slideWidth:P,currentSlidesToShow:a,loopedSlides:F,repositioningRef:E}}var pl=Object.freeze({__proto__:null,DOTS:bo,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:qe,useBarChart:Jr,useBlock:et,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:nt,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]),y=d((()=>{b(!1),t&&S(!1),n&&"hover"===o&&g(!1)}),[t,n,o]),T=d((()=>{E(!0)}),[]),L=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:y,onFocus:T,onBlur:L,onClick:N,onKeyDown:_})),[v,p,f,a,l,s,C,y,T,L,N,_,n]);return{cardRef:u,frontRef:h,backRef:m,isFlipped:p,isElevated:v,isFocused:f,isHovered:A,handleClick:N,handleKeyDown:_,handleMouseEnter:C,handleMouseLeave:y,handleFocus:T,handleBlur:L,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=Vr(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:Go,useDataTable:fo,useEdgePanel:Do,useForm:Yo,useFormGroup:Ho,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,y=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",y),()=>e.removeEventListener("mousemove",y)):void 0}),[y,n,l,c]);const T=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]),L=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:T,calculateElasticTranslation:L,handleMouseEnter:x,handleMouseLeave:I,handleMouseDown:w,handleMouseUp:R}},useHero:Zo,useInput:Qo,useLineChart:Kr,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:Xo,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?H.SELECTORS.MEGA_MENU.replace(".",""):H.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:Jo,useNavbar:qo,usePagination:_o,usePieChart:so,useRadio:dl,useRiver:jo,useSelect:ul,useSideMenu:el,useSideMenuItem:tl,useSlider:ml,useSpinner:Eo,useTextarea:hl,useTodo:cl});const gl=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}=ul({size:S,disabled:m,invalid:f,valid:E}),y=C({className:`${h} ${_?"c-select--glass":""}`.trim(),size:S,disabled:m,invalid:f,valid:E}),[T,L]=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)&&(L(!1),O.current&&(O.current.style.height="0px"))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]);const D=t("div",{className:`${y} ${T?ne.CLASSES.IS_OPEN:""}`,ref:w,"aria-expanded":T,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||(!T&&O.current&&R.current?O.current.style.height=`${R.current.clientHeight}px`:O.current&&(O.current.style.height="0px"),L(!T))},"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),L(!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($e,{...a,children:D})}return D};gl.displayName="Select";const vl=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}=dl({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($e,{...a,children:E})}return E};vl.displayName="Radio";const Sl=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:y}=t;const{generateTextareaClass:T}=hl({size:f,variant:E,disabled:c,invalid:A,valid:b}),L=T({className:`${s} ${y?"c-input--glass":""}`.trim(),size:f,variant:E,disabled:c,invalid:A,valid:b}),x=e("textarea",{ref:a,className:L,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:y?{}:void 0});if(y){const t={displacementScale:60,blurAmount:1,saturation:180,aberrationIntensity:1,cornerRadius:8,mode:"shader"},a=!0===y?t:{...t,...y};return e($e,{...a,children:x})}return x}));Sl.displayName="Textarea";const fl=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})]})}));fl.displayName="FooterSocialLink";const El=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:y=!1,...T}=a;const{footerClass:L,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:L,...T,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(fl,{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($o,{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(Ko,{type:"email",name:"email",className:"c-footer__newsletter-input",placeholder:p,required:!0}),e(it,{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(it,{variant:"ghost",className:"c-footer__back-to-top",onClick:M,disabled:y,"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})]})]})]})})}));El.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 bl=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:"↗"})]})}));bl.displayName="FooterLink";const Nl=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:y,generateContentColClass:T,hasBackgroundImage:L,hasForegroundImage:x,useGridLayout:I,heroRef:w,videoRef:R}=Zo({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($e,{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($e,{...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:y(),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:[L||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:T(),children:k()}),B()]}:{children:[B(),e("div",{className:T(),children:k()})]})}):t(a,{children:[k(),B()]})})]})};Nl.displayName="Hero";const _l=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=Er(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})))})};_l.displayName="List";const Cl=n=>{let{messages:r=[],otherAvatar:o,selfAvatar:l,otherName:s,width:c="100%",onSendMessage:d,placeholder:u="Type a message",className:h="",bodyHeight:m,disabled:p=!1,id:g,glass:v}=n;const{inputValue:S,handleInputChange:f,handleSubmit:E,handleKeyDown:A}=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:d}),b=g||`messages-${Math.random().toString(36).substr(2,9)}`,N=`${b}-input`,_={displacementScale:150,cornerRadius:12,elasticity:0,aberrationIntensity:2},C=`${se.CLASSES.BASE} ${v?"c-messages--glass":""} ${p?"is-disabled":""} ${h}`,y=t(a,{children:[e("div",{className:se.CLASSES.BODY,style:m?{"--atomix-messages-body-height":m}:void 0,children:r.map((a=>t("div",{className:`${se.CLASSES.CONTENT} ${a.isSelf?se.CLASSES.CONTENT_SELF:""}`,"aria-label":`${a.isSelf?"You":s||"Other person"} sent a message at ${a.time}`,children:[e(Ze,{src:a.isSelf?l:o,size:"xl",circle:!0,className:se.CLASSES.AVATAR,alt:a.isSelf?"Your avatar":`${s||"Other person"}'s avatar`}),t("div",{className:se.CLASSES.ITEMS,children:[!a.isSelf&&s&&e("div",{className:se.CLASSES.NAME,children:s}),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(Ke,{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:E,"aria-label":"Message input form",children:[t("div",{className:se.CLASSES.INPUT_GROUP,children:[e("label",{htmlFor:N,className:"u-visually-hidden",children:"Type a message"}),e("input",{id:N,type:"text",className:se.CLASSES.INPUT,placeholder:u,value:S,onChange:f,onKeyDown:A,disabled:p,"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:p,children:e(Ke,{name:"PaperclipHorizontal","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:se.CLASSES.OPTION,"aria-label":"Attach image",disabled:p,children:e(Ke,{name:"Image","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})}),e("button",{type:"button",className:se.CLASSES.OPTION,"aria-label":"Insert link",disabled:p,children:e(Ke,{name:"Link","aria-hidden":"true",className:se.CLASSES.OPTION_ICON})})]})]}),e("button",{type:"submit",className:se.CLASSES.SUBMIT,"aria-label":"Send message",disabled:p,children:e(Ke,{name:"PaperPlaneTilt","aria-hidden":"true",size:24})})]})]});if(v){const t=!0===v?_:{..._,...v};return e("div",{className:C,style:{"--atomix-messages-width":c},id:b,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:e($e,{...t,children:e("div",{className:"c-messages__glass-content",style:{borderRadius:t.cornerRadius},children:y})})})}return e("div",{className:C,style:{"--atomix-messages-width":c},id:b,"aria-label":"Chat messages",role:"log","aria-live":"polite",children:y})};Cl.displayName="Messages";const yl=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:y,open:T,close:L}=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&&y&&L()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[y,L,v]);const x=["c-modal",y?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:L,"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:y?"block":"none"},role:"dialog","aria-modal":"true","aria-hidden":!y,...b,children:[e("div",{ref:C,className:"c-modal__backdrop",onClick:e=>{g&&e.target===e.currentTarget&&L()}}),e("div",{ref:_,className:"c-modal__dialog",children:A?(()=>{const t={displacementScale:100,blurAmount:2,aberrationIntensity:1,cornerRadius:12,mode:"shader"},a=!0===A?t:{...t,...A};return e($e,{...a,children:I})})():I})]})};yl.displayName="Modal";const Tl=l(((t,a)=>{let{children:i,alignment:r="start",variant:o="default",className:l="",disabled:s=!1,glass:c}=t;const{generateNavClass:d}=Xo({alignment:r,variant:o}),u=d({alignment:r,variant:o,className:l}),h=e("ul",{ref:a,className:u+(c?" c-nav--glass":""),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}))});if(c){const t={displacementScale:60,blurAmount:1.5,cornerRadius:8,mode:"shader"},a=!0===c?t:{...t,...c};return e($e,{...a,children:h})}return h}));Tl.displayName="Nav";const Ll=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}=Jo({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":""),y=E(u,g,c||d?"c-nav__dropdown-toggle":""),T=n.Children.toArray(s),L=void 0!==v?v:b,x={ref:_,href:h||"#",className:y,onClick:c||d?e=>{(c||d)&&(e.preventDefault(),N(!b))}:A(m),"aria-disabled":g,"aria-expanded":c||d?L: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?T[0]:s}),(c||d)&&T.length>1&&T[1]]})}));Ll.displayName="NavItem";const xl=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,glass:N}=a;const{generateNavbarClass:_,generateContainerStyle:C,generateCollapseClass:y}=qo({position:d,collapsible:h,expanded:m,onToggle:p}),[T,L]=i(m||!1),x=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 I=_({position:d,variant:c,collapsible:h,className:g}),w=C(u),R=y(T),O=t("div",{className:"c-navbar__container",style:w,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:R,ref:x,children:s})]});if(N){const t={displacementScale:30,blurAmount:2,cornerRadius:0,elasticity:0,mode:"shader",shaderVariant:"premiumGlass"},a=!0===N?t:{...t,...N};return e($e,{...a,style:{..."fixed"===d&&{position:"fixed"},left:0,right:0,top:0},children:e("nav",{ref:n,className:I+" c-navbar--glass","aria-label":A,id:b,children:O})})}return e("nav",{ref:n,className:I,"aria-label":A,id:b,children:O})}));xl.displayName="Navbar";const Il=l(((n,i)=>{let{title:r,children:o,isOpen:l,onToggle:s,collapsible:c=!0,className:d="",disabled:u=!1,toggleIcon:h,id:m,glass:p}=n;const{isOpenState:g,wrapperRef:v,innerRef:S,generateSideMenuClass:f,generateWrapperClass:E,handleToggle:A}=el({isOpen:l,onToggle:s,collapsible:c,disabled:u}),b=f({className:d,isOpen:g}),N=E(),_=e(Ke,{name:"CaretRight",size:"xs"}),C=t(a,{children:[r&&c&&t("div",{className:"c-side-menu__toggler",onClick:A,role:"button",tabIndex:u?-1:0,"aria-expanded":g,"aria-controls":m?`${m}-content`:void 0,"aria-disabled":u,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||u||(e.preventDefault(),A())},children:[e("span",{className:"c-side-menu__title",children:r}),e("span",{className:"c-side-menu__toggler-icon",children:h||_})]}),r&&!c&&e("h3",{className:"c-side-menu__title",children:r}),e("div",{ref:v,className:N,id:m?`${m}-content`:void 0,"aria-hidden":!!c&&!g,children:e("div",{ref:S,className:"c-side-menu__inner",children:o})})]});if(p){const t={displacementScale:70,blurAmount:2,cornerRadius:12,mode:"shader"},a=!0===p?t:{...t,...p};return e($e,{...a,children:e("div",{ref:i,className:b+" c-side-menu--glass",id:m,children:C})})}return e("div",{ref:i,className:b,id:m,children:C})}));Il.displayName="SideMenu";const wl=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}=tl({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})]})}));wl.displayName="SideMenuItem";const Rl=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))})}));Rl.displayName="SideMenuList";const Ol=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(Xe,{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(it,{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(Ke,{name:"Minus",size:"sm"})}),e(it,{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(Ke,{name:"MagnifyingGlass",size:"sm"})}),e(it,{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(Ke,{name:"Plus",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(it,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:h,"aria-label":"Rotate image",className:"c-photo-viewer__action-button",icon:e(Ke,{name:"ArrowsClockwise",size:"sm"})}),e(it,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:m,"aria-label":"Download image",className:"c-photo-viewer__action-button",icon:e(Ke,{name:"Download",size:"sm"})}),"share"in navigator&&"function"==typeof navigator.share&&e(it,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:p,"aria-label":"Share image",className:"c-photo-viewer__action-button",icon:e(Ke,{name:"Share",size:"sm"})}),e(it,{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(Ke,{name:"Info",size:"sm"})}),e("div",{className:"c-photo-viewer__divider"}),e(it,{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(Ke,{name:d?"ArrowsIn":"ArrowsOut",size:"sm"})}),e(it,{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(Ke,{name:"X",size:"sm"})})]})]})},Ml=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(it,{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(Ke,{name:"CaretLeft",size:"md"})}),e(it,{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(Ke,{name:"CaretRight",size:"md"})})]}):null},Dl=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,y]=i(!1);o((()=>(y(!0),()=>y(!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()})})},kl=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(it,{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)}))})})},Bl=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(it,{iconOnly:!0,size:"sm",variant:"ghost",rounded:!0,onClick:r,"aria-label":"Close info panel",className:"c-photo-viewer__info-close",icon:e(Ke,{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(Ke,{name:"Calendar",size:14}),e("span",{children:i.date})]}),i.author&&t("div",{className:"c-photo-viewer__info-meta-item",children:[e(Ke,{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(Xe,{label:t,variant:"secondary",size:"sm"},a)))})]})]})]}):null},Pl=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:y,containerRef:T,isTransitioning:L,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:$,handleDoubleClick:H,resetImageState:W}=(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,y]=i(!1),[T,L]=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(!T||!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}}}),[T]),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((()=>(L(!0),a<0||a>=t.length?u(0):u(a),()=>L(!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=()=>{T&&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&&T))return e&&t&&T?(e.addEventListener("load",a),()=>e.removeEventListener("load",a)):void 0;a()}),[c,P,z,T]),o((()=>{const e=()=>{T&&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,T]);const F=d((()=>{m(!0)}),[]),U=d((()=>{m(!1),s&&s()}),[s]),G=d((()=>{c>0&&(y(!0),setTimeout((()=>{u((e=>e-1)),y(!1)}),150))}),[c]),V=d((()=>{c<t.length-1&&(y(!0),setTimeout((()=>{u((e=>e+1)),y(!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}}}))}),[T,c,P,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}},n="function"==typeof e?e(a.position):e,i=z(n,a.bounds);return{...t,[c]:{...a,position:i}}}))}),[c,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.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}}}))}),[T,c,P,z]),W=d((e=>{var t;if(!T||!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&&Er(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}))}}),[T,c,P,z]),Q=d((e=>{if(!T||!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}}}))}),[T,c,P,z]),K=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]),Z=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]),j=d((()=>{g(!1)}),[]),q=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]),X=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}))}),[T,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:$,setIsDragging:g,setIsFullscreen:E,setRotationAngle:H,setShowInfo:b,openModal:F,closeModal:U,goToPrevious:G,goToNext:V,handleWheel:W,handleMouseDown:K,handleMouseMove:Z,handleMouseUp:j,handleTouchStart:q,handleTouchMove:X,handleTouchEnd:J,handleDoubleClick:Q,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||(()=>{})}),Q=c((()=>n.map((e=>"string"==typeof e?{src:e}:e))),[n]),K=Q[f],Z=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:Z,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(Ol,{currentIndex:f,imagesLength:n.length,onZoomOut:()=>x((e=>Math.max(e-.25,.1))),onResetZoom:()=>{W()},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==K||!K.src)return;const e=document.createElement("a");e.href=K.src,e.download=K.title||`image-${f+1}`,document.body.appendChild(e),e.click(),document.body.removeChild(e)},onShare:async()=>{if(navigator.share&&null!=K&&K.src)try{await navigator.share({title:K.title||"Shared Image",text:K.description||"Check out this image",url:K.src})}catch(e){}},showInfo:C,onToggleInfo:()=>M(!C),currentImage:K}),t("div",{className:"c-photo-viewer__content",children:[e(Ml,{show:n.length>1,onPrev:k,onNext:B,currentIndex:f,imagesLength:n.length,enableKeyboardNav:h,onClose:S||D}),(null==K?void 0:K.src)&&e(Dl,{imageRef:y,containerRef:T,src:K.src,alt:(null==K?void 0:K.alt)||`Image ${f+1}`,zoomLevel:E,dragPosition:A,isDragging:b,rotationAngle:_,isTransitioning:L,onMouseDown:z,onMouseMove:F,onMouseUp:U,onWheel:G,onTouchStart:V,onTouchMove:Y,onTouchEnd:$,onDoubleClick:H})]}),"none"!==g&&e(kl,{images:Q,currentIndex:f,goToImage:P}),e(Bl,{show:C,image:K,onClose:()=>M(!1)})]})]}):null};Pl.displayName="PhotoViewer";const zl=v({isOpen:!1,setIsOpen:()=>{},triggerRef:{current:null},popoverId:"",triggerType:"click"}),Fl=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:y,currentPosition:T,updatePosition:L}=(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,y=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((()=>{y(!0)}),l):y(!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")||y(!1)}),100)},n=()=>{null!==b.current&&(clearTimeout(b.current),b.current=null)},i=()=>{y(!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 T=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;T(),window.addEventListener("resize",T);let e=null;const t=t=>{e||(e=setTimeout((()=>{T(t),e=null}),100))};window.addEventListener("scroll",t,{passive:!0});const a=setInterval((()=>{T()}),500);return()=>{window.removeEventListener("resize",T),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)&&y(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[C,u]),o((()=>{if(!C||!h)return;const e=e=>{"Escape"===e.key&&y(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[C,h]),o((()=>()=>{null!==b.current&&window.clearTimeout(b.current)}),[]),{isOpen:C,setIsOpen:y,triggerRef:f,popoverRef:E,arrowRef:A,popoverId:N,currentPosition:v,updatePosition:T}})({position:l,trigger:s,offset:u,delay:d,defaultOpen:h,isOpen:m,onOpenChange:p,closeOnClickOutside:g,closeOnEscape:v,id:S});return t(zl.Provider,{value:{isOpen:A,setIsOpen:b,triggerRef:N,popoverId:y,triggerType:s},children:[f,"undefined"!=typeof document&&I(t("div",{ref:_,className:`c-popover c-popover--${T} ${A?B.CLASSES.IS_OPEN:""} ${E?"c-popover--glass":""} ${c}`,id:y,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($e,{...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)]})};Fl.displayName="Popover";function Ul(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Gl(e,t){return n.useMemo((()=>null==e&&null==t?null:a=>{Ul(e,a),Ul(t,a)}),[e,t])}const Vl=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:y,focusedIndex:T,setHoverValue:L,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;L(Math.max(.5,i))}else L(t)}),[h,u,L]),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;L(Math.max(.5,i))}),[h,u,L]),O=d((()=>{h||L(null)}),[h,L]),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?Q.CLASSES.SMALL:"","lg"===m?Q.CLASSES.LARGE:"",p?`c-rating--${p}`:"",v].filter(Boolean).join(" ");if(E)return e("div",{className:D,ref:Gl(N,n),id:f,...b});const k=null!==y?y:C,B=e("div",{className:D,ref:Gl(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?Q.CLASSES.FULL:"",l?Q.CLASSES.HALF:"",p?`c-rating__star--${p}`:"",T===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($e,{...a,children:B})}return B}));Vl.displayName="Rating";const Yl=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(it,{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(Vl,{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(it,{variant:"primary",label:"Submit Review",disabled:0===p,onClick:()=>N(new Event("click"))})})]})]})};Yl.displayName="ProductReview";const $l=l(((t,a)=>{let{value:n,variant:i="primary",size:r="md",className:o="",disabled:l=!1,ariaLabel:s=de.DEFAULTS.ARIA_LABEL,glass:c}=t;const{progressValue:d,progressStyle:u,progressClasses:h}=(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}),m=e("div",{ref:a,className:h+(c?" c-progress--glass":""),style:u,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d,"aria-label":s,"aria-disabled":l,children:e("div",{className:de.CLASSES.BAR})});if(c){const t={displacementScale:30,blurAmount:.5,cornerRadius:8,mode:"shader"},a=!0===c?t:{...t,...c};return e($e,{...a,children:m})}return m})),Hl=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}=jo({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()]})})]})};Hl.displayName="River";const Wl=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"})})]})};Wl.displayName="SectionIntro";const Ql=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=ml({slides:r,slidesToShow:s,spaceBetween:d,loop:u,initialSlide:h,direction:m,speed:p,allowTouchMove:g,threshold:v,autoplay:f,onSlideChange:N}),{containerRef:y,wrapperRef:T,allSlides:L,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:L.length*(w+d)-d),[L.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||y,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:T,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:L.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<L.length-1?`${d}px`:0,marginBottom:"vertical"===m&&n<L.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)))})]})}));Ql.displayName="Slider";const Kl=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($e,{...a,children:m})}return m};Kl.displayName="Steps";const Zl=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($e,{...a,children:u})}return u};Zl.displayName="Tab";const jl=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})]})]})]})};jl.displayName="Testimonial";const ql=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}=cl({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:rl(),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(Ke,{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(Ke,{name:"Trash",size:"sm"})})]})},a.id)))})]})};ql.displayName="Todo";const Xl=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($e,{...a,children:h})}return h};Xl.displayName="Toggle";const Jl=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($e,{...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]})})]})};Jl.displayName="Tooltip";const es=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,y]=i(null),[T,L]=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&&(y(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"),L(0);let t=0;const a=setInterval((()=>{t+=5,t<100?(L(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?$.CLASSES.DRAGGING:""} ${n?$.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":T},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:[T,"%"]}),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"),y(null),L(0),I(null),R(null),M(null)},children:e("i",{className:"icon-lux-x"})})]})]})]})})};es.displayName="Upload";const ts=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:$=[.5,.75,1,1.25,1.5,2],subtitles:H,quality:W,ambientMode:Q=!1,glass:K=!1,glassOpacity:Z=1,glassContent:j,...q}=n;const X=r(null),J=r(null),ee=r(null),te=r(null),[ae,ne]=i(8),ie="youtube"===u||h||c&&ll(c),re=h||(ie&&c?ol(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:ye,setQuality:Te,formatTime:Le,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,y]=i(!1),[T,L]=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]),$=d((()=>{v?Y():V()}),[v,V,Y]),H=d((e=>{t.current&&(t.current.currentTime=Math.max(0,Math.min(e,A)))}),[t,A]),W=d((e=>{const a=Math.max(0,Math.min(1,e));t.current&&(t.current.volume=a,_(a),y(0===a),null==u||u(a))}),[t,u]),Q=d((()=>{if(t.current){const e=!C;t.current.muted=e,y(e)}}),[t,C]),K=d((async()=>{if(a.current)try{T?document.exitFullscreen&&await document.exitFullscreen():a.current.requestFullscreen&&await a.current.requestFullscreen()}catch(e){}}),[a,T]),Z=d((async()=>{if(t.current)try{x?document.exitPictureInPicture&&await document.exitPictureInPicture():t.current.requestPictureInPicture&&await t.current.requestPictureInPicture()}catch(e){}}),[t,x]),j=d((e=>{t.current&&Er(p).call(p,e)&&(t.current.playbackRate=e,k(e))}),[t,p]),q=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]),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((()=>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),y(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),y(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;L(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(),$();break;case"ArrowLeft":e.preventDefault(),H(f-10);break;case"ArrowRight":e.preventDefault(),H(f+10);break;case"ArrowUp":e.preventDefault(),W(Math.min(1,N+.1));break;case"ArrowDown":e.preventDefault(),W(Math.max(0,N-.1));break;case"KeyM":e.preventDefault(),Q();break;case"KeyF":e.preventDefault(),K()}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[$,H,f,W,N,Q,K,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:T,isPictureInPicture:x,isLoading:w,buffered:O,playbackRate:D,currentQuality:B,showControls:z,play:V,pause:Y,togglePlay:$,seek:H,setVolume:W,toggleMute:Q,toggleFullscreen:K,togglePictureInPicture:Z,setPlaybackRate:j,setQuality:q,formatTime:X,getProgressPercentage:J,getBufferedPercentage:ee}}({videoRef:X,containerRef:J,onPlay:D,onPause:k,onEnded:B,onTimeUpdate:P,onVolumeChange:z,onFullscreenChange:F,onError:U,playbackRates:$,quality:W});!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:X,canvasRef:ee,enabled:Q});const[we,Re]=i(!1),[Oe,Me]=i("quality"),[De,ke]=i((null==H||null===(s=H.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=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}}ke(e)}}),[X]);o((()=>{const e=X.current;if(e&&H){const t=()=>{setTimeout((()=>{const e=H.find((e=>e.default));e&&Ve(e.srcLang)}),100)},a=()=>{if(e.textTracks.length>0){const e=H.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)}}}),[H,Ve,X]),o((()=>{const e=()=>{if(ie&&te.current){const e=te.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(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(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)}}),[ie,X,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:""} ${Q?ue.CLASSES.AMBIENT:""} ${K?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",...q,children:[Q&&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=>{X&&X.current!==e&&(X.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:H&&H.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})}),K&&e("div",{className:ue.CLASSES.GLASS_OVERLAY,children:e($e,{..."boolean"==typeof K?{}:K,style:{borderRadius:"inherit"},mouseContainer:J,displacementScale:30,blurAmount:0,saturation:100,aberrationIntensity:0,cornerRadius:ae,elasticity:0,children:!j&&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&&j&&e("div",{className:ue.CLASSES.GLASS_CONTENT,style:{display:"flex",alignItems:"center",justifyContent:"center"},children:j}),S&&!ie&&t("div",{className:`${ue.CLASSES.CONTROLS} ${ve?ue.CLASSES.CONTROLS_VISIBLE:""}`,style:{zIndex:K?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:Le(le)}),e("span",{children:"/"}),e("span",{children:Le(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:[W&&W.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&&W&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:W.map((t=>e("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${(null==ge?void 0:ge.label)===t.label?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Te(t),children:t.label},t.label)))}),"speed"===Oe&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:$.map((e=>t("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${pe===e?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>ye(e),children:[e,"x"]},e)))}),"subtitles"===Oe&&e("div",{className:ue.CLASSES.SETTINGS_OPTIONS,children:H&&H.length>0?t(a,{children:[e("button",{className:`${ue.CLASSES.SETTINGS_OPTION} ${null===De?ue.CLASSES.SETTINGS_OPTION_ACTIVE:""}`,onClick:()=>Ve(null),children:"Off"}),H.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(y,{size:20})}),V&&e("button",{className:ue.CLASSES.CONTROL_BUTTON,onClick:Ge,"aria-label":"Share video",children:e(T,{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?L:x,{size:20})})]})]})]})]})}));ts.displayName="VideoPlayer";var as=Object.freeze({__proto__:null,Accordion:He,AdvancedChart:Wr,AnimatedChart:Qr,AreaChart:Xr,AtomixGlass:$e,AtomixLogo:We,Avatar:Ze,AvatarGroup:je,Badge:Xe,BarChart:eo,Block:tt,Breadcrumb:at,BubbleChart:to,Button:it,Callout:Ar,CandlestickChart:ao,Card:br,Chart:Hr,ChartRenderer:Zr,Checkbox:Vo,ColorModeToggle:vo,Countdown:So,DataTable:To,DatePicker:Ro,DonutChart:no,Dropdown:Mo,EdgePanel:ko,Footer:El,FooterLink:bl,FooterSection:Al,FooterSocialLink:fl,Form:$o,FormGroup:Wo,FunnelChart:io,GaugeChart:ro,HeatmapChart:oo,Hero:Nl,Icon:Ke,Input:Ko,LineChart:qr,List:_l,Messages:Cl,Modal:yl,MultiAxisChart:lo,Nav:Tl,NavItem:Ll,Navbar:xl,Pagination:yo,PhotoViewer:Pl,PieChart:co,Popover:Fl,ProductReview:Yl,Progress:$l,RadarChart:uo,Radio:vl,Rating:Vl,RealTimeChart:ho,River:Hl,ScatterChart:mo,SectionIntro:Wl,Select:gl,SideMenu:Il,SideMenuItem:wl,SideMenuList:Rl,Slider:Ql,Spinner:Ao,Steps:Kl,Tab:Zl,Testimonial:jl,Textarea:Sl,Todo:ql,Toggle:Xl,Tooltip:Jl,TreemapChart:po,Upload:es,VideoPlayer:ts,WaterfallChart:go});const ns=pl,is=sl,rs=Object.freeze({__proto__:null}),os=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:Z,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:K,FOOTER:ve,FORM:X,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:H,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:B,PROGRESS:de,RADIO:te,RATING:Q,RIVER:Y,SECTION_INTRO:V,SELECT:ne,SIDE_MENU:W,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:q,TOGGLE:P,TOOLTIP:k,UPLOAD:$,VIDEO_PLAYER:ue,sliderConstants:he}),ls=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})}));ls.displayName="Grid";const ss=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})}));ss.displayName="GridCol";const cs=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})}));cs.displayName="Row";const ds=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[y,T]=i(c),[L,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)}),[y,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=()=>T(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*(y-1))/y;D.current=Array(y).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,y,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,y,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 $=D.current.length>0?Math.max(...D.current):0,H=["o-masonry-grid",s,A?"o-masonry-grid--animate":"",R?"o-masonry-grid--loading-images":""].filter(Boolean).join(" ");return e("div",{ref:M,className:H,style:{position:"relative",width:"100%",height:`${$}px`,...C.style},...C,children:F.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)}))})}));ds.displayName="MasonryGrid";const us=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})}));us.displayName="MasonryGridItem";const hs={...as,...Object.freeze({__proto__:null,Container:Je,Grid:ls,GridCol:ss,MasonryGrid:ds,MasonryGridItem:us,Row:cs}),composables:ns,utils:is,constants:os,types:rs};export{He as Accordion,Wr as AdvancedChart,Qr as AnimatedChart,Xr as AreaChart,$e as AtomixGlass,We as AtomixLogo,Ze as Avatar,je as AvatarGroup,Xe as Badge,eo as BarChart,tt as Block,at as Breadcrumb,to as BubbleChart,it as Button,Ar as Callout,ao as CandlestickChart,br as Card,Hr as Chart,Zr as ChartRenderer,Vo as Checkbox,vo as ColorModeToggle,Je as Container,So as Countdown,To as DataTable,Ro as DatePicker,no as DonutChart,Mo as Dropdown,ko as EdgePanel,El as Footer,bl as FooterLink,Al as FooterSection,fl as FooterSocialLink,$o as Form,Wo as FormGroup,io as FunnelChart,ro as GaugeChart,ls as Grid,ss as GridCol,oo as HeatmapChart,Nl as Hero,Ke as Icon,Ko as Input,qr as LineChart,_l as List,ds as MasonryGrid,us as MasonryGridItem,Cl as Messages,yl as Modal,lo as MultiAxisChart,Tl as Nav,Ll as NavItem,xl as Navbar,yo as Pagination,Pl as PhotoViewer,co as PieChart,Fl as Popover,Yl as ProductReview,$l as Progress,uo as RadarChart,vl as Radio,Vl as Rating,ho as RealTimeChart,Hl as River,cs as Row,mo as ScatterChart,Wl as SectionIntro,gl as Select,Il as SideMenu,wl as SideMenuItem,Rl as SideMenuList,Ql as Slider,Ao as Spinner,Kl as Steps,Zl as Tab,jl as Testimonial,Sl as Textarea,ql as Todo,Xl as Toggle,Jl as Tooltip,po as TreemapChart,es as Upload,ts as VideoPlayer,go as WaterfallChart,ns as composables,os as constants,hs as default,rs as types,is as utils};
2
2
  //# sourceMappingURL=index.min.js.map