@maggioli-design-system/magma 2.0.0-beta.1 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/cjs/index-CNuKb6Lv.js +4 -4
- package/dist/cjs/index.cjs.js +257 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +26 -7
- package/dist/cjs/mds-badge.cjs.entry.js +2 -2
- package/dist/cjs/mds-banner_3.cjs.entry.js +14 -8
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-bibliography.cjs.entry.js +5 -5
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +4 -1
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +14 -235
- package/dist/cjs/mds-calendar_2.cjs.entry.js +276 -137
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +8 -10
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +9 -2
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +9 -1
- package/dist/cjs/mds-file.cjs.entry.js +4 -1
- package/dist/cjs/mds-filter-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter.cjs.entry.js +2 -2
- package/dist/cjs/mds-header-bar.cjs.entry.js +5 -1
- package/dist/cjs/mds-header.cjs.entry.js +15 -9
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +12 -9
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-img.cjs.entry.js +6 -3
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +212 -66
- package/dist/cjs/mds-input-date.cjs.entry.js +33 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +27 -13
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +5 -2
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -7
- package/dist/cjs/mds-input.cjs.entry.js +24 -9
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +7 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +4 -1
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +13 -10
- package/dist/cjs/mds-note.cjs.entry.js +4 -1
- package/dist/cjs/mds-notification.cjs.entry.js +5 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
- package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +8 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +5 -2
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +5 -2
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +6 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +11 -8
- package/dist/cjs/mds-pref.cjs.entry.js +6 -3
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -3
- package/dist/cjs/mds-push-notification.cjs.entry.js +16 -6
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +18 -7
- package/dist/cjs/mds-table-header.cjs.entry.js +10 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +9 -3
- package/dist/cjs/mds-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +3 -3
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +7 -1
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +7 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -1
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/components/mds-accordion/mds-accordion.js +2 -2
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +4 -4
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -2
- package/dist/collection/components/mds-author/mds-author.js +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +26 -7
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +4 -1
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/mds-badge.js +3 -3
- package/dist/collection/components/mds-banner/mds-banner.js +7 -4
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +3 -3
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +5 -5
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +6 -3
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/mds-button.js +7 -5
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +4 -1
- package/dist/collection/components/mds-button-group/mds-button-group.js +4 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +63 -5
- package/dist/collection/components/mds-calendar/mds-calendar.js +450 -143
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/mds-card.js +8 -10
- package/dist/collection/components/mds-card-content/mds-card-content.js +2 -2
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +2 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +2 -2
- package/dist/collection/components/mds-chip/mds-chip.js +9 -6
- package/dist/collection/components/mds-details/mds-details.js +2 -2
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +4 -4
- package/dist/collection/components/mds-emoji/mds-emoji.js +16 -6
- package/dist/collection/components/mds-entity/mds-entity.js +2 -2
- package/dist/collection/components/mds-file/mds-file.js +5 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +10 -2
- package/dist/collection/components/mds-filter/mds-filter.js +3 -3
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -4
- package/dist/collection/components/mds-header/mds-header.js +22 -13
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -5
- package/dist/collection/components/mds-help/mds-help.js +2 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +13 -10
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +2 -2
- package/dist/collection/components/mds-icon/services/icons-set.service.js +33 -1
- package/dist/collection/components/mds-img/mds-img.js +7 -4
- package/dist/collection/components/mds-input/mds-input.js +42 -18
- package/dist/collection/components/mds-input-date/mds-input-date.js +48 -20
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +37 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +245 -84
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +4 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +7 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +29 -14
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +6 -3
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +9 -3
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +11 -8
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -5
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +6 -3
- package/dist/collection/components/mds-kpi/mds-kpi.js +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/mds-label.js +5 -2
- package/dist/collection/components/mds-list/mds-list.js +2 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +15 -12
- package/dist/collection/components/mds-note/mds-note.js +6 -3
- package/dist/collection/components/mds-notification/mds-notification.js +5 -5
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +5 -5
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +5 -2
- package/dist/collection/components/mds-pref/mds-pref.js +8 -5
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +8 -5
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +8 -5
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +9 -6
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +7 -4
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +5 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +12 -9
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +8 -5
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +6 -3
- package/dist/collection/components/mds-price-table/mds-price-table.js +4 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +4 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +4 -1
- package/dist/collection/components/mds-progress/mds-progress.js +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +25 -14
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +7 -4
- package/dist/collection/components/mds-quote/mds-quote.js +2 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +6 -3
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +5 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +6 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -3
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +5 -2
- package/dist/collection/components/mds-tab/mds-tab.js +5 -5
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +7 -4
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/mds-table.js +5 -5
- package/dist/collection/components/mds-table-body/mds-table-body.js +4 -4
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +23 -9
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +19 -8
- package/dist/collection/components/mds-table-row/mds-table-row.js +16 -10
- package/dist/collection/components/mds-text/mds-text.js +4 -4
- package/dist/collection/components/mds-toast/mds-toast.js +4 -4
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +3 -3
- package/dist/collection/components/mds-tree/mds-tree.js +3 -3
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +11 -5
- package/dist/collection/components/mds-url-view/mds-url-view.js +8 -5
- package/dist/collection/components/mds-usage/mds-usage.js +6 -3
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -2
- package/dist/collection/components/mds-zero/mds-zero.js +2 -2
- package/dist/collection/index.js +15 -0
- package/dist/components/icons-set.service.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item2.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar2.js +1 -1
- package/dist/components/mds-badge2.js +1 -1
- package/dist/components/mds-banner2.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button2.js +1 -1
- package/dist/components/mds-calendar-cell2.js +1 -1
- package/dist/components/mds-calendar2.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip2.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +1 -1
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview2.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help2.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon2.js +1 -1
- package/dist/components/mds-img2.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch2.js +1 -1
- package/dist/components/mds-input-tip-item2.js +1 -1
- package/dist/components/mds-input-tip2.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input2.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal2.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item2.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-theme-variant-item.js +1 -1
- package/dist/components/mds-pref-theme-variant.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress2.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress2.js +1 -1
- package/dist/components/mds-separator2.js +1 -1
- package/dist/components/mds-spinner2.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item2.js +1 -1
- package/dist/components/mds-tab2.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell2.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell2.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text2.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip2.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +824 -348
- package/dist/esm/index-CAd5312P.js +4 -4
- package/dist/esm/index.js +256 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +1 -1
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +26 -7
- package/dist/esm/mds-badge.entry.js +2 -2
- package/dist/esm/mds-banner_3.entry.js +14 -8
- package/dist/esm/mds-benchmark-bar.entry.js +2 -2
- package/dist/esm/mds-bibliography.entry.js +5 -5
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +4 -1
- package/dist/esm/mds-button-dropdown.entry.js +1 -1
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +10 -231
- package/dist/esm/mds-calendar_2.entry.js +276 -137
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +8 -10
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +9 -2
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +9 -1
- package/dist/esm/mds-file.entry.js +4 -1
- package/dist/esm/mds-filter-item.entry.js +4 -4
- package/dist/esm/mds-filter.entry.js +2 -2
- package/dist/esm/mds-header-bar.entry.js +5 -1
- package/dist/esm/mds-header.entry.js +15 -9
- package/dist/esm/mds-horizontal-scroll.entry.js +12 -9
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-img.entry.js +6 -3
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +212 -66
- package/dist/esm/mds-input-date.entry.js +33 -12
- package/dist/esm/mds-input-field.entry.js +4 -4
- package/dist/esm/mds-input-otp.entry.js +3 -3
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +27 -13
- package/dist/esm/mds-input-switch_2.entry.js +5 -2
- package/dist/esm/mds-input-tip_2.entry.js +6 -3
- package/dist/esm/mds-input-upload.entry.js +10 -7
- package/dist/esm/mds-input.entry.js +24 -9
- package/dist/esm/mds-keyboard-key.entry.js +5 -2
- package/dist/esm/mds-keyboard.entry.js +7 -4
- package/dist/esm/mds-kpi-item.entry.js +1 -1
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +4 -1
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +13 -10
- package/dist/esm/mds-note.entry.js +4 -1
- package/dist/esm/mds-notification.entry.js +5 -5
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator.entry.js +1 -1
- package/dist/esm/mds-policy-ai.entry.js +4 -1
- package/dist/esm/mds-pref-animation.entry.js +7 -4
- package/dist/esm/mds-pref-consumption.entry.js +7 -4
- package/dist/esm/mds-pref-contrast.entry.js +8 -5
- package/dist/esm/mds-pref-language-item.entry.js +4 -1
- package/dist/esm/mds-pref-language.entry.js +5 -2
- package/dist/esm/mds-pref-theme-variant-item.entry.js +5 -2
- package/dist/esm/mds-pref-theme-variant.entry.js +6 -3
- package/dist/esm/mds-pref-theme.entry.js +11 -8
- package/dist/esm/mds-pref.entry.js +6 -3
- package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +1 -1
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm/mds-price-table-list.entry.js +1 -1
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +3 -3
- package/dist/esm/mds-push-notification-item.entry.js +6 -3
- package/dist/esm/mds-push-notification.entry.js +16 -6
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +4 -1
- package/dist/esm/mds-radial-menu.entry.js +3 -3
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +4 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +4 -1
- package/dist/esm/mds-stepper-bar.entry.js +2 -2
- package/dist/esm/mds-tab-bar-item.entry.js +5 -2
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +5 -5
- package/dist/esm/mds-table-body.entry.js +1 -1
- package/dist/esm/mds-table-footer.entry.js +1 -1
- package/dist/esm/mds-table-header-cell.entry.js +18 -7
- package/dist/esm/mds-table-header.entry.js +10 -2
- package/dist/esm/mds-table-row.entry.js +9 -3
- package/dist/esm/mds-table.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +3 -3
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +7 -1
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +7 -4
- package/dist/esm/mds-usage.entry.js +4 -1
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/index-CAd5312P.js +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +1 -1
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +1 -1
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +1 -1
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-select.entry.js +1 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-upload.entry.js +1 -1
- package/dist/esm-es5/mds-input.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +1 -1
- package/dist/esm-es5/mds-modal.entry.js +1 -1
- package/dist/esm-es5/mds-note.entry.js +1 -1
- package/dist/esm-es5/mds-notification.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +1 -1
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +1 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
- package/dist/esm-es5/mds-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +1 -1
- package/dist/esm-es5/mds-table.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/esm-es5/mds-toast.entry.js +1 -1
- package/dist/esm-es5/mds-tooltip.entry.js +1 -1
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- package/dist/esm-es5/mds-tree.entry.js +1 -1
- package/dist/esm-es5/mds-url-view.entry.js +1 -1
- package/dist/esm-es5/mds-usage.entry.js +1 -1
- package/dist/esm-es5/mds-video-wall.entry.js +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.js +1154 -554
- package/dist/hydrate/index.mjs +1154 -554
- package/dist/magma-components/index.esm.js +1 -0
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-1e0826f3.entry.js → p-00313884.entry.js} +1 -1
- package/dist/magma-components/{p-14359b83.entry.js → p-01dc43dd.entry.js} +1 -1
- package/dist/magma-components/{p-423bad63.entry.js → p-01dca5e8.entry.js} +1 -1
- package/dist/magma-components/p-030d45e3.entry.js +1 -0
- package/dist/magma-components/{p-49b8def9.system.entry.js → p-0328a23e.system.entry.js} +1 -1
- package/dist/magma-components/{p-513533d1.entry.js → p-08c6869a.entry.js} +1 -1
- package/dist/magma-components/{p-83f1d211.system.entry.js → p-09de9fc5.system.entry.js} +1 -1
- package/dist/magma-components/{p-a36c6db2.entry.js → p-0acb46c8.entry.js} +1 -1
- package/dist/magma-components/{p-0856948f.system.entry.js → p-0b10ef9f.system.entry.js} +1 -1
- package/dist/magma-components/p-0b11f03b.entry.js +1 -0
- package/dist/magma-components/{p-8b204fe7.system.entry.js → p-0be56202.system.entry.js} +1 -1
- package/dist/magma-components/p-0de58147.entry.js +1 -0
- package/dist/magma-components/{p-2491f1e0.system.entry.js → p-0e481e5c.system.entry.js} +1 -1
- package/dist/magma-components/{p-7e23a883.system.entry.js → p-0f104850.system.entry.js} +1 -1
- package/dist/magma-components/p-1073bf63.entry.js +1 -0
- package/dist/magma-components/p-11490a89.entry.js +1 -0
- package/dist/magma-components/{p-fa6d02de.system.entry.js → p-137b0bbe.system.entry.js} +1 -1
- package/dist/magma-components/{p-5f027f21.entry.js → p-14a98729.entry.js} +1 -1
- package/dist/magma-components/p-14d858f8.system.entry.js +1 -0
- package/dist/magma-components/{p-5011da19.system.entry.js → p-14e918de.system.entry.js} +1 -1
- package/dist/magma-components/p-154ef5b9.entry.js +1 -0
- package/dist/magma-components/p-158af6e3.entry.js +1 -0
- package/dist/magma-components/{p-9f614c7c.system.entry.js → p-17427d8a.system.entry.js} +1 -1
- package/dist/magma-components/p-1805592d.entry.js +1 -0
- package/dist/magma-components/p-18563022.entry.js +1 -0
- package/dist/magma-components/{p-ced050bf.entry.js → p-19f99447.entry.js} +1 -1
- package/dist/magma-components/{p-fd4f6135.system.entry.js → p-1a56d383.system.entry.js} +1 -1
- package/dist/magma-components/{p-cc9db7f3.system.entry.js → p-1bb7895a.system.entry.js} +1 -1
- package/dist/magma-components/{p-13de0c57.system.entry.js → p-1ce791c1.system.entry.js} +1 -1
- package/dist/magma-components/{p-de98e8b6.system.entry.js → p-1da904c3.system.entry.js} +1 -1
- package/dist/magma-components/p-20961bf1.entry.js +1 -0
- package/dist/magma-components/{p-1199b3f5.system.entry.js → p-24a9ed63.system.entry.js} +1 -1
- package/dist/magma-components/{p-39d330ea.entry.js → p-26b131cf.entry.js} +1 -1
- package/dist/magma-components/{p-78fd3283.entry.js → p-28ebb626.entry.js} +1 -1
- package/dist/magma-components/{p-37989a99.system.entry.js → p-292f4566.system.entry.js} +1 -1
- package/dist/magma-components/{p-715f92d4.system.entry.js → p-2a1d3680.system.entry.js} +1 -1
- package/dist/magma-components/{p-17bfde04.system.entry.js → p-2ab75334.system.entry.js} +1 -1
- package/dist/magma-components/{p-79fdb37f.system.entry.js → p-2ccc796b.system.entry.js} +1 -1
- package/dist/magma-components/p-2d9d0887.system.entry.js +1 -0
- package/dist/magma-components/{p-035a9b2c.system.entry.js → p-2df01d02.system.entry.js} +1 -1
- package/dist/magma-components/{p-00980a98.entry.js → p-3145c7eb.entry.js} +1 -1
- package/dist/magma-components/{p-82337997.entry.js → p-34018dfe.entry.js} +1 -1
- package/dist/magma-components/{p-64609a40.system.entry.js → p-35a9f1b4.system.entry.js} +1 -1
- package/dist/magma-components/p-35ec8bbd.entry.js +1 -0
- package/dist/magma-components/{p-93b7d9c7.system.entry.js → p-370f9463.system.entry.js} +1 -1
- package/dist/magma-components/{p-f9691a57.system.entry.js → p-387948c4.system.entry.js} +1 -1
- package/dist/magma-components/{p-663e302d.system.entry.js → p-3aeecbba.system.entry.js} +1 -1
- package/dist/magma-components/{p-7d3a54a4.system.entry.js → p-3af9132f.system.entry.js} +1 -1
- package/dist/magma-components/{p-9061a2b0.system.entry.js → p-3bfd085f.system.entry.js} +1 -1
- package/dist/magma-components/{p-dafa88ad.entry.js → p-3c246a39.entry.js} +1 -1
- package/dist/magma-components/{p-4c8d8c76.entry.js → p-3c2bf79b.entry.js} +1 -1
- package/dist/magma-components/p-3ce52f3c.entry.js +1 -0
- package/dist/magma-components/p-3e5993b4.entry.js +1 -0
- package/dist/magma-components/{p-1680682d.system.entry.js → p-3ef80cd4.system.entry.js} +1 -1
- package/dist/magma-components/{p-cb2f2f0a.entry.js → p-3fc3b8b4.entry.js} +1 -1
- package/dist/magma-components/{p-53cd2333.system.entry.js → p-423955d1.system.entry.js} +1 -1
- package/dist/magma-components/{p-7bca3e2e.system.entry.js → p-42f336df.system.entry.js} +1 -1
- package/dist/magma-components/{p-315da7d0.system.entry.js → p-45a85712.system.entry.js} +1 -1
- package/dist/magma-components/{p-239ab62b.system.entry.js → p-460cd731.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca36fc65.entry.js → p-473f6954.entry.js} +1 -1
- package/dist/magma-components/{p-5eee076f.entry.js → p-47fa0ecf.entry.js} +1 -1
- package/dist/magma-components/{p-2a222f3c.entry.js → p-4b07fe37.entry.js} +1 -1
- package/dist/magma-components/p-4b884441.entry.js +1 -0
- package/dist/magma-components/{p-a69d95b7.entry.js → p-4ba583c9.entry.js} +1 -1
- package/dist/magma-components/{p-769bf50e.entry.js → p-4c08fe3e.entry.js} +1 -1
- package/dist/magma-components/p-4f490917.entry.js +1 -0
- package/dist/magma-components/{p-d4cac1a1.system.entry.js → p-4f98fdba.system.entry.js} +1 -1
- package/dist/magma-components/{p-ee149fc3.system.entry.js → p-50553954.system.entry.js} +1 -1
- package/dist/magma-components/{p-4bdc69b2.entry.js → p-523d4716.entry.js} +1 -1
- package/dist/magma-components/{p-a5451192.system.entry.js → p-52ccfafc.system.entry.js} +1 -1
- package/dist/magma-components/p-52e2f903.entry.js +1 -0
- package/dist/magma-components/{p-8f7d632c.system.entry.js → p-53195d95.system.entry.js} +1 -1
- package/dist/magma-components/{p-f62cf5a9.system.entry.js → p-5488f51f.system.entry.js} +1 -1
- package/dist/magma-components/p-553927f9.system.entry.js +1 -0
- package/dist/magma-components/{p-9eaa277f.entry.js → p-55b4bbba.entry.js} +1 -1
- package/dist/magma-components/{p-1b8b598a.entry.js → p-583f5ffa.entry.js} +1 -1
- package/dist/magma-components/{p-f8dc6a25.entry.js → p-59d65cff.entry.js} +1 -1
- package/dist/magma-components/{p-a1a16873.system.entry.js → p-59f53701.system.entry.js} +1 -1
- package/dist/magma-components/p-5b881091.entry.js +1 -0
- package/dist/magma-components/{p-24b3cc0d.entry.js → p-5c44d208.entry.js} +1 -1
- package/dist/magma-components/{p-fbe46b32.system.entry.js → p-5fdcd8e2.system.entry.js} +1 -1
- package/dist/magma-components/{p-2a134cfe.system.entry.js → p-5fe7b875.system.entry.js} +1 -1
- package/dist/magma-components/{p-aed97a03.system.entry.js → p-614e7f83.system.entry.js} +1 -1
- package/dist/magma-components/{p-f9541d6b.system.entry.js → p-62cf9003.system.entry.js} +1 -1
- package/dist/magma-components/{p-a3c123e2.entry.js → p-63898681.entry.js} +1 -1
- package/dist/magma-components/p-663a510e.entry.js +1 -0
- package/dist/magma-components/{p-851df0fb.entry.js → p-68f57bb1.entry.js} +1 -1
- package/dist/magma-components/{p-0b4684f2.system.entry.js → p-6ae4df92.system.entry.js} +1 -1
- package/dist/magma-components/p-6d268a59.entry.js +1 -0
- package/dist/magma-components/{p-281bc999.system.entry.js → p-7306b02e.system.entry.js} +1 -1
- package/dist/magma-components/{p-e6a3c03b.system.entry.js → p-75011fed.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f89537f.entry.js → p-7595afcf.entry.js} +1 -1
- package/dist/magma-components/p-77e9bd68.entry.js +1 -0
- package/dist/magma-components/p-7d836722.entry.js +1 -0
- package/dist/magma-components/p-7e037cf3.entry.js +8 -0
- package/dist/magma-components/{p-51f00e4f.system.entry.js → p-8106dbfd.system.entry.js} +1 -1
- package/dist/magma-components/{p-80904595.system.entry.js → p-82deeaa0.system.entry.js} +1 -1
- package/dist/magma-components/p-83589b83.entry.js +1 -0
- package/dist/magma-components/{p-bbd19da5.entry.js → p-83721814.entry.js} +1 -1
- package/dist/magma-components/{p-61043767.system.entry.js → p-83de0e53.system.entry.js} +1 -1
- package/dist/magma-components/{p-d480bc64.system.entry.js → p-849760e7.system.entry.js} +1 -1
- package/dist/magma-components/{p-0eec989d.system.entry.js → p-85ac6e54.system.entry.js} +1 -1
- package/dist/magma-components/p-87f8a213.entry.js +1 -0
- package/dist/magma-components/{p-67027e6e.system.entry.js → p-89bf698e.system.entry.js} +1 -1
- package/dist/magma-components/{p-66b6399b.system.entry.js → p-89f96753.system.entry.js} +1 -1
- package/dist/magma-components/p-8b3065b4.entry.js +1 -0
- package/dist/magma-components/{p-a5c774e1.system.entry.js → p-8bec8ad6.system.entry.js} +1 -1
- package/dist/magma-components/{p-c08e2e11.system.entry.js → p-8d76853c.system.entry.js} +1 -1
- package/dist/magma-components/{p-d9635f96.system.entry.js → p-8f1ce3f1.system.entry.js} +1 -1
- package/dist/magma-components/p-9021fa60.entry.js +1 -0
- package/dist/magma-components/{p-701757f6.system.entry.js → p-90b72c1c.system.entry.js} +1 -1
- package/dist/magma-components/{p-7599608a.system.entry.js → p-90d5b6df.system.entry.js} +1 -1
- package/dist/magma-components/p-913372ff.entry.js +1 -0
- package/dist/magma-components/{p-f5dd0163.system.entry.js → p-94093140.system.entry.js} +1 -1
- package/dist/magma-components/{p-03d883fa.system.entry.js → p-944d9b27.system.entry.js} +1 -1
- package/dist/magma-components/{p-922cb36e.entry.js → p-94713401.entry.js} +1 -1
- package/dist/magma-components/{p-dca87306.entry.js → p-956b5ae6.entry.js} +1 -1
- package/dist/magma-components/p-95eae04e.entry.js +1 -0
- package/dist/magma-components/{p-30ecdd0e.entry.js → p-961a2531.entry.js} +1 -1
- package/dist/magma-components/p-9658cb0c.entry.js +1 -0
- package/dist/magma-components/p-96d1a168.entry.js +1 -0
- package/dist/magma-components/p-96f6a646.entry.js +1 -0
- package/dist/magma-components/{p-2df71631.system.entry.js → p-98435b90.system.entry.js} +1 -1
- package/dist/magma-components/p-988b0c7c.entry.js +1 -0
- package/dist/magma-components/{p-14faa91d.system.entry.js → p-98a05642.system.entry.js} +1 -1
- package/dist/magma-components/{p-ba01df62.system.entry.js → p-99f7a1b6.system.entry.js} +1 -1
- package/dist/magma-components/{p-b95ba099.system.entry.js → p-9a1940c1.system.entry.js} +1 -1
- package/dist/magma-components/{p-e4c4824b.system.entry.js → p-9a89bc78.system.entry.js} +1 -1
- package/dist/magma-components/{p-5a96f6a1.system.entry.js → p-9ad586a7.system.entry.js} +1 -1
- package/dist/magma-components/{p-33183e9e.system.entry.js → p-9b52918e.system.entry.js} +1 -1
- package/dist/magma-components/p-DTZViJWJ.system.js +1 -1
- package/dist/magma-components/p-a1af65e8.entry.js +1 -0
- package/dist/magma-components/{p-4813db7c.system.entry.js → p-a5473293.system.entry.js} +1 -1
- package/dist/magma-components/{p-3736ff52.system.entry.js → p-a6caafcb.system.entry.js} +1 -1
- package/dist/magma-components/{p-99e541f0.entry.js → p-a7bd4585.entry.js} +1 -1
- package/dist/magma-components/{p-778a376a.system.entry.js → p-a88fba47.system.entry.js} +1 -1
- package/dist/magma-components/{p-f8be02b6.entry.js → p-a959ade4.entry.js} +1 -1
- package/dist/magma-components/p-aa7d8972.entry.js +1 -0
- package/dist/magma-components/p-aa98652f.entry.js +1 -0
- package/dist/magma-components/{p-d441e8c5.system.entry.js → p-aaeb0ee3.system.entry.js} +1 -1
- package/dist/magma-components/{p-9210f48f.system.entry.js → p-ab89bf5b.system.entry.js} +1 -1
- package/dist/magma-components/{p-195d6b05.entry.js → p-abc720e3.entry.js} +1 -1
- package/dist/magma-components/p-abe87810.entry.js +1 -0
- package/dist/magma-components/{p-77449970.entry.js → p-ac80aca8.entry.js} +1 -1
- package/dist/magma-components/{p-d25df1ff.system.entry.js → p-acb07134.system.entry.js} +1 -1
- package/dist/magma-components/p-acd4f96a.entry.js +1 -0
- package/dist/magma-components/{p-37f4699d.entry.js → p-af49bca2.entry.js} +1 -1
- package/dist/magma-components/{p-dcc5188d.entry.js → p-af670eaf.entry.js} +1 -1
- package/dist/magma-components/{p-a96d10ed.system.entry.js → p-b14a94e0.system.entry.js} +1 -1
- package/dist/magma-components/p-b2bc194a.entry.js +1 -0
- package/dist/magma-components/{p-d44cf903.system.entry.js → p-b2e76c18.system.entry.js} +1 -1
- package/dist/magma-components/{p-1fa503c2.system.entry.js → p-b37dff80.system.entry.js} +1 -1
- package/dist/magma-components/p-b3e3226e.entry.js +1 -0
- package/dist/magma-components/p-b40f1153.entry.js +1 -0
- package/dist/magma-components/p-b4709a95.entry.js +1 -0
- package/dist/magma-components/{p-6cf5f38d.system.entry.js → p-b5db6527.system.entry.js} +1 -1
- package/dist/magma-components/p-b764defa.entry.js +1 -0
- package/dist/magma-components/{p-52253115.system.entry.js → p-b9b2501e.system.entry.js} +1 -1
- package/dist/magma-components/{p-632b1bd2.system.entry.js → p-b9b5bcdd.system.entry.js} +1 -1
- package/dist/magma-components/{p-b826e9cf.system.entry.js → p-ba2a0bc1.system.entry.js} +1 -1
- package/dist/magma-components/p-bb4380cd.entry.js +1 -0
- package/dist/magma-components/{p-07a0d14c.system.entry.js → p-bce3a8b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-21790967.system.entry.js → p-bd2998e6.system.entry.js} +1 -1
- package/dist/magma-components/p-bd3dbc2d.entry.js +1 -0
- package/dist/magma-components/p-bed57abb.entry.js +1 -0
- package/dist/magma-components/{p-21af5302.entry.js → p-bfed0b7a.entry.js} +1 -1
- package/dist/magma-components/{p-c1809ec1.system.entry.js → p-c6177cb9.system.entry.js} +1 -1
- package/dist/magma-components/p-c638556c.entry.js +1 -0
- package/dist/magma-components/{p-8aa8f2e0.entry.js → p-c6fa4a21.entry.js} +1 -1
- package/dist/magma-components/{p-ce1c17ae.system.entry.js → p-c8e99385.system.entry.js} +1 -1
- package/dist/magma-components/{p-be4b1fce.entry.js → p-c9231987.entry.js} +1 -1
- package/dist/magma-components/{p-0a5a2cd7.system.entry.js → p-c9c51ba6.system.entry.js} +1 -1
- package/dist/magma-components/{p-163d0a27.entry.js → p-cc53b30c.entry.js} +1 -1
- package/dist/magma-components/{p-b5077962.entry.js → p-ccc0521c.entry.js} +1 -1
- package/dist/magma-components/{p-788669f0.system.entry.js → p-cd71630e.system.entry.js} +1 -1
- package/dist/magma-components/{p-687f9261.system.entry.js → p-cd879243.system.entry.js} +1 -1
- package/dist/magma-components/{p-ccf7878a.entry.js → p-ce064d47.entry.js} +1 -1
- package/dist/magma-components/{p-e52285f2.system.entry.js → p-d1eea8ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-647ca5e1.system.entry.js → p-d2537229.system.entry.js} +1 -1
- package/dist/magma-components/p-d2617a1a.entry.js +1 -0
- package/dist/magma-components/{p-cf26c62c.system.entry.js → p-d41c4637.system.entry.js} +1 -1
- package/dist/magma-components/{p-b8bb9b2a.entry.js → p-d88f44aa.entry.js} +1 -1
- package/dist/magma-components/{p-ac42ce64.system.entry.js → p-dae9ae8e.system.entry.js} +1 -1
- package/dist/magma-components/{p-81d21afc.entry.js → p-dd860de4.entry.js} +1 -1
- package/dist/magma-components/{p-0271b1f9.system.entry.js → p-df87e2f5.system.entry.js} +1 -1
- package/dist/magma-components/{p-f02b49c5.system.entry.js → p-dfe082be.system.entry.js} +1 -1
- package/dist/magma-components/{p-fcc3ab4c.entry.js → p-e00ba5a0.entry.js} +1 -1
- package/dist/magma-components/{p-b66fe79a.system.entry.js → p-e0d12fa2.system.entry.js} +1 -1
- package/dist/magma-components/{p-003dd017.entry.js → p-e2cd11c3.entry.js} +1 -1
- package/dist/magma-components/{p-0dffa327.system.entry.js → p-e5fb3081.system.entry.js} +1 -1
- package/dist/magma-components/{p-ab63d01d.entry.js → p-e67a6452.entry.js} +1 -1
- package/dist/magma-components/{p-6705b68b.system.entry.js → p-e6d8c9e3.system.entry.js} +1 -1
- package/dist/magma-components/p-e71aecc1.entry.js +1 -0
- package/dist/magma-components/{p-a7b5398f.system.entry.js → p-eac692ea.system.entry.js} +1 -1
- package/dist/magma-components/{p-a8ca0d68.system.entry.js → p-ecf2e98d.system.entry.js} +1 -1
- package/dist/magma-components/{p-7c49ca6c.system.entry.js → p-ed6d1453.system.entry.js} +1 -1
- package/dist/magma-components/p-f289eb5a.entry.js +1 -0
- package/dist/magma-components/{p-33268316.entry.js → p-f3604c99.entry.js} +1 -1
- package/dist/magma-components/{p-e07404ae.entry.js → p-f3dbca34.entry.js} +1 -1
- package/dist/magma-components/{p-38b33737.system.entry.js → p-f4b4bdf2.system.entry.js} +1 -1
- package/dist/magma-components/{p-3b637d6f.entry.js → p-f56d16f7.entry.js} +1 -1
- package/dist/magma-components/{p-91902df2.system.entry.js → p-f8014852.system.entry.js} +1 -1
- package/dist/magma-components/{p-1dea53fc.entry.js → p-f851100d.entry.js} +1 -1
- package/dist/magma-components/{p-5ac8fc7d.entry.js → p-f8d5adce.entry.js} +1 -1
- package/dist/magma-components/{p-a5a87d9b.system.entry.js → p-fa427f75.system.entry.js} +1 -1
- package/dist/magma-components/p-fa6a05b5.entry.js +1 -0
- package/dist/magma-components/{p-e01cb161.entry.js → p-fb8b0104.entry.js} +1 -1
- package/dist/magma-components/{p-73132558.system.entry.js → p-fcf59139.system.entry.js} +1 -1
- package/dist/magma-components/{p-ef82cbb3.system.entry.js → p-fe3d5720.system.entry.js} +1 -1
- package/dist/magma-components/{p-31a78457.system.entry.js → p-fe85ad8e.system.entry.js} +1 -1
- package/dist/magma-components/p-ffae137a.entry.js +1 -0
- package/dist/magma-components/p-oCzRm29V.system.js +1 -0
- package/dist/stats.json +2461 -1671
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components/mds-author/mds-author.d.ts +1 -1
- package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +3 -0
- package/dist/types/components/mds-badge/mds-badge.d.ts +1 -1
- package/dist/types/components/mds-banner/mds-banner.d.ts +4 -1
- package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -1
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +4 -1
- package/dist/types/components/mds-button/mds-button.d.ts +1 -1
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +3 -0
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +3 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +75 -8
- package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -1
- package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -1
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -1
- package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
- package/dist/types/components/mds-details/mds-details.d.ts +1 -1
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +4 -4
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +7 -0
- package/dist/types/components/mds-entity/mds-entity.d.ts +1 -1
- package/dist/types/components/mds-file/mds-file.d.ts +3 -0
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +3 -0
- package/dist/types/components/mds-filter/mds-filter.d.ts +1 -1
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +1 -1
- package/dist/types/components/mds-header/mds-header.d.ts +5 -1
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +5 -1
- package/dist/types/components/mds-help/mds-help.d.ts +1 -1
- package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -1
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +2 -1
- package/dist/types/components/mds-img/mds-img.d.ts +3 -0
- package/dist/types/components/mds-input/mds-input.d.ts +15 -0
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +19 -1
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +38 -4
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
- package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +3 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +2 -1
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +4 -0
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +4 -1
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +3 -0
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +6 -0
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +7 -1
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
- package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -1
- package/dist/types/components/mds-label/mds-label.d.ts +4 -1
- package/dist/types/components/mds-list/mds-list.d.ts +1 -1
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -1
- package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
- package/dist/types/components/mds-note/mds-note.d.ts +4 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +2 -2
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +3 -0
- package/dist/types/components/mds-pref/mds-pref.d.ts +4 -1
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +4 -1
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +3 -0
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +4 -1
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +3 -0
- package/dist/types/components/mds-price-table/mds-price-table.d.ts +3 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -1
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -1
- package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +3 -0
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -1
- package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +3 -0
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +12 -4
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -0
- package/dist/types/components/mds-quote/mds-quote.d.ts +1 -1
- package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +3 -0
- package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +4 -1
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +3 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +1 -1
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -1
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -1
- package/dist/types/components/mds-table/mds-table.d.ts +5 -2
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +7 -1
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -1
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +12 -1
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +3 -0
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +19 -1
- package/dist/types/components/mds-text/mds-text.d.ts +1 -1
- package/dist/types/components/mds-toast/mds-toast.d.ts +1 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -1
- package/dist/types/components/mds-tree/mds-tree.d.ts +1 -1
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +10 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +4 -1
- package/dist/types/components/mds-usage/mds-usage.d.ts +4 -1
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +1 -1
- package/dist/types/components.d.ts +355 -8
- package/dist/types/index.d.ts +15 -0
- package/package.json +7 -1
- package/dist/magma-components/p-00a16156.entry.js +0 -1
- package/dist/magma-components/p-05208700.entry.js +0 -1
- package/dist/magma-components/p-065da3de.entry.js +0 -1
- package/dist/magma-components/p-0b3d7c4a.entry.js +0 -1
- package/dist/magma-components/p-11f0d03d.entry.js +0 -1
- package/dist/magma-components/p-1f61bdf7.entry.js +0 -1
- package/dist/magma-components/p-2035f817.entry.js +0 -1
- package/dist/magma-components/p-20502b9d.entry.js +0 -1
- package/dist/magma-components/p-2821c146.entry.js +0 -1
- package/dist/magma-components/p-2886d6f7.entry.js +0 -1
- package/dist/magma-components/p-2988a6c2.entry.js +0 -1
- package/dist/magma-components/p-2e0ebe5e.entry.js +0 -1
- package/dist/magma-components/p-3063ab9a.entry.js +0 -1
- package/dist/magma-components/p-3298569b.entry.js +0 -1
- package/dist/magma-components/p-37241fed.entry.js +0 -1
- package/dist/magma-components/p-3aadbc52.entry.js +0 -1
- package/dist/magma-components/p-430c41d6.entry.js +0 -1
- package/dist/magma-components/p-470e721b.entry.js +0 -1
- package/dist/magma-components/p-4a1f731e.system.entry.js +0 -1
- package/dist/magma-components/p-4cc70dac.entry.js +0 -1
- package/dist/magma-components/p-52ea2327.system.entry.js +0 -1
- package/dist/magma-components/p-57af1404.entry.js +0 -1
- package/dist/magma-components/p-5dc46946.entry.js +0 -1
- package/dist/magma-components/p-60c18f60.entry.js +0 -1
- package/dist/magma-components/p-62d83191.entry.js +0 -1
- package/dist/magma-components/p-67ab401f.entry.js +0 -1
- package/dist/magma-components/p-6a246ff8.entry.js +0 -1
- package/dist/magma-components/p-771786d1.entry.js +0 -1
- package/dist/magma-components/p-77251a16.entry.js +0 -1
- package/dist/magma-components/p-772d7b99.entry.js +0 -1
- package/dist/magma-components/p-773c04da.entry.js +0 -8
- package/dist/magma-components/p-7a166bc0.entry.js +0 -1
- package/dist/magma-components/p-825ee1e0.entry.js +0 -1
- package/dist/magma-components/p-8b1ff303.entry.js +0 -1
- package/dist/magma-components/p-8c21567b.entry.js +0 -1
- package/dist/magma-components/p-91a85141.entry.js +0 -1
- package/dist/magma-components/p-967a60aa.entry.js +0 -1
- package/dist/magma-components/p-97713e2b.entry.js +0 -1
- package/dist/magma-components/p-9cf753f5.entry.js +0 -1
- package/dist/magma-components/p-9ed636f2.entry.js +0 -1
- package/dist/magma-components/p-9f033f29.entry.js +0 -1
- package/dist/magma-components/p-YWpyar7R.system.js +0 -1
- package/dist/magma-components/p-a7fe6fd8.entry.js +0 -1
- package/dist/magma-components/p-aef79bb1.system.entry.js +0 -1
- package/dist/magma-components/p-b0bb1174.entry.js +0 -1
- package/dist/magma-components/p-b858d00e.entry.js +0 -1
- package/dist/magma-components/p-c179f3ca.entry.js +0 -1
- package/dist/magma-components/p-c4d8fe07.entry.js +0 -1
- package/dist/magma-components/p-c565e99c.entry.js +0 -1
- package/dist/magma-components/p-ca1023cf.entry.js +0 -1
- package/dist/magma-components/p-cb7a85da.entry.js +0 -1
- package/dist/magma-components/p-cfb54ef3.entry.js +0 -1
- package/dist/magma-components/p-ebd37b9e.entry.js +0 -1
- package/dist/magma-components/p-ef4393bf.entry.js +0 -1
- package/dist/magma-components/p-f950a39a.entry.js +0 -1
|
@@ -15,4 +15,4 @@ import{proxyCustomElement as t,HTMLElement as r,createEvent as i,h as n,Host as
|
|
|
15
15
|
* derived from CryptoJS.mode.CTR
|
|
16
16
|
* Jan Hruby jhruby.web@gmail.com
|
|
17
17
|
*/
|
|
18
|
-
return t.mode.CTRGladman=function(){var r=t.lib.BlockCipherMode.extend();function i(t){if(255&~(t>>24))t+=1<<24;else{var r=t>>16&255,i=t>>8&255,n=255&t;255===r?(r=0,255===i?(i=0,255===n?n=0:++n):++i):++r,t=0,t+=r<<16,t+=i<<8,t+=n}return t}var n=r.Encryptor=r.extend({processBlock:function(t,r){var n=this._cipher,o=n.blockSize,e=this._iv,a=this._counter;e&&(a=this._counter=e.slice(0),this._iv=void 0),function(t){0===(t[0]=i(t[0]))&&(t[1]=i(t[1]))}(a);var s=a.slice(0);n.encryptBlock(s,0);for(var c=0;c<o;c++)t[r+c]^=s[c]}});return r.Decryptor=n,r}(),t.mode.CTRGladman}(z(),ft())),mt||(mt=1,bt.exports=function(t){return t.mode.OFB=function(){var r=t.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize,o=this._iv,e=this._keystream;o&&(e=this._keystream=o.slice(0),this._iv=void 0),i.encryptBlock(e,0);for(var a=0;a<n;a++)t[r+a]^=e[a]}});return r.Decryptor=i,r}(),t.mode.OFB}(z(),ft())),wt||(wt=1,function(t){t.mode.ECB=function(){var r=t.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),r.Decryptor=r.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),r}()}(z(),ft())),gt||(gt=1,function(t){t.pad.AnsiX923={pad:function(t,r){var i=t.sigBytes,n=4*r,o=n-i%n,e=i+o-1;t.clamp(),t.words[e>>>2]|=o<<24-e%4*8,t.sigBytes+=o},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}}}(z(),ft())),xt||(xt=1,function(t){t.pad.Iso10126={pad:function(r,i){var n=4*i,o=n-r.sigBytes%n;r.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}}}(z(),ft())),yt||(yt=1,function(t){t.pad.Iso97971={pad:function(r,i){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,i)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}}}(z(),ft())),kt||(kt=1,function(t){t.pad.ZeroPadding={pad:function(t,r){var i=4*r;t.clamp(),t.sigBytes+=i-(t.sigBytes%i||i)},unpad:function(t){var r=t.words,i=t.sigBytes-1;for(i=t.sigBytes-1;i>=0;i--)if(r[i>>>2]>>>24-i%4*8&255){t.sigBytes=i+1;break}}}}(z(),ft())),_t||(_t=1,function(t){t.pad.NoPadding={pad:function(){},unpad:function(){}}}(z(),ft())),zt||(zt=1,function(t){(function(){var r=t.lib.CipherParams,i=t.enc.Hex;t.format.Hex={stringify:function(t){return t.ciphertext.toString(i)},parse:function(t){var n=i.parse(t);return r.create({ciphertext:n})}}})()}(z(),ft())),St||(St=1,function(t){(function(){var r=t,i=r.lib.BlockCipher,n=r.algo,o=[],e=[],a=[],s=[],c=[],f=[],u=[],h=[],l=[],v=[];!function(){for(var t=[],r=0;r<256;r++)t[r]=r<128?r<<1:r<<1^283;var i=0,n=0;for(r=0;r<256;r++){var d=n^n<<1^n<<2^n<<3^n<<4;o[i]=d=d>>>8^255&d^99,e[d]=i;var p,m=t[i],b=t[m],w=t[b];a[i]=(p=257*t[d]^16843008*d)<<24|p>>>8,s[i]=p<<16|p>>>16,c[i]=p<<8|p>>>24,f[i]=p,u[d]=(p=16843009*w^65537*b^257*m^16843008*i)<<24|p>>>8,h[d]=p<<16|p>>>16,l[d]=p<<8|p>>>24,v[d]=p,i?(i=m^t[t[t[w^m]]],n^=t[t[n]]):i=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],p=n.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,i=t.sigBytes/4,n=4*((this._nRounds=i+6)+1),e=this._keySchedule=[],a=0;a<n;a++)a<i?e[a]=r[a]:(f=e[a-1],a%i?i>6&&a%i==4&&(f=o[f>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f]):(f=o[(f=f<<8|f>>>24)>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f],f^=d[a/i|0]<<24),e[a]=e[a-i]^f);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var f=e[a];else f=e[a-4];s[c]=c<4||a<=4?f:u[o[f>>>24]]^h[o[f>>>16&255]]^l[o[f>>>8&255]]^v[o[255&f]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,a,s,c,f,o)},decryptBlock:function(t,r){var i=t[r+1];t[r+1]=t[r+3],t[r+3]=i,this._doCryptBlock(t,r,this._invKeySchedule,u,h,l,v,e),i=t[r+1],t[r+1]=t[r+3],t[r+3]=i},_doCryptBlock:function(t,r,i,n,o,e,a,s){for(var c=this._nRounds,f=t[r]^i[0],u=t[r+1]^i[1],h=t[r+2]^i[2],l=t[r+3]^i[3],v=4,d=1;d<c;d++){var p=n[f>>>24]^o[u>>>16&255]^e[h>>>8&255]^a[255&l]^i[v++],m=n[u>>>24]^o[h>>>16&255]^e[l>>>8&255]^a[255&f]^i[v++],b=n[h>>>24]^o[l>>>16&255]^e[f>>>8&255]^a[255&u]^i[v++],w=n[l>>>24]^o[f>>>16&255]^e[u>>>8&255]^a[255&h]^i[v++];f=p,u=m,h=b,l=w}p=(s[f>>>24]<<24|s[u>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^i[v++],m=(s[u>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^i[v++],b=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&u])^i[v++],w=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[u>>>8&255]<<8|s[255&h])^i[v++],t[r]=p,t[r+1]=m,t[r+2]=b,t[r+3]=w},keySize:8});r.AES=i._createHelper(p)})()}(z(),O(),P(),at(),ft())),Bt||(Bt=1,Ft.exports=function(t){return function(){var r=t,i=r.lib,n=i.WordArray,o=i.BlockCipher,e=r.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=e.DES=o.extend({_doReset:function(){for(var t=this._key.words,r=[],i=0;i<56;i++){var n=a[i]-1;r[i]=t[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],e=0;e<16;e++){var f=o[e]=[],u=c[e];for(i=0;i<24;i++)f[i/6|0]|=r[(s[i]-1+u)%28]<<31-i%6,f[4+(i/6|0)]|=r[28+(s[i+24]-1+u)%28]<<31-i%6;for(f[0]=f[0]<<1|f[0]>>>31,i=1;i<7;i++)f[i]=f[i]>>>4*(i-1)+3;f[7]=f[7]<<5|f[7]>>>27}var h=this._invSubKeys=[];for(i=0;i<16;i++)h[i]=o[15-i]},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._subKeys)},decryptBlock:function(t,r){this._doCryptBlock(t,r,this._invSubKeys)},_doCryptBlock:function(t,r,i){this._lBlock=t[r],this._rBlock=t[r+1],l.call(this,4,252645135),l.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),l.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=i[n],e=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=f[c][((a^o[c])&u[c])>>>0];this._lBlock=a,this._rBlock=e^s}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,l.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),t[r]=this._lBlock,t[r+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function l(t,r){var i=(this._lBlock>>>t^this._rBlock)&r;this._rBlock^=i,this._lBlock^=i<<t}function v(t,r){var i=(this._rBlock>>>t^this._lBlock)&r;this._lBlock^=i,this._rBlock^=i<<t}r.DES=o._createHelper(h);var d=e.TripleDES=o.extend({_doReset:function(){var t=this._key.words;if(2!==t.length&&4!==t.length&&t.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),o=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(n.create(r)),this._des2=h.createEncryptor(n.create(i)),this._des3=h.createEncryptor(n.create(o))},encryptBlock:function(t,r){this._des1.encryptBlock(t,r),this._des2.decryptBlock(t,r),this._des3.encryptBlock(t,r)},decryptBlock:function(t,r){this._des3.decryptBlock(t,r),this._des2.encryptBlock(t,r),this._des1.decryptBlock(t,r)},keySize:6,ivSize:2,blockSize:2});r.TripleDES=o._createHelper(d)}(),t.TripleDES}(z(),O(),P(),at(),ft())),jt||(jt=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=r.algo,o=n.RC4=i.extend({_doReset:function(){for(var t=this._key,r=t.words,i=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var e=0;o<256;o++){var a=o%i,s=n[o];n[o]=n[e=(e+n[o]+(r[a>>>2]>>>24-a%4*8&255))%256],n[e]=s}this._i=this._j=0},_doProcessBlock:function(t,r){t[r]^=e.call(this)},keySize:8,ivSize:0});function e(){for(var t=this._S,r=this._i,i=this._j,n=0,o=0;o<4;o++){var e=t[r=(r+1)%256];t[r]=t[i=(i+t[r])%256],t[i]=e,n|=t[(t[r]+t[i])%256]<<24-8*o}return this._i=r,this._j=i,n}r.RC4=i._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)e.call(this)}});r.RC4Drop=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),Rt||(Rt=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=[],o=[],e=[],a=r.algo.Rabbit=i.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,i=0;i<4;i++)t[i]=16711935&(t[i]<<8|t[i]>>>24)|4278255360&(t[i]<<24|t[i]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)o[i]^=n[i+4&7];if(r){var e=r.words,a=e[0],c=e[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;for(o[0]^=f,o[1]^=h,o[2]^=u,o[3]^=l,o[4]^=f,o[5]^=h,o[6]^=u,o[7]^=l,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(t,r){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var o=0;o<4;o++)n[o]=16711935&(n[o]<<8|n[o]>>>24)|4278255360&(n[o]<<24|n[o]>>>8),t[r+o]^=n[o]},blockSize:4,ivSize:2});function s(){for(var t=this._X,r=this._C,i=0;i<8;i++)o[i]=r[i];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+r[i],a=65535&n,s=n>>>16;e[i]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&n)*n|0)+((65535&n)*n|0)}t[0]=e[0]+(e[7]<<16|e[7]>>>16)+(e[6]<<16|e[6]>>>16)|0,t[1]=e[1]+(e[0]<<8|e[0]>>>24)+e[7]|0,t[2]=e[2]+(e[1]<<16|e[1]>>>16)+(e[0]<<16|e[0]>>>16)|0,t[3]=e[3]+(e[2]<<8|e[2]>>>24)+e[1]|0,t[4]=e[4]+(e[3]<<16|e[3]>>>16)+(e[2]<<16|e[2]>>>16)|0,t[5]=e[5]+(e[4]<<8|e[4]>>>24)+e[3]|0,t[6]=e[6]+(e[5]<<16|e[5]>>>16)+(e[4]<<16|e[4]>>>16)|0,t[7]=e[7]+(e[6]<<8|e[6]>>>24)+e[5]|0}r.Rabbit=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),Et||(Et=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=[],o=[],e=[],a=r.algo.RabbitLegacy=i.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)s.call(this);for(o=0;o<8;o++)n[o]^=i[o+4&7];if(r){var e=r.words,a=e[0],c=e[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;for(n[0]^=f,n[1]^=h,n[2]^=u,n[3]^=l,n[4]^=f,n[5]^=h,n[6]^=u,n[7]^=l,o=0;o<4;o++)s.call(this)}},_doProcessBlock:function(t,r){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var o=0;o<4;o++)n[o]=16711935&(n[o]<<8|n[o]>>>24)|4278255360&(n[o]<<24|n[o]>>>8),t[r+o]^=n[o]},blockSize:4,ivSize:2});function s(){for(var t=this._X,r=this._C,i=0;i<8;i++)o[i]=r[i];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+r[i],a=65535&n,s=n>>>16;e[i]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&n)*n|0)+((65535&n)*n|0)}t[0]=e[0]+(e[7]<<16|e[7]>>>16)+(e[6]<<16|e[6]>>>16)|0,t[1]=e[1]+(e[0]<<8|e[0]>>>24)+e[7]|0,t[2]=e[2]+(e[1]<<16|e[1]>>>16)+(e[0]<<16|e[0]>>>16)|0,t[3]=e[3]+(e[2]<<8|e[2]>>>24)+e[1]|0,t[4]=e[4]+(e[3]<<16|e[3]>>>16)+(e[2]<<16|e[2]>>>16)|0,t[5]=e[5]+(e[4]<<8|e[4]>>>24)+e[3]|0,t[6]=e[6]+(e[5]<<16|e[5]>>>16)+(e[4]<<16|e[4]>>>16)|0,t[7]=e[7]+(e[6]<<8|e[6]>>>24)+e[5]|0}r.RabbitLegacy=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),At||(At=1,Mt.exports=function(t){return function(){var r=t,i=r.lib.BlockCipher;const n=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],e=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function s(t,r){let i=t.sbox[0][r>>24&255]+t.sbox[1][r>>16&255];return i^=t.sbox[2][r>>8&255],i+=t.sbox[3][255&r],i}function c(t,r,i){let o,e=r,a=i;for(let r=0;r<n;++r)e^=t.pbox[r],a=s(t,e)^a,o=e,e=a,a=o;return o=e,e=a,a=o,a^=t.pbox[n],e^=t.pbox[17],{left:e,right:a}}var f=r.algo.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var t=this._keyPriorReset=this._key;!function(t,r,i){for(let r=0;r<4;r++){t.sbox[r]=[];for(let i=0;i<256;i++)t.sbox[r][i]=e[r][i]}let n=0;for(let e=0;e<18;e++)t.pbox[e]=o[e]^r[n],n++,n>=i&&(n=0);let a=0,s=0,f=0;for(let r=0;r<18;r+=2)f=c(t,a,s),a=f.left,s=f.right,t.pbox[r]=a,t.pbox[r+1]=s;for(let r=0;r<4;r++)for(let i=0;i<256;i+=2)f=c(t,a,s),a=f.left,s=f.right,t.sbox[r][i]=a,t.sbox[r][i+1]=s}(a,t.words,t.sigBytes/4)}},encryptBlock:function(t,r){var i=c(a,t[r],t[r+1]);t[r]=i.left,t[r+1]=i.right},decryptBlock:function(t,r){var i=function(t,r,i){let n,o=r,e=i;for(let r=17;r>1;--r)o^=t.pbox[r],e=s(t,o)^e,n=o,o=e,e=n;return n=o,o=e,e=n,e^=t.pbox[1],o^=t.pbox[0],{left:o,right:e}}(a,t[r],t[r+1]);t[r]=i.left,t[r+1]=i.right},blockSize:2,keySize:4,ivSize:2});r.Blowfish=i._createHelper(f)}(),t.Blowfish}(z(),O(),P(),at(),ft())))),y.exports),Ut={alreadyDownloaded:"Έχετε ήδη κατεβάσει αυτό το αρχείο"},Lt={alreadyDownloaded:"You have already downloaded this file"},Ht={alreadyDownloaded:"Ya has descargado este archivo"},It={alreadyDownloaded:"Hai già scaricato questo file"};const Pt=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=i(this,"mdsFileDownload",7),this.t=new m({el:Object.assign(Object.assign({},Ut),h),en:Object.assign(Object.assign({},Lt),u),es:Object.assign(Object.assign({},Ht),f),it:Object.assign(Object.assign({},It),c)}),this.wasDownloaded=!1,this.showDownloadedIcon=!0,this.handleOnClick=()=>{var t;const{format:r,description:i}=l(this.filename,this.suffix);this.downloadedEvent.emit({description:null!==(t=this.description)&&void 0!==t?t:i,extension:v(this.filename,this.suffix),filename:this.filename,target:this.host,type:r}),localStorage.setItem("mdsFile"+Ot.MD5(this.filename),"downloaded"),this.checkWasDownloaded()},this.checkWasDownloaded=()=>{const t="mdsFile/"+Ot.MD5(this.filename);this.wasDownloaded="downloaded"===localStorage.getItem(t)},this.getDefaultDescription=()=>l(this.filename,this.suffix).description}async updateLang(){this.language=this.t.lang(this.host)}componentWillLoad(){this.checkWasDownloaded(),this.t.lang(this.host),this.format=l(this.filename,this.suffix).format}componentDidUpdate(){this.checkWasDownloaded()}handleFilename(t){this.format=l(t,this.suffix).format}render(){var t,r;return n(o,{key:"fc07d6520462d6877b2ce80c20a635a3db76562f",tabindex:"0",onClick:this.handleOnClick},n("div",{key:"a1a065c686ef011224c7648d0101d3960f23e738",class:"preview"},void 0!==this.preview?n("div",{class:"image-preview",style:{backgroundImage:`url(${this.preview})`}}):n("mds-icon",{class:"icon-preview",name:d(this.filename,this.suffix).icon}),n("div",{key:"3a4741e0b175400d4954fd1761da8b2d1bab6cb9",class:"download-icon"},n("mds-icon",{key:"48dc1b1b5af3b9989ccc75be86e3a7beb24bc440",name:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>'}))),n("div",{key:"fc001287ab920f2fae34b5bcfae4c95541fa451a",class:"info"},n("div",{key:"174807172e1a46f8e64752698f1604fd28549b9c",class:"filename",title:this.filename},n("mds-text",{key:"9750f49569fee6b3f419c02776921ca47663f590",truncate:"word",typography:"h6",class:"name"},p(this.filename)),void 0===this.suffix&&v(this.filename,this.suffix)&&n("mds-text",{key:"9bab2d991fdf0a6a37cc68555386a2d13c8b631f",typography:"h6",class:"extension"},".",v(this.filename,this.suffix))),n("div",{key:"f06aff476d27046ef4558c9ea65ee00d10fc740d",class:"detail"},v(this.filename,this.suffix)&&n("mds-badge",{key:"f226817fc6681ce5f770475d553e88ad3cd90966",variant:d(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},v(this.filename,this.suffix)),n("mds-text",{key:"2856f34ab2c0bb46d77b74cb54d1d79131616457",truncate:"word",typography:"caption",class:"description",title:null!==(t=this.description)&&void 0!==t?t:this.t.get(this.getDefaultDescription())},null!==(r=this.description)&&void 0!==r?r:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&this.showDownloadedIcon&&n("div",{key:"8016b84257c95b7a9505f10e907c801f3561f993",class:"indicator"},n("i",{key:"78e44bf63ab425d94508335d006c4bdfda442101",class:"downloaded",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>',title:this.t.get("alreadyDownloaded")})))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60))}}}@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,6px)}50%{outline-offset:var(--magma-outline-blur-offset,2px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60));--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--tone-neutral,0 0 0));border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--tone-neutral-04,218 218 218));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,round);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:box-shadow,outline,outline-offset;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){-webkit-box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) .icon-preview,:host(:hover) .image-preview{opacity:0;-webkit-transform:translateY(var(--private-icon-download-offset));transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;-webkit-transform:translateY(calc(var(--private-icon-download-offset)*-1));transform:translateY(calc(var(--private-icon-download-offset)*-1));-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-bacground,rgb(var(--tone-neutral-10,60 60 60)));color:var(--mds-file-preview-color,rgb(var(--tone-neutral-03,233 233 233)));fill:var(--mds-file-preview-icon-color,var(--mds-file-preview-color,rgb(var(--tone-neutral-03,233 233 233))));flex-shrink:0;position:relative;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:color,background-color,fill;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--tone-neutral-05,197 197 197));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--status-success-06,0 171 97))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,251 192 203));--mds-file-preview-color:rgb(var(--label-amaranth-04,251 192 203));--mds-file-preview-icon-bacground:rgb(var(--label-amaranth-10,114 7 25))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,216 200 252));--mds-file-preview-color:rgb(var(--label-violet-04,216 200 252));--mds-file-preview-icon-bacground:rgb(var(--label-violet-10,57 9 165))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,248 202 60));--mds-file-preview-color:rgb(var(--label-yellow-04,248 202 60));--mds-file-preview-icon-bacground:rgb(var(--label-yellow-10,75 57 3))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,252 196 158));--mds-file-preview-color:rgb(var(--label-orange-04,252 196 158));--mds-file-preview-icon-bacground:rgb(var(--label-orange-10,99 42 3))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-file-preview-color:rgb(var(--label-blue-04,196 206 253));--mds-file-preview-icon-bacground:rgb(var(--label-blue-10,6 34 166))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,113 230 156));--mds-file-preview-color:rgb(var(--label-green-04,113 230 156));--mds-file-preview-icon-bacground:rgb(var(--label-green-10,12 68 33))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,248 192 220));--mds-file-preview-color:rgb(var(--label-orchid-04,248 192 220));--mds-file-preview-icon-bacground:rgb(var(--label-orchid-10,111 12 61))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,148 229 25));--mds-file-preview-color:rgb(var(--label-lime-04,148 229 25));--mds-file-preview-icon-bacground:rgb(var(--label-lime-10,43 66 7))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,81 225 250));--mds-file-preview-color:rgb(var(--label-aqua-04,81 225 250));--mds-file-preview-icon-bacground:rgb(var(--label-aqua-10,2 65 76))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .preview{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host(:hover){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}:host-context(:root.pref-contrast-more){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50);color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-contrast-more):host(:hover){-webkit-box-shadow:var(--shadow-outline-strong-100);box-shadow:var(--shadow-outline-strong-100)}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .preview{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host(:hover){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50);color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host(:hover){-webkit-box-shadow:var(--shadow-outline-strong-100);box-shadow:var(--shadow-outline-strong-100)}}"}},[1,"mds-file",{suffix:[513],description:[1],filename:[1],preview:[1],showDownloadedIcon:[4,"show-downloaded-icon"],format:[1537],language:[32],wasDownloaded:[32],updateLang:[64]},void 0,{filename:[{handleFilename:0}]}]),Ct=Pt,Yt=function(){"undefined"!=typeof customElements&&["mds-file","mds-badge","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-file":customElements.get(e(t))||customElements.define(e(t),Pt);break;case"mds-badge":customElements.get(e(t))||b();break;case"mds-icon":customElements.get(e(t))||w();break;case"mds-text":customElements.get(e(t))||g()}}))};export{Ct as MdsFile,Yt as defineCustomElement}
|
|
18
|
+
return t.mode.CTRGladman=function(){var r=t.lib.BlockCipherMode.extend();function i(t){if(255&~(t>>24))t+=1<<24;else{var r=t>>16&255,i=t>>8&255,n=255&t;255===r?(r=0,255===i?(i=0,255===n?n=0:++n):++i):++r,t=0,t+=r<<16,t+=i<<8,t+=n}return t}var n=r.Encryptor=r.extend({processBlock:function(t,r){var n=this._cipher,o=n.blockSize,e=this._iv,a=this._counter;e&&(a=this._counter=e.slice(0),this._iv=void 0),function(t){0===(t[0]=i(t[0]))&&(t[1]=i(t[1]))}(a);var s=a.slice(0);n.encryptBlock(s,0);for(var c=0;c<o;c++)t[r+c]^=s[c]}});return r.Decryptor=n,r}(),t.mode.CTRGladman}(z(),ft())),mt||(mt=1,bt.exports=function(t){return t.mode.OFB=function(){var r=t.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize,o=this._iv,e=this._keystream;o&&(e=this._keystream=o.slice(0),this._iv=void 0),i.encryptBlock(e,0);for(var a=0;a<n;a++)t[r+a]^=e[a]}});return r.Decryptor=i,r}(),t.mode.OFB}(z(),ft())),wt||(wt=1,function(t){t.mode.ECB=function(){var r=t.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(t,r){this._cipher.encryptBlock(t,r)}}),r.Decryptor=r.extend({processBlock:function(t,r){this._cipher.decryptBlock(t,r)}}),r}()}(z(),ft())),gt||(gt=1,function(t){t.pad.AnsiX923={pad:function(t,r){var i=t.sigBytes,n=4*r,o=n-i%n,e=i+o-1;t.clamp(),t.words[e>>>2]|=o<<24-e%4*8,t.sigBytes+=o},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}}}(z(),ft())),xt||(xt=1,function(t){t.pad.Iso10126={pad:function(r,i){var n=4*i,o=n-r.sigBytes%n;r.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}}}(z(),ft())),yt||(yt=1,function(t){t.pad.Iso97971={pad:function(r,i){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,i)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}}}(z(),ft())),kt||(kt=1,function(t){t.pad.ZeroPadding={pad:function(t,r){var i=4*r;t.clamp(),t.sigBytes+=i-(t.sigBytes%i||i)},unpad:function(t){var r=t.words,i=t.sigBytes-1;for(i=t.sigBytes-1;i>=0;i--)if(r[i>>>2]>>>24-i%4*8&255){t.sigBytes=i+1;break}}}}(z(),ft())),_t||(_t=1,function(t){t.pad.NoPadding={pad:function(){},unpad:function(){}}}(z(),ft())),zt||(zt=1,function(t){(function(){var r=t.lib.CipherParams,i=t.enc.Hex;t.format.Hex={stringify:function(t){return t.ciphertext.toString(i)},parse:function(t){var n=i.parse(t);return r.create({ciphertext:n})}}})()}(z(),ft())),St||(St=1,function(t){(function(){var r=t,i=r.lib.BlockCipher,n=r.algo,o=[],e=[],a=[],s=[],c=[],f=[],u=[],h=[],l=[],v=[];!function(){for(var t=[],r=0;r<256;r++)t[r]=r<128?r<<1:r<<1^283;var i=0,n=0;for(r=0;r<256;r++){var d=n^n<<1^n<<2^n<<3^n<<4;o[i]=d=d>>>8^255&d^99,e[d]=i;var p,m=t[i],b=t[m],w=t[b];a[i]=(p=257*t[d]^16843008*d)<<24|p>>>8,s[i]=p<<16|p>>>16,c[i]=p<<8|p>>>24,f[i]=p,u[d]=(p=16843009*w^65537*b^257*m^16843008*i)<<24|p>>>8,h[d]=p<<16|p>>>16,l[d]=p<<8|p>>>24,v[d]=p,i?(i=m^t[t[t[w^m]]],n^=t[t[n]]):i=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],p=n.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,r=t.words,i=t.sigBytes/4,n=4*((this._nRounds=i+6)+1),e=this._keySchedule=[],a=0;a<n;a++)a<i?e[a]=r[a]:(f=e[a-1],a%i?i>6&&a%i==4&&(f=o[f>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f]):(f=o[(f=f<<8|f>>>24)>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f],f^=d[a/i|0]<<24),e[a]=e[a-i]^f);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var f=e[a];else f=e[a-4];s[c]=c<4||a<=4?f:u[o[f>>>24]]^h[o[f>>>16&255]]^l[o[f>>>8&255]]^v[o[255&f]]}}},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._keySchedule,a,s,c,f,o)},decryptBlock:function(t,r){var i=t[r+1];t[r+1]=t[r+3],t[r+3]=i,this._doCryptBlock(t,r,this._invKeySchedule,u,h,l,v,e),i=t[r+1],t[r+1]=t[r+3],t[r+3]=i},_doCryptBlock:function(t,r,i,n,o,e,a,s){for(var c=this._nRounds,f=t[r]^i[0],u=t[r+1]^i[1],h=t[r+2]^i[2],l=t[r+3]^i[3],v=4,d=1;d<c;d++){var p=n[f>>>24]^o[u>>>16&255]^e[h>>>8&255]^a[255&l]^i[v++],m=n[u>>>24]^o[h>>>16&255]^e[l>>>8&255]^a[255&f]^i[v++],b=n[h>>>24]^o[l>>>16&255]^e[f>>>8&255]^a[255&u]^i[v++],w=n[l>>>24]^o[f>>>16&255]^e[u>>>8&255]^a[255&h]^i[v++];f=p,u=m,h=b,l=w}p=(s[f>>>24]<<24|s[u>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^i[v++],m=(s[u>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^i[v++],b=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&u])^i[v++],w=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[u>>>8&255]<<8|s[255&h])^i[v++],t[r]=p,t[r+1]=m,t[r+2]=b,t[r+3]=w},keySize:8});r.AES=i._createHelper(p)})()}(z(),O(),P(),at(),ft())),Bt||(Bt=1,Ft.exports=function(t){return function(){var r=t,i=r.lib,n=i.WordArray,o=i.BlockCipher,e=r.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=e.DES=o.extend({_doReset:function(){for(var t=this._key.words,r=[],i=0;i<56;i++){var n=a[i]-1;r[i]=t[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],e=0;e<16;e++){var f=o[e]=[],u=c[e];for(i=0;i<24;i++)f[i/6|0]|=r[(s[i]-1+u)%28]<<31-i%6,f[4+(i/6|0)]|=r[28+(s[i+24]-1+u)%28]<<31-i%6;for(f[0]=f[0]<<1|f[0]>>>31,i=1;i<7;i++)f[i]=f[i]>>>4*(i-1)+3;f[7]=f[7]<<5|f[7]>>>27}var h=this._invSubKeys=[];for(i=0;i<16;i++)h[i]=o[15-i]},encryptBlock:function(t,r){this._doCryptBlock(t,r,this._subKeys)},decryptBlock:function(t,r){this._doCryptBlock(t,r,this._invSubKeys)},_doCryptBlock:function(t,r,i){this._lBlock=t[r],this._rBlock=t[r+1],l.call(this,4,252645135),l.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),l.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=i[n],e=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=f[c][((a^o[c])&u[c])>>>0];this._lBlock=a,this._rBlock=e^s}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,l.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),t[r]=this._lBlock,t[r+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function l(t,r){var i=(this._lBlock>>>t^this._rBlock)&r;this._rBlock^=i,this._lBlock^=i<<t}function v(t,r){var i=(this._rBlock>>>t^this._lBlock)&r;this._lBlock^=i,this._rBlock^=i<<t}r.DES=o._createHelper(h);var d=e.TripleDES=o.extend({_doReset:function(){var t=this._key.words;if(2!==t.length&&4!==t.length&&t.length<6)throw Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var r=t.slice(0,2),i=t.length<4?t.slice(0,2):t.slice(2,4),o=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(n.create(r)),this._des2=h.createEncryptor(n.create(i)),this._des3=h.createEncryptor(n.create(o))},encryptBlock:function(t,r){this._des1.encryptBlock(t,r),this._des2.decryptBlock(t,r),this._des3.encryptBlock(t,r)},decryptBlock:function(t,r){this._des3.decryptBlock(t,r),this._des2.encryptBlock(t,r),this._des1.decryptBlock(t,r)},keySize:6,ivSize:2,blockSize:2});r.TripleDES=o._createHelper(d)}(),t.TripleDES}(z(),O(),P(),at(),ft())),jt||(jt=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=r.algo,o=n.RC4=i.extend({_doReset:function(){for(var t=this._key,r=t.words,i=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var e=0;o<256;o++){var a=o%i,s=n[o];n[o]=n[e=(e+n[o]+(r[a>>>2]>>>24-a%4*8&255))%256],n[e]=s}this._i=this._j=0},_doProcessBlock:function(t,r){t[r]^=e.call(this)},keySize:8,ivSize:0});function e(){for(var t=this._S,r=this._i,i=this._j,n=0,o=0;o<4;o++){var e=t[r=(r+1)%256];t[r]=t[i=(i+t[r])%256],t[i]=e,n|=t[(t[r]+t[i])%256]<<24-8*o}return this._i=r,this._j=i,n}r.RC4=i._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)e.call(this)}});r.RC4Drop=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),Rt||(Rt=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=[],o=[],e=[],a=r.algo.Rabbit=i.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,i=0;i<4;i++)t[i]=16711935&(t[i]<<8|t[i]>>>24)|4278255360&(t[i]<<24|t[i]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)o[i]^=n[i+4&7];if(r){var e=r.words,a=e[0],c=e[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;for(o[0]^=f,o[1]^=h,o[2]^=u,o[3]^=l,o[4]^=f,o[5]^=h,o[6]^=u,o[7]^=l,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(t,r){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var o=0;o<4;o++)n[o]=16711935&(n[o]<<8|n[o]>>>24)|4278255360&(n[o]<<24|n[o]>>>8),t[r+o]^=n[o]},blockSize:4,ivSize:2});function s(){for(var t=this._X,r=this._C,i=0;i<8;i++)o[i]=r[i];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+r[i],a=65535&n,s=n>>>16;e[i]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&n)*n|0)+((65535&n)*n|0)}t[0]=e[0]+(e[7]<<16|e[7]>>>16)+(e[6]<<16|e[6]>>>16)|0,t[1]=e[1]+(e[0]<<8|e[0]>>>24)+e[7]|0,t[2]=e[2]+(e[1]<<16|e[1]>>>16)+(e[0]<<16|e[0]>>>16)|0,t[3]=e[3]+(e[2]<<8|e[2]>>>24)+e[1]|0,t[4]=e[4]+(e[3]<<16|e[3]>>>16)+(e[2]<<16|e[2]>>>16)|0,t[5]=e[5]+(e[4]<<8|e[4]>>>24)+e[3]|0,t[6]=e[6]+(e[5]<<16|e[5]>>>16)+(e[4]<<16|e[4]>>>16)|0,t[7]=e[7]+(e[6]<<8|e[6]>>>24)+e[5]|0}r.Rabbit=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),Et||(Et=1,function(t){(function(){var r=t,i=r.lib.StreamCipher,n=[],o=[],e=[],a=r.algo.RabbitLegacy=i.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)s.call(this);for(o=0;o<8;o++)n[o]^=i[o+4&7];if(r){var e=r.words,a=e[0],c=e[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;for(n[0]^=f,n[1]^=h,n[2]^=u,n[3]^=l,n[4]^=f,n[5]^=h,n[6]^=u,n[7]^=l,o=0;o<4;o++)s.call(this)}},_doProcessBlock:function(t,r){var i=this._X;s.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var o=0;o<4;o++)n[o]=16711935&(n[o]<<8|n[o]>>>24)|4278255360&(n[o]<<24|n[o]>>>8),t[r+o]^=n[o]},blockSize:4,ivSize:2});function s(){for(var t=this._X,r=this._C,i=0;i<8;i++)o[i]=r[i];for(r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+r[i],a=65535&n,s=n>>>16;e[i]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&n)*n|0)+((65535&n)*n|0)}t[0]=e[0]+(e[7]<<16|e[7]>>>16)+(e[6]<<16|e[6]>>>16)|0,t[1]=e[1]+(e[0]<<8|e[0]>>>24)+e[7]|0,t[2]=e[2]+(e[1]<<16|e[1]>>>16)+(e[0]<<16|e[0]>>>16)|0,t[3]=e[3]+(e[2]<<8|e[2]>>>24)+e[1]|0,t[4]=e[4]+(e[3]<<16|e[3]>>>16)+(e[2]<<16|e[2]>>>16)|0,t[5]=e[5]+(e[4]<<8|e[4]>>>24)+e[3]|0,t[6]=e[6]+(e[5]<<16|e[5]>>>16)+(e[4]<<16|e[4]>>>16)|0,t[7]=e[7]+(e[6]<<8|e[6]>>>24)+e[5]|0}r.RabbitLegacy=i._createHelper(a)})()}(z(),O(),P(),at(),ft())),At||(At=1,Mt.exports=function(t){return function(){var r=t,i=r.lib.BlockCipher;const n=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],e=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function s(t,r){let i=t.sbox[0][r>>24&255]+t.sbox[1][r>>16&255];return i^=t.sbox[2][r>>8&255],i+=t.sbox[3][255&r],i}function c(t,r,i){let o,e=r,a=i;for(let r=0;r<n;++r)e^=t.pbox[r],a=s(t,e)^a,o=e,e=a,a=o;return o=e,e=a,a=o,a^=t.pbox[n],e^=t.pbox[17],{left:e,right:a}}var f=r.algo.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var t=this._keyPriorReset=this._key;!function(t,r,i){for(let r=0;r<4;r++){t.sbox[r]=[];for(let i=0;i<256;i++)t.sbox[r][i]=e[r][i]}let n=0;for(let e=0;e<18;e++)t.pbox[e]=o[e]^r[n],n++,n>=i&&(n=0);let a=0,s=0,f=0;for(let r=0;r<18;r+=2)f=c(t,a,s),a=f.left,s=f.right,t.pbox[r]=a,t.pbox[r+1]=s;for(let r=0;r<4;r++)for(let i=0;i<256;i+=2)f=c(t,a,s),a=f.left,s=f.right,t.sbox[r][i]=a,t.sbox[r][i+1]=s}(a,t.words,t.sigBytes/4)}},encryptBlock:function(t,r){var i=c(a,t[r],t[r+1]);t[r]=i.left,t[r+1]=i.right},decryptBlock:function(t,r){var i=function(t,r,i){let n,o=r,e=i;for(let r=17;r>1;--r)o^=t.pbox[r],e=s(t,o)^e,n=o,o=e,e=n;return n=o,o=e,e=n,e^=t.pbox[1],o^=t.pbox[0],{left:o,right:e}}(a,t[r],t[r+1]);t[r]=i.left,t[r+1]=i.right},blockSize:2,keySize:4,ivSize:2});r.Blowfish=i._createHelper(f)}(),t.Blowfish}(z(),O(),P(),at(),ft())))),y.exports),Ut={alreadyDownloaded:"Έχετε ήδη κατεβάσει αυτό το αρχείο"},Lt={alreadyDownloaded:"You have already downloaded this file"},Ht={alreadyDownloaded:"Ya has descargado este archivo"},It={alreadyDownloaded:"Hai già scaricato questo file"};const Pt=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=i(this,"mdsFileDownload",7),this.t=new m({el:Object.assign(Object.assign({},Ut),h),en:Object.assign(Object.assign({},Lt),u),es:Object.assign(Object.assign({},Ht),f),it:Object.assign(Object.assign({},It),c)}),this.wasDownloaded=!1,this.showDownloadedIcon=!0,this.handleOnClick=()=>{var t;const{format:r,description:i}=l(this.filename,this.suffix);this.downloadedEvent.emit({description:null!==(t=this.description)&&void 0!==t?t:i,extension:v(this.filename,this.suffix),filename:this.filename,target:this.host,type:r}),localStorage.setItem("mdsFile"+Ot.MD5(this.filename),"downloaded"),this.checkWasDownloaded()},this.checkWasDownloaded=()=>{const t="mdsFile/"+Ot.MD5(this.filename);this.wasDownloaded="downloaded"===localStorage.getItem(t)},this.getDefaultDescription=()=>l(this.filename,this.suffix).description}async updateLang(){this.language=this.t.lang(this.host)}componentWillLoad(){this.checkWasDownloaded(),this.t.lang(this.host),this.format=l(this.filename,this.suffix).format}componentDidUpdate(){this.checkWasDownloaded()}handleFilename(t){this.format=l(t,this.suffix).format}render(){var t,r;return n(o,{key:"c0e9cad18f3aece026683f60c792f7f9cb72fe6d",tabindex:"0",onClick:this.handleOnClick},n("div",{key:"0549f258474a3bfbb2ce14e425768dccb38a1304",class:"preview"},void 0!==this.preview?n("div",{class:"image-preview",style:{backgroundImage:`url(${this.preview})`}}):n("mds-icon",{class:"icon-preview",name:d(this.filename,this.suffix).icon}),n("div",{key:"6af5acdd202cf3f2c372dae43f7410c021436f8b",class:"download-icon"},n("mds-icon",{key:"eb9ca7ad12fe39531da1e765f8a176c84ccd5cbc",name:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>'}))),n("div",{key:"59091a86effee53feba1f3886d91a0fbcc963ad8",class:"info"},n("div",{key:"efdac36e055c89999a2055e344bdd2ead3d4a63b",class:"filename",title:this.filename},n("mds-text",{key:"e702e1aad1d32052947b5a915d4dcd4c6e7ba8bc",truncate:"word",typography:"h6",class:"name"},p(this.filename)),void 0===this.suffix&&v(this.filename,this.suffix)&&n("mds-text",{key:"83d4b4320310a88bcc7ae8bcec8e5c149de637ba",typography:"h6",class:"extension"},".",v(this.filename,this.suffix))),n("div",{key:"ed75683122f0612e5e5d0ae7853be9c53da832f1",class:"detail"},v(this.filename,this.suffix)&&n("mds-badge",{key:"46be9c88c56795caf101953fe2faf4202a9800aa",variant:d(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},v(this.filename,this.suffix)),n("mds-text",{key:"9dd1b4541bddb18f74bcc958697d6ebf22b33f6d",truncate:"word",typography:"caption",class:"description",title:null!==(t=this.description)&&void 0!==t?t:this.t.get(this.getDefaultDescription())},null!==(r=this.description)&&void 0!==r?r:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&this.showDownloadedIcon&&n("div",{key:"72b97352184cc5e7300b9bcc2577db8817465554",class:"indicator"},n("i",{key:"40968874d424bf044ba5627550550f09eaba43ed",class:"downloaded",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>',title:this.t.get("alreadyDownloaded")})))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60))}}}@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,6px)}50%{outline-offset:var(--magma-outline-blur-offset,2px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60));--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--tone-neutral,0 0 0));border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--tone-neutral-04,218 218 218));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,round);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:box-shadow,outline,outline-offset;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){-webkit-box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) .icon-preview,:host(:hover) .image-preview{opacity:0;-webkit-transform:translateY(var(--private-icon-download-offset));transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;-webkit-transform:translateY(calc(var(--private-icon-download-offset)*-1));transform:translateY(calc(var(--private-icon-download-offset)*-1));-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-bacground,rgb(var(--tone-neutral-10,60 60 60)));color:var(--mds-file-preview-color,rgb(var(--tone-neutral-03,233 233 233)));fill:var(--mds-file-preview-icon-color,var(--mds-file-preview-color,rgb(var(--tone-neutral-03,233 233 233))));flex-shrink:0;position:relative;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:color,background-color,fill;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--tone-neutral-05,197 197 197));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--status-success-06,0 171 97))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,251 192 203));--mds-file-preview-color:rgb(var(--label-amaranth-04,251 192 203));--mds-file-preview-icon-bacground:rgb(var(--label-amaranth-10,114 7 25))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-color:rgb(var(--tone-neutral-04,218 218 218));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10,60 60 60))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,216 200 252));--mds-file-preview-color:rgb(var(--label-violet-04,216 200 252));--mds-file-preview-icon-bacground:rgb(var(--label-violet-10,57 9 165))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,248 202 60));--mds-file-preview-color:rgb(var(--label-yellow-04,248 202 60));--mds-file-preview-icon-bacground:rgb(var(--label-yellow-10,75 57 3))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,252 196 158));--mds-file-preview-color:rgb(var(--label-orange-04,252 196 158));--mds-file-preview-icon-bacground:rgb(var(--label-orange-10,99 42 3))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-file-preview-color:rgb(var(--label-blue-04,196 206 253));--mds-file-preview-icon-bacground:rgb(var(--label-blue-10,6 34 166))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,113 230 156));--mds-file-preview-color:rgb(var(--label-green-04,113 230 156));--mds-file-preview-icon-bacground:rgb(var(--label-green-10,12 68 33))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,248 192 220));--mds-file-preview-color:rgb(var(--label-orchid-04,248 192 220));--mds-file-preview-icon-bacground:rgb(var(--label-orchid-10,111 12 61))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,148 229 25));--mds-file-preview-color:rgb(var(--label-lime-04,148 229 25));--mds-file-preview-icon-bacground:rgb(var(--label-lime-10,43 66 7))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,81 225 250));--mds-file-preview-color:rgb(var(--label-aqua-04,81 225 250));--mds-file-preview-icon-bacground:rgb(var(--label-aqua-10,2 65 76))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-animation-reduce) .preview{transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host(:hover){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}:host-context(:root.pref-contrast-more){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50);color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-contrast-more):host(:hover){-webkit-box-shadow:var(--shadow-outline-strong-100);box-shadow:var(--shadow-outline-strong-100)}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))),:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .preview{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host(:hover){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50);color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host(:hover){-webkit-box-shadow:var(--shadow-outline-strong-100);box-shadow:var(--shadow-outline-strong-100)}}"}},[1,"mds-file",{suffix:[513],description:[1],filename:[1],preview:[1],showDownloadedIcon:[4,"show-downloaded-icon"],format:[1537],language:[32],wasDownloaded:[32],updateLang:[64]},void 0,{filename:[{handleFilename:0}]}]),Ct=Pt,Yt=function(){"undefined"!=typeof customElements&&["mds-file","mds-badge","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-file":customElements.get(e(t))||customElements.define(e(t),Pt);break;case"mds-badge":customElements.get(e(t))||b();break;case"mds-icon":customElements.get(e(t))||w();break;case"mds-text":customElements.get(e(t))||g()}}))};export{Ct as MdsFile,Yt as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,createEvent as o,h as r,Host as a,transformTag as n}from"@stencil/core/internal/client";import{K as s}from"./keyboard-manager.js";import{d as i}from"./mds-icon2.js";import{d as c}from"./mds-text2.js";const
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,createEvent as o,h as r,Host as a,transformTag as n}from"@stencil/core/internal/client";import{K as s}from"./keyboard-manager.js";import{d as i}from"./mds-icon2.js";import{d as c}from"./mds-text2.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=o(this,"mdsFilterItemSelect",7),this.km=new s,this.toggle=()=>{this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected})}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){var t;return r(a,{key:"9d4686de0bb4371076bb1d78b428b09efd0946f3",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":null!==(t=this.label)&&void 0!==t?t:this.icon,onClick:this.toggle},this.icon&&r("mds-icon",{key:"9c9c91f67e70442646a2846ab901e8e56de89064","aria-hidden":"true",name:this.icon}),this.label&&r("mds-text",{key:"6299fdb29e9ed4a29c55c1c818ad0992fcda1b97","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&r("div",{key:"6df69e3386a6e6b01fc7262c0c70dd75731acd94",class:"count"},r("mds-text",{key:"01380c1b2d11b56c6b244f5292ff4276c6866786","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-filter-item-count-background-default:rgb(var(--tone-neutral-08,107 107 107));--mds-filter-item-count-color-default:rgb(var(--tone-neutral-02,244 244 244));--mds-filter-item-count-background-selected:rgb(var(--tone-neutral-05,197 197 197));--mds-filter-item-count-color-selected:rgb(var(--tone-neutral,0 0 0))}}}@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,6px)}50%{outline-offset:var(--magma-outline-blur-offset,2px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-item-count-background-default:rgb(var(--tone-neutral-08,107 107 107));--mds-filter-item-count-color-default:rgb(var(--tone-neutral-02,244 244 244));--mds-filter-item-count-background-selected:rgb(var(--tone-neutral-05,197 197 197));--mds-filter-item-count-color-selected:rgb(var(--tone-neutral,0 0 0));align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:1000px;color:rgb(var(--tone-neutral-03,233 233 233));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--tone-neutral-08,107 107 107)));border-radius:calc(var(--spacing,.0025rem)*400);box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--tone-neutral-02,244 244 244)));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--tone-neutral,0 0 0))}:host(:hover){-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--tone-neutral-01,255 255 255))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--tone-neutral-05,197 197 197)));color:var(--mds-filter-item-count-color-selected,rgb(var(--tone-neutral,0 0 0)))}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){background-color:rgb(var(--tone-neutral-10,60 60 60))}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host([selected]:not([selected=false])){background-color:rgb(var(--tone-neutral-08,107 107 107));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)):host(:hover){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host-context(:root.pref-contrast-more):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-outline-strong-50);box-shadow:var(--shadow-outline-strong-50)}:host-context(:root.pref-contrast-more):host(:hover){-webkit-box-shadow:var(--shadow-outline-strong-50);box-shadow:var(--shadow-outline-strong-50)}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral-10,60 60 60))}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host([selected]:not([selected=false])){background-color:rgb(var(--tone-neutral-08,107 107 107));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))):host(:hover){-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host(:hover),:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))):host([selected]:not([selected=false])){-webkit-box-shadow:var(--shadow-outline-strong-50);box-shadow:var(--shadow-outline-strong-50)}}"}},[1,"mds-filter-item",{selected:[1540],label:[513],icon:[513],value:[513],count:[513],disabled:[516]}]);function d(){"undefined"!=typeof customElements&&["mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter-item":customElements.get(n(t))||customElements.define(n(t),l);break;case"mds-icon":customElements.get(n(t))||i();break;case"mds-text":customElements.get(n(t))||c()}}))}export{l as M,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as t,HTMLElement as e,createEvent as r,h as s,Host as i,transformTag as a}from"@stencil/core/internal/client";import{c as o}from"./clsx.js";import{m as n}from"./close.js";import{d as l}from"./mds-filter-item2.js";import{d}from"./mds-icon2.js";import{d as m}from"./mds-text2.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=r(this,"mdsFilterChange",7),this.itemsSelected=0,this.queryItems=()=>this.element.querySelectorAll("mds-filter-item"),this.scrollTabs=()=>{var t;const e=this.queryItems()[this.lastSelectedItem],r=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".items");r&&(r.scrollLeft=e.offsetLeft-r.offsetLeft-r.offsetWidth/2+e.offsetWidth/2)},this.checkSelectedItem=()=>{const t=this.queryItems();let e=!1;t.forEach((t=>{t.selected&&(e=!0)})),this.active=e},this.checkAutoReset=()=>{this.autoReset&&this.resetItems()},this.resetItems=()=>{this.queryItems().forEach((t=>{t.selected=!1,t.classList.remove("sibling")})),this.active=!1},this.itemsValues=()=>{const t=this.queryItems(),e=[];return t.forEach((t=>{t.selected&&e.push(t.value)})),""+e}}componentWillLoad(){this.queryItems().forEach(((t,e)=>{t.id="item-"+e})),this.checkSelectedItem()}activeEventHandler(t){this.lastSelectedItem=Number(t.detail.id?t.detail.id.replace("item-",""):0),this.scrollTabs();const e=this.queryItems();if(this.multiple){let t=0;const r=[];return e.forEach(((e,s)=>{r.push(e.selected?e:null),e.selected&&(t+=1),e.classList.remove("sibling"),r.length>1&&null!==r[s-1]&&e.classList.add("sibling")})),this.itemsSelected=t,this.checkSelectedItem(),this.itemsSelected===e.length&&this.checkAutoReset(),void this.changedEvent.emit({children:e,value:this.itemsValues()})}e.forEach(((e,r)=>{e.selected="item-"+r===t.detail.id&&t.detail.selected})),this.checkSelectedItem(),this.changedEvent.emit({children:e,value:this.itemsValues()})}render(){return s(i,{key:"
|
|
1
|
+
import{proxyCustomElement as t,HTMLElement as e,createEvent as r,h as s,Host as i,transformTag as a}from"@stencil/core/internal/client";import{c as o}from"./clsx.js";import{m as n}from"./close.js";import{d as l}from"./mds-filter-item2.js";import{d}from"./mds-icon2.js";import{d as m}from"./mds-text2.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=r(this,"mdsFilterChange",7),this.itemsSelected=0,this.queryItems=()=>this.element.querySelectorAll("mds-filter-item"),this.scrollTabs=()=>{var t;const e=this.queryItems()[this.lastSelectedItem],r=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".items");r&&(r.scrollLeft=e.offsetLeft-r.offsetLeft-r.offsetWidth/2+e.offsetWidth/2)},this.checkSelectedItem=()=>{const t=this.queryItems();let e=!1;t.forEach((t=>{t.selected&&(e=!0)})),this.active=e},this.checkAutoReset=()=>{this.autoReset&&this.resetItems()},this.resetItems=()=>{this.queryItems().forEach((t=>{t.selected=!1,t.classList.remove("sibling")})),this.active=!1},this.itemsValues=()=>{const t=this.queryItems(),e=[];return t.forEach((t=>{t.selected&&e.push(t.value)})),""+e}}componentWillLoad(){this.queryItems().forEach(((t,e)=>{t.id="item-"+e})),this.checkSelectedItem()}activeEventHandler(t){this.lastSelectedItem=Number(""!==t.detail.id?t.detail.id.replace("item-",""):0),this.scrollTabs();const e=this.queryItems();if(this.multiple){let t=0;const r=[];return e.forEach(((e,s)=>{r.push(e.selected?e:null),e.selected&&(t+=1),e.classList.remove("sibling"),r.length>1&&null!==r[s-1]&&e.classList.add("sibling")})),this.itemsSelected=t,this.checkSelectedItem(),this.itemsSelected===e.length&&this.checkAutoReset(),void this.changedEvent.emit({children:e,value:this.itemsValues()})}e.forEach(((e,r)=>{e.selected="item-"+r===t.detail.id&&t.detail.selected})),this.checkSelectedItem(),this.changedEvent.emit({children:e,value:this.itemsValues()})}render(){return s(i,{key:"1dd060145cd00afd5bc869aa0ac39a375e31c45a","aria-label":this.label,role:"menubar"},this.label&&s("mds-text",{key:"bc555868ff4c6599bbd5cbb0b075649b5ab0cca1",class:"label",typography:"label"},this.label),s("div",{key:"6dad87b041b6553711bc6b7d16e52bc8effabbcc",class:"items-wrapper"},s("div",{key:"d0d888532d201e44c12b273ced3c0106f6fc0641",class:o("items",this.active&&"active")},s("slot",{key:"d2919aba63eb86e5caa88b955a5eeb405daeccb8"}),s("div",{key:"9c70279b42e365d5f896277ed04add845b323dfc",class:o("reset",this.active&&"reset--opened")},s("mds-filter-item",{key:"85e033c578dd050b5bf0a6407fd3a4836244bb17",selected:this.active,disabled:!this.active&&this.reset,class:o("reset-button",this.active&&"reset-button-opened"),icon:n,onClick:this.resetItems})))))}get element(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-filter-items-background-active:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-background:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--radius-full,1000px);--mds-filter-items-scroll-behavior:smooth;--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-06,158 158 158));--mds-filter-wrapper-shadow-opacity:.1}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-filter-items-scroll-behavior{syntax:"smooth|auto";inherits:false;initial-value:smooth}@property --mds-filter-wrapper-shadow-opacity{syntax:"<number>";inherits:false;initial-value:.1}:host{--mds-filter-items-background-active:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-background:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--radius-full,1000px);--mds-filter-items-scroll-behavior:smooth;--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-06,158 158 158));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color,rgb(var(--tone-neutral-06,158 158 158))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:calc(var(--spacing,.0025rem)*100);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--tone-neutral-09,76 76 76)));border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:background-color;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--radius-full,1000px));-webkit-box-shadow:var(--mds-filter-wrapper-shadow);box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--tone-neutral-09,76 76 76)))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{transform:scale(0);-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:transform;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(1)}:host-context(:root.pref-animation-reduce){--mds-filter-items-scroll-behavior:auto;transition-duration:0s}:is(:host-context(:root.pref-animation-reduce) .reset-button,:host-context(:root.pref-animation-reduce) .items){transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10,60 60 60));--mds-filter-items-background:rgb(var(--tone-neutral-09,76 76 76))}:host-context(:root.pref-contrast-more){--mds-filter-items-background-active:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-background:rgb(var(--tone-neutral-10,60 60 60));--mds-filter-wrapper-shadow-opacity:30%;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07,134 134 134));--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--tone-neutral-06,158 158 158))) inset}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-filter-items-scroll-behavior:auto;transition-duration:0s}:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .items,:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))) .reset-button{transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10,60 60 60));--mds-filter-items-background:rgb(var(--tone-neutral-09,76 76 76))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-filter-items-background-active:rgb(var(--tone-neutral-09,76 76 76));--mds-filter-items-background:rgb(var(--tone-neutral-10,60 60 60));--mds-filter-wrapper-shadow-opacity:30%;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07,134 134 134));--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--tone-neutral-06,158 158 158))) inset}}'}},[257,"mds-filter",{autoReset:[516,"auto-reset"],label:[1],multiple:[516],reset:[516],active:[32],itemsSelected:[32]},[[0,"mdsFilterItemSelect","activeEventHandler"]]]),p=c,b=function(){"undefined"!=typeof customElements&&["mds-filter","mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter":customElements.get(a(t))||customElements.define(a(t),c);break;case"mds-filter-item":customElements.get(a(t))||l();break;case"mds-icon":customElements.get(a(t))||d();break;case"mds-text":customElements.get(a(t))||m()}}))};export{p as MdsFilter,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as o,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as n}from"./mds-button2.js";import{d as i}from"./mds-icon2.js";import{d}from"./mds-spinner2.js";import{d as c}from"./mds-text2.js";const p=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.openedEvent=a(this,"mdsHeaderBarOpen",7),this.menu="mobile",this.nav="desktop",this.open=()=>{var e;this.isOpened=!0,this.openedEvent.emit(),null===(e=this.host.closest("mds-header"))||void 0===e||e.setOpened(!0)}}componentWillLoad(){this.hasNav=null!==this.host.querySelector(':scope > [slot="nav"]')}async setOpened(e=!0){this.isOpened=e}render(){return o(r,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as o,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d as n}from"./mds-button2.js";import{d as i}from"./mds-icon2.js";import{d}from"./mds-spinner2.js";import{d as c}from"./mds-text2.js";const p=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.openedEvent=a(this,"mdsHeaderBarOpen",7),this.menu="mobile",this.nav="desktop",this.open=()=>{var e;this.isOpened=!0,this.openedEvent.emit(),null===(e=this.host.closest("mds-header"))||void 0===e||e.setOpened(!0)}}componentWillLoad(){this.hasNav=null!==this.host.querySelector(':scope > [slot="nav"]')}async setOpened(e=!0){this.isOpened=e}render(){return o(r,{key:"6dd35a371fa5c356edb5f3dcdb3a7055ef59088b"},o("div",{key:"2550f4a19b20204359c89fc7ba4d352ccc7fae68",class:"content",part:"content"},o("div",{key:"41f1db71c01221c51e763d155ab701bd6c8ceb53",class:"logo"},o("slot",{key:"2dec39a7e14263b3c2af14d7bc2892355c369db7"})),o("div",{key:"4b2191c4b205abc0a56bab40d8266a81fcd5dcff",class:"actions",part:"actions"},"none"!==this.nav&&this.hasNav&&o("nav",{key:"e0211adaa22e20fdfc213db906577704b55d752c",class:"nav",part:"nav"},o("slot",{key:"bd5aab236894a32ee0a46c1fbeebfcc386214dc3",name:"nav"})),"none"!==this.menu&&o("mds-button",{key:"233bd731f391808dec162ff73cc9a1ed6453998f",class:"menu",variant:"dark",tone:"text",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>',onClick:this.open,part:"hamburger"}))))}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-03,233 233 233))}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-03,233 233 233));background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);interpolate-size:allow-keywords;display:flex;inset:0 0 auto;justify-content:center;margin-left:auto;margin-right:auto;max-width:100%;padding:calc(var(--spacing,.0025rem)*400) calc(var(--spacing,.0025rem)*600);position:fixed;transition-duration:.5s;transition-property:background-color,border-radius,margin,max-width,transform,width;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:auto;z-index:var(--mds-header-z-index,1000)}.logo{color:inherit;display:flex}.content{align-items:center;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;max-width:var(--breakpoint-wide,1280px)}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*600)}.nav{display:inline-flex;flex-shrink:0;gap:calc(var(--spacing,.0025rem)*400)}.menu{--mds-button-border-opacity:0;fill:var(--mds-header-bar-hamburger-color,rgb(var(--tone-neutral-03,233 233 233)));padding:0}.menu::part(icon){width:calc(var(--spacing,.0025rem)*800)}:host([menu=none]) .menu,:host([nav=none]) .nav{display:none}:host-context(:root.pref-animation-reduce){transition-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){background-color:rgb(var(--tone-neutral-10,60 60 60));-webkit-box-shadow:var(--shadow-outline),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}:host-context(:root.pref-contrast-more){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01,255 255 255));-webkit-box-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040);box-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}@media not all and (min-width:768px){:host([menu=desktop]) .menu,:host([nav=desktop]) .nav{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu,:host([nav=mobile]) .nav{display:none}}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral-10,60 60 60));-webkit-box-shadow:var(--shadow-outline),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-header-bar-hamburger-color:rgb(var(--tone-neutral-01,255 255 255));-webkit-box-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040);box-shadow:var(--shadow-outline-strong-50),var(--shadow-2xl,0 25px 50px -12px #00000040)}}"}},[257,"mds-header-bar",{menu:[513],nav:[513],isOpened:[32],setOpened:[64]}]),m=p,h=function(){"undefined"!=typeof customElements&&["mds-header-bar","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-header-bar":customElements.get(s(e))||customElements.define(s(e),p);break;case"mds-button":customElements.get(s(e))||n();break;case"mds-icon":customElements.get(s(e))||i();break;case"mds-spinner":customElements.get(s(e))||d();break;case"mds-text":customElements.get(s(e))||c()}}))};export{m as MdsHeaderBar,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as a,createEvent as t,h as r,Host as i,transformTag as s}from"@stencil/core/internal/client";import{d}from"./mds-button2.js";import{d as n}from"./mds-icon2.js";import{d as o}from"./mds-modal2.js";import{d as h}from"./mds-spinner2.js";import{d as l}from"./mds-text2.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closedEvent=t(this,"mdsHeaderClose",7),this.visibleEvent=t(this,"mdsHeaderVisibilityChange",7),this.relativeTresholdDown=0,this.relativePosition=0,this.relativeThresholdUp=0,this.sanitizedAppearance=["stripe"],this.appearanceThreshold=300,this.appearance="stripe",this.backdrop=!0,this.menu="mobile",this.nav="desktop",this.threshold=1,this.visibility="visible",this.mobileMenu=()=>this.host.querySelector(':scope > [slot="menu"]'),this.close=()=>{this.isOpened=!1,this.closedEvent.emit({bar:this.headerBar}),this.headerBar.setOpened(!1)},this.handleVisibility=()=>{if(this.autoHide){if(window.scrollY<this.autoHide)return this.visibility="visible",this.relativeThresholdUp=0,this.relativeTresholdDown=0,void(this.relativePosition=0);this.relativeTresholdDown-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=this.relativeTresholdDown),this.relativeThresholdUp-window.scrollY>=this.threshold&&(this.visibility="visible",this.relativeThresholdUp=window.scrollY,this.relativePosition=this.relativeThresholdUp),this.relativePosition<this.autoHide&&this.autoHide-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=this.autoHide),window.scrollY>this.relativeThresholdUp?this.relativeThresholdUp=window.scrollY:this.relativeTresholdDown=window.scrollY+this.threshold}},this.sanitizeAppearance=()=>{if(!this.appearanceSet)return[this.appearance];return this.appearanceSet.match(/\b(\w+)\b/g)||[this.appearance]},this.handleAppearance=()=>{var e,a;this.appearance=window.scrollY>=this.appearanceThreshold?null!==(e=this.sanitizedAppearance[1])&&void 0!==e?e:this.appearance:null!==(a=this.sanitizedAppearance[0])&&void 0!==a?a:this.appearance},this.handleScroll=()=>{"undefined"!=typeof window&&(this.autoHide&&this.handleVisibility(),this.sanitizedAppearance.length>1&&this.handleAppearance())},this.setAppearanceSetData=()=>{this.sanitizedAppearance=this.sanitizeAppearance(),this.sanitizedAppearance[2]&&(this.appearanceThreshold=this.sanitizedAppearance[2]),this.relativeTresholdDown=this.threshold},this.initScrollListener=()=>{window&&(this.setAppearanceSetData(),window.addEventListener("scroll",this.handleScroll))},this.defineHeaderBar=()=>{this.headerBar=this.host.querySelector("mds-header-bar")}}async setOpened(e=!0){this.isOpened=e}disconnectedCallback(){window&&window.removeEventListener("scroll",this.handleScroll)}componentWillLoad(){this.hasMenu=null!==this.mobileMenu(),this.onMenuChangedHandler(this.hasMenu?this.menu:"none")}componentDidLoad(){this.defineHeaderBar(),this.onMenuChangedHandler(this.menu),this.onNavChangedHandler(this.nav),this.initScrollListener()}onMenuChangedHandler(e,a){e!==a&&this.headerBar&&(this.headerBar.menu=e)}onNavChangedHandler(e,a){e!==a&&this.headerBar&&(this.headerBar.nav=e)}onAppearanceSetChangedHandler(){this.setAppearanceSetData()}handleVisibilityChange(e,a){e!==a&&this.visibleEvent.emit({visibility:e})}render(){return r(i,{key:"fd2460a71688aa65ee0565d4ecf6c214ca34154e"},this.backdrop&&r("div",{key:"de34fe54d6aad43628585406a5c2ab15e251ccd3",class:"backdrop"},r("div",{key:"7d41e6853fa34d662c00694a3e2ba5d6df72da9c",class:"backdrop-blur-item"}),r("div",{key:"b0d219348da5cfa1710b7b3ed5b2df9dfed06b03",class:"backdrop-blur-item"}),r("div",{key:"47ccf8c2aab974a3d3462b3b5eccab5c8099f4c5",class:"backdrop-blur-item"}),r("div",{key:"b269780c2cc42aee6a33cede54c4c804e72cf0d5",class:"backdrop-blur-item"}),r("div",{key:"eb1c837b9d6bef56c8573387a4e8f12eccab754f",class:"backdrop-blur-item"}),r("div",{key:"43debc4aa20f167259cb0e295abae91738f570ae",class:"backdrop-blur-item"}),r("div",{key:"aed859d7f13aeb1b39405809eebe298b0676b227",class:"backdrop-blur-item"}),r("div",{key:"132a2828e89e260ac0b2235cc936ee58f730c48a",class:"backdrop-blur-item"}),r("div",{key:"10f063695d84dc6e214983f1f4ebe013aca84902",class:"backdrop-blur-item"}),r("div",{key:"93aff2c4d086ffca321495b14aed16f4ff7f2b5c",class:"backdrop-blur-item"})),r("slot",{key:"417db97ad635f351dfb70b941a64fa3f8ad92064"}),this.hasMenu&&r("div",{key:"df98336788b29148338e6b29d5b724fe6feff822",class:"menu",part:"menu"},r("mds-modal",{key:"b08071d663840e750be9e11c78519a4c56183611",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},r("slot",{key:"1487f523e00deb9eb1c754eeb9c03fb4be22c5c0",name:"menu"}))))}get host(){return this}static get watchers(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-header-color:rgb(var(--tone-neutral-02,244 244 244));--mds-header-icon-color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-header-modal-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-backdrop-show:true;--mds-header-backdrop-blur-strength:2px}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-header-backdrop-show{syntax:"true|false";inherits:false;initial-value:true}@property --mds-header-backdrop-blur-strength{syntax:"<length>";inherits:false;initial-value:2px}:host{--mds-header-color:rgb(var(--tone-neutral-02,244 244 244));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-header-modal-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-header-backdrop-blur-strength:2px;--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(0deg,#0000,#00000026);--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));fill:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244))));position:relative;z-index:var(--mds-header-z-index,var(--magma-header-z-index,1000))}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--tone-neutral,0 0 0)));z-index:var(--mds-header-z-index,var(--magma-header-z-index,1000))}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--radius-lg,16px);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-stripe);transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-inline);transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:.2s;transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){:host-context(:not(.safari)) .backdrop{display:none}}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-header-modal-icon-color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-consumption-high) .backdrop{--mds-header-backdrop-background-image:none}:host-context(:root.pref-consumption-medium) .backdrop{--mds-header-backdrop-blur-strength:1px}:host-context(:root.pref-consumption-low) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-header-modal-icon-color:rgb(var(--tone-neutral-01,255 255 255))}}'}},[257,"mds-header",{appearance:[1537],appearanceSet:[513,"appearance-set"],autoHide:[514,"auto-hide"],backdrop:[516],menu:[513],nav:[513],threshold:[514],visibility:[1537],hasMenu:[32],isOpened:[32],setOpened:[64]},void 0,{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}]),m=c,b=function(){"undefined"!=typeof customElements&&["mds-header","mds-button","mds-icon","mds-modal","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-header":customElements.get(s(e))||customElements.define(s(e),c);break;case"mds-button":customElements.get(s(e))||d();break;case"mds-icon":customElements.get(s(e))||n();break;case"mds-modal":customElements.get(s(e))||o();break;case"mds-spinner":customElements.get(s(e))||h();break;case"mds-text":customElements.get(s(e))||l()}}))};export{m as MdsHeader,b as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as a,createEvent as t,h as i,Host as r,transformTag as s}from"@stencil/core/internal/client";import{d}from"./mds-button2.js";import{d as n}from"./mds-icon2.js";import{d as o}from"./mds-modal2.js";import{d as h}from"./mds-spinner2.js";import{d as c}from"./mds-text2.js";const l=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.closedEvent=t(this,"mdsHeaderClose",7),this.visibleEvent=t(this,"mdsHeaderVisibilityChange",7),this.relativeTresholdDown=0,this.relativePosition=0,this.relativeThresholdUp=0,this.sanitizedAppearance=["stripe"],this.appearanceThreshold=300,this.appearance="stripe",this.backdrop=!0,this.menu="mobile",this.nav="desktop",this.threshold=1,this.visibility="visible",this.mobileMenu=()=>this.host.querySelector(':scope > [slot="menu"]'),this.close=()=>{this.isOpened=!1,this.closedEvent.emit({bar:this.headerBar}),this.headerBar.setOpened(!1)},this.handleVisibility=()=>{if(void 0!==this.autoHide&&0!==this.autoHide&&!Number.isNaN(this.autoHide)){if(window.scrollY<this.autoHide)return this.visibility="visible",this.relativeThresholdUp=0,this.relativeTresholdDown=0,void(this.relativePosition=0);this.relativeTresholdDown-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=this.relativeTresholdDown),this.relativeThresholdUp-window.scrollY>=this.threshold&&(this.visibility="visible",this.relativeThresholdUp=window.scrollY,this.relativePosition=this.relativeThresholdUp),this.relativePosition<this.autoHide&&this.autoHide-window.scrollY<=0&&(this.visibility="hidden",this.relativePosition=this.autoHide),window.scrollY>this.relativeThresholdUp?this.relativeThresholdUp=window.scrollY:this.relativeTresholdDown=window.scrollY+this.threshold}},this.sanitizeAppearance=()=>{if(void 0===this.appearanceSet||""===this.appearanceSet)return[this.appearance];return this.appearanceSet.match(/\b(\w+)\b/g)||[this.appearance]},this.handleAppearance=()=>{var e,a;this.appearance=window.scrollY>=this.appearanceThreshold?null!==(e=this.sanitizedAppearance[1])&&void 0!==e?e:this.appearance:null!==(a=this.sanitizedAppearance[0])&&void 0!==a?a:this.appearance},this.handleScroll=()=>{"undefined"!=typeof window&&(void 0===this.autoHide||0===this.autoHide||Number.isNaN(this.autoHide)||this.handleVisibility(),this.sanitizedAppearance.length>1&&this.handleAppearance())},this.setAppearanceSetData=()=>{this.sanitizedAppearance=this.sanitizeAppearance(),void 0===this.sanitizedAppearance[2]||0===this.sanitizedAppearance[2]||Number.isNaN(this.sanitizedAppearance[2])||(this.appearanceThreshold=this.sanitizedAppearance[2]),this.relativeTresholdDown=this.threshold},this.initScrollListener=()=>{"undefined"!=typeof window&&(this.setAppearanceSetData(),window.addEventListener("scroll",this.handleScroll))},this.defineHeaderBar=()=>{this.headerBar=this.host.querySelector("mds-header-bar")}}async setOpened(e=!0){this.isOpened=e}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.handleScroll)}componentWillLoad(){this.hasMenu=null!==this.mobileMenu(),this.onMenuChangedHandler(this.hasMenu?this.menu:"none")}componentDidLoad(){this.defineHeaderBar(),this.onMenuChangedHandler(this.menu),this.onNavChangedHandler(this.nav),this.initScrollListener()}onMenuChangedHandler(e,a){e!==a&&null!=this.headerBar&&(this.headerBar.menu=e)}onNavChangedHandler(e,a){e!==a&&null!=this.headerBar&&(this.headerBar.nav=e)}onAppearanceSetChangedHandler(){this.setAppearanceSetData()}handleVisibilityChange(e,a){e!==a&&this.visibleEvent.emit({visibility:e})}render(){return i(r,{key:"5128bc6c966e7953efd8e10ccc5bc50f17d75acd"},this.backdrop&&i("div",{key:"9e56e7cf2a7a35b64e420379075a4927a261a0fe",class:"backdrop"},i("div",{key:"0a6ccef3d03db7c08e3b73435413ca504833b12b",class:"backdrop-blur-item"}),i("div",{key:"22c1a00aed263989d6e89a0daad5e0840fc2260d",class:"backdrop-blur-item"}),i("div",{key:"4aba0c1c47f43f9a86e87884b8561c29b5564dc2",class:"backdrop-blur-item"}),i("div",{key:"d43b86f9910d0d5542b9ed7aa49b5f251ad2a466",class:"backdrop-blur-item"}),i("div",{key:"e1e77b70063e61209c839930017df200b91b6cae",class:"backdrop-blur-item"}),i("div",{key:"fa60a8e58b29cc60fc95c89ecd47db0905fd9aac",class:"backdrop-blur-item"}),i("div",{key:"018ca6f46a7155c50cd3146ad703b941773b9214",class:"backdrop-blur-item"}),i("div",{key:"b8eb26d49714c5e9d0df3486eafcea46a36a792e",class:"backdrop-blur-item"}),i("div",{key:"b68ffd1fea3ecaa1489324e1807e0b8192181362",class:"backdrop-blur-item"}),i("div",{key:"bf1a1fe44c9a8b3a90d0c8b325c2001c0af2cbb0",class:"backdrop-blur-item"})),i("slot",{key:"b457cbe705c13f1d4bd48b562417bdb8cc332ae5"}),this.hasMenu&&i("div",{key:"1cd40f7e1c4dd6a3c26a6277a7ac3256f2a39b2b",class:"menu",part:"menu"},i("mds-modal",{key:"1568c0f8f76b2fa48bffa6b2b30fcd0caad6e845",class:"modal",opened:this.isOpened,onMdsModalClose:this.close,position:"right"},i("slot",{key:"b571fcaeef6763648a17ba8344522961b4f68994",name:"menu"}))))}get host(){return this}static get watchers(){return{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-header-color:rgb(var(--tone-neutral-02,244 244 244));--mds-header-icon-color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-header-modal-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-backdrop-show:true;--mds-header-backdrop-blur-strength:2px}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-modal:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-header-backdrop-show{syntax:"true|false";inherits:false;initial-value:true}@property --mds-header-backdrop-blur-strength{syntax:"<length>";inherits:false;initial-value:2px}:host{--mds-header-color:rgb(var(--tone-neutral-02,244 244 244));--mds-header-hidden-bar-translate-inline:translateY(-150%);--mds-header-hidden-bar-translate-stripe:translateY(-110%);--mds-header-icon-color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-header-modal-icon-color:rgb(var(--tone-neutral,0 0 0));--mds-header-backdrop-blur-strength:2px;--mds-header-backdrop-height:calc(var(--spacing,.0025rem)*1600);--mds-header-backdrop-show:true;--mds-header-z-index:var(--magma-header-z-index,1000);--mds-header-inline-margin-mobile:calc(var(--spacing,.0025rem)*400);--mds-header-inline-margin:calc(var(--spacing,.0025rem)*600);--mds-header-backdrop-background-image:linear-gradient(0deg,#0000,#00000026);--private-mask-opacity:1;color:var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244)));fill:var(--mds-header-icon-color,var(--mds-header-color,rgb(var(--tone-neutral-02,244 244 244))));position:relative;z-index:var(--mds-header-z-index,var(--magma-header-z-index,1000))}.modal{--mds-modal-close-icon-color:var(--mds-header-modal-icon-color,rgb(var(--tone-neutral,0 0 0)));z-index:var(--mds-header-z-index,var(--magma-header-z-index,1000))}:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin,calc(var(--spacing,.0025rem)*600));border-radius:var(--radius-lg,16px);margin-bottom:var(--mds-header-inline-margin-current);margin-top:var(--mds-header-inline-margin-current);max-width:var(--breakpoint-wide,1280px);width:calc(100% - var(--mds-header-inline-margin-current)*2)}:host([menu=none]) .menu{display:none}:host([visibility=hidden][appearance=stripe]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-stripe);transform:var(--mds-header-hidden-bar-translate-stripe)}:host([visibility=hidden][appearance=inline]) ::slotted(mds-header-bar){-webkit-transform:var(--mds-header-hidden-bar-translate-inline);transform:var(--mds-header-hidden-bar-translate-inline)}.backdrop{align-items:center;-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,10px));background-image:var(--mds-header-backdrop-background-image);content:"";display:flex;height:var(--mds-header-backdrop-height,calc(var(--spacing,.0025rem)*1600));inset:0;opacity:1;position:fixed;transform:translate(0);transition-duration:.2s;transition-property:opacity,transform;width:100%}.backdrop-blur-item{--private-gradient-position:calc(100% - (sibling-count() - sibling-index())*5%);display:none}.backdrop-blur-item:first-child{--private-gradient-position:100%}.backdrop-blur-item:nth-child(2){--private-gradient-position:95%}.backdrop-blur-item:nth-child(3){--private-gradient-position:90%}.backdrop-blur-item:nth-child(4){--private-gradient-position:85%}.backdrop-blur-item:nth-child(5){--private-gradient-position:80%}.backdrop-blur-item:nth-child(6){--private-gradient-position:75%}.backdrop-blur-item:nth-child(7){--private-gradient-position:70%}.backdrop-blur-item:nth-child(8){--private-gradient-position:65%}.backdrop-blur-item:nth-child(9){--private-gradient-position:60%}.backdrop-blur-item:nth-child(10){--private-gradient-position:55%}.backdrop-blur-item:nth-child(11){--private-gradient-position:50%}@supports ((-webkit-mask-image:linear-gradient(rgb(0 0 0/1),transparent)) or (mask-image:linear-gradient(rgb(0 0 0/1),transparent))){.backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none}.backdrop-blur-item{-webkit-backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));backdrop-filter:blur(var(--mds-header-backdrop-blur-strength,1px));display:flex;inset:0;-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));mask-image:-webkit-gradient(linear,left top,left bottom,color-stop(40%,rgb(0 0 0/var(--private-mask-opacity,1))),to(#0000));-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));mask-image:linear-gradient(to bottom,rgb(0 0 0/var(--private-mask-opacity,1)) 40%,#0000 var(--private-gradient-position,100%));pointer-events:none;position:absolute}}:host([appearance=inline]) .backdrop{transform:translate(0)}:host([appearance=stripe]) .backdrop,:host([visibility=hidden]) .backdrop{--mds-header-backdrop-blur-strength:0px;transform:translateY(-100%)}@container style(--mds-header-backdrop-show:false){:host-context(:not(.safari)) .backdrop{display:none}}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-header-modal-icon-color:rgb(var(--tone-neutral-01,255 255 255))}:host-context(:root.pref-consumption-high) .backdrop{--mds-header-backdrop-background-image:none}:host-context(:root.pref-consumption-medium) .backdrop{--mds-header-backdrop-blur-strength:1px}:host-context(:root.pref-consumption-low) .backdrop{--mds-header-backdrop-blur-strength:0px;display:none}@media (max-width:767px){:host([appearance=inline]) ::slotted(mds-header-bar){--mds-header-inline-margin-current:var(--mds-header-inline-margin-mobile,calc(var(--spacing,.0025rem)*400))}}@media not all and (min-width:768px){:host([menu=desktop]) .menu{display:none}}@media (min-width:1024px){:host([menu=mobile]) .menu{display:none}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-header-modal-icon-color:rgb(var(--tone-neutral-01,255 255 255))}}'}},[257,"mds-header",{appearance:[1537],appearanceSet:[513,"appearance-set"],autoHide:[514,"auto-hide"],backdrop:[516],menu:[513],nav:[513],threshold:[514],visibility:[1537],hasMenu:[32],isOpened:[32],setOpened:[64]},void 0,{menu:[{onMenuChangedHandler:0}],nav:[{onNavChangedHandler:0}],appearanceSet:[{onAppearanceSetChangedHandler:0}],visibility:[{handleVisibilityChange:0}]}]),m=l,b=function(){"undefined"!=typeof customElements&&["mds-header","mds-button","mds-icon","mds-modal","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-header":customElements.get(s(e))||customElements.define(s(e),l);break;case"mds-button":customElements.get(s(e))||d();break;case"mds-icon":customElements.get(s(e))||n();break;case"mds-modal":customElements.get(s(e))||o();break;case"mds-spinner":customElements.get(s(e))||h();break;case"mds-text":customElements.get(s(e))||c()}}))};export{m as MdsHeader,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as o}from"@stencil/core/internal/client";import{d as a}from"./mds-icon2.js";import{d as n}from"./mds-text2.js";import{d as r}from"./mds-tooltip2.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.autoPlacement=!0,this.placement="top"}render(){var e;return i(s,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as o}from"@stencil/core/internal/client";import{d as a}from"./mds-icon2.js";import{d as n}from"./mds-text2.js";import{d as r}from"./mds-tooltip2.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.autoPlacement=!0,this.placement="top"}render(){var e;return i(s,{key:"a72b1f2f02ef754022738d9ae5d8f3351541eb06"},i("mds-icon",{key:"c0f180c4abe2c5d3c4e512e14f9761aa36906f4f",class:"icon",name:null!==(e=this.icon)&&void 0!==e?e:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5c0-2.21-1.79-4-4-4z"/></svg>',part:"icon"}),i("mds-tooltip",{key:"c08d15295a145809f35aab2d7f198aa71476ee91",placement:this.placement,autoPlacement:this.autoPlacement,strategy:"absolute",target:".icon"},i("slot",{key:"d3dd10afd797f2079896589da73615fb97dc3d6e"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-help-tooltip-max-width:300px;--mds-help-tooltip-min-width:200px;--mds-help-tooltip-delay:.25s}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-help-tooltip-max-width{syntax:"<length>";inherits:false;initial-value:300px}@property --mds-help-tooltip-min-width{syntax:"<length>";inherits:false;initial-value:200px}@property --mds-help-tooltip-delay{syntax:"<time>";inherits:false;initial-value:.25s}:host{--mds-help-tooltip-width:fit-content;--mds-help-tooltip-max-width:300px;--mds-help-tooltip-min-width:200px;--mds-help-tooltip-delay:.25s;color:rgb(var(--tone-neutral-03,233 233 233));cursor:help;display:inline-flex;fill:currentColor;height:calc(var(--spacing,.0025rem)*400);justify-content:flex-start;margin-left:calc(var(--spacing,.0025rem)*100);overflow:visible;position:relative;width:calc(var(--spacing,.0025rem)*400)}i{display:flex}i svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}mds-tooltip{--mds-tooltip-delay:var(--mds-help-tooltip-delay,.25s);max-width:var(--mds-help-tooltip-max-width,300px);min-width:var(--mds-help-tooltip-min-width,200px)}mds-tooltip::part(text){max-width:var(--mds-help-tooltip-max-width,300px);min-width:var(--mds-help-tooltip-width);width:var(--mds-help-tooltip-width)}i,mds-icon{fill:inherit;height:inherit;width:inherit}'}},[257,"mds-help",{icon:[1],autoPlacement:[516,"auto-placement"],placement:[513]}]);function d(){"undefined"!=typeof customElements&&["mds-help","mds-icon","mds-text","mds-tooltip"].forEach((e=>{switch(e){case"mds-help":customElements.get(o(e))||customElements.define(o(e),l);break;case"mds-icon":customElements.get(o(e))||a();break;case"mds-text":customElements.get(o(e))||n();break;case"mds-tooltip":customElements.get(o(e))||r()}}))}export{l as M,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as t,h as a,Host as r,transformTag as s}from"@stencil/core/internal/client";import{m as i}from"./arrow-back.js";import{m as n}from"./arrow-forward.js";import{c as l}from"./clsx.js";import{a as e}from"./unit.js";import{d as c}from"./mds-button2.js";import{d}from"./mds-icon2.js";import{d as h}from"./mds-spinner2.js";import{d as m}from"./mds-text2.js";const p=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.hasCompatibility=!0,this.showForward=!0,this.showBack=!1,this.controls="desktop",this.navigation="position",this.snap="start",this.updateElements=()=>{var o,t;this.elements=null===(t=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes()},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const o=window.getComputedStyle(this.host);this.scrollGap=e(o.getPropertyValue("--mds-horizontal-scroll-gap"))},this.isInViewport=o=>{if(!this.contents)return!1;const t=this.spacer.offsetWidth+this.scrollGap,a=o.getBoundingClientRect(),r=this.contents.getBoundingClientRect();return a.top>=0&&a.left>=t&&a.bottom<=r.height&&a.right<=r.width-2*t},this.checkNavigationButtons=()=>{if(!this.elements)throw Error("No elements slotted to the component");this.showBack=!0,this.showForward=!0,this.elements.forEach(((o,t)=>{0===t&&this.isInViewport(o)&&(this.showBack=!1),this.elements.length-1===t&&this.isInViewport(o)&&(this.showForward=!1)}))},this.moveBack=()=>{if(!this.elements)throw Error("No elements slotted to the component");let o,t,a=0;this.elements.forEach(((r,s)=>{this.isInViewport(r)&&(o||(a=s,o=r),t=r)})),this.elements.forEach(((r,s)=>{this.isInViewport(r)||s!==a-1||void 0===o||void 0===t||(this.contents.scrollLeft=this.contents.scrollLeft+r.offsetLeft-t.offsetLeft-o.offsetWidth-this.scrollGap)}))},this.moveForward=()=>{if(!this.elements)throw Error("No elements slotted to the component");let o=!0;this.elements.forEach((t=>{this.isInViewport(t)||t.offsetLeft>this.contents.scrollLeft&&o&&(o=!1,this.lastElementOffsetLeft=t.offsetLeft,this.contents.scrollLeft=this.lastElementOffsetLeft)}))},this.translateNavigationDot=()=>{if(!(this.elements&&this.contents&&this.navigationDot&&this.navigationDots))return void console.error("mds-horizontal-scroll.translateNavigationDot: One of the shadowRoot elements is missing.");const{scrollLeft:o,scrollWidth:t,offsetWidth:a}=this.contents,r=window.getComputedStyle(this.navigationDots);0!==a&&0!==t?this.navigationDot.style.transform=`translateX(${o/(t-a)*(this.navigationDots.offsetWidth-(parseFloat(r.paddingLeft)||0)-(parseFloat(r.paddingRight)||0)-this.navigationDot.offsetWidth)}px)`:console.error("mds-horizontal-scroll.translateNavigationDot: offsetWidth or scrollWidth is 0, impossible to calculate position")},this.updateNavigationDotSize=()=>{if(!this.contents||!this.navigationDot||!this.navigationDots)return void console.error("mds-horizontal-scroll.updateNavigationDotSize: One of the shadowRoot elements is missing.");const{scrollWidth:o,offsetWidth:t}=this.contents,a=this.navigationDots.offsetWidth;this.navigationDot.style.width=o<=t?a+"px":t/o*a+"px"},this.addNavigationDots=()=>{var o,t;this.contents.removeEventListener("scroll",this.translateNavigationDot),this.navigationDot=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".dot"),this.navigationDots=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".dot-navigation"),this.updateNavigationDotSize(),this.navigationDot&&this.contents.addEventListener("scroll",this.translateNavigationDot)}}watchNavigation(o){"position"===o&&this.addNavigationDots()}componentWillLoad(){this.updateCSSCustomProps()}componentDidLoad(){var o,t;this.contents=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".contents"),this.spacer=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".spacer"),"position"===this.navigation&&this.addNavigationDots(),window&&void 0!==window.onscrollend?this.contents.addEventListener("scrollend",this.checkNavigationButtons):this.controls&&(this.controls=void 0)}disconnectedCallback(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons),this.contents.removeEventListener("scroll",this.translateNavigationDot)}render(){return a(r,{key:"4520b825ea6fcd3dce1f0207e03c3c434e6ea96a"},a("div",{key:"203d92b0b3b850b4bad295682e3f769d6dfd03ba",class:"contents",part:"content"},a("div",{key:"78a013d06726742419fbd61eea9c568cb0f8a649",class:"spacer"}),a("slot",{key:"1ae791267b68c05f2ea1ed218624e4bc600f927e",onSlotchange:this.updateElements}),a("div",{key:"bbb1876c42feecbf622c8ae740e4ae1a88ffb247",class:"spacer"})),a("div",{key:"04b7204347fe8101dfa8ac2ba3b57ae8c2e4e631",class:"dot-navigation"},a("div",{key:"b37d218d314c67b9cc28cd5800987d1803f88e8e",class:"dot"})),this.controls&&"none"!==this.controls&&a("mds-button",{key:"57061c22ce779c72d2655925b79507a29bfdc69f",onClick:this.moveBack,size:"lg",class:l("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:i}),this.controls&&"none"!==this.controls&&a("mds-button",{key:"64a0806aedb65a722378e3b8081e7dc2a5be915d",onClick:this.moveForward,size:"lg",class:l("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:n}))}get host(){return this}static get watchers(){return{navigation:[{watchNavigation:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-background:rgb(var(--tone-neutral,0 0 0));--mds-horizontal-scroll-dot-area-background:rgb(var(--tone-neutral-08,107 107 107));--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--tone-neutral-02,244 244 244)/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158)/.3)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-horizontal-scroll-scrollbar-margin{syntax:"<length>";inherits:false;initial-value:0}@property --mds-horizontal-scroll-scrollbar-radius{syntax:"<length>";inherits:false;initial-value:0}:host{--mds-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--tone-neutral,0 0 0));--mds-horizontal-scroll-dot-area-background:rgb(var(--tone-neutral-08,107 107 107));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--tone-neutral-02,244 244 244)/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158)/.3);--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:1000px;display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.2s;transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}:host-context(:root.pref-animation-reduce){--mds-horizontal-scroll-behavior:auto}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:200px;display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--tone-neutral,0 0 0)));border-radius:200px;height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:.3s;transition-property:width;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--tone-neutral-06,158 158 158)/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--tone-neutral-02,244 244 244)/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--tone-neutral-02,244 244 244)/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--tone-neutral-06,158 158 158)/.3));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}'}},[257,"mds-horizontal-scroll",{controls:[1537],navigation:[513],snap:[513],hasCompatibility:[32],showForward:[32],showBack:[32]},void 0,{navigation:[{watchNavigation:0}]}]),v=p,g=function(){"undefined"!=typeof customElements&&["mds-horizontal-scroll","mds-button","mds-icon","mds-spinner","mds-text"].forEach((o=>{switch(o){case"mds-horizontal-scroll":customElements.get(s(o))||customElements.define(s(o),p);break;case"mds-button":customElements.get(s(o))||c();break;case"mds-icon":customElements.get(s(o))||d();break;case"mds-spinner":customElements.get(s(o))||h();break;case"mds-text":customElements.get(s(o))||m()}}))};export{v as MdsHorizontalScroll,g as defineCustomElement}
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as t,h as a,Host as r,transformTag as s}from"@stencil/core/internal/client";import{m as i}from"./arrow-back.js";import{m as l}from"./arrow-forward.js";import{c as n}from"./clsx.js";import{a as e}from"./unit.js";import{d as c}from"./mds-button2.js";import{d}from"./mds-icon2.js";import{d as h}from"./mds-spinner2.js";import{d as m}from"./mds-text2.js";const p=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.hasCompatibility=!0,this.showForward=!0,this.showBack=!1,this.controls="desktop",this.navigation="position",this.snap="start",this.updateElements=()=>{var o,t;this.elements=null===(t=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes()},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const o=window.getComputedStyle(this.host);this.scrollGap=e(o.getPropertyValue("--mds-horizontal-scroll-gap"))},this.isInViewport=o=>{if(null==this.contents)return!1;const t=this.spacer.offsetWidth+this.scrollGap,a=o.getBoundingClientRect(),r=this.contents.getBoundingClientRect();return a.top>=0&&a.left>=t&&a.bottom<=r.height&&a.right<=r.width-2*t},this.checkNavigationButtons=()=>{if(null==this.elements)throw Error("No elements slotted to the component");this.showBack=!0,this.showForward=!0,this.elements.forEach(((o,t)=>{0===t&&this.isInViewport(o)&&(this.showBack=!1),this.elements.length-1===t&&this.isInViewport(o)&&(this.showForward=!1)}))},this.moveBack=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let o,t,a=0;this.elements.forEach(((r,s)=>{this.isInViewport(r)&&(o||(a=s,o=r),t=r)})),this.elements.forEach(((r,s)=>{this.isInViewport(r)||s!==a-1||void 0===o||void 0===t||(this.contents.scrollLeft=this.contents.scrollLeft+r.offsetLeft-t.offsetLeft-o.offsetWidth-this.scrollGap)}))},this.moveForward=()=>{if(null==this.elements)throw Error("No elements slotted to the component");let o=!0;this.elements.forEach((t=>{this.isInViewport(t)||t.offsetLeft>this.contents.scrollLeft&&o&&(o=!1,this.lastElementOffsetLeft=t.offsetLeft,this.contents.scrollLeft=this.lastElementOffsetLeft)}))},this.translateNavigationDot=()=>{if(null==this.elements||null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.translateNavigationDot: One of the shadowRoot elements is missing.");const{scrollLeft:o,scrollWidth:t,offsetWidth:a}=this.contents,r=window.getComputedStyle(this.navigationDots);0!==a&&0!==t?this.navigationDot.style.transform=`translateX(${o/(t-a)*(this.navigationDots.offsetWidth-(parseFloat(r.paddingLeft)||0)-(parseFloat(r.paddingRight)||0)-this.navigationDot.offsetWidth)}px)`:console.error("mds-horizontal-scroll.translateNavigationDot: offsetWidth or scrollWidth is 0, impossible to calculate position")},this.updateNavigationDotSize=()=>{if(null==this.contents||null==this.navigationDot||null==this.navigationDots)return void console.error("mds-horizontal-scroll.updateNavigationDotSize: One of the shadowRoot elements is missing.");const{scrollWidth:o,offsetWidth:t}=this.contents,a=this.navigationDots.offsetWidth;this.navigationDot.style.width=o<=t?a+"px":t/o*a+"px"},this.addNavigationDots=()=>{var o,t;this.contents.removeEventListener("scroll",this.translateNavigationDot),this.navigationDot=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".dot"),this.navigationDots=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".dot-navigation"),this.updateNavigationDotSize(),null!=this.navigationDot&&this.contents.addEventListener("scroll",this.translateNavigationDot)}}watchNavigation(o){"position"===o&&this.addNavigationDots()}componentWillLoad(){this.updateCSSCustomProps()}componentDidLoad(){var o,t;this.contents=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".contents"),this.spacer=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".spacer"),"position"===this.navigation&&this.addNavigationDots(),window&&void 0!==window.onscrollend?this.contents.addEventListener("scrollend",this.checkNavigationButtons):void 0!==this.controls&&(this.controls=void 0)}disconnectedCallback(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons),this.contents.removeEventListener("scroll",this.translateNavigationDot)}render(){return a(r,{key:"636ebfd9eac9424b06093ee2990a434519af154c"},a("div",{key:"0828132e0a00ff2d72ace5806d1cc07a8f7f3335",class:"contents",part:"content"},a("div",{key:"e1156c7aeeb7da48b55864ee35a7b54cdebce1e3",class:"spacer"}),a("slot",{key:"91c97d1e9c9477b07476cdf7c5b8f77df2d4dcf0",onSlotchange:this.updateElements}),a("div",{key:"8b02b270ebad91c7fe56315132200c43d96f4a77",class:"spacer"})),a("div",{key:"5ed9c9ced06458f9aa4796a6182a7ae6746ed3fb",class:"dot-navigation"},a("div",{key:"778f7543ac11b70fad1169b6cbd05732d5fbabc2",class:"dot"})),this.controls&&"none"!==this.controls&&a("mds-button",{key:"63d99a5cbd4cb64a42c68a4ef4d1cae5a768c377",onClick:this.moveBack,size:"lg",class:n("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:i}),this.controls&&"none"!==this.controls&&a("mds-button",{key:"4874cc67646aac477e164df8b1078ad3f631bab4",onClick:this.moveForward,size:"lg",class:n("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:l}))}get host(){return this}static get watchers(){return{navigation:[{watchNavigation:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-background:rgb(var(--tone-neutral,0 0 0));--mds-horizontal-scroll-dot-area-background:rgb(var(--tone-neutral-08,107 107 107));--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--tone-neutral-02,244 244 244)/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158)/.3)}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-horizontal-scroll-scrollbar-margin{syntax:"<length>";inherits:false;initial-value:0}@property --mds-horizontal-scroll-scrollbar-radius{syntax:"<length>";inherits:false;initial-value:0}:host{--mds-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--tone-neutral,0 0 0));--mds-horizontal-scroll-dot-area-background:rgb(var(--tone-neutral-08,107 107 107));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--tone-neutral-02,244 244 244)/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158)/.3);--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:1000px;display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.2s;transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}:host-context(:root.pref-animation-reduce){--mds-horizontal-scroll-behavior:auto}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:200px;display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--tone-neutral,0 0 0)));border-radius:200px;height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:.3s;transition-property:width;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--tone-neutral-06,158 158 158)/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--tone-neutral-02,244 244 244)/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--tone-neutral-02,244 244 244)/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--tone-neutral-06,158 158 158)/.3));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}'}},[257,"mds-horizontal-scroll",{controls:[1537],navigation:[513],snap:[513],hasCompatibility:[32],showForward:[32],showBack:[32]},void 0,{navigation:[{watchNavigation:0}]}]),v=p,g=function(){"undefined"!=typeof customElements&&["mds-horizontal-scroll","mds-button","mds-icon","mds-spinner","mds-text"].forEach((o=>{switch(o){case"mds-horizontal-scroll":customElements.get(s(o))||customElements.define(s(o),p);break;case"mds-button":customElements.get(s(o))||c();break;case"mds-icon":customElements.get(s(o))||d();break;case"mds-spinner":customElements.get(s(o))||h();break;case"mds-text":customElements.get(s(o))||m()}}))};export{v as MdsHorizontalScroll,g as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,h as o,Host as r,transformTag as s}from"@stencil/core/internal/client";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return o(r,{key:"
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,h as o,Host as r,transformTag as s}from"@stencil/core/internal/client";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return o(r,{key:"c58a2de198d533e91d8bd077c444e0744933c25a"})}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:rgb(var(--tone-neutral-08,107 107 107));border:0;border-radius:1000px;display:flex;height:1px;width:100%}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){background-color:rgb(var(--tone-neutral-07,134 134 134))}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral-07,134 134 134))}}"}},[1,"mds-hr"]),i=n,a=function(){"undefined"!=typeof customElements&&["mds-hr"].forEach((e=>{"mds-hr"===e&&(customElements.get(s(e))||customElements.define(s(e),n))}))};export{i as MdsHr,a as defineCustomElement}
|