@tet/tet-components 1.4.160-testing → 1.4.161-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/{http-codes-B4Gpp43H.js → http-codes-BPqfZGg_.js} +1 -1
- package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{product-comparison-BsFolQ-2.js → product-comparison-1j61pRJX.js} +1 -1
- package/dist/cjs/{service-availability-services-DiLdc-k5.js → service-availability-services-pWb5YaEM.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 +3 -3
- package/dist/cjs/tet-address-offers-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_3.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-search_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-assembler_3.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.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-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-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_2.cjs.entry.js +1 -1
- 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 +3 -3
- 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 +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-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 +1 -1
- 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-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-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card.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-paginator.cjs.entry.js +3 -3
- 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_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-round-stepper.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-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.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 +1 -1
- 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-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-program-channel-picker_3.cjs.entry.js +4 -4
- package/dist/cjs/tet-tv-program-item.cjs.entry.js +1 -1
- package/dist/cjs/{tet-tv-program-placeholders-S8TCKfbT.js → tet-tv-program-placeholders-CRvdN2bT.js} +1 -1
- package/dist/cjs/tet-tv-program.cjs.entry.js +4 -4
- package/dist/cjs/{translations-CURmmM7U.js → translations-C5voiGIZ.js} +1 -1
- package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.css +26 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-zAyviyi5.js → p-B5ujbvD5.js} +1 -1
- package/dist/components/p-B8pZddqI.js +1 -0
- package/dist/components/{p-Mpe-2CVQ.js → p-BBNq_Obn.js} +1 -1
- package/dist/components/{p-D-w0qqR4.js → p-BCe35fiF.js} +1 -1
- package/dist/components/{p-DoqXNlLu.js → p-BCpsmWJM.js} +1 -1
- package/dist/components/{p-t_FgKIcd.js → p-BKIzl46N.js} +1 -1
- package/dist/components/{p-CMxcvnRv.js → p-BSySZotX.js} +1 -1
- package/dist/components/{p-Cfs_yMnP.js → p-BV6g-luP.js} +1 -1
- package/dist/components/{p-DN2JwXg9.js → p-BcXV5sQw.js} +1 -1
- package/dist/components/{p-BpyzO8u9.js → p-BdrzH5ar.js} +1 -1
- package/dist/components/{p-Dh_k83pv.js → p-BnOTR5fm.js} +1 -1
- package/dist/components/{p-CxATkCWR.js → p-BxOwqp0a.js} +1 -1
- package/dist/components/{p-DXBMFX6S.js → p-C16rQ6Rb.js} +1 -1
- package/dist/components/{p-Ij5UL06A.js → p-C4ul-L9-.js} +1 -1
- package/dist/components/{p-vu71OGLf.js → p-CFyjcGK7.js} +1 -1
- package/dist/components/{p-Dc2ChEFa.js → p-CHCXv4yB.js} +1 -1
- package/dist/components/{p-BmH_7-IQ.js → p-CLWLTBE0.js} +1 -1
- package/dist/components/{p-C_RAwx69.js → p-CMSs7Ay5.js} +1 -1
- package/dist/components/{p-UTNCI93U.js → p-CNTMOgMT.js} +1 -1
- package/dist/components/{p-pkBnEPTN.js → p-CPY7aG_q.js} +1 -1
- package/dist/components/{p-DQxswb2r.js → p-CT0JjXhe.js} +1 -1
- package/dist/components/{p-C-sZ3Bzu.js → p-CVthBaQt.js} +1 -1
- package/dist/components/{p-C4uKGuRj.js → p-C_hP1fqX.js} +1 -1
- package/dist/components/{p-Bw-D7nPx.js → p-CaHY4mtM.js} +1 -1
- package/dist/components/{p-CUDBn3G7.js → p-CgWcN6ca.js} +1 -1
- package/dist/components/{p-CA4o9d02.js → p-CqSiuKpc.js} +1 -1
- package/dist/components/{p-CWlp-HY6.js → p-CtcmUD5r.js} +1 -1
- package/dist/components/{p-Bm20uyEJ.js → p-CushMMdv.js} +1 -1
- package/dist/components/{p-C61jDpta.js → p-D5J-pubV.js} +1 -1
- package/dist/components/{p-BUmD0T4C.js → p-D6zXaWBn.js} +1 -1
- package/dist/components/{p-B1LN4qoL.js → p-D8V6RYb0.js} +1 -1
- package/dist/components/{p-DjxuEWQp.js → p-DAZQBXWo.js} +1 -1
- package/dist/components/{p-DuYjehsk.js → p-DAjLPYxx.js} +1 -1
- package/dist/components/{p-BztqMLE1.js → p-DD5q1beS.js} +1 -1
- package/dist/components/{p-CDUvchOX.js → p-DEasZUte.js} +1 -1
- package/dist/components/{p-BfMDqcVO.js → p-DEjrxfHh.js} +1 -1
- package/dist/components/{p-CMRg8RJe.js → p-DIDgNN8z.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/{p-CJnk1Plz.js → p-DSO2W8wX.js} +1 -1
- package/dist/components/{p-wiaJ2xX-.js → p-D_ZrduSw.js} +2 -2
- package/dist/components/{p-BpZGIhVw.js → p-DopPk-Ix.js} +1 -1
- package/dist/components/{p-CYMnJi7q.js → p-DyY_BOZd.js} +1 -1
- package/dist/components/{p-pVVYHFio.js → p-DzJunF5n.js} +1 -1
- package/dist/components/{p-NrnLAn4c.js → p-IyO0AtW2.js} +1 -1
- package/dist/components/{p-BCIrfm_U.js → p-JSqvRN9t.js} +1 -1
- package/dist/components/{p-DB6P_-0p.js → p-Jl97CICe.js} +1 -1
- package/dist/components/{p-0_3AK3si.js → p-PMDuFwdO.js} +1 -1
- package/dist/components/p-PuQGb_kZ.js +1 -0
- package/dist/components/{p-oF7LS_dm.js → p-RKwM_UoL.js} +1 -1
- package/dist/components/{p-Vnm_DlGJ.js → p-U1U7KO8M.js} +1 -1
- package/dist/components/{p-CyuQ5EkC.js → p-WTP67GQt.js} +1 -1
- package/dist/components/{p-Bsqoxd9G.js → p-WvkszOBK.js} +1 -1
- package/dist/components/{p-C-df7X5B.js → p-Zd3FJ-E9.js} +1 -1
- package/dist/components/{p-DHyVZHze.js → p-h65iKcGh.js} +1 -1
- package/dist/components/{p-Dk8-6MuZ.js → p-kj9GRPBV.js} +1 -1
- package/dist/components/{p-B_thshTd.js → p-nu13atxU.js} +1 -1
- package/dist/components/{p-Ba3klU78.js → p-o3DB-jeO.js} +1 -1
- package/dist/components/{p-DZ4towsu.js → p-rItngdC7.js} +1 -1
- package/dist/components/{p-B05y0A4c.js → p-raVwRdrn.js} +1 -1
- package/dist/components/{p-DETttquX.js → p-tV8a7IEe.js} +1 -1
- 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-v2.js +1 -1
- package/dist/components/tet-address-offers-view-v2.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- 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 +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- 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 +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- 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 +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.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-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 +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- 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-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- 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-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-program-channel-picker.js +1 -1
- package/dist/components/tet-tv-program-date-picker.js +1 -1
- package/dist/components/tet-tv-program-item.js +1 -1
- package/dist/components/tet-tv-program-schedule.js +1 -1
- package/dist/components/tet-tv-program.js +1 -1
- package/dist/esm/{http-codes-BmLCokP0.js → http-codes-DxBVAMp_.js} +1 -1
- package/dist/esm/{index-gA3_LS77.js → index-BlxQHXlF.js} +1 -1
- package/dist/esm/{index-BzVLx-ae.js → index-Cl1zJLqR.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{product-comparison-Bj1HpN8b.js → product-comparison-CIa1tZy1.js} +1 -1
- package/dist/esm/{service-availability-services-DdpZDSA_.js → service-availability-services-DR0G7lAz.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-v2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view-v2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_3.entry.js +5 -5
- package/dist/esm/tet-address-search_2.entry.js +3 -3
- package/dist/esm/tet-assembler_3.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.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-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-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_2.entry.js +1 -1
- 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 +3 -3
- 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 +2 -2
- 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-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 +1 -1
- 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-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-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-news-card.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-paginator.entry.js +3 -3
- 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_2.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-round-stepper.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-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.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 +1 -1
- 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-v3.entry.js +3 -3
- package/dist/esm/tet-tooltip.entry.js +1 -1
- package/dist/esm/tet-tv-program-channel-picker_3.entry.js +4 -4
- package/dist/esm/tet-tv-program-item.entry.js +1 -1
- package/dist/esm/{tet-tv-program-placeholders-DBSulj5S.js → tet-tv-program-placeholders-6PnHO3Vt.js} +1 -1
- package/dist/esm/tet-tv-program.entry.js +4 -4
- package/dist/esm/{translations-DUXuvIgL.js → translations-CpmeCaXU.js} +1 -1
- package/dist/tet-components/{p-d06551c8.entry.js → p-00383c63.entry.js} +1 -1
- package/dist/tet-components/{p-fbcecfd2.entry.js → p-01b6e854.entry.js} +1 -1
- package/dist/tet-components/{p-2adf4a63.entry.js → p-0364bd08.entry.js} +1 -1
- package/dist/tet-components/{p-42a1fafb.entry.js → p-07719feb.entry.js} +1 -1
- package/dist/tet-components/{p-6a3891bf.entry.js → p-090b1ee9.entry.js} +1 -1
- package/dist/tet-components/{p-6800ae9e.entry.js → p-0bc383b2.entry.js} +1 -1
- package/dist/tet-components/{p-c4b63b78.entry.js → p-13029731.entry.js} +1 -1
- package/dist/tet-components/{p-95bab59e.entry.js → p-144a817d.entry.js} +1 -1
- package/dist/tet-components/{p-ae31acd5.entry.js → p-14fe8c03.entry.js} +1 -1
- package/dist/tet-components/{p-951ef69e.entry.js → p-16f75f0c.entry.js} +1 -1
- package/dist/tet-components/{p-0e021d89.entry.js → p-18c6bad0.entry.js} +1 -1
- package/dist/tet-components/{p-e6ea2f88.entry.js → p-197d157d.entry.js} +1 -1
- package/dist/tet-components/{p-30d78517.entry.js → p-2059a7aa.entry.js} +1 -1
- package/dist/tet-components/{p-3b5deaa6.entry.js → p-222d6593.entry.js} +1 -1
- package/dist/tet-components/{p-88e82d01.entry.js → p-22ea8015.entry.js} +1 -1
- package/dist/tet-components/{p-f2d0cf96.entry.js → p-23e33f99.entry.js} +1 -1
- package/dist/tet-components/{p-9d612283.entry.js → p-248957cf.entry.js} +1 -1
- package/dist/tet-components/{p-d3e39b2c.entry.js → p-2a5e14d3.entry.js} +1 -1
- package/dist/tet-components/{p-7d62e8e0.entry.js → p-2eee7043.entry.js} +1 -1
- package/dist/tet-components/{p-0d0de163.entry.js → p-2ff74667.entry.js} +1 -1
- package/dist/tet-components/{p-32983951.entry.js → p-35228f86.entry.js} +1 -1
- package/dist/tet-components/{p-581504e4.entry.js → p-359ddd3d.entry.js} +1 -1
- package/dist/tet-components/{p-1ce9b751.entry.js → p-394504cc.entry.js} +1 -1
- package/dist/tet-components/{p-cb98ad80.entry.js → p-3a242ce0.entry.js} +1 -1
- package/dist/tet-components/{p-5e38468a.entry.js → p-3a99d267.entry.js} +1 -1
- package/dist/tet-components/{p-f463c13f.entry.js → p-429d9d2c.entry.js} +1 -1
- package/dist/tet-components/{p-163a0c4a.entry.js → p-45573d70.entry.js} +1 -1
- package/dist/tet-components/{p-4b6529c2.entry.js → p-4aab89f2.entry.js} +1 -1
- package/dist/tet-components/{p-1b44b1a7.entry.js → p-4b6daee6.entry.js} +1 -1
- package/dist/tet-components/{p-e45dab2b.entry.js → p-52a679f8.entry.js} +1 -1
- package/dist/tet-components/{p-11017916.entry.js → p-537e043d.entry.js} +1 -1
- package/dist/tet-components/{p-039121d4.entry.js → p-549fc480.entry.js} +1 -1
- package/dist/tet-components/{p-f73c5481.entry.js → p-645519ea.entry.js} +1 -1
- package/dist/tet-components/{p-0bd6e06e.entry.js → p-6a39e30f.entry.js} +1 -1
- package/dist/tet-components/{p-e19b1ea6.entry.js → p-6d5bb64b.entry.js} +1 -1
- package/dist/tet-components/{p-227b8fc1.entry.js → p-71918ee5.entry.js} +1 -1
- package/dist/tet-components/{p-e9e66f26.entry.js → p-73ba2953.entry.js} +1 -1
- package/dist/tet-components/{p-c1f64215.entry.js → p-80179dc9.entry.js} +1 -1
- package/dist/tet-components/{p-dc86664c.entry.js → p-84835070.entry.js} +1 -1
- package/dist/tet-components/{p-0dbb443a.entry.js → p-85704684.entry.js} +1 -1
- package/dist/tet-components/{p-b1197d59.entry.js → p-8c129c83.entry.js} +1 -1
- package/dist/tet-components/{p-e66a58d6.entry.js → p-8dd9bde1.entry.js} +1 -1
- package/dist/tet-components/{p-c493d072.entry.js → p-8df51fe3.entry.js} +1 -1
- package/dist/tet-components/{p-362227cc.entry.js → p-8f708ddc.entry.js} +1 -1
- package/dist/tet-components/{p-d19ab033.entry.js → p-94bf94ea.entry.js} +1 -1
- package/dist/tet-components/{p-c46242ce.entry.js → p-984c1332.entry.js} +1 -1
- package/dist/tet-components/{p-d0fd1922.entry.js → p-994b8b7f.entry.js} +1 -1
- package/dist/tet-components/{p-e1a5a094.entry.js → p-9d5f14db.entry.js} +1 -1
- package/dist/tet-components/{p-25c80589.entry.js → p-9dd85372.entry.js} +1 -1
- package/dist/tet-components/{p-298cf031.entry.js → p-9e0845ff.entry.js} +1 -1
- package/dist/tet-components/{p-BWUSVCLj.js → p-B3oUiyJ_.js} +1 -1
- package/dist/tet-components/{p-AlVmLIC0.js → p-BTo8T4K7.js} +1 -1
- package/dist/tet-components/{p-gA3_LS77.js → p-BlxQHXlF.js} +1 -1
- package/dist/tet-components/{p-CvXdDvJ9.js → p-C2_Y9hR8.js} +1 -1
- package/dist/tet-components/{p-DaE7YNu0.js → p-Cu_nZUjB.js} +1 -1
- package/dist/{components/p-yrlFLjBT.js → tet-components/p-Du1r7fBd.js} +1 -1
- package/dist/tet-components/{p-a91c8e30.entry.js → p-a1e75f54.entry.js} +1 -1
- package/dist/tet-components/{p-7ab6cffa.entry.js → p-a672882d.entry.js} +1 -1
- package/dist/tet-components/{p-ef8c6503.entry.js → p-a8c5f562.entry.js} +1 -1
- package/dist/tet-components/{p-0e9201e6.entry.js → p-aa0626f1.entry.js} +1 -1
- package/dist/tet-components/{p-0e77b31b.entry.js → p-aab954fd.entry.js} +1 -1
- package/dist/tet-components/{p-76be889b.entry.js → p-adabdd88.entry.js} +1 -1
- package/dist/tet-components/{p-a9706390.entry.js → p-af2bed0c.entry.js} +1 -1
- package/dist/tet-components/{p-8bc19003.entry.js → p-b1f8889c.entry.js} +1 -1
- package/dist/tet-components/{p-12fe3881.entry.js → p-b36bd5ee.entry.js} +1 -1
- package/dist/tet-components/{p-2be883e9.entry.js → p-b8c728a3.entry.js} +1 -1
- package/dist/tet-components/{p-578628ad.entry.js → p-b9892cf7.entry.js} +1 -1
- package/dist/tet-components/{p-80aaa012.entry.js → p-bc53afc8.entry.js} +1 -1
- package/dist/tet-components/{p-8b7bbbbf.entry.js → p-bfc1d731.entry.js} +1 -1
- package/dist/tet-components/{p-551476f6.entry.js → p-c32a7bb6.entry.js} +1 -1
- package/dist/tet-components/{p-f6dc3cbd.entry.js → p-c577fcf2.entry.js} +1 -1
- package/dist/tet-components/{p-f2bd5dad.entry.js → p-c5fa28a5.entry.js} +1 -1
- package/dist/tet-components/{p-4a21fdfb.entry.js → p-c6266e47.entry.js} +1 -1
- package/dist/tet-components/{p-3f0c28f5.entry.js → p-c6dcceb2.entry.js} +1 -1
- package/dist/tet-components/{p-a78996bc.entry.js → p-c7c9c272.entry.js} +1 -1
- package/dist/tet-components/{p-b8eb6e57.entry.js → p-cafa6809.entry.js} +1 -1
- package/dist/tet-components/{p-8b8afdfb.entry.js → p-cbb61a78.entry.js} +1 -1
- package/dist/tet-components/{p-e59ec4c3.entry.js → p-d19565db.entry.js} +1 -1
- package/dist/tet-components/{p-0b122cc1.entry.js → p-d5212455.entry.js} +1 -1
- package/dist/tet-components/{p-12b04ffe.entry.js → p-d5b8d06c.entry.js} +1 -1
- package/dist/tet-components/{p-f8aa1f9b.entry.js → p-d770c106.entry.js} +1 -1
- package/dist/tet-components/{p-7f0806c9.entry.js → p-d875735c.entry.js} +1 -1
- package/dist/tet-components/{p-daa8ca5c.entry.js → p-d94f8fc5.entry.js} +1 -1
- package/dist/tet-components/{p-ebd66166.entry.js → p-ddcaa280.entry.js} +1 -1
- package/dist/tet-components/{p-516ccefe.entry.js → p-ddfa57fd.entry.js} +1 -1
- package/dist/tet-components/{p-3289dd57.entry.js → p-eb487864.entry.js} +1 -1
- package/dist/tet-components/{p-03b6c7a2.entry.js → p-ef89dc8a.entry.js} +1 -1
- package/dist/tet-components/{p-8329cd9d.entry.js → p-f378220c.entry.js} +1 -1
- package/dist/tet-components/{p-fe5b7720.entry.js → p-f459c748.entry.js} +1 -1
- package/dist/tet-components/{p-706bb5db.entry.js → p-f490d4a6.entry.js} +1 -1
- package/dist/tet-components/{p-db229cfc.entry.js → p-f675b69e.entry.js} +1 -1
- package/dist/tet-components/{p-334c1fe0.entry.js → p-f7a06231.entry.js} +1 -1
- package/dist/tet-components/{p-Th74Kc5K.js → p-qSX0mu28.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-cEOMeufK.js +0 -1
- package/dist/tet-components/p-0vxAPL5R.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,H as e,d as o,h as t,c as a,t as i}from"./p-Cdi7KDBd.js";import"./p-wiaJ2xX-.js";import{p as n}from"./p-NrnLAn4c.js";import{d as c}from"./p-C-sZ3Bzu.js";import{d as s}from"./p-vu71OGLf.js";import{d as l}from"./p-CDUvchOX.js";import{d}from"./p-Bsqoxd9G.js";import{d as m}from"./p-Vnm_DlGJ.js";import{d as p}from"./p-CJnk1Plz.js";import{d as h}from"./p-BztqMLE1.js";import{d as f}from"./p-DN2JwXg9.js";import{d as u}from"./p-BpyzO8u9.js";import{d as b}from"./p-D-w0qqR4.js";const g=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.cardLoaded=o(this,"cardLoaded"),this.productChanged=o(this,"productChanged")}buttonSizeBreakpoint=1280;singleCardBreakpoint=1024;cardType="static";singleCardControlType="tabs";theme="light";language="lv";options=[];preloadedProducts={};toggles=[];contractTerm=0;controlsTitle;singleCardTabsTitle;bestChoiceText;bestChoiceIconName;currency="€/mēn.";secondaryLink="";secondaryLinkText="";secondaryLinkOpenBlank=!1;buttonTitle="";linkOpenBlank=!1;showControlsFirst=!1;narrowSummary=!1;showLoader=!0;selectedProductId="";selectedDropdownOptionId="";selectedSwitchKeys=[];preselectedKeys=[];preselectedProductId="";allProductData={};preselectedRemountId=0;buttonSize="large";isSingleCardDesktop=!0;smallRadioBlocksPerRow=2;largeRadioBlocksPerRow=3;didEmitCardLoaded=!1;hasFetchedProducts=!1;cardLoaded;productChanged;onOptionSelected(r){const e=r.detail.value,o=this.getOptionById(this.selectedProductId),t=o?.dropdownOptions?.find((r=>this.getOptionId(r)===e));if(t)return this.selectedDropdownOptionId=e,void this.productChanged.emit();this.selectedProductId=e,this.setInitialDropdownOption(this.getOptionById(e)),this.productChanged.emit()}async componentWillLoad(){this.syncButtonSize(),"single-card"===this.cardType&&this.syncSingleCardBreakpoint(),this.fetchProductComparison(),this.initializeSelection()}onOptionsChange(){this.hasFetchedProducts||(this.initializeSelection(),this.fetchProductComparison())}onPreloadedProductsChange(){const r=this.getProductOptions().reduce(((r,e)=>{const o=e.productCode?this.preloadedProducts[e.productCode]:void 0;return o&&(r[this.getOptionId(e)]=o),r}),{});this.allProductData={...this.allProductData,...r},this.showLoader=!1}initializeSelection(){switch(this.cardType){case"single-card":case"dropdown":case"radio":{const r=this.options.find((r=>r.preselected))??this.options[0];r&&(this.selectedProductId=this.getOptionId(r),this.setInitialDropdownOption(r),this.productChanged.emit());break}case"switcher":{const r=this.options.find((r=>r.preselected));r&&(this.preselectedKeys=[...r.keys??[]],this.preselectedProductId=this.getOptionId(r),this.selectedSwitchKeys=[...r.keys??[]],this.selectedProductId=this.getOptionId(r),this.productChanged.emit());break}case"static":this.selectedProductId=this.getOptionId(this.options[0]),this.productChanged.emit()}}componentDidRender(){this.showLoader||this.didEmitCardLoaded||(this.didEmitCardLoaded=!0,this.cardLoaded.emit())}onResize(){this.syncButtonSize(),"single-card"===this.cardType&&this.syncSingleCardBreakpoint()}syncButtonSize(){if(void 0===globalThis.window)return void(this.buttonSize="large");const r=globalThis.window.innerWidth<this.buttonSizeBreakpoint?"medium":"large";this.buttonSize!==r&&(this.buttonSize=r)}syncSingleCardBreakpoint(){if(void 0===globalThis.window)return this.isSingleCardDesktop=!0,this.smallRadioBlocksPerRow=2,void(this.largeRadioBlocksPerRow=3);const r=globalThis.window.innerWidth,e=r>=this.singleCardBreakpoint;this.isSingleCardDesktop!==e&&(this.isSingleCardDesktop=e),"radio"===this.singleCardControlType&&(this.smallRadioBlocksPerRow=r<768||r>=1024&&r<1280?1:2,this.largeRadioBlocksPerRow=r>=768&&r<1024||r>=1440?3:2)}getOptionId(r){return r?.id??r?.productCode??""}getOptionById(r){return this.options.find((e=>this.getOptionId(e)===r))}getProductOptions(){return this.options.reduce(((r,e)=>[...r,...e.dropdownOptions?.length?e.dropdownOptions:[e]]),[])}async isLoaded(){return this.didEmitCardLoaded}async getProductByCode(r){const e=this.getProductOptions().find((e=>e.productCode===r)),o=e?this.allProductData[this.getOptionId(e)]:void 0;if(!o)return;const t=o.formUrl?.[this.language]??"";return{...o,contractTerms:o.contractTerms?.map((e=>({...e,completeUrl:this.getCompleteUrl(t,r,e)})))}}getSelectedOption(){const r=this.getOptionById(this.selectedProductId),e=r?.dropdownOptions??[];return e.length?e.find((r=>this.getOptionId(r)===this.selectedDropdownOptionId))??e.find((r=>r.preselected))??e[0]:r}hasSingleCardDropdownOptions(){return"single-card"===this.cardType&&this.options.some((r=>r.dropdownOptions?.length))}setInitialDropdownOption(r){const e=r?.dropdownOptions??[],o=e.find((r=>r.preselected))??e[0];this.selectedDropdownOptionId=this.getOptionId(o)}getSelectionOptions(){return this.options.map((r=>({label:r.optionLabel||"",value:this.getOptionId(r),preselected:this.getOptionId(r)===this.selectedProductId})))}getToggledProductId(r){const e=[...r].sort(((r,e)=>r.localeCompare(e))).join(","),o=this.options.find((r=>[...r.keys??[]].sort(((r,e)=>r.localeCompare(e))).join(",")===e));return o?this.getOptionId(o):null}handleSwitchToggle(r,e){const o=this.toggles.find((e=>e.toggleKey===r));let t=[...this.selectedSwitchKeys];if(!e){const e=t.filter((e=>e!==r));if(0===e.length)return this.selectedSwitchKeys=[...this.preselectedKeys],this.selectedProductId=this.preselectedProductId,this.preselectedRemountId++,void this.productChanged.emit();const o=this.getToggledProductId(e);return o?(this.selectedSwitchKeys=e,this.selectedProductId=o,void this.productChanged.emit()):(this.selectedSwitchKeys=[...this.preselectedKeys],this.selectedProductId=this.preselectedProductId,this.preselectedRemountId++,void this.productChanged.emit())}if(o?.selectAll){const r=this.getFullComboToggleOption();if(r)return this.selectedSwitchKeys=[...r.keys??[]],this.selectedProductId=this.getOptionId(r),void this.productChanged.emit()}t.includes(r)||t.push(r),t=t.sort(((r,e)=>r.localeCompare(e)));const a=this.getToggledProductId(t);this.selectedSwitchKeys=t,a?(this.selectedProductId=a,this.productChanged.emit()):(this.selectedProductId=this.preselectedProductId,this.selectedSwitchKeys=[...this.preselectedKeys],this.preselectedRemountId++,this.productChanged.emit())}getFullComboToggleOption(){return this.options.length?this.options.reduce(((r,e)=>(e.keys??[]).length>(r.keys??[]).length?e:r),this.options[0]):null}async fetchProductComparison(){if(this.hasFetchedProducts)return;const r=Array.from(new Set(this.getProductOptions().filter((r=>!r.productData&&!this.preloadedProducts[r.productCode])).map((r=>r.productCode)).filter(Boolean)));let e={};if(r.length){this.hasFetchedProducts=!0,this.showLoader=!0;try{const o=await n(r.join(","));e=o.products||{}}catch(r){console.error(r)}}this.allProductData=this.getProductOptions().reduce(((r,o)=>{const t=this.getOptionId(o),a=o.productCode?this.preloadedProducts[o.productCode]??e[o.productCode]:void 0;return t&&a&&(r[t]=a),r}),{}),this.showLoader=!1}selectedContractTerm(){const r=this.getSelectedOption(),e=this.allProductData[this.getOptionId(r)]?.contractTerms;if(!e?.length)return;const o=r?.contractTerm??this.contractTerm;return e.find((r=>r.term===o))}getElementTag(r){if(r?.href?.trim())return"a";const e=r?.["data-modal-screen-key"]?.trim(),o=r?.role?.trim().toLowerCase();return e||"button"===o?"button":"div"}renderSwitch(r){const{toggleKey:e,icon:o,name:a}=r;if(!e)return null;const i=this.preselectedKeys.includes(e);return t("div",{class:"switch-wrapper"},t("tet-switch",{class:"switch",theme:this.theme,key:i?`${e}-${this.preselectedRemountId}`:e,name:e,checked:this.selectedSwitchKeys.includes(e),onCheck:r=>this.handleSwitchToggle(e,r.detail.checked),labelPosition:"left",focusStyleOnContainer:!0},t("div",{class:"switch-label"},t("tet-icon",{theme:this.theme,class:"benefit__icon",name:o}),a)))}handleSingleCardControlSelect(r){const e=this.getOptionById(r);e&&(this.selectedProductId=r,this.setInitialDropdownOption(e),this.productChanged.emit())}renderSingleCardControls(){const r=this.selectedProductId||this.getOptionId(this.options[0]),e=1===this.options.length;return this.hasSingleCardDropdownOptions()&&e?null:e?t("div",{class:"single-option-label"},this.options[0].optionLabel??""):"radio"===this.singleCardControlType?this.renderSingleCardRadioControls():t("tet-tab-header",{theme:this.theme,mode:"switch",segmented:!0,sizing:this.isSingleCardDesktop?"web":"mobile",defaultTab:r,onTabSelected:r=>this.handleSingleCardControlSelect(r.detail.new)},this.options.map((r=>{const e=this.getOptionId(r);return e?t("button",{type:"button","data-name":e},r.optionLabel??""):null})))}renderSingleCardRadioControls(){const r=this.selectedProductId||this.getOptionId(this.options[0]),e=this.options.some((r=>(r?.bonuses??[]).length>0||!!r?.optionIcon)),o=this.options.flatMap((e=>{const o=this.getOptionId(e);return o?[{id:o,label:e.optionLabel??"",value:o,checked:o===r,iconName:e.optionIcon??"",description:e.optionDescription??"",secondaryDescription:e.optionSecondaryDescription??""}]:[]}));return t("tet-radio-blocks",{theme:this.theme,blocks:o,blockType:e?"small":"large",blocksPerRow:e?this.smallRadioBlocksPerRow:this.largeRadioBlocksPerRow,accessibilityLabel:this.controlsTitle?.replace(/:\s*$/,"").trim(),onCheck:r=>this.handleSingleCardControlSelect(r.detail.value)})}renderBonuses(){const r=this.getSelectedOption(),e=r?.bonuses??[];return e.length<1?null:t("div",{class:"bonuses"},e.map((r=>{const e=r.items??[];return e.length||r.title?t("div",{class:"bonuses__bonus-container"},!!r.title&&t("div",{class:"section-title"},r.title),e.map((r=>{const e=Array.isArray(r.dataAttributes)?void 0:r.dataAttributes,o=this.getElementTag(e),a=["a","button"].includes(o);return t(o,{type:"button"===o?"button":void 0,class:{bonus:!0,"bonus--interactive":a,"bonus--visually-disabled":Boolean(r.isVisuallyDisabled)},...e||{}},r.iconName&&t("tet-icon",{theme:this.theme,class:"bonus__icon",name:r.iconName}),t("span",{class:"bonus__text"},r.name),a&&t("div",{class:"bonus__chevron-icon-container"},t("tet-icon",{class:"bonus__icon bonus__icon--chevron",name:"tc-chevron-right-small"})))}))):null})))}renderCardLabel(r){const e=r?.cardLabel;if(!e)return null;const o=/<(?:p|div|ul|ol|h[1-6])\b/i.test(e);return t("div",o?{class:"card-info",innerHTML:e}:{class:"card-label",innerHTML:e})}renderRadioOptions(){const r=this.getSelectionOptions();return t("div",{class:"radio-container"},r.map((r=>t("div",{class:"radio-wrapper"},t("tet-radio",{class:"radio","label-font":"md",theme:this.theme,name:"radio-card-options",label:r.label,value:r.value,checked:this.selectedProductId===r.value,focusStyleOnContainer:!0,onCheck:r=>this.onOptionSelected(r)})))))}renderPrice({contractPrice:r,basePrice:e,priceAsText:o,priceDescription:a,showDiscount:i}){const n=Number.parseFloat(r.replace(",",".")),c=Number.parseFloat(e.replace(",",".")),s=void 0!==o,l=!s&&i&&Number.isFinite(c);return s||r&&Number.isFinite(n)?t("div",{class:"price-wrapper"},t("div",{class:"price-container"},t("div",{class:"price-container__price-group"},t("div",{class:"price-container__price translation-none"},s?o:this.formatPrice(n)),!s&&t("div",{class:"price-container__currency"},t("span",null,this.currency))),l&&t("div",{class:"price-container__base-price translation-none"},t("span",null,this.formatPrice(c)),t("span",null,this.currency))),a&&t("span",{class:"price-container__description"},a)):null}formatPrice(r){return new Intl.NumberFormat(this.language||"lv",{minimumFractionDigits:2,maximumFractionDigits:5}).format(r)}getPriceData(r,e,o){const t=(r?.discountPrice??r?.price??o?.amount??"").toString(),a=(r?.price??e?.amount??"").toString(),i=Number.parseFloat(t.replace(",",".")),n=Number.parseFloat(a.replace(",",".")),c=!1!==o?.showDiscount&&Number.isFinite(i)&&Number.isFinite(n)&&n>i;return{contractPrice:t,basePrice:a,priceAsText:r?.priceAsText,priceDescription:r?.priceDescription??o?.priceDescription?.[this.language]??"",showDiscount:c}}renderControl(r){switch(this.cardType){case"switcher":return t("div",null,this.toggles.map((r=>this.renderSwitch(r))));case"single-card":return this.renderSingleCardControls();case"dropdown":return t("tet-dropdown",{id:"dropdown",class:"dropdown",theme:this.theme,"button-label":"","close-on-selection":"true","flex-layout":"true",options:r});case"radio":return this.renderRadioOptions();default:return null}}renderSingleCardDropdownControls(){const r=this.getOptionById(this.selectedProductId),e=r?.dropdownOptions??[];if(0===e.length)return null;const o=r?.dropdownTitle??this.controlsTitle,a=this.getSelectedOption()?.contractTooltip??r?.dropdownTooltip,i=this.getTooltipLabel(a),n=o&&t("div",{class:"single-card-dropdown-title"},t("span",null,o),a&&t("button",{type:"button",class:"single-card-dropdown-tooltip","aria-label":i},t("tet-icon",{name:"tc-info-circle-outline"}),t("tet-tooltip",{theme:this.theme,innerHTML:a})));if(1===e.length)return t("div",{class:"single-card-dropdown-controls"},n,t("div",{class:"single-option-label"},e[0].optionLabel));const c=e.map((r=>({label:r.optionLabel??"",value:this.getOptionId(r),preselected:this.getOptionId(r)===this.selectedDropdownOptionId})));return t("div",{class:"single-card-dropdown-controls"},n,t("tet-dropdown",{class:"single-card-dropdown",theme:this.theme,"button-label":"","close-on-selection":"true","flex-layout":"true",options:c}))}renderControls(){const r=this.getSelectionOptions(),e=this.hasSingleCardDropdownOptions(),o=!!this.controlsTitle&&"static"!==this.cardType&&!e,a=e?this.renderSingleCardDropdownControls():this.renderControl(r),i="single-card"===this.cardType,n="tabs"===this.singleCardControlType,c=1===this.options.length;return a||e?t("div",{class:"controls"},e&&!!this.singleCardTabsTitle&&t("div",{class:"single-card-tabs-title"},this.singleCardTabsTitle),e&&this.renderSingleCardControls(),o&&t("div",{class:{"section-title":!0,"single-card-tab-controls-title":i&&n,"single-option":i&&c}},this.controlsTitle),a):null}getCompleteUrl(r,e,o){const t=new URLSearchParams({sourceUrl:globalThis.location?.href??""});null!==e&&(t.set("contractTerm",String(o?.term??"")),t.set("product",e),t.set("promotion",o?.promotionCode??""),t.set("lang",this.language??""),t.set("from","tet.lv"));try{const e=new URL(r);return["http:","https:"].includes(e.protocol)?(t.forEach(((r,o)=>{e.searchParams.append(o,r)})),e.toString()):""}catch{return""}}getTooltipLabel(r){if(r)return(new DOMParser).parseFromString(r,"text/html").body.textContent?.replace(/\s+/g," ").trim()}renderContentTop(){const r=this.getSelectedOption(),e=this.allProductData[this.getOptionId(r)],o=r?.productData,a=this.selectedContractTerm(),i=e?.attributes?.find((r=>"overrideProductName"===r.key))?.value,n=o?.name??i??e?.name?.[this.language],c=this.getPriceData(o,e,a),s=this.secondaryLink||o?.contractUrl||a?.contract||"",l=!!s&&!!this.secondaryLinkText,d=this.secondaryLinkOpenBlank?"_blank":void 0,m=this.secondaryLinkOpenBlank?"noopener noreferrer":void 0,p=e?.formUrl?.[this.language]||"",h=o?this.getCompleteUrl(o.formUrl,null):this.getCompleteUrl(p,r?.productCode??"",a),f=r?.titleBadge;return t("div",{key:"content-top",class:"content content__top"},(n||f)&&t("div",{class:"title-container"},n&&t("h3",{class:"title"},n),f&&t("span",{class:"title-badge"},t("tet-icon",{class:"title-badge__icon",name:"tc-info-circle"}),f)),this.renderPrice(c),this.renderCardLabel(r),t("div",{class:"button-wrapper"},t("tet-button",{class:"button",type:"primary",theme:"light",size:this.buttonSize,url:h,urlTarget:this.linkOpenBlank?"_blank":"_self"},this.buttonTitle)),l&&t("div",{class:"secondary-link"},t("a",{class:"tet-link",href:s,target:d,rel:m},this.secondaryLinkText)))}renderContentBottom(){return t("div",{key:"content-bottom",class:"content content__bottom"},this.showControlsFirst?[this.renderControls(),this.renderBonuses()]:[this.renderBonuses(),this.renderControls()])}renderCard(){const r=this.getSelectedOption(),e=!!r?.bestChoice,o="single-card"===this.cardType&&this.isSingleCardDesktop;return t("div",{class:{card:!0,"best-choice":e,"single-card":"single-card"===this.cardType,"narrow-summary":this.narrowSummary}},this.bestChoiceText&&t("div",{class:{"best-choice-title":!0,active:e}},!!this.bestChoiceIconName&&t("tet-icon",{class:"best-choice-title__icon ",name:this.bestChoiceIconName}),t("span",null,this.bestChoiceText)),o?[this.renderContentBottom(),this.renderContentTop()]:[this.renderContentTop(),this.renderContentBottom()])}renderLoader(){return t("tet-placeholder",{class:{card__placeholder:!0,"single-card":"single-card"===this.cardType},height:"100%",width:"100%",darkTheme:"dark"===this.theme})}render(){return t(a,{key:"800459f20bf0677a1de7891912bff21f75360714","data-contains-focusable-content":!0},this.showLoader?this.renderLoader():this.renderCard())}static get watchers(){return{options:[{onOptionsChange:0}],preloadedProducts:[{onPreloadedProductsChange:0}]}}static get style(){return':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)}:root{--tet-link-color:var(--tc-text-primary);--tet-link-color-hover:var(--tc-text-secondary);--tet-link-color-active:var(--tc-text-tertiary);--tet-link-color-focus:var(--tc-blue-40);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled);--tet-link-secondary-color:var(--tc-text-secondary);--tet-link-secondary-color-hover:var(--tc-text-primary)}.tet-link,.tet-link__arrow{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;color:var(--tet-link-color);position:relative;line-height:1.5rem;cursor:pointer}.tet-link.dark,.tet-link__arrow.dark{--tet-link-color:var(--tc-text-primary-dark);--tet-link-color-hover:var(--tc-text-secondary-dark);--tet-link-color-active:var(--tc-text-tertiary-dark);--tet-link-color-focus:var(--tc-blue-40-dark);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled-dark);--tet-link-secondary-color:var(--tc-text-secondary-dark);--tet-link-secondary-color-hover:var(--tc-text-primary-dark)}.tet-link.tet-link--secondary,.tet-link__arrow.tet-link--secondary{--tet-link-color:var(--tet-link-secondary-color);--tet-link-color-hover:var(--tet-link-secondary-color-hover)}.tet-link tet-icon,.tet-link__arrow tet-icon{--icon-color:var(--tet-link-color)}.tet-link:hover,.tet-link__arrow:hover{color:var(--tet-link-color-hover)}.tet-link:hover tet-icon,.tet-link__arrow:hover tet-icon{--icon-color:var(--tet-link-color-hover)}.tet-link:active,.tet-link__arrow:active{color:var(--tet-link-color-active)}.tet-link:active tet-icon,.tet-link__arrow:active tet-icon{--icon-color:var(--tet-link-color-active)}.tet-link:focus-visible,.tet-link__arrow:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--tet-link-color-focus);border-radius:0.125rem}.tet-link.disabled,.tet-link__arrow.disabled{color:var(--tet-link-color-disabled);pointer-events:none;cursor:auto}.tet-link.disabled tet-icon,.tet-link__arrow.disabled tet-icon{--icon-color:var(--tet-link-color-disabled)}.tet-link.disabled:focus-visible,.tet-link__arrow.disabled:focus-visible{outline:none}.tet-link tet-icon,.tet-link__arrow tet-icon{padding-left:0.25rem;padding-right:0.25rem;--icon-container-display:inline-block}.tet-link__arrow{padding-right:1.5rem}.tet-link__arrow::after{content:"--\x3e";position:absolute;white-space:nowrap;display:inline-block;text-decoration:none;padding-left:0.25rem;letter-spacing:initial;transition:all 0.15s ease-in}.tet-link__arrow:hover::after{padding-left:0.375rem}:host{--compare-card-top-part-background-color:var(--tc-layer-permanent-yellow);--compare-card-bottom-part-background-color:var(--tc-layer-primary);--compare-card-text-permanent-color:var(--tc-text-black-permanent);--compare-card-text-color:var(--tc-text-primary);--compare-card-text-secondary-color:var(--tc-text-secondary);--compare-card-text-tertiary-color:var(--tc-text-tertiary);--compare-card-best-choice-background-color:var(--tc-layer-inverse-primary);--compare-card-best-choice-text-color:var(--tc-text-adaptive-yellow-to-black);--compare-card-separator-border-color:var(--tc-border-tertiary);--compare-card-chevron-container-background-color:var(--tc-layer-tertiary);--compare-card-chevron-container-hover-background-color:var(--tc-layer-inverse-primary);--compare-card-chevron-container-active-background-color:var(--tc-layer-inverse-tertiary);--compare-card-chevron-icon-color:var(--tc-grey-60);--compare-card-chevron-icon-hover-color:var(--tc-icon-inverse-primary);--compare-card-interactive-element-hover-background-color:var(--tc-layer-secondary);--compare-card-interactive-element-active-background-color:var(--tc-layer-tertiary);--compare-card-label-background-color:var(--tc-layer-yellow-quaternary);--compare-card-focus-outline-color:var(--tc-blue-40);--compare-card-box-shadow:var(--tc-elevation-three);--compare-card-title-badge-background-color:var(--tc-layer-permanent-black);--compare-card-title-badge-text-color:var(--tc-text-white-permanent);--compare-card-title-badge-icon-color:var(--tc-icon-permanent-white);--compare-card-single-option-label-background-color:var(--tc-layer-yellow-quaternary);--compare-card-border-color:var(--tc-border-quaternary);--compare-card-border-radius:1rem;--compare-card-min-width:20.5rem;--compare-card-max-width:100%;--compare-card-radio-container-background-color:var(--tc-product-card-menu-default);--compare-card-radio-container-background-hover-color:var(--tc-product-card-menu-hover);--compare-card-radio-container-background-pressed-color:var(--tc-product-card-menu-pressed);--compare-card-radio-container-background-active-color:var(--tc-product-card-menu-active);--compare-card-radio-container-border-color:var(--tc-product-card-menu-border-default);--compare-card-radio-container-border-hover-color:var(--tc-product-card-menu-border-hover);--compare-card-radio-container-border-pressed-color:var(--tc-product-card-menu-border-pressed);--compare-card-radio-container-border-active-color:var(--tc-product-card-menu-border-active);display:flex;width:100%;min-width:var(--compare-card-min-width);max-width:var(--compare-card-max-width)}:host([theme=dark]){--compare-card-bottom-part-background-color:var(--tc-layer-primary-dark);--compare-card-text-color:var(--tc-text-primary-dark);--compare-card-text-secondary-color:var(--tc-text-secondary-dark);--compare-card-text-tertiary-color:var(--tc-text-tertiary-dark);--compare-card-best-choice-background-color:var(--tc-layer-inverse-primary-dark);--compare-card-best-choice-text-color:var(--tc-text-adaptive-yellow-to-black-dark);--compare-card-separator-border-color:var(--tc-border-tertiary-dark);--compare-card-chevron-container-background-color:var(--tc-layer-tertiary-dark);--compare-card-chevron-container-hover-background-color:var(--tc-layer-inverse-primary-dark);--compare-card-chevron-container-active-background-color:var(--tc-layer-inverse-tertiary-dark);--compare-card-chevron-icon-color:var(--tc-grey-60-dark);--compare-card-chevron-icon-hover-color:var(--tc-icon-inverse-primary-dark);--compare-card-interactive-element-hover-background-color:var(--tc-layer-secondary-dark);--compare-card-interactive-element-active-background-color:var(--tc-layer-tertiary-dark);--compare-card-focus-outline-color:var(--tc-blue-40-dark);--compare-card-box-shadow:var(--tc-elevation-three-dark);--compare-card-title-badge-background-color:var(--tc-layer-permanent-black-dark);--compare-card-title-badge-text-color:var(--tc-text-white-permanent-dark);--compare-card-title-badge-icon-color:var(--tc-icon-permanent-white-dark);--compare-card-single-option-label-background-color:var(--tc-layer-yellow-quaternary-dark);--compare-card-border-color:var(--tc-border-quaternary-dark);--compare-card-radio-container-background-color:var(--tc-product-card-menu-default-dark);--compare-card-radio-container-background-hover-color:var(--tc-product-card-menu-hover-dark);--compare-card-radio-container-background-pressed-color:var(--tc-product-card-menu-pressed-dark);--compare-card-radio-container-background-active-color:var(--tc-product-card-menu-active-dark);--compare-card-radio-container-border-color:var(--tc-product-card-menu-border-default-dark);--compare-card-radio-container-border-hover-color:var(--tc-product-card-menu-border-hover-dark);--compare-card-radio-container-border-pressed-color:var(--tc-product-card-menu-border-pressed-dark);--compare-card-radio-container-border-active-color:var(--tc-product-card-menu-border-active-dark)}.card{display:inline-flex;flex-direction:column;position:relative;width:100%;height:100%;border-radius:var(--compare-card-border-radius);box-shadow:var(--compare-card-box-shadow);border:0.0625rem solid var(--compare-card-border-color)}.card__placeholder{--placeholder-min-height:37rem;--placeholder-border-radius:var(--compare-card-border-radius)}@media screen and (min-width: 64rem){.card__placeholder.single-card{--placeholder-min-height:25.75rem}}.card .content{padding:1.5rem 1rem}.card .content__top{background-color:var(--compare-card-top-part-background-color);color:var(--compare-card-text-permanent-color);border-top-left-radius:var(--compare-card-border-radius);border-top-right-radius:var(--compare-card-border-radius)}.card .content__bottom{background-color:var(--compare-card-bottom-part-background-color);color:var(--compare-card-text-color);border-bottom-left-radius:var(--compare-card-border-radius);border-bottom-right-radius:var(--compare-card-border-radius);height:100%}@media screen and (min-width: 31.25rem){.card .content{padding:1.5rem 2rem}}@media screen and (min-width: 80rem){.card .content{padding:2rem}}.card .best-choice-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";display:flex;align-items:center;gap:0.5rem;position:absolute;align-self:center;visibility:hidden;white-space:nowrap;top:-2.5625rem;max-width:18.5rem;padding:0.5rem 1.25rem;border-radius:1rem 1rem 0 0;background-color:var(--compare-card-best-choice-background-color);color:var(--compare-card-best-choice-text-color);overflow:hidden;text-overflow:ellipsis}.card .best-choice-title__icon{--icon-container-display:flex;--icon-size:1.375rem;--icon-color:var(--compare-card-best-choice-text-color)}.card .best-choice-title.active{visibility:visible}.card .title-container{display:flex;flex-direction:column;gap:0.375rem}@media screen and (min-width: 80rem){.card .title-container{flex-direction:row;justify-content:space-between;align-items:flex-start}}.card .title-badge{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";display:flex;width:fit-content;padding:0.375rem 0.75rem 0.375rem 0.5rem;align-items:center;gap:0.25rem;border-radius:0.625rem;background-color:var(--compare-card-title-badge-background-color);color:var(--compare-card-title-badge-text-color)}.card .title-badge__icon{--icon-color:var(--compare-card-title-badge-icon-color);--icon-container-display:flex;--icon-size:1rem}.card .title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}.card .price-wrapper{display:flex;flex-direction:column;overflow:hidden;gap:0.75rem}.card .price-wrapper .price-container{display:flex;flex-direction:column}.card .price-wrapper .price-container__price-group{display:inline-flex;align-items:flex-end;flex-wrap:nowrap;white-space:nowrap;gap:0.25rem}.card .price-wrapper .price-container__price{font:600 3.5rem/4rem "Gilroy", "Gilroy, Arial, sans-serif"}@media screen and (min-width: 31.25rem){.card .price-wrapper .price-container__price{font:600 4rem/4.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card .price-wrapper .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card .price-wrapper .price-container__price{font:600 6rem/6.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}.card .price-wrapper .price-container__currency{margin-bottom:0.5rem;font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}@media screen and (min-width: 64rem){.card .price-wrapper .price-container__currency{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card .price-wrapper .price-container__currency{margin-bottom:0.75rem}}.card .price-wrapper .price-container__base-price{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";flex:0 0 100%;width:100%;text-decoration-line:line-through}.card .price-wrapper .price-container__description{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.card .card-label{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";overflow:hidden;padding:0.625rem 0.75rem;margin-top:0.75rem;border-radius:0.5rem;background-color:var(--compare-card-label-background-color)}.card .card-info>:first-child{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";overflow:hidden;padding:0.625rem 0.75rem;margin:0.75rem 0 0;border-radius:0.5rem;background-color:var(--compare-card-label-background-color)}.card .card-info>:not(:first-child){font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";margin:0.75rem 0 0;color:var(--compare-card-text-permanent-color)}.card .button{--button-width:100%;margin:0.75rem 0 1rem;width:100%}.card .secondary-link{font:400 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";width:fit-content;margin:0 auto}.card .bonuses{display:flex;flex-direction:column;gap:1.5rem}.card .bonuses+.controls{margin-top:1.5rem}.card .bonuses__bonus-container .bonus{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";display:flex;width:100%;gap:0.75rem;padding:0.375rem 0.5rem;border-radius:0.5rem;appearance:none;-webkit-appearance:none;background:none;border:none;margin:0;color:inherit;text-align:start;text-decoration:none;--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-color)}.card .bonuses__bonus-container .bonus--interactive{cursor:pointer}.card .bonuses__bonus-container .bonus--visually-disabled{opacity:0.5}.card .bonuses__bonus-container .bonus--interactive:hover{--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-hover-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-hover-color);background-color:var(--compare-card-interactive-element-hover-background-color)}.card .bonuses__bonus-container .bonus--interactive:active{--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-active-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-hover-color);background-color:var(--compare-card-interactive-element-active-background-color)}.card .bonuses__bonus-container .bonus--interactive:focus-visible{outline:0.125rem solid var(--compare-card-focus-outline-color)}.card .bonuses__bonus-container .bonus--interactive:is(:hover,:active) .bonus__chevron-icon-container{background-color:var(--bonus-chevron-container-state-bg)}.card .bonuses__bonus-container .bonus--interactive:is(:hover,:active) .bonus__icon--chevron{--icon-color:var(--bonus-chevron-icon-state-color)}.card .bonuses__bonus-container .bonus__text{flex:1 0 0;text-align:start;padding:0.125rem 0}.card .bonuses__bonus-container .bonus__icon{--icon-container-display:flex;--icon-size:1.5rem}.card .bonuses__bonus-container .bonus__icon--chevron{--icon-size:1rem;--icon-color:var(--compare-card-chevron-icon-color)}.card .bonuses__bonus-container .bonus__chevron-icon-container{display:flex;justify-content:center;align-items:center;margin:0.125rem;padding:0.125rem;border-radius:50%;background:var(--compare-card-chevron-container-background-color);width:1.25rem;height:1.25rem}.card .controls+.bonuses{margin-top:1.5rem}.card .section-title{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";padding:0.375rem 0;margin-bottom:0.75rem;color:var(--compare-card-text-tertiary-color);border-bottom:0.0625rem solid var(--compare-card-separator-border-color)}.card .radio-container{display:flex;flex-direction:column;gap:1rem}.card .radio-wrapper{border-radius:0.5rem}.card .radio-wrapper .radio{--radio-container-outline-offset:-0.125rem}.card .radio-wrapper .radio .radio__container--focus-style:has(:focus-visible){border-radius:0.5rem}.card .radio-wrapper .radio .radio__container{padding:1rem 0.75rem;border-radius:0.5rem;border:0.0625rem solid var(--compare-card-radio-container-border-color);background-color:var(--compare-card-radio-container-background-color);cursor:pointer}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio__container:hover{background-color:var(--compare-card-radio-container-background-hover-color)}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio__container:active{background-color:var(--compare-card-radio-container-background-pressed-color)}.card .radio-wrapper:not(.error):not(.disabled):not(.unavailable) .radio__container:hover{border-color:var(--compare-card-radio-container-border-hover-color)}.card .radio-wrapper:not(.error):not(.disabled):not(.unavailable) .radio__container:active{border-color:var(--compare-card-radio-container-border-pressed-color)}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio[checked]:not([checked=false]) .radio__container{border-color:var(--compare-card-radio-container-border-active-color);background-color:var(--compare-card-radio-container-background-active-color)}.card .switch-wrapper{border-radius:0.5rem}.card .switch-wrapper .switch{--switch-container-outline-offset:-0.125rem}.card .switch-wrapper .switch-label{display:flex;align-items:center;gap:0.75rem;width:100%;text-align:start}.card .switch-wrapper .switch::part(switch-container){padding:0.375rem 0.5rem;border-radius:0.5rem;cursor:pointer}.card .switch-wrapper:not(.disabled) .switch::part(switch-container):hover{background-color:var(--compare-card-interactive-element-hover-background-color)}.card .switch-wrapper:not(.disabled) .switch::part(switch-container):active{background-color:var(--compare-card-interactive-element-active-background-color)}@media screen and (min-width: 31.25rem){.card.single-card .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 48rem){.card.single-card .price-container__price{font:600 7.25rem/8.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card.single-card .price-container__price{font:600 4rem/4.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 80rem){.card.single-card .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card.single-card .price-container__price{font:600 6rem/6.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 120rem){.card.single-card .price-container__price{font:600 7.25rem/8.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card.single-card .price-container__currency{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 80rem){.card.single-card .price-container__currency{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.card.single-card .section-title.single-card-tab-controls-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0 0 0.25rem 0;border-bottom:none;color:var(--compare-card-text-secondary-color)}.card.single-card .section-title.single-option{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";padding:0;color:var(--compare-card-text-color)}.card.single-card .single-option-label{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0.625rem 0.75rem;border-radius:0.5rem;background-color:var(--compare-card-single-option-label-background-color)}.card.single-card .single-card-dropdown-controls{margin-top:1rem}.card.single-card .single-card-tabs-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";margin-bottom:0.5rem;color:var(--compare-card-text-secondary-color)}.card.single-card .single-card-dropdown-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;color:var(--compare-card-text-color)}.card.single-card .single-card-dropdown-tooltip{display:inline-flex;align-items:center;margin-left:auto;padding:0;border:0;background:none;cursor:pointer}.card.single-card .single-card-dropdown-tooltip tet-icon{--icon-size:1.5rem;--icon-color:var(--tc-grey-50)}.card.single-card .single-card-dropdown{width:100%}@media screen and (min-width: 64rem){.card.single-card{flex-direction:row}.card.single-card .content{display:flex;flex-direction:column;flex:1;min-height:25.75rem}.card.single-card .content__top{border-radius:0;border-top-right-radius:var(--compare-card-border-radius);border-bottom-right-radius:var(--compare-card-border-radius)}.card.single-card .content__bottom{border-radius:0;border-top-left-radius:var(--compare-card-border-radius);border-bottom-left-radius:var(--compare-card-border-radius)}.card.single-card .button-wrapper{margin-top:auto}.card.single-card.narrow-summary{display:grid;grid-template-columns:minmax(0, 2fr) minmax(0, 1fr)}.card.single-card.narrow-summary .content__bottom{min-width:0}.card.single-card.narrow-summary .content__top{min-width:0}}@media screen and (min-width: 64rem){.card.single-card .best-choice-title{right:0.75rem}}@media screen and (min-width: 80rem){.card.single-card .best-choice-title{right:2.75rem}}@media screen and (min-width: 90rem){.card.single-card .best-choice-title{right:4.25rem}}@media screen and (min-width: 120rem){.card.single-card .best-choice-title{right:9.25rem}}'}},[513,"tet-compare-card-v3",{cardType:[1,"card-type"],singleCardControlType:[1,"single-card-control-type"],theme:[513],language:[1],options:[16],preloadedProducts:[16],toggles:[16],contractTerm:[2,"contract-term"],controlsTitle:[1,"controls-title"],singleCardTabsTitle:[1,"single-card-tabs-title"],bestChoiceText:[1,"best-choice-text"],bestChoiceIconName:[1,"best-choice-icon-name"],currency:[1],secondaryLink:[1,"secondary-link"],secondaryLinkText:[1,"secondary-link-text"],secondaryLinkOpenBlank:[4,"secondary-link-open-blank"],buttonTitle:[1,"button-title"],linkOpenBlank:[4,"link-open-blank"],showControlsFirst:[4,"show-controls-first"],narrowSummary:[4,"narrow-summary"],showLoader:[32],selectedProductId:[32],selectedDropdownOptionId:[32],selectedSwitchKeys:[32],preselectedKeys:[32],preselectedProductId:[32],allProductData:[32],preselectedRemountId:[32],buttonSize:[32],isSingleCardDesktop:[32],smallRadioBlocksPerRow:[32],largeRadioBlocksPerRow:[32],isLoaded:[64],getProductByCode:[64]},[[0,"optionSelected","onOptionSelected"],[9,"resize","onResize"]],{options:[{onOptionsChange:0}],preloadedProducts:[{onPreloadedProductsChange:0}]}]);function v(){"undefined"!=typeof customElements&&["tet-compare-card-v3","tet-button","tet-checkbox","tet-dropdown","tet-icon","tet-placeholder","tet-radio","tet-radio-blocks","tet-switch","tet-tab-header","tet-tooltip"].forEach((r=>{switch(r){case"tet-compare-card-v3":customElements.get(i(r))||customElements.define(i(r),g);break;case"tet-button":customElements.get(i(r))||c();break;case"tet-checkbox":customElements.get(i(r))||s();break;case"tet-dropdown":customElements.get(i(r))||l();break;case"tet-icon":customElements.get(i(r))||d();break;case"tet-placeholder":customElements.get(i(r))||m();break;case"tet-radio":customElements.get(i(r))||p();break;case"tet-radio-blocks":customElements.get(i(r))||h();break;case"tet-switch":customElements.get(i(r))||f();break;case"tet-tab-header":customElements.get(i(r))||u();break;case"tet-tooltip":customElements.get(i(r))||b()}}))}export{g as T,v as d}
|
|
1
|
+
import{p as r,H as e,d as t,h as o,c as a,t as i}from"./p-DIyhqSTP.js";import"./p-D_ZrduSw.js";import{p as n}from"./p-IyO0AtW2.js";import{d as c}from"./p-CVthBaQt.js";import{d as s}from"./p-CFyjcGK7.js";import{d as l}from"./p-DEasZUte.js";import{d}from"./p-WvkszOBK.js";import{d as m}from"./p-U1U7KO8M.js";import{d as p}from"./p-DSO2W8wX.js";import{d as h}from"./p-DD5q1beS.js";import{d as f}from"./p-BcXV5sQw.js";import{d as u}from"./p-BdrzH5ar.js";import{d as b}from"./p-BCe35fiF.js";const g=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.cardLoaded=t(this,"cardLoaded"),this.productChanged=t(this,"productChanged")}buttonSizeBreakpoint=1280;singleCardBreakpoint=1024;cardType="static";singleCardControlType="tabs";theme="light";language="lv";options=[];preloadedProducts={};toggles=[];contractTerm=0;controlsTitle;singleCardTabsTitle;bestChoiceText;bestChoiceIconName;currency="€/mēn.";secondaryLink="";secondaryLinkText="";secondaryLinkOpenBlank=!1;buttonTitle="";linkOpenBlank=!1;showControlsFirst=!1;narrowSummary=!1;showLoader=!0;selectedProductId="";selectedDropdownOptionId="";selectedSwitchKeys=[];preselectedKeys=[];preselectedProductId="";allProductData={};preselectedRemountId=0;buttonSize="large";isSingleCardDesktop=!0;smallRadioBlocksPerRow=2;largeRadioBlocksPerRow=3;didEmitCardLoaded=!1;hasFetchedProducts=!1;cardLoaded;productChanged;onOptionSelected(r){const e=r.detail.value,t=this.getOptionById(this.selectedProductId),o=t?.dropdownOptions?.find((r=>this.getOptionId(r)===e));if(o)return this.selectedDropdownOptionId=e,void this.productChanged.emit();this.selectedProductId=e,this.setInitialDropdownOption(this.getOptionById(e)),this.productChanged.emit()}async componentWillLoad(){this.syncButtonSize(),"single-card"===this.cardType&&this.syncSingleCardBreakpoint(),this.fetchProductComparison(),this.initializeSelection()}onOptionsChange(){this.hasFetchedProducts||(this.initializeSelection(),this.fetchProductComparison())}onPreloadedProductsChange(){const r=this.getProductOptions().reduce(((r,e)=>{const t=e.productCode?this.preloadedProducts[e.productCode]:void 0;return t&&(r[this.getOptionId(e)]=t),r}),{});this.allProductData={...this.allProductData,...r},this.showLoader=!1}initializeSelection(){switch(this.cardType){case"single-card":case"dropdown":case"radio":{const r=this.options.find((r=>r.preselected))??this.options[0];r&&(this.selectedProductId=this.getOptionId(r),this.setInitialDropdownOption(r),this.productChanged.emit());break}case"switcher":{const r=this.options.find((r=>r.preselected));r&&(this.preselectedKeys=[...r.keys??[]],this.preselectedProductId=this.getOptionId(r),this.selectedSwitchKeys=[...r.keys??[]],this.selectedProductId=this.getOptionId(r),this.productChanged.emit());break}case"static":this.selectedProductId=this.getOptionId(this.options[0]),this.productChanged.emit()}}componentDidRender(){this.showLoader||this.didEmitCardLoaded||(this.didEmitCardLoaded=!0,this.cardLoaded.emit())}onResize(){this.syncButtonSize(),"single-card"===this.cardType&&this.syncSingleCardBreakpoint()}syncButtonSize(){if(void 0===globalThis.window)return void(this.buttonSize="large");const r=globalThis.window.innerWidth<this.buttonSizeBreakpoint?"medium":"large";this.buttonSize!==r&&(this.buttonSize=r)}syncSingleCardBreakpoint(){if(void 0===globalThis.window)return this.isSingleCardDesktop=!0,this.smallRadioBlocksPerRow=2,void(this.largeRadioBlocksPerRow=3);const r=globalThis.window.innerWidth,e=r>=this.singleCardBreakpoint;this.isSingleCardDesktop!==e&&(this.isSingleCardDesktop=e),"radio"===this.singleCardControlType&&(this.smallRadioBlocksPerRow=r<768||r>=1024&&r<1280?1:2,this.largeRadioBlocksPerRow=r>=768&&r<1024||r>=1440?3:2)}getOptionId(r){return r?.id??r?.productCode??""}getOptionById(r){return this.options.find((e=>this.getOptionId(e)===r))}getProductOptions(){return this.options.reduce(((r,e)=>[...r,...e.dropdownOptions?.length?e.dropdownOptions:[e]]),[])}async isLoaded(){return this.didEmitCardLoaded}async getProductByCode(r){const e=this.getProductOptions().find((e=>e.productCode===r)),t=e?this.allProductData[this.getOptionId(e)]:void 0;if(!t)return;const o=t.formUrl?.[this.language]??"";return{...t,contractTerms:t.contractTerms?.map((e=>({...e,completeUrl:this.getCompleteUrl(o,r,e)})))}}getSelectedOption(){const r=this.getOptionById(this.selectedProductId),e=r?.dropdownOptions??[];return e.length?e.find((r=>this.getOptionId(r)===this.selectedDropdownOptionId))??e.find((r=>r.preselected))??e[0]:r}hasSingleCardDropdownOptions(){return"single-card"===this.cardType&&this.options.some((r=>r.dropdownOptions?.length))}setInitialDropdownOption(r){const e=r?.dropdownOptions??[],t=e.find((r=>r.preselected))??e[0];this.selectedDropdownOptionId=this.getOptionId(t)}getSelectionOptions(){return this.options.map((r=>({label:r.optionLabel||"",value:this.getOptionId(r),preselected:this.getOptionId(r)===this.selectedProductId})))}getToggledProductId(r){const e=[...r].sort(((r,e)=>r.localeCompare(e))).join(","),t=this.options.find((r=>[...r.keys??[]].sort(((r,e)=>r.localeCompare(e))).join(",")===e));return t?this.getOptionId(t):null}handleSwitchToggle(r,e){const t=this.toggles.find((e=>e.toggleKey===r));let o=[...this.selectedSwitchKeys];if(!e){const e=o.filter((e=>e!==r));if(0===e.length)return this.selectedSwitchKeys=[...this.preselectedKeys],this.selectedProductId=this.preselectedProductId,this.preselectedRemountId++,void this.productChanged.emit();const t=this.getToggledProductId(e);return t?(this.selectedSwitchKeys=e,this.selectedProductId=t,void this.productChanged.emit()):(this.selectedSwitchKeys=[...this.preselectedKeys],this.selectedProductId=this.preselectedProductId,this.preselectedRemountId++,void this.productChanged.emit())}if(t?.selectAll){const r=this.getFullComboToggleOption();if(r)return this.selectedSwitchKeys=[...r.keys??[]],this.selectedProductId=this.getOptionId(r),void this.productChanged.emit()}o.includes(r)||o.push(r),o=o.sort(((r,e)=>r.localeCompare(e)));const a=this.getToggledProductId(o);this.selectedSwitchKeys=o,a?(this.selectedProductId=a,this.productChanged.emit()):(this.selectedProductId=this.preselectedProductId,this.selectedSwitchKeys=[...this.preselectedKeys],this.preselectedRemountId++,this.productChanged.emit())}getFullComboToggleOption(){return this.options.length?this.options.reduce(((r,e)=>(e.keys??[]).length>(r.keys??[]).length?e:r),this.options[0]):null}async fetchProductComparison(){if(this.hasFetchedProducts)return;const r=Array.from(new Set(this.getProductOptions().filter((r=>!r.productData&&!this.preloadedProducts[r.productCode])).map((r=>r.productCode)).filter(Boolean)));let e={};if(r.length){this.hasFetchedProducts=!0,this.showLoader=!0;try{const t=await n(r.join(","));e=t.products||{}}catch(r){console.error(r)}}this.allProductData=this.getProductOptions().reduce(((r,t)=>{const o=this.getOptionId(t),a=t.productCode?this.preloadedProducts[t.productCode]??e[t.productCode]:void 0;return o&&a&&(r[o]=a),r}),{}),this.showLoader=!1}selectedContractTerm(){const r=this.getSelectedOption(),e=this.allProductData[this.getOptionId(r)]?.contractTerms;if(!e?.length)return;const t=r?.contractTerm??this.contractTerm;return e.find((r=>r.term===t))}getElementTag(r){if(r?.href?.trim())return"a";const e=r?.["data-modal-screen-key"]?.trim(),t=r?.role?.trim().toLowerCase();return e||"button"===t?"button":"div"}renderSwitch(r){const{toggleKey:e,icon:t,name:a}=r;if(!e)return null;const i=this.preselectedKeys.includes(e);return o("div",{class:"switch-wrapper"},o("tet-switch",{class:"switch",theme:this.theme,key:i?`${e}-${this.preselectedRemountId}`:e,name:e,checked:this.selectedSwitchKeys.includes(e),onCheck:r=>this.handleSwitchToggle(e,r.detail.checked),labelPosition:"left",focusStyleOnContainer:!0},o("div",{class:"switch-label"},o("tet-icon",{theme:this.theme,class:"benefit__icon",name:t}),a)))}handleSingleCardControlSelect(r){const e=this.getOptionById(r);e&&(this.selectedProductId=r,this.setInitialDropdownOption(e),this.productChanged.emit())}renderSingleCardControls(){const r=this.selectedProductId||this.getOptionId(this.options[0]),e=1===this.options.length;return this.hasSingleCardDropdownOptions()&&e?null:e?o("div",{class:"single-option-label"},this.options[0].optionLabel??""):"radio"===this.singleCardControlType?this.renderSingleCardRadioControls():o("tet-tab-header",{theme:this.theme,mode:"switch",segmented:!0,sizing:this.isSingleCardDesktop?"web":"mobile",defaultTab:r,onTabSelected:r=>this.handleSingleCardControlSelect(r.detail.new)},this.options.map((r=>{const e=this.getOptionId(r);return e?o("button",{type:"button","data-name":e},r.optionLabel??""):null})))}renderSingleCardRadioControls(){const r=this.selectedProductId||this.getOptionId(this.options[0]),e=this.options.some((r=>(r?.bonuses??[]).length>0||!!r?.optionIcon)),t=this.options.flatMap((e=>{const t=this.getOptionId(e);return t?[{id:t,label:e.optionLabel??"",value:t,checked:t===r,iconName:e.optionIcon??"",description:e.optionDescription??"",secondaryDescription:e.optionSecondaryDescription??""}]:[]}));return o("tet-radio-blocks",{theme:this.theme,blocks:t,blockType:e?"small":"large",blocksPerRow:e?this.smallRadioBlocksPerRow:this.largeRadioBlocksPerRow,accessibilityLabel:this.controlsTitle?.replace(/:\s*$/,"").trim(),onCheck:r=>this.handleSingleCardControlSelect(r.detail.value)})}renderBonuses(){const r=this.getSelectedOption(),e=r?.bonuses??[];return e.length<1?null:o("div",{class:"bonuses"},e.map((r=>{const e=r.items??[];return e.length||r.title?o("div",{class:"bonuses__bonus-container"},!!r.title&&o("div",{class:"section-title"},r.title),e.map((r=>{const e=Array.isArray(r.dataAttributes)?void 0:r.dataAttributes,t=this.getElementTag(e),a=["a","button"].includes(t);return o(t,{type:"button"===t?"button":void 0,class:{bonus:!0,"bonus--interactive":a,"bonus--visually-disabled":Boolean(r.isVisuallyDisabled)},...e||{}},r.iconName&&o("tet-icon",{theme:this.theme,class:"bonus__icon",name:r.iconName}),o("span",{class:"bonus__text"},r.name),a&&o("div",{class:"bonus__chevron-icon-container"},o("tet-icon",{class:"bonus__icon bonus__icon--chevron",name:"tc-chevron-right-small"})))}))):null})))}renderCardLabel(r){const e=r?.cardLabel;if(!e)return null;const t=/<(?:p|div|ul|ol|h[1-6])\b/i.test(e);return o("div",t?{class:"card-info",innerHTML:e}:{class:"card-label",innerHTML:e})}renderRadioOptions(){const r=this.getSelectionOptions();return o("div",{class:"radio-container"},r.map((r=>o("div",{class:"radio-wrapper"},o("tet-radio",{class:"radio","label-font":"md",theme:this.theme,name:"radio-card-options",label:r.label,value:r.value,checked:this.selectedProductId===r.value,focusStyleOnContainer:!0,onCheck:r=>this.onOptionSelected(r)})))))}renderPrice({contractPrice:r,basePrice:e,priceAsText:t,priceDescription:a,showDiscount:i}){const n=Number.parseFloat(r.replace(",",".")),c=Number.parseFloat(e.replace(",",".")),s=void 0!==t,l=!s&&i&&Number.isFinite(c);return s||r&&Number.isFinite(n)?o("div",{class:"price-wrapper"},o("div",{class:"price-container"},o("div",{class:"price-container__price-group"},o("div",{class:"price-container__price translation-none"},s?t:this.formatPrice(n)),!s&&o("div",{class:"price-container__currency"},o("span",null,this.currency))),l&&o("div",{class:"price-container__base-price translation-none"},o("span",null,this.formatPrice(c)),o("span",null,this.currency))),a&&o("span",{class:"price-container__description"},a)):null}formatPrice(r){return new Intl.NumberFormat(this.language||"lv",{minimumFractionDigits:2,maximumFractionDigits:5}).format(r)}getPriceData(r,e,t){const o=(r?.discountPrice??r?.price??t?.amount??"").toString(),a=(r?.price??e?.amount??"").toString(),i=Number.parseFloat(o.replace(",",".")),n=Number.parseFloat(a.replace(",",".")),c=!1!==t?.showDiscount&&Number.isFinite(i)&&Number.isFinite(n)&&n>i;return{contractPrice:o,basePrice:a,priceAsText:r?.priceAsText,priceDescription:r?.priceDescription??t?.priceDescription?.[this.language]??"",showDiscount:c}}renderControl(r){switch(this.cardType){case"switcher":return o("div",null,this.toggles.map((r=>this.renderSwitch(r))));case"single-card":return this.renderSingleCardControls();case"dropdown":return o("tet-dropdown",{id:"dropdown",class:"dropdown",theme:this.theme,"button-label":"","close-on-selection":"true","flex-layout":"true",options:r});case"radio":return this.renderRadioOptions();default:return null}}renderSingleCardDropdownControls(){const r=this.getOptionById(this.selectedProductId),e=r?.dropdownOptions??[];if(0===e.length)return null;const t=r?.dropdownTitle??this.controlsTitle,a=this.getSelectedOption()?.contractTooltip??r?.dropdownTooltip,i=this.getTooltipLabel(a),n=t&&o("div",{class:"single-card-dropdown-title"},o("span",null,t),a&&o("button",{type:"button",class:"single-card-dropdown-tooltip","aria-label":i},o("tet-icon",{name:"tc-info-circle-outline"}),o("tet-tooltip",{theme:this.theme,innerHTML:a})));if(1===e.length)return o("div",{class:"single-card-dropdown-controls"},n,o("div",{class:"single-option-label"},e[0].optionLabel));const c=e.map((r=>({label:r.optionLabel??"",value:this.getOptionId(r),preselected:this.getOptionId(r)===this.selectedDropdownOptionId})));return o("div",{class:"single-card-dropdown-controls"},n,o("tet-dropdown",{class:"single-card-dropdown",theme:this.theme,"button-label":"","close-on-selection":"true","flex-layout":"true",options:c}))}renderControls(){const r=this.getSelectionOptions(),e=this.hasSingleCardDropdownOptions(),t=!!this.controlsTitle&&"static"!==this.cardType&&!e,a=e?this.renderSingleCardDropdownControls():this.renderControl(r),i="single-card"===this.cardType,n="tabs"===this.singleCardControlType,c=1===this.options.length;return a||e?o("div",{class:"controls"},e&&!!this.singleCardTabsTitle&&o("div",{class:"single-card-tabs-title"},this.singleCardTabsTitle),e&&this.renderSingleCardControls(),t&&o("div",{class:{"section-title":!0,"single-card-tab-controls-title":i&&n,"single-option":i&&c}},this.controlsTitle),a):null}getCompleteUrl(r,e,t){const o=new URLSearchParams({sourceUrl:globalThis.location?.href??""});null!==e&&(o.set("contractTerm",String(t?.term??"")),o.set("product",e),o.set("promotion",t?.promotionCode??""),o.set("lang",this.language??""),o.set("from","tet.lv"));try{const e=new URL(r);return["http:","https:"].includes(e.protocol)?(o.forEach(((r,t)=>{e.searchParams.append(t,r)})),e.toString()):""}catch{return""}}getTooltipLabel(r){if(r)return(new DOMParser).parseFromString(r,"text/html").body.textContent?.replace(/\s+/g," ").trim()}renderContentTop(){const r=this.getSelectedOption(),e=this.allProductData[this.getOptionId(r)],t=r?.productData,a=this.selectedContractTerm(),i=e?.attributes?.find((r=>"overrideProductName"===r.key))?.value,n=t?.name??i??e?.name?.[this.language],c=this.getPriceData(t,e,a),s=this.secondaryLink||t?.contractUrl||a?.contract||"",l=!!s&&!!this.secondaryLinkText,d=this.secondaryLinkOpenBlank?"_blank":void 0,m=this.secondaryLinkOpenBlank?"noopener noreferrer":void 0,p=e?.formUrl?.[this.language]||"",h=t?this.getCompleteUrl(t.formUrl,null):this.getCompleteUrl(p,r?.productCode??"",a),f=r?.titleBadge;return o("div",{key:"content-top",class:"content content__top"},(n||f)&&o("div",{class:"title-container"},n&&o("h3",{class:"title"},n),f&&o("span",{class:"title-badge"},o("tet-icon",{class:"title-badge__icon",name:"tc-info-circle"}),f)),this.renderPrice(c),this.renderCardLabel(r),o("div",{class:"button-wrapper"},o("tet-button",{class:"button",type:"primary",theme:"light",size:this.buttonSize,url:h,urlTarget:this.linkOpenBlank?"_blank":"_self"},this.buttonTitle)),l&&o("div",{class:"secondary-link"},o("a",{class:"tet-link",href:s,target:d,rel:m},this.secondaryLinkText)))}renderContentBottom(){return o("div",{key:"content-bottom",class:"content content__bottom"},this.showControlsFirst?[this.renderControls(),this.renderBonuses()]:[this.renderBonuses(),this.renderControls()])}renderCard(){const r=this.getSelectedOption(),e=!!r?.bestChoice,t="single-card"===this.cardType&&this.isSingleCardDesktop;return o("div",{class:{card:!0,"best-choice":e,"single-card":"single-card"===this.cardType,"narrow-summary":this.narrowSummary}},this.bestChoiceText&&o("div",{class:{"best-choice-title":!0,active:e}},!!this.bestChoiceIconName&&o("tet-icon",{class:"best-choice-title__icon ",name:this.bestChoiceIconName}),o("span",null,this.bestChoiceText)),t?[this.renderContentBottom(),this.renderContentTop()]:[this.renderContentTop(),this.renderContentBottom()])}renderLoader(){return o("tet-placeholder",{class:{card__placeholder:!0,"single-card":"single-card"===this.cardType},height:"100%",width:"100%",darkTheme:"dark"===this.theme})}render(){return o(a,{key:"800459f20bf0677a1de7891912bff21f75360714","data-contains-focusable-content":!0},this.showLoader?this.renderLoader():this.renderCard())}static get watchers(){return{options:[{onOptionsChange:0}],preloadedProducts:[{onPreloadedProductsChange:0}]}}static get style(){return':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)}:root{--tet-link-color:var(--tc-text-primary);--tet-link-color-hover:var(--tc-text-secondary);--tet-link-color-active:var(--tc-text-tertiary);--tet-link-color-focus:var(--tc-blue-40);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled);--tet-link-secondary-color:var(--tc-text-secondary);--tet-link-secondary-color-hover:var(--tc-text-primary)}.tet-link,.tet-link__arrow{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;color:var(--tet-link-color);position:relative;line-height:1.5rem;cursor:pointer}.tet-link.dark,.tet-link__arrow.dark{--tet-link-color:var(--tc-text-primary-dark);--tet-link-color-hover:var(--tc-text-secondary-dark);--tet-link-color-active:var(--tc-text-tertiary-dark);--tet-link-color-focus:var(--tc-blue-40-dark);--tet-link-color-disabled:var(--tc-button-text-inverse-disabled-dark);--tet-link-secondary-color:var(--tc-text-secondary-dark);--tet-link-secondary-color-hover:var(--tc-text-primary-dark)}.tet-link.tet-link--secondary,.tet-link__arrow.tet-link--secondary{--tet-link-color:var(--tet-link-secondary-color);--tet-link-color-hover:var(--tet-link-secondary-color-hover)}.tet-link tet-icon,.tet-link__arrow tet-icon{--icon-color:var(--tet-link-color)}.tet-link:hover,.tet-link__arrow:hover{color:var(--tet-link-color-hover)}.tet-link:hover tet-icon,.tet-link__arrow:hover tet-icon{--icon-color:var(--tet-link-color-hover)}.tet-link:active,.tet-link__arrow:active{color:var(--tet-link-color-active)}.tet-link:active tet-icon,.tet-link__arrow:active tet-icon{--icon-color:var(--tet-link-color-active)}.tet-link:focus-visible,.tet-link__arrow:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s;outline-color:var(--tet-link-color-focus);border-radius:0.125rem}.tet-link.disabled,.tet-link__arrow.disabled{color:var(--tet-link-color-disabled);pointer-events:none;cursor:auto}.tet-link.disabled tet-icon,.tet-link__arrow.disabled tet-icon{--icon-color:var(--tet-link-color-disabled)}.tet-link.disabled:focus-visible,.tet-link__arrow.disabled:focus-visible{outline:none}.tet-link tet-icon,.tet-link__arrow tet-icon{padding-left:0.25rem;padding-right:0.25rem;--icon-container-display:inline-block}.tet-link__arrow{padding-right:1.5rem}.tet-link__arrow::after{content:"--\x3e";position:absolute;white-space:nowrap;display:inline-block;text-decoration:none;padding-left:0.25rem;letter-spacing:initial;transition:all 0.15s ease-in}.tet-link__arrow:hover::after{padding-left:0.375rem}:host{--compare-card-top-part-background-color:var(--tc-layer-permanent-yellow);--compare-card-bottom-part-background-color:var(--tc-layer-primary);--compare-card-text-permanent-color:var(--tc-text-black-permanent);--compare-card-text-color:var(--tc-text-primary);--compare-card-text-secondary-color:var(--tc-text-secondary);--compare-card-text-tertiary-color:var(--tc-text-tertiary);--compare-card-best-choice-background-color:var(--tc-layer-inverse-primary);--compare-card-best-choice-text-color:var(--tc-text-adaptive-yellow-to-black);--compare-card-separator-border-color:var(--tc-border-tertiary);--compare-card-chevron-container-background-color:var(--tc-layer-tertiary);--compare-card-chevron-container-hover-background-color:var(--tc-layer-inverse-primary);--compare-card-chevron-container-active-background-color:var(--tc-layer-inverse-tertiary);--compare-card-chevron-icon-color:var(--tc-grey-60);--compare-card-chevron-icon-hover-color:var(--tc-icon-inverse-primary);--compare-card-interactive-element-hover-background-color:var(--tc-layer-secondary);--compare-card-interactive-element-active-background-color:var(--tc-layer-tertiary);--compare-card-label-background-color:var(--tc-layer-yellow-quaternary);--compare-card-focus-outline-color:var(--tc-blue-40);--compare-card-box-shadow:var(--tc-elevation-three);--compare-card-title-badge-background-color:var(--tc-layer-permanent-black);--compare-card-title-badge-text-color:var(--tc-text-white-permanent);--compare-card-title-badge-icon-color:var(--tc-icon-permanent-white);--compare-card-single-option-label-background-color:var(--tc-layer-yellow-quaternary);--compare-card-border-color:var(--tc-border-quaternary);--compare-card-border-radius:1rem;--compare-card-min-width:20.5rem;--compare-card-max-width:100%;--compare-card-radio-container-background-color:var(--tc-product-card-menu-default);--compare-card-radio-container-background-hover-color:var(--tc-product-card-menu-hover);--compare-card-radio-container-background-pressed-color:var(--tc-product-card-menu-pressed);--compare-card-radio-container-background-active-color:var(--tc-product-card-menu-active);--compare-card-radio-container-border-color:var(--tc-product-card-menu-border-default);--compare-card-radio-container-border-hover-color:var(--tc-product-card-menu-border-hover);--compare-card-radio-container-border-pressed-color:var(--tc-product-card-menu-border-pressed);--compare-card-radio-container-border-active-color:var(--tc-product-card-menu-border-active);display:flex;width:100%;min-width:var(--compare-card-min-width);max-width:var(--compare-card-max-width)}:host([theme=dark]){--compare-card-bottom-part-background-color:var(--tc-layer-primary-dark);--compare-card-text-color:var(--tc-text-primary-dark);--compare-card-text-secondary-color:var(--tc-text-secondary-dark);--compare-card-text-tertiary-color:var(--tc-text-tertiary-dark);--compare-card-best-choice-background-color:var(--tc-layer-inverse-primary-dark);--compare-card-best-choice-text-color:var(--tc-text-adaptive-yellow-to-black-dark);--compare-card-separator-border-color:var(--tc-border-tertiary-dark);--compare-card-chevron-container-background-color:var(--tc-layer-tertiary-dark);--compare-card-chevron-container-hover-background-color:var(--tc-layer-inverse-primary-dark);--compare-card-chevron-container-active-background-color:var(--tc-layer-inverse-tertiary-dark);--compare-card-chevron-icon-color:var(--tc-grey-60-dark);--compare-card-chevron-icon-hover-color:var(--tc-icon-inverse-primary-dark);--compare-card-interactive-element-hover-background-color:var(--tc-layer-secondary-dark);--compare-card-interactive-element-active-background-color:var(--tc-layer-tertiary-dark);--compare-card-focus-outline-color:var(--tc-blue-40-dark);--compare-card-box-shadow:var(--tc-elevation-three-dark);--compare-card-title-badge-background-color:var(--tc-layer-permanent-black-dark);--compare-card-title-badge-text-color:var(--tc-text-white-permanent-dark);--compare-card-title-badge-icon-color:var(--tc-icon-permanent-white-dark);--compare-card-single-option-label-background-color:var(--tc-layer-yellow-quaternary-dark);--compare-card-border-color:var(--tc-border-quaternary-dark);--compare-card-radio-container-background-color:var(--tc-product-card-menu-default-dark);--compare-card-radio-container-background-hover-color:var(--tc-product-card-menu-hover-dark);--compare-card-radio-container-background-pressed-color:var(--tc-product-card-menu-pressed-dark);--compare-card-radio-container-background-active-color:var(--tc-product-card-menu-active-dark);--compare-card-radio-container-border-color:var(--tc-product-card-menu-border-default-dark);--compare-card-radio-container-border-hover-color:var(--tc-product-card-menu-border-hover-dark);--compare-card-radio-container-border-pressed-color:var(--tc-product-card-menu-border-pressed-dark);--compare-card-radio-container-border-active-color:var(--tc-product-card-menu-border-active-dark)}.card{display:inline-flex;flex-direction:column;position:relative;width:100%;height:100%;border-radius:var(--compare-card-border-radius);box-shadow:var(--compare-card-box-shadow);border:0.0625rem solid var(--compare-card-border-color)}.card__placeholder{--placeholder-min-height:37rem;--placeholder-border-radius:var(--compare-card-border-radius)}@media screen and (min-width: 64rem){.card__placeholder.single-card{--placeholder-min-height:25.75rem}}.card .content{padding:1.5rem 1rem}.card .content__top{background-color:var(--compare-card-top-part-background-color);color:var(--compare-card-text-permanent-color);border-top-left-radius:var(--compare-card-border-radius);border-top-right-radius:var(--compare-card-border-radius)}.card .content__bottom{background-color:var(--compare-card-bottom-part-background-color);color:var(--compare-card-text-color);border-bottom-left-radius:var(--compare-card-border-radius);border-bottom-right-radius:var(--compare-card-border-radius);height:100%}@media screen and (min-width: 31.25rem){.card .content{padding:1.5rem 2rem}}@media screen and (min-width: 80rem){.card .content{padding:2rem}}.card .best-choice-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";display:flex;align-items:center;gap:0.5rem;position:absolute;align-self:center;visibility:hidden;white-space:nowrap;top:-2.5625rem;max-width:18.5rem;padding:0.5rem 1.25rem;border-radius:1rem 1rem 0 0;background-color:var(--compare-card-best-choice-background-color);color:var(--compare-card-best-choice-text-color);overflow:hidden;text-overflow:ellipsis}.card .best-choice-title__icon{--icon-container-display:flex;--icon-size:1.375rem;--icon-color:var(--compare-card-best-choice-text-color)}.card .best-choice-title.active{visibility:visible}.card .title-container{display:flex;flex-direction:column;gap:0.375rem}@media screen and (min-width: 80rem){.card .title-container{flex-direction:row;justify-content:space-between;align-items:flex-start}}.card .title-badge{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";display:flex;width:fit-content;padding:0.375rem 0.75rem 0.375rem 0.5rem;align-items:center;gap:0.25rem;border-radius:0.625rem;background-color:var(--compare-card-title-badge-background-color);color:var(--compare-card-title-badge-text-color)}.card .title-badge__icon{--icon-color:var(--compare-card-title-badge-icon-color);--icon-container-display:flex;--icon-size:1rem}.card .title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}.card .price-wrapper{display:flex;flex-direction:column;overflow:hidden;gap:0.75rem}.card .price-wrapper .price-container{display:flex;flex-direction:column}.card .price-wrapper .price-container__price-group{display:inline-flex;align-items:flex-end;flex-wrap:nowrap;white-space:nowrap;gap:0.25rem}.card .price-wrapper .price-container__price{font:600 3.5rem/4rem "Gilroy", "Gilroy, Arial, sans-serif"}@media screen and (min-width: 31.25rem){.card .price-wrapper .price-container__price{font:600 4rem/4.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card .price-wrapper .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card .price-wrapper .price-container__price{font:600 6rem/6.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}.card .price-wrapper .price-container__currency{margin-bottom:0.5rem;font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}@media screen and (min-width: 64rem){.card .price-wrapper .price-container__currency{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card .price-wrapper .price-container__currency{margin-bottom:0.75rem}}.card .price-wrapper .price-container__base-price{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";flex:0 0 100%;width:100%;text-decoration-line:line-through}.card .price-wrapper .price-container__description{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.card .card-label{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";overflow:hidden;padding:0.625rem 0.75rem;margin-top:0.75rem;border-radius:0.5rem;background-color:var(--compare-card-label-background-color)}.card .card-info>:first-child{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";overflow:hidden;padding:0.625rem 0.75rem;margin:0.75rem 0 0;border-radius:0.5rem;background-color:var(--compare-card-label-background-color)}.card .card-info>:not(:first-child){font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";margin:0.75rem 0 0;color:var(--compare-card-text-permanent-color)}.card .button{--button-width:100%;margin:0.75rem 0 1rem;width:100%}.card .secondary-link{font:400 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";width:fit-content;margin:0 auto}.card .bonuses{display:flex;flex-direction:column;gap:1.5rem}.card .bonuses+.controls{margin-top:1.5rem}.card .bonuses__bonus-container .bonus{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";display:flex;width:100%;gap:0.75rem;padding:0.375rem 0.5rem;border-radius:0.5rem;appearance:none;-webkit-appearance:none;background:none;border:none;margin:0;color:inherit;text-align:start;text-decoration:none;--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-color)}.card .bonuses__bonus-container .bonus--interactive{cursor:pointer}.card .bonuses__bonus-container .bonus--visually-disabled{opacity:0.5}.card .bonuses__bonus-container .bonus--interactive:hover{--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-hover-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-hover-color);background-color:var(--compare-card-interactive-element-hover-background-color)}.card .bonuses__bonus-container .bonus--interactive:active{--bonus-chevron-container-state-bg:var(--compare-card-chevron-container-active-background-color);--bonus-chevron-icon-state-color:var(--compare-card-chevron-icon-hover-color);background-color:var(--compare-card-interactive-element-active-background-color)}.card .bonuses__bonus-container .bonus--interactive:focus-visible{outline:0.125rem solid var(--compare-card-focus-outline-color)}.card .bonuses__bonus-container .bonus--interactive:is(:hover,:active) .bonus__chevron-icon-container{background-color:var(--bonus-chevron-container-state-bg)}.card .bonuses__bonus-container .bonus--interactive:is(:hover,:active) .bonus__icon--chevron{--icon-color:var(--bonus-chevron-icon-state-color)}.card .bonuses__bonus-container .bonus__text{flex:1 0 0;text-align:start;padding:0.125rem 0}.card .bonuses__bonus-container .bonus__icon{--icon-container-display:flex;--icon-size:1.5rem}.card .bonuses__bonus-container .bonus__icon--chevron{--icon-size:1rem;--icon-color:var(--compare-card-chevron-icon-color)}.card .bonuses__bonus-container .bonus__chevron-icon-container{display:flex;justify-content:center;align-items:center;margin:0.125rem;padding:0.125rem;border-radius:50%;background:var(--compare-card-chevron-container-background-color);width:1.25rem;height:1.25rem}.card .controls+.bonuses{margin-top:1.5rem}.card .section-title{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";padding:0.375rem 0;margin-bottom:0.75rem;color:var(--compare-card-text-tertiary-color);border-bottom:0.0625rem solid var(--compare-card-separator-border-color)}.card .radio-container{display:flex;flex-direction:column;gap:1rem}.card .radio-wrapper{border-radius:0.5rem}.card .radio-wrapper .radio{--radio-container-outline-offset:-0.125rem}.card .radio-wrapper .radio .radio__container--focus-style:has(:focus-visible){border-radius:0.5rem}.card .radio-wrapper .radio .radio__container{padding:1rem 0.75rem;border-radius:0.5rem;border:0.0625rem solid var(--compare-card-radio-container-border-color);background-color:var(--compare-card-radio-container-background-color);cursor:pointer}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio__container:hover{background-color:var(--compare-card-radio-container-background-hover-color)}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio__container:active{background-color:var(--compare-card-radio-container-background-pressed-color)}.card .radio-wrapper:not(.error):not(.disabled):not(.unavailable) .radio__container:hover{border-color:var(--compare-card-radio-container-border-hover-color)}.card .radio-wrapper:not(.error):not(.disabled):not(.unavailable) .radio__container:active{border-color:var(--compare-card-radio-container-border-pressed-color)}.card .radio-wrapper:not(.disabled):not(.unavailable) .radio[checked]:not([checked=false]) .radio__container{border-color:var(--compare-card-radio-container-border-active-color);background-color:var(--compare-card-radio-container-background-active-color)}.card .switch-wrapper{border-radius:0.5rem}.card .switch-wrapper .switch{--switch-container-outline-offset:-0.125rem}.card .switch-wrapper .switch-label{display:flex;align-items:center;gap:0.75rem;width:100%;text-align:start}.card .switch-wrapper .switch::part(switch-container){padding:0.375rem 0.5rem;border-radius:0.5rem;cursor:pointer}.card .switch-wrapper:not(.disabled) .switch::part(switch-container):hover{background-color:var(--compare-card-interactive-element-hover-background-color)}.card .switch-wrapper:not(.disabled) .switch::part(switch-container):active{background-color:var(--compare-card-interactive-element-active-background-color)}@media screen and (min-width: 31.25rem){.card.single-card .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 48rem){.card.single-card .price-container__price{font:600 7.25rem/8.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card.single-card .price-container__price{font:600 4rem/4.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 80rem){.card.single-card .price-container__price{font:600 5rem/5.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 90rem){.card.single-card .price-container__price{font:600 6rem/6.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 120rem){.card.single-card .price-container__price{font:600 7.25rem/8.375rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.card.single-card .price-container__currency{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 80rem){.card.single-card .price-container__currency{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.card.single-card .section-title.single-card-tab-controls-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0 0 0.25rem 0;border-bottom:none;color:var(--compare-card-text-secondary-color)}.card.single-card .section-title.single-option{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";padding:0;color:var(--compare-card-text-color)}.card.single-card .single-option-label{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";padding:0.625rem 0.75rem;border-radius:0.5rem;background-color:var(--compare-card-single-option-label-background-color)}.card.single-card .single-card-dropdown-controls{margin-top:1rem}.card.single-card .single-card-tabs-title{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";margin-bottom:0.5rem;color:var(--compare-card-text-secondary-color)}.card.single-card .single-card-dropdown-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif";display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;color:var(--compare-card-text-color)}.card.single-card .single-card-dropdown-tooltip{display:inline-flex;align-items:center;margin-left:auto;padding:0;border:0;background:none;cursor:pointer}.card.single-card .single-card-dropdown-tooltip tet-icon{--icon-size:1.5rem;--icon-color:var(--tc-grey-50)}.card.single-card .single-card-dropdown{width:100%}@media screen and (min-width: 64rem){.card.single-card{flex-direction:row}.card.single-card .content{display:flex;flex-direction:column;flex:1;min-height:25.75rem}.card.single-card .content__top{border-radius:0;border-top-right-radius:var(--compare-card-border-radius);border-bottom-right-radius:var(--compare-card-border-radius)}.card.single-card .content__bottom{border-radius:0;border-top-left-radius:var(--compare-card-border-radius);border-bottom-left-radius:var(--compare-card-border-radius)}.card.single-card .button-wrapper{margin-top:auto}.card.single-card.narrow-summary{display:grid;grid-template-columns:minmax(0, 2fr) minmax(0, 1fr)}.card.single-card.narrow-summary .content__bottom{min-width:0}.card.single-card.narrow-summary .content__top{min-width:0}}@media screen and (min-width: 64rem){.card.single-card .best-choice-title{right:0.75rem}}@media screen and (min-width: 80rem){.card.single-card .best-choice-title{right:2.75rem}}@media screen and (min-width: 90rem){.card.single-card .best-choice-title{right:4.25rem}}@media screen and (min-width: 120rem){.card.single-card .best-choice-title{right:9.25rem}}'}},[513,"tet-compare-card-v3",{cardType:[1,"card-type"],singleCardControlType:[1,"single-card-control-type"],theme:[513],language:[1],options:[16],preloadedProducts:[16],toggles:[16],contractTerm:[2,"contract-term"],controlsTitle:[1,"controls-title"],singleCardTabsTitle:[1,"single-card-tabs-title"],bestChoiceText:[1,"best-choice-text"],bestChoiceIconName:[1,"best-choice-icon-name"],currency:[1],secondaryLink:[1,"secondary-link"],secondaryLinkText:[1,"secondary-link-text"],secondaryLinkOpenBlank:[4,"secondary-link-open-blank"],buttonTitle:[1,"button-title"],linkOpenBlank:[4,"link-open-blank"],showControlsFirst:[4,"show-controls-first"],narrowSummary:[4,"narrow-summary"],showLoader:[32],selectedProductId:[32],selectedDropdownOptionId:[32],selectedSwitchKeys:[32],preselectedKeys:[32],preselectedProductId:[32],allProductData:[32],preselectedRemountId:[32],buttonSize:[32],isSingleCardDesktop:[32],smallRadioBlocksPerRow:[32],largeRadioBlocksPerRow:[32],isLoaded:[64],getProductByCode:[64]},[[0,"optionSelected","onOptionSelected"],[9,"resize","onResize"]],{options:[{onOptionsChange:0}],preloadedProducts:[{onPreloadedProductsChange:0}]}]);function v(){"undefined"!=typeof customElements&&["tet-compare-card-v3","tet-button","tet-checkbox","tet-dropdown","tet-icon","tet-placeholder","tet-radio","tet-radio-blocks","tet-switch","tet-tab-header","tet-tooltip"].forEach((r=>{switch(r){case"tet-compare-card-v3":customElements.get(i(r))||customElements.define(i(r),g);break;case"tet-button":customElements.get(i(r))||c();break;case"tet-checkbox":customElements.get(i(r))||s();break;case"tet-dropdown":customElements.get(i(r))||l();break;case"tet-icon":customElements.get(i(r))||d();break;case"tet-placeholder":customElements.get(i(r))||m();break;case"tet-radio":customElements.get(i(r))||p();break;case"tet-radio-blocks":customElements.get(i(r))||h();break;case"tet-switch":customElements.get(i(r))||f();break;case"tet-tab-header":customElements.get(i(r))||u();break;case"tet-tooltip":customElements.get(i(r))||b()}}))}export{g as T,v as d}
|