@oiz/stzh-components 4.12.0 → 4.12.1

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 (841) hide show
  1. package/dist/cjs/{index-B_-bUbew.js → index-Cj3dPOnE.js} +3 -3
  2. package/dist/cjs/{index-B_-bUbew.js.map → index-Cj3dPOnE.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  66. package/dist/cjs/{stzh-input-description-BPIouoN2.js → stzh-input-description-IeBc75qD.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-BPIouoN2.js.map → stzh-input-description-IeBc75qD.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +42 -8
  69. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-message.cjs.entry.js +4 -4
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  137. package/dist/collection/components/stzh-input/stzh-input.js +43 -7
  138. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  139. package/dist/collection/components/stzh-message/stzh-message.js +5 -5
  140. package/dist/collection/components/stzh-message/stzh-message.js.map +1 -1
  141. package/dist/collection/components/stzh-message/stzh-message.stories.js +127 -2
  142. package/dist/components/index.js +2 -2
  143. package/dist/components/{p-X46RDuY9.js → p-5QD-jnDI.js} +3 -3
  144. package/dist/components/{p-X46RDuY9.js.map → p-5QD-jnDI.js.map} +1 -1
  145. package/dist/components/{p-DropTKrS.js → p-AGCnIH-Q.js} +3 -3
  146. package/dist/components/{p-DropTKrS.js.map → p-AGCnIH-Q.js.map} +1 -1
  147. package/dist/components/{p-ADyL1d9w.js → p-B1ilR8O2.js} +3 -3
  148. package/dist/components/{p-ADyL1d9w.js.map → p-B1ilR8O2.js.map} +1 -1
  149. package/dist/components/{p-Dbk6dw-_.js → p-B3K72yyt.js} +3 -3
  150. package/dist/components/{p-Dbk6dw-_.js.map → p-B3K72yyt.js.map} +1 -1
  151. package/dist/components/{p-wdknGSf8.js → p-B4rimZ__.js} +3 -3
  152. package/dist/components/{p-wdknGSf8.js.map → p-B4rimZ__.js.map} +1 -1
  153. package/dist/components/{p-BmkW_Y9y.js → p-B7_vqC4s.js} +5 -5
  154. package/dist/components/{p-BmkW_Y9y.js.map → p-B7_vqC4s.js.map} +1 -1
  155. package/dist/components/{p-D2BM3CAF.js → p-BErZsbTE.js} +4 -4
  156. package/dist/components/{p-D2BM3CAF.js.map → p-BErZsbTE.js.map} +1 -1
  157. package/dist/components/{p-BPVsYhNs.js → p-BJXTTK_V.js} +3 -3
  158. package/dist/components/{p-BPVsYhNs.js.map → p-BJXTTK_V.js.map} +1 -1
  159. package/dist/components/{p-C_jdtWlT.js → p-BKIlDLNH.js} +3 -3
  160. package/dist/components/{p-C_jdtWlT.js.map → p-BKIlDLNH.js.map} +1 -1
  161. package/dist/components/{p-DW10PQbf.js → p-BNRtW-oE.js} +4 -4
  162. package/dist/components/{p-DW10PQbf.js.map → p-BNRtW-oE.js.map} +1 -1
  163. package/dist/components/{p-DFSLatAY.js → p-BOLjzZGE.js} +3 -3
  164. package/dist/components/{p-DFSLatAY.js.map → p-BOLjzZGE.js.map} +1 -1
  165. package/dist/components/{p-D0B30t54.js → p-BQkPv0M-.js} +3 -3
  166. package/dist/components/{p-D0B30t54.js.map → p-BQkPv0M-.js.map} +1 -1
  167. package/dist/components/{p-BCKlDT10.js → p-BROnohFy.js} +6 -6
  168. package/dist/components/{p-BCKlDT10.js.map → p-BROnohFy.js.map} +1 -1
  169. package/dist/components/{p-CwEhkBGD.js → p-BVyHe4zB.js} +7 -7
  170. package/dist/components/{p-CwEhkBGD.js.map → p-BVyHe4zB.js.map} +1 -1
  171. package/dist/components/{p-ChMGYfCJ.js → p-BW2gjhHd.js} +7 -7
  172. package/dist/components/{p-ChMGYfCJ.js.map → p-BW2gjhHd.js.map} +1 -1
  173. package/dist/components/{p-qxq3j0na.js → p-BaMZCxiX.js} +9 -9
  174. package/dist/components/{p-qxq3j0na.js.map → p-BaMZCxiX.js.map} +1 -1
  175. package/dist/components/{p-8HdKT3_D.js → p-BdnKcZer.js} +11 -11
  176. package/dist/components/{p-8HdKT3_D.js.map → p-BdnKcZer.js.map} +1 -1
  177. package/dist/components/{p-Ci1SNC6M.js → p-Bh1lCPM9.js} +3 -3
  178. package/dist/components/{p-Ci1SNC6M.js.map → p-Bh1lCPM9.js.map} +1 -1
  179. package/dist/components/{p-DxJkSvpK.js → p-BmZW5NzL.js} +7 -7
  180. package/dist/components/{p-DxJkSvpK.js.map → p-BmZW5NzL.js.map} +1 -1
  181. package/dist/components/{p-DnmvEKvQ.js → p-Bnxt1olk.js} +5 -5
  182. package/dist/components/{p-DnmvEKvQ.js.map → p-Bnxt1olk.js.map} +1 -1
  183. package/dist/components/{p-xXoQzT_3.js → p-C3JKH-3Y.js} +11 -11
  184. package/dist/components/{p-xXoQzT_3.js.map → p-C3JKH-3Y.js.map} +1 -1
  185. package/dist/components/{p-CQ5Rgo2v.js → p-C7bl96a5.js} +8 -8
  186. package/dist/components/{p-CQ5Rgo2v.js.map → p-C7bl96a5.js.map} +1 -1
  187. package/dist/components/{p-DBjA2pn_.js → p-C9VQ8n2k.js} +3 -3
  188. package/dist/components/{p-DBjA2pn_.js.map → p-C9VQ8n2k.js.map} +1 -1
  189. package/dist/components/{p-D82evlE7.js → p-CB6SGGWh.js} +12 -12
  190. package/dist/components/{p-D82evlE7.js.map → p-CB6SGGWh.js.map} +1 -1
  191. package/dist/components/{p-CK65LG9N.js → p-CC0Gv1-E.js} +3 -3
  192. package/dist/components/{p-CK65LG9N.js.map → p-CC0Gv1-E.js.map} +1 -1
  193. package/dist/components/{p-BgQmHniF.js → p-CFzhqAe_.js} +6 -6
  194. package/dist/components/{p-BgQmHniF.js.map → p-CFzhqAe_.js.map} +1 -1
  195. package/dist/components/{p-BHaqxQEc.js → p-CHL7PZWx.js} +4 -4
  196. package/dist/components/{p-BHaqxQEc.js.map → p-CHL7PZWx.js.map} +1 -1
  197. package/dist/components/{p-H7Lh2Bgs.js → p-CLg_b_CM.js} +3 -3
  198. package/dist/components/{p-H7Lh2Bgs.js.map → p-CLg_b_CM.js.map} +1 -1
  199. package/dist/components/{p-DG3_bl_f.js → p-COE06LBm.js} +4 -4
  200. package/dist/components/{p-DG3_bl_f.js.map → p-COE06LBm.js.map} +1 -1
  201. package/dist/components/{p-C7ZmIU6n.js → p-CUg-9OV-.js} +3 -3
  202. package/dist/components/{p-C7ZmIU6n.js.map → p-CUg-9OV-.js.map} +1 -1
  203. package/dist/components/{p-By3HNKZ9.js → p-CXxKSOOe.js} +7 -7
  204. package/dist/components/{p-By3HNKZ9.js.map → p-CXxKSOOe.js.map} +1 -1
  205. package/dist/components/{p-B1hAnOW_.js → p-C_jR89kU.js} +7 -7
  206. package/dist/components/{p-B1hAnOW_.js.map → p-C_jR89kU.js.map} +1 -1
  207. package/dist/components/{p-Bo_lYzLZ.js → p-CaNZTZoV.js} +7 -7
  208. package/dist/components/{p-Bo_lYzLZ.js.map → p-CaNZTZoV.js.map} +1 -1
  209. package/dist/components/{p-Ms692OrL.js → p-CfeU7ZQ3.js} +11 -11
  210. package/dist/components/{p-Ms692OrL.js.map → p-CfeU7ZQ3.js.map} +1 -1
  211. package/dist/components/{p-t0MQMh96.js → p-Chfmq0ty.js} +3 -3
  212. package/dist/components/{p-t0MQMh96.js.map → p-Chfmq0ty.js.map} +1 -1
  213. package/dist/components/{p-BqQxOwe5.js → p-CjzcK4cD.js} +5 -5
  214. package/dist/components/{p-BqQxOwe5.js.map → p-CjzcK4cD.js.map} +1 -1
  215. package/dist/components/{p-DPifMYh1.js → p-CnS9iJUS.js} +3 -3
  216. package/dist/components/{p-DPifMYh1.js.map → p-CnS9iJUS.js.map} +1 -1
  217. package/dist/components/{p-C5GxUCJA.js → p-CqIeGIYq.js} +3 -3
  218. package/dist/components/{p-C5GxUCJA.js.map → p-CqIeGIYq.js.map} +1 -1
  219. package/dist/components/{p-xhu94bYw.js → p-Cqgkebne.js} +3 -3
  220. package/dist/components/{p-xhu94bYw.js.map → p-Cqgkebne.js.map} +1 -1
  221. package/dist/components/{p-Dn5XQ8Jt.js → p-D1qHu5Qi.js} +5 -5
  222. package/dist/components/{p-Dn5XQ8Jt.js.map → p-D1qHu5Qi.js.map} +1 -1
  223. package/dist/components/{p-4qepo_hh.js → p-D4BnQdqZ.js} +3 -3
  224. package/dist/components/{p-4qepo_hh.js.map → p-D4BnQdqZ.js.map} +1 -1
  225. package/dist/components/{p-D8g_X4vx.js → p-D7YAOnX0.js} +7 -7
  226. package/dist/components/{p-D8g_X4vx.js.map → p-D7YAOnX0.js.map} +1 -1
  227. package/dist/components/{p-6eURMZzo.js → p-DF6aCFVH.js} +3 -3
  228. package/dist/components/{p-6eURMZzo.js.map → p-DF6aCFVH.js.map} +1 -1
  229. package/dist/components/{p-BeuQJv8J.js → p-DFNN4tQ9.js} +4 -4
  230. package/dist/components/{p-BeuQJv8J.js.map → p-DFNN4tQ9.js.map} +1 -1
  231. package/dist/components/{p-C_cxk9RY.js → p-DStLZwaI.js} +7 -7
  232. package/dist/components/{p-C_cxk9RY.js.map → p-DStLZwaI.js.map} +1 -1
  233. package/dist/components/{p-CU8kKUrp.js → p-DX8rme7W.js} +3 -3
  234. package/dist/components/{p-CU8kKUrp.js.map → p-DX8rme7W.js.map} +1 -1
  235. package/dist/components/{p-EnVb6m-B.js → p-DZ_hOgVb.js} +3 -3
  236. package/dist/components/{p-EnVb6m-B.js.map → p-DZ_hOgVb.js.map} +1 -1
  237. package/dist/components/{p-DvMakgGn.js → p-DfpWfXtU.js} +6 -6
  238. package/dist/components/{p-DvMakgGn.js.map → p-DfpWfXtU.js.map} +1 -1
  239. package/dist/components/{p-XSFDlYKx.js → p-DgsPcRuX.js} +3 -3
  240. package/dist/components/{p-XSFDlYKx.js.map → p-DgsPcRuX.js.map} +1 -1
  241. package/dist/components/{p-B4QrfbDx.js → p-G6s0H-yQ.js} +52 -16
  242. package/dist/components/p-G6s0H-yQ.js.map +1 -0
  243. package/dist/components/{p-CNIvCFmS.js → p-HFkl_vzF.js} +5 -5
  244. package/dist/components/{p-CNIvCFmS.js.map → p-HFkl_vzF.js.map} +1 -1
  245. package/dist/components/{p-Crjc0_Pz.js → p-IifQDlUC.js} +3 -3
  246. package/dist/components/{p-Crjc0_Pz.js.map → p-IifQDlUC.js.map} +1 -1
  247. package/dist/components/{p-BoTHhkPJ.js → p-LMO8z7aY.js} +9 -9
  248. package/dist/components/{p-BoTHhkPJ.js.map → p-LMO8z7aY.js.map} +1 -1
  249. package/dist/components/{p-CXSupSpi.js → p-Nj7vgfBU.js} +10 -10
  250. package/dist/components/{p-CXSupSpi.js.map → p-Nj7vgfBU.js.map} +1 -1
  251. package/dist/components/{p-B5tB8aym.js → p-RtvhBPkV.js} +3 -3
  252. package/dist/components/{p-B5tB8aym.js.map → p-RtvhBPkV.js.map} +1 -1
  253. package/dist/components/{p-pctV0Gj2.js → p-RvRbhcRQ.js} +10 -10
  254. package/dist/components/{p-pctV0Gj2.js.map → p-RvRbhcRQ.js.map} +1 -1
  255. package/dist/components/{p-COskn4RU.js → p-U00jMEtY.js} +10 -10
  256. package/dist/components/{p-COskn4RU.js.map → p-U00jMEtY.js.map} +1 -1
  257. package/dist/components/{p-DZquFVcX.js → p-Yktwo3G-.js} +3 -3
  258. package/dist/components/{p-DZquFVcX.js.map → p-Yktwo3G-.js.map} +1 -1
  259. package/dist/components/{p-CVdrbqL8.js → p-a_AFmDN-.js} +12 -12
  260. package/dist/components/{p-CVdrbqL8.js.map → p-a_AFmDN-.js.map} +1 -1
  261. package/dist/components/{p-BfZiNeqm.js → p-cNHNXCvC.js} +8 -8
  262. package/dist/components/{p-BfZiNeqm.js.map → p-cNHNXCvC.js.map} +1 -1
  263. package/dist/components/{p-BRImIyGj.js → p-gRw8yRKG.js} +3 -3
  264. package/dist/components/{p-BRImIyGj.js.map → p-gRw8yRKG.js.map} +1 -1
  265. package/dist/components/{p-ClqJSCas.js → p-hX8escCp.js} +4 -4
  266. package/dist/components/{p-ClqJSCas.js.map → p-hX8escCp.js.map} +1 -1
  267. package/dist/components/{p-B0PAD47I.js → p-jcnUY7bc.js} +4 -4
  268. package/dist/components/{p-B0PAD47I.js.map → p-jcnUY7bc.js.map} +1 -1
  269. package/dist/components/{p-Cj1zS9Yk.js → p-p0_NS-tW.js} +3 -3
  270. package/dist/components/{p-Cj1zS9Yk.js.map → p-p0_NS-tW.js.map} +1 -1
  271. package/dist/components/{p-DhT_Fmme.js → p-ts8WMMWF.js} +6 -6
  272. package/dist/components/{p-DhT_Fmme.js.map → p-ts8WMMWF.js.map} +1 -1
  273. package/dist/components/{p-YtvrJDZu.js → p-uzlslKFU.js} +6 -6
  274. package/dist/components/{p-YtvrJDZu.js.map → p-uzlslKFU.js.map} +1 -1
  275. package/dist/components/{p-BPjfBYp8.js → p-x2lzAuxg.js} +3 -3
  276. package/dist/components/{p-BPjfBYp8.js.map → p-x2lzAuxg.js.map} +1 -1
  277. package/dist/components/{p-CFlL5zCd.js → p-zn9oE-TU.js} +3 -3
  278. package/dist/components/{p-CFlL5zCd.js.map → p-zn9oE-TU.js.map} +1 -1
  279. package/dist/components/stzh-accordion-item.js +1 -1
  280. package/dist/components/stzh-accordion.js +1 -1
  281. package/dist/components/stzh-actions.js +1 -1
  282. package/dist/components/stzh-actionset.js +1 -1
  283. package/dist/components/stzh-amount.js +9 -9
  284. package/dist/components/stzh-anchornav.js +5 -5
  285. package/dist/components/stzh-app-nav.js +1 -1
  286. package/dist/components/stzh-appointments.js +13 -13
  287. package/dist/components/stzh-archivelist.js +7 -7
  288. package/dist/components/stzh-audio.js +5 -5
  289. package/dist/components/stzh-badge.js +1 -1
  290. package/dist/components/stzh-banner.js +4 -4
  291. package/dist/components/stzh-breadcrumb.js +1 -1
  292. package/dist/components/stzh-button.js +1 -1
  293. package/dist/components/stzh-buttongroup.js +1 -1
  294. package/dist/components/stzh-calendar.js +1 -1
  295. package/dist/components/stzh-card-navigation.js +2 -2
  296. package/dist/components/stzh-card-searchresult.js +14 -14
  297. package/dist/components/stzh-card-superteaser.js +14 -14
  298. package/dist/components/stzh-card.js +1 -1
  299. package/dist/components/stzh-cardlist.js +1 -1
  300. package/dist/components/stzh-carousel.js +1 -1
  301. package/dist/components/stzh-cell.js +1 -1
  302. package/dist/components/stzh-chart.js +1 -1
  303. package/dist/components/stzh-checkbox.js +1 -1
  304. package/dist/components/stzh-checkboxgroup.js +5 -5
  305. package/dist/components/stzh-chip.js +1 -1
  306. package/dist/components/stzh-chipgroup.js +1 -1
  307. package/dist/components/stzh-chipselect.js +1 -1
  308. package/dist/components/stzh-clamp.js +1 -1
  309. package/dist/components/stzh-company-logo.js +1 -1
  310. package/dist/components/stzh-contact-cv.js +4 -4
  311. package/dist/components/stzh-contact.js +10 -10
  312. package/dist/components/stzh-container.js +1 -1
  313. package/dist/components/stzh-content.js +1 -1
  314. package/dist/components/stzh-cspace.js +1 -1
  315. package/dist/components/stzh-cta.js +3 -3
  316. package/dist/components/stzh-datalist-item.js +1 -1
  317. package/dist/components/stzh-datalist.js +1 -1
  318. package/dist/components/stzh-datamessagelist-item.js +11 -11
  319. package/dist/components/stzh-datamessagelist.js +1 -1
  320. package/dist/components/stzh-datatable.js +17 -17
  321. package/dist/components/stzh-datepicker.js +1 -1
  322. package/dist/components/stzh-daterange.js +4 -4
  323. package/dist/components/stzh-details.js +1 -1
  324. package/dist/components/stzh-dialog.js +1 -1
  325. package/dist/components/stzh-disturber.js +4 -4
  326. package/dist/components/stzh-dropdown.js +1 -1
  327. package/dist/components/stzh-editor.js +4 -4
  328. package/dist/components/stzh-eventdata.js +1 -1
  329. package/dist/components/stzh-eventinfo.js +5 -5
  330. package/dist/components/stzh-feedreader-item.js +2 -2
  331. package/dist/components/stzh-feedreader.js +8 -8
  332. package/dist/components/stzh-fieldset.js +1 -1
  333. package/dist/components/stzh-figure.js +1 -1
  334. package/dist/components/stzh-flyingfocus.js +1 -1
  335. package/dist/components/stzh-footer.js +4 -4
  336. package/dist/components/stzh-gallery.js +8 -8
  337. package/dist/components/stzh-geo-ref-data.js +24 -24
  338. package/dist/components/stzh-ghettobox.js +4 -4
  339. package/dist/components/stzh-header.js +1 -1
  340. package/dist/components/stzh-heading.js +1 -1
  341. package/dist/components/stzh-homepage-search.js +2 -2
  342. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  343. package/dist/components/stzh-hr.js +1 -1
  344. package/dist/components/stzh-hspace.js +1 -1
  345. package/dist/components/stzh-http-error.js +7 -7
  346. package/dist/components/stzh-icon.js +1 -1
  347. package/dist/components/stzh-iframe.js +1 -1
  348. package/dist/components/stzh-imagecomparison.js +2 -2
  349. package/dist/components/stzh-input.js +1 -1
  350. package/dist/components/stzh-invert.js +1 -1
  351. package/dist/components/stzh-link.js +1 -1
  352. package/dist/components/stzh-linklist.js +10 -10
  353. package/dist/components/stzh-list-item.js +1 -1
  354. package/dist/components/stzh-list.js +1 -1
  355. package/dist/components/stzh-loader.js +1 -1
  356. package/dist/components/stzh-loadingbar.js +1 -1
  357. package/dist/components/stzh-menu-item.js +1 -1
  358. package/dist/components/stzh-menu.js +1 -1
  359. package/dist/components/stzh-message.js +1 -1
  360. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  361. package/dist/components/stzh-monthyearpicker.js +5 -5
  362. package/dist/components/stzh-offline-indicator.js +6 -6
  363. package/dist/components/stzh-olmap.js +1 -1
  364. package/dist/components/stzh-overlay.js +1 -1
  365. package/dist/components/stzh-page-skiplinks.js +1 -1
  366. package/dist/components/stzh-pagebottom.js +8 -8
  367. package/dist/components/stzh-pagecontent.js +1 -1
  368. package/dist/components/stzh-pagetitle-hero.js +1 -1
  369. package/dist/components/stzh-pagetitle-home.js +2 -2
  370. package/dist/components/stzh-pagetitle.js +2 -2
  371. package/dist/components/stzh-pagination.js +1 -1
  372. package/dist/components/stzh-panorama.js +11 -11
  373. package/dist/components/stzh-pi-content-navigation.js +3 -3
  374. package/dist/components/stzh-pi-menu.js +3 -3
  375. package/dist/components/stzh-pi-pagetitle.js +2 -2
  376. package/dist/components/stzh-pi-quote.js +1 -1
  377. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  378. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  379. package/dist/components/stzh-pi-teaser.js +2 -2
  380. package/dist/components/stzh-pkzh-qr.js +20 -20
  381. package/dist/components/stzh-popover.js +1 -1
  382. package/dist/components/stzh-print.js +1 -1
  383. package/dist/components/stzh-quote.js +1 -1
  384. package/dist/components/stzh-radio.js +1 -1
  385. package/dist/components/stzh-radiogroup.js +1 -1
  386. package/dist/components/stzh-rating.js +5 -5
  387. package/dist/components/stzh-ratio.js +1 -1
  388. package/dist/components/stzh-readspeaker.js +4 -4
  389. package/dist/components/stzh-richtext.js +2 -2
  390. package/dist/components/stzh-row.js +1 -1
  391. package/dist/components/stzh-saptcha.js +7 -7
  392. package/dist/components/stzh-scrollup.js +1 -1
  393. package/dist/components/stzh-search.js +16 -16
  394. package/dist/components/stzh-section.js +1 -1
  395. package/dist/components/stzh-share.js +1 -1
  396. package/dist/components/stzh-show.js +1 -1
  397. package/dist/components/stzh-sitemap.js +9 -9
  398. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  399. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  400. package/dist/components/stzh-skiplink.js +1 -1
  401. package/dist/components/stzh-socialmediastream-item.js +1 -1
  402. package/dist/components/stzh-socialmediastream.js +6 -6
  403. package/dist/components/stzh-sortable.js +1 -1
  404. package/dist/components/stzh-space.js +1 -1
  405. package/dist/components/stzh-status.js +1 -1
  406. package/dist/components/stzh-stepper-item.js +1 -1
  407. package/dist/components/stzh-stepper.js +3 -3
  408. package/dist/components/stzh-sticky-actions.js +2 -2
  409. package/dist/components/stzh-sticky.js +1 -1
  410. package/dist/components/stzh-table.js +1 -1
  411. package/dist/components/stzh-tag.js +1 -1
  412. package/dist/components/stzh-text.js +1 -1
  413. package/dist/components/stzh-textandimage.js +1 -1
  414. package/dist/components/stzh-timeline-item.js +3 -3
  415. package/dist/components/stzh-timeline.js +1 -1
  416. package/dist/components/stzh-timepicker.js +5 -5
  417. package/dist/components/stzh-toast.js +1 -1
  418. package/dist/components/stzh-toastbar.js +1 -1
  419. package/dist/components/stzh-toggle.js +5 -5
  420. package/dist/components/stzh-tooltip.js +1 -1
  421. package/dist/components/stzh-twocolumns.js +1 -1
  422. package/dist/components/stzh-upload.js +13 -13
  423. package/dist/components/stzh-vbz-carousel.js +2 -2
  424. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  425. package/dist/components/stzh-vbz-intro.js +5 -5
  426. package/dist/components/stzh-vbz-linechip.js +1 -1
  427. package/dist/components/stzh-vbz-majorticker.js +7 -7
  428. package/dist/components/stzh-vbz-ticker.js +7 -7
  429. package/dist/components/stzh-visuallyhidden.js +1 -1
  430. package/dist/components/stzh-vspace.js +1 -1
  431. package/dist/components/stzh-youtube.js +6 -6
  432. package/dist/esm/{index-CMm0FVAs.js → index-Qb46gVIp.js} +3 -3
  433. package/dist/esm/{index-CMm0FVAs.js.map → index-Qb46gVIp.js.map} +1 -1
  434. package/dist/esm/loader.js +3 -3
  435. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  436. package/dist/esm/stzh-actions_6.entry.js +1 -1
  437. package/dist/esm/stzh-actionset.entry.js +1 -1
  438. package/dist/esm/stzh-amount.entry.js +1 -1
  439. package/dist/esm/stzh-anchornav.entry.js +1 -1
  440. package/dist/esm/stzh-app-nav.entry.js +1 -1
  441. package/dist/esm/stzh-appointments.entry.js +1 -1
  442. package/dist/esm/stzh-archivelist.entry.js +1 -1
  443. package/dist/esm/stzh-audio.entry.js +1 -1
  444. package/dist/esm/stzh-badge_3.entry.js +1 -1
  445. package/dist/esm/stzh-banner.entry.js +1 -1
  446. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  447. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  448. package/dist/esm/stzh-calendar.entry.js +1 -1
  449. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  450. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  451. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  452. package/dist/esm/stzh-card_2.entry.js +1 -1
  453. package/dist/esm/stzh-carousel.entry.js +1 -1
  454. package/dist/esm/stzh-chart.entry.js +1 -1
  455. package/dist/esm/stzh-checkbox.entry.js +2 -2
  456. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  457. package/dist/esm/stzh-chip_2.entry.js +2 -2
  458. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  459. package/dist/esm/stzh-clamp.entry.js +1 -1
  460. package/dist/esm/stzh-company-logo.entry.js +1 -1
  461. package/dist/esm/stzh-components.js +3 -3
  462. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  463. package/dist/esm/stzh-contact.entry.js +1 -1
  464. package/dist/esm/stzh-container_2.entry.js +1 -1
  465. package/dist/esm/stzh-content.entry.js +1 -1
  466. package/dist/esm/stzh-cta.entry.js +1 -1
  467. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  468. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  469. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  470. package/dist/esm/stzh-datatable.entry.js +1 -1
  471. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  472. package/dist/esm/stzh-daterange.entry.js +1 -1
  473. package/dist/esm/stzh-details.entry.js +1 -1
  474. package/dist/esm/stzh-dialog.entry.js +1 -1
  475. package/dist/esm/stzh-disturber.entry.js +1 -1
  476. package/dist/esm/stzh-dropdown.entry.js +2 -2
  477. package/dist/esm/stzh-editor.entry.js +1 -1
  478. package/dist/esm/stzh-eventdata.entry.js +1 -1
  479. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  480. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  481. package/dist/esm/stzh-feedreader.entry.js +1 -1
  482. package/dist/esm/stzh-figure.entry.js +1 -1
  483. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  484. package/dist/esm/stzh-footer.entry.js +1 -1
  485. package/dist/esm/stzh-gallery.entry.js +1 -1
  486. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  487. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  488. package/dist/esm/stzh-header_3.entry.js +1 -1
  489. package/dist/esm/stzh-heading.entry.js +1 -1
  490. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  491. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  492. package/dist/esm/stzh-hr.entry.js +1 -1
  493. package/dist/esm/stzh-hspace.entry.js +1 -1
  494. package/dist/esm/stzh-http-error.entry.js +1 -1
  495. package/dist/esm/stzh-iframe.entry.js +1 -1
  496. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  497. package/dist/esm/{stzh-input-description-DucOXgIp.js → stzh-input-description-CkiDnZXP.js} +3 -3
  498. package/dist/esm/{stzh-input-description-DucOXgIp.js.map → stzh-input-description-CkiDnZXP.js.map} +1 -1
  499. package/dist/esm/stzh-input.entry.js +42 -8
  500. package/dist/esm/stzh-input.entry.js.map +1 -1
  501. package/dist/esm/stzh-invert.entry.js +1 -1
  502. package/dist/esm/stzh-link.entry.js +1 -1
  503. package/dist/esm/stzh-linklist.entry.js +1 -1
  504. package/dist/esm/stzh-list_2.entry.js +1 -1
  505. package/dist/esm/stzh-loader.entry.js +1 -1
  506. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  507. package/dist/esm/stzh-menu_2.entry.js +1 -1
  508. package/dist/esm/stzh-message.entry.js +4 -4
  509. package/dist/esm/stzh-message.entry.js.map +1 -1
  510. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  511. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  512. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  513. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  514. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  515. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  516. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  517. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  518. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  519. package/dist/esm/stzh-panorama.entry.js +1 -1
  520. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  521. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  522. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  523. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  524. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  525. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  526. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  527. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  528. package/dist/esm/stzh-popover.entry.js +1 -1
  529. package/dist/esm/stzh-print_2.entry.js +1 -1
  530. package/dist/esm/stzh-quote.entry.js +1 -1
  531. package/dist/esm/stzh-rating.entry.js +2 -2
  532. package/dist/esm/stzh-ratio.entry.js +1 -1
  533. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  534. package/dist/esm/stzh-richtext.entry.js +1 -1
  535. package/dist/esm/stzh-saptcha.entry.js +1 -1
  536. package/dist/esm/stzh-scrollup.entry.js +1 -1
  537. package/dist/esm/stzh-search.entry.js +1 -1
  538. package/dist/esm/stzh-section.entry.js +1 -1
  539. package/dist/esm/stzh-show.entry.js +1 -1
  540. package/dist/esm/stzh-sitemap.entry.js +1 -1
  541. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  542. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  543. package/dist/esm/stzh-skiplink.entry.js +1 -1
  544. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  545. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  546. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  547. package/dist/esm/stzh-stepper.entry.js +1 -1
  548. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  549. package/dist/esm/stzh-sticky.entry.js +1 -1
  550. package/dist/esm/stzh-table.entry.js +1 -1
  551. package/dist/esm/stzh-text.entry.js +1 -1
  552. package/dist/esm/stzh-textandimage.entry.js +1 -1
  553. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  554. package/dist/esm/stzh-timeline.entry.js +1 -1
  555. package/dist/esm/stzh-timepicker.entry.js +1 -1
  556. package/dist/esm/stzh-toast_2.entry.js +1 -1
  557. package/dist/esm/stzh-toggle.entry.js +2 -2
  558. package/dist/esm/stzh-tooltip.entry.js +1 -1
  559. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  560. package/dist/esm/stzh-upload.entry.js +2 -2
  561. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  562. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  563. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  564. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  565. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  566. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  567. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  568. package/dist/esm/stzh-vspace.entry.js +1 -1
  569. package/dist/esm/stzh-youtube.entry.js +1 -1
  570. package/dist/stzh-components/{p-c061f237.entry.js → p-0134136f.entry.js} +2 -2
  571. package/dist/stzh-components/{p-f65f388a.entry.js → p-02cb3aae.entry.js} +2 -2
  572. package/dist/stzh-components/{p-204059c3.entry.js → p-033c3b6b.entry.js} +2 -2
  573. package/dist/stzh-components/{p-ee807638.entry.js → p-055e9962.entry.js} +2 -2
  574. package/dist/stzh-components/{p-b4066295.entry.js → p-0795bbcd.entry.js} +2 -2
  575. package/dist/stzh-components/{p-ce188d34.entry.js → p-09f28398.entry.js} +2 -2
  576. package/dist/stzh-components/{p-04f85b2e.entry.js → p-0cd89ab9.entry.js} +2 -2
  577. package/dist/stzh-components/{p-9df5d649.entry.js → p-0cf712e6.entry.js} +2 -2
  578. package/dist/stzh-components/{p-360fd13b.entry.js → p-0dd74312.entry.js} +2 -2
  579. package/dist/stzh-components/{p-44373262.entry.js → p-0ed4cd7e.entry.js} +2 -2
  580. package/dist/stzh-components/{p-89bcc6b2.entry.js → p-1021e488.entry.js} +2 -2
  581. package/dist/stzh-components/{p-969e7b46.entry.js → p-10c5d519.entry.js} +2 -2
  582. package/dist/stzh-components/{p-00e2d17a.entry.js → p-1341927f.entry.js} +2 -2
  583. package/dist/stzh-components/{p-4c67ddc8.entry.js → p-14d86c1d.entry.js} +2 -2
  584. package/dist/stzh-components/{p-60ce6463.entry.js → p-18237cd2.entry.js} +2 -2
  585. package/dist/stzh-components/{p-e77a9009.entry.js → p-19cc2896.entry.js} +2 -2
  586. package/dist/stzh-components/{p-a3f4d2cb.entry.js → p-1b92110f.entry.js} +2 -2
  587. package/dist/stzh-components/{p-9d593788.entry.js → p-1bb272ca.entry.js} +2 -2
  588. package/dist/stzh-components/{p-0240b59e.entry.js → p-20735c80.entry.js} +2 -2
  589. package/dist/stzh-components/{p-66a1e9f6.entry.js → p-216a9cc6.entry.js} +2 -2
  590. package/dist/stzh-components/{p-70dffd1b.entry.js → p-234bf6bf.entry.js} +2 -2
  591. package/dist/stzh-components/{p-5a04072c.entry.js → p-23cdc8a4.entry.js} +2 -2
  592. package/dist/stzh-components/{p-e00bebe9.entry.js → p-2940951b.entry.js} +2 -2
  593. package/dist/stzh-components/{p-bc0009d4.entry.js → p-2baa284a.entry.js} +2 -2
  594. package/dist/stzh-components/{p-675ccc4c.entry.js → p-2c30f74d.entry.js} +2 -2
  595. package/dist/stzh-components/{p-bccb08fd.entry.js → p-2d09b8b3.entry.js} +2 -2
  596. package/dist/stzh-components/{p-dd10da2d.entry.js → p-3084c3a5.entry.js} +2 -2
  597. package/dist/stzh-components/{p-76b599be.entry.js → p-326b55a2.entry.js} +2 -2
  598. package/dist/stzh-components/{p-4f3cdc12.entry.js → p-32a41205.entry.js} +2 -2
  599. package/dist/stzh-components/{p-e0aa37e0.entry.js → p-37aae8ac.entry.js} +3 -3
  600. package/dist/stzh-components/{p-3085e0d2.entry.js → p-390766ab.entry.js} +3 -3
  601. package/dist/stzh-components/{p-8414eb16.entry.js → p-3edfb735.entry.js} +2 -2
  602. package/dist/stzh-components/{p-d8c930d4.entry.js → p-414a3145.entry.js} +2 -2
  603. package/dist/stzh-components/{p-eb838ad2.entry.js → p-42628b3a.entry.js} +2 -2
  604. package/dist/stzh-components/{p-7ad41098.entry.js → p-42707a5b.entry.js} +2 -2
  605. package/dist/stzh-components/{p-6601cd26.entry.js → p-42e5eb19.entry.js} +2 -2
  606. package/dist/stzh-components/{p-8bcaf427.entry.js → p-43882380.entry.js} +2 -2
  607. package/dist/stzh-components/{p-4cea4286.entry.js → p-4640481a.entry.js} +2 -2
  608. package/dist/stzh-components/{p-1675e276.entry.js → p-4b928978.entry.js} +2 -2
  609. package/dist/stzh-components/{p-d69812a2.entry.js → p-4eefbac4.entry.js} +2 -2
  610. package/dist/stzh-components/{p-8fa38751.entry.js → p-51d869eb.entry.js} +2 -2
  611. package/dist/stzh-components/{p-b1e688a5.entry.js → p-5204cd86.entry.js} +2 -2
  612. package/dist/stzh-components/{p-84b54d90.entry.js → p-58882212.entry.js} +2 -2
  613. package/dist/stzh-components/{p-0e8c5ac6.entry.js → p-5f86ac2c.entry.js} +2 -2
  614. package/dist/stzh-components/{p-2e4ab9aa.entry.js → p-60c3106c.entry.js} +2 -2
  615. package/dist/stzh-components/{p-322fa1b3.entry.js → p-61aa75b0.entry.js} +2 -2
  616. package/dist/stzh-components/{p-394e34df.entry.js → p-61c9ed2d.entry.js} +2 -2
  617. package/dist/stzh-components/{p-6e94ba42.entry.js → p-61d59943.entry.js} +2 -2
  618. package/dist/stzh-components/{p-60621e3d.entry.js → p-62ffe60a.entry.js} +2 -2
  619. package/dist/stzh-components/{p-8c0991fc.entry.js → p-647a80da.entry.js} +2 -2
  620. package/dist/stzh-components/{p-f165d700.entry.js → p-64b3d4c2.entry.js} +2 -2
  621. package/dist/stzh-components/{p-e706c0cf.entry.js → p-6a798b0a.entry.js} +2 -2
  622. package/dist/stzh-components/{p-96d0f65f.entry.js → p-6c517443.entry.js} +2 -2
  623. package/dist/stzh-components/{p-a237a4a4.entry.js → p-6ca9c23c.entry.js} +2 -2
  624. package/dist/stzh-components/{p-af6ef7ac.entry.js → p-6cd6392a.entry.js} +2 -2
  625. package/dist/stzh-components/{p-d9aecb49.entry.js → p-6ecf3d10.entry.js} +2 -2
  626. package/dist/stzh-components/{p-44788824.entry.js → p-70b8ed74.entry.js} +2 -2
  627. package/dist/stzh-components/{p-a931fa9f.entry.js → p-71291933.entry.js} +2 -2
  628. package/dist/stzh-components/{p-9f165ba8.entry.js → p-73a79275.entry.js} +2 -2
  629. package/dist/stzh-components/{p-6950ec4c.entry.js → p-745161ef.entry.js} +2 -2
  630. package/dist/stzh-components/{p-1dfa8f3b.entry.js → p-7635b6f5.entry.js} +2 -2
  631. package/dist/stzh-components/{p-e87b2f64.entry.js → p-7960db96.entry.js} +2 -2
  632. package/dist/stzh-components/{p-575a3271.entry.js → p-7a726c47.entry.js} +2 -2
  633. package/dist/stzh-components/{p-74e52594.entry.js → p-7aca0e23.entry.js} +2 -2
  634. package/dist/stzh-components/{p-47aceb74.entry.js → p-7f6e2c50.entry.js} +2 -2
  635. package/dist/stzh-components/{p-7736cb04.entry.js → p-7fc9372f.entry.js} +2 -2
  636. package/dist/stzh-components/{p-6351689e.entry.js → p-80503011.entry.js} +2 -2
  637. package/dist/stzh-components/{p-99c1ca23.entry.js → p-83a059a0.entry.js} +2 -2
  638. package/dist/stzh-components/{p-eccbfe1b.entry.js → p-86ffdc58.entry.js} +2 -2
  639. package/dist/stzh-components/{p-4405a8e0.entry.js → p-90807e9e.entry.js} +2 -2
  640. package/dist/stzh-components/{p-e7a93596.entry.js → p-923deb7b.entry.js} +2 -2
  641. package/dist/stzh-components/{p-3ac95132.entry.js → p-93afea50.entry.js} +2 -2
  642. package/dist/stzh-components/{p-0405ead1.entry.js → p-94f25b97.entry.js} +2 -2
  643. package/dist/stzh-components/{p-58312f4d.entry.js → p-96c7ceb0.entry.js} +2 -2
  644. package/dist/stzh-components/{p-67e6100a.entry.js → p-99b23557.entry.js} +2 -2
  645. package/dist/stzh-components/{p-ecf7ca7e.entry.js → p-9f3bbad2.entry.js} +2 -2
  646. package/dist/stzh-components/{p-BRSls9kT.js → p-Be8ir2AL.js} +2 -2
  647. package/dist/stzh-components/{p-BRSls9kT.js.map → p-Be8ir2AL.js.map} +1 -1
  648. package/dist/stzh-components/{p-CMm0FVAs.js → p-Qb46gVIp.js} +2 -2
  649. package/dist/stzh-components/{p-CMm0FVAs.js.map → p-Qb46gVIp.js.map} +1 -1
  650. package/dist/stzh-components/{p-1f1f72fc.entry.js → p-a1e07163.entry.js} +2 -2
  651. package/dist/stzh-components/{p-35753ac7.entry.js → p-a29de908.entry.js} +2 -2
  652. package/dist/stzh-components/{p-d5ff4faf.entry.js → p-a41ed36a.entry.js} +2 -2
  653. package/dist/stzh-components/{p-8251123e.entry.js → p-a6209841.entry.js} +2 -2
  654. package/dist/stzh-components/{p-de99b5f6.entry.js → p-a711447d.entry.js} +2 -2
  655. package/dist/stzh-components/{p-da655787.entry.js → p-a7bed4b7.entry.js} +2 -2
  656. package/dist/stzh-components/{p-6f5e8f7a.entry.js → p-a85ed304.entry.js} +2 -2
  657. package/dist/stzh-components/{p-4d6ed393.entry.js → p-a96614ae.entry.js} +2 -2
  658. package/dist/stzh-components/{p-c3606f68.entry.js → p-ac647202.entry.js} +2 -2
  659. package/dist/stzh-components/{p-4a84f27b.entry.js → p-aee4a2ae.entry.js} +2 -2
  660. package/dist/stzh-components/{p-42b2ec0a.entry.js → p-af4ea4bc.entry.js} +6 -6
  661. package/dist/stzh-components/{p-40067908.entry.js → p-af59c189.entry.js} +2 -2
  662. package/dist/stzh-components/{p-e429839d.entry.js → p-b47d51d7.entry.js} +2 -2
  663. package/dist/stzh-components/{p-cb81c92d.entry.js → p-b4d3dd64.entry.js} +2 -2
  664. package/dist/stzh-components/{p-b448c54f.entry.js → p-b6d762b2.entry.js} +2 -2
  665. package/dist/stzh-components/{p-3d14531a.entry.js → p-b7b21a8c.entry.js} +2 -2
  666. package/dist/stzh-components/{p-d2a9c527.entry.js → p-b8f44c79.entry.js} +2 -2
  667. package/dist/stzh-components/{p-08b79d77.entry.js → p-bae8c063.entry.js} +2 -2
  668. package/dist/stzh-components/{p-642ab0db.entry.js → p-bc3af3b4.entry.js} +2 -2
  669. package/dist/stzh-components/{p-cc47f873.entry.js → p-bd256924.entry.js} +2 -2
  670. package/dist/stzh-components/{p-08de2f2c.entry.js → p-c297a620.entry.js} +2 -2
  671. package/dist/stzh-components/{p-6e29d589.entry.js → p-c5157043.entry.js} +2 -2
  672. package/dist/stzh-components/{p-45147ac4.entry.js → p-c52c1aef.entry.js} +2 -2
  673. package/dist/stzh-components/{p-e8ba39b1.entry.js → p-cbef543b.entry.js} +2 -2
  674. package/dist/stzh-components/{p-a1179d75.entry.js → p-ced452d5.entry.js} +2 -2
  675. package/dist/stzh-components/{p-34793cbf.entry.js → p-cf40ac5b.entry.js} +2 -2
  676. package/dist/stzh-components/{p-bb429652.entry.js → p-d21526d5.entry.js} +2 -2
  677. package/dist/stzh-components/p-d21526d5.entry.js.map +1 -0
  678. package/dist/stzh-components/{p-f9c144a2.entry.js → p-d2acf05b.entry.js} +2 -2
  679. package/dist/stzh-components/{p-3ecb1140.entry.js → p-d434e9ef.entry.js} +2 -2
  680. package/dist/stzh-components/{p-c85e3ca1.entry.js → p-d7470d02.entry.js} +2 -2
  681. package/dist/stzh-components/{p-0c8b277e.entry.js → p-d7668a3b.entry.js} +2 -2
  682. package/dist/stzh-components/{p-521adcd2.entry.js → p-d7ce73a1.entry.js} +2 -2
  683. package/dist/stzh-components/{p-9a4ab562.entry.js → p-d80119b5.entry.js} +2 -2
  684. package/dist/stzh-components/{p-6d67cb35.entry.js → p-d94cc86b.entry.js} +2 -2
  685. package/dist/stzh-components/{p-14b76262.entry.js → p-d9d0a469.entry.js} +2 -2
  686. package/dist/stzh-components/{p-6b61a982.entry.js → p-dc72b0de.entry.js} +2 -2
  687. package/dist/stzh-components/{p-90c5fd7d.entry.js → p-dfb3d918.entry.js} +2 -2
  688. package/dist/stzh-components/{p-2c4ede3e.entry.js → p-e19b6d8c.entry.js} +2 -2
  689. package/dist/stzh-components/{p-1270ee3a.entry.js → p-e236ee82.entry.js} +2 -2
  690. package/dist/stzh-components/{p-3be730a8.entry.js → p-e5675129.entry.js} +2 -2
  691. package/dist/stzh-components/{p-b5edc83e.entry.js → p-e7e813f8.entry.js} +2 -2
  692. package/dist/stzh-components/{p-da79325e.entry.js → p-e8b7bf12.entry.js} +2 -2
  693. package/dist/stzh-components/{p-e33fc3e9.entry.js → p-e8e9ceff.entry.js} +2 -2
  694. package/dist/stzh-components/{p-288720eb.entry.js → p-e947cbc0.entry.js} +3 -3
  695. package/dist/stzh-components/{p-bff79590.entry.js → p-e95ee8a4.entry.js} +2 -2
  696. package/dist/stzh-components/{p-055e1e41.entry.js → p-ec817cb2.entry.js} +2 -2
  697. package/dist/stzh-components/{p-fbffd77a.entry.js → p-ecd3be50.entry.js} +2 -2
  698. package/dist/stzh-components/{p-6ca32b16.entry.js → p-ed8062c2.entry.js} +2 -2
  699. package/dist/stzh-components/{p-c10ea736.entry.js → p-edffd239.entry.js} +2 -2
  700. package/dist/stzh-components/{p-26018e74.entry.js → p-ef8e4a95.entry.js} +2 -2
  701. package/dist/stzh-components/{p-7a4c23e9.entry.js → p-f51d4bbe.entry.js} +2 -2
  702. package/dist/stzh-components/{p-dd35246f.entry.js → p-facf3e9e.entry.js} +2 -2
  703. package/dist/stzh-components/{p-6fa4ace3.entry.js → p-fb25534f.entry.js} +2 -2
  704. package/dist/stzh-components/{p-9c7b454d.entry.js → p-ff03f780.entry.js} +2 -2
  705. package/dist/stzh-components/stzh-components.esm.js +1 -1
  706. package/dist/types/components/stzh-input/stzh-input.d.ts +7 -0
  707. package/dist/types/components/stzh-message/stzh-message.d.ts +2 -2
  708. package/dist/types/components.d.ts +2 -2
  709. package/dist/vscode-data.json +1 -1
  710. package/package.json +1 -1
  711. package/dist/components/p-B4QrfbDx.js.map +0 -1
  712. package/dist/stzh-components/p-bb429652.entry.js.map +0 -1
  713. /package/dist/stzh-components/{p-c061f237.entry.js.map → p-0134136f.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-f65f388a.entry.js.map → p-02cb3aae.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-204059c3.entry.js.map → p-033c3b6b.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-ee807638.entry.js.map → p-055e9962.entry.js.map} +0 -0
  717. /package/dist/stzh-components/{p-b4066295.entry.js.map → p-0795bbcd.entry.js.map} +0 -0
  718. /package/dist/stzh-components/{p-ce188d34.entry.js.map → p-09f28398.entry.js.map} +0 -0
  719. /package/dist/stzh-components/{p-04f85b2e.entry.js.map → p-0cd89ab9.entry.js.map} +0 -0
  720. /package/dist/stzh-components/{p-9df5d649.entry.js.map → p-0cf712e6.entry.js.map} +0 -0
  721. /package/dist/stzh-components/{p-360fd13b.entry.js.map → p-0dd74312.entry.js.map} +0 -0
  722. /package/dist/stzh-components/{p-44373262.entry.js.map → p-0ed4cd7e.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-89bcc6b2.entry.js.map → p-1021e488.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-969e7b46.entry.js.map → p-10c5d519.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-00e2d17a.entry.js.map → p-1341927f.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-4c67ddc8.entry.js.map → p-14d86c1d.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-60ce6463.entry.js.map → p-18237cd2.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-e77a9009.entry.js.map → p-19cc2896.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-a3f4d2cb.entry.js.map → p-1b92110f.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-9d593788.entry.js.map → p-1bb272ca.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-0240b59e.entry.js.map → p-20735c80.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-66a1e9f6.entry.js.map → p-216a9cc6.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-70dffd1b.entry.js.map → p-234bf6bf.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-5a04072c.entry.js.map → p-23cdc8a4.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-e00bebe9.entry.js.map → p-2940951b.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-bc0009d4.entry.js.map → p-2baa284a.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-675ccc4c.entry.js.map → p-2c30f74d.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-bccb08fd.entry.js.map → p-2d09b8b3.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-dd10da2d.entry.js.map → p-3084c3a5.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-76b599be.entry.js.map → p-326b55a2.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-4f3cdc12.entry.js.map → p-32a41205.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-e0aa37e0.entry.js.map → p-37aae8ac.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-3085e0d2.entry.js.map → p-390766ab.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-8414eb16.entry.js.map → p-3edfb735.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-d8c930d4.entry.js.map → p-414a3145.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-eb838ad2.entry.js.map → p-42628b3a.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-7ad41098.entry.js.map → p-42707a5b.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-6601cd26.entry.js.map → p-42e5eb19.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-8bcaf427.entry.js.map → p-43882380.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-4cea4286.entry.js.map → p-4640481a.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-1675e276.entry.js.map → p-4b928978.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-d69812a2.entry.js.map → p-4eefbac4.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-8fa38751.entry.js.map → p-51d869eb.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-b1e688a5.entry.js.map → p-5204cd86.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-84b54d90.entry.js.map → p-58882212.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-0e8c5ac6.entry.js.map → p-5f86ac2c.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-2e4ab9aa.entry.js.map → p-60c3106c.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-322fa1b3.entry.js.map → p-61aa75b0.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-394e34df.entry.js.map → p-61c9ed2d.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-6e94ba42.entry.js.map → p-61d59943.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-60621e3d.entry.js.map → p-62ffe60a.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-8c0991fc.entry.js.map → p-647a80da.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-f165d700.entry.js.map → p-64b3d4c2.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-e706c0cf.entry.js.map → p-6a798b0a.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-96d0f65f.entry.js.map → p-6c517443.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-a237a4a4.entry.js.map → p-6ca9c23c.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-af6ef7ac.entry.js.map → p-6cd6392a.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-d9aecb49.entry.js.map → p-6ecf3d10.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-44788824.entry.js.map → p-70b8ed74.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-a931fa9f.entry.js.map → p-71291933.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-9f165ba8.entry.js.map → p-73a79275.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-6950ec4c.entry.js.map → p-745161ef.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-1dfa8f3b.entry.js.map → p-7635b6f5.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-e87b2f64.entry.js.map → p-7960db96.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-575a3271.entry.js.map → p-7a726c47.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-74e52594.entry.js.map → p-7aca0e23.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-47aceb74.entry.js.map → p-7f6e2c50.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-7736cb04.entry.js.map → p-7fc9372f.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-6351689e.entry.js.map → p-80503011.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-99c1ca23.entry.js.map → p-83a059a0.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-eccbfe1b.entry.js.map → p-86ffdc58.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-4405a8e0.entry.js.map → p-90807e9e.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-e7a93596.entry.js.map → p-923deb7b.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-3ac95132.entry.js.map → p-93afea50.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-0405ead1.entry.js.map → p-94f25b97.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-58312f4d.entry.js.map → p-96c7ceb0.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-67e6100a.entry.js.map → p-99b23557.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-ecf7ca7e.entry.js.map → p-9f3bbad2.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-1f1f72fc.entry.js.map → p-a1e07163.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-35753ac7.entry.js.map → p-a29de908.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-d5ff4faf.entry.js.map → p-a41ed36a.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-8251123e.entry.js.map → p-a6209841.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-de99b5f6.entry.js.map → p-a711447d.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-da655787.entry.js.map → p-a7bed4b7.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-6f5e8f7a.entry.js.map → p-a85ed304.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-4d6ed393.entry.js.map → p-a96614ae.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-c3606f68.entry.js.map → p-ac647202.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-4a84f27b.entry.js.map → p-aee4a2ae.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-42b2ec0a.entry.js.map → p-af4ea4bc.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-40067908.entry.js.map → p-af59c189.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-e429839d.entry.js.map → p-b47d51d7.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-cb81c92d.entry.js.map → p-b4d3dd64.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-b448c54f.entry.js.map → p-b6d762b2.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-3d14531a.entry.js.map → p-b7b21a8c.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-d2a9c527.entry.js.map → p-b8f44c79.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-08b79d77.entry.js.map → p-bae8c063.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-642ab0db.entry.js.map → p-bc3af3b4.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-cc47f873.entry.js.map → p-bd256924.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-08de2f2c.entry.js.map → p-c297a620.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-6e29d589.entry.js.map → p-c5157043.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-45147ac4.entry.js.map → p-c52c1aef.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-e8ba39b1.entry.js.map → p-cbef543b.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-a1179d75.entry.js.map → p-ced452d5.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-34793cbf.entry.js.map → p-cf40ac5b.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-f9c144a2.entry.js.map → p-d2acf05b.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-3ecb1140.entry.js.map → p-d434e9ef.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-c85e3ca1.entry.js.map → p-d7470d02.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-0c8b277e.entry.js.map → p-d7668a3b.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-521adcd2.entry.js.map → p-d7ce73a1.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-9a4ab562.entry.js.map → p-d80119b5.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-6d67cb35.entry.js.map → p-d94cc86b.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-14b76262.entry.js.map → p-d9d0a469.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-6b61a982.entry.js.map → p-dc72b0de.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-90c5fd7d.entry.js.map → p-dfb3d918.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-2c4ede3e.entry.js.map → p-e19b6d8c.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-1270ee3a.entry.js.map → p-e236ee82.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-3be730a8.entry.js.map → p-e5675129.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-b5edc83e.entry.js.map → p-e7e813f8.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-da79325e.entry.js.map → p-e8b7bf12.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-e33fc3e9.entry.js.map → p-e8e9ceff.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-288720eb.entry.js.map → p-e947cbc0.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-bff79590.entry.js.map → p-e95ee8a4.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-055e1e41.entry.js.map → p-ec817cb2.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-fbffd77a.entry.js.map → p-ecd3be50.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-6ca32b16.entry.js.map → p-ed8062c2.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-c10ea736.entry.js.map → p-edffd239.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-26018e74.entry.js.map → p-ef8e4a95.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-7a4c23e9.entry.js.map → p-f51d4bbe.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-dd35246f.entry.js.map → p-facf3e9e.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-6fa4ace3.entry.js.map → p-fb25534f.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-9c7b454d.entry.js.map → p-ff03f780.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{h as t,r as a,c as e,a as s,d as n}from"./p-CMm0FVAs.js";import{i,b as r,g as l,c as o,D as c,p as h,d,a as z,e as f,s as p,f as u,h as v,j as m,k as g,l as y}from"./p-Df1Iqnz9.js";const _=({focusedDay:a,today:e,day:s,onDaySelect:n,onKeyboardNavigation:l,focusedDayRef:o,disabled:c,inRange:h,isSelected:d,dateFormatter:z})=>{const f=i(s,e);const p=r(s,a);const u=i(s,a);const v=!h;function m(t){n(t,s)}return t("button",{class:{"stzh-calendar__day":true,"is-outside":v,"is-today":f,"is-month":p,"is-disabled":c},tabIndex:u?0:-1,onClick:m,onKeyDown:l,"aria-disabled":c?"true":undefined,disabled:v,type:"button","aria-pressed":d?"true":"false","aria-current":f?"date":undefined,"s-object-id":z.format(s),ref:t=>{if(u&&t&&o){o(t)}}},t("span",{"aria-hidden":"true"},s.getDate()),t("span",{class:"stzh-calendar__vhidden"},z.format(s)))};function b(t,a){const e=[];for(let s=0;s<t.length;s+=a){e.push(t.slice(s,s+a))}return e}function x(t,a,e){return t.map(((s,n)=>{const i=(n+a)%t.length;return e(t[i])}))}const w=({selectedDate:a,focusedDate:e,labelledById:s,localization:n,firstDayOfWeek:r,min:c,max:h,dateFormatter:d,isDateDisabled:z,onDateSelect:f,onKeyboardNavigation:p,focusedDayRef:u})=>{const v=new Date;const m=l(e,r);return t("table",{class:"stzh-calendar__table","aria-labelledby":s},t("thead",null,t("tr",null,x(n.$globals.dayNames,r,(a=>t("th",{class:"stzh-calendar__table-header",scope:"col"},t("span",{"aria-hidden":"true"},a.substring(0,2)),t("span",{class:"stzh-calendar__vhidden"},a)))))),t("tbody",null,b(m,7).map((s=>t("tr",{class:"stzh-calendar__row"},s.map((s=>t("td",{class:"stzh-calendar__cell"},t(_,{day:s,today:v,focusedDay:e,isSelected:i(s,a),disabled:z(s),inRange:o(s,c,h),onDaySelect:f,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))))};const k=()=>`.sc-stzh-calendar-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-calendar-h,[stzh-hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::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-calendar-h .has-focus.sc-stzh-calendar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar{outline-style:none !important}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar::-moz-focus-inner{border:0 !important}.sc-stzh-calendar-h{--padding-top:var(--stzh-space-small);--padding-bottom:var(--stzh-space-small);--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);width:var(--stzh-calendar-width)}.stzh-calendar.sc-stzh-calendar{--stzh-description-min-height:initial;display:flex;position:relative;text-align:left;touch-action:pan-y;-webkit-user-select:none;user-select:none;overflow:hidden;overflow:clip;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right)}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);-webkit-text-decoration-line:none;text-decoration-line:none;padding-top:0;padding-bottom:0;width:2.75rem;height:2.5rem}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;background:transparent;border:0;cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;width:2.5rem;height:2.5rem;text-align:center;vertical-align:middle;transition-property:color, background-color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar{transition:none}}.stzh-calendar__day.is-today.sc-stzh-calendar{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)}.stzh-calendar__day.sc-stzh-calendar:hover{background:var(--stzh-color-grey20)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:hover{forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{cursor:default;color:var(--stzh-color-primary70);background:var(--stzh-color-secondary30)}@media (forced-colors: active){.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{forced-color-adjust:none;color:SelectedItemText;background-color:SelectedItem}}.stzh-calendar__day.sc-stzh-calendar:active{color:var(--stzh-color-primary70);background:var(--stzh-color-secondary30)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:active{color:HighlightText;background-color:Highlight}}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{color:var(--stzh-color-grey60);background:transparent;cursor:default}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{color:GrayText}}.stzh-calendar__day.is-disabled.sc-stzh-calendar{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}@media (forced-colors: active){.stzh-calendar__day.is-disabled.sc-stzh-calendar{color:GrayText}}.stzh-calendar__day.is-outside.sc-stzh-calendar{color:var(--stzh-color-grey60);background:var(--stzh-color-grey20);cursor:default;pointer-events:none;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-calendar__header.sc-stzh-calendar{align-items:center;display:flex;justify-content:space-between;width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:flex;align-items:center}.stzh-calendar__nav.is-dropdowns.sc-stzh-calendar{gap:calc(var(--stzh-space-xsmall) + var(--stzh-space-small));margin-left:var(--stzh-space-small)}.stzh-calendar.sc-stzh-calendar stzh-dropdown.stzh-calendar__dropdown.sc-stzh-calendar{--popover-width:100%;--popover-height:calc(\n 100% - var(--stzh-form-input-small-height) - var(--padding-top)\n );--popover-max-height:initial;position:static}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0px}.stzh-calendar__select.sc-stzh-calendar{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);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{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);appearance:none;border:none;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-primary70);display:flex;gap:var(--stzh-space-xsmall);padding:0;padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);position:relative;width:100%;min-height:2.5rem;z-index:1}.stzh-calendar__select-icon.sc-stzh-calendar{--size:var(--stzh-icon-size-xsmall)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;function D(t,a){var e=[];for(var s=t;s<=a;s++){e.push(s)}return e}const S={PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};let F=0;const I=class{constructor(t){a(this,t);this.stzhChange=e(this,"stzhChange");this.value="";this.min="";this.max="";this.firstDayOfWeek=c.Monday;this.isDateDisabled=()=>false;this.activeFocus=false;this.focusedDay=new Date;this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=()=>{this.activeFocus=true};this.disableActiveFocus=()=>{this.activeFocus=false};this.handleTouchStart=t=>{const a=t.changedTouches[0];this.initialTouchX=a.pageX;this.initialTouchY=a.pageY};this.handleTouchEnd=t=>{const a=t.changedTouches[0];const e=a.pageX-this.initialTouchX;const s=a.pageY-this.initialTouchY;const n=70;const i=Math.abs(e)>=n&&Math.abs(s)<=n;if(i){this.addMonths(e<0?1:-1)}this.initialTouchY=null;this.initialTouchX=null};this.handleNextMonthClick=t=>{t.preventDefault();this.addMonths(1)};this.handlePreviousMonthClick=t=>{t.preventDefault();this.addMonths(-1)};this.handleKeyboardNavigation=t=>{var a=true;switch(t.keyCode){case S.RIGHT:this.addDays(1);break;case S.LEFT:this.addDays(-1);break;case S.DOWN:this.addDays(7);break;case S.UP:this.addDays(-7);break;case S.PAGE_UP:if(t.shiftKey){this.addYears(-1)}else{this.addMonths(-1)}break;case S.PAGE_DOWN:if(t.shiftKey){this.addYears(1)}else{this.addMonths(1)}break;case S.HOME:this.startOfWeek();break;case S.END:this.endOfWeek();break;default:a=false}if(a){t.preventDefault();this.enableActiveFocus()}};this.handleDaySelect=(t,a)=>{const e=o(a,h(this.min),h(this.max));const s=!this.isDateDisabled(a);if(e&&s){this.setDate(a);this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:a})}else{this.setFocusedDay(a)}};this.handleMonthSelect=t=>{const a=t.detail.value;const e=Array.isArray(a)?String(a[0]):String(a);this.setMonth(parseInt(e,10))};this.handleYearSelect=t=>{const a=t.detail.value;const e=Array.isArray(a)?String(a[0]):String(a);this.setYear(parseInt(e,10))};this.processFocusedDayNode=t=>{if(this.activeFocus){setTimeout((()=>t.focus()),0)}}}createDateFormatters(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}}valueWatcher(t){if(t){this.setFocusedDay(h(this.value))}else{this.setFocusedDay(new Date)}}async setFocusedDay(t){this.focusedDay=d(t,h(this.min),h(this.max))}async setDate(t){this.value=z(t)}addDays(t){this.setFocusedDay(f(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(t){const a=v(m(this.focusedDay),t);const e=g(a);const s=v(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}setYear(t){const a=y(m(this.focusedDay),t);const e=g(a);const s=y(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}async componentWillLoad(){this.dialogLabelId=`stzh-calendar-dialog-${F}`;F++;this.valueWatcher(this.value);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"calendar")}}connectedCallback(){this.createDateFormatters()}render(){const a=h(this.value);const e=(a||this.focusedDay).getFullYear();const n=this.focusedDay.getMonth();const i=this.focusedDay.getFullYear();const r=h(this.min);const l=h(this.max);const c=r!=null&&r.getMonth()===n&&r.getFullYear()===i;const d=l!=null&&l.getMonth()===n&&l.getFullYear()===i;const z=r?r.getFullYear():e-10;const f=l?l.getFullYear():e+10;const p=this.localization.$globals.monthNames.map(((t,a)=>({value:a.toString(),text:t,disabled:!o(new Date(i,a,1),r?m(r):null,l?g(l):null)})));const u=D(z,f).map((t=>({value:t.toString(),text:t.toString()})));return t(s,null,t("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("div",{class:"stzh-calendar__wrapper"},t("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},t("div",{class:"stzh-calendar__nav is-dropdowns"},t("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[n],this.focusedDay.getFullYear()),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[n.toString()],options:p,label:this.localization.monthSelectLabel,labelHidden:true,onStzhChange:this.handleMonthSelect}),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[i.toString()],options:u,label:this.localization.yearSelectLabel,labelHidden:true,onStzhChange:this.handleYearSelect})),t("div",{class:"stzh-calendar__nav"},t("stzh-button",{class:"stzh-calendar__prev",variant:"tertiary",size:"small",icon:"arrow-left",iconOnly:true,onClick:this.handlePreviousMonthClick,disabled:c,type:"button",a11yLabel:this.localization.prevMonthLabel,analyticsId:this.prevMonthAnalyticsId||this.localization.prevMonthLabel}),t("stzh-button",{class:"stzh-calendar__next",variant:"tertiary",size:"small",icon:"arrow-right",iconOnly:true,onClick:this.handleNextMonthClick,disabled:d,type:"button",a11yLabel:this.localization.nextMonthLabel,analyticsId:this.nextMonthAnalyticsId||this.localization.nextMonthLabel}))),t(w,{dateFormatter:this.dateFormatShort,selectedDate:a,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:r,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return n(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};I.style=k();export{I as stzh_calendar};
2
- //# sourceMappingURL=p-dd10da2d.entry.js.map
1
+ import{h as t,r as a,c as e,a as s,d as n}from"./p-Qb46gVIp.js";import{i,b as r,g as l,c as o,D as c,p as h,d,a as z,e as f,s as p,f as u,h as v,j as g,k as m,l as y}from"./p-Df1Iqnz9.js";const _=({focusedDay:a,today:e,day:s,onDaySelect:n,onKeyboardNavigation:l,focusedDayRef:o,disabled:c,inRange:h,isSelected:d,dateFormatter:z})=>{const f=i(s,e);const p=r(s,a);const u=i(s,a);const v=!h;function g(t){n(t,s)}return t("button",{class:{"stzh-calendar__day":true,"is-outside":v,"is-today":f,"is-month":p,"is-disabled":c},tabIndex:u?0:-1,onClick:g,onKeyDown:l,"aria-disabled":c?"true":undefined,disabled:v,type:"button","aria-pressed":d?"true":"false","aria-current":f?"date":undefined,"s-object-id":z.format(s),ref:t=>{if(u&&t&&o){o(t)}}},t("span",{"aria-hidden":"true"},s.getDate()),t("span",{class:"stzh-calendar__vhidden"},z.format(s)))};function b(t,a){const e=[];for(let s=0;s<t.length;s+=a){e.push(t.slice(s,s+a))}return e}function x(t,a,e){return t.map(((s,n)=>{const i=(n+a)%t.length;return e(t[i])}))}const w=({selectedDate:a,focusedDate:e,labelledById:s,localization:n,firstDayOfWeek:r,min:c,max:h,dateFormatter:d,isDateDisabled:z,onDateSelect:f,onKeyboardNavigation:p,focusedDayRef:u})=>{const v=new Date;const g=l(e,r);return t("table",{class:"stzh-calendar__table","aria-labelledby":s},t("thead",null,t("tr",null,x(n.$globals.dayNames,r,(a=>t("th",{class:"stzh-calendar__table-header",scope:"col"},t("span",{"aria-hidden":"true"},a.substring(0,2)),t("span",{class:"stzh-calendar__vhidden"},a)))))),t("tbody",null,b(g,7).map((s=>t("tr",{class:"stzh-calendar__row"},s.map((s=>t("td",{class:"stzh-calendar__cell"},t(_,{day:s,today:v,focusedDay:e,isSelected:i(s,a),disabled:z(s),inRange:o(s,c,h),onDaySelect:f,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))))};const k=()=>`.sc-stzh-calendar-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-calendar-h,[stzh-hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::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-calendar-h .has-focus.sc-stzh-calendar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar{outline-style:none !important}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar::-moz-focus-inner{border:0 !important}.sc-stzh-calendar-h{--padding-top:var(--stzh-space-small);--padding-bottom:var(--stzh-space-small);--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);width:var(--stzh-calendar-width)}.stzh-calendar.sc-stzh-calendar{--stzh-description-min-height:initial;display:flex;position:relative;text-align:left;touch-action:pan-y;-webkit-user-select:none;user-select:none;overflow:hidden;overflow:clip;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right)}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);-webkit-text-decoration-line:none;text-decoration-line:none;padding-top:0;padding-bottom:0;width:2.75rem;height:2.5rem}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;background:transparent;border:0;cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;width:2.5rem;height:2.5rem;text-align:center;vertical-align:middle;transition-property:color, background-color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar{transition:none}}.stzh-calendar__day.is-today.sc-stzh-calendar{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)}.stzh-calendar__day.sc-stzh-calendar:hover{background:var(--stzh-color-grey20)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:hover{forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{cursor:default;color:var(--stzh-color-primary70);background:var(--stzh-color-secondary30)}@media (forced-colors: active){.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{forced-color-adjust:none;color:SelectedItemText;background-color:SelectedItem}}.stzh-calendar__day.sc-stzh-calendar:active{color:var(--stzh-color-primary70);background:var(--stzh-color-secondary30)}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:active{color:HighlightText;background-color:Highlight}}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{color:var(--stzh-color-grey60);background:transparent;cursor:default}@media (forced-colors: active){.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{color:GrayText}}.stzh-calendar__day.is-disabled.sc-stzh-calendar{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}@media (forced-colors: active){.stzh-calendar__day.is-disabled.sc-stzh-calendar{color:GrayText}}.stzh-calendar__day.is-outside.sc-stzh-calendar{color:var(--stzh-color-grey60);background:var(--stzh-color-grey20);cursor:default;pointer-events:none;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-calendar__header.sc-stzh-calendar{align-items:center;display:flex;justify-content:space-between;width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:flex;align-items:center}.stzh-calendar__nav.is-dropdowns.sc-stzh-calendar{gap:calc(var(--stzh-space-xsmall) + var(--stzh-space-small));margin-left:var(--stzh-space-small)}.stzh-calendar.sc-stzh-calendar stzh-dropdown.stzh-calendar__dropdown.sc-stzh-calendar{--popover-width:100%;--popover-height:calc(\n 100% - var(--stzh-form-input-small-height) - var(--padding-top)\n );--popover-max-height:initial;position:static}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0px}.stzh-calendar__select.sc-stzh-calendar{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);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{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);appearance:none;border:none;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-primary70);display:flex;gap:var(--stzh-space-xsmall);padding:0;padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);position:relative;width:100%;min-height:2.5rem;z-index:1}.stzh-calendar__select-icon.sc-stzh-calendar{--size:var(--stzh-icon-size-xsmall)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;function D(t,a){var e=[];for(var s=t;s<=a;s++){e.push(s)}return e}const S={PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};let I=0;const F=class{constructor(t){a(this,t);this.stzhChange=e(this,"stzhChange");this.value="";this.min="";this.max="";this.firstDayOfWeek=c.Monday;this.isDateDisabled=()=>false;this.activeFocus=false;this.focusedDay=new Date;this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=()=>{this.activeFocus=true};this.disableActiveFocus=()=>{this.activeFocus=false};this.handleTouchStart=t=>{const a=t.changedTouches[0];this.initialTouchX=a.pageX;this.initialTouchY=a.pageY};this.handleTouchEnd=t=>{const a=t.changedTouches[0];const e=a.pageX-this.initialTouchX;const s=a.pageY-this.initialTouchY;const n=70;const i=Math.abs(e)>=n&&Math.abs(s)<=n;if(i){this.addMonths(e<0?1:-1)}this.initialTouchY=null;this.initialTouchX=null};this.handleNextMonthClick=t=>{t.preventDefault();this.addMonths(1)};this.handlePreviousMonthClick=t=>{t.preventDefault();this.addMonths(-1)};this.handleKeyboardNavigation=t=>{var a=true;switch(t.keyCode){case S.RIGHT:this.addDays(1);break;case S.LEFT:this.addDays(-1);break;case S.DOWN:this.addDays(7);break;case S.UP:this.addDays(-7);break;case S.PAGE_UP:if(t.shiftKey){this.addYears(-1)}else{this.addMonths(-1)}break;case S.PAGE_DOWN:if(t.shiftKey){this.addYears(1)}else{this.addMonths(1)}break;case S.HOME:this.startOfWeek();break;case S.END:this.endOfWeek();break;default:a=false}if(a){t.preventDefault();this.enableActiveFocus()}};this.handleDaySelect=(t,a)=>{const e=o(a,h(this.min),h(this.max));const s=!this.isDateDisabled(a);if(e&&s){this.setDate(a);this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:a})}else{this.setFocusedDay(a)}};this.handleMonthSelect=t=>{const a=t.detail.value;const e=Array.isArray(a)?String(a[0]):String(a);this.setMonth(parseInt(e,10))};this.handleYearSelect=t=>{const a=t.detail.value;const e=Array.isArray(a)?String(a[0]):String(a);this.setYear(parseInt(e,10))};this.processFocusedDayNode=t=>{if(this.activeFocus){setTimeout((()=>t.focus()),0)}}}createDateFormatters(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}}valueWatcher(t){if(t){this.setFocusedDay(h(this.value))}else{this.setFocusedDay(new Date)}}async setFocusedDay(t){this.focusedDay=d(t,h(this.min),h(this.max))}async setDate(t){this.value=z(t)}addDays(t){this.setFocusedDay(f(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(t){const a=v(g(this.focusedDay),t);const e=m(a);const s=v(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}setYear(t){const a=y(g(this.focusedDay),t);const e=m(a);const s=y(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}async componentWillLoad(){this.dialogLabelId=`stzh-calendar-dialog-${I}`;I++;this.valueWatcher(this.value);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"calendar")}}connectedCallback(){this.createDateFormatters()}render(){const a=h(this.value);const e=(a||this.focusedDay).getFullYear();const n=this.focusedDay.getMonth();const i=this.focusedDay.getFullYear();const r=h(this.min);const l=h(this.max);const c=r!=null&&r.getMonth()===n&&r.getFullYear()===i;const d=l!=null&&l.getMonth()===n&&l.getFullYear()===i;const z=r?r.getFullYear():e-10;const f=l?l.getFullYear():e+10;const p=this.localization.$globals.monthNames.map(((t,a)=>({value:a.toString(),text:t,disabled:!o(new Date(i,a,1),r?g(r):null,l?m(l):null)})));const u=D(z,f).map((t=>({value:t.toString(),text:t.toString()})));return t(s,null,t("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("div",{class:"stzh-calendar__wrapper"},t("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},t("div",{class:"stzh-calendar__nav is-dropdowns"},t("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[n],this.focusedDay.getFullYear()),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[n.toString()],options:p,label:this.localization.monthSelectLabel,labelHidden:true,onStzhChange:this.handleMonthSelect}),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[i.toString()],options:u,label:this.localization.yearSelectLabel,labelHidden:true,onStzhChange:this.handleYearSelect})),t("div",{class:"stzh-calendar__nav"},t("stzh-button",{class:"stzh-calendar__prev",variant:"tertiary",size:"small",icon:"arrow-left",iconOnly:true,onClick:this.handlePreviousMonthClick,disabled:c,type:"button",a11yLabel:this.localization.prevMonthLabel,analyticsId:this.prevMonthAnalyticsId||this.localization.prevMonthLabel}),t("stzh-button",{class:"stzh-calendar__next",variant:"tertiary",size:"small",icon:"arrow-right",iconOnly:true,onClick:this.handleNextMonthClick,disabled:d,type:"button",a11yLabel:this.localization.nextMonthLabel,analyticsId:this.nextMonthAnalyticsId||this.localization.nextMonthLabel}))),t(w,{dateFormatter:this.dateFormatShort,selectedDate:a,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:r,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return n(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};F.style=k();export{F as stzh_calendar};
2
+ //# sourceMappingURL=p-3084c3a5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,a as s,d as a}from"./p-CMm0FVAs.js";const i=()=>`: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}.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xbig)}}.stzh-pkzh-qr-results{--stzh-datalist-nested-margin-left:var(--stzh-space-xsmall)}`;const c=class{constructor(e){t(this,e);this.privacyPolicyUrl="";this.paymentRecipient="";this.paymentIban="";this.errors={};this.qrReferenceNumber="";this.paymentInformationInfotext="";this.onSubmit=()=>{const t=new FormData(this.formElement);this.errors={};const e=["privacyPolicy","firstname","lastname","socialSecurityNumber"];e.forEach((e=>{const s=e==="privacyPolicy"?t.has(e):t.get(e);if(!s){this.errors=Object.assign(Object.assign({},this.errors),{[e]:this.localization.$globals.requiredFieldText})}}));if(Object.keys(this.errors).length>0){return}const s=t.get("socialSecurityNumber");const a=t.get("entrydate");const i=t.get("lastname");const c=t.get("firstname");const r=this.getCalculatedQrReferenceNumber(s,a);if(r){this.paymentInformationInfotext=this.localization.paymentInformationInfotext.replace(/\{firstname\}/,c).replace(/\{lastname\}/,i).replace(/\{socialSecurityNumber\}/,s);this.qrReferenceNumber=r}else{this.qrReferenceNumber=""}};this.onReset=()=>{this.qrReferenceNumber="";this.errors={}}}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"pkzh-qr");this.localization.privacyPolicyText=this.localization.privacyPolicyText.replace(/\{privacyPolicyUrl\}/,this.privacyPolicyUrl)}}getCalculatedQrReferenceNumber(t,e){const s="00000000001";const a=/^\d{2}\.\d{2}\.\d{4}$/;const i=/^756\.\d{4}\.\d{4}\.\d{2}$/;if(!!e&&!a.test(e)){this.errors=Object.assign(Object.assign({},this.errors),{entrydate:this.localization.$globals.invalidFieldText})}if(!i.test(t)){this.errors=Object.assign(Object.assign({},this.errors),{socialSecurityNumber:this.localization.$globals.invalidFieldText})}if(Object.keys(this.errors).length>0){return null}const c=e?e.substring(8,10):"00";const r=e?e.substring(3,5):"01";const h=c+r;const o=t.replace(/\./g,"").substring(3,13);const d=s+h+o+"0";const n=d.split("").map(Number);const f=[0,9,4,6,8,2,7,1,3,5];let l=0;for(const t of n){l=f[(l+t)%10]}const b=(10-l)%10;return d+b}render(){const t={"stzh-pkzh-qr":true};return e(s,{key:"c18e348050b8613f09cd7f8b3de699ba2893d56a"},e("div",{key:"296008402c8000e85d50cf7391101f982ae953aa",class:t},e("form",{key:"c6da8978999344ce8f2446c5a3de8359de2edcce",ref:t=>this.formElement=t,onSubmit:this.onSubmit},e("stzh-cspace",{key:"5d5331307f7f7b40c46ea9dfc3a09161fdb198a4"},e("stzh-heading",{key:"f2b8ed7432072f7e8b95ffac1065c69660abbf5f"},this.localization.heading),e("stzh-fieldset",{key:"6ab67b0587fb1ba929cdefdf2fc0e54913d89833"},e("stzh-row",{key:"f4ea789b259b4be586846f57fa97af04d9e2fedf"},e("stzh-cell",{key:"997bfbd7fc7424660b222e0fd9d5b0c34b497047","span-small":"6"},e("stzh-input",{key:"decbc77ccb1ea17a55c4d9a48d2cdfde3480d5ed",name:"socialSecurityNumber",label:this.localization.inputSvLabel,error:this.errors["socialSecurityNumber"],required:true})),e("stzh-cell",{key:"1fb180192d24986b3009ebf34fd4a6c5dacef68c","span-small":"6"},e("stzh-input",{key:"e90a8fbf712a26e8d1c86e47144b1cba91e7f14d",name:"entrydate",label:this.localization.inputEntrydateLabel,error:this.errors["entrydate"],required:false}))),e("stzh-row",{key:"8d3e95ac96777d640cf77b1e35c586bb1d8811a9"},e("stzh-cell",{key:"d8bf9f359c3db1e02bf1bd73256eaf3d8b080e68","span-small":"6"},e("stzh-input",{key:"44eb35fa105c8037ab2a864db88fd00ed8951071",name:"lastname",label:this.localization.inputLastnameLabel,error:this.errors["lastname"],required:true})),e("stzh-cell",{key:"dd202e6326955682f673c05b25827f9c529d9d0f","span-small":"6"},e("stzh-input",{key:"7c967ab989fe726861928c28400856b94993dd13",name:"firstname",label:this.localization.inputFirstnameLabel,error:this.errors["firstname"],required:true})))),e("stzh-checkbox",{key:"26b98fc03e811d714f36b5314c36a5fc9d7e3049",name:"privacyPolicy",error:this.errors["privacyPolicy"],required:true},e("div",{key:"b7fea54d0e52cd82a1e655d0b78c4ac769d7a1f2",innerHTML:this.localization.privacyPolicyText})),e("stzh-actions",{key:"9e686a3eb9fde8a8e27648335dfdddb94d5e7b3a",variant:"form"},e("stzh-button",{key:"ef390b5759104aec2b36065104a7bc0e779f5d72",slot:"primary",type:"button",onClick:this.onSubmit},this.localization.buttonCalculateLabel),e("stzh-button",{key:"aadf6b9dd30a1f07787ef15aa0aad9b82ca5f75d",slot:"secondary",type:"reset",onClick:this.onReset},this.localization.buttonResetLabel)))),this.qrReferenceNumber&&e("stzh-message",{key:"ea6843aaf8ba89542e07804dfe34099aaeac3025",class:"stzh-pkzh-qr-results",label:this.localization.paymentInformationHeading,hideClose:true},e("stzh-space",{key:"f4465f89430816b917cf7c45d9351ac99d3445cf"},e("stzh-text",{key:"37470a91235840f4f40075911c8eaa029e93c28d"},this.paymentInformationInfotext),e("stzh-datalist",{key:"b552db0bf197efb13299a8834777fc1a1cec737f",variant:"table",bigLabel:true},e("stzh-datalist-item",{key:"c2fdcacf9c1cd00e435ca744a07969906baf9cdc",label:this.localization.paymentInformationPaymentFor,value:this.paymentRecipient}),e("stzh-datalist-item",{key:"3d16b88178e3f31aa868a583f70c6b351a39339a",label:this.localization.paymentInformationQrIban,value:this.paymentIban}),e("stzh-datalist-item",{key:"9bbc85e72c6ba28fb6e9dd5c590f9f4a7cb13b0f",label:this.localization.paymentInformationQrReferenceNumber,value:this.qrReferenceNumber}))))))}get element(){return a(this)}};c.style=i();export{c as stzh_pkzh_qr};
2
- //# sourceMappingURL=p-76b599be.entry.js.map
1
+ import{r as t,h as e,a as s,d as a}from"./p-Qb46gVIp.js";const i=()=>`: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}.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pkzh-qr-results{margin-top:var(--stzh-space-xbig)}}.stzh-pkzh-qr-results{--stzh-datalist-nested-margin-left:var(--stzh-space-xsmall)}`;const c=class{constructor(e){t(this,e);this.privacyPolicyUrl="";this.paymentRecipient="";this.paymentIban="";this.errors={};this.qrReferenceNumber="";this.paymentInformationInfotext="";this.onSubmit=()=>{const t=new FormData(this.formElement);this.errors={};const e=["privacyPolicy","firstname","lastname","socialSecurityNumber"];e.forEach((e=>{const s=e==="privacyPolicy"?t.has(e):t.get(e);if(!s){this.errors=Object.assign(Object.assign({},this.errors),{[e]:this.localization.$globals.requiredFieldText})}}));if(Object.keys(this.errors).length>0){return}const s=t.get("socialSecurityNumber");const a=t.get("entrydate");const i=t.get("lastname");const c=t.get("firstname");const r=this.getCalculatedQrReferenceNumber(s,a);if(r){this.paymentInformationInfotext=this.localization.paymentInformationInfotext.replace(/\{firstname\}/,c).replace(/\{lastname\}/,i).replace(/\{socialSecurityNumber\}/,s);this.qrReferenceNumber=r}else{this.qrReferenceNumber=""}};this.onReset=()=>{this.qrReferenceNumber="";this.errors={}}}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"pkzh-qr");this.localization.privacyPolicyText=this.localization.privacyPolicyText.replace(/\{privacyPolicyUrl\}/,this.privacyPolicyUrl)}}getCalculatedQrReferenceNumber(t,e){const s="00000000001";const a=/^\d{2}\.\d{2}\.\d{4}$/;const i=/^756\.\d{4}\.\d{4}\.\d{2}$/;if(!!e&&!a.test(e)){this.errors=Object.assign(Object.assign({},this.errors),{entrydate:this.localization.$globals.invalidFieldText})}if(!i.test(t)){this.errors=Object.assign(Object.assign({},this.errors),{socialSecurityNumber:this.localization.$globals.invalidFieldText})}if(Object.keys(this.errors).length>0){return null}const c=e?e.substring(8,10):"00";const r=e?e.substring(3,5):"01";const h=c+r;const o=t.replace(/\./g,"").substring(3,13);const d=s+h+o+"0";const n=d.split("").map(Number);const f=[0,9,4,6,8,2,7,1,3,5];let l=0;for(const t of n){l=f[(l+t)%10]}const b=(10-l)%10;return d+b}render(){const t={"stzh-pkzh-qr":true};return e(s,{key:"c18e348050b8613f09cd7f8b3de699ba2893d56a"},e("div",{key:"296008402c8000e85d50cf7391101f982ae953aa",class:t},e("form",{key:"c6da8978999344ce8f2446c5a3de8359de2edcce",ref:t=>this.formElement=t,onSubmit:this.onSubmit},e("stzh-cspace",{key:"5d5331307f7f7b40c46ea9dfc3a09161fdb198a4"},e("stzh-heading",{key:"f2b8ed7432072f7e8b95ffac1065c69660abbf5f"},this.localization.heading),e("stzh-fieldset",{key:"6ab67b0587fb1ba929cdefdf2fc0e54913d89833"},e("stzh-row",{key:"f4ea789b259b4be586846f57fa97af04d9e2fedf"},e("stzh-cell",{key:"997bfbd7fc7424660b222e0fd9d5b0c34b497047","span-small":"6"},e("stzh-input",{key:"decbc77ccb1ea17a55c4d9a48d2cdfde3480d5ed",name:"socialSecurityNumber",label:this.localization.inputSvLabel,error:this.errors["socialSecurityNumber"],required:true})),e("stzh-cell",{key:"1fb180192d24986b3009ebf34fd4a6c5dacef68c","span-small":"6"},e("stzh-input",{key:"e90a8fbf712a26e8d1c86e47144b1cba91e7f14d",name:"entrydate",label:this.localization.inputEntrydateLabel,error:this.errors["entrydate"],required:false}))),e("stzh-row",{key:"8d3e95ac96777d640cf77b1e35c586bb1d8811a9"},e("stzh-cell",{key:"d8bf9f359c3db1e02bf1bd73256eaf3d8b080e68","span-small":"6"},e("stzh-input",{key:"44eb35fa105c8037ab2a864db88fd00ed8951071",name:"lastname",label:this.localization.inputLastnameLabel,error:this.errors["lastname"],required:true})),e("stzh-cell",{key:"dd202e6326955682f673c05b25827f9c529d9d0f","span-small":"6"},e("stzh-input",{key:"7c967ab989fe726861928c28400856b94993dd13",name:"firstname",label:this.localization.inputFirstnameLabel,error:this.errors["firstname"],required:true})))),e("stzh-checkbox",{key:"26b98fc03e811d714f36b5314c36a5fc9d7e3049",name:"privacyPolicy",error:this.errors["privacyPolicy"],required:true},e("div",{key:"b7fea54d0e52cd82a1e655d0b78c4ac769d7a1f2",innerHTML:this.localization.privacyPolicyText})),e("stzh-actions",{key:"9e686a3eb9fde8a8e27648335dfdddb94d5e7b3a",variant:"form"},e("stzh-button",{key:"ef390b5759104aec2b36065104a7bc0e779f5d72",slot:"primary",type:"button",onClick:this.onSubmit},this.localization.buttonCalculateLabel),e("stzh-button",{key:"aadf6b9dd30a1f07787ef15aa0aad9b82ca5f75d",slot:"secondary",type:"reset",onClick:this.onReset},this.localization.buttonResetLabel)))),this.qrReferenceNumber&&e("stzh-message",{key:"ea6843aaf8ba89542e07804dfe34099aaeac3025",class:"stzh-pkzh-qr-results",label:this.localization.paymentInformationHeading,hideClose:true},e("stzh-space",{key:"f4465f89430816b917cf7c45d9351ac99d3445cf"},e("stzh-text",{key:"37470a91235840f4f40075911c8eaa029e93c28d"},this.paymentInformationInfotext),e("stzh-datalist",{key:"b552db0bf197efb13299a8834777fc1a1cec737f",variant:"table",bigLabel:true},e("stzh-datalist-item",{key:"c2fdcacf9c1cd00e435ca744a07969906baf9cdc",label:this.localization.paymentInformationPaymentFor,value:this.paymentRecipient}),e("stzh-datalist-item",{key:"3d16b88178e3f31aa868a583f70c6b351a39339a",label:this.localization.paymentInformationQrIban,value:this.paymentIban}),e("stzh-datalist-item",{key:"9bbc85e72c6ba28fb6e9dd5c590f9f4a7cb13b0f",label:this.localization.paymentInformationQrReferenceNumber,value:this.qrReferenceNumber}))))))}get element(){return a(this)}};c.style=i();export{c as stzh_pkzh_qr};
2
+ //# sourceMappingURL=p-326b55a2.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,a,d as r}from"./p-CMm0FVAs.js";const o=()=>`: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{--background-color:var(--stzh-ratio-background-color);--ratio:16 /\n 9;--max-height:inherit;--overflow:inherit}:host ::slotted(*){position:absolute;width:100%;height:100%;inset:0;object-fit:cover}:host ::slotted(.stzh-card-searchresult__image-placeholder){display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--placeholder-image-color)}:host([fit=contain]) ::slotted(*){object-fit:contain}:host([portrait]:not([portrait=false])){--ratio:9 /\n 16}:host([ratio="16:9"]){--ratio:16 / 9}:host([ratio="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}:host([ratio="1:1"]){--ratio:1 / 1}:host([ratio="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}:host([ratio="21:9"]){--ratio:21 / 9}:host([ratio="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}:host([ratio="2:1"]){--ratio:2 / 1}:host([ratio="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}:host([ratio="3:2"]){--ratio:3 / 2}:host([ratio="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}:host([ratio="4:3"]){--ratio:4 / 3}:host([ratio="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}:host([ratio="5:4"]){--ratio:5 / 4}:host([ratio="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}@media screen and (min-width: 600px){:host([ratio-small="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 600px){:host([ratio-small="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 600px){:host([ratio-small="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 600px){:host([ratio-small="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 600px){:host([ratio-small="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 600px){:host([ratio-small="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 600px){:host([ratio-small="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 600px){:host([ratio-small="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 600px){:host([ratio-small="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 600px){:host([ratio-small="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 600px){:host([ratio-small="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 600px){:host([ratio-small="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 600px){:host([ratio-small="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 600px){:host([ratio-small="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 900px){:host([ratio-medium="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 900px){:host([ratio-medium="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 900px){:host([ratio-medium="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 900px){:host([ratio-medium="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 900px){:host([ratio-medium="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 900px){:host([ratio-medium="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 900px){:host([ratio-medium="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 900px){:host([ratio-medium="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 900px){:host([ratio-medium="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 900px){:host([ratio-medium="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 900px){:host([ratio-medium="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 1260px){:host([ratio-large="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 1260px){:host([ratio-large="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 1260px){:host([ratio-large="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 1260px){:host([ratio-large="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 1260px){:host([ratio-large="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 1260px){:host([ratio-large="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 1260px){:host([ratio-large="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 1260px){:host([ratio-large="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 1260px){:host([ratio-large="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 1260px){:host([ratio-large="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 1260px){:host([ratio-large="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 1600px){:host([ratio-ultra="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 1600px){:host([ratio-ultra="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 1600px){:host([ratio-ultra="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 1600px){:host([ratio-ultra="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 1600px){:host([ratio-ultra="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 1600px){:host([ratio-ultra="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 1600px){:host([ratio-ultra="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 1600px){:host([ratio-ultra="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 1600px){:host([ratio-ultra="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 1600px){:host([ratio-ultra="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 1600px){:host([ratio-ultra="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}.stzh-ratio{position:relative;width:100%;aspect-ratio:var(--stzh-ratio, var(--ratio));background:var(--background-color);max-height:var(--max-height);overflow:var(--overflow)}`;const e=class{constructor(i){t(this,i);this.ratio="16:9";this.ratioSmall="inherit";this.ratioMedium="inherit";this.ratioLarge="inherit";this.ratioUltra="inherit";this.portrait=false;this.fit="cover"}render(){const t={"stzh-ratio":true};return i(a,{key:"f0370e4bb53568bb83ec04c90655f236b632fd12"},i("div",{key:"5a5f4b85b92674cda20685c62aa33578977f19ac",class:t},i("slot",{key:"423ad2c60178a174a2f154672c92c9ed652c9b37",name:"image"}),i("slot",{key:"7ee39b1115548d630f6c20a06557ebf8587325a2"})))}get element(){return r(this)}};e.style=o();export{e as stzh_ratio};
2
- //# sourceMappingURL=p-4f3cdc12.entry.js.map
1
+ import{r as t,h as i,a,d as r}from"./p-Qb46gVIp.js";const o=()=>`: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{--background-color:var(--stzh-ratio-background-color);--ratio:16 /\n 9;--max-height:inherit;--overflow:inherit}:host ::slotted(*){position:absolute;width:100%;height:100%;inset:0;object-fit:cover}:host ::slotted(.stzh-card-searchresult__image-placeholder){display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--placeholder-image-color)}:host([fit=contain]) ::slotted(*){object-fit:contain}:host([portrait]:not([portrait=false])){--ratio:9 /\n 16}:host([ratio="16:9"]){--ratio:16 / 9}:host([ratio="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}:host([ratio="1:1"]){--ratio:1 / 1}:host([ratio="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}:host([ratio="21:9"]){--ratio:21 / 9}:host([ratio="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}:host([ratio="2:1"]){--ratio:2 / 1}:host([ratio="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}:host([ratio="3:2"]){--ratio:3 / 2}:host([ratio="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}:host([ratio="4:3"]){--ratio:4 / 3}:host([ratio="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}:host([ratio="5:4"]){--ratio:5 / 4}:host([ratio="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}@media screen and (min-width: 600px){:host([ratio-small="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 600px){:host([ratio-small="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 600px){:host([ratio-small="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 600px){:host([ratio-small="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 600px){:host([ratio-small="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 600px){:host([ratio-small="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 600px){:host([ratio-small="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 600px){:host([ratio-small="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 600px){:host([ratio-small="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 600px){:host([ratio-small="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 600px){:host([ratio-small="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 600px){:host([ratio-small="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 600px){:host([ratio-small="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 600px){:host([ratio-small="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 900px){:host([ratio-medium="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 900px){:host([ratio-medium="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 900px){:host([ratio-medium="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 900px){:host([ratio-medium="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 900px){:host([ratio-medium="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 900px){:host([ratio-medium="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 900px){:host([ratio-medium="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 900px){:host([ratio-medium="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 900px){:host([ratio-medium="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 900px){:host([ratio-medium="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 900px){:host([ratio-medium="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 900px){:host([ratio-medium="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 1260px){:host([ratio-large="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 1260px){:host([ratio-large="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 1260px){:host([ratio-large="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 1260px){:host([ratio-large="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 1260px){:host([ratio-large="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 1260px){:host([ratio-large="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 1260px){:host([ratio-large="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 1260px){:host([ratio-large="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 1260px){:host([ratio-large="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 1260px){:host([ratio-large="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 1260px){:host([ratio-large="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 1260px){:host([ratio-large="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}@media screen and (min-width: 1600px){:host([ratio-ultra="16:9"]){--ratio:16 / 9}}@media screen and (min-width: 1600px){:host([ratio-ultra="16:9"][portrait]:not([portrait=false])){--ratio:9 / 16}}@media screen and (min-width: 1600px){:host([ratio-ultra="1:1"]){--ratio:1 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="1:1"][portrait]:not([portrait=false])){--ratio:1 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="21:9"]){--ratio:21 / 9}}@media screen and (min-width: 1600px){:host([ratio-ultra="21:9"][portrait]:not([portrait=false])){--ratio:9 / 21}}@media screen and (min-width: 1600px){:host([ratio-ultra="2:1"]){--ratio:2 / 1}}@media screen and (min-width: 1600px){:host([ratio-ultra="2:1"][portrait]:not([portrait=false])){--ratio:1 / 2}}@media screen and (min-width: 1600px){:host([ratio-ultra="3:2"]){--ratio:3 / 2}}@media screen and (min-width: 1600px){:host([ratio-ultra="3:2"][portrait]:not([portrait=false])){--ratio:2 / 3}}@media screen and (min-width: 1600px){:host([ratio-ultra="4:3"]){--ratio:4 / 3}}@media screen and (min-width: 1600px){:host([ratio-ultra="4:3"][portrait]:not([portrait=false])){--ratio:3 / 4}}@media screen and (min-width: 1600px){:host([ratio-ultra="5:4"]){--ratio:5 / 4}}@media screen and (min-width: 1600px){:host([ratio-ultra="5:4"][portrait]:not([portrait=false])){--ratio:4 / 5}}.stzh-ratio{position:relative;width:100%;aspect-ratio:var(--stzh-ratio, var(--ratio));background:var(--background-color);max-height:var(--max-height);overflow:var(--overflow)}`;const e=class{constructor(i){t(this,i);this.ratio="16:9";this.ratioSmall="inherit";this.ratioMedium="inherit";this.ratioLarge="inherit";this.ratioUltra="inherit";this.portrait=false;this.fit="cover"}render(){const t={"stzh-ratio":true};return i(a,{key:"f0370e4bb53568bb83ec04c90655f236b632fd12"},i("div",{key:"5a5f4b85b92674cda20685c62aa33578977f19ac",class:t},i("slot",{key:"423ad2c60178a174a2f154672c92c9ed652c9b37",name:"image"}),i("slot",{key:"7ee39b1115548d630f6c20a06557ebf8587325a2"})))}get element(){return r(this)}};e.style=o();export{e as stzh_ratio};
2
+ //# sourceMappingURL=p-32a41205.entry.js.map
@@ -1,8 +1,8 @@
1
- import{r as t,c as e,h as i,a as s,d as a}from"./p-CMm0FVAs.js";import{f as r}from"./p-PUB8fb5E.js";import{h as n}from"./p--MYN2wgX.js";import"./p-E-ZsRS8r.js";import"./p-BubviQku.js";var o={exports:{}};
1
+ import{r as t,c as e,h as i,a as s,d as a}from"./p-Qb46gVIp.js";import{f as r}from"./p-PUB8fb5E.js";import{h as n}from"./p--MYN2wgX.js";import"./p-E-ZsRS8r.js";import"./p-BubviQku.js";var o={exports:{}};
2
2
  /* @license
3
3
  Papa Parse
4
4
  v5.5.3
5
5
  https://github.com/mholt/PapaParse
6
6
  License: MIT
7
- */var h=o.exports;var l;function d(){if(l)return o.exports;l=1;(function(t,e){((e,i)=>{t.exports=i()})(h,(function t(){var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{};var i,s=!e.document&&!!e.postMessage,a=e.IS_PAPA_WORKER||false,r={},n=0,o={};function h(t){this._handle=null,this._finished=false,this._completed=false,this._halted=false,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=true,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=_(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null);this._handle=new u(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,i){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let e=this._config.newline;e||(r=this._config.quoteChar||'"',e=this._handle.guessLineEndings(t,r)),t=[...t.split(e).slice(s)].join(e)}this.isFirstChunk&&y(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(t))&&(t=r),this.isFirstChunk=false,this._halted=false;var s=this._partialLine+t,r=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){t=r.meta.cursor,s=(this._finished||(this._partialLine=s.substring(t-this._baseIndex),this._baseIndex=t),r&&r.data&&(this._rowCount+=r.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(a)e.postMessage({results:r,workerId:o.WORKER_ID,finished:s});else if(y(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=true);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!s||!y(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=true),s||r&&r.meta.paused||this._nextChunk(),r}this._halted=true},this._sendError=function(t){y(this._config.error)?this._config.error(t):a&&this._config.error&&e.postMessage({workerId:o.WORKER_ID,error:t,finished:false})}}function l(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),h.call(this,t),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),s||(e.onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var t,i=this._config.downloadRequestHeaders;for(t in i)e.setRequestHeader(t,i[t])}var a;this._config.chunkSize&&(a=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+a));try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}s&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(t=>null!==(t=t.getResponseHeader("Content-Range"))?parseInt(t.substring(t.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){t=e.statusText||t;this._sendError(new Error(t))}}function d(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),h.call(this,t);var e,i,s="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,s?((e=new FileReader).onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input,a=(this._config.chunkSize&&(a=Math.min(this._start+this._config.chunkSize,this._input.size),t=i.call(t,this._start,a)),e.readAsText(t,this._config.encoding));s||this._chunkLoaded({target:{result:a}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function c(t){var e;h.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){var t,i;if(!this._finished)return t=this._config.chunkSize,e=t?(i=e.substring(0,t),e.substring(t)):(i=e,""),this._finished=!e,this.parseChunk(i)}}function f(t){h.call(this,t=t||{});var e=[],i=true,s=false;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){s&&1===e.length&&(this._finished=true)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=true},this._streamData=g((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=false,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=g((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=g((function(){this._streamCleanUp(),s=true,this._streamData("")}),this),this._streamCleanUp=g((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function u(t){var e,i,s,a,r=Math.pow(2,53),n=-r,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,c=0,f=0,u=false,z=false,v=[],m={data:[],errors:[],meta:{}};function g(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function w(){if(m&&s&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),s=false),t.skipEmptyLines&&(m.data=m.data.filter((function(t){return!g(t)}))),k()){if(m)if(Array.isArray(m.data[0])){for(var e=0;k()&&e<m.data.length;e++)m.data[e].forEach(d);m.data.splice(0,1)}else m.data.forEach(d);function d(e,i){y(t.transformHeader)&&(e=t.transformHeader(e,i)),v.push(e)}}function i(e,i){for(var s=t.header?{}:[],a=0;a<e.length;a++){var o=a,d=e[a],d=((e,i)=>(e=>(t.dynamicTypingFunction&&void 0===t.dynamicTyping[e]&&(t.dynamicTyping[e]=t.dynamicTypingFunction(e)),true===(t.dynamicTyping[e]||t.dynamicTyping)))(e)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((t=>{if(h.test(t)){t=parseFloat(t);if(n<t&&t<r)return 1}})(i)?parseFloat(i):l.test(i)?new Date(i):""===i?null:i):i)(o=t.header?a>=v.length?"__parsed_extra":v[a]:o,d=t.transform?t.transform(d,o):d);"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(d)):s[o]=d}return t.header&&(a>v.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+a,f+i):a<v.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+a,f+i)),s}var a;m&&(t.header||t.dynamicTyping||t.transform)&&(a=1,!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(i),a=m.data.length):m.data=i(m.data,0),t.header&&m.meta&&(m.meta.fields=v),f+=a)}function k(){return t.header&&0===v.length}function x(t,e,i,s){t={type:t,code:e,message:i};void 0!==s&&(t.row=s),m.errors.push(t)}y(t.step)&&(a=t.step,t.step=function(e){m=e,k()?w():(w(),0!==m.data.length&&(c+=e.data.length,t.preview&&c>t.preview?i.abort():(m.data=m.data[0],a(m,d))))}),this.parse=function(a,r,n){var h=t.quoteChar||'"',h=(t.newline||(t.newline=this.guessLineEndings(a,h)),s=false,t.delimiter?y(t.delimiter)&&(t.delimiter=t.delimiter(a),m.meta.delimiter=t.delimiter):((h=((e,i,s,a,r)=>{var n,h,l,d;r=r||[",","\t","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var c=0;c<r.length;c++){for(var f,u=r[c],b=0,z=0,v=0,m=(l=void 0,new p({comments:a,delimiter:u,newline:i,preview:10}).parse(e)),_=0;_<m.data.length;_++)s&&g(m.data[_])?v++:(f=m.data[_].length,z+=f,void 0===l?l=f:0<f&&(b+=Math.abs(f-l),l=f));0<m.data.length&&(z/=m.data.length-v),(void 0===h||b<=h)&&(void 0===d||d<z)&&1.99<z&&(h=b,n=u,d=z)}return{successful:!!(t.delimiter=n),bestDelimiter:n}})(a,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=h.bestDelimiter:(s=true,t.delimiter=o.DefaultDelimiter),m.meta.delimiter=t.delimiter),_(t));return t.preview&&t.header&&h.preview++,e=a,i=new p(h),m=i.parse(e,r,n),w(),u?{meta:{paused:true}}:m||{meta:{paused:false}}},this.paused=function(){return u},this.pause=function(){u=true,i.abort(),e=y(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(u=false,d.streamer.parseChunk(e,true)):setTimeout(d.resume,3)},this.aborted=function(){return z},this.abort=function(){z=true,i.abort(),m.meta.aborted=true,y(t.complete)&&t.complete(m),e=""},this.guessLineEndings=function(t,e){t=t.substring(0,1048576);var e=new RegExp(b(e)+"([^]*?)"+b(e),"gm"),i=(t=t.replace(e,"")).split("\r"),e=t.split("\n"),t=1<e.length&&e[0].length<i[0].length;if(1===i.length||t)return"\n";for(var s=0,a=0;a<i.length;a++)"\n"===i[a][0]&&s++;return s>=i.length/2?"\r\n":"\r"}}function b(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(t){var e=(t=t||{}).delimiter,i=t.newline,s=t.comments,a=t.step,r=t.preview,n=t.fastMode,h=null,l=false,d=null==t.quoteChar?'"':t.quoteChar,c=d;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof e||-1<o.BAD_DELIMITERS.indexOf(e))&&(e=","),s===e)throw new Error("Comment character same as delimiter");true===s?s="#":("string"!=typeof s||-1<o.BAD_DELIMITERS.indexOf(s))&&(s=false),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var f=0,u=false;this.parse=function(o,p,z){if("string"!=typeof o)throw new Error("Input must be a string");var v=o.length,m=e.length,_=i.length,g=s.length,w=y(a),k=[],x=[],j=[],O=f=0;if(!o)return W();if(n||false!==n&&-1===o.indexOf(d)){for(var C=o.split(i),S=0;S<C.length;S++){if(j=C[S],f+=j.length,S!==C.length-1)f+=i.length;else if(z)return W();if(!s||j.substring(0,g)!==s){if(w){if(k=[],N(j.split(e)),$(),u)return W()}else N(j.split(e));if(r&&r<=S)return k=k.slice(0,r),W(true)}}return W()}for(var A=o.indexOf(e,f),E=o.indexOf(i,f),T=new RegExp(b(c)+b(d),"g"),M=o.indexOf(d,f);;)if(o[f]===d)for(M=f,f++;;){if(-1===(M=o.indexOf(d,M+1)))return z||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:f}),D();if(M===v-1)return D(o.substring(f,M).replace(T,d));if(d===c&&o[M+1]===c)M++;else if(d===c||0===M||o[M-1]!==c){-1!==A&&A<M+1&&(A=o.indexOf(e,M+1));var I=R(-1===(E=-1!==E&&E<M+1?o.indexOf(i,M+1):E)?A:Math.min(A,E));if(o.substr(M+1+I,m)===e){j.push(o.substring(f,M).replace(T,d)),o[f=M+1+I+m]!==d&&(M=o.indexOf(d,f)),A=o.indexOf(e,f),E=o.indexOf(i,f);break}I=R(E);if(o.substring(M+1+I,M+1+I+_)===i){if(j.push(o.substring(f,M).replace(T,d)),F(M+1+I+_),A=o.indexOf(e,f),M=o.indexOf(d,f),w&&($(),u))return W();if(r&&k.length>=r)return W(true);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:f}),M++}}else if(s&&0===j.length&&o.substring(f,f+g)===s){if(-1===E)return W();f=E+_,E=o.indexOf(i,f),A=o.indexOf(e,f)}else if(-1!==A&&(A<E||-1===E))j.push(o.substring(f,A)),f=A+m,A=o.indexOf(e,f);else{if(-1===E)break;if(j.push(o.substring(f,E)),F(E+_),w&&($(),u))return W();if(r&&k.length>=r)return W(true)}return D();function N(t){k.push(t),O=f}function R(t){var e=0;return e=-1!==t&&(t=o.substring(M+1,t))&&""===t.trim()?t.length:e}function D(t){return z||(void 0===t&&(t=o.substring(f)),j.push(t),f=v,N(j),w&&$()),W()}function F(t){f=t,N(j),j=[],E=o.indexOf(i,f)}function W(s){if(t.header&&!p&&k.length&&!l){var a=k[0],r=Object.create(null),n=new Set(a);let e=false;for(let i=0;i<a.length;i++){let s=a[i];if(r[s=y(t.transformHeader)?t.transformHeader(s,i):s]){let t,o=r[s];for(;t=s+"_"+o,o++,n.has(t););n.add(t),a[i]=t,r[s]++,e=true,(h=null===h?{}:h)[t]=s}else r[s]=1,a[i]=s;n.add(s)}e&&console.warn("Duplicate headers found and renamed."),l=true}return{data:k,errors:x,meta:{delimiter:e,linebreak:i,aborted:u,truncated:!!s,cursor:O+(p||0),renamedHeaders:h}}}function $(){a(W()),k=[],x=[]}},this.abort=function(){u=true},this.getCharIndex=function(){return f}}function z(t){var e=t.data,i=r[e.workerId],s=false;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var a={abort:function(){s=true,v(e.workerId,{data:[],errors:[],meta:{aborted:true}})},pause:m,resume:m};if(y(i.userStep)){for(var n=0;n<e.results.data.length&&(i.userStep({data:e.results.data[n],errors:e.results.errors,meta:e.results.meta},a),!s);n++);delete e.results}else y(i.userChunk)&&(i.userChunk(e.results,a,e.file),delete e.results)}e.finished&&!s&&v(e.workerId,e.results)}function v(t,e){var i=r[t];y(i.userComplete)&&i.userComplete(e),i.terminate(),delete r[t]}function m(){throw new Error("Not implemented.")}function _(t){if("object"!=typeof t||null===t)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=_(t[e]);return i}function g(t,e){return function(){t.apply(e,arguments)}}function y(t){return"function"==typeof t}return o.parse=function(i,s){var a=(s=s||{}).dynamicTyping||false;y(a)&&(s.dynamicTypingFunction=a,a={});if(s.dynamicTyping=a,s.transform=!!y(s.transform)&&s.transform,!s.worker||!o.WORKERS_SUPPORTED)return a=null,"string"==typeof i?(i=(t=>65279!==t.charCodeAt(0)?t:t.slice(1))(i),a=new(s.download?l:c)(s)):true===i.readable&&y(i.read)&&y(i.on)?a=new f(s):(e.File&&i instanceof File||i instanceof Object)&&(a=new d(s)),a.stream(i);(a=(()=>{var i;return!!o.WORKERS_SUPPORTED&&(i=(()=>{var i=e.URL||e.webkitURL||null,s=t.toString();return o.BLOB_URL||(o.BLOB_URL=i.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",s,")();"],{type:"text/javascript"})))})(),(i=new e.Worker(i)).onmessage=z,i.id=n++,r[i.id]=i)})()).userStep=s.step,a.userChunk=s.chunk,a.userComplete=s.complete,a.userError=s.error,s.step=y(s.step),s.chunk=y(s.chunk),s.complete=y(s.complete),s.error=y(s.error),delete s.worker,a.postMessage({input:i,config:s,workerId:a.id})},o.unparse=function(t,e){var i=false,s=true,a=",",r="\r\n",n='"',h=n+n,l=false,d=null,c=false,f=((()=>{if("object"==typeof e){if("string"!=typeof e.delimiter||o.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(a=e.delimiter),"boolean"!=typeof e.quotes&&"function"!=typeof e.quotes&&!Array.isArray(e.quotes)||(i=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(l=e.skipEmptyLines),"string"==typeof e.newline&&(r=e.newline),"string"==typeof e.quoteChar&&(n=e.quoteChar),"boolean"==typeof e.header&&(s=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");d=e.columns}void 0!==e.escapeChar&&(h=e.escapeChar+n),e.escapeFormulae instanceof RegExp?c=e.escapeFormulae:"boolean"==typeof e.escapeFormulae&&e.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(n),"g"));"string"==typeof t&&(t=JSON.parse(t));if(Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return u(null,t,l);if("object"==typeof t[0])return u(d||Object.keys(t[0]),t,l)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||d),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),u(t.fields||[],t.data||[],l);throw new Error("Unable to serialize unrecognized input");function u(t,e,i){var n="",o=("string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(t)&&0<t.length),h=!Array.isArray(e[0]);if(o&&s){for(var l=0;l<t.length;l++)0<l&&(n+=a),n+=p(t[l],l);0<e.length&&(n+=r)}for(var d=0;d<e.length;d++){var c=(o?t:e[d]).length,f=false,u=o?0===Object.keys(e[d]).length:0===e[d].length;if(i&&!o&&(f="greedy"===i?""===e[d].join("").trim():1===e[d].length&&0===e[d][0].length),"greedy"===i&&o){for(var b=[],z=0;z<c;z++){var v=h?t[z]:z;b.push(e[d][v])}f=""===b.join("").trim()}if(!f){for(var m=0;m<c;m++){0<m&&!u&&(n+=a);var _=o&&h?t[m]:m;n+=p(e[d][_],m)}d<e.length-1&&(!i||0<c&&!u)&&(n+=r)}}return n}function p(t,e){var s,r;return null==t?"":t.constructor===Date?JSON.stringify(t).slice(1,25):(r=false,c&&"string"==typeof t&&c.test(t)&&(t="'"+t,r=true),s=t.toString().replace(f,h),(r=r||true===i||"function"==typeof i&&i(t,e)||Array.isArray(i)&&i[e]||((t,e)=>{for(var i=0;i<e.length;i++)if(-1<t.indexOf(e[i]))return true;return false})(s,o.BAD_DELIMITERS)||-1<s.indexOf(a)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?n+s+n:s)}},o.RECORD_SEP=String.fromCharCode(30),o.UNIT_SEP=String.fromCharCode(31),o.BYTE_ORDER_MARK="\ufeff",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!s&&!!e.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=p,o.ParserHandle=u,o.NetworkStreamer=l,o.FileStreamer=d,o.StringStreamer=c,o.ReadableStreamStreamer=f,e.jQuery&&((i=e.jQuery).fn.parse=function(t){var s=t.config||{},a=[];return this.each((function(t){if(!("INPUT"===i(this).prop("tagName").toUpperCase()&&"file"===i(this).attr("type").toLowerCase()&&e.FileReader)||!this.files||0===this.files.length)return true;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:i.extend({},s)})})),r(),this;function r(){if(0===a.length)y(t.complete)&&t.complete();else{var e,s,r,h,l=a[0];if(y(t.before)){var d=t.before(l.file,l.inputElem);if("object"==typeof d){if("abort"===d.action)return e="AbortError",s=l.file,r=l.inputElem,h=d.reason,void(y(t.error)&&t.error({name:e},s,r,h));if("skip"===d.action)return void n();"object"==typeof d.config&&(l.instanceConfig=i.extend(l.instanceConfig,d.config))}else if("skip"===d)return void n()}var c=l.instanceConfig.complete;l.instanceConfig.complete=function(t){y(c)&&c(t,l.file,l.inputElem),n()},o.parse(l.file,l.instanceConfig)}}function n(){a.splice(0,1),r()}}),a&&(e.onmessage=function(t){t=t.data;void 0===o.WORKER_ID&&t&&(o.WORKER_ID=t.workerId);"string"==typeof t.input?e.postMessage({workerId:o.WORKER_ID,results:o.parse(t.input,t.config),finished:true}):(e.File&&t.input instanceof File||t.input instanceof Object)&&(t=o.parse(t.input,t.config))&&e.postMessage({workerId:o.WORKER_ID,results:t,finished:true})}),(l.prototype=Object.create(h.prototype)).constructor=l,(d.prototype=Object.create(h.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(h.prototype)).constructor=f,o}))})(o);return o.exports}var c=d();const f=()=>`: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}stzh-datatable{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}stzh-datatable[hidden],stzh-datatable[stzh-hidden]{display:none}stzh-datatable::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-datatable *,stzh-datatable *::before,stzh-datatable *::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)}stzh-datatable{}stzh-datatable .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-datatable .stzh-fylingfocus-focused{outline-style:none !important}stzh-datatable .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-datatable{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-datatable[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-datatable{-webkit-text-size-adjust:100%}.stzh-datatable__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-datatable__header .stzh-datatable__search{flex-grow:1;margin-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__header .stzh-datatable__search{width:var(--search-input-width);flex-grow:0}}.stzh-datatable__action-button{flex-shrink:0;margin-left:auto}.stzh-datatable__outer-wrapper{position:relative}.stzh-datatable__outer-wrapper::before,.stzh-datatable__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-datatable__outer-wrapper::before{left:0}.stzh-datatable__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-datatable__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-datatable__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-datatable__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-datatable__wrapper::-webkit-scrollbar-thumb:active,.stzh-datatable__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-datatable__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge)}}.stzh-datatable__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall)}.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:Highlight}}.stzh-datatable__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge)}}.stzh-datatable__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall) / -1)}.stzh-datatable__table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-datatable__table.has-layout-fixed{table-layout:fixed}.stzh-datatable__thead{position:sticky;top:0;z-index:1}.stzh-datatable__tbody .stzh-datatable__row:nth-child(even) .stzh-datatable__cell{background-color:var(--stzh-color-grey10)}.stzh-datatable__cell{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-datatable__cell a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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)}.stzh-datatable__cell a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-datatable__cell b,.stzh-datatable__cell strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell i,.stzh-datatable__cell em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-datatable__cell{}.stzh-datatable__cell.align-left{text-align:left}.stzh-datatable__cell.align-right{text-align:right}.stzh-datatable__cell.align-center{text-align:center}.stzh-datatable__cell{}.stzh-datatable__cell.valign-auto{vertical-align:auto}.stzh-datatable__cell.valign-middle{vertical-align:middle}.stzh-datatable__cell.valign-bottom{vertical-align:bottom}.stzh-datatable__cell.valign-top{vertical-align:top}.stzh-datatable__cell{}.stzh-datatable__cell.nowrap{white-space:nowrap}.stzh-datatable__cell{}.stzh-datatable__cell.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell{}.stzh-datatable__cell.is-sticky-left,.stzh-datatable__cell.is-sticky-right{position:sticky;z-index:1}.stzh-datatable__cell.has-sticked{z-index:2}.stzh-datatable__cell.is-sticky-left{left:0}.stzh-datatable__cell.is-sticky-right{right:0}.stzh-datatable__cell.is-sticky-left::after,.stzh-datatable__cell.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-datatable__cell.is-sticky-left::after{right:0}.stzh-datatable__cell.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-datatable__cell.has-sticked.is-sticky-left::after,.stzh-datatable__cell.has-sticked.is-sticky-right::after{opacity:1}.stzh-datatable__cell--head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-datatable__cell--head.is-sortable{padding:0}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>span,.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-datatable{}.stzh-datatable__cell.has-sorted .stzh-datatable__sort-icon{display:inline-flex}.stzh-datatable__cell.has-sorted-desc .stzh-datatable__sort-icon{transform:rotate(180deg)}.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xlarge)}}.stzh-datatable.has-action-or-search .stzh-datatable__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge)}.stzh-datatable{}.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__list-wrapper{display:none}}.stzh-datatable{}.stzh-datatable.has-scroll-left-shadow .stzh-datatable__outer-wrapper::before,.stzh-datatable.has-scroll-right-shadow .stzh-datatable__outer-wrapper::after{opacity:1}.stzh-datatable__caption{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;const u=class{constructor(i){t(this,i);this.stzhRowClick=e(this,"stzhRowClick");this.stzhCellClick=e(this,"stzhCellClick");this.stzhHeadingCellClick=e(this,"stzhHeadingCellClick");this.stzhSortClick=e(this,"stzhSortClick");this.stzhSortByChange=e(this,"stzhSortByChange");this.stzhSortDirectionChange=e(this,"stzhSortDirectionChange");this.tableLayout="auto";this.label="";this.caption="";this.sortBy="";this.sortDirection="asc";this.idField="id";this.rowHeaderField="";this.hideSearch=false;this.hideColumnHeadings=false;this.showList=false;this.page=1;this.pageSize=null;this.csvHeader=true;this.csvDynamicTyping=true;this.disableMinWidth=false;this.rows=[];this.columns=[];this.query="";this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[];this.handleSortByDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortBy=i};this.handleSortDirectionDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortDirection=i};this.handleRowClick=(t,e)=>{this.stzhRowClick.emit({component:"stzh-datatable",row:e,originalEvent:t})};this.handleCellClick=(t,e,i,s,a)=>{this.stzhCellClick.emit({component:"stzh-datatable",row:e,column:i,cellIndex:s,rowIndex:a,originalEvent:t})};this.handleSortClick=(t,e)=>{this.stzhSortClick.emit({component:"stzh-datatable",column:e,originalEvent:t});this.toggleSort(e.key)};this.updateScrollStates=()=>{if(!this.tableWrapper){return}const t=this.tableWrapper.scrollLeft;const e=this.tableWrapper.scrollWidth;const i=this.tableWrapper.clientWidth;this.isScrollable=e>i;this.hasScrollLeft=t>0;this.hasScrollRight=t<e-i;const s=Array.from(this.tableWrapper.querySelectorAll("tr"));const a=s[0];if(!a){return}this.cellsStickyLeft=[];this.cellsStickyRight=[];const r=Array.from(a.children);r.forEach(((e,s)=>{const a=e.offsetLeft;const r=a+e.offsetWidth;if(this.hasScrollLeft&&this._columns[s].fixed==="left"&&Math.ceil(t)>=a){this.cellsStickyLeft.push(s)}if(this.hasScrollRight&&this._columns[s].fixed==="right"&&Math.ceil(t)+i<=r){this.cellsStickyRight.push(s)}}))};this.handleResize=()=>{if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.updateScrollStates)};this.handleScroll=()=>{if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.updateScrollStates)};this.onInputChange=()=>{this.query=this.input.value};this.onPaginationChange=t=>{if(t.detail.component==="stzh-pagination"){this.page=t.detail.page}}}async toggleSort(t){this.page=1;if(t===this.sortBy){this.sortDirection=this.sortDirection==="asc"?"desc":"asc"}else{this.sortDirection="asc";this.sortBy=t}}async csvUrlsWatcher(t){if(!t){return}const e=await fetch(t);const i=await e.text();const{columns:s,rows:a}=await this.parseCsvToJson(i);if(this.csvHeader){this.columns=s.map((t=>{var e;return Object.assign(Object.assign({},t),((e=this._columns)===null||e===void 0?void 0:e.find((({key:e})=>e===t.key)))||{})}))}else{this.columns=this.columns||s}this.rows=a}rowsWatcher(t){let e;if(typeof t==="string"){e=JSON.parse(t)}else{e=t}this._rows=e.map((t=>{const e={};function i(t){const e={value:""};if(typeof t==="object"){return Object.assign(Object.assign({},e),t)}else{return Object.assign(Object.assign({},e),{value:t})}}this._columns.forEach(((s,a)=>{if(Array.isArray(t)){e[s.key]=i(t[a])}else{e[s.key]=i(t[s.key])}if(s.sort&&typeof s.sort==="object"&&s.sort.type==="date"){const t=e[s.key];if(t&&typeof t.value==="string"){t.value=this.parseStringToDate(t.value)}}}));return e}));this.buildSearchIndex()}parseStringToDate(t){var e,i;let s;try{s=(e=this._isoAdapter)===null||e===void 0?void 0:e.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}try{s=(i=this._displayAdapter)===null||i===void 0?void 0:i.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}}columnsWatcher(t){if(typeof t==="string"){this._columns=JSON.parse(t)}else{this._columns=t}this.rowsWatcher(this.rows)}sortByWatcher(t,e){this.stzhSortByChange.emit({component:"stzh-datatable",value:t,oldValue:e})}sortDirectionWatcher(t,e){this.stzhSortDirectionChange.emit({component:"stzh-datatable",value:t,oldValue:e})}async parseCsvToJson(t){return new Promise(((e,i)=>{c.parse(t,{header:this.csvHeader,dynamicTyping:this.csvDynamicTyping,complete:t=>{const i=t.data.map((t=>{const e={};Object.keys(t).forEach((i=>{e[i.toLowerCase()]=t[i]}));return e}));e({columns:Object.keys(t.data[0]).map((t=>({key:t.toLowerCase(),text:t}))),rows:i})},error:t=>{i(t)}})}))}handleHeadingCellClick(t,e,i){this.stzhHeadingCellClick.emit({component:"stzh-datatable",column:e,index:i,originalEvent:t})}buildSearchIndex(){if(!this._rows||this._rows.length===0||!this._columns||this._columns.length===0){return}this.searchIndex=new r.Document({tokenize:"forward",matcher:{"[äà]":"a","[öó]":"o","[üûúù]":"u","[éè]":"e"},document:{id:this.idField,index:this._columns.map((t=>t.key))}});this._rows.forEach((t=>{const e={};for(const i in t){e[i]=this.getCellDisplayValue(t[i])}this.searchIndex.add(e)}))}parseDateValue(t){if(t instanceof Date){return t.getTime()}return 0}getCellDisplayValue(t){if(!t||t.value==null){return""}const e=t.value;if(e instanceof Date){return this._displayAdapter.format(e,"dateInput")}return e.toString()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datatable")}this._displayAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals);this._isoAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals);this.columnsWatcher(this.columns);await this.csvUrlsWatcher(this.csvUrl)}componentDidLoad(){this.updateScrollStates()}componentWillRender(){this._rowsShown=[];this._rowsFiltered=[];if(this.query&&this.searchIndex){let t=[];this.searchIndex.search(this.query).forEach((e=>{t=[...t,...e.result]}));t=t.filter((function(e,i){return t.indexOf(e)===i}));this._rows.forEach((e=>{if(t.includes(e[this.idField].value)||t.includes(e[this.idField].value.toString())){this._rowsFiltered.push(e)}}))}else{this._rowsFiltered=[...this._rows]}if(this.sortBy){const t=this._columns.find((t=>t.key===this.sortBy));let e=this.sortBy;let i=null;if(typeof t.sort==="object"){if(t.sort.field){e=t.sort.field}if(t.sort.type){i=t.sort.type}}this._rowsFiltered.sort(((t,s)=>{if(i==="numerical"){if(this.sortDirection==="asc"){return Number(t[e].value)-Number(s[e].value)}else{return Number(s[e].value)-Number(t[e].value)}}else if(i==="date"){const i=this.parseDateValue(t[e].value);const a=this.parseDateValue(s[e].value);return this.sortDirection==="asc"?i-a:a-i}else{const i=t[e].value.toString().localeCompare(s[e].value.toString());return this.sortDirection==="asc"?i:i/-1}}))}if(this.pageSize!==null){const t=this.page*this.pageSize;this._rowsShown=this._rowsFiltered.slice(t-this.pageSize,t)}else{this._rowsShown=[...this._rowsFiltered]}}connectedCallback(){this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)}disconnectedCallback(){if(this.resizeObserver){this.resizeObserver.disconnect()}}render(){var t,e;const a=n(this.element,"heading");const r=n(this.element,"action-button");const o={"stzh-datatable":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0,"has-list":this.showList,"has-heading":a,"has-action-or-search":r||!this.hideSearch,"has-header":a||r||!this.hideSearch};const h=Math.ceil(this._rowsFiltered.length/this.pageSize);const l=this._columns.find((t=>t.isHeader));const d=[{text:this.localization.sortByDefaultOption,value:""},...this._columns.filter((t=>!!t.sort)).map((t=>{var e;return{value:t.key,text:(e=this.localization.sortByOption)===null||e===void 0?void 0:e.replace(/\{column\}/gi,t.text)}}))];const c=[{value:"asc",text:(t=this.localization.sortDirectionOption)===null||t===void 0?void 0:t.replace(/\{direction\}/gi,this.localization.asc)},{value:"desc",text:(e=this.localization.sortDirectionOption)===null||e===void 0?void 0:e.replace(/\{direction\}/gi,this.localization.desc)}];const f=(t,e,i)=>{var s,a,r,n,o;return{"stzh-datatable__cell stzh-datatable__cell--body":true,"is-sticky-left":t.fixed==="left","is-sticky-right":t.fixed==="right","is-head":!!((s=e[t.key])===null||s===void 0?void 0:s.isHeader)||!!t.isHeader,"is-sortable":!!t.sort,"has-sticked":this.cellsStickyLeft.indexOf(i)>-1||this.cellsStickyRight.indexOf(i)>-1,"has-sorted":t.key===this.sortBy,"has-sorted-asc":t.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":t.key===this.sortBy&&this.sortDirection==="desc",[`align-${((a=e[t.key])===null||a===void 0?void 0:a.align)||t.align}`]:!!((r=e[t.key])===null||r===void 0?void 0:r.align)||!!t.align,[`valign-${((n=e[t.key])===null||n===void 0?void 0:n.valign)||t.valign}`]:!!((o=e[t.key])===null||o===void 0?void 0:o.valign)||!!t.valign}};return i(s,null,i("div",{class:o},i("div",{class:"stzh-datatable__header"},i("div",{class:"stzh-datatable__heading"},i("slot",{name:"heading"})),i("div",{class:"stzh-datatable__sub-header"},!this.hideSearch&&i("stzh-input",{ref:t=>this.input=t,class:"stzh-datatable__search",size:"small",name:"stzh-datatable-search",onStzhChange:this.onInputChange,hideOptional:true,label:this.localization.searchLabel,type:"search"}),i("div",{class:"stzh-datatable__action-button"},i("slot",{name:"action-button"})))),i("div",{class:"stzh-datatable__outer-wrapper"},i("div",{ref:t=>this.tableWrapper=t,class:"stzh-datatable__wrapper",onScroll:this.handleScroll},i("table",{class:{"stzh-datatable__table":true,"has-layout-fixed":this.tableLayout==="fixed"}},!!this.caption&&i("caption",{class:"stzh-datatable__caption"},this.caption),!this.hideColumnHeadings&&i("thead",{class:"stzh-datatable__thead"},i("tr",{class:"stzh-datatable__row stzh-datatable__row--head"},(()=>{let t=0;return this._columns.map(((e,s)=>{if(t>0){t--;return null}const a=e.colspan||1;if(a>1){t=a-1}return i("th",Object.assign({onClick:t=>this.handleHeadingCellClick(t,e,s),style:e.style,class:{"stzh-datatable__cell stzh-datatable__cell--head":true,"is-sticky-left":e.fixed==="left","is-sticky-right":e.fixed==="right","is-sortable":!!e.sort,"has-sticked":this.cellsStickyLeft.indexOf(s)>-1||this.cellsStickyRight.indexOf(s)>-1,"has-sorted":e.key===this.sortBy,"has-sorted-asc":e.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":e.key===this.sortBy&&this.sortDirection==="desc",[`align-${e.align}`]:!!e.align,[`valign-${e.valign}`]:!!e.valign}},a>1?{colspan:a}:{},e.rowspan?{rowspan:e.rowspan}:{}),!e.hideColumnHeading&&(e.sort?i("button",{class:"stzh-datatable__sort-button",type:"button",onClick:t=>this.handleSortClick(t,e),"s-object-id":e.analyticsId||`${e.text} ${this.localization.columnSort}`},i("span",{innerHTML:e.text}),i("stzh-icon",{name:e.key===this.sortBy?"arrow-up":"sort",class:"stzh-datatable__sort-icon",a11yTitle:this.localization.columnSort})):i("span",{innerHTML:e.text})))}))})())),i("tbody",{class:"stzh-datatable__tbody"},(()=>{const t=[];return this._rowsShown.map(((e,s)=>i("tr",{class:"stzh-datatable__row stzh-datatable__row--body",onClick:t=>this.handleRowClick(t,e)},(()=>{let a=0;return this._columns.map(((r,n)=>{if(t[n]){t[n]--;return null}if(a>0){a--;return null}const o=e[r.key];const h=(o===null||o===void 0?void 0:o.colspan)||1;const l=(o===null||o===void 0?void 0:o.rowspan)||1;if(h>1){a=h-1}if(l>1){t[n]=l-1}return(o===null||o===void 0?void 0:o.isHeader)||r.isHeader?i("th",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)})):i("td",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)}))}))})())))})())))),this.showList&&i("div",{class:"stzh-datatable__list-wrapper"},d.length>1&&i("div",{class:"stzh-datatable__list-sort-wrapper"},i("stzh-dropdown",{inline:true,"no-search":true,class:"stzh-datatable__list-sort-by-dropdown",variant:"plain",size:"small",items:[this.sortBy],options:d,onStzhChange:this.handleSortByDropdownChange}),i("stzh-dropdown",{disabled:this.sortBy==="",inline:true,"no-search":true,class:"stzh-datatable__list-sort-direction-dropdown",variant:"plain",size:"small",items:[this.sortDirection],options:c,onStzhChange:this.handleSortDirectionDropdownChange})),i("stzh-accordion",{variant:"table"},this._rowsShown.map(((t,e)=>{var s,a,r,n;return i("stzh-accordion-item",{heading:((a=(s=t[this.rowHeaderField])===null||s===void 0?void 0:s.value)===null||a===void 0?void 0:a.toString())||((n=(r=t[l===null||l===void 0?void 0:l.key])===null||r===void 0?void 0:r.value)===null||n===void 0?void 0:n.toString())||this.localization.defaultListRowHeading.replace(/\{n\}/gi,(e+1).toString())},i("stzh-datalist",{variant:"table",columnsMedium:2},this._columns.map((e=>i("stzh-datalist-item",{label:e.text,value:this.getCellDisplayValue(t[e.key])})))))})))),this.pageSize!==null&&h>1&&i("div",{class:"stzh-datatable__pagination-wrapper"},i("stzh-pagination",{value:this.page,total:h,onStzhChange:this.onPaginationChange}))))}get element(){return a(this)}static get watchers(){return{csvUrls:["csvUrlsWatcher"],rows:["rowsWatcher"],columns:["columnsWatcher"],sortBy:["sortByWatcher"],sortDirection:["sortDirectionWatcher"]}}};u.style=f();export{u as stzh_datatable};
8
- //# sourceMappingURL=p-e0aa37e0.entry.js.map
7
+ */var h=o.exports;var l;function d(){if(l)return o.exports;l=1;(function(t,e){((e,i)=>{t.exports=i()})(h,(function t(){var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{};var i,s=!e.document&&!!e.postMessage,a=e.IS_PAPA_WORKER||false,r={},n=0,o={};function h(t){this._handle=null,this._finished=false,this._completed=false,this._halted=false,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=true,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=_(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null);this._handle=new u(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,i){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let e=this._config.newline;e||(r=this._config.quoteChar||'"',e=this._handle.guessLineEndings(t,r)),t=[...t.split(e).slice(s)].join(e)}this.isFirstChunk&&y(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(t))&&(t=r),this.isFirstChunk=false,this._halted=false;var s=this._partialLine+t,r=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){t=r.meta.cursor,s=(this._finished||(this._partialLine=s.substring(t-this._baseIndex),this._baseIndex=t),r&&r.data&&(this._rowCount+=r.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(a)e.postMessage({results:r,workerId:o.WORKER_ID,finished:s});else if(y(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=true);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!s||!y(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=true),s||r&&r.meta.paused||this._nextChunk(),r}this._halted=true},this._sendError=function(t){y(this._config.error)?this._config.error(t):a&&this._config.error&&e.postMessage({workerId:o.WORKER_ID,error:t,finished:false})}}function l(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),h.call(this,t),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),s||(e.onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var t,i=this._config.downloadRequestHeaders;for(t in i)e.setRequestHeader(t,i[t])}var a;this._config.chunkSize&&(a=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+a));try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}s&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=(t=>null!==(t=t.getResponseHeader("Content-Range"))?parseInt(t.substring(t.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){t=e.statusText||t;this._sendError(new Error(t))}}function d(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),h.call(this,t);var e,i,s="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,s?((e=new FileReader).onload=g(this._chunkLoaded,this),e.onerror=g(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input,a=(this._config.chunkSize&&(a=Math.min(this._start+this._config.chunkSize,this._input.size),t=i.call(t,this._start,a)),e.readAsText(t,this._config.encoding));s||this._chunkLoaded({target:{result:a}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function c(t){var e;h.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){var t,i;if(!this._finished)return t=this._config.chunkSize,e=t?(i=e.substring(0,t),e.substring(t)):(i=e,""),this._finished=!e,this.parseChunk(i)}}function f(t){h.call(this,t=t||{});var e=[],i=true,s=false;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){s&&1===e.length&&(this._finished=true)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=true},this._streamData=g((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=false,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=g((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=g((function(){this._streamCleanUp(),s=true,this._streamData("")}),this),this._streamCleanUp=g((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function u(t){var e,i,s,a,r=Math.pow(2,53),n=-r,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,c=0,f=0,u=false,z=false,v=[],m={data:[],errors:[],meta:{}};function g(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function w(){if(m&&s&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),s=false),t.skipEmptyLines&&(m.data=m.data.filter((function(t){return!g(t)}))),k()){if(m)if(Array.isArray(m.data[0])){for(var e=0;k()&&e<m.data.length;e++)m.data[e].forEach(d);m.data.splice(0,1)}else m.data.forEach(d);function d(e,i){y(t.transformHeader)&&(e=t.transformHeader(e,i)),v.push(e)}}function i(e,i){for(var s=t.header?{}:[],a=0;a<e.length;a++){var o=a,d=e[a],d=((e,i)=>(e=>(t.dynamicTypingFunction&&void 0===t.dynamicTyping[e]&&(t.dynamicTyping[e]=t.dynamicTypingFunction(e)),true===(t.dynamicTyping[e]||t.dynamicTyping)))(e)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((t=>{if(h.test(t)){t=parseFloat(t);if(n<t&&t<r)return 1}})(i)?parseFloat(i):l.test(i)?new Date(i):""===i?null:i):i)(o=t.header?a>=v.length?"__parsed_extra":v[a]:o,d=t.transform?t.transform(d,o):d);"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(d)):s[o]=d}return t.header&&(a>v.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+a,f+i):a<v.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+a,f+i)),s}var a;m&&(t.header||t.dynamicTyping||t.transform)&&(a=1,!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(i),a=m.data.length):m.data=i(m.data,0),t.header&&m.meta&&(m.meta.fields=v),f+=a)}function k(){return t.header&&0===v.length}function x(t,e,i,s){t={type:t,code:e,message:i};void 0!==s&&(t.row=s),m.errors.push(t)}y(t.step)&&(a=t.step,t.step=function(e){m=e,k()?w():(w(),0!==m.data.length&&(c+=e.data.length,t.preview&&c>t.preview?i.abort():(m.data=m.data[0],a(m,d))))}),this.parse=function(a,r,n){var h=t.quoteChar||'"',h=(t.newline||(t.newline=this.guessLineEndings(a,h)),s=false,t.delimiter?y(t.delimiter)&&(t.delimiter=t.delimiter(a),m.meta.delimiter=t.delimiter):((h=((e,i,s,a,r)=>{var n,h,l,d;r=r||[",","\t","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var c=0;c<r.length;c++){for(var f,u=r[c],b=0,z=0,v=0,m=(l=void 0,new p({comments:a,delimiter:u,newline:i,preview:10}).parse(e)),_=0;_<m.data.length;_++)s&&g(m.data[_])?v++:(f=m.data[_].length,z+=f,void 0===l?l=f:0<f&&(b+=Math.abs(f-l),l=f));0<m.data.length&&(z/=m.data.length-v),(void 0===h||b<=h)&&(void 0===d||d<z)&&1.99<z&&(h=b,n=u,d=z)}return{successful:!!(t.delimiter=n),bestDelimiter:n}})(a,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=h.bestDelimiter:(s=true,t.delimiter=o.DefaultDelimiter),m.meta.delimiter=t.delimiter),_(t));return t.preview&&t.header&&h.preview++,e=a,i=new p(h),m=i.parse(e,r,n),w(),u?{meta:{paused:true}}:m||{meta:{paused:false}}},this.paused=function(){return u},this.pause=function(){u=true,i.abort(),e=y(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(u=false,d.streamer.parseChunk(e,true)):setTimeout(d.resume,3)},this.aborted=function(){return z},this.abort=function(){z=true,i.abort(),m.meta.aborted=true,y(t.complete)&&t.complete(m),e=""},this.guessLineEndings=function(t,e){t=t.substring(0,1048576);var e=new RegExp(b(e)+"([^]*?)"+b(e),"gm"),i=(t=t.replace(e,"")).split("\r"),e=t.split("\n"),t=1<e.length&&e[0].length<i[0].length;if(1===i.length||t)return"\n";for(var s=0,a=0;a<i.length;a++)"\n"===i[a][0]&&s++;return s>=i.length/2?"\r\n":"\r"}}function b(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(t){var e=(t=t||{}).delimiter,i=t.newline,s=t.comments,a=t.step,r=t.preview,n=t.fastMode,h=null,l=false,d=null==t.quoteChar?'"':t.quoteChar,c=d;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof e||-1<o.BAD_DELIMITERS.indexOf(e))&&(e=","),s===e)throw new Error("Comment character same as delimiter");true===s?s="#":("string"!=typeof s||-1<o.BAD_DELIMITERS.indexOf(s))&&(s=false),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var f=0,u=false;this.parse=function(o,p,z){if("string"!=typeof o)throw new Error("Input must be a string");var v=o.length,m=e.length,_=i.length,g=s.length,w=y(a),k=[],x=[],j=[],O=f=0;if(!o)return W();if(n||false!==n&&-1===o.indexOf(d)){for(var C=o.split(i),S=0;S<C.length;S++){if(j=C[S],f+=j.length,S!==C.length-1)f+=i.length;else if(z)return W();if(!s||j.substring(0,g)!==s){if(w){if(k=[],N(j.split(e)),$(),u)return W()}else N(j.split(e));if(r&&r<=S)return k=k.slice(0,r),W(true)}}return W()}for(var E=o.indexOf(e,f),A=o.indexOf(i,f),T=new RegExp(b(c)+b(d),"g"),I=o.indexOf(d,f);;)if(o[f]===d)for(I=f,f++;;){if(-1===(I=o.indexOf(d,I+1)))return z||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:k.length,index:f}),D();if(I===v-1)return D(o.substring(f,I).replace(T,d));if(d===c&&o[I+1]===c)I++;else if(d===c||0===I||o[I-1]!==c){-1!==E&&E<I+1&&(E=o.indexOf(e,I+1));var M=R(-1===(A=-1!==A&&A<I+1?o.indexOf(i,I+1):A)?E:Math.min(E,A));if(o.substr(I+1+M,m)===e){j.push(o.substring(f,I).replace(T,d)),o[f=I+1+M+m]!==d&&(I=o.indexOf(d,f)),E=o.indexOf(e,f),A=o.indexOf(i,f);break}M=R(A);if(o.substring(I+1+M,I+1+M+_)===i){if(j.push(o.substring(f,I).replace(T,d)),F(I+1+M+_),E=o.indexOf(e,f),I=o.indexOf(d,f),w&&($(),u))return W();if(r&&k.length>=r)return W(true);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:k.length,index:f}),I++}}else if(s&&0===j.length&&o.substring(f,f+g)===s){if(-1===A)return W();f=A+_,A=o.indexOf(i,f),E=o.indexOf(e,f)}else if(-1!==E&&(E<A||-1===A))j.push(o.substring(f,E)),f=E+m,E=o.indexOf(e,f);else{if(-1===A)break;if(j.push(o.substring(f,A)),F(A+_),w&&($(),u))return W();if(r&&k.length>=r)return W(true)}return D();function N(t){k.push(t),O=f}function R(t){var e=0;return e=-1!==t&&(t=o.substring(I+1,t))&&""===t.trim()?t.length:e}function D(t){return z||(void 0===t&&(t=o.substring(f)),j.push(t),f=v,N(j),w&&$()),W()}function F(t){f=t,N(j),j=[],A=o.indexOf(i,f)}function W(s){if(t.header&&!p&&k.length&&!l){var a=k[0],r=Object.create(null),n=new Set(a);let e=false;for(let i=0;i<a.length;i++){let s=a[i];if(r[s=y(t.transformHeader)?t.transformHeader(s,i):s]){let t,o=r[s];for(;t=s+"_"+o,o++,n.has(t););n.add(t),a[i]=t,r[s]++,e=true,(h=null===h?{}:h)[t]=s}else r[s]=1,a[i]=s;n.add(s)}e&&console.warn("Duplicate headers found and renamed."),l=true}return{data:k,errors:x,meta:{delimiter:e,linebreak:i,aborted:u,truncated:!!s,cursor:O+(p||0),renamedHeaders:h}}}function $(){a(W()),k=[],x=[]}},this.abort=function(){u=true},this.getCharIndex=function(){return f}}function z(t){var e=t.data,i=r[e.workerId],s=false;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var a={abort:function(){s=true,v(e.workerId,{data:[],errors:[],meta:{aborted:true}})},pause:m,resume:m};if(y(i.userStep)){for(var n=0;n<e.results.data.length&&(i.userStep({data:e.results.data[n],errors:e.results.errors,meta:e.results.meta},a),!s);n++);delete e.results}else y(i.userChunk)&&(i.userChunk(e.results,a,e.file),delete e.results)}e.finished&&!s&&v(e.workerId,e.results)}function v(t,e){var i=r[t];y(i.userComplete)&&i.userComplete(e),i.terminate(),delete r[t]}function m(){throw new Error("Not implemented.")}function _(t){if("object"!=typeof t||null===t)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=_(t[e]);return i}function g(t,e){return function(){t.apply(e,arguments)}}function y(t){return"function"==typeof t}return o.parse=function(i,s){var a=(s=s||{}).dynamicTyping||false;y(a)&&(s.dynamicTypingFunction=a,a={});if(s.dynamicTyping=a,s.transform=!!y(s.transform)&&s.transform,!s.worker||!o.WORKERS_SUPPORTED)return a=null,"string"==typeof i?(i=(t=>65279!==t.charCodeAt(0)?t:t.slice(1))(i),a=new(s.download?l:c)(s)):true===i.readable&&y(i.read)&&y(i.on)?a=new f(s):(e.File&&i instanceof File||i instanceof Object)&&(a=new d(s)),a.stream(i);(a=(()=>{var i;return!!o.WORKERS_SUPPORTED&&(i=(()=>{var i=e.URL||e.webkitURL||null,s=t.toString();return o.BLOB_URL||(o.BLOB_URL=i.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",s,")();"],{type:"text/javascript"})))})(),(i=new e.Worker(i)).onmessage=z,i.id=n++,r[i.id]=i)})()).userStep=s.step,a.userChunk=s.chunk,a.userComplete=s.complete,a.userError=s.error,s.step=y(s.step),s.chunk=y(s.chunk),s.complete=y(s.complete),s.error=y(s.error),delete s.worker,a.postMessage({input:i,config:s,workerId:a.id})},o.unparse=function(t,e){var i=false,s=true,a=",",r="\r\n",n='"',h=n+n,l=false,d=null,c=false,f=((()=>{if("object"==typeof e){if("string"!=typeof e.delimiter||o.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(a=e.delimiter),"boolean"!=typeof e.quotes&&"function"!=typeof e.quotes&&!Array.isArray(e.quotes)||(i=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(l=e.skipEmptyLines),"string"==typeof e.newline&&(r=e.newline),"string"==typeof e.quoteChar&&(n=e.quoteChar),"boolean"==typeof e.header&&(s=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");d=e.columns}void 0!==e.escapeChar&&(h=e.escapeChar+n),e.escapeFormulae instanceof RegExp?c=e.escapeFormulae:"boolean"==typeof e.escapeFormulae&&e.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(n),"g"));"string"==typeof t&&(t=JSON.parse(t));if(Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return u(null,t,l);if("object"==typeof t[0])return u(d||Object.keys(t[0]),t,l)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||d),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),u(t.fields||[],t.data||[],l);throw new Error("Unable to serialize unrecognized input");function u(t,e,i){var n="",o=("string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(t)&&0<t.length),h=!Array.isArray(e[0]);if(o&&s){for(var l=0;l<t.length;l++)0<l&&(n+=a),n+=p(t[l],l);0<e.length&&(n+=r)}for(var d=0;d<e.length;d++){var c=(o?t:e[d]).length,f=false,u=o?0===Object.keys(e[d]).length:0===e[d].length;if(i&&!o&&(f="greedy"===i?""===e[d].join("").trim():1===e[d].length&&0===e[d][0].length),"greedy"===i&&o){for(var b=[],z=0;z<c;z++){var v=h?t[z]:z;b.push(e[d][v])}f=""===b.join("").trim()}if(!f){for(var m=0;m<c;m++){0<m&&!u&&(n+=a);var _=o&&h?t[m]:m;n+=p(e[d][_],m)}d<e.length-1&&(!i||0<c&&!u)&&(n+=r)}}return n}function p(t,e){var s,r;return null==t?"":t.constructor===Date?JSON.stringify(t).slice(1,25):(r=false,c&&"string"==typeof t&&c.test(t)&&(t="'"+t,r=true),s=t.toString().replace(f,h),(r=r||true===i||"function"==typeof i&&i(t,e)||Array.isArray(i)&&i[e]||((t,e)=>{for(var i=0;i<e.length;i++)if(-1<t.indexOf(e[i]))return true;return false})(s,o.BAD_DELIMITERS)||-1<s.indexOf(a)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?n+s+n:s)}},o.RECORD_SEP=String.fromCharCode(30),o.UNIT_SEP=String.fromCharCode(31),o.BYTE_ORDER_MARK="\ufeff",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!s&&!!e.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=p,o.ParserHandle=u,o.NetworkStreamer=l,o.FileStreamer=d,o.StringStreamer=c,o.ReadableStreamStreamer=f,e.jQuery&&((i=e.jQuery).fn.parse=function(t){var s=t.config||{},a=[];return this.each((function(t){if(!("INPUT"===i(this).prop("tagName").toUpperCase()&&"file"===i(this).attr("type").toLowerCase()&&e.FileReader)||!this.files||0===this.files.length)return true;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:i.extend({},s)})})),r(),this;function r(){if(0===a.length)y(t.complete)&&t.complete();else{var e,s,r,h,l=a[0];if(y(t.before)){var d=t.before(l.file,l.inputElem);if("object"==typeof d){if("abort"===d.action)return e="AbortError",s=l.file,r=l.inputElem,h=d.reason,void(y(t.error)&&t.error({name:e},s,r,h));if("skip"===d.action)return void n();"object"==typeof d.config&&(l.instanceConfig=i.extend(l.instanceConfig,d.config))}else if("skip"===d)return void n()}var c=l.instanceConfig.complete;l.instanceConfig.complete=function(t){y(c)&&c(t,l.file,l.inputElem),n()},o.parse(l.file,l.instanceConfig)}}function n(){a.splice(0,1),r()}}),a&&(e.onmessage=function(t){t=t.data;void 0===o.WORKER_ID&&t&&(o.WORKER_ID=t.workerId);"string"==typeof t.input?e.postMessage({workerId:o.WORKER_ID,results:o.parse(t.input,t.config),finished:true}):(e.File&&t.input instanceof File||t.input instanceof Object)&&(t=o.parse(t.input,t.config))&&e.postMessage({workerId:o.WORKER_ID,results:t,finished:true})}),(l.prototype=Object.create(h.prototype)).constructor=l,(d.prototype=Object.create(h.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(f.prototype=Object.create(h.prototype)).constructor=f,o}))})(o);return o.exports}var c=d();const f=()=>`: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}stzh-datatable{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}stzh-datatable[hidden],stzh-datatable[stzh-hidden]{display:none}stzh-datatable::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-datatable *,stzh-datatable *::before,stzh-datatable *::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)}stzh-datatable{}stzh-datatable .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-datatable .stzh-fylingfocus-focused{outline-style:none !important}stzh-datatable .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-datatable{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-datatable[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-datatable{-webkit-text-size-adjust:100%}.stzh-datatable__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-datatable__header .stzh-datatable__search{flex-grow:1;margin-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__header .stzh-datatable__search{width:var(--search-input-width);flex-grow:0}}.stzh-datatable__action-button{flex-shrink:0;margin-left:auto}.stzh-datatable__outer-wrapper{position:relative}.stzh-datatable__outer-wrapper::before,.stzh-datatable__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-datatable__outer-wrapper::before{left:0}.stzh-datatable__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-datatable__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-datatable__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-datatable__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-datatable__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-datatable__wrapper::-webkit-scrollbar-thumb:active,.stzh-datatable__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-datatable__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge)}}.stzh-datatable__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall)}.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:Highlight}}.stzh-datatable__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datatable__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge)}}.stzh-datatable__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall) / -1)}.stzh-datatable__table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-datatable__table.has-layout-fixed{table-layout:fixed}.stzh-datatable__thead{position:sticky;top:0;z-index:1}.stzh-datatable__tbody .stzh-datatable__row:nth-child(even) .stzh-datatable__cell{background-color:var(--stzh-color-grey10)}.stzh-datatable__cell{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-datatable__cell a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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)}.stzh-datatable__cell a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-datatable__cell b,.stzh-datatable__cell strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell i,.stzh-datatable__cell em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-datatable__cell{}.stzh-datatable__cell.align-left{text-align:left}.stzh-datatable__cell.align-right{text-align:right}.stzh-datatable__cell.align-center{text-align:center}.stzh-datatable__cell{}.stzh-datatable__cell.valign-auto{vertical-align:auto}.stzh-datatable__cell.valign-middle{vertical-align:middle}.stzh-datatable__cell.valign-bottom{vertical-align:bottom}.stzh-datatable__cell.valign-top{vertical-align:top}.stzh-datatable__cell{}.stzh-datatable__cell.nowrap{white-space:nowrap}.stzh-datatable__cell{}.stzh-datatable__cell.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-datatable__cell{}.stzh-datatable__cell.is-sticky-left,.stzh-datatable__cell.is-sticky-right{position:sticky;z-index:1}.stzh-datatable__cell.has-sticked{z-index:2}.stzh-datatable__cell.is-sticky-left{left:0}.stzh-datatable__cell.is-sticky-right{right:0}.stzh-datatable__cell.is-sticky-left::after,.stzh-datatable__cell.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-datatable__cell.is-sticky-left::after{right:0}.stzh-datatable__cell.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-datatable__cell.has-sticked.is-sticky-left::after,.stzh-datatable__cell.has-sticked.is-sticky-right::after{opacity:1}.stzh-datatable__cell--head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-datatable__cell--head.is-sortable{padding:0}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>span,.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-datatable__cell--head:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-datatable{}.stzh-datatable__cell.has-sorted .stzh-datatable__sort-icon{display:inline-flex}.stzh-datatable__cell.has-sorted-desc .stzh-datatable__sort-icon{transform:rotate(180deg)}.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-datatable.has-header .stzh-datatable__header{margin-bottom:var(--stzh-space-xlarge)}}.stzh-datatable.has-action-or-search .stzh-datatable__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge)}.stzh-datatable{}.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-datatable.has-list .stzh-datatable__list-wrapper{display:none}}.stzh-datatable{}.stzh-datatable.has-scroll-left-shadow .stzh-datatable__outer-wrapper::before,.stzh-datatable.has-scroll-right-shadow .stzh-datatable__outer-wrapper::after{opacity:1}.stzh-datatable__caption{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;const u=class{constructor(i){t(this,i);this.stzhRowClick=e(this,"stzhRowClick");this.stzhCellClick=e(this,"stzhCellClick");this.stzhHeadingCellClick=e(this,"stzhHeadingCellClick");this.stzhSortClick=e(this,"stzhSortClick");this.stzhSortByChange=e(this,"stzhSortByChange");this.stzhSortDirectionChange=e(this,"stzhSortDirectionChange");this.tableLayout="auto";this.label="";this.caption="";this.sortBy="";this.sortDirection="asc";this.idField="id";this.rowHeaderField="";this.hideSearch=false;this.hideColumnHeadings=false;this.showList=false;this.page=1;this.pageSize=null;this.csvHeader=true;this.csvDynamicTyping=true;this.disableMinWidth=false;this.rows=[];this.columns=[];this.query="";this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[];this.handleSortByDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortBy=i};this.handleSortDirectionDropdownChange=async t=>{const e=t.target;const i=await e.getValue();this.sortDirection=i};this.handleRowClick=(t,e)=>{this.stzhRowClick.emit({component:"stzh-datatable",row:e,originalEvent:t})};this.handleCellClick=(t,e,i,s,a)=>{this.stzhCellClick.emit({component:"stzh-datatable",row:e,column:i,cellIndex:s,rowIndex:a,originalEvent:t})};this.handleSortClick=(t,e)=>{this.stzhSortClick.emit({component:"stzh-datatable",column:e,originalEvent:t});this.toggleSort(e.key)};this.updateScrollStates=()=>{if(!this.tableWrapper){return}const t=this.tableWrapper.scrollLeft;const e=this.tableWrapper.scrollWidth;const i=this.tableWrapper.clientWidth;this.isScrollable=e>i;this.hasScrollLeft=t>0;this.hasScrollRight=t<e-i;const s=Array.from(this.tableWrapper.querySelectorAll("tr"));const a=s[0];if(!a){return}this.cellsStickyLeft=[];this.cellsStickyRight=[];const r=Array.from(a.children);r.forEach(((e,s)=>{const a=e.offsetLeft;const r=a+e.offsetWidth;if(this.hasScrollLeft&&this._columns[s].fixed==="left"&&Math.ceil(t)>=a){this.cellsStickyLeft.push(s)}if(this.hasScrollRight&&this._columns[s].fixed==="right"&&Math.ceil(t)+i<=r){this.cellsStickyRight.push(s)}}))};this.handleResize=()=>{if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.updateScrollStates)};this.handleScroll=()=>{if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.updateScrollStates)};this.onInputChange=()=>{this.query=this.input.value};this.onPaginationChange=t=>{if(t.detail.component==="stzh-pagination"){this.page=t.detail.page}}}async toggleSort(t){this.page=1;if(t===this.sortBy){this.sortDirection=this.sortDirection==="asc"?"desc":"asc"}else{this.sortDirection="asc";this.sortBy=t}}async csvUrlsWatcher(t){if(!t){return}const e=await fetch(t);const i=await e.text();const{columns:s,rows:a}=await this.parseCsvToJson(i);if(this.csvHeader){this.columns=s.map((t=>{var e;return Object.assign(Object.assign({},t),((e=this._columns)===null||e===void 0?void 0:e.find((({key:e})=>e===t.key)))||{})}))}else{this.columns=this.columns||s}this.rows=a}rowsWatcher(t){let e;if(typeof t==="string"){e=JSON.parse(t)}else{e=t}this._rows=e.map((t=>{const e={};function i(t){const e={value:""};if(typeof t==="object"){return Object.assign(Object.assign({},e),t)}else{return Object.assign(Object.assign({},e),{value:t})}}this._columns.forEach(((s,a)=>{if(Array.isArray(t)){e[s.key]=i(t[a])}else{e[s.key]=i(t[s.key])}if(s.sort&&typeof s.sort==="object"&&s.sort.type==="date"){const t=e[s.key];if(t&&typeof t.value==="string"){t.value=this.parseStringToDate(t.value)}}}));return e}));this.buildSearchIndex()}parseStringToDate(t){var e,i;let s;try{s=(e=this._isoAdapter)===null||e===void 0?void 0:e.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}try{s=(i=this._displayAdapter)===null||i===void 0?void 0:i.parse(t,"dateInput");if(s&&!Number.isNaN(s.getTime()))return s}catch(t){}}columnsWatcher(t){if(typeof t==="string"){this._columns=JSON.parse(t)}else{this._columns=t}this.rowsWatcher(this.rows)}sortByWatcher(t,e){this.stzhSortByChange.emit({component:"stzh-datatable",value:t,oldValue:e})}sortDirectionWatcher(t,e){this.stzhSortDirectionChange.emit({component:"stzh-datatable",value:t,oldValue:e})}async parseCsvToJson(t){return new Promise(((e,i)=>{c.parse(t,{header:this.csvHeader,dynamicTyping:this.csvDynamicTyping,complete:t=>{const i=t.data.map((t=>{const e={};Object.keys(t).forEach((i=>{e[i.toLowerCase()]=t[i]}));return e}));e({columns:Object.keys(t.data[0]).map((t=>({key:t.toLowerCase(),text:t}))),rows:i})},error:t=>{i(t)}})}))}handleHeadingCellClick(t,e,i){this.stzhHeadingCellClick.emit({component:"stzh-datatable",column:e,index:i,originalEvent:t})}buildSearchIndex(){if(!this._rows||this._rows.length===0||!this._columns||this._columns.length===0){return}this.searchIndex=new r.Document({tokenize:"forward",matcher:{"[äà]":"a","[öó]":"o","[üûúù]":"u","[éè]":"e"},document:{id:this.idField,index:this._columns.map((t=>t.key))}});this._rows.forEach((t=>{const e={};for(const i in t){e[i]=this.getCellDisplayValue(t[i])}this.searchIndex.add(e)}))}parseDateValue(t){if(t instanceof Date){return t.getTime()}return 0}getCellDisplayValue(t){if(!t||t.value==null){return""}const e=t.value;if(e instanceof Date){return this._displayAdapter.format(e,"dateInput")}return e.toString()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datatable")}this._displayAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals);this._isoAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals);this.columnsWatcher(this.columns);await this.csvUrlsWatcher(this.csvUrl)}componentDidLoad(){this.updateScrollStates()}componentWillRender(){this._rowsShown=[];this._rowsFiltered=[];if(this.query&&this.searchIndex){let t=[];this.searchIndex.search(this.query).forEach((e=>{t=[...t,...e.result]}));t=t.filter((function(e,i){return t.indexOf(e)===i}));this._rows.forEach((e=>{if(t.includes(e[this.idField].value)||t.includes(e[this.idField].value.toString())){this._rowsFiltered.push(e)}}))}else{this._rowsFiltered=[...this._rows]}if(this.sortBy){const t=this._columns.find((t=>t.key===this.sortBy));let e=this.sortBy;let i=null;if(typeof t.sort==="object"){if(t.sort.field){e=t.sort.field}if(t.sort.type){i=t.sort.type}}this._rowsFiltered.sort(((t,s)=>{if(i==="numerical"){if(this.sortDirection==="asc"){return Number(t[e].value)-Number(s[e].value)}else{return Number(s[e].value)-Number(t[e].value)}}else if(i==="date"){const i=this.parseDateValue(t[e].value);const a=this.parseDateValue(s[e].value);return this.sortDirection==="asc"?i-a:a-i}else{const i=t[e].value.toString().localeCompare(s[e].value.toString());return this.sortDirection==="asc"?i:i/-1}}))}if(this.pageSize!==null){const t=this.page*this.pageSize;this._rowsShown=this._rowsFiltered.slice(t-this.pageSize,t)}else{this._rowsShown=[...this._rowsFiltered]}}connectedCallback(){this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)}disconnectedCallback(){if(this.resizeObserver){this.resizeObserver.disconnect()}}render(){var t,e;const a=n(this.element,"heading");const r=n(this.element,"action-button");const o={"stzh-datatable":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0,"has-list":this.showList,"has-heading":a,"has-action-or-search":r||!this.hideSearch,"has-header":a||r||!this.hideSearch};const h=Math.ceil(this._rowsFiltered.length/this.pageSize);const l=this._columns.find((t=>t.isHeader));const d=[{text:this.localization.sortByDefaultOption,value:""},...this._columns.filter((t=>!!t.sort)).map((t=>{var e;return{value:t.key,text:(e=this.localization.sortByOption)===null||e===void 0?void 0:e.replace(/\{column\}/gi,t.text)}}))];const c=[{value:"asc",text:(t=this.localization.sortDirectionOption)===null||t===void 0?void 0:t.replace(/\{direction\}/gi,this.localization.asc)},{value:"desc",text:(e=this.localization.sortDirectionOption)===null||e===void 0?void 0:e.replace(/\{direction\}/gi,this.localization.desc)}];const f=(t,e,i)=>{var s,a,r,n,o;return{"stzh-datatable__cell stzh-datatable__cell--body":true,"is-sticky-left":t.fixed==="left","is-sticky-right":t.fixed==="right","is-head":!!((s=e[t.key])===null||s===void 0?void 0:s.isHeader)||!!t.isHeader,"is-sortable":!!t.sort,"has-sticked":this.cellsStickyLeft.indexOf(i)>-1||this.cellsStickyRight.indexOf(i)>-1,"has-sorted":t.key===this.sortBy,"has-sorted-asc":t.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":t.key===this.sortBy&&this.sortDirection==="desc",[`align-${((a=e[t.key])===null||a===void 0?void 0:a.align)||t.align}`]:!!((r=e[t.key])===null||r===void 0?void 0:r.align)||!!t.align,[`valign-${((n=e[t.key])===null||n===void 0?void 0:n.valign)||t.valign}`]:!!((o=e[t.key])===null||o===void 0?void 0:o.valign)||!!t.valign}};return i(s,null,i("div",{class:o},i("div",{class:"stzh-datatable__header"},i("div",{class:"stzh-datatable__heading"},i("slot",{name:"heading"})),i("div",{class:"stzh-datatable__sub-header"},!this.hideSearch&&i("stzh-input",{ref:t=>this.input=t,class:"stzh-datatable__search",size:"small",name:"stzh-datatable-search",onStzhChange:this.onInputChange,hideOptional:true,label:this.localization.searchLabel,type:"search"}),i("div",{class:"stzh-datatable__action-button"},i("slot",{name:"action-button"})))),i("div",{class:"stzh-datatable__outer-wrapper"},i("div",{ref:t=>this.tableWrapper=t,class:"stzh-datatable__wrapper",onScroll:this.handleScroll},i("table",{class:{"stzh-datatable__table":true,"has-layout-fixed":this.tableLayout==="fixed"}},!!this.caption&&i("caption",{class:"stzh-datatable__caption"},this.caption),!this.hideColumnHeadings&&i("thead",{class:"stzh-datatable__thead"},i("tr",{class:"stzh-datatable__row stzh-datatable__row--head"},(()=>{let t=0;return this._columns.map(((e,s)=>{if(t>0){t--;return null}const a=e.colspan||1;if(a>1){t=a-1}return i("th",Object.assign({onClick:t=>this.handleHeadingCellClick(t,e,s),style:e.style,class:{"stzh-datatable__cell stzh-datatable__cell--head":true,"is-sticky-left":e.fixed==="left","is-sticky-right":e.fixed==="right","is-sortable":!!e.sort,"has-sticked":this.cellsStickyLeft.indexOf(s)>-1||this.cellsStickyRight.indexOf(s)>-1,"has-sorted":e.key===this.sortBy,"has-sorted-asc":e.key===this.sortBy&&this.sortDirection==="asc","has-sorted-desc":e.key===this.sortBy&&this.sortDirection==="desc",[`align-${e.align}`]:!!e.align,[`valign-${e.valign}`]:!!e.valign}},a>1?{colspan:a}:{},e.rowspan?{rowspan:e.rowspan}:{}),!e.hideColumnHeading&&(e.sort?i("button",{class:"stzh-datatable__sort-button",type:"button",onClick:t=>this.handleSortClick(t,e),"s-object-id":e.analyticsId||`${e.text} ${this.localization.columnSort}`},i("span",{innerHTML:e.text}),i("stzh-icon",{name:e.key===this.sortBy?"arrow-up":"sort",class:"stzh-datatable__sort-icon",a11yTitle:this.localization.columnSort})):i("span",{innerHTML:e.text})))}))})())),i("tbody",{class:"stzh-datatable__tbody"},(()=>{const t=[];return this._rowsShown.map(((e,s)=>i("tr",{class:"stzh-datatable__row stzh-datatable__row--body",onClick:t=>this.handleRowClick(t,e)},(()=>{let a=0;return this._columns.map(((r,n)=>{if(t[n]){t[n]--;return null}if(a>0){a--;return null}const o=e[r.key];const h=(o===null||o===void 0?void 0:o.colspan)||1;const l=(o===null||o===void 0?void 0:o.rowspan)||1;if(h>1){a=h-1}if(l>1){t[n]=l-1}return(o===null||o===void 0?void 0:o.isHeader)||r.isHeader?i("th",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)})):i("td",Object.assign({id:o.id,onClick:t=>this.handleCellClick(t,e,r,n,s),innerHTML:this.getCellDisplayValue(o),style:r.style},h>1?{colspan:h}:{},l>1?{rowspan:l}:{},{class:f(r,e,n)}))}))})())))})())))),this.showList&&i("div",{class:"stzh-datatable__list-wrapper"},d.length>1&&i("div",{class:"stzh-datatable__list-sort-wrapper"},i("stzh-dropdown",{inline:true,"no-search":true,class:"stzh-datatable__list-sort-by-dropdown",variant:"plain",size:"small",items:[this.sortBy],options:d,onStzhChange:this.handleSortByDropdownChange}),i("stzh-dropdown",{disabled:this.sortBy==="",inline:true,"no-search":true,class:"stzh-datatable__list-sort-direction-dropdown",variant:"plain",size:"small",items:[this.sortDirection],options:c,onStzhChange:this.handleSortDirectionDropdownChange})),i("stzh-accordion",{variant:"table"},this._rowsShown.map(((t,e)=>{var s,a,r,n;return i("stzh-accordion-item",{heading:((a=(s=t[this.rowHeaderField])===null||s===void 0?void 0:s.value)===null||a===void 0?void 0:a.toString())||((n=(r=t[l===null||l===void 0?void 0:l.key])===null||r===void 0?void 0:r.value)===null||n===void 0?void 0:n.toString())||this.localization.defaultListRowHeading.replace(/\{n\}/gi,(e+1).toString())},i("stzh-datalist",{variant:"table",columnsMedium:2},this._columns.map((e=>i("stzh-datalist-item",{label:e.text,value:this.getCellDisplayValue(t[e.key])})))))})))),this.pageSize!==null&&h>1&&i("div",{class:"stzh-datatable__pagination-wrapper"},i("stzh-pagination",{value:this.page,total:h,onStzhChange:this.onPaginationChange}))))}get element(){return a(this)}static get watchers(){return{csvUrls:["csvUrlsWatcher"],rows:["rowsWatcher"],columns:["columnsWatcher"],sortBy:["sortByWatcher"],sortDirection:["sortDirectionWatcher"]}}};u.style=f();export{u as stzh_datatable};
8
+ //# sourceMappingURL=p-37aae8ac.entry.js.map