@tet/tet-components 1.4.157-testing → 1.4.158-production

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 (590) hide show
  1. package/dist/cjs/format-program-start-date-zxseYpV_.js +151 -0
  2. package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-BEt9xtqF.js} +2 -1
  3. package/dist/cjs/{index-BL_zVDFC.js → index-puzHM5yZ.js} +21 -21
  4. package/dist/cjs/{index-Dzs7Nkbj.js → index-t4WNVvo_.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-CkjpMhjy.js} +1 -1
  7. package/dist/cjs/{service-availability-services-BXL7V5i1.js → service-availability-services-CcQ-evt-.js} +1 -1
  8. package/dist/cjs/{string-D0kCSyUd.js → string-CL-wkThZ.js} +0 -4
  9. package/dist/cjs/tet-accordion.cjs.entry.js +8 -8
  10. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
  11. package/dist/cjs/tet-address-offers-v2.cjs.entry.js +6 -6
  12. package/dist/cjs/tet-address-offers-view-v2.cjs.entry.js +6 -6
  13. package/dist/cjs/tet-address-offers-view.cjs.entry.js +5 -5
  14. package/dist/cjs/tet-address-offers_3.cjs.entry.js +7 -7
  15. package/dist/cjs/tet-address-search_2.cjs.entry.js +9 -9
  16. package/dist/cjs/tet-assembler_3.cjs.entry.js +5 -5
  17. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +3 -3
  18. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
  19. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +7 -7
  20. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
  21. package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
  22. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
  24. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
  26. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  27. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
  29. package/dist/cjs/tet-carousel.cjs.entry.js +10 -10
  30. package/dist/cjs/{tet-checkbox_3.cjs.entry.js → tet-checkbox_2.cjs.entry.js} +1 -453
  31. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
  32. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
  33. package/dist/cjs/tet-colors.cjs.entry.js +5 -5
  34. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  35. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  36. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
  37. package/dist/cjs/tet-components.cjs.js +2 -2
  38. package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
  39. package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
  40. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
  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 +4 -4
  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 +4 -4
  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 +5 -5
  63. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +7 -7
  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 +5 -5
  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 +4 -4
  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 +5 -5
  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 +2 -2
  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 +6 -6
  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 +4 -4
  90. package/dist/cjs/tet-tooltip.cjs.entry.js +456 -0
  91. package/dist/cjs/tet-tv-program-channel-picker_3.cjs.entry.js +1465 -0
  92. package/dist/cjs/tet-tv-program-item.cjs.entry.js +217 -0
  93. package/dist/cjs/tet-tv-program-placeholders-C4m4UB1-.js +22 -0
  94. package/dist/cjs/tet-tv-program.cjs.entry.js +642 -3
  95. package/dist/cjs/{translations-Uvcq4kv8.js → translations-c8BeO6Gg.js} +2 -2
  96. package/dist/cjs/{typecheck--Bs-bZ_K.js → typecheck-Do6mN8Vg.js} +0 -2
  97. package/dist/collection/collection-manifest.json +3 -1
  98. package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
  99. package/dist/collection/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.js +1 -1
  100. package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
  101. package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
  102. package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
  103. package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
  104. package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +1 -1
  105. package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
  106. package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
  107. package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
  108. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
  109. package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
  110. package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
  111. package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
  112. package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
  113. package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
  114. package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
  115. package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
  116. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
  117. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
  118. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
  119. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
  120. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
  121. package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
  122. package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
  123. package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
  124. package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
  125. package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
  126. package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +1 -1
  127. package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
  128. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +5 -1
  129. package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
  130. package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
  131. package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
  132. package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
  133. package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
  134. package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.js +2 -2
  135. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.css +21 -8
  136. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.js +59 -39
  137. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.css +52 -36
  138. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.js +24 -30
  139. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.css +352 -0
  140. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.js +488 -0
  141. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.js +45 -0
  142. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.css +567 -0
  143. package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.js +1309 -0
  144. package/dist/collection/components/views/tet-tv-program/test/mock-schedule-layout.js +74 -0
  145. package/dist/collection/components/views/tet-tv-program/tet-tv-program-placeholders.js +8 -0
  146. package/dist/collection/components/views/tet-tv-program/tet-tv-program.css +777 -0
  147. package/dist/collection/components/views/tet-tv-program/tet-tv-program.js +638 -2
  148. package/dist/collection/components/views/tet-tv-program/tet-tv-program.types.js +1 -0
  149. package/dist/collection/components/views/tet-tv-program/utils/broadcast-time.js +26 -0
  150. package/dist/collection/components/views/tet-tv-program/utils/fill-program-gaps.js +44 -0
  151. package/dist/collection/components/views/tet-tv-program/utils/format-program-start-date.js +13 -0
  152. package/dist/collection/components/views/tet-tv-program/utils/tooltip-lifecycle.js +132 -0
  153. package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
  154. package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
  155. package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
  156. package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
  157. package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
  158. package/dist/collection/docs/styling/link/tet-link.js +1 -1
  159. package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
  160. package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
  161. package/dist/collection/services/api/index.js +1 -0
  162. package/dist/collection/services/api/services/tv/tv-program-types.js +1 -0
  163. package/dist/collection/services/api/services/tv/tv-program.js +31 -0
  164. package/dist/collection/services/utils/date.js +7 -0
  165. package/dist/collection/services/utils/index.js +1 -0
  166. package/dist/components/index.js +1 -1
  167. package/dist/components/{p-B9bE6qY-.js → p--_RUy11E.js} +1 -1
  168. package/dist/components/p-B-Tjx5SX.js +1 -0
  169. package/dist/components/{p-CgV4zAwQ.js → p-B4UX_mB_.js} +1 -1
  170. package/dist/components/{p-p-J7NvGs.js → p-B73K4uEg.js} +1 -1
  171. package/dist/components/{p-BztqMLE1.js → p-BAf_O-kb.js} +1 -1
  172. package/dist/components/{p-BcVrianM.js → p-BOsv3j3J.js} +1 -1
  173. package/dist/components/p-BQ5mo25G.js +1 -0
  174. package/dist/components/{p-BI70OOEF.js → p-BQjtvIgJ.js} +1 -1
  175. package/dist/components/p-BTZzfMYY.js +1 -0
  176. package/dist/components/{p-C-sZ3Bzu.js → p-BX98BUpV.js} +1 -1
  177. package/dist/components/p-Bdbn4prA.js +8 -0
  178. package/dist/components/{p-CF15dAPd.js → p-BjM9vx9w.js} +1 -1
  179. package/dist/components/{p-nKvolHsW.js → p-BkXzaJcc.js} +1 -1
  180. package/dist/components/{p-CYMnJi7q.js → p-ByM3JujT.js} +1 -1
  181. package/dist/components/{p-B5HqUnpw.js → p-C2nyJwDX.js} +1 -1
  182. package/dist/components/{p-CJnk1Plz.js → p-C50q8-fi.js} +1 -1
  183. package/dist/components/{p-DXQ-UeYl.js → p-C5f1C5m_.js} +1 -1
  184. package/dist/components/{p-t_FgKIcd.js → p-CEyoGS5R.js} +1 -1
  185. package/dist/components/{p-BrPUjt5B.js → p-CI8FUu6q.js} +1 -1
  186. package/dist/components/{p-CMxcvnRv.js → p-CKWJROPt.js} +1 -1
  187. package/dist/components/{p-B-1KdQSL.js → p-CVhyWWJA.js} +1 -1
  188. package/dist/components/p-CWuhYFDW.js +1 -0
  189. package/dist/components/{p-44eECwiT.js → p-CXjWLDzk.js} +1 -1
  190. package/dist/components/p-C_Jw5r9B.js +1 -0
  191. package/dist/components/{p-vu71OGLf.js → p-ClXBenaN.js} +1 -1
  192. package/dist/components/{p-B60jnxEn.js → p-ClkvaRio.js} +1 -1
  193. package/dist/components/{p-HzogPVbA.js → p-D323rUMJ.js} +1 -1
  194. package/dist/components/{p-C4uKGuRj.js → p-D4MolLd8.js} +1 -1
  195. package/dist/components/{p-CPGJg5Si.js → p-D4k1E1mH.js} +1 -1
  196. package/dist/components/p-D5YRHMvl.js +1 -0
  197. package/dist/components/p-D9QC8S_K.js +1 -0
  198. package/dist/components/{p-DikHJHTd.js → p-DBK9GhUz.js} +1 -1
  199. package/dist/components/{p-Bho4Xl9R.js → p-DCeNW6E9.js} +1 -1
  200. package/dist/components/{p-C32vgbsV.js → p-DIpqXULQ.js} +1 -1
  201. package/dist/components/p-DPGMd9pW.js +1 -0
  202. package/dist/components/{p-C61jDpta.js → p-DTOuhcpL.js} +1 -1
  203. package/dist/components/{p-DN2JwXg9.js → p-DZRioc0D.js} +1 -1
  204. package/dist/components/{p-B1d6HEqd.js → p-DZecnsEu.js} +1 -1
  205. package/dist/components/{p-CZach5oP.js → p-DezVRSSN.js} +1 -1
  206. package/dist/components/{p-CDUvchOX.js → p-DiSdptzb.js} +1 -1
  207. package/dist/components/{p-lEX8wezw.js → p-DoCUcvkE.js} +1 -1
  208. package/dist/components/{p-Bsqoxd9G.js → p-DobMlMDf.js} +1 -1
  209. package/dist/components/{p-BD6bBnqr.js → p-Dr3_Xm0C.js} +1 -1
  210. package/dist/components/{p-DnPS3TWn.js → p-JrKx7ojI.js} +1 -1
  211. package/dist/components/{p-mVj43aKR.js → p-OAkgt412.js} +1 -1
  212. package/dist/components/{p-Cb2bEUmu.js → p-QcD5cCtX.js} +1 -1
  213. package/dist/components/{p-D8avEs-F.js → p-QlXxBzaI.js} +1 -1
  214. package/dist/components/{p-Mpe-2CVQ.js → p-QlyBltAE.js} +1 -1
  215. package/dist/components/{p-CwZljiBM.js → p-R45gvsNR.js} +1 -1
  216. package/dist/components/{p-sgozlrhg.js → p-RQYdSAu8.js} +1 -1
  217. package/dist/components/{p-CvUaogvc.js → p-RcwM6MVX.js} +1 -1
  218. package/dist/components/p-S9EUQFLQ.js +1 -0
  219. package/dist/components/{p-Bc4oqt_L.js → p-W3LV-Z7z.js} +1 -1
  220. package/dist/components/p-_2UzwYR8.js +1 -0
  221. package/dist/components/{p-DKZxpjnL.js → p-_pn0YVXD.js} +1 -1
  222. package/dist/components/{p-BmH_7-IQ.js → p-gw3AOj6h.js} +1 -1
  223. package/dist/components/{p-Bw-D7nPx.js → p-sp4th_AU.js} +1 -1
  224. package/dist/components/{p-o4S5jRzK.js → p-vwpr_v76.js} +1 -1
  225. package/dist/components/tet-accordion.js +1 -1
  226. package/dist/components/tet-address-offers-filters-products.js +1 -1
  227. package/dist/components/tet-address-offers-filters.js +1 -1
  228. package/dist/components/tet-address-offers-v2.js +1 -1
  229. package/dist/components/tet-address-offers-view-v2.js +1 -1
  230. package/dist/components/tet-address-offers-view.js +1 -1
  231. package/dist/components/tet-address-offers.js +1 -1
  232. package/dist/components/tet-address-search.js +1 -1
  233. package/dist/components/tet-assembler.js +1 -1
  234. package/dist/components/tet-asset-availability-addresses.js +1 -1
  235. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  236. package/dist/components/tet-autocomplete.js +1 -1
  237. package/dist/components/tet-availability-contact-form.js +1 -1
  238. package/dist/components/tet-b2b-check-out-form.js +1 -1
  239. package/dist/components/tet-b2b-compare-card.js +1 -1
  240. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  241. package/dist/components/tet-b2b-configurator.js +1 -1
  242. package/dist/components/tet-banner-nav.js +1 -1
  243. package/dist/components/tet-bar-graph.js +1 -1
  244. package/dist/components/tet-border-radius.js +1 -1
  245. package/dist/components/tet-business-card.js +1 -1
  246. package/dist/components/tet-business-compare-card.js +1 -1
  247. package/dist/components/tet-business-navigation.js +1 -1
  248. package/dist/components/tet-business-round-stepper.js +1 -1
  249. package/dist/components/tet-business-summary-card.js +1 -1
  250. package/dist/components/tet-button.js +1 -1
  251. package/dist/components/tet-card-list.js +1 -1
  252. package/dist/components/tet-carousel.js +1 -1
  253. package/dist/components/tet-checkbox.js +1 -1
  254. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  255. package/dist/components/tet-cloud-configurator.js +1 -1
  256. package/dist/components/tet-colors.js +1 -1
  257. package/dist/components/tet-compare-card-v2.js +1 -1
  258. package/dist/components/tet-compare-card-v3.js +1 -1
  259. package/dist/components/tet-compare-card.js +1 -1
  260. package/dist/components/tet-compare-cards-tab.js +1 -1
  261. package/dist/components/tet-compare-cards.js +1 -1
  262. package/dist/components/tet-container.js +1 -1
  263. package/dist/components/tet-countdown.js +1 -1
  264. package/dist/components/tet-counter.js +1 -1
  265. package/dist/components/tet-dialog.js +1 -1
  266. package/dist/components/tet-display.js +1 -1
  267. package/dist/components/tet-divider.js +1 -1
  268. package/dist/components/tet-dropdown.js +1 -1
  269. package/dist/components/tet-dynamic-card.js +1 -1
  270. package/dist/components/tet-expandable-input.js +1 -1
  271. package/dist/components/tet-expansion-panel.js +1 -1
  272. package/dist/components/tet-feedback-form.js +1 -1
  273. package/dist/components/tet-filter.js +1 -1
  274. package/dist/components/tet-floating-block.js +1 -1
  275. package/dist/components/tet-font-weight.js +1 -1
  276. package/dist/components/tet-fonts.js +1 -1
  277. package/dist/components/tet-grid.js +1 -1
  278. package/dist/components/tet-icon.js +1 -1
  279. package/dist/components/tet-inline-message.js +1 -1
  280. package/dist/components/tet-input.js +1 -1
  281. package/dist/components/tet-layout.js +1 -1
  282. package/dist/components/tet-link-card-list.js +1 -1
  283. package/dist/components/tet-link.js +1 -1
  284. package/dist/components/tet-loader.js +1 -1
  285. package/dist/components/tet-menu-mobile.js +1 -1
  286. package/dist/components/tet-menu.js +1 -1
  287. package/dist/components/tet-mini-compare-card.js +1 -1
  288. package/dist/components/tet-multi-step-dialog.js +1 -1
  289. package/dist/components/tet-navigation-mobile.js +1 -1
  290. package/dist/components/tet-news-card-list.js +1 -1
  291. package/dist/components/tet-news-card.js +1 -1
  292. package/dist/components/tet-notification.js +1 -1
  293. package/dist/components/tet-number-input.js +1 -1
  294. package/dist/components/tet-paginator.js +1 -1
  295. package/dist/components/tet-placeholder.js +1 -1
  296. package/dist/components/tet-position.js +1 -1
  297. package/dist/components/tet-price-view.js +1 -1
  298. package/dist/components/tet-radio-blocks.js +1 -1
  299. package/dist/components/tet-radio.js +1 -1
  300. package/dist/components/tet-range-slider.js +1 -1
  301. package/dist/components/tet-round-stepper.js +1 -1
  302. package/dist/components/tet-selection-list.js +1 -1
  303. package/dist/components/tet-snicker-card-group.js +1 -1
  304. package/dist/components/tet-snicker-card.js +1 -1
  305. package/dist/components/tet-spacing.js +1 -1
  306. package/dist/components/tet-spinner.js +1 -1
  307. package/dist/components/tet-stepper-input.js +1 -1
  308. package/dist/components/tet-stepper-v3.js +1 -1
  309. package/dist/components/tet-sticky-offer.js +1 -1
  310. package/dist/components/tet-support-search.js +1 -1
  311. package/dist/components/tet-switch.js +1 -1
  312. package/dist/components/tet-tab-content.js +1 -1
  313. package/dist/components/tet-tab-header.js +1 -1
  314. package/dist/components/tet-table.js +1 -1
  315. package/dist/components/tet-tag-group.js +1 -1
  316. package/dist/components/tet-tag.js +1 -1
  317. package/dist/components/tet-text-list.js +1 -1
  318. package/dist/components/tet-text.js +1 -1
  319. package/dist/components/tet-textarea.js +1 -1
  320. package/dist/components/tet-thank-you-view-v3.js +1 -1
  321. package/dist/components/tet-tooltip.js +1 -1
  322. package/dist/components/tet-tv-program-channel-picker.js +1 -1
  323. package/dist/components/tet-tv-program-date-picker.js +1 -1
  324. package/dist/components/{tet-datepicker.d.ts → tet-tv-program-item.d.ts} +4 -4
  325. package/dist/components/tet-tv-program-item.js +1 -0
  326. package/dist/components/tet-tv-program-schedule.d.ts +11 -0
  327. package/dist/components/tet-tv-program-schedule.js +1 -0
  328. package/dist/components/tet-tv-program.js +1 -1
  329. package/dist/esm/format-program-start-date-BTxL4Knq.js +148 -0
  330. package/dist/esm/{http-codes-CHPW8K5J.js → http-codes-8cHNuJ77.js} +2 -1
  331. package/dist/esm/{index-gA3_LS77.js → index-CO8AyGrA.js} +21 -21
  332. package/dist/esm/{index-BzVLx-ae.js → index-Rx46bgOe.js} +1 -1
  333. package/dist/esm/loader.js +3 -3
  334. package/dist/esm/{product-comparison-09p7FlLY.js → product-comparison-DZV6jdwa.js} +1 -1
  335. package/dist/esm/{service-availability-services-DHbWTGBw.js → service-availability-services-DglLgqmx.js} +1 -1
  336. package/dist/esm/{string-D0GJDW-O.js → string-C9BlrGW8.js} +1 -4
  337. package/dist/esm/tet-accordion.entry.js +8 -8
  338. package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
  339. package/dist/esm/tet-address-offers-v2.entry.js +6 -6
  340. package/dist/esm/tet-address-offers-view-v2.entry.js +6 -6
  341. package/dist/esm/tet-address-offers-view.entry.js +5 -5
  342. package/dist/esm/tet-address-offers_3.entry.js +7 -7
  343. package/dist/esm/tet-address-search_2.entry.js +9 -9
  344. package/dist/esm/tet-assembler_3.entry.js +5 -5
  345. package/dist/esm/tet-autocomplete-dropdown.entry.js +3 -3
  346. package/dist/esm/tet-autocomplete_2.entry.js +4 -4
  347. package/dist/esm/tet-b2b-check-out-form_5.entry.js +7 -7
  348. package/dist/esm/tet-b2b-configurator.entry.js +5 -5
  349. package/dist/esm/tet-banner-nav.entry.js +4 -4
  350. package/dist/esm/tet-bar-graph.entry.js +1 -1
  351. package/dist/esm/tet-border-radius.entry.js +2 -2
  352. package/dist/esm/tet-business-card.entry.js +1 -1
  353. package/dist/esm/tet-business-compare-card.entry.js +3 -3
  354. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  355. package/dist/esm/tet-button.entry.js +1 -1
  356. package/dist/esm/tet-card-list.entry.js +5 -5
  357. package/dist/esm/tet-carousel.entry.js +10 -10
  358. package/dist/esm/{tet-checkbox_3.entry.js → tet-checkbox_2.entry.js} +2 -453
  359. package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
  360. package/dist/esm/tet-cloud-configurator.entry.js +4 -4
  361. package/dist/esm/tet-colors.entry.js +5 -5
  362. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  363. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  364. package/dist/esm/tet-compare-cards_2.entry.js +5 -5
  365. package/dist/esm/tet-components.js +3 -3
  366. package/dist/esm/tet-container_2.entry.js +2 -2
  367. package/dist/esm/tet-countdown.entry.js +2 -2
  368. package/dist/esm/tet-counter.entry.js +1 -1
  369. package/dist/esm/tet-dialog.entry.js +4 -4
  370. package/dist/esm/tet-display.entry.js +1 -1
  371. package/dist/esm/tet-divider.entry.js +1 -1
  372. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  373. package/dist/esm/tet-expandable-input.entry.js +1 -1
  374. package/dist/esm/tet-expansion-panel.entry.js +2 -2
  375. package/dist/esm/tet-feedback-form.entry.js +4 -4
  376. package/dist/esm/tet-filter.entry.js +1 -1
  377. package/dist/esm/tet-floating-block.entry.js +1 -1
  378. package/dist/esm/tet-font-weight.entry.js +2 -2
  379. package/dist/esm/tet-fonts.entry.js +2 -2
  380. package/dist/esm/tet-grid.entry.js +2 -2
  381. package/dist/esm/tet-icon.entry.js +2 -2
  382. package/dist/esm/tet-inline-message.entry.js +1 -1
  383. package/dist/esm/tet-input.entry.js +4 -4
  384. package/dist/esm/tet-layout.entry.js +2 -2
  385. package/dist/esm/tet-link-card-list.entry.js +1 -1
  386. package/dist/esm/tet-link.entry.js +2 -2
  387. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  388. package/dist/esm/tet-menu.entry.js +1 -1
  389. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  390. package/dist/esm/tet-multi-step-dialog.entry.js +5 -5
  391. package/dist/esm/tet-navigation-mobile.entry.js +7 -7
  392. package/dist/esm/tet-news-card-list.entry.js +2 -2
  393. package/dist/esm/tet-news-card.entry.js +2 -2
  394. package/dist/esm/tet-notification.entry.js +2 -2
  395. package/dist/esm/tet-number-input.entry.js +1 -1
  396. package/dist/esm/tet-paginator.entry.js +5 -5
  397. package/dist/esm/tet-placeholder.entry.js +2 -2
  398. package/dist/esm/tet-position.entry.js +1 -1
  399. package/dist/esm/tet-price-view.entry.js +1 -1
  400. package/dist/esm/tet-radio_2.entry.js +3 -3
  401. package/dist/esm/tet-range-slider.entry.js +8 -8
  402. package/dist/esm/tet-round-stepper.entry.js +1 -1
  403. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  404. package/dist/esm/tet-snicker-card.entry.js +4 -4
  405. package/dist/esm/tet-spacing.entry.js +2 -2
  406. package/dist/esm/tet-spinner.entry.js +4 -4
  407. package/dist/esm/tet-stepper-input.entry.js +5 -5
  408. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  409. package/dist/esm/tet-sticky-offer.entry.js +2 -2
  410. package/dist/esm/tet-support-search.entry.js +2 -2
  411. package/dist/esm/tet-switch.entry.js +1 -1
  412. package/dist/esm/tet-table.entry.js +1 -1
  413. package/dist/esm/tet-tag_2.entry.js +6 -6
  414. package/dist/esm/tet-text-list.entry.js +1 -1
  415. package/dist/esm/tet-text.entry.js +1 -1
  416. package/dist/esm/tet-textarea.entry.js +3 -3
  417. package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
  418. package/dist/esm/tet-tooltip.entry.js +454 -0
  419. package/dist/esm/tet-tv-program-channel-picker_3.entry.js +1461 -0
  420. package/dist/esm/tet-tv-program-item.entry.js +215 -0
  421. package/dist/esm/tet-tv-program-placeholders-DyupRSa9.js +19 -0
  422. package/dist/esm/tet-tv-program.entry.js +642 -3
  423. package/dist/esm/{translations-CLCWF8K_.js → translations-Cytyv90Z.js} +2 -2
  424. package/dist/esm/{typecheck-Bvqcvhjw.js → typecheck-CaZKtSyx.js} +1 -2
  425. package/dist/tet-components/{p-8b7bbbbf.entry.js → p-00440570.entry.js} +1 -1
  426. package/dist/tet-components/{p-9d612283.entry.js → p-00ee3383.entry.js} +1 -1
  427. package/dist/tet-components/{p-19cb8e38.entry.js → p-026c4688.entry.js} +1 -1
  428. package/dist/tet-components/{p-e45dab2b.entry.js → p-0a35f634.entry.js} +1 -1
  429. package/dist/tet-components/{p-72c54f04.entry.js → p-0be0b06d.entry.js} +1 -1
  430. package/dist/tet-components/{p-af7f7020.entry.js → p-1125417c.entry.js} +1 -1
  431. package/dist/tet-components/{p-0026968d.entry.js → p-17dd27fc.entry.js} +1 -1
  432. package/dist/tet-components/{p-b389b07a.entry.js → p-18e188fe.entry.js} +1 -1
  433. package/dist/tet-components/p-1Pg6Bg5R.js +1 -0
  434. package/dist/tet-components/{p-22db539b.entry.js → p-1ee4e8b2.entry.js} +1 -1
  435. package/dist/tet-components/{p-0bd6e06e.entry.js → p-25b05e87.entry.js} +1 -1
  436. package/dist/tet-components/p-27d7ad18.entry.js +1 -0
  437. package/dist/tet-components/{p-a2e40f04.entry.js → p-285a92c5.entry.js} +1 -1
  438. package/dist/tet-components/{p-12fe3881.entry.js → p-2a528ade.entry.js} +1 -1
  439. package/dist/tet-components/{p-0e4129ea.entry.js → p-2c75f965.entry.js} +1 -1
  440. package/dist/tet-components/{p-c5068d10.entry.js → p-2eafdaed.entry.js} +1 -1
  441. package/dist/tet-components/{p-0e9201e6.entry.js → p-335a6617.entry.js} +1 -1
  442. package/dist/tet-components/{p-daa8ca5c.entry.js → p-38ac5d83.entry.js} +1 -1
  443. package/dist/tet-components/{p-e88e50e6.entry.js → p-39431ec5.entry.js} +1 -1
  444. package/dist/tet-components/{p-7672a3cf.entry.js → p-3ad392f5.entry.js} +1 -1
  445. package/dist/tet-components/p-3bf86def.entry.js +1 -0
  446. package/dist/tet-components/p-3ec54e1f.entry.js +1 -0
  447. package/dist/tet-components/{p-8329cd9d.entry.js → p-421edd38.entry.js} +1 -1
  448. package/dist/tet-components/{p-7d62e8e0.entry.js → p-4398cb86.entry.js} +1 -1
  449. package/dist/tet-components/{p-039121d4.entry.js → p-43b92cf1.entry.js} +1 -1
  450. package/dist/tet-components/p-444eec19.entry.js +1 -0
  451. package/dist/tet-components/{p-f8aa1f9b.entry.js → p-53288215.entry.js} +1 -1
  452. package/dist/tet-components/{p-8424ddb6.entry.js → p-5466531d.entry.js} +1 -1
  453. package/dist/tet-components/{p-a9706390.entry.js → p-56b3c60a.entry.js} +1 -1
  454. package/dist/tet-components/{p-9f8c0d62.entry.js → p-56c7ed22.entry.js} +1 -1
  455. package/dist/tet-components/p-58dc974a.entry.js +1 -0
  456. package/dist/tet-components/{p-827abc22.entry.js → p-5c9f805c.entry.js} +1 -1
  457. package/dist/tet-components/{p-1af6b8cb.entry.js → p-5cf98e2a.entry.js} +1 -1
  458. package/dist/tet-components/{p-9ab815b3.entry.js → p-5f683fd6.entry.js} +1 -1
  459. package/dist/tet-components/{p-bc73adcc.entry.js → p-61cb3c7b.entry.js} +1 -1
  460. package/dist/tet-components/{p-318947f9.entry.js → p-671a5b50.entry.js} +1 -1
  461. package/dist/tet-components/{p-aa0b655b.entry.js → p-694911f0.entry.js} +1 -1
  462. package/dist/tet-components/{p-e7c43c95.entry.js → p-69c6c216.entry.js} +1 -1
  463. package/dist/tet-components/{p-73acf518.entry.js → p-6baf4f40.entry.js} +1 -1
  464. package/dist/tet-components/p-6c3a131b.entry.js +1 -0
  465. package/dist/tet-components/{p-13550c14.entry.js → p-6e126f61.entry.js} +1 -1
  466. package/dist/tet-components/{p-f53d2d9f.entry.js → p-6f449651.entry.js} +1 -1
  467. package/dist/tet-components/{p-f73c5481.entry.js → p-70775616.entry.js} +1 -1
  468. package/dist/tet-components/{p-0e021d89.entry.js → p-7d81be98.entry.js} +1 -1
  469. package/dist/tet-components/{p-db92c865.entry.js → p-7da500c3.entry.js} +1 -1
  470. package/dist/tet-components/{p-324d8840.entry.js → p-82de3c82.entry.js} +1 -1
  471. package/dist/tet-components/{p-c778dbd4.entry.js → p-84153818.entry.js} +1 -1
  472. package/dist/tet-components/{p-c321199b.entry.js → p-845addd5.entry.js} +1 -1
  473. package/dist/tet-components/{p-b370c444.entry.js → p-88184103.entry.js} +1 -1
  474. package/dist/tet-components/p-8c53b195.entry.js +1 -0
  475. package/dist/tet-components/{p-03b6c7a2.entry.js → p-998ee6ff.entry.js} +1 -1
  476. package/dist/tet-components/{p-e9e288f6.entry.js → p-9cb7e09d.entry.js} +1 -1
  477. package/dist/tet-components/{p-4a21fdfb.entry.js → p-9fcebf59.entry.js} +1 -1
  478. package/dist/tet-components/{p-nYl-0ap-.js → p-B00u2s3v.js} +1 -1
  479. package/dist/tet-components/p-BCewZzcy.js +8 -0
  480. package/dist/tet-components/p-BTxL4Knq.js +1 -0
  481. package/dist/tet-components/p-C9BlrGW8.js +1 -0
  482. package/dist/tet-components/p-CO8AyGrA.js +3 -0
  483. package/dist/tet-components/p-CaZKtSyx.js +1 -0
  484. package/dist/tet-components/p-Cak7jORV.js +1 -0
  485. package/dist/tet-components/{p-AT09y63b.js → p-DSi6YWYP.js} +1 -1
  486. package/dist/tet-components/{p-Th74Kc5K.js → p-WCtqtcml.js} +1 -1
  487. package/dist/tet-components/{p-8b2edb99.entry.js → p-a5dc9b50.entry.js} +1 -1
  488. package/dist/tet-components/{p-ff164570.entry.js → p-a72a6886.entry.js} +1 -1
  489. package/dist/tet-components/{p-484266ca.entry.js → p-aab96319.entry.js} +1 -1
  490. package/dist/tet-components/{p-6800ae9e.entry.js → p-afdfbbe6.entry.js} +1 -1
  491. package/dist/tet-components/{p-0b122cc1.entry.js → p-b32bfbcc.entry.js} +1 -1
  492. package/dist/tet-components/{p-a91c8e30.entry.js → p-b394da8f.entry.js} +1 -1
  493. package/dist/tet-components/{p-25c80589.entry.js → p-b47dbd57.entry.js} +1 -1
  494. package/dist/tet-components/{p-675387bc.entry.js → p-b495c225.entry.js} +1 -1
  495. package/dist/tet-components/{p-6a3891bf.entry.js → p-b85587af.entry.js} +1 -1
  496. package/dist/tet-components/{p-845419ea.entry.js → p-baf51820.entry.js} +1 -1
  497. package/dist/tet-components/{p-17f8270f.entry.js → p-bb72ca94.entry.js} +1 -1
  498. package/dist/tet-components/{p-7b98b883.entry.js → p-bbde7f66.entry.js} +1 -1
  499. package/dist/tet-components/{p-1ce9b751.entry.js → p-bc168e7d.entry.js} +1 -1
  500. package/dist/tet-components/{p-ae31acd5.entry.js → p-c0c72e90.entry.js} +1 -1
  501. package/dist/tet-components/{p-3dd266f3.entry.js → p-c1e542f3.entry.js} +1 -1
  502. package/dist/tet-components/{p-1ed0c66f.entry.js → p-c66fa72e.entry.js} +1 -1
  503. package/dist/tet-components/{p-e59ec4c3.entry.js → p-cc26cad3.entry.js} +1 -1
  504. package/dist/tet-components/{p-467663a9.entry.js → p-d0824b42.entry.js} +1 -1
  505. package/dist/tet-components/{p-73a66398.entry.js → p-d0e27220.entry.js} +1 -1
  506. package/dist/tet-components/{p-ebd66166.entry.js → p-d2bfb56b.entry.js} +1 -1
  507. package/dist/tet-components/{p-57d07760.entry.js → p-d9059fe6.entry.js} +1 -1
  508. package/dist/tet-components/{p-231dde32.entry.js → p-dce8109c.entry.js} +1 -1
  509. package/dist/tet-components/{p-0d0de163.entry.js → p-e6ae26c9.entry.js} +1 -1
  510. package/dist/tet-components/{p-0744b479.entry.js → p-e813e289.entry.js} +1 -1
  511. package/dist/tet-components/{p-2be883e9.entry.js → p-e8395909.entry.js} +1 -1
  512. package/dist/tet-components/{p-7dfd519c.entry.js → p-eac96e34.entry.js} +1 -1
  513. package/dist/tet-components/{p-ac515335.entry.js → p-ece42f8d.entry.js} +1 -1
  514. package/dist/tet-components/{p-7c1dd176.entry.js → p-edd7aeaa.entry.js} +1 -1
  515. package/dist/tet-components/{p-32983951.entry.js → p-ef66b469.entry.js} +1 -1
  516. package/dist/tet-components/{p-16282657.entry.js → p-f1512e81.entry.js} +1 -1
  517. package/dist/tet-components/{p-2884891b.entry.js → p-f8106629.entry.js} +1 -1
  518. package/dist/tet-components/{p-76be889b.entry.js → p-ff09a8f4.entry.js} +1 -1
  519. package/dist/tet-components/tet-components.esm.js +1 -1
  520. package/dist/types/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.d.ts +9 -13
  521. package/dist/types/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.d.ts +1 -3
  522. package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.d.ts +62 -0
  523. package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.d.ts +2 -0
  524. package/dist/types/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.d.ts +174 -0
  525. package/dist/types/components/views/tet-tv-program/test/mock-schedule-layout.d.ts +4 -0
  526. package/dist/types/components/views/tet-tv-program/tet-tv-program-placeholders.d.ts +2 -0
  527. package/dist/types/components/views/tet-tv-program/tet-tv-program.d.ts +96 -0
  528. package/dist/types/components/views/tet-tv-program/tet-tv-program.types.d.ts +30 -0
  529. package/dist/types/components/views/tet-tv-program/utils/broadcast-time.d.ts +14 -0
  530. package/dist/types/components/views/tet-tv-program/utils/fill-program-gaps.d.ts +3 -0
  531. package/dist/types/components/views/tet-tv-program/utils/format-program-start-date.d.ts +1 -0
  532. package/dist/types/components/views/tet-tv-program/utils/tooltip-lifecycle.d.ts +22 -0
  533. package/dist/types/components.d.ts +339 -389
  534. package/dist/types/services/api/index.d.ts +2 -0
  535. package/dist/types/services/api/services/tv/tv-program-types.d.ts +46 -0
  536. package/dist/types/services/api/services/tv/tv-program.d.ts +7 -0
  537. package/dist/types/services/utils/date.d.ts +2 -0
  538. package/dist/types/services/utils/index.d.ts +1 -0
  539. package/package.json +1 -1
  540. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +0 -387
  541. package/dist/cjs/tet-datepicker.cjs.entry.js +0 -132
  542. package/dist/cjs/tet-tv-program-channel-picker_2.cjs.entry.js +0 -536
  543. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +0 -393
  544. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css +0 -455
  545. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +0 -382
  546. package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +0 -382
  547. package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +0 -380
  548. package/dist/components/p-BMSAKp34.js +0 -1
  549. package/dist/components/p-Br4jWI9B.js +0 -8
  550. package/dist/components/p-C9dDgHzh.js +0 -1
  551. package/dist/components/p-CSxtbfBJ.js +0 -1
  552. package/dist/components/p-Cdi7KDBd.js +0 -1
  553. package/dist/components/p-Cef0hbKH.js +0 -1
  554. package/dist/components/p-CoQ-OVcl.js +0 -1
  555. package/dist/components/p-Czx7ardH.js +0 -1
  556. package/dist/components/p-D0GJDW-O.js +0 -1
  557. package/dist/components/p-DgT79UG-.js +0 -1
  558. package/dist/components/p-DrFW6lxe.js +0 -1
  559. package/dist/components/p-DutLsF-O.js +0 -1
  560. package/dist/components/p-Lpb2mgqh.js +0 -1
  561. package/dist/components/p-Q3NUC_eC.js +0 -1
  562. package/dist/components/tet-datepicker-header.d.ts +0 -11
  563. package/dist/components/tet-datepicker-header.js +0 -1
  564. package/dist/components/tet-datepicker-month-view.d.ts +0 -11
  565. package/dist/components/tet-datepicker-month-view.js +0 -1
  566. package/dist/components/tet-datepicker-multi-year-view.d.ts +0 -11
  567. package/dist/components/tet-datepicker-multi-year-view.js +0 -1
  568. package/dist/components/tet-datepicker-year-view.d.ts +0 -11
  569. package/dist/components/tet-datepicker-year-view.js +0 -1
  570. package/dist/components/tet-datepicker.js +0 -1
  571. package/dist/esm/tet-datepicker-header_4.entry.js +0 -382
  572. package/dist/esm/tet-datepicker.entry.js +0 -130
  573. package/dist/esm/tet-tv-program-channel-picker_2.entry.js +0 -533
  574. package/dist/tet-components/p-340c3e79.entry.js +0 -1
  575. package/dist/tet-components/p-3a573d6e.entry.js +0 -1
  576. package/dist/tet-components/p-7d218d65.entry.js +0 -1
  577. package/dist/tet-components/p-Bvqcvhjw.js +0 -1
  578. package/dist/tet-components/p-CNGb2lWC.js +0 -8
  579. package/dist/tet-components/p-ChdlTQSF.js +0 -1
  580. package/dist/tet-components/p-D0GJDW-O.js +0 -1
  581. package/dist/tet-components/p-aea861c9.entry.js +0 -1
  582. package/dist/tet-components/p-b21b4329.entry.js +0 -1
  583. package/dist/tet-components/p-c102d7e8.entry.js +0 -1
  584. package/dist/tet-components/p-dabdfe62.entry.js +0 -1
  585. package/dist/tet-components/p-gA3_LS77.js +0 -3
  586. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +0 -21
  587. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +0 -45
  588. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +0 -20
  589. package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +0 -20
  590. package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +0 -47
@@ -1 +1 @@
1
- import{T as o,d as s}from"./p-CvUaogvc.js";const a=o,p=s;export{a as TetTextarea,p as defineCustomElement}
1
+ import{T as o,d as s}from"./p-RcwM6MVX.js";const p=o,r=s;export{p as TetTextarea,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as o,d as e,f as n,h as i,c as a,t as r}from"./p-Cdi7KDBd.js";import{p as s,t as l}from"./p-B9bE6qY-.js";import{d as f}from"./p-C-sZ3Bzu.js";import{d as c}from"./p-Bsqoxd9G.js";import{d as m}from"./p-C4uKGuRj.js";const h=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ctaButtonClick=e(this,"ctaButtonClick")}get hostElement(){return this}stepperData=[];icon="check";mainBlockTitle;mainBlockDescription;ctaButtonLabel;ctaButtonId="thankYouBackButton";ctaButtonSize="large";ctaButtonType="primary";ctaButtonTheme;language="lv";translationGroup="";theme="light";ctaButtonClick;async onLanguageChange(t){await s(this.translationGroup,t).then((()=>n(this)))}faqSlot;async componentWillLoad(){await s(this.translationGroup,this.language),this.faqSlot=null!==this.hostElement.querySelector('[slot="faq"]')}ctaButtonCallback=()=>this.ctaButtonClick.emit();renderIcon=()=>this.icon&&"none"!==this.icon&&i("tet-icon",{class:"thank-you-view-v3-icon",name:this.icon,"aria-hidden":"true"});renderInfoBlock=()=>{const t=this.mainBlockDescription&&i("div",{class:"thank-you-view-v3-info-block-description",innerHTML:this.mainBlockDescription&&l(this.mainBlockDescription)});return i("div",{class:"thank-you-view-v3-info-block"},this.renderIcon(),i("div",{class:"thank-you-view-v3-info-block-text"},this.mainBlockTitle&&i("h1",{class:"thank-you-view-v3-info-block-title"},l(this.mainBlockTitle)),t))};renderStepper(){return this.stepperData?.length>0&&i("div",{class:"thank-you-view-v3-stepper"},i("tet-stepper-v3",{stepperData:this.stepperData,theme:this.theme}))}renderCTAButton=()=>this.ctaButtonLabel&&i("nav",{class:"thank-you-view-v3-cta-button","aria-label":"CTA"},i("tet-button",{clickCallback:this.ctaButtonCallback,type:this.ctaButtonType,theme:this.ctaButtonTheme?this.ctaButtonTheme:this.theme,"element-id":this.ctaButtonId,size:this.ctaButtonSize,accessibilityLabel:l(this.ctaButtonLabel)},this.ctaButtonLabel&&l(this.ctaButtonLabel)));renderFAQSlot=()=>this.faqSlot&&i("section",{class:"thank-you-view-v3-faq-slot","aria-label":"FAQ"},i("slot",{name:"faq"}));render(){return i(a,{key:"0a33dc4b225b55751136982b3685693eb483163f"},i("div",{key:"fa10d066d816bf1cbf460368e30e64f9b0daf543",class:{"thank-you-view-v3":!0,[this.theme]:!0}},this.renderInfoBlock(),this.renderStepper(),this.renderCTAButton(),this.renderFAQSlot()))}static get watchers(){return{language:[{onLanguageChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--thank-you-view-icon-color:var(--tc-green-40);--thank-you-view-icon-color-dark:var(--tc-green-40-dark);--thank-you-view-icon-size:3rem;--thank-you-view-title-color:var(--tc-text-primary);--thank-you-view-title-color-dark:var(--tc-text-primary-dark);--thank-you-view-description-color:var(--tc-text-secondary);--thank-you-view-description-color-dark:var(--tc-text-secondary-dark);--thank-you-view-description-strong-color:var(--tc-text-primary);--thank-you-view-description-strong-color-dark:var(--tc-text-primary-dark);--thank-you-view-icon-gap:0.5rem;--thank-you-view-text-gap:0.5rem;--thank-you-view-gap:3rem;--thank-you-view-top-margin:3rem;--thank-you-view-cta-button-margin:0;display:block;margin:0 2rem}@media only screen and (max-width: 31.1875rem){:host{margin:0 1rem}}.thank-you-view-v3{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100%;max-width:53rem;margin:var(--thank-you-view-top-margin) auto 0;gap:var(--thank-you-view-gap)}.thank-you-view-v3.dark{--thank-you-view-icon-color:var(--thank-you-view-icon-color-dark);--thank-you-view-title-color:var(--thank-you-view-title-color-dark);--thank-you-view-description-color:var(--thank-you-view-description-color-dark);--thank-you-view-description-strong-color:var(--thank-you-view-description-strong-color-dark)}.thank-you-view-v3-stepper{width:100%;max-width:45.5rem}.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:1.5rem}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:0}}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3{max-width:44rem}}.thank-you-view-v3-icon{--icon-color:var(--thank-you-view-icon-color);--icon-size:var(--thank-you-view-icon-size)}.thank-you-view-v3-info-block{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-icon-gap)}.thank-you-view-v3-info-block-title{text-align:center;color:var(--thank-you-view-title-color);font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3-info-block-title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-info-block-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-description{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";max-width:42rem;text-align:center;color:var(--thank-you-view-description-color)}.thank-you-view-v3-info-block-description strong{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--thank-you-view-description-strong-color)}@media only screen and (min-width: 63.9375rem){.thank-you-view-v3-info-block-description{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}.thank-you-view-v3-info-block-description strong{font:500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-text{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-text-gap)}.thank-you-view-v3-cta-button{margin:var(--thank-you-view-cta-button-margin)}.thank-you-view-v3-faq-slot{align-self:stretch}'}},[769,"tet-thank-you-view-v3",{stepperData:[16],icon:[1],mainBlockTitle:[1,"main-block-title"],mainBlockDescription:[1,"main-block-description"],ctaButtonLabel:[1,"cta-button-label"],ctaButtonId:[1,"cta-button-id"],ctaButtonSize:[1,"cta-button-size"],ctaButtonType:[1,"cta-button-type"],ctaButtonTheme:[1,"cta-button-theme"],language:[1],translationGroup:[1,"translation-group"],theme:[1]},void 0,{language:[{onLanguageChange:0}]}]),y=h,w=function(){"undefined"!=typeof customElements&&["tet-thank-you-view-v3","tet-button","tet-icon","tet-stepper-v3"].forEach((t=>{switch(t){case"tet-thank-you-view-v3":customElements.get(r(t))||customElements.define(r(t),h);break;case"tet-button":customElements.get(r(t))||f();break;case"tet-icon":customElements.get(r(t))||c();break;case"tet-stepper-v3":customElements.get(r(t))||m()}}))};export{y as TetThankYouViewV3,w as defineCustomElement}
1
+ import{p as t,H as o,d as e,f as n,h as i,c as a,t as r}from"./p-CWuhYFDW.js";import{p as s,t as l}from"./p--_RUy11E.js";import{d as f}from"./p-BX98BUpV.js";import{d as c}from"./p-DobMlMDf.js";import{d as m}from"./p-D4MolLd8.js";const h=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ctaButtonClick=e(this,"ctaButtonClick")}get hostElement(){return this}stepperData=[];icon="check";mainBlockTitle;mainBlockDescription;ctaButtonLabel;ctaButtonId="thankYouBackButton";ctaButtonSize="large";ctaButtonType="primary";ctaButtonTheme;language="lv";translationGroup="";theme="light";ctaButtonClick;async onLanguageChange(t){await s(this.translationGroup,t).then((()=>n(this)))}faqSlot;async componentWillLoad(){await s(this.translationGroup,this.language),this.faqSlot=null!==this.hostElement.querySelector('[slot="faq"]')}ctaButtonCallback=()=>this.ctaButtonClick.emit();renderIcon=()=>this.icon&&"none"!==this.icon&&i("tet-icon",{class:"thank-you-view-v3-icon",name:this.icon,"aria-hidden":"true"});renderInfoBlock=()=>{const t=this.mainBlockDescription&&i("div",{class:"thank-you-view-v3-info-block-description",innerHTML:this.mainBlockDescription&&l(this.mainBlockDescription)});return i("div",{class:"thank-you-view-v3-info-block"},this.renderIcon(),i("div",{class:"thank-you-view-v3-info-block-text"},this.mainBlockTitle&&i("h1",{class:"thank-you-view-v3-info-block-title"},l(this.mainBlockTitle)),t))};renderStepper(){return this.stepperData?.length>0&&i("div",{class:"thank-you-view-v3-stepper"},i("tet-stepper-v3",{stepperData:this.stepperData,theme:this.theme}))}renderCTAButton=()=>this.ctaButtonLabel&&i("nav",{class:"thank-you-view-v3-cta-button","aria-label":"CTA"},i("tet-button",{clickCallback:this.ctaButtonCallback,type:this.ctaButtonType,theme:this.ctaButtonTheme?this.ctaButtonTheme:this.theme,"element-id":this.ctaButtonId,size:this.ctaButtonSize,accessibilityLabel:l(this.ctaButtonLabel)},this.ctaButtonLabel&&l(this.ctaButtonLabel)));renderFAQSlot=()=>this.faqSlot&&i("section",{class:"thank-you-view-v3-faq-slot","aria-label":"FAQ"},i("slot",{name:"faq"}));render(){return i(a,{key:"0a33dc4b225b55751136982b3685693eb483163f"},i("div",{key:"fa10d066d816bf1cbf460368e30e64f9b0daf543",class:{"thank-you-view-v3":!0,[this.theme]:!0}},this.renderInfoBlock(),this.renderStepper(),this.renderCTAButton(),this.renderFAQSlot()))}static get watchers(){return{language:[{onLanguageChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--thank-you-view-icon-color:var(--tc-green-40);--thank-you-view-icon-color-dark:var(--tc-green-40-dark);--thank-you-view-icon-size:3rem;--thank-you-view-title-color:var(--tc-text-primary);--thank-you-view-title-color-dark:var(--tc-text-primary-dark);--thank-you-view-description-color:var(--tc-text-secondary);--thank-you-view-description-color-dark:var(--tc-text-secondary-dark);--thank-you-view-description-strong-color:var(--tc-text-primary);--thank-you-view-description-strong-color-dark:var(--tc-text-primary-dark);--thank-you-view-icon-gap:0.5rem;--thank-you-view-text-gap:0.5rem;--thank-you-view-gap:3rem;--thank-you-view-top-margin:3rem;--thank-you-view-cta-button-margin:0;display:block;margin:0 2rem}@media only screen and (max-width: 31.1875rem){:host{margin:0 1rem}}.thank-you-view-v3{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100%;max-width:53rem;margin:var(--thank-you-view-top-margin) auto 0;gap:var(--thank-you-view-gap)}.thank-you-view-v3.dark{--thank-you-view-icon-color:var(--thank-you-view-icon-color-dark);--thank-you-view-title-color:var(--thank-you-view-title-color-dark);--thank-you-view-description-color:var(--thank-you-view-description-color-dark);--thank-you-view-description-strong-color:var(--thank-you-view-description-strong-color-dark)}.thank-you-view-v3-stepper{width:100%;max-width:45.5rem}.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:1.5rem}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:0}}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3{max-width:44rem}}.thank-you-view-v3-icon{--icon-color:var(--thank-you-view-icon-color);--icon-size:var(--thank-you-view-icon-size)}.thank-you-view-v3-info-block{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-icon-gap)}.thank-you-view-v3-info-block-title{text-align:center;color:var(--thank-you-view-title-color);font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3-info-block-title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-info-block-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-description{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";max-width:42rem;text-align:center;color:var(--thank-you-view-description-color)}.thank-you-view-v3-info-block-description strong{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--thank-you-view-description-strong-color)}@media only screen and (min-width: 63.9375rem){.thank-you-view-v3-info-block-description{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}.thank-you-view-v3-info-block-description strong{font:500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-text{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-text-gap)}.thank-you-view-v3-cta-button{margin:var(--thank-you-view-cta-button-margin)}.thank-you-view-v3-faq-slot{align-self:stretch}'}},[769,"tet-thank-you-view-v3",{stepperData:[16],icon:[1],mainBlockTitle:[1,"main-block-title"],mainBlockDescription:[1,"main-block-description"],ctaButtonLabel:[1,"cta-button-label"],ctaButtonId:[1,"cta-button-id"],ctaButtonSize:[1,"cta-button-size"],ctaButtonType:[1,"cta-button-type"],ctaButtonTheme:[1,"cta-button-theme"],language:[1],translationGroup:[1,"translation-group"],theme:[1]},void 0,{language:[{onLanguageChange:0}]}]),y=h,w=function(){"undefined"!=typeof customElements&&["tet-thank-you-view-v3","tet-button","tet-icon","tet-stepper-v3"].forEach((t=>{switch(t){case"tet-thank-you-view-v3":customElements.get(r(t))||customElements.define(r(t),h);break;case"tet-button":customElements.get(r(t))||f();break;case"tet-icon":customElements.get(r(t))||c();break;case"tet-stepper-v3":customElements.get(r(t))||m()}}))};export{y as TetThankYouViewV3,w as defineCustomElement}
@@ -1 +1 @@
1
- import{a as o,d as s}from"./p-nKvolHsW.js";const a=o,p=s;export{a as TetTooltip,p as defineCustomElement}
1
+ import{a,d as o}from"./p-BkXzaJcc.js";const s=a,c=o;export{s as TetTooltip,c as defineCustomElement}
@@ -1 +1 @@
1
- import{T as o,d as r}from"./p-DrFW6lxe.js";const s=o,p=r;export{s as TetTvProgramChannelPicker,p as defineCustomElement}
1
+ import{T as o,d as s}from"./p-B-Tjx5SX.js";const p=o,r=s;export{p as TetTvProgramChannelPicker,r as defineCustomElement}
@@ -1 +1 @@
1
- import{T as o,d as s}from"./p-Q3NUC_eC.js";const p=o,r=s;export{p as TetTvProgramDatePicker,r as defineCustomElement}
1
+ import{T as o,d as s}from"./p-BQ5mo25G.js";const m=o,p=s;export{m as TetTvProgramDatePicker,p as defineCustomElement}
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TetDatepicker extends Components.TetDatepicker, HTMLElement {}
4
- export const TetDatepicker: {
5
- prototype: TetDatepicker;
6
- new (): TetDatepicker;
3
+ interface TetTvProgramItem extends Components.TetTvProgramItem, HTMLElement {}
4
+ export const TetTvProgramItem: {
5
+ prototype: TetTvProgramItem;
6
+ new (): TetTvProgramItem;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1 @@
1
+ import{T as o,d as s}from"./p-S9EUQFLQ.js";const p=o,r=s;export{p as TetTvProgramItem,r as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TetTvProgramSchedule extends Components.TetTvProgramSchedule, HTMLElement {}
4
+ export const TetTvProgramSchedule: {
5
+ prototype: TetTvProgramSchedule;
6
+ new (): TetTvProgramSchedule;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{T as o,d as s}from"./p-BTZzfMYY.js";const p=o,r=s;export{p as TetTvProgramSchedule,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as s}from"./p-Cdi7KDBd.js";import{d as c}from"./p-Bsqoxd9G.js";import{d as o}from"./p-DnPS3TWn.js";import{d as m}from"./p-DrFW6lxe.js";import{d as p}from"./p-Q3NUC_eC.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}language="lv";render(){return r(a,{key:"446c6bd5853dcb21f586f53c3ff2f16d6a17f9e1"},r("tet-tv-program-channel-picker",{key:"051e893df41d89f1a017b0b1a1485bd7c5729df1",loading:!0}),r("tet-tv-program-date-picker",{key:"f663c514fb305b807ac14cc40edb26aa7b5d0366",language:this.language}))}static get style(){return":host{display:block}"}},[513,"tet-tv-program",{language:[1]}]),d=n,l=function(){"undefined"!=typeof customElements&&["tet-tv-program","tet-icon","tet-placeholder","tet-tv-program-channel-picker","tet-tv-program-date-picker"].forEach((e=>{switch(e){case"tet-tv-program":customElements.get(s(e))||customElements.define(s(e),n);break;case"tet-icon":customElements.get(s(e))||c();break;case"tet-placeholder":customElements.get(s(e))||o();break;case"tet-tv-program-channel-picker":customElements.get(s(e))||m();break;case"tet-tv-program-date-picker":customElements.get(s(e))||p()}}))};export{d as TetTvProgram,l as defineCustomElement}
1
+ import{p as t,H as i,f as s,h as e,c as l,t as a}from"./p-CWuhYFDW.js";import{p as o,t as r}from"./p--_RUy11E.js";import{e as n,A as d}from"./p-Bdbn4prA.js";import{f as c}from"./p-DPGMd9pW.js";import{r as p,d as g}from"./p-BTZzfMYY.js";import{d as m}from"./p-DIpqXULQ.js";import{d as h}from"./p-BX98BUpV.js";import{d as _}from"./p-DobMlMDf.js";import{d as u}from"./p-JrKx7ojI.js";import{d as f}from"./p-C5f1C5m_.js";import{d as b}from"./p-BkXzaJcc.js";import{d as y}from"./p-B-Tjx5SX.js";import{d as k}from"./p-BQ5mo25G.js";import{d as w}from"./p-S9EUQFLQ.js";class v extends Error{status;constructor(t){super(`TV program request failed with status ${t}.`),this.status=t,this.name="TvProgramRequestError"}}async function x(t,i){const s=new URL(n.tvProgram);for(const[i,e]of Object.entries(t))void 0!==e&&s.searchParams.set(i,e+"");const e=await(new d).setUrl(s.href).setOptions({method:"GET",signal:i}).execute(!0);if(!e.ok)throw new v(e.status);const l=await e.json();if(!l?.data)throw new TypeError("TV program response is missing data.");return l.data}function T(t,i){if(!/^\d{4}-\d{2}-\d{2}$/.test(t)||!/^(?:[01]\d|2[0-3]):[0-5]\d$/.test(i))return NaN;const s=new Date(`${t}T${i}:00`);return c(s)===t?s.getTime():NaN}function M(t,i){const s=T(t.startDate,t.startTime),e=T(t.endDate,t.endTime);if(!Number.isFinite(s)||!Number.isFinite(e)||e<=s)return{isActive:!1,progress:0};const l=i>=s&&i<e;let a;return i<s?a=s:l&&(a=Math.min(6e4*Math.floor(i/6e4)+6e4,e)),{isActive:l,progress:Math.max(0,Math.min(100,(i-s)/(e-s)*100)),nextUpdate:a}}function C(t,i){return Date.parse(`${t}T${i}:00Z`)}function I(t,i,s,e){const l=new Date(t).toISOString(),a=new Date(i).toISOString();return{id:`${s}-gap-${l}-${a}`,channelName:e,title:"",isUnavailable:!0,startDate:l.slice(0,10),startTime:l.slice(11,16),endDate:a.slice(0,10),endTime:a.slice(11,16)}}function $(t,i,s,e){const l=C(i,"00:00");if(!Number.isFinite(l))return t;const a=l+864e5,o=t.map((t=>({item:t,start:C(t.startDate,t.startTime),end:C(t.endDate,t.endTime)}))).filter((t=>Number.isFinite(t.start)&&Number.isFinite(t.end)&&t.end>t.start)).sort(((t,i)=>t.start-i.start)),r=[];let n=l;for(const{start:t,end:i}of o)i<=l||t>=a||(t>n&&r.push(I(n,t,s,e)),n=Math.max(n,Math.min(i,a)));return n<a&&r.push(I(n,a,s,e)),[...t,...r].sort(((t,i)=>C(t.startDate,t.startTime)-C(i.startDate,i.startTime)))}const P=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}theme="light";heading;language="lv";platforms;channels=[];channelsLoading=!0;programLoading=!1;loadingMoreChannels=!1;programItems=[];broadcastTiming={};selectedDate=c();isMobile=!0;currentTime=Date.now();desktopSchedules=[];controlsHeight=0;desktopCurrentTimeVisible=!1;channelsByPlatform=new Map;programByChannel=new Map;desktopPages=new Map;readyMobileItems;pendingMobileItems;selectedPlatformId;programRequest;selectedChannelId;datePicker;controls;mobileList;mobileListLoadingHeight=0;pendingMobileListLayout;schedule;controlsResizeObserver;stopLoadMoreObservation;loadMoreSentinel;loadMoreRetryAfter=0;scrollDesktopToNowPending;activeMobileItem;scrollToActivePending=!1;scrollToListStartPending=!1;selectedProgramItem;hasLoaded=!1;desktopMediaQuery;broadcastTimer;connected=!1;connectedCallback(){this.connected=!0,this.updateBroadcastTiming(),this.hasLoaded&&this.observeControls(),this.desktopMediaQuery=globalThis.matchMedia?.("(min-width: 1024px)"),this.isMobile=!this.desktopMediaQuery?.matches,this.scrollDesktopToNowPending=this.hasLoaded&&!this.isMobile&&this.selectedDate===c()?"smooth":void 0,this.desktopMediaQuery?.addEventListener("change",this.updateLayout),this.hasLoaded&&this.loadProgram()}async componentWillLoad(){this.selectedPlatformId=this.availablePlatforms[0]?.id,await this.onLanguageChange(this.language),this.scrollDesktopToNowPending=this.isMobile||this.selectedDate!==c()?void 0:"instant",this.scrollToActivePending=this.isMobile&&this.selectedDate===c(),this.loadProgram()}componentDidLoad(){this.observeControls(),this.hasLoaded=!0}componentDidRender(){if(this.waitForMobileProgramItems(),this.isMobile&&!this.programLoading&&!this.channelsLoading&&this.mobileListLoadingHeight>0&&this.pendingMobileListLayout!==this.programItems&&(this.pendingMobileListLayout=this.programItems,this.releaseMobileListHeight()),this.scrollDesktopToNowPending&&!this.isMobile&&this.schedule&&!this.programLoading&&!this.channelsLoading){const t=this.scrollDesktopToNowPending;this.scrollDesktopToNowPending=void 0,this.schedule.scrollToNow(t)}this.scrollToActivePending&&!this.programLoading&&!this.channelsLoading&&this.isMobile&&this.selectedDate===c()&&this.activeMobileItem&&(this.scrollToActivePending=!1,this.scrollMobileItemIntoView(this.activeMobileItem,void 0,"center")),this.scrollToListStartPending&&!this.programLoading&&!this.channelsLoading&&this.isMobile&&this.mobileList&&(this.scrollToListStartPending=!1,this.scrollMobileItemIntoView(this.mobileList))}disconnectedCallback(){this.pendingMobileItems=void 0,this.readyMobileItems=void 0,this.stopLoadMoreObservation?.(),this.loadMoreSentinel=void 0,this.controlsResizeObserver?.disconnect(),this.controlsResizeObserver=void 0,this.connected=!1,this.activeMobileItem=void 0,this.scrollToActivePending=!1,this.scrollDesktopToNowPending=void 0,this.selectedProgramItem?.close(),this.selectedProgramItem=void 0,clearTimeout(this.broadcastTimer),this.desktopMediaQuery?.removeEventListener("change",this.updateLayout),this.desktopMediaQuery=void 0,this.programRequest?.abort()}async handleBroadcastSelected(t){const i=t.composedPath().find((t=>"TET-TV-PROGRAM-ITEM"===t.tagName));if(!i)return;const s=this.selectedProgramItem===i?void 0:this.selectedProgramItem;this.selectedProgramItem=i,s?.close();const e=i.parentElement;this.isMobile&&e&&await this.scrollMobileItemIntoView(e,s)}handleCurrentTimeVisibilityChanged(t){this.desktopCurrentTimeVisible=t.detail}updateBroadcastTiming(){if(clearTimeout(this.broadcastTimer),this.activeMobileItem=void 0,!this.connected)return;const t=Date.now();this.currentTime=t;const i={};let s=this.isMobile?1/0:t+6e4-t%6e4;const e=this.isMobile?this.programItems:this.channels.flatMap((t=>this.getChannelProgram(t.id)??[]));for(const l of e)i[l.id]=M(l,t),s=Math.min(s,i[l.id].nextUpdate??1/0);this.broadcastTiming=i,Number.isFinite(s)&&(this.broadcastTimer=setTimeout((()=>this.updateBroadcastTiming()),Math.min(s-t,864e5)))}async onLanguageChange(t){await o("tet-components",t),s(this)}updateDesktopSchedules(){this.desktopSchedules=this.channels.flatMap((t=>{const i=this.getChannelProgram(t.id);return void 0===i?[]:[{...t,items:i}]}))}updateLayout=()=>{const t=!this.desktopMediaQuery?.matches;t!==this.isMobile&&(this.isMobile=t,this.scrollDesktopToNowPending=t||this.selectedDate!==c()?void 0:"smooth",this.hasLoaded&&this.connected&&this.loadProgram())};handleChannelChange(t){t!==this.selectedChannelId&&this.channels.some((i=>i.id===t))&&(this.prepareMobileListScroll(),this.selectedChannelId=t,this.loadProgram())}handleDateChange(t){if(t!==this.selectedDate){if(!this.isMobile){this.observeLoadMore();const t=this.schedule,i=this.controls&&Number.parseFloat(globalThis.getComputedStyle(this.controls).top)||0;t&&t.getBoundingClientRect().top<this.controlsHeight+i&&t.scrollIntoView?.({behavior:"instant",block:"start",inline:"nearest"})}this.prepareMobileListScroll(t),this.scrollDesktopToNowPending=this.isMobile||t!==c()?void 0:"smooth",this.selectedDate=t,this.loadProgram()}}get availablePlatforms(){return this.platforms??[{id:4,label:r("components-tv-program-platform-tet-plus")},{id:1,label:r("components-tv-program-platform-tet-tv")}]}handlePlatformChange(t){const i=this.availablePlatforms[Number(t)];i&&i.id!==this.selectedPlatformId&&(this.scrollToActivePending=this.isMobile&&this.selectedDate===c(),this.selectedPlatformId=i.id,this.loadProgram())}async handleNowClick(){const t=c();await(this.datePicker?.setDate(t)),this.isMobile||(this.scrollDesktopToNowPending="smooth",this.selectedDate===t&&(this.schedule?.scrollToNow(),this.scrollDesktopToNowPending=void 0)),this.handleDateChange(t),this.isMobile&&(this.scrollToListStartPending=!1,this.scrollToActivePending=!0)}programCacheKey(t,i,s){return`${t}:${i}:${s}`}getChannelProgram(t){if(void 0!==this.selectedPlatformId)return this.programByChannel.get(this.programCacheKey(this.selectedPlatformId,this.selectedDate,t))}cacheProgram(t,i,s){for(const e of s){const s=e.events.map(((t,i)=>({...t,description:t.description??void 0,image:t.image??void 0,id:`${e.channel.id}-${t.startDate}-${t.startTime}-${i}`,channelName:e.channel.name}))),l=e.channel.id+"";this.programByChannel.set(this.programCacheKey(t,i,l),$(s,i,l,e.channel.name))}if(void 0!==this.selectedChannelId){const s=this.programCacheKey(t,i,this.selectedChannelId);this.programItems=this.programByChannel.get(s)??[]}}async loadProgram(){this.pendingMobileItems=void 0,this.readyMobileItems=void 0,this.programRequest?.abort(),this.loadMoreRetryAfter=0,this.loadingMoreChannels=!1,this.activeMobileItem=void 0,this.selectedProgramItem?.close(),this.selectedProgramItem=void 0,this.programItems=[],this.programLoading=!1,this.channelsLoading=!1;const t=this.selectedPlatformId;if(void 0===t)return;const i=this.channelsByPlatform.get(t),s=void 0===i;if(this.channels!==i&&(this.channels=i??[],this.selectedChannelId=this.channels[0]?.id),!s&&void 0===this.selectedChannelId)return;const e=this.selectedDate,l=void 0===this.selectedChannelId?void 0:this.programByChannel.get(this.programCacheKey(t,e,this.selectedChannelId));l&&(this.isMobile||this.desktopPages.has(`${t}:${e}`))?this.programItems=l:await this.fetchProgram(t,e,s)}async fetchProgram(t,i,s){const e=this.isMobile,l=new AbortController;this.programRequest=l,this.channelsLoading=s,this.programLoading=!0;try{const a=await x({date:i,platformId:t,pageSize:e?1:20,...s?{}:{includeChannels:!1,...e?{channelId:Number(this.selectedChannelId)}:{}}},l.signal);if(!this.isCurrentProgramRequest(l))return;s&&this.cacheChannels(t,a.channels),e||this.desktopPages.set(`${t}:${i}`,{page:a.page,totalPages:a.totalPages}),this.cacheProgram(t,i,a.program)}catch(t){this.isCurrentProgramRequest(l)&&console.error(`TV program ${s?"channels":"schedule"} could not be loaded.`,t)}finally{this.isCurrentProgramRequest(l)&&(this.channelsLoading=!1,this.programLoading=!1)}}isCurrentProgramRequest(t){return!t.signal.aborted&&this.programRequest===t}cacheChannels(t,i){this.channels=(i??[]).map((t=>({id:t.id+"",name:t.name,channelNumber:t.channelNumber,languages:t.languages,description:t.description??void 0,imageSource:t.logo.transparentLightSmall??"",imageSourceDark:t.logo.transparentDarkSmall??void 0}))),this.channelsByPlatform.set(t,this.channels),this.selectedChannelId=this.channels[0]?.id}async loadMoreChannels(){const t=this.selectedPlatformId,i=this.selectedDate,s=`${t}:${i}`,e=this.desktopPages.get(s);if(this.isMobile||this.programLoading||this.loadingMoreChannels||void 0===t||Date.now()<this.loadMoreRetryAfter||!e||e.page>=e.totalPages||!this.connected)return;const l=new AbortController;this.programRequest=l,this.loadingMoreChannels=!0;try{const a=await x({date:i,platformId:t,page:e.page+1,pageSize:20,includeChannels:!1},l.signal);l.signal.aborted||this.programRequest!==l||(this.cacheProgram(t,i,a.program),this.desktopPages.set(s,{page:a.page,totalPages:a.totalPages}),this.updateDesktopSchedules(),this.updateBroadcastTiming())}catch(t){l.signal.aborted||this.programRequest!==l||(console.error("TV program channels could not be loaded.",t),this.loadMoreRetryAfter=Date.now()+2e3)}finally{l.signal.aborted||this.programRequest!==l||(this.loadingMoreChannels=!1)}}observeLoadMore(t){if(t!==this.loadMoreSentinel&&(this.stopLoadMoreObservation?.(),this.stopLoadMoreObservation=void 0,this.loadMoreSentinel=t,t)){if("function"!=typeof globalThis.IntersectionObserver)return void this.loadMoreChannels();const i=new IntersectionObserver((i=>{i.some((i=>i.target===t&&i.isIntersecting))&&t===this.loadMoreSentinel&&this.loadMoreChannels()}),{rootMargin:"300px"});i.observe(t),this.stopLoadMoreObservation=()=>i.disconnect()}}observeControls(){this.controls&&"function"==typeof globalThis.ResizeObserver?(this.controlsResizeObserver=new ResizeObserver((()=>this.updateControlsHeight())),this.controlsResizeObserver.observe(this.controls)):queueMicrotask((()=>{this.connected&&this.updateControlsHeight()}))}updateControlsHeight(){const t=this.controls?.getBoundingClientRect().height??0;this.controlsHeight!==t&&(this.controlsHeight=t)}waitForMobileProgramItems(){const t=this.mobileList,i=this.programItems;if(!this.isMobile||!t||this.channelsLoading||this.programLoading||0===i.length||this.readyMobileItems===i||this.pendingMobileItems===i)return;this.pendingMobileItems=i;const e=Array.from(t.querySelectorAll("tet-tv-program-item"));Promise.all(e.map((t=>t.componentOnReady?.()))).then((()=>{this.connected&&this.isMobile&&this.mobileList===t&&this.programItems===i&&this.pendingMobileItems===i&&!this.channelsLoading&&!this.programLoading&&(this.pendingMobileItems=void 0,this.readyMobileItems=i,s(this))}))}async scrollMobileItemIntoView(t,i,s="start"){const e=this.programItems,l=this.selectedProgramItem,a=t.parentElement?.querySelectorAll("tet-tv-program-item")??[];await Promise.all(Array.from(a,(t=>t.componentOnReady?.()))),await new Promise((t=>requestAnimationFrame((()=>requestAnimationFrame((()=>t()))))));const o=await(i?.getCollapsedHeight());if(this.connected&&this.isMobile&&t.isConnected&&this.programItems===e&&this.selectedProgramItem===l&&this.controls){const e=Number.parseFloat(globalThis.getComputedStyle(this.controls).top)||0;let l=0;const a=i?.getBoundingClientRect();i?.isConnected&&a&&o&&a.top<t.getBoundingClientRect().top&&(l=Math.max(0,a.height-o)),t.style.scrollMarginTop=this.controls.getBoundingClientRect().height+e+l+"px";const r=globalThis.matchMedia?.("(prefers-reduced-motion: reduce)").matches;t.scrollIntoView({behavior:r?"auto":"smooth",block:s})}}async releaseMobileListHeight(){const t=this.mobileList,i=this.programItems,s=t?.querySelectorAll("tet-tv-program-item")??[];await Promise.all(Array.from(s,(t=>t.componentOnReady?.()))),await new Promise((t=>requestAnimationFrame((()=>requestAnimationFrame((()=>t())))))),this.connected&&this.isMobile&&t&&this.mobileList===t&&this.programItems===i&&!this.programLoading&&(this.mobileListLoadingHeight=0,t.style.minHeight="")}prepareMobileListScroll(t=this.selectedDate){this.pendingMobileListLayout=void 0;const i=this.controls,s=i&&Number.parseFloat(globalThis.getComputedStyle(i).top)||0,e=!!(this.isMobile&&i&&i.getBoundingClientRect().top<=s);this.scrollToActivePending=this.isMobile&&t===c(),this.scrollToListStartPending=e&&!this.scrollToActivePending,this.mobileListLoadingHeight=this.isMobile?this.mobileList?.getBoundingClientRect().height??0:0,this.isMobile&&this.mobileList&&(this.mobileList.style.minHeight=this.mobileListLoadingHeight+"px"),this.isMobile&&!e&&globalThis.scrollTo({top:globalThis.scrollY,left:globalThis.scrollX,behavior:"instant"})}renderNowButton(){return!this.hasLoaded||this.channelsLoading||this.programLoading||this.scrollDesktopToNowPending||this.selectedDate===c()&&(this.isMobile||this.desktopCurrentTimeVisible)?null:e("div",{class:"tv-program__now-button-container"},e("tet-button",{class:"tv-program__now-button",onClick:()=>this.handleNowClick(),theme:this.theme,colorTheme:"yellow",size:"medium",breakpointConfig:{lg:{size:"large"}}},r("components-tv-program-button-now")))}renderProgramItem(t){const i=this.broadcastTiming[t.id];return e("tet-tv-program-item",{item:t,unavailableTitle:r("components-tv-program-not-available"),theme:this.theme,layout:"mobile",isActive:i?.isActive??!1,progress:i?.progress??0})}render(){const t=this.channelsLoading||this.programLoading||0===this.programItems.length,i=t||this.readyMobileItems!==this.programItems,s=`${this.selectedPlatformId}:${this.selectedDate}`,a=this.desktopPages.get(s);return e(l,{key:"e3c78e153ce9111ee1a421c7b9312609e00ed334"},e("div",{key:"d13456dc1dccb533ee26c7acdde247f58174917e",class:"tet-grid"},e("div",{key:"9bb0f989a7c86f493293157da94d490baec3efd4",class:"tet-grid__cell--span-all"},e("section",{key:"929de48e7afc38b25a4a9141d3c5438c834fb689",class:"tv-program"},e("div",{key:"54ec0b4a6d49f5158d3b9b21eeae0c259361aff8",class:"tv-program__header"},e("h1",{key:"ffe312a436b2e668025a27a5b708de119fe8efc4",class:"tv-program__title"},this.heading??r("components-tv-program-title")),e("tet-tab-header",{key:"09169ed7219d5c400520bc96ac80a4f4ac91ee92",class:"tv-program__tab-header",theme:this.theme,type:"pill",position:"center",mode:"switch",onTabSelected:t=>this.handlePlatformChange(t.detail.new)},this.availablePlatforms.map((t=>e("button",{class:"tv-program__tab-header-button",key:t.id,type:"button"},t.label))))),e("div",{key:"118ff38019d7d0c0bec12bf42e8aee3ce4bc9fba",class:"tv-program__controls",ref:t=>{this.controls=t}},this.isMobile&&e("tet-tv-program-channel-picker",{key:"c06ae6b594f08b07486628fa4018d5725257937c",class:"tv-program__channel-picker",theme:this.theme,channels:this.channels,selectedChannel:this.selectedChannelId,loading:this.channelsLoading||0===this.channels.length,onChannelSelected:t=>this.handleChannelChange(t.detail)}),e("tet-tv-program-date-picker",{key:"da5705370896c7255b016c6d691f6bb54a933011",ref:t=>{this.datePicker=t},class:"tv-program__date-picker",theme:this.theme,language:this.language,onDateSelected:t=>this.handleDateChange(t.detail)})),this.isMobile?e("ul",{class:"tv-program__channel","aria-busy":i?"true":"false",ref:t=>{this.mobileList=t}},!t&&this.programItems.map((t=>e("li",{hidden:i,key:t.id,ref:i=>{this.broadcastTiming[t.id]?.isActive&&(this.activeMobileItem=i)}},this.renderProgramItem(t)))),i&&p(this.theme)):e("tet-tv-program-schedule",{unavailableTitle:r("components-tv-program-not-available"),ref:t=>{this.schedule=t},schedules:this.desktopSchedules,channels:this.channels,date:this.selectedDate,theme:this.theme,language:this.language,channelsLoading:this.channelsLoading,programLoading:this.programLoading,loadingMoreChannels:this.loadingMoreChannels,currentTime:this.currentTime,broadcastTiming:this.broadcastTiming,style:{"--tv-program-schedule-sticky-top":`calc(var(--tv-program-sticky-top-offset, 0px) + ${this.controlsHeight}px)`}}),!this.isMobile&&!this.programLoading&&a&&a.page<a.totalPages&&e("div",{key:`${s}:${a.page}`,class:"tv-program__load-more","aria-hidden":"true",style:{height:"1px"},ref:t=>this.observeLoadMore(t)}),this.renderNowButton()))))}static get watchers(){return{programItems:[{updateBroadcastTiming:0},{updateDesktopSchedules:0}],isMobile:[{updateBroadcastTiming:0}],language:[{onLanguageChange:0}]}}static get style(){return'@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{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}.tet-grid--col-12,.tet-grid--col-8,.tet-grid--col-4,.tet-grid,.tet-grid--no-limit,.tet-grid--no-margin,.tet-grid--no-padding{box-sizing:border-box;display:grid;position:relative;width:100%;max-width:none;grid-template-columns:repeat(4, minmax(0, 1fr));column-gap:1rem;padding:0 1rem;margin:0 auto}.tet-grid--no-padding{column-gap:0 !important}.tet-grid--no-margin{padding:0 !important}.tet-grid--no-limit{max-width:unset !important}.tet-grid--col-4{grid-template-columns:repeat(4, minmax(0, 1fr)) !important}.tet-grid--col-8{grid-template-columns:repeat(8, minmax(0, 1fr)) !important}.tet-grid--col-8 .tet-grid__cell--span-all{grid-column:span 8}.tet-grid--col-12{grid-template-columns:repeat(12, minmax(0, 1fr)) !important}.tet-grid--col-12 .tet-grid__cell--span-all{grid-column:span 12}.tet-grid__cell,.tet-grid__cell--df-show,.tet-grid__cell--xs-show,.tet-grid__cell--sm-show,.tet-grid__cell--md-show,.tet-grid__cell--lg-show,.tet-grid__cell--xl-show,.tet-grid__cell--2k-show,.tet-grid__cell--gg-show{grid-column:span 1}.tet-grid__cell--span-2-rows{grid-row:span 2}.tet-grid__cell--span-3-rows{grid-row:span 3}.tet-grid__cell--span-4-rows{grid-row:span 4}.tet-grid__cell--span-5-rows{grid-row:span 5}.tet-grid__cell--span-6-rows{grid-row:span 6}.tet-grid__cell--span-7-rows{grid-row:span 7}.tet-grid__cell--span-8-rows{grid-row:span 8}.tet-grid__cell--span-9-rows{grid-row:span 9}.tet-grid__cell--span-10-rows{grid-row:span 10}.tet-grid__cell--span-11-rows{grid-row:span 11}.tet-grid__cell--span-12-rows{grid-row:span 12}.tet-grid__cell--span-all{grid-column:span 4}.tet-grid__cell--span-1{display:block;grid-column:span 1}.tet-grid__cell--span-2{display:block;grid-column:span 2}.tet-grid__cell--span-3{display:block;grid-column:span 3}.tet-grid__cell--span-4{display:block;grid-column:span 4}.tet-grid__cell--span-5{display:block;grid-column:span 4}.tet-grid__cell--span-6{display:block;grid-column:span 4}.tet-grid__cell--span-7{display:block;grid-column:span 4}.tet-grid__cell--span-8{display:block;grid-column:span 4}.tet-grid__cell--span-9{display:block;grid-column:span 4}.tet-grid__cell--span-10{display:block;grid-column:span 4}.tet-grid__cell--span-11{display:block;grid-column:span 4}.tet-grid__cell--span-12{display:block;grid-column:span 4}.tet-grid__cell--hide{display:none}.tet-grid__cell--show{display:block}@media all and (min-width: 22.5rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(4, minmax(0, 1fr));column-gap:1rem;padding:0 1rem}.tet-grid__cell--span-all{grid-column:span 4}.tet-grid__cell--df-span-1{display:block;grid-column:span 1}.tet-grid__cell--df-span-2{display:block;grid-column:span 2}.tet-grid__cell--df-span-3{display:block;grid-column:span 3}.tet-grid__cell--df-span-4{display:block;grid-column:span 4}.tet-grid__cell--df-span-5{display:block;grid-column:span 4}.tet-grid__cell--df-span-6{display:block;grid-column:span 4}.tet-grid__cell--df-span-7{display:block;grid-column:span 4}.tet-grid__cell--df-span-8{display:block;grid-column:span 4}.tet-grid__cell--df-span-9{display:block;grid-column:span 4}.tet-grid__cell--df-span-10{display:block;grid-column:span 4}.tet-grid__cell--df-span-11{display:block;grid-column:span 4}.tet-grid__cell--df-span-12{display:block;grid-column:span 4}.tet-grid__cell--df-hide{display:none}.tet-grid__cell--df-show{display:block}}@media all and (min-width: 31.25rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{column-gap:1.5rem;padding:0 2rem}.tet-grid__cell--xs-span-1{display:block;grid-column:span 1}.tet-grid__cell--xs-span-2{display:block;grid-column:span 2}.tet-grid__cell--xs-span-3{display:block;grid-column:span 3}.tet-grid__cell--xs-span-4{display:block;grid-column:span 4}.tet-grid__cell--xs-span-5{display:block;grid-column:span 4}.tet-grid__cell--xs-span-6{display:block;grid-column:span 4}.tet-grid__cell--xs-span-7{display:block;grid-column:span 4}.tet-grid__cell--xs-span-8{display:block;grid-column:span 4}.tet-grid__cell--xs-span-9{display:block;grid-column:span 4}.tet-grid__cell--xs-span-10{display:block;grid-column:span 4}.tet-grid__cell--xs-span-11{display:block;grid-column:span 4}.tet-grid__cell--xs-span-12{display:block;grid-column:span 4}.tet-grid__cell--xs-hide{display:none}.tet-grid__cell--xs-show{display:block}}@media all and (min-width: 46.25rem){.tet-grid__cell--sm-span-1{display:block;grid-column:span 1}.tet-grid__cell--sm-span-2{display:block;grid-column:span 2}.tet-grid__cell--sm-span-3{display:block;grid-column:span 3}.tet-grid__cell--sm-span-4{display:block;grid-column:span 4}.tet-grid__cell--sm-span-5{display:block;grid-column:span 5}.tet-grid__cell--sm-span-6{display:block;grid-column:span 6}.tet-grid__cell--sm-span-7{display:block;grid-column:span 7}.tet-grid__cell--sm-span-8{display:block;grid-column:span 8}.tet-grid__cell--sm-span-9{display:block;grid-column:span 9}.tet-grid__cell--sm-span-10{display:block;grid-column:span 10}.tet-grid__cell--sm-span-11{display:block;grid-column:span 11}.tet-grid__cell--sm-span-12{display:block;grid-column:span 12}.tet-grid__cell--sm-hide{display:none}.tet-grid__cell--sm-show{display:block}}@media all and (min-width: 48rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(8, minmax(0, 1fr))}.tet-grid__cell--span-all{grid-column:span 8}.tet-grid__cell--md-span-1{display:block;grid-column:span 1}.tet-grid__cell--md-span-2{display:block;grid-column:span 2}.tet-grid__cell--md-span-3{display:block;grid-column:span 3}.tet-grid__cell--md-span-4{display:block;grid-column:span 4}.tet-grid__cell--md-span-5{display:block;grid-column:span 5}.tet-grid__cell--md-span-6{display:block;grid-column:span 6}.tet-grid__cell--md-span-7{display:block;grid-column:span 7}.tet-grid__cell--md-span-8{display:block;grid-column:span 8}.tet-grid__cell--md-span-9{display:block;grid-column:span 8}.tet-grid__cell--md-span-10{display:block;grid-column:span 8}.tet-grid__cell--md-span-11{display:block;grid-column:span 8}.tet-grid__cell--md-span-12{display:block;grid-column:span 8}.tet-grid__cell--md-hide{display:none}.tet-grid__cell--md-show{display:block}}@media all and (min-width: 64rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{grid-template-columns:repeat(12, minmax(0, 1fr))}.tet-grid__cell--span-all{grid-column:span 12}.tet-grid__cell--lg-span-1{display:block;grid-column:span 1}.tet-grid__cell--lg-span-2{display:block;grid-column:span 2}.tet-grid__cell--lg-span-3{display:block;grid-column:span 3}.tet-grid__cell--lg-span-4{display:block;grid-column:span 4}.tet-grid__cell--lg-span-5{display:block;grid-column:span 5}.tet-grid__cell--lg-span-6{display:block;grid-column:span 6}.tet-grid__cell--lg-span-7{display:block;grid-column:span 7}.tet-grid__cell--lg-span-8{display:block;grid-column:span 8}.tet-grid__cell--lg-span-9{display:block;grid-column:span 9}.tet-grid__cell--lg-span-10{display:block;grid-column:span 10}.tet-grid__cell--lg-span-11{display:block;grid-column:span 11}.tet-grid__cell--lg-span-12{display:block;grid-column:span 12}.tet-grid__cell--lg-hide{display:none}.tet-grid__cell--lg-show{display:block}}@media all and (min-width: 80rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{padding:0 4rem}.tet-grid__cell--xl-span-1{display:block;grid-column:span 1}.tet-grid__cell--xl-span-2{display:block;grid-column:span 2}.tet-grid__cell--xl-span-3{display:block;grid-column:span 3}.tet-grid__cell--xl-span-4{display:block;grid-column:span 4}.tet-grid__cell--xl-span-5{display:block;grid-column:span 5}.tet-grid__cell--xl-span-6{display:block;grid-column:span 6}.tet-grid__cell--xl-span-7{display:block;grid-column:span 7}.tet-grid__cell--xl-span-8{display:block;grid-column:span 8}.tet-grid__cell--xl-span-9{display:block;grid-column:span 9}.tet-grid__cell--xl-span-10{display:block;grid-column:span 10}.tet-grid__cell--xl-span-11{display:block;grid-column:span 11}.tet-grid__cell--xl-span-12{display:block;grid-column:span 12}.tet-grid__cell--xl-hide{display:none}.tet-grid__cell--xl-show{display:block}}@media all and (min-width: 90rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{padding:0 4.5rem}.tet-grid__cell--mg-span-1{display:block;grid-column:span 1}.tet-grid__cell--mg-span-2{display:block;grid-column:span 2}.tet-grid__cell--mg-span-3{display:block;grid-column:span 3}.tet-grid__cell--mg-span-4{display:block;grid-column:span 4}.tet-grid__cell--mg-span-5{display:block;grid-column:span 5}.tet-grid__cell--mg-span-6{display:block;grid-column:span 6}.tet-grid__cell--mg-span-7{display:block;grid-column:span 7}.tet-grid__cell--mg-span-8{display:block;grid-column:span 8}.tet-grid__cell--mg-span-9{display:block;grid-column:span 9}.tet-grid__cell--mg-span-10{display:block;grid-column:span 10}.tet-grid__cell--mg-span-11{display:block;grid-column:span 11}.tet-grid__cell--mg-span-12{display:block;grid-column:span 12}.tet-grid__cell--mg-hide{display:none}.tet-grid__cell--mg-show{display:block}}@media all and (min-width: 120rem){.tet-grid,.tet-grid--no-padding,.tet-grid--no-margin,.tet-grid--no-limit{max-width:111rem;padding:0}.tet-grid__cell--gg-span-1{display:block;grid-column:span 1}.tet-grid__cell--gg-span-2{display:block;grid-column:span 2}.tet-grid__cell--gg-span-3{display:block;grid-column:span 3}.tet-grid__cell--gg-span-4{display:block;grid-column:span 4}.tet-grid__cell--gg-span-5{display:block;grid-column:span 5}.tet-grid__cell--gg-span-6{display:block;grid-column:span 6}.tet-grid__cell--gg-span-7{display:block;grid-column:span 7}.tet-grid__cell--gg-span-8{display:block;grid-column:span 8}.tet-grid__cell--gg-span-9{display:block;grid-column:span 9}.tet-grid__cell--gg-span-10{display:block;grid-column:span 10}.tet-grid__cell--gg-span-11{display:block;grid-column:span 11}.tet-grid__cell--gg-span-12{display:block;grid-column:span 12}.tet-grid__cell--gg-hide{display:none}.tet-grid__cell--gg-show{display:block}}:host{--tv-program-sticky-top-offset:0px;--tv-program-background-color:var(--tc-background-primary);--tv-program-text-primary-color:var(--tc-text-primary);--tv-program-button-now-box-shadow:var(--tc-elevation-two);display:block}:host([theme=dark]){--tv-program-background-color:var(--tc-background-primary-dark);--tv-program-text-primary-color:var(--tc-text-primary-dark);--tv-program-button-now-box-shadow:var(--tc-elevation-two-dark)}.tv-program{position:relative;display:flex;flex-direction:column;color:var(--tv-program-text-primary-color)}.tv-program__header{display:flex;flex-direction:column;justify-content:center;gap:1rem;margin-bottom:0.5rem}@media screen and (min-width: 64rem){.tv-program__header{gap:1.5rem;margin-bottom:1rem}}.tv-program__title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif";text-align:center}@media screen and (min-width: 48rem){.tv-program__title{font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media screen and (min-width: 64rem){.tv-program__title{font:600 2.5rem/3rem "Gilroy", "Gilroy, Arial, sans-serif"}}.tv-program__tab-header-button:not(:last-child){margin-right:0.5rem}.tv-program__controls{position:sticky;z-index:5;top:var(--tv-program-sticky-top-offset);padding-block:1.5rem;display:flex;flex-direction:column;gap:1.5rem;margin-inline:-1rem;background-color:var(--tv-program-background-color)}@media screen and (min-width: 31.25rem){.tv-program__controls{margin-inline:-2rem}}@media screen and (min-width: 48rem){.tv-program__controls{margin-inline:0}}.tv-program__channel{min-height:12.75rem;overflow-anchor:none;display:flex;flex-direction:column;gap:0.75rem;list-style:none}.tv-program__item-placeholder{--placeholder-border-radius:1rem}.tv-program__now-button-container{--now-button-spacing:1rem;position:absolute;z-index:4;inset:0;display:flex;align-items:flex-end;justify-content:flex-end;padding:var(--now-button-spacing);pointer-events:none}@media screen and (min-width: 64rem){.tv-program__now-button-container{--now-button-spacing:1.5rem}}.tv-program__now-button{position:sticky;bottom:var(--now-button-spacing);flex-shrink:0;pointer-events:auto;box-shadow:var(--tv-program-button-now-box-shadow)}'}},[513,"tet-tv-program",{theme:[513],heading:[1],language:[1],platforms:[16],channels:[32],channelsLoading:[32],programLoading:[32],loadingMoreChannels:[32],programItems:[32],broadcastTiming:[32],selectedDate:[32],isMobile:[32],currentTime:[32],desktopSchedules:[32],controlsHeight:[32],desktopCurrentTimeVisible:[32]},[[0,"broadcastSelected","handleBroadcastSelected"],[0,"currentTimeVisibilityChanged","handleCurrentTimeVisibilityChanged"]],{programItems:[{updateBroadcastTiming:0},{updateDesktopSchedules:0}],isMobile:[{updateBroadcastTiming:0}],language:[{onLanguageChange:0}]}]),D=P,L=function(){"undefined"!=typeof customElements&&["tet-tv-program","tet-accordion","tet-button","tet-icon","tet-placeholder","tet-tab-header","tet-tooltip","tet-tv-program-channel-picker","tet-tv-program-date-picker","tet-tv-program-item","tet-tv-program-schedule"].forEach((t=>{switch(t){case"tet-tv-program":customElements.get(a(t))||customElements.define(a(t),P);break;case"tet-accordion":customElements.get(a(t))||m();break;case"tet-button":customElements.get(a(t))||h();break;case"tet-icon":customElements.get(a(t))||_();break;case"tet-placeholder":customElements.get(a(t))||u();break;case"tet-tab-header":customElements.get(a(t))||f();break;case"tet-tooltip":customElements.get(a(t))||b();break;case"tet-tv-program-channel-picker":customElements.get(a(t))||y();break;case"tet-tv-program-date-picker":customElements.get(a(t))||k();break;case"tet-tv-program-item":customElements.get(a(t))||w();break;case"tet-tv-program-schedule":customElements.get(a(t))||g()}}))};export{D as TetTvProgram,L as defineCustomElement}
@@ -0,0 +1,148 @@
1
+ /** Coordinates lazy TV-program tooltips without changing tet-tooltip's own rendering. */
2
+ class TooltipLifecycle {
3
+ onHidden;
4
+ tooltip;
5
+ version = 0;
6
+ active = false;
7
+ openedAt;
8
+ showing = false;
9
+ immediate = false;
10
+ originalShowDelay;
11
+ hideTimeout;
12
+ hideFrame;
13
+ constructor(onHidden) {
14
+ this.onHidden = onHidden;
15
+ }
16
+ request(immediate = false) {
17
+ this.active = true;
18
+ this.immediate ||= immediate;
19
+ this.version++;
20
+ clearTimeout(this.hideTimeout);
21
+ if (this.tooltip) {
22
+ this.open(this.tooltip);
23
+ }
24
+ }
25
+ attach(tooltip) {
26
+ if (tooltip && tooltip !== this.tooltip) {
27
+ this.tooltip = tooltip;
28
+ this.showing = false;
29
+ this.openedAt = undefined;
30
+ if (this.active) {
31
+ this.open(tooltip);
32
+ }
33
+ }
34
+ }
35
+ dismiss(immediate = false) {
36
+ this.active = false;
37
+ const version = ++this.version;
38
+ clearTimeout(this.hideTimeout);
39
+ const tooltip = this.tooltip;
40
+ if (!tooltip) {
41
+ this.onHidden();
42
+ return;
43
+ }
44
+ const pendingShow = this.openedAt === undefined || Date.now() - this.openedAt < this.delay(tooltip, '--tooltip-delay-show');
45
+ const delay = immediate || pendingShow ? 0 : this.delay(tooltip, '--tooltip-delay-hide');
46
+ if (delay > 0) {
47
+ this.hideTimeout = setTimeout(() => { this.hide(tooltip, version); }, delay);
48
+ }
49
+ else {
50
+ this.hide(tooltip, version);
51
+ }
52
+ }
53
+ reset() {
54
+ this.version++;
55
+ this.active = false;
56
+ if (this.tooltip && this.originalShowDelay !== undefined) {
57
+ if (this.originalShowDelay) {
58
+ this.tooltip.style.setProperty('--tooltip-delay-show', this.originalShowDelay);
59
+ }
60
+ else {
61
+ this.tooltip.style.removeProperty('--tooltip-delay-show');
62
+ }
63
+ }
64
+ this.originalShowDelay = undefined;
65
+ this.immediate = false;
66
+ this.tooltip = undefined;
67
+ this.openedAt = undefined;
68
+ this.showing = false;
69
+ clearTimeout(this.hideTimeout);
70
+ if (this.hideFrame !== undefined) {
71
+ cancelAnimationFrame(this.hideFrame);
72
+ this.hideFrame = undefined;
73
+ }
74
+ }
75
+ delay(tooltip, property) {
76
+ const value = globalThis.getComputedStyle(tooltip).getPropertyValue(property).trim();
77
+ const milliseconds = Number.parseFloat(value) * (value.endsWith('ms') ? 1 : 1000);
78
+ return Number.isFinite(milliseconds) ? Math.max(0, milliseconds) : 0;
79
+ }
80
+ async open(tooltip) {
81
+ const version = this.version;
82
+ await tooltip.componentOnReady?.();
83
+ if (version !== this.version || !this.active || tooltip !== this.tooltip || !tooltip.isConnected) {
84
+ return;
85
+ }
86
+ const reopening = !this.showing && this.openedAt !== undefined
87
+ && Date.now() - this.openedAt >= this.delay(tooltip, '--tooltip-delay-show');
88
+ if (this.immediate || reopening) {
89
+ this.skipShowDelay(tooltip);
90
+ }
91
+ if (this.showing) {
92
+ return;
93
+ }
94
+ tooltip.style.display = 'inline-block';
95
+ // Establish the hidden style before tet-tooltip starts its CSS show delay.
96
+ tooltip.getBoundingClientRect();
97
+ this.openedAt = Date.now();
98
+ this.showing = true;
99
+ await tooltip.show();
100
+ }
101
+ skipShowDelay(tooltip) {
102
+ this.originalShowDelay ??= tooltip.style.getPropertyValue('--tooltip-delay-show');
103
+ const animations = tooltip.getAnimations?.() ?? [];
104
+ tooltip.style.setProperty('--tooltip-delay-show', '0s');
105
+ for (const animation of animations) {
106
+ const delay = animation.effect?.getTiming().delay ?? 0;
107
+ if (delay > 0 && 'transitionProperty' in animation && ['opacity', 'visibility'].includes(String(animation.transitionProperty))) {
108
+ const currentTime = typeof animation.currentTime === 'number' ? animation.currentTime : 0;
109
+ animation.currentTime = Math.max(currentTime, delay);
110
+ }
111
+ }
112
+ }
113
+ async hide(tooltip, version) {
114
+ if (version !== this.version || tooltip !== this.tooltip) {
115
+ return;
116
+ }
117
+ this.showing = false;
118
+ await tooltip.hide();
119
+ if (version !== this.version) {
120
+ return;
121
+ }
122
+ this.hideFrame = requestAnimationFrame(() => {
123
+ this.hideFrame = undefined;
124
+ const animations = tooltip.getAnimations?.() ?? [];
125
+ Promise.all(animations.map(animation => animation.finished.catch(() => undefined))).then(() => {
126
+ if (version === this.version && !this.active) {
127
+ this.onHidden();
128
+ }
129
+ });
130
+ });
131
+ }
132
+ }
133
+
134
+ const weekdayFormatter = new Intl.DateTimeFormat('lv-LV', { weekday: 'long', timeZone: 'UTC' });
135
+ function formatProgramStartDate(value) {
136
+ if (!value || !/^\d{4}-\d{2}-\d{2}$/.test(value)) {
137
+ return '';
138
+ }
139
+ const date = new Date(`${value}T00:00:00Z`);
140
+ if (Number.isNaN(date.getTime()) || date.toISOString().slice(0, 10) !== value) {
141
+ return '';
142
+ }
143
+ const weekday = weekdayFormatter.format(date);
144
+ const [year, month, day] = value.split('-');
145
+ return `${weekday.charAt(0).toLocaleUpperCase('lv-LV')}${weekday.slice(1)}, ${day}.${month}.${year}`;
146
+ }
147
+
148
+ export { TooltipLifecycle as T, formatProgramStartDate as f };
@@ -1,4 +1,4 @@
1
- import { E as Env } from './index-gA3_LS77.js';
1
+ import { E as Env } from './index-CO8AyGrA.js';
2
2
 
3
3
  /**
4
4
  * Generic class for creating & executing API requests.
@@ -84,6 +84,7 @@ const endpoints$1 = {
84
84
  createCallCenterTask: "/tasks/create-callcenter-task/",
85
85
  componentData: "/web-components/data/",
86
86
  tvPlatformChannels: "/tv/channels/platform/",
87
+ tvProgram: "/tv/program/",
87
88
  tvPackages: "/tv/packages/",
88
89
  metastoreProducts: "/metastore/products",
89
90
  cloudConfigurator: "/metastore/cloud-calculator-fields",
@@ -1,6 +1,6 @@
1
1
  const NAMESPACE = 'tet-components';
2
2
  const BUILD = /* tet-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: true, slotRelocation: true, state: true, updatable: true};
3
- const Env = /* tet-components */ {"environment":"testing"};
3
+ const Env = /* tet-components */ {"environment":"production"};
4
4
 
5
5
  /*
6
6
  Stencil Client Platform v4.45.1 | MIT Licensed | https://stenciljs.com
@@ -180,10 +180,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
180
180
  return import(
181
181
  /* webpackMode: "lazy" */
182
182
  './tet-counter.entry.js').then(processMod, consoleError);
183
- case 'tet-datepicker':
184
- return import(
185
- /* webpackMode: "lazy" */
186
- './tet-datepicker.entry.js').then(processMod, consoleError);
187
183
  case 'tet-display':
188
184
  return import(
189
185
  /* webpackMode: "lazy" */
@@ -308,10 +304,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
308
304
  return import(
309
305
  /* webpackMode: "lazy" */
310
306
  './tet-thank-you-view-v3.entry.js').then(processMod, consoleError);
311
- case 'tet-tv-program':
312
- return import(
313
- /* webpackMode: "lazy" */
314
- './tet-tv-program.entry.js').then(processMod, consoleError);
315
307
  case 'tet-inline-message':
316
308
  return import(
317
309
  /* webpackMode: "lazy" */
@@ -336,6 +328,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
336
328
  return import(
337
329
  /* webpackMode: "lazy" */
338
330
  './tet-notification.entry.js').then(processMod, consoleError);
331
+ case 'tet-tv-program-item':
332
+ return import(
333
+ /* webpackMode: "lazy" */
334
+ './tet-tv-program-item.entry.js').then(processMod, consoleError);
339
335
  case 'tet-text-list':
340
336
  return import(
341
337
  /* webpackMode: "lazy" */
@@ -364,6 +360,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
364
360
  return import(
365
361
  /* webpackMode: "lazy" */
366
362
  './tet-placeholder.entry.js').then(processMod, consoleError);
363
+ case 'tet-tooltip':
364
+ return import(
365
+ /* webpackMode: "lazy" */
366
+ './tet-tooltip.entry.js').then(processMod, consoleError);
367
367
  case 'tet-button':
368
368
  return import(
369
369
  /* webpackMode: "lazy" */
@@ -392,10 +392,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
392
392
  return import(
393
393
  /* webpackMode: "lazy" */
394
394
  './tet-input.entry.js').then(processMod, consoleError);
395
- case 'tet-tv-program-channel-picker_2':
396
- return import(
397
- /* webpackMode: "lazy" */
398
- './tet-tv-program-channel-picker_2.entry.js').then(processMod, consoleError);
399
395
  case 'tet-container_2':
400
396
  return import(
401
397
  /* webpackMode: "lazy" */
@@ -408,22 +404,30 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
408
404
  return import(
409
405
  /* webpackMode: "lazy" */
410
406
  './tet-tag_2.entry.js').then(processMod, consoleError);
407
+ case 'tet-checkbox_2':
408
+ return import(
409
+ /* webpackMode: "lazy" */
410
+ './tet-checkbox_2.entry.js').then(processMod, consoleError);
411
411
  case 'tet-b2b-configurator':
412
412
  return import(
413
413
  /* webpackMode: "lazy" */
414
414
  './tet-b2b-configurator.entry.js').then(processMod, consoleError);
415
+ case 'tet-tv-program':
416
+ return import(
417
+ /* webpackMode: "lazy" */
418
+ './tet-tv-program.entry.js').then(processMod, consoleError);
415
419
  case 'tet-compare-cards_2':
416
420
  return import(
417
421
  /* webpackMode: "lazy" */
418
422
  './tet-compare-cards_2.entry.js').then(processMod, consoleError);
419
- case 'tet-autocomplete_2':
423
+ case 'tet-tv-program-channel-picker_3':
420
424
  return import(
421
425
  /* webpackMode: "lazy" */
422
- './tet-autocomplete_2.entry.js').then(processMod, consoleError);
423
- case 'tet-checkbox_3':
426
+ './tet-tv-program-channel-picker_3.entry.js').then(processMod, consoleError);
427
+ case 'tet-autocomplete_2':
424
428
  return import(
425
429
  /* webpackMode: "lazy" */
426
- './tet-checkbox_3.entry.js').then(processMod, consoleError);
430
+ './tet-autocomplete_2.entry.js').then(processMod, consoleError);
427
431
  case 'tet-icon':
428
432
  return import(
429
433
  /* webpackMode: "lazy" */
@@ -440,10 +444,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
440
444
  return import(
441
445
  /* webpackMode: "lazy" */
442
446
  './tet-address-offers-filters-products_2.entry.js').then(processMod, consoleError);
443
- case 'tet-datepicker-header_4':
444
- return import(
445
- /* webpackMode: "lazy" */
446
- './tet-datepicker-header_4.entry.js').then(processMod, consoleError);
447
447
  case 'tet-address-search_2':
448
448
  return import(
449
449
  /* webpackMode: "lazy" */
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate } from './index-gA3_LS77.js';
1
+ import { g as getRenderingRef, f as forceUpdate } from './index-CO8AyGrA.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
4
  const items = map.get(propName);