@maggioli-design-system/magma 1.10.4 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
- package/dist/cjs/mds-entity.cjs.entry.js +4 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
- package/dist/cjs/mds-file.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +6 -4
- package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-upload.cjs.entry.js +3 -3
- package/dist/cjs/mds-input.cjs.entry.js +20 -13
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
- package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +1 -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 +2 -2
- package/dist/cjs/mds-note.cjs.entry.js +1 -1
- package/dist/cjs/mds-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +6 -6
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +1 -1
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
- 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 +1 -1
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
- package/dist/cjs/mds-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-text.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +3 -3
- package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree.cjs.entry.js +1 -1
- package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
- package/dist/cjs/mds-usage.cjs.entry.js +1 -1
- package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
- package/dist/cjs/mds-zero.cjs.entry.js +1 -1
- package/dist/collection/components/mds-details/mds-details.js +3 -1
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/mds-entity.js +4 -4
- package/dist/collection/components/mds-file/mds-file.js +3 -3
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-header/mds-header.js +2 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +3 -3
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-input/mds-input.js +21 -15
- package/dist/collection/components/mds-input-date/mds-input-date.js +6 -4
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +7 -7
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +3 -3
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +2 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -2
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +3 -3
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -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 +6 -6
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -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 +2 -2
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.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 +1 -1
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/mds-tab.js +3 -3
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/mds-table-header.js +2 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/mds-table-row.js +6 -6
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/mds-toast.js +3 -3
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +3 -3
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown2.js +2 -2
- package/dist/components/mds-emoji.js +1 -1
- package/dist/components/mds-entity.js +4 -4
- package/dist/components/mds-file-preview2.js +2 -2
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item2.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +3 -3
- package/dist/components/mds-header.js +2 -2
- 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-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date.js +6 -4
- 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 +2 -2
- package/dist/components/mds-input-switch2.js +2 -2
- package/dist/components/mds-input-tip-item2.js +7 -7
- package/dist/components/mds-input-tip2.js +1 -1
- package/dist/components/mds-input-upload.js +3 -3
- package/dist/components/mds-input2.js +20 -14
- package/dist/components/mds-keyboard-key.js +2 -2
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.js +3 -3
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +6 -6
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +2 -2
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +2 -2
- package/dist/components/mds-price-table-list.js +2 -2
- 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 +2 -2
- 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-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 +3 -3
- 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 +2 -2
- package/dist/components/mds-table-row.js +6 -6
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text2.js +1 -1
- package/dist/components/mds-toast.js +3 -3
- 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 +3 -3
- package/dist/components/mds-zero.js +1 -1
- package/dist/documentation.json +14 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +2 -2
- package/dist/esm/mds-emoji.entry.js +1 -1
- package/dist/esm/mds-entity.entry.js +4 -4
- package/dist/esm/mds-file-preview.entry.js +2 -2
- package/dist/esm/mds-file.entry.js +3 -3
- package/dist/esm/mds-filter-item.entry.js +1 -1
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +6 -4
- package/dist/esm/mds-input-field.entry.js +1 -1
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +2 -2
- package/dist/esm/mds-input-switch_2.entry.js +3 -3
- package/dist/esm/mds-input-tip_2.entry.js +8 -8
- package/dist/esm/mds-input-upload.entry.js +3 -3
- package/dist/esm/mds-input.entry.js +20 -13
- package/dist/esm/mds-keyboard-key.entry.js +2 -2
- package/dist/esm/mds-keyboard.entry.js +1 -1
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +1 -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 +2 -2
- package/dist/esm/mds-note.entry.js +1 -1
- package/dist/esm/mds-notification.entry.js +1 -1
- package/dist/esm/mds-paginator-item.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +1 -1
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-theme.entry.js +3 -3
- package/dist/esm/mds-pref.entry.js +1 -1
- package/dist/esm/mds-price-table-features-cell.entry.js +6 -6
- package/dist/esm/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress.entry.js +1 -1
- package/dist/esm/mds-push-notification-item.entry.js +2 -2
- package/dist/esm/mds-push-notification.entry.js +1 -1
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +1 -1
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +1 -1
- package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +1 -1
- package/dist/esm/mds-tab-bar.entry.js +1 -1
- package/dist/esm/mds-tab_2.entry.js +4 -4
- 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 +1 -1
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +6 -6
- package/dist/esm/mds-table.entry.js +1 -1
- package/dist/esm/mds-text.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +3 -3
- package/dist/esm/mds-tooltip.entry.js +1 -1
- package/dist/esm/mds-tree-item.entry.js +1 -1
- package/dist/esm/mds-tree.entry.js +1 -1
- package/dist/esm/mds-url-view.entry.js +1 -1
- package/dist/esm/mds-usage.entry.js +1 -1
- package/dist/esm/mds-video-wall.entry.js +3 -3
- package/dist/esm/mds-zero.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.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-input-date-range-preselection.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.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.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 +157 -147
- package/dist/hydrate/index.mjs +157 -147
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-358ede7f.system.entry.js → p-0209458d.system.entry.js} +1 -1
- package/dist/magma-components/{p-7f71e011.system.entry.js → p-0268399c.system.entry.js} +1 -1
- package/dist/magma-components/{p-ee5a1a73.entry.js → p-033e85f1.entry.js} +1 -1
- package/dist/magma-components/{p-144204e1.entry.js → p-03c4d4d0.entry.js} +1 -1
- package/dist/magma-components/{p-6c0bb0ac.system.entry.js → p-03f3d633.system.entry.js} +1 -1
- package/dist/magma-components/{p-4fe78b18.system.entry.js → p-045996f1.system.entry.js} +1 -1
- package/dist/magma-components/{p-862d6e7b.system.entry.js → p-07d9296f.system.entry.js} +1 -1
- package/dist/magma-components/{p-cf09a880.entry.js → p-09214e85.entry.js} +1 -1
- package/dist/magma-components/{p-62326013.entry.js → p-0aa20ace.entry.js} +1 -1
- package/dist/magma-components/{p-717e04fe.entry.js → p-0de04a54.entry.js} +1 -1
- package/dist/magma-components/{p-7bd9cd6d.entry.js → p-11894cd6.entry.js} +1 -1
- package/dist/magma-components/{p-00aa638c.entry.js → p-1357907e.entry.js} +1 -1
- package/dist/magma-components/{p-35025ff8.system.entry.js → p-164c5840.system.entry.js} +1 -1
- package/dist/magma-components/{p-05577b4d.entry.js → p-167ff611.entry.js} +1 -1
- package/dist/magma-components/{p-92f2ae1b.entry.js → p-17c05a6e.entry.js} +1 -1
- package/dist/magma-components/{p-89146878.entry.js → p-17c957a3.entry.js} +1 -1
- package/dist/magma-components/{p-006e893f.system.entry.js → p-19b97678.system.entry.js} +1 -1
- package/dist/magma-components/{p-639b3f08.system.entry.js → p-1a321eff.system.entry.js} +1 -1
- package/dist/magma-components/{p-0afb679d.system.entry.js → p-1a8d42d1.system.entry.js} +1 -1
- package/dist/magma-components/{p-001cc260.system.entry.js → p-1bb63c72.system.entry.js} +1 -1
- package/dist/magma-components/{p-edd2b0d3.system.entry.js → p-1c2b1a44.system.entry.js} +1 -1
- package/dist/magma-components/{p-13ffe71c.entry.js → p-1c7891bd.entry.js} +1 -1
- package/dist/magma-components/{p-b0ef86f1.system.entry.js → p-1e686661.system.entry.js} +1 -1
- package/dist/magma-components/{p-09d10951.system.entry.js → p-1f8da1ff.system.entry.js} +1 -1
- package/dist/magma-components/{p-b35bd860.entry.js → p-21699215.entry.js} +1 -1
- package/dist/magma-components/{p-84d8bbe2.entry.js → p-21a5eeae.entry.js} +1 -1
- package/dist/magma-components/{p-dd08e161.entry.js → p-21adef65.entry.js} +1 -1
- package/dist/magma-components/{p-6eab68f2.system.entry.js → p-22b971a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-471e1ac0.entry.js → p-250aa238.entry.js} +1 -1
- package/dist/magma-components/{p-d50398c7.entry.js → p-264b37df.entry.js} +1 -1
- package/dist/magma-components/p-26cd6ec8.system.js +1 -1
- package/dist/magma-components/{p-8a6c8f9c.entry.js → p-27cb23f6.entry.js} +1 -1
- package/dist/magma-components/{p-889a054d.entry.js → p-28f0e180.entry.js} +1 -1
- package/dist/magma-components/{p-42da7445.system.entry.js → p-290433af.system.entry.js} +1 -1
- package/dist/magma-components/{p-4c387bc1.entry.js → p-29476921.entry.js} +1 -1
- package/dist/magma-components/{p-016676da.system.entry.js → p-2b3517af.system.entry.js} +1 -1
- package/dist/magma-components/{p-c7d99ad5.system.entry.js → p-2c10affd.system.entry.js} +1 -1
- package/dist/magma-components/{p-3e91a60c.system.entry.js → p-2de8157b.system.entry.js} +1 -1
- package/dist/magma-components/{p-d1ed3c80.system.entry.js → p-333510bb.system.entry.js} +1 -1
- package/dist/magma-components/{p-31e33341.entry.js → p-34288bde.entry.js} +1 -1
- package/dist/magma-components/{p-c7bf8b1c.system.entry.js → p-37e99a14.system.entry.js} +1 -1
- package/dist/magma-components/{p-6d06c94a.system.entry.js → p-39711ac2.system.entry.js} +1 -1
- package/dist/magma-components/{p-c97bce16.entry.js → p-3c07aec2.entry.js} +1 -1
- package/dist/magma-components/{p-b19dfe4f.system.entry.js → p-3c3cdd9d.system.entry.js} +1 -1
- package/dist/magma-components/{p-615e2a35.entry.js → p-3ed41231.entry.js} +1 -1
- package/dist/magma-components/{p-f326ae49.system.entry.js → p-3fdfd147.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca88389f.entry.js → p-41efab67.entry.js} +1 -1
- package/dist/magma-components/{p-b1a9ea15.system.entry.js → p-4295bbf0.system.entry.js} +1 -1
- package/dist/magma-components/{p-881c6b67.system.entry.js → p-43f16b11.system.entry.js} +1 -1
- package/dist/magma-components/{p-74482672.entry.js → p-44ce6dc8.entry.js} +1 -1
- package/dist/magma-components/{p-23be61b8.entry.js → p-4745e425.entry.js} +1 -1
- package/dist/magma-components/{p-4d67a4ce.entry.js → p-47f78ada.entry.js} +1 -1
- package/dist/magma-components/{p-1a3b821f.system.entry.js → p-485f2998.system.entry.js} +1 -1
- package/dist/magma-components/{p-05b29dff.entry.js → p-4a33c016.entry.js} +1 -1
- package/dist/magma-components/{p-e9af7047.system.entry.js → p-4c27483c.system.entry.js} +1 -1
- package/dist/magma-components/{p-cb10b405.entry.js → p-4c697acd.entry.js} +1 -1
- package/dist/magma-components/{p-fa4bd146.entry.js → p-4c6e83a8.entry.js} +1 -1
- package/dist/magma-components/{p-5014f1fb.system.entry.js → p-4e56ab7e.system.entry.js} +1 -1
- package/dist/magma-components/{p-6ac166ca.system.entry.js → p-4f4a9d42.system.entry.js} +1 -1
- package/dist/magma-components/{p-99354c73.system.entry.js → p-4f808966.system.entry.js} +1 -1
- package/dist/magma-components/{p-f26c2da4.entry.js → p-508c12ca.entry.js} +1 -1
- package/dist/magma-components/{p-b3baf523.system.entry.js → p-51a66fbc.system.entry.js} +1 -1
- package/dist/magma-components/{p-2bf82fc2.entry.js → p-536b4c16.entry.js} +1 -1
- package/dist/magma-components/{p-e5b99b2f.system.entry.js → p-53a7b781.system.entry.js} +1 -1
- package/dist/magma-components/{p-19e5f4c3.system.entry.js → p-5414befe.system.entry.js} +1 -1
- package/dist/magma-components/{p-00ac9a49.entry.js → p-551c8463.entry.js} +1 -1
- package/dist/magma-components/{p-3d687658.system.entry.js → p-55ce4578.system.entry.js} +1 -1
- package/dist/magma-components/{p-d809143d.entry.js → p-576753e9.entry.js} +1 -1
- package/dist/magma-components/{p-d1ca25ad.entry.js → p-58b9fbad.entry.js} +1 -1
- package/dist/magma-components/p-595f319f.entry.js +1 -0
- package/dist/magma-components/{p-a6f11c56.system.entry.js → p-5b1b1d24.system.entry.js} +1 -1
- package/dist/magma-components/{p-12eb16ec.entry.js → p-5e5f54a6.entry.js} +1 -1
- package/dist/magma-components/{p-9a357085.system.entry.js → p-5eca660e.system.entry.js} +1 -1
- package/dist/magma-components/{p-44ca0625.system.entry.js → p-5f7ab726.system.entry.js} +1 -1
- package/dist/magma-components/{p-495057a5.system.entry.js → p-5fbb8576.system.entry.js} +1 -1
- package/dist/magma-components/{p-55f0a8a1.entry.js → p-5ff7d67e.entry.js} +1 -1
- package/dist/magma-components/{p-42b75f26.entry.js → p-61677a41.entry.js} +1 -1
- package/dist/magma-components/{p-bdccc582.entry.js → p-628eaddc.entry.js} +1 -1
- package/dist/magma-components/{p-fb829b57.system.entry.js → p-639bb0c9.system.entry.js} +1 -1
- package/dist/magma-components/{p-6081f9f1.entry.js → p-63b6856f.entry.js} +1 -1
- package/dist/magma-components/{p-1aa6b055.system.entry.js → p-648b51ac.system.entry.js} +1 -1
- package/dist/magma-components/{p-2063dff7.system.entry.js → p-66fd8a95.system.entry.js} +1 -1
- package/dist/magma-components/{p-ca52a8dd.system.entry.js → p-6d1ce884.system.entry.js} +1 -1
- package/dist/magma-components/{p-cdf3bd7d.system.entry.js → p-6d7afc48.system.entry.js} +1 -1
- package/dist/magma-components/{p-31064475.system.entry.js → p-6ef624c2.system.entry.js} +1 -1
- package/dist/magma-components/{p-f0d1ec10.entry.js → p-6fc5f58b.entry.js} +1 -1
- package/dist/magma-components/{p-bb1da78d.entry.js → p-723fbfb0.entry.js} +1 -1
- package/dist/magma-components/{p-ac5f329f.system.entry.js → p-746fd1cf.system.entry.js} +1 -1
- package/dist/magma-components/p-75487b6d.entry.js +1 -0
- package/dist/magma-components/{p-f3b713b9.system.entry.js → p-7618f770.system.entry.js} +1 -1
- package/dist/magma-components/{p-1f7c5ab7.system.entry.js → p-77624a1a.system.entry.js} +1 -1
- package/dist/magma-components/{p-89e16946.system.entry.js → p-78d39566.system.entry.js} +1 -1
- package/dist/magma-components/{p-47376db8.system.entry.js → p-7afd6711.system.entry.js} +1 -1
- package/dist/magma-components/{p-fbc8d55b.entry.js → p-7c020ee6.entry.js} +1 -1
- package/dist/magma-components/{p-1078ebfe.system.entry.js → p-7c463896.system.entry.js} +1 -1
- package/dist/magma-components/{p-0d8d18e3.system.entry.js → p-7c7ecbe0.system.entry.js} +1 -1
- package/dist/magma-components/{p-1756f4bc.system.entry.js → p-878f544c.system.entry.js} +1 -1
- package/dist/magma-components/{p-1ed308fc.entry.js → p-87fd748f.entry.js} +1 -1
- package/dist/magma-components/{p-92c15250.entry.js → p-88c8c8d4.entry.js} +1 -1
- package/dist/magma-components/{p-ce5959b4.system.entry.js → p-8903d567.system.entry.js} +1 -1
- package/dist/magma-components/{p-eef3b47c.entry.js → p-8de607ef.entry.js} +1 -1
- package/dist/magma-components/{p-6c565a5b.system.entry.js → p-91e16169.system.entry.js} +1 -1
- package/dist/magma-components/{p-09393d3b.entry.js → p-927ad12a.entry.js} +1 -1
- package/dist/magma-components/{p-0a223c02.system.entry.js → p-93b98e61.system.entry.js} +1 -1
- package/dist/magma-components/{p-28ddfbd3.system.entry.js → p-93fb8e40.system.entry.js} +1 -1
- package/dist/magma-components/{p-5cf203bd.entry.js → p-9435d70f.entry.js} +1 -1
- package/dist/magma-components/{p-4fe5f7b6.entry.js → p-949b40f8.entry.js} +1 -1
- package/dist/magma-components/{p-fe2f494e.entry.js → p-97a2fe90.entry.js} +1 -1
- package/dist/magma-components/{p-c543b673.entry.js → p-9924cd6f.entry.js} +1 -1
- package/dist/magma-components/{p-2d57f515.system.entry.js → p-9bf7546f.system.entry.js} +1 -1
- package/dist/magma-components/{p-c9b125c5.entry.js → p-9c97817b.entry.js} +1 -1
- package/dist/magma-components/{p-f11d8f6d.entry.js → p-9d4ddd5b.entry.js} +1 -1
- package/dist/magma-components/{p-726fd74e.entry.js → p-a201cbab.entry.js} +1 -1
- package/dist/magma-components/{p-329929bd.entry.js → p-a33c13d4.entry.js} +1 -1
- package/dist/magma-components/p-a818a6c0.entry.js +1 -0
- package/dist/magma-components/{p-cd996c6d.system.entry.js → p-a89ad0f9.system.entry.js} +1 -1
- package/dist/magma-components/{p-864eb793.system.entry.js → p-a9c9e071.system.entry.js} +1 -1
- package/dist/magma-components/{p-e275baec.entry.js → p-aa2e0551.entry.js} +1 -1
- package/dist/magma-components/{p-6668dff1.entry.js → p-aaeb394f.entry.js} +1 -1
- package/dist/magma-components/{p-ef28cf05.system.entry.js → p-ab92eac9.system.entry.js} +1 -1
- package/dist/magma-components/{p-a7145767.entry.js → p-ac3dcf0c.entry.js} +1 -1
- package/dist/magma-components/{p-2e8507ab.system.entry.js → p-b139bc15.system.entry.js} +1 -1
- package/dist/magma-components/{p-cf3b59cb.entry.js → p-b25a1cc3.entry.js} +1 -1
- package/dist/magma-components/{p-76988cf0.entry.js → p-b34c2e45.entry.js} +1 -1
- package/dist/magma-components/{p-267c4473.entry.js → p-b4baf323.entry.js} +1 -1
- package/dist/magma-components/{p-091813e6.system.entry.js → p-b4e45bb9.system.entry.js} +1 -1
- package/dist/magma-components/{p-081aa7ee.system.entry.js → p-b601884c.system.entry.js} +1 -1
- package/dist/magma-components/{p-86cc801d.system.entry.js → p-b73515c7.system.entry.js} +1 -1
- package/dist/magma-components/{p-ee7ccede.system.entry.js → p-b80c73f3.system.entry.js} +1 -1
- package/dist/magma-components/{p-3290bb60.entry.js → p-b8852829.entry.js} +1 -1
- package/dist/magma-components/{p-08406828.entry.js → p-b97077d4.entry.js} +1 -1
- package/dist/magma-components/{p-9999e0fe.system.entry.js → p-ba31047f.system.entry.js} +1 -1
- package/dist/magma-components/{p-a6daa115.entry.js → p-bc22a611.entry.js} +1 -1
- package/dist/magma-components/{p-28ef20b4.entry.js → p-c382a6f3.entry.js} +1 -1
- package/dist/magma-components/{p-4c22fc2e.system.entry.js → p-c7066d31.system.entry.js} +1 -1
- package/dist/magma-components/{p-838d3f0c.system.entry.js → p-c9e68986.system.entry.js} +1 -1
- package/dist/magma-components/{p-127fe680.entry.js → p-cad74c08.entry.js} +1 -1
- package/dist/magma-components/{p-6176990a.entry.js → p-cc65db79.entry.js} +1 -1
- package/dist/magma-components/{p-60d58044.system.entry.js → p-cd40a2ca.system.entry.js} +1 -1
- package/dist/magma-components/{p-6ad547b8.system.entry.js → p-cdd973d2.system.entry.js} +1 -1
- package/dist/magma-components/{p-10fcea5e.system.entry.js → p-d389299e.system.entry.js} +1 -1
- package/dist/magma-components/{p-99788dd0.entry.js → p-d57c9884.entry.js} +1 -1
- package/dist/magma-components/{p-5406ab26.entry.js → p-d5bc3683.entry.js} +1 -1
- package/dist/magma-components/{p-e46e6d8c.system.entry.js → p-d5c9cff6.system.entry.js} +1 -1
- package/dist/magma-components/{p-bbc2bc6d.system.entry.js → p-d738a403.system.entry.js} +1 -1
- package/dist/magma-components/{p-25c8b684.entry.js → p-d7b02f7f.entry.js} +1 -1
- package/dist/magma-components/{p-22c5a63b.entry.js → p-d8a0b371.entry.js} +1 -1
- package/dist/magma-components/{p-337e6444.system.entry.js → p-db5d1973.system.entry.js} +1 -1
- package/dist/magma-components/p-dbae0ec8.system.entry.js +1 -0
- package/dist/magma-components/{p-0a274718.system.entry.js → p-ddd20d05.system.entry.js} +1 -1
- package/dist/magma-components/{p-cfe04065.system.entry.js → p-de0de4bc.system.entry.js} +1 -1
- package/dist/magma-components/{p-ce7332b0.entry.js → p-df6f330d.entry.js} +1 -1
- package/dist/magma-components/{p-cd1aad9b.entry.js → p-df989bcc.entry.js} +1 -1
- package/dist/magma-components/{p-49697a60.entry.js → p-dfdc83ab.entry.js} +1 -1
- package/dist/magma-components/{p-81831452.entry.js → p-e2c9e643.entry.js} +1 -1
- package/dist/magma-components/{p-ee95f9d9.entry.js → p-e3b0adb8.entry.js} +1 -1
- package/dist/magma-components/{p-4eab6bb0.system.entry.js → p-f033a113.system.entry.js} +1 -1
- package/dist/magma-components/{p-2e51fde1.system.entry.js → p-f149cdbf.system.entry.js} +1 -1
- package/dist/magma-components/{p-f1227e58.entry.js → p-f1ceb90b.entry.js} +1 -1
- package/dist/magma-components/{p-dc17f8bb.system.entry.js → p-f21ee0c7.system.entry.js} +1 -1
- package/dist/magma-components/{p-370f0fdd.entry.js → p-f4310a86.entry.js} +1 -1
- package/dist/stats.json +675 -664
- package/dist/types/components/mds-details/mds-details.d.ts +2 -0
- package/dist/types/components/mds-input/mds-input.d.ts +0 -1
- package/package.json +1 -1
- package/dist/magma-components/p-06237b42.entry.js +0 -1
- package/dist/magma-components/p-2665c451.entry.js +0 -1
- package/dist/magma-components/p-7e1bc5fa.entry.js +0 -1
- package/dist/magma-components/p-bf91885f.system.entry.js +0 -1
|
@@ -15,4 +15,4 @@ import{r as t,h as i,H as n,g as r}from"./p-3a6b32e7.js";import{c as e,a as s}fr
|
|
|
15
15
|
* Subject to the terms at https://gsap.com/standard-license
|
|
16
16
|
* @author: Jack Doyle, jack@greensock.com
|
|
17
17
|
*/
|
|
18
|
-
var Sn,jn,Ln,Yn,Zn,An,Vn,zn,Xn={},In=180/Math.PI,En=Math.PI/180,Dn=Math.atan2,Bn=/([A-Z])/g,Nn=/(left|right|width|margin|padding|x)/i,Un=/[\s,\(]\S/,qn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wn=function(t,i){return i.set(i.t,i.p,Math.round(1e4*(i.s+i.c*t))/1e4+i.u,i)},$n=function(t,i){return i.set(i.t,i.p,1===t?i.e:Math.round(1e4*(i.s+i.c*t))/1e4+i.u,i)},Qn=function(t,i){return i.set(i.t,i.p,t?Math.round(1e4*(i.s+i.c*t))/1e4+i.u:i.b,i)},Gn=function(t,i){var n=i.s+i.c*t;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},Jn=function(t,i){return i.set(i.t,i.p,t?i.e:i.b,i)},Kn=function(t,i){return i.set(i.t,i.p,1!==t?i.b:i.e,i)},tr=function(t,i,n){return t.style[i]=n},ir=function(t,i,n){return t.style.setProperty(i,n)},nr=function(t,i,n){return t._gsap[i]=n},rr=function(t,i,n){return t._gsap.scaleX=t._gsap.scaleY=n},er=function(t,i,n,r,e){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(e,s)},sr=function(t,i,n,r,e){var s=t._gsap;s[i]=n,s.renderTransform(e,s)},or="transform",hr=or+"Origin",ar=function t(i,n){var r=this,e=this.target,s=e.style,o=e._gsap;if(i in Xn&&s){if(this.tfm=this.tfm||{},"transform"===i)return qn.transform.split(",").forEach((function(i){return t.call(r,i,n)}));if(~(i=qn[i]||i).indexOf(",")?i.split(",").forEach((function(t){return r.tfm[t]=_r(e,t)})):this.tfm[i]=o.x?o[i]:_r(e,i),i===hr&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(or)>=0)return;o.svg&&(this.svgo=e.getAttribute("data-svg-origin"),this.props.push(hr,n,"")),i=or}(s||n)&&this.props.push(i,n,s[i])},ur=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},fr=function(){var t,i,n=this.props,r=this.target,e=r.style,s=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?2===n[t+1]?r[n[t]](n[t+2]):r[n[t]]=n[t+2]:n[t+2]?e[n[t]]=n[t+2]:e.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(Bn,"-$1").toLowerCase());if(this.tfm){for(i in this.tfm)s[i]=this.tfm[i];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=Vn())&&t.isStart||e[or]||(ur(e),s.zOrigin&&e[hr]&&(e[hr]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},cr=function(t,i){var n={target:t,props:[],revert:fr,save:ar};return t._gsap||Hn.core.getCache(t),i&&t.style&&t.nodeType&&i.split(",").forEach((function(t){return n.save(t)})),n},lr=function(t,i){var n=jn.createElementNS?jn.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):jn.createElement(t);return n&&n.style?n:jn.createElement(t)},dr=function t(i,n,r){var e=getComputedStyle(i);return e[n]||e.getPropertyValue(n.replace(Bn,"-$1").toLowerCase())||e.getPropertyValue(n)||!r&&t(i,pr(n)||n,1)||""},vr="O,Moz,ms,Ms,Webkit".split(","),pr=function(t,i,n){var r=(i||Zn).style,e=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);e--&&!(vr[e]+t in r););return e<0?null:(3===e?"ms":e>=0?vr[e]:"")+t},mr=function(){"undefined"!=typeof window&&window.document&&(Sn=window,Ln=(jn=Sn.document).documentElement,Zn=lr("div")||{style:{}},lr("div"),or=pr(or),hr=or+"Origin",Zn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",zn=!!pr("perspective"),Vn=Hn.core.reverting,Yn=1)},gr=function(t){var i,n=t.ownerSVGElement,r=lr("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),e=t.cloneNode(!0);e.style.display="block",r.appendChild(e),Ln.appendChild(r);try{i=e.getBBox()}catch(t){}return r.removeChild(e),Ln.removeChild(r),i},wr=function(t,i){for(var n=i.length;n--;)if(t.hasAttribute(i[n]))return t.getAttribute(i[n])},yr=function(t){var i,n;try{i=t.getBBox()}catch(r){i=gr(t),n=1}return i&&(i.width||i.height)||n||(i=gr(t)),!i||i.width||i.x||i.y?i:{x:+wr(t,["x","cx","x1"])||0,y:+wr(t,["y","cy","y1"])||0,width:0,height:0}},Mr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!yr(t))},br=function(t,i){if(i){var n,r=t.style;i in Xn&&i!==hr&&(i=or),r.removeProperty?("ms"!==(n=i.substr(0,2))&&"webkit"!==i.substr(0,6)||(i="-"+i),r.removeProperty("--"===n?i:i.replace(Bn,"-$1").toLowerCase())):r.removeAttribute(i)}},xr=function(t,i,n,r,e,s){var o=new wn(t._pt,i,n,0,1,s?Kn:Jn);return t._pt=o,o.b=r,o.e=e,t._props.push(n),o},Cr={deg:1,rad:1,turn:1},kr={grid:1,flex:1},Fr=function t(i,n,r,e){var s,o,h,a,u=parseFloat(r)||0,f=(r+"").trim().substr((u+"").length)||"px",c=Zn.style,l=Nn.test(n),d="svg"===i.tagName.toLowerCase(),v=(d?"client":"offset")+(l?"Width":"Height"),p=100,m="px"===e,g="%"===e;if(e===f||!u||Cr[e]||Cr[f])return u;if("px"!==f&&!m&&(u=t(i,n,r,"px")),a=i.getCTM&&Mr(i),(g||"%"===f)&&(Xn[n]||~n.indexOf("adius")))return s=a?i.getBBox()[l?"width":"height"]:i[v],Mt(g?u/s*p:u/100*s);if(c[l?"width":"height"]=p+(m?f:e),o="rem"!==e&&~n.indexOf("adius")||"em"===e&&i.appendChild&&!d?i:i.parentNode,a&&(o=(i.ownerSVGElement||{}).parentNode),o&&o!==jn&&o.appendChild||(o=jn.body),(h=o._gsap)&&g&&h.width&&l&&h.time===Hi.time&&!h.uncache)return Mt(u/h.width*p);if(!g||"height"!==n&&"width"!==n)(g||"%"===f)&&!kr[dr(o,"display")]&&(c.position=dr(i,"position")),o===i&&(c.position="static"),o.appendChild(Zn),s=Zn[v],o.removeChild(Zn),c.position="absolute";else{var w=i.style[n];i.style[n]=p+e,s=i[v],w?i.style[n]=w:br(i,n)}return l&&g&&((h=gt(o)).time=Hi.time,h.width=o[v]),Mt(m?s*u/p:s&&u?p/s*u:0)},_r=function(t,i,n,r){var e;return Yn||mr(),i in qn&&"transform"!==i&&~(i=qn[i]).indexOf(",")&&(i=i.split(",")[0]),Xn[i]&&"transform"!==i?(e=Ar(t,r),e="transformOrigin"!==i?e[i]:e.svg?e.origin:Vr(dr(t,hr))+" "+e.zOrigin+"px"):(!(e=t.style[i])||"auto"===e||r||~(e+"").indexOf("calc("))&&(e=Tr[i]&&Tr[i](t,i,n)||dr(t,i)||wt(t,i)||("opacity"===i?1:0)),n&&!~(e+"").trim().indexOf(" ")?Fr(t,i,e,n)+n:e},Or=function(t,i,n,r){if(!n||"none"===n){var e=pr(i,t,1),s=e&&dr(t,e,1);s&&s!==n?(i=e,n=s):"borderColor"===i&&(n=dr(t,"borderTopColor"))}var o,h,a,u,f,c,l,d,v,p,m,g=new wn(this._pt,t.style,i,0,1,ln),w=0,y=0;if(g.b=n,g.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=dr(t,r.substring(4,r.indexOf(")")))),"auto"===r&&(c=t.style[i],t.style[i]=r,r=dr(t,i)||r,c?t.style[i]=c:br(t,i)),Ti(o=[n,r]),r=o[1],a=(n=o[0]).match(q)||[],(r.match(q)||[]).length){for(;h=q.exec(r);)l=h[0],v=r.substring(w,h.index),f?f=(f+1)%5:"rgba("!==v.substr(-5)&&"hsla("!==v.substr(-5)||(f=1),l!==(c=a[y++]||"")&&(u=parseFloat(c)||0,m=c.substr((u+"").length),"="===l.charAt(1)&&(l=xt(u,l)+m),d=parseFloat(l),p=l.substr((d+"").length),w=q.lastIndex-p.length,p||(p=p||F.units[i]||m,w===r.length&&(r+=p,g.e+=p)),m!==p&&(u=Fr(t,i,c,p)||0),g._pt={_next:g._pt,p:v||1===y?v:",",s:u,c:d-u,m:f&&f<4||"zIndex"===i?Math.round:0});g.c=w<r.length?r.substring(w,r.length):""}else g.r="display"===i&&"none"===r?Kn:Jn;return $.test(r)&&(g.e=0),this._pt=g,g},Pr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Rr=function(t,i){if(i.tween&&i.tween._time===i.tween._dur){var n,r,e,s=i.t,o=s.style,h=i.u,a=s._gsap;if("all"===h||!0===h)o.cssText="",r=1;else for(e=(h=h.split(",")).length;--e>-1;)Xn[n=h[e]]&&(r=1,n="transformOrigin"===n?hr:or),br(s,n);r&&(br(s,or),a&&(a.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",Ar(s,1),a.uncache=1,ur(o)))}},Tr={clearProps:function(t,i,n,r,e){if("isFromStart"!==e.data){var s=t._pt=new wn(t._pt,i,n,0,0,Rr);return s.u=r,s.pr=-10,s.tween=e,t._props.push(n),1}}},Hr=[1,0,0,1,0,0],Sr={},jr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Lr=function(t){var i=dr(t,or);return jr(i)?Hr:i.substr(7).match(U).map(Mt)},Yr=function(t,i){var n,r,e,s,o=t._gsap||gt(t),h=t.style,a=Lr(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(e=t.transform.baseVal.consolidate().matrix).a,e.b,e.c,e.d,e.e,e.f]).join(",")?Hr:a:(a!==Hr||t.offsetParent||t===Ln||o.svg||(e=h.display,h.display="block",(n=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,r=t.nextElementSibling,Ln.appendChild(t)),a=Lr(t),e?h.display=e:br(t,"display"),s&&(r?n.insertBefore(t,r):n?n.appendChild(t):Ln.removeChild(t))),i&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Zr=function(t,i,n,r,e,s){var o,h,a,u=t._gsap,f=e||Yr(t,!0),c=u.xOrigin||0,l=u.yOrigin||0,d=u.xOffset||0,v=u.yOffset||0,p=f[0],m=f[1],g=f[2],w=f[3],y=f[4],M=f[5],b=i.split(" "),x=parseFloat(b[0])||0,C=parseFloat(b[1])||0;n?f!==Hr&&(h=p*w-m*g)&&(a=x*(-m/h)+C*(p/h)-(p*M-m*y)/h,x=x*(w/h)+C*(-g/h)+(g*M-w*y)/h,C=a):(x=(o=yr(t)).x+(~b[0].indexOf("%")?x/100*o.width:x),C=o.y+(~(b[1]||b[0]).indexOf("%")?C/100*o.height:C)),r||!1!==r&&u.smooth?(u.xOffset=d+((y=x-c)*p+(M=C-l)*g)-y,u.yOffset=v+(y*m+M*w)-M):u.xOffset=u.yOffset=0,u.xOrigin=x,u.yOrigin=C,u.smooth=!!r,u.origin=i,u.originIsAbsolute=!!n,t.style[hr]="0px 0px",s&&(xr(s,u,"xOrigin",c,x),xr(s,u,"yOrigin",l,C),xr(s,u,"xOffset",d,u.xOffset),xr(s,u,"yOffset",v,u.yOffset)),t.setAttribute("data-svg-origin",x+" "+C)},Ar=function(t,i){var n=t._gsap||new Bi(t);if("x"in n&&!i&&!n.uncache)return n;var r,e,s,o,h,a,u,f,c,l,d,v,p,m,g,w,y,M,b,x,C,k,_,O,P,R,T,H,S,j,L,Y,Z=t.style,A=n.scaleX<0,V="px",z="deg",X=getComputedStyle(t),I=dr(t,hr)||"0";return r=e=s=a=u=f=c=l=d=0,o=h=1,n.svg=!(!t.getCTM||!Mr(t)),X.translate&&("none"===X.translate&&"none"===X.scale&&"none"===X.rotate||(Z[or]=("none"!==X.translate?"translate3d("+(X.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==X.rotate?"rotate("+X.rotate+") ":"")+("none"!==X.scale?"scale("+X.scale.split(" ").join(",")+") ":"")+("none"!==X[or]?X[or]:"")),Z.scale=Z.rotate=Z.translate="none"),m=Yr(t,n.svg),n.svg&&(n.uncache?(P=t.getBBox(),I=n.xOrigin-P.x+"px "+(n.yOrigin-P.y)+"px",O=""):O=!i&&t.getAttribute("data-svg-origin"),Zr(t,O||I,!!O||n.originIsAbsolute,!1!==n.smooth,m)),v=n.xOrigin||0,p=n.yOrigin||0,m!==Hr&&(M=m[0],b=m[1],x=m[2],C=m[3],r=k=m[4],e=_=m[5],6===m.length?(o=Math.sqrt(M*M+b*b),h=Math.sqrt(C*C+x*x),a=M||b?Dn(b,M)*In:0,(c=x||C?Dn(x,C)*In+a:0)&&(h*=Math.abs(Math.cos(c*En))),n.svg&&(r-=v-(v*M+p*x),e-=p-(v*b+p*C))):(j=m[7],T=m[8],H=m[9],L=m[11],r=m[12],e=m[13],s=m[14],u=(g=Dn(Y=m[6],S=m[10]))*In,g&&(O=k*(w=Math.cos(-g))+T*(y=Math.sin(-g)),P=_*w+H*y,R=Y*w+S*y,T=k*-y+T*w,H=_*-y+H*w,S=Y*-y+S*w,L=j*-y+L*w,k=O,_=P,Y=R),f=(g=Dn(-x,S))*In,g&&(w=Math.cos(-g),L=C*(y=Math.sin(-g))+L*w,M=O=M*w-T*y,b=P=b*w-H*y,x=R=x*w-S*y),a=(g=Dn(b,M))*In,g&&(O=M*(w=Math.cos(g))+b*(y=Math.sin(g)),P=k*w+_*y,b=b*w-M*y,_=_*w-k*y,M=O,k=P),u&&Math.abs(u)+Math.abs(a)>359.9&&(u=a=0,f=180-f),o=Mt(Math.sqrt(M*M+b*b+x*x)),h=Mt(Math.sqrt(_*_+Y*Y)),g=Dn(k,_),c=Math.abs(g)>2e-4?g*In:0,d=L?1/(L<0?-L:L):0),n.svg&&(O=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!jr(dr(t,or)),O&&t.setAttribute("transform",O))),Math.abs(c)>90&&Math.abs(c)<270&&(A?(o*=-1,c+=a<=0?180:-180,a+=a<=0?180:-180):(h*=-1,c+=c<=0?180:-180)),i=i||n.uncache,n.x=r-((n.xPercent=r&&(!i&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+V,n.y=e-((n.yPercent=e&&(!i&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-e)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+V,n.z=s+V,n.scaleX=Mt(o),n.scaleY=Mt(h),n.rotation=Mt(a)+z,n.rotationX=Mt(u)+z,n.rotationY=Mt(f)+z,n.skewX=c+z,n.skewY=l+z,n.transformPerspective=d+V,(n.zOrigin=parseFloat(I.split(" ")[2])||!i&&n.zOrigin||0)&&(Z[hr]=Vr(I)),n.xOffset=n.yOffset=0,n.force3D=F.force3D,n.renderTransform=n.svg?Nr:zn?Br:Xr,n.uncache=0,n},Vr=function(t){return(t=t.split(" "))[0]+" "+t[1]},zr=function(t,i,n){var r=ei(i);return Mt(parseFloat(i)+parseFloat(Fr(t,"x",n+"px",r)))+r},Xr=function(t,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Br(t,i)},Ir="0deg",Er="0px",Dr=") ",Br=function(t,i){var n=i||this,r=n.xPercent,e=n.yPercent,s=n.x,o=n.y,h=n.z,a=n.rotation,u=n.rotationY,f=n.rotationX,c=n.skewX,l=n.skewY,d=n.scaleX,v=n.scaleY,p=n.transformPerspective,m=n.force3D,g=n.target,w=n.zOrigin,y="",M="auto"===m&&t&&1!==t||!0===m;if(w&&(f!==Ir||u!==Ir)){var b,x=parseFloat(u)*En,C=Math.sin(x),k=Math.cos(x);x=parseFloat(f)*En,b=Math.cos(x),s=zr(g,s,C*b*-w),o=zr(g,o,-Math.sin(x)*-w),h=zr(g,h,k*b*-w+w)}p!==Er&&(y+="perspective("+p+Dr),(r||e)&&(y+="translate("+r+"%, "+e+"%) "),(M||s!==Er||o!==Er||h!==Er)&&(y+=h!==Er||M?"translate3d("+s+", "+o+", "+h+") ":"translate("+s+", "+o+Dr),a!==Ir&&(y+="rotate("+a+Dr),u!==Ir&&(y+="rotateY("+u+Dr),f!==Ir&&(y+="rotateX("+f+Dr),c===Ir&&l===Ir||(y+="skew("+c+", "+l+Dr),1===d&&1===v||(y+="scale("+d+", "+v+Dr),g.style[or]=y||"translate(0, 0)"},Nr=function(t,i){var n,r,e,s,o,h=i||this,a=h.xPercent,u=h.yPercent,f=h.x,c=h.y,l=h.rotation,d=h.skewX,v=h.skewY,p=h.scaleX,m=h.scaleY,g=h.target,w=h.xOrigin,y=h.yOrigin,M=h.xOffset,b=h.yOffset,x=h.forceCSS,C=parseFloat(f),k=parseFloat(c);l=parseFloat(l),d=parseFloat(d),(v=parseFloat(v))&&(d+=v=parseFloat(v),l+=v),l||d?(l*=En,d*=En,n=Math.cos(l)*p,r=Math.sin(l)*p,e=Math.sin(l-d)*-m,s=Math.cos(l-d)*m,d&&(v*=En,o=Math.tan(d-v),e*=o=Math.sqrt(1+o*o),s*=o,v&&(o=Math.tan(v),n*=o=Math.sqrt(1+o*o),r*=o)),n=Mt(n),r=Mt(r),e=Mt(e),s=Mt(s)):(n=p,s=m,r=e=0),(C&&!~(f+"").indexOf("px")||k&&!~(c+"").indexOf("px"))&&(C=Fr(g,"x",f,"px"),k=Fr(g,"y",c,"px")),(w||y||M||b)&&(C=Mt(C+w-(w*n+y*e)+M),k=Mt(k+y-(w*r+y*s)+b)),(a||u)&&(o=g.getBBox(),C=Mt(C+a/100*o.width),k=Mt(k+u/100*o.height)),g.setAttribute("transform",o="matrix("+n+","+r+","+e+","+s+","+C+","+k+")"),x&&(g.style[or]=o)},Ur=function(t,i,n,r,e){var s,o,h=360,a=Y(e),u=parseFloat(e)*(a&&~e.indexOf("rad")?In:1)-r,f=r+u+"deg";return a&&("short"===(s=e.split("_")[1])&&(u%=h)!=u%180&&(u+=u<0?h:-360),"cw"===s&&u<0?u=(u+36e9)%h-~~(u/h)*h:"ccw"===s&&u>0&&(u=(u-36e9)%h-~~(u/h)*h)),t._pt=o=new wn(t._pt,i,n,r,u,$n),o.e=f,o.u="deg",t._props.push(n),o},qr=function(t,i){for(var n in i)t[n]=i[n];return t},Wr=function(t,i,n){var r,e,s,o,h,a,u,f=qr({},n._gsap),c=n.style;for(e in f.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),c[or]=i,r=Ar(n,1),br(n,or),n.setAttribute("transform",s)):(s=getComputedStyle(n)[or],c[or]=i,r=Ar(n,1),c[or]=s),Xn)(s=f[e])!==(o=r[e])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(e)<0&&(h=ei(s)!==(u=ei(o))?Fr(n,e,s,u):parseFloat(s),a=parseFloat(o),t._pt=new wn(t._pt,r,e,h,a-h,Wn),t._pt.u=u||0,t._props.push(e));qr(r,f)};yt("padding,margin,Width,Radius",(function(t,i){var n="Top",r="Right",e="Bottom",s="Left",o=(i<3?[n,r,e,s]:[n+s,n+r,e+r,e+s]).map((function(n){return i<2?t+n:"border"+n+t}));Tr[i>1?"border"+t:t]=function(t,i,n,r,e){var s,h;if(arguments.length<4)return s=o.map((function(i){return _r(t,i,n)})),5===(h=s.join(" ")).split(s[0]).length?s[0]:h;s=(r+"").split(" "),h={},o.forEach((function(t,i){return h[t]=s[i]=s[i]||s[(i-1)/2|0]})),t.init(i,h,e)}}));var $r,Qr,Gr={name:"css",register:mr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,i,n,r,e){var s,o,h,a,u,f,c,l,d,v,p,m,g,w,y,M,b,x,C,k,_=this._props,O=t.style,P=n.vars.startAt;for(c in Yn||mr(),this.styles=this.styles||cr(t),M=this.styles.props,this.tween=n,i)if("autoRound"!==c&&(o=i[c],!ct[c]||!Gi(c,i,n,r,t,e)))if(f=Tr[c],"function"==(u=typeof o)&&(u=typeof(o=o.call(n,r,t,e))),"string"===u&&~o.indexOf("random(")&&(o=pi(o)),f)f(this,t,c,o,n)&&(y=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",Pi.lastIndex=0,Pi.test(s)||(l=ei(s),d=ei(o)),d?l!==d&&(s=Fr(t,c,s,d)+d):l&&(o+=l),this.add(O,"setProperty",s,o,r,e,0,0,c),_.push(c),M.push(c,0,O[c]);else if("undefined"!==u){if(P&&c in P?(s="function"==typeof P[c]?P[c].call(n,r,t,e):P[c],Y(s)&&~s.indexOf("random(")&&(s=pi(s)),ei(s+"")||"auto"===s||(s+=F.units[c]||ei(_r(t,c))||""),"="===(s+"").charAt(1)&&(s=_r(t,c))):s=_r(t,c),a=parseFloat(s),(v="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),h=parseFloat(o),c in qn&&("autoAlpha"===c&&(1===a&&"hidden"===_r(t,"visibility")&&h&&(a=0),M.push("visibility",0,O.visibility),xr(this,O,"visibility",a?"inherit":"hidden",h?"inherit":"hidden",!h)),"scale"!==c&&"transform"!==c&&~(c=qn[c]).indexOf(",")&&(c=c.split(",")[0])),p=c in Xn)if(this.styles.save(c),"string"===u&&"var(--"===o.substring(0,6)&&(o=dr(t,o.substring(4,o.indexOf(")"))),h=parseFloat(o)),m||((g=t._gsap).renderTransform&&!i.parseTransform||Ar(t,i.parseTransform),w=!1!==i.smoothOrigin&&g.smooth,(m=this._pt=new wn(this._pt,O,or,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new wn(this._pt,g,"scaleY",g.scaleY,(v?xt(g.scaleY,v+h):h)-g.scaleY||0,Wn),this._pt.u=0,_.push("scaleY",c),c+="X";else{if("transformOrigin"===c){M.push(hr,0,O[hr]),x=void 0,C=void 0,k=void 0,k=(x=(b=o).split(" "))[1]||"50%","top"!==(C=x[0])&&"bottom"!==C&&"left"!==k&&"right"!==k||(b=C,C=k,k=b),x[0]=Pr[C]||C,x[1]=Pr[k]||k,o=x.join(" "),g.svg?Zr(t,o,0,w,0,this):((d=parseFloat(o.split(" ")[2])||0)!==g.zOrigin&&xr(this,g,"zOrigin",g.zOrigin,d),xr(this,O,c,Vr(s),Vr(o)));continue}if("svgOrigin"===c){Zr(t,o,1,w,0,this);continue}if(c in Sr){Ur(this,g,c,a,v?xt(a,v+o):o);continue}if("smoothOrigin"===c){xr(this,g,"smooth",g.smooth,o);continue}if("force3D"===c){g[c]=o;continue}if("transform"===c){Wr(this,o,t);continue}}else c in O||(c=pr(c)||c);if(p||(h||0===h)&&(a||0===a)&&!Un.test(o)&&c in O)h||(h=0),(l=(s+"").substr((a+"").length))!==(d=ei(o)||(c in F.units?F.units[c]:l))&&(a=Fr(t,c,s,d)),this._pt=new wn(this._pt,p?g:O,c,a,(v?xt(a,v+h):h)-a,p||"px"!==d&&"zIndex"!==c||!1===i.autoRound?Wn:Gn),this._pt.u=d||0,l!==d&&"%"!==d&&(this._pt.b=s,this._pt.r=Qn);else if(c in O)Or.call(this,t,c,s,v?v+o:o);else if(c in t)this.add(t,c,s||t[c],v?v+o:o,r,e);else if("parseTransform"!==c){it(c,o);continue}p||(c in O?M.push(c,0,O[c]):"function"==typeof t[c]?M.push(c,2,t[c]()):M.push(c,1,s||t[c])),_.push(c)}y&&gn(this)},render:function(t,i){if(i.tween._time||!Vn())for(var n=i._pt;n;)n.r(t,n.d),n=n._next;else i.styles.revert()},get:_r,aliases:qn,getSetter:function(t,i,n){var r=qn[i];return r&&r.indexOf(",")<0&&(i=r),i in Xn&&i!==hr&&(t._gsap.x||_r(t,"x"))?n&&An===n?"scale"===i?rr:nr:(An=n||{})&&("scale"===i?er:sr):t.style&&!V(t.style[i])?tr:~i.indexOf("-")?ir:un(t,i)},core:{_removeProperty:br,_getMatrix:Yr}};Hn.utils.checkPrefix=pr,Hn.core.getStyleSaver=cr,Qr=yt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+($r="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Xn[t]=1})),yt($r,(function(t){F.units[t]="deg",Sr[t]=1})),qn[Qr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+$r,yt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var i=t.split(":");qn[i[1]]=Qr[i[0]]})),yt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){F.units[t]="px"})),Hn.registerPlugin(Gr);var Jr=Hn.registerPlugin(Gr)||Hn;const Kr=(t,i,n=!1)=>{const r=Math.random()*(i-t)+t;return n?Math.floor(r):r},te=class{constructor(i){t(this,i),this.name="hexabot",this.isFollowingMouse=!1,this.isBlinking=!1,this.isThinking=!1,this.faceOffsetX=0,this.faceOffsetY=0,this.mouseX=0,this.mouseY=0,this.currentRotateX=0,this.currentRotateY=0,this.expressionAngleMax=16,this.expressionFollowMouseHeadDuration=.3,this.expressionFollowMouseTraitsDuration=.2,this.handLeftGeometry={think:"M6 15C6.55228 15 7 15.4477 7 16V17H13C13.5523 17 14 17.4477 14 18C14 18.5523 13.5523 19 13 19H10.3818C11.1252 19 11.6088 19.7824 11.2764 20.4473L10.2764 22.4473C10.107 22.786 9.76059 23 9.38184 23H6V22.9541L5.85742 23H4V19L5 17V15H6Z"},this.eyeLeftGeometry={open:"M8 8H10V11H8V8Z",close:"M7 10H10V11H7V10Z"},this.eyeRightGeometry={open:"M14 8H16V11H14V8Z",close:"M14 10H17V11H14V10Z"},this.headGeometry={hexagon:"M7 3L1.5 12L7 21H17L22.5 12L17 3H7Z",hexagonRounded:"M6.12266 4.43565L2.45599 10.4356C1.86912 11.396 1.86912 12.604 2.45599 13.5643L6.12266 19.5644C6.66763 20.4561 7.6374 21 8.6825 21H15.3175C16.3626 21 17.3324 20.4561 17.8773 19.5644L21.544 13.5644C22.1309 12.604 22.1309 11.396 21.544 10.4357L17.8773 4.43565C17.3324 3.54389 16.3626 3 15.3175 3H8.6825C7.6374 3 6.66763 3.54389 6.12266 4.43565Z"},this.mouthGeometry={open:"M12 18C10.8954 18 10 16.8807 10 15.5C10 14.1193 10.8954 13 12 13C13.1046 13 14 14.1193 14 15.5C14 16.8807 13.1046 18 12 18Z",quiet:"M16 15H8C8 17 7.5 17 12 17C16.5 17 16 17 16 15Z",sad:"M8 17C8 15.3431 9.79086 14 12 14C14.1402 14 15.8881 15.2605 15.9951 16.8457L16 17L8 17Z",serious:"M9 15H15V17H9V15Z",think:"M8 14H16V16H8V14Z",happy:"M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z",smile:"M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z",smileLeft:"M10 14C10 15.1046 10.8954 16 12 16H14V18H12C9.79086 18 8 16.2091 8 14H10Z",smileRight:"M14 14C14 15.1046 13.1046 16 12 16H10V18H12C14.2091 18 16 16.2091 16 14H14Z"},this.getEmojiCenter=()=>{const t=this.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}},this.stopConcurrentAnimations=()=>{this.isThinking&&this.stopThinking()},this.setAgreeAnimation=()=>{this.isFollowingMouse=!1,Jr.killTweensOf(this.emojiEl);const t=this.currentRotateX;Jr.timeline({onComplete:()=>{Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:.3,ease:"power2.out",onComplete:()=>{this.isFollowingMouse=!0}})}}).to(this.emojiEl,{rotateX:t-40,duration:.15,ease:"power2.out"}).to(this.emojiEl,{rotateX:t+20,duration:.2,ease:"power1.inOut"}).to(this.emojiEl,{rotateX:t-20,duration:.15,ease:"power2.inOut"}).to(this.emojiEl,{rotateX:t+5,duration:.2,ease:"power1.out"}).to(this.emojiEl,{rotateX:t,duration:.3,ease:"power3.out"}),Jr.fromTo(this.mouthEl,{attr:{d:this.mouthGeometry.happy}},{scaleY:.5,transformOrigin:"50% 50%",onComplete:()=>{Jr.fromTo(this.mouthEl,{attr:{d:this.mouthGeometry.smile}},{scaleY:1,transformOrigin:"50% 50%",duration:.2,ease:"expo.inOut"})},duration:.75,ease:"expo.inOut"})},this.setDisagreeAnimation=(t=0)=>{this.isFollowingMouse=!1,Jr.killTweensOf(this.emojiEl);const i="power2.inOut";Jr.timeline({onComplete:()=>{Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:.3,ease:"power2.out",onComplete:()=>{this.isFollowingMouse=!0}})}}).to(this.emojiEl,{rotateY:this.currentRotateY-40,duration:.25,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY+30,duration:.2,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY-20,duration:.15,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY+10,duration:.1,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY,duration:.3,ease:i}),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.serious},duration:0,ease:"none",onComplete:()=>{setTimeout((()=>{Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.serious},duration:0,ease:"none",onComplete:()=>{t>0&&setTimeout((()=>{Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.smile},duration:0,ease:"none"})}),t)}})}),1e3)}})},this.moveEyesThinkAnimation=()=>{var t;const i=Kr(.25,.75),n="expo.Out",r=1*Kr(-1,1,!0),e=(null!==(t=this.faceOffsetX)&&void 0!==t?t:0)+r;Jr.to(this.eyeLeftEl,{x:e,ease:n,duration:i}),Jr.to(this.eyeRightEl,{x:e,ease:n,duration:i,onComplete:()=>{this.isThinking?this.moveEyesThinkAnimation():(Jr.to(this.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5}))}})},this.setStartThinkingAnimation=()=>{this.handLeftEl.style.visibility="visible",Jr.fromTo(this.handLeftEl,{scale:0,rotateZ:45},{scale:1,rotateZ:0,ease:"expo.inOut",duration:.5}),this.moveEyesThinkAnimation(),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.think},duration:0,ease:"none"})},this.setStopThinkingAnimation=()=>{Jr.to(this.handLeftEl,{scale:0,y:0,rotateZ:45,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.smile},duration:0,ease:"none"})},this.loopBlink=()=>{this.blinkOnce(),this.queueNextBlink()},this.queueNextBlink=()=>{this.isBlinking&&(this.blinkTimeout=setTimeout(this.loopBlink.bind(this),Kr(2e3,5e3)))},this.blinkOnce=()=>{Jr.to(this.eyeLeftEl,{attr:{d:this.eyeLeftGeometry.close},duration:.15,onComplete:()=>{Jr.to(this.eyeLeftEl,{attr:{d:this.eyeLeftGeometry.open},duration:.15})}}),Jr.to(this.eyeRightEl,{attr:{d:this.eyeRightGeometry.close},duration:.15,onComplete:()=>{Jr.to(this.eyeRightEl,{attr:{d:this.eyeRightGeometry.open},duration:.15})}})},this.handleFollowMouse=t=>{this.isFollowingMouse&&(this.mouseX=t.clientX,this.mouseY=t.clientY,this.followMouse())},this.followMouse=()=>{const{centerX:t}=this.getEmojiCenter(),{centerY:i}=this.getEmojiCenter();let n=this.getEmojiCenter().centerX,r=this.getEmojiCenter().centerY;const e="power1.out";this.isFollowingMouse&&(n=this.mouseX,r=this.mouseY);const s=this.host.getBoundingClientRect(),o=(n-t)/(s.width/2),h=(r-i)/(s.height/2);this.currentRotateY=Jr.utils.clamp(-this.expressionAngleMax,this.expressionAngleMax,o*this.expressionAngleMax),this.currentRotateX=Jr.utils.clamp(-this.expressionAngleMax,this.expressionAngleMax,-h*this.expressionAngleMax),Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:this.expressionFollowMouseHeadDuration,ease:e}),this.faceOffsetX=Jr.utils.clamp(-1,1,1*o),this.faceOffsetY=Jr.utils.clamp(-1,1,1*h),Jr.to(this.eyeLeftEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e}),Jr.to(this.eyeRightEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e}),Jr.to(this.handLeftEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e});const a=Jr.utils.clamp(-1,1,1*o),u=Jr.utils.clamp(-1,1,1*h);Jr.to(this.mouthEl,{x:a,y:u,duration:this.expressionFollowMouseTraitsDuration,ease:e})},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.host);this.expressionAngleMax=e(t.getPropertyValue("--mds-emoji-expression-max-rotation")),this.expressionFollowMouseHeadDuration=s(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration")),this.expressionFollowMouseTraitsDuration=s(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"))}}async agree(){return this.stopConcurrentAnimations(),this.setAgreeAnimation(),Promise.resolve()}async disagree(t=0){return this.stopConcurrentAnimations(),this.setDisagreeAnimation(t),Promise.resolve()}async startThinking(){return this.isThinking=!0,this.setStartThinkingAnimation(),Promise.resolve()}async stopThinking(){return this.isThinking=!1,this.setStopThinkingAnimation(),Promise.resolve()}async startBlinking(){if(!this.isBlinking)return this.isBlinking=!0,this.queueNextBlink(),Promise.resolve()}async stopBlinking(){return this.isBlinking=!1,clearTimeout(this.blinkTimeout),Promise.resolve()}async stopFollowMouse(){return this.isFollowingMouse=!1,this.followMouse(),Promise.resolve()}async startFollowMouse(){return this.isFollowingMouse=!0,this.followMouse(),Promise.resolve()}componentDidLoad(){window&&(this.updateCSSCustomProps(),window.addEventListener("mousemove",this.handleFollowMouse),this.headEl.setAttribute("d",this.headGeometry.hexagonRounded))}disconnectedCallback(){window&&window.removeEventListener("mousemove",this.handleFollowMouse)}render(){return i(n,{key:"a85aaf6f7eee08db5098357411ca26b766f55d0f"},"hexabot"===this.name&&i("svg",{key:"826d742c7bba177e7f87e9bd8875c3cffb5dc670",ref:t=>this.emojiEl=t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"c74f8430c3c28ddc4aa7838f7d9d06e2e5527d5b",class:"head",ref:t=>this.headEl=t,d:this.headGeometry.hexagonRounded,fill:"black"}),i("path",{key:"563f2f8a7e697a68024d0245591987d50adba98e",class:"eye",ref:t=>this.eyeLeftEl=t,d:this.eyeLeftGeometry.open,fill:"white"}),i("path",{key:"1dceb62d8fbb6960c7a1bec3221f2600d9b0701c",class:"eye",ref:t=>this.eyeRightEl=t,d:this.eyeRightGeometry.open,fill:"white"}),i("path",{key:"6afce8c0fb3fb7125ae0e32767cd64f9584ceefc",class:"mouth",ref:t=>this.mouthEl=t,d:this.mouthGeometry.smile,fill:"white"}),i("path",{key:"bf14c6e02258b7472ddb48094531c20896c52147",class:"hand",ref:t=>this.handLeftEl=t,d:this.handLeftGeometry.think,fill:"white"})))}get host(){return r(this)}};te.style=':host{--mds-emoji-expression-follow-mouse-traits-duration:200ms;--mds-emoji-expression-follow-mouse-head-duration:300ms;--mds-emoji-expression-max-rotation:16deg;--mds-emoji-eyes:rgb(var(--label-yellow-04));--mds-emoji-head:rgb(var(--label-yellow-08));--mds-emoji-mouth:rgb(var(--label-yellow-06));--mds-emoji-hand:rgb(var(--label-yellow-06));--mds-emoji-perspective:400px;-ms-flex-align:stretch;align-items:stretch;aspect-ratio:1/1;display:-ms-flexbox;display:flex;height:3rem;-ms-flex-pack:stretch;justify-content:stretch;-webkit-perspective:var(--mds-emoji-perspective);perspective:var(--mds-emoji-perspective);-webkit-perspective-origin:center;perspective-origin:center;width:3rem}svg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform 0.2s ease-out;transition:-webkit-transform 0.2s ease-out;transition:transform 0.2s ease-out;transition:transform 0.2s ease-out, -webkit-transform 0.2s ease-out}:host .head{fill:var(--mds-emoji-head)}:host .eye{fill:var(--mds-emoji-eyes)}:host .mouth{fill:var(--mds-emoji-mouth)}:host .hand{fill:var(--mds-emoji-hand);visibility:hidden}:host([name="hexabot"]){--mds-emoji-head:rgb(var(--variant-ai-08));--mds-emoji-eyes:rgb(var(--variant-ai-03));--mds-emoji-mouth:rgb(var(--variant-ai-06));--mds-emoji-hand:rgb(var(--variant-ai-06))}';export{te as mds_emoji}
|
|
18
|
+
var Sn,jn,Ln,Yn,Zn,An,Vn,zn,Xn={},In=180/Math.PI,En=Math.PI/180,Dn=Math.atan2,Bn=/([A-Z])/g,Nn=/(left|right|width|margin|padding|x)/i,Un=/[\s,\(]\S/,qn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Wn=function(t,i){return i.set(i.t,i.p,Math.round(1e4*(i.s+i.c*t))/1e4+i.u,i)},$n=function(t,i){return i.set(i.t,i.p,1===t?i.e:Math.round(1e4*(i.s+i.c*t))/1e4+i.u,i)},Qn=function(t,i){return i.set(i.t,i.p,t?Math.round(1e4*(i.s+i.c*t))/1e4+i.u:i.b,i)},Gn=function(t,i){var n=i.s+i.c*t;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},Jn=function(t,i){return i.set(i.t,i.p,t?i.e:i.b,i)},Kn=function(t,i){return i.set(i.t,i.p,1!==t?i.b:i.e,i)},tr=function(t,i,n){return t.style[i]=n},ir=function(t,i,n){return t.style.setProperty(i,n)},nr=function(t,i,n){return t._gsap[i]=n},rr=function(t,i,n){return t._gsap.scaleX=t._gsap.scaleY=n},er=function(t,i,n,r,e){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(e,s)},sr=function(t,i,n,r,e){var s=t._gsap;s[i]=n,s.renderTransform(e,s)},or="transform",hr=or+"Origin",ar=function t(i,n){var r=this,e=this.target,s=e.style,o=e._gsap;if(i in Xn&&s){if(this.tfm=this.tfm||{},"transform"===i)return qn.transform.split(",").forEach((function(i){return t.call(r,i,n)}));if(~(i=qn[i]||i).indexOf(",")?i.split(",").forEach((function(t){return r.tfm[t]=_r(e,t)})):this.tfm[i]=o.x?o[i]:_r(e,i),i===hr&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(or)>=0)return;o.svg&&(this.svgo=e.getAttribute("data-svg-origin"),this.props.push(hr,n,"")),i=or}(s||n)&&this.props.push(i,n,s[i])},ur=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},fr=function(){var t,i,n=this.props,r=this.target,e=r.style,s=r._gsap;for(t=0;t<n.length;t+=3)n[t+1]?2===n[t+1]?r[n[t]](n[t+2]):r[n[t]]=n[t+2]:n[t+2]?e[n[t]]=n[t+2]:e.removeProperty("--"===n[t].substr(0,2)?n[t]:n[t].replace(Bn,"-$1").toLowerCase());if(this.tfm){for(i in this.tfm)s[i]=this.tfm[i];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=Vn())&&t.isStart||e[or]||(ur(e),s.zOrigin&&e[hr]&&(e[hr]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},cr=function(t,i){var n={target:t,props:[],revert:fr,save:ar};return t._gsap||Hn.core.getCache(t),i&&t.style&&t.nodeType&&i.split(",").forEach((function(t){return n.save(t)})),n},lr=function(t,i){var n=jn.createElementNS?jn.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):jn.createElement(t);return n&&n.style?n:jn.createElement(t)},dr=function t(i,n,r){var e=getComputedStyle(i);return e[n]||e.getPropertyValue(n.replace(Bn,"-$1").toLowerCase())||e.getPropertyValue(n)||!r&&t(i,pr(n)||n,1)||""},vr="O,Moz,ms,Ms,Webkit".split(","),pr=function(t,i,n){var r=(i||Zn).style,e=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);e--&&!(vr[e]+t in r););return e<0?null:(3===e?"ms":e>=0?vr[e]:"")+t},mr=function(){"undefined"!=typeof window&&window.document&&(Sn=window,Ln=(jn=Sn.document).documentElement,Zn=lr("div")||{style:{}},lr("div"),or=pr(or),hr=or+"Origin",Zn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",zn=!!pr("perspective"),Vn=Hn.core.reverting,Yn=1)},gr=function(t){var i,n=t.ownerSVGElement,r=lr("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),e=t.cloneNode(!0);e.style.display="block",r.appendChild(e),Ln.appendChild(r);try{i=e.getBBox()}catch(t){}return r.removeChild(e),Ln.removeChild(r),i},wr=function(t,i){for(var n=i.length;n--;)if(t.hasAttribute(i[n]))return t.getAttribute(i[n])},yr=function(t){var i,n;try{i=t.getBBox()}catch(r){i=gr(t),n=1}return i&&(i.width||i.height)||n||(i=gr(t)),!i||i.width||i.x||i.y?i:{x:+wr(t,["x","cx","x1"])||0,y:+wr(t,["y","cy","y1"])||0,width:0,height:0}},Mr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!yr(t))},br=function(t,i){if(i){var n,r=t.style;i in Xn&&i!==hr&&(i=or),r.removeProperty?("ms"!==(n=i.substr(0,2))&&"webkit"!==i.substr(0,6)||(i="-"+i),r.removeProperty("--"===n?i:i.replace(Bn,"-$1").toLowerCase())):r.removeAttribute(i)}},xr=function(t,i,n,r,e,s){var o=new wn(t._pt,i,n,0,1,s?Kn:Jn);return t._pt=o,o.b=r,o.e=e,t._props.push(n),o},Cr={deg:1,rad:1,turn:1},kr={grid:1,flex:1},Fr=function t(i,n,r,e){var s,o,h,a,u=parseFloat(r)||0,f=(r+"").trim().substr((u+"").length)||"px",c=Zn.style,l=Nn.test(n),d="svg"===i.tagName.toLowerCase(),v=(d?"client":"offset")+(l?"Width":"Height"),p=100,m="px"===e,g="%"===e;if(e===f||!u||Cr[e]||Cr[f])return u;if("px"!==f&&!m&&(u=t(i,n,r,"px")),a=i.getCTM&&Mr(i),(g||"%"===f)&&(Xn[n]||~n.indexOf("adius")))return s=a?i.getBBox()[l?"width":"height"]:i[v],Mt(g?u/s*p:u/100*s);if(c[l?"width":"height"]=p+(m?f:e),o="rem"!==e&&~n.indexOf("adius")||"em"===e&&i.appendChild&&!d?i:i.parentNode,a&&(o=(i.ownerSVGElement||{}).parentNode),o&&o!==jn&&o.appendChild||(o=jn.body),(h=o._gsap)&&g&&h.width&&l&&h.time===Hi.time&&!h.uncache)return Mt(u/h.width*p);if(!g||"height"!==n&&"width"!==n)(g||"%"===f)&&!kr[dr(o,"display")]&&(c.position=dr(i,"position")),o===i&&(c.position="static"),o.appendChild(Zn),s=Zn[v],o.removeChild(Zn),c.position="absolute";else{var w=i.style[n];i.style[n]=p+e,s=i[v],w?i.style[n]=w:br(i,n)}return l&&g&&((h=gt(o)).time=Hi.time,h.width=o[v]),Mt(m?s*u/p:s&&u?p/s*u:0)},_r=function(t,i,n,r){var e;return Yn||mr(),i in qn&&"transform"!==i&&~(i=qn[i]).indexOf(",")&&(i=i.split(",")[0]),Xn[i]&&"transform"!==i?(e=Ar(t,r),e="transformOrigin"!==i?e[i]:e.svg?e.origin:Vr(dr(t,hr))+" "+e.zOrigin+"px"):(!(e=t.style[i])||"auto"===e||r||~(e+"").indexOf("calc("))&&(e=Tr[i]&&Tr[i](t,i,n)||dr(t,i)||wt(t,i)||("opacity"===i?1:0)),n&&!~(e+"").trim().indexOf(" ")?Fr(t,i,e,n)+n:e},Or=function(t,i,n,r){if(!n||"none"===n){var e=pr(i,t,1),s=e&&dr(t,e,1);s&&s!==n?(i=e,n=s):"borderColor"===i&&(n=dr(t,"borderTopColor"))}var o,h,a,u,f,c,l,d,v,p,m,g=new wn(this._pt,t.style,i,0,1,ln),w=0,y=0;if(g.b=n,g.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=dr(t,r.substring(4,r.indexOf(")")))),"auto"===r&&(c=t.style[i],t.style[i]=r,r=dr(t,i)||r,c?t.style[i]=c:br(t,i)),Ti(o=[n,r]),r=o[1],a=(n=o[0]).match(q)||[],(r.match(q)||[]).length){for(;h=q.exec(r);)l=h[0],v=r.substring(w,h.index),f?f=(f+1)%5:"rgba("!==v.substr(-5)&&"hsla("!==v.substr(-5)||(f=1),l!==(c=a[y++]||"")&&(u=parseFloat(c)||0,m=c.substr((u+"").length),"="===l.charAt(1)&&(l=xt(u,l)+m),d=parseFloat(l),p=l.substr((d+"").length),w=q.lastIndex-p.length,p||(p=p||F.units[i]||m,w===r.length&&(r+=p,g.e+=p)),m!==p&&(u=Fr(t,i,c,p)||0),g._pt={_next:g._pt,p:v||1===y?v:",",s:u,c:d-u,m:f&&f<4||"zIndex"===i?Math.round:0});g.c=w<r.length?r.substring(w,r.length):""}else g.r="display"===i&&"none"===r?Kn:Jn;return $.test(r)&&(g.e=0),this._pt=g,g},Pr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Rr=function(t,i){if(i.tween&&i.tween._time===i.tween._dur){var n,r,e,s=i.t,o=s.style,h=i.u,a=s._gsap;if("all"===h||!0===h)o.cssText="",r=1;else for(e=(h=h.split(",")).length;--e>-1;)Xn[n=h[e]]&&(r=1,n="transformOrigin"===n?hr:or),br(s,n);r&&(br(s,or),a&&(a.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",Ar(s,1),a.uncache=1,ur(o)))}},Tr={clearProps:function(t,i,n,r,e){if("isFromStart"!==e.data){var s=t._pt=new wn(t._pt,i,n,0,0,Rr);return s.u=r,s.pr=-10,s.tween=e,t._props.push(n),1}}},Hr=[1,0,0,1,0,0],Sr={},jr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Lr=function(t){var i=dr(t,or);return jr(i)?Hr:i.substr(7).match(U).map(Mt)},Yr=function(t,i){var n,r,e,s,o=t._gsap||gt(t),h=t.style,a=Lr(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(e=t.transform.baseVal.consolidate().matrix).a,e.b,e.c,e.d,e.e,e.f]).join(",")?Hr:a:(a!==Hr||t.offsetParent||t===Ln||o.svg||(e=h.display,h.display="block",(n=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,r=t.nextElementSibling,Ln.appendChild(t)),a=Lr(t),e?h.display=e:br(t,"display"),s&&(r?n.insertBefore(t,r):n?n.appendChild(t):Ln.removeChild(t))),i&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},Zr=function(t,i,n,r,e,s){var o,h,a,u=t._gsap,f=e||Yr(t,!0),c=u.xOrigin||0,l=u.yOrigin||0,d=u.xOffset||0,v=u.yOffset||0,p=f[0],m=f[1],g=f[2],w=f[3],y=f[4],M=f[5],b=i.split(" "),x=parseFloat(b[0])||0,C=parseFloat(b[1])||0;n?f!==Hr&&(h=p*w-m*g)&&(a=x*(-m/h)+C*(p/h)-(p*M-m*y)/h,x=x*(w/h)+C*(-g/h)+(g*M-w*y)/h,C=a):(x=(o=yr(t)).x+(~b[0].indexOf("%")?x/100*o.width:x),C=o.y+(~(b[1]||b[0]).indexOf("%")?C/100*o.height:C)),r||!1!==r&&u.smooth?(u.xOffset=d+((y=x-c)*p+(M=C-l)*g)-y,u.yOffset=v+(y*m+M*w)-M):u.xOffset=u.yOffset=0,u.xOrigin=x,u.yOrigin=C,u.smooth=!!r,u.origin=i,u.originIsAbsolute=!!n,t.style[hr]="0px 0px",s&&(xr(s,u,"xOrigin",c,x),xr(s,u,"yOrigin",l,C),xr(s,u,"xOffset",d,u.xOffset),xr(s,u,"yOffset",v,u.yOffset)),t.setAttribute("data-svg-origin",x+" "+C)},Ar=function(t,i){var n=t._gsap||new Bi(t);if("x"in n&&!i&&!n.uncache)return n;var r,e,s,o,h,a,u,f,c,l,d,v,p,m,g,w,y,M,b,x,C,k,_,O,P,R,T,H,S,j,L,Y,Z=t.style,A=n.scaleX<0,V="px",z="deg",X=getComputedStyle(t),I=dr(t,hr)||"0";return r=e=s=a=u=f=c=l=d=0,o=h=1,n.svg=!(!t.getCTM||!Mr(t)),X.translate&&("none"===X.translate&&"none"===X.scale&&"none"===X.rotate||(Z[or]=("none"!==X.translate?"translate3d("+(X.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==X.rotate?"rotate("+X.rotate+") ":"")+("none"!==X.scale?"scale("+X.scale.split(" ").join(",")+") ":"")+("none"!==X[or]?X[or]:"")),Z.scale=Z.rotate=Z.translate="none"),m=Yr(t,n.svg),n.svg&&(n.uncache?(P=t.getBBox(),I=n.xOrigin-P.x+"px "+(n.yOrigin-P.y)+"px",O=""):O=!i&&t.getAttribute("data-svg-origin"),Zr(t,O||I,!!O||n.originIsAbsolute,!1!==n.smooth,m)),v=n.xOrigin||0,p=n.yOrigin||0,m!==Hr&&(M=m[0],b=m[1],x=m[2],C=m[3],r=k=m[4],e=_=m[5],6===m.length?(o=Math.sqrt(M*M+b*b),h=Math.sqrt(C*C+x*x),a=M||b?Dn(b,M)*In:0,(c=x||C?Dn(x,C)*In+a:0)&&(h*=Math.abs(Math.cos(c*En))),n.svg&&(r-=v-(v*M+p*x),e-=p-(v*b+p*C))):(j=m[7],T=m[8],H=m[9],L=m[11],r=m[12],e=m[13],s=m[14],u=(g=Dn(Y=m[6],S=m[10]))*In,g&&(O=k*(w=Math.cos(-g))+T*(y=Math.sin(-g)),P=_*w+H*y,R=Y*w+S*y,T=k*-y+T*w,H=_*-y+H*w,S=Y*-y+S*w,L=j*-y+L*w,k=O,_=P,Y=R),f=(g=Dn(-x,S))*In,g&&(w=Math.cos(-g),L=C*(y=Math.sin(-g))+L*w,M=O=M*w-T*y,b=P=b*w-H*y,x=R=x*w-S*y),a=(g=Dn(b,M))*In,g&&(O=M*(w=Math.cos(g))+b*(y=Math.sin(g)),P=k*w+_*y,b=b*w-M*y,_=_*w-k*y,M=O,k=P),u&&Math.abs(u)+Math.abs(a)>359.9&&(u=a=0,f=180-f),o=Mt(Math.sqrt(M*M+b*b+x*x)),h=Mt(Math.sqrt(_*_+Y*Y)),g=Dn(k,_),c=Math.abs(g)>2e-4?g*In:0,d=L?1/(L<0?-L:L):0),n.svg&&(O=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!jr(dr(t,or)),O&&t.setAttribute("transform",O))),Math.abs(c)>90&&Math.abs(c)<270&&(A?(o*=-1,c+=a<=0?180:-180,a+=a<=0?180:-180):(h*=-1,c+=c<=0?180:-180)),i=i||n.uncache,n.x=r-((n.xPercent=r&&(!i&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+V,n.y=e-((n.yPercent=e&&(!i&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-e)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+V,n.z=s+V,n.scaleX=Mt(o),n.scaleY=Mt(h),n.rotation=Mt(a)+z,n.rotationX=Mt(u)+z,n.rotationY=Mt(f)+z,n.skewX=c+z,n.skewY=l+z,n.transformPerspective=d+V,(n.zOrigin=parseFloat(I.split(" ")[2])||!i&&n.zOrigin||0)&&(Z[hr]=Vr(I)),n.xOffset=n.yOffset=0,n.force3D=F.force3D,n.renderTransform=n.svg?Nr:zn?Br:Xr,n.uncache=0,n},Vr=function(t){return(t=t.split(" "))[0]+" "+t[1]},zr=function(t,i,n){var r=ei(i);return Mt(parseFloat(i)+parseFloat(Fr(t,"x",n+"px",r)))+r},Xr=function(t,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,Br(t,i)},Ir="0deg",Er="0px",Dr=") ",Br=function(t,i){var n=i||this,r=n.xPercent,e=n.yPercent,s=n.x,o=n.y,h=n.z,a=n.rotation,u=n.rotationY,f=n.rotationX,c=n.skewX,l=n.skewY,d=n.scaleX,v=n.scaleY,p=n.transformPerspective,m=n.force3D,g=n.target,w=n.zOrigin,y="",M="auto"===m&&t&&1!==t||!0===m;if(w&&(f!==Ir||u!==Ir)){var b,x=parseFloat(u)*En,C=Math.sin(x),k=Math.cos(x);x=parseFloat(f)*En,b=Math.cos(x),s=zr(g,s,C*b*-w),o=zr(g,o,-Math.sin(x)*-w),h=zr(g,h,k*b*-w+w)}p!==Er&&(y+="perspective("+p+Dr),(r||e)&&(y+="translate("+r+"%, "+e+"%) "),(M||s!==Er||o!==Er||h!==Er)&&(y+=h!==Er||M?"translate3d("+s+", "+o+", "+h+") ":"translate("+s+", "+o+Dr),a!==Ir&&(y+="rotate("+a+Dr),u!==Ir&&(y+="rotateY("+u+Dr),f!==Ir&&(y+="rotateX("+f+Dr),c===Ir&&l===Ir||(y+="skew("+c+", "+l+Dr),1===d&&1===v||(y+="scale("+d+", "+v+Dr),g.style[or]=y||"translate(0, 0)"},Nr=function(t,i){var n,r,e,s,o,h=i||this,a=h.xPercent,u=h.yPercent,f=h.x,c=h.y,l=h.rotation,d=h.skewX,v=h.skewY,p=h.scaleX,m=h.scaleY,g=h.target,w=h.xOrigin,y=h.yOrigin,M=h.xOffset,b=h.yOffset,x=h.forceCSS,C=parseFloat(f),k=parseFloat(c);l=parseFloat(l),d=parseFloat(d),(v=parseFloat(v))&&(d+=v=parseFloat(v),l+=v),l||d?(l*=En,d*=En,n=Math.cos(l)*p,r=Math.sin(l)*p,e=Math.sin(l-d)*-m,s=Math.cos(l-d)*m,d&&(v*=En,o=Math.tan(d-v),e*=o=Math.sqrt(1+o*o),s*=o,v&&(o=Math.tan(v),n*=o=Math.sqrt(1+o*o),r*=o)),n=Mt(n),r=Mt(r),e=Mt(e),s=Mt(s)):(n=p,s=m,r=e=0),(C&&!~(f+"").indexOf("px")||k&&!~(c+"").indexOf("px"))&&(C=Fr(g,"x",f,"px"),k=Fr(g,"y",c,"px")),(w||y||M||b)&&(C=Mt(C+w-(w*n+y*e)+M),k=Mt(k+y-(w*r+y*s)+b)),(a||u)&&(o=g.getBBox(),C=Mt(C+a/100*o.width),k=Mt(k+u/100*o.height)),g.setAttribute("transform",o="matrix("+n+","+r+","+e+","+s+","+C+","+k+")"),x&&(g.style[or]=o)},Ur=function(t,i,n,r,e){var s,o,h=360,a=Y(e),u=parseFloat(e)*(a&&~e.indexOf("rad")?In:1)-r,f=r+u+"deg";return a&&("short"===(s=e.split("_")[1])&&(u%=h)!=u%180&&(u+=u<0?h:-360),"cw"===s&&u<0?u=(u+36e9)%h-~~(u/h)*h:"ccw"===s&&u>0&&(u=(u-36e9)%h-~~(u/h)*h)),t._pt=o=new wn(t._pt,i,n,r,u,$n),o.e=f,o.u="deg",t._props.push(n),o},qr=function(t,i){for(var n in i)t[n]=i[n];return t},Wr=function(t,i,n){var r,e,s,o,h,a,u,f=qr({},n._gsap),c=n.style;for(e in f.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),c[or]=i,r=Ar(n,1),br(n,or),n.setAttribute("transform",s)):(s=getComputedStyle(n)[or],c[or]=i,r=Ar(n,1),c[or]=s),Xn)(s=f[e])!==(o=r[e])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(e)<0&&(h=ei(s)!==(u=ei(o))?Fr(n,e,s,u):parseFloat(s),a=parseFloat(o),t._pt=new wn(t._pt,r,e,h,a-h,Wn),t._pt.u=u||0,t._props.push(e));qr(r,f)};yt("padding,margin,Width,Radius",(function(t,i){var n="Top",r="Right",e="Bottom",s="Left",o=(i<3?[n,r,e,s]:[n+s,n+r,e+r,e+s]).map((function(n){return i<2?t+n:"border"+n+t}));Tr[i>1?"border"+t:t]=function(t,i,n,r,e){var s,h;if(arguments.length<4)return s=o.map((function(i){return _r(t,i,n)})),5===(h=s.join(" ")).split(s[0]).length?s[0]:h;s=(r+"").split(" "),h={},o.forEach((function(t,i){return h[t]=s[i]=s[i]||s[(i-1)/2|0]})),t.init(i,h,e)}}));var $r,Qr,Gr={name:"css",register:mr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,i,n,r,e){var s,o,h,a,u,f,c,l,d,v,p,m,g,w,y,M,b,x,C,k,_=this._props,O=t.style,P=n.vars.startAt;for(c in Yn||mr(),this.styles=this.styles||cr(t),M=this.styles.props,this.tween=n,i)if("autoRound"!==c&&(o=i[c],!ct[c]||!Gi(c,i,n,r,t,e)))if(f=Tr[c],"function"==(u=typeof o)&&(u=typeof(o=o.call(n,r,t,e))),"string"===u&&~o.indexOf("random(")&&(o=pi(o)),f)f(this,t,c,o,n)&&(y=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),o+="",Pi.lastIndex=0,Pi.test(s)||(l=ei(s),d=ei(o)),d?l!==d&&(s=Fr(t,c,s,d)+d):l&&(o+=l),this.add(O,"setProperty",s,o,r,e,0,0,c),_.push(c),M.push(c,0,O[c]);else if("undefined"!==u){if(P&&c in P?(s="function"==typeof P[c]?P[c].call(n,r,t,e):P[c],Y(s)&&~s.indexOf("random(")&&(s=pi(s)),ei(s+"")||"auto"===s||(s+=F.units[c]||ei(_r(t,c))||""),"="===(s+"").charAt(1)&&(s=_r(t,c))):s=_r(t,c),a=parseFloat(s),(v="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),h=parseFloat(o),c in qn&&("autoAlpha"===c&&(1===a&&"hidden"===_r(t,"visibility")&&h&&(a=0),M.push("visibility",0,O.visibility),xr(this,O,"visibility",a?"inherit":"hidden",h?"inherit":"hidden",!h)),"scale"!==c&&"transform"!==c&&~(c=qn[c]).indexOf(",")&&(c=c.split(",")[0])),p=c in Xn)if(this.styles.save(c),"string"===u&&"var(--"===o.substring(0,6)&&(o=dr(t,o.substring(4,o.indexOf(")"))),h=parseFloat(o)),m||((g=t._gsap).renderTransform&&!i.parseTransform||Ar(t,i.parseTransform),w=!1!==i.smoothOrigin&&g.smooth,(m=this._pt=new wn(this._pt,O,or,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===c)this._pt=new wn(this._pt,g,"scaleY",g.scaleY,(v?xt(g.scaleY,v+h):h)-g.scaleY||0,Wn),this._pt.u=0,_.push("scaleY",c),c+="X";else{if("transformOrigin"===c){M.push(hr,0,O[hr]),x=void 0,C=void 0,k=void 0,k=(x=(b=o).split(" "))[1]||"50%","top"!==(C=x[0])&&"bottom"!==C&&"left"!==k&&"right"!==k||(b=C,C=k,k=b),x[0]=Pr[C]||C,x[1]=Pr[k]||k,o=x.join(" "),g.svg?Zr(t,o,0,w,0,this):((d=parseFloat(o.split(" ")[2])||0)!==g.zOrigin&&xr(this,g,"zOrigin",g.zOrigin,d),xr(this,O,c,Vr(s),Vr(o)));continue}if("svgOrigin"===c){Zr(t,o,1,w,0,this);continue}if(c in Sr){Ur(this,g,c,a,v?xt(a,v+o):o);continue}if("smoothOrigin"===c){xr(this,g,"smooth",g.smooth,o);continue}if("force3D"===c){g[c]=o;continue}if("transform"===c){Wr(this,o,t);continue}}else c in O||(c=pr(c)||c);if(p||(h||0===h)&&(a||0===a)&&!Un.test(o)&&c in O)h||(h=0),(l=(s+"").substr((a+"").length))!==(d=ei(o)||(c in F.units?F.units[c]:l))&&(a=Fr(t,c,s,d)),this._pt=new wn(this._pt,p?g:O,c,a,(v?xt(a,v+h):h)-a,p||"px"!==d&&"zIndex"!==c||!1===i.autoRound?Wn:Gn),this._pt.u=d||0,l!==d&&"%"!==d&&(this._pt.b=s,this._pt.r=Qn);else if(c in O)Or.call(this,t,c,s,v?v+o:o);else if(c in t)this.add(t,c,s||t[c],v?v+o:o,r,e);else if("parseTransform"!==c){it(c,o);continue}p||(c in O?M.push(c,0,O[c]):"function"==typeof t[c]?M.push(c,2,t[c]()):M.push(c,1,s||t[c])),_.push(c)}y&&gn(this)},render:function(t,i){if(i.tween._time||!Vn())for(var n=i._pt;n;)n.r(t,n.d),n=n._next;else i.styles.revert()},get:_r,aliases:qn,getSetter:function(t,i,n){var r=qn[i];return r&&r.indexOf(",")<0&&(i=r),i in Xn&&i!==hr&&(t._gsap.x||_r(t,"x"))?n&&An===n?"scale"===i?rr:nr:(An=n||{})&&("scale"===i?er:sr):t.style&&!V(t.style[i])?tr:~i.indexOf("-")?ir:un(t,i)},core:{_removeProperty:br,_getMatrix:Yr}};Hn.utils.checkPrefix=pr,Hn.core.getStyleSaver=cr,Qr=yt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+($r="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Xn[t]=1})),yt($r,(function(t){F.units[t]="deg",Sr[t]=1})),qn[Qr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+$r,yt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var i=t.split(":");qn[i[1]]=Qr[i[0]]})),yt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){F.units[t]="px"})),Hn.registerPlugin(Gr);var Jr=Hn.registerPlugin(Gr)||Hn;const Kr=(t,i,n=!1)=>{const r=Math.random()*(i-t)+t;return n?Math.floor(r):r},te=class{constructor(i){t(this,i),this.name="hexabot",this.isFollowingMouse=!1,this.isBlinking=!1,this.isThinking=!1,this.faceOffsetX=0,this.faceOffsetY=0,this.mouseX=0,this.mouseY=0,this.currentRotateX=0,this.currentRotateY=0,this.expressionAngleMax=16,this.expressionFollowMouseHeadDuration=.3,this.expressionFollowMouseTraitsDuration=.2,this.handLeftGeometry={think:"M6 15C6.55228 15 7 15.4477 7 16V17H13C13.5523 17 14 17.4477 14 18C14 18.5523 13.5523 19 13 19H10.3818C11.1252 19 11.6088 19.7824 11.2764 20.4473L10.2764 22.4473C10.107 22.786 9.76059 23 9.38184 23H6V22.9541L5.85742 23H4V19L5 17V15H6Z"},this.eyeLeftGeometry={open:"M8 8H10V11H8V8Z",close:"M7 10H10V11H7V10Z"},this.eyeRightGeometry={open:"M14 8H16V11H14V8Z",close:"M14 10H17V11H14V10Z"},this.headGeometry={hexagon:"M7 3L1.5 12L7 21H17L22.5 12L17 3H7Z",hexagonRounded:"M6.12266 4.43565L2.45599 10.4356C1.86912 11.396 1.86912 12.604 2.45599 13.5643L6.12266 19.5644C6.66763 20.4561 7.6374 21 8.6825 21H15.3175C16.3626 21 17.3324 20.4561 17.8773 19.5644L21.544 13.5644C22.1309 12.604 22.1309 11.396 21.544 10.4357L17.8773 4.43565C17.3324 3.54389 16.3626 3 15.3175 3H8.6825C7.6374 3 6.66763 3.54389 6.12266 4.43565Z"},this.mouthGeometry={open:"M12 18C10.8954 18 10 16.8807 10 15.5C10 14.1193 10.8954 13 12 13C13.1046 13 14 14.1193 14 15.5C14 16.8807 13.1046 18 12 18Z",quiet:"M16 15H8C8 17 7.5 17 12 17C16.5 17 16 17 16 15Z",sad:"M8 17C8 15.3431 9.79086 14 12 14C14.1402 14 15.8881 15.2605 15.9951 16.8457L16 17L8 17Z",serious:"M9 15H15V17H9V15Z",think:"M8 14H16V16H8V14Z",happy:"M16 14H8C8.33333 15.3333 9 18 12 18C15 18 15.6667 15.3333 16 14Z",smile:"M16.707 15.707C15.4771 16.937 13.6985 17.5 12 17.5C10.3015 17.5 8.52294 16.937 7.29297 15.707L8.70703 14.293C9.47706 15.063 10.6985 15.5 12 15.5C13.3015 15.5 14.5229 15.063 15.293 14.293L16.707 15.707Z",smileLeft:"M10 14C10 15.1046 10.8954 16 12 16H14V18H12C9.79086 18 8 16.2091 8 14H10Z",smileRight:"M14 14C14 15.1046 13.1046 16 12 16H10V18H12C14.2091 18 16 16.2091 16 14H14Z"},this.getEmojiCenter=()=>{const t=this.host.getBoundingClientRect();return{centerX:t.left+t.width/2,centerY:t.top+t.height/2}},this.stopConcurrentAnimations=()=>{this.isThinking&&this.stopThinking()},this.setAgreeAnimation=()=>{this.isFollowingMouse=!1,Jr.killTweensOf(this.emojiEl);const t=this.currentRotateX;Jr.timeline({onComplete:()=>{Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:.3,ease:"power2.out",onComplete:()=>{this.isFollowingMouse=!0}})}}).to(this.emojiEl,{rotateX:t-40,duration:.15,ease:"power2.out"}).to(this.emojiEl,{rotateX:t+20,duration:.2,ease:"power1.inOut"}).to(this.emojiEl,{rotateX:t-20,duration:.15,ease:"power2.inOut"}).to(this.emojiEl,{rotateX:t+5,duration:.2,ease:"power1.out"}).to(this.emojiEl,{rotateX:t,duration:.3,ease:"power3.out"}),Jr.fromTo(this.mouthEl,{attr:{d:this.mouthGeometry.happy}},{scaleY:.5,transformOrigin:"50% 50%",onComplete:()=>{Jr.fromTo(this.mouthEl,{attr:{d:this.mouthGeometry.smile}},{scaleY:1,transformOrigin:"50% 50%",duration:.2,ease:"expo.inOut"})},duration:.75,ease:"expo.inOut"})},this.setDisagreeAnimation=(t=0)=>{this.isFollowingMouse=!1,Jr.killTweensOf(this.emojiEl);const i="power2.inOut";Jr.timeline({onComplete:()=>{Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:.3,ease:"power2.out",onComplete:()=>{this.isFollowingMouse=!0}})}}).to(this.emojiEl,{rotateY:this.currentRotateY-40,duration:.25,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY+30,duration:.2,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY-20,duration:.15,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY+10,duration:.1,ease:i}).to(this.emojiEl,{rotateY:this.currentRotateY,duration:.3,ease:i}),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.serious},duration:0,ease:"none",onComplete:()=>{setTimeout((()=>{Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.serious},duration:0,ease:"none",onComplete:()=>{t>0&&setTimeout((()=>{Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.smile},duration:0,ease:"none"})}),t)}})}),1e3)}})},this.moveEyesThinkAnimation=()=>{var t;const i=Kr(.25,.75),n="expo.Out",r=1*Kr(-1,1,!0),e=(null!==(t=this.faceOffsetX)&&void 0!==t?t:0)+r;Jr.to(this.eyeLeftEl,{x:e,ease:n,duration:i}),Jr.to(this.eyeRightEl,{x:e,ease:n,duration:i,onComplete:()=>{this.isThinking?this.moveEyesThinkAnimation():(Jr.to(this.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5}))}})},this.setStartThinkingAnimation=()=>{this.handLeftEl.style.visibility="visible",Jr.fromTo(this.handLeftEl,{scale:0,rotateZ:45},{scale:1,rotateZ:0,ease:"expo.inOut",duration:.5}),this.moveEyesThinkAnimation(),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.think},duration:0,ease:"none"})},this.setStopThinkingAnimation=()=>{Jr.to(this.handLeftEl,{scale:0,y:0,rotateZ:45,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeLeftEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.eyeRightEl,{x:0,ease:"expo.inOut",duration:.5}),Jr.to(this.mouthEl,{attr:{d:this.mouthGeometry.smile},duration:0,ease:"none"})},this.loopBlink=()=>{this.blinkOnce(),this.queueNextBlink()},this.queueNextBlink=()=>{this.isBlinking&&(this.blinkTimeout=setTimeout(this.loopBlink.bind(this),Kr(2e3,5e3)))},this.blinkOnce=()=>{Jr.to(this.eyeLeftEl,{attr:{d:this.eyeLeftGeometry.close},duration:.15,onComplete:()=>{Jr.to(this.eyeLeftEl,{attr:{d:this.eyeLeftGeometry.open},duration:.15})}}),Jr.to(this.eyeRightEl,{attr:{d:this.eyeRightGeometry.close},duration:.15,onComplete:()=>{Jr.to(this.eyeRightEl,{attr:{d:this.eyeRightGeometry.open},duration:.15})}})},this.handleFollowMouse=t=>{this.isFollowingMouse&&(this.mouseX=t.clientX,this.mouseY=t.clientY,this.followMouse())},this.followMouse=()=>{const{centerX:t}=this.getEmojiCenter(),{centerY:i}=this.getEmojiCenter();let n=this.getEmojiCenter().centerX,r=this.getEmojiCenter().centerY;const e="power1.out";this.isFollowingMouse&&(n=this.mouseX,r=this.mouseY);const s=this.host.getBoundingClientRect(),o=(n-t)/(s.width/2),h=(r-i)/(s.height/2);this.currentRotateY=Jr.utils.clamp(-this.expressionAngleMax,this.expressionAngleMax,o*this.expressionAngleMax),this.currentRotateX=Jr.utils.clamp(-this.expressionAngleMax,this.expressionAngleMax,-h*this.expressionAngleMax),Jr.to(this.emojiEl,{rotateX:this.currentRotateX,rotateY:this.currentRotateY,duration:this.expressionFollowMouseHeadDuration,ease:e}),this.faceOffsetX=Jr.utils.clamp(-1,1,1*o),this.faceOffsetY=Jr.utils.clamp(-1,1,1*h),Jr.to(this.eyeLeftEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e}),Jr.to(this.eyeRightEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e}),Jr.to(this.handLeftEl,{x:this.faceOffsetX,y:this.faceOffsetY,duration:this.expressionFollowMouseTraitsDuration,ease:e});const a=Jr.utils.clamp(-1,1,1*o),u=Jr.utils.clamp(-1,1,1*h);Jr.to(this.mouthEl,{x:a,y:u,duration:this.expressionFollowMouseTraitsDuration,ease:e})},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.host);this.expressionAngleMax=e(t.getPropertyValue("--mds-emoji-expression-max-rotation")),this.expressionFollowMouseHeadDuration=s(t.getPropertyValue("--mds-emoji-expression-follow-mouse-head-duration")),this.expressionFollowMouseTraitsDuration=s(t.getPropertyValue("--mds-emoji-expression-follow-mouse-traits-duration"))}}async agree(){return this.stopConcurrentAnimations(),this.setAgreeAnimation(),Promise.resolve()}async disagree(t=0){return this.stopConcurrentAnimations(),this.setDisagreeAnimation(t),Promise.resolve()}async startThinking(){return this.isThinking=!0,this.setStartThinkingAnimation(),Promise.resolve()}async stopThinking(){return this.isThinking=!1,this.setStopThinkingAnimation(),Promise.resolve()}async startBlinking(){if(!this.isBlinking)return this.isBlinking=!0,this.queueNextBlink(),Promise.resolve()}async stopBlinking(){return this.isBlinking=!1,clearTimeout(this.blinkTimeout),Promise.resolve()}async stopFollowMouse(){return this.isFollowingMouse=!1,this.followMouse(),Promise.resolve()}async startFollowMouse(){return this.isFollowingMouse=!0,this.followMouse(),Promise.resolve()}componentDidLoad(){window&&(this.updateCSSCustomProps(),window.addEventListener("mousemove",this.handleFollowMouse),this.headEl.setAttribute("d",this.headGeometry.hexagonRounded))}disconnectedCallback(){window&&window.removeEventListener("mousemove",this.handleFollowMouse)}render(){return i(n,{key:"27445bb72a3b9356d04c9f750659e340c55df645"},"hexabot"===this.name&&i("svg",{key:"dc5b2458b8d81a2442a17ab78977872d1e38980d",ref:t=>this.emojiEl=t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"1fcbc98434f91dde73cd07d0949fa204054f77b1",class:"head",ref:t=>this.headEl=t,d:this.headGeometry.hexagonRounded,fill:"black"}),i("path",{key:"83e37976089c0178c1fae60afbebc69c095c58ba",class:"eye",ref:t=>this.eyeLeftEl=t,d:this.eyeLeftGeometry.open,fill:"white"}),i("path",{key:"b269ce64bf75a48edcfda40ce43148e96aa01040",class:"eye",ref:t=>this.eyeRightEl=t,d:this.eyeRightGeometry.open,fill:"white"}),i("path",{key:"181b23f8bfe386eb904b03a2c701dc8afc897214",class:"mouth",ref:t=>this.mouthEl=t,d:this.mouthGeometry.smile,fill:"white"}),i("path",{key:"97f3ab4d10088161dee6c9e577815cb38ac5cbd0",class:"hand",ref:t=>this.handLeftEl=t,d:this.handLeftGeometry.think,fill:"white"})))}get host(){return r(this)}};te.style=':host{--mds-emoji-expression-follow-mouse-traits-duration:200ms;--mds-emoji-expression-follow-mouse-head-duration:300ms;--mds-emoji-expression-max-rotation:16deg;--mds-emoji-eyes:rgb(var(--label-yellow-04));--mds-emoji-head:rgb(var(--label-yellow-08));--mds-emoji-mouth:rgb(var(--label-yellow-06));--mds-emoji-hand:rgb(var(--label-yellow-06));--mds-emoji-perspective:400px;-ms-flex-align:stretch;align-items:stretch;aspect-ratio:1/1;display:-ms-flexbox;display:flex;height:3rem;-ms-flex-pack:stretch;justify-content:stretch;-webkit-perspective:var(--mds-emoji-perspective);perspective:var(--mds-emoji-perspective);-webkit-perspective-origin:center;perspective-origin:center;width:3rem}svg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform 0.2s ease-out;transition:-webkit-transform 0.2s ease-out;transition:transform 0.2s ease-out;transition:transform 0.2s ease-out, -webkit-transform 0.2s ease-out}:host .head{fill:var(--mds-emoji-head)}:host .eye{fill:var(--mds-emoji-eyes)}:host .mouth{fill:var(--mds-emoji-mouth)}:host .hand{fill:var(--mds-emoji-hand);visibility:hidden}:host([name="hexabot"]){--mds-emoji-head:rgb(var(--variant-ai-08));--mds-emoji-eyes:rgb(var(--variant-ai-03));--mds-emoji-mouth:rgb(var(--variant-ai-06));--mds-emoji-hand:rgb(var(--variant-ai-06))}';export{te as mds_emoji}
|