@tet/tet-components 1.4.141-testing → 1.4.142-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 (415) hide show
  1. package/dist/cjs/{http-codes-C-IXSZGG.js → http-codes-Dr-iFaJ9.js} +1 -1
  2. package/dist/cjs/{index-Bo0hF6YQ.js → index-BEOR8cIU.js} +1 -1
  3. package/dist/cjs/{index-DKg1QTRW.js → index-DRNSo5RU.js} +338 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{product-comparison-f-u42TDe.js → product-comparison-_8BsEWy8.js} +1 -1
  6. package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
  8. package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
  9. package/dist/cjs/tet-address-offers_5.cjs.entry.js +4 -4
  10. package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
  11. package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
  12. package/dist/cjs/tet-autocomplete_2.cjs.entry.js +1 -1
  13. package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
  14. package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
  15. package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
  16. package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
  17. package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
  18. package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
  19. package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
  20. package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
  21. package/dist/cjs/tet-button.cjs.entry.js +1 -1
  22. package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
  23. package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
  24. package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
  25. package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
  26. package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
  27. package/dist/cjs/tet-colors.cjs.entry.js +1 -1
  28. package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
  29. package/dist/cjs/tet-compare-card-v3.cjs.entry.js +3 -3
  30. package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
  31. package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
  32. package/dist/cjs/tet-components.cjs.js +22 -1
  33. package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
  34. package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
  35. package/dist/cjs/tet-counter.cjs.entry.js +1 -1
  36. package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
  37. package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
  38. package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
  39. package/dist/cjs/tet-display.cjs.entry.js +1 -1
  40. package/dist/cjs/tet-divider.cjs.entry.js +1 -1
  41. package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
  42. package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
  43. package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
  44. package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
  45. package/dist/cjs/tet-filter.cjs.entry.js +1 -1
  46. package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
  47. package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
  48. package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
  49. package/dist/cjs/tet-grid.cjs.entry.js +1 -1
  50. package/dist/cjs/tet-icon.cjs.entry.js +2 -2
  51. package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
  52. package/dist/cjs/tet-input.cjs.entry.js +3 -3
  53. package/dist/cjs/tet-layout.cjs.entry.js +1 -1
  54. package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
  55. package/dist/cjs/tet-link.cjs.entry.js +1 -1
  56. package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
  57. package/dist/cjs/tet-menu.cjs.entry.js +1 -1
  58. package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
  59. package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
  60. package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
  61. package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
  62. package/dist/cjs/tet-notification.cjs.entry.js +1 -1
  63. package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
  64. package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
  65. package/dist/cjs/tet-position.cjs.entry.js +1 -1
  66. package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
  67. package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
  68. package/dist/cjs/tet-radio_2.cjs.entry.js +8 -8
  69. package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
  70. package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
  71. package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
  72. package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
  73. package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
  74. package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
  75. package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
  76. package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
  77. package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
  78. package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
  79. package/dist/cjs/tet-switch.cjs.entry.js +1 -1
  80. package/dist/cjs/tet-table.cjs.entry.js +1 -1
  81. package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
  82. package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
  83. package/dist/cjs/tet-text.cjs.entry.js +1 -1
  84. package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
  85. package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
  86. package/dist/cjs/{translations-f2lO6WcB.js → translations-Dgrvj2-A.js} +1 -1
  87. package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +7 -7
  88. package/dist/components/index.js +1 -1
  89. package/dist/components/{p-zkmKLYHg.js → p-1p6NLY3L.js} +1 -1
  90. package/dist/components/{p-CFDvtl5l.js → p-3yD-8Tmz.js} +1 -1
  91. package/dist/components/{p-DcqGjbQO.js → p-AjTuAw1s.js} +1 -1
  92. package/dist/components/{p-DHOPNeBR.js → p-B1XYlnsO.js} +1 -1
  93. package/dist/components/{p-Cwu8jtXG.js → p-B73TDo-k.js} +1 -1
  94. package/dist/components/{p-BZ0uDmYr.js → p-B7f6XRIi.js} +1 -1
  95. package/dist/components/{p-ClWTLrk_.js → p-BB6m7KcH.js} +1 -1
  96. package/dist/components/{p-BWmFtcLN.js → p-BHahEQ8o.js} +1 -1
  97. package/dist/components/{p-1M2reaCU.js → p-BSQL7K3K.js} +1 -1
  98. package/dist/components/{p-CQfy7CVi.js → p-BXOKIT0e.js} +1 -1
  99. package/dist/components/{p-Dvk7syez.js → p-BkzR7Tya.js} +1 -1
  100. package/dist/components/{p-BOavyx-7.js → p-By3ljsXC.js} +1 -1
  101. package/dist/components/{p-BsNlQtYx.js → p-C0Mqt63Q.js} +1 -1
  102. package/dist/components/{p-Be5i4YJ4.js → p-C3SV5T_q.js} +1 -1
  103. package/dist/components/{p-CT-Ge0pF.js → p-CAGzjYiF.js} +1 -1
  104. package/dist/components/{p-Clw2OLNj.js → p-CAXkylRm.js} +1 -1
  105. package/dist/components/{p-DEbU6YKQ.js → p-CDFYJWVh.js} +1 -1
  106. package/dist/components/{p-B2Xg3DH0.js → p-CFBQ-_AF.js} +1 -1
  107. package/dist/components/{p-BgpTlgXX.js → p-CIkdXj6f.js} +1 -1
  108. package/dist/components/{p-B_RQCK28.js → p-CP4sqVXo.js} +1 -1
  109. package/dist/components/{p-DeFz-G5N.js → p-CS1cYeFO.js} +1 -1
  110. package/dist/components/{p-DgcBdohb.js → p-CSHiKkxK.js} +1 -1
  111. package/dist/components/{p-DRJ0zjoF.js → p-CXP2jsSO.js} +1 -1
  112. package/dist/components/{p-Cfy46lS6.js → p-CYa2HlYX.js} +1 -1
  113. package/dist/components/{p-P_J147mb.js → p-CfgD6-zK.js} +1 -1
  114. package/dist/components/{p-CMbAQKoe.js → p-CpLfddvj.js} +1 -1
  115. package/dist/components/{p-DH1iZWF5.js → p-CtuAONCB.js} +1 -1
  116. package/dist/components/{p-Do_1srPW.js → p-CwGM5Ts-.js} +1 -1
  117. package/dist/components/{p-9ItXFJZ6.js → p-D4pVUZud.js} +1 -1
  118. package/dist/components/{p-c36Z0_hK.js → p-D9H54BhC.js} +1 -1
  119. package/dist/components/{p-B4MTqXan.js → p-D9OY10TQ.js} +1 -1
  120. package/dist/components/{p-tQ4vjHQ1.js → p-DAoJRuQX.js} +1 -1
  121. package/dist/components/p-DIyhqSTP.js +1 -0
  122. package/dist/components/{p-cnUvPtFj.js → p-DLPhWYRd.js} +1 -1
  123. package/dist/components/{p-lmIrgmgo.js → p-DQvcXOji.js} +1 -1
  124. package/dist/components/{p-BZ9cVPPC.js → p-DTa9ZfrF.js} +1 -1
  125. package/dist/components/{p-DePtMqzY.js → p-DZ6ri3Ez.js} +1 -1
  126. package/dist/components/{p-CIPUn8d2.js → p-DhZEc679.js} +1 -1
  127. package/dist/components/{p-Bdt0k-v8.js → p-Dip_Lp8M.js} +1 -1
  128. package/dist/components/{p-BLY0RO0L.js → p-DiwdCJxz.js} +1 -1
  129. package/dist/components/{p-CIMNJ4X2.js → p-Dp-2og5G.js} +1 -1
  130. package/dist/components/{p-D9qys4GX.js → p-DqodZ4ND.js} +1 -1
  131. package/dist/components/{p-CKvGKHDE.js → p-DsIzsdJ8.js} +1 -1
  132. package/dist/components/{p-BBMx2Nbt.js → p-DupIaie7.js} +1 -1
  133. package/dist/components/{p-Dzb-TXLO.js → p-DzPdEZHf.js} +1 -1
  134. package/dist/components/{p-CjOuXGOS.js → p-EuuHQDow.js} +1 -1
  135. package/dist/components/{p-Bq1skzzY.js → p-_vjwjrM9.js} +1 -1
  136. package/dist/components/{p-KBNSpMwX.js → p-dg7EpwKx.js} +1 -1
  137. package/dist/components/p-e-eXFSPT.js +1 -0
  138. package/dist/components/{p-B8ElCfnM.js → p-hddOTT87.js} +1 -1
  139. package/dist/components/{p-DQaNW2BX.js → p-sKlTv2j2.js} +1 -1
  140. package/dist/components/{p-ChbxhvnA.js → p-t1QSVn3y.js} +1 -1
  141. package/dist/components/tet-accordion.js +1 -1
  142. package/dist/components/tet-address-offers-filters-products.js +1 -1
  143. package/dist/components/tet-address-offers-filters.js +1 -1
  144. package/dist/components/tet-address-offers-view.js +1 -1
  145. package/dist/components/tet-address-offers.js +1 -1
  146. package/dist/components/tet-address-search.js +1 -1
  147. package/dist/components/tet-assembler.js +1 -1
  148. package/dist/components/tet-asset-availability-addresses.js +1 -1
  149. package/dist/components/tet-autocomplete-dropdown.js +1 -1
  150. package/dist/components/tet-autocomplete.js +1 -1
  151. package/dist/components/tet-availability-contact-form.js +1 -1
  152. package/dist/components/tet-b2b-check-out-form.js +1 -1
  153. package/dist/components/tet-b2b-compare-card.js +1 -1
  154. package/dist/components/tet-b2b-configurator-cart.js +1 -1
  155. package/dist/components/tet-b2b-configurator.js +1 -1
  156. package/dist/components/tet-banner-nav.js +1 -1
  157. package/dist/components/tet-bar-graph.js +1 -1
  158. package/dist/components/tet-border-radius.js +1 -1
  159. package/dist/components/tet-business-card.js +1 -1
  160. package/dist/components/tet-business-compare-card.js +1 -1
  161. package/dist/components/tet-business-navigation.js +1 -1
  162. package/dist/components/tet-business-round-stepper.js +1 -1
  163. package/dist/components/tet-business-summary-card.js +1 -1
  164. package/dist/components/tet-button.js +1 -1
  165. package/dist/components/tet-card-list.js +1 -1
  166. package/dist/components/tet-carousel.js +1 -1
  167. package/dist/components/tet-checkbox.js +1 -1
  168. package/dist/components/tet-cloud-application-form-dialog.js +1 -1
  169. package/dist/components/tet-cloud-configurator.js +1 -1
  170. package/dist/components/tet-colors.js +1 -1
  171. package/dist/components/tet-compare-card-v2.js +1 -1
  172. package/dist/components/tet-compare-card-v3.js +1 -1
  173. package/dist/components/tet-compare-card.js +1 -1
  174. package/dist/components/tet-compare-cards-tab.js +1 -1
  175. package/dist/components/tet-compare-cards.js +1 -1
  176. package/dist/components/tet-container.js +1 -1
  177. package/dist/components/tet-countdown.js +1 -1
  178. package/dist/components/tet-counter.js +1 -1
  179. package/dist/components/tet-datepicker-header.js +1 -1
  180. package/dist/components/tet-datepicker-month-view.js +1 -1
  181. package/dist/components/tet-datepicker-multi-year-view.js +1 -1
  182. package/dist/components/tet-datepicker-year-view.js +1 -1
  183. package/dist/components/tet-datepicker.js +1 -1
  184. package/dist/components/tet-dialog.js +1 -1
  185. package/dist/components/tet-display.js +1 -1
  186. package/dist/components/tet-divider.js +1 -1
  187. package/dist/components/tet-dropdown.js +1 -1
  188. package/dist/components/tet-dynamic-card.js +1 -1
  189. package/dist/components/tet-expandable-input.js +1 -1
  190. package/dist/components/tet-expansion-panel.js +1 -1
  191. package/dist/components/tet-feedback-form.js +1 -1
  192. package/dist/components/tet-filter.js +1 -1
  193. package/dist/components/tet-floating-block.js +1 -1
  194. package/dist/components/tet-font-weight.js +1 -1
  195. package/dist/components/tet-fonts.js +1 -1
  196. package/dist/components/tet-grid.js +1 -1
  197. package/dist/components/tet-icon.js +1 -1
  198. package/dist/components/tet-inline-message.js +1 -1
  199. package/dist/components/tet-input.js +1 -1
  200. package/dist/components/tet-layout.js +1 -1
  201. package/dist/components/tet-link-card-list.js +1 -1
  202. package/dist/components/tet-link.js +1 -1
  203. package/dist/components/tet-loader.js +1 -1
  204. package/dist/components/tet-menu-mobile.js +1 -1
  205. package/dist/components/tet-menu.js +1 -1
  206. package/dist/components/tet-mini-compare-card.js +1 -1
  207. package/dist/components/tet-multi-step-dialog.js +1 -1
  208. package/dist/components/tet-navigation-mobile.js +1 -1
  209. package/dist/components/tet-news-card-list.js +1 -1
  210. package/dist/components/tet-notification.js +1 -1
  211. package/dist/components/tet-number-input.js +1 -1
  212. package/dist/components/tet-placeholder.js +1 -1
  213. package/dist/components/tet-position.js +1 -1
  214. package/dist/components/tet-price-view.js +1 -1
  215. package/dist/components/tet-radio-blocks.js +1 -1
  216. package/dist/components/tet-radio.js +1 -1
  217. package/dist/components/tet-range-slider.js +1 -1
  218. package/dist/components/tet-round-stepper.js +1 -1
  219. package/dist/components/tet-selection-list.js +1 -1
  220. package/dist/components/tet-snicker-card-group.js +1 -1
  221. package/dist/components/tet-snicker-card.js +1 -1
  222. package/dist/components/tet-spacing.js +1 -1
  223. package/dist/components/tet-spinner.js +1 -1
  224. package/dist/components/tet-stepper-input.js +1 -1
  225. package/dist/components/tet-stepper-v3.js +1 -1
  226. package/dist/components/tet-sticky-offer.js +1 -1
  227. package/dist/components/tet-support-search.js +1 -1
  228. package/dist/components/tet-switch.js +1 -1
  229. package/dist/components/tet-tab-content.js +1 -1
  230. package/dist/components/tet-tab-header.js +1 -1
  231. package/dist/components/tet-table.js +1 -1
  232. package/dist/components/tet-tag-group.js +1 -1
  233. package/dist/components/tet-tag.js +1 -1
  234. package/dist/components/tet-text-list.js +1 -1
  235. package/dist/components/tet-text.js +1 -1
  236. package/dist/components/tet-textarea.js +1 -1
  237. package/dist/components/tet-thank-you-view-v3.js +1 -1
  238. package/dist/components/tet-tooltip.js +1 -1
  239. package/dist/esm/{http-codes-DchfPj1v.js → http-codes-DP6cQyLI.js} +1 -1
  240. package/dist/esm/{index-DfBhGuuz.js → index-BTdj-C2n.js} +1 -1
  241. package/dist/esm/{index-ClX9TYQY.js → index-BWP8psSS.js} +338 -3
  242. package/dist/esm/loader.js +2 -2
  243. package/dist/esm/{product-comparison-DJko3TwF.js → product-comparison-CBuVYKp-.js} +1 -1
  244. package/dist/esm/tet-accordion.entry.js +1 -1
  245. package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
  246. package/dist/esm/tet-address-offers-view.entry.js +3 -3
  247. package/dist/esm/tet-address-offers_5.entry.js +4 -4
  248. package/dist/esm/tet-assembler.entry.js +3 -3
  249. package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
  250. package/dist/esm/tet-autocomplete_2.entry.js +1 -1
  251. package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
  252. package/dist/esm/tet-b2b-configurator.entry.js +4 -4
  253. package/dist/esm/tet-banner-nav.entry.js +3 -3
  254. package/dist/esm/tet-bar-graph.entry.js +1 -1
  255. package/dist/esm/tet-border-radius.entry.js +1 -1
  256. package/dist/esm/tet-business-card.entry.js +1 -1
  257. package/dist/esm/tet-business-compare-card.entry.js +1 -1
  258. package/dist/esm/tet-business-round-stepper.entry.js +1 -1
  259. package/dist/esm/tet-button.entry.js +1 -1
  260. package/dist/esm/tet-card-list.entry.js +1 -1
  261. package/dist/esm/tet-carousel.entry.js +3 -3
  262. package/dist/esm/tet-checkbox_3.entry.js +1 -1
  263. package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
  264. package/dist/esm/tet-cloud-configurator.entry.js +3 -3
  265. package/dist/esm/tet-colors.entry.js +1 -1
  266. package/dist/esm/tet-compare-card-v2.entry.js +3 -3
  267. package/dist/esm/tet-compare-card-v3.entry.js +3 -3
  268. package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
  269. package/dist/esm/tet-compare-cards_2.entry.js +3 -3
  270. package/dist/esm/tet-components.js +23 -2
  271. package/dist/esm/tet-container_2.entry.js +1 -1
  272. package/dist/esm/tet-countdown.entry.js +1 -1
  273. package/dist/esm/tet-counter.entry.js +1 -1
  274. package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
  275. package/dist/esm/tet-datepicker.entry.js +1 -1
  276. package/dist/esm/tet-dialog.entry.js +3 -3
  277. package/dist/esm/tet-display.entry.js +1 -1
  278. package/dist/esm/tet-divider.entry.js +1 -1
  279. package/dist/esm/tet-dynamic-card.entry.js +1 -1
  280. package/dist/esm/tet-expandable-input.entry.js +1 -1
  281. package/dist/esm/tet-expansion-panel.entry.js +1 -1
  282. package/dist/esm/tet-feedback-form.entry.js +3 -3
  283. package/dist/esm/tet-filter.entry.js +1 -1
  284. package/dist/esm/tet-floating-block.entry.js +1 -1
  285. package/dist/esm/tet-font-weight.entry.js +1 -1
  286. package/dist/esm/tet-fonts.entry.js +1 -1
  287. package/dist/esm/tet-grid.entry.js +1 -1
  288. package/dist/esm/tet-icon.entry.js +2 -2
  289. package/dist/esm/tet-inline-message.entry.js +1 -1
  290. package/dist/esm/tet-input.entry.js +3 -3
  291. package/dist/esm/tet-layout.entry.js +1 -1
  292. package/dist/esm/tet-link-card-list.entry.js +1 -1
  293. package/dist/esm/tet-link.entry.js +1 -1
  294. package/dist/esm/tet-menu-mobile.entry.js +1 -1
  295. package/dist/esm/tet-menu.entry.js +1 -1
  296. package/dist/esm/tet-mini-compare-card.entry.js +1 -1
  297. package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
  298. package/dist/esm/tet-navigation-mobile.entry.js +3 -3
  299. package/dist/esm/tet-news-card-list.entry.js +1 -1
  300. package/dist/esm/tet-notification.entry.js +1 -1
  301. package/dist/esm/tet-number-input.entry.js +1 -1
  302. package/dist/esm/tet-placeholder.entry.js +1 -1
  303. package/dist/esm/tet-position.entry.js +1 -1
  304. package/dist/esm/tet-price-view.entry.js +1 -1
  305. package/dist/esm/tet-radio-blocks.entry.js +1 -1
  306. package/dist/esm/tet-radio_2.entry.js +8 -8
  307. package/dist/esm/tet-range-slider.entry.js +1 -1
  308. package/dist/esm/tet-round-stepper.entry.js +1 -1
  309. package/dist/esm/tet-snicker-card-group.entry.js +1 -1
  310. package/dist/esm/tet-snicker-card.entry.js +3 -3
  311. package/dist/esm/tet-spacing.entry.js +1 -1
  312. package/dist/esm/tet-spinner.entry.js +1 -1
  313. package/dist/esm/tet-stepper-input.entry.js +3 -3
  314. package/dist/esm/tet-stepper-v3.entry.js +1 -1
  315. package/dist/esm/tet-sticky-offer.entry.js +1 -1
  316. package/dist/esm/tet-support-search.entry.js +1 -1
  317. package/dist/esm/tet-switch.entry.js +1 -1
  318. package/dist/esm/tet-table.entry.js +1 -1
  319. package/dist/esm/tet-tag_2.entry.js +3 -3
  320. package/dist/esm/tet-text-list.entry.js +1 -1
  321. package/dist/esm/tet-text.entry.js +1 -1
  322. package/dist/esm/tet-textarea.entry.js +1 -1
  323. package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
  324. package/dist/esm/{translations-4zQUcigP.js → translations-BxuQY6H_.js} +1 -1
  325. package/dist/tet-components/{p-77ae360e.entry.js → p-0564a3a7.entry.js} +1 -1
  326. package/dist/tet-components/{p-73aca8b1.entry.js → p-0bb47e76.entry.js} +1 -1
  327. package/dist/tet-components/{p-79e4a166.entry.js → p-0e9ae429.entry.js} +1 -1
  328. package/dist/tet-components/{p-517168f6.entry.js → p-0f616426.entry.js} +1 -1
  329. package/dist/tet-components/{p-755491fc.entry.js → p-12326ed2.entry.js} +1 -1
  330. package/dist/tet-components/{p-b849774e.entry.js → p-156bb292.entry.js} +1 -1
  331. package/dist/tet-components/{p-8bdcb714.entry.js → p-1a00251e.entry.js} +1 -1
  332. package/dist/tet-components/{p-f5a86256.entry.js → p-2554725a.entry.js} +1 -1
  333. package/dist/tet-components/{p-1556076a.entry.js → p-261a3dcf.entry.js} +1 -1
  334. package/dist/tet-components/{p-591a092a.entry.js → p-27213d06.entry.js} +1 -1
  335. package/dist/tet-components/{p-f7e3a24b.entry.js → p-28456488.entry.js} +1 -1
  336. package/dist/tet-components/{p-e13f06c4.entry.js → p-2e5144eb.entry.js} +1 -1
  337. package/dist/tet-components/{p-7105253e.entry.js → p-32492c9c.entry.js} +1 -1
  338. package/dist/tet-components/{p-f79c8697.entry.js → p-3556eb79.entry.js} +1 -1
  339. package/dist/tet-components/{p-21a59a4f.entry.js → p-35d587d8.entry.js} +1 -1
  340. package/dist/tet-components/{p-b5efc6d4.entry.js → p-35f0994e.entry.js} +1 -1
  341. package/dist/tet-components/{p-a2a4917a.entry.js → p-3791cf26.entry.js} +1 -1
  342. package/dist/tet-components/{p-87d015b3.entry.js → p-3f0547b8.entry.js} +1 -1
  343. package/dist/tet-components/{p-a0340287.entry.js → p-461b9623.entry.js} +1 -1
  344. package/dist/tet-components/{p-dca1a4c2.entry.js → p-4dd02c45.entry.js} +1 -1
  345. package/dist/tet-components/{p-b315a1c8.entry.js → p-4f339642.entry.js} +1 -1
  346. package/dist/tet-components/{p-4f47079e.entry.js → p-4fb578db.entry.js} +1 -1
  347. package/dist/tet-components/{p-92ef3a39.entry.js → p-52cc694d.entry.js} +1 -1
  348. package/dist/tet-components/{p-77fb52c5.entry.js → p-571d6428.entry.js} +1 -1
  349. package/dist/tet-components/{p-2e7cb093.entry.js → p-5883cc02.entry.js} +1 -1
  350. package/dist/tet-components/{p-bb325aa4.entry.js → p-5aa46cbe.entry.js} +1 -1
  351. package/dist/tet-components/{p-47484c33.entry.js → p-5dff0e20.entry.js} +1 -1
  352. package/dist/tet-components/{p-4aa2dbc8.entry.js → p-5f5c3f8e.entry.js} +1 -1
  353. package/dist/tet-components/{p-2bd1b7ec.entry.js → p-62e35581.entry.js} +1 -1
  354. package/dist/tet-components/{p-dfdf946f.entry.js → p-63238349.entry.js} +1 -1
  355. package/dist/tet-components/p-6bc0444a.entry.js +1 -0
  356. package/dist/tet-components/p-717cdd65.entry.js +1 -0
  357. package/dist/tet-components/{p-394b9c6b.entry.js → p-72306953.entry.js} +1 -1
  358. package/dist/tet-components/{p-47b6721e.entry.js → p-76e598e5.entry.js} +1 -1
  359. package/dist/tet-components/{p-1deb89e1.entry.js → p-77a8a330.entry.js} +1 -1
  360. package/dist/tet-components/{p-cb1c05ab.entry.js → p-8148aabf.entry.js} +1 -1
  361. package/dist/tet-components/{p-fa381f41.entry.js → p-854d09d1.entry.js} +1 -1
  362. package/dist/tet-components/{p-d2abe02d.entry.js → p-8a7a46f5.entry.js} +1 -1
  363. package/dist/tet-components/{p-7ffa074d.entry.js → p-8ae75070.entry.js} +1 -1
  364. package/dist/tet-components/{p-9ab737dd.entry.js → p-8fec40e7.entry.js} +1 -1
  365. package/dist/tet-components/{p-baf6ba9e.entry.js → p-908713dc.entry.js} +1 -1
  366. package/dist/tet-components/{p-43d1f956.entry.js → p-933a6d56.entry.js} +1 -1
  367. package/dist/tet-components/{p-8436df88.entry.js → p-98161671.entry.js} +1 -1
  368. package/dist/tet-components/p-BWP8psSS.js +3 -0
  369. package/dist/tet-components/{p-t-BNeeWq.js → p-Bi5WA4Eb.js} +1 -1
  370. package/dist/tet-components/{p-B8Zjo2sa.js → p-CEkiSmjX.js} +1 -1
  371. package/dist/tet-components/{p-BGrvDoTj.js → p-D5A3ic42.js} +1 -1
  372. package/dist/tet-components/{p-tf8lKgfD.js → p-Ojgt8vhK.js} +1 -1
  373. package/dist/tet-components/{p-5bd0a0c8.entry.js → p-a2104cad.entry.js} +1 -1
  374. package/dist/tet-components/{p-26dd3cb0.entry.js → p-aad1b69d.entry.js} +1 -1
  375. package/dist/tet-components/{p-d2db496b.entry.js → p-ad206225.entry.js} +1 -1
  376. package/dist/tet-components/{p-b4c45d6b.entry.js → p-ad89b9d6.entry.js} +1 -1
  377. package/dist/tet-components/{p-b8c0433c.entry.js → p-b1839d78.entry.js} +1 -1
  378. package/dist/tet-components/{p-15bddc3d.entry.js → p-b362a81e.entry.js} +1 -1
  379. package/dist/tet-components/{p-139d4cad.entry.js → p-b64f4147.entry.js} +1 -1
  380. package/dist/tet-components/{p-f5315eaf.entry.js → p-b7538f5c.entry.js} +1 -1
  381. package/dist/tet-components/{p-3ab52911.entry.js → p-b8a9e613.entry.js} +1 -1
  382. package/dist/tet-components/{p-24bdeb37.entry.js → p-ba69de46.entry.js} +1 -1
  383. package/dist/tet-components/{p-19343cc6.entry.js → p-bb961658.entry.js} +1 -1
  384. package/dist/tet-components/{p-cd267067.entry.js → p-bbfe168a.entry.js} +1 -1
  385. package/dist/tet-components/{p-306ff942.entry.js → p-c1a67216.entry.js} +1 -1
  386. package/dist/tet-components/{p-c32edb32.entry.js → p-c31ded4f.entry.js} +1 -1
  387. package/dist/tet-components/{p-3d8635c1.entry.js → p-c503fd7a.entry.js} +1 -1
  388. package/dist/tet-components/{p-bd42d182.entry.js → p-c97b0d44.entry.js} +1 -1
  389. package/dist/tet-components/{p-d44bea09.entry.js → p-ce34b837.entry.js} +1 -1
  390. package/dist/tet-components/{p-5a31f21d.entry.js → p-ce5b5cc5.entry.js} +1 -1
  391. package/dist/tet-components/{p-8b3ea797.entry.js → p-cfa1ad4d.entry.js} +1 -1
  392. package/dist/tet-components/{p-29948163.entry.js → p-cfa89a0a.entry.js} +1 -1
  393. package/dist/tet-components/{p-616d3818.entry.js → p-d056d09b.entry.js} +1 -1
  394. package/dist/tet-components/{p-53b4947e.entry.js → p-d1488a3a.entry.js} +1 -1
  395. package/dist/tet-components/{p-10e789d9.entry.js → p-d2179734.entry.js} +1 -1
  396. package/dist/tet-components/{p-a410109c.entry.js → p-d6058854.entry.js} +1 -1
  397. package/dist/tet-components/{p-2e4e81a5.entry.js → p-d82cac78.entry.js} +1 -1
  398. package/dist/tet-components/{p-7da3d5fb.entry.js → p-ddc1d183.entry.js} +1 -1
  399. package/dist/tet-components/{p-39be547b.entry.js → p-defc34c9.entry.js} +1 -1
  400. package/dist/tet-components/{p-3242f182.entry.js → p-e068d247.entry.js} +1 -1
  401. package/dist/tet-components/{p-d89ae495.entry.js → p-e153ba4f.entry.js} +1 -1
  402. package/dist/tet-components/{p-98ae4292.entry.js → p-e5d1e096.entry.js} +1 -1
  403. package/dist/tet-components/{p-eb3a8119.entry.js → p-eb219b3a.entry.js} +1 -1
  404. package/dist/tet-components/{p-8c39d824.entry.js → p-eda71185.entry.js} +1 -1
  405. package/dist/tet-components/{p-4a22c9a8.entry.js → p-edcd3af7.entry.js} +1 -1
  406. package/dist/tet-components/{p-7fdd634a.entry.js → p-f12f4f25.entry.js} +1 -1
  407. package/dist/tet-components/{p-1d997c7d.entry.js → p-f6d3abd5.entry.js} +1 -1
  408. package/dist/tet-components/{p-d88d8689.entry.js → p-fa9dfca2.entry.js} +1 -1
  409. package/dist/tet-components/tet-components.esm.js +1 -1
  410. package/package.json +2 -1
  411. package/dist/components/p-DKavMVSi.js +0 -1
  412. package/dist/components/p-nb3MHK7A.js +0 -1
  413. package/dist/tet-components/p-93283513.entry.js +0 -1
  414. package/dist/tet-components/p-ClX9TYQY.js +0 -3
  415. package/dist/tet-components/p-c989a64d.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as o,d as e,f as r,h as a,F as n,c as i,t as l}from"./p-nb3MHK7A.js";import{t as s,p as c}from"./p-DePtMqzY.js";import{e as u,A as d}from"./p-KBNSpMwX.js";import{d as m}from"./p-BsNlQtYx.js";import{d as f}from"./p-c36Z0_hK.js";import{d as g}from"./p-CFDvtl5l.js";import{d as p}from"./p-Clw2OLNj.js";import{d as h}from"./p-lmIrgmgo.js";import{d as y}from"./p-B_RQCK28.js";import{d as _}from"./p-DKavMVSi.js";import{d as b}from"./p-Dvk7syez.js";import{d as w}from"./p-B2Xg3DH0.js";var v,x,k;!function(t){t.SMALL="small",t.AVERAGE="average",t.LARGE="large",t.INDIVIDUAL="custom"}(v||(v={})),function(t){t.HOURLY="hourly",t.MONTHLY="monthly"}(x||(x={})),function(t){t.V_CPU="vcpu",t.V_RAM="vram",t.STORAGE="storage",t.EXTRA_STORAGE="extra-storage",t.LICENSE="license",t.MS_LICENSE="ms_license",t.BANDWIDTH="bandwidth"}(k||(k={}));const G={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},I={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},z={[k.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[k.V_RAM]:"components-cloud-configurator-summary-group-vram",[k.STORAGE]:"components-cloud-configurator-summary-group-storage",[k.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[k.LICENSE]:"components-cloud-configurator-summary-group-license",[k.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[k.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},j=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function C(t){const o={};for(const e of j)o[e]=t[e];return o}function L(t){const o=G[t];if(o)return o.forEach((t=>{t.name=s(t.name)})),o}function T(t){const o=I[t];if(o)return s(o)}function A(t){const o=L(t);if(o)return o.find((t=>t.default))}function S(t,o){return t.toFixed(o===x.MONTHLY?2:8).replace(".",",")}const R=async()=>{let t;try{t=new URL(u.cloudConfigurator).href}catch(t){return console.error(t),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const o=(new d).setUrl(t).setOptions({method:"GET"}).setErrorFallbackValue([]);return await o.execute()},M=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.cloudCalculatorSubmit=e(this,"cloudCalculatorSubmit")}get root(){return this}headerObserver;footerObserver=new IntersectionObserver((([t])=>{this.isFloatingSummary=0===t.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=v.SMALL;selectedPeriod=x.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([t])=>{0!==t.intersectionRatio&&t.target.classList.toggle("header--is-pinned",t.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(t){t||this.setDefaultValues()}onHeaderRefChange(t){t&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(t){t&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(t){await c("cloud-calculator",t),r(this)}onTabSelected=t=>{this.selectedTab=t.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=t=>{this.selectedPeriod=t.detail.value};onDdosProtectionEnabledCheck=t=>{const{checked:o}=t.detail;this.formValues.ddos_protection_enabled.value=o?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(t,o)=>{const{min:e}=this.fields[o],r=this.formValues[o];let a=t.value;t.suffix||(t.suffix=A(o)),r?.suffix?.value!==t.suffix.value&&(a=0===t.suffix.value?0:e);const n=this.getPrices(o,a,t.suffix);this.formValues[o]={...r,value:a,suffix:t.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const t=C(this.formValues),o=this.formValues.ddos_protection_enabled?.value;o?delete t.bandwidth_capacity:delete t.ddos_protection_bandwidth;const e={formValues:t,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const t=await Promise.all([R(),c("cloud-calculator",this.language)]);this.fields=t[0],this.isLoading=!1};setDefaultValues=()=>{for(const t of Object.keys(this.fields))this.setDefaultValue(t);const t=C(this.formValues);this.formValues={...t},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((t=>t.resetSuffix()))};setDefaultValue=t=>{const o=this.fields[t],e=o.default[this.selectedTab]||o.min,r=A(o.key),a=this.getPrices(o.key,e,r);this.formValues[o.key]={key:o.key,value:e,title:o.name.lv,groupKey:o.group,groupName:s(z[o.group]),...a,suffix:A(o.key)}};getFieldKeysByGroup(t){return Object.values(this.fields).filter((o=>o.group===t)).map((t=>t.key))}getTotals(){const t=!!this.formValues.ddos_protection_enabled?.value,o={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&t||("ddos_protection_bandwidth"!==e.key||t)&&(o.hourly+=e.hourly,o.monthly+=e.monthly);return o}getPrices(t,o,e){const{priceHourly:r,priceMonthly:a}=this.fields[t];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===t?{monthly:(o-1)*a*n,hourly:(o-1)*r*n}:{monthly:o*a*n,hourly:o*r*n}}getMinValue(t){const o=this.fields[t],e=this.formValues[t];return o?0===e?.suffix?.value?0:o.min:null}getMaxValue(t){const o=this.fields[t],e=this.formValues[t];return o&&e?e.suffix?o.max/e.suffix.value:o.max:null}getLabel(t){if(["v_ram"].includes(t))return null;const o=this.fields[t];return o?o.name[this.language]:null}getHelperText(t){const o=this.fields[t];return o?o.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},s(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(t,o){return!0===o?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(t),max:this.getMaxValue(t),label:this.getLabel(t),"accessibility-label":this.getHelperText(t),"button-accessibility-label":T(t),helperText:this.getHelperText(t),value:this.formValues[t]?.value,disabled:o?.disabled,suffixes:L(t),onInputValueChanged:o=>this.onNumberValueChanged(o.detail,t),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(t){const o=this.fields[t];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},o.name[this.language]),a("div",{class:"expandable-item__helper"},o.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(t),max:this.getMaxValue(t),step:1,value:this.formValues[t]?.value,language:this.language,onInputValueChanged:o=>this.onNumberValueChanged({value:o.detail},t),selectOnFocus:this.selectOnFocus,"accessibility-label":o.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(k.V_CPU,null,"x "+s("components-cloud-configurator-unit-cores")),this.renderSummaryRow(k.V_RAM),this.renderSummaryRow(k.STORAGE),this.renderSummaryRow(k.EXTRA_STORAGE),this.renderSummaryRow(k.LICENSE),this.renderSummaryRow(k.MS_LICENSE,null,s("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(k.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(t,o,e){let r,n=z[t];if(r=o||this.getFieldKeysByGroup(t),t===k.BANDWIDTH&&(r=r.filter((t=>"ddos_protection_enabled"!==t)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((t=>"bandwidth_capacity"!==t)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((t=>"ddos_protection_bandwidth"!==t))),!Object.entries(this.fields).some((t=>r.includes(t[0]))))return null;const i=[a("div",{class:"summary-table__header"},s(n))];let l=!0;for(const t of r){const o=this.formValues[t];if(!this.fields[t]||!o||!o[this.selectedPeriod])continue;l||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(t),n=e||o.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,r+","),a("span",null,`${o?.value}${n}`)));const c=o[this.selectedPeriod]||0,u=s(this.selectedPeriod===x.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${S(c,this.selectedPeriod)} ${u}`)),l=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((t=>t)))}renderFloatingSummary(){const t=this.getFieldKeysByGroup(k.V_CPU),o=this.getFieldKeysByGroup(k.V_RAM),e=this.getFieldKeysByGroup(k.STORAGE),r=this.getFieldKeysByGroup(k.EXTRA_STORAGE),n=this.getFieldKeysByGroup(k.LICENSE),i=this.getFieldKeysByGroup(k.BANDWIDTH),l=this.getFieldKeysByGroup(k.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(t.includes(a.key)?r.cpu+=a.value:o.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((t=>n.includes(t.key)&&t.value))&&(d+=1),c.some((t=>i.includes(t.key)&&t.value))&&(d+=1),c.some((t=>l.includes(t.key)&&t.value))&&(d+=1),c.some((t=>r.includes(t.key)&&t.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${s("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},"+"+d)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},s("components-cloud-configurator-summary-sum")+":"),a("span",{class:"floating-summary__sum--value"},`${S(m[this.selectedPeriod],this.selectedPeriod)} ${s("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:t=>this.headerRef=t},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":v.SMALL},a("p",null,s("components-cloud-configurator-type-small"))),a("button",{"data-name":v.AVERAGE},a("p",null,s("components-cloud-configurator-type-average"))),a("button",{"data-name":v.LARGE},a("p",null,s("components-cloud-configurator-type-large"))),a("button",{"data-name":v.INDIVIDUAL},a("p",null,s("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,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"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:s("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:!!this.formValues.ddos_protection_enabled?.value}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!this.formValues.ddos_protection_enabled?.value}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},s("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:x.MONTHLY,checked:this.selectedPeriod===x.MONTHLY,label:s("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:x.HOURLY,checked:this.selectedPeriod===x.HOURLY,label:s("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:t=>this.footerRef=t},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},s("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}'}},[513,"tet-cloud-configurator",{language:[1],containerSelector:[1,"container-selector"],theme:[1],selectOnFocus:[4,"select-on-focus"],isLoading:[32],headerRef:[32],footerRef:[32],formValues:[32],selectedTab:[32],selectedPeriod:[32],isFloatingSummary:[32],isListExpanded:[32],parentElement:[32]},void 0,{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}]),E=M,W=function(){"undefined"!=typeof customElements&&["tet-cloud-configurator","tet-button","tet-checkbox","tet-icon","tet-input","tet-number-input","tet-placeholder","tet-radio","tet-stepper-input","tet-tab-header"].forEach((t=>{switch(t){case"tet-cloud-configurator":customElements.get(l(t))||customElements.define(l(t),M);break;case"tet-button":customElements.get(l(t))||m();break;case"tet-checkbox":customElements.get(l(t))||f();break;case"tet-icon":customElements.get(l(t))||g();break;case"tet-input":customElements.get(l(t))||p();break;case"tet-number-input":customElements.get(l(t))||h();break;case"tet-placeholder":customElements.get(l(t))||y();break;case"tet-radio":customElements.get(l(t))||_();break;case"tet-stepper-input":customElements.get(l(t))||b();break;case"tet-tab-header":customElements.get(l(t))||w()}}))};export{E as TetCloudConfigurator,W as defineCustomElement}
1
+ import{p as t,H as o,d as e,f as r,h as a,F as n,c as i,t as l}from"./p-DIyhqSTP.js";import{t as s,p as c}from"./p-DZ6ri3Ez.js";import{e as u,A as d}from"./p-dg7EpwKx.js";import{d as m}from"./p-C0Mqt63Q.js";import{d as f}from"./p-D9H54BhC.js";import{d as g}from"./p-3yD-8Tmz.js";import{d as p}from"./p-CAXkylRm.js";import{d as h}from"./p-DQvcXOji.js";import{d as y}from"./p-CP4sqVXo.js";import{d as _}from"./p-e-eXFSPT.js";import{d as b}from"./p-BkzR7Tya.js";import{d as w}from"./p-CFBQ-_AF.js";var v,x,k;!function(t){t.SMALL="small",t.AVERAGE="average",t.LARGE="large",t.INDIVIDUAL="custom"}(v||(v={})),function(t){t.HOURLY="hourly",t.MONTHLY="monthly"}(x||(x={})),function(t){t.V_CPU="vcpu",t.V_RAM="vram",t.STORAGE="storage",t.EXTRA_STORAGE="extra-storage",t.LICENSE="license",t.MS_LICENSE="ms_license",t.BANDWIDTH="bandwidth"}(k||(k={}));const G={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},I={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},z={[k.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[k.V_RAM]:"components-cloud-configurator-summary-group-vram",[k.STORAGE]:"components-cloud-configurator-summary-group-storage",[k.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[k.LICENSE]:"components-cloud-configurator-summary-group-license",[k.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[k.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},C=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function j(t){const o={};for(const e of C)o[e]=t[e];return o}function T(t){const o=G[t];if(o)return o.forEach((t=>{t.name=s(t.name)})),o}function L(t){const o=I[t];if(o)return s(o)}function A(t){const o=T(t);if(o)return o.find((t=>t.default))}function S(t,o){return t.toFixed(o===x.MONTHLY?2:8).replace(".",",")}const R=async()=>{let t;try{t=new URL(u.cloudConfigurator).href}catch(t){return console.error(t),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const o=(new d).setUrl(t).setOptions({method:"GET"}).setErrorFallbackValue([]);return await o.execute()},E=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.cloudCalculatorSubmit=e(this,"cloudCalculatorSubmit")}get root(){return this}headerObserver;footerObserver=new IntersectionObserver((([t])=>{this.isFloatingSummary=0===t.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=v.SMALL;selectedPeriod=x.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([t])=>{0!==t.intersectionRatio&&t.target.classList.toggle("header--is-pinned",t.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(t){t||this.setDefaultValues()}onHeaderRefChange(t){t&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(t){t&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(t){await c("cloud-calculator",t),r(this)}onTabSelected=t=>{this.selectedTab=t.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=t=>{this.selectedPeriod=t.detail.value};onDdosProtectionEnabledCheck=t=>{const{checked:o}=t.detail;this.formValues.ddos_protection_enabled.value=o?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(t,o)=>{const{min:e}=this.fields[o],r=this.formValues[o];let a=t.value;t.suffix||(t.suffix=A(o)),r?.suffix?.value!==t.suffix.value&&(a=0===t.suffix.value?0:e);const n=this.getPrices(o,a,t.suffix);this.formValues[o]={...r,value:a,suffix:t.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const t=j(this.formValues),o=this.formValues.ddos_protection_enabled?.value;o?delete t.bandwidth_capacity:delete t.ddos_protection_bandwidth;const e={formValues:t,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const t=await Promise.all([R(),c("cloud-calculator",this.language)]);this.fields=t[0],this.isLoading=!1};setDefaultValues=()=>{for(const t of Object.keys(this.fields))this.setDefaultValue(t);const t=j(this.formValues);this.formValues={...t},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((t=>t.resetSuffix()))};setDefaultValue=t=>{const o=this.fields[t],e=o.default[this.selectedTab]||o.min,r=A(o.key),a=this.getPrices(o.key,e,r);this.formValues[o.key]={key:o.key,value:e,title:o.name.lv,groupKey:o.group,groupName:s(z[o.group]),...a,suffix:A(o.key)}};getFieldKeysByGroup(t){return Object.values(this.fields).filter((o=>o.group===t)).map((t=>t.key))}getTotals(){const t=!!this.formValues.ddos_protection_enabled?.value,o={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&t||("ddos_protection_bandwidth"!==e.key||t)&&(o.hourly+=e.hourly,o.monthly+=e.monthly);return o}getPrices(t,o,e){const{priceHourly:r,priceMonthly:a}=this.fields[t];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===t?{monthly:(o-1)*a*n,hourly:(o-1)*r*n}:{monthly:o*a*n,hourly:o*r*n}}getMinValue(t){const o=this.fields[t],e=this.formValues[t];return o?0===e?.suffix?.value?0:o.min:null}getMaxValue(t){const o=this.fields[t],e=this.formValues[t];return o&&e?e.suffix?o.max/e.suffix.value:o.max:null}getLabel(t){if(["v_ram"].includes(t))return null;const o=this.fields[t];return o?o.name[this.language]:null}getHelperText(t){const o=this.fields[t];return o?o.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},s(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(t,o){return!0===o?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(t),max:this.getMaxValue(t),label:this.getLabel(t),"accessibility-label":this.getHelperText(t),"button-accessibility-label":L(t),helperText:this.getHelperText(t),value:this.formValues[t]?.value,disabled:o?.disabled,suffixes:T(t),onInputValueChanged:o=>this.onNumberValueChanged(o.detail,t),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(t){const o=this.fields[t];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},o.name[this.language]),a("div",{class:"expandable-item__helper"},o.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(t),max:this.getMaxValue(t),step:1,value:this.formValues[t]?.value,language:this.language,onInputValueChanged:o=>this.onNumberValueChanged({value:o.detail},t),selectOnFocus:this.selectOnFocus,"accessibility-label":o.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(k.V_CPU,null,"x "+s("components-cloud-configurator-unit-cores")),this.renderSummaryRow(k.V_RAM),this.renderSummaryRow(k.STORAGE),this.renderSummaryRow(k.EXTRA_STORAGE),this.renderSummaryRow(k.LICENSE),this.renderSummaryRow(k.MS_LICENSE,null,s("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(k.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(t,o,e){let r,n=z[t];if(r=o||this.getFieldKeysByGroup(t),t===k.BANDWIDTH&&(r=r.filter((t=>"ddos_protection_enabled"!==t)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((t=>"bandwidth_capacity"!==t)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((t=>"ddos_protection_bandwidth"!==t))),!Object.entries(this.fields).some((t=>r.includes(t[0]))))return null;const i=[a("div",{class:"summary-table__header"},s(n))];let l=!0;for(const t of r){const o=this.formValues[t];if(!this.fields[t]||!o||!o[this.selectedPeriod])continue;l||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(t),n=e||o.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,r+","),a("span",null,`${o?.value}${n}`)));const c=o[this.selectedPeriod]||0,u=s(this.selectedPeriod===x.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${S(c,this.selectedPeriod)} ${u}`)),l=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((t=>t)))}renderFloatingSummary(){const t=this.getFieldKeysByGroup(k.V_CPU),o=this.getFieldKeysByGroup(k.V_RAM),e=this.getFieldKeysByGroup(k.STORAGE),r=this.getFieldKeysByGroup(k.EXTRA_STORAGE),n=this.getFieldKeysByGroup(k.LICENSE),i=this.getFieldKeysByGroup(k.BANDWIDTH),l=this.getFieldKeysByGroup(k.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(t.includes(a.key)?r.cpu+=a.value:o.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((t=>n.includes(t.key)&&t.value))&&(d+=1),c.some((t=>i.includes(t.key)&&t.value))&&(d+=1),c.some((t=>l.includes(t.key)&&t.value))&&(d+=1),c.some((t=>r.includes(t.key)&&t.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${s("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},"+"+d)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},s("components-cloud-configurator-summary-sum")+":"),a("span",{class:"floating-summary__sum--value"},`${S(m[this.selectedPeriod],this.selectedPeriod)} ${s("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:t=>this.headerRef=t},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":v.SMALL},a("p",null,s("components-cloud-configurator-type-small"))),a("button",{"data-name":v.AVERAGE},a("p",null,s("components-cloud-configurator-type-average"))),a("button",{"data-name":v.LARGE},a("p",null,s("components-cloud-configurator-type-large"))),a("button",{"data-name":v.INDIVIDUAL},a("p",null,s("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,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"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:s("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:!!this.formValues.ddos_protection_enabled?.value}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!this.formValues.ddos_protection_enabled?.value}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},s("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:x.MONTHLY,checked:this.selectedPeriod===x.MONTHLY,label:s("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:x.HOURLY,checked:this.selectedPeriod===x.HOURLY,label:s("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:t=>this.footerRef=t},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},s("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}'}},[513,"tet-cloud-configurator",{language:[1],containerSelector:[1,"container-selector"],theme:[1],selectOnFocus:[4,"select-on-focus"],isLoading:[32],headerRef:[32],footerRef:[32],formValues:[32],selectedTab:[32],selectedPeriod:[32],isFloatingSummary:[32],isListExpanded:[32],parentElement:[32]},void 0,{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}]),F=E,M=function(){"undefined"!=typeof customElements&&["tet-cloud-configurator","tet-button","tet-checkbox","tet-icon","tet-input","tet-number-input","tet-placeholder","tet-radio","tet-stepper-input","tet-tab-header"].forEach((t=>{switch(t){case"tet-cloud-configurator":customElements.get(l(t))||customElements.define(l(t),E);break;case"tet-button":customElements.get(l(t))||m();break;case"tet-checkbox":customElements.get(l(t))||f();break;case"tet-icon":customElements.get(l(t))||g();break;case"tet-input":customElements.get(l(t))||p();break;case"tet-number-input":customElements.get(l(t))||h();break;case"tet-placeholder":customElements.get(l(t))||y();break;case"tet-radio":customElements.get(l(t))||_();break;case"tet-stepper-input":customElements.get(l(t))||b();break;case"tet-tab-header":customElements.get(l(t))||w()}}))};export{F as TetCloudConfigurator,M as defineCustomElement}