@tet/tet-components 1.4.71-testing → 1.4.72-staging
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/{address-656e77f6.js → address-f852270f.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +17 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/{tet-checkbox_3.cjs.entry.js → tet-checkbox_2.cjs.entry.js} +1 -375
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +360 -0
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +2 -2
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +7 -5
- package/dist/cjs/tet-menu.cjs.entry.js +397 -92
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +13 -11
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +2 -2
- package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +380 -0
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +34 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +34 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/test/comparison-response.mock.js +463 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.css +868 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +699 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.css +3 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +11 -9
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.css +3 -0
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.css +23 -7
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +34 -0
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.css +819 -39
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +464 -95
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.css +56 -36
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +23 -3
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.css +17 -3
- package/dist/components/index.js +3 -1
- package/dist/components/{p-8803338b.js → p-05f9e34d.js} +1 -1
- package/dist/components/{p-42d78188.js → p-08612744.js} +7 -7
- package/dist/components/{p-22b05881.js → p-0c48b91d.js} +3 -3
- package/dist/components/{p-a57638be.js → p-0dc23dbb.js} +1 -1
- package/dist/components/{p-61ba5ba1.js → p-1585767d.js} +1 -1
- package/dist/components/{p-1942f0f5.js → p-1a0a5e0b.js} +3 -3
- package/dist/components/{p-d840d114.js → p-1bfee463.js} +1 -1
- package/dist/components/{p-c7f783f8.js → p-1c324769.js} +7 -7
- package/dist/components/{p-4d181fc9.js → p-25538d98.js} +5 -5
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-dab4d025.js → p-3794206a.js} +1 -1
- package/dist/components/{p-5a41a155.js → p-3e36e361.js} +4 -4
- package/dist/components/{p-05a4a88a.js → p-3f70a86a.js} +2 -2
- package/dist/components/{p-72215a89.js → p-3fef4912.js} +2 -2
- package/dist/components/{p-de671173.js → p-43ae78c6.js} +1 -1
- package/dist/components/{p-734f67c5.js → p-446fe76d.js} +1 -1
- package/dist/components/{p-a46ed058.js → p-4606f4f9.js} +1 -1
- package/dist/components/{p-70a6ba6c.js → p-464941c1.js} +14 -14
- package/dist/components/{p-7cd73a11.js → p-4ca8db20.js} +3 -3
- package/dist/components/{p-789bee5f.js → p-503abf7a.js} +1 -1
- package/dist/components/{p-b63a7833.js → p-538a0e87.js} +3 -3
- package/dist/components/{p-8cd5cc24.js → p-57b59a16.js} +2 -2
- package/dist/components/{p-eabd73fc.js → p-5c4dbc29.js} +3 -3
- package/dist/components/{p-f6c678ae.js → p-5f9d5d42.js} +2 -2
- package/dist/components/{p-69ddd50b.js → p-65955941.js} +6 -6
- package/dist/components/{p-d659d0dc.js → p-6d79283f.js} +1 -1
- package/dist/components/{p-f6e855a8.js → p-6e8583d1.js} +7 -7
- package/dist/components/{p-2f7b2d35.js → p-72ab8bd5.js} +1 -1
- package/dist/components/{p-68c6a6d2.js → p-785629c2.js} +1 -1
- package/dist/components/{p-6e273f47.js → p-79241ad5.js} +1 -1
- package/dist/components/{p-e8595e06.js → p-7e14c59f.js} +14 -12
- package/dist/components/{p-ecb62209.js → p-7e21e309.js} +2 -2
- package/dist/components/{p-6b6e4f80.js → p-7f14c72a.js} +1 -1
- package/dist/components/{p-efa3ec10.js → p-89110d69.js} +2 -2
- package/dist/components/{p-a6c51126.js → p-8a9be4ba.js} +2 -2
- package/dist/components/{p-d2906f29.js → p-8e3c606a.js} +3 -3
- package/dist/components/{p-b7eb822d.js → p-926949eb.js} +1 -1
- package/dist/components/{p-8f9ff447.js → p-9568c281.js} +2 -2
- package/dist/components/{p-d5d6ad18.js → p-95b43510.js} +2 -2
- package/dist/components/{p-454eccfc.js → p-9972183e.js} +3 -3
- package/dist/components/{p-e72337be.js → p-9e4881fa.js} +1 -1
- package/dist/components/{p-25ea4db6.js → p-a2b1a79a.js} +1 -1
- package/dist/components/{p-806583bf.js → p-a40527e5.js} +4 -4
- package/dist/components/{p-411270c6.js → p-a4099430.js} +2 -2
- package/dist/components/{p-23f7b264.js → p-a4c4d2c3.js} +7 -7
- package/dist/components/{p-b51591ec.js → p-a79cb5c9.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-189a37d2.js → p-b4ccc509.js} +5 -5
- package/dist/components/{p-1a84e464.js → p-b520b98a.js} +6 -6
- package/dist/components/{p-d6c8d210.js → p-c9d8d5c6.js} +10 -10
- package/dist/components/{p-3c404244.js → p-d0df24b6.js} +1 -1
- package/dist/components/{p-70507bfc.js → p-d2a24b94.js} +1 -1
- package/dist/components/{p-79e64e7a.js → p-d65f79c8.js} +3 -3
- package/dist/components/{p-a004fba4.js → p-d8eb751f.js} +2 -2
- package/dist/components/{p-2be031c9.js → p-d9008657.js} +9 -9
- package/dist/components/{p-1281b61e.js → p-d92091d6.js} +2 -2
- package/dist/components/{p-8f3097ac.js → p-e7e499ef.js} +10 -10
- package/dist/components/{p-cd88c18e.js → p-f2443ea9.js} +7 -7
- package/dist/components/{p-809b2c68.js → p-fcf4aad0.js} +3 -3
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -12
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +10 -10
- package/dist/components/tet-compare-card-v3.d.ts +11 -0
- package/dist/components/tet-compare-card-v3.js +440 -0
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +4 -4
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +9 -6
- package/dist/components/tet-menu.js +405 -95
- package/dist/components/tet-mini-compare-card.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +3 -3
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +11 -11
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-support-search.js +7 -7
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +17 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/{tet-checkbox_3.entry.js → tet-checkbox_2.entry.js} +2 -375
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +4 -4
- package/dist/esm/tet-compare-card-v3.entry.js +356 -0
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +2 -2
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +7 -5
- package/dist/esm/tet-menu.entry.js +397 -92
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +2 -2
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +13 -11
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +2 -2
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +376 -0
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-805fb580.entry.js → p-0416fa6c.entry.js} +1 -1
- package/dist/tet-components/{p-25bb7d4f.entry.js → p-08aeaafd.entry.js} +1 -1
- package/dist/tet-components/{p-84322a3d.entry.js → p-091ba284.entry.js} +1 -1
- package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
- package/dist/tet-components/{p-b01405f8.entry.js → p-0e6d4a8f.entry.js} +1 -1
- package/dist/tet-components/{p-e93ab3e8.entry.js → p-0f8cdb24.entry.js} +1 -1
- package/dist/tet-components/{p-1080e977.entry.js → p-18c74666.entry.js} +1 -1
- package/dist/tet-components/{p-697d23d7.entry.js → p-1beb018b.entry.js} +1 -1
- package/dist/tet-components/{p-97cff839.entry.js → p-1d7b8a14.entry.js} +1 -1
- package/dist/tet-components/p-1deaa34b.entry.js +1 -0
- package/dist/tet-components/{p-edd42275.entry.js → p-1ff90a2c.entry.js} +1 -1
- package/dist/tet-components/{p-6693715e.entry.js → p-25d4852b.entry.js} +1 -1
- package/dist/tet-components/{p-e290c65d.entry.js → p-26147420.entry.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
- package/dist/tet-components/{p-7f18c74c.entry.js → p-278f1d5e.entry.js} +1 -1
- package/dist/tet-components/{p-d06f8b4e.entry.js → p-27a33156.entry.js} +1 -1
- package/dist/tet-components/{p-52949a88.entry.js → p-2bf6d5b3.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
- package/dist/tet-components/{p-64e277c1.entry.js → p-3251b52b.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-fc88ce77.entry.js → p-40ed3be9.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-2b5b2c71.entry.js → p-47a897c5.entry.js} +1 -1
- package/dist/tet-components/p-4a86dd2b.entry.js +1 -0
- package/dist/tet-components/{p-6be0549b.entry.js → p-4babd7b2.entry.js} +1 -1
- package/dist/tet-components/{p-d778c1fe.entry.js → p-4e21dd2f.entry.js} +1 -1
- package/dist/tet-components/{p-900bd4e1.entry.js → p-4e9f66a8.entry.js} +1 -1
- package/dist/tet-components/{p-cf3456e2.entry.js → p-51dfe68c.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/{p-1393ed60.entry.js → p-5527dd96.entry.js} +1 -1
- package/dist/tet-components/{p-003e17a0.entry.js → p-58313d11.entry.js} +1 -1
- package/dist/tet-components/{p-38be49a6.entry.js → p-592f0674.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
- package/dist/tet-components/{p-d5b36540.entry.js → p-5ec1a6cf.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-480ca12a.entry.js → p-60ef69f6.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/{p-39ae25f5.entry.js → p-65644d7a.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/p-6c468fef.entry.js +1 -0
- package/dist/tet-components/{p-401e736e.entry.js → p-70448ec8.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-b31168fc.entry.js → p-738c3987.entry.js} +1 -1
- package/dist/tet-components/{p-e13c62c8.entry.js → p-78ec990b.entry.js} +1 -1
- package/dist/tet-components/{p-ff291490.entry.js → p-7c7330ad.entry.js} +1 -1
- package/dist/tet-components/{p-b10165d6.entry.js → p-7e2c854a.entry.js} +1 -1
- package/dist/tet-components/{p-78d6f52c.entry.js → p-812e4964.entry.js} +1 -1
- package/dist/tet-components/{p-69c58fc4.entry.js → p-81cabfb1.entry.js} +1 -1
- package/dist/tet-components/{p-5fb62a1b.entry.js → p-85fffa05.entry.js} +1 -1
- package/dist/tet-components/p-87248982.entry.js +1 -0
- package/dist/tet-components/{p-949d0eaf.entry.js → p-8998d112.entry.js} +1 -1
- package/dist/tet-components/{p-ba8c6a1c.entry.js → p-89d2d3d9.entry.js} +1 -1
- package/dist/tet-components/{p-46b3fc7f.entry.js → p-8ac7782f.entry.js} +1 -1
- package/dist/tet-components/{p-3324b31a.entry.js → p-8e72a5cb.entry.js} +1 -1
- package/dist/tet-components/{p-be3cb49b.entry.js → p-90d2e87a.entry.js} +1 -1
- package/dist/tet-components/p-928c38da.entry.js +1 -0
- package/dist/tet-components/{p-b98f7254.entry.js → p-9c0a5507.entry.js} +1 -1
- package/dist/tet-components/{p-d1035694.entry.js → p-9c34400c.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
- package/dist/tet-components/{p-331e7bf2.entry.js → p-a28e087f.entry.js} +1 -1
- package/dist/tet-components/{p-83e4ae9f.entry.js → p-a3b09130.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-c711cd66.entry.js → p-a80fa7d0.entry.js} +1 -1
- package/dist/tet-components/{p-7fc933fe.entry.js → p-aa09ca5f.entry.js} +1 -1
- package/dist/tet-components/{p-9a75ed39.entry.js → p-aba71e2d.entry.js} +1 -1
- package/dist/tet-components/{p-cd86d0b1.entry.js → p-ad38e14e.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-93820289.entry.js → p-b4fb5193.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-e6aab016.entry.js → p-bb0dd139.entry.js} +1 -1
- package/dist/tet-components/{p-2c92d701.entry.js → p-bea999e0.entry.js} +1 -1
- package/dist/tet-components/{p-2fb8ea65.entry.js → p-bf61c059.entry.js} +1 -1
- package/dist/tet-components/{p-f58bb61e.entry.js → p-c07ad1c3.entry.js} +1 -1
- package/dist/tet-components/{p-75bbc14a.entry.js → p-c1955aa6.entry.js} +1 -1
- package/dist/tet-components/{p-f93ab9f3.entry.js → p-c7e67378.entry.js} +1 -1
- package/dist/tet-components/{p-ed07c65a.entry.js → p-c82904b9.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-1ff1f044.entry.js → p-ceff5b1f.entry.js} +1 -1
- package/dist/tet-components/{p-5c821eef.entry.js → p-cf362ecc.entry.js} +1 -1
- package/dist/tet-components/{p-85f3f726.entry.js → p-d811ee75.entry.js} +1 -1
- package/dist/tet-components/{p-a0baf31a.entry.js → p-db46f3c9.entry.js} +1 -1
- package/dist/tet-components/{p-8fa0be45.entry.js → p-dcfc2639.entry.js} +1 -1
- package/dist/tet-components/{p-689e9d36.entry.js → p-e1aa6a4d.entry.js} +1 -1
- package/dist/tet-components/{p-b5315830.entry.js → p-e1bba17c.entry.js} +1 -1
- package/dist/tet-components/{p-5b5001cf.entry.js → p-e1ce8689.entry.js} +1 -1
- package/dist/tet-components/{p-6b088283.entry.js → p-e30eca37.entry.js} +1 -1
- package/dist/tet-components/{p-876009b7.entry.js → p-e3f93dd7.entry.js} +1 -1
- package/dist/tet-components/{p-f9c69d39.entry.js → p-e70a8127.entry.js} +1 -1
- package/dist/tet-components/{p-fa259a3d.entry.js → p-e8ec9d1c.entry.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/p-ecfd2169.entry.js +1 -0
- package/dist/tet-components/{p-e17d0862.entry.js → p-f1771c69.entry.js} +1 -1
- package/dist/tet-components/{p-4b84438a.entry.js → p-f17a4724.entry.js} +1 -1
- package/dist/tet-components/{p-b44083d7.entry.js → p-f63082c7.entry.js} +1 -1
- package/dist/tet-components/{p-bd9f9dea.entry.js → p-fada27ab.entry.js} +1 -1
- package/dist/tet-components/{p-255cd889.entry.js → p-fbc6cc0a.entry.js} +1 -1
- package/dist/tet-components/{p-7e7068af.entry.js → p-fbe053de.entry.js} +1 -1
- package/dist/tet-components/{p-6babde37.entry.js → p-fc81fb8e.entry.js} +1 -1
- package/dist/tet-components/{p-25e48d9f.entry.js → p-fcbb1ac6.entry.js} +1 -1
- package/dist/tet-components/{p-ddce536f.entry.js → p-fd682dea.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +169 -0
- package/dist/types/components/simple/menu/tet-menu/tet-menu.d.ts +111 -1
- package/dist/types/components/simple/menu/tet-menu-mobile/tet-menu-mobile.d.ts +4 -0
- package/dist/types/components.d.ts +186 -3
- package/dist/types/services/api/services/catalog/product-comparison.d.ts +3 -3
- package/package.json +1 -1
- package/dist/tet-components/p-1fbb7d96.entry.js +0 -1
- package/dist/tet-components/p-b0688983.entry.js +0 -1
- package/dist/tet-components/p-cac7dbf9.entry.js +0 -1
- package/dist/tet-components/p-d091fa60.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
6
|
|
|
7
|
-
const tetMenuCss = ":host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:\"\\e86e\"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:\"\\e85a\"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:\"\\e85b\"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:\"\\e86c\"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:\"\\e855\"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:\"\\e859\"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:\"\\e856\"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:\"\\e86a\"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:\"\\e81d\"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:\"\\e867\"}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--menu-text-size:0.875rem;--menu-line-height:1.25rem;--menu-font-family:\"Inter\", var(--font-family-fallback);--menu-border-radius:0.625rem;--menu-text-color:var(--tc-text-primary);--menu-text-inverse-color:var(--tc-button-text-primary);--menu-text-secondary-color:var(--tc-text-secondary);--menu-background-color:var(--tc-background-white-black);--menu-link-active-background-color:var(--tc-blue-00);--menu-link-hover-background-color:var(--tc-menu-item-hover);--menu-dropdown-border-color:var(--tc-grey-20);--menu-dropdown-box-shadow:var(--tc-elevation-three);--menu-focus-outline-color:var(--tc-blue-40);--menu-login-button-background-color:var(--tc-button-primary-background-default);--menu-login-button-background-hover-color:var(--tc-button-primary-background-hover);--menu-separator-line-color:var(--tc-grey-20);--menu-badge-background-color:var(--tc-menu-item-badge);display:inline-block;position:relative;box-sizing:border-box}.menu{position:relative;padding:0.25rem 0;color:var(--menu-text-color);line-height:var(--menu-line-height);font-family:var(--menu-font-family);font-size:var(--menu-text-size);font-weight:500}.menu.menu__dark{--menu-text-color:var(--tc-text-primary-dark);--menu-text-inverse-color:var(--tc-button-text-primary-dark);--menu-text-secondary-color:var(--tc-text-secondary-dark);--menu-background-color:var(--tc-background-secondary-dark);--menu-link-active-background-color:rgba(24, 40, 59, 1);--menu-link-hover-background-color:var(--tc-menu-item-hover-dark);--menu-dropdown-border-color:var(--tc-grey-80);--menu-dropdown-box-shadow:var(--tc-elevation-three-dark);--menu-focus-outline-color:var(--tc-blue-40-dark);--menu-login-button-background-color:var(--tc-button-primary-background-default-dark);--menu-login-button-background-hover-color:var(--tc-button-primary-background-hover-dark);--menu-separator-line-color:var(--tc-grey-80);--menu-badge-background-color:var(--tc-menu-item-badge-dark)}.menu.menu__dark .menu__first-level--theme-yellow{--menu-item-theme-bg:var(--tc-menu-item-yellow-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-yellow-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-yellow-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-yellow-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-yellow-gradient-main-dark) 30%,\n var(--tc-menu-item-yellow-gradient-accent-dark) 50%,\n var(--tc-menu-item-yellow-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-red{--menu-item-theme-bg:var(--tc-menu-item-red-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-red-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-red-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-red-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-red-gradient-main-dark) 30%,\n var(--tc-menu-item-red-gradient-accent-dark) 50%,\n var(--tc-menu-item-red-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-green{--menu-item-theme-bg:var(--tc-menu-item-green-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-green-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-green-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-green-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-green-gradient-main-dark) 30%,\n var(--tc-menu-item-green-gradient-accent-dark) 50%,\n var(--tc-menu-item-green-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-violet{--menu-item-theme-bg:var(--tc-menu-item-violet-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-violet-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-violet-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-violet-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-violet-gradient-main-dark) 30%,\n var(--tc-menu-item-violet-gradient-accent-dark) 50%,\n var(--tc-menu-item-violet-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-blue{--menu-item-theme-bg:var(--tc-menu-item-blue-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-blue-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-blue-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-blue-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-blue-gradient-main-dark) 30%,\n var(--tc-menu-item-blue-gradient-accent-dark) 50%,\n var(--tc-menu-item-blue-gradient-main-dark) 70%\n )}.menu a{color:var(--menu-text-color);text-decoration:none}.menu__first-level{display:flex;flex-direction:row;align-items:center;border-radius:var(--menu-border-radius);padding:0.5rem 0.75rem;white-space:nowrap}.menu__first-level .chevron{display:flex;--icon-size:1rem;margin-left:0.4rem;transition:transform 150ms ease-out}.menu__first-level:hover{background-color:var(--menu-link-hover-background-color)}.menu__first-level:hover .chevron{transform:rotate(-180deg)}.menu__first-level:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color)}.menu__badge{font:500 0.75rem/1rem \"Inter\", \"Gilroy, Arial, sans-serif\";padding:0.125rem 0.375rem;border-radius:0.25rem;background-color:var(--menu-badge-background-color)}.menu__icon{display:none}.menu__dropdown{max-height:0;transform:scaleY(0);position:absolute;margin-top:0.25rem;z-index:1;min-width:14rem;background:var(--menu-background-color);border:0.031rem solid var(--menu-dropdown-border-color);box-shadow:var(--menu-dropdown-box-shadow);border-radius:var(--menu-border-radius);transform-origin:top;animation-name:hideDropdown;animation-fill-mode:both;animation-duration:300ms;animation-timing-function:ease-out;right:0}:hover>.menu__dropdown,:focus>.menu__dropdown,:focus-within>.menu__dropdown{max-height:100rem;transform:scaleY(1);animation-name:showDropdown;animation-fill-mode:both;animation-duration:300ms;animation-timing-function:ease-out;outline:none}.menu__dropdown__list{padding:0.625rem 0 0.438rem 0}.menu__dropdown__list__sub-title{display:none}.menu__dropdown__list li{list-style:none;white-space:nowrap;padding-bottom:0.063rem}.menu__dropdown a{padding:0.5rem 1rem;display:block}.menu__dropdown a:hover{background-color:var(--menu-link-hover-background-color)}.menu__dropdown a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__dropdown a.menu--active{background-color:var(--menu-link-active-background-color)}.menu__dropdown a.menu--active:hover{background-color:var(--menu-link-hover-background-color)}.menu__main{--menu-text-size:1rem;--menu-line-height:1.5rem}.menu__main .menu__first-level{padding:0.375rem 0.75rem;gap:0.25rem}.menu__main .menu__first-level .chevron{--icon-size:1.25rem;margin-left:0}.menu__main .menu__first-level--theme-yellow{--menu-item-theme-bg:var(--tc-menu-item-yellow-background-default);--menu-item-theme-border:var(--tc-menu-item-yellow-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-yellow-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-yellow-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-yellow-gradient-main) 30%,\n var(--tc-menu-item-yellow-gradient-accent) 50%,\n var(--tc-menu-item-yellow-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-red{--menu-item-theme-bg:var(--tc-menu-item-red-background-default);--menu-item-theme-border:var(--tc-menu-item-red-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-red-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-red-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-red-gradient-main) 30%,\n var(--tc-menu-item-red-gradient-accent) 50%,\n var(--tc-menu-item-red-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-green{--menu-item-theme-bg:var(--tc-menu-item-green-background-default);--menu-item-theme-border:var(--tc-menu-item-green-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-green-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-green-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-green-gradient-main) 30%,\n var(--tc-menu-item-green-gradient-accent) 50%,\n var(--tc-menu-item-green-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-violet{--menu-item-theme-bg:var(--tc-menu-item-violet-background-default);--menu-item-theme-border:var(--tc-menu-item-violet-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-violet-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-violet-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-violet-gradient-main) 30%,\n var(--tc-menu-item-violet-gradient-accent) 50%,\n var(--tc-menu-item-violet-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-blue{--menu-item-theme-bg:var(--tc-menu-item-blue-background-default);--menu-item-theme-border:var(--tc-menu-item-blue-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-blue-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-blue-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-blue-gradient-main) 30%,\n var(--tc-menu-item-blue-gradient-accent) 50%,\n var(--tc-menu-item-blue-gradient-main) 70%\n )}.menu__main .menu__first-level--themed{position:relative;padding:0.25rem 0.625rem;isolation:isolate;color:var(--menu-text-color);border:0.125rem solid transparent;background-image:linear-gradient(var(--menu-item-theme-bg)), var(--menu-item-theme-gradient);background-origin:border-box;background-clip:padding-box, border-box;background-size:100% 100%, 300% 100%;background-position:0 0, 120% 120%}.menu__main .menu__first-level--themed.menu--active{border-color:var(--menu-item-theme-active-bg);background-image:linear-gradient(var(--menu-item-theme-active-bg), var(--menu-item-theme-active-bg));background-size:100% 100%;background-position:0 0;background-clip:border-box}.menu__main .menu__first-level--themed:hover{border-color:var(--menu-item-theme-hover-bg);background-image:linear-gradient(var(--menu-item-theme-hover-bg), var(--menu-item-theme-hover-bg));background-size:100% 100%;background-position:0 0;background-clip:border-box}.menu__main .menu__first-level--themed.show-animation:not(:hover,.menu--active){animation:gradient-border-cycle 4s ease-in-out infinite}.menu__main .menu__first-level.menu--active{background-color:var(--menu-link-active-background-color)}.menu__main .menu__first-level.menu--active:hover{background-color:var(--menu-link-hover-background-color)}.menu__main .menu__dropdown{min-width:21.625rem;border:0.031rem solid var(--menu-dropdown-border-color);right:auto;left:0}.menu__main .menu__dropdown__list{padding:0.5rem}.menu__main .menu__dropdown__list a{border-radius:var(--menu-border-radius);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;padding:0.625rem 0.75rem}.menu__main .menu__dropdown__list a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__main .menu__dropdown__list .menu--highlighted{position:relative;margin-bottom:0.875rem}.menu__main .menu__dropdown__list .menu--highlighted:after{content:\"\";position:absolute;left:0.375rem;right:0.375rem;bottom:-0.438rem;height:0.063rem;background:var(--menu-separator-line-color)}.menu__main .menu__dropdown__list__sub-title{display:block;font-size:0.875rem;line-height:1.25rem;color:var(--menu-text-secondary-color)}.menu__main .menu__first-level>.menu__icon{display:flex;margin-right:0.25rem}.menu__main .menu__first-level>.menu__icon tet-icon{--icon-size:1.25rem;--icon-container-display:flex}.menu__main .menu__dropdown .menu__icon{width:2.75rem;padding-right:0.75rem;display:flex;align-items:center;justify-content:center}.menu__main .menu__dropdown .menu__icon img,.menu__main .menu__dropdown .menu__icon svg{max-width:2rem;max-height:2rem}.menu__chevron{margin-left:auto}.menu__sublist{transform:scaleX(0);position:absolute;z-index:1;min-width:14rem;transform-origin:top right}:hover>.menu__sublist,:focus>.menu__sublist,:focus-within>.menu__sublist{max-height:100rem;transform:scaleX(1);outline:none}.menu__sublist.left{right:calc(100% - 0.6rem);padding-right:1.1rem}.menu__sublist.right{left:calc(100% - 0.6rem);padding-left:1.1rem}.menu__sublist .content{background:var(--menu-background-color);border:0.031rem solid var(--menu-dropdown-border-color);box-shadow:var(--menu-dropdown-box-shadow);border-radius:var(--menu-border-radius);min-width:21.875rem;padding:0.625rem 0}.menu__sublist .content a{font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";border-radius:unset;white-space:normal}.menu__sublist .content a .menu__badge{margin-left:0.25rem;vertical-align:middle}.menu__sublist .content a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__sublist .content a.menu--active{background-color:var(--menu-link-hover-background-color)}.menu__sublist .content a.menu--active:hover{background-color:var(--menu-link-hover-background-color)}.menu__login .menu__first-level{border-radius:2rem;padding:0.5rem 0.875rem;background-color:var(--menu-login-button-background-color);color:var(--menu-text-inverse-color)}.menu__login .menu__first-level .menu__icon tet-icon{--icon-size:1.25rem;--icon-container-display:flex}.menu__login .menu__first-level .chevron{margin-left:0.5rem;--icon-size:1.25rem}.menu__login .menu__first-level:hover{background-color:var(--menu-login-button-background-hover-color)}.menu__login .menu--highlighted{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin:0 0 0.813rem 0}.menu__login .menu--highlighted:after{content:\"\";position:absolute;left:0.5rem;right:0.5rem;bottom:-0.438rem;height:0.063rem;background:var(--menu-separator-line-color)}.menu__login .menu__icon{display:flex;margin-right:0.5rem}.menu__login .menu__icon.right{display:inline-flex;margin-left:auto;align-content:center;justify-content:center}.menu__login .menu--highlighted.line-top{margin:0.813rem 0 0 0}.menu__login .menu--highlighted.line-top:after{top:-0.5rem;bottom:auto}.menu__login .menu__dropdown__list a.text-color-secondary{color:var(--menu-text-secondary-color)}.menu__language .menu__dropdown{min-width:6rem;white-space:nowrap}.menu__language .menu__dropdown a{position:relative}.menu__language .menu__dropdown__list__checkmark{--icon-size:1.125rem;position:absolute;right:0.782rem;top:0.563rem}@keyframes showDropdown{0%{max-height:0;padding-bottom:0.2rem;overflow:hidden}100%{max-height:100rem;padding-bottom:0;overflow:visible}}@keyframes hideDropdown{0%{max-height:100rem}100%{max-height:0}}@keyframes gradient-border-cycle{0%,100%{background-position:0 0, 0% 0%}20%{background-position:0 0, 70% 70%}30%{background-position:0 0, 100% 100%}40%{background-position:0 0, 120% 120%}40%,100%{background-position:0 0, 120% 120%}}";
|
|
7
|
+
const tetMenuCss = ":host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:\"\\e86e\"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:\"\\e85a\"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:\"\\e85b\"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:\"\\e86c\"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:\"\\e855\"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:\"\\e859\"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:\"\\e856\"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:\"\\e86a\"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:\"\\e81d\"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:\"\\e867\"}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Medium.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Medium.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Semibold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Semibold.woff\") format(\"woff\")}@font-face{font-family:\"Gilroy\";font-style:normal;font-weight:700;font-display:swap;src:url(\"assets/fonts/Gilroy-W05-Bold.woff2\") format(\"woff2\"), url(\"assets/fonts/Gilroy-W05-Bold.woff\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}@font-face{font-family:\"Inter\";font-style:normal;font-weight:400;font-display:swap;src:url(\"assets/fonts/Inter-Regular.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Regular.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:500;font-display:swap;src:url(\"assets/fonts/Inter-Medium.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-Medium.woff?v=3.19\") format(\"woff\")}@font-face{font-family:\"Inter\";font-style:normal;font-weight:600;font-display:swap;src:url(\"assets/fonts/Inter-SemiBold.woff2?v=3.19\") format(\"woff2\"), url(\"assets/fonts/Inter-SemiBold.woff?v=3.19\") format(\"woff\")}.tet-grid--col-12,.tet-grid--col-8,.tet-grid--col-4,.tet-grid,.tet-grid--no-limit,.tet-grid--no-margin,.tet-grid--no-padding{box-sizing:border-box;display:grid;position:relative;width:100%;max-width:none;grid-template-columns:repeat(4, minmax(0, 1fr));column-gap:1rem;padding:0 1rem;margin:0 auto}.tet-grid--no-padding{column-gap:0 !important}.tet-grid--no-margin{padding:0 !important}.tet-grid--no-limit{max-width:unset !important}.tet-grid--col-4{grid-template-columns:repeat(4, minmax(0, 1fr)) !important}.tet-grid--col-8{grid-template-columns:repeat(8, minmax(0, 1fr)) !important}.tet-grid--col-8 .tet-grid__cell--span-all{grid-column:span 8}.tet-grid--col-12{grid-template-columns:repeat(12, minmax(0, 1fr)) !important}.tet-grid--col-12 .tet-grid__cell--span-all{grid-column:span 12}.tet-grid__cell,.tet-grid__cell--df-show,.tet-grid__cell--xs-show,.tet-grid__cell--sm-show,.tet-grid__cell--md-show,.tet-grid__cell--lg-show,.tet-grid__cell--xl-show,.tet-grid__cell--2k-show,.tet-grid__cell--gg-show{grid-column:span 1}.tet-grid__cell--span-2-rows{grid-row:span 2}.tet-grid__cell--span-3-rows{grid-row:span 3}.tet-grid__cell--span-4-rows{grid-row:span 4}.tet-grid__cell--span-5-rows{grid-row:span 5}.tet-grid__cell--span-6-rows{grid-row:span 6}.tet-grid__cell--span-7-rows{grid-row:span 7}.tet-grid__cell--span-8-rows{grid-row:span 8}.tet-grid__cell--span-9-rows{grid-row:span 9}.tet-grid__cell--span-10-rows{grid-row:span 10}.tet-grid__cell--span-11-rows{grid-row:span 11}.tet-grid__cell--span-12-rows{grid-row:span 12}.tet-grid__cell--span-all{grid-column:span 4}.tet-grid__cell--span-1{display:block;grid-column:span 1}.tet-grid__cell--span-2{display:block;grid-column:span 2}.tet-grid__cell--span-3{display:block;grid-column:span 3}.tet-grid__cell--span-4{display:block;grid-column:span 4}.tet-grid__cell--span-5{display:block;grid-column:span 4}.tet-grid__cell--span-6{display:block;grid-column:span 4}.tet-grid__cell--span-7{display:block;grid-column:span 4}.tet-grid__cell--span-8{display:block;grid-column:span 4}.tet-grid__cell--span-9{display:block;grid-column:span 4}.tet-grid__cell--span-10{display:block;grid-column:span 4}.tet-grid__cell--span-11{display:block;grid-column:span 4}.tet-grid__cell--span-12{display:block;grid-column:span 4}.tet-grid__cell--hide{display:none}.tet-grid__cell--show{display:block}@media all and (min-width: 22.5rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(4, minmax(0, 1fr));column-gap:1rem;padding:0 1rem}.tet-grid__cell--span-all{grid-column:span 4}.tet-grid__cell--df-span-1{display:block;grid-column:span 1}.tet-grid__cell--df-span-2{display:block;grid-column:span 2}.tet-grid__cell--df-span-3{display:block;grid-column:span 3}.tet-grid__cell--df-span-4{display:block;grid-column:span 4}.tet-grid__cell--df-span-5{display:block;grid-column:span 4}.tet-grid__cell--df-span-6{display:block;grid-column:span 4}.tet-grid__cell--df-span-7{display:block;grid-column:span 4}.tet-grid__cell--df-span-8{display:block;grid-column:span 4}.tet-grid__cell--df-span-9{display:block;grid-column:span 4}.tet-grid__cell--df-span-10{display:block;grid-column:span 4}.tet-grid__cell--df-span-11{display:block;grid-column:span 4}.tet-grid__cell--df-span-12{display:block;grid-column:span 4}.tet-grid__cell--df-hide{display:none}.tet-grid__cell--df-show{display:block}}@media all and (min-width: 31.25rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{column-gap:1.5rem;padding:0 2rem}.tet-grid__cell--xs-span-1{display:block;grid-column:span 1}.tet-grid__cell--xs-span-2{display:block;grid-column:span 2}.tet-grid__cell--xs-span-3{display:block;grid-column:span 3}.tet-grid__cell--xs-span-4{display:block;grid-column:span 4}.tet-grid__cell--xs-span-5{display:block;grid-column:span 4}.tet-grid__cell--xs-span-6{display:block;grid-column:span 4}.tet-grid__cell--xs-span-7{display:block;grid-column:span 4}.tet-grid__cell--xs-span-8{display:block;grid-column:span 4}.tet-grid__cell--xs-span-9{display:block;grid-column:span 4}.tet-grid__cell--xs-span-10{display:block;grid-column:span 4}.tet-grid__cell--xs-span-11{display:block;grid-column:span 4}.tet-grid__cell--xs-span-12{display:block;grid-column:span 4}.tet-grid__cell--xs-hide{display:none}.tet-grid__cell--xs-show{display:block}}@media all and (min-width: 46.25rem){.tet-grid__cell--sm-span-1{display:block;grid-column:span 1}.tet-grid__cell--sm-span-2{display:block;grid-column:span 2}.tet-grid__cell--sm-span-3{display:block;grid-column:span 3}.tet-grid__cell--sm-span-4{display:block;grid-column:span 4}.tet-grid__cell--sm-span-5{display:block;grid-column:span 5}.tet-grid__cell--sm-span-6{display:block;grid-column:span 6}.tet-grid__cell--sm-span-7{display:block;grid-column:span 7}.tet-grid__cell--sm-span-8{display:block;grid-column:span 8}.tet-grid__cell--sm-span-9{display:block;grid-column:span 9}.tet-grid__cell--sm-span-10{display:block;grid-column:span 10}.tet-grid__cell--sm-span-11{display:block;grid-column:span 11}.tet-grid__cell--sm-span-12{display:block;grid-column:span 12}.tet-grid__cell--sm-hide{display:none}.tet-grid__cell--sm-show{display:block}}@media all and (min-width: 48rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(8, minmax(0, 1fr))}.tet-grid__cell--span-all{grid-column:span 8}.tet-grid__cell--md-span-1{display:block;grid-column:span 1}.tet-grid__cell--md-span-2{display:block;grid-column:span 2}.tet-grid__cell--md-span-3{display:block;grid-column:span 3}.tet-grid__cell--md-span-4{display:block;grid-column:span 4}.tet-grid__cell--md-span-5{display:block;grid-column:span 5}.tet-grid__cell--md-span-6{display:block;grid-column:span 6}.tet-grid__cell--md-span-7{display:block;grid-column:span 7}.tet-grid__cell--md-span-8{display:block;grid-column:span 8}.tet-grid__cell--md-span-9{display:block;grid-column:span 8}.tet-grid__cell--md-span-10{display:block;grid-column:span 8}.tet-grid__cell--md-span-11{display:block;grid-column:span 8}.tet-grid__cell--md-span-12{display:block;grid-column:span 8}.tet-grid__cell--md-hide{display:none}.tet-grid__cell--md-show{display:block}}@media all and (min-width: 64rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(12, minmax(0, 1fr))}.tet-grid__cell--span-all{grid-column:span 12}.tet-grid__cell--lg-span-1{display:block;grid-column:span 1}.tet-grid__cell--lg-span-2{display:block;grid-column:span 2}.tet-grid__cell--lg-span-3{display:block;grid-column:span 3}.tet-grid__cell--lg-span-4{display:block;grid-column:span 4}.tet-grid__cell--lg-span-5{display:block;grid-column:span 5}.tet-grid__cell--lg-span-6{display:block;grid-column:span 6}.tet-grid__cell--lg-span-7{display:block;grid-column:span 7}.tet-grid__cell--lg-span-8{display:block;grid-column:span 8}.tet-grid__cell--lg-span-9{display:block;grid-column:span 9}.tet-grid__cell--lg-span-10{display:block;grid-column:span 10}.tet-grid__cell--lg-span-11{display:block;grid-column:span 11}.tet-grid__cell--lg-span-12{display:block;grid-column:span 12}.tet-grid__cell--lg-hide{display:none}.tet-grid__cell--lg-show{display:block}}@media all and (min-width: 80rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{padding:0 4rem}.tet-grid__cell--xl-span-1{display:block;grid-column:span 1}.tet-grid__cell--xl-span-2{display:block;grid-column:span 2}.tet-grid__cell--xl-span-3{display:block;grid-column:span 3}.tet-grid__cell--xl-span-4{display:block;grid-column:span 4}.tet-grid__cell--xl-span-5{display:block;grid-column:span 5}.tet-grid__cell--xl-span-6{display:block;grid-column:span 6}.tet-grid__cell--xl-span-7{display:block;grid-column:span 7}.tet-grid__cell--xl-span-8{display:block;grid-column:span 8}.tet-grid__cell--xl-span-9{display:block;grid-column:span 9}.tet-grid__cell--xl-span-10{display:block;grid-column:span 10}.tet-grid__cell--xl-span-11{display:block;grid-column:span 11}.tet-grid__cell--xl-span-12{display:block;grid-column:span 12}.tet-grid__cell--xl-hide{display:none}.tet-grid__cell--xl-show{display:block}}@media all and (min-width: 90rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{padding:0 4.5rem}.tet-grid__cell--mg-span-1{display:block;grid-column:span 1}.tet-grid__cell--mg-span-2{display:block;grid-column:span 2}.tet-grid__cell--mg-span-3{display:block;grid-column:span 3}.tet-grid__cell--mg-span-4{display:block;grid-column:span 4}.tet-grid__cell--mg-span-5{display:block;grid-column:span 5}.tet-grid__cell--mg-span-6{display:block;grid-column:span 6}.tet-grid__cell--mg-span-7{display:block;grid-column:span 7}.tet-grid__cell--mg-span-8{display:block;grid-column:span 8}.tet-grid__cell--mg-span-9{display:block;grid-column:span 9}.tet-grid__cell--mg-span-10{display:block;grid-column:span 10}.tet-grid__cell--mg-span-11{display:block;grid-column:span 11}.tet-grid__cell--mg-span-12{display:block;grid-column:span 12}.tet-grid__cell--mg-hide{display:none}.tet-grid__cell--mg-show{display:block}}@media all and (min-width: 120rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{max-width:111rem;padding:0}.tet-grid__cell--gg-span-1{display:block;grid-column:span 1}.tet-grid__cell--gg-span-2{display:block;grid-column:span 2}.tet-grid__cell--gg-span-3{display:block;grid-column:span 3}.tet-grid__cell--gg-span-4{display:block;grid-column:span 4}.tet-grid__cell--gg-span-5{display:block;grid-column:span 5}.tet-grid__cell--gg-span-6{display:block;grid-column:span 6}.tet-grid__cell--gg-span-7{display:block;grid-column:span 7}.tet-grid__cell--gg-span-8{display:block;grid-column:span 8}.tet-grid__cell--gg-span-9{display:block;grid-column:span 9}.tet-grid__cell--gg-span-10{display:block;grid-column:span 10}.tet-grid__cell--gg-span-11{display:block;grid-column:span 11}.tet-grid__cell--gg-span-12{display:block;grid-column:span 12}.tet-grid__cell--gg-hide{display:none}.tet-grid__cell--gg-show{display:block}}:host{--menu-border-radius:0.625rem;--menu-text-color:var(--tc-text-primary);--menu-text-inverse-color:var(--tc-button-text-primary);--menu-text-secondary-color:var(--tc-text-secondary);--menu-background-color:var(--tc-background-white-black);--menu-link-hover-background-color:var(--tc-navigation-menu-item-hover);--menu-link-pressed-background-color:var(--tc-navigation-menu-item-pressed);--menu-link-active-background-color:var(--tc-navigation-menu-item-active);--menu-dropdown-border-color:var(--tc-grey-20);--menu-dropdown-box-shadow:var(--tc-elevation-three);--menu-focus-outline-color:var(--tc-blue-40);--menu-login-button-background-color:var(--tc-button-primary-background-default);--menu-login-button-background-hover-color:var(--tc-button-primary-background-hover);--menu-separator-line-color:var(--tc-grey-20);--menu-badge-background-color:var(--tc-navigation-menu-item-tag);--menu-active-item-badge-background-color:var(--tc-layer-permanent-white);--menu-badge-text-color:var(--tc-text-black-permanent);--menu-mega-second-level-width:27.25rem;--menu-mega-third-level-width:22.6875rem;--menu-mega-banner-slot-max-width:20rem;--menu-mega-dropdown-menu-height:28.625rem;--menu-mega-separator-color:var(--tc-border-quaternary);--menu-mega-dropdown-background-color:var(--tc-layer-primary);display:inline-block;position:relative;box-sizing:border-box}.menu{position:relative;padding:0.25rem 0;color:var(--menu-text-color);font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\"}.menu.menu__dark{--menu-text-color:var(--tc-text-primary-dark);--menu-text-inverse-color:var(--tc-button-text-primary-dark);--menu-text-secondary-color:var(--tc-text-secondary-dark);--menu-background-color:var(--tc-background-secondary-dark);--menu-link-hover-background-color:var(--tc-navigation-menu-item-hover-dark);--menu-link-pressed-background-color:var(--tc-navigation-menu-item-pressed-dark);--menu-link-active-background-color:var(--tc-navigation-menu-item-active-dark);--menu-dropdown-border-color:var(--tc-grey-80);--menu-dropdown-box-shadow:var(--tc-elevation-three-dark);--menu-focus-outline-color:var(--tc-blue-40-dark);--menu-login-button-background-color:var(--tc-button-primary-background-default-dark);--menu-login-button-background-hover-color:var(--tc-button-primary-background-hover-dark);--menu-separator-line-color:var(--tc-grey-80);--menu-badge-background-color:var(--tc-navigation-menu-item-tag-dark);--menu-active-item-badge-background-color:var(--tc-layer-permanent-white-dark);--menu-badge-text-color:var(--tc-text-black-permanent-dark);--menu-mega-separator-color:var(--tc-border-quaternary-dark);--menu-mega-dropdown-background-color:var(--tc-layer-primary-dark)}.menu.menu__dark .menu__first-level--theme-yellow{--menu-item-theme-bg:var(--tc-menu-item-yellow-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-yellow-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-yellow-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-yellow-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-yellow-gradient-main-dark) 30%,\n var(--tc-menu-item-yellow-gradient-accent-dark) 50%,\n var(--tc-menu-item-yellow-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-red{--menu-item-theme-bg:var(--tc-menu-item-red-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-red-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-red-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-red-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-red-gradient-main-dark) 30%,\n var(--tc-menu-item-red-gradient-accent-dark) 50%,\n var(--tc-menu-item-red-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-green{--menu-item-theme-bg:var(--tc-menu-item-green-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-green-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-green-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-green-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-green-gradient-main-dark) 30%,\n var(--tc-menu-item-green-gradient-accent-dark) 50%,\n var(--tc-menu-item-green-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-violet{--menu-item-theme-bg:var(--tc-menu-item-violet-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-violet-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-violet-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-violet-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-violet-gradient-main-dark) 30%,\n var(--tc-menu-item-violet-gradient-accent-dark) 50%,\n var(--tc-menu-item-violet-gradient-main-dark) 70%\n )}.menu.menu__dark .menu__first-level--theme-blue{--menu-item-theme-bg:var(--tc-menu-item-blue-background-default-dark);--menu-item-theme-border:var(--tc-menu-item-blue-gradient-main-dark);--menu-item-theme-active-bg:var(--tc-menu-item-blue-background-active-dark);--menu-item-theme-hover-bg:var(--tc-menu-item-blue-background-hover-dark);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-blue-gradient-main-dark) 30%,\n var(--tc-menu-item-blue-gradient-accent-dark) 50%,\n var(--tc-menu-item-blue-gradient-main-dark) 70%\n )}.menu a{color:var(--menu-text-color);text-decoration:none}.menu--active{background-color:var(--menu-link-active-background-color)}.menu__first-level{display:flex;flex-direction:row;align-items:center;border-radius:var(--menu-border-radius);padding:0.5rem 0.75rem;white-space:nowrap}.menu__first-level .chevron{display:flex;--icon-size:1rem;margin-left:0.4rem;transition:transform 150ms ease-out}:hover>.menu__first-level,:focus>.menu__first-level,:focus-within>.menu__first-level,.menu--mega-open>.menu__first-level{background-color:var(--menu-link-hover-background-color)}:hover>.menu__first-level .chevron,:focus>.menu__first-level .chevron,:focus-within>.menu__first-level .chevron,.menu--mega-open>.menu__first-level .chevron{transform:rotate(-180deg)}.menu__first-level:active{background-color:var(--menu-link-pressed-background-color)}.menu__first-level:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color)}.menu__badge{font:500 0.75rem/1rem \"Inter\", \"Gilroy, Arial, sans-serif\";padding:0.125rem 0.375rem;border-radius:0.25rem;background-color:var(--menu-badge-background-color);color:var(--menu-badge-text-color)}.menu__icon{display:none}.menu__dropdown{max-height:0;transform:scaleY(0);position:absolute;margin-top:0.25rem;z-index:1;min-width:14rem;background:var(--menu-background-color);border:0.031rem solid var(--menu-dropdown-border-color);box-shadow:var(--menu-dropdown-box-shadow);border-radius:var(--menu-border-radius);transform-origin:top;animation-name:hideDropdown;animation-fill-mode:both;animation-duration:300ms;animation-timing-function:ease-out;right:0}.menu__dropdown.menu__dropdown--mega{animation-name:none;animation-duration:0s}:hover>.menu__dropdown:not(.menu__dropdown--mega),:focus>.menu__dropdown:not(.menu__dropdown--mega),:focus-within>.menu__dropdown:not(.menu__dropdown--mega){max-height:100rem;transform:scaleY(1);animation-name:showDropdown;animation-fill-mode:both;animation-duration:300ms;animation-timing-function:ease-out;outline:none}.menu:not(.menu--mega-escape-closed):hover>.menu__dropdown.menu__dropdown--mega,.menu:not(.menu--mega-escape-closed):focus>.menu__dropdown.menu__dropdown--mega,.menu:not(.menu--mega-escape-closed):focus-within>.menu__dropdown.menu__dropdown--mega,.menu--mega-open>.menu__dropdown.menu__dropdown--mega{max-height:100%;transform:scaleY(1);animation-name:none;animation-duration:0s;transition-delay:0s;outline:none}.menu__dropdown__list,.menu__dropdown__mega-third-list{padding:0.625rem 0 0.438rem 0}.menu__dropdown__list__sub-title,.menu__dropdown__mega-third-list__sub-title{display:none}.menu__dropdown__list li,.menu__dropdown__mega-third-list li{list-style:none;white-space:nowrap;padding-bottom:0.063rem}.menu__dropdown__wrapper{position:relative;display:flex;width:100%;overflow:hidden}.menu__dropdown__wrapper .menu__dropdown__list--mega{box-sizing:border-box;border-right:0.0625rem solid var(--menu-mega-separator-color);border-left:0.0625rem solid var(--menu-mega-separator-color);height:100%}.menu__dropdown__mega-lists{display:flex;align-items:stretch;margin-right:2.5rem;height:100%}.menu__dropdown__list>li>a .menu__badge{margin-bottom:0.125rem;display:inline-block}.menu__dropdown a{padding:0.5rem 1rem;display:block;border-radius:0.375rem}.menu__dropdown a:hover{background-color:var(--menu-link-hover-background-color)}.menu__dropdown a:active{background-color:var(--menu-link-pressed-background-color)}.menu__dropdown a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__dropdown a.menu--active:not(:hover):not(:active):not(.menu--mega-current){background-color:var(--menu-link-active-background-color)}.menu__dropdown a.menu--active:not(:hover):not(:active):not(.menu--mega-current) .menu__badge{background:var(--menu-active-item-badge-background-color)}.menu__dropdown__list:not(.menu__dropdown__list--mega) li:hover>a.menu--submenu:not(:hover):not(:active):not(.menu--mega-current),.menu__dropdown__list:not(.menu__dropdown__list--mega) li:has(>.menu__sublist a:focus-visible)>a.menu--submenu:not(:hover):not(:active):not(.menu--mega-current){background-color:var(--menu-link-hover-background-color)}.menu__dropdown__list:not(.menu__dropdown__list--mega) li:hover>a.menu--submenu:not(:hover):not(:active):not(.menu--mega-current) .menu__badge,.menu__dropdown__list:not(.menu__dropdown__list--mega) li:has(>.menu__sublist a:focus-visible)>a.menu--submenu:not(:hover):not(:active):not(.menu--mega-current) .menu__badge{background:var(--menu-badge-background-color)}.menu__dropdown__mega-third{box-sizing:border-box;width:var(--menu-mega-third-level-width);min-width:var(--menu-mega-third-level-width);display:flex}.menu__main .menu__first-level{padding:0.375rem 0.75rem;gap:0.25rem}.menu__main .menu__first-level .chevron{--icon-size:1.25rem;margin-left:0}.menu__main .menu__first-level--theme-yellow{--menu-item-theme-bg:var(--tc-menu-item-yellow-background-default);--menu-item-theme-border:var(--tc-menu-item-yellow-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-yellow-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-yellow-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-yellow-gradient-main) 30%,\n var(--tc-menu-item-yellow-gradient-accent) 50%,\n var(--tc-menu-item-yellow-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-red{--menu-item-theme-bg:var(--tc-menu-item-red-background-default);--menu-item-theme-border:var(--tc-menu-item-red-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-red-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-red-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-red-gradient-main) 30%,\n var(--tc-menu-item-red-gradient-accent) 50%,\n var(--tc-menu-item-red-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-green{--menu-item-theme-bg:var(--tc-menu-item-green-background-default);--menu-item-theme-border:var(--tc-menu-item-green-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-green-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-green-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-green-gradient-main) 30%,\n var(--tc-menu-item-green-gradient-accent) 50%,\n var(--tc-menu-item-green-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-violet{--menu-item-theme-bg:var(--tc-menu-item-violet-background-default);--menu-item-theme-border:var(--tc-menu-item-violet-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-violet-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-violet-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-violet-gradient-main) 30%,\n var(--tc-menu-item-violet-gradient-accent) 50%,\n var(--tc-menu-item-violet-gradient-main) 70%\n )}.menu__main .menu__first-level--theme-blue{--menu-item-theme-bg:var(--tc-menu-item-blue-background-default);--menu-item-theme-border:var(--tc-menu-item-blue-gradient-main);--menu-item-theme-active-bg:var(--tc-menu-item-blue-background-active);--menu-item-theme-hover-bg:var(--tc-menu-item-blue-background-hover);--menu-item-theme-gradient:linear-gradient(\n 135deg,\n var(--tc-menu-item-blue-gradient-main) 30%,\n var(--tc-menu-item-blue-gradient-accent) 50%,\n var(--tc-menu-item-blue-gradient-main) 70%\n )}.menu__main .menu__first-level--themed{position:relative;padding:0.25rem 0.625rem;isolation:isolate;color:var(--menu-text-color);border:0.125rem solid transparent;background-image:linear-gradient(var(--menu-item-theme-bg)), var(--menu-item-theme-gradient);background-origin:border-box;background-clip:padding-box, border-box;background-size:100% 100%, 300% 100%;background-position:0 0, 120% 120%}.menu__main .menu__first-level--themed.menu--active{border-color:var(--menu-item-theme-active-bg);background-image:linear-gradient(var(--menu-item-theme-active-bg), var(--menu-item-theme-active-bg));background-size:100% 100%;background-position:0 0;background-clip:border-box}.menu__main .menu__first-level--themed:hover{border-color:var(--menu-item-theme-hover-bg);background-image:linear-gradient(var(--menu-item-theme-hover-bg), var(--menu-item-theme-hover-bg));background-size:100% 100%;background-position:0 0;background-clip:border-box}.menu__main .menu__first-level--themed.show-animation:not(:hover,.menu--active){animation:gradient-border-cycle 4s ease-in-out infinite}.menu__main:not(:hover):not(:focus-within) .menu__dropdown__wrapper{overflow:hidden}.menu__main .menu__dropdown{min-width:21.625rem;border:0.031rem solid var(--menu-dropdown-border-color);right:auto;left:0}.menu__main .menu__dropdown__wrapper .menu__dropdown__list--mega{width:var(--menu-mega-second-level-width);min-width:var(--menu-mega-second-level-width)}.menu__main .menu__dropdown--mega{background-color:var(--menu-mega-dropdown-background-color);position:fixed;left:0;right:auto;top:0;margin-top:0;border:0;border-radius:0;box-shadow:none;width:100vw;transition:transform 0s linear 100ms;height:var(--mega-menu-dropdown-height);overflow-y:hidden}.menu__main .menu__dropdown--mega .menu__dropdown__wrapper{min-height:inherit;align-items:stretch;box-sizing:border-box;padding:0.5rem 0;overflow-y:auto;overflow-x:hidden;height:var(--menu-mega-dropdown-menu-height)}.menu__main .menu__dropdown--mega .menu__dropdown__mega-lists{align-self:flex-start}.menu__main .menu__dropdown--mega .menu__dropdown__mega-third-list{height:100%;box-sizing:border-box;width:100%}.menu__main .menu__dropdown--mega::before{content:\"\";position:absolute;left:0;right:0;bottom:100%;height:var(--menu-dropdown-hover-bridge-height, 0)}.menu__main .menu__dropdown__list{padding:0.5rem}.menu__main .menu__dropdown__list--mega{padding:0 0.5rem 1rem}.menu__main .menu__dropdown__list--mega li{white-space:normal}.menu__main .menu__dropdown__list--mega li a{padding:0.625rem 0.75rem}.menu__main .menu__dropdown__list--mega a>div{min-width:0}.menu__main .menu__dropdown__list--mega .menu__dropdown__list__sub-title{white-space:normal}.menu__main .menu__dropdown__list--mega a:hover .menu__dropdown__list__sub-title--mega,.menu__main .menu__dropdown__list--mega a:focus-visible .menu__dropdown__list__sub-title--mega,.menu__main .menu__dropdown__list--mega a.menu--mega-current .menu__dropdown__list__sub-title--mega{max-height:8rem;opacity:1;transform:translateY(0);visibility:visible;transition-delay:0s}.menu__main .menu__dropdown__list--mega a.menu--mega-current:not(:active){background-color:var(--menu-link-hover-background-color)}.menu__main .menu__dropdown__list a{border-radius:var(--menu-border-radius);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;padding:0.625rem 0.75rem}.menu__main .menu__dropdown__list a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__main .menu__dropdown__list .menu--highlighted{position:relative;margin-bottom:0.875rem}.menu__main .menu__dropdown__list .menu--highlighted:after{content:\"\";position:absolute;left:0.375rem;right:0.375rem;bottom:-0.438rem;height:0.063rem;background:var(--menu-separator-line-color)}.menu__main .menu__dropdown__list__sub-title{font:500 0.75rem/1rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:block;color:var(--menu-text-secondary-color)}.menu__main .menu__dropdown__list__sub-title--mega{display:block;max-height:0;opacity:0;overflow:hidden;transform:translateY(-0.25rem);visibility:hidden;transition:max-height 360ms ease, opacity 300ms ease, transform 360ms ease, visibility 0s linear 360ms}.menu__main .menu__dropdown__mega-third-list{border-right:0.0625rem solid var(--menu-mega-separator-color);height:100%;padding:0 0.5rem 1rem}.menu__main .menu__dropdown__mega-third-list a{font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:block;white-space:normal;padding:0.5rem 1rem;border-radius:0.375rem}.menu__main .menu__dropdown__mega-third-list a .menu__badge{margin:0 0 0 0.25rem;vertical-align:middle}.menu__main .menu__dropdown__mega-banner{margin-left:auto;overflow:hidden;max-width:var(--menu-mega-banner-slot-max-width)}.menu__main .menu__first-level>.menu__icon{display:flex;margin-right:0.25rem}.menu__main .menu__first-level>.menu__icon tet-icon{--icon-size:1.25rem;--icon-container-display:flex}.menu__main .menu__dropdown .menu__icon{width:2.75rem;padding-right:0.75rem;display:flex;align-items:center;justify-content:center}.menu__main .menu__dropdown .menu__icon img,.menu__main .menu__dropdown .menu__icon svg{max-width:2rem;max-height:2rem}.menu__chevron{margin-left:auto;padding-left:0.75rem}.menu__sublist{transform:scaleX(0);position:absolute;z-index:1;min-width:14rem;transform-origin:top right}:hover>.menu__sublist,:focus>.menu__sublist,:focus-within>.menu__sublist{max-height:100rem;transform:scaleX(1);outline:none}.menu__sublist.left{right:calc(100% - 0.6rem);padding-right:1.1rem}.menu__sublist.right{left:calc(100% - 0.6rem);padding-left:1.1rem}.menu__sublist .content{background:var(--menu-background-color);border:0.031rem solid var(--menu-dropdown-border-color);box-shadow:var(--menu-dropdown-box-shadow);border-radius:var(--menu-border-radius);min-width:21.875rem;padding:0.625rem 0}.menu__sublist .content a{font:500 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";border-radius:unset;white-space:normal}.menu__sublist .content a .menu__badge{margin:0 0 0 0.25rem;vertical-align:middle}.menu__sublist .content a:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:-0.125rem;transition:outline 0s;outline-color:var(--menu-focus-outline-color);border-radius:0.5rem}.menu__sublist .content a.menu--active{background-color:var(--menu-link-active-background-color)}.menu__sublist .content a.menu--active:hover{background-color:var(--menu-link-hover-background-color)}.menu__sublist .content a.menu--active:active{background-color:var(--menu-link-pressed-background-color)}.menu__login .menu__first-level{border-radius:2rem;padding:0.5rem 0.875rem;background-color:var(--menu-login-button-background-color);color:var(--menu-text-inverse-color)}.menu__login .menu__first-level .menu__icon tet-icon{--icon-size:1.25rem;--icon-container-display:flex}.menu__login .menu__first-level .chevron{margin-left:0.5rem;--icon-size:1.25rem}.menu__login .menu__first-level:hover{background-color:var(--menu-login-button-background-hover-color)}.menu__login .menu--highlighted{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin:0 0 0.813rem 0}.menu__login .menu--highlighted:after{content:\"\";position:absolute;left:0.5rem;right:0.5rem;bottom:-0.438rem;height:0.063rem;background:var(--menu-separator-line-color)}.menu__login .menu__icon{display:flex;margin-right:0.5rem}.menu__login .menu__icon.right{display:inline-flex;margin-left:auto;align-content:center;justify-content:center}.menu__login .menu--highlighted.line-top{margin:0.813rem 0 0 0}.menu__login .menu--highlighted.line-top:after{top:-0.5rem;bottom:auto}.menu__login .menu__dropdown__list a.text-color-secondary{color:var(--menu-text-secondary-color)}.menu__language>.menu__first-level{border:var(--menu-lang-border)}.menu__language:is(:hover,:focus-within)>.menu__first-level{border:var(--menu-lang-active-border)}.menu__language:not(:hover):not(:focus-within)>.menu__first-level:not(.menu--active):not(:active){background-color:var(--menu-lang-background-color)}.menu__language .menu__dropdown{min-width:6rem;white-space:nowrap}.menu__language .menu__dropdown a{position:relative}.menu__language .menu__dropdown__list__checkmark{--icon-size:1.25rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}@keyframes showDropdown{0%{max-height:0;padding-bottom:0.2rem;overflow:hidden}100%{max-height:100rem;padding-bottom:0;overflow:visible}}@keyframes hideDropdown{0%{max-height:100rem}100%{max-height:0}}@keyframes gradient-border-cycle{0%,100%{background-position:0 0, 0% 0%}20%{background-position:0 0, 70% 70%}30%{background-position:0 0, 100% 100%}40%{background-position:0 0, 120% 120%}40%,100%{background-position:0 0, 120% 120%}}";
|
|
8
8
|
const TetMenuStyle0 = tetMenuCss;
|
|
9
9
|
|
|
10
10
|
const TetMenu = class {
|
|
@@ -14,47 +14,311 @@ const TetMenu = class {
|
|
|
14
14
|
this.active = false;
|
|
15
15
|
this.clickable = false;
|
|
16
16
|
this.firstLevelTitle = '';
|
|
17
|
-
this.firstLevelId =
|
|
17
|
+
this.firstLevelId = undefined;
|
|
18
18
|
this.firstLevelLink = '';
|
|
19
19
|
this.firstLevelIcon = '';
|
|
20
20
|
this.menuItemTheme = '';
|
|
21
21
|
this.showMenuItemAnimation = true;
|
|
22
22
|
this.subLevels = [];
|
|
23
23
|
this.darkMode = false;
|
|
24
|
+
this.parentSelector = '';
|
|
25
|
+
this.isMegaMenuLayout = false;
|
|
24
26
|
this.isSubmenuLeft = false;
|
|
27
|
+
this.megaActiveSubLevelIndex = -1;
|
|
28
|
+
this.isMegaMenuOpen = false;
|
|
29
|
+
this.isMegaMenuEscapeClosed = false;
|
|
25
30
|
}
|
|
31
|
+
get el() { return index.getElement(this); }
|
|
32
|
+
/** Stores 3rd level hover handlers to avoid duplicate listeners. */
|
|
33
|
+
thirdLevelMouseEnterHandlers = new WeakMap();
|
|
34
|
+
/** Parent element used for mega-menu close-on-parent-leave binding. */
|
|
35
|
+
megaParentElement = null;
|
|
26
36
|
/**
|
|
27
37
|
* Listener for windows resize events
|
|
28
38
|
*/
|
|
29
39
|
onWindowResize() {
|
|
40
|
+
this.syncLayout();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Handles host mouse leave to reset mega-menu leave-related state.
|
|
44
|
+
*/
|
|
45
|
+
onHostMouseLeave() {
|
|
46
|
+
this.handleMenuMouseLeave();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Handles host focus-in to reopen mega-menu after Escape dismissal when needed.
|
|
50
|
+
*/
|
|
51
|
+
onHostFocusIn() {
|
|
52
|
+
this.handleMenuFocusIn();
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Recalculates interactive layout values.
|
|
56
|
+
*/
|
|
57
|
+
syncLayout = () => {
|
|
58
|
+
if (!this.isMegaMenuEnabled()) {
|
|
59
|
+
this.setMegaParentElement(null);
|
|
60
|
+
}
|
|
30
61
|
this.setupThirdLevelEvent();
|
|
62
|
+
this.updateDropdownLayout();
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Determines whether mega-menu logic should be active.
|
|
66
|
+
*/
|
|
67
|
+
isMegaMenuEnabled() {
|
|
68
|
+
return this.isMegaMenuLayout && this.type === 'main' && this.subLevels.length > 0;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Binds/updates parent mouseleave listener for mega-menu close behavior.
|
|
72
|
+
*/
|
|
73
|
+
setMegaParentElement(parentElement) {
|
|
74
|
+
if (this.megaParentElement === parentElement) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (this.megaParentElement) {
|
|
78
|
+
this.megaParentElement.removeEventListener('mouseleave', this.handleMegaParentMouseLeave);
|
|
79
|
+
}
|
|
80
|
+
this.megaParentElement = parentElement;
|
|
81
|
+
this.megaParentElement?.addEventListener('mouseleave', this.handleMegaParentMouseLeave);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Closes mega-menu and clears active 2nd-level state.
|
|
85
|
+
*/
|
|
86
|
+
closeMegaMenu = () => {
|
|
87
|
+
if (!this.isMegaMenuEnabled()) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
this.isMegaMenuOpen = false;
|
|
91
|
+
this.clearMegaActiveSubLevel();
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Clears focus inside shadow root so :focus-within does not immediately reopen mega-menu.
|
|
95
|
+
*/
|
|
96
|
+
blurFocusedMenuItem() {
|
|
97
|
+
const focusedMenuItem = this.el.shadowRoot?.activeElement;
|
|
98
|
+
focusedMenuItem?.blur();
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Handles parent mouseleave for mega-menu close behavior.
|
|
102
|
+
*/
|
|
103
|
+
handleMegaParentMouseLeave = () => {
|
|
104
|
+
this.closeMegaMenu();
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Opens mega-menu and notifies sibling mega-menu instances to close.
|
|
108
|
+
*/
|
|
109
|
+
openMegaMenu() {
|
|
110
|
+
if (!this.isMegaMenuEnabled()) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
this.isMegaMenuEscapeClosed = false;
|
|
114
|
+
this.isMegaMenuOpen = true;
|
|
115
|
+
globalThis.dispatchEvent(new CustomEvent('tet-menu-mega-open', { detail: this.el }));
|
|
31
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Handles first-level pointer/focus entry:
|
|
119
|
+
* opens mega menu when available or notifies mega siblings to close.
|
|
120
|
+
*/
|
|
121
|
+
handleFirstLevelInteraction = () => {
|
|
122
|
+
if (this.isMegaMenuEnabled()) {
|
|
123
|
+
this.syncLayout();
|
|
124
|
+
this.openMegaMenu();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
globalThis.dispatchEvent(new CustomEvent('tet-menu-mega-open', { detail: this.el }));
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Resets Escape-dismissed state once pointer fully leaves this menu trigger area.
|
|
131
|
+
*/
|
|
132
|
+
handleMenuMouseLeave = () => {
|
|
133
|
+
if (!this.isMegaMenuEnabled()) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.clearMegaActiveSubLevel();
|
|
137
|
+
this.isMegaMenuEscapeClosed = false;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Reopens mega menu when focus re-enters menu content after an Escape dismissal.
|
|
141
|
+
*/
|
|
142
|
+
handleMenuFocusIn = () => {
|
|
143
|
+
if (!this.isMegaMenuEnabled() || !this.isMegaMenuEscapeClosed) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
this.openMegaMenu();
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Handles Escape to close mega-menu for both hover-open and keyboard-focus-open states.
|
|
150
|
+
*/
|
|
151
|
+
onWindowKeyDown(event) {
|
|
152
|
+
if (!this.isMegaMenuEnabled() || event.key !== 'Escape') {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
const eventPath = typeof event.composedPath === 'function' ? event.composedPath() : [];
|
|
156
|
+
const isEventFromCurrentMenu = eventPath.includes(this.el);
|
|
157
|
+
if (!this.isMegaMenuOpen && !isEventFromCurrentMenu) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this.isMegaMenuEscapeClosed = true;
|
|
161
|
+
this.closeMegaMenu();
|
|
162
|
+
this.blurFocusedMenuItem();
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Closes current mega-menu when another menu instance announces open state.
|
|
166
|
+
*/
|
|
167
|
+
onExternalMegaMenuOpen(event) {
|
|
168
|
+
if (!this.isMegaMenuEnabled() || event.detail === this.el) {
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
this.isMegaMenuEscapeClosed = true;
|
|
172
|
+
this.closeMegaMenu();
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Sets active second-level item in mega-menu mode.
|
|
176
|
+
*/
|
|
177
|
+
setMegaActiveSubLevel(index, hasSubMenuItems) {
|
|
178
|
+
if (!this.isMegaMenuEnabled()) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
this.megaActiveSubLevelIndex = hasSubMenuItems ? index : -1;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Mirrors non-mega keyboard behavior:
|
|
185
|
+
* tabbing from a 2nd-level item with submenu should enter 3rd-level links.
|
|
186
|
+
*/
|
|
187
|
+
handleMegaSecondLevelKeyDown(event, index, hasSubMenuItems) {
|
|
188
|
+
if (!this.isMegaMenuEnabled() || !hasSubMenuItems || event.key !== 'Tab' || event.shiftKey) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
event.preventDefault();
|
|
192
|
+
this.setMegaActiveSubLevel(index, hasSubMenuItems);
|
|
193
|
+
globalThis.requestAnimationFrame(() => {
|
|
194
|
+
const firstThirdLevelLink = this.el.shadowRoot?.querySelector('.menu__dropdown__mega-third-list a');
|
|
195
|
+
firstThirdLevelLink?.focus();
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Handles Tab navigation within mega-menu 3rd-level links.
|
|
200
|
+
*/
|
|
201
|
+
handleMegaThirdLevelLinkKeyDown = (event) => {
|
|
202
|
+
if (!this.isMegaMenuEnabled() || event.key !== 'Tab') {
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const megaThirdLevelLinks = Array.from(this.el.shadowRoot?.querySelectorAll('.menu__dropdown__mega-third-list a') ?? []);
|
|
206
|
+
if (megaThirdLevelLinks.length === 0) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const currentAnchor = event.currentTarget;
|
|
210
|
+
const currentIndex = megaThirdLevelLinks.indexOf(currentAnchor);
|
|
211
|
+
if (currentIndex < 0) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
if (event.shiftKey) {
|
|
215
|
+
if (currentIndex > 0) {
|
|
216
|
+
event.preventDefault();
|
|
217
|
+
megaThirdLevelLinks[currentIndex - 1]?.focus();
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
const activeSecondLevelIndex = this.megaActiveSubLevelIndex;
|
|
221
|
+
if (activeSecondLevelIndex < 0) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
event.preventDefault();
|
|
225
|
+
const secondLevelLinks = this.el.shadowRoot?.querySelectorAll('.menu__dropdown__list--mega > li > a');
|
|
226
|
+
secondLevelLinks?.[activeSecondLevelIndex]?.focus();
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (currentIndex < megaThirdLevelLinks.length - 1) {
|
|
230
|
+
event.preventDefault();
|
|
231
|
+
megaThirdLevelLinks[currentIndex + 1]?.focus();
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
const activeSecondLevelIndex = this.megaActiveSubLevelIndex;
|
|
235
|
+
if (activeSecondLevelIndex < 0) {
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
const secondLevelLinks = this.el.shadowRoot?.querySelectorAll('.menu__dropdown__list--mega > li > a');
|
|
239
|
+
const nextSecondLevelLink = secondLevelLinks?.[activeSecondLevelIndex + 1];
|
|
240
|
+
if (nextSecondLevelLink) {
|
|
241
|
+
event.preventDefault();
|
|
242
|
+
nextSecondLevelLink.focus();
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Clears active second-level item in mega-menu mode.
|
|
247
|
+
*/
|
|
248
|
+
clearMegaActiveSubLevel = () => {
|
|
249
|
+
if (!this.isMegaMenuEnabled()) {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
this.megaActiveSubLevelIndex = -1;
|
|
253
|
+
};
|
|
32
254
|
/**
|
|
33
255
|
* Renders the first menu level.
|
|
34
256
|
*/
|
|
35
257
|
renderFirstLevel() {
|
|
36
|
-
const { firstLevelTitle, firstLevelLink, firstLevelId, firstLevelIcon, menuItemTheme, showMenuItemAnimation, active, clickable, type } = this;
|
|
258
|
+
const { firstLevelTitle, firstLevelLink, firstLevelId, firstLevelIcon, menuItemTheme, showMenuItemAnimation, active, subLevels, clickable, type } = this;
|
|
37
259
|
const link = clickable && firstLevelLink.length !== 0 ? firstLevelLink : 'javascript:void(0)';
|
|
38
260
|
const icon = firstLevelIcon ? this.renderIcon({ name: firstLevelIcon, invertIcon: true }) : '';
|
|
261
|
+
const hasActiveDescendant = type === 'main' && this.hasActiveSubLevels(subLevels);
|
|
262
|
+
const isFirstLevelActive = (active || hasActiveDescendant) && type !== 'login';
|
|
39
263
|
let menuItemThemeClass = '', showAnimation = false;
|
|
40
264
|
if (type === 'main') {
|
|
41
265
|
menuItemThemeClass = menuItemTheme ? `menu__first-level--theme-${menuItemTheme}` : '';
|
|
42
266
|
showAnimation = showMenuItemAnimation;
|
|
43
267
|
}
|
|
44
|
-
return (index.h("a", { id: firstLevelId, href: link, class: {
|
|
268
|
+
return (index.h("a", { id: firstLevelId, href: link, part: "first-level", onMouseEnter: this.handleFirstLevelInteraction, onFocus: this.handleFirstLevelInteraction, class: {
|
|
45
269
|
'menu__first-level': true,
|
|
46
|
-
'menu--active':
|
|
270
|
+
'menu--active': isFirstLevelActive,
|
|
47
271
|
'menu__first-level--themed': menuItemThemeClass.length > 0,
|
|
48
272
|
...(menuItemThemeClass && { [menuItemThemeClass]: true }),
|
|
49
273
|
...(showAnimation && { 'show-animation': true })
|
|
50
274
|
} }, icon, firstLevelTitle, this.renderChevron()));
|
|
51
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* Checks whether any nested sub-level item is marked as active.
|
|
278
|
+
*/
|
|
279
|
+
hasActiveSubLevels(items) {
|
|
280
|
+
return items.some((item) => !!item.active || this.hasActiveSubLevels(item.subLevels ?? []));
|
|
281
|
+
}
|
|
52
282
|
/**
|
|
53
283
|
* Emit event when the component has been rendered.
|
|
54
284
|
* Calculates available space on screen after first full render to correctly render 3rd level navigation.
|
|
55
285
|
*/
|
|
56
286
|
componentDidRender() {
|
|
57
|
-
this.
|
|
287
|
+
this.syncLayout();
|
|
288
|
+
}
|
|
289
|
+
disconnectedCallback() {
|
|
290
|
+
this.setMegaParentElement(null);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Syncs dropdown size and position with parent container.
|
|
294
|
+
*/
|
|
295
|
+
updateDropdownLayout() {
|
|
296
|
+
if (!this.isMegaMenuEnabled()) {
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
const dropdown = this.el.shadowRoot?.querySelector('.menu__dropdown');
|
|
300
|
+
if (!dropdown) {
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
const parentSelector = this.parentSelector?.trim();
|
|
304
|
+
const parentElement = parentSelector
|
|
305
|
+
? this.el.closest(parentSelector)
|
|
306
|
+
: this.el.parentElement;
|
|
307
|
+
if (!parentElement) {
|
|
308
|
+
this.setMegaParentElement(null);
|
|
309
|
+
dropdown.style.removeProperty('top');
|
|
310
|
+
dropdown.style.removeProperty('--menu-dropdown-hover-bridge-height');
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
this.setMegaParentElement(parentElement);
|
|
314
|
+
const parentRect = parentElement.getBoundingClientRect();
|
|
315
|
+
if (parentRect.width <= 0) {
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
const menuRect = this.el.getBoundingClientRect();
|
|
319
|
+
const hoverBridgeHeight = Math.max(0, parentRect.bottom - menuRect.bottom);
|
|
320
|
+
dropdown.style.top = `${parentRect.bottom}px`;
|
|
321
|
+
dropdown.style.setProperty('--menu-dropdown-hover-bridge-height', `${hoverBridgeHeight}px`);
|
|
58
322
|
}
|
|
59
323
|
/**
|
|
60
324
|
* Renders the chevron icon if the menu has sub-levels.
|
|
@@ -76,7 +340,7 @@ const TetMenu = class {
|
|
|
76
340
|
if (!subLevel.active || type !== 'language') {
|
|
77
341
|
return '';
|
|
78
342
|
}
|
|
79
|
-
return (index.h("tet-icon", { name: "check", class: "menu__dropdown__list__checkmark", theme: this.darkMode ? 'dark' : 'light' }));
|
|
343
|
+
return (index.h("tet-icon", { name: "tc-check", class: "menu__dropdown__list__checkmark", theme: this.darkMode ? 'dark' : 'light' }));
|
|
80
344
|
}
|
|
81
345
|
/**
|
|
82
346
|
* Renders the dropdown of the menu.
|
|
@@ -86,51 +350,71 @@ const TetMenu = class {
|
|
|
86
350
|
if (subLevels.length < 1) {
|
|
87
351
|
return '';
|
|
88
352
|
}
|
|
89
|
-
const
|
|
90
|
-
|
|
353
|
+
const isMegaMenuEnabled = this.isMegaMenuEnabled();
|
|
354
|
+
const megaIndex = isMegaMenuEnabled ? this.megaActiveSubLevelIndex : -1;
|
|
355
|
+
const activeMegaSubLevels = megaIndex >= 0 ? (subLevels[megaIndex]?.subLevels ?? []) : [];
|
|
356
|
+
const renderedSubLevels = subLevels.map((subLevel, index) => this.renderSubItem(subLevel, index, isMegaMenuEnabled));
|
|
357
|
+
const list = (index.h("ul", { class: { 'menu__dropdown__list': true, 'menu__dropdown__list--mega': isMegaMenuEnabled } }, renderedSubLevels));
|
|
358
|
+
return (index.h("div", { class: { 'menu__dropdown': true, 'menu__dropdown--mega': isMegaMenuEnabled } }, isMegaMenuEnabled
|
|
359
|
+
? (index.h("div", { class: "tet-grid" }, index.h("div", { class: "menu__dropdown__wrapper tet-grid__cell tet-grid__cell--span-all" }, index.h("div", { class: "menu__dropdown__mega-lists" }, list, index.h("div", { class: "menu__dropdown__mega-third" }, activeMegaSubLevels.length > 0 && (index.h("ul", { class: "menu__dropdown__mega-third-list" }, activeMegaSubLevels.map((_subLevel) => this.renderSublevelItem(_subLevel)))))), index.h("div", { class: "menu__dropdown__mega-banner" }, index.h("slot", { name: "banner" })))))
|
|
360
|
+
: list));
|
|
91
361
|
}
|
|
92
362
|
/**
|
|
93
363
|
* Renders the sub-levels of the menu.
|
|
94
364
|
* @param subLevel
|
|
95
365
|
*/
|
|
96
|
-
renderSubItem(subLevel) {
|
|
366
|
+
renderSubItem(subLevel, index$1, isMegaMenuEnabled) {
|
|
97
367
|
const subMenuItems = subLevel.subLevels?.map((_subLevel) => {
|
|
98
368
|
return this.renderSublevelItem(_subLevel);
|
|
99
369
|
});
|
|
370
|
+
const hasSubMenuItems = !!subMenuItems?.length;
|
|
371
|
+
const hasActiveDescendant = this.hasActiveSubLevels(subLevel.subLevels ?? []);
|
|
372
|
+
const subMenuChevronName = 'chevron-right';
|
|
100
373
|
let iconLeft = '';
|
|
101
374
|
let iconRight = '';
|
|
102
|
-
if (
|
|
103
|
-
iconLeft
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
iconRight
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
375
|
+
if (!this.isMegaMenuLayout) {
|
|
376
|
+
if (subLevel.iconLeft) {
|
|
377
|
+
iconLeft = this.renderIcon({
|
|
378
|
+
name: subLevel.iconLeft,
|
|
379
|
+
right: false,
|
|
380
|
+
id: subLevel.id,
|
|
381
|
+
size: subLevel.iconSize,
|
|
382
|
+
useDefaultColor: subLevel.useDefaultColor
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
else if (subLevel.imageSrc) {
|
|
386
|
+
iconLeft = this.renderImage(subLevel);
|
|
387
|
+
}
|
|
388
|
+
if (subLevel.iconRight) {
|
|
389
|
+
iconRight = this.renderIcon({
|
|
390
|
+
name: subLevel.iconRight,
|
|
391
|
+
right: true,
|
|
392
|
+
id: subLevel.id,
|
|
393
|
+
size: subLevel.iconSize
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
const subTitle = subLevel.subTitle && subLevel.subTitle.length !== 0 ? (index.h("div", { class: {
|
|
398
|
+
"menu__dropdown__list__sub-title": true,
|
|
399
|
+
"menu__dropdown__list__sub-title--mega": this.isMegaMenuLayout,
|
|
400
|
+
} }, subLevel.subTitle)) : ('');
|
|
401
|
+
const itemId = subLevel.id?.toString();
|
|
402
|
+
const subList = hasSubMenuItems && !isMegaMenuEnabled ? (index.h("div", { class: {
|
|
403
|
+
left: !isMegaMenuEnabled && this.isSubmenuLeft,
|
|
404
|
+
right: !isMegaMenuEnabled && !this.isSubmenuLeft,
|
|
405
|
+
menu__sublist: true
|
|
406
|
+
} }, index.h("ul", { class: { content: true } }, subMenuItems))) : null;
|
|
407
|
+
return (index.h("li", null, index.h("a", { id: itemId, href: subLevel.link, onMouseEnter: () => this.setMegaActiveSubLevel(index$1, hasSubMenuItems), onFocus: () => this.setMegaActiveSubLevel(index$1, hasSubMenuItems), onKeyDown: (event) => this.handleMegaSecondLevelKeyDown(event, index$1, hasSubMenuItems), class: {
|
|
408
|
+
'menu--active': !!subLevel.active || hasActiveDescendant,
|
|
409
|
+
'menu--mega-current': isMegaMenuEnabled && index$1 === this.megaActiveSubLevelIndex,
|
|
410
|
+
'menu--highlighted': !!subLevel.highlighted,
|
|
411
|
+
'line-top': !!subLevel.lineTop,
|
|
412
|
+
'text-color-secondary': !!subLevel.textColorSecondary,
|
|
413
|
+
'translation-none': !!subLevel.translationNone,
|
|
414
|
+
'menu--submenu': hasSubMenuItems
|
|
131
415
|
}, tabIndex: 0 }, iconLeft, index.h("div", null, !!subLevel.badgeText
|
|
132
416
|
? index.h("span", { class: "menu__badge" }, subLevel.badgeText)
|
|
133
|
-
: null, index.h("div", null, subLevel.title), subTitle, this.renderCheckmark(subLevel)), iconRight,
|
|
417
|
+
: null, index.h("div", null, subLevel.title), subTitle, this.renderCheckmark(subLevel)), iconRight, hasSubMenuItems && (index.h("tet-icon", { class: "menu__chevron", name: subMenuChevronName, theme: this.darkMode ? 'dark' : 'light' }))), subList));
|
|
134
418
|
}
|
|
135
419
|
/**
|
|
136
420
|
* Renders the sub-levels of the menu.
|
|
@@ -139,31 +423,33 @@ const TetMenu = class {
|
|
|
139
423
|
renderSublevelItem(subLevel) {
|
|
140
424
|
let iconLeft = '';
|
|
141
425
|
let iconRight = '';
|
|
142
|
-
if (
|
|
143
|
-
iconLeft
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
iconRight
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
'
|
|
166
|
-
'
|
|
426
|
+
if (!this.isMegaMenuLayout) {
|
|
427
|
+
if (subLevel.iconLeft) {
|
|
428
|
+
iconLeft = this.renderIcon({
|
|
429
|
+
name: subLevel.iconLeft,
|
|
430
|
+
right: false,
|
|
431
|
+
id: subLevel.id,
|
|
432
|
+
size: subLevel.iconSize,
|
|
433
|
+
useDefaultColor: subLevel.useDefaultColor
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
else if (subLevel.imageSrc) {
|
|
437
|
+
iconLeft = this.renderImage(subLevel);
|
|
438
|
+
}
|
|
439
|
+
if (subLevel.iconRight) {
|
|
440
|
+
iconRight = this.renderIcon({
|
|
441
|
+
name: subLevel.iconRight,
|
|
442
|
+
right: true,
|
|
443
|
+
id: subLevel.id,
|
|
444
|
+
size: subLevel.iconSize
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return (index.h("li", null, index.h("a", { id: subLevel.id, href: subLevel.link, onKeyDown: this.handleMegaThirdLevelLinkKeyDown, class: {
|
|
449
|
+
'menu--active': !!subLevel.active,
|
|
450
|
+
'menu--highlighted': !!subLevel.highlighted,
|
|
451
|
+
'line-top': !!subLevel.lineTop,
|
|
452
|
+
'text-color-secondary': !!subLevel.textColorSecondary
|
|
167
453
|
}, tabIndex: 0 }, iconLeft, index.h("div", null, index.h("div", null, index.h("span", null, subLevel.title), !!subLevel.badgeText
|
|
168
454
|
? index.h("span", { class: "menu__badge" }, subLevel.badgeText)
|
|
169
455
|
: null), this.renderCheckmark(subLevel)), iconRight)));
|
|
@@ -188,41 +474,60 @@ const TetMenu = class {
|
|
|
188
474
|
return (index.h("div", { class: "menu__icon" }, index.h("img", { src: subLevel.imageSrc, alt: "" })));
|
|
189
475
|
}
|
|
190
476
|
setupThirdLevelEvent() {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
const parentRight = parentRect.right;
|
|
212
|
-
this.isSubmenuLeft = windowWidth < parentRight + thirdLevelmenuWidth;
|
|
213
|
-
});
|
|
214
|
-
});
|
|
477
|
+
if (this.isMegaMenuEnabled()) {
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
480
|
+
const thirdLevelmenus = this.el.shadowRoot?.querySelectorAll('.menu__sublist');
|
|
481
|
+
if (!thirdLevelmenus) {
|
|
482
|
+
return;
|
|
483
|
+
}
|
|
484
|
+
thirdLevelmenus.forEach((thirdLevelmenu) => {
|
|
485
|
+
const menuItem = thirdLevelmenu.closest('li');
|
|
486
|
+
if (!menuItem) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
const parent = menuItem.querySelector('a');
|
|
490
|
+
if (!parent) {
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
const existingHandler = this.thirdLevelMouseEnterHandlers.get(parent);
|
|
494
|
+
if (existingHandler) {
|
|
495
|
+
parent.removeEventListener('mouseenter', existingHandler);
|
|
496
|
+
this.thirdLevelMouseEnterHandlers.delete(parent);
|
|
215
497
|
}
|
|
498
|
+
thirdLevelmenu.style.removeProperty('top');
|
|
499
|
+
thirdLevelmenu.style.removeProperty('bottom');
|
|
500
|
+
const onMouseEnter = () => {
|
|
501
|
+
const windowWidth = window.innerWidth;
|
|
502
|
+
const windowHeight = window.innerHeight;
|
|
503
|
+
const parentRect = parent.getBoundingClientRect();
|
|
504
|
+
const thirdRectParent = thirdLevelmenu.offsetParent || null;
|
|
505
|
+
const offsetRect = thirdRectParent ? thirdRectParent.getBoundingClientRect() : { top: 0 };
|
|
506
|
+
const thirdLevelmenuWidth = thirdLevelmenu.offsetWidth;
|
|
507
|
+
const thirdLevelmenuHeight = thirdLevelmenu.offsetHeight;
|
|
508
|
+
// Desired top position in viewport coordinates
|
|
509
|
+
const bottomPadding = 10;
|
|
510
|
+
const desiredTopViewport = Math.max(10, Math.min(parentRect.top, windowHeight - thirdLevelmenuHeight - bottomPadding));
|
|
511
|
+
const desiredTopOffset = desiredTopViewport - offsetRect.top;
|
|
512
|
+
thirdLevelmenu.style.top = `${desiredTopOffset}px`;
|
|
513
|
+
thirdLevelmenu.style.bottom = '';
|
|
514
|
+
const parentRight = parentRect.right;
|
|
515
|
+
this.isSubmenuLeft = windowWidth < parentRight + thirdLevelmenuWidth;
|
|
516
|
+
};
|
|
517
|
+
parent.addEventListener('mouseenter', onMouseEnter);
|
|
518
|
+
this.thirdLevelMouseEnterHandlers.set(parent, onMouseEnter);
|
|
216
519
|
});
|
|
217
520
|
}
|
|
218
521
|
render() {
|
|
219
522
|
const { type } = this;
|
|
220
|
-
return (index.h(index.Host, { key: '
|
|
523
|
+
return (index.h(index.Host, { key: '981d8a58d272ace848d7a6c4c82e7916a4282991' }, index.h("div", { key: '3eb7afce24ff6373a43bc4405fbba7cb6a421e85', class: {
|
|
221
524
|
menu: true,
|
|
222
525
|
menu__main: type === 'main',
|
|
223
526
|
menu__language: type === 'language',
|
|
224
527
|
menu__login: type === 'login',
|
|
225
|
-
menu__dark: this.darkMode
|
|
528
|
+
menu__dark: this.darkMode,
|
|
529
|
+
'menu--mega-open': this.isMegaMenuEnabled() && this.isMegaMenuOpen,
|
|
530
|
+
'menu--mega-escape-closed': this.isMegaMenuEnabled() && this.isMegaMenuEscapeClosed
|
|
226
531
|
} }, this.renderFirstLevel(), this.renderSubLevels())));
|
|
227
532
|
}
|
|
228
533
|
};
|