@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,681 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-BL_zVDFC.js');
4
- require('./http-codes-D7ffzpYW.js');
5
- var productComparison = require('./product-comparison-DUzqZuWv.js');
6
-
7
- 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}}`;
8
-
9
- const TetCompareCardV3 = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.cardLoaded = index.createEvent(this, "cardLoaded");
13
- this.productChanged = index.createEvent(this, "productChanged");
14
- }
15
- buttonSizeBreakpoint = 1280;
16
- singleCardBreakpoint = 1024;
17
- /**
18
- * The size of the button.
19
- */
20
- cardType = 'static';
21
- /**
22
- * Control used to select options when cardType is 'single-card'.
23
- */
24
- singleCardControlType = 'tabs';
25
- /**
26
- * The theme of the card.
27
- */
28
- theme = 'light';
29
- /**
30
- * The language of the component.
31
- */
32
- language = 'lv';
33
- /**
34
- * Product variants available in this card.
35
- * Used as the source for dropdown/radio/switcher selection and to resolve
36
- * the active variant data. Provide `productCode` for API-backed data, or an
37
- * `id` with `productData` for a manually supplied product.
38
- */
39
- options = [];
40
- /**
41
- * Toggle configuration for the `switcher` card type.
42
- */
43
- toggles = [];
44
- /**
45
- * This prop defines selected contract term for the card.
46
- */
47
- contractTerm = 0;
48
- /**
49
- * Defines the title for the controls section.
50
- */
51
- controlsTitle;
52
- /**
53
- * Defines the title displayed above single-card tabs.
54
- */
55
- singleCardTabsTitle;
56
- /**
57
- * This prop defines best choice text for the card.
58
- */
59
- bestChoiceText;
60
- /**
61
- * This prop defines best choice icon name for the card.
62
- */
63
- bestChoiceIconName;
64
- /**
65
- * This prop defines currency for the card.
66
- */
67
- currency = '€/mēn.';
68
- /**
69
- * This prop defines secondary link for the card.
70
- */
71
- secondaryLink = '';
72
- /**
73
- * This prop defines secondary link text for the card.
74
- */
75
- secondaryLinkText = '';
76
- /**
77
- * This prop defines whether the secondary link opens in a new tab.
78
- */
79
- secondaryLinkOpenBlank = false;
80
- /**
81
- * This prop defines button title for the card.
82
- */
83
- buttonTitle = '';
84
- /**
85
- * This prop defines whether the main link (button) opens in a new tab.
86
- */
87
- linkOpenBlank = false;
88
- /**
89
- * Determines whether controls are displayed before bonuses.
90
- */
91
- showControlsFirst = false;
92
- showLoader = true;
93
- selectedProductId = '';
94
- selectedDropdownOptionId = '';
95
- selectedSwitchKeys = [];
96
- preselectedKeys = [];
97
- preselectedProductId = '';
98
- allProductData = {};
99
- preselectedRemountId = 0;
100
- buttonSize = 'large';
101
- isSingleCardDesktop = true;
102
- smallRadioBlocksPerRow = 2;
103
- largeRadioBlocksPerRow = 3;
104
- didEmitCardLoaded = false;
105
- hasFetchedProducts = false;
106
- /**
107
- * Emitted when the card has loaded.
108
- */
109
- cardLoaded;
110
- /**
111
- * Emitted when the selected product has changed.
112
- */
113
- productChanged;
114
- /**
115
- * @param event
116
- */
117
- onOptionSelected(event) {
118
- const productId = event.detail.value;
119
- const selectedOption = this.getOptionById(this.selectedProductId);
120
- const dropdownOption = selectedOption?.dropdownOptions?.find(option => this.getOptionId(option) === productId);
121
- if (dropdownOption) {
122
- this.selectedDropdownOptionId = productId;
123
- this.productChanged.emit();
124
- return;
125
- }
126
- this.selectedProductId = productId;
127
- this.setInitialDropdownOption(this.getOptionById(productId));
128
- this.productChanged.emit();
129
- }
130
- async componentWillLoad() {
131
- this.syncButtonSize();
132
- if (this.cardType === 'single-card') {
133
- this.syncSingleCardBreakpoint();
134
- }
135
- this.fetchProductComparison();
136
- this.initializeSelection();
137
- }
138
- onOptionsChange() {
139
- if (!this.hasFetchedProducts) {
140
- this.initializeSelection();
141
- this.fetchProductComparison();
142
- }
143
- }
144
- initializeSelection() {
145
- switch (this.cardType) {
146
- case 'single-card':
147
- case 'dropdown':
148
- case 'radio': {
149
- const selectedOption = this.options.find(option => option.preselected) ?? this.options[0];
150
- if (selectedOption) {
151
- this.selectedProductId = this.getOptionId(selectedOption);
152
- this.setInitialDropdownOption(selectedOption);
153
- this.productChanged.emit();
154
- }
155
- break;
156
- }
157
- case 'switcher': {
158
- const preselected = this.options.find(option => option.preselected);
159
- if (preselected) {
160
- this.preselectedKeys = [...preselected.keys ?? []];
161
- this.preselectedProductId = this.getOptionId(preselected);
162
- this.selectedSwitchKeys = [...preselected.keys ?? []];
163
- this.selectedProductId = this.getOptionId(preselected);
164
- this.productChanged.emit();
165
- }
166
- break;
167
- }
168
- case 'static':
169
- this.selectedProductId = this.getOptionId(this.options[0]);
170
- this.productChanged.emit();
171
- break;
172
- }
173
- }
174
- componentDidRender() {
175
- if (!this.showLoader && !this.didEmitCardLoaded) {
176
- this.didEmitCardLoaded = true;
177
- this.cardLoaded.emit();
178
- }
179
- }
180
- onResize() {
181
- this.syncButtonSize();
182
- if (this.cardType === 'single-card') {
183
- this.syncSingleCardBreakpoint();
184
- }
185
- }
186
- syncButtonSize() {
187
- if (globalThis.window === undefined) {
188
- this.buttonSize = 'large';
189
- return;
190
- }
191
- const nextButtonSize = globalThis.window.innerWidth < this.buttonSizeBreakpoint
192
- ? 'medium'
193
- : 'large';
194
- if (this.buttonSize !== nextButtonSize) {
195
- this.buttonSize = nextButtonSize;
196
- }
197
- }
198
- syncSingleCardBreakpoint() {
199
- if (globalThis.window === undefined) {
200
- this.isSingleCardDesktop = true;
201
- this.smallRadioBlocksPerRow = 2;
202
- this.largeRadioBlocksPerRow = 3;
203
- return;
204
- }
205
- const width = globalThis.window.innerWidth;
206
- const nextIsSingleCardDesktop = width >= this.singleCardBreakpoint;
207
- if (this.isSingleCardDesktop !== nextIsSingleCardDesktop) {
208
- this.isSingleCardDesktop = nextIsSingleCardDesktop;
209
- }
210
- if (this.singleCardControlType === 'radio') {
211
- this.smallRadioBlocksPerRow = width < 768 || (width >= 1024 && width < 1280) ? 1 : 2;
212
- this.largeRadioBlocksPerRow = (width >= 768 && width < 1024) || width >= 1440 ? 3 : 2;
213
- }
214
- }
215
- getOptionId(option) {
216
- return option?.id ?? option?.productCode ?? '';
217
- }
218
- getOptionById(productId) {
219
- return this.options.find(option => this.getOptionId(option) === productId);
220
- }
221
- getProductOptions() {
222
- return this.options.reduce((productOptions, option) => {
223
- return [...productOptions, ...(option.dropdownOptions?.length ? option.dropdownOptions : [option])];
224
- }, []);
225
- }
226
- /** Returns whether the initial loaded render has completed and cardLoaded has been emitted. */
227
- async isLoaded() {
228
- return this.didEmitCardLoaded;
229
- }
230
- /** Returns loaded API product data with a complete form URL for each contract term. */
231
- async getProductByCode(code) {
232
- const option = this.getProductOptions().find(option => option.productCode === code);
233
- const product = option ? this.allProductData[this.getOptionId(option)] : undefined;
234
- if (!product) {
235
- return undefined;
236
- }
237
- const baseUrl = product.formUrl?.[this.language] ?? '';
238
- return {
239
- ...product,
240
- contractTerms: product.contractTerms?.map(term => ({
241
- ...term,
242
- completeUrl: this.getCompleteUrl(baseUrl, code, term)
243
- }))
244
- };
245
- }
246
- getSelectedOption() {
247
- const selectedOption = this.getOptionById(this.selectedProductId);
248
- const dropdownOptions = selectedOption?.dropdownOptions ?? [];
249
- if (!dropdownOptions.length) {
250
- return selectedOption;
251
- }
252
- return dropdownOptions.find(option => this.getOptionId(option) === this.selectedDropdownOptionId)
253
- ?? dropdownOptions.find(option => option.preselected)
254
- ?? dropdownOptions[0];
255
- }
256
- hasSingleCardDropdownOptions() {
257
- return this.cardType === 'single-card' && this.options.some(option => option.dropdownOptions?.length);
258
- }
259
- setInitialDropdownOption(option) {
260
- const dropdownOptions = option?.dropdownOptions ?? [];
261
- const selectedOption = dropdownOptions.find(dropdownOption => dropdownOption.preselected) ?? dropdownOptions[0];
262
- this.selectedDropdownOptionId = this.getOptionId(selectedOption);
263
- }
264
- getSelectionOptions() {
265
- return this.options.map((option) => ({
266
- label: option.optionLabel || '',
267
- value: this.getOptionId(option),
268
- preselected: this.getOptionId(option) === this.selectedProductId,
269
- }));
270
- }
271
- /**
272
- * Resolves a product selection key by matching an exact toggle-key combination.
273
- */
274
- getToggledProductId(keys) {
275
- const sortedKeys = [...keys].sort((a, b) => a.localeCompare(b)).join(',');
276
- const found = this.options.find(option => [...option.keys ?? []].sort((a, b) => a.localeCompare(b)).join(',') === sortedKeys);
277
- return found ? this.getOptionId(found) : null;
278
- }
279
- /**
280
- * Handles switch interactions and keeps selection in a valid state.
281
- */
282
- handleSwitchToggle(key, checked) {
283
- const toggle = this.toggles.find(toggle => toggle.toggleKey === key);
284
- let activeKeys = [...this.selectedSwitchKeys];
285
- if (checked) {
286
- if (toggle?.selectAll) {
287
- const fullCombo = this.getFullComboToggleOption();
288
- if (fullCombo) {
289
- this.selectedSwitchKeys = [...fullCombo.keys ?? []];
290
- this.selectedProductId = this.getOptionId(fullCombo);
291
- this.productChanged.emit();
292
- return;
293
- }
294
- }
295
- if (!activeKeys.includes(key))
296
- activeKeys.push(key);
297
- }
298
- else {
299
- const newActiveKeys = activeKeys.filter(k => k !== key);
300
- if (newActiveKeys.length === 0) {
301
- this.selectedSwitchKeys = [...this.preselectedKeys];
302
- this.selectedProductId = this.preselectedProductId;
303
- this.preselectedRemountId++;
304
- this.productChanged.emit();
305
- return;
306
- }
307
- const validProductId = this.getToggledProductId(newActiveKeys);
308
- if (validProductId) {
309
- this.selectedSwitchKeys = newActiveKeys;
310
- this.selectedProductId = validProductId;
311
- this.productChanged.emit();
312
- return;
313
- }
314
- this.selectedSwitchKeys = [...this.preselectedKeys];
315
- this.selectedProductId = this.preselectedProductId;
316
- this.preselectedRemountId++;
317
- this.productChanged.emit();
318
- return;
319
- }
320
- activeKeys = activeKeys.sort((a, b) => a.localeCompare(b));
321
- const productId = this.getToggledProductId(activeKeys);
322
- this.selectedSwitchKeys = activeKeys;
323
- if (productId) {
324
- this.selectedProductId = productId;
325
- this.productChanged.emit();
326
- }
327
- else {
328
- this.selectedProductId = this.preselectedProductId;
329
- this.selectedSwitchKeys = [...this.preselectedKeys];
330
- this.preselectedRemountId++;
331
- this.productChanged.emit();
332
- }
333
- }
334
- /**
335
- * Returns option with the most keys (used by select-all switch behavior).
336
- */
337
- getFullComboToggleOption() {
338
- if (!this.options.length) {
339
- return null;
340
- }
341
- return this.options.reduce((max, curr) => (curr.keys ?? []).length > (max.keys ?? []).length ? curr : max, this.options[0]);
342
- }
343
- async fetchProductComparison() {
344
- if (this.hasFetchedProducts) {
345
- return;
346
- }
347
- const productCodes = Array.from(new Set(this.getProductOptions()
348
- .filter(option => !option.productData)
349
- .map(option => option.productCode)
350
- .filter(Boolean)));
351
- let fetchedProductData = {};
352
- if (productCodes.length) {
353
- this.hasFetchedProducts = true;
354
- this.showLoader = true;
355
- try {
356
- const response = await productComparison.productComparison(productCodes.join(','));
357
- fetchedProductData = response['products'] || {};
358
- }
359
- catch (error) {
360
- console.error(error);
361
- }
362
- }
363
- this.allProductData = this.getProductOptions().reduce((productData, option) => {
364
- const productId = this.getOptionId(option);
365
- const data = option.productCode ? fetchedProductData[option.productCode] : undefined;
366
- if (productId && data) {
367
- productData[productId] = data;
368
- }
369
- return productData;
370
- }, {});
371
- this.showLoader = false;
372
- }
373
- /**
374
- * Returns contract term data matching current `contractTerm` prop.
375
- */
376
- selectedContractTerm() {
377
- const selectedOption = this.getSelectedOption();
378
- const contractTerms = this.allProductData[this.getOptionId(selectedOption)]?.contractTerms;
379
- if (!contractTerms?.length) {
380
- return;
381
- }
382
- const contractTerm = selectedOption?.contractTerm ?? this.contractTerm;
383
- return contractTerms.find((term) => term.term === contractTerm);
384
- }
385
- /**
386
- * Chooses semantic element tag from provided data attributes.
387
- */
388
- getElementTag(attributes) {
389
- if (attributes?.href?.trim()) {
390
- return 'a';
391
- }
392
- const modalKey = attributes?.['data-modal-screen-key']?.trim();
393
- const role = attributes?.role?.trim().toLowerCase();
394
- if (modalKey || role === 'button') {
395
- return 'button';
396
- }
397
- return 'div';
398
- }
399
- renderSwitch(toggle) {
400
- const { toggleKey, icon, name } = toggle;
401
- if (!toggleKey) {
402
- return null;
403
- }
404
- const isPreselected = this.preselectedKeys.includes(toggleKey);
405
- const switchKey = isPreselected
406
- ? `${toggleKey}-${this.preselectedRemountId}`
407
- : toggleKey;
408
- return (index.h("div", { class: "switch-wrapper" }, index.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 }, index.h("div", { class: "switch-label" }, index.h("tet-icon", { theme: this.theme, class: "benefit__icon", name: icon }), name))));
409
- }
410
- handleSingleCardControlSelect(productId) {
411
- const option = this.getOptionById(productId);
412
- if (!option) {
413
- return;
414
- }
415
- this.selectedProductId = productId;
416
- this.setInitialDropdownOption(option);
417
- this.productChanged.emit();
418
- }
419
- renderSingleCardControls() {
420
- const defaultTab = this.selectedProductId || this.getOptionId(this.options[0]);
421
- const isSingleOption = this.options.length === 1;
422
- if (this.hasSingleCardDropdownOptions() && isSingleOption) {
423
- return null;
424
- }
425
- if (isSingleOption) {
426
- const label = this.options[0].optionLabel ?? '';
427
- return (index.h("div", { class: "single-option-label" }, label));
428
- }
429
- if (this.singleCardControlType === 'radio') {
430
- return this.renderSingleCardRadioControls();
431
- }
432
- return (index.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) => {
433
- const productId = this.getOptionId(option);
434
- const label = option.optionLabel ?? '';
435
- if (!productId) {
436
- return null;
437
- }
438
- return (index.h("button", { type: "button", "data-name": productId }, label));
439
- })));
440
- }
441
- renderSingleCardRadioControls() {
442
- const selectedProductId = this.selectedProductId || this.getOptionId(this.options[0]);
443
- const useSmallBlocks = this.options.some((option) => (option?.bonuses ?? []).length > 0 || !!option?.optionIcon);
444
- const blocks = this.options.flatMap((option) => {
445
- const productId = this.getOptionId(option);
446
- if (!productId) {
447
- return [];
448
- }
449
- return [{
450
- id: productId,
451
- label: option.optionLabel ?? '',
452
- value: productId,
453
- checked: productId === selectedProductId,
454
- iconName: option.optionIcon ?? '',
455
- description: option.optionDescription ?? '',
456
- secondaryDescription: option.optionSecondaryDescription ?? '',
457
- }];
458
- });
459
- return (index.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) }));
460
- }
461
- /**
462
- * Renders bonus groups for the selected product.
463
- */
464
- renderBonuses() {
465
- const option = this.getSelectedOption();
466
- const groups = option?.bonuses ?? [];
467
- if (groups.length < 1) {
468
- return null;
469
- }
470
- return (index.h("div", { class: "bonuses" }, groups.map((group) => {
471
- const items = group.items ?? [];
472
- if (!items.length) {
473
- return null;
474
- }
475
- return (index.h("div", { class: "bonuses__bonus-container" }, !!group.title && index.h("div", { class: "section-title" }, group.title), items.map((bonus) => {
476
- const attributes = Array.isArray(bonus.dataAttributes) ? undefined : bonus.dataAttributes;
477
- const ElementTag = this.getElementTag(attributes);
478
- const isInteractive = ['a', 'button'].includes(ElementTag);
479
- return (index.h(ElementTag, { type: ElementTag === 'button' ? 'button' : undefined, class: {
480
- 'bonus': true,
481
- 'bonus--interactive': isInteractive,
482
- }, ...(attributes || {}) }, index.h("tet-icon", { theme: this.theme, class: "bonus__icon", name: bonus.iconName }), index.h("span", { class: "bonus__text" }, bonus.name), isInteractive && (index.h("div", { class: "bonus__chevron-icon-container" }, index.h("tet-icon", { class: "bonus__icon bonus__icon--chevron", name: "tc-chevron-right-small" })))));
483
- })));
484
- })));
485
- }
486
- /**
487
- * Its first block is the highlighted label; subsequent blocks are descriptions.
488
- */
489
- renderCardLabel(option) {
490
- const cardLabel = option?.cardLabel;
491
- if (!cardLabel) {
492
- return null;
493
- }
494
- const hasBlockContent = /<(?:p|div|ul|ol|h[1-6])\b/i.test(cardLabel);
495
- return hasBlockContent
496
- ? index.h("div", { class: "card-info", innerHTML: cardLabel })
497
- : index.h("div", { class: "card-label", innerHTML: cardLabel });
498
- }
499
- renderRadioOptions() {
500
- const selectionOptions = this.getSelectionOptions();
501
- return (index.h("div", { class: "radio-container" }, selectionOptions.map((option) => (index.h("div", { class: "radio-wrapper" }, index.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) }))))));
502
- }
503
- renderPrice({ contractPrice: price, basePrice, priceAsText, priceDescription, showDiscount }) {
504
- const parsedPrice = Number.parseFloat(price.replace(',', '.'));
505
- const parsedBasePrice = Number.parseFloat(basePrice.replace(',', '.'));
506
- const hasTextPrice = priceAsText !== undefined;
507
- const showStripedPrice = !hasTextPrice && showDiscount && Number.isFinite(parsedBasePrice);
508
- if (!hasTextPrice && (!price || !Number.isFinite(parsedPrice))) {
509
- return null;
510
- }
511
- return (index.h("div", { class: "price-wrapper" }, index.h("div", { class: "price-container" }, index.h("div", { class: "price-container__price-group" }, index.h("div", { class: "price-container__price translation-none" }, hasTextPrice ? priceAsText : this.formatPrice(parsedPrice)), !hasTextPrice && (index.h("div", { class: "price-container__currency" }, index.h("span", null, this.currency)))), showStripedPrice && (index.h("div", { class: "price-container__base-price translation-none" }, index.h("span", null, this.formatPrice(parsedBasePrice)), index.h("span", null, this.currency)))), priceDescription && index.h("span", { class: "price-container__description" }, priceDescription)));
512
- }
513
- formatPrice(price) {
514
- return new Intl.NumberFormat(this.language || 'lv', {
515
- minimumFractionDigits: 2,
516
- maximumFractionDigits: 5,
517
- }).format(price);
518
- }
519
- getPriceData(manualProductData, comparisonData, contractTermData) {
520
- const contractPrice = (manualProductData?.discountPrice ??
521
- manualProductData?.price ??
522
- contractTermData?.amount ??
523
- '').toString();
524
- const basePrice = (manualProductData?.price ?? comparisonData?.amount ?? '').toString();
525
- const parsedContractPrice = Number.parseFloat(contractPrice.replace(',', '.'));
526
- const parsedBasePrice = Number.parseFloat(basePrice.replace(',', '.'));
527
- const showDiscount = contractTermData?.showDiscount !== false &&
528
- Number.isFinite(parsedContractPrice) &&
529
- Number.isFinite(parsedBasePrice) &&
530
- parsedBasePrice > parsedContractPrice;
531
- return {
532
- contractPrice,
533
- basePrice,
534
- priceAsText: manualProductData?.priceAsText,
535
- priceDescription: manualProductData?.priceDescription ?? contractTermData?.priceDescription?.[this.language] ?? '',
536
- showDiscount,
537
- };
538
- }
539
- renderControl(selectionOptions) {
540
- switch (this.cardType) {
541
- case 'switcher':
542
- return (index.h("div", null, this.toggles.map(toggle => this.renderSwitch(toggle))));
543
- case 'single-card':
544
- return this.renderSingleCardControls();
545
- case 'dropdown':
546
- return (index.h("tet-dropdown", { id: "dropdown", class: "dropdown", theme: this.theme, "button-label": "", "close-on-selection": "true", "flex-layout": "true", options: selectionOptions }));
547
- case 'radio':
548
- return this.renderRadioOptions();
549
- default:
550
- return null;
551
- }
552
- }
553
- renderSingleCardDropdownControls() {
554
- const selectedOption = this.getOptionById(this.selectedProductId);
555
- const dropdownOptions = selectedOption?.dropdownOptions ?? [];
556
- if (dropdownOptions.length === 0) {
557
- return null;
558
- }
559
- const dropdownTitle = selectedOption?.dropdownTitle ?? this.controlsTitle;
560
- const dropdownTooltip = this.getSelectedOption()?.contractTooltip ?? selectedOption?.dropdownTooltip;
561
- const tooltipLabel = this.getTooltipLabel(dropdownTooltip);
562
- const title = dropdownTitle && (index.h("div", { class: "single-card-dropdown-title" }, index.h("span", null, dropdownTitle), dropdownTooltip && (index.h("button", { type: "button", class: "single-card-dropdown-tooltip", "aria-label": tooltipLabel }, index.h("tet-icon", { name: "tc-info-circle-outline" }), index.h("tet-tooltip", { theme: this.theme, innerHTML: dropdownTooltip })))));
563
- if (dropdownOptions.length === 1) {
564
- return (index.h("div", { class: "single-card-dropdown-controls" }, title, index.h("div", { class: "single-option-label" }, dropdownOptions[0].optionLabel)));
565
- }
566
- const options = dropdownOptions.map((option) => ({
567
- label: option.optionLabel ?? '',
568
- value: this.getOptionId(option),
569
- preselected: this.getOptionId(option) === this.selectedDropdownOptionId,
570
- }));
571
- return (index.h("div", { class: "single-card-dropdown-controls" }, title, index.h("tet-dropdown", { class: "single-card-dropdown", theme: this.theme, "button-label": "", "close-on-selection": "true", "flex-layout": "true", options: options })));
572
- }
573
- renderControls() {
574
- const selectionOptions = this.getSelectionOptions();
575
- const hasSingleCardDropdownOptions = this.hasSingleCardDropdownOptions();
576
- const renderTitle = !!this.controlsTitle && this.cardType !== 'static' && !hasSingleCardDropdownOptions;
577
- const control = hasSingleCardDropdownOptions
578
- ? this.renderSingleCardDropdownControls()
579
- : this.renderControl(selectionOptions);
580
- const isSingleCard = this.cardType === 'single-card';
581
- const isSingleCardTabControls = this.singleCardControlType === 'tabs';
582
- const isSingleOption = this.options.length === 1;
583
- if (!control && !hasSingleCardDropdownOptions) {
584
- return null;
585
- }
586
- return (index.h("div", { class: "controls" }, hasSingleCardDropdownOptions && !!this.singleCardTabsTitle && (index.h("div", { class: "single-card-tabs-title" }, this.singleCardTabsTitle)), hasSingleCardDropdownOptions && this.renderSingleCardControls(), renderTitle && (index.h("div", { class: {
587
- 'section-title': true,
588
- 'single-card-tab-controls-title': isSingleCard && isSingleCardTabControls,
589
- 'single-option': isSingleCard && isSingleOption,
590
- } }, this.controlsTitle)), control));
591
- }
592
- getCompleteUrl(baseUrl, productCode, contractTermData) {
593
- const params = new URLSearchParams({ sourceUrl: globalThis.location?.href ?? '' });
594
- if (productCode !== null) {
595
- params.set('contractTerm', String(contractTermData?.term ?? ''));
596
- params.set('product', productCode);
597
- params.set('promotion', contractTermData?.promotionCode ?? '');
598
- params.set('lang', this.language ?? '');
599
- params.set('from', 'tet.lv');
600
- }
601
- try {
602
- const url = new URL(baseUrl);
603
- if (!['http:', 'https:'].includes(url.protocol)) {
604
- return '';
605
- }
606
- params.forEach((value, key) => {
607
- url.searchParams.append(key, value);
608
- });
609
- return url.toString();
610
- }
611
- catch {
612
- return '';
613
- }
614
- }
615
- getTooltipLabel(tooltip) {
616
- if (!tooltip) {
617
- return undefined;
618
- }
619
- return new DOMParser()
620
- .parseFromString(tooltip, 'text/html')
621
- .body.textContent?.replace(/\s+/g, ' ')
622
- .trim();
623
- }
624
- renderContentTop() {
625
- const selectedOption = this.getSelectedOption();
626
- const comparisonData = this.allProductData[this.getOptionId(selectedOption)];
627
- const manualProductData = selectedOption?.productData;
628
- const contractTermData = this.selectedContractTerm();
629
- const overrideProductName = comparisonData?.attributes?.find(attr => attr.key === 'overrideProductName')?.value;
630
- const mainTitle = manualProductData?.name ?? overrideProductName ?? comparisonData?.name?.[this.language];
631
- const priceData = this.getPriceData(manualProductData, comparisonData, contractTermData);
632
- const secondaryLink = this.secondaryLink || manualProductData?.contractUrl || contractTermData?.contract || '';
633
- const shouldRenderSecondaryLink = !!secondaryLink && !!this.secondaryLinkText;
634
- const secondaryLinkTarget = this.secondaryLinkOpenBlank ? '_blank' : undefined;
635
- const secondaryLinkRel = this.secondaryLinkOpenBlank ? 'noopener noreferrer' : undefined;
636
- const baseUrl = comparisonData?.formUrl?.[this.language] || '';
637
- const link = manualProductData
638
- ? this.getCompleteUrl(manualProductData.formUrl, null)
639
- : this.getCompleteUrl(baseUrl, selectedOption?.productCode ?? '', contractTermData);
640
- const titleBadgeText = selectedOption?.titleBadge;
641
- return (index.h("div", { key: "content-top", class: "content content__top" }, (mainTitle || titleBadgeText) && (index.h("div", { class: "title-container" }, mainTitle && index.h("h3", { class: "title" }, mainTitle), titleBadgeText && (index.h("span", { class: "title-badge" }, index.h("tet-icon", { class: "title-badge__icon", name: "tc-info-circle" }), titleBadgeText)))), this.renderPrice(priceData), this.renderCardLabel(selectedOption), index.h("div", { class: "button-wrapper" }, index.h("tet-button", { class: "button", type: "primary", theme: "light", size: this.buttonSize, url: link, urlTarget: this.linkOpenBlank ? '_blank' : '_self' }, this.buttonTitle)), shouldRenderSecondaryLink && (index.h("div", { class: "secondary-link" }, index.h("a", { class: "tet-link", href: secondaryLink, target: secondaryLinkTarget, rel: secondaryLinkRel }, this.secondaryLinkText)))));
642
- }
643
- renderContentBottom() {
644
- return (index.h("div", { key: "content-bottom", class: "content content__bottom" }, this.showControlsFirst
645
- ? [this.renderControls(), this.renderBonuses()]
646
- : [this.renderBonuses(), this.renderControls()]));
647
- }
648
- /**
649
- * Renders the card body.
650
- * @returns rendered card body.
651
- */
652
- renderCard() {
653
- const selectedOption = this.getSelectedOption();
654
- const isBestChoice = !!selectedOption?.bestChoice;
655
- const isSingleCardDesktop = this.cardType === 'single-card' && this.isSingleCardDesktop;
656
- return (index.h("div", { class: {
657
- 'card': true,
658
- 'best-choice': isBestChoice,
659
- 'single-card': this.cardType === 'single-card',
660
- } }, this.bestChoiceText && (index.h("div", { class: { 'best-choice-title': true, 'active': isBestChoice } }, !!this.bestChoiceIconName && (index.h("tet-icon", { class: "best-choice-title__icon ", name: this.bestChoiceIconName })), index.h("span", null, this.bestChoiceText))), isSingleCardDesktop
661
- ? [this.renderContentBottom(), this.renderContentTop()]
662
- : [this.renderContentTop(), this.renderContentBottom()]));
663
- }
664
- /**
665
- * Renders the loader.
666
- */
667
- renderLoader() {
668
- return (index.h("tet-placeholder", { class: { 'card__placeholder': true, 'single-card': this.cardType === 'single-card' }, height: "100%", width: "100%", darkTheme: this.theme === 'dark' }));
669
- }
670
- render() {
671
- return (index.h(index.Host, { key: '2f6802f93b8b1f8ca3e1ddf6bf1ef9c791566f22', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
672
- }
673
- static get watchers() { return {
674
- "options": [{
675
- "onOptionsChange": 0
676
- }]
677
- }; }
678
- };
679
- TetCompareCardV3.style = tetCompareCardV3Css();
680
-
681
- exports.tet_compare_card_v3 = TetCompareCardV3;