@oiz/stzh-components 4.13.0-beta2 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (876) hide show
  1. package/dist/cjs/{index-C2NolCUV.js → index-C_TLdBpH.js} +3 -3
  2. package/dist/cjs/{index-C2NolCUV.js.map → index-C_TLdBpH.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
  20. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -5
  21. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-components.cjs.js +1 -1
  32. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +141 -48
  57. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  67. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js → stzh-input-description-DyEt2kgK.js} +3 -3
  68. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js.map → stzh-input-description-DyEt2kgK.js.map} +1 -1
  69. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-search.cjs.entry.js +3 -4
  106. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-upload.cjs.entry.js +10 -13
  129. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  138. package/dist/cjs/utils-CdKceirv.js.map +1 -1
  139. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.css +4 -1
  140. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +179 -46
  141. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  142. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -3
  143. package/dist/collection/components/CMS/stzh-search/stzh-search.js.map +1 -1
  144. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +4 -0
  145. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  146. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
  147. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -4
  148. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
  149. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +2 -1
  150. package/dist/collection/components/stzh-header/stzh-header.css +1 -0
  151. package/dist/collection/components/stzh-upload/stzh-upload.js +10 -13
  152. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  153. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +5 -5
  154. package/dist/collection/index.js.map +1 -1
  155. package/dist/collection/utils/utils.js.map +1 -1
  156. package/dist/components/index.js +2 -2
  157. package/dist/components/{p-Z-Jqp34a.js → p-2zoJg-p3.js} +3 -3
  158. package/dist/components/{p-Z-Jqp34a.js.map → p-2zoJg-p3.js.map} +1 -1
  159. package/dist/components/{p-DEPpXTKe.js → p-3vRDG1kG.js} +6 -6
  160. package/dist/components/{p-DEPpXTKe.js.map → p-3vRDG1kG.js.map} +1 -1
  161. package/dist/components/{p-CQxbVj7f.js → p-ANAbTBvv.js} +4 -4
  162. package/dist/components/{p-CQxbVj7f.js.map → p-ANAbTBvv.js.map} +1 -1
  163. package/dist/components/{p-ugjxp2cX.js → p-B1bpRji0.js} +7 -7
  164. package/dist/components/{p-ugjxp2cX.js.map → p-B1bpRji0.js.map} +1 -1
  165. package/dist/components/{p-CJHyHIqZ.js → p-BFvfQqwV.js} +4 -4
  166. package/dist/components/{p-CJHyHIqZ.js.map → p-BFvfQqwV.js.map} +1 -1
  167. package/dist/components/{p-CpOGdrbL.js → p-BIaHkub8.js} +12 -12
  168. package/dist/components/{p-CpOGdrbL.js.map → p-BIaHkub8.js.map} +1 -1
  169. package/dist/components/{p-cy07BSqU.js → p-BJZwsXr4.js} +4 -4
  170. package/dist/components/{p-cy07BSqU.js.map → p-BJZwsXr4.js.map} +1 -1
  171. package/dist/components/{p-Dux-ObXr.js → p-BL7NQ4Wt.js} +8 -8
  172. package/dist/components/{p-Dux-ObXr.js.map → p-BL7NQ4Wt.js.map} +1 -1
  173. package/dist/components/{p-DOYdpl1Q.js → p-BLo-sQFo.js} +7 -7
  174. package/dist/components/{p-DOYdpl1Q.js.map → p-BLo-sQFo.js.map} +1 -1
  175. package/dist/components/{p-ui-6TPA5.js → p-BMY0OZYH.js} +3 -3
  176. package/dist/components/{p-ui-6TPA5.js.map → p-BMY0OZYH.js.map} +1 -1
  177. package/dist/components/{p-CWotAi0D.js → p-BWWR7g-q.js} +8 -8
  178. package/dist/components/{p-CWotAi0D.js.map → p-BWWR7g-q.js.map} +1 -1
  179. package/dist/components/{p-BFYM0d9U.js → p-BYV94voK.js} +10 -10
  180. package/dist/components/{p-BFYM0d9U.js.map → p-BYV94voK.js.map} +1 -1
  181. package/dist/components/{p-v5danKU8.js → p-BaQRAFeH.js} +3 -3
  182. package/dist/components/{p-v5danKU8.js.map → p-BaQRAFeH.js.map} +1 -1
  183. package/dist/components/{p-Ckr8PPUF.js → p-Bdugfjv9.js} +3 -3
  184. package/dist/components/{p-Ckr8PPUF.js.map → p-Bdugfjv9.js.map} +1 -1
  185. package/dist/components/{p-CSvDDg8y.js → p-BmPPlJXz.js} +7 -7
  186. package/dist/components/{p-CSvDDg8y.js.map → p-BmPPlJXz.js.map} +1 -1
  187. package/dist/components/{p-DGA4Wbkr.js → p-BpON_oEB.js} +4 -4
  188. package/dist/components/{p-DGA4Wbkr.js.map → p-BpON_oEB.js.map} +1 -1
  189. package/dist/components/{p-BYd7Ux_3.js → p-Bt50TX2f.js} +3 -3
  190. package/dist/components/{p-BYd7Ux_3.js.map → p-Bt50TX2f.js.map} +1 -1
  191. package/dist/components/{p-ClSK_zhJ.js → p-BuDWT42k.js} +9 -9
  192. package/dist/components/{p-ClSK_zhJ.js.map → p-BuDWT42k.js.map} +1 -1
  193. package/dist/components/{p-Cx8-DmKZ.js → p-BuHcaeKS.js} +3 -3
  194. package/dist/components/{p-Cx8-DmKZ.js.map → p-BuHcaeKS.js.map} +1 -1
  195. package/dist/components/{p-U9-oC6Mf.js → p-BvV59h_6.js} +5 -5
  196. package/dist/components/{p-U9-oC6Mf.js.map → p-BvV59h_6.js.map} +1 -1
  197. package/dist/components/{p-XxEa8k1C.js → p-C-FXBCzT.js} +3 -3
  198. package/dist/components/{p-XxEa8k1C.js.map → p-C-FXBCzT.js.map} +1 -1
  199. package/dist/components/{p-kwBmMJ76.js → p-C1U0z0e7.js} +3 -3
  200. package/dist/components/{p-kwBmMJ76.js.map → p-C1U0z0e7.js.map} +1 -1
  201. package/dist/components/{p-DztW1SL5.js → p-C32EvZGw.js} +3 -3
  202. package/dist/components/{p-DztW1SL5.js.map → p-C32EvZGw.js.map} +1 -1
  203. package/dist/components/{p-4LLNW_Sp.js → p-C32XvIgd.js} +11 -11
  204. package/dist/components/{p-4LLNW_Sp.js.map → p-C32XvIgd.js.map} +1 -1
  205. package/dist/components/{p-Bqs0ypNa.js → p-C4ug0GfL.js} +9 -9
  206. package/dist/components/{p-Bqs0ypNa.js.map → p-C4ug0GfL.js.map} +1 -1
  207. package/dist/components/{p-B2fPjAf_.js → p-C7BDblTx.js} +5 -5
  208. package/dist/components/{p-B2fPjAf_.js.map → p-C7BDblTx.js.map} +1 -1
  209. package/dist/components/{p-DlTXAowj.js → p-C8jnkCGM.js} +5 -5
  210. package/dist/components/{p-DlTXAowj.js.map → p-C8jnkCGM.js.map} +1 -1
  211. package/dist/components/{p-B3JZYmt1.js → p-CCOQ6qgQ.js} +3 -3
  212. package/dist/components/{p-B3JZYmt1.js.map → p-CCOQ6qgQ.js.map} +1 -1
  213. package/dist/components/{p-CpKjrb_A.js → p-CMftdbTV.js} +6 -6
  214. package/dist/components/{p-CpKjrb_A.js.map → p-CMftdbTV.js.map} +1 -1
  215. package/dist/components/{p-DVhyRqBV.js → p-CNa8Iilq.js} +12 -12
  216. package/dist/components/p-CNa8Iilq.js.map +1 -0
  217. package/dist/components/{p-BCp-ZKc2.js → p-CZLauz36.js} +3 -3
  218. package/dist/components/{p-BCp-ZKc2.js.map → p-CZLauz36.js.map} +1 -1
  219. package/dist/components/{p-D9laE83Y.js → p-CmKF84b9.js} +3 -3
  220. package/dist/components/{p-D9laE83Y.js.map → p-CmKF84b9.js.map} +1 -1
  221. package/dist/components/{p-ClDAVBRJ.js → p-CokSxwg4.js} +3 -3
  222. package/dist/components/{p-ClDAVBRJ.js.map → p-CokSxwg4.js.map} +1 -1
  223. package/dist/components/{p-BDSDx_II.js → p-CpKHaF5R.js} +4 -4
  224. package/dist/components/{p-BDSDx_II.js.map → p-CpKHaF5R.js.map} +1 -1
  225. package/dist/components/{p-DSXTn_9y.js → p-CuGNlsAf.js} +3 -3
  226. package/dist/components/{p-DSXTn_9y.js.map → p-CuGNlsAf.js.map} +1 -1
  227. package/dist/components/{p-Dlsh0TmW.js → p-CvaREbqQ.js} +3 -3
  228. package/dist/components/{p-Dlsh0TmW.js.map → p-CvaREbqQ.js.map} +1 -1
  229. package/dist/components/{p-XwB7D2_o.js → p-D0sPQTAC.js} +5 -5
  230. package/dist/components/{p-XwB7D2_o.js.map → p-D0sPQTAC.js.map} +1 -1
  231. package/dist/components/{p-RUuCBZnE.js → p-D1u4OrAq.js} +11 -11
  232. package/dist/components/{p-RUuCBZnE.js.map → p-D1u4OrAq.js.map} +1 -1
  233. package/dist/components/{p-CDAjRg5y.js → p-D4_fDMz3.js} +3 -3
  234. package/dist/components/{p-CDAjRg5y.js.map → p-D4_fDMz3.js.map} +1 -1
  235. package/dist/components/{p--kTA8A3t.js → p-D7fY08-O.js} +3 -3
  236. package/dist/components/{p--kTA8A3t.js.map → p-D7fY08-O.js.map} +1 -1
  237. package/dist/components/{p-B4t4nDXO.js → p-DBcnovVn.js} +3 -3
  238. package/dist/components/{p-B4t4nDXO.js.map → p-DBcnovVn.js.map} +1 -1
  239. package/dist/components/{p-Cgv50ptD.js → p-DCZZ334-.js} +3 -3
  240. package/dist/components/{p-Cgv50ptD.js.map → p-DCZZ334-.js.map} +1 -1
  241. package/dist/components/{p-1M-KfXKI.js → p-DD1Dj29b.js} +10 -10
  242. package/dist/components/{p-1M-KfXKI.js.map → p-DD1Dj29b.js.map} +1 -1
  243. package/dist/components/{p-BjSC2u-6.js → p-DGzfPovV.js} +12 -12
  244. package/dist/components/{p-BjSC2u-6.js.map → p-DGzfPovV.js.map} +1 -1
  245. package/dist/components/{p-D3KrekDF.js → p-DIVs83nG.js} +4 -4
  246. package/dist/components/{p-D3KrekDF.js.map → p-DIVs83nG.js.map} +1 -1
  247. package/dist/components/{p-BwN_bjZw.js → p-DIwMTsdI.js} +7 -7
  248. package/dist/components/{p-BwN_bjZw.js.map → p-DIwMTsdI.js.map} +1 -1
  249. package/dist/components/{p-BSNY3NLD.js → p-DOX7Sb67.js} +3 -3
  250. package/dist/components/{p-BSNY3NLD.js.map → p-DOX7Sb67.js.map} +1 -1
  251. package/dist/components/{p-CfR3hrmj.js → p-DPhtvGYL.js} +3 -3
  252. package/dist/components/{p-CfR3hrmj.js.map → p-DPhtvGYL.js.map} +1 -1
  253. package/dist/components/{p-DS7dnwKT.js → p-DSZQskyr.js} +7 -7
  254. package/dist/components/{p-DS7dnwKT.js.map → p-DSZQskyr.js.map} +1 -1
  255. package/dist/components/p-Dk-EHN3E.js.map +1 -1
  256. package/dist/components/{p-CdBgMdny.js → p-DktieKZA.js} +3 -3
  257. package/dist/components/{p-CdBgMdny.js.map → p-DktieKZA.js.map} +1 -1
  258. package/dist/components/{p-CiYdGxRQ.js → p-DpaVUmTK.js} +6 -6
  259. package/dist/components/{p-CiYdGxRQ.js.map → p-DpaVUmTK.js.map} +1 -1
  260. package/dist/components/{p-Cm4H5jKM.js → p-DtcaCKDY.js} +9 -9
  261. package/dist/components/{p-Cm4H5jKM.js.map → p-DtcaCKDY.js.map} +1 -1
  262. package/dist/components/{p-DnWtkvjB.js → p-He3WFr8N.js} +4 -4
  263. package/dist/components/{p-DnWtkvjB.js.map → p-He3WFr8N.js.map} +1 -1
  264. package/dist/components/{p-BlwiU4CG.js → p-J0-1oo_k.js} +3 -3
  265. package/dist/components/{p-BlwiU4CG.js.map → p-J0-1oo_k.js.map} +1 -1
  266. package/dist/components/{p-DMzDq9Qk.js → p-V5mJZCwR.js} +3 -3
  267. package/dist/components/{p-DMzDq9Qk.js.map → p-V5mJZCwR.js.map} +1 -1
  268. package/dist/components/{p-BsVAjQYR.js → p-W_HkMjDQ.js} +3 -3
  269. package/dist/components/{p-BsVAjQYR.js.map → p-W_HkMjDQ.js.map} +1 -1
  270. package/dist/components/{p-CPeJeUa-.js → p-btZjsbp7.js} +7 -7
  271. package/dist/components/{p-CPeJeUa-.js.map → p-btZjsbp7.js.map} +1 -1
  272. package/dist/components/{p-DAWriA57.js → p-cK7enpxN.js} +3 -3
  273. package/dist/components/{p-DAWriA57.js.map → p-cK7enpxN.js.map} +1 -1
  274. package/dist/components/{p-D5scUQED.js → p-fBN1fT9G.js} +7 -7
  275. package/dist/components/{p-D5scUQED.js.map → p-fBN1fT9G.js.map} +1 -1
  276. package/dist/components/{p-BLPv4qvK.js → p-g99SJmS9.js} +5 -5
  277. package/dist/components/{p-BLPv4qvK.js.map → p-g99SJmS9.js.map} +1 -1
  278. package/dist/components/{p-C8Pvb9FC.js → p-gOxHUQnX.js} +3 -3
  279. package/dist/components/{p-C8Pvb9FC.js.map → p-gOxHUQnX.js.map} +1 -1
  280. package/dist/components/{p-qCrKVPwN.js → p-jnLGVWPm.js} +7 -7
  281. package/dist/components/{p-qCrKVPwN.js.map → p-jnLGVWPm.js.map} +1 -1
  282. package/dist/components/{p-Cl1gEXQY.js → p-ndh9Y2u_.js} +3 -3
  283. package/dist/components/{p-Cl1gEXQY.js.map → p-ndh9Y2u_.js.map} +1 -1
  284. package/dist/components/{p-B85c63Jz.js → p-sEXM48gh.js} +7 -7
  285. package/dist/components/{p-B85c63Jz.js.map → p-sEXM48gh.js.map} +1 -1
  286. package/dist/components/{p-CBGywK9s.js → p-t-mFwf-h.js} +3 -3
  287. package/dist/components/{p-CBGywK9s.js.map → p-t-mFwf-h.js.map} +1 -1
  288. package/dist/components/p-uD4ilJut.js.map +1 -1
  289. package/dist/components/{p-BEN2QXaH.js → p-v8Ik0RFs.js} +3 -3
  290. package/dist/components/{p-BEN2QXaH.js.map → p-v8Ik0RFs.js.map} +1 -1
  291. package/dist/components/{p-DdYpx2_6.js → p-xZPbfH7_.js} +6 -6
  292. package/dist/components/{p-DdYpx2_6.js.map → p-xZPbfH7_.js.map} +1 -1
  293. package/dist/components/{p-BHr9Alht.js → p-zbNc4ZBN.js} +6 -6
  294. package/dist/components/{p-BHr9Alht.js.map → p-zbNc4ZBN.js.map} +1 -1
  295. package/dist/components/stzh-accordion-item.js +1 -1
  296. package/dist/components/stzh-accordion.js +1 -1
  297. package/dist/components/stzh-actions.js +1 -1
  298. package/dist/components/stzh-actionset.js +1 -1
  299. package/dist/components/stzh-amount.js +9 -9
  300. package/dist/components/stzh-anchornav.js +5 -5
  301. package/dist/components/stzh-app-nav.js +1 -1
  302. package/dist/components/stzh-appointments.js +13 -13
  303. package/dist/components/stzh-archivelist.js +7 -7
  304. package/dist/components/stzh-audio.js +5 -5
  305. package/dist/components/stzh-badge.js +1 -1
  306. package/dist/components/stzh-banner.js +4 -4
  307. package/dist/components/stzh-breadcrumb.js +1 -1
  308. package/dist/components/stzh-button.js +1 -1
  309. package/dist/components/stzh-buttongroup.js +1 -1
  310. package/dist/components/stzh-calendar.js +1 -1
  311. package/dist/components/stzh-card-navigation.js +4 -4
  312. package/dist/components/stzh-card-navigation.js.map +1 -1
  313. package/dist/components/stzh-card-searchresult.js +15 -18
  314. package/dist/components/stzh-card-searchresult.js.map +1 -1
  315. package/dist/components/stzh-card-superteaser.js +14 -14
  316. package/dist/components/stzh-card.js +1 -1
  317. package/dist/components/stzh-cardlist.js +1 -1
  318. package/dist/components/stzh-carousel.js +1 -1
  319. package/dist/components/stzh-cell.js +1 -1
  320. package/dist/components/stzh-chart.js +1 -1
  321. package/dist/components/stzh-checkbox.js +1 -1
  322. package/dist/components/stzh-checkboxgroup.js +5 -5
  323. package/dist/components/stzh-chip.js +1 -1
  324. package/dist/components/stzh-chipgroup.js +1 -1
  325. package/dist/components/stzh-chipselect.js +1 -1
  326. package/dist/components/stzh-clamp.js +1 -1
  327. package/dist/components/stzh-company-logo.js +1 -1
  328. package/dist/components/stzh-contact-cv.js +4 -4
  329. package/dist/components/stzh-contact.js +10 -10
  330. package/dist/components/stzh-container.js +1 -1
  331. package/dist/components/stzh-content.js +1 -1
  332. package/dist/components/stzh-cspace.js +1 -1
  333. package/dist/components/stzh-cta.js +3 -3
  334. package/dist/components/stzh-datalist-item.js +1 -1
  335. package/dist/components/stzh-datalist.js +1 -1
  336. package/dist/components/stzh-datamessagelist-item.js +11 -11
  337. package/dist/components/stzh-datamessagelist.js +1 -1
  338. package/dist/components/stzh-datatable.js +17 -17
  339. package/dist/components/stzh-datepicker.js +1 -1
  340. package/dist/components/stzh-daterange.js +4 -4
  341. package/dist/components/stzh-details.js +1 -1
  342. package/dist/components/stzh-dialog.js +1 -1
  343. package/dist/components/stzh-disturber.js +4 -4
  344. package/dist/components/stzh-dropdown.js +1 -1
  345. package/dist/components/stzh-editor.js +4 -4
  346. package/dist/components/stzh-eventdata.js +1 -1
  347. package/dist/components/stzh-eventinfo.js +5 -5
  348. package/dist/components/stzh-feedreader-item.js +2 -2
  349. package/dist/components/stzh-feedreader.js +8 -8
  350. package/dist/components/stzh-fieldset.js +1 -1
  351. package/dist/components/stzh-figure.js +1 -1
  352. package/dist/components/stzh-flyingfocus.js +1 -1
  353. package/dist/components/stzh-footer.js +4 -4
  354. package/dist/components/stzh-gallery.js +8 -8
  355. package/dist/components/stzh-geo-ref-data.js +164 -71
  356. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  357. package/dist/components/stzh-ghettobox.js +4 -4
  358. package/dist/components/stzh-header.js +1 -1
  359. package/dist/components/stzh-heading.js +1 -1
  360. package/dist/components/stzh-homepage-search.js +2 -2
  361. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  362. package/dist/components/stzh-hr.js +1 -1
  363. package/dist/components/stzh-hspace.js +1 -1
  364. package/dist/components/stzh-http-error.js +6 -6
  365. package/dist/components/stzh-icon.js +1 -1
  366. package/dist/components/stzh-iframe.js +1 -1
  367. package/dist/components/stzh-imagecomparison.js +2 -2
  368. package/dist/components/stzh-input.js +1 -1
  369. package/dist/components/stzh-invert.js +1 -1
  370. package/dist/components/stzh-link.js +1 -1
  371. package/dist/components/stzh-linklist.js +10 -10
  372. package/dist/components/stzh-list-item.js +1 -1
  373. package/dist/components/stzh-list.js +1 -1
  374. package/dist/components/stzh-loader.js +1 -1
  375. package/dist/components/stzh-loadingbar.js +1 -1
  376. package/dist/components/stzh-menu-item.js +1 -1
  377. package/dist/components/stzh-menu.js +1 -1
  378. package/dist/components/stzh-message.js +1 -1
  379. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  380. package/dist/components/stzh-monthyearpicker.js +5 -5
  381. package/dist/components/stzh-offline-indicator.js +6 -6
  382. package/dist/components/stzh-olmap.js +1 -1
  383. package/dist/components/stzh-overlay.js +1 -1
  384. package/dist/components/stzh-page-skiplinks.js +1 -1
  385. package/dist/components/stzh-pagebottom.js +8 -8
  386. package/dist/components/stzh-pagecontent.js +1 -1
  387. package/dist/components/stzh-pagetitle-hero.js +1 -1
  388. package/dist/components/stzh-pagetitle-home.js +2 -2
  389. package/dist/components/stzh-pagetitle.js +2 -2
  390. package/dist/components/stzh-pagination.js +1 -1
  391. package/dist/components/stzh-panorama.js +11 -11
  392. package/dist/components/stzh-pi-content-navigation.js +3 -3
  393. package/dist/components/stzh-pi-menu.js +3 -3
  394. package/dist/components/stzh-pi-pagetitle.js +2 -2
  395. package/dist/components/stzh-pi-quote.js +1 -1
  396. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  397. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  398. package/dist/components/stzh-pi-teaser.js +2 -2
  399. package/dist/components/stzh-pkzh-qr.js +20 -20
  400. package/dist/components/stzh-popover.js +1 -1
  401. package/dist/components/stzh-print.js +1 -1
  402. package/dist/components/stzh-quote.js +1 -1
  403. package/dist/components/stzh-radio.js +1 -1
  404. package/dist/components/stzh-radiogroup.js +1 -1
  405. package/dist/components/stzh-rating.js +5 -5
  406. package/dist/components/stzh-ratio.js +1 -1
  407. package/dist/components/stzh-readspeaker.js +4 -4
  408. package/dist/components/stzh-richtext.js +2 -2
  409. package/dist/components/stzh-row.js +1 -1
  410. package/dist/components/stzh-saptcha.js +7 -7
  411. package/dist/components/stzh-scrollup.js +1 -1
  412. package/dist/components/stzh-search.js +18 -19
  413. package/dist/components/stzh-search.js.map +1 -1
  414. package/dist/components/stzh-section.js +1 -1
  415. package/dist/components/stzh-share.js +1 -1
  416. package/dist/components/stzh-show.js +1 -1
  417. package/dist/components/stzh-sitemap.js +9 -9
  418. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  419. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  420. package/dist/components/stzh-skiplink.js +1 -1
  421. package/dist/components/stzh-socialmediastream-item.js +1 -1
  422. package/dist/components/stzh-socialmediastream.js +6 -6
  423. package/dist/components/stzh-sortable.js +1 -1
  424. package/dist/components/stzh-space.js +1 -1
  425. package/dist/components/stzh-status.js +1 -1
  426. package/dist/components/stzh-stepper-item.js +1 -1
  427. package/dist/components/stzh-stepper.js +3 -3
  428. package/dist/components/stzh-sticky-actions.js +2 -2
  429. package/dist/components/stzh-sticky.js +1 -1
  430. package/dist/components/stzh-table.js +1 -1
  431. package/dist/components/stzh-tag.js +1 -1
  432. package/dist/components/stzh-text.js +1 -1
  433. package/dist/components/stzh-textandimage.js +1 -1
  434. package/dist/components/stzh-timeline-item.js +3 -3
  435. package/dist/components/stzh-timeline.js +1 -1
  436. package/dist/components/stzh-timepicker.js +5 -5
  437. package/dist/components/stzh-toast.js +1 -1
  438. package/dist/components/stzh-toastbar.js +1 -1
  439. package/dist/components/stzh-toggle.js +5 -5
  440. package/dist/components/stzh-tooltip.js +1 -1
  441. package/dist/components/stzh-twocolumns.js +1 -1
  442. package/dist/components/stzh-upload.js +21 -24
  443. package/dist/components/stzh-upload.js.map +1 -1
  444. package/dist/components/stzh-vbz-carousel.js +2 -2
  445. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  446. package/dist/components/stzh-vbz-intro.js +5 -5
  447. package/dist/components/stzh-vbz-linechip.js +1 -1
  448. package/dist/components/stzh-vbz-majorticker.js +7 -7
  449. package/dist/components/stzh-vbz-ticker.js +7 -7
  450. package/dist/components/stzh-visuallyhidden.js +1 -1
  451. package/dist/components/stzh-vspace.js +1 -1
  452. package/dist/components/stzh-youtube.js +6 -6
  453. package/dist/esm/{index-C0D5-aI8.js → index-BeYTS5to.js} +3 -3
  454. package/dist/esm/{index-C0D5-aI8.js.map → index-BeYTS5to.js.map} +1 -1
  455. package/dist/esm/index.js.map +1 -1
  456. package/dist/esm/loader.js +2 -2
  457. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  458. package/dist/esm/stzh-actions_6.entry.js +1 -1
  459. package/dist/esm/stzh-actionset.entry.js +1 -1
  460. package/dist/esm/stzh-amount.entry.js +1 -1
  461. package/dist/esm/stzh-anchornav.entry.js +1 -1
  462. package/dist/esm/stzh-app-nav.entry.js +1 -1
  463. package/dist/esm/stzh-appointments.entry.js +1 -1
  464. package/dist/esm/stzh-archivelist.entry.js +1 -1
  465. package/dist/esm/stzh-audio.entry.js +1 -1
  466. package/dist/esm/stzh-badge_3.entry.js +1 -1
  467. package/dist/esm/stzh-banner.entry.js +1 -1
  468. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  469. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  470. package/dist/esm/stzh-calendar.entry.js +1 -1
  471. package/dist/esm/stzh-card-navigation.entry.js +3 -3
  472. package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
  473. package/dist/esm/stzh-card-searchresult.entry.js +2 -5
  474. package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
  475. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  476. package/dist/esm/stzh-card_2.entry.js +1 -1
  477. package/dist/esm/stzh-carousel.entry.js +1 -1
  478. package/dist/esm/stzh-chart.entry.js +1 -1
  479. package/dist/esm/stzh-checkbox.entry.js +2 -2
  480. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  481. package/dist/esm/stzh-chip_2.entry.js +2 -2
  482. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  483. package/dist/esm/stzh-clamp.entry.js +1 -1
  484. package/dist/esm/stzh-company-logo.entry.js +1 -1
  485. package/dist/esm/stzh-components.js +2 -2
  486. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  487. package/dist/esm/stzh-contact.entry.js +1 -1
  488. package/dist/esm/stzh-container_2.entry.js +1 -1
  489. package/dist/esm/stzh-content.entry.js +1 -1
  490. package/dist/esm/stzh-cta.entry.js +1 -1
  491. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  492. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  493. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  494. package/dist/esm/stzh-datatable.entry.js +1 -1
  495. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  496. package/dist/esm/stzh-daterange.entry.js +1 -1
  497. package/dist/esm/stzh-details.entry.js +1 -1
  498. package/dist/esm/stzh-dialog.entry.js +1 -1
  499. package/dist/esm/stzh-disturber.entry.js +1 -1
  500. package/dist/esm/stzh-dropdown.entry.js +2 -2
  501. package/dist/esm/stzh-editor.entry.js +1 -1
  502. package/dist/esm/stzh-eventdata.entry.js +1 -1
  503. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  504. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  505. package/dist/esm/stzh-feedreader.entry.js +1 -1
  506. package/dist/esm/stzh-figure.entry.js +1 -1
  507. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  508. package/dist/esm/stzh-footer.entry.js +1 -1
  509. package/dist/esm/stzh-gallery.entry.js +1 -1
  510. package/dist/esm/stzh-geo-ref-data.entry.js +141 -48
  511. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  512. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  513. package/dist/esm/stzh-header_3.entry.js +2 -2
  514. package/dist/esm/stzh-heading.entry.js +1 -1
  515. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  516. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  517. package/dist/esm/stzh-hr.entry.js +1 -1
  518. package/dist/esm/stzh-hspace.entry.js +1 -1
  519. package/dist/esm/stzh-http-error.entry.js +1 -1
  520. package/dist/esm/stzh-iframe.entry.js +1 -1
  521. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  522. package/dist/esm/{stzh-input-description-D5t-ZID5.js → stzh-input-description-0t9Kfy0T.js} +3 -3
  523. package/dist/esm/{stzh-input-description-D5t-ZID5.js.map → stzh-input-description-0t9Kfy0T.js.map} +1 -1
  524. package/dist/esm/stzh-input.entry.js +2 -2
  525. package/dist/esm/stzh-invert.entry.js +1 -1
  526. package/dist/esm/stzh-link.entry.js +1 -1
  527. package/dist/esm/stzh-linklist.entry.js +1 -1
  528. package/dist/esm/stzh-list_2.entry.js +1 -1
  529. package/dist/esm/stzh-loader.entry.js +1 -1
  530. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  531. package/dist/esm/stzh-menu_2.entry.js +1 -1
  532. package/dist/esm/stzh-message.entry.js +1 -1
  533. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  534. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  535. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  536. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  537. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  538. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  539. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  540. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  541. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  542. package/dist/esm/stzh-panorama.entry.js +1 -1
  543. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  544. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  545. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  546. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  547. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  548. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  549. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  550. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  551. package/dist/esm/stzh-popover.entry.js +1 -1
  552. package/dist/esm/stzh-print_2.entry.js +1 -1
  553. package/dist/esm/stzh-quote.entry.js +1 -1
  554. package/dist/esm/stzh-rating.entry.js +2 -2
  555. package/dist/esm/stzh-ratio.entry.js +1 -1
  556. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  557. package/dist/esm/stzh-richtext.entry.js +1 -1
  558. package/dist/esm/stzh-saptcha.entry.js +1 -1
  559. package/dist/esm/stzh-scrollup.entry.js +1 -1
  560. package/dist/esm/stzh-search.entry.js +3 -4
  561. package/dist/esm/stzh-search.entry.js.map +1 -1
  562. package/dist/esm/stzh-section.entry.js +1 -1
  563. package/dist/esm/stzh-show.entry.js +1 -1
  564. package/dist/esm/stzh-sitemap.entry.js +1 -1
  565. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  566. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  567. package/dist/esm/stzh-skiplink.entry.js +1 -1
  568. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  569. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  570. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  571. package/dist/esm/stzh-stepper.entry.js +1 -1
  572. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  573. package/dist/esm/stzh-sticky.entry.js +1 -1
  574. package/dist/esm/stzh-table.entry.js +1 -1
  575. package/dist/esm/stzh-text.entry.js +1 -1
  576. package/dist/esm/stzh-textandimage.entry.js +1 -1
  577. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  578. package/dist/esm/stzh-timeline.entry.js +1 -1
  579. package/dist/esm/stzh-timepicker.entry.js +1 -1
  580. package/dist/esm/stzh-toast_2.entry.js +1 -1
  581. package/dist/esm/stzh-toggle.entry.js +2 -2
  582. package/dist/esm/stzh-tooltip.entry.js +1 -1
  583. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  584. package/dist/esm/stzh-upload.entry.js +10 -13
  585. package/dist/esm/stzh-upload.entry.js.map +1 -1
  586. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  587. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  588. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  589. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  590. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  591. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  592. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  593. package/dist/esm/stzh-vspace.entry.js +1 -1
  594. package/dist/esm/stzh-youtube.entry.js +1 -1
  595. package/dist/esm/utils-frVeoxnJ.js.map +1 -1
  596. package/dist/stzh-components/index.esm.js.map +1 -1
  597. package/dist/stzh-components/{p-9a1dfabf.entry.js → p-007d78fd.entry.js} +2 -2
  598. package/dist/stzh-components/{p-592e08c6.entry.js → p-01b9df5a.entry.js} +2 -2
  599. package/dist/stzh-components/{p-79569a33.entry.js → p-0272e760.entry.js} +2 -2
  600. package/dist/stzh-components/{p-623ace6f.entry.js → p-050f441a.entry.js} +2 -2
  601. package/dist/stzh-components/{p-7d7e0fa4.entry.js → p-079fa397.entry.js} +2 -2
  602. package/dist/stzh-components/{p-d59d7878.entry.js → p-07ca6ef5.entry.js} +2 -2
  603. package/dist/stzh-components/{p-06c333b7.entry.js → p-0ba43e0e.entry.js} +2 -2
  604. package/dist/stzh-components/{p-231bfe4b.entry.js → p-0bd6f315.entry.js} +2 -2
  605. package/dist/stzh-components/{p-2c6c0ca3.entry.js → p-0c101756.entry.js} +2 -2
  606. package/dist/stzh-components/{p-17c4821c.entry.js → p-0cd15846.entry.js} +2 -2
  607. package/dist/stzh-components/{p-2c58f5e2.entry.js → p-0ed4de93.entry.js} +2 -2
  608. package/dist/stzh-components/{p-2c58f5e2.entry.js.map → p-0ed4de93.entry.js.map} +1 -1
  609. package/dist/stzh-components/{p-8d3790b7.entry.js → p-0f368190.entry.js} +2 -2
  610. package/dist/stzh-components/{p-e7f532e6.entry.js → p-12eadfb2.entry.js} +2 -2
  611. package/dist/stzh-components/p-16eba7e0.entry.js +2 -0
  612. package/dist/stzh-components/p-16eba7e0.entry.js.map +1 -0
  613. package/dist/stzh-components/{p-680e12d1.entry.js → p-178bc5d2.entry.js} +2 -2
  614. package/dist/stzh-components/p-179808aa.entry.js +2 -0
  615. package/dist/stzh-components/{p-7c5a2338.entry.js.map → p-179808aa.entry.js.map} +1 -1
  616. package/dist/stzh-components/{p-86330790.entry.js → p-1daff421.entry.js} +2 -2
  617. package/dist/stzh-components/{p-345f3e53.entry.js → p-1e915c27.entry.js} +2 -2
  618. package/dist/stzh-components/{p-0f3dda10.entry.js → p-21176939.entry.js} +2 -2
  619. package/dist/stzh-components/{p-570b6510.entry.js → p-28262897.entry.js} +2 -2
  620. package/dist/stzh-components/{p-2d5cfd07.entry.js → p-294ae00a.entry.js} +2 -2
  621. package/dist/stzh-components/{p-bf82166a.entry.js → p-2abdc589.entry.js} +2 -2
  622. package/dist/stzh-components/{p-9e51a76e.entry.js → p-2b7819e0.entry.js} +2 -2
  623. package/dist/stzh-components/{p-03f2a37f.entry.js → p-2d363f85.entry.js} +2 -2
  624. package/dist/stzh-components/{p-639eeb42.entry.js → p-2d8cbf4e.entry.js} +2 -2
  625. package/dist/stzh-components/{p-10862d51.entry.js → p-2f088786.entry.js} +2 -2
  626. package/dist/stzh-components/{p-e516022f.entry.js → p-33026551.entry.js} +2 -2
  627. package/dist/stzh-components/{p-d9c9814d.entry.js → p-33b2e102.entry.js} +2 -2
  628. package/dist/stzh-components/{p-ffdc6928.entry.js → p-3410fae9.entry.js} +2 -2
  629. package/dist/stzh-components/{p-ad398a72.entry.js → p-38c02dd0.entry.js} +2 -2
  630. package/dist/stzh-components/{p-d30c7ed4.entry.js → p-392e2499.entry.js} +2 -2
  631. package/dist/stzh-components/{p-87f2b8c0.entry.js → p-398f9f2c.entry.js} +2 -2
  632. package/dist/stzh-components/{p-ccd8940d.entry.js → p-39c858e3.entry.js} +2 -2
  633. package/dist/stzh-components/{p-f255971f.entry.js → p-3cdf3cac.entry.js} +2 -2
  634. package/dist/stzh-components/{p-ad4499aa.entry.js → p-3e7b5f48.entry.js} +2 -2
  635. package/dist/stzh-components/{p-5c7c5e8c.entry.js → p-3f3099c4.entry.js} +2 -2
  636. package/dist/stzh-components/{p-f567548a.entry.js → p-4246f35f.entry.js} +2 -2
  637. package/dist/stzh-components/{p-fcfa49af.entry.js → p-4725630b.entry.js} +2 -2
  638. package/dist/stzh-components/{p-9071fb49.entry.js → p-47e2552e.entry.js} +2 -2
  639. package/dist/stzh-components/{p-2ba09061.entry.js → p-48029431.entry.js} +2 -2
  640. package/dist/stzh-components/{p-ddfe3210.entry.js → p-4ac15f88.entry.js} +2 -2
  641. package/dist/stzh-components/{p-9196f9cc.entry.js → p-4c92941f.entry.js} +2 -2
  642. package/dist/stzh-components/{p-5a9ce779.entry.js → p-4d29e961.entry.js} +2 -2
  643. package/dist/stzh-components/{p-fe1535cb.entry.js → p-4fb33342.entry.js} +2 -2
  644. package/dist/stzh-components/{p-a11b455f.entry.js → p-50ad83ad.entry.js} +2 -2
  645. package/dist/stzh-components/{p-e03b0af3.entry.js → p-5258a535.entry.js} +2 -2
  646. package/dist/stzh-components/{p-f5f251f7.entry.js → p-532fe029.entry.js} +2 -2
  647. package/dist/stzh-components/{p-9588d15c.entry.js → p-543f0d52.entry.js} +2 -2
  648. package/dist/stzh-components/{p-a7ab234b.entry.js → p-5623ef6e.entry.js} +3 -3
  649. package/dist/stzh-components/{p-993b3333.entry.js → p-5836638b.entry.js} +2 -2
  650. package/dist/stzh-components/{p-e629e988.entry.js → p-58dbc135.entry.js} +2 -2
  651. package/dist/stzh-components/{p-27518af8.entry.js → p-59ad749b.entry.js} +2 -2
  652. package/dist/stzh-components/{p-f7de1da9.entry.js → p-5a7cdf2a.entry.js} +2 -2
  653. package/dist/stzh-components/{p-18812afb.entry.js → p-5e966b72.entry.js} +2 -2
  654. package/dist/stzh-components/{p-e1fb882b.entry.js → p-6056a756.entry.js} +2 -2
  655. package/dist/stzh-components/{p-f8b7af04.entry.js → p-65b004ba.entry.js} +2 -2
  656. package/dist/stzh-components/{p-9968ec76.entry.js → p-67bdcbf8.entry.js} +2 -2
  657. package/dist/stzh-components/{p-dd02b5c8.entry.js → p-6811e5ba.entry.js} +2 -2
  658. package/dist/stzh-components/{p-6eaa5a4d.entry.js → p-697e0d0e.entry.js} +2 -2
  659. package/dist/stzh-components/{p-2a95283e.entry.js → p-698094f1.entry.js} +2 -2
  660. package/dist/stzh-components/{p-86bb5e78.entry.js → p-69e26703.entry.js} +2 -2
  661. package/dist/stzh-components/{p-18781028.entry.js → p-69f1e77d.entry.js} +2 -2
  662. package/dist/stzh-components/{p-80e03036.entry.js → p-76ff58a9.entry.js} +2 -2
  663. package/dist/stzh-components/{p-68288481.entry.js → p-77fba478.entry.js} +2 -2
  664. package/dist/stzh-components/{p-f4004540.entry.js → p-7a51979e.entry.js} +2 -2
  665. package/dist/stzh-components/{p-ba7dc8ca.entry.js → p-7b1e5fc8.entry.js} +2 -2
  666. package/dist/stzh-components/{p-8392896e.entry.js → p-7cadab67.entry.js} +2 -2
  667. package/dist/stzh-components/{p-8392896e.entry.js.map → p-7cadab67.entry.js.map} +1 -1
  668. package/dist/stzh-components/{p-450d721f.entry.js → p-7ea65881.entry.js} +2 -2
  669. package/dist/stzh-components/{p-2c527126.entry.js → p-80b1fb1b.entry.js} +2 -2
  670. package/dist/stzh-components/{p-3f7b3650.entry.js → p-82014825.entry.js} +2 -2
  671. package/dist/stzh-components/{p-1e2e9b15.entry.js → p-837e98aa.entry.js} +2 -2
  672. package/dist/stzh-components/{p-807f386c.entry.js → p-848f2de3.entry.js} +2 -2
  673. package/dist/stzh-components/{p-db291d1c.entry.js → p-866099a2.entry.js} +2 -2
  674. package/dist/stzh-components/{p-db291d1c.entry.js.map → p-866099a2.entry.js.map} +1 -1
  675. package/dist/stzh-components/{p-284ac2d4.entry.js → p-899e4fc6.entry.js} +2 -2
  676. package/dist/stzh-components/{p-a3966c32.entry.js → p-8c8adb13.entry.js} +2 -2
  677. package/dist/stzh-components/{p-dc376105.entry.js → p-8ea28390.entry.js} +2 -2
  678. package/dist/stzh-components/{p-8de18936.entry.js → p-90d7442c.entry.js} +2 -2
  679. package/dist/stzh-components/{p-8a76f229.entry.js → p-929a434b.entry.js} +2 -2
  680. package/dist/stzh-components/p-929a434b.entry.js.map +1 -0
  681. package/dist/stzh-components/{p-59c05b01.entry.js → p-94bb66f5.entry.js} +2 -2
  682. package/dist/stzh-components/{p-0fd6e998.entry.js → p-9560e915.entry.js} +2 -2
  683. package/dist/stzh-components/{p-998fa12c.entry.js → p-95649307.entry.js} +2 -2
  684. package/dist/stzh-components/{p-bc01628b.entry.js → p-96e99e96.entry.js} +2 -2
  685. package/dist/stzh-components/p-96e99e96.entry.js.map +1 -0
  686. package/dist/stzh-components/{p-0818bf2a.entry.js → p-96eb42b2.entry.js} +2 -2
  687. package/dist/stzh-components/{p-94f2ba62.entry.js → p-97826448.entry.js} +2 -2
  688. package/dist/stzh-components/{p-5436f321.entry.js → p-9a4c0452.entry.js} +2 -2
  689. package/dist/stzh-components/{p-9e0fa964.entry.js → p-9c9c6c85.entry.js} +2 -2
  690. package/dist/stzh-components/{p-c449ba91.entry.js → p-9e41c979.entry.js} +2 -2
  691. package/dist/stzh-components/{p-2f72a9f5.entry.js → p-9ef1f8b2.entry.js} +2 -2
  692. package/dist/stzh-components/{p-e4f509a5.entry.js → p-9fc3c818.entry.js} +2 -2
  693. package/dist/stzh-components/p-BeYTS5to.js +3 -0
  694. package/dist/stzh-components/{p-C0D5-aI8.js.map → p-BeYTS5to.js.map} +1 -1
  695. package/dist/stzh-components/p-CBLSoWgI.js.map +1 -1
  696. package/dist/stzh-components/p-DOMoFgs-.js +2 -0
  697. package/dist/stzh-components/{p-2ReM0tCv.js.map → p-DOMoFgs-.js.map} +1 -1
  698. package/dist/stzh-components/{p-9c4bbf46.entry.js → p-a00f95c7.entry.js} +2 -2
  699. package/dist/stzh-components/{p-394442ee.entry.js → p-a1e9cfba.entry.js} +2 -2
  700. package/dist/stzh-components/{p-b48a80c1.entry.js → p-a34a8bdb.entry.js} +2 -2
  701. package/dist/stzh-components/{p-735d22f9.entry.js → p-a5137c14.entry.js} +2 -2
  702. package/dist/stzh-components/{p-1a6674eb.entry.js → p-a51eb5f2.entry.js} +5 -5
  703. package/dist/stzh-components/{p-4eb84867.entry.js → p-ac89ceda.entry.js} +3 -3
  704. package/dist/stzh-components/{p-2b843780.entry.js → p-b081df80.entry.js} +2 -2
  705. package/dist/stzh-components/{p-b2bb1103.entry.js → p-b0a79de1.entry.js} +2 -2
  706. package/dist/stzh-components/{p-309af29f.entry.js → p-b45a6e9e.entry.js} +2 -2
  707. package/dist/stzh-components/{p-1fabbb71.entry.js → p-b7592873.entry.js} +4 -4
  708. package/dist/stzh-components/{p-9f1866fc.entry.js → p-b7809776.entry.js} +2 -2
  709. package/dist/stzh-components/{p-5e91c34f.entry.js → p-ba487e20.entry.js} +2 -2
  710. package/dist/stzh-components/{p-3b2a793f.entry.js → p-bb6aa8f0.entry.js} +2 -2
  711. package/dist/stzh-components/{p-b571d3f3.entry.js → p-bf19e49a.entry.js} +2 -2
  712. package/dist/stzh-components/{p-988871ea.entry.js → p-c273fb23.entry.js} +2 -2
  713. package/dist/stzh-components/{p-6b3e826c.entry.js → p-c43f9396.entry.js} +2 -2
  714. package/dist/stzh-components/{p-81e540c9.entry.js → p-c8be55a4.entry.js} +2 -2
  715. package/dist/stzh-components/{p-35ee9f0e.entry.js → p-c9424d22.entry.js} +2 -2
  716. package/dist/stzh-components/{p-0c994613.entry.js → p-cbdc5cdb.entry.js} +2 -2
  717. package/dist/stzh-components/{p-a6bfa44c.entry.js → p-cbf31673.entry.js} +2 -2
  718. package/dist/stzh-components/{p-9e2662a6.entry.js → p-ce29376e.entry.js} +2 -2
  719. package/dist/stzh-components/{p-d12f7c51.entry.js → p-d2523c79.entry.js} +2 -2
  720. package/dist/stzh-components/{p-768f882b.entry.js → p-d6a64579.entry.js} +2 -2
  721. package/dist/stzh-components/{p-5a7d0e04.entry.js → p-d7766318.entry.js} +2 -2
  722. package/dist/stzh-components/{p-71c5050c.entry.js → p-d77a3842.entry.js} +2 -2
  723. package/dist/stzh-components/{p-ff57ec6d.entry.js → p-de177989.entry.js} +2 -2
  724. package/dist/stzh-components/{p-14155476.entry.js → p-df920ace.entry.js} +2 -2
  725. package/dist/stzh-components/{p-078878df.entry.js → p-e2b57066.entry.js} +2 -2
  726. package/dist/stzh-components/{p-a44e24b1.entry.js → p-e8ee43d3.entry.js} +2 -2
  727. package/dist/stzh-components/{p-71df251a.entry.js → p-ee883e3c.entry.js} +2 -2
  728. package/dist/stzh-components/{p-7d98a3d2.entry.js → p-ef2cdb7d.entry.js} +2 -2
  729. package/dist/stzh-components/{p-870b8ed1.entry.js → p-ef9b3719.entry.js} +2 -2
  730. package/dist/stzh-components/{p-3fc6b297.entry.js → p-eff01eb7.entry.js} +2 -2
  731. package/dist/stzh-components/{p-319c2a3f.entry.js → p-f80d382c.entry.js} +2 -2
  732. package/dist/stzh-components/{p-26347752.entry.js → p-f84eee88.entry.js} +2 -2
  733. package/dist/stzh-components/{p-131a937d.entry.js → p-f8bd13e7.entry.js} +2 -2
  734. package/dist/stzh-components/{p-daecb2b6.entry.js → p-f9f34a81.entry.js} +2 -2
  735. package/dist/stzh-components/{p-83fa3d09.entry.js → p-fc50ba7f.entry.js} +2 -2
  736. package/dist/stzh-components/{p-96e3957c.entry.js → p-fda334f4.entry.js} +3 -3
  737. package/dist/stzh-components/{p-8693799a.entry.js → p-fda9e8f6.entry.js} +2 -2
  738. package/dist/stzh-components/{p-54f27a08.entry.js → p-fe6e907a.entry.js} +2 -2
  739. package/dist/stzh-components/stzh-components.esm.js +1 -1
  740. package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +17 -1
  741. package/dist/types/components/stzh-upload/stzh-upload.d.ts +1 -4
  742. package/dist/types/components.d.ts +13 -6
  743. package/dist/types/index.d.ts +8 -0
  744. package/dist/vscode-data.json +1 -1
  745. package/package.json +8 -7
  746. package/dist/components/p-DVhyRqBV.js.map +0 -1
  747. package/dist/stzh-components/p-2ReM0tCv.js +0 -2
  748. package/dist/stzh-components/p-7c5a2338.entry.js +0 -2
  749. package/dist/stzh-components/p-8a76f229.entry.js.map +0 -1
  750. package/dist/stzh-components/p-9e2e97a3.entry.js +0 -2
  751. package/dist/stzh-components/p-9e2e97a3.entry.js.map +0 -1
  752. package/dist/stzh-components/p-C0D5-aI8.js +0 -3
  753. package/dist/stzh-components/p-bc01628b.entry.js.map +0 -1
  754. /package/dist/stzh-components/{p-9a1dfabf.entry.js.map → p-007d78fd.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-592e08c6.entry.js.map → p-01b9df5a.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-79569a33.entry.js.map → p-0272e760.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-623ace6f.entry.js.map → p-050f441a.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-7d7e0fa4.entry.js.map → p-079fa397.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-d59d7878.entry.js.map → p-07ca6ef5.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-06c333b7.entry.js.map → p-0ba43e0e.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-231bfe4b.entry.js.map → p-0bd6f315.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-2c6c0ca3.entry.js.map → p-0c101756.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-17c4821c.entry.js.map → p-0cd15846.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-8d3790b7.entry.js.map → p-0f368190.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-e7f532e6.entry.js.map → p-12eadfb2.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-680e12d1.entry.js.map → p-178bc5d2.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-86330790.entry.js.map → p-1daff421.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-345f3e53.entry.js.map → p-1e915c27.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-0f3dda10.entry.js.map → p-21176939.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-570b6510.entry.js.map → p-28262897.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-2d5cfd07.entry.js.map → p-294ae00a.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-bf82166a.entry.js.map → p-2abdc589.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-9e51a76e.entry.js.map → p-2b7819e0.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-03f2a37f.entry.js.map → p-2d363f85.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-639eeb42.entry.js.map → p-2d8cbf4e.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-10862d51.entry.js.map → p-2f088786.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-e516022f.entry.js.map → p-33026551.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-d9c9814d.entry.js.map → p-33b2e102.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-ffdc6928.entry.js.map → p-3410fae9.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-ad398a72.entry.js.map → p-38c02dd0.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-d30c7ed4.entry.js.map → p-392e2499.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-87f2b8c0.entry.js.map → p-398f9f2c.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-ccd8940d.entry.js.map → p-39c858e3.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-f255971f.entry.js.map → p-3cdf3cac.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-ad4499aa.entry.js.map → p-3e7b5f48.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-5c7c5e8c.entry.js.map → p-3f3099c4.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-f567548a.entry.js.map → p-4246f35f.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-fcfa49af.entry.js.map → p-4725630b.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-9071fb49.entry.js.map → p-47e2552e.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-2ba09061.entry.js.map → p-48029431.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-ddfe3210.entry.js.map → p-4ac15f88.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-9196f9cc.entry.js.map → p-4c92941f.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-5a9ce779.entry.js.map → p-4d29e961.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-fe1535cb.entry.js.map → p-4fb33342.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-a11b455f.entry.js.map → p-50ad83ad.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-e03b0af3.entry.js.map → p-5258a535.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-f5f251f7.entry.js.map → p-532fe029.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-9588d15c.entry.js.map → p-543f0d52.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-a7ab234b.entry.js.map → p-5623ef6e.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-993b3333.entry.js.map → p-5836638b.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-e629e988.entry.js.map → p-58dbc135.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-27518af8.entry.js.map → p-59ad749b.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-f7de1da9.entry.js.map → p-5a7cdf2a.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-18812afb.entry.js.map → p-5e966b72.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-e1fb882b.entry.js.map → p-6056a756.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-f8b7af04.entry.js.map → p-65b004ba.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-9968ec76.entry.js.map → p-67bdcbf8.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-dd02b5c8.entry.js.map → p-6811e5ba.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-6eaa5a4d.entry.js.map → p-697e0d0e.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-2a95283e.entry.js.map → p-698094f1.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-86bb5e78.entry.js.map → p-69e26703.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-18781028.entry.js.map → p-69f1e77d.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-80e03036.entry.js.map → p-76ff58a9.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-68288481.entry.js.map → p-77fba478.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-f4004540.entry.js.map → p-7a51979e.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-ba7dc8ca.entry.js.map → p-7b1e5fc8.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-450d721f.entry.js.map → p-7ea65881.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-2c527126.entry.js.map → p-80b1fb1b.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-3f7b3650.entry.js.map → p-82014825.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-1e2e9b15.entry.js.map → p-837e98aa.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-807f386c.entry.js.map → p-848f2de3.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-284ac2d4.entry.js.map → p-899e4fc6.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-a3966c32.entry.js.map → p-8c8adb13.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-dc376105.entry.js.map → p-8ea28390.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-8de18936.entry.js.map → p-90d7442c.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-59c05b01.entry.js.map → p-94bb66f5.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-0fd6e998.entry.js.map → p-9560e915.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-998fa12c.entry.js.map → p-95649307.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-0818bf2a.entry.js.map → p-96eb42b2.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-94f2ba62.entry.js.map → p-97826448.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-5436f321.entry.js.map → p-9a4c0452.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-9e0fa964.entry.js.map → p-9c9c6c85.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-c449ba91.entry.js.map → p-9e41c979.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-2f72a9f5.entry.js.map → p-9ef1f8b2.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-e4f509a5.entry.js.map → p-9fc3c818.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-9c4bbf46.entry.js.map → p-a00f95c7.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-394442ee.entry.js.map → p-a1e9cfba.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-b48a80c1.entry.js.map → p-a34a8bdb.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-735d22f9.entry.js.map → p-a5137c14.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-1a6674eb.entry.js.map → p-a51eb5f2.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-4eb84867.entry.js.map → p-ac89ceda.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-2b843780.entry.js.map → p-b081df80.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-b2bb1103.entry.js.map → p-b0a79de1.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-309af29f.entry.js.map → p-b45a6e9e.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-1fabbb71.entry.js.map → p-b7592873.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-9f1866fc.entry.js.map → p-b7809776.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-5e91c34f.entry.js.map → p-ba487e20.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-3b2a793f.entry.js.map → p-bb6aa8f0.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-b571d3f3.entry.js.map → p-bf19e49a.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-988871ea.entry.js.map → p-c273fb23.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-6b3e826c.entry.js.map → p-c43f9396.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-81e540c9.entry.js.map → p-c8be55a4.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-35ee9f0e.entry.js.map → p-c9424d22.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-0c994613.entry.js.map → p-cbdc5cdb.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-a6bfa44c.entry.js.map → p-cbf31673.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-9e2662a6.entry.js.map → p-ce29376e.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-d12f7c51.entry.js.map → p-d2523c79.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-768f882b.entry.js.map → p-d6a64579.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-5a7d0e04.entry.js.map → p-d7766318.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-71c5050c.entry.js.map → p-d77a3842.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-ff57ec6d.entry.js.map → p-de177989.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-14155476.entry.js.map → p-df920ace.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-078878df.entry.js.map → p-e2b57066.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-a44e24b1.entry.js.map → p-e8ee43d3.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-71df251a.entry.js.map → p-ee883e3c.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-7d98a3d2.entry.js.map → p-ef2cdb7d.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-870b8ed1.entry.js.map → p-ef9b3719.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-3fc6b297.entry.js.map → p-eff01eb7.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-319c2a3f.entry.js.map → p-f80d382c.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-26347752.entry.js.map → p-f84eee88.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-131a937d.entry.js.map → p-f8bd13e7.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-daecb2b6.entry.js.map → p-f9f34a81.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-83fa3d09.entry.js.map → p-fc50ba7f.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-96e3957c.entry.js.map → p-fda334f4.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-8693799a.entry.js.map → p-fda9e8f6.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-54f27a08.entry.js.map → p-fe6e907a.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as e,a as i,d as n}from"./p-C0D5-aI8.js";import{tc as a}from"./index.esm.js";import{p,a as h}from"./p-Df1Iqnz9.js";import{h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const r=()=>`.sc-stzh-appointments-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-appointments-h,[stzh-hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::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-appointments-h .has-focus.sc-stzh-appointments{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments{outline-style:none !important}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments::-moz-focus-inner{border:0 !important}.sc-stzh-appointments-h{--background-color:var(--stzh-color-secondary10)}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-small)}}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xxlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{display:flex;flex-direction:column;padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large);background-color:var(--background-color)}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-xxlarge)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{flex-grow:1;display:flex;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xlarge)}}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:flex;align-items:center;justify-content:space-between}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{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-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary70);display:flex;align-items:center}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{--size:var(--stzh-icon-size-large);margin-right:var(--stzh-space-xsmall)}.stzh-appointments__calendar-content.sc-stzh-appointments,.stzh-appointments__calendar-content-medium.sc-stzh-appointments{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;background-color:var(--stzh-color-white);padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{flex-grow:1}.stzh-appointments__appointments-radiogroup.sc-stzh-appointments{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-appointments__more-link.sc-stzh-appointments{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);margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}`;const c=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange");this.disableSort=false;this.sortBy="start";this.appointments=[];this.name="appointment";this.showItems=5;this.stepItems=5;this.calendarTitle="";this.appointmentsTitle="";this.showMoreLink=false;this.moreItemsLeft=0;this.showCalendar=false;this.showSort=false;this.showSortStart=false;this.showSortPlace=false;this.showAppointmentsTitle=false;this.allAppointsmentOnSameDay=true;this.sortOptions=[];this.isDateDisabled=t=>{const s=!!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate()));return!s};this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();if(t){t.hide()}}};this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems;const t=this.inputElement.querySelector("stzh-radio");t.focus()};this.onDropdownChange=async t=>{const s=t.target;const e=await s.getValue();if(e){this.sortBy=e}};this.onDatepickerChange=t=>{if(t.detail.component!=="stzh-datepicker"||!t.detail.valueAsDate){return}this.currentDate=t.detail.valueAsDate;this.showItems=this._initialShowItems};this.onRadioChange=t=>{this.value=t.detail.value;this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}currentDateWatcher(t){if(!t){this._currentDate=this.dateByValue||this.earliestDate;if(!this.dateByValue&&this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}else if(typeof t==="string"){this._currentDate=p(t);if(this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}else{this._currentDate=t;const s=this.getCurrentDateAppointments().map((t=>t.value));if(!s.includes(this.value)&&this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}}sortByWatcher(){if(this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}valueWatcher(){this.updateDateByValue();this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){this._appointments=this.normalizeAppointments(t);if(this._appointments.length>0){this._appointments.sort(((t,s)=>t.start>s.start?1:-1));this.earliestDate=this._appointments[0].start;this.latestDate=this._appointments[this._appointments.length-1].start;this.updateDateByValue()}if(this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`===`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay;this.showAppointmentsTitle=this._appointments.length>1;this.currentDateWatcher(this.currentDate)}shouldAutoSelectAppointment(){return typeof this.value==="undefined"&&!this.element.hasAttribute("value")}normalizeAppointments(t){const s=typeof t==="string"?JSON.parse(t):t;return s.map((t=>Object.assign(Object.assign({},t),{start:this.convertToDate(t.start),end:this.convertToDate(t.end)})))}convertToDate(t){if(typeof t==="string"){return new Date(t)}return t}updateDateByValue(){if(!this.value){this.dateByValue=null;return}const t=this._appointments.find((t=>t.value===this.value));if(!t){this.dateByValue=null}else{this.dateByValue=t.start}}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,e)=>{const i=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();if(i){t=e}return i}));if(this._appointments[t+1]){this.nextDate=this._appointments[t+1].start}else{this.nextDate=null}s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1));return s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));if(t.length>0){this.value=t[0].value;this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}async componentWillLoad(){this._initialShowItems=this.showItems;this.appointmentsWatcher(this.appointments);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"appointments")}this.dateAdapterWatcher(this.dateAdapter)}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems);this.showMoreLink=this.showItems<t.length;this.moreItemsLeft=t.length-this.showItems;this.showSortStart=!this.disableSort&&t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,e)=>e.indexOf(t)==s)).length>1;this.showSortPlace=!this.disableSort&&t.map((t=>t.place)).filter(((t,s,e)=>e.indexOf(t)==s)).length>1;this.sortOptions=[];if(this.showSortStart){this.sortOptions.push({text:this.localization.sortByTime,value:"start"})}if(this.showSortPlace){this.sortOptions.push({text:this.localization.sortByPlace,value:"place"})}this.showSort=!this.disableSort&&this.appointmentsShown.length>1;this._sortBy=this.showSortStart&&!this.showSortPlace&&"start"||!this.showSortStart&&this.showSortPlace&&"place"||this.sortBy}componentDidRender(){if(this.datepickerElement){this.datepickerElement.setDate(this._currentDate)}if(this.datepickerElementMedium){this.datepickerElementMedium.setDate(this._currentDate)}}render(){const t=o(this.element,"heading");const s={"stzh-appointments":true,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort};return e(i,{key:"00f0e9c50d342380ac2d3d6fe8de29b30638718b","has-heading":t},e("div",{key:"f916583f44e9cde4d830918cc1b61f70decf5c29",class:s},e("div",{key:"f2575d3486dfbb1671dfd030421f6d251dd2874b",class:"stzh-appointments__heading"},e("slot",{key:"c67adf7acf0ae26833ce1f3976a9129d4dd69eb2",name:"heading"})),e("div",{key:"b2c5fbed12a89aa27f0b131a94218c99127774e6",class:"stzh-appointments__wrapper"},this.showCalendar&&e("div",{key:"6589d80b368d218c2b664dba55a3bffe3e8b29e3",class:"stzh-appointments__calendar-wrapper"},e("div",{key:"6a6b86c4963a32776234e90244f0796086536d02",class:"stzh-appointments__calendar-title-wrapper"},e("div",{key:"1dc3a90380deb619ad2837e0749a36f552037ffb",class:"stzh-appointments__calendar-title"},e("stzh-icon",{key:"8e6e4c2608d0cf83fa458a0f2d173cb7a42f672a",class:"stzh-appointments__calendar-icon",name:"calendar"}),e("span",{key:"6ac53663dd524e10496755dc723668b86d92370e",class:"stzh-appointments__calendar-title-text"},this.calendarTitle||this.localization.calendarTitle))),e("div",{key:"5e12542a6ac08a1aa244fa6d66a9d9ac90a62d59",class:"stzh-appointments__calendar-content"},e("stzh-datepicker",{key:"8de22c77af9ebff192634ff740cf995f0affa133","hide-optional":true,ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},e("stzh-link",{key:"8ddfa7c5967ac5d34abaf2461e05c2e5d9586d18",slot:"action",size:"inherit",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments))),e("div",{key:"194cdcb0fc3571e2cfca175f5aff31ba277d3755",class:"stzh-appointments__calendar-content-medium"},e("stzh-datepicker",{key:"f6f70f73605b5275d2127f8407f68078d7f21850","hide-optional":true,ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:true,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},this.nextDate&&e("stzh-link",{key:"18beeab747cc5d3daf8ed9f8c1c339e815c3f79a",slot:"action",size:"inherit",onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments)))),e("div",{key:"390966f11757478cf66fe4f1a5d5c8ab87bbbec9",class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&e("div",{key:"b0363d75ada7967871f58fb65d39fe28da663ec1",class:"stzh-appointments__appointments-title-wrapper"},e("div",{key:"66502834e1d900b30d593175418a283db9357160",class:"stzh-appointments__appointments-title"},e("stzh-icon",{key:"a07b83cac89f69185bae6f7db1b2adcb73d0c5f5",class:"stzh-appointments__appointments-icon",name:"clock"}),e("span",{key:"9a0d5c279f99f88be904a1e30c545a3be51d63ce",class:"stzh-appointments__appointments-title-text"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&e("div",{key:"a2b78b2ff19931dfcda7bc526fb6f691e46d6f43",class:"stzh-appointments__sort"},e("stzh-dropdown",{key:"e554c5685cb7d6074ff246c4cfb373939e8d82e1","hide-optional":true,inline:true,"no-search":true,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",sizeMedium:"tiny",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),e("div",{key:"561d924258e5d073ee3d622892fd2d1ba56231ae",class:"stzh-appointments__appointments-content"},e("stzh-radiogroup",{key:"de3492a8d30eea1fd4c24f48c4fb46be3d2895ba",class:"stzh-appointments__appointments-radiogroup",ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":true,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>e("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:typeof t.disabled!=="undefined"?t.disabled:false},e("stzh-text",{font:"heavy",size:"centi"},!this.showCalendar&&e("span",null,this.dateAdapter.format(t.start,"dateLong"),", "),this.dateAdapter.formatSpan(t.start,t.end,"time")),e("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&e("stzh-link",{key:"d640fc5a649933b9e752ed0a3fcccbfad4d1cdbe",class:"stzh-appointments__more-link",size:"inherit",onClick:this.onMoreClick},a(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft)))))))}get element(){return n(this)}static get watchers(){return{dateAdapter:["dateAdapterWatcher"],currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};c.style=r();export{c as stzh_appointments};
2
- //# sourceMappingURL=p-35ee9f0e.entry.js.map
1
+ import{r as t,c as s,h as e,a as i,d as n}from"./p-BeYTS5to.js";import{tc as a}from"./index.esm.js";import{p,a as h}from"./p-Df1Iqnz9.js";import{h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const r=()=>`.sc-stzh-appointments-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-appointments-h,[stzh-hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::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-appointments-h .has-focus.sc-stzh-appointments{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments{outline-style:none !important}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments::-moz-focus-inner{border:0 !important}.sc-stzh-appointments-h{--background-color:var(--stzh-color-secondary10)}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-small)}}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xxlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-appointments__wrapper.sc-stzh-appointments{display:flex;flex-direction:column;padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large);background-color:var(--background-color)}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-xxlarge)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{flex-grow:1;display:flex;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xlarge)}}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:flex;align-items:center;justify-content:space-between}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{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-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary70);display:flex;align-items:center}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{--size:var(--stzh-icon-size-large);margin-right:var(--stzh-space-xsmall)}.stzh-appointments__calendar-content.sc-stzh-appointments,.stzh-appointments__calendar-content-medium.sc-stzh-appointments{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;background-color:var(--stzh-color-white);padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{flex-grow:1}.stzh-appointments__appointments-radiogroup.sc-stzh-appointments{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-appointments__more-link.sc-stzh-appointments{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);margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}`;const c=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange");this.disableSort=false;this.sortBy="start";this.appointments=[];this.name="appointment";this.showItems=5;this.stepItems=5;this.calendarTitle="";this.appointmentsTitle="";this.showMoreLink=false;this.moreItemsLeft=0;this.showCalendar=false;this.showSort=false;this.showSortStart=false;this.showSortPlace=false;this.showAppointmentsTitle=false;this.allAppointsmentOnSameDay=true;this.sortOptions=[];this.isDateDisabled=t=>{const s=!!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate()));return!s};this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();if(t){t.hide()}}};this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems;const t=this.inputElement.querySelector("stzh-radio");t.focus()};this.onDropdownChange=async t=>{const s=t.target;const e=await s.getValue();if(e){this.sortBy=e}};this.onDatepickerChange=t=>{if(t.detail.component!=="stzh-datepicker"||!t.detail.valueAsDate){return}this.currentDate=t.detail.valueAsDate;this.showItems=this._initialShowItems};this.onRadioChange=t=>{this.value=t.detail.value;this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}currentDateWatcher(t){if(!t){this._currentDate=this.dateByValue||this.earliestDate;if(!this.dateByValue&&this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}else if(typeof t==="string"){this._currentDate=p(t);if(this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}else{this._currentDate=t;const s=this.getCurrentDateAppointments().map((t=>t.value));if(!s.includes(this.value)&&this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}}sortByWatcher(){if(this.shouldAutoSelectAppointment()){this.setValueToFirstAppointmentOfCurrentDate()}}valueWatcher(){this.updateDateByValue();this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){this._appointments=this.normalizeAppointments(t);if(this._appointments.length>0){this._appointments.sort(((t,s)=>t.start>s.start?1:-1));this.earliestDate=this._appointments[0].start;this.latestDate=this._appointments[this._appointments.length-1].start;this.updateDateByValue()}if(this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`===`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay;this.showAppointmentsTitle=this._appointments.length>1;this.currentDateWatcher(this.currentDate)}shouldAutoSelectAppointment(){return typeof this.value==="undefined"&&!this.element.hasAttribute("value")}normalizeAppointments(t){const s=typeof t==="string"?JSON.parse(t):t;return s.map((t=>Object.assign(Object.assign({},t),{start:this.convertToDate(t.start),end:this.convertToDate(t.end)})))}convertToDate(t){if(typeof t==="string"){return new Date(t)}return t}updateDateByValue(){if(!this.value){this.dateByValue=null;return}const t=this._appointments.find((t=>t.value===this.value));if(!t){this.dateByValue=null}else{this.dateByValue=t.start}}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,e)=>{const i=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();if(i){t=e}return i}));if(this._appointments[t+1]){this.nextDate=this._appointments[t+1].start}else{this.nextDate=null}s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1));return s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));if(t.length>0){this.value=t[0].value;this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}async componentWillLoad(){this._initialShowItems=this.showItems;this.appointmentsWatcher(this.appointments);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"appointments")}this.dateAdapterWatcher(this.dateAdapter)}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems);this.showMoreLink=this.showItems<t.length;this.moreItemsLeft=t.length-this.showItems;this.showSortStart=!this.disableSort&&t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,e)=>e.indexOf(t)==s)).length>1;this.showSortPlace=!this.disableSort&&t.map((t=>t.place)).filter(((t,s,e)=>e.indexOf(t)==s)).length>1;this.sortOptions=[];if(this.showSortStart){this.sortOptions.push({text:this.localization.sortByTime,value:"start"})}if(this.showSortPlace){this.sortOptions.push({text:this.localization.sortByPlace,value:"place"})}this.showSort=!this.disableSort&&this.appointmentsShown.length>1;this._sortBy=this.showSortStart&&!this.showSortPlace&&"start"||!this.showSortStart&&this.showSortPlace&&"place"||this.sortBy}componentDidRender(){if(this.datepickerElement){this.datepickerElement.setDate(this._currentDate)}if(this.datepickerElementMedium){this.datepickerElementMedium.setDate(this._currentDate)}}render(){const t=o(this.element,"heading");const s={"stzh-appointments":true,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort};return e(i,{key:"00f0e9c50d342380ac2d3d6fe8de29b30638718b","has-heading":t},e("div",{key:"f916583f44e9cde4d830918cc1b61f70decf5c29",class:s},e("div",{key:"f2575d3486dfbb1671dfd030421f6d251dd2874b",class:"stzh-appointments__heading"},e("slot",{key:"c67adf7acf0ae26833ce1f3976a9129d4dd69eb2",name:"heading"})),e("div",{key:"b2c5fbed12a89aa27f0b131a94218c99127774e6",class:"stzh-appointments__wrapper"},this.showCalendar&&e("div",{key:"6589d80b368d218c2b664dba55a3bffe3e8b29e3",class:"stzh-appointments__calendar-wrapper"},e("div",{key:"6a6b86c4963a32776234e90244f0796086536d02",class:"stzh-appointments__calendar-title-wrapper"},e("div",{key:"1dc3a90380deb619ad2837e0749a36f552037ffb",class:"stzh-appointments__calendar-title"},e("stzh-icon",{key:"8e6e4c2608d0cf83fa458a0f2d173cb7a42f672a",class:"stzh-appointments__calendar-icon",name:"calendar"}),e("span",{key:"6ac53663dd524e10496755dc723668b86d92370e",class:"stzh-appointments__calendar-title-text"},this.calendarTitle||this.localization.calendarTitle))),e("div",{key:"5e12542a6ac08a1aa244fa6d66a9d9ac90a62d59",class:"stzh-appointments__calendar-content"},e("stzh-datepicker",{key:"8de22c77af9ebff192634ff740cf995f0affa133","hide-optional":true,ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},e("stzh-link",{key:"8ddfa7c5967ac5d34abaf2461e05c2e5d9586d18",slot:"action",size:"inherit",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments))),e("div",{key:"194cdcb0fc3571e2cfca175f5aff31ba277d3755",class:"stzh-appointments__calendar-content-medium"},e("stzh-datepicker",{key:"f6f70f73605b5275d2127f8407f68078d7f21850","hide-optional":true,ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:true,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},this.nextDate&&e("stzh-link",{key:"18beeab747cc5d3daf8ed9f8c1c339e815c3f79a",slot:"action",size:"inherit",onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments)))),e("div",{key:"390966f11757478cf66fe4f1a5d5c8ab87bbbec9",class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&e("div",{key:"b0363d75ada7967871f58fb65d39fe28da663ec1",class:"stzh-appointments__appointments-title-wrapper"},e("div",{key:"66502834e1d900b30d593175418a283db9357160",class:"stzh-appointments__appointments-title"},e("stzh-icon",{key:"a07b83cac89f69185bae6f7db1b2adcb73d0c5f5",class:"stzh-appointments__appointments-icon",name:"clock"}),e("span",{key:"9a0d5c279f99f88be904a1e30c545a3be51d63ce",class:"stzh-appointments__appointments-title-text"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&e("div",{key:"a2b78b2ff19931dfcda7bc526fb6f691e46d6f43",class:"stzh-appointments__sort"},e("stzh-dropdown",{key:"e554c5685cb7d6074ff246c4cfb373939e8d82e1","hide-optional":true,inline:true,"no-search":true,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",sizeMedium:"tiny",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),e("div",{key:"561d924258e5d073ee3d622892fd2d1ba56231ae",class:"stzh-appointments__appointments-content"},e("stzh-radiogroup",{key:"de3492a8d30eea1fd4c24f48c4fb46be3d2895ba",class:"stzh-appointments__appointments-radiogroup",ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":true,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>e("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:typeof t.disabled!=="undefined"?t.disabled:false},e("stzh-text",{font:"heavy",size:"centi"},!this.showCalendar&&e("span",null,this.dateAdapter.format(t.start,"dateLong"),", "),this.dateAdapter.formatSpan(t.start,t.end,"time")),e("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&e("stzh-link",{key:"d640fc5a649933b9e752ed0a3fcccbfad4d1cdbe",class:"stzh-appointments__more-link",size:"inherit",onClick:this.onMoreClick},a(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft)))))))}get element(){return n(this)}static get watchers(){return{dateAdapter:["dateAdapterWatcher"],currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};c.style=r();export{c as stzh_appointments};
2
+ //# sourceMappingURL=p-c9424d22.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,F as e,a as h,d as a}from"./p-C0D5-aI8.js";const c=()=>`.sc-stzh-archivelist-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-archivelist-h,[stzh-hidden].sc-stzh-archivelist-h{display:none}.sc-stzh-archivelist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-archivelist-h *.sc-stzh-archivelist,.sc-stzh-archivelist-h *.sc-stzh-archivelist::before,.sc-stzh-archivelist-h *.sc-stzh-archivelist::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-archivelist-h .has-focus.sc-stzh-archivelist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist{outline-style:none !important}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist::-moz-focus-inner{border:0 !important}.stzh-archivelist__list.sc-stzh-archivelist{display:grid;gap:var(--stzh-space-medium)}.stzh-archivelist__item.sc-stzh-archivelist{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);background-color:var(--stzh-color-grey10);color:var(--stzh-color-grey80);text-decoration:none;padding:var(--stzh-space-large);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-archivelist__item.sc-stzh-archivelist:hover{background-color:var(--stzh-color-secondary10)}.stzh-archivelist__dateline.sc-stzh-archivelist{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);margin-bottom:var(--stzh-space-medium)}.stzh-archivelist__label.sc-stzh-archivelist{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary70);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line)}.stzh-archivelist__description.sc-stzh-archivelist{margin-top:var(--stzh-space-xsmall)}.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxxlarge)}}.stzh-archivelist__actions.sc-stzh-archivelist{display:flex;justify-content:center}.stzh-archivelist__heading.sc-stzh-archivelist{margin-bottom:var(--stzh-space-medium)}`;const r=class{constructor(i){t(this,i);this.stzhItemClick=s(this,"stzhItemClick");this.showItems=9;this.stepItems=9;this.heading="";this.headingLevel="3";this.items=[];this._showMoreLink=false;this.handleMoreClick=()=>{this.showItems=this.stepItems+this.showItems}}itemsWatcher(t){if(typeof t==="string"){this._items=JSON.parse(t)}else{this._items=t}this.showItemsWatcher(this._initialShowItems)}showItemsWatcher(t){this._itemsShown=this._items.slice(0,t);this._showMoreLink=t<this._items.length}handleClick(t,s){this.stzhItemClick.emit({component:"stzh-archivelist",item:t,originalEvent:s})}async componentWillLoad(){this._initialShowItems=this.showItems;this.itemsWatcher(this.items);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"archivelist")}}render(){const t={"stzh-archivelist":true};return i(h,{key:"61607528a9984a17478e6e457c031ed6c65d9ae6"},i("div",{key:"36fb1fdfce3e2a9fa9cec0d0701bbd1f3aaad792",class:t},this.heading&&i("stzh-heading",{key:"49dd7c002c7ca57fdeafc54bd3db64488aa94ef2",level:this.headingLevel,class:"stzh-archivelist__heading"},this.heading),i("div",{key:"a22b95f130e4b3911a29720351561680bb1138c4",class:"stzh-archivelist__list",role:"list"},this._itemsShown.map((t=>i("a",{class:"stzh-archivelist__item",role:"listitem",href:t.href,onClick:s=>this.handleClick(t,s)},t.dateline&&i("div",{class:"stzh-archivelist__dateline"},t.dateline),t.label&&i("div",{class:"stzh-archivelist__label"},t.labelClamp?i("stzh-clamp",Object.assign({},t.labelClamp),t.label):i(e,null,t.label)),t.description&&i("div",{class:"stzh-archivelist__description"},t.descriptionClamp?i("stzh-clamp",Object.assign({},t.descriptionClamp),t.description):i(e,null,t.description)))))),this._showMoreLink&&i("div",{key:"8cbc2fe8c8bb153a49cc28e2c954ca8812480879",class:"stzh-archivelist__actions"},i("stzh-button",{key:"7cd303cc721f7b1f7c22074fb02b039156fc879c",variant:"secondary",size:"small",sizeMedium:"default",label:this.localization.showMore,onClick:this.handleMoreClick}))))}get element(){return a(this)}static get watchers(){return{items:["itemsWatcher"],showItems:["showItemsWatcher"]}}};r.style=c();export{r as stzh_archivelist};
2
- //# sourceMappingURL=p-0c994613.entry.js.map
1
+ import{r as t,c as s,h as i,F as e,a as h,d as a}from"./p-BeYTS5to.js";const c=()=>`.sc-stzh-archivelist-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-archivelist-h,[stzh-hidden].sc-stzh-archivelist-h{display:none}.sc-stzh-archivelist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-archivelist-h *.sc-stzh-archivelist,.sc-stzh-archivelist-h *.sc-stzh-archivelist::before,.sc-stzh-archivelist-h *.sc-stzh-archivelist::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-archivelist-h .has-focus.sc-stzh-archivelist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist{outline-style:none !important}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist::-moz-focus-inner{border:0 !important}.stzh-archivelist__list.sc-stzh-archivelist{display:grid;gap:var(--stzh-space-medium)}.stzh-archivelist__item.sc-stzh-archivelist{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);background-color:var(--stzh-color-grey10);color:var(--stzh-color-grey80);text-decoration:none;padding:var(--stzh-space-large);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-archivelist__item.sc-stzh-archivelist:hover{background-color:var(--stzh-color-secondary10)}.stzh-archivelist__dateline.sc-stzh-archivelist{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);margin-bottom:var(--stzh-space-medium)}.stzh-archivelist__label.sc-stzh-archivelist{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary70);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line)}.stzh-archivelist__description.sc-stzh-archivelist{margin-top:var(--stzh-space-xsmall)}.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxxlarge)}}.stzh-archivelist__actions.sc-stzh-archivelist{display:flex;justify-content:center}.stzh-archivelist__heading.sc-stzh-archivelist{margin-bottom:var(--stzh-space-medium)}`;const r=class{constructor(i){t(this,i);this.stzhItemClick=s(this,"stzhItemClick");this.showItems=9;this.stepItems=9;this.heading="";this.headingLevel="3";this.items=[];this._showMoreLink=false;this.handleMoreClick=()=>{this.showItems=this.stepItems+this.showItems}}itemsWatcher(t){if(typeof t==="string"){this._items=JSON.parse(t)}else{this._items=t}this.showItemsWatcher(this._initialShowItems)}showItemsWatcher(t){this._itemsShown=this._items.slice(0,t);this._showMoreLink=t<this._items.length}handleClick(t,s){this.stzhItemClick.emit({component:"stzh-archivelist",item:t,originalEvent:s})}async componentWillLoad(){this._initialShowItems=this.showItems;this.itemsWatcher(this.items);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"archivelist")}}render(){const t={"stzh-archivelist":true};return i(h,{key:"61607528a9984a17478e6e457c031ed6c65d9ae6"},i("div",{key:"36fb1fdfce3e2a9fa9cec0d0701bbd1f3aaad792",class:t},this.heading&&i("stzh-heading",{key:"49dd7c002c7ca57fdeafc54bd3db64488aa94ef2",level:this.headingLevel,class:"stzh-archivelist__heading"},this.heading),i("div",{key:"a22b95f130e4b3911a29720351561680bb1138c4",class:"stzh-archivelist__list",role:"list"},this._itemsShown.map((t=>i("a",{class:"stzh-archivelist__item",role:"listitem",href:t.href,onClick:s=>this.handleClick(t,s)},t.dateline&&i("div",{class:"stzh-archivelist__dateline"},t.dateline),t.label&&i("div",{class:"stzh-archivelist__label"},t.labelClamp?i("stzh-clamp",Object.assign({},t.labelClamp),t.label):i(e,null,t.label)),t.description&&i("div",{class:"stzh-archivelist__description"},t.descriptionClamp?i("stzh-clamp",Object.assign({},t.descriptionClamp),t.description):i(e,null,t.description)))))),this._showMoreLink&&i("div",{key:"8cbc2fe8c8bb153a49cc28e2c954ca8812480879",class:"stzh-archivelist__actions"},i("stzh-button",{key:"7cd303cc721f7b1f7c22074fb02b039156fc879c",variant:"secondary",size:"small",sizeMedium:"default",label:this.localization.showMore,onClick:this.handleMoreClick}))))}get element(){return a(this)}static get watchers(){return{items:["itemsWatcher"],showItems:["showItemsWatcher"]}}};r.style=c();export{r as stzh_archivelist};
2
+ //# sourceMappingURL=p-cbdc5cdb.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as s,h as t,a as o,d as e}from"./p-C0D5-aI8.js";const c=()=>`.sc-stzh-chipgroup-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-chipgroup-h,[stzh-hidden].sc-stzh-chipgroup-h{display:none}.sc-stzh-chipgroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipgroup-h *.sc-stzh-chipgroup,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::before,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::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-chipgroup-h .has-focus.sc-stzh-chipgroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup{outline-style:none !important}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup::-moz-focus-inner{border:0 !important}.stzh-chipgroup.sc-stzh-chipgroup{display:flex;gap:var(--stzh-space-medium)}`;const i=class{constructor(t){s(this,t)}render(){const s={"stzh-chipgroup":true};return t(o,{key:"d55b67af7ed2242c971dec13b85a2be70eb70743"},t("div",{key:"f465d5c2ee3353976bae5a3177de96dc47c80c36",class:s},t("slot",{key:"5fde389b506a06147f7d5d8070af4ab5b9a8eea8"})))}get element(){return e(this)}};i.style=c();export{i as stzh_chipgroup};
2
- //# sourceMappingURL=p-a6bfa44c.entry.js.map
1
+ import{r as s,h as t,a as o,d as e}from"./p-BeYTS5to.js";const c=()=>`.sc-stzh-chipgroup-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-chipgroup-h,[stzh-hidden].sc-stzh-chipgroup-h{display:none}.sc-stzh-chipgroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipgroup-h *.sc-stzh-chipgroup,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::before,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::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-chipgroup-h .has-focus.sc-stzh-chipgroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup{outline-style:none !important}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup::-moz-focus-inner{border:0 !important}.stzh-chipgroup.sc-stzh-chipgroup{display:flex;gap:var(--stzh-space-medium)}`;const i=class{constructor(t){s(this,t)}render(){const s={"stzh-chipgroup":true};return t(o,{key:"d55b67af7ed2242c971dec13b85a2be70eb70743"},t("div",{key:"f465d5c2ee3353976bae5a3177de96dc47c80c36",class:s},t("slot",{key:"5fde389b506a06147f7d5d8070af4ab5b9a8eea8"})))}get element(){return e(this)}};i.style=c();export{i as stzh_chipgroup};
2
+ //# sourceMappingURL=p-cbf31673.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as o,h as s,a as e,d as i}from"./p-C0D5-aI8.js";import{c as r,a as h,A as p,o as a,f as n,s as c,b as l}from"./p-DzjuI2eY.js";import{c as d}from"./p-CBUfcdIy.js";import{i as v}from"./p-CBLSoWgI.js";import{m as z,a as f,r as m}from"./p-CUGRmgip.js";import{w as u}from"./p--SdF31O7.js";import{s as b,a as g}from"./p-BOO84wnP.js";import"./p-BubviQku.js";const _=()=>`.sc-stzh-popover-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-popover-h,[stzh-hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::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-popover-h .has-focus.sc-stzh-popover{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover{outline-style:none !important}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover::-moz-focus-inner{border:0 !important}.sc-stzh-popover-h{display:contents;--color:var(--stzh-color-black);--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--height:auto;--min-height:initial;--max-height:initial;--padding:var(--stzh-popover-padding);--content-padding:var(--stzh-popover-content-padding);--border-radius:var(--stzh-popover-border-radius);--background-color:var(\n --stzh-popover-background,\n var(--stzh-popover-background-color)\n );--backdrop-opacity:var(--stzh-dialog-backdrop-opacity);--backdrop-background-color:var(--stzh-dialog-backdrop-background-color)}[size=large].sc-stzh-popover-h{--content-padding:var(--stzh-popover-large-content-padding)}[variant=secondary].sc-stzh-popover-h{--background-color:var(--stzh-color-secondary20)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--content-padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--content-padding:var(--stzh-tooltip-padding);--color:var(--stzh-color-white);--link-color:var(--stzh-color-white);--hover-link-color:var(--stzh-color-white70op);--background-color:var(--stzh-color-coolgrey60)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:flex;color:var(--background-color)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;transform:translateX(-0.75rem) rotate(-90deg)}.stzh-popover.sc-stzh-popover{display:contents}.stzh-popover__trigger.sc-stzh-popover{display:contents}.stzh-popover__content-wrapper.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:flex;position:fixed;top:0;left:0;width:100%;height:100%;flex-direction:column;align-items:stretch;justify-content:stretch}}.stzh-popover__backdrop.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;display:block;top:0px;left:0px;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--backdrop-background-color);opacity:var(--backdrop-opacity)}}.stzh-popover__content.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:flex;flex-direction:column;align-items:center;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--background-color);touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-old-grey13);color:var(--color);--stzh-base-color:var(--color);--stzh-link-color:var(--link-color);--stzh-link-hover-color:var(--hover-link-color)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;display:flex;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);box-shadow:var(--stzh-box-shadow-popover);border:none}}@media (forced-colors: active){.stzh-popover__content-inner.sc-stzh-popover{outline:0.125rem solid CanvasText;outline-offset:-0.125rem}}.stzh-popover__content-inner.sc-stzh-popover,.stzh-popover__content-slot-wrapper.sc-stzh-popover{display:flex;flex-direction:column;width:100%}.stzh-popover__content-slot-wrapper.sc-stzh-popover{padding:var(--padding)}.stzh-popover__content-slot.sc-stzh-popover{overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;padding:var(--content-padding)}.stzh-popover__action-slot.sc-stzh-popover{display:flex;flex-direction:column}.stzh-popover__label-wrapper.sc-stzh-popover{z-index:1;position:relative;display:flex;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-old-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{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-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height))}@media screen and (min-width: 900px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.stzh-popover__label.sc-stzh-popover{margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{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-popover__close.sc-stzh-popover{visibility:var(--stzh-popover-close-visibility);cursor:pointer;display:flex;appearance:none;font-family:inherit;background-color:transparent;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:none}@media screen and (min-width: 600px){.stzh-popover__arrow.sc-stzh-popover{display:flex}}.stzh-popover__vhidden.sc-stzh-popover{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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus,.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{box-shadow:0 0 0 0.0625rem var(--stzh-color-primary)}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active),.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover,.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;transform:translate(30%, -30%);background-color:var(--stzh-color-old-grey5)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-inner.sc-stzh-popover{flex-direction:row-reverse;align-items:flex-start}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{visibility:visible}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;appearance:none;font-family:inherit;border:0.125rem solid transparent;background-color:transparent;display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;justify-content:center;align-items:center;color:var(--stzh-color-white);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px) and (forced-colors: active){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{color:ButtonText;border-color:ButtonBorder;background-color:ButtonFace}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:hover{color:HighlightText;border-color:Highlight;background-color:Highlight}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-small)}}@media screen and (min-width: 600px){@supports (filter: var(--stzh-tooltip-drop-shadow)){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{box-shadow:none;filter:var(--stzh-tooltip-drop-shadow)}}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 600px){.stzh-popover--popover-fullwidth-horizontal.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{left:0 !important;right:0 !important;width:100%}}@media screen and (min-width: 600px){.stzh-popover--popover-fullwidth-vertical.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{top:0 !important;bottom:0 !important;height:100%}}`;const w=200;const y=300;const x=100;const k=200;function j(){const t=z("small").matches;return{keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:t?x:w,easing:"linear"}}}function O(){const t=z("small").matches;return{keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:t?k:y,easing:"linear"}}}function C(){const t=z("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?x:w,easing:"linear"}}}function $(){const t=z("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?k:y,easing:"linear"}}}const B={ESC:27};const D="stzh-popover-open";let Y=0;const T=class{constructor(s){t(this,s);this.stzhOpen=o(this,"stzhOpen");this.stzhOpened=o(this,"stzhOpened");this.stzhClose=o(this,"stzhClose");this.stzhClosed=o(this,"stzhClosed");this.open=false;this.placement="bottom";this.fullwidth="";this.variant="default";this.size="default";this.skidding=0;this.label="";this.strategy="absolute";this.initialTouchX=null;this.initialTouchY=null;this.mediaChangeHandler=()=>{const t=document.documentElement.style.getPropertyValue("--stzh-header-is-stuck");this.isHeaderStuckAndViewportMicro=!z("small").matches&&t==="1"&&this.hasStzhHeaderParent;if(this.open&&this.isBranchedOutToBody&&!this.isHeaderStuckAndViewportMicro){this.branchInFromBody()}};this.handleKeydown=t=>{if(t.keyCode===B.ESC){this.hide()}};this.onClickTrigger=()=>{this.toggle()};this.computePosition=async()=>{if(!this.triggerFirstElement||!this.dialogElement){return}if(z("small").matches){const t=[a({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),c({padding:5})];if(this.variant==="tooltip"){t.push(l({element:this.arrowElement,padding:5}))}const{x:o=0,y:s=0,strategy:e="absolute",placement:i,middlewareData:h}=await r(this.triggerFirstElement,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t});this.computedPlacement=i;Object.assign(this.dialogElement.style,{position:e,left:`${o}px`,top:`${s}px`});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:o!=null?`${h.arrow.x}px`:"",top:s!=null?`${h.arrow.y}px`:""})}}else{Object.assign(this.dialogElement.style,{position:null,left:null,top:null});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:null,top:null})}}};this.handleTouchStart=t=>{const o=t.changedTouches[0];this.initialTouchX=o.pageX;this.initialTouchY=o.pageY};this.handleTouchEnd=t=>{const o=t.changedTouches[0];const s=o.pageX-this.initialTouchX;const e=o.pageY-this.initialTouchY;const i=70;const r=Math.abs(e)>=i&&Math.abs(s)<=i;if(r){const o=t.target.closest(".stzh-dropdown")!==null;if(!o){this.hide()}}this.initialTouchY=null;this.initialTouchX=null};this.init=()=>{var t,o;let s=(t=this.triggerElement)===null||t===void 0?void 0:t.firstElementChild;if(!s){const t=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")));s=t!==null&&t!==void 0?t:null}if(!s){return}if(this.triggerFirstElement!==s){(o=this.triggerFirstElement)===null||o===void 0?void 0:o.removeEventListener("click",this.onClickTrigger);this.triggerFirstElement=s;this.triggerFirstElement.addEventListener("click",this.onClickTrigger)}};this.initializedPopover=false}async show(){if(this.open){return}this.mediaChangeHandler();if(this.isHeaderStuckAndViewportMicro){this.branchOutToBody()}this.toggledByMethod=true;this.open=true;return u(this.element,"stzhOpened")}async hide(){if(!this.open){return}this.toggledByMethod=true;this.open=false;await u(this.element,"stzhClosed");this.mediaChangeHandler();if(this.isHeaderStuckAndViewportMicro){this.branchInFromBody()}return true}async toggle(){if(this.open){return await this.hide()}else{return await this.show()}}async update(){return await this.computePosition()}handleOutsideClick(t){if(!this.open){return}const o=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;const s=t.target===this.triggerElement||this.triggerElement.contains(t.target);if(o&&!s){this.hide()}}async openWatcher(t){if(!this.dialogElement){return}if(t){if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-popover"})}const t=j();const o=C();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]);this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right";this.contentWrapperElement.hidden=false;await Promise.all([g(z("small").matches?this.dialogElement:this.contentWrapperElement,t.keyframes,t.options),g(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]);if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-popover"})}}else{if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-popover"})}const t=O();const o=$();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]);await Promise.all([g(z("small").matches?this.dialogElement:this.contentWrapperElement,t.keyframes,t.options),g(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]);this.contentWrapperElement.hidden=true;this.dialogElement.style.willChange="auto";if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-popover"})}}this.toggledByMethod=false}distanceWatcher(t){if(typeof t==="number"){this.distance=t}else{this.distance=this.variant==="tooltip"?12:8}}setStzhHeaderParent(){let t=this.element.parentElement;while(t){if(t.tagName&&t.tagName.toLowerCase()==="stzh-header"){return true}t=t.parentElement}return false}getChildIndex(t){let o=t.parentNode;let s=Array.prototype.indexOf.call(o.children,t);return s}insertElementAtIndex(t,o,s){let e=t.children[s];if(e){t.insertBefore(o,e)}else{t.appendChild(o)}}branchOutToBody(){this.elementIndexOnBranchout=this.getChildIndex(this.element);document.body.append(this.element);this.insertElementAtIndex(this.initialParentNode,this.triggerElement,this.elementIndexOnBranchout);this.isBranchedOutToBody=true}branchInFromBody(){this.insertElementAtIndex(this.initialParentNode,this.element,this.elementIndexOnBranchout);this.rootElement.prepend(this.triggerElement);this.isBranchedOutToBody=false}async componentWillLoad(){this.id=`stzh-popover-${Y++}`;this.initialParentNode=this.element.parentElement;this.hasStzhHeaderParent=this.setStzhHeaderParent();this.distanceWatcher(this.distance);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"popover")}}popoverShown(){var t;document.body.classList.add(D);if(this.triggerFirstElement){const t=v(this.triggerFirstElement);this.triggerFirstElement.setAttribute(t?"a11y-expanded":"aria-expanded","true")}(t=this.trap)===null||t===void 0?void 0:t.activate()}popoverHidden(){var t;document.body.classList.remove(D);if(this.triggerFirstElement){const t=v(this.triggerFirstElement);this.triggerFirstElement.setAttribute(t?"a11y-expanded":"aria-expanded","false")}(t=this.trap)===null||t===void 0?void 0:t.deactivate()}componentDidRender(){this.mediaChangeHandler();this.init();if(!this.triggerFirstElement){return}const t=v(this.triggerFirstElement);if(t&&!this.triggerFirstElement.getAttribute("a11y-describedby")||!t&&!this.triggerFirstElement.getAttribute("aria-describedby")){this.triggerFirstElement.setAttribute(t?"a11y-describedby":"aria-describedby",`${this.id}-trigger-description`)}if(t&&!this.triggerFirstElement.getAttribute("a11y-label")||!t&&!this.triggerFirstElement.getAttribute("aria-label")){this.triggerFirstElement.setAttribute(t?"a11y-label":"aria-label",this.label)}if(t&&!this.triggerFirstElement.getAttribute("analytics-id")||!t&&!this.triggerFirstElement.getAttribute("s-object-id")){this.triggerFirstElement.setAttribute(t?"analytics-id":"s-object-id",this.label)}}componentDidUpdate(){var t;if(this.open&&!this.initializedPopover){if(!this.triggerFirstElement||!this.dialogElement){return}this.initializeAutoUpdate();this.initializeFocusTrap();this.popoverShown();this.initializedPopover=true}if(this.initializedPopover){if(this.open){this.popoverShown()}else{this.popoverHidden()}this.computePosition();(t=this.trap)===null||t===void 0?void 0:t.updateContainerElements(this.dialogElement)}}initializeAutoUpdate(){if(!this.triggerFirstElement||!this.dialogElement){return}this.autoUpdateCleanup=h(this.triggerFirstElement,this.dialogElement,this.computePosition)}initializeFocusTrap(){this.trap=d(this.dialogElement,{initialFocus:()=>this.dialogElement,fallbackFocus:this.dialogElement,clickOutsideDeactivates:true,returnFocusOnDeactivate:true})}componentDidLoad(){this.contentWrapperElement.hidden=!this.open;this.open?this.popoverShown():this.popoverHidden()}connectedCallback(){f(this.mediaChangeHandler);this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){var t,o;m(this.mediaChangeHandler);(t=this.observer)===null||t===void 0?void 0:t.disconnect();if(this.autoUpdateCleanup){this.autoUpdateCleanup();this.autoUpdateCleanup=null}(o=this.triggerFirstElement)===null||o===void 0?void 0:o.removeEventListener("click",this.onClickTrigger);this.initializedPopover=false}render(){var t,o,i,r;const h={"stzh-popover":true,[`stzh-popover--open`]:this.open,[`stzh-popover--placement-${this.computedPlacement}`]:!!this.computedPlacement,[`stzh-popover--fullwidth-${this.fullwidth}`]:!!this.fullwidth,[`stzh-popover--size-${this.size}`]:!!this.size,[`stzh-popover--${this.variant}`]:!!this.variant};return s(e,{key:"c96efc5dce315fe04b69c4655e7cd770c6995885"},s("div",{key:"1e28333ff664fc8b546b42d3d3f7596f6a80cd6b",class:h,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,ref:t=>this.rootElement=t},s("div",{key:"276e6bdd71503072658f1f7fcbeb9d7999b8774a",ref:t=>this.triggerElement=t,class:"stzh-popover__trigger"},s("slot",{key:"f75c2d22f09b4e776ce5926e839660d3bd76b703"})),s("div",{key:"51b77c6c31f50b5674af8f8a53e187ad0380f598",class:"stzh-popover__vhidden",id:`${this.id}-trigger-description`},(o=(t=this.localization)===null||t===void 0?void 0:t.open)!==null&&o!==void 0?o:""),s("div",{key:"cc4a89c16cf802b3dfad5c57d51fdaad4468f7ff",ref:t=>this.contentWrapperElement=t,class:"stzh-popover__content-wrapper"},s("div",{key:"ec85e17f3dd01dbef8af1e902cfb295dd223f0f5",class:"stzh-popover__backdrop"}),s("div",{key:"54f105f807bb35df63295f8774ef5e2d4dfbb43e",ref:t=>this.contentElement=t,class:"stzh-popover__content"},s("div",{key:"ec7859e6c49b462728e4007b5cb838751a97115e",ref:t=>this.dialogElement=t,class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?`${this.id}-label`:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},this.variant==="tooltip"&&s("div",{key:"919fd4e9baea9ef5d209cc98b987dde1cfa02223",class:"stzh-popover__arrow",ref:t=>this.arrowElement=t,innerHTML:p}),s("div",{key:"edfe7ad0c8b7923210a63756987150066f2b7353",class:"stzh-popover__content-inner"},s("div",{key:"8d37685e322c6eb6edf4f5581cf0ef08c58a181c",class:"stzh-popover__label-wrapper"},s("h2",{key:"53a509aa1ce99b78adc9f0ceda2a89fe4e748b52",id:`${this.id}-label`,class:"stzh-popover__label"},this.label?this.label:s("slot",{name:"label"})),s("button",{key:"0f20613af26330ce026f37f9da7ebffd3b9b5b0d",class:"stzh-popover__close",onClick:()=>this.hide(),type:"button"},s("stzh-icon",{key:"930df0ca8121cab802b5e8a2b6a04534d168c5a5",name:"close",class:"stzh-popover__icon"}),s("span",{key:"86cc3adb0a541b12825c91748c6cc30a168bb03b",class:"stzh-popover__vhidden"},(r=(i=this.localization)===null||i===void 0?void 0:i.close)!==null&&r!==void 0?r:""))),s("div",{key:"f1a5443e44442f6a7520edf127724a973aaf8ee1",class:"stzh-popover__content-slot-wrapper"},s("div",{key:"7f3f95f6cd433962816fcbed4cb3c2412bdd6c0b",class:"stzh-popover__content-slot"},s("slot",{key:"9b481d0ba6f8a827a4486d88667dbe2aa8f93d65",name:"content"})),s("div",{key:"b2b984c66c82ff7c2eb171b2f8c657ec3cfe2528",class:"stzh-popover__action-slot"},s("slot",{key:"7c0a34b66e3119f7cd82d1c882a730d8fc8a327a",name:"action"})))))))))}get element(){return i(this)}static get watchers(){return{open:["openWatcher"],distance:["distanceWatcher"]}}};T.style=_();export{T as stzh_popover};
2
- //# sourceMappingURL=p-9e2662a6.entry.js.map
1
+ import{r as t,c as o,h as s,a as e,d as i}from"./p-BeYTS5to.js";import{c as r,a as h,A as p,o as a,f as n,s as c,b as l}from"./p-DzjuI2eY.js";import{c as d}from"./p-CBUfcdIy.js";import{i as v}from"./p-CBLSoWgI.js";import{m as z,a as f,r as m}from"./p-CUGRmgip.js";import{w as u}from"./p--SdF31O7.js";import{s as b,a as g}from"./p-BOO84wnP.js";import"./p-BubviQku.js";const _=()=>`.sc-stzh-popover-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-popover-h,[stzh-hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::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-popover-h .has-focus.sc-stzh-popover{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover{outline-style:none !important}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover::-moz-focus-inner{border:0 !important}.sc-stzh-popover-h{display:contents;--color:var(--stzh-color-black);--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--height:auto;--min-height:initial;--max-height:initial;--padding:var(--stzh-popover-padding);--content-padding:var(--stzh-popover-content-padding);--border-radius:var(--stzh-popover-border-radius);--background-color:var(\n --stzh-popover-background,\n var(--stzh-popover-background-color)\n );--backdrop-opacity:var(--stzh-dialog-backdrop-opacity);--backdrop-background-color:var(--stzh-dialog-backdrop-background-color)}[size=large].sc-stzh-popover-h{--content-padding:var(--stzh-popover-large-content-padding)}[variant=secondary].sc-stzh-popover-h{--background-color:var(--stzh-color-secondary20)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--content-padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--content-padding:var(--stzh-tooltip-padding);--color:var(--stzh-color-white);--link-color:var(--stzh-color-white);--hover-link-color:var(--stzh-color-white70op);--background-color:var(--stzh-color-coolgrey60)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:flex;color:var(--background-color)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;transform:translateX(-0.75rem) rotate(-90deg)}.stzh-popover.sc-stzh-popover{display:contents}.stzh-popover__trigger.sc-stzh-popover{display:contents}.stzh-popover__content-wrapper.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:flex;position:fixed;top:0;left:0;width:100%;height:100%;flex-direction:column;align-items:stretch;justify-content:stretch}}.stzh-popover__backdrop.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;display:block;top:0px;left:0px;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--backdrop-background-color);opacity:var(--backdrop-opacity)}}.stzh-popover__content.sc-stzh-popover{display:contents}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:flex;flex-direction:column;align-items:center;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--background-color);touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-old-grey13);color:var(--color);--stzh-base-color:var(--color);--stzh-link-color:var(--link-color);--stzh-link-hover-color:var(--hover-link-color)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;display:flex;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);box-shadow:var(--stzh-box-shadow-popover);border:none}}@media (forced-colors: active){.stzh-popover__content-inner.sc-stzh-popover{outline:0.125rem solid CanvasText;outline-offset:-0.125rem}}.stzh-popover__content-inner.sc-stzh-popover,.stzh-popover__content-slot-wrapper.sc-stzh-popover{display:flex;flex-direction:column;width:100%}.stzh-popover__content-slot-wrapper.sc-stzh-popover{padding:var(--padding)}.stzh-popover__content-slot.sc-stzh-popover{overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;padding:var(--content-padding)}.stzh-popover__action-slot.sc-stzh-popover{display:flex;flex-direction:column}.stzh-popover__label-wrapper.sc-stzh-popover{z-index:1;position:relative;display:flex;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-old-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{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-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height))}@media screen and (min-width: 900px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.stzh-popover__label.sc-stzh-popover{margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{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-popover__close.sc-stzh-popover{visibility:var(--stzh-popover-close-visibility);cursor:pointer;display:flex;appearance:none;font-family:inherit;background-color:transparent;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:none}@media screen and (min-width: 600px){.stzh-popover__arrow.sc-stzh-popover{display:flex}}.stzh-popover__vhidden.sc-stzh-popover{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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus,.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{box-shadow:0 0 0 0.0625rem var(--stzh-color-primary)}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active),.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){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-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover,.stzh-popover--secondary.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;transform:translate(30%, -30%);background-color:var(--stzh-color-old-grey5)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-inner.sc-stzh-popover{flex-direction:row-reverse;align-items:flex-start}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{visibility:visible}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;appearance:none;font-family:inherit;border:0.125rem solid transparent;background-color:transparent;display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;justify-content:center;align-items:center;color:var(--stzh-color-white);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px) and (forced-colors: active){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{color:ButtonText;border-color:ButtonBorder;background-color:ButtonFace}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:hover{color:HighlightText;border-color:Highlight;background-color:Highlight}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-small)}}@media screen and (min-width: 600px){@supports (filter: var(--stzh-tooltip-drop-shadow)){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{box-shadow:none;filter:var(--stzh-tooltip-drop-shadow)}}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}@media screen and (min-width: 600px){.stzh-popover--popover-fullwidth-horizontal.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{left:0 !important;right:0 !important;width:100%}}@media screen and (min-width: 600px){.stzh-popover--popover-fullwidth-vertical.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{top:0 !important;bottom:0 !important;height:100%}}`;const w=200;const y=300;const x=100;const k=200;function j(){const t=z("small").matches;return{keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:t?x:w,easing:"linear"}}}function O(){const t=z("small").matches;return{keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:t?k:y,easing:"linear"}}}function C(){const t=z("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?x:w,easing:"linear"}}}function $(){const t=z("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?k:y,easing:"linear"}}}const B={ESC:27};const Y="stzh-popover-open";let T=0;const D=class{constructor(s){t(this,s);this.stzhOpen=o(this,"stzhOpen");this.stzhOpened=o(this,"stzhOpened");this.stzhClose=o(this,"stzhClose");this.stzhClosed=o(this,"stzhClosed");this.open=false;this.placement="bottom";this.fullwidth="";this.variant="default";this.size="default";this.skidding=0;this.label="";this.strategy="absolute";this.initialTouchX=null;this.initialTouchY=null;this.mediaChangeHandler=()=>{const t=document.documentElement.style.getPropertyValue("--stzh-header-is-stuck");this.isHeaderStuckAndViewportMicro=!z("small").matches&&t==="1"&&this.hasStzhHeaderParent;if(this.open&&this.isBranchedOutToBody&&!this.isHeaderStuckAndViewportMicro){this.branchInFromBody()}};this.handleKeydown=t=>{if(t.keyCode===B.ESC){this.hide()}};this.onClickTrigger=()=>{this.toggle()};this.computePosition=async()=>{if(!this.triggerFirstElement||!this.dialogElement){return}if(z("small").matches){const t=[a({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),c({padding:5})];if(this.variant==="tooltip"){t.push(l({element:this.arrowElement,padding:5}))}const{x:o=0,y:s=0,strategy:e="absolute",placement:i,middlewareData:h}=await r(this.triggerFirstElement,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t});this.computedPlacement=i;Object.assign(this.dialogElement.style,{position:e,left:`${o}px`,top:`${s}px`});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:o!=null?`${h.arrow.x}px`:"",top:s!=null?`${h.arrow.y}px`:""})}}else{Object.assign(this.dialogElement.style,{position:null,left:null,top:null});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:null,top:null})}}};this.handleTouchStart=t=>{const o=t.changedTouches[0];this.initialTouchX=o.pageX;this.initialTouchY=o.pageY};this.handleTouchEnd=t=>{const o=t.changedTouches[0];const s=o.pageX-this.initialTouchX;const e=o.pageY-this.initialTouchY;const i=70;const r=Math.abs(e)>=i&&Math.abs(s)<=i;if(r){const o=t.target.closest(".stzh-dropdown")!==null;if(!o){this.hide()}}this.initialTouchY=null;this.initialTouchX=null};this.init=()=>{var t,o;let s=(t=this.triggerElement)===null||t===void 0?void 0:t.firstElementChild;if(!s){const t=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")));s=t!==null&&t!==void 0?t:null}if(!s){return}if(this.triggerFirstElement!==s){(o=this.triggerFirstElement)===null||o===void 0?void 0:o.removeEventListener("click",this.onClickTrigger);this.triggerFirstElement=s;this.triggerFirstElement.addEventListener("click",this.onClickTrigger)}};this.initializedPopover=false}async show(){if(this.open){return}this.mediaChangeHandler();if(this.isHeaderStuckAndViewportMicro){this.branchOutToBody()}this.toggledByMethod=true;this.open=true;return u(this.element,"stzhOpened")}async hide(){if(!this.open){return}this.toggledByMethod=true;this.open=false;await u(this.element,"stzhClosed");this.mediaChangeHandler();if(this.isHeaderStuckAndViewportMicro){this.branchInFromBody()}return true}async toggle(){if(this.open){return await this.hide()}else{return await this.show()}}async update(){return await this.computePosition()}handleOutsideClick(t){if(!this.open){return}const o=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;const s=t.target===this.triggerElement||this.triggerElement.contains(t.target);if(o&&!s){this.hide()}}async openWatcher(t){if(!this.dialogElement){return}if(t){if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-popover"})}const t=j();const o=C();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]);this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right";this.contentWrapperElement.hidden=false;await Promise.all([g(z("small").matches?this.dialogElement:this.contentWrapperElement,t.keyframes,t.options),g(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]);if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-popover"})}}else{if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-popover"})}const t=O();const o=$();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]);await Promise.all([g(z("small").matches?this.dialogElement:this.contentWrapperElement,t.keyframes,t.options),g(z("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]);this.contentWrapperElement.hidden=true;this.dialogElement.style.willChange="auto";if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-popover"})}}this.toggledByMethod=false}distanceWatcher(t){if(typeof t==="number"){this.distance=t}else{this.distance=this.variant==="tooltip"?12:8}}setStzhHeaderParent(){let t=this.element.parentElement;while(t){if(t.tagName&&t.tagName.toLowerCase()==="stzh-header"){return true}t=t.parentElement}return false}getChildIndex(t){let o=t.parentNode;let s=Array.prototype.indexOf.call(o.children,t);return s}insertElementAtIndex(t,o,s){let e=t.children[s];if(e){t.insertBefore(o,e)}else{t.appendChild(o)}}branchOutToBody(){this.elementIndexOnBranchout=this.getChildIndex(this.element);document.body.append(this.element);this.insertElementAtIndex(this.initialParentNode,this.triggerElement,this.elementIndexOnBranchout);this.isBranchedOutToBody=true}branchInFromBody(){this.insertElementAtIndex(this.initialParentNode,this.element,this.elementIndexOnBranchout);this.rootElement.prepend(this.triggerElement);this.isBranchedOutToBody=false}async componentWillLoad(){this.id=`stzh-popover-${T++}`;this.initialParentNode=this.element.parentElement;this.hasStzhHeaderParent=this.setStzhHeaderParent();this.distanceWatcher(this.distance);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"popover")}}popoverShown(){var t;document.body.classList.add(Y);if(this.triggerFirstElement){const t=v(this.triggerFirstElement);this.triggerFirstElement.setAttribute(t?"a11y-expanded":"aria-expanded","true")}(t=this.trap)===null||t===void 0?void 0:t.activate()}popoverHidden(){var t;document.body.classList.remove(Y);if(this.triggerFirstElement){const t=v(this.triggerFirstElement);this.triggerFirstElement.setAttribute(t?"a11y-expanded":"aria-expanded","false")}(t=this.trap)===null||t===void 0?void 0:t.deactivate()}componentDidRender(){this.mediaChangeHandler();this.init();if(!this.triggerFirstElement){return}const t=v(this.triggerFirstElement);if(t&&!this.triggerFirstElement.getAttribute("a11y-describedby")||!t&&!this.triggerFirstElement.getAttribute("aria-describedby")){this.triggerFirstElement.setAttribute(t?"a11y-describedby":"aria-describedby",`${this.id}-trigger-description`)}if(t&&!this.triggerFirstElement.getAttribute("a11y-label")||!t&&!this.triggerFirstElement.getAttribute("aria-label")){this.triggerFirstElement.setAttribute(t?"a11y-label":"aria-label",this.label)}if(t&&!this.triggerFirstElement.getAttribute("analytics-id")||!t&&!this.triggerFirstElement.getAttribute("s-object-id")){this.triggerFirstElement.setAttribute(t?"analytics-id":"s-object-id",this.label)}}componentDidUpdate(){var t;if(this.open&&!this.initializedPopover){if(!this.triggerFirstElement||!this.dialogElement){return}this.initializeAutoUpdate();this.initializeFocusTrap();this.popoverShown();this.initializedPopover=true}if(this.initializedPopover){if(this.open){this.popoverShown()}else{this.popoverHidden()}this.computePosition();(t=this.trap)===null||t===void 0?void 0:t.updateContainerElements(this.dialogElement)}}initializeAutoUpdate(){if(!this.triggerFirstElement||!this.dialogElement){return}this.autoUpdateCleanup=h(this.triggerFirstElement,this.dialogElement,this.computePosition)}initializeFocusTrap(){this.trap=d(this.dialogElement,{initialFocus:()=>this.dialogElement,fallbackFocus:this.dialogElement,clickOutsideDeactivates:true,returnFocusOnDeactivate:true})}componentDidLoad(){this.contentWrapperElement.hidden=!this.open;this.open?this.popoverShown():this.popoverHidden()}connectedCallback(){f(this.mediaChangeHandler);this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){var t,o;m(this.mediaChangeHandler);(t=this.observer)===null||t===void 0?void 0:t.disconnect();if(this.autoUpdateCleanup){this.autoUpdateCleanup();this.autoUpdateCleanup=null}(o=this.triggerFirstElement)===null||o===void 0?void 0:o.removeEventListener("click",this.onClickTrigger);this.initializedPopover=false}render(){var t,o,i,r;const h={"stzh-popover":true,[`stzh-popover--open`]:this.open,[`stzh-popover--placement-${this.computedPlacement}`]:!!this.computedPlacement,[`stzh-popover--fullwidth-${this.fullwidth}`]:!!this.fullwidth,[`stzh-popover--size-${this.size}`]:!!this.size,[`stzh-popover--${this.variant}`]:!!this.variant};return s(e,{key:"c96efc5dce315fe04b69c4655e7cd770c6995885"},s("div",{key:"1e28333ff664fc8b546b42d3d3f7596f6a80cd6b",class:h,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,ref:t=>this.rootElement=t},s("div",{key:"276e6bdd71503072658f1f7fcbeb9d7999b8774a",ref:t=>this.triggerElement=t,class:"stzh-popover__trigger"},s("slot",{key:"f75c2d22f09b4e776ce5926e839660d3bd76b703"})),s("div",{key:"51b77c6c31f50b5674af8f8a53e187ad0380f598",class:"stzh-popover__vhidden",id:`${this.id}-trigger-description`},(o=(t=this.localization)===null||t===void 0?void 0:t.open)!==null&&o!==void 0?o:""),s("div",{key:"cc4a89c16cf802b3dfad5c57d51fdaad4468f7ff",ref:t=>this.contentWrapperElement=t,class:"stzh-popover__content-wrapper"},s("div",{key:"ec85e17f3dd01dbef8af1e902cfb295dd223f0f5",class:"stzh-popover__backdrop"}),s("div",{key:"54f105f807bb35df63295f8774ef5e2d4dfbb43e",ref:t=>this.contentElement=t,class:"stzh-popover__content"},s("div",{key:"ec7859e6c49b462728e4007b5cb838751a97115e",ref:t=>this.dialogElement=t,class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?`${this.id}-label`:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},this.variant==="tooltip"&&s("div",{key:"919fd4e9baea9ef5d209cc98b987dde1cfa02223",class:"stzh-popover__arrow",ref:t=>this.arrowElement=t,innerHTML:p}),s("div",{key:"edfe7ad0c8b7923210a63756987150066f2b7353",class:"stzh-popover__content-inner"},s("div",{key:"8d37685e322c6eb6edf4f5581cf0ef08c58a181c",class:"stzh-popover__label-wrapper"},s("h2",{key:"53a509aa1ce99b78adc9f0ceda2a89fe4e748b52",id:`${this.id}-label`,class:"stzh-popover__label"},this.label?this.label:s("slot",{name:"label"})),s("button",{key:"0f20613af26330ce026f37f9da7ebffd3b9b5b0d",class:"stzh-popover__close",onClick:()=>this.hide(),type:"button"},s("stzh-icon",{key:"930df0ca8121cab802b5e8a2b6a04534d168c5a5",name:"close",class:"stzh-popover__icon"}),s("span",{key:"86cc3adb0a541b12825c91748c6cc30a168bb03b",class:"stzh-popover__vhidden"},(r=(i=this.localization)===null||i===void 0?void 0:i.close)!==null&&r!==void 0?r:""))),s("div",{key:"f1a5443e44442f6a7520edf127724a973aaf8ee1",class:"stzh-popover__content-slot-wrapper"},s("div",{key:"7f3f95f6cd433962816fcbed4cb3c2412bdd6c0b",class:"stzh-popover__content-slot"},s("slot",{key:"9b481d0ba6f8a827a4486d88667dbe2aa8f93d65",name:"content"})),s("div",{key:"b2b984c66c82ff7c2eb171b2f8c657ec3cfe2528",class:"stzh-popover__action-slot"},s("slot",{key:"7c0a34b66e3119f7cd82d1c882a730d8fc8a327a",name:"action"})))))))))}get element(){return i(this)}static get watchers(){return{open:["openWatcher"],distance:["distanceWatcher"]}}};D.style=_();export{D as stzh_popover};
2
+ //# sourceMappingURL=p-ce29376e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as s,a,d as e}from"./p-C0D5-aI8.js";import{s as d}from"./p-CBLSoWgI.js";import{c as o}from"./p-BzugsqyR.js";import{c as h}from"./p-CBUfcdIy.js";import"./p-BubviQku.js";const n=()=>`.sc-stzh-dialog-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-dialog-h,[stzh-hidden].sc-stzh-dialog-h{display:none}.sc-stzh-dialog-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-dialog-h *.sc-stzh-dialog,.sc-stzh-dialog-h *.sc-stzh-dialog::before,.sc-stzh-dialog-h *.sc-stzh-dialog::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-dialog-h .has-focus.sc-stzh-dialog{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-dialog-h .stzh-fylingfocus-focused.sc-stzh-dialog{outline-style:none !important}.sc-stzh-dialog-h .stzh-fylingfocus-focused.sc-stzh-dialog::-moz-focus-inner{border:0 !important}.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-dialog-h{--padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xxxlarge)}}.sc-stzh-dialog-h{--padding-right:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xxxlarge)}}.sc-stzh-dialog-h{--width:100%;--backdrop-opacity:var(--stzh-dialog-backdrop-opacity);--backdrop-background-color:var(--stzh-dialog-backdrop-background-color)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--width:33.5rem}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--width:38.125rem}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--width:54.125rem}}@media screen and (min-width: 1600px){.sc-stzh-dialog-h{--width:55.5rem}}@media screen and (min-width: 600px){[size=small].sc-stzh-dialog-h{--width:24.6875rem}}@media screen and (min-width: 900px){[size=small].sc-stzh-dialog-h{--width:28.75rem}}@media screen and (min-width: 1260px){[size=small].sc-stzh-dialog-h{--width:32rem}}.stzh-dialog.sc-stzh-dialog{z-index:var(--stzh-z-index-dialog);display:none;position:fixed;top:0;left:0;width:100%;height:100%;flex-direction:column;align-items:stretch;justify-content:stretch}.stzh-dialog__content.sc-stzh-dialog{z-index:2;position:relative;display:flex;flex-direction:column;align-items:center;flex-grow:1;overflow:auto}.stzh-dialog__dialog.sc-stzh-dialog{position:relative;display:flex;flex-direction:column;margin:auto;border:none;background-color:var(--stzh-color-white);width:auto;min-width:var(--width);max-width:100%;box-shadow:var(--stzh-box-shadow-overlay);height:100vh;max-height:100vh;overflow:hidden;outline:none}@media (forced-colors: active){.stzh-dialog__dialog.sc-stzh-dialog::after{pointer-events:none;content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:0.125rem solid CanvasText}}.stzh-dialog__dialog--fit-content.sc-stzh-dialog{width:-moz-fit-content;width:fit-content}@media screen and (min-width: 600px){.stzh-dialog__dialog.sc-stzh-dialog{height:auto}}.stzh-dialog__backdrop.sc-stzh-dialog{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--backdrop-background-color);opacity:var(--backdrop-opacity)}.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-dialog__heading.sc-stzh-dialog{padding-top:var(--padding-top);padding-left:var(--padding-left);padding-right:var(--padding-right)}@media (forced-colors: active){.stzh-dialog__heading.sc-stzh-dialog{border-bottom:0.125rem solid CanvasText}}.stzh-dialog__dialog-content.sc-stzh-dialog{padding-left:var(--padding-left);padding-right:var(--padding-right);padding-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxxlarge)}}.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-dialog__dialog-content.sc-stzh-dialog{overflow:auto;flex-grow:1}.stzh-dialog__actions.sc-stzh-dialog:not(:empty){padding:var(--stzh-space-medium) var(--padding-right) var(--padding-bottom) var(--padding-left)}@media (forced-colors: active){.stzh-dialog__actions.sc-stzh-dialog:not(:empty){border-top:0.125rem solid CanvasText}}.stzh-dialog__close-button.sc-stzh-dialog{position:absolute;top:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-large);right:var(--stzh-space-large)}}.stzh-dialog--is-open.sc-stzh-dialog{display:flex}`;const l="stzh-dialog-open";let c=null;let r=0;const g=class{constructor(s){t(this,s);this.stzhOpen=i(this,"stzhOpen");this.stzhClose=i(this,"stzhClose");this.closeOnEscapeKey=false;this.closeOnBackdropClick=false;this.open=false;this.stay=true;this.size="default";this.hideClose=false;this.heading="";this.a11yRole="alertdialog";this.handleDialogClick=t=>{const i=t.target;if(i.dataset.stzhDialogClose){this.hide()}else{const t=i.closest("[data-stzh-dialog-close]");if(t){this.hide()}}};this.handleCloseButtonClick=()=>{this.hide()};this.init=()=>{const t=this.element.querySelector('stzh-actions[slot="actions"]');if(t){d(t,{variant:"dialog"})}}}handleOutsideClick(t){if(!this.open||!this.closeOnBackdropClick){return}const i=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;if(i){this.hide()}}handleKeydown(t){if(t.key==="Escape"&&c===this&&this.closeOnEscapeKey){this.hide()}}handleOpenTriggerClick(t){const i=t.target;if(i.dataset.stzhDialogTrigger===this.element.id){this.show()}else{const t=i.closest("[data-stzh-dialog-trigger]");if(t&&t.dataset.stzhDialogTrigger===this.element.id){this.show()}}}async show(){this.open=true;this.stzhOpen.emit({component:"stzh-dialog"})}async hide(){this.open=false;this.stzhClose.emit({component:"stzh-dialog"})}getSiblings(){if(!this.containerElement){return[]}return Array.from(this.containerElement.children).filter((t=>t!==this.element))}disableSiblings(){this.getSiblings().forEach((t=>{t.setAttribute("aria-hidden","true")}))}enableSiblings(){this.getSiblings().forEach((t=>{t.removeAttribute("aria-hidden")}))}dialogShown(){c=this;document.body.classList.add(l);this.disableSiblings();if(this.trap){this.trap.activate()}}dialogHidden(){document.body.classList.remove(l);this.enableSiblings();if(this.trap){this.trap.deactivate()}c=null}async componentWillLoad(){this.id=`stzh-dialog-${r}`;r++;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"dialog")}}componentDidRender(){this.open?this.dialogShown():this.dialogHidden()}componentDidUpdate(){this.trap.updateContainerElements(this.element)}componentDidLoad(){this.trap=h(this.element,Object.assign({fallbackFocus:this.dialogElement},o()));if(this.open){this.dialogShown()}}connectedCallback(){if(!this.stay&&this.element.parentElement!==document.body){document.body.appendChild(this.element)}this.containerElement=this.element.parentElement;this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){this.dialogHidden();if(this.observer){this.observer.disconnect()}}render(){return s(a,{key:"8db1596ba91742508251473e8297c9b484132153"},s("div",{key:"bed4fd3b5a9bce669a673a3314ec79b344ffb98a",class:{"stzh-dialog":true,"stzh-dialog--is-open":this.open,"stzh-dialog--has-heading":!!this.heading,"stzh-dialog--has-close-hidden":this.hideClose,[`stzh-dialog--size-${this.size}`]:!!this.size}},s("div",{key:"0fa98003e89a30006ef2d788c2cb0098efe10612",class:"stzh-dialog__backdrop"}),s("div",{key:"fcd8921fff698e415f7557275ebbadfc02c9c55c",class:"stzh-dialog__content"},s("div",{key:"438ffe51c7e2976ebaeddf62d50b9a188407a325",class:"stzh-dialog__dialog",ref:t=>this.dialogElement=t,tabindex:"-1",role:this.a11yRole,"aria-hidden":this.open?"false":"true",onClick:this.handleDialogClick},s("stzh-heading",{key:"06530b6c2dc5c97a6d431be35e97696b2012f282",id:`${this.id}-heading`,class:"stzh-dialog__heading",level:"2"},this.heading?this.heading:"Title"),s("div",{key:"15a569743ebb1fabb3e95a163bf5cd50a98b976a",class:"stzh-dialog__dialog-content"},s("slot",{key:"6747ae76f491d5e35567e8281250627f5d0ad8a3"})),s("div",{key:"309ad830a131ee205c03beefe6aa23eea79501b9",class:"stzh-dialog__actions"},s("slot",{key:"f26bd8bd4d4925896c4c93858478409b107e248b",name:"actions"})),!this.hideClose&&s("stzh-button",{key:"ad1677399573fd8713dcef7214c966e2e0689799",class:"stzh-dialog__close-button",variant:"tertiary",size:"small",icon:"close",iconOnly:true,onClick:this.handleCloseButtonClick,a11yLabel:this.localization.close,analyticsId:this.closeAnalyticsId||this.localization.close})))))}get element(){return e(this)}};g.style=n();export{g as stzh_dialog};
2
- //# sourceMappingURL=p-d12f7c51.entry.js.map
1
+ import{r as t,c as i,h as s,a,d as e}from"./p-BeYTS5to.js";import{s as d}from"./p-CBLSoWgI.js";import{c as o}from"./p-BzugsqyR.js";import{c as h}from"./p-CBUfcdIy.js";import"./p-BubviQku.js";const n=()=>`.sc-stzh-dialog-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-dialog-h,[stzh-hidden].sc-stzh-dialog-h{display:none}.sc-stzh-dialog-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-dialog-h *.sc-stzh-dialog,.sc-stzh-dialog-h *.sc-stzh-dialog::before,.sc-stzh-dialog-h *.sc-stzh-dialog::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-dialog-h .has-focus.sc-stzh-dialog{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-dialog-h .stzh-fylingfocus-focused.sc-stzh-dialog{outline-style:none !important}.sc-stzh-dialog-h .stzh-fylingfocus-focused.sc-stzh-dialog::-moz-focus-inner{border:0 !important}.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-dialog-h{--padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-left:var(--stzh-space-xxxlarge)}}.sc-stzh-dialog-h{--padding-right:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--padding-right:var(--stzh-space-xxxlarge)}}.sc-stzh-dialog-h{--width:100%;--backdrop-opacity:var(--stzh-dialog-backdrop-opacity);--backdrop-background-color:var(--stzh-dialog-backdrop-background-color)}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--width:33.5rem}}@media screen and (min-width: 900px){.sc-stzh-dialog-h{--width:38.125rem}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--width:54.125rem}}@media screen and (min-width: 1600px){.sc-stzh-dialog-h{--width:55.5rem}}@media screen and (min-width: 600px){[size=small].sc-stzh-dialog-h{--width:24.6875rem}}@media screen and (min-width: 900px){[size=small].sc-stzh-dialog-h{--width:28.75rem}}@media screen and (min-width: 1260px){[size=small].sc-stzh-dialog-h{--width:32rem}}.stzh-dialog.sc-stzh-dialog{z-index:var(--stzh-z-index-dialog);display:none;position:fixed;top:0;left:0;width:100%;height:100%;flex-direction:column;align-items:stretch;justify-content:stretch}.stzh-dialog__content.sc-stzh-dialog{z-index:2;position:relative;display:flex;flex-direction:column;align-items:center;flex-grow:1;overflow:auto}.stzh-dialog__dialog.sc-stzh-dialog{position:relative;display:flex;flex-direction:column;margin:auto;border:none;background-color:var(--stzh-color-white);width:auto;min-width:var(--width);max-width:100%;box-shadow:var(--stzh-box-shadow-overlay);height:100vh;max-height:100vh;overflow:hidden;outline:none}@media (forced-colors: active){.stzh-dialog__dialog.sc-stzh-dialog::after{pointer-events:none;content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:0.125rem solid CanvasText}}.stzh-dialog__dialog--fit-content.sc-stzh-dialog{width:-moz-fit-content;width:fit-content}@media screen and (min-width: 600px){.stzh-dialog__dialog.sc-stzh-dialog{height:auto}}.stzh-dialog__backdrop.sc-stzh-dialog{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--backdrop-background-color);opacity:var(--backdrop-opacity)}.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__heading.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-dialog__heading.sc-stzh-dialog{padding-top:var(--padding-top);padding-left:var(--padding-left);padding-right:var(--padding-right)}@media (forced-colors: active){.stzh-dialog__heading.sc-stzh-dialog{border-bottom:0.125rem solid CanvasText}}.stzh-dialog__dialog-content.sc-stzh-dialog{padding-left:var(--padding-left);padding-right:var(--padding-right);padding-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxxlarge)}}.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-dialog__dialog-content.sc-stzh-dialog{overflow:auto;flex-grow:1}.stzh-dialog__actions.sc-stzh-dialog:not(:empty){padding:var(--stzh-space-medium) var(--padding-right) var(--padding-bottom) var(--padding-left)}@media (forced-colors: active){.stzh-dialog__actions.sc-stzh-dialog:not(:empty){border-top:0.125rem solid CanvasText}}.stzh-dialog__close-button.sc-stzh-dialog{position:absolute;top:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-large);right:var(--stzh-space-large)}}.stzh-dialog--is-open.sc-stzh-dialog{display:flex}`;const l="stzh-dialog-open";let c=null;let r=0;const g=class{constructor(s){t(this,s);this.stzhOpen=i(this,"stzhOpen");this.stzhClose=i(this,"stzhClose");this.closeOnEscapeKey=false;this.closeOnBackdropClick=false;this.open=false;this.stay=true;this.size="default";this.hideClose=false;this.heading="";this.a11yRole="alertdialog";this.handleDialogClick=t=>{const i=t.target;if(i.dataset.stzhDialogClose){this.hide()}else{const t=i.closest("[data-stzh-dialog-close]");if(t){this.hide()}}};this.handleCloseButtonClick=()=>{this.hide()};this.init=()=>{const t=this.element.querySelector('stzh-actions[slot="actions"]');if(t){d(t,{variant:"dialog"})}}}handleOutsideClick(t){if(!this.open||!this.closeOnBackdropClick){return}const i=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;if(i){this.hide()}}handleKeydown(t){if(t.key==="Escape"&&c===this&&this.closeOnEscapeKey){this.hide()}}handleOpenTriggerClick(t){const i=t.target;if(i.dataset.stzhDialogTrigger===this.element.id){this.show()}else{const t=i.closest("[data-stzh-dialog-trigger]");if(t&&t.dataset.stzhDialogTrigger===this.element.id){this.show()}}}async show(){this.open=true;this.stzhOpen.emit({component:"stzh-dialog"})}async hide(){this.open=false;this.stzhClose.emit({component:"stzh-dialog"})}getSiblings(){if(!this.containerElement){return[]}return Array.from(this.containerElement.children).filter((t=>t!==this.element))}disableSiblings(){this.getSiblings().forEach((t=>{t.setAttribute("aria-hidden","true")}))}enableSiblings(){this.getSiblings().forEach((t=>{t.removeAttribute("aria-hidden")}))}dialogShown(){c=this;document.body.classList.add(l);this.disableSiblings();if(this.trap){this.trap.activate()}}dialogHidden(){document.body.classList.remove(l);this.enableSiblings();if(this.trap){this.trap.deactivate()}c=null}async componentWillLoad(){this.id=`stzh-dialog-${r}`;r++;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"dialog")}}componentDidRender(){this.open?this.dialogShown():this.dialogHidden()}componentDidUpdate(){this.trap.updateContainerElements(this.element)}componentDidLoad(){this.trap=h(this.element,Object.assign({fallbackFocus:this.dialogElement},o()));if(this.open){this.dialogShown()}}connectedCallback(){if(!this.stay&&this.element.parentElement!==document.body){document.body.appendChild(this.element)}this.containerElement=this.element.parentElement;this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){this.dialogHidden();if(this.observer){this.observer.disconnect()}}render(){return s(a,{key:"8db1596ba91742508251473e8297c9b484132153"},s("div",{key:"bed4fd3b5a9bce669a673a3314ec79b344ffb98a",class:{"stzh-dialog":true,"stzh-dialog--is-open":this.open,"stzh-dialog--has-heading":!!this.heading,"stzh-dialog--has-close-hidden":this.hideClose,[`stzh-dialog--size-${this.size}`]:!!this.size}},s("div",{key:"0fa98003e89a30006ef2d788c2cb0098efe10612",class:"stzh-dialog__backdrop"}),s("div",{key:"fcd8921fff698e415f7557275ebbadfc02c9c55c",class:"stzh-dialog__content"},s("div",{key:"438ffe51c7e2976ebaeddf62d50b9a188407a325",class:"stzh-dialog__dialog",ref:t=>this.dialogElement=t,tabindex:"-1",role:this.a11yRole,"aria-hidden":this.open?"false":"true",onClick:this.handleDialogClick},s("stzh-heading",{key:"06530b6c2dc5c97a6d431be35e97696b2012f282",id:`${this.id}-heading`,class:"stzh-dialog__heading",level:"2"},this.heading?this.heading:"Title"),s("div",{key:"15a569743ebb1fabb3e95a163bf5cd50a98b976a",class:"stzh-dialog__dialog-content"},s("slot",{key:"6747ae76f491d5e35567e8281250627f5d0ad8a3"})),s("div",{key:"309ad830a131ee205c03beefe6aa23eea79501b9",class:"stzh-dialog__actions"},s("slot",{key:"f26bd8bd4d4925896c4c93858478409b107e248b",name:"actions"})),!this.hideClose&&s("stzh-button",{key:"ad1677399573fd8713dcef7214c966e2e0689799",class:"stzh-dialog__close-button",variant:"tertiary",size:"small",icon:"close",iconOnly:true,onClick:this.handleCloseButtonClick,a11yLabel:this.localization.close,analyticsId:this.closeAnalyticsId||this.localization.close})))))}get element(){return e(this)}};g.style=n();export{g as stzh_dialog};
2
+ //# sourceMappingURL=p-d2523c79.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as o,a as s,d as e}from"./p-C0D5-aI8.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=()=>`:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{display:contents}@media print{:host{display:none}}.stzh-scrollup{display:contents}`;const r=class{constructor(o){t(this,o);this.handleLinkClick=()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})};this.handleSlotchange=()=>{var t;const o=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const s=o.querySelectorAll("stzh-link, stzh-button");s.forEach((t=>{t.addEventListener("click",this.handleLinkClick);i(t,{icon:"arrow-up"})}))}}render(){const t={"stzh-scrollup":true};return o(s,{key:"294377ad20dac798ff9dcd8319caca6846e666fa"},o("div",{key:"c0f66b384e9362bd2239c3131ec147284ca3b1a5",class:t},o("slot",{key:"434c2a000bf5775f30466a973cd6832a179a288c",onSlotchange:this.handleSlotchange})))}get element(){return e(this)}};r.style=n();export{r as stzh_scrollup};
2
- //# sourceMappingURL=p-768f882b.entry.js.map
1
+ import{r as t,h as o,a as s,d as e}from"./p-BeYTS5to.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=()=>`:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{display:contents}@media print{:host{display:none}}.stzh-scrollup{display:contents}`;const r=class{constructor(o){t(this,o);this.handleLinkClick=()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})};this.handleSlotchange=()=>{var t;const o=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const s=o.querySelectorAll("stzh-link, stzh-button");s.forEach((t=>{t.addEventListener("click",this.handleLinkClick);i(t,{icon:"arrow-up"})}))}}render(){const t={"stzh-scrollup":true};return o(s,{key:"294377ad20dac798ff9dcd8319caca6846e666fa"},o("div",{key:"c0f66b384e9362bd2239c3131ec147284ca3b1a5",class:t},o("slot",{key:"434c2a000bf5775f30466a973cd6832a179a288c",onSlotchange:this.handleSlotchange})))}get element(){return e(this)}};r.style=n();export{r as stzh_scrollup};
2
+ //# sourceMappingURL=p-d6a64579.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as n,d as s}from"./p-C0D5-aI8.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.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)}@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)}}.stzh-eventinfo__month-list.sc-stzh-eventinfo{display:grid;column-gap:var(--stzh-space-small)}@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)}@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)}}.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:0;color:var(--stzh-color-primary70)}@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 o=class{constructor(t){e(this,t);this.monthHeadingLevel="4";this.itemsSortDirection="descending";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"})}))}}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:"21b3a25019ac59b9dccec61321140faf09d77873"},t("div",{key:"e1a757956d7152c26a9a1da01948bfd369886a53",class:e},t("time",{key:"a7e5a241744f3644c182d6ced23a301a96dfc8eb",class:"stzh-eventinfo__left",dateTime:s.toISOString(),"aria-label":this.dateAdapter.format(s,"dateLong")},t("span",{key:"b4e895050b72cd0c9ef86bf4f2a263736e89adbd",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("span",{key:"c1d27e102bcb86e8a23b5dfe054d30aab384826a",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("span",{key:"8960b237cfb914258ea37e0b0937722926a89a8e",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"a10de8592c1ed2ed43f728aa7415a67b21c92da6",class:"stzh-eventinfo__right"},t("div",{key:"8013eec1cf05c08350bc2aa63af7aa84f2c3b0e9"},t("div",{key:"5517478e3f8748a0ba083e0a4ef0f33210bbe16f",class:"stzh-eventinfo__head"},t("div",{key:"0bb41212bd737d97c84a15545f352ee01930b9cb",class:"stzh-eventinfo__main-date"},t("div",{key:"1f65c233d842cabe1d1267b10c8639a69b5fd875",class:"stzh-eventinfo__main-date"},t("time",{key:"1b7d1302323b9d4105dd4399cadb9375858300f4",dateTime:s.toISOString()},this.dateAdapter.format(s,"dateLong"),this.hasProperStartAndOrEndDate(s,i)&&`, ${this.dateAdapter.formatSpan(s,i,"time")}`))),this.calendarUrl&&t("div",{key:"6fbb884accc9ab11db8c105f160d32dc51da7780",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"3628316db875a469048c6b66c7ffb9418f0e73c8",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"6ce314bdbcbefdfc1081ce37ce1bf05e0326a5a5",class:"stzh-eventinfo__text"},t("div",{key:"047413a254ad84f1ea006630554fc21695fe334a",class:"stzh-eventinfo__location"},t("slot",{key:"0f02e53a2fc828fbce6d56b9d15626c2a8c90e22",name:"location"})),t("div",{key:"f3a3153e7208f5d0194497db0a95f31c60ffebd6",class:"stzh-eventinfo__additional-info"},t("slot",{key:"a19690198634c683c82be35f16641d040adb7cf0",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"c3ee2524734f2a56e05181b967ea2f6a726cbbe3",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"3f0bf65aec035c406533ebbe8afa7ff392a57938",class:"stzh-eventinfo__details"},t("stzh-link",{key:"d9044bf9b395f11f4e23900b35467959e996ba5f",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"a21f575af340184e1c08c9d6138a69202c8da294",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"1ac702a153093ab5d5ebd5b0b3a247fd71a07795",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"8ca0290ccf9edcdec608c64f979e353d9504eab2",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("time",{class:"stzh-eventinfo__event-datetime-wrapper",dateTime:e.start.toISOString()},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"))),this.hasProperStartAndOrEndDate(e.start,e.end)&&t("span",{class:"stzh-eventinfo__event-time"},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=a();export{o as stzh_eventinfo};
2
- //# sourceMappingURL=p-5a7d0e04.entry.js.map
1
+ import{r as e,h as t,a as n,d as s}from"./p-BeYTS5to.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.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)}@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)}}.stzh-eventinfo__month-list.sc-stzh-eventinfo{display:grid;column-gap:var(--stzh-space-small)}@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)}@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)}}.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:0;color:var(--stzh-color-primary70)}@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 o=class{constructor(t){e(this,t);this.monthHeadingLevel="4";this.itemsSortDirection="descending";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"})}))}}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:"21b3a25019ac59b9dccec61321140faf09d77873"},t("div",{key:"e1a757956d7152c26a9a1da01948bfd369886a53",class:e},t("time",{key:"a7e5a241744f3644c182d6ced23a301a96dfc8eb",class:"stzh-eventinfo__left",dateTime:s.toISOString(),"aria-label":this.dateAdapter.format(s,"dateLong")},t("span",{key:"b4e895050b72cd0c9ef86bf4f2a263736e89adbd",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("span",{key:"c1d27e102bcb86e8a23b5dfe054d30aab384826a",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("span",{key:"8960b237cfb914258ea37e0b0937722926a89a8e",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"a10de8592c1ed2ed43f728aa7415a67b21c92da6",class:"stzh-eventinfo__right"},t("div",{key:"8013eec1cf05c08350bc2aa63af7aa84f2c3b0e9"},t("div",{key:"5517478e3f8748a0ba083e0a4ef0f33210bbe16f",class:"stzh-eventinfo__head"},t("div",{key:"0bb41212bd737d97c84a15545f352ee01930b9cb",class:"stzh-eventinfo__main-date"},t("div",{key:"1f65c233d842cabe1d1267b10c8639a69b5fd875",class:"stzh-eventinfo__main-date"},t("time",{key:"1b7d1302323b9d4105dd4399cadb9375858300f4",dateTime:s.toISOString()},this.dateAdapter.format(s,"dateLong"),this.hasProperStartAndOrEndDate(s,i)&&`, ${this.dateAdapter.formatSpan(s,i,"time")}`))),this.calendarUrl&&t("div",{key:"6fbb884accc9ab11db8c105f160d32dc51da7780",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"3628316db875a469048c6b66c7ffb9418f0e73c8",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"6ce314bdbcbefdfc1081ce37ce1bf05e0326a5a5",class:"stzh-eventinfo__text"},t("div",{key:"047413a254ad84f1ea006630554fc21695fe334a",class:"stzh-eventinfo__location"},t("slot",{key:"0f02e53a2fc828fbce6d56b9d15626c2a8c90e22",name:"location"})),t("div",{key:"f3a3153e7208f5d0194497db0a95f31c60ffebd6",class:"stzh-eventinfo__additional-info"},t("slot",{key:"a19690198634c683c82be35f16641d040adb7cf0",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"c3ee2524734f2a56e05181b967ea2f6a726cbbe3",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"3f0bf65aec035c406533ebbe8afa7ff392a57938",class:"stzh-eventinfo__details"},t("stzh-link",{key:"d9044bf9b395f11f4e23900b35467959e996ba5f",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"a21f575af340184e1c08c9d6138a69202c8da294",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"1ac702a153093ab5d5ebd5b0b3a247fd71a07795",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"8ca0290ccf9edcdec608c64f979e353d9504eab2",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("time",{class:"stzh-eventinfo__event-datetime-wrapper",dateTime:e.start.toISOString()},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"))),this.hasProperStartAndOrEndDate(e.start,e.end)&&t("span",{class:"stzh-eventinfo__event-time"},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=a();export{o as stzh_eventinfo};
2
+ //# sourceMappingURL=p-d7766318.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as s,a as t,d as r}from"./p-C0D5-aI8.js";import{h as d}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-feedreader-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-feedreader-h,[stzh-hidden].sc-stzh-feedreader-h{display:none}.sc-stzh-feedreader-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-feedreader-h *.sc-stzh-feedreader,.sc-stzh-feedreader-h *.sc-stzh-feedreader::before,.sc-stzh-feedreader-h *.sc-stzh-feedreader::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-feedreader-h .has-focus.sc-stzh-feedreader{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-feedreader-h .stzh-fylingfocus-focused.sc-stzh-feedreader{outline-style:none !important}.sc-stzh-feedreader-h .stzh-fylingfocus-focused.sc-stzh-feedreader::-moz-focus-inner{border:0 !important}.stzh-feedreader__header.sc-stzh-feedreader{margin-bottom:var(--stzh-space-xlarge)}.stzh-feedreader__subscribe.sc-stzh-feedreader{margin-bottom:var(--stzh-space-xlarge)}.stzh-feedreader__items.sc-stzh-feedreader{display:grid;column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-feedreader__items.sc-stzh-feedreader{grid-template-columns:repeat(2, minmax(0, 1fr));row-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-ultra)}}`;const i=class{constructor(s){e(this,s);this.heading="";this.headingLevel="3";this.description="";this.noItemsText="";this.noItemsLink="";this.hasItems=true}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"feedreader")}}componentDidLoad(){try{this.hasItems=this.itemsWrapperElement.querySelectorAll("stzh-feedreader-item").length>0}catch(e){console.error("noChildNodesException",e)}}render(){const e={"stzh-feedreader":true};const r=d(this.element,"subscribe-feed");const a=d(this.element,"subscribe-proxy");const i=d(this.element,"connection-error");return s(t,{key:"472aeab2e878ff863895117f8d10739197821aaa"},s("div",{key:"3200e977c627c8b10a59941c4039c98de0ecb48b",class:e},s("div",{key:"a673fa65a84d5f0d22c0b92c3c8c1b412bf3756f",class:"stzh-feedreader__container"},s("div",{key:"9f20f20a2b318e2031fabcca96d991e205f2d522",class:"stzh-feedreader__header"},s("stzh-heading",{key:"e802fa4e6799d6b503b69aae4b7b5ec4d111ca2b",level:this.headingLevel},this.heading),s("stzh-text",{key:"32d510427efb2044e6d3a36cb9585ea538ebb25e"},this.description)),(r||a)&&s("div",{key:"54a6dd7094790fd0207906a9d9972b95872e1c77",class:"stzh-feedreader__subscribe"},s("slot",{key:"756b042c5f0621f53e40750da8028c272a6a9d55",name:"subscribe-feed"}),s("slot",{key:"dd2b0c96a53b04b92aaa952aaad09893dd8997cd",name:"subscribe-proxy"})),!this.hasItems&&!i&&s("stzh-message",{key:"bb209e73cf4048c3dfaeea0b911a39a9f30a5b45",label:this.noItemsText,hideClose:true},!!this.noItemsLink&&s("stzh-link",{key:"00efc19f4c133cd50b71093346ee1a98cadb1a86",slot:"link",href:this.noItemsLink},this.localization.moreInfo)),i&&s("div",{key:"944b04ef63a7780113186adafc8203c2efc3d97c",class:"stzh-feedreader__connection-error"},s("slot",{key:"afd2f1615f2ccb152fe49fd076e7d079ec2bea9a",name:"connection-error"})),s("div",{key:"51cca672ee6d88b26a61deb61ed1e95706159061",class:"stzh-feedreader__items",ref:e=>this.itemsWrapperElement=e},s("slot",{key:"184cf71be4133da971f3d274f8e9151d6c86cd0e"})))))}get element(){return r(this)}};i.style=a();export{i as stzh_feedreader};
2
- //# sourceMappingURL=p-71c5050c.entry.js.map
1
+ import{r as e,h as s,a as t,d as r}from"./p-BeYTS5to.js";import{h as d}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-feedreader-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-feedreader-h,[stzh-hidden].sc-stzh-feedreader-h{display:none}.sc-stzh-feedreader-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-feedreader-h *.sc-stzh-feedreader,.sc-stzh-feedreader-h *.sc-stzh-feedreader::before,.sc-stzh-feedreader-h *.sc-stzh-feedreader::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-feedreader-h .has-focus.sc-stzh-feedreader{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-feedreader-h .stzh-fylingfocus-focused.sc-stzh-feedreader{outline-style:none !important}.sc-stzh-feedreader-h .stzh-fylingfocus-focused.sc-stzh-feedreader::-moz-focus-inner{border:0 !important}.stzh-feedreader__header.sc-stzh-feedreader{margin-bottom:var(--stzh-space-xlarge)}.stzh-feedreader__subscribe.sc-stzh-feedreader{margin-bottom:var(--stzh-space-xlarge)}.stzh-feedreader__items.sc-stzh-feedreader{display:grid;column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-feedreader__items.sc-stzh-feedreader{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-feedreader__items.sc-stzh-feedreader{grid-template-columns:repeat(2, minmax(0, 1fr));row-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-feedreader__items.sc-stzh-feedreader{row-gap:var(--stzh-grid-gutter-ultra)}}`;const i=class{constructor(s){e(this,s);this.heading="";this.headingLevel="3";this.description="";this.noItemsText="";this.noItemsLink="";this.hasItems=true}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"feedreader")}}componentDidLoad(){try{this.hasItems=this.itemsWrapperElement.querySelectorAll("stzh-feedreader-item").length>0}catch(e){console.error("noChildNodesException",e)}}render(){const e={"stzh-feedreader":true};const r=d(this.element,"subscribe-feed");const a=d(this.element,"subscribe-proxy");const i=d(this.element,"connection-error");return s(t,{key:"472aeab2e878ff863895117f8d10739197821aaa"},s("div",{key:"3200e977c627c8b10a59941c4039c98de0ecb48b",class:e},s("div",{key:"a673fa65a84d5f0d22c0b92c3c8c1b412bf3756f",class:"stzh-feedreader__container"},s("div",{key:"9f20f20a2b318e2031fabcca96d991e205f2d522",class:"stzh-feedreader__header"},s("stzh-heading",{key:"e802fa4e6799d6b503b69aae4b7b5ec4d111ca2b",level:this.headingLevel},this.heading),s("stzh-text",{key:"32d510427efb2044e6d3a36cb9585ea538ebb25e"},this.description)),(r||a)&&s("div",{key:"54a6dd7094790fd0207906a9d9972b95872e1c77",class:"stzh-feedreader__subscribe"},s("slot",{key:"756b042c5f0621f53e40750da8028c272a6a9d55",name:"subscribe-feed"}),s("slot",{key:"dd2b0c96a53b04b92aaa952aaad09893dd8997cd",name:"subscribe-proxy"})),!this.hasItems&&!i&&s("stzh-message",{key:"bb209e73cf4048c3dfaeea0b911a39a9f30a5b45",label:this.noItemsText,hideClose:true},!!this.noItemsLink&&s("stzh-link",{key:"00efc19f4c133cd50b71093346ee1a98cadb1a86",slot:"link",href:this.noItemsLink},this.localization.moreInfo)),i&&s("div",{key:"944b04ef63a7780113186adafc8203c2efc3d97c",class:"stzh-feedreader__connection-error"},s("slot",{key:"afd2f1615f2ccb152fe49fd076e7d079ec2bea9a",name:"connection-error"})),s("div",{key:"51cca672ee6d88b26a61deb61ed1e95706159061",class:"stzh-feedreader__items",ref:e=>this.itemsWrapperElement=e},s("slot",{key:"184cf71be4133da971f3d274f8e9151d6c86cd0e"})))))}get element(){return r(this)}};i.style=a();export{i as stzh_feedreader};
2
+ //# sourceMappingURL=p-d77a3842.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as s,a as n,d as r}from"./p-C0D5-aI8.js";import{a as e,h as a}from"./p-CBLSoWgI.js";import{S as o}from"./p-2ReM0tCv.js";import"./p-BubviQku.js";const h=()=>`.sc-stzh-rating-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-rating-h,[stzh-hidden].sc-stzh-rating-h{display:none}.sc-stzh-rating-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-rating-h *.sc-stzh-rating,.sc-stzh-rating-h *.sc-stzh-rating::before,.sc-stzh-rating-h *.sc-stzh-rating::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-rating-h .has-focus.sc-stzh-rating{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-rating-h .stzh-fylingfocus-focused.sc-stzh-rating{outline-style:none !important}.sc-stzh-rating-h .stzh-fylingfocus-focused.sc-stzh-rating::-moz-focus-inner{border:0 !important}.sc-stzh-rating-h{--rating-legend-color:var(--stzh-rating-legend-color, var(--stzh-heading-color));--rating-icon-empty:var(--stzh-color-primary70);--rating-icon-active:var(--stzh-color-primary70);--rating-icon-hover:var(--stzh-color-secondary60);--rating-icon-invalid:var(--stzh-color-error60);--rating-icon-disabled-empty:var(--stzh-color-grey70);--rating-icon-disabled-active:var(--stzh-color-grey70)}[disabled].sc-stzh-rating-h:not([disabled=false]){--description-color:var(--stzh-color-grey70);--rating-legend-color:var(--stzh-color-grey70);--rating-icon-empty:var(--rating-icon-disabled-empty);--rating-icon-active:var(--rating-icon-disabled-active)}@media (forced-colors: active){[disabled].sc-stzh-rating-h:not([disabled=false]){--rating-icon-empty:GrayText;--rating-icon-active:GrayText}}@media (forced-colors: none){[is-invalid].sc-stzh-rating-h{--rating-icon-empty:var(--rating-icon-invalid);--rating-icon-active:var(--rating-icon-invalid);--rating-icon-hover:var(--rating-icon-invalid)}}@media (forced-colors: none){[invalid].sc-stzh-rating-h:not([invalid=false]) .stzh-rating__item.filled.sc-stzh-rating>.stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-invalid)}}@media (forced-colors: none){[is-invalid].sc-stzh-rating-h .stzh-rating__item.filled.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating,[is-invalid].sc-stzh-rating-h .stzh-rating__item.is-preview.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-invalid) !important}}[disabled].sc-stzh-rating-h:not([disabled=false]) .stzh-rating__item.sc-stzh-rating{cursor:not-allowed}.stzh-rating__marker-symbol.sc-stzh-rating{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-rating__marker-text.sc-stzh-rating{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-rating__description-wrapper.sc-stzh-rating{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-rating__error.sc-stzh-rating,.stzh-rating__description.sc-stzh-rating{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-rating__error.sc-stzh-rating{color:var(--stzh-color-error60)}.stzh-rating__error-list.sc-stzh-rating{list-style:none;margin:0;padding:0}.stzh-rating__description.sc-stzh-rating{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-rating__description-long.sc-stzh-rating{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-rating__description-long.sc-stzh-rating{margin-top:0}}.stzh-rating__description-long-popover.sc-stzh-rating{--width:auto;--max-width:27.3125rem}.stzh-rating__description-long-button.sc-stzh-rating{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-rating.sc-stzh-rating stzh-icon.stzh-rating__description-long-icon.sc-stzh-rating{--size:var(--stzh-icon-size-xsmall)}.stzh-rating--has-error.sc-stzh-rating .stzh-rating__error.sc-stzh-rating,.stzh-rating--has-description.sc-stzh-rating .stzh-rating__description.sc-stzh-rating{margin-top:var(--stzh-space-xxxsmall)}.stzh-rating.sc-stzh-rating{margin:0;padding:0;border:none}.stzh-rating__legend.sc-stzh-rating{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(--rating-legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall);display:flex;align-items:center;gap:var(--stzh-space-xsmall);min-width:0;max-width:100%}.stzh-rating__legend-text.sc-stzh-rating{min-width:0}.stzh-rating__legend.sc-stzh-rating>.stzh-rating__description-wrapper.sc-stzh-rating{flex:0 0 auto;display:inline-flex;align-items:center;margin:0;transform:translateY(0.0625rem)}.stzh-rating__legend.sc-stzh-rating .stzh-rating__error.sc-stzh-rating,.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-text.sc-stzh-rating{display:none}.stzh-rating__legend.sc-stzh-rating .stzh-rating__description.sc-stzh-rating,.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-long.sc-stzh-rating{display:inline-flex;align-items:flex-start;margin:0}.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-long-button.sc-stzh-rating{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-rating__legend.sc-stzh-rating stzh-popover.sc-stzh-rating .stzh-rating__description-long-icon.sc-stzh-rating{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-rating__legend-content.sc-stzh-rating{display:inline-flex;align-items:center;gap:var(--stzh-space-xsmall);min-width:0}.stzh-rating__marker.sc-stzh-rating{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex:0 0 auto;margin-left:0}.stzh-rating__items.sc-stzh-rating{display:inline-flex;align-items:center;gap:var(--rating-item-gap-sm);padding:0;min-width:calc(var(--rating-item-size) * 5 + var(--rating-item-gap-sm) * 4);min-height:var(--stzh-form-input-height, var(--stzh-form-input-height))}@media (min-width: 900px){.stzh-rating__items.sc-stzh-rating{gap:var(--rating-item-gap-lg);min-width:calc(var(--rating-item-size) * 5 + var(--rating-item-gap-lg) * 4)}}.stzh-rating__icon.sc-stzh-rating{--size:100%;--color:var(--rating-icon-empty);display:block;width:var(--rating-item-size);height:var(--rating-item-size);grid-area:1/1;transition:none}.stzh-rating--has-label-hidden.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}@media (forced-colors: none){.stzh-rating--is-invalid.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating,.stzh-rating--has-error.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{color:var(--stzh-color-error60)}}.stzh-rating--is-disabled.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{color:var(--stzh-color-grey60)}.stzh-rating.sc-stzh-rating{--rating-item-size:3rem;--rating-item-gap-sm:0.5rem;--rating-item-gap-lg:0.75rem}.stzh-rating--size-default.sc-stzh-rating{--rating-item-size:3rem}.stzh-rating--size-small.sc-stzh-rating{--rating-item-size:2.25rem}button.stzh-rating__item.sc-stzh-rating{position:relative;display:grid;align-items:center;justify-content:center;appearance:none;background:transparent;box-sizing:border-box;border:none;padding:0;margin:0;line-height:1;cursor:pointer;flex:0 0 var(--rating-item-size);min-width:var(--rating-item-size);min-height:var(--rating-item-size)}button.stzh-rating__item.sc-stzh-rating:focus{outline:none}button.stzh-rating__item.sc-stzh-rating:focus-visible{border-color:var(--focus-border-color, var(--stzh-color-secondary50));box-shadow:0 0 0 0.125rem var(--stzh-color-white), 0 0 0 0.25rem var(--focus-border-color, var(--stzh-color-secondary50))}button.stzh-rating__item.disabled.sc-stzh-rating,button.stzh-rating__item.readonly.sc-stzh-rating{cursor:default}button.stzh-rating__item.filled.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-active)}@media (forced-colors: active){button.stzh-rating__item.filled.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:SelectedItem}}button.stzh-rating__item.is-preview.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-hover)}@media (forced-colors: active){button.stzh-rating__item.is-preview.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:Highlight}}@media (forced-colors: active){button.stzh-rating__item.readonly.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:CanvasText}}`;let c=0;const l=5;const g=[1,2,3,4,5];const d=class{constructor(s){t(this,s);this.stzhChange=i(this,"stzhChange");this.stzhFocus=i(this,"stzhFocus");this.stzhBlur=i(this,"stzhBlur");this.value=0;this.disabled=false;this.readonly=false;this.invalid=false;this.required=false;this.hideOptional=false;this.label="";this.labelHidden=false;this._error=[];this.size="default";this.a11yDescribedby="";this.hoverIndex=null;this.tabbableIndex=null;this.userKeyFocused=false;this.hasDefaultSlot=false;this.hasResolvedDefaultSlot=false;this.ratingButtons=[];this.onMouseEnter=t=>{if(this.readonly||this.disabled)return;this.hoverIndex=t};this.onMouseLeave=()=>{if(this.readonly||this.disabled)return;this.hoverIndex=null};this.onClick=(t,i)=>{if(this.readonly||this.disabled)return;const s=this.value;const n=this.clampRatingValue(t);if(n!==s){this.value=n;this.stzhChange.emit({component:"stzh-rating",originalEvent:i,value:this.value})}this.hoverIndex=null;this.setTabbableAndFocus(n)};this.onContainerKeyDown=t=>{if(this.readonly||this.disabled)return;if(t.defaultPrevented)return;this.userKeyFocused=true;const i=getComputedStyle(this.containerEl).direction==="rtl";const s=i?"ArrowLeft":"ArrowRight";const n=i?"ArrowRight":"ArrowLeft";if(t.key===s||t.key==="ArrowUp"){t.preventDefault();if(this.tabbableIndex==null)this.setTabbableAndFocus(this.value||1);this.handleStep(this.value||null,1,t)}else if(t.key===n||t.key==="ArrowDown"){t.preventDefault();if(this.tabbableIndex==null)this.setTabbableAndFocus(this.value||5);this.handleStep(this.value||6,-1,t)}else if(t.key==="Home"){t.preventDefault();const i=this.value;this.value=1;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(1)}else if(t.key==="End"){t.preventDefault();const i=this.value;this.value=5;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(5)}else if(t.key===" "||t.key==="Enter"){t.preventDefault();if(!this.value){const i=this.value;this.value=1;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(1)}else if(this.tabbableIndex==null){this.setTabbableAndFocus(this.value)}}};this.onRatingItemKeyDown=(t,i)=>{if(this.readonly||this.disabled)return;this.userKeyFocused=true;const s=getComputedStyle(this.containerEl).direction==="rtl";const n=s?"ArrowLeft":"ArrowRight";const r=s?"ArrowRight":"ArrowLeft";if(i.key===n||i.key==="ArrowUp"){i.preventDefault();i.stopPropagation();this.handleStep(t,1,i)}else if(i.key===r||i.key==="ArrowDown"){i.preventDefault();i.stopPropagation();this.handleStep(t,-1,i)}};this.updateDefaultSlotState=()=>{const t=e(this.element,["stzh-rating"]);if(this.hasDefaultSlot!==t){this.hasDefaultSlot=t}if(!this.hasResolvedDefaultSlot){this.hasResolvedDefaultSlot=true}}}handleFocusOut(t){const i=t.relatedTarget;if(i&&this.element.contains(i))return;this.stzhBlur.emit({component:"stzh-rating",originalEvent:t})}handleFocusIn(t){if(!this.element.contains(t.target))return;this.stzhFocus.emit({component:"stzh-rating",originalEvent:t})}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)||[];if(!Array.isArray(this._error))this._error=[t]}catch(i){this._error=t?[t]:[]}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){var t,i;this.groupId=`stzh-rating-${c++}`;this.errorWatcher(this.error);if(!this.localization&&((i=(t=window===null||window===void 0?void 0:window.stzhComponents)===null||t===void 0?void 0:t.utils)===null||i===void 0?void 0:i.fetchTranslations)){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"rating")}this.tabbableIndex=null}clampRatingValue(t){const i=Number(t);if(!Number.isFinite(i))return 0;return Math.max(0,Math.min(l,Math.round(i)))}async setValue(t){this.value=this.clampRatingValue(t)}get displayValue(){var t;return(t=this.hoverIndex)!==null&&t!==void 0?t:this.value}setTabbableAndFocus(t){this.tabbableIndex=t;const i=this.ratingButtons[t-1];if(i)i.focus()}handleStep(t,i,s){const n=t!==null&&t!==void 0?t:0;const r=this.clampRatingValue(n+i);if(r!==this.value){this.value=r;this.stzhChange.emit({component:"stzh-rating",originalEvent:s,value:this.value})}this.setTabbableAndFocus(r)}get errorUsed(){return a(this.element,"error")||this._error.length>0}componentDidLoad(){this.updateDefaultSlotState()}render(){var t,i,r,e,h,c,l;const d=a(this.element,"description")||!!this.description;const z=a(this.element,"description-long")||!!this.descriptionLong;const f=`${this.groupId}-legend`;const m=!!this.label||this.hasDefaultSlot;const v=!this.hasResolvedDefaultSlot||m||z;const p={"stzh-rating":true,"stzh-rating--has-description":d,"stzh-rating--has-description-long":z,"stzh-rating--has-error":this.errorUsed,"stzh-rating--is-disabled":this.disabled,"stzh-rating--is-readonly":this.readonly,"stzh-rating--is-invalid":this.invalid||this.errorUsed,"stzh-rating--has-label-hidden":this.labelHidden,[`stzh-rating--size-${this.size}`]:!!this.size};const u=(t=this.localization)===null||t===void 0?void 0:t.$globals;const _=this.required?(i=u===null||u===void 0?void 0:u.requiredFieldMarker)!==null&&i!==void 0?i:"*":(r=u===null||u===void 0?void 0:u.optionalFieldMarker)!==null&&r!==void 0?r:"(optional)";const b=this.required?(e=u===null||u===void 0?void 0:u.requiredFieldText)!==null&&e!==void 0?e:"Required":(h=u===null||u===void 0?void 0:u.optionalFieldText)!==null&&h!==void 0?h:"Optional";const y=[this.description||d||this.errorUsed?`${this.groupId}-description`:"",this.a11yDescribedby].filter(Boolean).join(" ")||undefined;const w=this.value||0;return s(n,{key:"0338d201ca6c8bbe642682954860bbf86fd814a3","is-invalid":this.invalid||this.errorUsed,"data-user-focus":this.userKeyFocused?"true":null},this.name&&!this.disabled&&!this.readonly&&s("input",{key:"3dd12df081d11942a1a335aba2532795b828d426",type:"hidden",name:this.name,value:String(this.value)}),s("fieldset",{key:"fb225c22a1e1342bd24e6fb4112c15e256fcd10c",class:p},v&&s("legend",{key:"ab91a0c60ef1f726e6cee42ef48d6570515b918a",id:f,class:"stzh-rating__legend"},s("span",{key:"c23e2ca173efe8e145020b9a7e68e8ed0c622e1d",class:"stzh-rating__legend-content"},s("span",{key:"215fd7cc25baa9ebbff39a35d5f900ed6b4ebe97",class:"stzh-rating__legend-text"},this.label?this.label:s("slot",{onSlotchange:this.updateDefaultSlotState})),m&&!this.hideOptional&&s("span",{key:"a3b89d81b492812b5c51b8fc6d2e195d38a40d52",class:"stzh-rating__marker"},s("span",{key:"3c56d75382a18a89fb70ea1988f5a4a0018e7579",class:"stzh-rating__marker-symbol","aria-hidden":"true"},_),s("span",{key:"de6f0ca248966cf84778b4014b9d203564601d52",class:"stzh-rating__marker-text"},b))),z&&s(o,{key:"6ff92d850ce8bd6ed642bec3111244ba9d75f62a",classPrefix:"stzh-rating",id:`${this.groupId}-description-long`,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:z,moreInfoButtonLabel:(l=(c=this.localization)===null||c===void 0?void 0:c.$globals)===null||l===void 0?void 0:l.moreInfoButtonLabel,showError:false,showDescriptionText:false})),s("div",{key:"1c76e43d7b3617429fe6135706e97af6288e25d2",class:"stzh-rating__items",role:"radiogroup","aria-labelledby":v?f:undefined,"aria-label":m?undefined:this.readonly?`${w} von 5 Punkten`:`Bewertung: ${w} von 5 Punkten. Mit Pfeiltasten ändern.`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid||this.errorUsed?"true":"false","aria-describedby":y,id:this.groupId,tabIndex:this.disabled?undefined:0,onKeyDown:this.onContainerKeyDown,ref:t=>this.containerEl=t},g.map((t=>{const i=this.displayValue;const n=this.value>=t;const r=this.hoverIndex;const e=r!=null&&t<=r;return s("button",{type:"button",class:{"stzh-rating__item":true,filled:n,"is-preview":e,disabled:this.disabled,readonly:this.readonly},role:"radio",tabIndex:this.tabbableIndex===t?0:-1,"aria-checked":this.value>=t?"true":"false","aria-label":`${t} ${t===1?"Punkt":"Punkte"}`,onMouseEnter:()=>this.onMouseEnter(t),onMouseLeave:this.onMouseLeave,onKeyDown:i=>this.onRatingItemKeyDown(t,i),onClick:i=>this.onClick(t,i),disabled:this.disabled||this.readonly,ref:i=>this.ratingButtons[t-1]=i,"s-object-id":this.analyticsId||this.label},s("stzh-icon",{class:"stzh-rating__icon",name:"star","a11y-title":""}),i>=t&&s("stzh-icon",{class:"stzh-rating__icon",name:"star-filled","a11y-title":""}))}))),(this.errorUsed||d)&&s(o,{key:"d8225070f8147fe4b7985ee8a0160f7c2649c1f7",classPrefix:"stzh-rating",id:`${this.groupId}-description`,error:this._error,description:this.description,descriptionLongUsed:false})))}get element(){return r(this)}static get watchers(){return{error:["errorWatcher"]}}};d.style=h();export{d as stzh_rating};
2
- //# sourceMappingURL=p-ff57ec6d.entry.js.map
1
+ import{r as t,c as i,h as s,a as n,d as r}from"./p-BeYTS5to.js";import{a as e,h as a}from"./p-CBLSoWgI.js";import{S as o}from"./p-DOMoFgs-.js";import"./p-BubviQku.js";const h=()=>`.sc-stzh-rating-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-rating-h,[stzh-hidden].sc-stzh-rating-h{display:none}.sc-stzh-rating-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-rating-h *.sc-stzh-rating,.sc-stzh-rating-h *.sc-stzh-rating::before,.sc-stzh-rating-h *.sc-stzh-rating::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-rating-h .has-focus.sc-stzh-rating{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-rating-h .stzh-fylingfocus-focused.sc-stzh-rating{outline-style:none !important}.sc-stzh-rating-h .stzh-fylingfocus-focused.sc-stzh-rating::-moz-focus-inner{border:0 !important}.sc-stzh-rating-h{--rating-legend-color:var(--stzh-rating-legend-color, var(--stzh-heading-color));--rating-icon-empty:var(--stzh-color-primary70);--rating-icon-active:var(--stzh-color-primary70);--rating-icon-hover:var(--stzh-color-secondary60);--rating-icon-invalid:var(--stzh-color-error60);--rating-icon-disabled-empty:var(--stzh-color-grey70);--rating-icon-disabled-active:var(--stzh-color-grey70)}[disabled].sc-stzh-rating-h:not([disabled=false]){--description-color:var(--stzh-color-grey70);--rating-legend-color:var(--stzh-color-grey70);--rating-icon-empty:var(--rating-icon-disabled-empty);--rating-icon-active:var(--rating-icon-disabled-active)}@media (forced-colors: active){[disabled].sc-stzh-rating-h:not([disabled=false]){--rating-icon-empty:GrayText;--rating-icon-active:GrayText}}@media (forced-colors: none){[is-invalid].sc-stzh-rating-h{--rating-icon-empty:var(--rating-icon-invalid);--rating-icon-active:var(--rating-icon-invalid);--rating-icon-hover:var(--rating-icon-invalid)}}@media (forced-colors: none){[invalid].sc-stzh-rating-h:not([invalid=false]) .stzh-rating__item.filled.sc-stzh-rating>.stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-invalid)}}@media (forced-colors: none){[is-invalid].sc-stzh-rating-h .stzh-rating__item.filled.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating,[is-invalid].sc-stzh-rating-h .stzh-rating__item.is-preview.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-invalid) !important}}[disabled].sc-stzh-rating-h:not([disabled=false]) .stzh-rating__item.sc-stzh-rating{cursor:not-allowed}.stzh-rating__marker-symbol.sc-stzh-rating{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-rating__marker-text.sc-stzh-rating{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-rating__description-wrapper.sc-stzh-rating{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-rating__error.sc-stzh-rating,.stzh-rating__description.sc-stzh-rating{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-rating__error.sc-stzh-rating{color:var(--stzh-color-error60)}.stzh-rating__error-list.sc-stzh-rating{list-style:none;margin:0;padding:0}.stzh-rating__description.sc-stzh-rating{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-rating__description-long.sc-stzh-rating{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-rating__description-long.sc-stzh-rating{margin-top:0}}.stzh-rating__description-long-popover.sc-stzh-rating{--width:auto;--max-width:27.3125rem}.stzh-rating__description-long-button.sc-stzh-rating{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-rating.sc-stzh-rating stzh-icon.stzh-rating__description-long-icon.sc-stzh-rating{--size:var(--stzh-icon-size-xsmall)}.stzh-rating--has-error.sc-stzh-rating .stzh-rating__error.sc-stzh-rating,.stzh-rating--has-description.sc-stzh-rating .stzh-rating__description.sc-stzh-rating{margin-top:var(--stzh-space-xxxsmall)}.stzh-rating.sc-stzh-rating{margin:0;padding:0;border:none}.stzh-rating__legend.sc-stzh-rating{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(--rating-legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall);display:flex;align-items:center;gap:var(--stzh-space-xsmall);min-width:0;max-width:100%}.stzh-rating__legend-text.sc-stzh-rating{min-width:0}.stzh-rating__legend.sc-stzh-rating>.stzh-rating__description-wrapper.sc-stzh-rating{flex:0 0 auto;display:inline-flex;align-items:center;margin:0;transform:translateY(0.0625rem)}.stzh-rating__legend.sc-stzh-rating .stzh-rating__error.sc-stzh-rating,.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-text.sc-stzh-rating{display:none}.stzh-rating__legend.sc-stzh-rating .stzh-rating__description.sc-stzh-rating,.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-long.sc-stzh-rating{display:inline-flex;align-items:flex-start;margin:0}.stzh-rating__legend.sc-stzh-rating .stzh-rating__description-long-button.sc-stzh-rating{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-rating__legend.sc-stzh-rating stzh-popover.sc-stzh-rating .stzh-rating__description-long-icon.sc-stzh-rating{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-rating__legend-content.sc-stzh-rating{display:inline-flex;align-items:center;gap:var(--stzh-space-xsmall);min-width:0}.stzh-rating__marker.sc-stzh-rating{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex:0 0 auto;margin-left:0}.stzh-rating__items.sc-stzh-rating{display:inline-flex;align-items:center;gap:var(--rating-item-gap-sm);padding:0;min-width:calc(var(--rating-item-size) * 5 + var(--rating-item-gap-sm) * 4);min-height:var(--stzh-form-input-height, var(--stzh-form-input-height))}@media (min-width: 900px){.stzh-rating__items.sc-stzh-rating{gap:var(--rating-item-gap-lg);min-width:calc(var(--rating-item-size) * 5 + var(--rating-item-gap-lg) * 4)}}.stzh-rating__icon.sc-stzh-rating{--size:100%;--color:var(--rating-icon-empty);display:block;width:var(--rating-item-size);height:var(--rating-item-size);grid-area:1/1;transition:none}.stzh-rating--has-label-hidden.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}@media (forced-colors: none){.stzh-rating--is-invalid.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating,.stzh-rating--has-error.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{color:var(--stzh-color-error60)}}.stzh-rating--is-disabled.sc-stzh-rating .stzh-rating__legend.sc-stzh-rating{color:var(--stzh-color-grey60)}.stzh-rating.sc-stzh-rating{--rating-item-size:3rem;--rating-item-gap-sm:0.5rem;--rating-item-gap-lg:0.75rem}.stzh-rating--size-default.sc-stzh-rating{--rating-item-size:3rem}.stzh-rating--size-small.sc-stzh-rating{--rating-item-size:2.25rem}button.stzh-rating__item.sc-stzh-rating{position:relative;display:grid;align-items:center;justify-content:center;appearance:none;background:transparent;box-sizing:border-box;border:none;padding:0;margin:0;line-height:1;cursor:pointer;flex:0 0 var(--rating-item-size);min-width:var(--rating-item-size);min-height:var(--rating-item-size)}button.stzh-rating__item.sc-stzh-rating:focus{outline:none}button.stzh-rating__item.sc-stzh-rating:focus-visible{border-color:var(--focus-border-color, var(--stzh-color-secondary50));box-shadow:0 0 0 0.125rem var(--stzh-color-white), 0 0 0 0.25rem var(--focus-border-color, var(--stzh-color-secondary50))}button.stzh-rating__item.disabled.sc-stzh-rating,button.stzh-rating__item.readonly.sc-stzh-rating{cursor:default}button.stzh-rating__item.filled.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-active)}@media (forced-colors: active){button.stzh-rating__item.filled.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:SelectedItem}}button.stzh-rating__item.is-preview.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:var(--rating-icon-hover)}@media (forced-colors: active){button.stzh-rating__item.is-preview.sc-stzh-rating:not(:is(.disabled,.readonly)).sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:Highlight}}@media (forced-colors: active){button.stzh-rating__item.readonly.sc-stzh-rating .stzh-rating__icon.sc-stzh-rating{--color:CanvasText}}`;let c=0;const l=5;const g=[1,2,3,4,5];const d=class{constructor(s){t(this,s);this.stzhChange=i(this,"stzhChange");this.stzhFocus=i(this,"stzhFocus");this.stzhBlur=i(this,"stzhBlur");this.value=0;this.disabled=false;this.readonly=false;this.invalid=false;this.required=false;this.hideOptional=false;this.label="";this.labelHidden=false;this._error=[];this.size="default";this.a11yDescribedby="";this.hoverIndex=null;this.tabbableIndex=null;this.userKeyFocused=false;this.hasDefaultSlot=false;this.hasResolvedDefaultSlot=false;this.ratingButtons=[];this.onMouseEnter=t=>{if(this.readonly||this.disabled)return;this.hoverIndex=t};this.onMouseLeave=()=>{if(this.readonly||this.disabled)return;this.hoverIndex=null};this.onClick=(t,i)=>{if(this.readonly||this.disabled)return;const s=this.value;const n=this.clampRatingValue(t);if(n!==s){this.value=n;this.stzhChange.emit({component:"stzh-rating",originalEvent:i,value:this.value})}this.hoverIndex=null;this.setTabbableAndFocus(n)};this.onContainerKeyDown=t=>{if(this.readonly||this.disabled)return;if(t.defaultPrevented)return;this.userKeyFocused=true;const i=getComputedStyle(this.containerEl).direction==="rtl";const s=i?"ArrowLeft":"ArrowRight";const n=i?"ArrowRight":"ArrowLeft";if(t.key===s||t.key==="ArrowUp"){t.preventDefault();if(this.tabbableIndex==null)this.setTabbableAndFocus(this.value||1);this.handleStep(this.value||null,1,t)}else if(t.key===n||t.key==="ArrowDown"){t.preventDefault();if(this.tabbableIndex==null)this.setTabbableAndFocus(this.value||5);this.handleStep(this.value||6,-1,t)}else if(t.key==="Home"){t.preventDefault();const i=this.value;this.value=1;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(1)}else if(t.key==="End"){t.preventDefault();const i=this.value;this.value=5;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(5)}else if(t.key===" "||t.key==="Enter"){t.preventDefault();if(!this.value){const i=this.value;this.value=1;if(this.value!==i){this.stzhChange.emit({component:"stzh-rating",originalEvent:t,value:this.value})}this.setTabbableAndFocus(1)}else if(this.tabbableIndex==null){this.setTabbableAndFocus(this.value)}}};this.onRatingItemKeyDown=(t,i)=>{if(this.readonly||this.disabled)return;this.userKeyFocused=true;const s=getComputedStyle(this.containerEl).direction==="rtl";const n=s?"ArrowLeft":"ArrowRight";const r=s?"ArrowRight":"ArrowLeft";if(i.key===n||i.key==="ArrowUp"){i.preventDefault();i.stopPropagation();this.handleStep(t,1,i)}else if(i.key===r||i.key==="ArrowDown"){i.preventDefault();i.stopPropagation();this.handleStep(t,-1,i)}};this.updateDefaultSlotState=()=>{const t=e(this.element,["stzh-rating"]);if(this.hasDefaultSlot!==t){this.hasDefaultSlot=t}if(!this.hasResolvedDefaultSlot){this.hasResolvedDefaultSlot=true}}}handleFocusOut(t){const i=t.relatedTarget;if(i&&this.element.contains(i))return;this.stzhBlur.emit({component:"stzh-rating",originalEvent:t})}handleFocusIn(t){if(!this.element.contains(t.target))return;this.stzhFocus.emit({component:"stzh-rating",originalEvent:t})}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)||[];if(!Array.isArray(this._error))this._error=[t]}catch(i){this._error=t?[t]:[]}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){var t,i;this.groupId=`stzh-rating-${c++}`;this.errorWatcher(this.error);if(!this.localization&&((i=(t=window===null||window===void 0?void 0:window.stzhComponents)===null||t===void 0?void 0:t.utils)===null||i===void 0?void 0:i.fetchTranslations)){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"rating")}this.tabbableIndex=null}clampRatingValue(t){const i=Number(t);if(!Number.isFinite(i))return 0;return Math.max(0,Math.min(l,Math.round(i)))}async setValue(t){this.value=this.clampRatingValue(t)}get displayValue(){var t;return(t=this.hoverIndex)!==null&&t!==void 0?t:this.value}setTabbableAndFocus(t){this.tabbableIndex=t;const i=this.ratingButtons[t-1];if(i)i.focus()}handleStep(t,i,s){const n=t!==null&&t!==void 0?t:0;const r=this.clampRatingValue(n+i);if(r!==this.value){this.value=r;this.stzhChange.emit({component:"stzh-rating",originalEvent:s,value:this.value})}this.setTabbableAndFocus(r)}get errorUsed(){return a(this.element,"error")||this._error.length>0}componentDidLoad(){this.updateDefaultSlotState()}render(){var t,i,r,e,h,c,l;const d=a(this.element,"description")||!!this.description;const z=a(this.element,"description-long")||!!this.descriptionLong;const f=`${this.groupId}-legend`;const m=!!this.label||this.hasDefaultSlot;const p=!this.hasResolvedDefaultSlot||m||z;const v={"stzh-rating":true,"stzh-rating--has-description":d,"stzh-rating--has-description-long":z,"stzh-rating--has-error":this.errorUsed,"stzh-rating--is-disabled":this.disabled,"stzh-rating--is-readonly":this.readonly,"stzh-rating--is-invalid":this.invalid||this.errorUsed,"stzh-rating--has-label-hidden":this.labelHidden,[`stzh-rating--size-${this.size}`]:!!this.size};const u=(t=this.localization)===null||t===void 0?void 0:t.$globals;const _=this.required?(i=u===null||u===void 0?void 0:u.requiredFieldMarker)!==null&&i!==void 0?i:"*":(r=u===null||u===void 0?void 0:u.optionalFieldMarker)!==null&&r!==void 0?r:"(optional)";const b=this.required?(e=u===null||u===void 0?void 0:u.requiredFieldText)!==null&&e!==void 0?e:"Required":(h=u===null||u===void 0?void 0:u.optionalFieldText)!==null&&h!==void 0?h:"Optional";const y=[this.description||d||this.errorUsed?`${this.groupId}-description`:"",this.a11yDescribedby].filter(Boolean).join(" ")||undefined;const w=this.value||0;return s(n,{key:"0338d201ca6c8bbe642682954860bbf86fd814a3","is-invalid":this.invalid||this.errorUsed,"data-user-focus":this.userKeyFocused?"true":null},this.name&&!this.disabled&&!this.readonly&&s("input",{key:"3dd12df081d11942a1a335aba2532795b828d426",type:"hidden",name:this.name,value:String(this.value)}),s("fieldset",{key:"fb225c22a1e1342bd24e6fb4112c15e256fcd10c",class:v},p&&s("legend",{key:"ab91a0c60ef1f726e6cee42ef48d6570515b918a",id:f,class:"stzh-rating__legend"},s("span",{key:"c23e2ca173efe8e145020b9a7e68e8ed0c622e1d",class:"stzh-rating__legend-content"},s("span",{key:"215fd7cc25baa9ebbff39a35d5f900ed6b4ebe97",class:"stzh-rating__legend-text"},this.label?this.label:s("slot",{onSlotchange:this.updateDefaultSlotState})),m&&!this.hideOptional&&s("span",{key:"a3b89d81b492812b5c51b8fc6d2e195d38a40d52",class:"stzh-rating__marker"},s("span",{key:"3c56d75382a18a89fb70ea1988f5a4a0018e7579",class:"stzh-rating__marker-symbol","aria-hidden":"true"},_),s("span",{key:"de6f0ca248966cf84778b4014b9d203564601d52",class:"stzh-rating__marker-text"},b))),z&&s(o,{key:"6ff92d850ce8bd6ed642bec3111244ba9d75f62a",classPrefix:"stzh-rating",id:`${this.groupId}-description-long`,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:z,moreInfoButtonLabel:(l=(c=this.localization)===null||c===void 0?void 0:c.$globals)===null||l===void 0?void 0:l.moreInfoButtonLabel,showError:false,showDescriptionText:false})),s("div",{key:"1c76e43d7b3617429fe6135706e97af6288e25d2",class:"stzh-rating__items",role:"radiogroup","aria-labelledby":p?f:undefined,"aria-label":m?undefined:this.readonly?`${w} von 5 Punkten`:`Bewertung: ${w} von 5 Punkten. Mit Pfeiltasten ändern.`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid||this.errorUsed?"true":"false","aria-describedby":y,id:this.groupId,tabIndex:this.disabled?undefined:0,onKeyDown:this.onContainerKeyDown,ref:t=>this.containerEl=t},g.map((t=>{const i=this.displayValue;const n=this.value>=t;const r=this.hoverIndex;const e=r!=null&&t<=r;return s("button",{type:"button",class:{"stzh-rating__item":true,filled:n,"is-preview":e,disabled:this.disabled,readonly:this.readonly},role:"radio",tabIndex:this.tabbableIndex===t?0:-1,"aria-checked":this.value>=t?"true":"false","aria-label":`${t} ${t===1?"Punkt":"Punkte"}`,onMouseEnter:()=>this.onMouseEnter(t),onMouseLeave:this.onMouseLeave,onKeyDown:i=>this.onRatingItemKeyDown(t,i),onClick:i=>this.onClick(t,i),disabled:this.disabled||this.readonly,ref:i=>this.ratingButtons[t-1]=i,"s-object-id":this.analyticsId||this.label},s("stzh-icon",{class:"stzh-rating__icon",name:"star","a11y-title":""}),i>=t&&s("stzh-icon",{class:"stzh-rating__icon",name:"star-filled","a11y-title":""}))}))),(this.errorUsed||d)&&s(o,{key:"d8225070f8147fe4b7985ee8a0160f7c2649c1f7",classPrefix:"stzh-rating",id:`${this.groupId}-description`,error:this._error,description:this.description,descriptionLongUsed:false})))}get element(){return r(this)}static get watchers(){return{error:["errorWatcher"]}}};d.style=h();export{d as stzh_rating};
2
+ //# sourceMappingURL=p-de177989.entry.js.map