@tet/tet-components 1.4.109-testing → 1.4.110-staging

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (518) hide show
  1. package/dist/cjs/{address-d3d97441.js → address-db3de695.js} +1 -1
  2. package/dist/cjs/{assets-f0cfef4d.js → assets-294836fa.js} +1 -1
  3. package/dist/cjs/{async-request-a617bfe6.js → async-request-f54455d3.js} +19 -19
  4. package/dist/cjs/{http-codes-0eae7bd3.js → http-codes-3b8718ff.js} +1 -1
  5. package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
  6. package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{phone-f6be08ae.js → phone-e6a926f8.js} +2 -2
  9. package/dist/cjs/{product-comparison-fd3cbd23.js → product-comparison-1b20429d.js} +1 -1
  10. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  12. package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
  13. package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
  14. package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
  17. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
  20. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  21. package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
  22. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  23. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  24. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  26. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  27. package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
  28. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  29. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  30. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  31. package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-checkbox_2.cjs.entry.js +1 -1
  33. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  34. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -4
  35. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  36. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  37. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
  38. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  39. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  40. package/dist/cjs/tet-components.cjs.js +1 -1
  41. package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
  42. package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  45. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  46. package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
  47. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  50. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  51. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  53. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  54. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  56. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  60. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  61. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  62. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  64. package/dist/cjs/tet-label.cjs.entry.js +3 -3
  65. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-loader.cjs.entry.js +1 -1
  69. package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
  70. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  73. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  74. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
  75. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  76. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  80. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
  82. package/dist/cjs/tet-radio.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-referral.cjs.entry.js +5 -5
  85. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  86. package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
  87. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  88. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  89. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  90. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  91. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  92. package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
  93. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  94. package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
  95. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  96. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  97. package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
  98. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  99. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  100. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  101. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  102. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  103. package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
  104. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  105. package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
  106. package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
  107. package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
  108. package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
  109. package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
  110. package/dist/cjs/translations-ccafaff5.js +253 -0
  111. package/dist/collection/components/views/tet-cloud-configurator/tet-cloud-configurator.js +0 -1
  112. package/dist/collection/services/api/services/translations.js +24 -8
  113. package/dist/collection/services/translations/translation-dictionary.js +8 -0
  114. package/dist/collection/services/translations/translations-manager.js +115 -24
  115. package/dist/collection/services/translations/translations.js +1 -5
  116. package/dist/components/index.js +1 -1
  117. package/dist/components/{p-636addf8.js → p-03d57ef1.js} +14 -14
  118. package/dist/components/{p-ed08f5c9.js → p-04fcd75f.js} +1 -1
  119. package/dist/components/{p-1b944431.js → p-0a9b21dd.js} +3 -3
  120. package/dist/components/{p-029c98e2.js → p-0ce42ec4.js} +1 -1
  121. package/dist/components/{p-e2dfc149.js → p-1b43d459.js} +1 -1
  122. package/dist/components/{p-4c8ecb57.js → p-1bf4f4cc.js} +1 -1
  123. package/dist/components/{p-90821fe8.js → p-202a8195.js} +5 -5
  124. package/dist/components/{p-f333eb4f.js → p-22d09286.js} +10 -10
  125. package/dist/components/{p-f7f459ce.js → p-242b5e16.js} +1 -1
  126. package/dist/components/{p-8f61e16c.js → p-2d9e6723.js} +7 -7
  127. package/dist/components/{p-9a3299ca.js → p-3608b336.js} +2 -2
  128. package/dist/components/{p-5f555c17.js → p-3829b6a4.js} +1 -1
  129. package/dist/components/{p-3d15252a.js → p-3c6ce705.js} +2 -2
  130. package/dist/components/{p-3be94cf3.js → p-3f182f62.js} +3 -3
  131. package/dist/components/{p-486d6dab.js → p-45a93f15.js} +1 -1
  132. package/dist/components/{p-f58fcdf1.js → p-4a3aa36a.js} +1 -1
  133. package/dist/components/{p-829b8d02.js → p-4bf8f609.js} +2 -2
  134. package/dist/components/{p-43f43609.js → p-4f4248f8.js} +1 -1
  135. package/dist/components/{p-99fc1300.js → p-500c653a.js} +6 -6
  136. package/dist/components/{p-dc13c5ac.js → p-50441f6e.js} +2 -2
  137. package/dist/components/{p-c438a4ae.js → p-520429de.js} +6 -6
  138. package/dist/components/{p-8c840b9f.js → p-5ad4353d.js} +2 -2
  139. package/dist/components/{p-0cb11ace.js → p-5f069c08.js} +1 -1
  140. package/dist/components/{p-11313fde.js → p-6008f83a.js} +1 -1
  141. package/dist/components/{p-2a2822bb.js → p-609ae45c.js} +7 -7
  142. package/dist/components/{p-ddfcfd20.js → p-65347151.js} +1 -1
  143. package/dist/components/{p-b55289e2.js → p-687ffed4.js} +4 -4
  144. package/dist/components/{p-e296086b.js → p-6f4c6246.js} +1 -1
  145. package/dist/components/{p-ca3ef754.js → p-7228562d.js} +7 -7
  146. package/dist/components/{p-3766232d.js → p-7fd8e8b7.js} +19 -19
  147. package/dist/components/{p-317746ab.js → p-83bbc61f.js} +2 -2
  148. package/dist/components/{p-d65b7994.js → p-8c2de0b5.js} +5 -5
  149. package/dist/components/{p-c45c36b8.js → p-9ee1eb21.js} +10 -10
  150. package/dist/components/{p-f8ec4cde.js → p-9f2598e7.js} +2 -2
  151. package/dist/components/{p-2658271e.js → p-a11311d8.js} +2 -2
  152. package/dist/components/{p-7f3e015a.js → p-a1babafa.js} +2 -2
  153. package/dist/components/{p-47468ad7.js → p-a4c55f94.js} +3 -3
  154. package/dist/components/{p-d36e8780.js → p-a60cb847.js} +3 -3
  155. package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
  156. package/dist/components/{p-de831036.js → p-ad5993f4.js} +1 -1
  157. package/dist/components/p-b1bb4cda.js +250 -0
  158. package/dist/components/{p-754ea39b.js → p-b7448451.js} +3 -3
  159. package/dist/components/{p-6c05c6b9.js → p-b76f25f6.js} +1 -1
  160. package/dist/components/{p-e7d5c5c7.js → p-bacb4d5d.js} +2 -2
  161. package/dist/components/{p-511093b3.js → p-be153cab.js} +4 -4
  162. package/dist/components/{p-66699b53.js → p-be8f4189.js} +3 -3
  163. package/dist/components/{p-0ea85682.js → p-c0046535.js} +2 -2
  164. package/dist/components/{p-13e4af07.js → p-c4d1919d.js} +1 -1
  165. package/dist/components/{p-cea2542c.js → p-c871cce1.js} +3 -3
  166. package/dist/components/{p-f54b29a3.js → p-cb5b6b77.js} +2 -2
  167. package/dist/components/{p-c837f3cc.js → p-d226c844.js} +3 -3
  168. package/dist/components/{p-caf5a227.js → p-d3fd782a.js} +1 -1
  169. package/dist/components/{p-a8911eb9.js → p-d965dce3.js} +9 -9
  170. package/dist/components/{p-7454b60d.js → p-da796c31.js} +7 -7
  171. package/dist/components/{p-ab5e98a0.js → p-ddb760af.js} +2 -2
  172. package/dist/components/{p-7c3df995.js → p-de00811e.js} +1 -1
  173. package/dist/components/{p-f33b757a.js → p-e46361b7.js} +1 -1
  174. package/dist/components/{p-33ddb139.js → p-ebacfe52.js} +6 -6
  175. package/dist/components/{p-9e7ca7ed.js → p-f7053d58.js} +1 -1
  176. package/dist/components/tet-accordion.js +1 -1
  177. package/dist/components/tet-address-offers-filters-products.js +1 -1
  178. package/dist/components/tet-address-offers-filters.js +1 -1
  179. package/dist/components/tet-address-offers-view.js +24 -24
  180. package/dist/components/tet-address-offers.js +1 -1
  181. package/dist/components/tet-address-search.js +1 -1
  182. package/dist/components/tet-assembler.js +7 -7
  183. package/dist/components/tet-asset-addresses.js +13 -13
  184. package/dist/components/tet-asset-availability-addresses.js +1 -1
  185. package/dist/components/tet-autocomplete-dropdown.js +5 -5
  186. package/dist/components/tet-autocomplete.js +1 -1
  187. package/dist/components/tet-availability-contact-form.js +1 -1
  188. package/dist/components/tet-b2b-check-out-form.js +1 -1
  189. package/dist/components/tet-b2b-compare-card.js +1 -1
  190. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  191. package/dist/components/tet-b2b-configurator.js +20 -20
  192. package/dist/components/tet-b2b-service-calculator.js +8 -8
  193. package/dist/components/tet-banner-nav.js +3 -3
  194. package/dist/components/tet-bar-graph.js +1 -1
  195. package/dist/components/tet-border-radius.js +1 -1
  196. package/dist/components/tet-business-card.js +1 -1
  197. package/dist/components/tet-business-compare-card.js +3 -3
  198. package/dist/components/tet-business-lines.js +5 -5
  199. package/dist/components/tet-business-navigation.js +1 -1
  200. package/dist/components/tet-business-round-stepper.js +2 -2
  201. package/dist/components/tet-business-summary-card.js +1 -1
  202. package/dist/components/tet-button.js +1 -1
  203. package/dist/components/tet-card-list.js +1 -1
  204. package/dist/components/tet-carousel.js +4 -4
  205. package/dist/components/tet-checkbox.js +1 -1
  206. package/dist/components/tet-cloud-application-form-dialog.js +8 -8
  207. package/dist/components/tet-cloud-configurator.js +12 -13
  208. package/dist/components/tet-colors.js +1 -1
  209. package/dist/components/tet-compare-card-v2.js +9 -9
  210. package/dist/components/tet-compare-card-v3.js +10 -10
  211. package/dist/components/tet-compare-card.js +1 -1
  212. package/dist/components/tet-compare-cards-tab.js +16 -16
  213. package/dist/components/tet-compare-cards.js +1 -1
  214. package/dist/components/tet-contact-form.js +9 -9
  215. package/dist/components/tet-contact-info.js +1 -1
  216. package/dist/components/tet-container.js +1 -1
  217. package/dist/components/tet-countdown.js +1 -1
  218. package/dist/components/tet-counter.js +1 -1
  219. package/dist/components/tet-customer-assets.js +9 -9
  220. package/dist/components/tet-datepicker-header.js +1 -1
  221. package/dist/components/tet-datepicker-month-view.js +1 -1
  222. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  223. package/dist/components/tet-datepicker-year-view.js +1 -1
  224. package/dist/components/tet-datepicker.js +6 -6
  225. package/dist/components/tet-dialog.js +1 -1
  226. package/dist/components/tet-display.js +8 -8
  227. package/dist/components/tet-divider.js +7 -7
  228. package/dist/components/tet-dropdown.js +1 -1
  229. package/dist/components/tet-dynamic-card.js +4 -4
  230. package/dist/components/tet-expandable-input.js +3 -3
  231. package/dist/components/tet-expansion-panel.js +1 -1
  232. package/dist/components/tet-feedback-form.js +7 -7
  233. package/dist/components/tet-filter.js +4 -4
  234. package/dist/components/tet-floating-block.js +3 -3
  235. package/dist/components/tet-font-weight.js +1 -1
  236. package/dist/components/tet-fonts.js +1 -1
  237. package/dist/components/tet-grid.js +1 -1
  238. package/dist/components/tet-icon.js +1 -1
  239. package/dist/components/tet-inline-message.js +1 -1
  240. package/dist/components/tet-input.js +1 -1
  241. package/dist/components/tet-label.js +3 -3
  242. package/dist/components/tet-layout.js +1 -1
  243. package/dist/components/tet-link-card-list.js +3 -3
  244. package/dist/components/tet-link.js +1 -1
  245. package/dist/components/tet-loader.js +1 -1
  246. package/dist/components/tet-macd-view.js +10 -10
  247. package/dist/components/tet-menu-mobile.js +2 -2
  248. package/dist/components/tet-menu.js +2 -2
  249. package/dist/components/tet-mini-compare-card.js +3 -3
  250. package/dist/components/tet-multi-step-dialog.js +5 -5
  251. package/dist/components/tet-navigation-mobile.js +3 -3
  252. package/dist/components/tet-news-card-list.js +4 -4
  253. package/dist/components/tet-notification.js +1 -1
  254. package/dist/components/tet-number-input.js +1 -1
  255. package/dist/components/tet-placeholder.js +1 -1
  256. package/dist/components/tet-position.js +7 -7
  257. package/dist/components/tet-price-view.js +1 -1
  258. package/dist/components/tet-radio-blocks.js +2 -2
  259. package/dist/components/tet-radio.js +1 -1
  260. package/dist/components/tet-range-slider.js +1 -1
  261. package/dist/components/tet-referral.js +6 -6
  262. package/dist/components/tet-round-stepper.js +2 -2
  263. package/dist/components/tet-selection-list.js +1 -1
  264. package/dist/components/tet-snicker-card-badge.js +1 -1
  265. package/dist/components/tet-snicker-card-group.js +1 -1
  266. package/dist/components/tet-snicker-card.js +12 -12
  267. package/dist/components/tet-spacing.js +1 -1
  268. package/dist/components/tet-spinner.js +1 -1
  269. package/dist/components/tet-stepper-input.js +1 -1
  270. package/dist/components/tet-stepper-v2.js +1 -1
  271. package/dist/components/tet-stepper-v3.js +1 -1
  272. package/dist/components/tet-stepper.js +1 -1
  273. package/dist/components/tet-support-search.js +7 -7
  274. package/dist/components/tet-switch.js +1 -1
  275. package/dist/components/tet-tab-content.js +1 -1
  276. package/dist/components/tet-tab-header.js +1 -1
  277. package/dist/components/tet-table.js +3 -3
  278. package/dist/components/tet-tag-group.js +1 -1
  279. package/dist/components/tet-tag.js +1 -1
  280. package/dist/components/tet-text-list.js +1 -1
  281. package/dist/components/tet-text.js +7 -7
  282. package/dist/components/tet-textarea.js +1 -1
  283. package/dist/components/tet-thank-you-view-v2.js +5 -5
  284. package/dist/components/tet-thank-you-view-v3.js +5 -5
  285. package/dist/components/tet-thank-you-view.js +4 -4
  286. package/dist/components/tet-tooltip.js +1 -1
  287. package/dist/components/tet-tv-gift-block.js +1 -1
  288. package/dist/components/tet-tv-gift-list.js +2 -2
  289. package/dist/esm/{address-a5f65679.js → address-804b2fd3.js} +1 -1
  290. package/dist/esm/{assets-785095c4.js → assets-d337f5e7.js} +1 -1
  291. package/dist/esm/{async-request-02db63e4.js → async-request-913220a7.js} +19 -19
  292. package/dist/esm/{http-codes-9125ce84.js → http-codes-8100f4ea.js} +1 -1
  293. package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
  294. package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +1 -1
  295. package/dist/esm/loader.js +2 -2
  296. package/dist/esm/{phone-05f71013.js → phone-1ea88ee5.js} +2 -2
  297. package/dist/esm/{product-comparison-fdb9b9cc.js → product-comparison-7fa9705a.js} +1 -1
  298. package/dist/esm/tet-accordion.entry.js +1 -1
  299. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  300. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  301. package/dist/esm/tet-address-offers_4.entry.js +7 -7
  302. package/dist/esm/tet-address-search.entry.js +4 -4
  303. package/dist/esm/tet-assembler.entry.js +3 -3
  304. package/dist/esm/tet-asset-addresses.entry.js +3 -3
  305. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  306. package/dist/esm/tet-autocomplete.entry.js +1 -1
  307. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  308. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  309. package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
  310. package/dist/esm/tet-banner-nav.entry.js +3 -3
  311. package/dist/esm/tet-bar-graph.entry.js +1 -1
  312. package/dist/esm/tet-border-radius.entry.js +1 -1
  313. package/dist/esm/tet-business-card.entry.js +1 -1
  314. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  315. package/dist/esm/tet-business-lines.entry.js +4 -4
  316. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  317. package/dist/esm/tet-button.entry.js +1 -1
  318. package/dist/esm/tet-card-list.entry.js +1 -1
  319. package/dist/esm/tet-carousel.entry.js +3 -3
  320. package/dist/esm/tet-checkbox_2.entry.js +1 -1
  321. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  322. package/dist/esm/tet-cloud-configurator.entry.js +3 -4
  323. package/dist/esm/tet-colors.entry.js +1 -1
  324. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  325. package/dist/esm/tet-compare-card-v3.entry.js +3 -3
  326. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  327. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  328. package/dist/esm/tet-components.js +2 -2
  329. package/dist/esm/tet-contact-form.entry.js +5 -5
  330. package/dist/esm/tet-contact-info.entry.js +1 -1
  331. package/dist/esm/tet-container_2.entry.js +1 -1
  332. package/dist/esm/tet-countdown.entry.js +1 -1
  333. package/dist/esm/tet-counter.entry.js +1 -1
  334. package/dist/esm/tet-customer-assets.entry.js +3 -3
  335. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  336. package/dist/esm/tet-datepicker.entry.js +1 -1
  337. package/dist/esm/tet-dialog.entry.js +3 -3
  338. package/dist/esm/tet-display.entry.js +1 -1
  339. package/dist/esm/tet-divider.entry.js +1 -1
  340. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  341. package/dist/esm/tet-expandable-input.entry.js +1 -1
  342. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  343. package/dist/esm/tet-feedback-form.entry.js +3 -3
  344. package/dist/esm/tet-filter.entry.js +1 -1
  345. package/dist/esm/tet-floating-block.entry.js +1 -1
  346. package/dist/esm/tet-font-weight.entry.js +1 -1
  347. package/dist/esm/tet-fonts.entry.js +1 -1
  348. package/dist/esm/tet-grid.entry.js +1 -1
  349. package/dist/esm/tet-icon.entry.js +2 -2
  350. package/dist/esm/tet-inline-message.entry.js +1 -1
  351. package/dist/esm/tet-input.entry.js +3 -3
  352. package/dist/esm/tet-label.entry.js +3 -3
  353. package/dist/esm/tet-layout.entry.js +1 -1
  354. package/dist/esm/tet-link-card-list.entry.js +1 -1
  355. package/dist/esm/tet-link.entry.js +1 -1
  356. package/dist/esm/tet-loader.entry.js +1 -1
  357. package/dist/esm/tet-macd-view.entry.js +6 -6
  358. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  359. package/dist/esm/tet-menu.entry.js +1 -1
  360. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  361. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  362. package/dist/esm/tet-navigation-mobile.entry.js +3 -3
  363. package/dist/esm/tet-news-card-list.entry.js +1 -1
  364. package/dist/esm/tet-notification.entry.js +1 -1
  365. package/dist/esm/tet-number-input.entry.js +1 -1
  366. package/dist/esm/tet-placeholder.entry.js +1 -1
  367. package/dist/esm/tet-position.entry.js +1 -1
  368. package/dist/esm/tet-price-view.entry.js +1 -1
  369. package/dist/esm/tet-radio-blocks.entry.js +1 -1
  370. package/dist/esm/tet-radio.entry.js +1 -1
  371. package/dist/esm/tet-range-slider.entry.js +1 -1
  372. package/dist/esm/tet-referral.entry.js +5 -5
  373. package/dist/esm/tet-round-stepper.entry.js +1 -1
  374. package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
  375. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  376. package/dist/esm/tet-snicker-card.entry.js +3 -3
  377. package/dist/esm/tet-spacing.entry.js +1 -1
  378. package/dist/esm/tet-spinner.entry.js +1 -1
  379. package/dist/esm/tet-stepper-input.entry.js +3 -3
  380. package/dist/esm/tet-stepper-v2.entry.js +1 -1
  381. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  382. package/dist/esm/tet-stepper.entry.js +1 -1
  383. package/dist/esm/tet-support-search.entry.js +1 -1
  384. package/dist/esm/tet-switch.entry.js +1 -1
  385. package/dist/esm/tet-tab-header.entry.js +1 -1
  386. package/dist/esm/tet-table.entry.js +1 -1
  387. package/dist/esm/tet-tag_2.entry.js +3 -3
  388. package/dist/esm/tet-text-list.entry.js +1 -1
  389. package/dist/esm/tet-text.entry.js +1 -1
  390. package/dist/esm/tet-textarea.entry.js +1 -1
  391. package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
  392. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  393. package/dist/esm/tet-thank-you-view.entry.js +1 -1
  394. package/dist/esm/tet-tooltip.entry.js +1 -1
  395. package/dist/esm/tet-tv-gift-block.entry.js +1 -1
  396. package/dist/esm/tet-tv-gift-list.entry.js +1 -1
  397. package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
  398. package/dist/esm/translations-d3e380cf.js +250 -0
  399. package/dist/tet-components/{p-b1222ff6.entry.js → p-000577f5.entry.js} +1 -1
  400. package/dist/tet-components/{p-5be49fe9.entry.js → p-004a4b0e.entry.js} +1 -1
  401. package/dist/tet-components/{p-2e2b413d.entry.js → p-015d561d.entry.js} +1 -1
  402. package/dist/tet-components/{p-9e6fba5f.entry.js → p-0161caae.entry.js} +1 -1
  403. package/dist/tet-components/{p-e2b55e84.js → p-0190b524.js} +1 -1
  404. package/dist/tet-components/{p-3c79acc4.entry.js → p-04832116.entry.js} +1 -1
  405. package/dist/tet-components/{p-f57175df.entry.js → p-05254539.entry.js} +1 -1
  406. package/dist/tet-components/{p-90a121e7.entry.js → p-0792fe7a.entry.js} +1 -1
  407. package/dist/tet-components/{p-57937881.entry.js → p-095c8410.entry.js} +1 -1
  408. package/dist/tet-components/{p-403151e8.entry.js → p-095da4ac.entry.js} +1 -1
  409. package/dist/tet-components/{p-7e04d367.entry.js → p-0c24779b.entry.js} +1 -1
  410. package/dist/tet-components/{p-a91b95f0.entry.js → p-0e5baceb.entry.js} +1 -1
  411. package/dist/tet-components/{p-a3918a20.entry.js → p-1180ab66.entry.js} +1 -1
  412. package/dist/tet-components/{p-2ba08431.js → p-156b79d8.js} +1 -1
  413. package/dist/tet-components/{p-282e1de2.entry.js → p-17e20a98.entry.js} +1 -1
  414. package/dist/tet-components/{p-1e777274.entry.js → p-1a229af9.entry.js} +1 -1
  415. package/dist/tet-components/{p-aa33b2e8.entry.js → p-1a77a9b6.entry.js} +1 -1
  416. package/dist/tet-components/{p-0c02ac35.entry.js → p-1d397ef3.entry.js} +1 -1
  417. package/dist/tet-components/{p-c43ee172.entry.js → p-1ef0e2bc.entry.js} +1 -1
  418. package/dist/tet-components/{p-ff5fb9e4.entry.js → p-1f72c21b.entry.js} +1 -1
  419. package/dist/tet-components/{p-3a61ce24.entry.js → p-1f9c54b7.entry.js} +1 -1
  420. package/dist/tet-components/{p-e6d6744b.entry.js → p-1fc8e776.entry.js} +1 -1
  421. package/dist/tet-components/{p-97637087.entry.js → p-1fcd5b09.entry.js} +1 -1
  422. package/dist/tet-components/{p-350f0cc8.entry.js → p-27599139.entry.js} +1 -1
  423. package/dist/tet-components/{p-cc0d5a9b.entry.js → p-27c58e75.entry.js} +1 -1
  424. package/dist/tet-components/{p-73971e4d.entry.js → p-287d20d4.entry.js} +1 -1
  425. package/dist/tet-components/{p-981111e0.entry.js → p-2bade8dc.entry.js} +1 -1
  426. package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
  427. package/dist/tet-components/{p-cb6df953.entry.js → p-2ed0da53.entry.js} +1 -1
  428. package/dist/tet-components/{p-c0363485.entry.js → p-2f484973.entry.js} +1 -1
  429. package/dist/tet-components/{p-2a81ebee.entry.js → p-30eab483.entry.js} +1 -1
  430. package/dist/tet-components/{p-929698b3.entry.js → p-314e6906.entry.js} +1 -1
  431. package/dist/tet-components/{p-f6474f11.entry.js → p-32847323.entry.js} +1 -1
  432. package/dist/tet-components/{p-b47c0736.entry.js → p-3cbd86e4.entry.js} +1 -1
  433. package/dist/tet-components/{p-7dbf302e.entry.js → p-3ff9eb4f.entry.js} +1 -1
  434. package/dist/tet-components/{p-eaded8bd.entry.js → p-495d0f4d.entry.js} +1 -1
  435. package/dist/tet-components/{p-f072aa97.entry.js → p-4b1affb0.entry.js} +1 -1
  436. package/dist/tet-components/{p-75850241.entry.js → p-4ccb9cb8.entry.js} +1 -1
  437. package/dist/tet-components/{p-b88a3448.entry.js → p-4cf440ee.entry.js} +1 -1
  438. package/dist/tet-components/{p-66f1360e.entry.js → p-537a3452.entry.js} +1 -1
  439. package/dist/tet-components/{p-8689f33d.entry.js → p-54bd9fc2.entry.js} +1 -1
  440. package/dist/tet-components/{p-85dff432.entry.js → p-560c89e3.entry.js} +1 -1
  441. package/dist/tet-components/{p-63d74d15.entry.js → p-5911bb84.entry.js} +1 -1
  442. package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
  443. package/dist/tet-components/{p-9302af3a.entry.js → p-5b94cd7d.entry.js} +1 -1
  444. package/dist/tet-components/{p-d688fdca.entry.js → p-5d02314b.entry.js} +1 -1
  445. package/dist/tet-components/{p-98ba6f5d.entry.js → p-5d911ff8.entry.js} +1 -1
  446. package/dist/tet-components/p-660bdc27.js +1 -0
  447. package/dist/tet-components/{p-d2f35322.entry.js → p-6725544c.entry.js} +1 -1
  448. package/dist/tet-components/{p-b152fc68.entry.js → p-706552fe.entry.js} +1 -1
  449. package/dist/tet-components/{p-b6bfdd4e.entry.js → p-70e766f8.entry.js} +1 -1
  450. package/dist/tet-components/{p-d1d31561.entry.js → p-72d7cf6d.entry.js} +1 -1
  451. package/dist/tet-components/{p-8f4ff4bd.entry.js → p-73841b71.entry.js} +1 -1
  452. package/dist/tet-components/{p-662ef913.entry.js → p-73a2d403.entry.js} +1 -1
  453. package/dist/tet-components/{p-372f452b.entry.js → p-746d41eb.entry.js} +1 -1
  454. package/dist/tet-components/{p-d951657c.entry.js → p-75d79a8b.entry.js} +1 -1
  455. package/dist/tet-components/{p-87a2809b.entry.js → p-793b0428.entry.js} +1 -1
  456. package/dist/tet-components/{p-1bd93ad3.entry.js → p-7aba2238.entry.js} +1 -1
  457. package/dist/tet-components/{p-167b75e8.entry.js → p-7b7b9e6a.entry.js} +1 -1
  458. package/dist/tet-components/{p-77bec9a6.entry.js → p-7bac49d9.entry.js} +1 -1
  459. package/dist/tet-components/{p-811658a5.entry.js → p-7ffd2532.entry.js} +1 -1
  460. package/dist/tet-components/{p-01a45267.entry.js → p-805b7ea4.entry.js} +1 -1
  461. package/dist/tet-components/{p-4e643503.entry.js → p-84dca941.entry.js} +1 -1
  462. package/dist/tet-components/{p-44215fbb.entry.js → p-88da153c.entry.js} +1 -1
  463. package/dist/tet-components/{p-4330c786.js → p-894e34a9.js} +1 -1
  464. package/dist/tet-components/{p-49dba3fc.entry.js → p-8e6b042b.entry.js} +1 -1
  465. package/dist/tet-components/{p-258f63dc.entry.js → p-9c297f57.entry.js} +1 -1
  466. package/dist/tet-components/{p-94b5e078.entry.js → p-9f30d309.entry.js} +1 -1
  467. package/dist/tet-components/{p-025ffb5a.entry.js → p-9fecf04b.entry.js} +1 -1
  468. package/dist/tet-components/{p-22f62d6c.entry.js → p-a05739a9.entry.js} +1 -1
  469. package/dist/tet-components/{p-bc91e97f.entry.js → p-a20dfa4b.entry.js} +1 -1
  470. package/dist/tet-components/{p-362244bf.entry.js → p-a4188d81.entry.js} +1 -1
  471. package/dist/tet-components/{p-77bd8e7d.entry.js → p-a90c335e.entry.js} +1 -1
  472. package/dist/tet-components/{p-768c00d1.entry.js → p-aa69a74f.entry.js} +1 -1
  473. package/dist/tet-components/{p-3016e7c8.entry.js → p-ab42fa6b.entry.js} +1 -1
  474. package/dist/tet-components/p-aca88f25.js +1 -0
  475. package/dist/tet-components/p-af6ef106.entry.js +1 -0
  476. package/dist/tet-components/{p-a6d7c907.entry.js → p-b11d351c.entry.js} +1 -1
  477. package/dist/tet-components/{p-dcf3b911.entry.js → p-b474e15d.entry.js} +1 -1
  478. package/dist/tet-components/{p-ee3a7ea7.entry.js → p-b7df4462.entry.js} +1 -1
  479. package/dist/tet-components/{p-e9fdafc0.entry.js → p-b8e2d20f.entry.js} +1 -1
  480. package/dist/tet-components/{p-4c074b0b.entry.js → p-b8f1f856.entry.js} +1 -1
  481. package/dist/tet-components/{p-0b93059b.entry.js → p-b9f9fd5b.entry.js} +1 -1
  482. package/dist/tet-components/{p-bcdb7766.entry.js → p-bca053cb.entry.js} +1 -1
  483. package/dist/tet-components/{p-43fb9369.entry.js → p-bde831e7.entry.js} +1 -1
  484. package/dist/tet-components/{p-0c6a7177.entry.js → p-be3cc237.entry.js} +1 -1
  485. package/dist/tet-components/{p-2da19afb.entry.js → p-bed205ab.entry.js} +1 -1
  486. package/dist/tet-components/{p-6d1fc8db.entry.js → p-c30feca7.entry.js} +1 -1
  487. package/dist/tet-components/{p-7319e21f.entry.js → p-c8a13404.entry.js} +1 -1
  488. package/dist/tet-components/{p-3f2e515f.entry.js → p-cf25c04c.entry.js} +1 -1
  489. package/dist/tet-components/{p-43df67f7.entry.js → p-cf2cc85f.entry.js} +1 -1
  490. package/dist/tet-components/{p-75dda1fd.entry.js → p-d0c5c962.entry.js} +1 -1
  491. package/dist/tet-components/{p-5810a3a6.js → p-d1d433a5.js} +1 -1
  492. package/dist/tet-components/{p-5fa05a92.entry.js → p-d354a35f.entry.js} +1 -1
  493. package/dist/tet-components/{p-055f4df1.entry.js → p-d591a4c1.entry.js} +1 -1
  494. package/dist/tet-components/{p-ddaea568.js → p-d5c28336.js} +1 -1
  495. package/dist/tet-components/{p-5de41c5d.entry.js → p-de73cfe0.entry.js} +1 -1
  496. package/dist/tet-components/{p-460c39a5.entry.js → p-e0e92522.entry.js} +1 -1
  497. package/dist/tet-components/{p-6eb72733.entry.js → p-e30fa532.entry.js} +1 -1
  498. package/dist/tet-components/{p-99d878a5.entry.js → p-f14dfc87.entry.js} +1 -1
  499. package/dist/tet-components/{p-bb12c319.entry.js → p-f45ff6f2.entry.js} +1 -1
  500. package/dist/tet-components/{p-f00c4099.entry.js → p-f58b267f.entry.js} +1 -1
  501. package/dist/tet-components/{p-f4df5d30.entry.js → p-f72bba9f.entry.js} +1 -1
  502. package/dist/tet-components/{p-2192a732.entry.js → p-f8f23e91.entry.js} +1 -1
  503. package/dist/tet-components/{p-f55a404a.entry.js → p-fa323f16.entry.js} +1 -1
  504. package/dist/tet-components/{p-3e60d61c.js → p-fa674b43.js} +1 -1
  505. package/dist/tet-components/{p-4737a17f.entry.js → p-fb13ad14.entry.js} +1 -1
  506. package/dist/tet-components/{p-fe46ae1e.entry.js → p-fd092a06.entry.js} +1 -1
  507. package/dist/tet-components/tet-components.esm.js +1 -1
  508. package/dist/types/services/api/index.d.ts +1 -0
  509. package/dist/types/services/api/services/translations.d.ts +9 -4
  510. package/dist/types/services/translations/translation-dictionary.d.ts +3 -0
  511. package/dist/types/services/translations/translations-manager.d.ts +13 -6
  512. package/package.json +1 -1
  513. package/dist/cjs/translations-3b76d1ce.js +0 -168
  514. package/dist/components/p-982e3ace.js +0 -165
  515. package/dist/esm/translations-9b49c612.js +0 -165
  516. package/dist/tet-components/p-2358a695.js +0 -1
  517. package/dist/tet-components/p-90967734.entry.js +0 -1
  518. package/dist/tet-components/p-f81d95ae.js +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3242ff3f.js');
5
+ const index = require('./index-faec4c52.js');
6
6
 
7
7
  const tetThankYouViewCss = ":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{--stepper-horizontal-line-width:2.5rem;--stepper-step-width:8.75rem;--faq-slot-spacing-top:3rem;display:flex;min-height:100%}.thank-you-view{display:flex;flex:1;flex-direction:column;min-height:100%;padding-bottom:1rem}.thank-you-view.light{background:var(--color-ta070)}.thank-you-view.dark{background:var(--color-tg600)}.thank-you-view.dark .thank-you-view-header{margin-bottom:2rem}.thank-you-view-main-block{font-family:var(--text-font)}.thank-you-view.dark .thank-you-view-main-block.no-header{margin-top:1.5rem}@media screen and (min-width: 64rem){.thank-you-view.dark .thank-you-view-main-block.no-header{margin-top:2rem}}.thank-you-view.dark .thank-you-view-main-block.no-header{margin-top:2rem}.thank-you-view.light .thank-you-view-main-block{padding-top:1.875rem;padding-bottom:1rem;box-shadow:0 0.0625rem 0 var(--color-ta100);background:linear-gradient(180deg, var(--color-ta070) 0%, #F3F4F7 26.04%, #ECEEF3 100%);border-bottom-right-radius:50% 1.5%;border-bottom-left-radius:50% 1.5%}@media screen and (min-width: 48rem){.thank-you-view.light .thank-you-view-main-block{padding-bottom:2rem;border-bottom-right-radius:50% 5%;border-bottom-left-radius:50% 5%}}@media screen and (min-width: 64rem){.thank-you-view.light .thank-you-view-main-block{border-bottom-right-radius:50% 10%;border-bottom-left-radius:50% 10%}}.thank-you-view.dark .thank-you-view-main-block{align-self:center;max-width:64rem;background:var(--color-tg500);border-radius:0.625rem}@media screen and (max-width: 47.9375rem){.thank-you-view.dark .thank-you-view-main-block{padding:1.5rem;margin:0 1rem 0}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.thank-you-view.dark .thank-you-view-main-block{padding:1.5rem;margin:0 2rem 0}}@media screen and (min-width: 64rem){.thank-you-view.dark .thank-you-view-main-block{padding:3rem}}.thank-you-view-main-block-icon{text-align:center}.thank-you-view-main-block-icon .icon{--icon-size:2.5rem;margin-bottom:0.75rem}@media screen and (min-width: 48rem){.thank-you-view-main-block-icon .icon{margin-bottom:1rem}}.thank-you-view.light .thank-you-view-main-block-icon .icon{--icon-color:rgb(0, 96, 245)}.thank-you-view.dark .thank-you-view-main-block-icon .icon{--icon-color:var(--color-td600)}.thank-you-view-main-block-info{text-align:center}.thank-you-view-main-block-info-title{margin:0 auto 0.5rem;background-color:inherit;font-weight:500}@media screen and (max-width: 47.9375rem){.thank-you-view-main-block-info-title{font-size:1.5rem;line-height:2rem;letter-spacing:0.002em}}@media screen and (min-width: 48rem) and (max-width: 63.9375rem){.thank-you-view-main-block-info-title{text-align:center;font-size:1.75rem;line-height:2.125rem;letter-spacing:0.001em}}@media screen and (min-width: 64rem){.thank-you-view-main-block-info-title{max-width:39.375rem;font-size:2rem;line-height:2.375rem}}.thank-you-view.light .thank-you-view-main-block-info-title{padding:0 1rem;color:var(--color-ta600)}.thank-you-view.dark .thank-you-view-main-block-info-title{color:var(--color-th500)}.thank-you-view-main-block-info-description{font-size:1rem;font-weight:400;line-height:1.5rem}.thank-you-view.light .thank-you-view-main-block-info-description{padding:0 1rem;color:var(--color-ta600)}.thank-you-view.dark .thank-you-view-main-block-info-description{margin:0 auto;color:var(--color-ti600)}@media screen and (min-width: 48rem){.thank-you-view.dark .thank-you-view-main-block-info-description{max-width:31.25rem}}@media screen and (min-width: 64rem){.thank-you-view.dark .thank-you-view-main-block-info-description{max-width:43.75rem}}.thank-you-view.dark .thank-you-view-main-block-info-description strong{color:var(--color-th500)}.thank-you-view-main-block-info-description p{margin-bottom:0.5rem}.thank-you-view-main-block-info-description p:last-child{margin-bottom:0}@media screen and (max-width: 47.9375rem){.thank-you-view.light .thank-you-view-main-block-stepper{margin:1.5rem auto}}@media screen and (min-width: 48rem){.thank-you-view.light .thank-you-view-main-block-stepper{margin:0.0625rem auto 1.5rem}}@media screen and (min-width: 64rem){.thank-you-view.light .thank-you-view-main-block-stepper{margin:2rem auto}}@media screen and (max-width: 47.9375rem){.thank-you-view.dark .thank-you-view-main-block-stepper{margin:2rem auto}}@media screen and (min-width: 48rem){.thank-you-view.dark .thank-you-view-main-block-stepper{margin:2.25rem auto 4rem}}@media screen and (min-width: 64rem){.thank-you-view.dark .thank-you-view-main-block-stepper{margin:3rem auto}}@media screen and (min-width: 64rem){.thank-you-view-main-block-stepper .tet-stepper-override{--step-horizontal-line-width:var(--stepper-horizontal-line-width);--step-width:var(--stepper-step-width)}}.thank-you-view.dark .thank-you-view-main-block-stepper .tet-stepper-override{--step-active-line-color:var(--color-td600);--step-data-bg-color:var(--color-tg500);--step-data-text-color:var(--color-ti600);--step-description-text-color:var(--color-ti600);--step-non-active-line-color:var(--color-ta100);--step-data-strong-text-color:var(--color-th500);--step-description-strong-text-color:var(--color-th500)}.thank-you-view-main-block-cta{text-align:center}.thank-you-view-main-block-cta.no-stepper{margin-top:1.5625rem}.thank-you-view-main-block-cta-description{max-width:14.375rem;margin:1rem auto 0;font-size:0.875rem;font-weight:400;line-height:1.25rem;letter-spacing:0.002em}.thank-you-view.dark .thank-you-view-main-block-cta-description{color:var(--color-ti600)}.thank-you-view.dark .thank-you-view-main-block-cta-description strong{color:var(--color-th500)}.thank-you-view-faq-slot{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:calc(var(--faq-slot-spacing-top) - var(--faq-slot-spacing-top) * 50 / 100)}@media screen and (min-width: 48rem){.thank-you-view-faq-slot{margin-top:calc(var(--faq-slot-spacing-top) - var(--faq-slot-spacing-top) * 25 / 100)}}@media screen and (min-width: 64rem){.thank-you-view-faq-slot{margin-top:var(--faq-slot-spacing-top)}}";
8
8
  const TetThankYouViewStyle0 = tetThankYouViewCss;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3242ff3f.js');
5
+ const index = require('./index-faec4c52.js');
6
6
  const TooltipPosition = require('./TooltipPosition-03ffa8a1.js');
7
7
 
8
8
  const tetTooltipCss = ":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{--tooltip-background-color:var(--tc-tooltip-layer-secondary);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary);--tooltip-padding:1em;--tooltip-display-speed:.2s;--tooltip-delay-show:0s;--tooltip-delay-hide:.25s;--tooltip-max-width:18.75rem;--tooltip-border-radius:0.3125rem;--tooltip-font-weight:400;position:fixed;display:inline-block;width:max-content;max-width:min(var(--tooltip-max-width), 100%);z-index:100;pointer-events:none;opacity:0}:host(.hidden){visibility:hidden;opacity:0;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear}:host(.hidden-quick){opacity:0;visibility:hidden;transform:scale(0)}:host(.visible){visibility:visible;opacity:1;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear;transition-delay:var(--tooltip-delay-show)}.light-inverse{--tooltip-background-color:var(--tc-tooltip-layer-primary);--tooltip-text-color:var(--tc-tooltip-text-primary)}.dark{--tooltip-background-color:var(--tc-tooltip-layer-primary-dark);--tooltip-text-color:var(--tc-tooltip-text-primary-dark)}.dark-inverse{--tooltip-background-color:var(--tc-tooltip-layer-secondary-dark);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary-dark)}.tooltip{position:relative;background:var(--tooltip-background-color);color:var(--tooltip-text-color);border-radius:var(--tooltip-border-radius);padding:var(--tooltip-padding);font-family:var(--font-family-content);font-weight:var(--tooltip-font-weight);font-size:0.875rem;white-space:normal;line-height:1.5em}.tooltip-pointer{position:absolute;width:0;height:0;border-left:0.5rem solid transparent;border-right:0.5rem solid transparent;border-bottom:0.5rem solid var(--tooltip-background-color)}@keyframes fadeIn{0%{opacity:0;transform:scale(0)}100%{opacity:1;visibility:visible;transform:scale(1)}}@keyframes fadeOut{0%{opacity:1;visibility:visible;transform:scale(1)}100%{opacity:0;visibility:hidden;transform:scale(0)}}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3242ff3f.js');
5
+ const index = require('./index-faec4c52.js');
6
6
 
7
7
  const tetTvGiftBlockCss = "@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{display:block}.tv-gift{padding:3.5rem 1rem 2rem}.tv-gift--medium{padding:3.5rem 1.5rem 2.5rem}.tv-gift--large{padding:3.5rem}.tv-gift__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";display:flex;justify-content:center;flex-direction:column;text-align:center;padding-bottom:2rem;gap:1.5rem}.tv-gift--medium .tv-gift__header{font:600 2rem/2.25rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift--large .tv-gift__header{font:600 2.5rem/3rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";padding-bottom:2.5rem}.tv-gift__header__image{height:2.125rem;margin:0 auto}.tv-gift__content{--icon-size:1.25rem;--accordion-background-color:transparent}.tv-gift--large .tv-gift__content{--icon-size:1.5rem}.tv-gift__footer{font:400 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";text-align:center;display:flex;flex-direction:column;margin-top:2rem}.tv-gift--large .tv-gift__footer{margin-top:2.5rem}.tv-gift__footer__title{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem;margin-bottom:1rem}@media screen and (min-width: 31.25rem){.tv-gift__footer__title{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:2rem}}.tv-gift__footer__text{line-height:1.25rem}";
8
8
  const TetTvGiftBlockStyle0 = tetTvGiftBlockCss;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3242ff3f.js');
5
+ const index = require('./index-faec4c52.js');
6
6
 
7
7
  const tetTvGiftListCss = "@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{display:block}.tv-gift-list{display:block}.tv-gift-list--image-list{display:grid;gap:2rem}.tv-gift-list--medium,.tv-gift-list--large{grid-template-columns:repeat(12, 1fr)}.tv-gift-list__list{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-direction:column;gap:0.5rem}.tv-gift-list__list__wrapper{display:flex;flex-direction:column;justify-content:center}.tv-gift-list--medium .tv-gift-list__list__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__list__wrapper{grid-column:span 7}.tv-gift-list__list__header{font:600 1.25rem/1.5rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--medium .tv-gift-list__list__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--large .tv-gift-list__list__header{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list__list__item{font:400 1rem/1.5rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:flex;gap:0.5rem;line-height:1.5rem}.tv-gift-list--large .tv-gift-list__list__item{font:400 1.125rem/1.75rem \"Inter\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem}.tv-gift-list__list__item tet-icon{--icon-size:1.25rem;--icon-container-display:flex;padding-top:0.175rem}.tv-gift-list__image{width:100%;height:auto;border-radius:0.75rem}.tv-gift-list--medium .tv-gift-list__image__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__image__wrapper{grid-column:span 5}";
8
8
  const TetTvGiftListStyle0 = tetTvGiftListCss;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const index$1 = require('./index-3242ff3f.js');
4
- const index = require('./index-4b423f33.js');
3
+ const index$1 = require('./index-faec4c52.js');
4
+ const index = require('./index-19a7608f.js');
5
5
 
6
6
  exports.Theme = void 0;
7
7
  (function (Theme) {
@@ -0,0 +1,253 @@
1
+ 'use strict';
2
+
3
+ const httpCodes = require('./http-codes-3b8718ff.js');
4
+ const typecheck = require('./typecheck-d48810dc.js');
5
+
6
+ const isTranslationDictionary = (translations) => {
7
+ return (!!translations &&
8
+ typeof translations === 'object' &&
9
+ !Array.isArray(translations) &&
10
+ Object.keys(translations).length > 0 &&
11
+ Object.values(translations).every((translation) => typeof translation === 'string'));
12
+ };
13
+
14
+ /**
15
+ * Returns all the translations for the specified group and language.
16
+ *
17
+ * @param group
18
+ * @param language
19
+ * @param eTag
20
+ */
21
+ const requestTranslations = async (group, language, eTag) => {
22
+ let url;
23
+ try {
24
+ url = new URL(`${language}/${group}`, httpCodes.endpoints.translations).href;
25
+ }
26
+ catch (error) {
27
+ console.error(error);
28
+ throw new Error('Translations endpoint URL generation failed.');
29
+ }
30
+ const request = new httpCodes.ApiRequest().setUrl(url).setOptions({
31
+ method: 'GET',
32
+ cache: 'no-cache',
33
+ headers: eTag ? { 'If-None-Match': eTag } : undefined
34
+ });
35
+ const response = await request.execute(true);
36
+ if (response.status === 304) {
37
+ return { notModified: true };
38
+ }
39
+ if (!response.ok) {
40
+ throw new Error(`Translations request failed with status ${response.status}.`);
41
+ }
42
+ const translations = (await response.json())?.data;
43
+ if (!isTranslationDictionary(translations)) {
44
+ throw new Error('Translations response contains an invalid dictionary.');
45
+ }
46
+ return {
47
+ translations,
48
+ eTag: response.headers.get('ETag') ?? undefined,
49
+ notModified: false
50
+ };
51
+ };
52
+
53
+ /**
54
+ * -----------------------
55
+ * | !!! WARNING !!! |
56
+ * -----------------------
57
+ * This is meant as a temporary workaround until stencil/store issue is fixed:
58
+ * https://github.com/ionic-team/stencil/issues/4135
59
+ *
60
+ * When it is fixed, we should move back to the stencil/store implementation.
61
+ */
62
+ const defaultLanguage = 'lv';
63
+ class TranslationManager {
64
+ static instance;
65
+ storageKey = 'translations';
66
+ eTagsStorageKey = 'translation-etags';
67
+ supportedLanguages = ['lv', 'ru', 'en'];
68
+ translations = {};
69
+ eTags = {};
70
+ mergedTranslations = {};
71
+ inFlightTranslations = new Map();
72
+ constructor() {
73
+ this.translations = this.getCachedTranslations();
74
+ this.eTags = this.getCachedEtags();
75
+ }
76
+ static getInstance() {
77
+ if (!TranslationManager.instance) {
78
+ TranslationManager.instance = new TranslationManager();
79
+ }
80
+ return TranslationManager.instance;
81
+ }
82
+ getTranslations() {
83
+ return this.mergedTranslations;
84
+ }
85
+ updateTranslations = async (group, language) => {
86
+ const requests = [this.loadTranslations(group, language)];
87
+ if (language !== defaultLanguage) {
88
+ requests.push(this.loadTranslations(group, defaultLanguage));
89
+ }
90
+ await Promise.allSettled(requests);
91
+ this.mergedTranslations = this.mergeTranslations(language);
92
+ };
93
+ loadTranslations = (group, language) => {
94
+ if (!group || !language) {
95
+ return Promise.reject(`Missing translation parameters - group (${group}), language (${language}).`);
96
+ }
97
+ if (!this.supportedLanguages.includes(language)) {
98
+ return Promise.reject(`Translations language "${language}" is not supported.`);
99
+ }
100
+ const key = `${group}:${language}`;
101
+ const existingRequest = this.inFlightTranslations.get(key);
102
+ if (existingRequest !== undefined) {
103
+ return existingRequest;
104
+ }
105
+ const request = requestTranslations(group, language, this.eTags[group]?.[language])
106
+ .then((response) => {
107
+ if (response.notModified) {
108
+ if (!this.translationsExist(group, language)) {
109
+ throw new Error(`Translations response was not modified without cached data for group (${group}) and language (${language}).`);
110
+ }
111
+ return;
112
+ }
113
+ if (!isTranslationDictionary(response.translations)) {
114
+ throw new Error(`Invalid translations for group (${group}) and language (${language}).`);
115
+ }
116
+ if (!this.translations[group]) {
117
+ this.translations[group] = {};
118
+ }
119
+ this.translations[group][language] = response.translations;
120
+ this.setETag(group, language, response.eTag);
121
+ this.cacheTranslations();
122
+ })
123
+ .finally(() => this.inFlightTranslations.delete(key));
124
+ this.inFlightTranslations.set(key, request);
125
+ return request;
126
+ };
127
+ mergeTranslations = (language) => {
128
+ const fallbackTranslations = this.getMergedTranslations(defaultLanguage);
129
+ if (language === defaultLanguage) {
130
+ return fallbackTranslations;
131
+ }
132
+ return {
133
+ ...fallbackTranslations,
134
+ ...this.getMergedTranslations(language)
135
+ };
136
+ };
137
+ getMergedTranslations = (language) => {
138
+ const mergedTranslations = {};
139
+ for (const group of Object.values(this.translations)) {
140
+ Object.assign(mergedTranslations, group[language] ?? {});
141
+ }
142
+ return mergedTranslations;
143
+ };
144
+ translationsExist = (group, language) => {
145
+ return isTranslationDictionary(this.translations[group]?.[language]);
146
+ };
147
+ getCachedTranslations = () => {
148
+ try {
149
+ const translations = JSON.parse(sessionStorage.getItem(this.storageKey) ?? 'null');
150
+ return this.isValidTranslationsCache(translations) ? translations : {};
151
+ }
152
+ catch {
153
+ return {};
154
+ }
155
+ };
156
+ getCachedEtags = () => {
157
+ try {
158
+ const eTags = JSON.parse(sessionStorage.getItem(this.eTagsStorageKey) ?? 'null');
159
+ return this.isValidETagsCache(eTags) ? eTags : {};
160
+ }
161
+ catch {
162
+ return {};
163
+ }
164
+ };
165
+ setETag = (group, language, eTag) => {
166
+ if (!this.eTags[group]) {
167
+ this.eTags[group] = {};
168
+ }
169
+ if (eTag === undefined) {
170
+ delete this.eTags[group][language];
171
+ return;
172
+ }
173
+ this.eTags[group][language] = eTag;
174
+ };
175
+ cacheTranslations = () => {
176
+ try {
177
+ sessionStorage.setItem(this.storageKey, JSON.stringify(this.translations));
178
+ }
179
+ catch {
180
+ // Continue with the in-memory cache when browser storage is unavailable.
181
+ return;
182
+ }
183
+ try {
184
+ sessionStorage.setItem(this.eTagsStorageKey, JSON.stringify(this.eTags));
185
+ }
186
+ catch {
187
+ // Keep the translations cache; a later load will fetch a fresh ETag.
188
+ }
189
+ };
190
+ isValidTranslationsCache = (translations) => {
191
+ if (!translations || typeof translations !== 'object' || Array.isArray(translations)) {
192
+ return false;
193
+ }
194
+ return Object.values(translations).every((group) => {
195
+ if (!group || typeof group !== 'object' || Array.isArray(group)) {
196
+ return false;
197
+ }
198
+ return Object.values(group).every((dictionary) => isTranslationDictionary(dictionary));
199
+ });
200
+ };
201
+ isValidETagsCache = (eTags) => {
202
+ if (!eTags || typeof eTags !== 'object' || Array.isArray(eTags)) {
203
+ return false;
204
+ }
205
+ return Object.values(eTags).every((group) => {
206
+ return (!!group &&
207
+ typeof group === 'object' &&
208
+ !Array.isArray(group) &&
209
+ Object.values(group).every((eTag) => typeof eTag === 'string'));
210
+ });
211
+ };
212
+ }
213
+ const translations = TranslationManager.getInstance();
214
+
215
+ // import translations from './translations.store';
216
+ /**
217
+ * This function will load & update translations, if necessary.
218
+ *
219
+ * @param group
220
+ * @param language
221
+ */
222
+ const processTranslations = async (group, language) => {
223
+ await translations.updateTranslations(group, language);
224
+ };
225
+ /**
226
+ * Translates the given string if possible.
227
+ *
228
+ * @param key
229
+ * @param variables
230
+ */
231
+ const translate = (key, variables) => {
232
+ const mergedTranslations = translations.getTranslations();
233
+ let translation = mergedTranslations[key.trim()] ?? key;
234
+ if (typecheck.isObject(variables)) {
235
+ translation = applyVariables(translation, variables);
236
+ }
237
+ return translation;
238
+ };
239
+ /**
240
+ * Injects variables into the translation.
241
+ *
242
+ * @param translation
243
+ * @param variables
244
+ */
245
+ const applyVariables = (translation, variables) => {
246
+ for (const [key, value] of Object.entries(variables)) {
247
+ translation = translation.replace(new RegExp(`{${key}}`, 'g'), value);
248
+ }
249
+ return translation;
250
+ };
251
+
252
+ exports.processTranslations = processTranslations;
253
+ exports.translate = translate;
@@ -414,7 +414,6 @@ export class TetCloudConfigurator {
414
414
  if (this.isLoading) {
415
415
  return this.renderPlaceholder();
416
416
  }
417
- processTranslations('cloud-configurator', this.language);
418
417
  return (h(Host, null, h("div", { class: { 'cloud-configurator': true, [this.theme]: !!this.theme } }, h("div", { class: { header: true, [this.theme]: !!this.theme }, part: "header", ref: (el) => (this.headerRef = el) }, h("div", { class: "inner-wrapper" }, h("tet-tab-header", { class: "header__segment-switch", segmented: true, position: "center", defaultTab: "small", theme: this.theme, onTabSelected: this.onTabSelected }, h("button", { "data-name": CloudTabName.SMALL }, h("p", null, t('components-cloud-configurator-type-small'))), h("button", { "data-name": CloudTabName.AVERAGE }, h("p", null, t('components-cloud-configurator-type-average'))), h("button", { "data-name": CloudTabName.LARGE }, h("p", null, t('components-cloud-configurator-type-large'))), h("button", { "data-name": CloudTabName.INDIVIDUAL }, h("p", null, t('components-cloud-configurator-type-custom')))))), h("div", { class: "content", part: "content" }, this.renderTitle(), h("div", { class: "form", part: "form" }, h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-vcpu')), this.renderNumberInput('v_cpu_standard'), this.renderNumberInput('v_cpu_performance')), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-vram')), this.renderNumberInput('v_ram'), h("div", { class: "form__input" })), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-storage')), this.renderNumberInput('storage_bronze'), this.renderNumberInput('storage_silver'), this.renderNumberInput('storage_gold'), this.renderNumberInput('storage_platinum')), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-extra-storage')), this.renderNumberInput('storage_backup'), this.renderNumberInput('storage_object')), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-license')), this.renderNumberInput('license_windows'), this.renderNumberInput('license_veeam')), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-ms-license')), h("div", { class: { 'expandable-list': true, 'expanded': this.isListExpanded } }, this.renderExpandableItem('sql_server_standard_core'), this.renderExpandableItem('win_rds'), this.renderExpandableItem('win_server_standard_core'), this.renderExpandableItem('win_server_dc_core'), this.renderExpandableItem('sql_server_standard'), this.renderExpandableItem('office_standard'), this.renderExpandableItem('office_professional_plus'), this.renderExpandableItem('cis_suite_standard_core'), this.renderExpandableItem('project_standard'), this.renderExpandableItem('sharepoint_server'), h("div", { class: "expandable-list__toggle-row" }, this.isListExpanded && (h(Fragment, null, h("button", { class: "expandable-list__toggle", onClick: this.onExpandableListToggle, tabIndex: 0 }, t('components-cloud-configurator-ms-license-collapse'), ' ', h("tet-icon", { name: "tc-chevron-up", theme: this.theme })), h("div", { innerHTML: t('components-cloud-configurator-ms-license-full-list') }))), !this.isListExpanded && (h("button", { class: "expandable-list__toggle", onClick: this.onExpandableListToggle, tabIndex: 0 }, t('components-cloud-configurator-ms-license-expand'), ' ', h("tet-icon", { name: "tc-chevron-down", theme: this.theme })))))), h("div", { class: "form__group" }, h("h3", { class: "form__group-label" }, t('components-cloud-configurator-group-bandwidth')), this.renderNumberInput('bandwidth_ip'), this.renderNumberInput('bandwidth_router'), this.renderNumberInput('bandwidth_capacity', {
419
418
  disabled: true,
420
419
  hidden: Boolean(this.formValues['ddos_protection_enabled']?.value)
@@ -1,26 +1,42 @@
1
1
  import { endpoints } from "../../../config/endpoints";
2
2
  import { ApiRequest } from "../request";
3
+ import { isTranslationDictionary } from "../../translations/translation-dictionary";
3
4
  /**
4
5
  * Returns all the translations for the specified group and language.
5
6
  *
6
7
  * @param group
7
8
  * @param language
9
+ * @param eTag
8
10
  */
9
- const requestTranslations = (group, language) => {
11
+ const requestTranslations = async (group, language, eTag) => {
10
12
  let url;
11
13
  try {
12
14
  url = new URL(`${language}/${group}`, endpoints.translations).href;
13
15
  }
14
16
  catch (error) {
15
17
  console.error(error);
16
- return Promise.reject('Translations endpoint URL generation failed.');
18
+ throw new Error('Translations endpoint URL generation failed.');
17
19
  }
18
- const request = new ApiRequest()
19
- .setUrl(url)
20
- .setOptions({
20
+ const request = new ApiRequest().setUrl(url).setOptions({
21
21
  method: 'GET',
22
- })
23
- .setErrorFallbackValue({});
24
- return request.execute();
22
+ cache: 'no-cache',
23
+ headers: eTag ? { 'If-None-Match': eTag } : undefined
24
+ });
25
+ const response = await request.execute(true);
26
+ if (response.status === 304) {
27
+ return { notModified: true };
28
+ }
29
+ if (!response.ok) {
30
+ throw new Error(`Translations request failed with status ${response.status}.`);
31
+ }
32
+ const translations = (await response.json())?.data;
33
+ if (!isTranslationDictionary(translations)) {
34
+ throw new Error('Translations response contains an invalid dictionary.');
35
+ }
36
+ return {
37
+ translations,
38
+ eTag: response.headers.get('ETag') ?? undefined,
39
+ notModified: false
40
+ };
25
41
  };
26
42
  export { requestTranslations };
@@ -0,0 +1,8 @@
1
+ const isTranslationDictionary = (translations) => {
2
+ return (!!translations &&
3
+ typeof translations === 'object' &&
4
+ !Array.isArray(translations) &&
5
+ Object.keys(translations).length > 0 &&
6
+ Object.values(translations).every((translation) => typeof translation === 'string'));
7
+ };
8
+ export { isTranslationDictionary };
@@ -7,16 +7,21 @@
7
7
  *
8
8
  * When it is fixed, we should move back to the stencil/store implementation.
9
9
  */
10
- import { flatten, isEmpty } from "../utils/index";
11
10
  import { requestTranslations } from "../api/index";
11
+ import { isTranslationDictionary } from "./translation-dictionary";
12
+ const defaultLanguage = 'lv';
12
13
  class TranslationManager {
13
14
  static instance;
14
15
  storageKey = 'translations';
16
+ eTagsStorageKey = 'translation-etags';
15
17
  supportedLanguages = ['lv', 'ru', 'en'];
16
18
  translations = {};
19
+ eTags = {};
17
20
  mergedTranslations = {};
21
+ inFlightTranslations = new Map();
18
22
  constructor() {
19
23
  this.translations = this.getCachedTranslations();
24
+ this.eTags = this.getCachedEtags();
20
25
  }
21
26
  static getInstance() {
22
27
  if (!TranslationManager.instance) {
@@ -28,45 +33,131 @@ class TranslationManager {
28
33
  return this.mergedTranslations;
29
34
  }
30
35
  updateTranslations = async (group, language) => {
31
- try {
32
- this.translations = await this.loadTranslations(group, language);
33
- }
34
- catch {
35
- // Translations did not change, do nothing in this case.
36
+ const requests = [this.loadTranslations(group, language)];
37
+ if (language !== defaultLanguage) {
38
+ requests.push(this.loadTranslations(group, defaultLanguage));
36
39
  }
37
- this.mergedTranslations = await this.mergeTranslations(language);
40
+ await Promise.allSettled(requests);
41
+ this.mergedTranslations = this.mergeTranslations(language);
38
42
  };
39
- loadTranslations = async (group, language) => {
43
+ loadTranslations = (group, language) => {
40
44
  if (!group || !language) {
41
45
  return Promise.reject(`Missing translation parameters - group (${group}), language (${language}).`);
42
46
  }
43
47
  if (!this.supportedLanguages.includes(language)) {
44
48
  return Promise.reject(`Translations language "${language}" is not supported.`);
45
49
  }
46
- if (this.translationsExist(group, language)) {
47
- return Promise.reject(`Translations for group (${group}) and language (${language}) already exist.`);
50
+ const key = `${group}:${language}`;
51
+ const existingRequest = this.inFlightTranslations.get(key);
52
+ if (existingRequest !== undefined) {
53
+ return existingRequest;
48
54
  }
49
- const translations = this.getCachedTranslations();
50
- if (!translations[group]) {
51
- translations[group] = {};
55
+ const request = requestTranslations(group, language, this.eTags[group]?.[language])
56
+ .then((response) => {
57
+ if (response.notModified) {
58
+ if (!this.translationsExist(group, language)) {
59
+ throw new Error(`Translations response was not modified without cached data for group (${group}) and language (${language}).`);
60
+ }
61
+ return;
62
+ }
63
+ if (!isTranslationDictionary(response.translations)) {
64
+ throw new Error(`Invalid translations for group (${group}) and language (${language}).`);
65
+ }
66
+ if (!this.translations[group]) {
67
+ this.translations[group] = {};
68
+ }
69
+ this.translations[group][language] = response.translations;
70
+ this.setETag(group, language, response.eTag);
71
+ this.cacheTranslations();
72
+ })
73
+ .finally(() => this.inFlightTranslations.delete(key));
74
+ this.inFlightTranslations.set(key, request);
75
+ return request;
76
+ };
77
+ mergeTranslations = (language) => {
78
+ const fallbackTranslations = this.getMergedTranslations(defaultLanguage);
79
+ if (language === defaultLanguage) {
80
+ return fallbackTranslations;
52
81
  }
53
- translations[group][language] = await requestTranslations(group, language);
54
- this.cacheTranslations(translations);
55
- return Promise.resolve(translations);
82
+ return {
83
+ ...fallbackTranslations,
84
+ ...this.getMergedTranslations(language)
85
+ };
56
86
  };
57
- mergeTranslations = async (language) => {
58
- const canMerge = ({ key }) => this.supportedLanguages.includes(key) ? key === language : true;
59
- return Promise.resolve(flatten(this.translations, canMerge));
87
+ getMergedTranslations = (language) => {
88
+ const mergedTranslations = {};
89
+ for (const group of Object.values(this.translations)) {
90
+ Object.assign(mergedTranslations, group[language] ?? {});
91
+ }
92
+ return mergedTranslations;
60
93
  };
61
94
  translationsExist = (group, language) => {
62
- const translations = this.translations[group]?.[language] ?? {};
63
- return !isEmpty(translations);
95
+ return isTranslationDictionary(this.translations[group]?.[language]);
64
96
  };
65
97
  getCachedTranslations = () => {
66
- return JSON.parse(sessionStorage.getItem(this.storageKey)) ?? {};
98
+ try {
99
+ const translations = JSON.parse(sessionStorage.getItem(this.storageKey) ?? 'null');
100
+ return this.isValidTranslationsCache(translations) ? translations : {};
101
+ }
102
+ catch {
103
+ return {};
104
+ }
67
105
  };
68
- cacheTranslations = (translations) => {
69
- sessionStorage.setItem(this.storageKey, JSON.stringify(translations));
106
+ getCachedEtags = () => {
107
+ try {
108
+ const eTags = JSON.parse(sessionStorage.getItem(this.eTagsStorageKey) ?? 'null');
109
+ return this.isValidETagsCache(eTags) ? eTags : {};
110
+ }
111
+ catch {
112
+ return {};
113
+ }
114
+ };
115
+ setETag = (group, language, eTag) => {
116
+ if (!this.eTags[group]) {
117
+ this.eTags[group] = {};
118
+ }
119
+ if (eTag === undefined) {
120
+ delete this.eTags[group][language];
121
+ return;
122
+ }
123
+ this.eTags[group][language] = eTag;
124
+ };
125
+ cacheTranslations = () => {
126
+ try {
127
+ sessionStorage.setItem(this.storageKey, JSON.stringify(this.translations));
128
+ }
129
+ catch {
130
+ // Continue with the in-memory cache when browser storage is unavailable.
131
+ return;
132
+ }
133
+ try {
134
+ sessionStorage.setItem(this.eTagsStorageKey, JSON.stringify(this.eTags));
135
+ }
136
+ catch {
137
+ // Keep the translations cache; a later load will fetch a fresh ETag.
138
+ }
139
+ };
140
+ isValidTranslationsCache = (translations) => {
141
+ if (!translations || typeof translations !== 'object' || Array.isArray(translations)) {
142
+ return false;
143
+ }
144
+ return Object.values(translations).every((group) => {
145
+ if (!group || typeof group !== 'object' || Array.isArray(group)) {
146
+ return false;
147
+ }
148
+ return Object.values(group).every((dictionary) => isTranslationDictionary(dictionary));
149
+ });
150
+ };
151
+ isValidETagsCache = (eTags) => {
152
+ if (!eTags || typeof eTags !== 'object' || Array.isArray(eTags)) {
153
+ return false;
154
+ }
155
+ return Object.values(eTags).every((group) => {
156
+ return (!!group &&
157
+ typeof group === 'object' &&
158
+ !Array.isArray(group) &&
159
+ Object.values(group).every((eTag) => typeof eTag === 'string'));
160
+ });
70
161
  };
71
162
  }
72
163
  export const translations = TranslationManager.getInstance();
@@ -1,10 +1,6 @@
1
1
  // import translations from './translations.store';
2
2
  import { translations } from "./translations-manager";
3
3
  import { isObject } from "../utils/index";
4
- /**
5
- * The fallback language to be used in case a translation cannot be found in the specified language.
6
- */
7
- const defaultLanguage = 'lv';
8
4
  /**
9
5
  * This function will load & update translations, if necessary.
10
6
  *
@@ -22,7 +18,7 @@ const processTranslations = async (group, language) => {
22
18
  */
23
19
  const translate = (key, variables) => {
24
20
  const mergedTranslations = translations.getTranslations();
25
- let translation = mergedTranslations[key.trim()] ?? mergedTranslations[defaultLanguage] ?? key;
21
+ let translation = mergedTranslations[key.trim()] ?? key;
26
22
  if (isObject(variables)) {
27
23
  translation = applyVariables(translation, variables);
28
24
  }
@@ -111,7 +111,7 @@ import { TetThankYouViewV3 } from './tet-thank-you-view-v3.js';
111
111
  import { TetTooltip } from './tet-tooltip.js';
112
112
  import { TetTvGiftBlock } from './tet-tv-gift-block.js';
113
113
  import { TetTvGiftList } from './tet-tv-gift-list.js';
114
- export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-25b93e8f.js';
114
+ export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-aa122c92.js';
115
115
 
116
116
  const defineCustomElements = (opts) => {
117
117
  if (typeof customElements !== 'undefined') {