@oiz/stzh-components 2.11.0-beta1 → 2.11.0

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 (671) hide show
  1. package/dist/cjs/{app-globals-5b6fc14f.js → app-globals-909813e1.js} +2 -2
  2. package/dist/cjs/{app-globals-5b6fc14f.js.map → app-globals-909813e1.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset_4.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -1
  8. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  11. package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-carousel.cjs.entry.js +4 -3
  13. package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-cell.cjs.entry.js +4 -4
  15. package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-chip_2.cjs.entry.js +8 -1
  19. package/dist/cjs/stzh-chip_2.cjs.entry.js.map +1 -1
  20. package/dist/cjs/stzh-components.cjs.js +2 -2
  21. package/dist/cjs/stzh-contact.cjs.entry.js +7 -4
  22. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  23. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  25. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  29. package/dist/cjs/{stzh-ratio.cjs.entry.js → stzh-figure_2.cjs.entry.js} +33 -1
  30. package/dist/cjs/stzh-figure_2.cjs.entry.js.map +1 -0
  31. package/dist/cjs/stzh-footer.cjs.entry.js +22 -6
  32. package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-gallery.cjs.entry.js +9733 -0
  34. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -0
  35. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-header.cjs.entry.js +3 -6
  37. package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
  38. package/dist/cjs/{stzh-hspace.cjs.entry.js → stzh-hspace_2.cjs.entry.js} +41 -6
  39. package/dist/cjs/stzh-hspace_2.cjs.entry.js.map +1 -0
  40. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +0 -2
  41. package/dist/cjs/stzh-imagecomparison.cjs.entry.js.map +1 -1
  42. package/dist/cjs/stzh-input.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-logo.cjs.entry.js +671 -0
  45. package/dist/cjs/stzh-logo.cjs.entry.js.map +1 -0
  46. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-panorama.cjs.entry.js +3 -2
  51. package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
  52. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-print.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +2 -1
  55. package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
  56. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-row.cjs.entry.js +4 -4
  58. package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
  59. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-share.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-space.cjs.entry.js +5 -5
  62. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  63. package/dist/cjs/stzh-sticky.cjs.entry.js +166 -15
  64. package/dist/cjs/stzh-sticky.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-text.cjs.entry.js.map +1 -1
  68. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-toast.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-vspace.cjs.entry.js +5 -5
  75. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  76. package/dist/cjs/{utils-77bc0ea1.js → utils-01c0bbdd.js} +25 -1
  77. package/dist/cjs/utils-01c0bbdd.js.map +1 -0
  78. package/dist/collection/assets/i18n/de.json +19 -10
  79. package/dist/collection/assets/i18n/en.json +19 -10
  80. package/dist/collection/collection-manifest.json +2 -0
  81. package/dist/collection/components/stzh-button/stzh-button.css +4 -0
  82. package/dist/collection/components/stzh-button/stzh-button.js +3 -3
  83. package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
  84. package/dist/collection/components/stzh-card/stzh-card.css +1 -0
  85. package/dist/collection/components/stzh-card-list/stzh-card-list.css +27 -38
  86. package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
  87. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -1
  88. package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
  89. package/dist/collection/components/stzh-cell/stzh-cell.js +9 -13
  90. package/dist/collection/components/stzh-cell/stzh-cell.js.map +1 -1
  91. package/dist/collection/components/stzh-clamp/stzh-clamp.js +9 -2
  92. package/dist/collection/components/stzh-clamp/stzh-clamp.js.map +1 -1
  93. package/dist/collection/components/stzh-contact/stzh-contact.js +25 -3
  94. package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
  95. package/dist/collection/components/stzh-cspace/stzh-cspace.css +5 -0
  96. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  97. package/dist/collection/components/stzh-figure/stzh-figure.css +5 -0
  98. package/dist/collection/components/stzh-footer/stzh-footer.css +1 -7
  99. package/dist/collection/components/stzh-footer/stzh-footer.js +21 -5
  100. package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
  101. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +2 -2
  102. package/dist/collection/components/stzh-gallery/assets/angle-left.svg +3 -0
  103. package/dist/collection/components/stzh-gallery/assets/angle-right.svg +3 -0
  104. package/dist/collection/components/stzh-gallery/assets/close.svg +3 -0
  105. package/dist/collection/components/stzh-gallery/stzh-gallery.css +839 -0
  106. package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js +22 -0
  107. package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js.map +1 -0
  108. package/dist/collection/components/stzh-gallery/stzh-gallery.js +410 -0
  109. package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -0
  110. package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js +2 -0
  111. package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js.map +1 -0
  112. package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +163 -0
  113. package/dist/collection/components/stzh-header/stzh-header.css +19 -1
  114. package/dist/collection/components/stzh-header/stzh-header.js +1 -4
  115. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  116. package/dist/collection/components/stzh-header/stzh-header.stories.js +5 -3
  117. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  118. package/dist/collection/components/stzh-hspace/stzh-hspace.js +13 -18
  119. package/dist/collection/components/stzh-hspace/stzh-hspace.js.map +1 -1
  120. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +0 -38
  121. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js.map +1 -1
  122. package/dist/collection/components/stzh-logo/assets/aoz.svg +15 -0
  123. package/dist/collection/components/stzh-logo/assets/pkzh.svg +207 -0
  124. package/dist/collection/components/stzh-logo/assets/stzh-default.svg +166 -0
  125. package/dist/collection/components/stzh-logo/assets/uvz.svg +85 -0
  126. package/dist/collection/components/stzh-logo/assets/vbz.svg +147 -0
  127. package/dist/collection/components/stzh-logo/stzh-logo.css +134 -0
  128. package/dist/collection/components/stzh-logo/stzh-logo.e2e.js +19 -0
  129. package/dist/collection/components/stzh-logo/stzh-logo.e2e.js.map +1 -0
  130. package/dist/collection/components/stzh-logo/stzh-logo.js +72 -0
  131. package/dist/collection/components/stzh-logo/stzh-logo.js.map +1 -0
  132. package/dist/collection/components/stzh-logo/stzh-logo.stories.js +51 -0
  133. package/dist/collection/components/stzh-panorama/stzh-panorama.js +21 -2
  134. package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
  135. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +3 -2
  136. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
  137. package/dist/collection/components/stzh-row/stzh-row.js +9 -13
  138. package/dist/collection/components/stzh-row/stzh-row.js.map +1 -1
  139. package/dist/collection/components/stzh-show/stzh-show.js +5 -5
  140. package/dist/collection/components/stzh-show/stzh-show.js.map +1 -1
  141. package/dist/collection/components/stzh-space/stzh-space.js +13 -18
  142. package/dist/collection/components/stzh-space/stzh-space.js.map +1 -1
  143. package/dist/collection/components/stzh-sticky/stzh-sticky.css +28 -17
  144. package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js +1 -0
  145. package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js.map +1 -1
  146. package/dist/collection/components/stzh-sticky/stzh-sticky.js +186 -14
  147. package/dist/collection/components/stzh-sticky/stzh-sticky.js.map +1 -1
  148. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +88 -44
  149. package/dist/collection/components/stzh-text/stzh-text.css +19 -0
  150. package/dist/collection/components/stzh-text/stzh-text.js +1 -1
  151. package/dist/collection/components/stzh-vspace/stzh-vspace.js +13 -18
  152. package/dist/collection/components/stzh-vspace/stzh-vspace.js.map +1 -1
  153. package/dist/collection/index.js.map +1 -1
  154. package/dist/collection/patterns/media/media.e2e.js +3 -1
  155. package/dist/collection/patterns/media/media.e2e.js.map +1 -1
  156. package/dist/collection/patterns/subpages/subpages.e2e.js +1 -0
  157. package/dist/collection/patterns/subpages/subpages.e2e.js.map +1 -1
  158. package/dist/collection/utils/utils.js +22 -0
  159. package/dist/collection/utils/utils.js.map +1 -1
  160. package/dist/components/index.js +1 -1
  161. package/dist/components/index2.js.map +1 -1
  162. package/dist/components/stzh-button2.js +2 -2
  163. package/dist/components/stzh-button2.js.map +1 -1
  164. package/dist/components/stzh-card-list2.js +1 -1
  165. package/dist/components/stzh-card-list2.js.map +1 -1
  166. package/dist/components/stzh-card2.js +1 -1
  167. package/dist/components/stzh-card2.js.map +1 -1
  168. package/dist/components/stzh-carousel2.js +3 -2
  169. package/dist/components/stzh-carousel2.js.map +1 -1
  170. package/dist/components/stzh-cell.js +9 -9
  171. package/dist/components/stzh-cell.js.map +1 -1
  172. package/dist/components/stzh-clamp2.js +8 -1
  173. package/dist/components/stzh-clamp2.js.map +1 -1
  174. package/dist/components/stzh-contact.js +7 -3
  175. package/dist/components/stzh-contact.js.map +1 -1
  176. package/dist/components/stzh-cspace.js +1 -1
  177. package/dist/components/stzh-cspace.js.map +1 -1
  178. package/dist/components/stzh-figure2.js +1 -1
  179. package/dist/components/stzh-figure2.js.map +1 -1
  180. package/dist/components/stzh-footer.js +21 -5
  181. package/dist/components/stzh-footer.js.map +1 -1
  182. package/dist/components/stzh-gallery.d.ts +11 -0
  183. package/dist/components/stzh-gallery.js +9808 -0
  184. package/dist/components/stzh-gallery.js.map +1 -0
  185. package/dist/components/stzh-header.js +2 -5
  186. package/dist/components/stzh-header.js.map +1 -1
  187. package/dist/components/stzh-hspace.js +1 -57
  188. package/dist/components/stzh-hspace.js.map +1 -1
  189. package/dist/{esm/stzh-hspace.entry.js → components/stzh-hspace2.js} +41 -13
  190. package/dist/components/stzh-hspace2.js.map +1 -0
  191. package/dist/components/stzh-imagecomparison.js +0 -4
  192. package/dist/components/stzh-imagecomparison.js.map +1 -1
  193. package/dist/components/stzh-logo.d.ts +11 -0
  194. package/dist/components/stzh-logo.js +687 -0
  195. package/dist/components/stzh-logo.js.map +1 -0
  196. package/dist/components/stzh-panorama.js +4 -2
  197. package/dist/components/stzh-panorama.js.map +1 -1
  198. package/dist/components/stzh-progressbar-item2.js +2 -1
  199. package/dist/components/stzh-progressbar-item2.js.map +1 -1
  200. package/dist/components/stzh-row.js +9 -9
  201. package/dist/components/stzh-row.js.map +1 -1
  202. package/dist/components/stzh-show.js +1 -59
  203. package/dist/components/stzh-show.js.map +1 -1
  204. package/dist/{esm/stzh-show.entry.js → components/stzh-show2.js} +34 -10
  205. package/dist/components/stzh-show2.js.map +1 -0
  206. package/dist/components/stzh-space.js +13 -13
  207. package/dist/components/stzh-space.js.map +1 -1
  208. package/dist/components/stzh-sticky.js +171 -17
  209. package/dist/components/stzh-sticky.js.map +1 -1
  210. package/dist/components/stzh-text2.js +1 -1
  211. package/dist/components/stzh-text2.js.map +1 -1
  212. package/dist/components/stzh-vbz-majorticker.js +1 -1
  213. package/dist/components/stzh-vspace.js +13 -13
  214. package/dist/components/stzh-vspace.js.map +1 -1
  215. package/dist/components/utils.js +23 -1
  216. package/dist/components/utils.js.map +1 -1
  217. package/dist/esm/{app-globals-2df573fd.js → app-globals-8bdc0f78.js} +2 -2
  218. package/dist/esm/{app-globals-2df573fd.js.map → app-globals-8bdc0f78.js.map} +1 -1
  219. package/dist/esm/index.js.map +1 -1
  220. package/dist/esm/loader.js +2 -2
  221. package/dist/esm/stzh-actions.entry.js +1 -1
  222. package/dist/esm/stzh-actionset_4.entry.js +3 -3
  223. package/dist/esm/stzh-actionset_4.entry.js.map +1 -1
  224. package/dist/esm/stzh-appnav.entry.js +1 -1
  225. package/dist/esm/stzh-audio.entry.js +1 -1
  226. package/dist/esm/stzh-badge_3.entry.js +3 -3
  227. package/dist/esm/stzh-badge_3.entry.js.map +1 -1
  228. package/dist/esm/stzh-carousel.entry.js +4 -3
  229. package/dist/esm/stzh-carousel.entry.js.map +1 -1
  230. package/dist/esm/stzh-cell.entry.js +4 -4
  231. package/dist/esm/stzh-cell.entry.js.map +1 -1
  232. package/dist/esm/stzh-checkbox.entry.js +1 -1
  233. package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
  234. package/dist/esm/stzh-chip_2.entry.js +8 -1
  235. package/dist/esm/stzh-chip_2.entry.js.map +1 -1
  236. package/dist/esm/stzh-components.js +2 -2
  237. package/dist/esm/stzh-contact.entry.js +7 -4
  238. package/dist/esm/stzh-contact.entry.js.map +1 -1
  239. package/dist/esm/stzh-cspace.entry.js +1 -1
  240. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  241. package/dist/esm/stzh-datepicker_3.entry.js +1 -1
  242. package/dist/esm/stzh-details.entry.js +1 -1
  243. package/dist/esm/stzh-dialog.entry.js +1 -1
  244. package/dist/esm/stzh-dropdown.entry.js +1 -1
  245. package/dist/esm/{stzh-ratio.entry.js → stzh-figure_2.entry.js} +33 -2
  246. package/dist/esm/stzh-figure_2.entry.js.map +1 -0
  247. package/dist/esm/stzh-footer.entry.js +22 -6
  248. package/dist/esm/stzh-footer.entry.js.map +1 -1
  249. package/dist/esm/stzh-gallery.entry.js +9729 -0
  250. package/dist/esm/stzh-gallery.entry.js.map +1 -0
  251. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  252. package/dist/esm/stzh-header.entry.js +3 -6
  253. package/dist/esm/stzh-header.entry.js.map +1 -1
  254. package/dist/esm/stzh-hspace_2.entry.js +67 -0
  255. package/dist/esm/stzh-hspace_2.entry.js.map +1 -0
  256. package/dist/esm/stzh-imagecomparison.entry.js +0 -2
  257. package/dist/esm/stzh-imagecomparison.entry.js.map +1 -1
  258. package/dist/esm/stzh-input.entry.js +1 -1
  259. package/dist/esm/stzh-link.entry.js +1 -1
  260. package/dist/esm/stzh-logo.entry.js +667 -0
  261. package/dist/esm/stzh-logo.entry.js.map +1 -0
  262. package/dist/esm/stzh-menu_2.entry.js +1 -1
  263. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  264. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  265. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  266. package/dist/esm/stzh-panorama.entry.js +3 -2
  267. package/dist/esm/stzh-panorama.entry.js.map +1 -1
  268. package/dist/esm/stzh-popover.entry.js +1 -1
  269. package/dist/esm/stzh-print.entry.js +1 -1
  270. package/dist/esm/stzh-progressbar-item.entry.js +2 -1
  271. package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
  272. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  273. package/dist/esm/stzh-row.entry.js +4 -4
  274. package/dist/esm/stzh-row.entry.js.map +1 -1
  275. package/dist/esm/stzh-scrollup.entry.js +1 -1
  276. package/dist/esm/stzh-share.entry.js +1 -1
  277. package/dist/esm/stzh-space.entry.js +5 -5
  278. package/dist/esm/stzh-space.entry.js.map +1 -1
  279. package/dist/esm/stzh-sticky.entry.js +166 -15
  280. package/dist/esm/stzh-sticky.entry.js.map +1 -1
  281. package/dist/esm/stzh-table.entry.js +1 -1
  282. package/dist/esm/stzh-text.entry.js +1 -1
  283. package/dist/esm/stzh-text.entry.js.map +1 -1
  284. package/dist/esm/stzh-textandimage.entry.js +1 -1
  285. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  286. package/dist/esm/stzh-toast.entry.js +1 -1
  287. package/dist/esm/stzh-toggle.entry.js +1 -1
  288. package/dist/esm/stzh-tooltip.entry.js +1 -1
  289. package/dist/esm/stzh-upload.entry.js +1 -1
  290. package/dist/esm/stzh-vspace.entry.js +5 -5
  291. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  292. package/dist/esm/{utils-107fad0f.js → utils-8bb4c3c6.js} +24 -2
  293. package/dist/esm/utils-8bb4c3c6.js.map +1 -0
  294. package/dist/esm-es5/{app-globals-2df573fd.js → app-globals-8bdc0f78.js} +2 -2
  295. package/dist/esm-es5/{app-globals-2df573fd.js.map → app-globals-8bdc0f78.js.map} +1 -1
  296. package/dist/esm-es5/index.js.map +1 -1
  297. package/dist/esm-es5/loader.js +1 -1
  298. package/dist/esm-es5/loader.js.map +1 -1
  299. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  300. package/dist/esm-es5/stzh-actionset_4.entry.js +2 -2
  301. package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -1
  302. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  303. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  304. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  305. package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
  306. package/dist/esm-es5/stzh-carousel.entry.js +1 -1
  307. package/dist/esm-es5/stzh-carousel.entry.js.map +1 -1
  308. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  309. package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
  310. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  311. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  312. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  313. package/dist/esm-es5/stzh-chip_2.entry.js.map +1 -1
  314. package/dist/esm-es5/stzh-components.js +1 -1
  315. package/dist/esm-es5/stzh-components.js.map +1 -1
  316. package/dist/esm-es5/stzh-contact.entry.js +1 -1
  317. package/dist/esm-es5/stzh-contact.entry.js.map +1 -1
  318. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  319. package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
  320. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  321. package/dist/esm-es5/stzh-details.entry.js +1 -1
  322. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  323. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  324. package/dist/esm-es5/stzh-figure_2.entry.js +2 -0
  325. package/dist/esm-es5/stzh-figure_2.entry.js.map +1 -0
  326. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  327. package/dist/esm-es5/stzh-footer.entry.js.map +1 -1
  328. package/dist/esm-es5/stzh-gallery.entry.js +10 -0
  329. package/dist/esm-es5/stzh-gallery.entry.js.map +1 -0
  330. package/dist/esm-es5/stzh-ghettobox.entry.js +1 -1
  331. package/dist/esm-es5/stzh-header.entry.js +1 -1
  332. package/dist/esm-es5/stzh-header.entry.js.map +1 -1
  333. package/dist/esm-es5/stzh-hspace_2.entry.js +2 -0
  334. package/dist/esm-es5/stzh-hspace_2.entry.js.map +1 -0
  335. package/dist/esm-es5/stzh-imagecomparison.entry.js +1 -1
  336. package/dist/esm-es5/stzh-imagecomparison.entry.js.map +1 -1
  337. package/dist/esm-es5/stzh-input.entry.js +1 -1
  338. package/dist/esm-es5/stzh-link.entry.js +1 -1
  339. package/dist/esm-es5/stzh-logo.entry.js +2 -0
  340. package/dist/esm-es5/stzh-logo.entry.js.map +1 -0
  341. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  342. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  343. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  344. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  345. package/dist/esm-es5/stzh-panorama.entry.js +1 -1
  346. package/dist/esm-es5/stzh-panorama.entry.js.map +1 -1
  347. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  348. package/dist/esm-es5/stzh-print.entry.js +1 -1
  349. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  350. package/dist/esm-es5/stzh-progressbar-item.entry.js.map +1 -1
  351. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  352. package/dist/esm-es5/stzh-row.entry.js +1 -1
  353. package/dist/esm-es5/stzh-row.entry.js.map +1 -1
  354. package/dist/esm-es5/stzh-scrollup.entry.js +1 -1
  355. package/dist/esm-es5/stzh-share.entry.js +1 -1
  356. package/dist/esm-es5/stzh-space.entry.js +1 -1
  357. package/dist/esm-es5/stzh-space.entry.js.map +1 -1
  358. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  359. package/dist/esm-es5/stzh-sticky.entry.js.map +1 -1
  360. package/dist/esm-es5/stzh-table.entry.js +1 -1
  361. package/dist/esm-es5/stzh-text.entry.js +1 -1
  362. package/dist/esm-es5/stzh-text.entry.js.map +1 -1
  363. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  364. package/dist/esm-es5/stzh-timeline-item.entry.js +1 -1
  365. package/dist/esm-es5/stzh-toast.entry.js +1 -1
  366. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  367. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  368. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  369. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  370. package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
  371. package/dist/esm-es5/utils-8bb4c3c6.js +2 -0
  372. package/dist/esm-es5/utils-8bb4c3c6.js.map +1 -0
  373. package/dist/stzh-components/assets/i18n/de.json +19 -10
  374. package/dist/stzh-components/assets/i18n/en.json +19 -10
  375. package/dist/stzh-components/index.esm.js.map +1 -1
  376. package/dist/stzh-components/{p-a509436d.entry.js → p-0164f9d1.entry.js} +2 -2
  377. package/dist/stzh-components/p-0164f9d1.entry.js.map +1 -0
  378. package/dist/stzh-components/{p-1f1910e4.system.entry.js → p-0684cfac.system.entry.js} +2 -2
  379. package/dist/stzh-components/{p-1f1910e4.system.entry.js.map → p-0684cfac.system.entry.js.map} +1 -1
  380. package/dist/stzh-components/p-07819ba5.entry.js +2 -0
  381. package/dist/stzh-components/p-07819ba5.entry.js.map +1 -0
  382. package/dist/stzh-components/{p-6b9365fe.system.entry.js → p-0b4cba00.system.entry.js} +2 -2
  383. package/dist/stzh-components/{p-b1fbe1d1.system.entry.js → p-0b8a15cc.system.entry.js} +2 -2
  384. package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
  385. package/dist/stzh-components/p-0c049996.system.entry.js +2 -0
  386. package/dist/stzh-components/p-0c049996.system.entry.js.map +1 -0
  387. package/dist/stzh-components/{p-9bd8613c.system.entry.js → p-0c2381f6.system.entry.js} +2 -2
  388. package/dist/stzh-components/{p-1e7376c9.system.js → p-0c972915.system.js} +2 -2
  389. package/dist/stzh-components/{p-1e7376c9.system.js.map → p-0c972915.system.js.map} +1 -1
  390. package/dist/stzh-components/p-0d9aa70c.entry.js +2 -0
  391. package/dist/stzh-components/p-0d9aa70c.entry.js.map +1 -0
  392. package/dist/stzh-components/{p-55a00af2.entry.js → p-10361297.entry.js} +2 -2
  393. package/dist/stzh-components/p-1095d872.system.entry.js +2 -0
  394. package/dist/stzh-components/p-1095d872.system.entry.js.map +1 -0
  395. package/dist/stzh-components/{p-26f37848.entry.js → p-11031613.entry.js} +2 -2
  396. package/dist/stzh-components/{p-062360a4.system.entry.js → p-153f8f3f.system.entry.js} +2 -2
  397. package/dist/stzh-components/p-15980af0.entry.js +10 -0
  398. package/dist/stzh-components/p-15980af0.entry.js.map +1 -0
  399. package/dist/stzh-components/{p-fbf4ee43.system.entry.js → p-1834deba.system.entry.js} +2 -2
  400. package/dist/stzh-components/{p-c1fa2872.system.entry.js → p-188dd49d.system.entry.js} +2 -2
  401. package/dist/stzh-components/{p-68e15c10.system.entry.js → p-1a49012e.system.entry.js} +2 -2
  402. package/dist/stzh-components/{p-2565c905.entry.js → p-1c9eee3d.entry.js} +2 -2
  403. package/dist/stzh-components/{p-badd636f.system.entry.js → p-24c0e33a.system.entry.js} +2 -2
  404. package/dist/stzh-components/{p-badd636f.system.entry.js.map → p-24c0e33a.system.entry.js.map} +1 -1
  405. package/dist/stzh-components/p-2547ec12.system.entry.js +2 -0
  406. package/dist/stzh-components/p-2547ec12.system.entry.js.map +1 -0
  407. package/dist/stzh-components/p-287edde1.system.entry.js +2 -0
  408. package/dist/stzh-components/p-287edde1.system.entry.js.map +1 -0
  409. package/dist/stzh-components/p-2a3fdd90.system.entry.js +2 -0
  410. package/dist/stzh-components/p-2a3fdd90.system.entry.js.map +1 -0
  411. package/dist/stzh-components/{p-af5151b6.entry.js → p-2abcca01.entry.js} +2 -2
  412. package/dist/stzh-components/p-2abcca01.entry.js.map +1 -0
  413. package/dist/stzh-components/{p-97b0b868.system.entry.js → p-2ff7c5db.system.entry.js} +2 -2
  414. package/dist/stzh-components/{p-e0e5d06f.system.entry.js → p-3154e4da.system.entry.js} +2 -2
  415. package/dist/stzh-components/{p-754f37ee.entry.js → p-34add4af.entry.js} +2 -2
  416. package/dist/stzh-components/{p-b28e5fd4.system.entry.js → p-34ff6606.system.entry.js} +2 -2
  417. package/dist/stzh-components/{p-46ccadd5.system.entry.js → p-3ab3a5a7.system.entry.js} +2 -2
  418. package/dist/stzh-components/{p-dd43141d.system.entry.js → p-3ceef7dd.system.entry.js} +2 -2
  419. package/dist/stzh-components/p-3df3f45c.entry.js +2 -0
  420. package/dist/stzh-components/p-3df3f45c.entry.js.map +1 -0
  421. package/dist/stzh-components/p-428eacce.system.js +2 -0
  422. package/dist/stzh-components/{p-044b80d8.system.js.map → p-428eacce.system.js.map} +1 -1
  423. package/dist/stzh-components/{p-e42dbd26.system.entry.js → p-42e25ae1.system.entry.js} +3 -3
  424. package/dist/stzh-components/p-42e25ae1.system.entry.js.map +1 -0
  425. package/dist/stzh-components/{p-38ebb72d.system.entry.js → p-42f483f6.system.entry.js} +2 -2
  426. package/dist/stzh-components/{p-508f6d3d.entry.js → p-488c5c8a.entry.js} +2 -2
  427. package/dist/stzh-components/{p-a5b55401.entry.js → p-4ad49ece.entry.js} +2 -2
  428. package/dist/stzh-components/{p-f8b5c7a8.entry.js → p-4c091b1b.entry.js} +2 -2
  429. package/dist/stzh-components/{p-66965853.entry.js → p-4cb041d5.entry.js} +2 -2
  430. package/dist/stzh-components/{p-9a22e78f.system.entry.js → p-509f90d0.system.entry.js} +2 -2
  431. package/dist/stzh-components/p-509f90d0.system.entry.js.map +1 -0
  432. package/dist/stzh-components/{p-ff2029b6.entry.js → p-5342d3ae.entry.js} +2 -2
  433. package/dist/stzh-components/{p-ff2029b6.entry.js.map → p-5342d3ae.entry.js.map} +1 -1
  434. package/dist/stzh-components/{p-243f3d8c.system.entry.js → p-54a1fdcc.system.entry.js} +2 -2
  435. package/dist/stzh-components/p-54dbcd0e.system.entry.js +11 -0
  436. package/dist/stzh-components/p-54dbcd0e.system.entry.js.map +1 -0
  437. package/dist/stzh-components/{p-1f6fe9f1.entry.js → p-5cea16ad.entry.js} +2 -2
  438. package/dist/stzh-components/{p-1f6fe9f1.entry.js.map → p-5cea16ad.entry.js.map} +1 -1
  439. package/dist/stzh-components/{p-b218ae94.system.entry.js → p-5d02c5e0.system.entry.js} +2 -2
  440. package/dist/stzh-components/{p-01436630.system.entry.js → p-5e861cb6.system.entry.js} +2 -2
  441. package/dist/stzh-components/{p-45e98de0.entry.js → p-64845b66.entry.js} +2 -2
  442. package/dist/stzh-components/{p-45e98de0.entry.js.map → p-64845b66.entry.js.map} +1 -1
  443. package/dist/stzh-components/{p-95e4bc28.entry.js → p-68feffea.entry.js} +2 -2
  444. package/dist/stzh-components/{p-a6938665.entry.js → p-6a91ac35.entry.js} +2 -2
  445. package/dist/stzh-components/p-6a91ac35.entry.js.map +1 -0
  446. package/dist/stzh-components/{p-93c73a62.entry.js → p-6b9b037a.entry.js} +2 -2
  447. package/dist/stzh-components/{p-93c73a62.entry.js.map → p-6b9b037a.entry.js.map} +1 -1
  448. package/dist/stzh-components/{p-98357b67.system.entry.js → p-6e979c9c.system.entry.js} +2 -2
  449. package/dist/stzh-components/{p-98357b67.system.entry.js.map → p-6e979c9c.system.entry.js.map} +1 -1
  450. package/dist/stzh-components/{p-d5b2327f.system.entry.js → p-709514fc.system.entry.js} +2 -2
  451. package/dist/stzh-components/{p-c9f0cf53.entry.js → p-73442cf1.entry.js} +2 -2
  452. package/dist/stzh-components/{p-fd41d303.entry.js → p-7873a639.entry.js} +2 -2
  453. package/dist/stzh-components/p-7c2aa5e8.entry.js +2 -0
  454. package/dist/stzh-components/{p-41b2f989.entry.js.map → p-7c2aa5e8.entry.js.map} +1 -1
  455. package/dist/stzh-components/{p-a7ef9c99.entry.js → p-80851e3d.entry.js} +2 -2
  456. package/dist/stzh-components/p-80f1f324.system.entry.js +2 -0
  457. package/dist/stzh-components/p-80f1f324.system.entry.js.map +1 -0
  458. package/dist/stzh-components/{p-e1bada00.entry.js → p-83a216d7.entry.js} +2 -2
  459. package/dist/stzh-components/{p-bd5b6832.system.entry.js → p-88adaf4b.system.entry.js} +2 -2
  460. package/dist/stzh-components/{p-34a359dd.entry.js → p-88e6248e.entry.js} +2 -2
  461. package/dist/stzh-components/{p-e4e8b73a.system.entry.js → p-8c1c75a7.system.entry.js} +2 -2
  462. package/dist/stzh-components/{p-e4e8b73a.system.entry.js.map → p-8c1c75a7.system.entry.js.map} +1 -1
  463. package/dist/stzh-components/{p-7e76c84a.entry.js → p-91e7dae0.entry.js} +2 -2
  464. package/dist/stzh-components/{p-a8c669b2.system.entry.js → p-97704eb0.system.entry.js} +2 -2
  465. package/dist/stzh-components/p-9d0fedfe.system.entry.js +2 -0
  466. package/dist/stzh-components/{p-8de3379f.system.entry.js.map → p-9d0fedfe.system.entry.js.map} +1 -1
  467. package/dist/stzh-components/{p-67a483cf.system.entry.js → p-a0b350c2.system.entry.js} +2 -2
  468. package/dist/stzh-components/{p-a4c5ef8d.entry.js → p-a312a505.entry.js} +2 -2
  469. package/dist/stzh-components/p-a60e85c8.system.entry.js +2 -0
  470. package/dist/stzh-components/p-a60e85c8.system.entry.js.map +1 -0
  471. package/dist/stzh-components/{p-99ec62a5.entry.js → p-a94dd79b.entry.js} +2 -2
  472. package/dist/stzh-components/{p-99ec62a5.entry.js.map → p-a94dd79b.entry.js.map} +1 -1
  473. package/dist/stzh-components/p-aa337ae2.entry.js +2 -0
  474. package/dist/stzh-components/p-aa337ae2.entry.js.map +1 -0
  475. package/dist/stzh-components/{p-80e08833.entry.js → p-abbcda3b.entry.js} +2 -2
  476. package/dist/stzh-components/p-ae8eaf99.entry.js +2 -0
  477. package/dist/stzh-components/p-ae8eaf99.entry.js.map +1 -0
  478. package/dist/stzh-components/{p-793a530d.entry.js → p-af33b013.entry.js} +2 -2
  479. package/dist/stzh-components/{p-19b7b131.entry.js → p-afb2885a.entry.js} +2 -2
  480. package/dist/stzh-components/p-b305ec22.entry.js +2 -0
  481. package/dist/stzh-components/p-b305ec22.entry.js.map +1 -0
  482. package/dist/stzh-components/p-b6fed7ff.entry.js +2 -0
  483. package/dist/stzh-components/p-b6fed7ff.entry.js.map +1 -0
  484. package/dist/stzh-components/{p-cc10a5c5.system.entry.js → p-bb2fe16f.system.entry.js} +2 -2
  485. package/dist/stzh-components/p-bb2fe16f.system.entry.js.map +1 -0
  486. package/dist/stzh-components/{p-7a7eb40f.system.entry.js → p-c143a3f0.system.entry.js} +2 -2
  487. package/dist/stzh-components/{p-0a57145c.system.entry.js → p-c1ab5b6a.system.entry.js} +2 -2
  488. package/dist/stzh-components/p-c1ab5b6a.system.entry.js.map +1 -0
  489. package/dist/stzh-components/{p-fb70c624.system.entry.js → p-c41d9fa7.system.entry.js} +2 -2
  490. package/dist/stzh-components/{p-ebd47e41.entry.js → p-c5a4865c.entry.js} +2 -2
  491. package/dist/stzh-components/{p-7007044a.entry.js → p-c7a068ee.entry.js} +2 -2
  492. package/dist/stzh-components/{p-a00db16c.js → p-ca32a687.js} +2 -2
  493. package/dist/stzh-components/{p-a00db16c.js.map → p-ca32a687.js.map} +1 -1
  494. package/dist/stzh-components/{p-ae44fab0.entry.js → p-cb906ad4.entry.js} +2 -2
  495. package/dist/stzh-components/{p-70461b7e.entry.js → p-cc260e20.entry.js} +2 -2
  496. package/dist/stzh-components/p-cc260e20.entry.js.map +1 -0
  497. package/dist/stzh-components/p-cfd1eed9.system.entry.js +2 -0
  498. package/dist/stzh-components/p-cfd1eed9.system.entry.js.map +1 -0
  499. package/dist/stzh-components/p-cfdb06e4.js +2 -0
  500. package/dist/stzh-components/p-cfdb06e4.js.map +1 -0
  501. package/dist/stzh-components/{p-54c0340b.entry.js → p-d0678cbb.entry.js} +2 -2
  502. package/dist/stzh-components/p-d22fbf2e.system.entry.js +2 -0
  503. package/dist/stzh-components/p-d22fbf2e.system.entry.js.map +1 -0
  504. package/dist/stzh-components/{p-42138c55.entry.js → p-d362dc3a.entry.js} +2 -2
  505. package/dist/stzh-components/{p-3ac03d9a.entry.js → p-ded183e7.entry.js} +2 -2
  506. package/dist/stzh-components/{p-58a6ed19.system.entry.js → p-df322682.system.entry.js} +2 -2
  507. package/dist/stzh-components/{p-d50495d5.entry.js → p-e24cfa3e.entry.js} +2 -2
  508. package/dist/stzh-components/{p-ffe3fbab.entry.js → p-e3cd443b.entry.js} +2 -2
  509. package/dist/stzh-components/{p-e58d6819.system.entry.js → p-e61f6afc.system.entry.js} +2 -2
  510. package/dist/stzh-components/{p-e58d6819.system.entry.js.map → p-e61f6afc.system.entry.js.map} +1 -1
  511. package/dist/stzh-components/{p-f16e40f8.system.entry.js → p-e670eba0.system.entry.js} +2 -2
  512. package/dist/stzh-components/p-ed2896cd.entry.js +2 -0
  513. package/dist/stzh-components/p-ed2896cd.entry.js.map +1 -0
  514. package/dist/stzh-components/{p-3ccf5529.system.entry.js → p-f159a561.system.entry.js} +2 -2
  515. package/dist/stzh-components/p-f6662aa5.entry.js +2 -0
  516. package/dist/stzh-components/p-f6662aa5.entry.js.map +1 -0
  517. package/dist/stzh-components/p-f73af272.entry.js +8 -0
  518. package/dist/stzh-components/p-f73af272.entry.js.map +1 -0
  519. package/dist/stzh-components/{p-75beb9f8.system.entry.js → p-f8511c39.system.entry.js} +2 -2
  520. package/dist/stzh-components/{p-b1851b3e.entry.js → p-f91187c8.entry.js} +2 -2
  521. package/dist/stzh-components/p-f9cb0fcd.system.js +2 -0
  522. package/dist/stzh-components/p-f9cb0fcd.system.js.map +1 -0
  523. package/dist/stzh-components/{p-4e32ee7a.system.entry.js → p-ff1d24e2.system.entry.js} +2 -2
  524. package/dist/stzh-components/{p-61589824.system.entry.js → p-ff356dc8.system.entry.js} +2 -2
  525. package/dist/stzh-components/{p-9145f8d9.system.entry.js → p-ff9a0645.system.entry.js} +2 -2
  526. package/dist/stzh-components/p-ff9a0645.system.entry.js.map +1 -0
  527. package/dist/stzh-components/stzh-components.esm.js +1 -1
  528. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  529. package/dist/stzh-components/stzh-components.js +1 -1
  530. package/dist/types/components/stzh-gallery/stzh-gallery.localization.d.ts +10 -0
  531. package/dist/types/components.d.ts +101 -24
  532. package/dist/types/utils/utils.d.ts +5 -0
  533. package/dist/vscode-data.json +102 -13
  534. package/package.json +2 -1
  535. package/dist/cjs/stzh-figure.cjs.entry.js +0 -40
  536. package/dist/cjs/stzh-figure.cjs.entry.js.map +0 -1
  537. package/dist/cjs/stzh-hspace.cjs.entry.js.map +0 -1
  538. package/dist/cjs/stzh-ratio.cjs.entry.js.map +0 -1
  539. package/dist/cjs/stzh-show.cjs.entry.js +0 -43
  540. package/dist/cjs/stzh-show.cjs.entry.js.map +0 -1
  541. package/dist/cjs/utils-77bc0ea1.js.map +0 -1
  542. package/dist/esm/stzh-figure.entry.js +0 -36
  543. package/dist/esm/stzh-figure.entry.js.map +0 -1
  544. package/dist/esm/stzh-hspace.entry.js.map +0 -1
  545. package/dist/esm/stzh-ratio.entry.js.map +0 -1
  546. package/dist/esm/stzh-show.entry.js.map +0 -1
  547. package/dist/esm/utils-107fad0f.js.map +0 -1
  548. package/dist/esm-es5/stzh-figure.entry.js +0 -2
  549. package/dist/esm-es5/stzh-figure.entry.js.map +0 -1
  550. package/dist/esm-es5/stzh-hspace.entry.js +0 -2
  551. package/dist/esm-es5/stzh-hspace.entry.js.map +0 -1
  552. package/dist/esm-es5/stzh-ratio.entry.js +0 -2
  553. package/dist/esm-es5/stzh-ratio.entry.js.map +0 -1
  554. package/dist/esm-es5/stzh-show.entry.js +0 -2
  555. package/dist/esm-es5/stzh-show.entry.js.map +0 -1
  556. package/dist/esm-es5/utils-107fad0f.js +0 -2
  557. package/dist/esm-es5/utils-107fad0f.js.map +0 -1
  558. package/dist/stzh-components/p-004b3030.system.entry.js +0 -2
  559. package/dist/stzh-components/p-004b3030.system.entry.js.map +0 -1
  560. package/dist/stzh-components/p-044b80d8.system.js +0 -2
  561. package/dist/stzh-components/p-0a57145c.system.entry.js.map +0 -1
  562. package/dist/stzh-components/p-0c8d651e.entry.js +0 -2
  563. package/dist/stzh-components/p-0c8d651e.entry.js.map +0 -1
  564. package/dist/stzh-components/p-0e5d39e2.system.entry.js +0 -2
  565. package/dist/stzh-components/p-0e5d39e2.system.entry.js.map +0 -1
  566. package/dist/stzh-components/p-0ed6eafb.system.entry.js +0 -2
  567. package/dist/stzh-components/p-0ed6eafb.system.entry.js.map +0 -1
  568. package/dist/stzh-components/p-168f0faa.entry.js +0 -8
  569. package/dist/stzh-components/p-168f0faa.entry.js.map +0 -1
  570. package/dist/stzh-components/p-18bf2b21.system.entry.js +0 -2
  571. package/dist/stzh-components/p-18bf2b21.system.entry.js.map +0 -1
  572. package/dist/stzh-components/p-2452dd71.system.entry.js +0 -2
  573. package/dist/stzh-components/p-2452dd71.system.entry.js.map +0 -1
  574. package/dist/stzh-components/p-330bdf15.system.entry.js +0 -2
  575. package/dist/stzh-components/p-330bdf15.system.entry.js.map +0 -1
  576. package/dist/stzh-components/p-341c1c6c.entry.js +0 -2
  577. package/dist/stzh-components/p-341c1c6c.entry.js.map +0 -1
  578. package/dist/stzh-components/p-41b2f989.entry.js +0 -2
  579. package/dist/stzh-components/p-52e9dbe5.entry.js +0 -2
  580. package/dist/stzh-components/p-52e9dbe5.entry.js.map +0 -1
  581. package/dist/stzh-components/p-53e44e89.system.js +0 -2
  582. package/dist/stzh-components/p-53e44e89.system.js.map +0 -1
  583. package/dist/stzh-components/p-645bbb42.entry.js +0 -2
  584. package/dist/stzh-components/p-645bbb42.entry.js.map +0 -1
  585. package/dist/stzh-components/p-70461b7e.entry.js.map +0 -1
  586. package/dist/stzh-components/p-74e07267.entry.js +0 -2
  587. package/dist/stzh-components/p-74e07267.entry.js.map +0 -1
  588. package/dist/stzh-components/p-7b044a55.entry.js +0 -2
  589. package/dist/stzh-components/p-7b044a55.entry.js.map +0 -1
  590. package/dist/stzh-components/p-7eaed674.system.entry.js +0 -2
  591. package/dist/stzh-components/p-7eaed674.system.entry.js.map +0 -1
  592. package/dist/stzh-components/p-8de3379f.system.entry.js +0 -2
  593. package/dist/stzh-components/p-9145f8d9.system.entry.js.map +0 -1
  594. package/dist/stzh-components/p-9a22e78f.system.entry.js.map +0 -1
  595. package/dist/stzh-components/p-a27c6c02.system.entry.js +0 -2
  596. package/dist/stzh-components/p-a27c6c02.system.entry.js.map +0 -1
  597. package/dist/stzh-components/p-a509436d.entry.js.map +0 -1
  598. package/dist/stzh-components/p-a6938665.entry.js.map +0 -1
  599. package/dist/stzh-components/p-a999bb48.entry.js +0 -2
  600. package/dist/stzh-components/p-a999bb48.entry.js.map +0 -1
  601. package/dist/stzh-components/p-af5151b6.entry.js.map +0 -1
  602. package/dist/stzh-components/p-ba8c574b.js +0 -2
  603. package/dist/stzh-components/p-ba8c574b.js.map +0 -1
  604. package/dist/stzh-components/p-c2fcd668.entry.js +0 -2
  605. package/dist/stzh-components/p-c2fcd668.entry.js.map +0 -1
  606. package/dist/stzh-components/p-cc10a5c5.system.entry.js.map +0 -1
  607. package/dist/stzh-components/p-d18665b6.system.entry.js +0 -2
  608. package/dist/stzh-components/p-d18665b6.system.entry.js.map +0 -1
  609. package/dist/stzh-components/p-e42dbd26.system.entry.js.map +0 -1
  610. package/dist/stzh-components/p-e6f1bae9.system.entry.js +0 -2
  611. package/dist/stzh-components/p-e6f1bae9.system.entry.js.map +0 -1
  612. package/dist/stzh-components/p-ebaf8f26.entry.js +0 -2
  613. package/dist/stzh-components/p-ebaf8f26.entry.js.map +0 -1
  614. package/dist/stzh-components/p-ef274d0c.entry.js +0 -2
  615. package/dist/stzh-components/p-ef274d0c.entry.js.map +0 -1
  616. /package/dist/stzh-components/{p-6b9365fe.system.entry.js.map → p-0b4cba00.system.entry.js.map} +0 -0
  617. /package/dist/stzh-components/{p-b1fbe1d1.system.entry.js.map → p-0b8a15cc.system.entry.js.map} +0 -0
  618. /package/dist/stzh-components/{p-9bd8613c.system.entry.js.map → p-0c2381f6.system.entry.js.map} +0 -0
  619. /package/dist/stzh-components/{p-55a00af2.entry.js.map → p-10361297.entry.js.map} +0 -0
  620. /package/dist/stzh-components/{p-26f37848.entry.js.map → p-11031613.entry.js.map} +0 -0
  621. /package/dist/stzh-components/{p-062360a4.system.entry.js.map → p-153f8f3f.system.entry.js.map} +0 -0
  622. /package/dist/stzh-components/{p-fbf4ee43.system.entry.js.map → p-1834deba.system.entry.js.map} +0 -0
  623. /package/dist/stzh-components/{p-c1fa2872.system.entry.js.map → p-188dd49d.system.entry.js.map} +0 -0
  624. /package/dist/stzh-components/{p-68e15c10.system.entry.js.map → p-1a49012e.system.entry.js.map} +0 -0
  625. /package/dist/stzh-components/{p-2565c905.entry.js.map → p-1c9eee3d.entry.js.map} +0 -0
  626. /package/dist/stzh-components/{p-97b0b868.system.entry.js.map → p-2ff7c5db.system.entry.js.map} +0 -0
  627. /package/dist/stzh-components/{p-e0e5d06f.system.entry.js.map → p-3154e4da.system.entry.js.map} +0 -0
  628. /package/dist/stzh-components/{p-754f37ee.entry.js.map → p-34add4af.entry.js.map} +0 -0
  629. /package/dist/stzh-components/{p-b28e5fd4.system.entry.js.map → p-34ff6606.system.entry.js.map} +0 -0
  630. /package/dist/stzh-components/{p-46ccadd5.system.entry.js.map → p-3ab3a5a7.system.entry.js.map} +0 -0
  631. /package/dist/stzh-components/{p-dd43141d.system.entry.js.map → p-3ceef7dd.system.entry.js.map} +0 -0
  632. /package/dist/stzh-components/{p-38ebb72d.system.entry.js.map → p-42f483f6.system.entry.js.map} +0 -0
  633. /package/dist/stzh-components/{p-508f6d3d.entry.js.map → p-488c5c8a.entry.js.map} +0 -0
  634. /package/dist/stzh-components/{p-a5b55401.entry.js.map → p-4ad49ece.entry.js.map} +0 -0
  635. /package/dist/stzh-components/{p-f8b5c7a8.entry.js.map → p-4c091b1b.entry.js.map} +0 -0
  636. /package/dist/stzh-components/{p-66965853.entry.js.map → p-4cb041d5.entry.js.map} +0 -0
  637. /package/dist/stzh-components/{p-243f3d8c.system.entry.js.map → p-54a1fdcc.system.entry.js.map} +0 -0
  638. /package/dist/stzh-components/{p-b218ae94.system.entry.js.map → p-5d02c5e0.system.entry.js.map} +0 -0
  639. /package/dist/stzh-components/{p-01436630.system.entry.js.map → p-5e861cb6.system.entry.js.map} +0 -0
  640. /package/dist/stzh-components/{p-95e4bc28.entry.js.map → p-68feffea.entry.js.map} +0 -0
  641. /package/dist/stzh-components/{p-d5b2327f.system.entry.js.map → p-709514fc.system.entry.js.map} +0 -0
  642. /package/dist/stzh-components/{p-c9f0cf53.entry.js.map → p-73442cf1.entry.js.map} +0 -0
  643. /package/dist/stzh-components/{p-fd41d303.entry.js.map → p-7873a639.entry.js.map} +0 -0
  644. /package/dist/stzh-components/{p-a7ef9c99.entry.js.map → p-80851e3d.entry.js.map} +0 -0
  645. /package/dist/stzh-components/{p-e1bada00.entry.js.map → p-83a216d7.entry.js.map} +0 -0
  646. /package/dist/stzh-components/{p-bd5b6832.system.entry.js.map → p-88adaf4b.system.entry.js.map} +0 -0
  647. /package/dist/stzh-components/{p-34a359dd.entry.js.map → p-88e6248e.entry.js.map} +0 -0
  648. /package/dist/stzh-components/{p-7e76c84a.entry.js.map → p-91e7dae0.entry.js.map} +0 -0
  649. /package/dist/stzh-components/{p-a8c669b2.system.entry.js.map → p-97704eb0.system.entry.js.map} +0 -0
  650. /package/dist/stzh-components/{p-67a483cf.system.entry.js.map → p-a0b350c2.system.entry.js.map} +0 -0
  651. /package/dist/stzh-components/{p-a4c5ef8d.entry.js.map → p-a312a505.entry.js.map} +0 -0
  652. /package/dist/stzh-components/{p-80e08833.entry.js.map → p-abbcda3b.entry.js.map} +0 -0
  653. /package/dist/stzh-components/{p-793a530d.entry.js.map → p-af33b013.entry.js.map} +0 -0
  654. /package/dist/stzh-components/{p-19b7b131.entry.js.map → p-afb2885a.entry.js.map} +0 -0
  655. /package/dist/stzh-components/{p-7a7eb40f.system.entry.js.map → p-c143a3f0.system.entry.js.map} +0 -0
  656. /package/dist/stzh-components/{p-fb70c624.system.entry.js.map → p-c41d9fa7.system.entry.js.map} +0 -0
  657. /package/dist/stzh-components/{p-ebd47e41.entry.js.map → p-c5a4865c.entry.js.map} +0 -0
  658. /package/dist/stzh-components/{p-7007044a.entry.js.map → p-c7a068ee.entry.js.map} +0 -0
  659. /package/dist/stzh-components/{p-ae44fab0.entry.js.map → p-cb906ad4.entry.js.map} +0 -0
  660. /package/dist/stzh-components/{p-54c0340b.entry.js.map → p-d0678cbb.entry.js.map} +0 -0
  661. /package/dist/stzh-components/{p-42138c55.entry.js.map → p-d362dc3a.entry.js.map} +0 -0
  662. /package/dist/stzh-components/{p-3ac03d9a.entry.js.map → p-ded183e7.entry.js.map} +0 -0
  663. /package/dist/stzh-components/{p-58a6ed19.system.entry.js.map → p-df322682.system.entry.js.map} +0 -0
  664. /package/dist/stzh-components/{p-d50495d5.entry.js.map → p-e24cfa3e.entry.js.map} +0 -0
  665. /package/dist/stzh-components/{p-ffe3fbab.entry.js.map → p-e3cd443b.entry.js.map} +0 -0
  666. /package/dist/stzh-components/{p-f16e40f8.system.entry.js.map → p-e670eba0.system.entry.js.map} +0 -0
  667. /package/dist/stzh-components/{p-3ccf5529.system.entry.js.map → p-f159a561.system.entry.js.map} +0 -0
  668. /package/dist/stzh-components/{p-75beb9f8.system.entry.js.map → p-f8511c39.system.entry.js.map} +0 -0
  669. /package/dist/stzh-components/{p-b1851b3e.entry.js.map → p-f91187c8.entry.js.map} +0 -0
  670. /package/dist/stzh-components/{p-4e32ee7a.system.entry.js.map → p-ff1d24e2.system.entry.js.map} +0 -0
  671. /package/dist/stzh-components/{p-61589824.system.entry.js.map → p-ff356dc8.system.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhProgressbarItemCss","StzhProgressbarItem","this","onClick","event","stzhClick","emit","component","originalEvent","onDottedClick","stzhDottedClick","componentDidRender","requestAnimationFrame","button","setAttribute","analyticsId","text","innerText","render","classes","first","last","passed","current","hide","dotted","icon","disabled","h","class","name","Host","role","ref","el","Fragment","step","label"],"sources":["src/components/stzh-progressbar-item/stzh-progressbar-item.scss?tag=stzh-progressbar-item&encapsulation=scoped","src/components/stzh-progressbar-item/stzh-progressbar-item.tsx"],"sourcesContent":[":host {\n}\n\n:host([hide]) {\n\tdisplay: none;\n}\n\n.stzh-progressbar-item {\n text-align: center;\n\n &__button {\n appearance: none;\n font-family: inherit;\n background-color: transparent;\n border: none;\n cursor: pointer;\n border-radius: $formInputBorderRadius;\n }\n\n &__button:hover &__number-block,\n &__button:focus &__number-block {\n color: $colorPrimaryHover;\n border-color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n border-color: Highlight;\n }\n\n &::after {\n background-color: $colorPrimary8;\n }\n }\n\n &__button:hover &__label-block,\n &__button:focus &__label-block {\n color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* what we do here is:\n add a gray line on the last element, which strikes through all previous ones,\n add a blue line on the current step which covers all previous elements relative to itself\n and add a white line on the first element, which gives you the illusion that it stopped. */\n\n &__number-block {\n @include font('heavy');\n @include fontCurve('p1');\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: $progressbarItemSize;\n height: $progressbarItemSize;\n background-color: $colorWhite;\n border: solid 1px $baseBorderColor;\n border-radius: $progressbarItemSmallUp / 2;\n text-align: center;\n box-sizing: border-box;\n color: $colorGrey55;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n @include mq($from: small) {\n width: $progressbarItemSmallUp;\n height: $progressbarItemSmallUp;\n margin-bottom: space('large');\n }\n\n\t\t// set a line on every element, but hide it by default\n &::before {\n display: none;\n content: '';\n position: absolute;\n top: 16px;\n right: $progressbarItemSize - 1px;\n width: 100vw;\n height: 1px;\n background-color: $baseBorderColor;\n z-index: -2;\n overflow: hidden;\n\n @include mq($from: small) {\n top: 20px;\n right: $progressbarItemSmallUp - 1px;\n }\n }\n }\n\n &__number-block,\n &__dotted {\n &::after {\n content: '';\n z-index: 0;\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border-radius: $progressbarItemSmallUp / 2;\n transition: background-color $baseTransitionAnimationSpeed;\n }\n }\n\n &__label-block {\n display: block;\n font-size: 14px;\n line-height: 1.28;\n color: $colorGrey55;\n padding: space('xxsmall') space('small');\n letter-spacing: 0.01em;\n transition: color $baseTransitionAnimationSpeed;\n\n @include mq($to: small) {\n @include visuallyhidden;\n }\n }\n\n &__number,\n &__icon,\n &__user-icon,\n &__dotted-icon {\n z-index: 1;\n }\n\n &__icon,\n &__user-icon,\n &__dotted-icon {\n --size: #{iconSize('xsmall')};\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: $colorPrimary;\n\n @include highContrast() {\n color: CanvasText;\n }\n }\n\n &__user-icon {\n --size: #{iconSize('small')};\n color: currentColor;\n }\n\n &__dotted {\n z-index: 1;\n appearance: none;\n font-family: inherit;\n position: absolute;\n top: 3px;\n width: $progressbarItemDottedSize;\n height: $progressbarItemDottedSize;\n background-color: $colorWhite;\n border: solid 1px $baseBorderColor;\n border-radius: 50%;\n cursor: pointer;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n &:hover,\n &:focus {\n border-color: $colorPrimaryHover;\n\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n &:hover::after,\n &:focus::after {\n background-color: $colorPrimary8;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n\n @include mq($from: small) {\n top: 5px;\n width: $progressbarItemDottedSizeSmallUp;\n height: $progressbarItemDottedSizeSmallUp;\n }\n }\n\n &__dotted:hover &__dotted-icon,\n &__dotted:focus &__dotted-icon {\n color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* First and Last */\n\n &--first &__number-block,\n &--last &__number-block {\n &::before {\n display: block\n }\n }\n\n /* First */\n\n &--first {\n position: relative;\n }\n\n &--first &__dotted {\n left: 50%;\n transform: translateX(-50%);\n }\n\n /* Last */\n\n &--last &__dotted {\n // position the dots based on the width divided by the elements minus half of itself\n right: calc((100% / var(--steps)) - (#{$progressbarItemDottedSize / 2}));\n\n @include mq($from: small) {\n right: calc((100% / var(--steps)) - (#{$progressbarItemDottedSizeSmallUp / 2}));\n }\n }\n\n /* Passed */\n\n &--passed &__label-block {\n\t\t@include font('heavy');\n color: $colorPrimary;\n }\n\n &--passed &__number-block {\n background-color: $colorWhite;\n border: solid 1px $colorPrimary;\n\n @include highContrast() {\n background-color: Canvas;\n border-color: CanvasText;\n }\n }\n\n &--passed &__button:hover &__number-block,\n &--passed &__button:focus &__number-block {\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n &--passed &__number-block,\n &--passed &__button:hover &__number-block,\n &--passed &__button:focus &__number-block {\n color: transparent;\n\n @include highContrast() {\n color: Canvas;\n }\n }\n\n &--passed &__user-icon {\n color: $colorPrimary;\n }\n\n &--passed &__button:hover &__user-icon,\n &--passed &__button:focus &__user-icon {\n color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Current */\n\n &--current &__label-block {\n @include font('heavy');\n color: $colorPrimary;\n\n @include highContrast() {\n color: SelectedItem;\n }\n\n &:hover {\n text-decoration-line: none;\n }\n }\n\n &--current &__number-block {\n background-color: $colorPrimary;\n border: solid 1px $colorPrimary;\n color: $colorWhite;\n\n @include highContrast() {\n color: SelectedItem;\n border-color: SelectedItem;\n background-color: Canvas;\n }\n\n // make line blue (see desc)\n &::before {\n display: block;\n background-color: $colorPrimary;\n z-index: -1;\n\n @include highContrast() {\n background-color: CanvasText;\n }\n }\n }\n\n &--current &__button:hover &__number-block,\n &--current &__button:focus &__number-block {\n color: $colorWhite;\n\n @include highContrast() {\n color: Highlight;\n }\n\n &::after {\n background-color: $colorPrimaryHover;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n &--current &__user-icon {\n @include highContrast() {\n color: SelectedItem;\n }\n }\n\n &--current &__button:hover &__icon,\n &--current &__button:focus &__icon,\n &--current &__button:hover &__user-icon,\n &--current &__button:focus &__user-icon {\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Dotted */\n\n &--dotted#{&}--first &__number-block {\n margin-bottom: 0;\n\n &::after {\n display: none;\n }\n }\n\n &--dotted#{&}--first &__button {\n padding-left: 0;\n padding-right: 0;\n }\n\n // hide number block behind dotted element\n &--dotted#{&}--first &__number-block {\n position: relative;\n z-index: 0;\n top: 5px;\n width: $progressbarItemDottedSize;\n height: $progressbarItemDottedSize;\n border: none;\n background-color: transparent;\n\n // change dimensions to be still hidden\n @include mq($from: small) {\n top: 8px;\n width: $progressbarItemDottedSizeSmallUp;\n height: $progressbarItemDottedSizeSmallUp;\n }\n\n // realign white line\n &::before {\n top: 12px;\n right: 26px;\n\n @include mq($from: small) {\n top: 13px;\n right: 30px;\n }\n }\n }\n\n &--dotted#{&}--first &__label-block {\n\t\tdisplay: none;\n }\n\n // first child overwrite white line (see desc) */\n &--first &__number-block {\n &::before {\n background-color: $colorWhite;\n z-index: 1;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n /* Disabled */\n\n // &--is-disabled &__number-block {\n // background-color: $baseBorderColor;\n // }\n\n &--is-disabled &__button {\n cursor: not-allowed;\n }\n\n &--is-disabled &__button:hover &__number-block,\n &--is-disabled &__button:focus &__number-block {\n color: $colorGrey55;\n border-color: $baseBorderColor;\n\n @include highContrast() {\n color: GrayText;\n border-color: GrayText;\n }\n\n &::after {\n display: none;\n }\n }\n\n &--is-disabled &__button:hover &__label-block,\n &--is-disabled &__button:focus &__label-block {\n color: $colorGrey55;\n\n @include highContrast() {\n color: GrayText;\n }\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Fragment,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n\nimport {\n StzhProgressbarItemClickEvent,\n StzhProgressbarItemDottedClickEvent\n} from '../../index';\n\n/**\n * @slot - Slot for label (or use label prop)\n */\n@Component({\n tag: \"stzh-progressbar-item\",\n styleUrl: \"stzh-progressbar-item.scss\",\n scoped: true\n})\nexport class StzhProgressbarItem {\n @Prop({ reflect: true }) label: string;\n\n @Prop({ reflect: true }) disabled: boolean = false;\n\n @Prop({ reflect: true }) first: boolean = false;\n\n @Prop({ reflect: true }) last: boolean = false;\n\n @Prop({ reflect: true }) passed: boolean = false;\n\n @Prop({ reflect: true }) current: boolean = false;\n\n @Prop({ reflect: true }) hide: boolean = false;\n\n @Prop({ reflect: true }) dotted: boolean = false;\n\n @Prop({ reflect: true }) step: number = 1;\n\n @Prop({ reflect: true }) icon: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhProgressbarItemClickEvent>;\n\n /** Dotted click event */\n @Event() stzhDottedClick: EventEmitter<StzhProgressbarItemDottedClickEvent>;\n\n @Element() element: HTMLStzhProgressbarItemElement;\n\n private button: HTMLButtonElement;\n private text: HTMLElement;\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-progressbar-item\",\n originalEvent: event\n });\n }\n\n private onDottedClick = (event: MouseEvent) => {\n this.stzhDottedClick.emit({\n component: \"stzh-progressbar-item\",\n originalEvent: event\n });\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.button.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const classes = {\n \"stzh-progressbar-item\": true,\n \"stzh-progressbar-item--first\": this.first,\n \"stzh-progressbar-item--last\": this.last,\n \"stzh-progressbar-item--passed\": this.passed,\n \"stzh-progressbar-item--current\": this.current,\n \"stzh-progressbar-item--hide\": this.hide,\n \"stzh-progressbar-item--dotted\": this.dotted,\n \"stzh-progressbar-item--has-icon\": !!this.icon,\n \"stzh-progressbar-item--is-disabled\": this.disabled\n };\n\n const dotted = (\n <button\n class=\"stzh-progressbar-item__dotted\"\n onClick={this.onDottedClick}\n >\n <stzh-icon class=\"stzh-progressbar-item__dotted-icon\" name=\"more-horizontal\"></stzh-icon>\n </button>\n );\n\n return (\n <Host role=\"listitem\">\n <div class={classes}>\n {this.last && this.dotted && dotted}\n <button\n ref={(el) => (this.button = el as HTMLButtonElement)}\n class=\"stzh-progressbar-item__button\"\n aria-pressed={this.current ? \"true\" : \"false\"}\n disabled={(this.dotted && this.first) || this.disabled}\n onClick={this.onClick}\n >\n <span class=\"stzh-progressbar-item__number-block\">\n {this.icon\n ?\n <stzh-icon class=\"stzh-progressbar-item__user-icon\" name={this.icon}></stzh-icon>\n :\n <Fragment>\n <span class=\"stzh-progressbar-item__number\">{this.step}</span>\n {this.passed &&\n <stzh-icon class=\"stzh-progressbar-item__icon\" name=\"checkmark\"></stzh-icon>\n }\n </Fragment>\n }\n </span>\n <span\n ref={(el) => (this.text = el as HTMLElement)}\n class=\"stzh-progressbar-item__label-block\"\n >\n {this.label ? this.label : <slot></slot>}\n </span>\n </button>\n {this.first && this.dotted && dotted}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kEAAA,MAAMA,EAAyB,++qB,MCwBlBC,EAAmB,M,+GAuCtBC,KAAAC,QAAWC,IACjBF,KAAKG,UAAUC,KAAK,CAClBC,UAAW,wBACXC,cAAeJ,GACf,EAGIF,KAAAO,cAAiBL,IACvBF,KAAKQ,gBAAgBJ,KAAK,CACxBC,UAAW,wBACXC,cAAeJ,GACf,E,mCA/CyC,M,WAEH,M,UAED,M,YAEE,M,aAEC,M,UAEH,M,YAEE,M,UAEH,E,UAEA,G,2BAkCxC,kBAAAO,GACEC,uBAAsB,KACpBV,KAAKW,OAAOC,aAAa,cAAeZ,KAAKa,aAAeb,KAAKc,KAAKC,UAAU,G,CAIpF,MAAAC,GACE,MAAMC,EAAU,CACd,wBAAyB,KACzB,+BAAgCjB,KAAKkB,MACrC,8BAA+BlB,KAAKmB,KACpC,gCAAiCnB,KAAKoB,OACtC,iCAAkCpB,KAAKqB,QACvC,8BAA+BrB,KAAKsB,KACpC,gCAAiCtB,KAAKuB,OACtC,oCAAqCvB,KAAKwB,KAC1C,qCAAsCxB,KAAKyB,UAG7C,MAAMF,EACJG,EAAA,UACEC,MAAM,gCACN1B,QAASD,KAAKO,eAEdmB,EAAA,aAAWC,MAAM,qCAAqCC,KAAK,qBAI/D,OACEF,EAACG,EAAI,CAACC,KAAK,YACTJ,EAAA,OAAKC,MAAOV,GACTjB,KAAKmB,MAAQnB,KAAKuB,QAAUA,EAC7BG,EAAA,UACEK,IAAMC,GAAQhC,KAAKW,OAASqB,EAC5BL,MAAM,gCAA+B,eACvB3B,KAAKqB,QAAU,OAAS,QACtCI,SAAWzB,KAAKuB,QAAUvB,KAAKkB,OAAUlB,KAAKyB,SAC9CxB,QAASD,KAAKC,SAEdyB,EAAA,QAAMC,MAAM,uCACT3B,KAAKwB,KAEJE,EAAA,aAAWC,MAAM,mCAAmCC,KAAM5B,KAAKwB,OAE/DE,EAACO,EAAQ,KACPP,EAAA,QAAMC,MAAM,iCAAiC3B,KAAKkC,MACjDlC,KAAKoB,QACJM,EAAA,aAAWC,MAAM,8BAA8BC,KAAK,gBAK5DF,EAAA,QACEK,IAAMC,GAAQhC,KAAKc,KAAOkB,EAC1BL,MAAM,sCAEL3B,KAAKmC,MAAQnC,KAAKmC,MAAQT,EAAA,eAG9B1B,KAAKkB,OAASlB,KAAKuB,QAAUA,G"}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,a as i}from"./p-c92165bd.js";const s=".sc-stzh-text-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-text-h{display:none}.sc-stzh-text-h *.sc-stzh-text,.sc-stzh-text-h *.sc-stzh-text::before,.sc-stzh-text-h *.sc-stzh-text::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-text-h .has-focus.sc-stzh-text{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text{outline-style:none !important}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text::-moz-focus-inner{border:0 !important}.sc-stzh-text-h{width:100%;--color:var(--stzh-base-color);color:var(--color)}.sc-stzh-text-h .sc-stzh-text-s>*:first-child{margin-top:0 !important}.sc-stzh-text-h .sc-stzh-text-s>*:last-child{margin-bottom:0 !important}.sc-stzh-text-h .sc-stzh-text-s>stzh-icon,.sc-stzh-text-h .sc-stzh-text-s stzh-icon{--size:1.25em;vertical-align:text-bottom}.sc-stzh-text-h .sc-stzh-text-s>a,.sc-stzh-text-h .sc-stzh-text-s a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.sc-stzh-text-h .sc-stzh-text-s>a:hover,.sc-stzh-text-h .sc-stzh-text-s a:hover{color:var(--stzh-link-hover-color)}[lead].sc-stzh-text-h:not([lead=false]){--color:var(--stzh-base-lead-color)}.stzh-text.sc-stzh-text{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--color)}@media screen and (min-width: 1024px){.stzh-text.sc-stzh-text{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-text--is-lead.sc-stzh-text{font-family:var(--stzh-font-family-light);font-weight:var(--stzh-font-weight-light);font-style:var(--stzh-font-style-light);font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);letter-spacing:0.0625rem}@media screen and (min-width: 600px){.stzh-text--is-lead.sc-stzh-text{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--is-lead.sc-stzh-text{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}.stzh-text--font-light.sc-stzh-text{font-family:var(--stzh-font-family-light);font-weight:var(--stzh-font-weight-light);font-style:var(--stzh-font-style-light)}.stzh-text--font-regular.sc-stzh-text{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular)}.stzh-text--font-medium.sc-stzh-text{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-text--font-heavy.sc-stzh-text{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-text--font-title.sc-stzh-text{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title)}.stzh-text--curve-caption.sc-stzh-text{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-text--curve-caption.sc-stzh-text{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-text--curve-p2.sc-stzh-text{font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height))}@media screen and (min-width: 1024px){.stzh-text--curve-p2.sc-stzh-text{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.stzh-text--curve-p1.sc-stzh-text{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 1024px){.stzh-text--curve-p1.sc-stzh-text{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-text--curve-h4.sc-stzh-text{font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing)}@media screen and (min-width: 1024px){.stzh-text--curve-h4.sc-stzh-text{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-text--curve-h3.sc-stzh-text{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing)}@media screen and (min-width: 600px){.stzh-text--curve-h3.sc-stzh-text{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--curve-h3.sc-stzh-text{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}.stzh-text--curve-h2.sc-stzh-text{font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h2-default-text-letter-spacing)}@media screen and (min-width: 600px){.stzh-text--curve-h2.sc-stzh-text{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-text-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-text-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-text--curve-h2.sc-stzh-text{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-text-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-text-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-text--curve-h2.sc-stzh-text{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-text-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-text-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-text--curve-h1.sc-stzh-text{font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-text-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-text-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}@media screen and (min-width: 600px){.stzh-text--curve-h1.sc-stzh-text{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-text-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-text-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-text--curve-h1.sc-stzh-text{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-text-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-text-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-text--curve-h1.sc-stzh-text{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-text-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-text-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-text--curve-hero.sc-stzh-text{font-size:var(--stzh-font-curve-hero-default-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-hero-default-text-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-hero-default-text-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}@media screen and (min-width: 600px){.stzh-text--curve-hero.sc-stzh-text{font-size:var(--stzh-font-curve-hero-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-hero-small-text-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-hero-small-text-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-text--curve-hero.sc-stzh-text{font-size:var(--stzh-font-curve-hero-medium-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-hero-medium-text-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-hero-medium-text-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}@media screen and (min-width: 1260px){.stzh-text--curve-hero.sc-stzh-text{font-size:var(--stzh-font-curve-hero-large-font-size, var(--stzh-font-hero-font-size));line-height:var(--stzh-font-curve-hero-large-text-line-height, var(--stzh-font-hero-text-line-height));letter-spacing:var(--stzh-font-curve-hero-large-text-letter-spacing, var(--stzh-font-hero-text-letter-spacing))}}.stzh-text--size-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-text--size-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}.stzh-text--size-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-text--size-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-text--size-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-text--size-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-text--size-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-text--size-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-text--size-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}.stzh-text--size-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}.stzh-text--size-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}.stzh-text--size-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}.stzh-text--size-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}.stzh-text--size-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}@media screen and (min-width: 600px){.stzh-text--size-small-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}}@media screen and (min-width: 600px){.stzh-text--size-small-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}}@media screen and (min-width: 600px){.stzh-text--size-small-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 600px){.stzh-text--size-small-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-text--size-small-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}}@media screen and (min-width: 800px){.stzh-text--size-smallheader-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-text--size-medium-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}}@media screen and (min-width: 1260px){.stzh-text--size-large-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}}@media screen and (min-width: 1260px){.stzh-text--size-large-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 1260px){.stzh-text--size-large-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-text--size-large-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-femto.sc-stzh-text{font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-pico.sc-stzh-text{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-nano.sc-stzh-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-micro.sc-stzh-text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-milli.sc-stzh-text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-centi.sc-stzh-text{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-deci.sc-stzh-text{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-regular.sc-stzh-text{font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-deca.sc-stzh-text{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-hecto.sc-stzh-text{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-kilo.sc-stzh-text{font-size:var(--stzh-font-kilo-font-size);line-height:var(--stzh-font-kilo-text-line-height);letter-spacing:var(--stzh-font-kilo-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-mega.sc-stzh-text{font-size:var(--stzh-font-mega-font-size);line-height:var(--stzh-font-mega-text-line-height);letter-spacing:var(--stzh-font-mega-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-giga.sc-stzh-text{font-size:var(--stzh-font-giga-font-size);line-height:var(--stzh-font-giga-text-line-height);letter-spacing:var(--stzh-font-giga-text-letter-spacing)}}@media screen and (min-width: 1440px){.stzh-text--size-ultra-hero.sc-stzh-text{font-size:var(--stzh-font-hero-font-size);line-height:var(--stzh-font-hero-text-line-height);letter-spacing:var(--stzh-font-hero-text-letter-spacing)}}";const n=class{constructor(e){t(this,e);this.font="default";this.curve="default";this.lead=false;this.size="inherit";this.sizeSmall="inherit";this.sizeMedium="inherit";this.sizeLarge="inherit";this.sizeUltra="inherit"}render(){return e(i,null,e("div",{class:{"stzh-text":true,"stzh-text--is-lead":this.lead,[`stzh-text--font-${this.font}`]:!!this.font,[`stzh-text--curve-${this.curve}`]:!!this.curve,[`stzh-text--size-${this.size}`]:!!this.size,[`stzh-text--size-small-${this.sizeSmall}`]:!!this.sizeSmall,[`stzh-text--size-medium-${this.sizeMedium}`]:!!this.sizeMedium,[`stzh-text--size-large-${this.sizeLarge}`]:!!this.sizeLarge,[`stzh-text--size-ultra-${this.sizeUltra}`]:!!this.sizeUltra}},e("slot",null)))}};n.style=s;export{n as stzh_text};
2
- //# sourceMappingURL=p-74e07267.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhTextCss","StzhText","render","h","Host","class","this","lead","font","curve","size","sizeSmall","sizeMedium","sizeLarge","sizeUltra"],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n width: 100%;\n\n --color: #{$baseColor};\n color: var(--color);\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(stzh-icon),\n ::slotted(* stzh-icon) {\n --size: 1.25em;\n vertical-align: text-bottom;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n\n &:hover {\n color: $linkHoverColor;\n }\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n}\n\n.stzh-text {\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n color: var(--color);\n\n /* Lead variant */\n &--is-lead {\n @include font('light');\n @include fontCurve('h3');\n letter-spacing: 1px;\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAc,um6B,MCiBPC,EAAQ,M,mCAEQ,U,WAGmB,U,UAGL,M,UAGd,U,eAEK,U,gBAEC,U,eAED,U,eAEA,S,CAEhC,MAAAC,GACE,OACEC,EAACC,EAAI,KACHD,EAAA,OACEE,MAAO,CACL,YAAa,KACb,qBAAsBC,KAAKC,KAC3B,CAAC,mBAAmBD,KAAKE,UAAWF,KAAKE,KACzC,CAAC,oBAAoBF,KAAKG,WAAYH,KAAKG,MAC3C,CAAC,mBAAmBH,KAAKI,UAAWJ,KAAKI,KACzC,CAAC,yBAAyBJ,KAAKK,eAAgBL,KAAKK,UACpD,CAAC,0BAA0BL,KAAKM,gBAAiBN,KAAKM,WACtD,CAAC,yBAAyBN,KAAKO,eAAgBP,KAAKO,UACpD,CAAC,yBAAyBP,KAAKQ,eAAgBR,KAAKQ,YAGpDX,EAAA,c"}
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,a as e,g as i}from"./p-c92165bd.js";import{h as r}from"./p-ba8c574b.js";import"./p-9b063923.js";const h=".sc-stzh-figure-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-figure-h .has-focus.sc-stzh-figure{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure{outline-style:none !important}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure::-moz-focus-inner{border:0 !important}.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>*{width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}@media print{.stzh-figure__element.sc-stzh-figure{page-break-inside:avoid;-moz-column-break-inside:avoid;-webkit-column-break-inside:avoid;break-inside:avoid}}.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));display:-ms-flexbox;display:flex}@media screen and (min-width: 1024px){.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__counter.sc-stzh-figure:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-figure__counter.sc-stzh-figure,.stzh-figure__heading.sc-stzh-figure{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-figure__caption-text.sc-stzh-figure:not(:empty)+.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure--has-caption.sc-stzh-figure .stzh-figure__caption-wrapper.sc-stzh-figure{margin-top:var(--stzh-space-small)}";const o=class{constructor(s){t(this,s);this.caption="";this.copyright="";this.counter="";this.heading="";this.fullwidth=true}render(){const t=r(this.element,"caption");const i=r(this.element,"copyright");const h=r(this.element,"counter");const o=r(this.element,"heading");const n={"stzh-figure":true,"stzh-figure--has-caption":!!this.caption||t||!!this.copyright||i||!!this.counter||h||!!this.heading||o};return s(e,null,s("figure",{class:n},s("div",{class:"stzh-figure__element"},s("slot",null)),s("figcaption",{class:"stzh-figure__caption-wrapper"},s("div",{class:"stzh-figure__counter"},this.counter?this.counter:s("slot",{name:"counter"})),s("div",{class:"stzh-figure__text"},s("div",{class:"stzh-figure__heading"},this.heading?this.heading:s("slot",{name:"heading"})),s("div",{class:"stzh-figure__caption"},s("span",{class:"stzh-figure__caption-text"},this.caption?this.caption:s("slot",{name:"caption"})),s("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:s("slot",{name:"copyright"})))))))}get element(){return i(this)}};o.style=h;export{o as stzh_figure};
2
- //# sourceMappingURL=p-7b044a55.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhFigureCss","StzhFigure","render","captionSlotUsed","hasSlot","this","element","copyrightSlotUsed","counterSlotUsed","headingSlotUsed","classes","caption","copyright","counter","heading","h","Host","class","name"],"sources":["src/components/stzh-figure/stzh-figure.scss?tag=stzh-figure&encapsulation=scoped","src/components/stzh-figure/stzh-figure.tsx"],"sourcesContent":[":host {\n ::slotted(*) {\n max-width: 100%;\n }\n}\n\n:host([fullwidth]:not([fullwidth=\"false\"])) ::slotted(*) {\n width: 100%;\n}\n\n.stzh-figure {\n display: flex;\n flex-direction: column;\n margin: 0;\n\n &__element {\n display: flex;\n\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n }\n\n &__caption-wrapper {\n @include fontCurve('caption');\n display: flex;\n }\n\n &__counter {\n &:not(:empty) {\n margin-right: space('xsmall');\n }\n }\n\n &__counter,\n &__heading {\n @include font('heavy');\n }\n\n &__caption-text:not(:empty) + &__copyright:not(:empty) {\n margin-left: space('xxsmall');\n }\n\n &__copyright {\n @include font('medium');\n @include fontSize('femto');\n }\n\n /* Has caption content */\n\n &--has-caption &__caption-wrapper {\n margin-top: space('small');\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n} from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for e.g. image or video\n * @slot caption - Slot for a caption as alternative for attribute\n * @slot copyright - Slot for a copyright as alternative for attribute\n * @slot counter - Slot for a counter as alternative for attribute\n * @slot heading - Slot for a heading as alternative for attribute\n */\n@Component({\n tag: \"stzh-figure\",\n styleUrl: \"stzh-figure.scss\",\n scoped: true\n})\nexport class StzhFigure {\n /** Caption */\n @Prop() caption: string = \"\";\n\n /** Copyright */\n @Prop() copyright: string = \"\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Whether to stretch slotted content to fullwidth */\n @Prop({ reflect: true }) fullwidth: boolean = true;\n\n @Element() element: HTMLStzhFigureElement;\n\n render() {\n const captionSlotUsed = hasSlot(this.element, 'caption');\n const copyrightSlotUsed = hasSlot(this.element, 'copyright');\n const counterSlotUsed = hasSlot(this.element, 'counter');\n const headingSlotUsed = hasSlot(this.element, 'heading');\n\n const classes = {\n \"stzh-figure\": true,\n \"stzh-figure--has-caption\":\n !!this.caption || captionSlotUsed\n || !!this.copyright || copyrightSlotUsed\n || !!this.counter || counterSlotUsed\n || !!this.heading || headingSlotUsed\n };\n\n return (\n <Host>\n <figure class={classes}>\n <div class=\"stzh-figure__element\">\n <slot></slot>\n </div>\n <figcaption class=\"stzh-figure__caption-wrapper\">\n <div class=\"stzh-figure__counter\">\n {this.counter ? this.counter : <slot name=\"counter\"></slot>}\n </div>\n <div class=\"stzh-figure__text\">\n <div class=\"stzh-figure__heading\">\n {this.heading ? this.heading : <slot name=\"heading\"></slot>}\n </div>\n <div class=\"stzh-figure__caption\">\n <span class=\"stzh-figure__caption-text\">\n {this.caption ? this.caption : <slot name=\"caption\"></slot>}\n </span>\n <span class=\"stzh-figure__copyright\">\n {this.copyright ? this.copyright : <slot name=\"copyright\"></slot>}\n </span>\n </div>\n </div>\n </figcaption>\n </figure>\n </Host>\n );\n }\n}\n"],"mappings":"qHAAA,MAAMA,EAAgB,0vF,MCsBTC,EAAU,M,sCAEK,G,eAGE,G,aAGF,G,aAGA,G,eAGoB,I,CAI9C,MAAAC,GACE,MAAMC,EAAkBC,EAAQC,KAAKC,QAAS,WAC9C,MAAMC,EAAoBH,EAAQC,KAAKC,QAAS,aAChD,MAAME,EAAkBJ,EAAQC,KAAKC,QAAS,WAC9C,MAAMG,EAAkBL,EAAQC,KAAKC,QAAS,WAE9C,MAAMI,EAAU,CACd,cAAe,KACf,6BACIL,KAAKM,SAAWR,KACbE,KAAKO,WAAaL,KAClBF,KAAKQ,SAAWL,KAChBH,KAAKS,SAAWL,GAGzB,OACEM,EAACC,EAAI,KACHD,EAAA,UAAQE,MAAOP,GACbK,EAAA,OAAKE,MAAM,wBACTF,EAAA,cAEFA,EAAA,cAAYE,MAAM,gCAChBF,EAAA,OAAKE,MAAM,wBACRZ,KAAKQ,QAAUR,KAAKQ,QAAUE,EAAA,QAAMG,KAAK,aAE5CH,EAAA,OAAKE,MAAM,qBACTF,EAAA,OAAKE,MAAM,wBACRZ,KAAKS,QAAUT,KAAKS,QAAUC,EAAA,QAAMG,KAAK,aAE5CH,EAAA,OAAKE,MAAM,wBACTF,EAAA,QAAME,MAAM,6BACTZ,KAAKM,QAAUN,KAAKM,QAAUI,EAAA,QAAMG,KAAK,aAE5CH,EAAA,QAAME,MAAM,0BACTZ,KAAKO,UAAYP,KAAKO,UAAYG,EAAA,QAAMG,KAAK,mB"}
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,s,i){function r(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function l(e){try{n(i.next(e))}catch(e){o(e)}}function a(e){try{n(i["throw"](e))}catch(e){o(e)}}function n(e){e.done?s(e.value):r(e.value).then(l,a)}n((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return n([e,t])}}function n(a){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(s=0)),s)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:s.label++;return{value:a[1],done:false};case 5:s.label++;r=a[1];a=[0];continue;case 7:a=s.ops.pop();s.trys.pop();continue;default:if(!(o=s.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){s=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(a[0]===6&&s.label<o[1]){s.label=o[1];o=a;break}if(o&&s.label<o[2]){s.label=o[2];s.ops.push(a);break}if(o[2])s.ops.pop();s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-290fcb28.system.js","./p-53e44e89.system.js","./p-bd1030c9.system.js","./p-774595ba.system.js"],(function(e){"use strict";var t,s,i,r,o,l,a,n,c;return{setters:[function(e){t=e.r;s=e.c;i=e.h;r=e.a;o=e.g},function(e){l=e.i},function(e){a=e.a;n=e.r;c=e.m},function(){}],execute:function(){var u=".sc-stzh-carousel-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-carousel-h{display:none}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-carousel-h .has-focus.sc-stzh-carousel{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel{outline-style:none !important}.sc-stzh-carousel-h .stzh-fylingfocus-focused.sc-stzh-carousel::-moz-focus-inner{border:0 !important}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-out:1.25rem;--padding-top:0px;--padding-bottom:0px;--gutter:var(--stzh-space-xxxsmall);--snap-stop:always;--slides:1;--slide-size:calc((100% - (var(--slides) - 1) * var(--gutter)) / var(--slides))}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-out:2rem}}@media screen and (min-width: 1024px){.sc-stzh-carousel-h{--peek-out:0px}}.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:100%;-ms-flex-negative:0;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop)}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem;--gutter:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem;--gutter:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:5.5rem;--gutter:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:relative;-ms-flex-order:1;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}[no-peek].sc-stzh-carousel-h:not([no-peek=false]){--peek-out:0px;--peek-in:0px}.stzh-carousel.sc-stzh-carousel{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;-moz-column-gap:var(--gutter);-webkit-column-gap:var(--gutter);column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grab;cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grabbing;cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}.stzh-carousel--is-non-interactive.sc-stzh-carousel{pointer-events:none;-ms-touch-action:none;touch-action:none}";var h=window.matchMedia("(prefers-reduced-motion: reduce)");var d=0;var p=e("stzh_carousel",function(){function e(e){var i=this;t(this,e);this.stzhSlideStart=s(this,"stzhSlideStart",7);this.stzhSlidePassed=s(this,"stzhSlidePassed",7);this.stzhSlideEnd=s(this,"stzhSlideEnd",7);this.slideScrollLeft=0;this.scrolledByAutoplay=false;this.scrollTimeoutId=null;this.lastX=null;this.startX=null;this.startScrollLeft=null;this.disableTimeoutId=null;this.stoppedDragging=false;this.onReducedMotionMediaChange=function(){i.autoplayDisabledByMotionMedia=h.matches};this.onMouseenter=function(){if(!i.preventAutoplayPause){i.autoplayDisabledByMouse=true}};this.onMouseleave=function(){i.autoplayDisabledByMouse=false};this.onFocusin=function(){if(!i.preventAutoplayPause){i.autoplayDisabledByFocus=true}};this.onFocusout=function(){i.autoplayDisabledByFocus=false};this.onPreviousClick=function(){i.scrollToPreviousSnapPoint()};this.onNextClick=function(){i.scrollToNextSnapPoint()};this.onSlideResize=function(){if(i.scrollElement){i.itemSize=i.sizingMethod()}};this.onMutation=function(){if(!i.scrollElement){return}i.slideElements=Array.from(i.scrollElement.children);i.slideElements.forEach((function(e,t){e.setAttribute("role","group");e.setAttribute("aria-roledescription","slide");e.setAttribute("aria-label",i.localization.slideLabel.replace(/\{current\}/gi,(t+1).toString()).replace(/\{total\}/gi,i.slideElements.length.toString()))}));i.previousElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-previous]"));i.nextElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-next]"));i.navigationTextElements=Array.from(i.element.querySelectorAll("[data-stzh-carousel-navigation-text]"))};this.onScroll=function(){if(i.scrollTimeoutId===null){var e=i.scrollElement.scrollLeft>i.slideScrollLeft?1:-1;i.scrolling=true;if(!i.scrolledByAutoplay){if(i.preventAutoplayStop){i.autoplayDisabledByScroll=true}else{i.autoplay=false}}i.stzhSlideStart.emit({component:"stzh-carousel",index:i.slide+e})}if(i.slide!==i.calculateSlide()){i.update();i.stzhSlidePassed.emit({component:"stzh-carousel",index:i.slide})}i.scrollTimeoutId&&window.clearTimeout(i.scrollTimeoutId);i.scrollTimeoutId=window.setTimeout(i.onScrollEnd,i.scrollTimeout)};this.onScrollEnd=function(){i.scrollTimeoutId=null;i.update();i.scrolling=false;i.scrolledByAutoplay=false;i.autoplayDisabledByScroll=false;if(i.stoppedDragging){i.stoppedDragging=false;i.scrollElement.style.removeProperty("scroll-behavior");i.scrollElement.style.removeProperty("scroll-snap-type")}if(i.tabThrough||i.variant==="cards"){i.ariaLive=""}else{i.ariaLive=(i.currentSlides>1?i.localization.slidesLabel:i.localization.slideLabel).replace(/\{(current|from)\}/gi,(i.slide+1).toString()).replace(/\{to\}/gi,(i.slide+i.currentSlides).toString()).replace(/\{total\}/gi,i.slideElements.length.toString())}i.stzhSlideEnd.emit({component:"stzh-carousel",index:i.slide})};this.onMediaChange=function(){var e=c("ultra").matches;var t=c("large").matches;var s=c("medium").matches;var r=c("small").matches;if(e&&i.slidesUltra!==0){i.currentSlides=i.slidesUltra}else if(t&&i.slidesLarge!==0){i.currentSlides=i.slidesLarge}else if(s&&i.slidesMedium!==0){i.currentSlides=i.slidesMedium}else if(r&&i.slidesSmall!==0){i.currentSlides=i.slidesSmall}else{i.currentSlides=i.slides}i.currentSwipeSlides=i.currentSlides};this.mouseMove=function(e){var t=i.lastX-e.clientX;i.lastX=e.clientX;i.scrollElement.scrollLeft+=t};this.startDragging=function(e){e.preventDefault();i.disableTimeoutId&&window.clearTimeout(i.disableTimeoutId);i.disableTimeoutId=null;i.startX=i.lastX=e.clientX;i.startScrollLeft=i.scrollElement.scrollLeft;i.scrollElement.style.setProperty("scroll-behavior","auto");i.scrollElement.style.setProperty("scroll-snap-type","unset");i.dragging=true;if(i.preventAutoplayStop){i.autoplayDisabledByDrag=true}else{i.autoplay=false}window.addEventListener("mousemove",i.mouseMove);window.addEventListener("mouseup",i.stopDragging,{capture:true});window.addEventListener("click",i.checkClick,{capture:true})};this.stopDragging=function(e){e.preventDefault();var t=Math.abs(i.startX-i.lastX);var s=t>i.distanceQuickSwipe;var r=i.lastX>i.startX?1:-1;i.dragging=false;i.autoplayDisabledByDrag=false;var o=i.scrollElement.scrollLeft;i.scrollElement.style.removeProperty("scroll-snap-type");var l=i.scrollElement.scrollLeft;i.scrollElement.style.setProperty("scroll-snap-type","unset");i.scrollElement.scrollTo({left:o,behavior:"auto"});if(l!==i.startScrollLeft||!s){i.scrollElement.scrollTo({left:l,behavior:h.matches?"auto":"smooth"})}else if(r===1){i.slideToPrevious()}else{i.slideToNext()}window.removeEventListener("mousemove",i.mouseMove);window.removeEventListener("mouseup",i.stopDragging,{capture:true});i.stoppedDragging=true};this.checkClick=function(e){var t=Math.abs(i.startX-i.lastX);var s=t>i.distancePreventClick;if(s){e.preventDefault()}i.lastX=null;window.removeEventListener("click",i.checkClick,{capture:true})};this.autoplayInterval=function(){i.scrolledByAutoplay=true;if(i.hasReachedLastSlide()){i.slideTo(0)}else{i.slideToNext()}};this.localization=undefined;this.variant="default";this.disabled=false;this.noPeek=false;this.slides=1;this.slidesSmall=0;this.slidesMedium=0;this.slidesLarge=0;this.slidesUltra=0;this.slide=0;this.autoplay=false;this.autoplayTimeout=3e3;this.nonInteractive=false;this.preventMouseDrag=false;this.preventAutoplayPause=false;this.preventAutoplayStop=false;this.tabThrough=false;this.scrollTimeout=100;this.distanceQuickSwipe=40;this.distancePreventClick=6;this.autoplayRunning=false;this.autoplayDisabledByMotionMedia=false;this.autoplayDisabledByMouse=false;this.autoplayDisabledByFocus=false;this.autoplayDisabledByScroll=false;this.autoplayDisabledByDrag=false;this.dragging=false;this.scrolling=false;this.ariaLive="";this.currentSlides=1;this.currentSwipeSlides=1;this.slideElements=[];this.previousElements=[];this.nextElements=[];this.navigationTextElements=[]}e.prototype.slideTo=function(e,t){if(t===void 0){t="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(s){this.scrollToSlide(e,t);return[2]}))}))};e.prototype.slideToPrevious=function(e){if(e===void 0){e="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.scrollToPreviousSnapPoint(e);return[2]}))}))};e.prototype.slideToNext=function(e){if(e===void 0){e="smooth"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.scrollToNextSnapPoint(e);return[2]}))}))};e.prototype.disabledWatcher=function(){if(this.disabled){this.scrollElement&&this.scrollElement.removeEventListener("scroll",this.onScroll);this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.element.removeEventListener("mouseenter",this.onMouseenter);this.element.removeEventListener("mouseleave",this.onMouseleave);this.element.removeEventListener("focusin",this.onFocusin);this.element.removeEventListener("focusout",this.onFocusout);this.onReducedMotionMediaChange();h&&h.removeEventListener("change",this.onReducedMotionMediaChange)}else{this.scrollElement&&this.scrollElement.addEventListener("scroll",this.onScroll,{passive:true});this.element.addEventListener("mouseenter",this.onMouseenter);this.element.addEventListener("mouseleave",this.onMouseleave);this.element.addEventListener("focusin",this.onFocusin);this.element.addEventListener("focusout",this.onFocusout);h&&h.addEventListener("change",this.onReducedMotionMediaChange)}};e.prototype.preventMouseDragWatcher=function(){if(this.preventMouseDrag||this.disabled){this.disableTimeoutId&&window.clearTimeout(this.disableTimeoutId);this.disableTimeoutId=null;this.scrollElement&&this.scrollElement.removeEventListener("mousedown",this.startDragging);this.lastX=null}else{this.scrollElement&&this.scrollElement.addEventListener("mousedown",this.startDragging)}};e.prototype.autoplayRunningWatcher=function(){if(!this.autoplay||this.disabled||this.autoplayDisabledByMotionMedia||this.autoplayDisabledByMouse||this.autoplayDisabledByFocus||this.autoplayDisabledByScroll||this.autoplayDisabledByDrag){this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=null;this.autoplayRunning=false}else{this.autoplayIntervalId&&window.clearInterval(this.autoplayIntervalId);this.autoplayIntervalId=window.setInterval(this.autoplayInterval,this.autoplayTimeout);this.autoplayRunning=true}};e.prototype.snapAlignWatcher=function(){var e=this;this.slideElements.forEach((function(t,s){var i=(s-e.currentSwipeSlides)%e.currentSwipeSlides===0;if(i){t.style.removeProperty("scroll-snap-align")}else{t.style.setProperty("scroll-snap-align","none")}}))};e.prototype.inertWatcher=function(){var e=this;this.slideElements.forEach((function(t,s){var i=e.tabThrough||e.variant==="cards"||s>=e.slide&&s<e.slide+e.currentSlides;t.inert=!i;if(i){t.removeAttribute("aria-hidden")}else{t.setAttribute("aria-hidden",i?"false":"true")}}))};e.prototype.prevNextNavigationWatcher=function(){var e=this.tabThrough||this.variant==="cards";var t=function(t){var s=l(t);if(e){t.setAttribute("aria-hidden","true");t.setAttribute(s?"a11y-tabindex":"tabindex","-1")}else{t.removeAttribute("aria-hidden");t.removeAttribute(s?"a11y-tabindex":"tabindex")}};this.nextElements.forEach(t);this.previousElements.forEach(t)};e.prototype.prevNextHiddenWatcher=function(){var e=this.slideElements.length<=this.currentSlides;var t=function(t){if(e){t.setAttribute("hidden","")}else{t.removeAttribute("hidden")}};this.navigationTextElements.forEach(t);this.nextElements.forEach(t);this.previousElements.forEach(t)};e.prototype.nextPrevDisabledWatcher=function(){if(!this.scrollElement){return}var e=this.slide===0;var t=this.hasReachedLastSlide();this.nextElements.forEach((function(e){var s=l(e);e.setAttribute(s?"a11y-disabled":"aria-disabled",t?"true":"false")}));this.previousElements.forEach((function(t){var s=l(t);t.setAttribute(s?"a11y-disabled":"aria-disabled",e?"true":"false")}))};e.prototype.nextElementsWatcher=function(){var e=this;this.nextElements.forEach((function(t){var s=l(t);t.addEventListener("click",e.onNextClick);t.setAttribute(s?"a11y-controls":"aria-controls","".concat(e.carouselId,"-scroll"))}))};e.prototype.previousElementsWatcher=function(){var e=this;this.previousElements.forEach((function(t){var s=l(t);t.addEventListener("click",e.onPreviousClick);t.setAttribute(s?"a11y-controls":"aria-controls","".concat(e.carouselId,"-scroll"))}))};e.prototype.scrollToSlide=function(e,t){if(t===void 0){t="smooth"}if(this.disabled){return}this.scrollElement.scrollTo({left:e*this.itemSize,behavior:h.matches?"auto":t})};e.prototype.sizingMethod=function(){var e=window.getComputedStyle(this.scrollElement);return(this.scrollElement.firstElementChild||this.scrollElement).offsetWidth+parseInt(e.getPropertyValue("column-gap"),10)};e.prototype.calculateSlide=function(){return Math.floor(this.scrollElement.scrollLeft/this.itemSize)};e.prototype.scrollToPreviousSnapPoint=function(e){if(e===void 0){e="smooth"}if(this.disabled){return}var t=this.slide;var s=false;while(!s&&t>0){t=t-1;s=(t-this.currentSwipeSlides)%this.currentSwipeSlides===0}this.slideTo(t,e)};e.prototype.scrollToNextSnapPoint=function(e){if(e===void 0){e="smooth"}if(this.disabled){return}this.slideTo(this.slide+this.currentSwipeSlides,e)};e.prototype.update=function(){this.slide=this.calculateSlide();this.slideScrollLeft=this.slide*this.itemSize;this.onMutation()};e.prototype.hasReachedLastSlide=function(){var e=this.scrollElement,t=e.scrollLeft,s=e.offsetWidth,i=e.scrollWidth;return Math.ceil(t+s)>=i};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.carouselId="stzh-carousel-".concat(d++);this.onMediaChange();if(!!this.localization)return[3,2];e=this;return[4,window.stzhComponents.utils.fetchTranslations(this.element,"carousel")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentDidLoad=function(){this.itemSize=this.sizingMethod();this.update();this.disabledWatcher();this.preventMouseDragWatcher();this.autoplayRunningWatcher()};e.prototype.connectedCallback=function(){a(this.onMediaChange);this.resizeObserver=new ResizeObserver(this.onSlideResize);this.resizeObserver.observe(this.element);this.mutationObserver=new MutationObserver(this.onMutation);this.mutationObserver.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.scrollTimeoutId&&window.clearTimeout(this.scrollTimeoutId);this.scrollTimeoutId=null;this.disabled=true;n(this.onMediaChange);if(this.resizeObserver){this.resizeObserver.disconnect()}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.render=function(){var e=this;var t={"stzh-carousel":true,"stzh-carousel--is-disabled":this.disabled,"stzh-carousel--is-draggable":!this.preventMouseDrag,"stzh-carousel--is-non-interactive":this.nonInteractive,"stzh-carousel--is-dragging":this.dragging,"stzh-carousel--is-scrolling":this.scrolling,"stzh-carousel--has-autoplay":this.autoplay,"stzh-carousel--is-autoplay-running":this.autoplayRunning};return i(r,{"aria-roledescription":"carousel",style:{"--slides":this.currentSlides.toString()}},i("div",{class:t},i("slot",{name:"actions"}),i("div",{class:"stzh-carousel__vhidden","aria-live":this.autoplayDisabledByFocus||this.autoplayDisabledByMouse?"polite":"off"},this.ariaLive),i("div",{ref:function(t){return e.scrollElement=t},id:"".concat(this.carouselId,"-scroll"),class:"stzh-carousel__scroll"},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher","preventMouseDragWatcher","autoplayRunningWatcher"],preventMouseDrag:["preventMouseDragWatcher"],autoplay:["autoplayRunningWatcher"],autoplayDisabledByMotionMedia:["autoplayRunningWatcher"],autoplayDisabledByMouse:["autoplayRunningWatcher"],autoplayDisabledByFocus:["autoplayRunningWatcher"],autoplayDisabledByScroll:["autoplayRunningWatcher"],autoplayDisabledByDrag:["autoplayRunningWatcher"],autoplayTimeout:["autoplayRunningWatcher"],slideElements:["snapAlignWatcher","inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],currentSwipeSlides:["snapAlignWatcher"],slide:["inertWatcher","nextPrevDisabledWatcher"],variant:["inertWatcher","prevNextNavigationWatcher"],currentSlides:["inertWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher"],tabThrough:["inertWatcher","prevNextNavigationWatcher"],nextElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","nextElementsWatcher"],previousElements:["prevNextNavigationWatcher","prevNextHiddenWatcher","nextPrevDisabledWatcher","previousElementsWatcher"],navigationTextElements:["prevNextHiddenWatcher"]}},enumerable:false,configurable:true});return e}());p.style=u}}}));
2
- //# sourceMappingURL=p-7eaed674.system.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhCarouselCss","reducedMotionMedia","window","matchMedia","carouselCounter","StzhCarousel","exports","this","slideScrollLeft","scrolledByAutoplay","scrollTimeoutId","lastX","startX","startScrollLeft","disableTimeoutId","stoppedDragging","onReducedMotionMediaChange","_this","autoplayDisabledByMotionMedia","matches","onMouseenter","preventAutoplayPause","autoplayDisabledByMouse","onMouseleave","onFocusin","autoplayDisabledByFocus","onFocusout","onPreviousClick","scrollToPreviousSnapPoint","onNextClick","scrollToNextSnapPoint","onSlideResize","scrollElement","itemSize","sizingMethod","onMutation","slideElements","Array","from","children","forEach","slide","index","setAttribute","localization","slideLabel","replace","toString","length","previousElements","element","querySelectorAll","nextElements","navigationTextElements","onScroll","direction","scrollLeft","scrolling","preventAutoplayStop","autoplayDisabledByScroll","autoplay","stzhSlideStart","emit","component","calculateSlide","update","stzhSlidePassed","clearTimeout","setTimeout","onScrollEnd","scrollTimeout","style","removeProperty","tabThrough","variant","ariaLive","currentSlides","slidesLabel","stzhSlideEnd","onMediaChange","ultra","media","large","medium","small","slidesUltra","slidesLarge","slidesMedium","slidesSmall","slides","currentSwipeSlides","mouseMove","event","distance","clientX","startDragging","preventDefault","setProperty","dragging","autoplayDisabledByDrag","addEventListener","stopDragging","capture","checkClick","Math","abs","minimumReached","distanceQuickSwipe","endDraddingLeft","finalLeft","scrollTo","left","behavior","slideToPrevious","slideToNext","removeEventListener","distancePreventClick","autoplayInterval","hasReachedLastSlide","slideTo","class_1","prototype","behaviour","scrollToSlide","disabledWatcher","disabled","passive","preventMouseDragWatcher","preventMouseDrag","autoplayRunningWatcher","autoplayIntervalId","clearInterval","autoplayRunning","setInterval","autoplayTimeout","snapAlignWatcher","shouldSnap","inertWatcher","isActive","inert","removeAttribute","prevNextNavigationWatcher","setAriaAttributes","isStzh","isStzhElement","prevNextHiddenWatcher","hideElements","setHiddenAttribute","nextPrevDisabledWatcher","reachedFirstSlide","reachedLastSlide","nextElementsWatcher","nextElement","concat","carouselId","previousElementsWatcher","previousElement","css","getComputedStyle","firstElementChild","offsetWidth","parseInt","getPropertyValue","floor","previousIndex","canSnap","_a","scrollWidth","ceil","componentWillLoad","stzhComponents","utils","fetchTranslations","_b","sent","componentDidLoad","connectedCallback","addMediaChangeListener","resizeObserver","ResizeObserver","observe","mutationObserver","MutationObserver","childList","subtree","disconnectedCallback","removeMediaChangeListener","disconnect","render","classes","nonInteractive","h","Host","class","name","ref","el","id"],"sources":["src/components/stzh-carousel/stzh-carousel.scss?tag=stzh-carousel&encapsulation=scoped","src/components/stzh-carousel/stzh-carousel.tsx"],"sourcesContent":["/**\n * @prop --padding-top: Padding Top of scroll container\n * @prop --padding-bottom: Padding Bottom of scroll container\n * @prop --peek-in: Peek size (inside container) showing the next/previous slides\n * @prop --peek-out: Negative peek size (breakout of container) showing the next/previous slides\n * @prop --gutter: Space between the slides\n * @prop --snap-stop: Snap stop of scroll container\n */\n\n:host {\n --peek: calc(var(--peek-in, 0px) + var(--peek-out, 0px));\n --peek-out: #{$containerMargin};\n --padding-top: 0px;\n --padding-bottom: 0px;\n --gutter: #{space('xxxsmall')};\n --snap-stop: always;\n --slides: 1;\n --slide-size: calc((100% - (var(--slides) - 1) * var(--gutter)) / var(--slides));\n\n @include mq($from: small) {\n --peek-out: #{$containerMarginSmall};\n }\n\n @include mq($from: medium) {\n --peek-out: 0px;\n }\n\n ::slotted(*) {\n width: 100%;\n height: 100%;\n flex-shrink: 0;\n scroll-snap-align: start;\n scroll-snap-stop: var(--snap-stop);\n\n img {\n -webkit-user-drag: none;\n user-drag: none;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n }\n }\n\n ::slotted([slot=\"actions\"]) {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n pointer-events: none;\n padding: 0 var(--peek);\n\n stzh-text {\n width: auto;\n }\n\n stzh-button {\n pointer-events: all;\n }\n }\n\n ::slotted(stzh-ratio[slot=\"actions\"]) {\n stzh-space,\n stzh-hspace,\n stzh-vspace {\n padding: space('xsmall');\n }\n }\n\n ::slotted(stzh-ratio[slot=\"actions\"]) {\n --background-color: transparent;\n }\n\n /* Card */\n\n &[variant=\"cards\"] {\n --padding-top: 4px;\n --padding-bottom: 4px;\n\n --gutter: #{spaceCurveValue('tiny')};\n\n @include mq($from: medium) {\n --peek-out: #{$containerMarginMedium};\n --gutter: #{spaceCurveValue('tiny', 'medium')};\n }\n\n @include mq($from: large) {\n --peek-out: #{$containerMarginLarge};\n --gutter: #{spaceCurveValue('tiny', 'large')};\n }\n\n @include mq($from: ultra) {\n --peek-out: calc((100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) / 2);\n }\n }\n\n &[variant=\"cards\"] ::slotted([slot=\"actions\"]) {\n position: relative;\n order: 1;\n margin-top: calc(#{space('medium')} - var(--padding-bottom));\n }\n\n /* No peek */\n\n &[no-peek]:not([no-peek=\"false\"]) {\n --peek-out: 0px;\n --peek-in: 0px;\n }\n}\n\n.stzh-carousel {\n position: relative;\n display: flex;\n flex-direction: column;\n width: calc(100% + var(--peek-out) * 2);\n margin-left: calc(var(--peek-out) / -1);\n margin-right: calc(var(--peek-out) / -1);\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__scroll {\n position: relative;\n grid-area: slides;\n display: grid;\n width: 100%;\n height: 100%;\n place-items: center;\n overflow-x: auto;\n overflow-y: visible;\n grid-auto-flow: column;\n grid-auto-columns: var(--slide-size);\n grid-auto-rows: 100%;\n column-gap: var(--gutter);\n -webkit-overflow-scrolling: touch;\n scrollbar-width: none;\n -ms-overflow-style: none;\n scroll-behavior: smooth;\n overscroll-behavior-x: contain;\n scroll-snap-type: x mandatory;\n scroll-padding: 0 var(--peek);\n padding: var(--padding-top) var(--peek) var(--padding-bottom);\n\n @media (prefers-reduced-motion: reduce) {\n scroll-behavior: auto;\n }\n\n &::-webkit-scrollbar {\n display: none;\n }\n }\n\n &--is-draggable &__scroll {\n cursor: grab;\n }\n\n &--is-dragging &__scroll {\n cursor: grabbing;\n }\n\n &--is-disabled &__scroll {\n cursor: not-allowed;\n overflow: hidden;\n }\n\n &--is-non-interactive {\n pointer-events: none;\n touch-action: none;\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Method,\n Event,\n EventEmitter,\n Watch,\n State\n} from \"@stencil/core\";\n\nimport {\n StzhCarouselSlideStartEvent,\n StzhCarouselSlidePassedEvent,\n StzhCarouselSlideEndEvent\n} from \"../../index\";\n\nimport { isStzhElement } from \"../../utils/utils\";\nimport { StzhCarouselLocalizedText } from \"./stzh-carousel.localization\"\n\nimport {\n media,\n addMediaChangeListener,\n removeMediaChangeListener\n} from '../../utils/media-utils';\n\nconst reducedMotionMedia = window.matchMedia(\"(prefers-reduced-motion: reduce)\");\n\nlet carouselCounter = 0;\n\n/*\n* Inspired by:\n*\n* - https://github.com/barthy-koeln/scroll-snap-slider\n* - https://tannerhodges.github.io/snap-slider/\n* - https://www.w3.org/WAI/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next/\n* - https://dev.to/jasonwebb/how-to-build-a-more-accessible-carousel-or-slider-35lp\n* - http://web-accessibility.carnegiemuseums.org/code/carousels/\n*/\n\n/**\n * @slot - Slot any element\n * @slot actions - Slot for `stzh-actions` element\n */\n@Component({\n tag: \"stzh-carousel\",\n styleUrl: \"stzh-carousel.scss\",\n scoped: true\n})\nexport class StzhCarousel {\n /** Translation strings */\n @Prop() localization: StzhCarouselLocalizedText;\n\n /** Carousel variant */\n @Prop({ reflect: true }) variant: \"default\" | \"cards\" = \"default\";\n\n /** Whether carousel is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether to remove inside/outside peek. */\n @Prop({ reflect: true }) noPeek: boolean = false;\n\n /** Slides number */\n @Prop() slides: number = 1;\n /** Slides number above small breakpoint */\n @Prop() slidesSmall: number = 0;\n /** Slides number above medium breakpoint */\n @Prop() slidesMedium: number = 0;\n /** Slides number above large breakpoint */\n @Prop() slidesLarge: number = 0;\n /** Slides number above ultra breakpoint */\n @Prop() slidesUltra: number = 0;\n\n // /** How many slides per swipe */\n // @Prop() swipeSlides: number = 1;\n // /** How many slides per swipe above small breakpoint */\n // @Prop() swipeSlidesSmall: number = 0;\n // /** How many slides per swipe above medium breakpoint */\n // @Prop() swipeSlidesMedium: number = 0;\n // /** How many slides per swipe above large breakpoint */\n // @Prop() swipeSlidesLarge: number = 0;\n // /** How many slides per swipe above ultra breakpoint */\n // @Prop() swipeSlidesUltra: number = 0;\n\n /** Active slide (readonly) */\n @Prop() slide: number = 0;\n\n /**\n * Whether autoplay is enabled.\n * Gets paused, when user has focus inside carousel element or hovers over it.\n * Also when reduced motion media query is active or carousel is set disabled.\n * Gets disabled permanently, when user interacts with carousel manually (clicks prev/next, scrolls or drags)\n */\n @Prop({ mutable: true }) autoplay: boolean = false;\n\n /** Timeout delay in milliseconds used for autoplay */\n @Prop() autoplayTimeout: number = 3000;\n\n /** Whether scrolling & dragging should be disabled */\n @Prop() nonInteractive: boolean = false;\n\n /** Whether drag with mouse should be disabled (still will be able to scroll with wheeling or arrow keys) */\n @Prop() preventMouseDrag: boolean = false;\n\n /** Whether autoplay pause should be prevented when user hovers/focuses carousel */\n @Prop() preventAutoplayPause: boolean = false;\n\n /** Whether autoplay stop should be prevented when user scroll or drags carousel */\n @Prop() preventAutoplayStop: boolean = false;\n\n /**\n * Enable all slides to be tabbable (will disable prev/next arrows from being tabbable).\n * By default only the visible slides will be tabbable and the prev/next can be used to change slides\n * (enabled when `variant` is set to `cards`).\n */\n @Prop() tabThrough: boolean = false;\n\n\n /** Timeout delay in milliseconds used to catch the end of scroll events */\n @State() scrollTimeout: number = 100;\n\n /** Minimum drag distance that needs to be reached to swipe to next/previous slide(s). */\n @State() distanceQuickSwipe: number = 40;\n\n /** Minimum drag distance that neeeds to be reached to prevent click on slide elements. */\n @State() distancePreventClick: number = 6;\n\n @Element() element: HTMLStzhCarouselElement;\n\n /** Slide start event */\n @Event() stzhSlideStart: EventEmitter<StzhCarouselSlideStartEvent>;\n\n /** Slide passed event */\n @Event() stzhSlidePassed: EventEmitter<StzhCarouselSlidePassedEvent>;\n\n /** Slide end event */\n @Event() stzhSlideEnd: EventEmitter<StzhCarouselSlideEndEvent>;\n\n /** Scroll to a slide by index */\n @Method()\n async slideTo(index, behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n this.scrollToSlide(index, behaviour);\n }\n\n /** Scroll to previous snap point */\n @Method()\n async slideToPrevious(behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n this.scrollToPreviousSnapPoint(behaviour);\n }\n\n /** Scroll to next snap point */\n @Method()\n async slideToNext(behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n this.scrollToNextSnapPoint(behaviour);\n }\n\n @Watch(\"disabled\")\n disabledWatcher() {\n if (this.disabled) {\n this.scrollElement && this.scrollElement.removeEventListener(\"scroll\", this.onScroll);\n this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);\n this.scrollTimeoutId = null;\n this.element.removeEventListener(\"mouseenter\", this.onMouseenter);\n this.element.removeEventListener(\"mouseleave\", this.onMouseleave);\n this.element.removeEventListener(\"focusin\", this.onFocusin);\n this.element.removeEventListener(\"focusout\", this.onFocusout);\n this.onReducedMotionMediaChange();\n reducedMotionMedia && reducedMotionMedia.removeEventListener(\"change\", this.onReducedMotionMediaChange);\n } else {\n this.scrollElement && this.scrollElement.addEventListener(\"scroll\", this.onScroll, { passive: true });\n this.element.addEventListener(\"mouseenter\", this.onMouseenter);\n this.element.addEventListener(\"mouseleave\", this.onMouseleave);\n this.element.addEventListener(\"focusin\", this.onFocusin);\n this.element.addEventListener(\"focusout\", this.onFocusout);\n reducedMotionMedia && reducedMotionMedia.addEventListener(\"change\", this.onReducedMotionMediaChange);\n }\n }\n\n @Watch(\"disabled\")\n @Watch(\"preventMouseDrag\")\n preventMouseDragWatcher() {\n if (this.preventMouseDrag || this.disabled) {\n this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);\n this.disableTimeoutId = null;\n this.scrollElement && this.scrollElement.removeEventListener(\"mousedown\", this.startDragging);\n this.lastX = null;\n } else {\n this.scrollElement && this.scrollElement.addEventListener(\"mousedown\", this.startDragging);\n }\n }\n\n @Watch(\"autoplay\")\n @Watch(\"autoplayDisabledByMotionMedia\")\n @Watch(\"autoplayDisabledByMouse\")\n @Watch(\"autoplayDisabledByFocus\")\n @Watch(\"autoplayDisabledByScroll\")\n @Watch(\"autoplayDisabledByDrag\")\n @Watch(\"autoplayTimeout\")\n @Watch(\"disabled\")\n autoplayRunningWatcher() {\n if (\n !this.autoplay\n || this.disabled\n || this.autoplayDisabledByMotionMedia\n || this.autoplayDisabledByMouse\n || this.autoplayDisabledByFocus\n || this.autoplayDisabledByScroll\n || this.autoplayDisabledByDrag\n ) {\n this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);\n this.autoplayIntervalId = null;\n this.autoplayRunning = false;\n } else {\n this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);\n this.autoplayIntervalId = window.setInterval(this.autoplayInterval, this.autoplayTimeout);\n this.autoplayRunning = true;\n }\n }\n\n @Watch(\"slideElements\")\n @Watch(\"currentSwipeSlides\")\n snapAlignWatcher() {\n this.slideElements.forEach((slide, index) => {\n const shouldSnap = (index - this.currentSwipeSlides) % this.currentSwipeSlides === 0;\n\n if (shouldSnap) {\n slide.style.removeProperty(\"scroll-snap-align\");\n } else {\n slide.style.setProperty(\"scroll-snap-align\", \"none\");\n }\n });\n }\n\n @Watch(\"slide\")\n @Watch(\"variant\")\n @Watch(\"slideElements\")\n @Watch(\"currentSlides\")\n @Watch(\"tabThrough\")\n inertWatcher() {\n this.slideElements.forEach((slide, index) => {\n const isActive = this.tabThrough\n || this.variant === \"cards\"\n || index >= this.slide && index < this.slide + this.currentSlides;\n\n slide.inert = !isActive;\n\n if (isActive) {\n slide.removeAttribute(\"aria-hidden\");\n } else {\n slide.setAttribute(\"aria-hidden\", isActive ? \"false\" : \"true\");\n }\n });\n }\n\n @Watch(\"variant\")\n @Watch(\"tabThrough\")\n @Watch(\"nextElements\")\n @Watch(\"previousElements\")\n prevNextNavigationWatcher() {\n const tabThrough = this.tabThrough || this.variant === \"cards\";\n\n const setAriaAttributes = (element) => {\n const isStzh = isStzhElement(element);\n\n if (tabThrough) {\n element.setAttribute(\"aria-hidden\", \"true\");\n element.setAttribute(isStzh ? \"a11y-tabindex\" : \"tabindex\", \"-1\");\n } else {\n element.removeAttribute(\"aria-hidden\");\n element.removeAttribute(isStzh ? \"a11y-tabindex\" : \"tabindex\");\n }\n }\n\n this.nextElements.forEach(setAriaAttributes);\n this.previousElements.forEach(setAriaAttributes);\n }\n\n @Watch(\"currentSlides\")\n @Watch(\"slideElements\")\n @Watch(\"nextElements\")\n @Watch(\"previousElements\")\n @Watch(\"navigationTextElements\")\n prevNextHiddenWatcher() {\n const hideElements = this.slideElements.length <= this.currentSlides;\n\n const setHiddenAttribute = (element) => {\n if (hideElements) {\n element.setAttribute(\"hidden\", \"\");\n } else {\n element.removeAttribute(\"hidden\");\n }\n };\n\n this.navigationTextElements.forEach(setHiddenAttribute);\n this.nextElements.forEach(setHiddenAttribute);\n this.previousElements.forEach(setHiddenAttribute);\n }\n\n @Watch(\"slide\")\n @Watch(\"currentSlides\")\n @Watch(\"slideElements\")\n @Watch(\"nextElements\")\n @Watch(\"previousElements\")\n nextPrevDisabledWatcher() {\n if (!this.scrollElement) {\n return;\n }\n\n const reachedFirstSlide = this.slide === 0;\n const reachedLastSlide = this.hasReachedLastSlide();\n\n this.nextElements.forEach((element) => {\n const isStzh = isStzhElement(element);\n element.setAttribute(isStzh ? \"a11y-disabled\" : \"aria-disabled\", reachedLastSlide ? \"true\" : \"false\");\n });\n\n this.previousElements.forEach((element) => {\n const isStzh = isStzhElement(element);\n element.setAttribute(isStzh ? \"a11y-disabled\" : \"aria-disabled\", reachedFirstSlide ? \"true\" : \"false\");\n });\n }\n\n @Watch(\"nextElements\")\n nextElementsWatcher() {\n this.nextElements.forEach((nextElement) => {\n const isStzh = isStzhElement(nextElement);\n\n nextElement.addEventListener(\"click\", this.onNextClick);\n nextElement.setAttribute(isStzh ? \"a11y-controls\" : \"aria-controls\", `${this.carouselId}-scroll`);\n });\n }\n\n @Watch(\"previousElements\")\n previousElementsWatcher() {\n this.previousElements.forEach((previousElement) => {\n const isStzh = isStzhElement(previousElement);\n\n previousElement.addEventListener(\"click\", this.onPreviousClick);\n previousElement.setAttribute(isStzh ? \"a11y-controls\" : \"aria-controls\", `${this.carouselId}-scroll`);\n });\n }\n\n /** Whether autoplay is currently running */\n @State() autoplayRunning: boolean = false;\n\n /** Whether autoplay is currently disabled by reduced motion media */\n @State() autoplayDisabledByMotionMedia: boolean = false;\n\n /** Whether autoplay is currently disabled by mouse */\n @State() autoplayDisabledByMouse: boolean = false;\n\n /** Whether autoplay is currently disabled by focus */\n @State() autoplayDisabledByFocus: boolean = false;\n\n /** Whether autoplay is currently disabled by scroll */\n @State() autoplayDisabledByScroll: boolean = false;\n\n /** Whether autoplay is currently disabled by drag */\n @State() autoplayDisabledByDrag: boolean = false;\n\n /** Whether user is currently dragging with mouse */\n @State() dragging: boolean = false;\n\n /** Whether user is currently scrolling */\n @State() scrolling: boolean = false;\n\n /** Aria live text */\n @State() ariaLive: string = \"\";\n\n /** Currently shown slides */\n @State() currentSlides: number = 1;\n\n /** How many slides should be moved currently */\n @State() currentSwipeSlides: number = 1;\n\n /** Slide elements */\n @State() slideElements: HTMLElement[] = [];\n\n /** Previous elements */\n @State() previousElements: HTMLElement[] = [];\n\n /** Next elements */\n @State() nextElements: HTMLElement[] = [];\n\n /** Navigation text elements */\n @State() navigationTextElements: HTMLElement[] = [];\n\n private scrollElement: HTMLElement;\n\n /** Unique generated id */\n private carouselId: string;\n\n /** Current scroll position */\n private slideScrollLeft: number = 0;\n\n /** Flag whether scrolling was done by user or not */\n private scrolledByAutoplay: boolean = false;\n\n /** Timeout ID used to catch the end of scroll events */\n private scrollTimeoutId: number = null;\n\n /** Interval ID for autoplay */\n private autoplayIntervalId: number;\n\n /** Last drag event position */\n private lastX: number = null;\n\n /** Where the dragging started */\n private startX: number = null;\n\n /** Where the dragging started scroll position */\n private startScrollLeft: number = null;\n\n /** Timeout ID for a smooth drag release */\n private disableTimeoutId: number = null;\n\n /** Calculated size of a single item */\n private itemSize: number;\n\n /** Resize observer used to update item size */\n private resizeObserver: ResizeObserver;\n\n /** Mutation observer used to keep track of slides */\n private mutationObserver: MutationObserver;\n\n /** Whether user has just stopped dragging */\n private stoppedDragging: boolean = false;\n\n private scrollToSlide(index, behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n if (this.disabled) {\n return;\n }\n\n this.scrollElement.scrollTo({\n left: index * this.itemSize,\n behavior: reducedMotionMedia.matches ? \"auto\" : behaviour\n });\n }\n\n /** Width of a slide */\n private sizingMethod() {\n const css = window.getComputedStyle(this.scrollElement);\n\n return ((this.scrollElement.firstElementChild as HTMLElement) || this.scrollElement).offsetWidth\n + parseInt(css.getPropertyValue(\"column-gap\"), 10);\n }\n\n /**\n * Calculates the active slide.\n * The scroll-snap-type property makes sure that the container snaps perfectly to integer multiples.\n */\n private calculateSlide() {\n // Math.round: Dispatch 'stzhSlidePassed' events around the center of each slide\n // Math.ceil: Dispatch 'stzhSlidePassed' events as soon as the next one is visible\n // Math.floor: Dispatch 'stzhSlidePassed' events only when the next one is fully visible\n return Math.floor(this.scrollElement.scrollLeft / this.itemSize);\n }\n\n private scrollToPreviousSnapPoint(behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n if (this.disabled) {\n return;\n }\n\n let previousIndex = this.slide;\n let canSnap = false;\n\n while (!canSnap && previousIndex > 0) {\n previousIndex = previousIndex - 1;\n canSnap = (previousIndex - this.currentSwipeSlides) % this.currentSwipeSlides === 0;\n }\n\n this.slideTo(previousIndex, behaviour);\n }\n\n private scrollToNextSnapPoint(behaviour: \"auto\" | \"smooth\" = \"smooth\") {\n if (this.disabled) {\n return;\n }\n\n this.slideTo(this.slide + this.currentSwipeSlides, behaviour);\n }\n\n private update() {\n this.slide = this.calculateSlide();\n this.slideScrollLeft = this.slide * this.itemSize;\n\n this.onMutation();\n }\n\n private hasReachedLastSlide() {\n const { scrollLeft, offsetWidth, scrollWidth } = this.scrollElement;\n return Math.ceil(scrollLeft + offsetWidth) >= scrollWidth;\n }\n\n private onReducedMotionMediaChange = () => {\n this.autoplayDisabledByMotionMedia = reducedMotionMedia.matches;\n }\n\n private onMouseenter = () => {\n if (!this.preventAutoplayPause) {\n this.autoplayDisabledByMouse = true;\n }\n }\n\n private onMouseleave = () => {\n this.autoplayDisabledByMouse = false;\n }\n\n private onFocusin = () => {\n if (!this.preventAutoplayPause) {\n this.autoplayDisabledByFocus = true;\n }\n }\n\n private onFocusout = () => {\n this.autoplayDisabledByFocus = false;\n }\n\n private onPreviousClick = () => {\n this.scrollToPreviousSnapPoint();\n }\n\n private onNextClick = () => {\n this.scrollToNextSnapPoint();\n }\n\n private onSlideResize = () => {\n if (this.scrollElement) {\n this.itemSize = this.sizingMethod();\n }\n }\n\n private onMutation = () => {\n if (!this.scrollElement) {\n return;\n }\n\n this.slideElements = Array.from(this.scrollElement.children) as HTMLElement[];\n\n this.slideElements.forEach((slide, index) => {\n slide.setAttribute(\"role\", \"group\");\n slide.setAttribute(\"aria-roledescription\", \"slide\");\n slide.setAttribute(\"aria-label\", this.localization.slideLabel\n .replace(/\\{current\\}/gi, (index + 1).toString())\n .replace(/\\{total\\}/gi, this.slideElements.length.toString())\n );\n });\n\n this.previousElements = Array.from(this.element.querySelectorAll(\"[data-stzh-carousel-previous]\"));\n this.nextElements = Array.from(this.element.querySelectorAll(\"[data-stzh-carousel-next]\"));\n this.navigationTextElements = Array.from(this.element.querySelectorAll(\"[data-stzh-carousel-navigation-text]\"));\n }\n\n private onScroll = () => {\n if (this.scrollTimeoutId === null) {\n const direction = (this.scrollElement.scrollLeft > this.slideScrollLeft) ? 1 : -1;\n\n this.scrolling = true;\n\n if (!this.scrolledByAutoplay) {\n if (this.preventAutoplayStop) {\n this.autoplayDisabledByScroll = true;\n } else {\n this.autoplay = false;\n }\n }\n\n this.stzhSlideStart.emit({\n component: \"stzh-carousel\",\n index: this.slide + direction\n });\n }\n\n if (this.slide !== this.calculateSlide()) {\n this.update();\n this.stzhSlidePassed.emit({\n component: \"stzh-carousel\",\n index: this.slide\n });\n }\n\n this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);\n this.scrollTimeoutId = window.setTimeout(this.onScrollEnd, this.scrollTimeout);\n }\n\n private onScrollEnd = () => {\n this.scrollTimeoutId = null;\n this.update();\n\n this.scrolling = false;\n this.scrolledByAutoplay = false;\n this.autoplayDisabledByScroll = false;\n\n if (this.stoppedDragging) {\n this.stoppedDragging = false;\n this.scrollElement.style.removeProperty(\"scroll-behavior\");\n this.scrollElement.style.removeProperty(\"scroll-snap-type\");\n }\n\n if (this.tabThrough || this.variant === \"cards\") {\n this.ariaLive = \"\";\n } else {\n this.ariaLive = (this.currentSlides > 1 ? this.localization.slidesLabel : this.localization.slideLabel)\n .replace(/\\{(current|from)\\}/gi, (this.slide + 1).toString())\n .replace(/\\{to\\}/gi, (this.slide + this.currentSlides).toString())\n .replace(/\\{total\\}/gi, this.slideElements.length.toString());\n }\n\n this.stzhSlideEnd.emit({\n component: \"stzh-carousel\",\n index: this.slide\n });\n }\n\n private onMediaChange = () => {\n const ultra = media(\"ultra\").matches;\n const large = media(\"large\").matches;\n const medium = media(\"medium\").matches;\n const small = media(\"small\").matches;\n\n if (ultra && this.slidesUltra !== 0) {\n this.currentSlides = this.slidesUltra;\n } else if (large && this.slidesLarge !== 0) {\n this.currentSlides = this.slidesLarge;\n } else if (medium && this.slidesMedium !== 0) {\n this.currentSlides = this.slidesMedium;\n } else if (small && this.slidesSmall !== 0) {\n this.currentSlides = this.slidesSmall;\n } else {\n this.currentSlides = this.slides;\n }\n\n // if (ultra && this.swipeSlidesUltra !== 0) {\n // this.currentSwipeSlides = this.swipeSlidesUltra;\n // } else if (large && this.swipeSlidesLarge !== 0) {\n // this.currentSwipeSlides = this.swipeSlidesLarge;\n // } else if (medium && this.swipeSlidesMedium !== 0) {\n // this.currentSwipeSlides = this.swipeSlidesMedium;\n // } else if (small && this.swipeSlidesSmall !== 0) {\n // this.currentSwipeSlides = this.swipeSlidesSmall;\n // } else {\n // this.currentSwipeSlides = this.swipeSlides;\n // }\n\n this.currentSwipeSlides = this.currentSlides;\n }\n\n /** Scroll the slider the appropriate amount of pixels and update the last event position */\n private mouseMove = (event: MouseEvent) => {\n const distance = this.lastX - event.clientX;\n this.lastX = event.clientX;\n\n this.scrollElement.scrollLeft += distance;\n }\n\n /** Clear disable timeout, set up variables and styles and attach the listener. */\n private startDragging = (event: MouseEvent) => {\n event.preventDefault();\n\n this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);\n this.disableTimeoutId = null;\n\n this.startX = this.lastX = event.clientX;\n this.startScrollLeft = this.scrollElement.scrollLeft;\n this.scrollElement.style.setProperty(\"scroll-behavior\", \"auto\");\n this.scrollElement.style.setProperty(\"scroll-snap-type\", \"unset\");\n\n this.dragging = true;\n\n if (this.preventAutoplayStop) {\n this.autoplayDisabledByDrag = true;\n } else {\n this.autoplay = false;\n }\n\n window.addEventListener(\"mousemove\", this.mouseMove);\n window.addEventListener(\"mouseup\", this.stopDragging, { capture: true });\n window.addEventListener(\"click\", this.checkClick, { capture: true });\n }\n\n /** User stopped dragging */\n private stopDragging = (event: MouseEvent) => {\n event.preventDefault();\n\n const distance = Math.abs(this.startX - this.lastX);\n const minimumReached = distance > this.distanceQuickSwipe;\n const direction = (this.lastX > this.startX) ? 1 : -1;\n\n this.dragging = false;\n this.autoplayDisabledByDrag = false;\n\n const endDraddingLeft = this.scrollElement.scrollLeft;\n\n this.scrollElement.style.removeProperty(\"scroll-snap-type\");\n const finalLeft = this.scrollElement.scrollLeft;\n\n this.scrollElement.style.setProperty(\"scroll-snap-type\", \"unset\");\n this.scrollElement.scrollTo({ left: endDraddingLeft, behavior: \"auto\" });\n\n if (finalLeft !== this.startScrollLeft || !minimumReached) {\n this.scrollElement.scrollTo({ left: finalLeft, behavior: reducedMotionMedia.matches ? \"auto\" : \"smooth\" });\n } else if (direction === 1) {\n this.slideToPrevious();\n } else {\n this.slideToNext();\n }\n\n window.removeEventListener(\"mousemove\", this.mouseMove);\n window.removeEventListener(\"mouseup\", this.stopDragging, { capture: true });\n\n this.stoppedDragging = true;\n }\n\n private checkClick = (event: MouseEvent) => {\n const distance = Math.abs(this.startX - this.lastX);\n const minimumReached = distance > this.distancePreventClick;\n\n if (minimumReached) {\n event.preventDefault();\n }\n\n this.lastX = null;\n\n window.removeEventListener(\"click\", this.checkClick, { capture: true });\n }\n\n private autoplayInterval = () => {\n this.scrolledByAutoplay = true;\n\n if (this.hasReachedLastSlide()) {\n this.slideTo(0);\n } else {\n this.slideToNext();\n }\n }\n\n async componentWillLoad() {\n this.carouselId = `stzh-carousel-${carouselCounter++}`;\n this.onMediaChange();\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"carousel\");\n }\n }\n\n componentDidLoad() {\n this.itemSize = this.sizingMethod();\n this.update();\n\n this.disabledWatcher();\n this.preventMouseDragWatcher();\n this.autoplayRunningWatcher();\n }\n\n connectedCallback() {\n addMediaChangeListener(this.onMediaChange);\n\n this.resizeObserver = new ResizeObserver(this.onSlideResize)\n this.resizeObserver.observe(this.element)\n\n this.mutationObserver = new MutationObserver(this.onMutation);\n this.mutationObserver.observe(this.element, {\n childList: true,\n subtree: true\n });\n }\n\n disconnectedCallback() {\n this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);\n this.scrollTimeoutId = null;\n this.disabled = true;\n\n removeMediaChangeListener(this.onMediaChange);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-carousel\": true,\n \"stzh-carousel--is-disabled\": this.disabled,\n \"stzh-carousel--is-draggable\": !this.preventMouseDrag,\n \"stzh-carousel--is-non-interactive\": this.nonInteractive,\n \"stzh-carousel--is-dragging\": this.dragging,\n \"stzh-carousel--is-scrolling\": this.scrolling,\n \"stzh-carousel--has-autoplay\": this.autoplay,\n \"stzh-carousel--is-autoplay-running\": this.autoplayRunning,\n };\n\n return (\n <Host\n aria-roledescription=\"carousel\"\n style={{\n '--slides': this.currentSlides.toString()\n }}\n >\n <div class={classes}>\n <slot name=\"actions\"></slot>\n <div\n class=\"stzh-carousel__vhidden\"\n aria-live={this.autoplayDisabledByFocus || this.autoplayDisabledByMouse ? \"polite\" : \"off\"}\n >\n {this.ariaLive}\n </div>\n <div\n ref={(el) => (this.scrollElement = el as HTMLDivElement)}\n id={`${this.carouselId}-scroll`}\n class=\"stzh-carousel__scroll\"\n >\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kwDAAA,IAAMA,EAAkB,uvJC4BxB,IAAMC,EAAqBC,OAAOC,WAAW,oCAE7C,IAAIC,EAAkB,E,IAqBTC,EAAYC,EAAA,2B,8KAwVfC,KAAAC,gBAA0B,EAG1BD,KAAAE,mBAA8B,MAG9BF,KAAAG,gBAA0B,KAM1BH,KAAAI,MAAgB,KAGhBJ,KAAAK,OAAiB,KAGjBL,KAAAM,gBAA0B,KAG1BN,KAAAO,iBAA2B,KAY3BP,KAAAQ,gBAA2B,MAoE3BR,KAAAS,2BAA6B,WACnCC,EAAKC,8BAAgCjB,EAAmBkB,O,EAGlDZ,KAAAa,aAAe,WACrB,IAAKH,EAAKI,qBAAsB,CAC9BJ,EAAKK,wBAA0B,I,GAI3Bf,KAAAgB,aAAe,WACrBN,EAAKK,wBAA0B,K,EAGzBf,KAAAiB,UAAY,WAClB,IAAKP,EAAKI,qBAAs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KAEhB6D,EAA0BnL,KAAKwE,eAE/B,GAAIxE,KAAK2K,eAAgB,CACvB3K,KAAK2K,eAAeS,Y,CAGtB,GAAIpL,KAAK8K,iBAAkB,CACzB9K,KAAK8K,iBAAiBM,Y,GAI1BnE,EAAAC,UAAAmE,OAAA,eAAA3K,EAAAV,KACE,IAAMsL,EAAU,CACd,gBAAiB,KACjB,6BAA8BtL,KAAKsH,SACnC,+BAAgCtH,KAAKyH,iBACrC,oCAAqCzH,KAAKuL,eAC1C,6BAA8BvL,KAAK2F,SACnC,8BAA+B3F,KAAKkD,UACpC,8BAA+BlD,KAAKqD,SACpC,qCAAsCrD,KAAK6H,iBAG7C,OACE2D,EAACC,EAAI,wBACkB,WACrBzH,MAAO,CACL,WAAYhE,KAAKqE,cAAc7B,aAGjCgJ,EAAA,OAAKE,MAAOJ,GACVE,EAAA,QAAMG,KAAK,YACXH,EAAA,OACEE,MAAM,yBAAwB,YACnB1L,KAAKkB,yBAA2BlB,KAAKe,wBAA0B,SAAW,OAEpFf,KAAKoE,UAERoH,EAAA,OACEI,IAAK,SAACC,GAAE,OAAMnL,EAAKe,cAAgBoK,CAA3B,EACRC,GAAI,GAAA5C,OAAGlJ,KAAKmJ,WAAU,WACtBuC,MAAM,yBAENF,EAAA,e,w0CA9vBa,I"}
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,e,s){function n(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,r){function i(t){try{h(s.next(t))}catch(t){r(t)}}function a(t){try{h(s["throw"](t))}catch(t){r(t)}}function h(t){t.done?e(t.value):n(t.value).then(i,a)}h((s=s.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,i;return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(t){return function(o){return h([t,o])}}function h(a){if(s)throw new TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(e=0)),e)try{if(s=1,n&&(r=a[0]&2?n["return"]:a[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;if(n=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;n=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=o.call(t,e)}catch(t){a=[6,t];n=0}finally{s=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-290fcb28.system.js","./p-53e44e89.system.js","./p-774595ba.system.js"],(function(t){"use strict";var o,e,s,n,r,i,a;return{setters:[function(t){o=t.r;e=t.h;s=t.a;n=t.c;r=t.F;i=t.g},function(t){a=t.h},function(){}],execute:function(){var h=".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-badge-h .has-focus.sc-stzh-badge{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-badge-h .stzh-fylingfocus-focused.sc-stzh-badge{outline-style:none !important}.sc-stzh-badge-h .stzh-fylingfocus-focused.sc-stzh-badge::-moz-focus-inner{border:0 !important}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-base-color);display:-ms-inline-flexbox;display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-grey87);--background-color:var(--stzh-color-warning)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-zueriblue)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.875rem;height:0.875rem;padding:0}";var c=t("stzh_badge",function(){function t(t){o(this,t);this.label="";this.type="default"}t.prototype.render=function(){var t;var o=(t={"stzh-badge":true},t["stzh-badge--type-".concat(this.type)]=!!this.type,t);return e(s,null,e("div",{class:o},this.label))};return t}());c.style=h;var l='@charset "UTF-8";.sc-stzh-button-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-button-h .has-focus.sc-stzh-button{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button{outline-style:none !important}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button::-moz-focus-inner{border:0 !important}.sc-stzh-button-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-width:0.0625rem;--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-radius:var(--stzh-button-border-radius);--height:var(--stzh-form-input-height);--icon-size:var(--stzh-icon-size-small);--icon-text-margin:var(--stzh-space-small);--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--padding:calc(var(--stzh-space-xsmall) - 0.0625rem) var(--stzh-space-xlarge);--white-space:normal;--box-shadow:none;--cursor:pointer;--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--floating-position:sticky;--floating-float:right;--floating-top:auto;--floating-bottom:var(--stzh-space-medium);--floating-left:auto;--floating-right:var(--stzh-space-medium);display:inline-block}@media print{.sc-stzh-button-h{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media screen and (min-width: 600px){.sc-stzh-button-h{--floating-bottom:var(--stzh-space-xlarge);--floating-right:var(--stzh-space-xlarge)}}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:block}[rounded].sc-stzh-button-h:not([rounded=false]){--border-radius:var(--height)}[floating].sc-stzh-button-h:not([floating=false]){--box-shadow:var(--stzh-box-shadow-overlay);position:var(--floating-position);top:var(--floating-top);bottom:var(--floating-bottom);left:var(--floating-left);right:var(--floating-right);float:var(--floating-float)}[size=small].sc-stzh-button-h{--height:var(--stzh-form-input-small-height)}[size=tiny].sc-stzh-button-h{--height:var(--stzh-form-input-tiny-height);--icon-text-margin:var(--stzh-space-xsmall);--padding:calc(var(--stzh-space-xxsmall) - 0.0625rem) var(--stzh-space-medium)}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:var(--stzh-color-white);--border-color:var(--stzh-color-primary60op)}[variant=input].sc-stzh-button-h{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-button-text-hover-background);--hover-border-color:transparent}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[disabled].sc-stzh-button-h:not([disabled=false]),[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false]){--border-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-grey13);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:var(--stzh-color-grey13)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=secondary],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=input],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=tertiary]{--color:var(--stzh-color-grey25);--border-color:var(--stzh-color-grey13);--background-color:transparent;--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:transparent}@-webkit-keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}.sc-stzh-button-h .sc-stzh-button-s>stzh-icon,.stzh-button__icon.sc-stzh-button{--size:var(--icon-size)}.stzh-button.sc-stzh-button{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);line-height:1.25;font-family:inherit;position:relative;z-index:0;overflow:visible;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color);padding:var(--padding);background-color:var(--background-color);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;border-style:solid;border-width:var(--border-width);border-color:var(--border-color);cursor:var(--cursor);-webkit-text-decoration-line:none;text-decoration-line:none;width:100%;min-width:var(--height);min-height:var(--height);border-radius:var(--border-radius);text-align:left;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__vhidden.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button__inner.sc-stzh-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-button__text.sc-stzh-button{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:var(--white-space);text-align:center}.stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--icon-text-margin)}.stzh-button__badge.sc-stzh-button{position:absolute;z-index:1;top:0;right:0}.stzh-button__input.sc-stzh-button{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.stzh-button__mark.sc-stzh-button{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed);width:1.25rem;height:1.25rem;margin-right:var(--stzh-space-xsmall);border-color:currentColor}.stzh-button__mark.sc-stzh-button::before{content:""}.stzh-button__check.sc-stzh-button{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-button__check.sc-stzh-button{background-color:ButtonText}}.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button.sc-stzh-button:hover .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:focus:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button__input.sc-stzh-button:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{opacity:1}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-grey61)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:transparent}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-black8)}.stzh-button--size-small.sc-stzh-button,.stzh-button--size-tiny.sc-stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-button--badge-position-button.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:static}.stzh-button__badge.sc-stzh-button,.stzh-button--badge-position-button.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:relative}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--badge-icon-text-margin)}.stzh-button--has-icon-only.sc-stzh-button{width:var(--height);height:var(--height);padding:0}.stzh-button--has-icon-only.sc-stzh-button .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button--effect-cta.sc-stzh-button:hover .stzh-button__icon-wrapper.sc-stzh-button{-webkit-animation:stzh-button-effect-cta 1s;animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:start;justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:end;justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:center;justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:justify;justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}.stzh-button.has-focus.sc-stzh-button{outline-offset:0.1875rem}.stzh-button--default.has-focus.sc-stzh-button{outline:var(--stzh-flyingfocus-color) solid 0.1875rem}';var u=t("stzh_button",function(){function t(t){var e=this;o(this,t);this.stzhFocus=n(this,"stzhFocus",7);this.stzhBlur=n(this,"stzhBlur",7);this.stzhChange=n(this,"stzhChange",7);this.focusedByInput=false;this.onInput=function(t){e.checked=e.input.checked;e.stzhChange.emit({component:"stzh-button",originalEvent:t,value:e.value,checked:e.checked})};this.onRootFocus=function(){if(!e.focusedByInput){e.setFocus()}e.focusedByInput=false};this.onFocus=function(t){e.focusedByInput=true;var o=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});e.element.dispatchEvent(o);e.stzhFocus.emit({component:"stzh-button",originalEvent:t})};this.onBlur=function(t){var o=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});e.element.dispatchEvent(o);e.stzhBlur.emit({component:"stzh-button",originalEvent:t})};this.onClick=function(t){if(e.disabled){t.stopPropagation();t.preventDefault()}};this.localization=undefined;this.badge="";this.badgeType="default";this.badgePosition="button";this.badgeEmpty=false;this.fullwidth=false;this.rounded=false;this.floating=false;this.size="default";this.textAlign="default";this.variant="default";this.icon="";this.iconPosition="left";this.checked=false;this.name="";this.value="";this.href="";this.rel=undefined;this.target="";this.download=undefined;this.type="button";this.disabled=false;this.active=false;this.label="";this.effect="default";this.iconOnly=false;this.linkAccesskey=undefined;this.a11yLabel=undefined;this.a11yDescribedby="";this.a11yExpanded=undefined;this.a11yDisabled=undefined;this.a11yControls=undefined;this.a11yTabindex=undefined;this.analyticsId=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus();return[2]}))}))};t.prototype.renderIcon=function(t){return e("div",{class:"stzh-button__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-button__icon",name:this.icon}):e("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&this.badgePosition==="icon"&&t&&e("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType}))};t.prototype.renderContent=function(){var t=this;return e("div",{class:"stzh-button__text"},this.rel&&this.rel.includes("external")&&e("div",{class:"stzh-button__vhidden"},this.localization.$globals.externalLinkLabel),this.download&&e("div",{class:"stzh-button__vhidden"},this.localization.$globals.downloadLinkLabel),e("div",{ref:function(o){return t.text=o}},this.label?this.label:e("slot",null)))};t.prototype.renderInner=function(t){return e(r,null,e("div",{class:"stzh-button__inner",onClick:this.onClick},this.type==="radio"&&e("div",{class:"stzh-button__mark"},e("div",{class:"stzh-button__check"})),this.iconPosition==="left"&&this.renderIcon(t),this.renderContent(),this.iconPosition==="right"&&this.renderIcon(t)),(this.badge||this.badgeEmpty)&&(this.badgePosition==="button"||!t)&&e("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType,onClick:this.onClick}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,window.stzhComponents.utils.fetchTranslations(this.element,"button")];case 1:t.localization=o.sent();o.label=2;case 2:return[2]}}))}))};t.prototype.componentDidRender=function(){var t=this;requestAnimationFrame((function(){t.button.setAttribute("s-object-id",t.analyticsId||t.text.innerText)}))};t.prototype.render=function(){var t;var o=this;var n=a(this.element,"icon")||!!this.icon;var r=(t={"stzh-button":true,"stzh-button--has-icon":n,"stzh-button--has-icon-only":this.iconOnly,"stzh-button--has-badge":!!this.badge,"stzh-button--is-floating":this.floating,"stzh-button--is-rounded":this.rounded,"stzh-button--is-fullwidth":this.fullwidth,"stzh-button--is-disabled":this.disabled||this.a11yDisabled,"stzh-button--is-active":this.active},t["stzh-button--effect-".concat(this.effect)]=!!this.effect,t["stzh-button--badge-position-".concat(this.badgePosition)]=!!this.badgePosition,t["stzh-button--align-".concat(this.textAlign)]=!!this.textAlign,t["stzh-button--size-".concat(this.size)]=!!this.size,t["stzh-button--type-".concat(this.type)]=!!this.type,t["stzh-button--".concat(this.variant)]=!!this.variant,t);return e(s,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},this.href?e("a",{ref:function(t){return o.button=t},href:this.disabled?null:this.href,rel:this.rel,download:this.download,target:this.target,class:r,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls||null,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(n)):this.type==="radio"?e("label",{ref:function(t){return o.button=t},class:r,onClick:this.onClick},e("input",{ref:function(t){return o.input=t},type:"radio",class:"stzh-button__input",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls||null,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onInput:this.onInput}),this.renderInner(n)):e("button",{ref:function(t){return o.button=t},class:r,type:this.type,disabled:this.disabled,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls||null,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(n)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=l;var b=".sc-stzh-icon-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-icon-h{display:none}.sc-stzh-icon-h *.sc-stzh-icon,.sc-stzh-icon-h *.sc-stzh-icon::before,.sc-stzh-icon-h *.sc-stzh-icon::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-icon-h .has-focus.sc-stzh-icon{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-icon-h .stzh-fylingfocus-focused.sc-stzh-icon{outline-style:none !important}.sc-stzh-icon-h .stzh-fylingfocus-focused.sc-stzh-icon::-moz-focus-inner{border:0 !important}.sc-stzh-icon-h{--size:var(--stzh-icon-size-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:currentColor;vertical-align:text-top}.stzh-icon.sc-stzh-icon{width:var(--size);height:var(--size)}";var d=0;var z=t("stzh_icon",function(){function t(t){o(this,t);this.name="";this.a11yTitle=""}t.prototype.componentWillLoad=function(){this.iconId="stzh-icon-".concat(d++)};t.prototype.render=function(){return e(s,null,this.name&&e("svg",{class:"stzh-icon",role:this.a11yTitle?"img":"presentation","aria-hidden":this.a11yTitle?null:"true",focusable:this.a11yTitle?"true":"false","aria-labelledby":this.a11yTitle?"".concat(this.iconId,"-title"):null},this.a11yTitle&&e("title",{id:"".concat(this.iconId,"-title")},this.a11yTitle),e("use",{href:"#stzh-icon-".concat(this.name)})))};return t}());z.style=b}}}));
2
- //# sourceMappingURL=p-8de3379f.system.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhContactCss","formatTel","tel","replace","StzhContact","exports","this","_numbers","_availability","availabilityDataItems","class_1","prototype","availabilityWatcher","newValue","JSON","parse","map","item","value","hours","join","label","weekday","numbersWatcher","componentWillLoad","numbers","availability","render","hasImage","hasSlot","element","classes","withBorder","h","Host","class","itemscope","itemtype","concat","type","name","mainHeading","level","itemprop","heading","innerHTML","street","postalCode","location","streetInfo","Fragment","number","href","analyticsId","poBoxHeading","poboxTitle","poboxPostalCode","poboxLocation","availabilityTitle","hideBorder","directionSmall","items"],"sources":["src/components/stzh-contact/stzh-contact.scss?tag=stzh-contact&encapsulation=scoped","src/components/stzh-contact/stzh-contact.tsx"],"sourcesContent":[":host {\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n\n ::slotted([slot=\"image\"]) {\n width: 88px;\n height: 88px;\n top: 0;\n left: 0;\n border-radius: 50%;\n object-fit: cover;\n margin-bottom: space('xlarge');\n\n @include mq($from: smallheader) {\n @include spaceCurve('margin-right', 'medium');\n margin-bottom: 0;\n }\n\n @include mq($from: large) {\n width: 196px;\n height: 196px;\n }\n }\n}\n\n.stzh-contact {\n @include fontCurve('p1');\n\n &,\n &__inner-wrapper {\n display: flex;\n flex-direction: column;\n\n @include mq($from: smallheader) {\n flex-direction: row;\n }\n }\n\n &__wrapper {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n\n &__image {\n display: flex;\n flex-shrink: 0;\n }\n\n\t&__pobox {\n @include spaceCurve('margin-top', 'small')\n }\n\n &__main-heading {\n @include spaceCurve('margin-bottom', 'small');\n }\n\n &__number-link {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n\n &:hover,\n &:focus {\n color: $linkHoverColor;\n }\n }\n\n &__info {\n flex-grow: 1;\n\n @include mq($from: smallheader) {\n\t\t\tflex-basis: 45%;\n\t\t}\n }\n\n &__availability-title {\n margin-bottom: space('xsmall');\n }\n\n &__availability {\n margin-top: space('xlarge');\n\n @include mq($from: smallheader) {\n @include spaceCurve('margin-left', 'medium');\n margin-top: 0;\n\t\t\tflex-basis: 55%;\n }\n }\n\n /* Has border */\n\n &--has-border {\n padding-bottom: space('xlarge');\n border-bottom: 1px solid $baseBorderColor;\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Fragment,\n Watch\n} from \"@stencil/core\";\n\nimport {\n ContactNumber,\n StzhContactAvailabilityItem,\n StzhDatalistItemEntry\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\nfunction formatTel(tel: string) {\n return tel.replace(/\\s/g,'');\n}\n\n/**\n */\n@Component({\n tag: \"stzh-contact\",\n styleUrl: \"stzh-contact.scss\",\n scoped: true\n})\nexport class StzhContact {\n /** Type */\n @Prop() type: \"Organization\" | \"Person\" = \"Organization\";\n\n /** Heading */\n @Prop() heading: string;\n\n /** Main heading */\n @Prop() mainHeading: string;\n\n /** Name */\n @Prop() name: string;\n\n /** Street */\n @Prop() street: string;\n\n /** Additional street info */\n @Prop() streetInfo: string;\n\n /** Postal code */\n @Prop() postalCode: string;\n\n /** Location / city */\n @Prop() location: string;\n\n /**\n * Numbers\n * Array of objects that can include the attributes `type` = `tel`|`fax`, `label`, `number`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `number`).\n */\n @Prop() numbers: ContactNumber[] | string = [];\n private _numbers: ContactNumber[] = [];\n\n /** Post office box heading */\n @Prop() poBoxHeading: string;\n\n /** Post office box title */\n @Prop() poboxTitle: string;\n\n /** Post office box postal code */\n @Prop() poboxPostalCode: string;\n\n /** Post office box location / city */\n @Prop() poboxLocation: string;\n\n /** Availability title */\n @Prop() availabilityTitle: string;\n\n /** Availability times */\n @Prop() availability: string | StzhContactAvailabilityItem[];\n private _availability: StzhContactAvailabilityItem[] = [];\n private availabilityDataItems: StzhDatalistItemEntry[] = [];\n\n /** Whether to display border or not */\n @Prop() withBorder: boolean = false;\n\n @Watch(\"availability\")\n availabilityWatcher(newValue: string | StzhContactAvailabilityItem[]) {\n if (typeof newValue === \"string\") {\n this._availability = JSON.parse(newValue);\n } else {\n this._availability = newValue;\n }\n\n if (this._availability) {\n this.availabilityDataItems = this._availability.map((item) => ({\n value: item.hours.join(' | '),\n label: item.weekday\n }));\n }\n }\n\n @Watch(\"numbers\")\n numbersWatcher(newValue: ContactNumber[] | string) {\n if (typeof newValue === \"string\") {\n this._numbers = JSON.parse(newValue);\n } else {\n this._numbers = newValue;\n }\n }\n\n @Element() element: HTMLStzhFigureElement;\n\n async componentWillLoad() {\n this.numbersWatcher(this.numbers);\n this.availabilityWatcher(this.availability);\n }\n\n render() {\n const hasImage = hasSlot(this.element, \"image\");\n\n const classes = {\n \"stzh-contact\": true,\n \"stzh-contact--has-image\": hasImage,\n \"stzh-contact--has-border\": this.withBorder\n };\n\n return (\n <Host>\n <div class={classes} itemscope itemtype={`http://schema.org/${this.type}`}>\n <div class=\"stzh-contact__image\">\n <slot name=\"image\"></slot>\n </div>\n\n <div class=\"stzh-contact__wrapper\">\n {this.mainHeading &&\n <stzh-heading\n level=\"3\"\n class=\"stzh-contact__main-heading\"\n itemprop={(this.type === \"Organization\" && !this.heading\n || this.type === \"Person\" && !this.name) ? \"name\" : null}\n innerHTML={this.mainHeading}\n ></stzh-heading>\n }\n\n <div class=\"stzh-contact__inner-wrapper\">\n <div class=\"stzh-contact__info\">\n {this.heading &&\n <stzh-heading\n level=\"4\"\n class=\"stzh-contact__heading\"\n itemprop={this.type === \"Organization\" || !this.name ? \"name\" : null}\n innerHTML={this.heading}\n ></stzh-heading>\n }\n\n {this.name &&\n <div\n class=\"stzh-contact__name\"\n itemprop={this.type === \"Person\" ? \"name\" : null}\n >\n {this.name}\n </div>\n }\n\n {(this.street || this.postalCode || this.location) &&\n <div\n class=\"stzh-contact__address\"\n itemprop=\"address\"\n itemscope\n itemtype=\"http://schema.org/PostalAddress\"\n >\n {this.street &&\n <div class=\"stzh-contact__street\" itemprop=\"streetAddress\">\n {this.street}\n\n {this.streetInfo &&\n <Fragment>\n <br /> {this.streetInfo}\n </Fragment>\n }\n </div>\n }\n\n {this.postalCode &&\n <span class=\"stzh-contact__postal-code\" itemprop=\"postalCode\">\n {this.postalCode}&nbsp;\n </span>\n }\n\n {this.location &&\n <span class=\"stzh-contact__locality\" itemprop=\"addressLocality\">\n {this.location}\n </span>\n }\n </div>\n }\n\n {this._numbers.map((number) =>\n <div class=\"stzh-contact__number\">\n <span>{number.label}&nbsp;</span>\n <span itemprop={number.type === \"fax\" ? \"faxNumber\" : \"telephone\"}>\n <a\n class=\"stzh-contact__number-link\"\n href={`${number.type}:${formatTel(number.number)}`}\n s-object-id={number.analyticsId || (`${number.label} ${number.number}`)}\n >\n {number.number}\n </a>\n </span>\n </div>\n )}\n\n {(this.poBoxHeading || this.poboxTitle || this.poboxPostalCode || this.poboxLocation) &&\n <div class=\"stzh-contact__pobox\">\n <div class=\"stzh-contact__pobox-heading\">{this.poBoxHeading}</div>\n <div class=\"stzh-contact__pobox-title\">{this.poboxTitle}</div>\n <span class=\"stzh-contact__pobox-postal-code\">{this.poboxPostalCode}&nbsp;</span>\n <span class=\"stzh-contact__pobox-locality\">{this.poboxLocation}</span>\n </div>\n }\n </div>\n\n {this.availability &&\n <div class=\"stzh-contact__availability\">\n {this.availabilityTitle &&\n <stzh-heading\n level=\"4\"\n class=\"stzh-contact__availability-title\"\n >\n {this.availabilityTitle}\n </stzh-heading>\n }\n\n <stzh-datalist\n hideBorder={true}\n directionSmall={\"vertical\"}\n items={this.availabilityDataItems}\n ></stzh-datalist>\n </div>\n }\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"osDAAA,IAAMA,EAAiB,u1JCkBvB,SAASC,EAAUC,GACjB,OAAOA,EAAIC,QAAQ,MAAM,GAC3B,C,IASaC,EAAWC,EAAA,0B,wBAgCdC,KAAAC,SAA4B,GAmB5BD,KAAAE,cAA+C,GAC/CF,KAAAG,sBAAiD,G,UAlDf,e,qLA6BE,G,+LAwBd,K,CAG9BC,EAAAC,UAAAC,oBAAA,SAAoBC,GAClB,UAAWA,IAAa,SAAU,CAChCP,KAAKE,cAAgBM,KAAKC,MAAMF,E,KAC3B,CACLP,KAA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4B,6RAhNR,I"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhChipCss","StzhChip","exports","this","focusedByInput","onRootFocus","_this","setFocus","onFocus","event","focusEvent","FocusEvent","view","window","bubbles","cancelable","element","dispatchEvent","stzhFocus","emit","component","originalEvent","onBlur","blurEvent","stzhBlur","onClick","stzhClick","onRemoveClick","stzhRemove","class_1","prototype","chip","focus","componentDidRender","requestAnimationFrame","setAttribute","analyticsId","text","innerText","renderInner","h","Fragment","class","icon","name","lines","ref","el","label","counter","render","classes","_a","active","disabled","removable","concat","type","size","variant","Chip","nonInteractive","href","Host","tabindex","removeLabel","removeAnalyticsId","target","a11yTabindex","a11yLabel","a11yDescribedby","stzhClampCss","StzhClamp","updateClamped","textCloneElement","beforeClamped","clamped","scrollHeight","clientHeight","stzhClamp","handleResize","debounceResize","cancelAnimationFrame","handleMutaton","update","handleExpandClick","expanded","stzhExpand","class_2","innerHTML","textElement","componentWillLoad","localization","stzhComponents","utils","fetchTranslations","_b","sent","componentDidLoad","mutationObserver","MutationObserver","observe","childList","subtree","connectedCallback","resizeObserver","ResizeObserver","disconnectedCallback","disconnect","style","toString","linesSmall","linesMedium","linesLarge","linesUltra","showExpandLink","showMore","showLess"],"sources":["src/components/stzh-chip/stzh-chip.scss?tag=stzh-chip&encapsulation=scoped","src/components/stzh-chip/stzh-chip.tsx","src/components/stzh-clamp/stzh-clamp.scss?tag=stzh-clamp","src/components/stzh-clamp/stzh-clamp.tsx"],"sourcesContent":[":host {\n --color: #{$colorPrimary};\n --height: 32px;\n --padding: 0 #{space('medium')};\n --border-color: #{$baseBorderColor};\n --border-radius: 16px;\n --remove-color: #{$baseLeadColor};\n --remove-border-radius: 24px;\n --background-color: #{$colorWhite};\n --icon-size: #{iconSize('small')};\n --icon-color: #{$colorPrimary};\n --icon-gap: #{space('xsmall')};\n --counter-color: #{$colorPrimary60op};\n --counter-gap: #{space('xsmall')};\n\n --hover-color: #{$colorPrimaryHover};\n --hover-border-color: var(--border-color);\n --hover-background-color: #{$colorPrimary8};\n --hover-remove-color: var(--hover-color);\n --hover-remove-background-color: var(--hover-background-color);\n --hover-icon-color: #{$colorPrimaryHover};\n --hover-counter-color: #{$colorPrimaryHover};\n\n display: inline-flex;\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-border-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-color: Highlight;\n --hover-remove-background-color: Canvas;\n --hover-icon-color: Highlight;\n --hover-counter-color: Highlight;\n }\n\n &[size=\"large\"] {\n --height: 40px;\n --border-radius: 20px;\n --padding: 0 #{space('xlarge')};\n }\n\n &[size=\"small\"] {\n --height: 24px;\n --icon-size: #{iconSize('xsmall')};\n --counter-gap: #{space('xxsmall')};\n }\n\n &[variant=\"input\"] {\n --border-color: transparent;\n --background-color: #{$colorGrey5};\n\n --hover-border-color: transparent;\n }\n\n &[variant=\"tag\"] {\n --color: #{$baseColor};\n --icon-color: #{$baseColor};\n --counter-color: #{$baseColor};\n --border-color: transparent;\n --background-color: #{$colorBlack8};\n\n --hover-color: #{$baseColor};\n --hover-border-color: transparent;\n --hover-background-color: #{$colorBlack8};\n --hover-icon-color: #{$baseColor};\n --hover-counter-color: #{$baseColor};\n }\n\n &[variant=\"input\"][size=\"small\"] {\n --padding: 0 #{space('small')};\n --icon-gap: #{space('xxsmall')};\n }\n\n &[variant=\"tag\"][size=\"small\"] {\n --padding: 0 #{space('xsmall')};\n --icon-gap: #{space('xxsmall')};\n }\n\n &[type=\"secondary\"] {\n --color: #{$baseLeadColor};\n --counter-color: #{$colorGrey40};\n }\n\n &[type=\"important\"] {\n --color: #{$colorError};\n --icon-color: #{$colorError};\n --counter-color: #{$colorError};\n\n --hover-color: #{$colorError};\n --hover-icon-color: #{$colorError};\n --hover-counter-color: #{$colorError};\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-icon-color: Highlight;\n --hover-counter-color: Highlight;\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorWhite};\n --border-color: transparent;\n --remove-color: #{$colorWhite};\n --background-color: #{$colorPrimary};\n --icon-color: #{$colorWhite};\n --counter-color: #{$colorWhite56};\n\n --hover-color: #{$colorWhite};\n --hover-border-color: transparent;\n --hover-background-color: #{$colorPrimaryHover};\n --hover-remove-color: #{$colorWhite};\n --hover-remove-background-color: #{$colorPrimaryHover};\n --hover-icon-color: #{$colorWhite};\n --hover-counter-color: #{$colorWhite56};\n\n @include highContrast() {\n --color: SelectedItem;\n --border-color: SelectedItem;\n --remove-color: SelectedItem;\n --background-color: Canvas;\n --icon-color: SelectedItem;\n --counter-color: SelectedItem;\n\n --hover-color: Highlight;\n --hover-border-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-color: Highlight;\n --hover-remove-background-color: Canvas;\n --hover-icon-color: Highlight;\n --hover-counter-color: Highlight;\n }\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-border-color: var(--border-color);\n --hover-background-color: var(--background-color);\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey25};\n --border-color: #{$baseBorderColor};\n --remove-color: #{$colorGrey13};\n --background-color: #{$colorWhite};\n --icon-color: #{$colorGrey25};\n --counter-color: #{$colorGrey25};\n\n --hover-color: #{$colorGrey25};\n --hover-border-color: #{$baseBorderColor};\n --hover-background-color: #{$colorWhite};\n --hover-remove-color: #{$colorGrey13};\n --hover-remove-background-color: transparent;\n --hover-icon-color: #{$colorGrey25};\n --hover-counter-color: #{$colorGrey25};\n }\n}\n\n:host ::slotted(stzh-icon),\n.stzh-chip__icon {\n --size: var(--icon-size);\n}\n\n.stzh-chip {\n position: relative;\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__button {\n @include fontSize('micro');\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: var(--border-radius);\n padding: var(--padding);\n color: var(--color);\n appearance: none;\n border-width: 1px;\n border-style: solid;\n border-color: var(--border-color);\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__label {\n text-align: left;\n }\n\n &__icon-wrapper {\n display: flex;\n color: var(--icon-color);\n transition: color $baseTransitionAnimationSpeed;\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: var(--icon-gap);\n }\n }\n\n &__counter {\n display: flex;\n font-variant-numeric: tabular-nums;\n margin-left: var(--counter-gap);\n color: var(--counter-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__remove {\n position: absolute;\n top: 0;\n right: 0;\n appearance: none;\n font-family: inherit;\n border: none;\n background: none;\n padding: 0;\n width: var(--height);\n height: var(--height);\n border-radius: var(--remove-border-radius);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: space('xxsmall');\n color: var(--remove-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-remove-color);\n background-color: var(--hover-remove-background-color);\n }\n }\n\n &__remove-icon {\n --size: #{iconSize('xxsmall')};\n }\n\n &__button:hover,\n &__remove:hover + &__button {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n border-color: var(--hover-border-color);\n }\n\n &__button:hover &__counter,\n &__remove:hover + &__button &__counter {\n color: var(--hover-counter-color);\n }\n\n &__button:hover &__icon-wrapper,\n &__remove:hover + &__button &__icon-wrapper {\n color: var(--hover-icon-color);\n }\n\n /* Size */\n\n &--size-small &__button {\n @include fontSize('nano');\n }\n\n /* Removeable */\n\n &--is-removable &__button {\n padding-right: calc(var(--height) + #{space('xxsmall')});\n }\n\n /* Disabled */\n\n &--is-disabled &__button,\n &--is-disabled &__remove {\n cursor: not-allowed;\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Event,\n EventEmitter,\n Element,\n Method,\n Fragment\n} from \"@stencil/core\";\n\nimport {\n StzhChipClickEvent,\n StzhChipRemoveEvent,\n StzhChipFocusEvent,\n StzhChipBlurEvent\n} from \"../../index\";\n\n/**\n * @slot - Slot for label\n * @slot icon - Slot for icon\n */\n@Component({\n tag: \"stzh-chip\",\n styleUrl: \"stzh-chip.scss\",\n scoped: true\n})\nexport class StzhChip {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** `href` if the chip should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether chip is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Whether remove button should be shown */\n @Prop({ reflect: true }) removable: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"tag\" | \"filter\" | \"input\" = \"tag\";\n\n /** Size */\n @Prop({ reflect: true }) size: \"default\" | \"small\" | \"large\" = \"default\";\n\n /** Type */\n @Prop({ reflect: true }) type: \"default\" | \"secondary\" | \"important\" = \"default\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Label of remove button for screenreaders */\n @Prop() removeLabel: string = \"\";\n\n /** Active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhChipElement;\n\n /** Focus menu item */\n @Method()\n async setFocus() {\n this.chip.focus();\n }\n\n /** Chip click event */\n @Event() stzhClick: EventEmitter<StzhChipClickEvent>;\n\n /** Chip remove event */\n @Event() stzhRemove: EventEmitter<StzhChipRemoveEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhChipFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhChipBlurEvent>;\n\n private chip: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.chip.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-chip__icon-wrapper\">\n {this.icon ?\n <stzh-icon class=\"stzh-chip__icon\" name={this.icon}></stzh-icon>\n :\n <slot name=\"icon\"></slot>\n }\n </div>\n\n <stzh-clamp\n lines={1}\n class=\"stzh-chip__label\"\n ref={(el) => (this.text = el as HTMLElement)}\n >\n {this.label ? this.label : <slot></slot>}\n {this.counter &&\n <span class=\"stzh-chip__vhidden\">\n &nbsp;({this.counter})\n </span>\n }\n </stzh-clamp>\n\n {this.counter &&\n <div class=\"stzh-chip__counter\" aria-hidden=\"true\">\n {this.counter}\n </div>\n }\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.setFocus();\n }\n\n this.focusedByInput = false;\n }\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-chip\",\n originalEvent: event\n });\n }\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-chip\",\n originalEvent: event\n });\n }\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-chip\",\n originalEvent: event\n });\n }\n\n private onRemoveClick = (event: MouseEvent) => {\n this.stzhRemove.emit({\n component: \"stzh-chip\",\n originalEvent: event\n });\n }\n\n render() {\n const classes = {\n \"stzh-chip\": true,\n \"stzh-chip--is-active\": this.active,\n \"stzh-chip--is-disabled\": this.disabled,\n \"stzh-chip--is-removable\": this.removable,\n \"stzh-chip--has-counter\": !!this.counter,\n [`stzh-chip--type-${this.type}`]: !!this.type,\n [`stzh-chip--size-${this.size}`]: !!this.size,\n [`stzh-chip--${this.variant}`]: !!this.variant\n };\n\n const Chip = this.nonInteractive ? \"div\" :\n this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.removable &&\n <button\n class=\"stzh-chip__remove\"\n onClick={this.onRemoveClick}\n disabled={this.disabled}\n aria-label={this.removeLabel}\n type=\"button\"\n s-object-id={this.removeAnalyticsId || this.removeLabel}\n >\n <stzh-icon class=\"stzh-chip__remove-icon\" name=\"close\"></stzh-icon>\n </button>\n }\n\n {this.href ?\n <Chip\n ref={(el) => (this.chip = el as HTMLAnchorElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n :\n <Chip\n ref={(el) => (this.chip = el as HTMLButtonElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n }\n </div>\n </Host>\n );\n }\n}\n","/**\n * @prop --current-lines: Currently clamped lines number (can be used instead of `lines-{BREAKPOINT}` attributes)\n */\n\nstzh-clamp {\n @include host;\n --current-lines: var(--lines, 0);\n\n @include mq($from: small) {\n --current-lines: var(--lines-small, var(--lines, 0));\n }\n\n @include mq($from: medium) {\n --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));\n }\n\n @include mq($from: large) {\n --current-lines: var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0))));\n }\n\n @include mq($from: ultra) {\n --current-lines: var(--lines-ultra, var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0)))));\n }\n\n width: 100%;\n color: inherit;\n font-family: inherit;\n font-weight: inherit;\n font-style: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.stzh-clamp {\n position: relative;\n\n &__text {\n @include wordWrap;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n &.is-clone {\n position: absolute;\n visibility: hidden;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n }\n }\n\n &__trigger {\n margin-top: space('xxsmall');\n }\n\n &--is-not-expanded &__text,\n &__text.is-clone {\n -webkit-line-clamp: var(--current-lines);\n line-clamp: var(--current-lines);\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Method,\n Element,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n\nimport {\n StzhClampClampEvent,\n StzhClampExpandEvent\n} from \"../../index\";\n\nimport { StzhClampLocalizedText } from \"./stzh-clamp.localization\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-clamp\",\n styleUrl: \"stzh-clamp.scss\"\n})\nexport class StzhClamp {\n /** Translation strings */\n @Prop() localization: StzhClampLocalizedText;\n\n /** Line number */\n @Prop() lines: number = 1;\n /** Line number above small breakpoint */\n @Prop() linesSmall: number = 0;\n /** Line number above medium breakpoint */\n @Prop() linesMedium: number = 0;\n /** Line number above large breakpoint */\n @Prop() linesLarge: number = 0;\n /** Line number above ultra breakpoint */\n @Prop() linesUltra: number = 0;\n\n /** Whether clamping is expanded */\n @Prop() showExpandLink: boolean = false;\n\n /** Whether clamping is expanded */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /** Whether the text is currently clamped (readonly) */\n @Prop({ mutable: true, reflect: true }) clamped: boolean = false;\n\n @Element() element: HTMLStzhClampElement;\n\n /** Event when clamping state changed */\n @Event() stzhClamp: EventEmitter<StzhClampClampEvent>;\n\n /** Event when expanding state changed */\n @Event() stzhExpand: EventEmitter<StzhClampExpandEvent>;\n\n @Method()\n async update() {\n this.textCloneElement.innerHTML = this.textElement.innerHTML;\n this.updateClamped();\n }\n\n private textElement: HTMLElement;\n private textCloneElement: HTMLElement;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private mutationObserver: MutationObserver;\n\n private updateClamped = () => {\n if (!this.textCloneElement) {\n return;\n }\n\n const beforeClamped = this.clamped;\n this.clamped = this.textCloneElement.scrollHeight > this.textCloneElement.clientHeight;\n\n if (beforeClamped !== this.clamped) {\n this.stzhClamp.emit({\n component: \"stzh-clamp\",\n clamped: this.clamped\n });\n }\n }\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateClamped);\n }\n\n private handleMutaton = () => {\n this.update();\n }\n\n private handleExpandClick = () => {\n this.expanded = !this.expanded;\n\n this.stzhExpand.emit({\n component: \"stzh-clamp\",\n expanded: this.expanded\n });\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"clamp\");\n }\n }\n\n componentDidLoad() {\n this.mutationObserver = new MutationObserver(this.handleMutaton);\n this.mutationObserver.observe(this.textElement, {\n childList: true,\n subtree: true,\n });\n }\n\n componentDidRender() {\n this.update();\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-clamp\": true,\n \"stzh-clamp--is-not-expanded\": !this.expanded\n };\n\n return (\n <Host\n style={{\n '--lines': this.lines ? this.lines.toString() : null,\n '--lines-small': this.linesSmall ? this.linesSmall.toString() : null,\n '--lines-medium': this.linesMedium ? this.linesMedium.toString() : null,\n '--lines-large': this.linesLarge ? this.linesLarge.toString() : null,\n '--lines-ultra': this.linesUltra ? this.linesUltra.toString() : null,\n }}\n >\n <div class={classes}>\n <div\n ref={(el) => (this.textElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text\"\n >\n <slot></slot>\n </div>\n\n <div\n ref={(el) => (this.textCloneElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text is-clone\"\n aria-hidden=\"true\"\n ></div>\n\n {this.showExpandLink && this.clamped &&\n <stzh-link\n class=\"stzh-clamp__trigger\"\n a11yTabindex=\"-1\"\n aria-hidden=\"true\"\n onClick={this.handleExpandClick}\n >\n {!this.expanded ? this.localization.showMore : this.localization.showLess}\n </stzh-link>\n }\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"wnDAAA,IAAMA,EAAc,kiT,IC4BPC,EAAQC,EAAA,uB,uLAqFXC,KAAAC,eAA0B,MAyC1BD,KAAAE,YAAc,WACpB,IAAKC,EAAKF,eAAgB,CACxBE,EAAKC,U,CAGPD,EAAKF,eAAiB,K,EAGhBD,KAAAK,QAAU,SAACC,GACjBH,EAAKF,eAAiB,KAEtB,IAAMM,EAAa,IAAIC,WAAW,QAAS,CACzCC,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M,oBAENF,EAAA,cAGFA,EAAA,OACEM,IAAK,SAACC,GAAE,OAAMzC,EAAKoE,iBAAmB3B,CAA9B,EACRL,MAAM,4BAA2B,cACrB,SAGbvC,KAAKgH,gBAAkBhH,KAAKyE,SAC3BpC,EAAA,aACEE,MAAM,sBACN0B,aAAa,KAAI,cACL,OACZ3C,QAAStB,KAAKkF,oBAEZlF,KAAKmF,SAAWnF,KAAKyF,aAAawB,SAAWjH,KAAKyF,aAAayB,W,4HAxJzD,I"}
@@ -1,2 +0,0 @@
1
- System.register(["./p-290fcb28.system.js"],(function(t){"use strict";var i,a,r,o;return{setters:[function(t){i=t.r;a=t.h;r=t.a;o=t.g}],execute:function(){var s='.sc-stzh-ratio-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-ratio-h{display:none}.sc-stzh-ratio-h *.sc-stzh-ratio,.sc-stzh-ratio-h *.sc-stzh-ratio::before,.sc-stzh-ratio-h *.sc-stzh-ratio::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-ratio-h .has-focus.sc-stzh-ratio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-ratio-h .stzh-fylingfocus-focused.sc-stzh-ratio{outline-style:none !important}.sc-stzh-ratio-h .stzh-fylingfocus-focused.sc-stzh-ratio::-moz-focus-inner{border:0 !important}.sc-stzh-ratio-h{--background-color:var(--stzh-ratio-background-color);--ratio:0.5625}.sc-stzh-ratio-h .sc-stzh-ratio-s>*{position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover}.sc-stzh-ratio-h[fit=contain] .sc-stzh-ratio-s>*{-o-object-fit:contain;object-fit:contain}[portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}[ratio="16:9"].sc-stzh-ratio-h{--ratio:0.5625}[ratio="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}[ratio="1:1"].sc-stzh-ratio-h{--ratio:1}[ratio="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}[ratio="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}[ratio="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}[ratio="2:1"].sc-stzh-ratio-h{--ratio:0.5}[ratio="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}[ratio="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}[ratio="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}[ratio="4:3"].sc-stzh-ratio-h{--ratio:0.75}[ratio="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}[ratio="5:4"].sc-stzh-ratio-h{--ratio:0.8}[ratio="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}@media screen and (min-width: 600px){[ratio-small="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 600px){[ratio-small="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 600px){[ratio-small="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 600px){[ratio-small="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 600px){[ratio-small="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 600px){[ratio-small="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 600px){[ratio-small="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 600px){[ratio-small="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 600px){[ratio-small="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 600px){[ratio-small="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 600px){[ratio-small="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 600px){[ratio-small="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 600px){[ratio-small="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 600px){[ratio-small="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 800px){[ratio-smallheader="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 800px){[ratio-smallheader="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 800px){[ratio-smallheader="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 800px){[ratio-smallheader="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 800px){[ratio-smallheader="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 800px){[ratio-smallheader="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 800px){[ratio-smallheader="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 800px){[ratio-smallheader="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 800px){[ratio-smallheader="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 800px){[ratio-smallheader="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 800px){[ratio-smallheader="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 800px){[ratio-smallheader="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 800px){[ratio-smallheader="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 800px){[ratio-smallheader="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1024px){[ratio-medium="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1024px){[ratio-medium="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1024px){[ratio-medium="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1024px){[ratio-medium="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1024px){[ratio-medium="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1024px){[ratio-medium="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1024px){[ratio-medium="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1024px){[ratio-medium="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1024px){[ratio-medium="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1024px){[ratio-medium="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1024px){[ratio-medium="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1024px){[ratio-medium="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1024px){[ratio-medium="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1024px){[ratio-medium="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1260px){[ratio-large="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1260px){[ratio-large="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1260px){[ratio-large="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1260px){[ratio-large="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1260px){[ratio-large="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1260px){[ratio-large="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1260px){[ratio-large="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1260px){[ratio-large="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1260px){[ratio-large="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1260px){[ratio-large="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1260px){[ratio-large="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1260px){[ratio-large="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1260px){[ratio-large="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1260px){[ratio-large="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1440px){[ratio-ultra="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1440px){[ratio-ultra="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1440px){[ratio-ultra="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1440px){[ratio-ultra="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1440px){[ratio-ultra="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1440px){[ratio-ultra="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1440px){[ratio-ultra="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1440px){[ratio-ultra="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1440px){[ratio-ultra="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1440px){[ratio-ultra="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1440px){[ratio-ultra="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1440px){[ratio-ultra="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1440px){[ratio-ultra="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1440px){[ratio-ultra="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}.stzh-ratio.sc-stzh-ratio{position:relative;width:100%;padding-top:calc(var(--ratio) * 100%);background:var(--background-color)}';var e=t("stzh_ratio",function(){function t(t){i(this,t);this.ratio="16:9";this.ratioSmall="inherit";this.ratioMedium="inherit";this.ratioLarge="inherit";this.ratioUltra="inherit";this.portrait=false;this.fit="cover"}t.prototype.render=function(){var t={"stzh-ratio":true};return a(r,null,a("div",{class:t},a("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());e.style=s}}}));
2
- //# sourceMappingURL=p-a27c6c02.system.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhRatioCss","StzhRatio","exports","class_1","prototype","render","classes","h","Host","class"],"sources":["src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=scoped","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":["/**\n * @prop --ratio: Ratio in reverse (e.g. for 16:9 use `9 / 16`)\n * @prop --background-color: Background color of ratio area\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{\n nth(map-get($ratios, $ratioDefault), 2)\n / nth(map-get($ratios, $ratioDefault), 1)\n };\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n object-fit: cover;\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{\n nth(map-get($ratios, $ratioDefault), 1)\n / nth(map-get($ratios, $ratioDefault), 2)\n };\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: nth($value, 1);\n $secondNr: nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr / $firstNr};\n }\n }\n\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr / $secondNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$secondNr / $firstNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$firstNr / $secondNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n padding-top: calc(var(--ratio) * 100%);\n background: var(--background-color);\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop\n} from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n scoped: true\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop() ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop() ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop() ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop() ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop() ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"0JAAA,IAAMA,EAAe,kiT,ICkBRC,EAASC,EAAA,wB,mCAEU,O,gBAEiB,U,iBAEC,U,gBAED,U,gBAEA,U,cAGF,M,SAGO,O,CAIpDC,EAAAC,UAAAC,OAAA,WACE,IAAMC,EAAU,CACd,aAAc,MAGhB,OACEC,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAOH,GACVC,EAAA,c,4HA5BY,I"}