@tet/tet-components 1.4.156-testing → 1.4.157-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.
Files changed (539) hide show
  1. package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-Dr-iFaJ9.js} +1 -1
  2. package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
  3. package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +29 -25
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
  6. package/dist/cjs/service-availability-services-BrSBAYBy.js +19 -0
  7. package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
  8. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  9. package/dist/cjs/tet-address-offers-v2.cjs.entry.js +332 -0
  10. package/dist/cjs/tet-address-offers-view-v2.cjs.entry.js +81 -0
  11. package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
  12. package/dist/cjs/{tet-address-offers_5.cjs.entry.js → tet-address-offers_3.cjs.entry.js} +7 -886
  13. package/dist/cjs/tet-address-search_2.cjs.entry.js +873 -0
  14. package/dist/cjs/{tet-assembler.cjs.entry.js → tet-assembler_3.cjs.entry.js} +826 -12
  15. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
  16. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
  17. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +16 -16
  18. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
  19. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  20. package/dist/cjs/tet-bar-graph.cjs.entry.js +4 -4
  21. package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
  22. package/dist/cjs/tet-business-card.cjs.entry.js +3 -3
  23. package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
  24. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +2 -2
  25. package/dist/cjs/tet-button.cjs.entry.js +2 -2
  26. package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
  27. package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
  28. package/dist/cjs/tet-checkbox_3.cjs.entry.js +9 -9
  29. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +5 -5
  30. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-colors.cjs.entry.js +5 -5
  32. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +4 -4
  33. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  34. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
  35. package/dist/cjs/tet-components.cjs.js +2 -2
  36. package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
  37. package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
  38. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  39. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
  40. package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
  41. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  42. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  46. package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
  47. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  48. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
  51. package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
  52. package/dist/cjs/tet-grid.cjs.entry.js +2 -2
  53. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  54. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  56. package/dist/cjs/tet-layout.cjs.entry.js +2 -2
  57. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-link.cjs.entry.js +2 -2
  59. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  60. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  61. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  62. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
  63. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +6 -6
  64. package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
  65. package/dist/cjs/tet-news-card.cjs.entry.js +2 -2
  66. package/dist/cjs/tet-notification.cjs.entry.js +2 -2
  67. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-paginator.cjs.entry.js +4 -4
  69. package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
  70. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-radio_2.cjs.entry.js +3 -3
  73. package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
  74. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  77. package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
  78. package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
  79. package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
  80. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
  82. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
  86. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
  89. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  90. package/dist/cjs/tet-tv-program-channel-picker_2.cjs.entry.js +4 -4
  91. package/dist/cjs/tet-tv-program.cjs.entry.js +2 -2
  92. package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
  93. package/dist/collection/collection-manifest.json +3 -1
  94. package/dist/collection/components/advanced/address/tet-address-offers-v2/address-offers-v2.model.js +147 -0
  95. package/dist/collection/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.css +490 -0
  96. package/dist/collection/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.js +346 -0
  97. package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
  98. package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +2 -2
  99. package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
  100. package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.css +1 -17
  101. package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.js +70 -9
  102. package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.js +6 -6
  103. package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.js +2 -2
  104. package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
  105. package/dist/collection/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.js +1 -1
  106. package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
  107. package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.js +1 -1
  108. package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.css +13 -0
  109. package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +76 -6
  110. package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +1 -1
  111. package/dist/collection/components/advanced/customer/tet-asset-availability-addresses/tet-asset-availability-addresses.js +1 -1
  112. package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
  113. package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
  114. package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
  115. package/dist/collection/components/basic/buttons/tet-button/tet-button.js +1 -1
  116. package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +7 -7
  117. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  118. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  119. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
  120. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
  121. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  122. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  123. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  124. package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
  125. package/dist/collection/components/basic/steppers/tet-business-round-stepper/tet-business-round-stepper.js +1 -1
  126. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  127. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  128. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  129. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  130. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  131. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  132. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  133. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  134. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  135. package/dist/collection/components/simple/lists/tet-selection-list/tet-selection-list.js +1 -1
  136. package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js +1 -1
  137. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  138. package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +1 -1
  139. package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
  140. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
  141. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  142. package/dist/collection/components/simple/tables-and-graphs/tet-bar-graph/tet-bar-graph.js +3 -3
  143. package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +2 -2
  144. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  145. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  146. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  147. package/dist/collection/components/views/tet-address-offers-view-v2/assets/banner.webp +0 -0
  148. package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.css +437 -0
  149. package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.js +289 -0
  150. package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.js +2 -2
  151. package/dist/collection/components/views/tet-b2b-configurator/tet-b2b-configurator.js +1 -1
  152. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.js +1 -1
  153. package/dist/collection/components/views/tet-tv-program/tet-tv-program.js +1 -1
  154. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  155. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  156. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  157. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  158. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  159. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  160. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  161. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  162. package/dist/components/index.js +1 -1
  163. package/dist/components/{p-Dhe7PE-h.js → p-691KdfVY.js} +1 -1
  164. package/dist/components/{p-CHVoAVzT.js → p-8YF-jbNA.js} +1 -1
  165. package/dist/components/{p-d31bvRM6.js → p-91Ll0GBG.js} +1 -1
  166. package/dist/components/{p-B5y1yfI4.js → p-AHi9LSd5.js} +1 -1
  167. package/dist/components/{p-w1igWoTx.js → p-B6uXKLU6.js} +1 -1
  168. package/dist/components/{p-Mpe-2CVQ.js → p-BBNq_Obn.js} +1 -1
  169. package/dist/components/{p-C8u5HEb4.js → p-BD9uhxTR.js} +1 -1
  170. package/dist/components/{p-B0kUlgkD.js → p-BGmsN27z.js} +1 -1
  171. package/dist/components/{p-t_FgKIcd.js → p-BKIzl46N.js} +1 -1
  172. package/dist/components/p-BOOGS_3p.js +1 -0
  173. package/dist/components/{p-CMxcvnRv.js → p-BSySZotX.js} +1 -1
  174. package/dist/components/{p-DN2JwXg9.js → p-BcXV5sQw.js} +1 -1
  175. package/dist/components/{p-CKSiwKh_.js → p-BddlkM7c.js} +1 -1
  176. package/dist/components/p-BjJ9uxR2.js +1 -0
  177. package/dist/components/{p-Ckf6mMEf.js → p-BnWYy3OA.js} +1 -1
  178. package/dist/components/{p-Cqjpl-r4.js → p-BsxHRbVe.js} +1 -1
  179. package/dist/components/{p-CjbC3Ym3.js → p-BxGEX-NV.js} +1 -1
  180. package/dist/components/{p-Dke4zCyb.js → p-CDnMhipi.js} +1 -1
  181. package/dist/components/{p-CQBhFzqI.js → p-CFyjcGK7.js} +1 -1
  182. package/dist/components/{p-BdN4p8Qa.js → p-CIhxkUQ3.js} +1 -1
  183. package/dist/components/{p-B5Dk5hzj.js → p-CLWLTBE0.js} +1 -1
  184. package/dist/components/{p-1E6motPj.js → p-CQP4NAut.js} +1 -1
  185. package/dist/components/{p-tMXV3IB5.js → p-CSSVrXY7.js} +1 -1
  186. package/dist/components/{p-DcRCMBBc.js → p-CUvZcrkM.js} +1 -1
  187. package/dist/components/{p-BUyuNqM6.js → p-CVthBaQt.js} +1 -1
  188. package/dist/components/{p-CxypAmpV.js → p-CWvxBD7Z.js} +1 -1
  189. package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
  190. package/dist/components/{p-C4uKGuRj.js → p-C_hP1fqX.js} +1 -1
  191. package/dist/components/{p-Bw-D7nPx.js → p-CaHY4mtM.js} +1 -1
  192. package/dist/components/{p-CAsIFNv3.js → p-CbATbM7u.js} +1 -1
  193. package/dist/components/{p-CNhW7KE6.js → p-CzKZgXtQ.js} +1 -1
  194. package/dist/components/p-D-AO09Mc.js +1 -0
  195. package/dist/components/{p-CV0h6H20.js → p-D1J0qdmW.js} +1 -1
  196. package/dist/components/p-D4lyA-NJ.js +1 -0
  197. package/dist/components/{p-C61jDpta.js → p-D5J-pubV.js} +1 -1
  198. package/dist/components/{p-BztqMLE1.js → p-DD5q1beS.js} +1 -1
  199. package/dist/components/{p-BpfMADD6.js → p-DEasZUte.js} +1 -1
  200. package/dist/components/{p-B8YPfVrH.js → p-DGK8g6IK.js} +1 -1
  201. package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
  202. package/dist/components/{p-C0RZDFyg.js → p-DJpICBt8.js} +1 -1
  203. package/dist/components/{p-Bc4oqt_L.js → p-DQHzO7M-.js} +1 -1
  204. package/dist/components/{p-Ba5cZk_W.js → p-DQYLFTYo.js} +1 -1
  205. package/dist/components/{p-CJnk1Plz.js → p-DSO2W8wX.js} +1 -1
  206. package/dist/components/{p-C5khLmO4.js → p-DVLlr-o4.js} +1 -1
  207. package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
  208. package/dist/components/{p-euiyLrT6.js → p-Dataaxzl.js} +1 -1
  209. package/dist/components/{p-Dmu5eHbY.js → p-Dbg3ATML.js} +1 -1
  210. package/dist/components/{p-BKqEPSBf.js → p-DkO2yTmt.js} +1 -1
  211. package/dist/components/{p-Cmi0CN7v.js → p-Dm-BCBLJ.js} +1 -1
  212. package/dist/components/{p-20AXKDtg.js → p-DsSTOiNy.js} +1 -1
  213. package/dist/components/{p-CnVl55e4.js → p-DyY_BOZd.js} +1 -1
  214. package/dist/components/{p-BUZAWbGM.js → p-EkgyB9Ie.js} +1 -1
  215. package/dist/components/{p-DUxOWNca.js → p-QycD5lxs.js} +1 -1
  216. package/dist/components/{p-Bsqoxd9G.js → p-WvkszOBK.js} +1 -1
  217. package/dist/{tet-components/p-ad8622a2.entry.js → components/p-dBAcfL7x.js} +1 -1
  218. package/dist/components/{p-D-hVxt6M.js → p-dCT7Ej5X.js} +1 -1
  219. package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
  220. package/dist/components/{p-DKZxpjnL.js → p-lNLcpuEl.js} +1 -1
  221. package/dist/components/tet-accordion.js +1 -1
  222. package/dist/components/tet-address-offers-filters-products.js +1 -1
  223. package/dist/components/tet-address-offers-filters.js +1 -1
  224. package/dist/components/tet-address-offers-v2.d.ts +11 -0
  225. package/dist/components/tet-address-offers-v2.js +1 -0
  226. package/dist/components/tet-address-offers-view-v2.d.ts +11 -0
  227. package/dist/components/tet-address-offers-view-v2.js +1 -0
  228. package/dist/components/tet-address-offers-view.js +1 -1
  229. package/dist/components/tet-address-offers.js +1 -1
  230. package/dist/components/tet-address-search.js +1 -1
  231. package/dist/components/tet-assembler.js +1 -1
  232. package/dist/components/tet-asset-availability-addresses.js +1 -1
  233. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  234. package/dist/components/tet-autocomplete.js +1 -1
  235. package/dist/components/tet-availability-contact-form.js +1 -1
  236. package/dist/components/tet-b2b-check-out-form.js +1 -1
  237. package/dist/components/tet-b2b-compare-card.js +1 -1
  238. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  239. package/dist/components/tet-b2b-configurator.js +1 -1
  240. package/dist/components/tet-banner-nav.js +1 -1
  241. package/dist/components/tet-bar-graph.js +1 -1
  242. package/dist/components/tet-border-radius.js +1 -1
  243. package/dist/components/tet-business-card.js +1 -1
  244. package/dist/components/tet-business-compare-card.js +1 -1
  245. package/dist/components/tet-business-navigation.js +1 -1
  246. package/dist/components/tet-business-round-stepper.js +1 -1
  247. package/dist/components/tet-business-summary-card.js +1 -1
  248. package/dist/components/tet-button.js +1 -1
  249. package/dist/components/tet-card-list.js +1 -1
  250. package/dist/components/tet-carousel.js +1 -1
  251. package/dist/components/tet-checkbox.js +1 -1
  252. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  253. package/dist/components/tet-cloud-configurator.js +1 -1
  254. package/dist/components/tet-colors.js +1 -1
  255. package/dist/components/tet-compare-card-v2.js +1 -1
  256. package/dist/components/tet-compare-card-v3.js +1 -1
  257. package/dist/components/tet-compare-card.js +1 -1
  258. package/dist/components/tet-compare-cards-tab.js +1 -1
  259. package/dist/components/tet-compare-cards.js +1 -1
  260. package/dist/components/tet-container.js +1 -1
  261. package/dist/components/tet-countdown.js +1 -1
  262. package/dist/components/tet-counter.js +1 -1
  263. package/dist/components/tet-datepicker-header.js +1 -1
  264. package/dist/components/tet-datepicker-month-view.js +1 -1
  265. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  266. package/dist/components/tet-datepicker-year-view.js +1 -1
  267. package/dist/components/tet-datepicker.js +1 -1
  268. package/dist/components/tet-dialog.js +1 -1
  269. package/dist/components/tet-display.js +1 -1
  270. package/dist/components/tet-divider.js +1 -1
  271. package/dist/components/tet-dropdown.js +1 -1
  272. package/dist/components/tet-dynamic-card.js +1 -1
  273. package/dist/components/tet-expandable-input.js +1 -1
  274. package/dist/components/tet-expansion-panel.js +1 -1
  275. package/dist/components/tet-feedback-form.js +1 -1
  276. package/dist/components/tet-filter.js +1 -1
  277. package/dist/components/tet-floating-block.js +1 -1
  278. package/dist/components/tet-font-weight.js +1 -1
  279. package/dist/components/tet-fonts.js +1 -1
  280. package/dist/components/tet-grid.js +1 -1
  281. package/dist/components/tet-icon.js +1 -1
  282. package/dist/components/tet-inline-message.js +1 -1
  283. package/dist/components/tet-input.js +1 -1
  284. package/dist/components/tet-layout.js +1 -1
  285. package/dist/components/tet-link-card-list.js +1 -1
  286. package/dist/components/tet-link.js +1 -1
  287. package/dist/components/tet-loader.js +1 -1
  288. package/dist/components/tet-menu-mobile.js +1 -1
  289. package/dist/components/tet-menu.js +1 -1
  290. package/dist/components/tet-mini-compare-card.js +1 -1
  291. package/dist/components/tet-multi-step-dialog.js +1 -1
  292. package/dist/components/tet-navigation-mobile.js +1 -1
  293. package/dist/components/tet-news-card-list.js +1 -1
  294. package/dist/components/tet-news-card.js +1 -1
  295. package/dist/components/tet-notification.js +1 -1
  296. package/dist/components/tet-number-input.js +1 -1
  297. package/dist/components/tet-paginator.js +1 -1
  298. package/dist/components/tet-placeholder.js +1 -1
  299. package/dist/components/tet-position.js +1 -1
  300. package/dist/components/tet-price-view.js +1 -1
  301. package/dist/components/tet-radio-blocks.js +1 -1
  302. package/dist/components/tet-radio.js +1 -1
  303. package/dist/components/tet-range-slider.js +1 -1
  304. package/dist/components/tet-round-stepper.js +1 -1
  305. package/dist/components/tet-selection-list.js +1 -1
  306. package/dist/components/tet-snicker-card-group.js +1 -1
  307. package/dist/components/tet-snicker-card.js +1 -1
  308. package/dist/components/tet-spacing.js +1 -1
  309. package/dist/components/tet-spinner.js +1 -1
  310. package/dist/components/tet-stepper-input.js +1 -1
  311. package/dist/components/tet-stepper-v3.js +1 -1
  312. package/dist/components/tet-sticky-offer.js +1 -1
  313. package/dist/components/tet-support-search.js +1 -1
  314. package/dist/components/tet-switch.js +1 -1
  315. package/dist/components/tet-tab-content.js +1 -1
  316. package/dist/components/tet-tab-header.js +1 -1
  317. package/dist/components/tet-table.js +1 -1
  318. package/dist/components/tet-tag-group.js +1 -1
  319. package/dist/components/tet-tag.js +1 -1
  320. package/dist/components/tet-text-list.js +1 -1
  321. package/dist/components/tet-text.js +1 -1
  322. package/dist/components/tet-textarea.js +1 -1
  323. package/dist/components/tet-thank-you-view-v3.js +1 -1
  324. package/dist/components/tet-tooltip.js +1 -1
  325. package/dist/components/tet-tv-program-channel-picker.js +1 -1
  326. package/dist/components/tet-tv-program-date-picker.js +1 -1
  327. package/dist/components/tet-tv-program.js +1 -1
  328. package/dist/esm/{http-codes-BQGPgOl6.js → http-codes-BDGry0lr.js} +1 -1
  329. package/dist/esm/{index-BGB6gNkz.js → index-BlxQHXlF.js} +30 -26
  330. package/dist/esm/{index-DScZlZas.js → index-Cl1zJLqR.js} +1 -1
  331. package/dist/esm/loader.js +3 -3
  332. package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-D_NpnveD.js} +1 -1
  333. package/dist/esm/service-availability-services-De2k_Sd_.js +17 -0
  334. package/dist/esm/tet-accordion.entry.js +7 -7
  335. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  336. package/dist/esm/tet-address-offers-v2.entry.js +330 -0
  337. package/dist/esm/tet-address-offers-view-v2.entry.js +79 -0
  338. package/dist/esm/tet-address-offers-view.entry.js +4 -4
  339. package/dist/esm/{tet-address-offers_5.entry.js → tet-address-offers_3.entry.js} +7 -884
  340. package/dist/esm/tet-address-search_2.entry.js +870 -0
  341. package/dist/esm/{tet-assembler.entry.js → tet-assembler_3.entry.js} +825 -13
  342. package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
  343. package/dist/esm/tet-autocomplete_2.entry.js +4 -4
  344. package/dist/esm/tet-b2b-check-out-form_5.entry.js +16 -16
  345. package/dist/esm/tet-b2b-configurator.entry.js +5 -5
  346. package/dist/esm/tet-banner-nav.entry.js +3 -3
  347. package/dist/esm/tet-bar-graph.entry.js +4 -4
  348. package/dist/esm/tet-border-radius.entry.js +2 -2
  349. package/dist/esm/tet-business-card.entry.js +3 -3
  350. package/dist/esm/tet-business-compare-card.entry.js +3 -3
  351. package/dist/esm/tet-business-round-stepper.entry.js +2 -2
  352. package/dist/esm/tet-button.entry.js +2 -2
  353. package/dist/esm/tet-card-list.entry.js +5 -5
  354. package/dist/esm/tet-carousel.entry.js +9 -9
  355. package/dist/esm/tet-checkbox_3.entry.js +9 -9
  356. package/dist/esm/tet-cloud-application-form-dialog.entry.js +5 -5
  357. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  358. package/dist/esm/tet-colors.entry.js +5 -5
  359. package/dist/esm/tet-compare-card-v2.entry.js +4 -4
  360. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  361. package/dist/esm/tet-compare-cards_2.entry.js +5 -5
  362. package/dist/esm/tet-components.js +3 -3
  363. package/dist/esm/tet-container_2.entry.js +2 -2
  364. package/dist/esm/tet-countdown.entry.js +2 -2
  365. package/dist/esm/tet-counter.entry.js +1 -1
  366. package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
  367. package/dist/esm/tet-datepicker.entry.js +5 -5
  368. package/dist/esm/tet-dialog.entry.js +3 -3
  369. package/dist/esm/tet-display.entry.js +1 -1
  370. package/dist/esm/tet-divider.entry.js +1 -1
  371. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  372. package/dist/esm/tet-expandable-input.entry.js +1 -1
  373. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  374. package/dist/esm/tet-feedback-form.entry.js +3 -3
  375. package/dist/esm/tet-filter.entry.js +1 -1
  376. package/dist/esm/tet-floating-block.entry.js +1 -1
  377. package/dist/esm/tet-font-weight.entry.js +2 -2
  378. package/dist/esm/tet-fonts.entry.js +2 -2
  379. package/dist/esm/tet-grid.entry.js +2 -2
  380. package/dist/esm/tet-icon.entry.js +2 -2
  381. package/dist/esm/tet-inline-message.entry.js +1 -1
  382. package/dist/esm/tet-input.entry.js +3 -3
  383. package/dist/esm/tet-layout.entry.js +2 -2
  384. package/dist/esm/tet-link-card-list.entry.js +1 -1
  385. package/dist/esm/tet-link.entry.js +2 -2
  386. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  387. package/dist/esm/tet-menu.entry.js +1 -1
  388. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  389. package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
  390. package/dist/esm/tet-navigation-mobile.entry.js +6 -6
  391. package/dist/esm/tet-news-card-list.entry.js +2 -2
  392. package/dist/esm/tet-news-card.entry.js +2 -2
  393. package/dist/esm/tet-notification.entry.js +2 -2
  394. package/dist/esm/tet-number-input.entry.js +1 -1
  395. package/dist/esm/tet-paginator.entry.js +4 -4
  396. package/dist/esm/tet-placeholder.entry.js +2 -2
  397. package/dist/esm/tet-position.entry.js +1 -1
  398. package/dist/esm/tet-price-view.entry.js +1 -1
  399. package/dist/esm/tet-radio_2.entry.js +3 -3
  400. package/dist/esm/tet-range-slider.entry.js +8 -8
  401. package/dist/esm/tet-round-stepper.entry.js +1 -1
  402. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  403. package/dist/esm/tet-snicker-card.entry.js +3 -3
  404. package/dist/esm/tet-spacing.entry.js +2 -2
  405. package/dist/esm/tet-spinner.entry.js +4 -4
  406. package/dist/esm/tet-stepper-input.entry.js +4 -4
  407. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  408. package/dist/esm/tet-sticky-offer.entry.js +2 -2
  409. package/dist/esm/tet-support-search.entry.js +1 -1
  410. package/dist/esm/tet-switch.entry.js +1 -1
  411. package/dist/esm/tet-table.entry.js +1 -1
  412. package/dist/esm/tet-tag_2.entry.js +5 -5
  413. package/dist/esm/tet-text-list.entry.js +1 -1
  414. package/dist/esm/tet-text.entry.js +1 -1
  415. package/dist/esm/tet-textarea.entry.js +3 -3
  416. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  417. package/dist/esm/tet-tv-program-channel-picker_2.entry.js +4 -4
  418. package/dist/esm/tet-tv-program.entry.js +2 -2
  419. package/dist/esm/{translations-Dc2OQnbI.js → translations-DVFIbjgN.js} +1 -1
  420. package/dist/tet-components/assets/banner.webp +0 -0
  421. package/dist/tet-components/p-08a8a768.entry.js +1 -0
  422. package/dist/tet-components/{p-2c84bff1.entry.js → p-090b1ee9.entry.js} +1 -1
  423. package/dist/tet-components/{p-49ba40a1.entry.js → p-0a7869f1.entry.js} +1 -1
  424. package/dist/tet-components/{p-4a39f6bc.entry.js → p-0bc383b2.entry.js} +1 -1
  425. package/dist/tet-components/p-11aca305.entry.js +1 -0
  426. package/dist/tet-components/{p-954dc5fa.entry.js → p-11b3e4f9.entry.js} +1 -1
  427. package/dist/tet-components/{p-c97d7c52.entry.js → p-14fe8c03.entry.js} +1 -1
  428. package/dist/tet-components/{p-94b2efaa.entry.js → p-165bc6cf.entry.js} +1 -1
  429. package/dist/tet-components/{p-c9c4656e.entry.js → p-18c6bad0.entry.js} +1 -1
  430. package/dist/tet-components/{p-01577a41.entry.js → p-248957cf.entry.js} +1 -1
  431. package/dist/tet-components/{p-97d1416f.entry.js → p-27086bf0.entry.js} +1 -1
  432. package/dist/tet-components/p-2cb2c564.entry.js +1 -0
  433. package/dist/tet-components/{p-9d103705.entry.js → p-2e1b2b08.entry.js} +1 -1
  434. package/dist/tet-components/{p-0cb2775f.entry.js → p-2eebc066.entry.js} +1 -1
  435. package/dist/tet-components/{p-c2d6ac75.entry.js → p-2eee7043.entry.js} +1 -1
  436. package/dist/tet-components/{p-41763924.entry.js → p-2ff74667.entry.js} +1 -1
  437. package/dist/tet-components/p-35228f86.entry.js +1 -0
  438. package/dist/tet-components/p-377e7876.entry.js +1 -0
  439. package/dist/tet-components/{p-1b29e5f2.entry.js → p-394504cc.entry.js} +1 -1
  440. package/dist/tet-components/{p-cd7efc99.entry.js → p-3b54b5d2.entry.js} +1 -1
  441. package/dist/tet-components/{p-d8a0eaaa.entry.js → p-3fc55c76.entry.js} +1 -1
  442. package/dist/tet-components/{p-72b23f6a.entry.js → p-4763922a.entry.js} +1 -1
  443. package/dist/tet-components/{p-784dd089.entry.js → p-499fec6a.entry.js} +1 -1
  444. package/dist/tet-components/{p-830e4fe6.entry.js → p-4b2be8e5.entry.js} +1 -1
  445. package/dist/tet-components/{p-41ef37c5.entry.js → p-4c43129a.entry.js} +1 -1
  446. package/dist/tet-components/{p-79be83b2.entry.js → p-5007830a.entry.js} +1 -1
  447. package/dist/tet-components/{p-16199435.entry.js → p-5063f11e.entry.js} +1 -1
  448. package/dist/tet-components/{p-952b6065.entry.js → p-50761303.entry.js} +1 -1
  449. package/dist/tet-components/p-50d8189c.entry.js +1 -0
  450. package/dist/tet-components/{p-38459b69.entry.js → p-52a679f8.entry.js} +1 -1
  451. package/dist/tet-components/{p-386be2d5.entry.js → p-549fc480.entry.js} +1 -1
  452. package/dist/tet-components/{p-a32ada3d.entry.js → p-5b99b044.entry.js} +1 -1
  453. package/dist/tet-components/p-5dd112f4.entry.js +1 -0
  454. package/dist/tet-components/{p-3005a902.entry.js → p-5f302894.entry.js} +1 -1
  455. package/dist/tet-components/p-635374b3.entry.js +1 -0
  456. package/dist/tet-components/{p-45c01709.entry.js → p-645519ea.entry.js} +1 -1
  457. package/dist/tet-components/p-689936ff.entry.js +1 -0
  458. package/dist/tet-components/{p-b3acb430.entry.js → p-6a39e30f.entry.js} +1 -1
  459. package/dist/tet-components/{p-40503431.entry.js → p-6e0c03c0.entry.js} +1 -1
  460. package/dist/tet-components/{p-39a59573.entry.js → p-74b5d1c0.entry.js} +1 -1
  461. package/dist/tet-components/p-759af8a9.entry.js +1 -0
  462. package/dist/tet-components/{p-2d36b8a7.entry.js → p-77146932.entry.js} +1 -1
  463. package/dist/tet-components/{p-17d3a7ff.entry.js → p-7eac9541.entry.js} +1 -1
  464. package/dist/tet-components/{p-e0752dc6.entry.js → p-8259d30f.entry.js} +1 -1
  465. package/dist/tet-components/{p-e3e02e3b.entry.js → p-880ebb36.entry.js} +1 -1
  466. package/dist/tet-components/p-95a94e29.entry.js +1 -0
  467. package/dist/tet-components/p-9929600f.entry.js +1 -0
  468. package/dist/tet-components/{p-7338bab9.entry.js → p-9bc901e4.entry.js} +1 -1
  469. package/dist/tet-components/{p-ad0b78d5.entry.js → p-9dd85372.entry.js} +1 -1
  470. package/dist/tet-components/{p-BGB6gNkz.js → p-BlxQHXlF.js} +2 -2
  471. package/dist/tet-components/p-BrtoXU00.js +1 -0
  472. package/dist/tet-components/{p-DbJll7nz.js → p-GktrEySe.js} +1 -1
  473. package/dist/tet-components/{p-C1XJmhDH.js → p-XUBYGpT5.js} +1 -1
  474. package/dist/tet-components/{p-d62eecdb.entry.js → p-a0d81b70.entry.js} +1 -1
  475. package/dist/tet-components/{p-fd71a027.entry.js → p-a1d04d02.entry.js} +1 -1
  476. package/dist/tet-components/{p-632d382c.entry.js → p-a1e75f54.entry.js} +1 -1
  477. package/dist/tet-components/{p-e7e18cc4.entry.js → p-aa0626f1.entry.js} +1 -1
  478. package/dist/tet-components/{p-0996dd5a.entry.js → p-adabdd88.entry.js} +1 -1
  479. package/dist/tet-components/{p-cc3e87fe.entry.js → p-ae834f09.entry.js} +1 -1
  480. package/dist/tet-components/{p-37c3f4c6.entry.js → p-af2bed0c.entry.js} +1 -1
  481. package/dist/tet-components/{p-74ccd606.entry.js → p-b0c44c21.entry.js} +1 -1
  482. package/dist/tet-components/{p-9cee887f.entry.js → p-b36bd5ee.entry.js} +1 -1
  483. package/dist/tet-components/p-b70c478e.entry.js +1 -0
  484. package/dist/tet-components/{p-3bb8e0ec.entry.js → p-b7a1a1a9.entry.js} +1 -1
  485. package/dist/tet-components/{p-8310d42d.entry.js → p-b8c728a3.entry.js} +1 -1
  486. package/dist/tet-components/{p-368fb50a.entry.js → p-bbcdcecd.entry.js} +1 -1
  487. package/dist/tet-components/{p-9beb88d9.entry.js → p-be5e5d8d.entry.js} +1 -1
  488. package/dist/tet-components/{p-6a8f5935.entry.js → p-bfc1d731.entry.js} +1 -1
  489. package/dist/tet-components/{p-6d7c406e.entry.js → p-c6266e47.entry.js} +1 -1
  490. package/dist/tet-components/{p-87f4d9b1.entry.js → p-ccf33e7b.entry.js} +1 -1
  491. package/dist/tet-components/{p-c96c5b96.entry.js → p-d19565db.entry.js} +1 -1
  492. package/dist/tet-components/{p-4b92e8e6.entry.js → p-d5212455.entry.js} +1 -1
  493. package/dist/tet-components/{p-380c13f1.entry.js → p-d64dff1a.entry.js} +1 -1
  494. package/dist/tet-components/{p-11ed5b55.entry.js → p-d770c106.entry.js} +1 -1
  495. package/dist/tet-components/{p-e2d4e5c3.entry.js → p-d94f8fc5.entry.js} +1 -1
  496. package/dist/tet-components/{p-3af65955.entry.js → p-ddcaa280.entry.js} +1 -1
  497. package/dist/tet-components/p-e18ede1e.entry.js +1 -0
  498. package/dist/tet-components/{p-7ae4195d.entry.js → p-e69fd542.entry.js} +1 -1
  499. package/dist/tet-components/{p-ee45806d.entry.js → p-e75c50dc.entry.js} +1 -1
  500. package/dist/tet-components/{p-185e98b4.entry.js → p-ef89dc8a.entry.js} +1 -1
  501. package/dist/tet-components/{p-5a14b088.entry.js → p-f08fcf31.entry.js} +1 -1
  502. package/dist/tet-components/{p-a037e4df.entry.js → p-f353f91b.entry.js} +1 -1
  503. package/dist/tet-components/{p-a560fec1.entry.js → p-f378220c.entry.js} +1 -1
  504. package/dist/tet-components/p-f4f375cb.entry.js +1 -0
  505. package/dist/tet-components/{p-66287f28.entry.js → p-f5c18fbe.entry.js} +1 -1
  506. package/dist/tet-components/{p-be07df58.entry.js → p-f8a871ff.entry.js} +1 -1
  507. package/dist/tet-components/p-feaedfea.entry.js +1 -0
  508. package/dist/tet-components/{p-299c7600.entry.js → p-ffa64231.entry.js} +1 -1
  509. package/dist/tet-components/p-h7hmtU44.js +1 -0
  510. package/dist/tet-components/{p-DX1IQAn5.js → p-qSX0mu28.js} +1 -1
  511. package/dist/tet-components/tet-components.esm.js +1 -1
  512. package/dist/types/components/advanced/address/tet-address-offers-v2/address-offers-v2.model.d.ts +55 -0
  513. package/dist/types/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.d.ts +36 -0
  514. package/dist/types/components/advanced/cards/tet-assembler/tet-assembler.d.ts +6 -1
  515. package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +6 -0
  516. package/dist/types/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.d.ts +33 -0
  517. package/dist/types/components.d.ts +260 -4
  518. package/dist/types/services/api/services/catalog/service-availability-services.d.ts +1 -0
  519. package/package.json +1 -1
  520. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +0 -681
  521. package/dist/cjs/tet-radio-blocks.cjs.entry.js +0 -83
  522. package/dist/components/p-CvISLoYA.js +0 -1
  523. package/dist/esm/tet-compare-card-v3.entry.js +0 -679
  524. package/dist/esm/tet-radio-blocks.entry.js +0 -81
  525. package/dist/tet-components/p-067e0001.entry.js +0 -1
  526. package/dist/tet-components/p-0c0dec4c.entry.js +0 -1
  527. package/dist/tet-components/p-129027b6.entry.js +0 -1
  528. package/dist/tet-components/p-137a5837.entry.js +0 -1
  529. package/dist/tet-components/p-24058988.entry.js +0 -1
  530. package/dist/tet-components/p-2d285624.entry.js +0 -1
  531. package/dist/tet-components/p-3ae8cca8.entry.js +0 -1
  532. package/dist/tet-components/p-45c896dd.entry.js +0 -1
  533. package/dist/tet-components/p-6bc9b958.entry.js +0 -1
  534. package/dist/tet-components/p-BzLFf73g.js +0 -1
  535. package/dist/tet-components/p-bac0cda3.entry.js +0 -1
  536. package/dist/tet-components/p-d851b8e5.entry.js +0 -1
  537. package/dist/tet-components/p-de6f9fd9.entry.js +0 -1
  538. package/dist/tet-components/p-f1608c27.entry.js +0 -1
  539. package/dist/tet-components/p-fbb45705.entry.js +0 -1
@@ -1,679 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-BGB6gNkz.js';
2
- import './http-codes-BQGPgOl6.js';
3
- import { p as productComparison } from './product-comparison-DUVV7BFR.js';
4
-
5
- const tetCompareCardV3Css = () => `: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:"-->";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--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}}@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}}`;
6
-
7
- const TetCompareCardV3 = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.cardLoaded = createEvent(this, "cardLoaded");
11
- this.productChanged = createEvent(this, "productChanged");
12
- }
13
- buttonSizeBreakpoint = 1280;
14
- singleCardBreakpoint = 1024;
15
- /**
16
- * The size of the button.
17
- */
18
- cardType = 'static';
19
- /**
20
- * Control used to select options when cardType is 'single-card'.
21
- */
22
- singleCardControlType = 'tabs';
23
- /**
24
- * The theme of the card.
25
- */
26
- theme = 'light';
27
- /**
28
- * The language of the component.
29
- */
30
- language = 'lv';
31
- /**
32
- * Product variants available in this card.
33
- * Used as the source for dropdown/radio/switcher selection and to resolve
34
- * the active variant data. Provide `productCode` for API-backed data, or an
35
- * `id` with `productData` for a manually supplied product.
36
- */
37
- options = [];
38
- /**
39
- * Toggle configuration for the `switcher` card type.
40
- */
41
- toggles = [];
42
- /**
43
- * This prop defines selected contract term for the card.
44
- */
45
- contractTerm = 0;
46
- /**
47
- * Defines the title for the controls section.
48
- */
49
- controlsTitle;
50
- /**
51
- * Defines the title displayed above single-card tabs.
52
- */
53
- singleCardTabsTitle;
54
- /**
55
- * This prop defines best choice text for the card.
56
- */
57
- bestChoiceText;
58
- /**
59
- * This prop defines best choice icon name for the card.
60
- */
61
- bestChoiceIconName;
62
- /**
63
- * This prop defines currency for the card.
64
- */
65
- currency = '€/mēn.';
66
- /**
67
- * This prop defines secondary link for the card.
68
- */
69
- secondaryLink = '';
70
- /**
71
- * This prop defines secondary link text for the card.
72
- */
73
- secondaryLinkText = '';
74
- /**
75
- * This prop defines whether the secondary link opens in a new tab.
76
- */
77
- secondaryLinkOpenBlank = false;
78
- /**
79
- * This prop defines button title for the card.
80
- */
81
- buttonTitle = '';
82
- /**
83
- * This prop defines whether the main link (button) opens in a new tab.
84
- */
85
- linkOpenBlank = false;
86
- /**
87
- * Determines whether controls are displayed before bonuses.
88
- */
89
- showControlsFirst = false;
90
- showLoader = true;
91
- selectedProductId = '';
92
- selectedDropdownOptionId = '';
93
- selectedSwitchKeys = [];
94
- preselectedKeys = [];
95
- preselectedProductId = '';
96
- allProductData = {};
97
- preselectedRemountId = 0;
98
- buttonSize = 'large';
99
- isSingleCardDesktop = true;
100
- smallRadioBlocksPerRow = 2;
101
- largeRadioBlocksPerRow = 3;
102
- didEmitCardLoaded = false;
103
- hasFetchedProducts = false;
104
- /**
105
- * Emitted when the card has loaded.
106
- */
107
- cardLoaded;
108
- /**
109
- * Emitted when the selected product has changed.
110
- */
111
- productChanged;
112
- /**
113
- * @param event
114
- */
115
- onOptionSelected(event) {
116
- const productId = event.detail.value;
117
- const selectedOption = this.getOptionById(this.selectedProductId);
118
- const dropdownOption = selectedOption?.dropdownOptions?.find(option => this.getOptionId(option) === productId);
119
- if (dropdownOption) {
120
- this.selectedDropdownOptionId = productId;
121
- this.productChanged.emit();
122
- return;
123
- }
124
- this.selectedProductId = productId;
125
- this.setInitialDropdownOption(this.getOptionById(productId));
126
- this.productChanged.emit();
127
- }
128
- async componentWillLoad() {
129
- this.syncButtonSize();
130
- if (this.cardType === 'single-card') {
131
- this.syncSingleCardBreakpoint();
132
- }
133
- this.fetchProductComparison();
134
- this.initializeSelection();
135
- }
136
- onOptionsChange() {
137
- if (!this.hasFetchedProducts) {
138
- this.initializeSelection();
139
- this.fetchProductComparison();
140
- }
141
- }
142
- initializeSelection() {
143
- switch (this.cardType) {
144
- case 'single-card':
145
- case 'dropdown':
146
- case 'radio': {
147
- const selectedOption = this.options.find(option => option.preselected) ?? this.options[0];
148
- if (selectedOption) {
149
- this.selectedProductId = this.getOptionId(selectedOption);
150
- this.setInitialDropdownOption(selectedOption);
151
- this.productChanged.emit();
152
- }
153
- break;
154
- }
155
- case 'switcher': {
156
- const preselected = this.options.find(option => option.preselected);
157
- if (preselected) {
158
- this.preselectedKeys = [...preselected.keys ?? []];
159
- this.preselectedProductId = this.getOptionId(preselected);
160
- this.selectedSwitchKeys = [...preselected.keys ?? []];
161
- this.selectedProductId = this.getOptionId(preselected);
162
- this.productChanged.emit();
163
- }
164
- break;
165
- }
166
- case 'static':
167
- this.selectedProductId = this.getOptionId(this.options[0]);
168
- this.productChanged.emit();
169
- break;
170
- }
171
- }
172
- componentDidRender() {
173
- if (!this.showLoader && !this.didEmitCardLoaded) {
174
- this.didEmitCardLoaded = true;
175
- this.cardLoaded.emit();
176
- }
177
- }
178
- onResize() {
179
- this.syncButtonSize();
180
- if (this.cardType === 'single-card') {
181
- this.syncSingleCardBreakpoint();
182
- }
183
- }
184
- syncButtonSize() {
185
- if (globalThis.window === undefined) {
186
- this.buttonSize = 'large';
187
- return;
188
- }
189
- const nextButtonSize = globalThis.window.innerWidth < this.buttonSizeBreakpoint
190
- ? 'medium'
191
- : 'large';
192
- if (this.buttonSize !== nextButtonSize) {
193
- this.buttonSize = nextButtonSize;
194
- }
195
- }
196
- syncSingleCardBreakpoint() {
197
- if (globalThis.window === undefined) {
198
- this.isSingleCardDesktop = true;
199
- this.smallRadioBlocksPerRow = 2;
200
- this.largeRadioBlocksPerRow = 3;
201
- return;
202
- }
203
- const width = globalThis.window.innerWidth;
204
- const nextIsSingleCardDesktop = width >= this.singleCardBreakpoint;
205
- if (this.isSingleCardDesktop !== nextIsSingleCardDesktop) {
206
- this.isSingleCardDesktop = nextIsSingleCardDesktop;
207
- }
208
- if (this.singleCardControlType === 'radio') {
209
- this.smallRadioBlocksPerRow = width < 768 || (width >= 1024 && width < 1280) ? 1 : 2;
210
- this.largeRadioBlocksPerRow = (width >= 768 && width < 1024) || width >= 1440 ? 3 : 2;
211
- }
212
- }
213
- getOptionId(option) {
214
- return option?.id ?? option?.productCode ?? '';
215
- }
216
- getOptionById(productId) {
217
- return this.options.find(option => this.getOptionId(option) === productId);
218
- }
219
- getProductOptions() {
220
- return this.options.reduce((productOptions, option) => {
221
- return [...productOptions, ...(option.dropdownOptions?.length ? option.dropdownOptions : [option])];
222
- }, []);
223
- }
224
- /** Returns whether the initial loaded render has completed and cardLoaded has been emitted. */
225
- async isLoaded() {
226
- return this.didEmitCardLoaded;
227
- }
228
- /** Returns loaded API product data with a complete form URL for each contract term. */
229
- async getProductByCode(code) {
230
- const option = this.getProductOptions().find(option => option.productCode === code);
231
- const product = option ? this.allProductData[this.getOptionId(option)] : undefined;
232
- if (!product) {
233
- return undefined;
234
- }
235
- const baseUrl = product.formUrl?.[this.language] ?? '';
236
- return {
237
- ...product,
238
- contractTerms: product.contractTerms?.map(term => ({
239
- ...term,
240
- completeUrl: this.getCompleteUrl(baseUrl, code, term)
241
- }))
242
- };
243
- }
244
- getSelectedOption() {
245
- const selectedOption = this.getOptionById(this.selectedProductId);
246
- const dropdownOptions = selectedOption?.dropdownOptions ?? [];
247
- if (!dropdownOptions.length) {
248
- return selectedOption;
249
- }
250
- return dropdownOptions.find(option => this.getOptionId(option) === this.selectedDropdownOptionId)
251
- ?? dropdownOptions.find(option => option.preselected)
252
- ?? dropdownOptions[0];
253
- }
254
- hasSingleCardDropdownOptions() {
255
- return this.cardType === 'single-card' && this.options.some(option => option.dropdownOptions?.length);
256
- }
257
- setInitialDropdownOption(option) {
258
- const dropdownOptions = option?.dropdownOptions ?? [];
259
- const selectedOption = dropdownOptions.find(dropdownOption => dropdownOption.preselected) ?? dropdownOptions[0];
260
- this.selectedDropdownOptionId = this.getOptionId(selectedOption);
261
- }
262
- getSelectionOptions() {
263
- return this.options.map((option) => ({
264
- label: option.optionLabel || '',
265
- value: this.getOptionId(option),
266
- preselected: this.getOptionId(option) === this.selectedProductId,
267
- }));
268
- }
269
- /**
270
- * Resolves a product selection key by matching an exact toggle-key combination.
271
- */
272
- getToggledProductId(keys) {
273
- const sortedKeys = [...keys].sort((a, b) => a.localeCompare(b)).join(',');
274
- const found = this.options.find(option => [...option.keys ?? []].sort((a, b) => a.localeCompare(b)).join(',') === sortedKeys);
275
- return found ? this.getOptionId(found) : null;
276
- }
277
- /**
278
- * Handles switch interactions and keeps selection in a valid state.
279
- */
280
- handleSwitchToggle(key, checked) {
281
- const toggle = this.toggles.find(toggle => toggle.toggleKey === key);
282
- let activeKeys = [...this.selectedSwitchKeys];
283
- if (checked) {
284
- if (toggle?.selectAll) {
285
- const fullCombo = this.getFullComboToggleOption();
286
- if (fullCombo) {
287
- this.selectedSwitchKeys = [...fullCombo.keys ?? []];
288
- this.selectedProductId = this.getOptionId(fullCombo);
289
- this.productChanged.emit();
290
- return;
291
- }
292
- }
293
- if (!activeKeys.includes(key))
294
- activeKeys.push(key);
295
- }
296
- else {
297
- const newActiveKeys = activeKeys.filter(k => k !== key);
298
- if (newActiveKeys.length === 0) {
299
- this.selectedSwitchKeys = [...this.preselectedKeys];
300
- this.selectedProductId = this.preselectedProductId;
301
- this.preselectedRemountId++;
302
- this.productChanged.emit();
303
- return;
304
- }
305
- const validProductId = this.getToggledProductId(newActiveKeys);
306
- if (validProductId) {
307
- this.selectedSwitchKeys = newActiveKeys;
308
- this.selectedProductId = validProductId;
309
- this.productChanged.emit();
310
- return;
311
- }
312
- this.selectedSwitchKeys = [...this.preselectedKeys];
313
- this.selectedProductId = this.preselectedProductId;
314
- this.preselectedRemountId++;
315
- this.productChanged.emit();
316
- return;
317
- }
318
- activeKeys = activeKeys.sort((a, b) => a.localeCompare(b));
319
- const productId = this.getToggledProductId(activeKeys);
320
- this.selectedSwitchKeys = activeKeys;
321
- if (productId) {
322
- this.selectedProductId = productId;
323
- this.productChanged.emit();
324
- }
325
- else {
326
- this.selectedProductId = this.preselectedProductId;
327
- this.selectedSwitchKeys = [...this.preselectedKeys];
328
- this.preselectedRemountId++;
329
- this.productChanged.emit();
330
- }
331
- }
332
- /**
333
- * Returns option with the most keys (used by select-all switch behavior).
334
- */
335
- getFullComboToggleOption() {
336
- if (!this.options.length) {
337
- return null;
338
- }
339
- return this.options.reduce((max, curr) => (curr.keys ?? []).length > (max.keys ?? []).length ? curr : max, this.options[0]);
340
- }
341
- async fetchProductComparison() {
342
- if (this.hasFetchedProducts) {
343
- return;
344
- }
345
- const productCodes = Array.from(new Set(this.getProductOptions()
346
- .filter(option => !option.productData)
347
- .map(option => option.productCode)
348
- .filter(Boolean)));
349
- let fetchedProductData = {};
350
- if (productCodes.length) {
351
- this.hasFetchedProducts = true;
352
- this.showLoader = true;
353
- try {
354
- const response = await productComparison(productCodes.join(','));
355
- fetchedProductData = response['products'] || {};
356
- }
357
- catch (error) {
358
- console.error(error);
359
- }
360
- }
361
- this.allProductData = this.getProductOptions().reduce((productData, option) => {
362
- const productId = this.getOptionId(option);
363
- const data = option.productCode ? fetchedProductData[option.productCode] : undefined;
364
- if (productId && data) {
365
- productData[productId] = data;
366
- }
367
- return productData;
368
- }, {});
369
- this.showLoader = false;
370
- }
371
- /**
372
- * Returns contract term data matching current `contractTerm` prop.
373
- */
374
- selectedContractTerm() {
375
- const selectedOption = this.getSelectedOption();
376
- const contractTerms = this.allProductData[this.getOptionId(selectedOption)]?.contractTerms;
377
- if (!contractTerms?.length) {
378
- return;
379
- }
380
- const contractTerm = selectedOption?.contractTerm ?? this.contractTerm;
381
- return contractTerms.find((term) => term.term === contractTerm);
382
- }
383
- /**
384
- * Chooses semantic element tag from provided data attributes.
385
- */
386
- getElementTag(attributes) {
387
- if (attributes?.href?.trim()) {
388
- return 'a';
389
- }
390
- const modalKey = attributes?.['data-modal-screen-key']?.trim();
391
- const role = attributes?.role?.trim().toLowerCase();
392
- if (modalKey || role === 'button') {
393
- return 'button';
394
- }
395
- return 'div';
396
- }
397
- renderSwitch(toggle) {
398
- const { toggleKey, icon, name } = toggle;
399
- if (!toggleKey) {
400
- return null;
401
- }
402
- const isPreselected = this.preselectedKeys.includes(toggleKey);
403
- const switchKey = isPreselected
404
- ? `${toggleKey}-${this.preselectedRemountId}`
405
- : toggleKey;
406
- return (h("div", { class: "switch-wrapper" }, h("tet-switch", { class: "switch", theme: this.theme, key: switchKey, name: toggleKey, checked: this.selectedSwitchKeys.includes(toggleKey), onCheck: (e) => this.handleSwitchToggle(toggleKey, e.detail.checked), labelPosition: "left", focusStyleOnContainer: true }, h("div", { class: "switch-label" }, h("tet-icon", { theme: this.theme, class: "benefit__icon", name: icon }), name))));
407
- }
408
- handleSingleCardControlSelect(productId) {
409
- const option = this.getOptionById(productId);
410
- if (!option) {
411
- return;
412
- }
413
- this.selectedProductId = productId;
414
- this.setInitialDropdownOption(option);
415
- this.productChanged.emit();
416
- }
417
- renderSingleCardControls() {
418
- const defaultTab = this.selectedProductId || this.getOptionId(this.options[0]);
419
- const isSingleOption = this.options.length === 1;
420
- if (this.hasSingleCardDropdownOptions() && isSingleOption) {
421
- return null;
422
- }
423
- if (isSingleOption) {
424
- const label = this.options[0].optionLabel ?? '';
425
- return (h("div", { class: "single-option-label" }, label));
426
- }
427
- if (this.singleCardControlType === 'radio') {
428
- return this.renderSingleCardRadioControls();
429
- }
430
- return (h("tet-tab-header", { theme: this.theme, mode: "switch", segmented: true, sizing: this.isSingleCardDesktop ? 'web' : 'mobile', defaultTab: defaultTab, onTabSelected: (event) => this.handleSingleCardControlSelect(event.detail.new) }, this.options.map((option) => {
431
- const productId = this.getOptionId(option);
432
- const label = option.optionLabel ?? '';
433
- if (!productId) {
434
- return null;
435
- }
436
- return (h("button", { type: "button", "data-name": productId }, label));
437
- })));
438
- }
439
- renderSingleCardRadioControls() {
440
- const selectedProductId = this.selectedProductId || this.getOptionId(this.options[0]);
441
- const useSmallBlocks = this.options.some((option) => (option?.bonuses ?? []).length > 0 || !!option?.optionIcon);
442
- const blocks = this.options.flatMap((option) => {
443
- const productId = this.getOptionId(option);
444
- if (!productId) {
445
- return [];
446
- }
447
- return [{
448
- id: productId,
449
- label: option.optionLabel ?? '',
450
- value: productId,
451
- checked: productId === selectedProductId,
452
- iconName: option.optionIcon ?? '',
453
- description: option.optionDescription ?? '',
454
- secondaryDescription: option.optionSecondaryDescription ?? '',
455
- }];
456
- });
457
- return (h("tet-radio-blocks", { theme: this.theme, blocks: blocks, blockType: useSmallBlocks ? 'small' : 'large', blocksPerRow: useSmallBlocks ? this.smallRadioBlocksPerRow : this.largeRadioBlocksPerRow, accessibilityLabel: this.controlsTitle?.replace(/:\s*$/, '').trim(), onCheck: (event) => this.handleSingleCardControlSelect(event.detail.value) }));
458
- }
459
- /**
460
- * Renders bonus groups for the selected product.
461
- */
462
- renderBonuses() {
463
- const option = this.getSelectedOption();
464
- const groups = option?.bonuses ?? [];
465
- if (groups.length < 1) {
466
- return null;
467
- }
468
- return (h("div", { class: "bonuses" }, groups.map((group) => {
469
- const items = group.items ?? [];
470
- if (!items.length) {
471
- return null;
472
- }
473
- return (h("div", { class: "bonuses__bonus-container" }, !!group.title && h("div", { class: "section-title" }, group.title), items.map((bonus) => {
474
- const attributes = Array.isArray(bonus.dataAttributes) ? undefined : bonus.dataAttributes;
475
- const ElementTag = this.getElementTag(attributes);
476
- const isInteractive = ['a', 'button'].includes(ElementTag);
477
- return (h(ElementTag, { type: ElementTag === 'button' ? 'button' : undefined, class: {
478
- 'bonus': true,
479
- 'bonus--interactive': isInteractive,
480
- }, ...(attributes || {}) }, h("tet-icon", { theme: this.theme, class: "bonus__icon", name: bonus.iconName }), h("span", { class: "bonus__text" }, bonus.name), isInteractive && (h("div", { class: "bonus__chevron-icon-container" }, h("tet-icon", { class: "bonus__icon bonus__icon--chevron", name: "tc-chevron-right-small" })))));
481
- })));
482
- })));
483
- }
484
- /**
485
- * Its first block is the highlighted label; subsequent blocks are descriptions.
486
- */
487
- renderCardLabel(option) {
488
- const cardLabel = option?.cardLabel;
489
- if (!cardLabel) {
490
- return null;
491
- }
492
- const hasBlockContent = /<(?:p|div|ul|ol|h[1-6])\b/i.test(cardLabel);
493
- return hasBlockContent
494
- ? h("div", { class: "card-info", innerHTML: cardLabel })
495
- : h("div", { class: "card-label", innerHTML: cardLabel });
496
- }
497
- renderRadioOptions() {
498
- const selectionOptions = this.getSelectionOptions();
499
- return (h("div", { class: "radio-container" }, selectionOptions.map((option) => (h("div", { class: "radio-wrapper" }, h("tet-radio", { class: "radio", "label-font": "md", theme: this.theme, name: "radio-card-options", label: option.label, value: option.value, checked: this.selectedProductId === option.value, focusStyleOnContainer: true, onCheck: (event) => this.onOptionSelected(event) }))))));
500
- }
501
- renderPrice({ contractPrice: price, basePrice, priceAsText, priceDescription, showDiscount }) {
502
- const parsedPrice = Number.parseFloat(price.replace(',', '.'));
503
- const parsedBasePrice = Number.parseFloat(basePrice.replace(',', '.'));
504
- const hasTextPrice = priceAsText !== undefined;
505
- const showStripedPrice = !hasTextPrice && showDiscount && Number.isFinite(parsedBasePrice);
506
- if (!hasTextPrice && (!price || !Number.isFinite(parsedPrice))) {
507
- return null;
508
- }
509
- return (h("div", { class: "price-wrapper" }, h("div", { class: "price-container" }, h("div", { class: "price-container__price-group" }, h("div", { class: "price-container__price translation-none" }, hasTextPrice ? priceAsText : this.formatPrice(parsedPrice)), !hasTextPrice && (h("div", { class: "price-container__currency" }, h("span", null, this.currency)))), showStripedPrice && (h("div", { class: "price-container__base-price translation-none" }, h("span", null, this.formatPrice(parsedBasePrice)), h("span", null, this.currency)))), priceDescription && h("span", { class: "price-container__description" }, priceDescription)));
510
- }
511
- formatPrice(price) {
512
- return new Intl.NumberFormat(this.language || 'lv', {
513
- minimumFractionDigits: 2,
514
- maximumFractionDigits: 5,
515
- }).format(price);
516
- }
517
- getPriceData(manualProductData, comparisonData, contractTermData) {
518
- const contractPrice = (manualProductData?.discountPrice ??
519
- manualProductData?.price ??
520
- contractTermData?.amount ??
521
- '').toString();
522
- const basePrice = (manualProductData?.price ?? comparisonData?.amount ?? '').toString();
523
- const parsedContractPrice = Number.parseFloat(contractPrice.replace(',', '.'));
524
- const parsedBasePrice = Number.parseFloat(basePrice.replace(',', '.'));
525
- const showDiscount = contractTermData?.showDiscount !== false &&
526
- Number.isFinite(parsedContractPrice) &&
527
- Number.isFinite(parsedBasePrice) &&
528
- parsedBasePrice > parsedContractPrice;
529
- return {
530
- contractPrice,
531
- basePrice,
532
- priceAsText: manualProductData?.priceAsText,
533
- priceDescription: manualProductData?.priceDescription ?? contractTermData?.priceDescription?.[this.language] ?? '',
534
- showDiscount,
535
- };
536
- }
537
- renderControl(selectionOptions) {
538
- switch (this.cardType) {
539
- case 'switcher':
540
- return (h("div", null, this.toggles.map(toggle => this.renderSwitch(toggle))));
541
- case 'single-card':
542
- return this.renderSingleCardControls();
543
- case 'dropdown':
544
- return (h("tet-dropdown", { id: "dropdown", class: "dropdown", theme: this.theme, "button-label": "", "close-on-selection": "true", "flex-layout": "true", options: selectionOptions }));
545
- case 'radio':
546
- return this.renderRadioOptions();
547
- default:
548
- return null;
549
- }
550
- }
551
- renderSingleCardDropdownControls() {
552
- const selectedOption = this.getOptionById(this.selectedProductId);
553
- const dropdownOptions = selectedOption?.dropdownOptions ?? [];
554
- if (dropdownOptions.length === 0) {
555
- return null;
556
- }
557
- const dropdownTitle = selectedOption?.dropdownTitle ?? this.controlsTitle;
558
- const dropdownTooltip = this.getSelectedOption()?.contractTooltip ?? selectedOption?.dropdownTooltip;
559
- const tooltipLabel = this.getTooltipLabel(dropdownTooltip);
560
- const title = dropdownTitle && (h("div", { class: "single-card-dropdown-title" }, h("span", null, dropdownTitle), dropdownTooltip && (h("button", { type: "button", class: "single-card-dropdown-tooltip", "aria-label": tooltipLabel }, h("tet-icon", { name: "tc-info-circle-outline" }), h("tet-tooltip", { theme: this.theme, innerHTML: dropdownTooltip })))));
561
- if (dropdownOptions.length === 1) {
562
- return (h("div", { class: "single-card-dropdown-controls" }, title, h("div", { class: "single-option-label" }, dropdownOptions[0].optionLabel)));
563
- }
564
- const options = dropdownOptions.map((option) => ({
565
- label: option.optionLabel ?? '',
566
- value: this.getOptionId(option),
567
- preselected: this.getOptionId(option) === this.selectedDropdownOptionId,
568
- }));
569
- return (h("div", { class: "single-card-dropdown-controls" }, title, h("tet-dropdown", { class: "single-card-dropdown", theme: this.theme, "button-label": "", "close-on-selection": "true", "flex-layout": "true", options: options })));
570
- }
571
- renderControls() {
572
- const selectionOptions = this.getSelectionOptions();
573
- const hasSingleCardDropdownOptions = this.hasSingleCardDropdownOptions();
574
- const renderTitle = !!this.controlsTitle && this.cardType !== 'static' && !hasSingleCardDropdownOptions;
575
- const control = hasSingleCardDropdownOptions
576
- ? this.renderSingleCardDropdownControls()
577
- : this.renderControl(selectionOptions);
578
- const isSingleCard = this.cardType === 'single-card';
579
- const isSingleCardTabControls = this.singleCardControlType === 'tabs';
580
- const isSingleOption = this.options.length === 1;
581
- if (!control && !hasSingleCardDropdownOptions) {
582
- return null;
583
- }
584
- return (h("div", { class: "controls" }, hasSingleCardDropdownOptions && !!this.singleCardTabsTitle && (h("div", { class: "single-card-tabs-title" }, this.singleCardTabsTitle)), hasSingleCardDropdownOptions && this.renderSingleCardControls(), renderTitle && (h("div", { class: {
585
- 'section-title': true,
586
- 'single-card-tab-controls-title': isSingleCard && isSingleCardTabControls,
587
- 'single-option': isSingleCard && isSingleOption,
588
- } }, this.controlsTitle)), control));
589
- }
590
- getCompleteUrl(baseUrl, productCode, contractTermData) {
591
- const params = new URLSearchParams({ sourceUrl: globalThis.location?.href ?? '' });
592
- if (productCode !== null) {
593
- params.set('contractTerm', String(contractTermData?.term ?? ''));
594
- params.set('product', productCode);
595
- params.set('promotion', contractTermData?.promotionCode ?? '');
596
- params.set('lang', this.language ?? '');
597
- params.set('from', 'tet.lv');
598
- }
599
- try {
600
- const url = new URL(baseUrl);
601
- if (!['http:', 'https:'].includes(url.protocol)) {
602
- return '';
603
- }
604
- params.forEach((value, key) => {
605
- url.searchParams.append(key, value);
606
- });
607
- return url.toString();
608
- }
609
- catch {
610
- return '';
611
- }
612
- }
613
- getTooltipLabel(tooltip) {
614
- if (!tooltip) {
615
- return undefined;
616
- }
617
- return new DOMParser()
618
- .parseFromString(tooltip, 'text/html')
619
- .body.textContent?.replace(/\s+/g, ' ')
620
- .trim();
621
- }
622
- renderContentTop() {
623
- const selectedOption = this.getSelectedOption();
624
- const comparisonData = this.allProductData[this.getOptionId(selectedOption)];
625
- const manualProductData = selectedOption?.productData;
626
- const contractTermData = this.selectedContractTerm();
627
- const overrideProductName = comparisonData?.attributes?.find(attr => attr.key === 'overrideProductName')?.value;
628
- const mainTitle = manualProductData?.name ?? overrideProductName ?? comparisonData?.name?.[this.language];
629
- const priceData = this.getPriceData(manualProductData, comparisonData, contractTermData);
630
- const secondaryLink = this.secondaryLink || manualProductData?.contractUrl || contractTermData?.contract || '';
631
- const shouldRenderSecondaryLink = !!secondaryLink && !!this.secondaryLinkText;
632
- const secondaryLinkTarget = this.secondaryLinkOpenBlank ? '_blank' : undefined;
633
- const secondaryLinkRel = this.secondaryLinkOpenBlank ? 'noopener noreferrer' : undefined;
634
- const baseUrl = comparisonData?.formUrl?.[this.language] || '';
635
- const link = manualProductData
636
- ? this.getCompleteUrl(manualProductData.formUrl, null)
637
- : this.getCompleteUrl(baseUrl, selectedOption?.productCode ?? '', contractTermData);
638
- const titleBadgeText = selectedOption?.titleBadge;
639
- return (h("div", { key: "content-top", class: "content content__top" }, (mainTitle || titleBadgeText) && (h("div", { class: "title-container" }, mainTitle && h("h3", { class: "title" }, mainTitle), titleBadgeText && (h("span", { class: "title-badge" }, h("tet-icon", { class: "title-badge__icon", name: "tc-info-circle" }), titleBadgeText)))), this.renderPrice(priceData), this.renderCardLabel(selectedOption), h("div", { class: "button-wrapper" }, h("tet-button", { class: "button", type: "primary", theme: "light", size: this.buttonSize, url: link, urlTarget: this.linkOpenBlank ? '_blank' : '_self' }, this.buttonTitle)), shouldRenderSecondaryLink && (h("div", { class: "secondary-link" }, h("a", { class: "tet-link", href: secondaryLink, target: secondaryLinkTarget, rel: secondaryLinkRel }, this.secondaryLinkText)))));
640
- }
641
- renderContentBottom() {
642
- return (h("div", { key: "content-bottom", class: "content content__bottom" }, this.showControlsFirst
643
- ? [this.renderControls(), this.renderBonuses()]
644
- : [this.renderBonuses(), this.renderControls()]));
645
- }
646
- /**
647
- * Renders the card body.
648
- * @returns rendered card body.
649
- */
650
- renderCard() {
651
- const selectedOption = this.getSelectedOption();
652
- const isBestChoice = !!selectedOption?.bestChoice;
653
- const isSingleCardDesktop = this.cardType === 'single-card' && this.isSingleCardDesktop;
654
- return (h("div", { class: {
655
- 'card': true,
656
- 'best-choice': isBestChoice,
657
- 'single-card': this.cardType === 'single-card',
658
- } }, this.bestChoiceText && (h("div", { class: { 'best-choice-title': true, 'active': isBestChoice } }, !!this.bestChoiceIconName && (h("tet-icon", { class: "best-choice-title__icon ", name: this.bestChoiceIconName })), h("span", null, this.bestChoiceText))), isSingleCardDesktop
659
- ? [this.renderContentBottom(), this.renderContentTop()]
660
- : [this.renderContentTop(), this.renderContentBottom()]));
661
- }
662
- /**
663
- * Renders the loader.
664
- */
665
- renderLoader() {
666
- return (h("tet-placeholder", { class: { 'card__placeholder': true, 'single-card': this.cardType === 'single-card' }, height: "100%", width: "100%", darkTheme: this.theme === 'dark' }));
667
- }
668
- render() {
669
- return (h(Host, { key: '2f6802f93b8b1f8ca3e1ddf6bf1ef9c791566f22', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
670
- }
671
- static get watchers() { return {
672
- "options": [{
673
- "onOptionsChange": 0
674
- }]
675
- }; }
676
- };
677
- TetCompareCardV3.style = tetCompareCardV3Css();
678
-
679
- export { TetCompareCardV3 as tet_compare_card_v3 };