@oiz/stzh-components 4.6.0-beta1 → 4.6.0-beta2

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 (948) hide show
  1. package/dist/cjs/{app-globals-6a08057f.js → app-globals-7501aa08.js} +2 -2
  2. package/dist/cjs/{app-globals-6a08057f.js.map → app-globals-7501aa08.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  12. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  18. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  23. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  26. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-components.cjs.js +2 -2
  29. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-contact.cjs.entry.js +4 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  35. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
  38. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  43. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  53. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  54. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  62. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  82. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
  87. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +41 -14
  89. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  90. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  109. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  110. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  114. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  123. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  124. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  126. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +6 -3
  127. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +37 -1
  128. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  129. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +11 -24
  130. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  131. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  132. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  133. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  134. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  135. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  136. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  137. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  138. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  139. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  140. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  141. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  142. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  143. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  144. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  145. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  146. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  147. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  148. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  149. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  150. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  151. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.css +26 -35
  155. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +40 -13
  156. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  157. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +2 -2
  158. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +35 -22
  159. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  161. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  162. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  163. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  164. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  165. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  166. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  167. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  168. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  169. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  170. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  171. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  172. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  173. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  174. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  175. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  176. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  177. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  178. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  179. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  180. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  181. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  182. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  183. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  184. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  185. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  186. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  187. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  188. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  189. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  190. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  191. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  192. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  193. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  194. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  195. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  196. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  197. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  198. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  199. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  200. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  201. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  202. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  203. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  204. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  205. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  206. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  207. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  208. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  209. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  210. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  211. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  212. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  213. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  214. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  215. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  216. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  217. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  218. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  219. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  220. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  221. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  222. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  223. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  224. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  225. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  226. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  227. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  228. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  229. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  230. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  231. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  232. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  233. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  234. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  235. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  236. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  237. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  238. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  239. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  240. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  241. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  242. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  243. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  244. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  245. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  246. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  247. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  248. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  249. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  250. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  251. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  252. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  253. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  254. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  255. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  256. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  257. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  258. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  259. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  260. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  261. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  262. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  263. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  264. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  265. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  266. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  267. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  268. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  269. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  270. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  271. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  272. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  273. package/dist/components/index.js +1 -1
  274. package/dist/components/{p-69e0c8d2.js → p-00bfe201.js} +3 -3
  275. package/dist/components/{p-69e0c8d2.js.map → p-00bfe201.js.map} +1 -1
  276. package/dist/components/{p-c4fccd89.js → p-07336076.js} +3 -3
  277. package/dist/components/{p-c4fccd89.js.map → p-07336076.js.map} +1 -1
  278. package/dist/components/{p-a2828d2e.js → p-08363886.js} +9 -9
  279. package/dist/components/{p-a2828d2e.js.map → p-08363886.js.map} +1 -1
  280. package/dist/components/{p-9aff1354.js → p-0d14dffd.js} +7 -7
  281. package/dist/components/{p-9aff1354.js.map → p-0d14dffd.js.map} +1 -1
  282. package/dist/components/{p-111f7e01.js → p-10d1bf15.js} +4 -4
  283. package/dist/components/{p-111f7e01.js.map → p-10d1bf15.js.map} +1 -1
  284. package/dist/components/{p-ab25d4da.js → p-2f249d24.js} +7 -7
  285. package/dist/components/{p-ab25d4da.js.map → p-2f249d24.js.map} +1 -1
  286. package/dist/components/{p-b6faf10a.js → p-356399a0.js} +2 -2
  287. package/dist/components/{p-b6faf10a.js.map → p-356399a0.js.map} +1 -1
  288. package/dist/components/{p-5571eadc.js → p-39b23489.js} +2 -2
  289. package/dist/components/{p-5571eadc.js.map → p-39b23489.js.map} +1 -1
  290. package/dist/components/{p-5b94ed4e.js → p-3b8bf944.js} +7 -7
  291. package/dist/components/{p-5b94ed4e.js.map → p-3b8bf944.js.map} +1 -1
  292. package/dist/components/{p-e551f11e.js → p-3c00c24c.js} +9 -9
  293. package/dist/components/{p-e551f11e.js.map → p-3c00c24c.js.map} +1 -1
  294. package/dist/components/{p-3f3349b1.js → p-3de13c90.js} +8 -8
  295. package/dist/components/{p-3f3349b1.js.map → p-3de13c90.js.map} +1 -1
  296. package/dist/components/{p-dd1c0c0c.js → p-42e86bbd.js} +2 -2
  297. package/dist/components/{p-dd1c0c0c.js.map → p-42e86bbd.js.map} +1 -1
  298. package/dist/components/{p-7d7ac6fc.js → p-476fe818.js} +12 -12
  299. package/dist/components/{p-7d7ac6fc.js.map → p-476fe818.js.map} +1 -1
  300. package/dist/components/{p-e5cf7853.js → p-4c4a22d3.js} +2 -2
  301. package/dist/components/{p-e5cf7853.js.map → p-4c4a22d3.js.map} +1 -1
  302. package/dist/components/{p-b12e2861.js → p-4f39842d.js} +5 -5
  303. package/dist/components/{p-b12e2861.js.map → p-4f39842d.js.map} +1 -1
  304. package/dist/components/{p-97868e7a.js → p-556af4a4.js} +2 -2
  305. package/dist/components/{p-97868e7a.js.map → p-556af4a4.js.map} +1 -1
  306. package/dist/components/{p-2502ff26.js → p-5aa4ca6b.js} +2 -2
  307. package/dist/components/{p-2502ff26.js.map → p-5aa4ca6b.js.map} +1 -1
  308. package/dist/components/{p-d48fd359.js → p-60fc78bb.js} +7 -7
  309. package/dist/components/{p-d48fd359.js.map → p-60fc78bb.js.map} +1 -1
  310. package/dist/components/p-692cd6d0.js +90 -0
  311. package/dist/components/p-692cd6d0.js.map +1 -0
  312. package/dist/components/{p-1cfd0791.js → p-6dcd63da.js} +5 -5
  313. package/dist/components/{p-1cfd0791.js.map → p-6dcd63da.js.map} +1 -1
  314. package/dist/components/{p-18196788.js → p-700a2919.js} +2 -2
  315. package/dist/components/{p-18196788.js.map → p-700a2919.js.map} +1 -1
  316. package/dist/components/{p-963d59bf.js → p-7121e1bf.js} +3 -3
  317. package/dist/components/{p-963d59bf.js.map → p-7121e1bf.js.map} +1 -1
  318. package/dist/components/{p-506a00fc.js → p-7171b3a1.js} +10 -10
  319. package/dist/components/{p-506a00fc.js.map → p-7171b3a1.js.map} +1 -1
  320. package/dist/components/{p-570cd361.js → p-74ae8080.js} +6 -6
  321. package/dist/components/{p-570cd361.js.map → p-74ae8080.js.map} +1 -1
  322. package/dist/components/{p-02c5b1ba.js → p-78546000.js} +5 -5
  323. package/dist/components/{p-02c5b1ba.js.map → p-78546000.js.map} +1 -1
  324. package/dist/components/{p-479db6c6.js → p-7a4eaab2.js} +2 -2
  325. package/dist/components/{p-479db6c6.js.map → p-7a4eaab2.js.map} +1 -1
  326. package/dist/components/{p-36fb6c94.js → p-85745626.js} +2 -2
  327. package/dist/components/{p-36fb6c94.js.map → p-85745626.js.map} +1 -1
  328. package/dist/components/{p-72101ea0.js → p-85a0cd24.js} +2 -2
  329. package/dist/components/{p-72101ea0.js.map → p-85a0cd24.js.map} +1 -1
  330. package/dist/components/{p-72e977cc.js → p-893776e9.js} +3 -3
  331. package/dist/components/{p-72e977cc.js.map → p-893776e9.js.map} +1 -1
  332. package/dist/components/{p-387454b3.js → p-8c638ee6.js} +3 -3
  333. package/dist/components/{p-387454b3.js.map → p-8c638ee6.js.map} +1 -1
  334. package/dist/components/{p-34267046.js → p-8ea6e1c0.js} +2 -2
  335. package/dist/components/{p-34267046.js.map → p-8ea6e1c0.js.map} +1 -1
  336. package/dist/components/{p-d6702563.js → p-8ef5faf0.js} +9 -9
  337. package/dist/components/{p-d6702563.js.map → p-8ef5faf0.js.map} +1 -1
  338. package/dist/components/{p-15ee297d.js → p-8fb1ee85.js} +2 -2
  339. package/dist/components/{p-15ee297d.js.map → p-8fb1ee85.js.map} +1 -1
  340. package/dist/components/{p-6e10e5b1.js → p-9574ea75.js} +7 -7
  341. package/dist/components/{p-6e10e5b1.js.map → p-9574ea75.js.map} +1 -1
  342. package/dist/components/{p-613937f1.js → p-95b36277.js} +4 -4
  343. package/dist/components/{p-613937f1.js.map → p-95b36277.js.map} +1 -1
  344. package/dist/components/{p-486bf53e.js → p-95d2855a.js} +14 -14
  345. package/dist/components/{p-486bf53e.js.map → p-95d2855a.js.map} +1 -1
  346. package/dist/components/{p-aeb5dbdc.js → p-9aa3fad7.js} +6 -6
  347. package/dist/components/{p-aeb5dbdc.js.map → p-9aa3fad7.js.map} +1 -1
  348. package/dist/components/{p-f7920d42.js → p-9ad22ce8.js} +3 -3
  349. package/dist/components/{p-f7920d42.js.map → p-9ad22ce8.js.map} +1 -1
  350. package/dist/components/{p-18ba315e.js → p-9c18e9fe.js} +2 -2
  351. package/dist/components/{p-18ba315e.js.map → p-9c18e9fe.js.map} +1 -1
  352. package/dist/components/{p-ea3c0ed4.js → p-9dba6e5f.js} +6 -6
  353. package/dist/components/{p-ea3c0ed4.js.map → p-9dba6e5f.js.map} +1 -1
  354. package/dist/components/{p-14716cc2.js → p-a02372f5.js} +2 -2
  355. package/dist/components/{p-14716cc2.js.map → p-a02372f5.js.map} +1 -1
  356. package/dist/components/{p-7c4e756c.js → p-a2659715.js} +2 -2
  357. package/dist/components/{p-7c4e756c.js.map → p-a2659715.js.map} +1 -1
  358. package/dist/components/{p-c5124a8b.js → p-a3c5c1b3.js} +2 -2
  359. package/dist/components/{p-c5124a8b.js.map → p-a3c5c1b3.js.map} +1 -1
  360. package/dist/components/{p-a0023430.js → p-a5acb217.js} +3 -3
  361. package/dist/components/{p-a0023430.js.map → p-a5acb217.js.map} +1 -1
  362. package/dist/components/{p-12c94697.js → p-a7393afc.js} +14 -14
  363. package/dist/components/{p-12c94697.js.map → p-a7393afc.js.map} +1 -1
  364. package/dist/components/{p-c5a240bd.js → p-a773eb1b.js} +6 -6
  365. package/dist/components/{p-c5a240bd.js.map → p-a773eb1b.js.map} +1 -1
  366. package/dist/components/{p-6897315f.js → p-a87c8ead.js} +2 -2
  367. package/dist/components/{p-6897315f.js.map → p-a87c8ead.js.map} +1 -1
  368. package/dist/components/{p-63c4d8c4.js → p-ace11500.js} +3 -3
  369. package/dist/components/{p-63c4d8c4.js.map → p-ace11500.js.map} +1 -1
  370. package/dist/components/{p-151a98a9.js → p-ad34b5e0.js} +2 -2
  371. package/dist/components/{p-151a98a9.js.map → p-ad34b5e0.js.map} +1 -1
  372. package/dist/components/{p-109076c9.js → p-b03368b3.js} +7 -7
  373. package/dist/components/{p-109076c9.js.map → p-b03368b3.js.map} +1 -1
  374. package/dist/components/{p-98aa0418.js → p-b2eca173.js} +4 -4
  375. package/dist/components/{p-98aa0418.js.map → p-b2eca173.js.map} +1 -1
  376. package/dist/components/{p-26edabbb.js → p-b35195c8.js} +4 -4
  377. package/dist/components/{p-26edabbb.js.map → p-b35195c8.js.map} +1 -1
  378. package/dist/components/{p-be365aa5.js → p-b5caf3f4.js} +3 -3
  379. package/dist/components/{p-be365aa5.js.map → p-b5caf3f4.js.map} +1 -1
  380. package/dist/components/{p-4a78990f.js → p-b84d0233.js} +4 -4
  381. package/dist/components/{p-4a78990f.js.map → p-b84d0233.js.map} +1 -1
  382. package/dist/components/{p-deb38d3f.js → p-b8f2532a.js} +5 -5
  383. package/dist/components/{p-deb38d3f.js.map → p-b8f2532a.js.map} +1 -1
  384. package/dist/components/{p-569f84cb.js → p-ba8edf1e.js} +2 -2
  385. package/dist/components/{p-569f84cb.js.map → p-ba8edf1e.js.map} +1 -1
  386. package/dist/components/{p-e3182412.js → p-bb38e284.js} +3 -3
  387. package/dist/components/{p-e3182412.js.map → p-bb38e284.js.map} +1 -1
  388. package/dist/components/{p-50945c16.js → p-c5aa3de6.js} +8 -8
  389. package/dist/components/{p-50945c16.js.map → p-c5aa3de6.js.map} +1 -1
  390. package/dist/components/{p-8d606617.js → p-cd95008d.js} +2 -2
  391. package/dist/components/{p-8d606617.js.map → p-cd95008d.js.map} +1 -1
  392. package/dist/components/{p-12bdcf8a.js → p-cdbd62e3.js} +12 -12
  393. package/dist/components/{p-12bdcf8a.js.map → p-cdbd62e3.js.map} +1 -1
  394. package/dist/components/{p-c06cc6c5.js → p-ce788661.js} +2 -2
  395. package/dist/components/{p-c06cc6c5.js.map → p-ce788661.js.map} +1 -1
  396. package/dist/components/{p-551fa57d.js → p-d0ecd5c0.js} +3 -3
  397. package/dist/components/{p-551fa57d.js.map → p-d0ecd5c0.js.map} +1 -1
  398. package/dist/components/{p-1816eeeb.js → p-d1dcb448.js} +6 -6
  399. package/dist/components/{p-1816eeeb.js.map → p-d1dcb448.js.map} +1 -1
  400. package/dist/components/{p-fdc914f5.js → p-ddb9cb15.js} +7 -7
  401. package/dist/components/{p-fdc914f5.js.map → p-ddb9cb15.js.map} +1 -1
  402. package/dist/components/{p-8cefcb61.js → p-e4ff57a8.js} +4 -4
  403. package/dist/components/{p-8cefcb61.js.map → p-e4ff57a8.js.map} +1 -1
  404. package/dist/components/{p-36681d03.js → p-f020ba27.js} +3 -3
  405. package/dist/components/{p-36681d03.js.map → p-f020ba27.js.map} +1 -1
  406. package/dist/components/{p-3efe43d2.js → p-f3c5a9d6.js} +3 -3
  407. package/dist/components/{p-3efe43d2.js.map → p-f3c5a9d6.js.map} +1 -1
  408. package/dist/components/{p-da83a0ad.js → p-f625c800.js} +11 -11
  409. package/dist/components/{p-da83a0ad.js.map → p-f625c800.js.map} +1 -1
  410. package/dist/components/{p-6af552c7.js → p-fae759aa.js} +6 -6
  411. package/dist/components/{p-6af552c7.js.map → p-fae759aa.js.map} +1 -1
  412. package/dist/components/{p-902ed395.js → p-ffbf0fbb.js} +7 -7
  413. package/dist/components/{p-902ed395.js.map → p-ffbf0fbb.js.map} +1 -1
  414. package/dist/components/stzh-accordion-item.js +1 -1
  415. package/dist/components/stzh-accordion.js +1 -1
  416. package/dist/components/stzh-actions.js +1 -1
  417. package/dist/components/stzh-actionset.js +1 -1
  418. package/dist/components/stzh-amount.js +9 -9
  419. package/dist/components/stzh-anchornav.js +5 -5
  420. package/dist/components/stzh-app-nav.js +1 -1
  421. package/dist/components/stzh-appointments.js +13 -13
  422. package/dist/components/stzh-archivelist.js +6 -6
  423. package/dist/components/stzh-audio.js +7 -7
  424. package/dist/components/stzh-badge.js +1 -1
  425. package/dist/components/stzh-banner.js +3 -3
  426. package/dist/components/stzh-bathstatus-item.js +1 -1
  427. package/dist/components/stzh-bathstatus-list.js +6 -6
  428. package/dist/components/stzh-breadcrumb.js +1 -1
  429. package/dist/components/stzh-button.js +1 -1
  430. package/dist/components/stzh-buttongroup.js +1 -1
  431. package/dist/components/stzh-calendar.js +1 -1
  432. package/dist/components/stzh-card-navigation.js +2 -2
  433. package/dist/components/stzh-card-searchresult.js +14 -14
  434. package/dist/components/stzh-card-superteaser.js +13 -13
  435. package/dist/components/stzh-card.js +1 -1
  436. package/dist/components/stzh-cardlist.js +1 -1
  437. package/dist/components/stzh-carousel.js +1 -1
  438. package/dist/components/stzh-cell.js +1 -1
  439. package/dist/components/stzh-chart.js +1 -1
  440. package/dist/components/stzh-checkbox.js +1 -1
  441. package/dist/components/stzh-checkboxgroup.js +6 -6
  442. package/dist/components/stzh-chip.js +1 -1
  443. package/dist/components/stzh-chipgroup.js +1 -1
  444. package/dist/components/stzh-chipselect.js +1 -1
  445. package/dist/components/stzh-clamp.js +1 -1
  446. package/dist/components/stzh-company-logo.js +1 -1
  447. package/dist/components/stzh-contact-cv.js +4 -4
  448. package/dist/components/stzh-contact.js +11 -7
  449. package/dist/components/stzh-contact.js.map +1 -1
  450. package/dist/components/stzh-container.js +1 -1
  451. package/dist/components/stzh-content.js +1 -1
  452. package/dist/components/stzh-cspace.js +1 -1
  453. package/dist/components/stzh-cta.js +3 -3
  454. package/dist/components/stzh-datalist-item.js +1 -1
  455. package/dist/components/stzh-datalist.js +1 -1
  456. package/dist/components/stzh-datamessagelist-item.js +11 -11
  457. package/dist/components/stzh-datamessagelist.js +1 -1
  458. package/dist/components/stzh-datatable.js +16 -16
  459. package/dist/components/stzh-datepicker.js +1 -1
  460. package/dist/components/stzh-daterange.js +4 -4
  461. package/dist/components/stzh-details.js +1 -1
  462. package/dist/components/stzh-dialog.js +1 -1
  463. package/dist/components/stzh-disturber.js +4 -4
  464. package/dist/components/stzh-dropdown.js +1 -1
  465. package/dist/components/stzh-editor.js +4 -4
  466. package/dist/components/stzh-eventdata.js +1 -1
  467. package/dist/components/stzh-eventinfo.js +5 -5
  468. package/dist/components/stzh-feedreader-item.js +2 -2
  469. package/dist/components/stzh-feedreader.js +8 -8
  470. package/dist/components/stzh-fieldset.js +1 -1
  471. package/dist/components/stzh-figure.js +1 -1
  472. package/dist/components/stzh-flyingfocus.js +1 -1
  473. package/dist/components/stzh-footer.js +4 -4
  474. package/dist/components/stzh-gallery.js +8 -8
  475. package/dist/components/stzh-geo-ref-data.js +25 -25
  476. package/dist/components/stzh-ghettobox.js +1 -1
  477. package/dist/components/stzh-header.js +1 -1
  478. package/dist/components/stzh-heading.js +1 -1
  479. package/dist/components/stzh-homepage-search.js +2 -2
  480. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  481. package/dist/components/stzh-hr.js +1 -1
  482. package/dist/components/stzh-hspace.js +1 -1
  483. package/dist/components/stzh-http-error.js +7 -7
  484. package/dist/components/stzh-icon.js +1 -1
  485. package/dist/components/stzh-iframe.js +1 -1
  486. package/dist/components/stzh-imagecomparison.js +3 -3
  487. package/dist/components/stzh-input.js +1 -1
  488. package/dist/components/stzh-invert.js +1 -1
  489. package/dist/components/stzh-link.js +1 -1
  490. package/dist/components/stzh-linklist.js +10 -10
  491. package/dist/components/stzh-list-item.js +1 -1
  492. package/dist/components/stzh-list.js +1 -1
  493. package/dist/components/stzh-loader.js +1 -1
  494. package/dist/components/stzh-loadingbar.js +1 -1
  495. package/dist/components/stzh-menu-item.js +1 -1
  496. package/dist/components/stzh-menu.js +1 -1
  497. package/dist/components/stzh-message.js +1 -1
  498. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  499. package/dist/components/stzh-monthyearpicker.js +5 -5
  500. package/dist/components/stzh-offline-indicator.js +6 -6
  501. package/dist/components/stzh-olmap.js +1 -1
  502. package/dist/components/stzh-overlay.js +1 -1
  503. package/dist/components/stzh-page-skiplinks.js +1 -1
  504. package/dist/components/stzh-pagebottom.js +8 -8
  505. package/dist/components/stzh-pagecontent.js +1 -1
  506. package/dist/components/stzh-pagetitle-hero.js +1 -1
  507. package/dist/components/stzh-pagetitle-home.js +2 -2
  508. package/dist/components/stzh-pagetitle.js +2 -2
  509. package/dist/components/stzh-pagination.js +1 -1
  510. package/dist/components/stzh-panorama.js +12 -12
  511. package/dist/components/stzh-pi-content-navigation.js +3 -3
  512. package/dist/components/stzh-pi-menu.js +3 -3
  513. package/dist/components/stzh-pi-pagetitle.js +2 -2
  514. package/dist/components/stzh-pi-quote.js +1 -1
  515. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  516. package/dist/components/stzh-pi-teaser-layout.js +42 -15
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +2 -2
  519. package/dist/components/stzh-pkzh-qr.js +19 -19
  520. package/dist/components/stzh-poicard.js +1 -1
  521. package/dist/components/stzh-poilist.js +18 -18
  522. package/dist/components/stzh-popover.js +1 -1
  523. package/dist/components/stzh-print.js +1 -1
  524. package/dist/components/stzh-quote.js +1 -1
  525. package/dist/components/stzh-radio.js +1 -1
  526. package/dist/components/stzh-radiogroup.js +1 -1
  527. package/dist/components/stzh-ratio.js +1 -1
  528. package/dist/components/stzh-readspeaker.js +5 -5
  529. package/dist/components/stzh-richtext.js +1 -1
  530. package/dist/components/stzh-row.js +1 -1
  531. package/dist/components/stzh-saptcha.js +8 -8
  532. package/dist/components/stzh-scrollup.js +1 -1
  533. package/dist/components/stzh-search.js +17 -17
  534. package/dist/components/stzh-section.js +2 -2
  535. package/dist/components/stzh-share.js +1 -1
  536. package/dist/components/stzh-show.js +1 -1
  537. package/dist/components/stzh-sitemap.js +9 -9
  538. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  539. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  540. package/dist/components/stzh-skiplink.js +1 -1
  541. package/dist/components/stzh-socialmediastream-item.js +1 -1
  542. package/dist/components/stzh-socialmediastream.js +6 -6
  543. package/dist/components/stzh-sortable.js +1 -1
  544. package/dist/components/stzh-space.js +1 -1
  545. package/dist/components/stzh-status.js +1 -1
  546. package/dist/components/stzh-stepper-item.js +1 -1
  547. package/dist/components/stzh-stepper.js +5 -5
  548. package/dist/components/stzh-sticky-actions.js +2 -2
  549. package/dist/components/stzh-sticky.js +1 -1
  550. package/dist/components/stzh-table.js +1 -1
  551. package/dist/components/stzh-tag.js +1 -1
  552. package/dist/components/stzh-text.js +1 -1
  553. package/dist/components/stzh-textandimage.js +1 -1
  554. package/dist/components/stzh-timeline-item.js +3 -3
  555. package/dist/components/stzh-timeline.js +1 -1
  556. package/dist/components/stzh-timepicker.js +5 -5
  557. package/dist/components/stzh-toast.js +1 -1
  558. package/dist/components/stzh-toastbar.js +1 -1
  559. package/dist/components/stzh-toggle.js +6 -6
  560. package/dist/components/stzh-tooltip.js +1 -1
  561. package/dist/components/stzh-twocolumns.js +1 -1
  562. package/dist/components/stzh-upload.js +14 -14
  563. package/dist/components/stzh-vbz-carousel.js +1 -1
  564. package/dist/components/stzh-vbz-intro.js +4 -4
  565. package/dist/components/stzh-vbz-linechip.js +1 -1
  566. package/dist/components/stzh-vbz-majorticker.js +6 -6
  567. package/dist/components/stzh-vbz-ticker.js +6 -6
  568. package/dist/components/stzh-visuallyhidden.js +2 -2
  569. package/dist/components/stzh-vspace.js +2 -2
  570. package/dist/components/stzh-youtube.js +6 -6
  571. package/dist/esm/{app-globals-9b613e90.js → app-globals-c4439d36.js} +2 -2
  572. package/dist/esm/{app-globals-9b613e90.js.map → app-globals-c4439d36.js.map} +1 -1
  573. package/dist/esm/loader.js +2 -2
  574. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  575. package/dist/esm/stzh-actions_6.entry.js +9 -9
  576. package/dist/esm/stzh-actionset.entry.js +5 -5
  577. package/dist/esm/stzh-amount.entry.js +1 -1
  578. package/dist/esm/stzh-anchornav.entry.js +1 -1
  579. package/dist/esm/stzh-app-nav.entry.js +1 -1
  580. package/dist/esm/stzh-appointments.entry.js +1 -1
  581. package/dist/esm/stzh-audio.entry.js +3 -3
  582. package/dist/esm/stzh-badge_3.entry.js +3 -3
  583. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  584. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  585. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  586. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  587. package/dist/esm/stzh-card.entry.js +4 -4
  588. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  589. package/dist/esm/stzh-carousel.entry.js +2 -2
  590. package/dist/esm/stzh-chart.entry.js +1 -1
  591. package/dist/esm/stzh-checkbox.entry.js +3 -3
  592. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  593. package/dist/esm/stzh-chip.entry.js +1 -1
  594. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  595. package/dist/esm/stzh-chipselect.entry.js +4 -4
  596. package/dist/esm/stzh-clamp.entry.js +2 -2
  597. package/dist/esm/stzh-company-logo.entry.js +1 -1
  598. package/dist/esm/stzh-components.js +2 -2
  599. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  600. package/dist/esm/stzh-contact.entry.js +4 -2
  601. package/dist/esm/stzh-contact.entry.js.map +1 -1
  602. package/dist/esm/stzh-content.entry.js +1 -1
  603. package/dist/esm/stzh-cta.entry.js +1 -1
  604. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  605. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  606. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  607. package/dist/esm/stzh-datepicker_3.entry.js +9 -9
  608. package/dist/esm/stzh-daterange.entry.js +1 -1
  609. package/dist/esm/stzh-details.entry.js +1 -1
  610. package/dist/esm/stzh-dialog.entry.js +2 -2
  611. package/dist/esm/stzh-disturber.entry.js +1 -1
  612. package/dist/esm/stzh-dropdown.entry.js +4 -4
  613. package/dist/esm/stzh-editor.entry.js +1 -1
  614. package/dist/esm/stzh-eventdata.entry.js +1 -1
  615. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  616. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  617. package/dist/esm/stzh-feedreader.entry.js +1 -1
  618. package/dist/esm/stzh-figure.entry.js +1 -1
  619. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  620. package/dist/esm/stzh-footer.entry.js +1 -1
  621. package/dist/esm/stzh-gallery.entry.js +1 -1
  622. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  623. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  624. package/dist/esm/stzh-header_2.entry.js +1 -1
  625. package/dist/esm/stzh-heading.entry.js +1 -1
  626. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  627. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  628. package/dist/esm/stzh-hr.entry.js +1 -1
  629. package/dist/esm/stzh-hspace.entry.js +2 -2
  630. package/dist/esm/stzh-http-error.entry.js +1 -1
  631. package/dist/esm/stzh-iframe.entry.js +4 -4
  632. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  633. package/dist/esm/stzh-input.entry.js +5 -5
  634. package/dist/esm/stzh-invert.entry.js +1 -1
  635. package/dist/esm/stzh-link.entry.js +1 -1
  636. package/dist/esm/stzh-linklist.entry.js +1 -1
  637. package/dist/esm/stzh-list_2.entry.js +2 -2
  638. package/dist/esm/stzh-loader_2.entry.js +2 -2
  639. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  640. package/dist/esm/stzh-menu_2.entry.js +2 -2
  641. package/dist/esm/stzh-message.entry.js +2 -2
  642. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  643. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  644. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  645. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  646. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  647. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  648. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  649. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  650. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  651. package/dist/esm/stzh-panorama.entry.js +2 -2
  652. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  653. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  654. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  655. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  656. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  657. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  658. package/dist/esm/stzh-pi-teaser-layout.entry.js +41 -14
  659. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  660. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  661. package/dist/esm/stzh-poicard.entry.js +1 -1
  662. package/dist/esm/stzh-poilist.entry.js +1 -1
  663. package/dist/esm/stzh-popover.entry.js +1 -1
  664. package/dist/esm/stzh-print_2.entry.js +2 -2
  665. package/dist/esm/stzh-quote.entry.js +1 -1
  666. package/dist/esm/stzh-ratio.entry.js +1 -1
  667. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  668. package/dist/esm/stzh-saptcha.entry.js +2 -2
  669. package/dist/esm/stzh-scrollup.entry.js +1 -1
  670. package/dist/esm/stzh-search.entry.js +2 -2
  671. package/dist/esm/stzh-section.entry.js +2 -2
  672. package/dist/esm/stzh-sitemap.entry.js +1 -1
  673. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  674. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  675. package/dist/esm/stzh-skiplink.entry.js +1 -1
  676. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  677. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  678. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  679. package/dist/esm/stzh-stepper.entry.js +3 -3
  680. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  681. package/dist/esm/stzh-sticky.entry.js +1 -1
  682. package/dist/esm/stzh-table.entry.js +1 -1
  683. package/dist/esm/stzh-text.entry.js +2 -2
  684. package/dist/esm/stzh-textandimage.entry.js +1 -1
  685. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  686. package/dist/esm/stzh-timeline.entry.js +1 -1
  687. package/dist/esm/stzh-timepicker.entry.js +1 -1
  688. package/dist/esm/stzh-toast_2.entry.js +3 -3
  689. package/dist/esm/stzh-toggle.entry.js +3 -3
  690. package/dist/esm/stzh-tooltip.entry.js +1 -1
  691. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  692. package/dist/esm/stzh-upload.entry.js +3 -3
  693. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  694. package/dist/esm/stzh-vspace.entry.js +2 -2
  695. package/dist/esm/stzh-youtube.entry.js +1 -1
  696. package/dist/stzh-components/{p-f76bc9ba.entry.js → p-015a35bf.entry.js} +2 -2
  697. package/dist/stzh-components/{p-a42eb9ff.entry.js → p-03c2d367.entry.js} +2 -2
  698. package/dist/stzh-components/{p-7ddf3d51.entry.js → p-03e628b9.entry.js} +2 -2
  699. package/dist/stzh-components/{p-c9195859.entry.js → p-04c9ec6b.entry.js} +2 -2
  700. package/dist/stzh-components/{p-dcba6464.entry.js → p-0685f2ae.entry.js} +2 -2
  701. package/dist/stzh-components/{p-810e15c1.entry.js → p-0d54bcfc.entry.js} +2 -2
  702. package/dist/stzh-components/{p-913cc4d4.entry.js → p-0f546f1c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-38a9f136.entry.js → p-1187dcb3.entry.js} +2 -2
  704. package/dist/stzh-components/{p-0c340dcf.entry.js → p-12146af8.entry.js} +2 -2
  705. package/dist/stzh-components/p-15dc154c.entry.js +2 -0
  706. package/dist/stzh-components/p-15dc154c.entry.js.map +1 -0
  707. package/dist/stzh-components/{p-e973ae31.entry.js → p-1617973f.entry.js} +2 -2
  708. package/dist/stzh-components/{p-0f29cccb.entry.js → p-16552049.entry.js} +2 -2
  709. package/dist/stzh-components/{p-ad9d3926.entry.js → p-1844d99e.entry.js} +2 -2
  710. package/dist/stzh-components/{p-488de0c8.entry.js → p-187fd37a.entry.js} +2 -2
  711. package/dist/stzh-components/{p-fe64fe26.entry.js → p-1bb06be6.entry.js} +2 -2
  712. package/dist/stzh-components/{p-5e0d522c.entry.js → p-1f4f76b1.entry.js} +2 -2
  713. package/dist/stzh-components/{p-4cbc6aaa.entry.js → p-1f668f53.entry.js} +2 -2
  714. package/dist/stzh-components/p-2096b877.entry.js +2 -0
  715. package/dist/stzh-components/p-2096b877.entry.js.map +1 -0
  716. package/dist/stzh-components/{p-838a40cd.entry.js → p-21d2d28d.entry.js} +2 -2
  717. package/dist/stzh-components/{p-609a9d4a.entry.js → p-26792e28.entry.js} +2 -2
  718. package/dist/stzh-components/{p-d29ff5f4.entry.js → p-2a0fa100.entry.js} +2 -2
  719. package/dist/stzh-components/{p-c475f153.entry.js → p-2d50d767.entry.js} +2 -2
  720. package/dist/stzh-components/{p-d3b51ee5.entry.js → p-3056b956.entry.js} +2 -2
  721. package/dist/stzh-components/{p-0c1c23b6.entry.js → p-3071b6f4.entry.js} +2 -2
  722. package/dist/stzh-components/{p-65f98e78.entry.js → p-32448e73.entry.js} +2 -2
  723. package/dist/stzh-components/{p-d956a33d.entry.js → p-34c68f20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-3be9615c.entry.js → p-35be1f2c.entry.js} +2 -2
  725. package/dist/stzh-components/{p-1c858aa2.entry.js → p-38104164.entry.js} +2 -2
  726. package/dist/stzh-components/p-3bc24ea1.entry.js +2 -0
  727. package/dist/stzh-components/p-3bc24ea1.entry.js.map +1 -0
  728. package/dist/stzh-components/{p-ce1a02f6.entry.js → p-3d3d0515.entry.js} +2 -2
  729. package/dist/stzh-components/{p-0422500c.entry.js → p-42a3a0df.entry.js} +2 -2
  730. package/dist/stzh-components/{p-a58b97fc.entry.js → p-450c13f2.entry.js} +2 -2
  731. package/dist/stzh-components/{p-b77def39.entry.js → p-4539e17f.entry.js} +2 -2
  732. package/dist/stzh-components/{p-7499bdb7.entry.js → p-46dcce84.entry.js} +2 -2
  733. package/dist/stzh-components/{p-a74ed640.entry.js → p-46e5f084.entry.js} +2 -2
  734. package/dist/stzh-components/{p-08dcf795.entry.js → p-46fc5ee0.entry.js} +2 -2
  735. package/dist/stzh-components/{p-c023e0ce.js → p-4a7b6f37.js} +2 -2
  736. package/dist/stzh-components/{p-4538072a.entry.js → p-4b754125.entry.js} +2 -2
  737. package/dist/stzh-components/{p-c47d9a87.entry.js → p-4c8d577f.entry.js} +2 -2
  738. package/dist/stzh-components/{p-faddaae7.entry.js → p-4dbbea21.entry.js} +2 -2
  739. package/dist/stzh-components/{p-e01d37b9.entry.js → p-4f3149ca.entry.js} +2 -2
  740. package/dist/stzh-components/{p-70753f8e.entry.js → p-4ff33b79.entry.js} +2 -2
  741. package/dist/stzh-components/{p-7016efd0.entry.js → p-51bf87d0.entry.js} +2 -2
  742. package/dist/stzh-components/{p-27e51cbb.entry.js → p-5725e544.entry.js} +2 -2
  743. package/dist/stzh-components/{p-de0d236c.entry.js → p-582d0259.entry.js} +2 -2
  744. package/dist/stzh-components/{p-d687ec3c.entry.js → p-598de693.entry.js} +2 -2
  745. package/dist/stzh-components/{p-1bc80799.entry.js → p-5a38eb4c.entry.js} +2 -2
  746. package/dist/stzh-components/{p-5da60d60.entry.js → p-5d877ea1.entry.js} +2 -2
  747. package/dist/stzh-components/{p-9abad95b.entry.js → p-5dc298a4.entry.js} +2 -2
  748. package/dist/stzh-components/{p-e513785b.entry.js → p-5fe85cfd.entry.js} +2 -2
  749. package/dist/stzh-components/{p-0d2af671.entry.js → p-6102443e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-7897b99c.entry.js → p-61491246.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1bbd32d5.entry.js → p-640e445b.entry.js} +2 -2
  752. package/dist/stzh-components/{p-46258bab.entry.js → p-65e099a0.entry.js} +2 -2
  753. package/dist/stzh-components/{p-bb1d4410.entry.js → p-664e7a09.entry.js} +2 -2
  754. package/dist/stzh-components/{p-f544acad.entry.js → p-6ee6bc09.entry.js} +2 -2
  755. package/dist/stzh-components/{p-dc40dd2a.entry.js → p-6f7f7e18.entry.js} +2 -2
  756. package/dist/stzh-components/{p-7ec6c8e7.entry.js → p-72203e1d.entry.js} +2 -2
  757. package/dist/stzh-components/{p-90bf38bb.entry.js → p-727c30cf.entry.js} +2 -2
  758. package/dist/stzh-components/{p-c0c7ebbc.entry.js → p-766dea66.entry.js} +2 -2
  759. package/dist/stzh-components/{p-d17e7d90.entry.js → p-7844b15a.entry.js} +2 -2
  760. package/dist/stzh-components/{p-296cf6eb.entry.js → p-7bc4d471.entry.js} +2 -2
  761. package/dist/stzh-components/{p-841118e5.entry.js → p-7cfa54b9.entry.js} +2 -2
  762. package/dist/stzh-components/{p-70251e01.entry.js → p-7facda3d.entry.js} +3 -3
  763. package/dist/stzh-components/{p-e05db400.entry.js → p-86c278a3.entry.js} +2 -2
  764. package/dist/stzh-components/{p-600c2da8.entry.js → p-8e133247.entry.js} +2 -2
  765. package/dist/stzh-components/{p-5b30efeb.entry.js → p-8e82664a.entry.js} +2 -2
  766. package/dist/stzh-components/{p-0cb8c27c.entry.js → p-8f90ba95.entry.js} +2 -2
  767. package/dist/stzh-components/{p-d82079be.entry.js → p-92bdcdad.entry.js} +2 -2
  768. package/dist/stzh-components/{p-c3ddf161.entry.js → p-93424a61.entry.js} +2 -2
  769. package/dist/stzh-components/{p-0cfc71d9.entry.js → p-94b7f926.entry.js} +2 -2
  770. package/dist/stzh-components/{p-1145c68c.entry.js → p-9cdb4375.entry.js} +2 -2
  771. package/dist/stzh-components/{p-00cb988b.entry.js → p-a12cf3bc.entry.js} +2 -2
  772. package/dist/stzh-components/{p-12e3c92b.entry.js → p-a38f6851.entry.js} +2 -2
  773. package/dist/stzh-components/{p-8b41f6fa.entry.js → p-a498a5f5.entry.js} +2 -2
  774. package/dist/stzh-components/{p-f12cc836.entry.js → p-a4cbd257.entry.js} +2 -2
  775. package/dist/stzh-components/{p-268a1fd3.entry.js → p-a75c4682.entry.js} +2 -2
  776. package/dist/stzh-components/{p-d38c0e15.entry.js → p-a8292b13.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a9c4e972.entry.js → p-a9b34a6b.entry.js} +2 -2
  778. package/dist/stzh-components/{p-287a6647.entry.js → p-abdf8b13.entry.js} +2 -2
  779. package/dist/stzh-components/{p-6a9a7903.entry.js → p-ac335416.entry.js} +2 -2
  780. package/dist/stzh-components/{p-875a572e.entry.js → p-af1aa423.entry.js} +2 -2
  781. package/dist/stzh-components/{p-e054a79d.entry.js → p-b145722f.entry.js} +2 -2
  782. package/dist/stzh-components/{p-d57e8dd4.entry.js → p-b311be28.entry.js} +2 -2
  783. package/dist/stzh-components/{p-dca76ae3.entry.js → p-b4bae13a.entry.js} +2 -2
  784. package/dist/stzh-components/{p-15a01b5b.entry.js → p-b4bdb4cf.entry.js} +2 -2
  785. package/dist/stzh-components/{p-60599b7d.entry.js → p-b5d4e8b9.entry.js} +2 -2
  786. package/dist/stzh-components/{p-3b278a40.entry.js → p-b95edacd.entry.js} +2 -2
  787. package/dist/stzh-components/{p-d9dda5eb.entry.js → p-bc0618bb.entry.js} +2 -2
  788. package/dist/stzh-components/{p-e9b37425.entry.js → p-bc837007.entry.js} +2 -2
  789. package/dist/stzh-components/{p-0b54e58b.entry.js → p-be74a213.entry.js} +2 -2
  790. package/dist/stzh-components/{p-b9354960.entry.js → p-c11a73d2.entry.js} +2 -2
  791. package/dist/stzh-components/{p-f1340147.entry.js → p-c1508338.entry.js} +2 -2
  792. package/dist/stzh-components/{p-7f29fab9.entry.js → p-c41804d9.entry.js} +2 -2
  793. package/dist/stzh-components/{p-9697d5b9.entry.js → p-c7d82187.entry.js} +2 -2
  794. package/dist/stzh-components/{p-2e8cca5f.entry.js → p-c8476e6e.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b11487ec.entry.js → p-c95bce0d.entry.js} +2 -2
  796. package/dist/stzh-components/{p-48e7e24c.entry.js → p-caf867f9.entry.js} +2 -2
  797. package/dist/stzh-components/{p-f86de9e1.entry.js → p-cb058b56.entry.js} +2 -2
  798. package/dist/stzh-components/{p-bd92bc55.entry.js → p-cfbc4a5e.entry.js} +2 -2
  799. package/dist/stzh-components/{p-a996b9af.entry.js → p-d2a97efc.entry.js} +2 -2
  800. package/dist/stzh-components/{p-e1c7c23f.entry.js → p-d516d56c.entry.js} +2 -2
  801. package/dist/stzh-components/p-d7ee085c.entry.js +2 -0
  802. package/dist/stzh-components/{p-adc9fb2b.entry.js.map → p-d7ee085c.entry.js.map} +1 -1
  803. package/dist/stzh-components/{p-6345a81b.entry.js → p-dac4534c.entry.js} +2 -2
  804. package/dist/stzh-components/{p-27a50935.entry.js → p-dacee3d1.entry.js} +2 -2
  805. package/dist/stzh-components/{p-3745bbac.entry.js → p-e11a606e.entry.js} +2 -2
  806. package/dist/stzh-components/{p-ec0c1d40.entry.js → p-e184e0fd.entry.js} +2 -2
  807. package/dist/stzh-components/{p-a10a167c.entry.js → p-e75cde0c.entry.js} +2 -2
  808. package/dist/stzh-components/{p-46554876.entry.js → p-ebb4b12f.entry.js} +2 -2
  809. package/dist/stzh-components/{p-a47ce522.entry.js → p-ec2ac6e9.entry.js} +2 -2
  810. package/dist/stzh-components/{p-48fb1f25.entry.js → p-ee311236.entry.js} +2 -2
  811. package/dist/stzh-components/{p-670b579b.entry.js → p-f3081e0e.entry.js} +2 -2
  812. package/dist/stzh-components/{p-140c21d2.entry.js → p-f47bd88c.entry.js} +2 -2
  813. package/dist/stzh-components/{p-56538913.entry.js → p-f52e344a.entry.js} +2 -2
  814. package/dist/stzh-components/{p-d73ba86d.entry.js → p-f61e61e7.entry.js} +2 -2
  815. package/dist/stzh-components/{p-62febcab.entry.js → p-f93f056f.entry.js} +2 -2
  816. package/dist/stzh-components/{p-f0defcda.entry.js → p-ff04778f.entry.js} +2 -2
  817. package/dist/stzh-components/{p-44240b20.entry.js → p-ff2877e7.entry.js} +2 -2
  818. package/dist/stzh-components/{p-4760e8fa.entry.js → p-ff41be1d.entry.js} +2 -2
  819. package/dist/stzh-components/stzh-components.esm.js +1 -1
  820. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  821. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +4 -0
  822. package/dist/types/components.d.ts +16 -0
  823. package/dist/vscode-data.json +8 -0
  824. package/package.json +2 -2
  825. package/dist/components/p-ef454347.js +0 -90
  826. package/dist/components/p-ef454347.js.map +0 -1
  827. package/dist/stzh-components/p-286c9d1c.entry.js +0 -2
  828. package/dist/stzh-components/p-286c9d1c.entry.js.map +0 -1
  829. package/dist/stzh-components/p-568ae693.entry.js +0 -2
  830. package/dist/stzh-components/p-568ae693.entry.js.map +0 -1
  831. package/dist/stzh-components/p-adc9fb2b.entry.js +0 -2
  832. package/dist/stzh-components/p-d37d10b5.entry.js +0 -2
  833. package/dist/stzh-components/p-d37d10b5.entry.js.map +0 -1
  834. /package/dist/stzh-components/{p-f76bc9ba.entry.js.map → p-015a35bf.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-a42eb9ff.entry.js.map → p-03c2d367.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-7ddf3d51.entry.js.map → p-03e628b9.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-c9195859.entry.js.map → p-04c9ec6b.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-dcba6464.entry.js.map → p-0685f2ae.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-810e15c1.entry.js.map → p-0d54bcfc.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-913cc4d4.entry.js.map → p-0f546f1c.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-38a9f136.entry.js.map → p-1187dcb3.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-0c340dcf.entry.js.map → p-12146af8.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e973ae31.entry.js.map → p-1617973f.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-0f29cccb.entry.js.map → p-16552049.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-ad9d3926.entry.js.map → p-1844d99e.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-488de0c8.entry.js.map → p-187fd37a.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-fe64fe26.entry.js.map → p-1bb06be6.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-5e0d522c.entry.js.map → p-1f4f76b1.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-4cbc6aaa.entry.js.map → p-1f668f53.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-838a40cd.entry.js.map → p-21d2d28d.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-609a9d4a.entry.js.map → p-26792e28.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-d29ff5f4.entry.js.map → p-2a0fa100.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-c475f153.entry.js.map → p-2d50d767.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-d3b51ee5.entry.js.map → p-3056b956.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-0c1c23b6.entry.js.map → p-3071b6f4.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-65f98e78.entry.js.map → p-32448e73.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-d956a33d.entry.js.map → p-34c68f20.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-3be9615c.entry.js.map → p-35be1f2c.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-1c858aa2.entry.js.map → p-38104164.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-ce1a02f6.entry.js.map → p-3d3d0515.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-0422500c.entry.js.map → p-42a3a0df.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-a58b97fc.entry.js.map → p-450c13f2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-b77def39.entry.js.map → p-4539e17f.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-7499bdb7.entry.js.map → p-46dcce84.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-a74ed640.entry.js.map → p-46e5f084.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-08dcf795.entry.js.map → p-46fc5ee0.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-c023e0ce.js.map → p-4a7b6f37.js.map} +0 -0
  868. /package/dist/stzh-components/{p-4538072a.entry.js.map → p-4b754125.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-c47d9a87.entry.js.map → p-4c8d577f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-faddaae7.entry.js.map → p-4dbbea21.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-e01d37b9.entry.js.map → p-4f3149ca.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-70753f8e.entry.js.map → p-4ff33b79.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-7016efd0.entry.js.map → p-51bf87d0.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-27e51cbb.entry.js.map → p-5725e544.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-de0d236c.entry.js.map → p-582d0259.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-d687ec3c.entry.js.map → p-598de693.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-1bc80799.entry.js.map → p-5a38eb4c.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-5da60d60.entry.js.map → p-5d877ea1.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-9abad95b.entry.js.map → p-5dc298a4.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-e513785b.entry.js.map → p-5fe85cfd.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0d2af671.entry.js.map → p-6102443e.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-7897b99c.entry.js.map → p-61491246.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-1bbd32d5.entry.js.map → p-640e445b.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-46258bab.entry.js.map → p-65e099a0.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-bb1d4410.entry.js.map → p-664e7a09.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-f544acad.entry.js.map → p-6ee6bc09.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dc40dd2a.entry.js.map → p-6f7f7e18.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-7ec6c8e7.entry.js.map → p-72203e1d.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-90bf38bb.entry.js.map → p-727c30cf.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-c0c7ebbc.entry.js.map → p-766dea66.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-d17e7d90.entry.js.map → p-7844b15a.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-296cf6eb.entry.js.map → p-7bc4d471.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-841118e5.entry.js.map → p-7cfa54b9.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-70251e01.entry.js.map → p-7facda3d.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-e05db400.entry.js.map → p-86c278a3.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-600c2da8.entry.js.map → p-8e133247.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5b30efeb.entry.js.map → p-8e82664a.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-0cb8c27c.entry.js.map → p-8f90ba95.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-d82079be.entry.js.map → p-92bdcdad.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-c3ddf161.entry.js.map → p-93424a61.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-0cfc71d9.entry.js.map → p-94b7f926.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-1145c68c.entry.js.map → p-9cdb4375.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-00cb988b.entry.js.map → p-a12cf3bc.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-12e3c92b.entry.js.map → p-a38f6851.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-8b41f6fa.entry.js.map → p-a498a5f5.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-f12cc836.entry.js.map → p-a4cbd257.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-268a1fd3.entry.js.map → p-a75c4682.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-d38c0e15.entry.js.map → p-a8292b13.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-a9c4e972.entry.js.map → p-a9b34a6b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-287a6647.entry.js.map → p-abdf8b13.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-6a9a7903.entry.js.map → p-ac335416.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-875a572e.entry.js.map → p-af1aa423.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-e054a79d.entry.js.map → p-b145722f.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-d57e8dd4.entry.js.map → p-b311be28.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-dca76ae3.entry.js.map → p-b4bae13a.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-15a01b5b.entry.js.map → p-b4bdb4cf.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-60599b7d.entry.js.map → p-b5d4e8b9.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-3b278a40.entry.js.map → p-b95edacd.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-d9dda5eb.entry.js.map → p-bc0618bb.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-e9b37425.entry.js.map → p-bc837007.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-0b54e58b.entry.js.map → p-be74a213.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-b9354960.entry.js.map → p-c11a73d2.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f1340147.entry.js.map → p-c1508338.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-7f29fab9.entry.js.map → p-c41804d9.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-9697d5b9.entry.js.map → p-c7d82187.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-2e8cca5f.entry.js.map → p-c8476e6e.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-b11487ec.entry.js.map → p-c95bce0d.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-48e7e24c.entry.js.map → p-caf867f9.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-f86de9e1.entry.js.map → p-cb058b56.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-bd92bc55.entry.js.map → p-cfbc4a5e.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-a996b9af.entry.js.map → p-d2a97efc.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-e1c7c23f.entry.js.map → p-d516d56c.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-6345a81b.entry.js.map → p-dac4534c.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-27a50935.entry.js.map → p-dacee3d1.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-3745bbac.entry.js.map → p-e11a606e.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-ec0c1d40.entry.js.map → p-e184e0fd.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-a10a167c.entry.js.map → p-e75cde0c.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-46554876.entry.js.map → p-ebb4b12f.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-a47ce522.entry.js.map → p-ec2ac6e9.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-48fb1f25.entry.js.map → p-ee311236.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-670b579b.entry.js.map → p-f3081e0e.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-140c21d2.entry.js.map → p-f47bd88c.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-56538913.entry.js.map → p-f52e344a.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-d73ba86d.entry.js.map → p-f61e61e7.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-62febcab.entry.js.map → p-f93f056f.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-f0defcda.entry.js.map → p-ff04778f.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-44240b20.entry.js.map → p-ff2877e7.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-4760e8fa.entry.js.map → p-ff41be1d.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,F as e,a as r,g as o}from"./p-ef5985a3.js";import{a}from"./p-9cc086e2.js";import{h}from"./p-87c329f2.js";import{S as d}from"./p-9531514f.js";import{c as n}from"./p-dae15605.js";const c=".sc-stzh-datepicker-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}";const l=c;const z=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popover){this.popover.hide()}};this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.dateAdapter=undefined;this.internalDateAdapter="iso";this.localization=undefined;this.buttonLabel=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popover}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(r,{key:"20e14b196ff9412583fe70d505cdcecfe087df6e",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"8b1bec87897482374e0c84c8b2c340a961fd6dbb",class:s},i("input",{key:"0f839dbf214dabd77b34ca69b66c6cf8b3a261b3",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(e,{key:"07d261251daeb9fe72c14354525ad9ab4c918ee1"},i("stzh-calendar",{key:"b26dadb8d64e70ea7dcb43de197c3ee69163eb36",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"f6775141a572717789a04e7c5c5ef2158e940f12",class:"stzh-datepicker__actions"},i("slot",{key:"23c04230a3de93ddd303b4d7b57c1f56c74a888f",name:"action"}))),!this.inline&&i("stzh-input",{key:"c041ccdda80067c51154afb36d0ecb2eb57e7119",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"59176c120b40c0292ed26420629b676ae937be83",ref:t=>this.popover=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"c081f5c3472077f23336352714c01dd409f1b281","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"fd06e8dff63bf5f71d4ae74341ddd40b9fc263e7",slot:"content"},i("stzh-calendar",{key:"32f756a68d52df096225bd7924e0ad94536afdf7",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"935174bcc6cc0fe5faaca2c1f99dd5cdffd12b81",class:"stzh-datepicker__actions"},i("slot",{key:"d860bd2c030b5fa0d153228dfc2c463f7d148acf",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};z.style=l;const p='.sc-stzh-radio-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio__field-wrapper.sc-stzh-radio{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}';const f=p;let u=0;const g=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.defaultChecked=undefined;this.label="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.a11yDescribedby=""}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${u++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const e=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":e,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(r,{key:"e997f5598308f6e849e701332254a007ee70c796","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"5dcba80ffa955361dcaf7736c6eb445d25011ca5",class:a},i("label",{key:"d5c4d7de15f5adaf9d6e1997106fa28353b69e3f",class:"stzh-radio__field-wrapper"},i("input",{key:"9abc5a9bfe6a31e3f7c39ffaec6afdf87e13cdf6",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"98abe1979b176794a02761930e63f22529c29874",class:"stzh-radio__mark"},i("div",{key:"d1ee472681b0159144e8b025643ba54c6a45ada9",class:"stzh-radio__check"})),i("div",{key:"1ec316ef5f49de5d67699ff1d10024d4cf34d0d7",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"229f962e86ea3418ef9d0801917ac702229a0a0e",class:"stzh-radio__marker"},i("span",{key:"7dac367b3b26e543d722a7cdc0e7017a37c48f0e",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"d21bc0969efd02afca82b0ced1497ed1a25a4032",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description)&&i(d,{key:"52d2504afac8cc23808e9e2f38d759bd13023fb7",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};g.style=f;const b=".sc-stzh-radiogroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}";const m=b;const _="stzh-radio, stzh-button[type=radio], stzh-card";let v=0;const k=class{constructor(s){t(this,s);this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(_));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)};this.localization=undefined;this.disabled=false;this.name=undefined;this.legend=undefined;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.checkedRadio=null;this.preventUpdateProperties=[]}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[n(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${v++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(_));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const e={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(r,{key:"ccfcdc486fdd9cb8a6aff8a79c75bb95b322dc2f","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"09cb7063c5bfa998df383a1838b6e0355dfb456b",class:e},this.legend&&i("legend",{key:"3504e81a24fd44b2d55deabb327c53e93e46825a",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"50a95a5b9a6026fdbbfbb126dd9ed462c9623557",class:"stzh-radiogroup__marker"},i("span",{key:"aa448db2f22303696236c36e8633d4cec1938575",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"27684df021ec72f7bd6c65b63cc665aa32432851",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"b2787c7d5da95a99cd4d2ceabee711676543232a",class:"stzh-radiogroup__fields"},i("slot",{key:"5fe6ef8b81698831e4d28133d22c1656208ac9fb"})),(this.errorUsed||this.description)&&i(d,{key:"902d3a52b6486764c160d22a7f93406ba8bfd91c",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};k.style=m;export{z as stzh_datepicker,g as stzh_radio,k as stzh_radiogroup};
2
- //# sourceMappingURL=p-913cc4d4.entry.js.map
1
+ import{r as t,c as s,h as i,F as e,a as r,g as o}from"./p-ef5985a3.js";import{a}from"./p-9cc086e2.js";import{h}from"./p-87c329f2.js";import{S as d}from"./p-9531514f.js";import{c as n}from"./p-dae15605.js";const c=".sc-stzh-datepicker-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}";const l=c;const z=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popover){this.popover.hide()}};this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.dateAdapter=undefined;this.internalDateAdapter="iso";this.localization=undefined;this.buttonLabel=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popover}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(r,{key:"4ff21a8fcd972b2619acae49ee0f22d3d0de2147",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"8bc68db9617210bdaf0130c979e5db77bd271366",class:s},i("input",{key:"3a580a6831d811e4bc3c9739aec1748b8a3bcf90",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(e,{key:"a3f0746ac7bfd4a627f1fafd42c524df03681600"},i("stzh-calendar",{key:"7514b26698908cfa19e0d965f0d838b471eef594",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"e893e6f4b8cdf52a16011dffe2a228baaf6eaa4b",class:"stzh-datepicker__actions"},i("slot",{key:"190ffdaab1a41fbd6b31e63ed4b91b9cbf648fe4",name:"action"}))),!this.inline&&i("stzh-input",{key:"5b06696ac06ec03e8db3e771957b6309a9b77a4a",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"033bb37fd62713376ad0ee54381b4f2d0cabe9be",ref:t=>this.popover=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"e1f192ae423808b8ae971f96f091d447a47beb10","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"a8ab8497e4bc47f2295bc77945748e3669dec0c6",slot:"content"},i("stzh-calendar",{key:"434c79f929e60d7007454550cb1d5cbff71fe743",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"e11f352cb4f42017425498de2454a4e259eb0d9f",class:"stzh-datepicker__actions"},i("slot",{key:"09e89c4faa8f7f7916fe1b4ee60e086a45cf787a",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};z.style=l;const p='.sc-stzh-radio-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio__field-wrapper.sc-stzh-radio{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}';const f=p;let u=0;const g=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.defaultChecked=undefined;this.label="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.a11yDescribedby=""}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${u++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const e=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":e,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(r,{key:"dbf8b21aff62ac6f5be491da9f776bd582c5d28c","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"eb23bd8a14864cbe0bc5cf612f2c08b68342eb59",class:a},i("label",{key:"e1c6512dd48fd52895d0e8e7e86dcace891a1910",class:"stzh-radio__field-wrapper"},i("input",{key:"50d32323f0e8d5cc13b707d4f7b8f15ef11f8e83",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"1bf92e53b6c0ef409f22a1db1ece84cf6bc545a4",class:"stzh-radio__mark"},i("div",{key:"a62785dd316355109f7ea356fa615ec31b27d507",class:"stzh-radio__check"})),i("div",{key:"3072bc6b20dc92e59aa23f96774aad632050ae2f",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"c0d39971566a8339b55596d09f83ae2dfe43041f",class:"stzh-radio__marker"},i("span",{key:"02d0d416d960f924c96635fdd7bfadd3a4a3191a",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"87ab5acf3285e08d28bcc5e31efd788a4895d317",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description)&&i(d,{key:"b791dde46aca700c13b08a4b79739e67f2edab42",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};g.style=f;const b=".sc-stzh-radiogroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}";const m=b;const _="stzh-radio, stzh-button[type=radio], stzh-card";let v=0;const k=class{constructor(s){t(this,s);this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(_));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)};this.localization=undefined;this.disabled=false;this.name=undefined;this.legend=undefined;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.checkedRadio=null;this.preventUpdateProperties=[]}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[n(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${v++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(_));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const e={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(r,{key:"3740b25eec16d9fad4da5980f3af77f404758ed5","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"378419593f1c8ec674ab05ae5c21d2ac479df47e",class:e},this.legend&&i("legend",{key:"9001d54aa5c245ea896e31571022fd3a2cfe689c",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"43daa7ee9ed341ec99d2296693093fa58bf0974a",class:"stzh-radiogroup__marker"},i("span",{key:"368c20f2f5549f3c8fe9cdea1651756fd101d44f",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"9e2af580b4cf76df2cb23085e9c00d3f4d5b5490",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"cd50cb2242004743ffe6806c21a863ac18189ed5",class:"stzh-radiogroup__fields"},i("slot",{key:"983b6975197132434ce41131edb29a531e71017b"})),(this.errorUsed||this.description)&&i(d,{key:"1ef57d5d0cf9fcaf96dc368b7f48c4f39acb8c21",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};k.style=m;export{z as stzh_datepicker,g as stzh_radio,k as stzh_radiogroup};
2
+ //# sourceMappingURL=p-0f546f1c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as c,a as o,g as s}from"./p-ef5985a3.js";const e=".sc-stzh-poicard-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-poicard-h,[stzh-hidden].sc-stzh-poicard-h{display:none}.sc-stzh-poicard-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-poicard-h *.sc-stzh-poicard,.sc-stzh-poicard-h *.sc-stzh-poicard::before,.sc-stzh-poicard-h *.sc-stzh-poicard::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-poicard-h .has-focus.sc-stzh-poicard{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-poicard-h .stzh-fylingfocus-focused.sc-stzh-poicard{outline-style:none !important}.sc-stzh-poicard-h .stzh-fylingfocus-focused.sc-stzh-poicard::-moz-focus-inner{border:0 !important}.sc-stzh-poicard-h{--background-color:var(--stzh-color-grey10);--hover-background-color:var(--stzh-color-grey20);--title-color:var(--stzh-color-primary70);--title-hover-color:var(--stzh-color-primary80);--title-background-color:var(--stzh-color-secondary20);--title-hover-background-color:var(--stzh-color-secondary30)}.stzh-poicard.sc-stzh-poicard{display:block;background-color:var(--background-color);text-decoration:none;height:100%}.stzh-poicard.sc-stzh-poicard:hover{--title-color:var(--title-hover-color);--title-background-color:var(--title-hover-background-color);--background-color:var(--hover-background-color)}.stzh-poicard__content.sc-stzh-poicard{display:flex;flex-direction:column;gap:var(--stzh-space-small)}.stzh-poicard__content-with-icon.sc-stzh-poicard,.stzh-poicard__content-with-badge.sc-stzh-poicard{display:flex;align-items:center;gap:var(--stzh-space-xxsmall)}.stzh-poicard__content-with-icon.sc-stzh-poicard stzh-text.sc-stzh-poicard{width:auto;--color:var(--stzh-color-primary70)}.stzh-poicard__content-with-icon.sc-stzh-poicard stzh-icon.sc-stzh-poicard{--color:var(--stzh-color-primary70)}.stzh-poicard__content-with-badge.sc-stzh-poicard stzh-text.sc-stzh-poicard{width:auto;--color:var(--stzh-color-grey80)}.stzh-poicard__content-head.sc-stzh-poicard{display:flex;align-items:center;padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-small);--color:var(--title-color);background-color:var(--title-background-color)}.stzh-poicard__content-head.sc-stzh-poicard stzh-icon.sc-stzh-poicard{--color:var(--stzh-color-primary)}.stzh-poicard__content-title.sc-stzh-poicard{width:100%;--color:var(--stzh-color-grey80)}.stzh-poicard.sc-stzh-poicard:hover .stzh-poicard__content-title.sc-stzh-poicard{--color:var(--stzh-color-black)}.stzh-poicard__content-body.sc-stzh-poicard{padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-medium);display:flex;flex-direction:column;gap:var(--stzh-space-xsmall)}";const a=e;const r=class{constructor(c){t(this,c);this.init=()=>{this.itemWatcher(this.item)};this.item=""}itemWatcher(t){if(!t){this._item=undefined}else if(typeof t==="string"){try{this._item=JSON.parse(t)}catch(t){this._item=undefined}}else{this._item=t}}connectedCallback(){this.init()}render(){const t={"stzh-poicard":true};return c(o,{key:"e652ba08e4f3ff94e863df38e310d78e76f44844"},c("a",{key:"f3196ec3550cadb829d5e3b7c4f0903917a1ed28",class:t,href:this._item.url,target:"_blank"},c("div",{key:"711ab9f916af075a2abad1ff745fa78eaff712ca",class:"stzh-poicard__content"},c("div",{key:"708aadb932728bcf99508ca0a7bc7a63d2d4db44",class:"stzh-poicard__content-head"},c("stzh-heading",{key:"7816aec4b6d453de2c50a0c8d459f1b330d0c5e0"},this._item.title)),c("div",{key:"019d773b7de7150343075ebbcedf255d08c10227",class:"stzh-poicard__content-body"},this._item.distance&&c("div",{key:"899d1110c0cf90d6186938ee71859ea1e06346dc",class:"stzh-poicard__content-with-icon"},c("stzh-icon",{key:"27eabbdae6483bfe2cc37e57e09f41e2f6d8e694",name:"pin"}),c("stzh-text",{key:"b696ad2178e7fa311437ebc8997ed53e369b72de"},this._item.distance)),this._item.temp&&c("div",{key:"093190a0144b6b225a9e9710ca3d772d133b8c35",class:"stzh-poicard__content-with-icon"},c("stzh-icon",{key:"e2406b95acba85c071875a13c91911ea77ea76e9",name:"thermometer"}),c("stzh-text",{key:"49a8bef000e5b6b388423962078ae0dbcc1153ec"},this._item.temp)),(this._item.statusMessageContent||this._item.statusMessage)&&c("div",{key:"1287e6f948859afc8b077c34cb28c9acaf9e8047",class:"stzh-poicard__content-with-badge"},this._item.statusMessage&&c("stzh-text",{key:"6d73eaae36016d42866cb984667a47051d6b2133",size:"milli"},this._item.statusMessage),this._item.statusMessageContent&&c("stzh-chip",{key:"dd79e37445a32b0ae190e3c7cd0350523d967c86",variant:"tag",size:"small",inverted:true,icon:"",type:this._item.success?"default":"error",label:this._item.statusMessageContent}))))))}get element(){return s(this)}static get watchers(){return{item:["itemWatcher"]}}};r.style=a;export{r as stzh_poicard};
2
- //# sourceMappingURL=p-38a9f136.entry.js.map
1
+ import{r as t,h as c,a as o,g as s}from"./p-ef5985a3.js";const e=".sc-stzh-poicard-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-poicard-h,[stzh-hidden].sc-stzh-poicard-h{display:none}.sc-stzh-poicard-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-poicard-h *.sc-stzh-poicard,.sc-stzh-poicard-h *.sc-stzh-poicard::before,.sc-stzh-poicard-h *.sc-stzh-poicard::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-poicard-h .has-focus.sc-stzh-poicard{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-poicard-h .stzh-fylingfocus-focused.sc-stzh-poicard{outline-style:none !important}.sc-stzh-poicard-h .stzh-fylingfocus-focused.sc-stzh-poicard::-moz-focus-inner{border:0 !important}.sc-stzh-poicard-h{--background-color:var(--stzh-color-grey10);--hover-background-color:var(--stzh-color-grey20);--title-color:var(--stzh-color-primary70);--title-hover-color:var(--stzh-color-primary80);--title-background-color:var(--stzh-color-secondary20);--title-hover-background-color:var(--stzh-color-secondary30)}.stzh-poicard.sc-stzh-poicard{display:block;background-color:var(--background-color);text-decoration:none;height:100%}.stzh-poicard.sc-stzh-poicard:hover{--title-color:var(--title-hover-color);--title-background-color:var(--title-hover-background-color);--background-color:var(--hover-background-color)}.stzh-poicard__content.sc-stzh-poicard{display:flex;flex-direction:column;gap:var(--stzh-space-small)}.stzh-poicard__content-with-icon.sc-stzh-poicard,.stzh-poicard__content-with-badge.sc-stzh-poicard{display:flex;align-items:center;gap:var(--stzh-space-xxsmall)}.stzh-poicard__content-with-icon.sc-stzh-poicard stzh-text.sc-stzh-poicard{width:auto;--color:var(--stzh-color-primary70)}.stzh-poicard__content-with-icon.sc-stzh-poicard stzh-icon.sc-stzh-poicard{--color:var(--stzh-color-primary70)}.stzh-poicard__content-with-badge.sc-stzh-poicard stzh-text.sc-stzh-poicard{width:auto;--color:var(--stzh-color-grey80)}.stzh-poicard__content-head.sc-stzh-poicard{display:flex;align-items:center;padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-small);--color:var(--title-color);background-color:var(--title-background-color)}.stzh-poicard__content-head.sc-stzh-poicard stzh-icon.sc-stzh-poicard{--color:var(--stzh-color-primary)}.stzh-poicard__content-title.sc-stzh-poicard{width:100%;--color:var(--stzh-color-grey80)}.stzh-poicard.sc-stzh-poicard:hover .stzh-poicard__content-title.sc-stzh-poicard{--color:var(--stzh-color-black)}.stzh-poicard__content-body.sc-stzh-poicard{padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-medium);display:flex;flex-direction:column;gap:var(--stzh-space-xsmall)}";const a=e;const r=class{constructor(c){t(this,c);this.init=()=>{this.itemWatcher(this.item)};this.item=""}itemWatcher(t){if(!t){this._item=undefined}else if(typeof t==="string"){try{this._item=JSON.parse(t)}catch(t){this._item=undefined}}else{this._item=t}}connectedCallback(){this.init()}render(){const t={"stzh-poicard":true};return c(o,{key:"5e22e3edd9a5f53f212b24b9322384a860c0a10c"},c("a",{key:"f4df00d9dd0c9cc69a9c4392d589cf0bda1dffb2",class:t,href:this._item.url,target:"_blank"},c("div",{key:"b0ccedb5f59c1cf6c95404c5f24896fbc8760a17",class:"stzh-poicard__content"},c("div",{key:"5b0669e4ec18d010c9273269d061ff21d00ac1f5",class:"stzh-poicard__content-head"},c("stzh-heading",{key:"01c998690195acad9a2ebc74709580916a16b7ae"},this._item.title)),c("div",{key:"d738c83014e40a372a8f4fcaec31f5a7ebca4c31",class:"stzh-poicard__content-body"},this._item.distance&&c("div",{key:"2e7f8bbd107b14cd3a4ec619bef0e9e7074894be",class:"stzh-poicard__content-with-icon"},c("stzh-icon",{key:"c76f980a8e646895d676c9315327c275022fca2d",name:"pin"}),c("stzh-text",{key:"681dc3751ceaa78c7c92472d78aab67cbcb920b9"},this._item.distance)),this._item.temp&&c("div",{key:"405b370c59f0817ad9c275661ce3c915381804e7",class:"stzh-poicard__content-with-icon"},c("stzh-icon",{key:"e5406e5d365ad4ceeec3d596084c57aca7e3272c",name:"thermometer"}),c("stzh-text",{key:"78cbcc97a6c6c5e7ffcee163ecce12a05b0ccde2"},this._item.temp)),(this._item.statusMessageContent||this._item.statusMessage)&&c("div",{key:"299ee1359498476745aeea101181c23b2730d472",class:"stzh-poicard__content-with-badge"},this._item.statusMessage&&c("stzh-text",{key:"b4260538c72566bccfd33cb2a4fed59dd9ff4697",size:"milli"},this._item.statusMessage),this._item.statusMessageContent&&c("stzh-chip",{key:"286452c1d25334a84649a259ff5d3fddd8ed88ef",variant:"tag",size:"small",inverted:true,icon:"",type:this._item.success?"default":"error",label:this._item.statusMessageContent}))))))}get element(){return s(this)}static get watchers(){return{item:["itemWatcher"]}}};r.style=a;export{r as stzh_poicard};
2
+ //# sourceMappingURL=p-1187dcb3.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,a as o,g as h}from"./p-ef5985a3.js";import{h as n}from"./p-87c329f2.js";import{S as r}from"./p-9531514f.js";import"./p-dae15605.js";const e=".sc-stzh-input-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-input-h,[stzh-hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-input-h .has-focus.sc-stzh-input{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input{outline-style:none !important}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input::-moz-focus-inner{border:0 !important}.sc-stzh-input-h{--text-align:left;--color:var(--stzh-input-color, var(--stzh-color-secondary60));--border-color:var(--stzh-color-grey70);--border-radius:var(--stzh-form-input-border-radius);--background-color:var(--stzh-color-white);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--height:var(--stzh-form-input-height);--input-width:100%;--label-color:var(--stzh-input-label-color, var(--stzh-color-primary));--placeholder-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey80);--hover-color:var(--stzh-input-hover-color, var(--stzh-color-secondary60));--hover-border-color:var(\n --stzh-input-hover-border-color,\n var(--stzh-color-secondary50)\n );--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-primary70);--focus-color:var(--stzh-color-black);--focus-border-color:var(--stzh-color-secondary50);--focus-background-color:var(--stzh-color-secondary20);--focus-button-right-color:var(--stzh-color-primary70);--text-selection-background-color:var(--stzh-color-secondary30);width:100%}[type=hidden].sc-stzh-input-h{position:absolute;top:-624.9375rem;left:-624.9375rem;visibility:hidden}[size=small].sc-stzh-input-h{--height:var(--stzh-form-input-small-height)}[is-filled].sc-stzh-input-h:not([is-filled=false]){--button-right-color:var(--stzh-color-primary70);--hover-button-right-color:var(--stzh-color-primary70);--focus-button-right-color:var(--stzh-color-black)}[is-invalid].sc-stzh-input-h{--color:var(--stzh-color-error60);--border-color:var(--stzh-color-error60);--background-color:var(--stzh-color-white);--label-color:var(--stzh-color-error60);--placeholder-color:var(--stzh-color-error60);--button-right-color:var(--stzh-color-error60);--hover-color:var(--stzh-color-error60);--hover-border-color:var(--stzh-color-error60);--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-error60);--focus-color:var(--stzh-color-error60);--focus-border-color:var(--stzh-color-error60);--focus-background-color:var(--stzh-color-white);--focus-button-right-color:var(--stzh-color-error60)}[readonly].sc-stzh-input-h:not([readonly=false]),[disabled].sc-stzh-input-h:not([disabled=false]){--color:var(--stzh-color-grey70);--border-color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--label-color:var(--stzh-color-grey70);--placeholder-color:var(--stzh-color-grey70);--description-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey70);--hover-color:var(--stzh-color-grey70);--hover-border-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10);--hover-button-right-color:var(--stzh-color-grey70);--focus-color:var(--stzh-color-grey70);--focus-border-color:var(--stzh-color-grey70);--focus-background-color:var(--stzh-color-grey10);--focus-button-right-color:var(--stzh-color-grey70)}.sc-stzh-input-h:is(:has(.stzh-input__input:hover)){--button-right-color:var(--hover-button-right-color)}.sc-stzh-input-h:is(:has(.stzh-input__input:focus)){--button-right-color:var(--focus-button-right-color)}.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0px;right:0px}.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right] stzh-popover,.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-popover{display:block}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.stzh-input__button-right.sc-stzh-input,.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false]){--color:var(--button-right-color);--background-color:transparent;--border-color:transparent;--hover-color:var(--button-right-color);--hover-background-color:transparent;--hover-border-color:transparent}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.stzh-input__button-right[size=default][icon-only].sc-stzh-input:not([icon-only=false]){--icon-size:var(--stzh-icon-size-medium)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-input__marker-text.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input__description-wrapper.sc-stzh-input{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error60)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-input__description-long.sc-stzh-input{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-input__description-long.sc-stzh-input{margin-top:0}}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-button.sc-stzh-input{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxxsmall)}.stzh-input.sc-stzh-input .sc-stzh-input::selection{background:var(--text-selection-background-color)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:flex;width:var(--input-width)}.stzh-input__input.sc-stzh-input{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-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.125rem solid var(--border-color);transition-property:color, border-color, background-color;transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);margin:0;width:100%;color:var(--color);background-color:var(--background-color);appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:hover{color:var(--hover-color);border-color:var(--hover-border-color);background-color:var(--hover-background-color)}.stzh-input__input.sc-stzh-input:focus{color:var(--focus-color);border-color:var(--focus-border-color);background-color:var(--focus-background-color)}.stzh-input__input.sc-stzh-input:-webkit-autofill{background-clip:text}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);width:auto;max-width:100%;margin-bottom:var(--stzh-space-xxxsmall)}.stzh-input__label.no-label-truncate.sc-stzh-input{text-overflow:clip;white-space:normal;overflow:visible}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__marker.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-input--type-password.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-clearable.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:var(--height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{appearance:textfield}.stzh-input--has-label-hidden.sc-stzh-input .stzh-input__label.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}";const a=e;let c=0;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhChanged=s(this,"stzhChanged",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=async t=>{this.value="";this.input.focus();await this.waitForNextRender();this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value});this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onTogglePasswordVisibilityClick=async()=>{this.showPassword=!this.showPassword};this.handleReset=async()=>{this.value=this.defaultValue;this.input.value=this.defaultValue};this.onInput=t=>{this.value=this.input.value;this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onChange=t=>{this.value=this.input.value;this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=t=>{this.input.value=this.input.value;const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.hideOptional=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.defaultValue="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.noLabelTruncate=false;this.labelHidden=false;this.size="default";this.a11yDescribedby="";this.filled=undefined;this.showPassword=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){this.filled=t!==""}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}typeWatcher(t){const s=["text","search","password","email","url","tel","number","hidden"];if(!this.multiline&&!s.includes(t)){throw new Error(`Type ${t} not supported`)}}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}renderTextarea(){return i("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:t=>this.input=t,id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}renderInput(){return i("input",{class:"stzh-input__input stzh-input__input--input",ref:t=>this.input=t,id:this.inputId,type:this.showPassword?"text":this.type,name:this.name,value:this.value,defaultValue:this.defaultValue,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.inputId=`stzh-input-${c++}`;this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);this.defaultValue=this.defaultValue||this.value;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"input")}}render(){var t;const s=n(this.element,"button-right");const h=n(this.element,"description")||!!this.description;const e=n(this.element,"description-long")||!!this.descriptionLong;const a=n(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const c={"stzh-input":true,"stzh-input--has-button-right":s||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":e,"stzh-input--has-error":a,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid||a,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-not-filled":!this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--is-not-clearable":!this.clearable,"stzh-input--has-label-hidden":this.labelHidden,[`stzh-input--size-${this.size}`]:!!this.size,[`stzh-input--type-${this.type}`]:!!this.type};return i(o,{key:"8dd13077004e31ce0b1dd35526325a4f95eb22f4","is-invalid":this.invalid||a,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus,"is-filled":this.filled},i("div",{key:"2fe0d07c1049846dfb4f953ad6efb9848e71d253",class:c},i("label",{key:"14c4ddc41bce5ab4f53bac0a62a411dbbe4d3f8a",class:{"stzh-input__label":true,"no-label-truncate":this.noLabelTruncate},htmlFor:this.inputId},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"27076ed3f2aaaa7425eb59c139895fdf53f97885",class:"stzh-input__marker"},i("span",{key:"606e98f4cc0628bc74cf94f7ece7145b9481968d",class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"1867bde65ba39d6ac0a18f7745796dfc82a5a712",class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"d775753c67430cfede5a38faeecca73787ff9f0d",class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),this.clearable||this.type==="search"||this.type==="password"?(!this.clearable||this.disabled||this.readonly||!this.filled)&&(this.type==="search"||this.type==="password")?i("stzh-button",{class:"stzh-input__button-right",icon:this.type==="search"?"search":"view",size:this.size,iconOnly:true,onClick:this.onTogglePasswordVisibilityClick,disabled:this.disabled||this.readonly}):this.filled?i("stzh-button",{class:"stzh-input__button-right",icon:"close",size:this.size,iconOnly:true,onClick:this.onClearClick,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):i("slot",{name:"button-right"}):i("slot",{name:"button-right"})),(a||this.description)&&i(r,{key:"52c6b561647abbc7bc470aa8084234fc07adb850",classPrefix:"stzh-input",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}}};l.style=a;export{l as stzh_input};
2
- //# sourceMappingURL=p-0c340dcf.entry.js.map
1
+ import{r as t,c as s,h as i,a as o,g as h}from"./p-ef5985a3.js";import{h as n}from"./p-87c329f2.js";import{S as r}from"./p-9531514f.js";import"./p-dae15605.js";const e=".sc-stzh-input-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-input-h,[stzh-hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-input-h .has-focus.sc-stzh-input{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input{outline-style:none !important}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input::-moz-focus-inner{border:0 !important}.sc-stzh-input-h{--text-align:left;--color:var(--stzh-input-color, var(--stzh-color-secondary60));--border-color:var(--stzh-color-grey70);--border-radius:var(--stzh-form-input-border-radius);--background-color:var(--stzh-color-white);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--height:var(--stzh-form-input-height);--input-width:100%;--label-color:var(--stzh-input-label-color, var(--stzh-color-primary));--placeholder-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey80);--hover-color:var(--stzh-input-hover-color, var(--stzh-color-secondary60));--hover-border-color:var(\n --stzh-input-hover-border-color,\n var(--stzh-color-secondary50)\n );--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-primary70);--focus-color:var(--stzh-color-black);--focus-border-color:var(--stzh-color-secondary50);--focus-background-color:var(--stzh-color-secondary20);--focus-button-right-color:var(--stzh-color-primary70);--text-selection-background-color:var(--stzh-color-secondary30);width:100%}[type=hidden].sc-stzh-input-h{position:absolute;top:-624.9375rem;left:-624.9375rem;visibility:hidden}[size=small].sc-stzh-input-h{--height:var(--stzh-form-input-small-height)}[is-filled].sc-stzh-input-h:not([is-filled=false]){--button-right-color:var(--stzh-color-primary70);--hover-button-right-color:var(--stzh-color-primary70);--focus-button-right-color:var(--stzh-color-black)}[is-invalid].sc-stzh-input-h{--color:var(--stzh-color-error60);--border-color:var(--stzh-color-error60);--background-color:var(--stzh-color-white);--label-color:var(--stzh-color-error60);--placeholder-color:var(--stzh-color-error60);--button-right-color:var(--stzh-color-error60);--hover-color:var(--stzh-color-error60);--hover-border-color:var(--stzh-color-error60);--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-error60);--focus-color:var(--stzh-color-error60);--focus-border-color:var(--stzh-color-error60);--focus-background-color:var(--stzh-color-white);--focus-button-right-color:var(--stzh-color-error60)}[readonly].sc-stzh-input-h:not([readonly=false]),[disabled].sc-stzh-input-h:not([disabled=false]){--color:var(--stzh-color-grey70);--border-color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--label-color:var(--stzh-color-grey70);--placeholder-color:var(--stzh-color-grey70);--description-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey70);--hover-color:var(--stzh-color-grey70);--hover-border-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10);--hover-button-right-color:var(--stzh-color-grey70);--focus-color:var(--stzh-color-grey70);--focus-border-color:var(--stzh-color-grey70);--focus-background-color:var(--stzh-color-grey10);--focus-button-right-color:var(--stzh-color-grey70)}.sc-stzh-input-h:is(:has(.stzh-input__input:hover)){--button-right-color:var(--hover-button-right-color)}.sc-stzh-input-h:is(:has(.stzh-input__input:focus)){--button-right-color:var(--focus-button-right-color)}.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0px;right:0px}.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right] stzh-popover,.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-popover{display:block}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.stzh-input__button-right.sc-stzh-input,.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false]){--color:var(--button-right-color);--background-color:transparent;--border-color:transparent;--hover-color:var(--button-right-color);--hover-background-color:transparent;--hover-border-color:transparent}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.stzh-input__button-right[size=default][icon-only].sc-stzh-input:not([icon-only=false]){--icon-size:var(--stzh-icon-size-medium)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-input__marker-text.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input__description-wrapper.sc-stzh-input{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error60)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-input__description-long.sc-stzh-input{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-input__description-long.sc-stzh-input{margin-top:0}}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-button.sc-stzh-input{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxxsmall)}.stzh-input.sc-stzh-input .sc-stzh-input::selection{background:var(--text-selection-background-color)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:flex;width:var(--input-width)}.stzh-input__input.sc-stzh-input{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-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.125rem solid var(--border-color);transition-property:color, border-color, background-color;transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);margin:0;width:100%;color:var(--color);background-color:var(--background-color);appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:hover{color:var(--hover-color);border-color:var(--hover-border-color);background-color:var(--hover-background-color)}.stzh-input__input.sc-stzh-input:focus{color:var(--focus-color);border-color:var(--focus-border-color);background-color:var(--focus-background-color)}.stzh-input__input.sc-stzh-input:-webkit-autofill{background-clip:text}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);width:auto;max-width:100%;margin-bottom:var(--stzh-space-xxxsmall)}.stzh-input__label.no-label-truncate.sc-stzh-input{text-overflow:clip;white-space:normal;overflow:visible}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__marker.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-input--type-password.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-clearable.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:var(--height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{appearance:textfield}.stzh-input--has-label-hidden.sc-stzh-input .stzh-input__label.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}";const a=e;let c=0;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhChanged=s(this,"stzhChanged",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=async t=>{this.value="";this.input.focus();await this.waitForNextRender();this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value});this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onTogglePasswordVisibilityClick=async()=>{this.showPassword=!this.showPassword};this.handleReset=async()=>{this.value=this.defaultValue;this.input.value=this.defaultValue};this.onInput=t=>{this.value=this.input.value;this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onChange=t=>{this.value=this.input.value;this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=t=>{this.input.value=this.input.value;const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.hideOptional=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.defaultValue="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.noLabelTruncate=false;this.labelHidden=false;this.size="default";this.a11yDescribedby="";this.filled=undefined;this.showPassword=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){this.filled=t!==""}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}typeWatcher(t){const s=["text","search","password","email","url","tel","number","hidden"];if(!this.multiline&&!s.includes(t)){throw new Error(`Type ${t} not supported`)}}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}renderTextarea(){return i("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:t=>this.input=t,id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}renderInput(){return i("input",{class:"stzh-input__input stzh-input__input--input",ref:t=>this.input=t,id:this.inputId,type:this.showPassword?"text":this.type,name:this.name,value:this.value,defaultValue:this.defaultValue,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.inputId=`stzh-input-${c++}`;this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);this.defaultValue=this.defaultValue||this.value;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"input")}}render(){var t;const s=n(this.element,"button-right");const h=n(this.element,"description")||!!this.description;const e=n(this.element,"description-long")||!!this.descriptionLong;const a=n(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const c={"stzh-input":true,"stzh-input--has-button-right":s||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":e,"stzh-input--has-error":a,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid||a,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-not-filled":!this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--is-not-clearable":!this.clearable,"stzh-input--has-label-hidden":this.labelHidden,[`stzh-input--size-${this.size}`]:!!this.size,[`stzh-input--type-${this.type}`]:!!this.type};return i(o,{key:"c8ff5c6cf276eb2d2d72c5c2bc294a9a77c0ec31","is-invalid":this.invalid||a,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus,"is-filled":this.filled},i("div",{key:"df948658df21c668ac305a01cdc55b8162a19aec",class:c},i("label",{key:"9de88ea9e9bf363595a393f80c642c95bb083b18",class:{"stzh-input__label":true,"no-label-truncate":this.noLabelTruncate},htmlFor:this.inputId},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"8a5b00a3a40572563c50e8151244ebaae7b69c4c",class:"stzh-input__marker"},i("span",{key:"47a7f9eaa1aeb7e3ca6e0998d4e2f87e6c5adc00",class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"4840d3301f83bfe247e7d4efb33aa5296c642e3d",class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"61add2f342230323672b9b4d47e851f4e2ed41c3",class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),this.clearable||this.type==="search"||this.type==="password"?(!this.clearable||this.disabled||this.readonly||!this.filled)&&(this.type==="search"||this.type==="password")?i("stzh-button",{class:"stzh-input__button-right",icon:this.type==="search"?"search":"view",size:this.size,iconOnly:true,onClick:this.onTogglePasswordVisibilityClick,disabled:this.disabled||this.readonly}):this.filled?i("stzh-button",{class:"stzh-input__button-right",icon:"close",size:this.size,iconOnly:true,onClick:this.onClearClick,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):i("slot",{name:"button-right"}):i("slot",{name:"button-right"})),(a||this.description)&&i(r,{key:"94fa5b40af158681ef33b435dec70eb6e667fe99",classPrefix:"stzh-input",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}}};l.style=a;export{l as stzh_input};
2
+ //# sourceMappingURL=p-12146af8.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,a as r,g as s}from"./p-ef5985a3.js";import{m as i,a}from"./p-f4adb3cd.js";import{h}from"./p-87c329f2.js";import"./p-dae15605.js";const n='.sc-stzh-pi-teaser-layout-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-pi-teaser-layout-h,[stzh-hidden].sc-stzh-pi-teaser-layout-h{display:none}.sc-stzh-pi-teaser-layout-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pi-teaser-layout-h *.sc-stzh-pi-teaser-layout,.sc-stzh-pi-teaser-layout-h *.sc-stzh-pi-teaser-layout::before,.sc-stzh-pi-teaser-layout-h *.sc-stzh-pi-teaser-layout::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-pi-teaser-layout-h .has-focus.sc-stzh-pi-teaser-layout{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-pi-teaser-layout-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser-layout{outline-style:none !important}.sc-stzh-pi-teaser-layout-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser-layout::-moz-focus-inner{border:0 !important}.sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-columns:repeat(12, 1fr);--min-height:112.5rem;--max-height:118.75rem;--gap:1rem;--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2" "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"\n "t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4" "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"\n "t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr}@media screen and (min-width: 600px){.sc-stzh-pi-teaser-layout-h{--gap:1.25rem;--min-height:118.75rem;--max-height:118.75rem;--grid-pi-teaser-layout-rows:0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr}}@media screen and (min-width: 900px){.sc-stzh-pi-teaser-layout-h{--gap:1.25rem;--min-height:96.875rem;--max-height:103.125rem;--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"\n "t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:0.6fr 0.4fr 0.25fr 0.25fr}[has-side=true].sc-stzh-pi-teaser-layout-h{--min-height:146.875rem;--max-height:146.875rem;--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"\n "t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"\n "t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:0.85fr 0.85fr 0.4fr 0.4fr 0.36fr 0.36fr}}@media screen and (min-width: 1260px){.sc-stzh-pi-teaser-layout-h{--gap:1.5rem;--min-height:84.375rem;--max-height:84.375rem;--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5"\n "t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:0.7fr 0.3fr 0.3fr}[has-side=true].sc-stzh-pi-teaser-layout-h{--min-height:84.375rem;--max-height:84.375rem;--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5"\n "t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:0.7fr 0.3fr 0.3fr}}@media screen and (min-width: 1600px){.sc-stzh-pi-teaser-layout-h{--gap:2rem;--min-height:84.375rem;--max-height:84.375rem;--grid-pi-teaser-layout-rows:0.7fr 0.3fr 0.3fr}[has-side=true].sc-stzh-pi-teaser-layout-h{--min-height:84.375rem;--max-height:84.375rem;--grid-pi-teaser-layout-rows:0.7fr 0.3fr 0.3fr}}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser.sc-stzh-pi-teaser-layout{background-color:white}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--1.sc-stzh-pi-teaser-layout{grid-area:t1}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--2.sc-stzh-pi-teaser-layout{grid-area:t2}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--3.sc-stzh-pi-teaser-layout{grid-area:t3}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--4.sc-stzh-pi-teaser-layout{grid-area:t4}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--5.sc-stzh-pi-teaser-layout{grid-area:t5}.sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--6.sc-stzh-pi-teaser-layout{grid-area:t6}[is-rubrick=true][amount=one].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1";--grid-pi-teaser-layout-rows:1fr;--min-height:32.8125rem;--max-height:37.5rem}[is-rubrick=true][amount=two].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:65.625rem;--max-height:75rem}[is-rubrick=true][amount=three].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3";--grid-pi-teaser-layout-rows:1.1fr 1.1fr 0.3fr;--min-height:75rem;--max-height:87.5rem}[is-rubrick=true][amount=four].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"\n "t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 1fr 0.3fr 0.3fr;--min-height:87.5rem;--max-height:103.125rem}[is-rubrick=true][amount=five].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"\n "t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5";--grid-pi-teaser-layout-rows:1fr 1fr 0.3fr 0.3fr 0.3fr;--min-height:100rem;--max-height:118.75rem}[is-rubrick=true][amount=six].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"\n "t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"\n "t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"\n "t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:1fr 1fr 0.3fr 0.3fr 0.3fr 0.3fr;--min-height:112.5rem;--max-height:143.75rem}@media screen and (min-width: 600px){[is-rubrick=true][amount=three].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:0.95fr 0.95fr 0.26fr;--min-height:81.25rem;--max-height:87.5rem}[is-rubrick=true][amount=four].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:0.95fr 0.95fr 0.26fr 0.26fr;--min-height:93.75rem;--max-height:106.25rem}[is-rubrick=true][amount=five].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:0.95fr 0.95fr 0.26fr 0.26fr 0.26fr;--min-height:103.125rem;--max-height:118.75rem}[is-rubrick=true][amount=six].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:0.95fr 0.95fr 0.26fr 0.26fr 0.26fr 0.26fr;--min-height:112.5rem;--max-height:131.25rem}}@media screen and (min-width: 900px){[is-rubrick=true][amount=one].sc-stzh-pi-teaser-layout-h,[is-rubrick=true][amount=two].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2";--grid-pi-teaser-layout-rows:1fr;--min-height:37.5rem;--max-height:40.625rem}[is-rubrick=true][amount=three].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:75rem;--max-height:78.125rem}[is-rubrick=true][amount=three][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:71.875rem;--max-height:75rem}[is-rubrick=true][amount=four].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:75rem;--max-height:78.125rem}[is-rubrick=true][amount=four][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:71.875rem;--max-height:75rem}[is-rubrick=true][amount=five].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5";--grid-pi-teaser-layout-rows:1fr 1fr 0.35fr;--min-height:87.5rem;--max-height:93.75rem}[is-rubrick=true][amount=five][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:1.1fr 1.1fr 0.35fr;--min-height:84.375rem;--max-height:87.5rem}[is-rubrick=true][amount=six].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"\n "t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"\n "t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:1fr 1fr 0.35fr 0.35fr;--min-height:103.125rem;--max-height:106.25rem}[is-rubrick=true][amount=six][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-rows:1.2fr 1.2fr 0.4fr 0.4fr;--min-height:112.5rem;--max-height:112.5rem}}@media screen and (min-width: 1260px){[is-rubrick=true][amount=three][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:81.25rem;--max-height:81.25rem}[is-rubrick=true][amount=four].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4"\n "t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:35rem;--max-height:43.75rem}[is-rubrick=true][amount=four][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4";--grid-pi-teaser-layout-rows:1fr 0.5fr 0.5fr;--min-height:75rem;--max-height:81.25rem}[is-rubrick=true][amount=five].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4"\n "t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:35rem;--max-height:43.75rem}[is-rubrick=true][amount=five][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"\n "t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5";--grid-pi-teaser-layout-rows:1fr 0.45fr 0.45fr;--min-height:75rem;--max-height:81.25rem}[is-rubrick=true][amount=six].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5"\n "t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6";--grid-pi-teaser-layout-rows:1fr 1fr;--min-height:35rem;--max-height:43.75rem}[is-rubrick=true][amount=six][has-side=true].sc-stzh-pi-teaser-layout-h{--grid-pi-teaser-layout-template:"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"\n "t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5"\n "t4 t4 t4 t4 t4 t4 t6 t6 t6 t6 t6 t6";--grid-pi-teaser-layout-rows:1fr 0.4fr 0.4fr;--min-height:75rem;--max-height:78.125rem}}[is-rubrick=true].sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--5--four.sc-stzh-pi-teaser-layout{display:none}[is-rubrick=true].sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--6--four.sc-stzh-pi-teaser-layout,[is-rubrick=true].sc-stzh-pi-teaser-layout-h .stzh-pi-teaser-layout-teaser--6--five.sc-stzh-pi-teaser-layout{display:none}.stzh-pi-teaser-layout.sc-stzh-pi-teaser-layout{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);width:100%;display:grid;gap:var(--gap);min-height:var(--min-height);max-height:var(--max-height);grid-template-columns:var(--grid-pi-teaser-layout-columns);grid-template-areas:var(--grid-pi-teaser-layout-template);grid-template-rows:var(--grid-pi-teaser-layout-rows)}@media screen and (min-width: 900px){.stzh-pi-teaser-layout.sc-stzh-pi-teaser-layout{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-pi-teaser-layout.sc-stzh-pi-teaser-layout>*.sc-stzh-pi-teaser-layout{min-height:0;overflow:hidden}.stzh-pi-teaser-layout__header-holder.sc-stzh-pi-teaser-layout{margin-bottom:var(--stzh-space-medium)}.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{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);font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);color:var(--stzh-heading-color);margin:0;padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-xxsmall)}@media screen and (min-width: 600px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{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: 900px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{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: 1600px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{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))}}@media screen and (min-width: 600px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{padding-top:var(--stzh-space-xlarge);padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-pi-teaser-layout__header.sc-stzh-pi-teaser-layout{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-small)}}.stzh-pi-teaser-layout__bottom-slot.sc-stzh-pi-teaser-layout{margin-top:var(--stzh-space-medium);display:grid;justify-content:end}';const u=n;var o;(function(t){t["xxxsmall"]="one";t["xxsmall"]="two";t["xsmall"]="three";t["small"]="four";t["medium"]="five";t["large"]="six"})(o||(o={}));const l=t=>{switch(t){case 1:return o.xxxsmall;case 2:return o.xxsmall;case 3:return o.xsmall;case 4:return o.small;case 5:return o.medium;case 6:return o.large;default:return null}};const p=class{constructor(e){t(this,e);this.mediaChangeHandler=()=>{this.isSmall=i("small").matches;this.isMedium=i("medium").matches;this.isLarge=i("large").matches;this.isUltra=i("ultra").matches};this.variant="hero";this.hasSide=false;this.heading="";this.headingLevel="3";this.contentList=[];this.isSmall=undefined;this.isMedium=undefined;this.isLarge=undefined;this.isUltra=undefined}componentDidLoad(){this.mediaChangeHandler();this.contentList=this.contentList.slice(0,6);if(this.variant=="rubrick"&&this.contentList.length<4){if((this.isLarge||this.isUltra)&&!this.hasSide){const t=Math.max(0,4-this.contentList.length);this.contentList=[...this.contentList,...Array(t).fill({type:"empty-teaser"})]}}}connectedCallback(){a(this.mediaChangeHandler)}render(){const t=this.variant=="rubrick";const s=l(this.contentList.length);const i=`h${this.headingLevel}`;const a={"stzh-pi-teaser-layout":true,"stzh-pi-teaser-layout--rubrick":t,"stzh-pi-teaser-layout--has-side":this.hasSide};const n=!!this.heading;const u=h(this.element,"bottom");const p=e=>{const r=this.isUltra||this.isLarge;const i=this.hasSide?"M":"L";if(t){switch(e){case 1:case 2:return r?"L":this.isMedium?i:this.isSmall?"L":"M";case 3:if(s==o.xsmall){return r?"L":this.isMedium?i:this.isSmall?"S":"XS"}if(s==o.small){return r?"L":this.isMedium?i:this.isSmall?"S":"XS"}if(s==o.medium){return r?"L":this.isMedium?i:this.isSmall?"S":"XS"}if(s==o.large){return r?"M":this.isMedium?i:this.isSmall?"S":"XS"}case 4:if(s==o.small){return r?"L":this.isMedium?i:this.isSmall?"S":"XS"}if(s==o.medium){return r?"M":this.isMedium?i:this.isSmall?"S":"XS"}if(s==o.large){return r?"M":this.isMedium?i:this.isSmall?"S":"XS"}case 5:if(s==o.medium){return r?"M":this.isMedium?"M":this.isSmall?"S":"XS"}if(s==o.large){return r?"M":this.isMedium?"M":this.isSmall?"S":"XS"}case 6:if(s==o.large){return r?"M":this.isMedium?"M":this.isSmall?"S":"XS"}}}else{switch(e){case 1:case 2:return r?"XL":this.isMedium?"L":this.isSmall?"L":"M";case 3:case 4:return r?"L":this.isMedium?"M":this.isSmall?"S":"XS";case 5:case 6:return r?"M":this.isMedium?"M":this.isSmall?"S":"XS"}}};const c=(e,r,i)=>{const a=this.isUltra||this.isLarge;const h=i==null||i==undefined;if(t){switch(r){case 1:case 2:return e;case 3:if(h){return a?e:this.isMedium?e:this.isSmall?e:null}if(s==o.large){if(this.hasSide){return this.isUltra?null:this.isLarge?null:this.isMedium?e:null}return this.isUltra?e:this.isLarge?e:this.isMedium?e:null}return a?e:this.isMedium?e:null;case 4:if(h){return a?e:this.isMedium?e:this.isSmall?e:null}if(s==o.medium){if(this.hasSide){return this.isUltra?null:this.isLarge?null:this.isMedium?e:null}return this.isUltra?e:this.isLarge?e:this.isMedium?e:null}if(s==o.large){if(this.hasSide){return this.isUltra?null:this.isLarge?null:this.isMedium?e:null}return this.isUltra?e:this.isLarge?e:this.isMedium?e:null}return a?e:this.isMedium?e:null;case 5:if(h){return a?e:this.isMedium?e:null}if(this.hasSide){return null}return a?e:this.isMedium?null:null;case 6:if(h){return a?e:this.isMedium?e:null}if(this.hasSide){return null}return a?e:this.isMedium?null:null}}else{switch(r){case 1:case 2:return e;case 3:case 4:if(h){return e}if(this.hasSide){return a?e:this.isMedium?e:null}return a?e:this.isMedium?null:null;case 5:case 6:return a?e:this.isMedium?e:null}}return e};const m=(e,r)=>{const i=this.isUltra||this.isLarge;const a=e==null||e==undefined;if(a){return null}if(t){switch(r){case 1:case 2:return"top";case 3:if(s==o.medium){if(this.hasSide){return i?"top":this.isMedium?"top":this.isSmall?null:null}}if(s==o.large){if(this.hasSide){return i?"right":this.isMedium?"top":this.isSmall?null:null}return i?null:this.isMedium?"top":this.isSmall?null:null}return i?"top":this.isMedium?"top":this.isSmall?null:null;case 4:if(s==o.medium){if(this.hasSide){return i?"right":this.isMedium?"top":this.isSmall?null:null}return i?null:this.isMedium?"top":this.isSmall?null:null}if(s==o.large){if(this.hasSide){return i?"right":this.isMedium?"top":this.isSmall?null:null}return i?null:this.isMedium?"top":this.isSmall?null:null}return i?"top":this.isMedium?"top":this.isSmall?null:null;case 5:if(s==o.medium||s==o.large){if(this.hasSide){return i?"right":this.isMedium?"right":null}return i?null:this.isMedium?"right":null}case 6:if(s==o.large){if(this.hasSide){return i?"right":this.isMedium?"right":null}return i?null:this.isMedium?"right":null}}}else{switch(r){case 1:case 2:return"top";case 3:case 4:if(this.hasSide){return i?"top":this.isMedium?"right":this.isSmall?"right":"top"}return i?"top":this.isMedium?"top":this.isSmall?null:null;case 5:case 6:return i?null:this.isMedium?null:this.isSmall?null:null}}};if(!t&&this.contentList.length<6){return e("div",null,"At least add 6 elements for hero")}const f=t=>({"stzh-pi-teaser-layout-teaser":true,[`stzh-pi-teaser-layout-teaser--${t+1}`]:true,[`stzh-pi-teaser-layout-teaser--${t+1}--${this.hasSide?"side":"no-side"}`]:true,[`stzh-pi-teaser-layout-teaser--${t+1}--${s}`]:true,[`stzh-pi-teaser-layout-teaser--${t+1}--${s}--${this.hasSide?"side":"no-side"}`]:true});return e(r,{"is-rubrick":t?"true":"false",amount:s,"has-side":this.hasSide?"true":"false"},n&&e("div",{class:"stzh-pi-teaser-layout__header-holder"},e(i,{class:"stzh-pi-teaser-layout__header",level:this.headingLevel},this.heading)),e("div",{class:a},...this.contentList.map(((t,r)=>t.type=="empty-teaser"?e("div",{class:f(r)}):e("stzh-pi-teaser-layout-item",{key:r,href:t.href,dateline:t.dateline,heading:t.heading,date:t.date,imageSrc:t.imageSrc,contentSize:p(r+1),lead:c(t.lead,r+1,t.imageSrc),imagePosition:m(t.imageSrc,r+1),class:f(r)})))),u&&e("div",{class:"stzh-pi-teaser-layout__bottom-slot"},e("slot",{name:"bottom"})))}get element(){return s(this)}};p.style=u;export{p as stzh_pi_teaser_layout};
2
+ //# sourceMappingURL=p-15dc154c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhPiTeaserLayoutCss","StzhPiTeaserLayoutStyle0","RubrickSize","getRubrickSize","length","xxxsmall","xxsmall","xsmall","small","medium","large","StzhPiTeaserLayout","this","mediaChangeHandler","isSmall","media","matches","isMedium","isLarge","isUltra","componentDidLoad","contentList","slice","variant","hasSide","paddingNeeded","Math","max","Array","fill","type","connectedCallback","addMediaChangeListener","render","isRubrick","rubrickSize","Heading","headingLevel","classes","hasHeading","heading","bottomSlotUsed","hasSlot","element","contentSizeBehavior","index","big","sideSize","leadBehavior","lead","imageSrc","noImage","undefined","imageBehavior","h","teaserClasses","Host","amount","class","level","map","teaser","key","href","dateline","date","contentSize","imagePosition","name"],"sources":["src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.scss?tag=stzh-pi-teaser-layout&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.tsx"],"sourcesContent":[":host {\n --grid-pi-teaser-layout-columns: repeat(12, 1fr);\n --min-height: 1800px;\n --max-height: 1900px;\n --gap: 16px;\n\n // Default mobile layout\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\" \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\" \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n\n // Small mobile layout\n @include mq($from: small) {\n --gap: 20px;\n --min-height: 1900px;\n --max-height: 1900px;\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n }\n\n // Medium mobile layout\n @include mq($from: medium) {\n --gap: 20px;\n --min-height: 1550px;\n --max-height: 1650px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.6fr 0.4fr 0.25fr 0.25fr;\n\n &[has-side=\"true\"] {\n --min-height: 2350px;\n --max-height: 2350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.85fr 0.85fr 0.4fr 0.4fr 0.36fr 0.36fr;\n }\n }\n\n // Large mobile layout\n @include mq($from: large) {\n --gap: 24px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n // Ultra mobile layout\n @include mq($from: ultra) {\n --gap: 32px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n .stzh-pi-teaser-layout-teaser {\n background-color: white;\n\n &--1 {\n grid-area: t1;\n }\n\n &--2 {\n grid-area: t2;\n }\n\n &--3 {\n grid-area: t3;\n }\n\n &--4 {\n grid-area: t4;\n }\n\n &--5 {\n grid-area: t5;\n }\n\n &--6 {\n grid-area: t6;\n }\n }\n\n // Rubrick layouts\n &[is-rubrick=\"true\"] {\n // Mobile rubrick layouts\n &[amount=\"one\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 525px;\n --max-height: 600px;\n }\n\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1050px;\n --max-height: 1200px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.3fr;\n --min-height: 1200px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr;\n --min-height: 1400px;\n --max-height: 1650px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr 0.3fr;\n --min-height: 1600px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr 0.3fr 0.3fr;\n --min-height: 1800px;\n --max-height: 2300px;\n }\n\n // Small breakpoint rubrick layouts\n @include mq($from: small) {\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr;\n --min-height: 1300px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr;\n --min-height: 1500px;\n --max-height: 1700px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr 0.26fr;\n --min-height: 1650px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr 0.26fr 0.26fr;\n --min-height: 1800px;\n --max-height: 2100px;\n }\n }\n\n // Medium breakpoint rubrick layouts\n @include mq($from: medium) {\n &[amount=\"one\"],\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 600px;\n --max-height: 650px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr;\n --min-height: 1400px;\n --max-height: 1500px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.35fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr 0.35fr;\n --min-height: 1650px;\n --max-height: 1700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.4fr 0.4fr;\n --min-height: 1800px;\n --max-height: 1800px;\n }\n }\n }\n\n // Large breakpoint rubrick layouts\n @include mq($from: large) {\n &[amount=\"three\"] {\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 560px;\n --max-height: 700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 0.5fr 0.5fr;\n --min-height: 1200px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 560px;\n --max-height: 700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 0.45fr 0.45fr;\n --min-height: 1200px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\"\n \"t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 560px;\n --max-height: 700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\"\n \"t4 t4 t4 t4 t4 t4 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 0.4fr 0.4fr;\n --min-height: 1200px;\n --max-height: 1250px;\n }\n }\n }\n\n // Hide elements that shouldn't be displayed\n .stzh-pi-teaser-layout-teaser {\n &--5 {\n &--four {\n display: none;\n }\n }\n\n &--6 {\n &--four,\n &--five {\n display: none;\n }\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout {\n @include fontCurve(\"p1\");\n width: 100%;\n display: grid;\n gap: var(--gap);\n min-height: var(--min-height);\n max-height: var(--max-height);\n grid-template-columns: var(--grid-pi-teaser-layout-columns);\n grid-template-areas: var(--grid-pi-teaser-layout-template);\n grid-template-rows: var(--grid-pi-teaser-layout-rows);\n\n & > * {\n /* Prevents content from expanding grid items */\n min-height: 0;\n overflow: hidden;\n }\n\n &__header-holder {\n margin-bottom: space(\"medium\");\n }\n\n &__header {\n @include fontCurve(\"h2\");\n @include font(\"title\");\n color: var(--stzh-heading-color);\n\n margin: 0;\n padding-top: space(\"medium\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n padding-top: space(\"large\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n padding-top: space(\"xlarge\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n padding-top: space(\"xxlarge\");\n padding-bottom: space(\"small\");\n }\n }\n\n &__bottom-slot {\n margin-top: space(\"medium\");\n display: grid;\n justify-content: end;\n }\n}\n","import { Component, h, Element, Host, Prop, State } from \"@stencil/core\";\nimport { addMediaChangeListener, media } from \"../../../utils/media-utils\";\nimport { hasSlot } from \"../../../utils/utils\";\nimport { EmptyTeaser, PiTeaser } from \"../../..\";\n\nexport enum RubrickSize {\n xxxsmall = \"one\",\n xxsmall = \"two\",\n xsmall = \"three\",\n small = \"four\",\n medium = \"five\",\n large = \"six\",\n}\n\nconst getRubrickSize = (length: number): RubrickSize => {\n switch (length) {\n case 1:\n return RubrickSize.xxxsmall;\n case 2:\n return RubrickSize.xxsmall;\n case 3:\n return RubrickSize.xsmall;\n case 4:\n return RubrickSize.small;\n case 5:\n return RubrickSize.medium;\n case 6:\n return RubrickSize.large;\n default:\n return null;\n }\n};\n/**\n * @slot bottom - Slot for bottom content - like buttons to load more data\n */\n@Component({\n tag: \"stzh-pi-teaser-layout\",\n styleUrl: \"stzh-pi-teaser-layout.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayout {\n /**\n Variant specifies which grid is being shown\n **/\n @Prop() variant: \"hero\" | \"rubrick\" = \"hero\";\n\n /**\n Aside changes the grid behavior when the layout is presented beside other content aside like menu\n **/\n @Prop() hasSide: boolean = false;\n\n /** Heading for the section **/\n @Prop() heading: string = \"\";\n\n /** Heading level, for accessibility, no visual impact */\n @Prop({ reflect: true }) headingLevel: \"1\" | \"2\" | \"3\" = \"3\";\n\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 1,2,3,4,5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n @Prop() contentList: PiTeaser[] | EmptyTeaser[] = [];\n\n /** Break points for displays */\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n @State() isLarge: boolean;\n @State() isUltra: boolean;\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n componentDidLoad() {\n this.mediaChangeHandler();\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 1,2,3,4,5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n this.contentList = this.contentList.slice(0, 6);\n\n if (this.variant == \"rubrick\" && this.contentList.length < 4) {\n // Always make sure you have at least 4 elements\n if ((this.isLarge || this.isUltra) && !this.hasSide) {\n const paddingNeeded = Math.max(0, 4 - this.contentList.length);\n this.contentList = [...this.contentList, ...Array(paddingNeeded).fill({ type: \"empty-teaser\" })];\n }\n }\n }\n\n private mediaChangeHandler = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n this.isLarge = media(\"large\").matches;\n this.isUltra = media(\"ultra\").matches;\n };\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const isRubrick = this.variant == \"rubrick\";\n const rubrickSize: RubrickSize = getRubrickSize(this.contentList.length);\n const Heading = `h${this.headingLevel}`;\n const classes = {\n \"stzh-pi-teaser-layout\": true,\n \"stzh-pi-teaser-layout--rubrick\": isRubrick,\n \"stzh-pi-teaser-layout--has-side\": this.hasSide,\n };\n const hasHeading = !!this.heading;\n const bottomSlotUsed = hasSlot(this.element, \"bottom\");\n\n const contentSizeBehavior = (index: number): \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" => {\n const big = this.isUltra || this.isLarge;\n const sideSize = this.hasSide ? \"M\" : \"L\";\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n case 3:\n if (rubrickSize == RubrickSize.xsmall) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 4:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n case 6:\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return big ? \"XL\" : this.isMedium ? \"L\" : this.isSmall ? \"L\" : \"M\";\n case 3:\n case 4:\n return big ? \"L\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n case 5:\n case 6:\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n };\n\n const leadBehavior = (lead: string | null, index: number, imageSrc: string | null): string | null => {\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 4:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 5:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n if (this.hasSide) {\n return null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 6:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n if (this.hasSide) {\n return null;\n }\n return big ? lead : this.isMedium ? null : null;\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n case 4:\n if (noImage) {\n return lead;\n }\n if (this.hasSide) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 5:\n case 6:\n return big ? lead : this.isMedium ? lead : null;\n }\n }\n return lead;\n };\n\n const imageBehavior = (imageSrc: string | null, index: number): \"top\" | \"right\" | null => {\n // Image has higher priority than lead\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (noImage) {\n return null;\n }\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n }\n\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 4:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n if (rubrickSize == RubrickSize.medium || rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? null : this.isMedium ? \"right\" : null;\n }\n\n case 6:\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? null : this.isMedium ? \"right\" : null;\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n case 4:\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"right\" : this.isSmall ? \"right\" : \"top\";\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n case 6:\n return big ? null : this.isMedium ? null : this.isSmall ? null : null;\n }\n }\n };\n\n if (!isRubrick && this.contentList.length < 6) {\n return <div>At least add 6 elements for hero</div>;\n }\n\n const teaserClasses = (index: number) => ({\n \"stzh-pi-teaser-layout-teaser\": true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n });\n\n return (\n <Host is-rubrick={isRubrick ? \"true\" : \"false\"} amount={rubrickSize} has-side={this.hasSide ? \"true\" : \"false\"}>\n {hasHeading && (\n <div class=\"stzh-pi-teaser-layout__header-holder\">\n <Heading class=\"stzh-pi-teaser-layout__header\" level={this.headingLevel}>\n {this.heading}\n </Heading>\n </div>\n )}\n <div class={classes}>\n {...this.contentList.map((teaser: PiTeaser | EmptyTeaser, index) =>\n teaser.type == \"empty-teaser\" ? (\n <div class={teaserClasses(index)} />\n ) : (\n <stzh-pi-teaser-layout-item\n key={index}\n href={teaser.href}\n dateline={teaser.dateline}\n heading={teaser.heading}\n date={teaser.date}\n imageSrc={teaser.imageSrc}\n contentSize={contentSizeBehavior(index + 1)}\n lead={leadBehavior(teaser.lead, index + 1, teaser.imageSrc)}\n imagePosition={imageBehavior(teaser.imageSrc, index + 1)}\n class={teaserClasses(index)}\n />\n ),\n )}\n </div>\n {bottomSlotUsed && (\n <div class=\"stzh-pi-teaser-layout__bottom-slot\">\n <slot name=\"bottom\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"sJAAA,MAAMA,EAAwB,8udAC9B,MAAAC,EAAeD,ECIf,IAAYE,GAAZ,SAAYA,GACVA,EAAA,kBACAA,EAAA,iBACAA,EAAA,kBACAA,EAAA,gBACAA,EAAA,iBACAA,EAAA,cACD,EAPD,CAAYA,MAAW,KASvB,MAAMC,EAAkBC,IACtB,OAAQA,GACN,KAAK,EACH,OAAOF,EAAYG,SACrB,KAAK,EACH,OAAOH,EAAYI,QACrB,KAAK,EACH,OAAOJ,EAAYK,OACrB,KAAK,EACH,OAAOL,EAAYM,MACrB,KAAK,EACH,OAAON,EAAYO,OACrB,KAAK,EACH,OAAOP,EAAYQ,MACrB,QACE,OAAO,K,QAWAC,EAAkB,M,yBAgDrBC,KAAAC,mBAAqB,KAC3BD,KAAKE,QAAUC,EAAM,SAASC,QAC9BJ,KAAKK,SAAWF,EAAM,UAAUC,QAChCJ,KAAKM,QAAUH,EAAM,SAASC,QAC9BJ,KAAKO,QAAUJ,EAAM,SAASC,OAAO,E,aAhDD,O,aAKX,M,aAGD,G,kBAG+B,I,iBAMP,G,6FAUlD,gBAAAI,GACER,KAAKC,qBAKLD,KAAKS,YAAcT,KAAKS,YAAYC,MAAM,EAAG,GAE7C,GAAIV,KAAKW,SAAW,WAAaX,KAAKS,YAAYjB,OAAS,EAAG,CAE5D,IAAKQ,KAAKM,SAAWN,KAAKO,WAAaP,KAAKY,QAAS,CACnD,MAAMC,EAAgBC,KAAKC,IAAI,EAAG,EAAIf,KAAKS,YAAYjB,QACvDQ,KAAKS,YAAc,IAAIT,KAAKS,eAAgBO,MAAMH,GAAeI,KAAK,CAAEC,KAAM,iB,GAYpF,iBAAAC,GACEC,EAAuBpB,KAAKC,mB,CAG9B,MAAAoB,GACE,MAAMC,EAAYtB,KAAKW,SAAW,UAClC,MAAMY,EAA2BhC,EAAeS,KAAKS,YAAYjB,QACjE,MAAMgC,EAAU,IAAIxB,KAAKyB,eACzB,MAAMC,EAAU,CACd,wBAAyB,KACzB,iCAAkCJ,EAClC,kCAAmCtB,KAAKY,SAE1C,MAAMe,IAAe3B,KAAK4B,QAC1B,MAAMC,EAAiBC,EAAQ9B,KAAK+B,QAAS,UAE7C,MAAMC,EAAuBC,IAC3B,MAAMC,EAAMlC,KAAKO,SAAWP,KAAKM,QACjC,MAAM6B,EAAWnC,KAAKY,QAAU,IAAM,IAEtC,GAAIU,EAAW,CACb,OAAQW,GACN,KAAK,EACL,KAAK,EACH,OAAOC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,IACrE,KAAK,EACH,GAAIqB,GAAejC,EAAYK,OAAQ,CACrC,OAAOuC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAErE,GAAIqB,GAAejC,EAAYM,MAAO,CACpC,OAAOsC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAErE,GAAIqB,GAAejC,EAAYO,OAAQ,CACrC,OAAOqC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAErE,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,OAAOoC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAEvE,KAAK,EACH,GAAIqB,GAAejC,EAAYM,MAAO,CACpC,OAAOsC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAErE,GAAIqB,GAAejC,EAAYO,OAAQ,CACrC,OAAOqC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAErE,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,OAAOoC,EAAM,IAAMlC,KAAKK,SAAW8B,EAAWnC,KAAKE,QAAU,IAAM,I,CAEvE,KAAK,EACH,GAAIqB,GAAejC,EAAYO,OAAQ,CACrC,OAAOqC,EAAM,IAAMlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,I,CAEhE,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,OAAOoC,EAAM,IAAMlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,I,CAElE,KAAK,EACH,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,OAAOoC,EAAM,IAAMlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,I,OAG/D,CACL,OAAQ+B,GACN,KAAK,EACL,KAAK,EACH,OAAOC,EAAM,KAAOlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,IACjE,KAAK,EACL,KAAK,EACH,OAAOgC,EAAM,IAAMlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,KAChE,KAAK,EACL,KAAK,EACH,OAAOgC,EAAM,IAAMlC,KAAKK,SAAW,IAAML,KAAKE,QAAU,IAAM,K,GAKtE,MAAMkC,EAAe,CAACC,EAAqBJ,EAAeK,KACxD,MAAMJ,EAAMlC,KAAKO,SAAWP,KAAKM,QACjC,MAAMiC,EAAUD,GAAY,MAAQA,GAAYE,UAEhD,GAAIlB,EAAW,CACb,OAAQW,GACN,KAAK,EACL,KAAK,EACH,OAAOI,EACT,KAAK,EACH,GAAIE,EAAS,CACX,OAAOL,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAOrC,KAAKE,QAAUmC,EAAO,I,CAEnE,GAAId,GAAejC,EAAYQ,MAAO,CACpC,GAAIE,KAAKY,QAAS,CAChB,OAAOZ,KAAKO,QAAU,KAAOP,KAAKM,QAAU,KAAON,KAAKK,SAAWgC,EAAO,I,CAE5E,OAAOrC,KAAKO,QAAU8B,EAAOrC,KAAKM,QAAU+B,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE5E,OAAOH,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,KAC7C,KAAK,EACH,GAAIE,EAAS,CACX,OAAOL,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAOrC,KAAKE,QAAUmC,EAAO,I,CAEnE,GAAId,GAAejC,EAAYO,OAAQ,CACrC,GAAIG,KAAKY,QAAS,CAChB,OAAOZ,KAAKO,QAAU,KAAOP,KAAKM,QAAU,KAAON,KAAKK,SAAWgC,EAAO,I,CAE5E,OAAOrC,KAAKO,QAAU8B,EAAOrC,KAAKM,QAAU+B,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE5E,GAAId,GAAejC,EAAYQ,MAAO,CACpC,GAAIE,KAAKY,QAAS,CAChB,OAAOZ,KAAKO,QAAU,KAAOP,KAAKM,QAAU,KAAON,KAAKK,SAAWgC,EAAO,I,CAE5E,OAAOrC,KAAKO,QAAU8B,EAAOrC,KAAKM,QAAU+B,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE5E,OAAOH,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,KAC7C,KAAK,EACH,GAAIE,EAAS,CACX,OAAOL,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE7C,GAAIrC,KAAKY,QAAS,CAChB,OAAO,I,CAET,OAAOsB,EAAMG,EAAOrC,KAAKK,SAAW,KAAO,KAC7C,KAAK,EACH,GAAIkC,EAAS,CACX,OAAOL,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE7C,GAAIrC,KAAKY,QAAS,CAChB,OAAO,I,CAET,OAAOsB,EAAMG,EAAOrC,KAAKK,SAAW,KAAO,K,KAE1C,CACL,OAAQ4B,GACN,KAAK,EACL,KAAK,EACH,OAAOI,EACT,KAAK,EACL,KAAK,EACH,GAAIE,EAAS,CACX,OAAOF,C,CAET,GAAIrC,KAAKY,QAAS,CAChB,OAAOsB,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,I,CAE7C,OAAOH,EAAMG,EAAOrC,KAAKK,SAAW,KAAO,KAC7C,KAAK,EACL,KAAK,EACH,OAAO6B,EAAMG,EAAOrC,KAAKK,SAAWgC,EAAO,K,CAGjD,OAAOA,CAAI,EAGb,MAAMI,EAAgB,CAACH,EAAyBL,KAE9C,MAAMC,EAAMlC,KAAKO,SAAWP,KAAKM,QACjC,MAAMiC,EAAUD,GAAY,MAAQA,GAAYE,UAEhD,GAAID,EAAS,CACX,OAAO,I,CAGT,GAAIjB,EAAW,CACb,OAAQW,GACN,KAAK,EACL,KAAK,EACH,MAAO,MACT,KAAK,EACH,GAAIV,GAAejC,EAAYO,OAAQ,CACrC,GAAIG,KAAKY,QAAS,CAChB,OAAOsB,EAAM,MAAQlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,EAIvE,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,GAAIE,KAAKY,QAAS,CAChB,OAAOsB,EAAM,QAAUlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAEvE,OAAOgC,EAAM,KAAOlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAGpE,OAAOgC,EAAM,MAAQlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,KACrE,KAAK,EACH,GAAIqB,GAAejC,EAAYO,OAAQ,CACrC,GAAIG,KAAKY,QAAS,CAChB,OAAOsB,EAAM,QAAUlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAEvE,OAAOgC,EAAM,KAAOlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAGpE,GAAIqB,GAAejC,EAAYQ,MAAO,CACpC,GAAIE,KAAKY,QAAS,CAChB,OAAOsB,EAAM,QAAUlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAEvE,OAAOgC,EAAM,KAAOlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,I,CAGpE,OAAOgC,EAAM,MAAQlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,KACrE,KAAK,EACH,GAAIqB,GAAejC,EAAYO,QAAU0B,GAAejC,EAAYQ,MAAO,CACzE,GAAIE,KAAKY,QAAS,CAChB,OAAOsB,EAAM,QAAUlC,KAAKK,SAAW,QAAU,I,CAEnD,OAAO6B,EAAM,KAAOlC,KAAKK,SAAW,QAAU,I,CAGlD,KAAK,EACH,GAAIkB,GAAejC,EAAYQ,MAAO,CACpC,GAAIE,KAAKY,QAAS,CAChB,OAAOsB,EAAM,QAAUlC,KAAKK,SAAW,QAAU,I,CAEnD,OAAO6B,EAAM,KAAOlC,KAAKK,SAAW,QAAU,I,OAG/C,CACL,OAAQ4B,GACN,KAAK,EACL,KAAK,EACH,MAAO,MACT,KAAK,EACL,KAAK,EACH,GAAIjC,KAAKY,QAAS,CAChB,OAAOsB,EAAM,MAAQlC,KAAKK,SAAW,QAAUL,KAAKE,QAAU,QAAU,K,CAE1E,OAAOgC,EAAM,MAAQlC,KAAKK,SAAW,MAAQL,KAAKE,QAAU,KAAO,KACrE,KAAK,EACL,KAAK,EACH,OAAOgC,EAAM,KAAOlC,KAAKK,SAAW,KAAOL,KAAKE,QAAU,KAAO,K,GAKzE,IAAKoB,GAAatB,KAAKS,YAAYjB,OAAS,EAAG,CAC7C,OAAOkD,EAAA,8C,CAGT,MAAMC,EAAiBV,IAAa,CAClC,+BAAgC,KAChC,CAAC,iCAAiCA,EAAQ,KAAM,KAChD,CAAC,iCAAiCA,EAAQ,MAAMjC,KAAKY,QAAU,OAAS,aAAc,KACtF,CAAC,iCAAiCqB,EAAQ,MAAMV,KAAgB,KAChE,CAAC,iCAAiCU,EAAQ,MAAMV,MAAgBvB,KAAKY,QAAU,OAAS,aAAc,OAGxG,OACE8B,EAACE,EAAI,cAAatB,EAAY,OAAS,QAASuB,OAAQtB,EAAW,WAAYvB,KAAKY,QAAU,OAAS,SACpGe,GACCe,EAAA,OAAKI,MAAM,wCACTJ,EAAClB,EAAO,CAACsB,MAAM,gCAAgCC,MAAO/C,KAAKyB,cACxDzB,KAAK4B,UAIZc,EAAA,OAAKI,MAAOpB,MACN1B,KAAKS,YAAYuC,KAAI,CAACC,EAAgChB,IACxDgB,EAAO/B,MAAQ,eACbwB,EAAA,OAAKI,MAAOH,EAAcV,KAE1BS,EAAA,8BACEQ,IAAKjB,EACLkB,KAAMF,EAAOE,KACbC,SAAUH,EAAOG,SACjBxB,QAASqB,EAAOrB,QAChByB,KAAMJ,EAAOI,KACbf,SAAUW,EAAOX,SACjBgB,YAAatB,EAAoBC,EAAQ,GACzCI,KAAMD,EAAaa,EAAOZ,KAAMJ,EAAQ,EAAGgB,EAAOX,UAClDiB,cAAed,EAAcQ,EAAOX,SAAUL,EAAQ,GACtDa,MAAOH,EAAcV,QAK5BJ,GACCa,EAAA,OAAKI,MAAM,sCACTJ,EAAA,QAAMc,KAAK,Y"}
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-87c329f2.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);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);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{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);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{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);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{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)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"e36815481d42e206d790f02ebae56134307f0bb1"},t("div",{key:"d2dd8172e8ba2ba9ac0b46c30d8c1fb15ee0454f",class:e},t("div",{key:"5d157b270db59c345e65b7d5e6dcea6a77aa91c1",class:"stzh-eventinfo__left"},t("div",{key:"05419bcc8815ba29b34ee30b57f4eaec0842ca6d",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"5ae972b52f0421cee71348005e3ff4b4951854c8",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"16c739e003177607926cd1136c9eab260493f76f",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"2ecb7e2a55cc0f3eac1354c18a196fb61ebb1165",class:"stzh-eventinfo__right"},t("div",{key:"4c7e802a996e23d8a6939a92087ee6d581d46909"},t("div",{key:"2cc496e037d3e122a7e19319c773ea8fb55ff7bf",class:"stzh-eventinfo__head"},t("div",{key:"41de130350e8b118722a4af55bae3d251d595e2a",class:"stzh-eventinfo__main-date"},t("span",{key:"e853f910a2445c54b8019dacda1c15506f8e0358"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"c2a98c3feeea3b8e805f202c4a47a77424e1b945"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"b3675031da3f5266b11290c502eeb1a6e0d6d5ec"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"9d611bc39968f5da171d962b08d498f37e9a6960",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"331a6f47a11341f56773006de0bdc1032b01935c",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"510773d29dc3c8bfa3e0c0c0f83da885881f8741",class:"stzh-eventinfo__text"},t("div",{key:"0c5bc4c79bf0e737526db9eef0bc69d25cb7a0f7",class:"stzh-eventinfo__location"},t("slot",{key:"49c70b4b49c9ed0d33437c4d5e14eceae4f0da50",name:"location"})),t("div",{key:"c7883912606ed5cf67a1de54a55ae5c82bd5adb2",class:"stzh-eventinfo__additional-info"},t("slot",{key:"11116d63d311f7c69e0b1f800da1fc1451861d42",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"89adf3c665e7560da07b10853becbfbc9f964850",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"2dcf3044da3e8784bc5a0d7b625358264b7d2fc5",class:"stzh-eventinfo__details"},t("stzh-link",{key:"e5d104b8fa5792420a5fe0c843d5cdcd6af1e4a0",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"f5a2b07bc371f1b6e59a2375a779141b4fd98bde",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"61af8286b97203310f6a8d3a7e9721539d13c920",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"7b439130e219df59fe6fd8ca308e7ae88fb58d3e",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
2
- //# sourceMappingURL=p-e973ae31.entry.js.map
1
+ import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-87c329f2.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);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);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{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);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{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);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{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)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"82bda2a0763e141162b814fbbb79118bac1e64dd"},t("div",{key:"572cb08bc805e2358c5c9f91c864297662f401d6",class:e},t("div",{key:"9a8761e876ac56b91a7982a600c969c848b1ef77",class:"stzh-eventinfo__left"},t("div",{key:"2cc2f87e763206a8fd3b62a9c9e62a653fdfdcf1",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"eeba6906100f4c517d84e89eb1c74f4895c86c4a",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"8acffdcb6c6ace2f7ce0c9c10281d92dae9148e0",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"6abaf07acb610a15fd6cf906adeed9ca341cf753",class:"stzh-eventinfo__right"},t("div",{key:"5b8cc4a44cebc9982bfec745c3e900e9fdb93795"},t("div",{key:"5b039ffae534fa493a185e601d030bcc5b700788",class:"stzh-eventinfo__head"},t("div",{key:"59f0c8b4d549fff00949f2128cd66640d79283b4",class:"stzh-eventinfo__main-date"},t("span",{key:"ece12cb7af54075b7cc39e7ba08861697c72dddd"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"7623b4ac184faa43e4bee6ebdc924bb17fdbc416"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"ca0746ceeadcc8cc443f40de0e7aab9fe74f073b"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"c7799622bbde73631618651eb3838e9f8e3a4f5c",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"ebf56e96788ecfd86d4601870b74f66485d55d38",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"bf2b28cd5b6be79142d5370d00ec50c2caccc81e",class:"stzh-eventinfo__text"},t("div",{key:"a455d25ecc8c272fc35ab170229dc277aaccf70a",class:"stzh-eventinfo__location"},t("slot",{key:"09c1ad33b9ef9829c6a3a68f9be202f3b4c0a16e",name:"location"})),t("div",{key:"f5210891a7c420582f8362b0137c956fadce42c4",class:"stzh-eventinfo__additional-info"},t("slot",{key:"b7aa8669b9f0c568eb57a91525274f2f989664c5",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"9e7d0b771900f6ed840b27f559a7b7c431e0239f",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"a54fc00f9e00b23c9d8002667c6f4701877fcef2",class:"stzh-eventinfo__details"},t("stzh-link",{key:"5e11a21a53f60dbce4c9421ae2bf561ab39a3129",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"df34267f5e0b57c7f47cc9d7f39ab308f13abfbe",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"3026ac1fa50c75e56f4b0a5470209a59f8b6a111",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"854dcc887188e193d587f81b5de31c0f61b9747f",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
2
+ //# sourceMappingURL=p-1617973f.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as a,h as s,a as h,g as t}from"./p-ef5985a3.js";const r='.sc-stzh-homepage-search-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-homepage-search-h,[stzh-hidden].sc-stzh-homepage-search-h{display:none}.sc-stzh-homepage-search-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-homepage-search-h *.sc-stzh-homepage-search,.sc-stzh-homepage-search-h *.sc-stzh-homepage-search::before,.sc-stzh-homepage-search-h *.sc-stzh-homepage-search::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-homepage-search-h .has-focus.sc-stzh-homepage-search{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-homepage-search-h .stzh-fylingfocus-focused.sc-stzh-homepage-search{outline-style:none !important}.sc-stzh-homepage-search-h .stzh-fylingfocus-focused.sc-stzh-homepage-search::-moz-focus-inner{border:0 !important}.sc-stzh-homepage-search-h{--background-color:var(\n --stzh-homepage-search-background-color,\n var(--stzh-color-secondary20)\n );--grid-template-areas:"search search search search"}@media print{.sc-stzh-homepage-search-h{display:none}}@media screen and (min-width: 900px){.sc-stzh-homepage-search-h{--grid-template-areas:"search search search search search search search search"}}@media screen and (min-width: 1260px){.sc-stzh-homepage-search-h{--column-gap:var(--stzh-homepage-search-grid-gutter-large, 0);--grid-template-areas:"search search search search search search . . . . . ."}}@media screen and (min-width: 1600px){.sc-stzh-homepage-search-h{--column-gap:var(--stzh-homepage-search-grid-gutter-ultra, 0)}}@keyframes slideIn{0%{transform:translateX(-3.125rem);opacity:0}100%{transform:translateX(0);opacity:1}}.stzh-homepage-search.sc-stzh-homepage-search{background-color:var(--background-color)}.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:1.25rem;margin-right:1.25rem;column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-large);grid-template-areas:var(--grid-template-areas)}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:auto;margin-right:auto;max-width:84.25rem}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{grid-template-columns:repeat(12, minmax(0, 1fr))}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--column-gap)}}.stzh-homepage-search__form.sc-stzh-homepage-search{grid-area:search;opacity:0;transform:translateX(-3.125rem);animation:slideIn 0.5s ease forwards;animation-delay:0.4s}.stzh-homepage-search__search.sc-stzh-homepage-search{position:relative;color:var(--stzh-color-grey90);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-homepage-search__search.sc-stzh-homepage-search:hover{color:var(--stzh-color-black)}.stzh-homepage-search__search-input.sc-stzh-homepage-search{width:100%;max-width:100%;background-color:var(--stzh-color-white);color:transparent;font-family:inherit;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);border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-xsmall) var(--stzh-space-xsmall) var(--stzh-space-xxxxlarge);height:var(--stzh-form-input-height)}.stzh-homepage-search__search-input.sc-stzh-homepage-search:focus{color:var(--stzh-color-black)}.stzh-homepage-search__search-input.sc-stzh-homepage-search:-webkit-autofill{background-clip:text}.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-decoration,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-cancel-button,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-results-button,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-homepage-search__search-icon.sc-stzh-homepage-search{position:absolute;top:50%;left:var(--stzh-space-small);transform:translate(0, -50%);transition:transform var(--stzh-base-transition-animation-speed);--color:var(--stzh-color-primary70)}';const c=r;const o=class{constructor(s){e(this,s);this.stzhSearchChange=a(this,"stzhSearchChange",7);this.stzhSearchChanged=a(this,"stzhSearchChanged",7);this.handleSearchInput=e=>{this.searchValue=this.searchInput.value;this.stzhSearchChange.emit({component:"stzh-homepage-search",originalEvent:e,value:this.searchValue})};this.handleSearchChange=e=>{this.searchValue=this.searchInput.value;this.stzhSearchChanged.emit({component:"stzh-homepage-search",originalEvent:e,value:this.searchValue})};this.placeholder="Suchen";this.searchId="anchorSearch";this.searchAction=undefined;this.searchFieldName="q";this.searchValue="";this.searchFilled=undefined}searchValueWatcher(e){this.searchFilled=e!==""}async componentWillLoad(){this.searchValueWatcher(this.searchValue)}async componentDidLoad(){if(this.formElement){this.formElement.addEventListener("animationend",(()=>{if(this.searchInput){this.searchInput.focus()}}))}}render(){const e={"stzh-homepage-search":true,"stzh-homepage-search--is-search-filled":this.searchFilled};return s(h,{key:"4610961dc501870db8ed1191bd3b3366db064457"},s("div",{key:"d60f3270c7a38944eb5fda27e408b091e9a91774",class:e},s("div",{key:"f24ea7e0c067d7aa12f7b1ddeb56daec915ada4c",class:"stzh-homepage-search__container"},s("form",{key:"440bc679283f7531be3fe781c91867adc99d1c58",class:"stzh-homepage-search__form",action:this.searchAction,role:"search",ref:e=>this.formElement=e},s("label",{key:"7e756fc59bb0b4be74dc9f9bccfb74946f31fb0f",class:"stzh-homepage-search__search"},s("input",{key:"b529d7acdf57467640d8502f11ca540a71314338",id:this.searchId,ref:e=>this.searchInput=e,class:"stzh-homepage-search__search-input",type:"search",name:this.searchFieldName,onChange:this.handleSearchChange,onInput:this.handleSearchInput,placeholder:this.placeholder}),s("stzh-icon",{key:"a1315be821ca16e6d4a9ca7f0beff2b73ba74c9f",class:"stzh-homepage-search__search-icon",name:"search"}))))))}get element(){return t(this)}static get watchers(){return{searchValue:["searchValueWatcher"]}}};o.style=c;export{o as stzh_homepage_search};
2
- //# sourceMappingURL=p-0f29cccb.entry.js.map
1
+ import{r as e,c as a,h as s,a as h,g as t}from"./p-ef5985a3.js";const r='.sc-stzh-homepage-search-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-homepage-search-h,[stzh-hidden].sc-stzh-homepage-search-h{display:none}.sc-stzh-homepage-search-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-homepage-search-h *.sc-stzh-homepage-search,.sc-stzh-homepage-search-h *.sc-stzh-homepage-search::before,.sc-stzh-homepage-search-h *.sc-stzh-homepage-search::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-homepage-search-h .has-focus.sc-stzh-homepage-search{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-homepage-search-h .stzh-fylingfocus-focused.sc-stzh-homepage-search{outline-style:none !important}.sc-stzh-homepage-search-h .stzh-fylingfocus-focused.sc-stzh-homepage-search::-moz-focus-inner{border:0 !important}.sc-stzh-homepage-search-h{--background-color:var(\n --stzh-homepage-search-background-color,\n var(--stzh-color-secondary20)\n );--grid-template-areas:"search search search search"}@media print{.sc-stzh-homepage-search-h{display:none}}@media screen and (min-width: 900px){.sc-stzh-homepage-search-h{--grid-template-areas:"search search search search search search search search"}}@media screen and (min-width: 1260px){.sc-stzh-homepage-search-h{--column-gap:var(--stzh-homepage-search-grid-gutter-large, 0);--grid-template-areas:"search search search search search search . . . . . ."}}@media screen and (min-width: 1600px){.sc-stzh-homepage-search-h{--column-gap:var(--stzh-homepage-search-grid-gutter-ultra, 0)}}@keyframes slideIn{0%{transform:translateX(-3.125rem);opacity:0}100%{transform:translateX(0);opacity:1}}.stzh-homepage-search.sc-stzh-homepage-search{background-color:var(--background-color)}.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:1.25rem;margin-right:1.25rem;column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-large);grid-template-areas:var(--grid-template-areas)}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-search__container.sc-stzh-homepage-search{margin-left:auto;margin-right:auto;max-width:84.25rem}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{grid-template-columns:repeat(12, minmax(0, 1fr))}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-search__container.sc-stzh-homepage-search{column-gap:var(--column-gap)}}.stzh-homepage-search__form.sc-stzh-homepage-search{grid-area:search;opacity:0;transform:translateX(-3.125rem);animation:slideIn 0.5s ease forwards;animation-delay:0.4s}.stzh-homepage-search__search.sc-stzh-homepage-search{position:relative;color:var(--stzh-color-grey90);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-homepage-search__search.sc-stzh-homepage-search:hover{color:var(--stzh-color-black)}.stzh-homepage-search__search-input.sc-stzh-homepage-search{width:100%;max-width:100%;background-color:var(--stzh-color-white);color:transparent;font-family:inherit;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);border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-xsmall) var(--stzh-space-xsmall) var(--stzh-space-xxxxlarge);height:var(--stzh-form-input-height)}.stzh-homepage-search__search-input.sc-stzh-homepage-search:focus{color:var(--stzh-color-black)}.stzh-homepage-search__search-input.sc-stzh-homepage-search:-webkit-autofill{background-clip:text}.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-decoration,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-cancel-button,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-results-button,.stzh-homepage-search__search-input[type=search].sc-stzh-homepage-search::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-homepage-search__search-icon.sc-stzh-homepage-search{position:absolute;top:50%;left:var(--stzh-space-small);transform:translate(0, -50%);transition:transform var(--stzh-base-transition-animation-speed);--color:var(--stzh-color-primary70)}';const c=r;const o=class{constructor(s){e(this,s);this.stzhSearchChange=a(this,"stzhSearchChange",7);this.stzhSearchChanged=a(this,"stzhSearchChanged",7);this.handleSearchInput=e=>{this.searchValue=this.searchInput.value;this.stzhSearchChange.emit({component:"stzh-homepage-search",originalEvent:e,value:this.searchValue})};this.handleSearchChange=e=>{this.searchValue=this.searchInput.value;this.stzhSearchChanged.emit({component:"stzh-homepage-search",originalEvent:e,value:this.searchValue})};this.placeholder="Suchen";this.searchId="anchorSearch";this.searchAction=undefined;this.searchFieldName="q";this.searchValue="";this.searchFilled=undefined}searchValueWatcher(e){this.searchFilled=e!==""}async componentWillLoad(){this.searchValueWatcher(this.searchValue)}async componentDidLoad(){if(this.formElement){this.formElement.addEventListener("animationend",(()=>{if(this.searchInput){this.searchInput.focus()}}))}}render(){const e={"stzh-homepage-search":true,"stzh-homepage-search--is-search-filled":this.searchFilled};return s(h,{key:"4cf4819a55d07a025e3d241c63ce9983d2ffec0a"},s("div",{key:"95c9f388125367c563cabb300d19e6edfc44c964",class:e},s("div",{key:"b5d0ffb8deae388fb313002251b069f96b1aa4cc",class:"stzh-homepage-search__container"},s("form",{key:"cbc4fadb9b98f37975c379c09d2c004de1479f82",class:"stzh-homepage-search__form",action:this.searchAction,role:"search",ref:e=>this.formElement=e},s("label",{key:"5576c0b129a87cd53d5d30cc1cb3ff43a2f80ece",class:"stzh-homepage-search__search"},s("input",{key:"d52b782114a5ce3ff733aa927581d52ed594febd",id:this.searchId,ref:e=>this.searchInput=e,class:"stzh-homepage-search__search-input",type:"search",name:this.searchFieldName,onChange:this.handleSearchChange,onInput:this.handleSearchInput,placeholder:this.placeholder}),s("stzh-icon",{key:"faa1b99a92dc31dfcf9ec71d0ea2198ebaef52b8",class:"stzh-homepage-search__search-icon",name:"search"}))))))}get element(){return t(this)}static get watchers(){return{searchValue:["searchValueWatcher"]}}};o.style=c;export{o as stzh_homepage_search};
2
+ //# sourceMappingURL=p-16552049.entry.js.map