@oiz/stzh-components 1.5.0-alpha → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/dist/cjs/{app-globals-3b6f75bd.js → app-globals-ec8cc33e.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-accordion-item.cjs.entry.js +33 -15
  4. package/dist/cjs/stzh-actionset.cjs.entry.js +156 -0
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +39 -8
  6. package/dist/cjs/stzh-card-list.cjs.entry.js +78 -0
  7. package/dist/cjs/stzh-card.cjs.entry.js +312 -0
  8. package/dist/cjs/stzh-chip-select.cjs.entry.js +52 -4
  9. package/dist/cjs/stzh-chip.cjs.entry.js +3 -1
  10. package/dist/cjs/stzh-components.cjs.js +2 -2
  11. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-datalist.cjs.entry.js +74 -0
  13. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +5 -4
  16. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -6
  18. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
  19. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-input.cjs.entry.js +4 -5
  23. package/dist/cjs/stzh-link.cjs.entry.js +9 -5
  24. package/dist/cjs/stzh-menu_2.cjs.entry.js +6 -2
  25. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-popover.cjs.entry.js +30 -28
  29. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-sortable.cjs.entry.js +20 -2
  32. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -1
  34. package/dist/cjs/stzh-upload.cjs.entry.js +47 -4
  35. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  37. package/dist/collection/assets/i18n/de.json +7 -2
  38. package/dist/collection/assets/i18n/en.json +7 -2
  39. package/dist/collection/assets/icons/mono/code-window.svg +3 -0
  40. package/dist/collection/assets/icons/mono/recycling-outline.svg +11 -0
  41. package/dist/collection/assets/icons/mono/recycling.svg +10 -0
  42. package/dist/collection/assets/icons/mono/smartphone.svg +10 -0
  43. package/dist/collection/assets/icons/mono/target.svg +11 -0
  44. package/dist/collection/collection-manifest.json +4 -2
  45. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
  46. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -14
  47. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
  48. package/dist/collection/components/stzh-actionset/stzh-actionset.css +147 -0
  49. package/dist/collection/components/stzh-actionset/stzh-actionset.js +343 -0
  50. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.localization.js → stzh-actionset/stzh-actionset.localization.js} +0 -0
  51. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +72 -0
  52. package/dist/collection/components/stzh-badge/stzh-badge.css +22 -2
  53. package/dist/collection/components/stzh-badge/stzh-badge.js +25 -1
  54. package/dist/collection/components/stzh-button/stzh-button.css +66 -0
  55. package/dist/collection/components/stzh-button/stzh-button.js +141 -7
  56. package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
  57. package/dist/collection/components/stzh-card/stzh-card.css +396 -0
  58. package/dist/collection/components/stzh-card/stzh-card.js +771 -0
  59. package/dist/collection/components/stzh-card/stzh-card.localization.js +1 -0
  60. package/dist/collection/components/stzh-card/stzh-card.stories.js +134 -0
  61. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.css → stzh-card-list/stzh-card-list.css} +9 -9
  62. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.js → stzh-card-list/stzh-card-list.js} +61 -60
  63. package/dist/collection/components/{stzh-servicecard/stzh-servicecard.localization.js → stzh-card-list/stzh-card-list.localization.js} +0 -0
  64. package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +132 -0
  65. package/dist/collection/components/stzh-chip/stzh-chip.js +38 -1
  66. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
  67. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +213 -3
  68. package/dist/collection/components/stzh-cspace/stzh-cspace.css +96 -178
  69. package/dist/collection/components/stzh-datalist/stzh-datalist.css +621 -0
  70. package/dist/collection/components/stzh-datalist/stzh-datalist.js +237 -0
  71. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +66 -0
  72. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
  73. package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
  74. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -21
  75. package/dist/collection/components/stzh-dialog/stzh-dialog.css +11 -20
  76. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
  77. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +7 -26
  78. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
  79. package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
  80. package/dist/collection/components/stzh-hspace/stzh-hspace.css +19 -24
  81. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +93 -28
  82. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  83. package/dist/collection/components/stzh-input/stzh-input.css +5 -5
  84. package/dist/collection/components/stzh-input/stzh-input.js +3 -24
  85. package/dist/collection/components/stzh-link/stzh-link.css +5 -0
  86. package/dist/collection/components/stzh-link/stzh-link.js +46 -6
  87. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +42 -2
  88. package/dist/collection/components/stzh-message/stzh-message.css +5 -0
  89. package/dist/collection/components/stzh-overlay/stzh-overlay.css +5 -1
  90. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -8
  91. package/dist/collection/components/stzh-popover/stzh-popover.js +52 -32
  92. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +519 -338
  93. package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
  94. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +4 -3
  95. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +3 -0
  96. package/dist/collection/components/stzh-richtext/stzh-richtext.css +233 -129
  97. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +19 -0
  98. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +8 -8
  99. package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
  100. package/dist/collection/components/stzh-sortable/stzh-sortable.js +40 -1
  101. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +1 -1
  102. package/dist/collection/components/stzh-table/stzh-table.css +5 -0
  103. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +21 -1
  104. package/dist/collection/components/stzh-upload/stzh-upload.css +16 -7
  105. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -3
  106. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
  107. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
  108. package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
  109. package/dist/collection/pages/meinkonto.stories.js +93 -88
  110. package/dist/components/index.d.ts +4 -2
  111. package/dist/components/index.js +5 -3
  112. package/dist/components/stzh-accordion-item.js +51 -16
  113. package/dist/components/{stzh-servicecard.d.ts → stzh-actionset.d.ts} +4 -4
  114. package/dist/components/stzh-actionset.js +6 -0
  115. package/dist/components/stzh-actionset2.js +219 -0
  116. package/dist/components/stzh-badge2.js +10 -3
  117. package/dist/components/stzh-button2.js +36 -6
  118. package/dist/components/{stzh-servicecard-list.d.ts → stzh-card-list.d.ts} +4 -4
  119. package/dist/components/stzh-card-list.js +121 -0
  120. package/dist/components/stzh-card.d.ts +11 -0
  121. package/dist/components/stzh-card.js +393 -0
  122. package/dist/components/stzh-chip-select.js +63 -6
  123. package/dist/components/stzh-chip2.js +5 -1
  124. package/dist/components/stzh-cspace.js +1 -1
  125. package/dist/components/stzh-datalist.d.ts +11 -0
  126. package/dist/components/stzh-datalist.js +113 -0
  127. package/dist/components/stzh-datamessagelist-item.js +1 -1
  128. package/dist/components/stzh-datatable.js +1 -1
  129. package/dist/components/stzh-datepicker2.js +1 -2
  130. package/dist/components/stzh-dialog.js +1 -1
  131. package/dist/components/stzh-dropdown2.js +4 -7
  132. package/dist/components/stzh-ghettobox2.js +1 -1
  133. package/dist/components/stzh-heading2.js +1 -1
  134. package/dist/components/stzh-hspace.js +1 -1
  135. package/dist/components/stzh-icon-sprite.js +1 -1
  136. package/dist/components/stzh-input2.js +4 -6
  137. package/dist/components/stzh-link2.js +11 -5
  138. package/dist/components/stzh-menu-item2.js +8 -2
  139. package/dist/components/stzh-message.js +1 -1
  140. package/dist/components/stzh-overlay.js +1 -1
  141. package/dist/components/stzh-pagetitle.js +1 -1
  142. package/dist/components/stzh-popover2.js +31 -28
  143. package/dist/components/stzh-portal-mitwirken.js +1 -1
  144. package/dist/components/stzh-radio2.js +1 -1
  145. package/dist/components/stzh-radiogroup2.js +3 -2
  146. package/dist/components/stzh-richtext2.js +1 -1
  147. package/dist/components/stzh-saptcha.js +1 -1
  148. package/dist/components/stzh-sortable2.js +20 -2
  149. package/dist/components/stzh-table.js +1 -1
  150. package/dist/components/stzh-tooltip2.js +4 -1
  151. package/dist/components/stzh-upload.js +47 -4
  152. package/dist/components/stzh-vbz-ticker.js +1 -1
  153. package/dist/components/stzh-vspace.js +1 -1
  154. package/dist/esm/{app-globals-c42494e9.js → app-globals-e66420b3.js} +1 -1
  155. package/dist/esm/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  156. package/dist/esm/loader.js +3 -3
  157. package/dist/esm/stzh-accordion-item.entry.js +34 -16
  158. package/dist/esm/stzh-accordion.entry.js +1 -1
  159. package/dist/esm/stzh-actions.entry.js +1 -1
  160. package/dist/esm/stzh-actionset.entry.js +152 -0
  161. package/dist/esm/stzh-appnav.entry.js +1 -1
  162. package/dist/esm/stzh-appointments.entry.js +1 -1
  163. package/dist/esm/stzh-badge_3.entry.js +40 -9
  164. package/dist/esm/stzh-calendar.entry.js +1 -1
  165. package/dist/esm/stzh-card-list.entry.js +74 -0
  166. package/dist/esm/stzh-card.entry.js +308 -0
  167. package/dist/esm/stzh-cell.entry.js +1 -1
  168. package/dist/esm/stzh-checkbox.entry.js +2 -2
  169. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  170. package/dist/esm/stzh-chip-select.entry.js +53 -5
  171. package/dist/esm/stzh-chip.entry.js +4 -2
  172. package/dist/esm/stzh-components.js +3 -3
  173. package/dist/esm/stzh-container.entry.js +1 -1
  174. package/dist/esm/stzh-cspace.entry.js +2 -2
  175. package/dist/esm/stzh-datalist.entry.js +70 -0
  176. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  177. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  178. package/dist/esm/stzh-datatable.entry.js +2 -2
  179. package/dist/esm/stzh-datepicker_4.entry.js +7 -6
  180. package/dist/esm/stzh-dialog.entry.js +2 -2
  181. package/dist/esm/stzh-dropdown.entry.js +6 -8
  182. package/dist/esm/stzh-fieldset.entry.js +1 -1
  183. package/dist/esm/stzh-figure.entry.js +1 -1
  184. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  185. package/dist/esm/stzh-footer.entry.js +1 -1
  186. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  187. package/dist/esm/stzh-header.entry.js +1 -1
  188. package/dist/esm/stzh-heading.entry.js +2 -2
  189. package/dist/esm/stzh-hr.entry.js +1 -1
  190. package/dist/esm/stzh-hspace.entry.js +2 -2
  191. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  192. package/dist/esm/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  193. package/dist/esm/stzh-input.entry.js +6 -7
  194. package/dist/esm/stzh-link.entry.js +10 -6
  195. package/dist/esm/stzh-list-item.entry.js +1 -1
  196. package/dist/esm/stzh-list.entry.js +1 -1
  197. package/dist/esm/stzh-loader.entry.js +1 -1
  198. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  199. package/dist/esm/stzh-menu_2.entry.js +7 -3
  200. package/dist/esm/stzh-message.entry.js +2 -2
  201. package/dist/esm/stzh-metanav.entry.js +1 -1
  202. package/dist/esm/stzh-overlay.entry.js +2 -2
  203. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  204. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  205. package/dist/esm/stzh-popover.entry.js +31 -29
  206. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  207. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  208. package/dist/esm/stzh-progressbar.entry.js +1 -1
  209. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  210. package/dist/esm/stzh-row.entry.js +1 -1
  211. package/dist/esm/stzh-saptcha.entry.js +2 -2
  212. package/dist/esm/stzh-section.entry.js +1 -1
  213. package/dist/esm/stzh-skiplink.entry.js +1 -1
  214. package/dist/esm/stzh-sortable.entry.js +21 -3
  215. package/dist/esm/stzh-status.entry.js +1 -1
  216. package/dist/esm/stzh-table.entry.js +2 -2
  217. package/dist/esm/stzh-toggle.entry.js +2 -2
  218. package/dist/esm/stzh-tooltip.entry.js +4 -2
  219. package/dist/esm/stzh-upload.entry.js +49 -6
  220. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  221. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  222. package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
  223. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  224. package/dist/esm/stzh-vspace.entry.js +2 -2
  225. package/dist/esm-es5/app-globals-e66420b3.js +1 -0
  226. package/dist/esm-es5/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  227. package/dist/esm-es5/loader.js +1 -1
  228. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  229. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  230. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  231. package/dist/esm-es5/stzh-actionset.entry.js +1 -0
  232. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  233. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  234. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  235. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  236. package/dist/esm-es5/stzh-card-list.entry.js +1 -0
  237. package/dist/esm-es5/stzh-card.entry.js +1 -0
  238. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  239. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  240. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  241. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  242. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  243. package/dist/esm-es5/stzh-components.js +1 -1
  244. package/dist/esm-es5/stzh-container.entry.js +1 -1
  245. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  246. package/dist/esm-es5/stzh-datalist.entry.js +1 -0
  247. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  248. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  249. package/dist/esm-es5/stzh-datatable.entry.js +2 -2
  250. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
  251. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  252. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  253. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  254. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  255. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  256. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  257. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  258. package/dist/esm-es5/stzh-header.entry.js +1 -1
  259. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  260. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  261. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  262. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  263. package/dist/esm-es5/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  264. package/dist/esm-es5/stzh-input.entry.js +1 -1
  265. package/dist/esm-es5/stzh-link.entry.js +1 -1
  266. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  267. package/dist/esm-es5/stzh-list.entry.js +1 -1
  268. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  269. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  270. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  271. package/dist/esm-es5/stzh-message.entry.js +1 -1
  272. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  273. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  274. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  275. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  276. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  277. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  278. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  279. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  280. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  281. package/dist/esm-es5/stzh-row.entry.js +1 -1
  282. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  283. package/dist/esm-es5/stzh-section.entry.js +1 -1
  284. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  285. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  286. package/dist/esm-es5/stzh-status.entry.js +1 -1
  287. package/dist/esm-es5/stzh-table.entry.js +1 -1
  288. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  289. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  290. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  291. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  292. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  293. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  294. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  295. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  296. package/dist/stzh-components/assets/i18n/de.json +7 -2
  297. package/dist/stzh-components/assets/i18n/en.json +7 -2
  298. package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -0
  299. package/dist/stzh-components/assets/icons/mono/recycling-outline.svg +11 -0
  300. package/dist/stzh-components/assets/icons/mono/recycling.svg +10 -0
  301. package/dist/stzh-components/assets/icons/mono/smartphone.svg +10 -0
  302. package/dist/stzh-components/assets/icons/mono/target.svg +11 -0
  303. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +93 -28
  304. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  305. package/dist/stzh-components/{p-32988d74.entry.js → p-001b7d10.entry.js} +1 -1
  306. package/dist/stzh-components/{p-11d0c8f3.entry.js → p-03ea86bd.entry.js} +1 -1
  307. package/dist/stzh-components/p-051bc2a8.entry.js +1 -0
  308. package/dist/stzh-components/p-0711e511.entry.js +1 -0
  309. package/dist/stzh-components/p-073c89b1.system.entry.js +1 -0
  310. package/dist/stzh-components/{p-0837657c.entry.js → p-08a564af.entry.js} +1 -1
  311. package/dist/stzh-components/{p-8db4279d.system.entry.js → p-0bbbbe85.system.entry.js} +1 -1
  312. package/dist/stzh-components/{p-87ab53c4.system.entry.js → p-0fc06049.system.entry.js} +1 -1
  313. package/dist/stzh-components/p-0fc83964.system.entry.js +1 -0
  314. package/dist/stzh-components/{p-08d4ed80.entry.js → p-13b3500e.entry.js} +1 -1
  315. package/dist/stzh-components/{p-f1a58a7c.system.entry.js → p-1440163c.system.entry.js} +1 -1
  316. package/dist/stzh-components/{p-65444117.system.entry.js → p-17c6c1db.system.entry.js} +1 -1
  317. package/dist/stzh-components/p-18958371.entry.js +1 -0
  318. package/dist/stzh-components/{p-b34774e7.entry.js → p-190de4de.entry.js} +1 -1
  319. package/dist/stzh-components/{p-b2c8c31e.system.entry.js → p-19bff884.system.entry.js} +1 -1
  320. package/dist/stzh-components/p-20ef4a20.system.entry.js +1 -0
  321. package/dist/stzh-components/{p-346e26f2.system.entry.js → p-21566d65.system.entry.js} +1 -1
  322. package/dist/stzh-components/{p-debb00e6.entry.js → p-216577b4.entry.js} +1 -1
  323. package/dist/stzh-components/p-22701389.system.entry.js +1 -0
  324. package/dist/stzh-components/p-252d3178.entry.js +1 -0
  325. package/dist/stzh-components/{p-6edd58a4.system.entry.js → p-27fd6c6f.system.entry.js} +1 -1
  326. package/dist/stzh-components/{p-fba76dba.entry.js → p-29427863.entry.js} +1 -1
  327. package/dist/stzh-components/{p-d8471675.entry.js → p-2b338050.entry.js} +1 -1
  328. package/dist/stzh-components/p-2ca4a828.system.entry.js +1 -0
  329. package/dist/stzh-components/p-2cf1ae40.system.entry.js +1 -0
  330. package/dist/stzh-components/{p-fa8651dd.entry.js → p-2e559062.entry.js} +1 -1
  331. package/dist/stzh-components/p-3042b23e.entry.js +1 -0
  332. package/dist/stzh-components/{p-c863ffd0.system.entry.js → p-33c0229f.system.entry.js} +1 -1
  333. package/dist/stzh-components/p-3b912468.system.entry.js +1 -0
  334. package/dist/stzh-components/p-3beb58d6.system.entry.js +1 -0
  335. package/dist/stzh-components/{p-1cde29ea.entry.js → p-3d8317b5.entry.js} +1 -1
  336. package/dist/stzh-components/p-3f0363db.entry.js +1 -0
  337. package/dist/stzh-components/{p-48bbcc26.system.entry.js → p-45bab70d.system.entry.js} +1 -1
  338. package/dist/stzh-components/{p-3f03fd94.system.entry.js → p-48b5b697.system.entry.js} +1 -1
  339. package/dist/stzh-components/{p-ece7ad4d.system.entry.js → p-4c6989ae.system.entry.js} +1 -1
  340. package/dist/stzh-components/p-530252c6.system.entry.js +1 -0
  341. package/dist/stzh-components/{p-c7c17bb7.system.entry.js → p-5353ba86.system.entry.js} +2 -2
  342. package/dist/stzh-components/{p-bb2e1dda.entry.js → p-552f49c4.entry.js} +1 -1
  343. package/dist/stzh-components/p-55cdbf79.entry.js +1 -0
  344. package/dist/stzh-components/{p-562394a9.system.entry.js → p-55d23a3c.system.entry.js} +1 -1
  345. package/dist/stzh-components/{p-07772cd7.system.entry.js → p-560f96f0.system.entry.js} +1 -1
  346. package/dist/stzh-components/p-562e6c52.entry.js +1 -0
  347. package/dist/stzh-components/{p-f48a2b00.system.entry.js → p-56b9cc3c.system.entry.js} +1 -1
  348. package/dist/stzh-components/{p-33946fed.system.entry.js → p-58d886cb.system.entry.js} +1 -1
  349. package/dist/stzh-components/{p-68a8b7b7.system.entry.js → p-5997e418.system.entry.js} +1 -1
  350. package/dist/stzh-components/{p-49968bbf.entry.js → p-5a02ef03.entry.js} +1 -1
  351. package/dist/stzh-components/{p-1c88ceff.system.entry.js → p-5a354428.system.entry.js} +1 -1
  352. package/dist/stzh-components/{p-0a71fbac.entry.js → p-5bd2849d.entry.js} +1 -1
  353. package/dist/stzh-components/{p-3ed69b16.entry.js → p-5f4eb46c.entry.js} +1 -1
  354. package/dist/stzh-components/{p-4a398453.system.entry.js → p-61aac051.system.entry.js} +1 -1
  355. package/dist/stzh-components/p-62db1e59.entry.js +1 -0
  356. package/dist/stzh-components/{p-ade1ebcf.system.entry.js → p-6305db38.system.entry.js} +1 -1
  357. package/dist/stzh-components/{p-95eb03b2.entry.js → p-638bedfa.entry.js} +1 -1
  358. package/dist/stzh-components/{p-9c0494a6.system.js → p-63d89b96.system.js} +1 -1
  359. package/dist/stzh-components/{p-33d75303.entry.js → p-6425898c.entry.js} +1 -1
  360. package/dist/stzh-components/{p-818634d2.entry.js → p-64b4cc74.entry.js} +1 -1
  361. package/dist/stzh-components/p-676fd54d.entry.js +1 -0
  362. package/dist/stzh-components/{p-7a6e347d.system.entry.js → p-684c345e.system.entry.js} +2 -2
  363. package/dist/stzh-components/{p-f44f4d26.system.entry.js → p-69c3187f.system.entry.js} +1 -1
  364. package/dist/stzh-components/{p-95a297aa.entry.js → p-69f4a27e.entry.js} +1 -1
  365. package/dist/stzh-components/p-6a873872.entry.js +1 -0
  366. package/dist/stzh-components/{p-b281b653.entry.js → p-713ae713.entry.js} +2 -2
  367. package/dist/stzh-components/{p-03b16275.entry.js → p-72f29f07.entry.js} +1 -1
  368. package/dist/stzh-components/p-764ba190.entry.js +1 -0
  369. package/dist/stzh-components/p-786a92d4.system.entry.js +1 -0
  370. package/dist/stzh-components/p-796ae62c.system.entry.js +1 -0
  371. package/dist/stzh-components/p-7d8c9866.entry.js +1 -0
  372. package/dist/stzh-components/p-7ec2f3fd.entry.js +9 -0
  373. package/dist/stzh-components/p-80d70586.entry.js +1 -0
  374. package/dist/stzh-components/p-838df84a.system.entry.js +1 -0
  375. package/dist/stzh-components/p-84ab53cc.system.entry.js +1 -0
  376. package/dist/stzh-components/p-85161133.js +1 -0
  377. package/dist/stzh-components/{p-aec2d2d1.system.entry.js → p-851e0caa.system.entry.js} +1 -1
  378. package/dist/stzh-components/p-864d7c50.entry.js +1 -0
  379. package/dist/stzh-components/{p-690d14cd.entry.js → p-88e0f453.entry.js} +1 -1
  380. package/dist/stzh-components/{p-0338cec3.system.entry.js → p-89274cd5.system.entry.js} +1 -1
  381. package/dist/stzh-components/p-8b6de2c0.system.entry.js +1 -0
  382. package/dist/stzh-components/{p-936cc626.system.entry.js → p-8c648042.system.entry.js} +1 -1
  383. package/dist/stzh-components/{p-0ae3e066.system.entry.js → p-8d0da18d.system.entry.js} +1 -1
  384. package/dist/stzh-components/{p-56fccfa3.system.entry.js → p-8d547247.system.entry.js} +1 -1
  385. package/dist/stzh-components/p-929dbdf1.system.entry.js +1 -0
  386. package/dist/stzh-components/{p-65282c9d.js → p-93e8e31f.js} +1 -1
  387. package/dist/stzh-components/p-9469b812.entry.js +1 -0
  388. package/dist/stzh-components/{p-e9ca8ddc.entry.js → p-961cb979.entry.js} +1 -1
  389. package/dist/stzh-components/{p-98afd4b0.system.entry.js → p-981b2629.system.entry.js} +1 -1
  390. package/dist/stzh-components/{p-0ec28130.system.entry.js → p-9c72f491.system.entry.js} +1 -1
  391. package/dist/stzh-components/p-9e716229.entry.js +1 -0
  392. package/dist/stzh-components/{p-8cf287d8.system.entry.js → p-9fb4da92.system.entry.js} +1 -1
  393. package/dist/stzh-components/p-a3fa6122.system.entry.js +1 -0
  394. package/dist/stzh-components/{p-409c0d50.entry.js → p-a448f5a5.entry.js} +1 -1
  395. package/dist/stzh-components/{p-96fd158c.entry.js → p-a646c09a.entry.js} +1 -1
  396. package/dist/stzh-components/p-a6627504.entry.js +1 -0
  397. package/dist/stzh-components/{p-6c3b2508.system.entry.js → p-a67e09cd.system.entry.js} +1 -1
  398. package/dist/stzh-components/{p-378be0be.system.entry.js → p-a7c35778.system.entry.js} +1 -1
  399. package/dist/stzh-components/{p-c8bc2812.entry.js → p-a7ee2636.entry.js} +1 -1
  400. package/dist/stzh-components/{p-148de4e6.entry.js → p-ab246b66.entry.js} +1 -1
  401. package/dist/stzh-components/p-b391d962.system.entry.js +1 -0
  402. package/dist/stzh-components/p-b462a61f.entry.js +1 -0
  403. package/dist/stzh-components/p-b550feaa.system.entry.js +1 -0
  404. package/dist/stzh-components/p-b5a85078.system.entry.js +1 -0
  405. package/dist/stzh-components/p-b70bc70c.system.js +1 -0
  406. package/dist/stzh-components/{p-46f301c0.entry.js → p-b9a027aa.entry.js} +1 -1
  407. package/dist/stzh-components/{p-7e3924a0.system.entry.js → p-ba94e315.system.entry.js} +1 -1
  408. package/dist/stzh-components/{p-f2050d1e.entry.js → p-bb3c1249.entry.js} +1 -1
  409. package/dist/stzh-components/{p-a760352a.system.entry.js → p-bbe4e3d1.system.entry.js} +1 -1
  410. package/dist/stzh-components/{p-e972a44f.system.entry.js → p-be461e19.system.entry.js} +1 -1
  411. package/dist/stzh-components/{p-30b347ee.system.js → p-bf0fdd23.system.js} +2 -2
  412. package/dist/stzh-components/{p-983f6070.entry.js → p-c1337453.entry.js} +1 -1
  413. package/dist/stzh-components/{p-915e8ad6.entry.js → p-c3d93395.entry.js} +1 -1
  414. package/dist/stzh-components/{p-e9bc3a43.entry.js → p-c4b7c2be.entry.js} +1 -1
  415. package/dist/stzh-components/p-c4fc6433.system.entry.js +1 -0
  416. package/dist/stzh-components/{p-df422d36.entry.js → p-c58dd9de.entry.js} +1 -1
  417. package/dist/stzh-components/p-cb1d4678.entry.js +1 -0
  418. package/dist/stzh-components/p-ccd30d73.system.entry.js +1 -0
  419. package/dist/stzh-components/p-cd795307.entry.js +1 -0
  420. package/dist/stzh-components/{p-7d2237ca.entry.js → p-cdc9e600.entry.js} +1 -1
  421. package/dist/stzh-components/{p-586cae98.entry.js → p-ce070ccd.entry.js} +1 -1
  422. package/dist/stzh-components/{p-04d7b18f.entry.js → p-d0aa9d3b.entry.js} +1 -1
  423. package/dist/stzh-components/p-d1552460.system.entry.js +1 -0
  424. package/dist/stzh-components/{p-006135ed.system.entry.js → p-d6c07494.system.entry.js} +1 -1
  425. package/dist/stzh-components/{p-cf162e67.entry.js → p-d7893dfd.entry.js} +1 -1
  426. package/dist/stzh-components/{p-73194e28.entry.js → p-d9643cc4.entry.js} +1 -1
  427. package/dist/stzh-components/{p-58917ce2.entry.js → p-db5363ef.entry.js} +1 -1
  428. package/dist/stzh-components/{p-fc9c4fc3.system.entry.js → p-e213663c.system.entry.js} +1 -1
  429. package/dist/stzh-components/p-e3e3e88c.system.js +1 -0
  430. package/dist/stzh-components/p-eb61c369.entry.js +1 -0
  431. package/dist/stzh-components/p-ebeb8d7b.system.entry.js +1 -0
  432. package/dist/stzh-components/p-eca1732f.entry.js +1 -0
  433. package/dist/stzh-components/{p-14d728f0.entry.js → p-ee22256f.entry.js} +1 -1
  434. package/dist/stzh-components/{p-670d4834.entry.js → p-f1356a85.entry.js} +1 -1
  435. package/dist/stzh-components/p-f24db7e8.system.entry.js +1 -0
  436. package/dist/stzh-components/{p-1ace5d80.entry.js → p-f788a468.entry.js} +1 -1
  437. package/dist/stzh-components/{p-99533090.system.entry.js → p-f832e938.system.entry.js} +1 -1
  438. package/dist/stzh-components/{p-32b78d65.js → p-f84fa2a4.js} +1 -1
  439. package/dist/stzh-components/{p-80db7aa6.system.entry.js → p-fa56fc0d.system.entry.js} +1 -1
  440. package/dist/stzh-components/{p-88a4f756.system.entry.js → p-fc13d017.system.entry.js} +1 -1
  441. package/dist/stzh-components/{p-b4fc71ff.system.entry.js → p-fc6b4f91.system.entry.js} +1 -1
  442. package/dist/stzh-components/p-fdd1998f.entry.js +1 -0
  443. package/dist/stzh-components/{p-370b82e7.system.entry.js → p-fdf0b4bc.system.entry.js} +1 -1
  444. package/dist/stzh-components/stzh-components.css +1 -1
  445. package/dist/stzh-components/stzh-components.esm.js +1 -1
  446. package/dist/stzh-components/stzh-components.js +1 -1
  447. package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +5 -0
  448. package/dist/types/components/stzh-badge/stzh-badge.d.ts +2 -0
  449. package/dist/types/components/{stzh-servicecard/stzh-servicecard.localization.d.ts → stzh-card/stzh-card.localization.d.ts} +2 -1
  450. package/dist/types/components/{stzh-servicecard-list/stzh-servicecard-list.localization.d.ts → stzh-card-list/stzh-card-list.localization.d.ts} +1 -1
  451. package/dist/types/components.d.ts +626 -245
  452. package/dist/types/index.d.ts +61 -14
  453. package/dist/vscode-data.json +559 -183
  454. package/package.json +1 -1
  455. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +0 -73
  456. package/dist/cjs/stzh-servicecard.cjs.entry.js +0 -234
  457. package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +0 -558
  458. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +0 -614
  459. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +0 -73
  460. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +0 -116
  461. package/dist/components/stzh-servicecard-list.js +0 -117
  462. package/dist/components/stzh-servicecard.js +0 -305
  463. package/dist/esm/stzh-servicecard-list.entry.js +0 -69
  464. package/dist/esm/stzh-servicecard.entry.js +0 -230
  465. package/dist/esm-es5/app-globals-c42494e9.js +0 -1
  466. package/dist/esm-es5/stzh-servicecard-list.entry.js +0 -1
  467. package/dist/esm-es5/stzh-servicecard.entry.js +0 -1
  468. package/dist/stzh-components/p-03e2634c.entry.js +0 -1
  469. package/dist/stzh-components/p-1cebd703.entry.js +0 -1
  470. package/dist/stzh-components/p-1f15a4e0.system.entry.js +0 -1
  471. package/dist/stzh-components/p-2b11d549.system.entry.js +0 -1
  472. package/dist/stzh-components/p-33d033a3.system.entry.js +0 -1
  473. package/dist/stzh-components/p-34190502.entry.js +0 -1
  474. package/dist/stzh-components/p-3c799247.entry.js +0 -1
  475. package/dist/stzh-components/p-3ebd2c03.js +0 -1
  476. package/dist/stzh-components/p-4e9bfeb8.system.entry.js +0 -1
  477. package/dist/stzh-components/p-58ffc722.system.entry.js +0 -1
  478. package/dist/stzh-components/p-5e0cccc9.system.entry.js +0 -1
  479. package/dist/stzh-components/p-5ea652ae.system.entry.js +0 -1
  480. package/dist/stzh-components/p-632d9076.system.entry.js +0 -1
  481. package/dist/stzh-components/p-63b5068a.system.entry.js +0 -1
  482. package/dist/stzh-components/p-66556f67.entry.js +0 -1
  483. package/dist/stzh-components/p-6fc271d0.system.entry.js +0 -1
  484. package/dist/stzh-components/p-7921db30.system.entry.js +0 -1
  485. package/dist/stzh-components/p-79bfc485.entry.js +0 -1
  486. package/dist/stzh-components/p-7bb1bd3b.entry.js +0 -1
  487. package/dist/stzh-components/p-7d098987.entry.js +0 -9
  488. package/dist/stzh-components/p-7d62dfeb.system.entry.js +0 -1
  489. package/dist/stzh-components/p-82e6148a.system.entry.js +0 -1
  490. package/dist/stzh-components/p-85d78e08.entry.js +0 -1
  491. package/dist/stzh-components/p-8a60addb.entry.js +0 -1
  492. package/dist/stzh-components/p-8bd3ba06.entry.js +0 -1
  493. package/dist/stzh-components/p-90a10825.system.entry.js +0 -1
  494. package/dist/stzh-components/p-a7253852.entry.js +0 -1
  495. package/dist/stzh-components/p-a86c6487.entry.js +0 -1
  496. package/dist/stzh-components/p-aaa2e48f.system.js +0 -1
  497. package/dist/stzh-components/p-b35b0270.entry.js +0 -1
  498. package/dist/stzh-components/p-b3b5ee7e.entry.js +0 -1
  499. package/dist/stzh-components/p-b651f251.entry.js +0 -1
  500. package/dist/stzh-components/p-bdba7714.entry.js +0 -1
  501. package/dist/stzh-components/p-c581e798.system.entry.js +0 -1
  502. package/dist/stzh-components/p-c6cad5ed.system.entry.js +0 -1
  503. package/dist/stzh-components/p-da063c7e.system.entry.js +0 -1
  504. package/dist/stzh-components/p-e12db90a.entry.js +0 -1
  505. package/dist/stzh-components/p-e2ce48f1.system.entry.js +0 -1
  506. package/dist/stzh-components/p-e4347cfe.entry.js +0 -1
  507. package/dist/stzh-components/p-ec3d4dd4.entry.js +0 -1
  508. package/dist/stzh-components/p-ee5ceac4.entry.js +0 -1
  509. package/dist/stzh-components/p-f0ca6848.system.entry.js +0 -1
  510. package/dist/stzh-components/p-f21440b3.entry.js +0 -1
  511. package/dist/stzh-components/p-f610f725.entry.js +0 -1
  512. package/dist/stzh-components/p-faf20030.system.js +0 -1
  513. package/dist/stzh-components/p-fce0e218.system.entry.js +0 -1
  514. package/dist/stzh-components/p-fd16e20e.system.entry.js +0 -1
  515. package/dist/stzh-components/p-fe9f8a09.system.entry.js +0 -1
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,o,r){function c(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,s){function i(e){try{h(r.next(e))}catch(t){s(t)}}function n(e){try{h(r["throw"](e))}catch(t){s(t)}}function h(e){e.done?o(e.value):c(e.value).then(i,n)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,c,s,i;return i={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function n(e){return function(t){return h([e,t])}}function h(i){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,c&&(s=i[0]&2?c["return"]:i[0]?c["throw"]||((s=c["return"])&&s.call(c),0):c.next)&&!(s=s.call(c,i[1])).done)return s;if(c=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;c=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(s=o.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){o.label=i[1];break}if(i[0]===6&&o.label<s[1]){o.label=s[1];s=i;break}if(s&&o.label<s[2]){o.label=s[2];o.ops.push(i);break}if(s[2])o.ops.pop();o.trys.pop();continue}i=t.call(e,o)}catch(n){i=[6,n];c=0}finally{r=s=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-30b347ee.system.js","./p-0230004d.system.js","./p-f58c28ad.system.js","./p-a408bfba.system.js","./p-9c0494a6.system.js"],(function(e){"use strict";var t,o,r,c,s,i,n;return{setters:[function(e){t=e.r;o=e.h;r=e.g},function(e){c=e.h},function(e){s=e.c},function(e){i=e.f},function(e){n=e.S}],execute:function(){var h=".sc-stzh-checkboxgroup-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-checkboxgroup-h{display:none}.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::before,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkboxgroup-h[direction=vertical] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-bottom:var(--stzh-space-medium)}.sc-stzh-checkboxgroup-h[direction=horizontal] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-checkboxgroup.sc-stzh-checkboxgroup{margin:0;padding:0;border:none}.stzh-checkboxgroup__marker-symbol.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkboxgroup__marker-text.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup__description-wrapper.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup{color:var(--stzh-color-error)}.stzh-checkboxgroup__error-list.sc-stzh-checkboxgroup{list-style:none;margin:0;padding:0}.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkboxgroup__description-long-popover.sc-stzh-checkboxgroup{--width:auto;--max-width:27.3125rem}.stzh-checkboxgroup__description-long-popover[open].sc-stzh-checkboxgroup:not([open=false]) .stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup.sc-stzh-checkboxgroup stzh-icon.stzh-checkboxgroup__description-long-icon.sc-stzh-checkboxgroup{--size:var(--stzh-icon-size-xsmall)}.stzh-checkboxgroup--has-error.sc-stzh-checkboxgroup .stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup--has-description.sc-stzh-checkboxgroup .stzh-checkboxgroup__description.sc-stzh-checkboxgroup{margin-top:var(--stzh-space-xxsmall)}.stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column}.stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-checkboxgroup--hide-legend.sc-stzh-checkboxgroup .stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup--direction-horizontal.sc-stzh-checkboxgroup .stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{-ms-flex-direction:row;flex-direction:row}";var a=0;var l=e("stzh_checkboxgroup",function(){function e(e){var o=this;t(this,e);this.disabled=false;this.hideLegend=false;this.invalid=false;this.showMarker=false;this.value="";this._value=[];this.direction="vertical";this.checkedCheckbox=null;this.preventUpdateProperties=[];this.init=function(){o.checkboxes=Array.from(o.element.querySelectorAll("stzh-checkbox"));o.updateCheckboxesProperty("a11y-describedby","".concat(o.checkboxgroupId,"-description"));o.watchValue(o.value);o.watchName(o.name);o.watchDisabled(o.disabled);o.watchInvalid(o.invalid);o.watchShowMarker(o.showMarker)}}e.prototype.watchName=function(e){this.updateCheckboxesProperty("name",e)};e.prototype.watchDisabled=function(e){this.updateCheckboxesProperty("disabled",e)};e.prototype.watchInvalid=function(e){this.updateCheckboxesProperty("invalid",e)};e.prototype.watchShowMarker=function(e){this.updateCheckboxesProperty("showMarker",e)};e.prototype.watchValue=function(e){if(typeof e==="string"){this._value=JSON.parse(e)}else{this._value=e}this.updateCheckedCheckboxByValue(this._value)};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(t){if(e){this._error=[e]}else{this._error=[]}}}else if(e){this._error=e}else{this._error=[]}this.invalid=this._error.length>0};e.prototype.onChange=function(e){if(e.detail.checked){this._value.push(e.detail.value)}else{this._value=this._value.filter((function(t){return t!==e.detail.value}))}this.value=this._value};e.prototype.updateCheckboxesProperty=function(e,t){var o=this;this.checkboxes.forEach((function(r){if(e==="name"||o.preventUpdateProperties.indexOf(e)===-1){r[s(e)]=t}}))};e.prototype.updateCheckedCheckboxByValue=function(e){this.checkedCheckbox=this.checkboxes.filter((function(t){return e.indexOf(t.value)>-1}));this.checkboxes.forEach((function(t){return t.checked=e.indexOf(t.value)>-1}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.checkboxgroupId="stzh-checkboxgroup-".concat(a++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,i(this.element,"checkboxgroup")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentShouldUpdate=function(e,t,o){return o!=="checkedCheckbox"};e.prototype.componentDidRender=function(){this.init()};e.prototype.connectedCallback=function(){if(!this.value.length){this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.value=this.checkboxes.filter((function(e){return e.checked})).map((function(e){return e.value}))}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect()};e.prototype.render=function(){var e;var t=c(this.element,"description")||!!this.description;var r=c(this.element,"description-long")||!!this.descriptionLong;var s=c(this.element,"error")||!!this.error;var i=(e={"stzh-checkboxgroup":true,"stzh-checkboxgroup--has-description":t,"stzh-checkboxgroup--has-description-long":r,"stzh-checkboxgroup--has-error":s,"stzh-checkboxgroup--is-disabled":this.disabled,"stzh-checkboxgroup--is-invalid":this.invalid,"stzh-checkboxgroup--hide-legend":this.hideLegend},e["stzh-checkboxgroup--direction-".concat(this.direction)]=!!this.direction,e);return o("fieldset",{class:i},this.legend&&o("legend",{class:"stzh-checkboxgroup__legend"},this.legend),o("div",{class:"stzh-checkboxgroup__fields"},o("slot",null)),o(n,{classPrefix:"stzh-checkboxgroup",id:"".concat(this.checkboxgroupId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["watchName"],disabled:["watchDisabled"],invalid:["watchInvalid"],showMarker:["watchShowMarker"],value:["watchValue"],error:["errorWatcher"]}},enumerable:false,configurable:true});return e}());l.style=h}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,o,r){function c(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,s){function i(e){try{h(r.next(e))}catch(t){s(t)}}function n(e){try{h(r["throw"](e))}catch(t){s(t)}}function h(e){e.done?o(e.value):c(e.value).then(i,n)}h((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,c,s,i;return i={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function n(e){return function(t){return h([e,t])}}function h(i){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,c&&(s=i[0]&2?c["return"]:i[0]?c["throw"]||((s=c["return"])&&s.call(c),0):c.next)&&!(s=s.call(c,i[1])).done)return s;if(c=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;c=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(s=o.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){o.label=i[1];break}if(i[0]===6&&o.label<s[1]){o.label=s[1];s=i;break}if(s&&o.label<s[2]){o.label=s[2];o.ops.push(i);break}if(s[2])o.ops.pop();o.trys.pop();continue}i=t.call(e,o)}catch(n){i=[6,n];c=0}finally{r=s=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js","./p-f58c28ad.system.js","./p-a408bfba.system.js","./p-63d89b96.system.js"],(function(e){"use strict";var t,o,r,c,s,i,n;return{setters:[function(e){t=e.r;o=e.h;r=e.g},function(e){c=e.h},function(e){s=e.c},function(e){i=e.f},function(e){n=e.S}],execute:function(){var h=".sc-stzh-checkboxgroup-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-checkboxgroup-h{display:none}.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::before,.sc-stzh-checkboxgroup-h *.sc-stzh-checkboxgroup::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkboxgroup-h[direction=vertical] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-bottom:var(--stzh-space-medium)}.sc-stzh-checkboxgroup-h[direction=horizontal] .sc-stzh-checkboxgroup-s>stzh-checkbox:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-checkboxgroup.sc-stzh-checkboxgroup{margin:0;padding:0;border:none}.stzh-checkboxgroup__marker-symbol.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkboxgroup__marker-text.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup__description-wrapper.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkboxgroup__error.sc-stzh-checkboxgroup{color:var(--stzh-color-error)}.stzh-checkboxgroup__error-list.sc-stzh-checkboxgroup{list-style:none;margin:0;padding:0}.stzh-checkboxgroup__description.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkboxgroup__description-long.sc-stzh-checkboxgroup{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkboxgroup__description-long-popover.sc-stzh-checkboxgroup{--width:auto;--max-width:27.3125rem}.stzh-checkboxgroup__description-long-popover[open].sc-stzh-checkboxgroup:not([open=false]) .stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-checkboxgroup__description-long-button.sc-stzh-checkboxgroup:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkboxgroup.sc-stzh-checkboxgroup stzh-icon.stzh-checkboxgroup__description-long-icon.sc-stzh-checkboxgroup{--size:var(--stzh-icon-size-xsmall)}.stzh-checkboxgroup--has-error.sc-stzh-checkboxgroup .stzh-checkboxgroup__error.sc-stzh-checkboxgroup,.stzh-checkboxgroup--has-description.sc-stzh-checkboxgroup .stzh-checkboxgroup__description.sc-stzh-checkboxgroup{margin-top:var(--stzh-space-xxsmall)}.stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column}.stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-checkboxgroup--hide-legend.sc-stzh-checkboxgroup .stzh-checkboxgroup__legend.sc-stzh-checkboxgroup{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkboxgroup--direction-horizontal.sc-stzh-checkboxgroup .stzh-checkboxgroup__fields.sc-stzh-checkboxgroup{-ms-flex-direction:row;flex-direction:row}";var a=0;var l=e("stzh_checkboxgroup",function(){function e(e){var o=this;t(this,e);this.disabled=false;this.hideLegend=false;this.invalid=false;this.showMarker=false;this.value="";this._value=[];this.direction="vertical";this.checkedCheckbox=null;this.preventUpdateProperties=[];this.init=function(){o.checkboxes=Array.from(o.element.querySelectorAll("stzh-checkbox"));o.updateCheckboxesProperty("a11y-describedby","".concat(o.checkboxgroupId,"-description"));o.watchValue(o.value);o.watchName(o.name);o.watchDisabled(o.disabled);o.watchInvalid(o.invalid);o.watchShowMarker(o.showMarker)}}e.prototype.watchName=function(e){this.updateCheckboxesProperty("name",e)};e.prototype.watchDisabled=function(e){this.updateCheckboxesProperty("disabled",e)};e.prototype.watchInvalid=function(e){this.updateCheckboxesProperty("invalid",e)};e.prototype.watchShowMarker=function(e){this.updateCheckboxesProperty("showMarker",e)};e.prototype.watchValue=function(e){if(typeof e==="string"){this._value=JSON.parse(e)}else{this._value=e}this.updateCheckedCheckboxByValue(this._value)};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(t){if(e){this._error=[e]}else{this._error=[]}}}else if(e){this._error=e}else{this._error=[]}this.invalid=this._error.length>0};e.prototype.onChange=function(e){if(e.detail.checked){this._value.push(e.detail.value)}else{this._value=this._value.filter((function(t){return t!==e.detail.value}))}this.value=this._value};e.prototype.updateCheckboxesProperty=function(e,t){var o=this;this.checkboxes.forEach((function(r){if(e==="name"||o.preventUpdateProperties.indexOf(e)===-1){r[s(e)]=t}}))};e.prototype.updateCheckedCheckboxByValue=function(e){this.checkedCheckbox=this.checkboxes.filter((function(t){return e.indexOf(t.value)>-1}));this.checkboxes.forEach((function(t){return t.checked=e.indexOf(t.value)>-1}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.checkboxgroupId="stzh-checkboxgroup-".concat(a++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,i(this.element,"checkboxgroup")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentShouldUpdate=function(e,t,o){return o!=="checkedCheckbox"};e.prototype.componentDidRender=function(){this.init()};e.prototype.connectedCallback=function(){if(!this.value.length){this.checkboxes=Array.from(this.element.querySelectorAll("stzh-checkbox"));this.value=this.checkboxes.filter((function(e){return e.checked})).map((function(e){return e.value}))}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect()};e.prototype.render=function(){var e;var t=c(this.element,"description")||!!this.description;var r=c(this.element,"description-long")||!!this.descriptionLong;var s=c(this.element,"error")||!!this.error;var i=(e={"stzh-checkboxgroup":true,"stzh-checkboxgroup--has-description":t,"stzh-checkboxgroup--has-description-long":r,"stzh-checkboxgroup--has-error":s,"stzh-checkboxgroup--is-disabled":this.disabled,"stzh-checkboxgroup--is-invalid":this.invalid,"stzh-checkboxgroup--hide-legend":this.hideLegend},e["stzh-checkboxgroup--direction-".concat(this.direction)]=!!this.direction,e);return o("fieldset",{class:i},this.legend&&o("legend",{class:"stzh-checkboxgroup__legend"},this.legend),o("div",{class:"stzh-checkboxgroup__fields"},o("slot",null)),o(n,{classPrefix:"stzh-checkboxgroup",id:"".concat(this.checkboxgroupId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["watchName"],disabled:["watchDisabled"],invalid:["watchInvalid"],showMarker:["watchShowMarker"],value:["watchValue"],error:["errorWatcher"]}},enumerable:false,configurable:true});return e}());l.style=h}}}));
@@ -1 +1 @@
1
- import{h as a,r as e,c as t,a as s,g as r}from"./p-65282c9d.js";import{i as n,b as i,g as l,c as h,D as c,p as o,d,a as z,e as b,s as p,f as u,h as _,j as f,k as m,l as v}from"./p-77a00e55.js";import{f as y}from"./p-25a09313.js";const g=({focusedDay:e,today:t,day:s,onDaySelect:r,onKeyboardNavigation:l,focusedDayRef:h,disabled:c,inRange:o,isSelected:d,dateFormatter:z})=>{const b=n(s,t),p=i(s,e),u=n(s,e),_=!o;return a("button",{class:{"stzh-calendar__day":!0,"is-outside":_,"is-today":b,"is-month":p,"is-disabled":c},tabIndex:u?0:-1,onClick:function(a){r(a,s)},onKeyDown:l,"aria-disabled":c?"true":void 0,disabled:_,type:"button","aria-pressed":d?"true":"false","aria-current":b?"date":void 0,ref:a=>{u&&a&&h&&h(a)}},a("span",{"aria-hidden":"true"},s.getDate()),a("span",{class:"stzh-calendar__vhidden"},z.format(s)))},x=({selectedDate:e,focusedDate:t,labelledById:s,localization:r,firstDayOfWeek:i,min:c,max:o,dateFormatter:d,isDateDisabled:z,onDateSelect:b,onKeyboardNavigation:p,focusedDayRef:u})=>{const _=new Date,f=l(t,i);return a("table",{class:"stzh-calendar__table","aria-labelledby":s},a("thead",null,a("tr",null,(v=i,y=e=>a("th",{class:"stzh-calendar__table-header",scope:"col"},a("span",{"aria-hidden":"true"},e.substring(0,2)),a("span",{class:"stzh-calendar__vhidden"},e)),(m=r.$globals.dayNames).map(((a,e)=>y(m[(e+v)%m.length])))))),a("tbody",null,function(a){const e=[];for(let t=0;t<a.length;t+=7)e.push(a.slice(t,t+7));return e}(f).map((s=>a("tr",{class:"stzh-calendar__row"},s.map((s=>a("td",{class:"stzh-calendar__cell"},a(g,{day:s,today:_,focusedDay:t,isSelected:n(s,e),disabled:z(s),inRange:h(s,c,o),onDaySelect:b,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))));var m,v,y};let w=0;const k=class{constructor(a){e(this,a),this.stzhChange=t(this,"stzhChange",7),this.value="",this.min="",this.max="",this.firstDayOfWeek=c.Monday,this.isDateDisabled=()=>!1,this.activeFocus=!1,this.focusedDay=new Date,this.initialTouchX=null,this.initialTouchY=null,this.enableActiveFocus=()=>{this.activeFocus=!0},this.disableActiveFocus=()=>{this.activeFocus=!1},this.handleTouchStart=a=>{const e=a.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchEnd=a=>{const e=a.changedTouches[0],t=e.pageX-this.initialTouchX,s=e.pageY-this.initialTouchY;Math.abs(t)>=70&&Math.abs(s)<=70&&this.addMonths(t<0?1:-1),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=a=>{a.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=a=>{a.preventDefault(),this.addMonths(-1)},this.handleKeyboardNavigation=a=>{var e=!0;switch(a.keyCode){case 39:this.addDays(1);break;case 37:this.addDays(-1);break;case 40:this.addDays(7);break;case 38:this.addDays(-7);break;case 33:a.shiftKey?this.addYears(-1):this.addMonths(-1);break;case 34:a.shiftKey?this.addYears(1):this.addMonths(1);break;case 36:this.startOfWeek();break;case 35:this.endOfWeek();break;default:e=!1}e&&(a.preventDefault(),this.enableActiveFocus())},this.handleDaySelect=(a,e)=>{const t=h(e,o(this.min),o(this.max)),s=!this.isDateDisabled(e);t&&s?(this.setDate(e),this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:e})):this.setFocusedDay(e)},this.handleMonthSelect=a=>{this.setMonth(parseInt(a.target.value,10))},this.handleYearSelect=a=>{this.setYear(parseInt(a.target.value,10))},this.processFocusedDayNode=a=>{this.activeFocus&&setTimeout((()=>a.focus()),0)}}createDateFormatters(){this.localization&&(this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"}))}valueWatcher(a){this.setFocusedDay(a?o(this.value):new Date)}async setFocusedDay(a){this.focusedDay=d(a,o(this.min),o(this.max))}async setDate(a){this.value=z(a)}addDays(a){this.setFocusedDay(b(this.focusedDay,a))}addMonths(a){this.setMonth(this.focusedDay.getMonth()+a)}addYears(a){this.setYear(this.focusedDay.getFullYear()+a)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(a){const e=_(f(this.focusedDay),a),t=m(e),s=_(this.focusedDay,a);this.setFocusedDay(d(s,e,t))}setYear(a){const e=v(f(this.focusedDay),a),t=m(e),s=v(this.focusedDay,a);this.setFocusedDay(d(s,e,t))}async componentWillLoad(){this.monthSelectId=`stzh-calendar-month-${w}`,this.yearSelectId=`stzh-calendar-year-${w}`,this.dialogLabelId=`stzh-calendar-dialog-${w}`,w++,this.valueWatcher(this.value),this.localization||(this.localization=await y(this.element,"calendar"))}connectedCallback(){this.createDateFormatters()}render(){const e=o(this.value),t=(e||this.focusedDay).getFullYear(),r=this.focusedDay.getMonth(),n=this.focusedDay.getFullYear(),i=o(this.min),l=o(this.max),c=null!=i&&i.getMonth()===r&&i.getFullYear()===n,d=null!=l&&l.getMonth()===r&&l.getFullYear()===n,z=i?i.getFullYear():t-10,b=l?l.getFullYear():t+10;return a(s,null,a("div",{class:{"stzh-calendar":!0},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},a("div",{class:"stzh-calendar__wrapper"},a("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},a("div",null,a("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[r],this.focusedDay.getFullYear()),a("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map(((e,t)=>a("option",{key:e,value:t,selected:t===r,disabled:!h(new Date(n,t,1),i?f(i):null,l?m(l):null)},e)))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.localization.$globals.monthNamesShort[r]),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),a("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},function(a,e){for(var t=[],s=a;s<=e;s++)t.push(s);return t}(z,b).map((e=>a("option",{key:e,selected:e===n},e)))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.focusedDay.getFullYear()),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),a("div",{class:"stzh-calendar__nav"},a("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:c,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),a("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:d,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),a(x,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:i,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return r(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};k.style='.sc-stzh-calendar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;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;color:var(--stzh-base-color);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-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.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-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';export{k as stzh_calendar}
1
+ import{h as a,r as e,c as t,a as s,g as r}from"./p-93e8e31f.js";import{i as n,b as i,g as l,c as h,D as c,p as o,d,a as z,e as b,s as p,f as u,h as _,j as f,k as m,l as v}from"./p-77a00e55.js";import{f as y}from"./p-25a09313.js";const g=({focusedDay:e,today:t,day:s,onDaySelect:r,onKeyboardNavigation:l,focusedDayRef:h,disabled:c,inRange:o,isSelected:d,dateFormatter:z})=>{const b=n(s,t),p=i(s,e),u=n(s,e),_=!o;return a("button",{class:{"stzh-calendar__day":!0,"is-outside":_,"is-today":b,"is-month":p,"is-disabled":c},tabIndex:u?0:-1,onClick:function(a){r(a,s)},onKeyDown:l,"aria-disabled":c?"true":void 0,disabled:_,type:"button","aria-pressed":d?"true":"false","aria-current":b?"date":void 0,ref:a=>{u&&a&&h&&h(a)}},a("span",{"aria-hidden":"true"},s.getDate()),a("span",{class:"stzh-calendar__vhidden"},z.format(s)))},x=({selectedDate:e,focusedDate:t,labelledById:s,localization:r,firstDayOfWeek:i,min:c,max:o,dateFormatter:d,isDateDisabled:z,onDateSelect:b,onKeyboardNavigation:p,focusedDayRef:u})=>{const _=new Date,f=l(t,i);return a("table",{class:"stzh-calendar__table","aria-labelledby":s},a("thead",null,a("tr",null,(v=i,y=e=>a("th",{class:"stzh-calendar__table-header",scope:"col"},a("span",{"aria-hidden":"true"},e.substring(0,2)),a("span",{class:"stzh-calendar__vhidden"},e)),(m=r.$globals.dayNames).map(((a,e)=>y(m[(e+v)%m.length])))))),a("tbody",null,function(a){const e=[];for(let t=0;t<a.length;t+=7)e.push(a.slice(t,t+7));return e}(f).map((s=>a("tr",{class:"stzh-calendar__row"},s.map((s=>a("td",{class:"stzh-calendar__cell"},a(g,{day:s,today:_,focusedDay:t,isSelected:n(s,e),disabled:z(s),inRange:h(s,c,o),onDaySelect:b,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))));var m,v,y};let w=0;const k=class{constructor(a){e(this,a),this.stzhChange=t(this,"stzhChange",7),this.value="",this.min="",this.max="",this.firstDayOfWeek=c.Monday,this.isDateDisabled=()=>!1,this.activeFocus=!1,this.focusedDay=new Date,this.initialTouchX=null,this.initialTouchY=null,this.enableActiveFocus=()=>{this.activeFocus=!0},this.disableActiveFocus=()=>{this.activeFocus=!1},this.handleTouchStart=a=>{const e=a.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchEnd=a=>{const e=a.changedTouches[0],t=e.pageX-this.initialTouchX,s=e.pageY-this.initialTouchY;Math.abs(t)>=70&&Math.abs(s)<=70&&this.addMonths(t<0?1:-1),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=a=>{a.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=a=>{a.preventDefault(),this.addMonths(-1)},this.handleKeyboardNavigation=a=>{var e=!0;switch(a.keyCode){case 39:this.addDays(1);break;case 37:this.addDays(-1);break;case 40:this.addDays(7);break;case 38:this.addDays(-7);break;case 33:a.shiftKey?this.addYears(-1):this.addMonths(-1);break;case 34:a.shiftKey?this.addYears(1):this.addMonths(1);break;case 36:this.startOfWeek();break;case 35:this.endOfWeek();break;default:e=!1}e&&(a.preventDefault(),this.enableActiveFocus())},this.handleDaySelect=(a,e)=>{const t=h(e,o(this.min),o(this.max)),s=!this.isDateDisabled(e);t&&s?(this.setDate(e),this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:e})):this.setFocusedDay(e)},this.handleMonthSelect=a=>{this.setMonth(parseInt(a.target.value,10))},this.handleYearSelect=a=>{this.setYear(parseInt(a.target.value,10))},this.processFocusedDayNode=a=>{this.activeFocus&&setTimeout((()=>a.focus()),0)}}createDateFormatters(){this.localization&&(this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"}))}valueWatcher(a){this.setFocusedDay(a?o(this.value):new Date)}async setFocusedDay(a){this.focusedDay=d(a,o(this.min),o(this.max))}async setDate(a){this.value=z(a)}addDays(a){this.setFocusedDay(b(this.focusedDay,a))}addMonths(a){this.setMonth(this.focusedDay.getMonth()+a)}addYears(a){this.setYear(this.focusedDay.getFullYear()+a)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(a){const e=_(f(this.focusedDay),a),t=m(e),s=_(this.focusedDay,a);this.setFocusedDay(d(s,e,t))}setYear(a){const e=v(f(this.focusedDay),a),t=m(e),s=v(this.focusedDay,a);this.setFocusedDay(d(s,e,t))}async componentWillLoad(){this.monthSelectId=`stzh-calendar-month-${w}`,this.yearSelectId=`stzh-calendar-year-${w}`,this.dialogLabelId=`stzh-calendar-dialog-${w}`,w++,this.valueWatcher(this.value),this.localization||(this.localization=await y(this.element,"calendar"))}connectedCallback(){this.createDateFormatters()}render(){const e=o(this.value),t=(e||this.focusedDay).getFullYear(),r=this.focusedDay.getMonth(),n=this.focusedDay.getFullYear(),i=o(this.min),l=o(this.max),c=null!=i&&i.getMonth()===r&&i.getFullYear()===n,d=null!=l&&l.getMonth()===r&&l.getFullYear()===n,z=i?i.getFullYear():t-10,b=l?l.getFullYear():t+10;return a(s,null,a("div",{class:{"stzh-calendar":!0},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},a("div",{class:"stzh-calendar__wrapper"},a("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},a("div",null,a("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[r],this.focusedDay.getFullYear()),a("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map(((e,t)=>a("option",{key:e,value:t,selected:t===r,disabled:!h(new Date(n,t,1),i?f(i):null,l?m(l):null)},e)))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.localization.$globals.monthNamesShort[r]),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),a("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),a("div",{class:"stzh-calendar__select-wrapper"},a("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},function(a,e){for(var t=[],s=a;s<=e;s++)t.push(s);return t}(z,b).map((e=>a("option",{key:e,selected:e===n},e)))),a("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},a("span",null,this.focusedDay.getFullYear()),a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),a("div",{class:"stzh-calendar__nav"},a("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:c,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),a("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:d,type:"button"},a("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),a("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),a(x,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:i,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return r(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};k.style='.sc-stzh-calendar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;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;color:var(--stzh-base-color);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-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.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-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';export{k as stzh_calendar}
@@ -1 +1 @@
1
- import{r as s,h as t,a as r,g as i}from"./p-65282c9d.js";import{m as e,a as h,r as a}from"./p-9111e257.js";const o=class{constructor(t){s(this,t),this.data=[],this.index=0,this.steps=5,this.stepsSmall=6,this.stepsMedium=0,this.stepsLarge=0,this.stepsUltra=0,this.setCurrentSteps=()=>{this.currentSteps=e("ultra").matches&&this.stepsUltra?this.stepsUltra:e("large").matches&&this.stepsLarge?this.stepsLarge:e("medium").matches&&this.stepsMedium?this.stepsMedium:e("small").matches&&this.stepsSmall?this.stepsSmall:this.steps,this.element.style.setProperty("--steps",this.currentSteps.toString())}}dataWatcher(s){this._data="string"==typeof s?JSON.parse(s):s,this.lastItemIndex=this._data.length-1,this.maxStepIndex=this.currentSteps-1,this.withinLastFewSteps=this.index>=this._data.length-this.maxStepIndex}getItemAttributes(s){const t={};if(t.step=s+1,t.first=0===s,t.last=s===this.lastItemIndex,t.current=s===this.index,t.passed=s<this.index,this._data.length>this.currentSteps)if(s!==this.lastItemIndex||this.withinLastFewSteps||(t.dotted=!0),this.index<2)t.hide=s>this.maxStepIndex-1&&s<this.lastItemIndex;else{0===s&&(t.dotted=!0);let r=this.index;this.withinLastFewSteps&&(r=this._data.length-this.maxStepIndex),t.hide=s>0&&s<r||s>this.index+(this.currentSteps-3)&&s<this.lastItemIndex}return t}componentWillLoad(){this.dataWatcher(this.data)}connectedCallback(){this.setCurrentSteps(),h(this.setCurrentSteps)}disconnectedCallback(){a(this.setCurrentSteps)}render(){return t(r,null,t("div",{class:{"stzh-progressbar":!0,[`stzh-progressbar--index-${this.index}`]:!!this.index}},t("div",{class:"stzh-progressbar__items",role:"list"},this._data.map(((s,r)=>t("stzh-progressbar-item",Object.assign({},this.getItemAttributes(r),{icon:s.icon,class:"stzh-progressbar__item"}),s.label))))))}get element(){return i(this)}static get watchers(){return{data:["dataWatcher"]}}};o.style=".sc-stzh-progressbar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-progressbar-h{display:none}.sc-stzh-progressbar-h *.sc-stzh-progressbar,.sc-stzh-progressbar-h *.sc-stzh-progressbar::before,.sc-stzh-progressbar-h *.sc-stzh-progressbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.6875rem * 2)}@media screen and (min-width: 600px){.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.9375rem * 2)}}.stzh-progressbar.sc-stzh-progressbar{position:relative;overflow:hidden}.stzh-progressbar__items.sc-stzh-progressbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.stzh-progressbar__item.sc-stzh-progressbar{-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;-ms-flex-preferred-size:0;flex-basis:0}";export{o as stzh_progressbar}
1
+ import{r as s,h as t,a as r,g as i}from"./p-93e8e31f.js";import{m as e,a as h,r as a}from"./p-9111e257.js";const o=class{constructor(t){s(this,t),this.data=[],this.index=0,this.steps=5,this.stepsSmall=6,this.stepsMedium=0,this.stepsLarge=0,this.stepsUltra=0,this.setCurrentSteps=()=>{this.currentSteps=e("ultra").matches&&this.stepsUltra?this.stepsUltra:e("large").matches&&this.stepsLarge?this.stepsLarge:e("medium").matches&&this.stepsMedium?this.stepsMedium:e("small").matches&&this.stepsSmall?this.stepsSmall:this.steps,this.element.style.setProperty("--steps",this.currentSteps.toString())}}dataWatcher(s){this._data="string"==typeof s?JSON.parse(s):s,this.lastItemIndex=this._data.length-1,this.maxStepIndex=this.currentSteps-1,this.withinLastFewSteps=this.index>=this._data.length-this.maxStepIndex}getItemAttributes(s){const t={};if(t.step=s+1,t.first=0===s,t.last=s===this.lastItemIndex,t.current=s===this.index,t.passed=s<this.index,this._data.length>this.currentSteps)if(s!==this.lastItemIndex||this.withinLastFewSteps||(t.dotted=!0),this.index<2)t.hide=s>this.maxStepIndex-1&&s<this.lastItemIndex;else{0===s&&(t.dotted=!0);let r=this.index;this.withinLastFewSteps&&(r=this._data.length-this.maxStepIndex),t.hide=s>0&&s<r||s>this.index+(this.currentSteps-3)&&s<this.lastItemIndex}return t}componentWillLoad(){this.dataWatcher(this.data)}connectedCallback(){this.setCurrentSteps(),h(this.setCurrentSteps)}disconnectedCallback(){a(this.setCurrentSteps)}render(){return t(r,null,t("div",{class:{"stzh-progressbar":!0,[`stzh-progressbar--index-${this.index}`]:!!this.index}},t("div",{class:"stzh-progressbar__items",role:"list"},this._data.map(((s,r)=>t("stzh-progressbar-item",Object.assign({},this.getItemAttributes(r),{icon:s.icon,class:"stzh-progressbar__item"}),s.label))))))}get element(){return i(this)}static get watchers(){return{data:["dataWatcher"]}}};o.style=".sc-stzh-progressbar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-progressbar-h{display:none}.sc-stzh-progressbar-h *.sc-stzh-progressbar,.sc-stzh-progressbar-h *.sc-stzh-progressbar::before,.sc-stzh-progressbar-h *.sc-stzh-progressbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.6875rem * 2)}@media screen and (min-width: 600px){.sc-stzh-progressbar-h{min-width:calc(var(--steps) * 1.9375rem * 2)}}.stzh-progressbar.sc-stzh-progressbar{position:relative;overflow:hidden}.stzh-progressbar__items.sc-stzh-progressbar{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.stzh-progressbar__item.sc-stzh-progressbar{-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;-ms-flex-preferred-size:0;flex-basis:0}";export{o as stzh_progressbar}
@@ -1 +1 @@
1
- import{r,c as s,h as t,F as e,a as o}from"./p-65282c9d.js";const i=class{constructor(t){r(this,t),this.stzhClick=s(this,"stzhClick",7),this.stzhDottedClick=s(this,"stzhDottedClick",7),this.first=!1,this.last=!1,this.passed=!1,this.current=!1,this.hide=!1,this.dotted=!1,this.step=1,this.icon="",this.onClick=r=>{this.stzhClick.emit({component:"stzh-progressbar-item",originalEvent:r})},this.onDottedClick=r=>{this.stzhDottedClick.emit({component:"stzh-progressbar-item",originalEvent:r})}}render(){const r={"stzh-progressbar-item":!0,"stzh-progressbar-item--first":this.first,"stzh-progressbar-item--last":this.last,"stzh-progressbar-item--passed":this.passed,"stzh-progressbar-item--current":this.current,"stzh-progressbar-item--hide":this.hide,"stzh-progressbar-item--dotted":this.dotted,"stzh-progressbar-item--has-icon":!!this.icon},s=t("button",{class:"stzh-progressbar-item__dotted",onClick:this.onDottedClick},t("stzh-icon",{class:"stzh-progressbar-item__dotted-icon",name:"more-horizontal"}));return t(o,{role:"listitem"},t("div",{class:r},this.last&&this.dotted&&s,t("button",{class:"stzh-progressbar-item__button",disabled:this.dotted&&this.first,onClick:this.onClick},t("span",{class:"stzh-progressbar-item__number-block"},this.icon?t("stzh-icon",{class:"stzh-progressbar-item__user-icon",name:this.icon}):t(e,null,t("span",{class:"stzh-progressbar-item__number"},this.step),this.passed&&t("stzh-icon",{class:"stzh-progressbar-item__icon",name:"checkmark"}))),t("span",{class:"stzh-progressbar-item__label-block"},t("slot",null))),this.first&&this.dotted&&s))}};i.style='.sc-stzh-progressbar-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-progressbar-item-h{display:none}.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item,.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item::before,.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hide].sc-stzh-progressbar-item-h{display:none}.stzh-progressbar-item.sc-stzh-progressbar-item{text-align:center}.stzh-progressbar-item__button.sc-stzh-progressbar-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;cursor:pointer;border-radius:var(--stzh-form-input-border-radius)}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{background-color:var(--stzh-color-primary8)}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__label-block.sc-stzh-progressbar-item,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:2.1875rem;height:2.1875rem;background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-grey13);border-radius:1.3125rem;text-align:center;margin-bottom:var(--stzh-space-large);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--stzh-color-grey55);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{width:2.625rem;height:2.625rem}}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:none;content:"";position:absolute;top:1rem;right:2.125rem;width:100vw;height:0.0625rem;background-color:var(--stzh-color-grey13);z-index:-2;overflow:hidden}@media screen and (min-width: 600px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:1.25rem;right:2.5625rem}}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item::after{content:"";z-index:0;position:absolute;display:block;width:100%;height:100%;top:0;left:0;border-radius:1.3125rem;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-size:0.875rem;line-height:1.28;color:var(--stzh-color-grey55);padding:var(--stzh-space-xxsmall) var(--stzh-space-small);letter-spacing:0.01em;display:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.stzh-progressbar-item__label-block.sc-stzh-progressbar-item{display:block}}.stzh-progressbar-item__number.sc-stzh-progressbar-item,.stzh-progressbar-item__icon.sc-stzh-progressbar-item,.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{z-index:1}.stzh-progressbar-item__icon.sc-stzh-progressbar-item,.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{--size:var(--stzh-icon-size-xsmall);position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{--size:var(--stzh-icon-size-small);color:currentColor}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item{z-index:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;top:0.1875rem;width:1.6875rem;height:1.6875rem;background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-grey13);border-radius:50%;cursor:pointer;-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover::after,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus::after{background-color:var(--stzh-color-primary8)}@media screen and (min-width: 600px){.stzh-progressbar-item__dotted.sc-stzh-progressbar-item{top:0.3125rem;width:1.9375rem;height:1.9375rem}}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover .stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus .stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before,.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:block}.stzh-progressbar-item--first.sc-stzh-progressbar-item{position:relative}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{right:calc((100% / var(--steps)) - (0.84375rem))}@media screen and (min-width: 600px){.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{right:calc((100% / var(--steps)) - (0.96875rem))}}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:transparent}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item:hover{text-decoration:none}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));border:solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white)}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:block;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));z-index:-1}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:var(--stzh-color-white)}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{margin-bottom:0}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{display:none}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item{padding-left:0;padding-right:0}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{position:relative;z-index:0;top:0.3125rem;width:1.6875rem;height:1.6875rem;border:none;background-color:transparent}@media screen and (min-width: 600px){.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{top:0.5rem;width:1.9375rem;height:1.9375rem}}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:0.75rem;right:1.625rem}@media screen and (min-width: 600px){.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:0.8125rem;right:1.875rem}}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{display:none}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{background-color:var(--stzh-color-white);z-index:1}';export{i as stzh_progressbar_item}
1
+ import{r,c as s,h as t,F as e,a as o}from"./p-93e8e31f.js";const i=class{constructor(t){r(this,t),this.stzhClick=s(this,"stzhClick",7),this.stzhDottedClick=s(this,"stzhDottedClick",7),this.first=!1,this.last=!1,this.passed=!1,this.current=!1,this.hide=!1,this.dotted=!1,this.step=1,this.icon="",this.onClick=r=>{this.stzhClick.emit({component:"stzh-progressbar-item",originalEvent:r})},this.onDottedClick=r=>{this.stzhDottedClick.emit({component:"stzh-progressbar-item",originalEvent:r})}}render(){const r={"stzh-progressbar-item":!0,"stzh-progressbar-item--first":this.first,"stzh-progressbar-item--last":this.last,"stzh-progressbar-item--passed":this.passed,"stzh-progressbar-item--current":this.current,"stzh-progressbar-item--hide":this.hide,"stzh-progressbar-item--dotted":this.dotted,"stzh-progressbar-item--has-icon":!!this.icon},s=t("button",{class:"stzh-progressbar-item__dotted",onClick:this.onDottedClick},t("stzh-icon",{class:"stzh-progressbar-item__dotted-icon",name:"more-horizontal"}));return t(o,{role:"listitem"},t("div",{class:r},this.last&&this.dotted&&s,t("button",{class:"stzh-progressbar-item__button",disabled:this.dotted&&this.first,onClick:this.onClick},t("span",{class:"stzh-progressbar-item__number-block"},this.icon?t("stzh-icon",{class:"stzh-progressbar-item__user-icon",name:this.icon}):t(e,null,t("span",{class:"stzh-progressbar-item__number"},this.step),this.passed&&t("stzh-icon",{class:"stzh-progressbar-item__icon",name:"checkmark"}))),t("span",{class:"stzh-progressbar-item__label-block"},t("slot",null))),this.first&&this.dotted&&s))}};i.style='.sc-stzh-progressbar-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-progressbar-item-h{display:none}.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item,.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item::before,.sc-stzh-progressbar-item-h *.sc-stzh-progressbar-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}[hide].sc-stzh-progressbar-item-h{display:none}.stzh-progressbar-item.sc-stzh-progressbar-item{text-align:center}.stzh-progressbar-item__button.sc-stzh-progressbar-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;cursor:pointer;border-radius:var(--stzh-form-input-border-radius)}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{background-color:var(--stzh-color-primary8)}.stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__label-block.sc-stzh-progressbar-item,.stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:2.1875rem;height:2.1875rem;background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-grey13);border-radius:1.3125rem;text-align:center;margin-bottom:var(--stzh-space-large);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--stzh-color-grey55);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item{width:2.625rem;height:2.625rem}}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:none;content:"";position:absolute;top:1rem;right:2.125rem;width:100vw;height:0.0625rem;background-color:var(--stzh-color-grey13);z-index:-2;overflow:hidden}@media screen and (min-width: 600px){.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:1.25rem;right:2.5625rem}}.stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item::after{content:"";z-index:0;position:absolute;display:block;width:100%;height:100%;top:0;left:0;border-radius:1.3125rem;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-size:0.875rem;line-height:1.28;color:var(--stzh-color-grey55);padding:var(--stzh-space-xxsmall) var(--stzh-space-small);letter-spacing:0.01em;display:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.stzh-progressbar-item__label-block.sc-stzh-progressbar-item{display:block}}.stzh-progressbar-item__number.sc-stzh-progressbar-item,.stzh-progressbar-item__icon.sc-stzh-progressbar-item,.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{z-index:1}.stzh-progressbar-item__icon.sc-stzh-progressbar-item,.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{--size:var(--stzh-icon-size-xsmall);position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{--size:var(--stzh-icon-size-small);color:currentColor}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item{z-index:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;top:0.1875rem;width:1.6875rem;height:1.6875rem;background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-grey13);border-radius:50%;cursor:pointer;-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover::after,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus::after{background-color:var(--stzh-color-primary8)}@media screen and (min-width: 600px){.stzh-progressbar-item__dotted.sc-stzh-progressbar-item{top:0.3125rem;width:1.9375rem;height:1.9375rem}}.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:hover .stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item,.stzh-progressbar-item__dotted.sc-stzh-progressbar-item:focus .stzh-progressbar-item__dotted-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before,.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:block}.stzh-progressbar-item--first.sc-stzh-progressbar-item{position:relative}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{right:calc((100% / var(--steps)) - (0.84375rem))}@media screen and (min-width: 600px){.stzh-progressbar-item--last.sc-stzh-progressbar-item .stzh-progressbar-item__dotted.sc-stzh-progressbar-item{right:calc((100% / var(--steps)) - (0.96875rem))}}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{background-color:var(--stzh-color-white);border:solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:transparent}.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item,.stzh-progressbar-item--passed.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__user-icon.sc-stzh-progressbar-item{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item:hover{text-decoration:none}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));border:solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white)}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{display:block;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));z-index:-1}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item,.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{color:var(--stzh-color-white)}.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:hover .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after,.stzh-progressbar-item--current.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item:focus .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{margin-bottom:0}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::after{display:none}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__button.sc-stzh-progressbar-item{padding-left:0;padding-right:0}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{position:relative;z-index:0;top:0.3125rem;width:1.6875rem;height:1.6875rem;border:none;background-color:transparent}@media screen and (min-width: 600px){.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item{top:0.5rem;width:1.9375rem;height:1.9375rem}}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:0.75rem;right:1.625rem}@media screen and (min-width: 600px){.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{top:0.8125rem;right:1.875rem}}.stzh-progressbar-item--dotted.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__label-block.sc-stzh-progressbar-item{display:none}.stzh-progressbar-item--first.sc-stzh-progressbar-item .stzh-progressbar-item__number-block.sc-stzh-progressbar-item::before{background-color:var(--stzh-color-white);z-index:1}';export{i as stzh_progressbar_item}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,r){function s(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,i){function n(t){try{p(r.next(t))}catch(e){i(e)}}function a(t){try{p(r["throw"](t))}catch(e){i(e)}}function p(t){t.done?o(t.value):s(t.value).then(n,a)}p((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,n;return n={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function a(t){return function(e){return p([t,e])}}function p(n){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,s&&(i=n[0]&2?s["return"]:n[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,n[1])).done)return i;if(s=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:o.label++;return{value:n[1],done:false};case 5:o.label++;s=n[1];n=[0];continue;case 7:n=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){o=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){o.label=n[1];break}if(n[0]===6&&o.label<i[1]){o.label=i[1];i=n;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(n);break}if(i[2])o.ops.pop();o.trys.pop();continue}n=e.call(t,o)}catch(a){n=[6,a];s=0}finally{r=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-30b347ee.system.js","./p-1e4b4d71.system.js","./p-e20369c8.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js","./p-5318ba20.system.js","./p-6267a327.system.js"],(function(t){"use strict";var e,o,r,s,i,n,a,p,l,h,c,d,v,u,m,f,z,g;return{setters:[function(t){e=t.r;o=t.c;r=t.h;s=t.a;i=t.g},function(t){n=t.c;a=t.a;p=t.A;l=t.o;h=t.f;c=t.s;d=t.b},function(t){v=t.c},function(t){u=t.f},function(t){m=t.m},function(t){f=t.w},function(t){z=t.s;g=t.a}],execute:function(){var b=".sc-stzh-popover-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";var w=200;var _=300;var x=100;var y=200;function k(){var t=m("small").matches;return{keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:t?x:w,easing:"linear"}}}function E(){var t=m("small").matches;return{keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:t?y:_,easing:"linear"}}}function C(){var t=m("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?x:w,easing:"linear"}}}function T(){var t=m("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?y:_,easing:"linear"}}}var O={ESC:27};var Y="stzh-popover-open";var j=0;var P=t("stzh_popover",function(){function t(t){var r=this;e(this,t);this.stzhOpen=o(this,"stzhOpen",7);this.stzhOpened=o(this,"stzhOpened",7);this.stzhClose=o(this,"stzhClose",7);this.stzhClosed=o(this,"stzhClosed",7);this.open=false;this.placement="bottom";this.variant="default";this.skidding=0;this.label="";this.initialTouchX=null;this.initialTouchY=null;this.handleKeydown=function(t){if(t.keyCode===O.ESC){r.hide()}};this.onClickTrigger=function(){r.toggle()};this.computePosition=function(){return __awaiter(r,void 0,void 0,(function(){var t,e,o,r,s,i,a,p,v,u;return __generator(this,(function(f){switch(f.label){case 0:if(!m("small").matches)return[3,2];t=[l({mainAxis:this.distance,crossAxis:this.skidding}),h({padding:5}),c({padding:5})];if(this.variant==="tooltip"){t.push(d({element:this.arrowElement,padding:5}))}return[4,n(this.element,this.dialogElement,{placement:this.placement,middleware:t})];case 1:e=f.sent(),o=e.x,r=o===void 0?0:o,s=e.y,i=s===void 0?0:s,a=e.strategy,p=a===void 0?"absolute":a,v=e.placement,u=e.middlewareData;this.computedPlacement=v;Object.assign(this.dialogElement.style,{position:p,left:"".concat(r,"px"),top:"".concat(i,"px")});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:r!=null?"".concat(u.arrow.x,"px"):"",top:i!=null?"".concat(u.arrow.y,"px"):""})}return[3,3];case 2:Object.assign(this.dialogElement.style,{position:null,left:null,top:null});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:null,top:null})}f.label=3;case 3:return[2]}}))}))};this.handleTouchStart=function(t){var e=t.changedTouches[0];r.initialTouchX=e.pageX;r.initialTouchY=e.pageY};this.handleTouchEnd=function(t){var e=t.changedTouches[0];var o=e.pageX-r.initialTouchX;var s=e.pageY-r.initialTouchY;var i=70;var n=Math.abs(s)>=i&&Math.abs(o)<=i;if(n){r.hide()}r.initialTouchY=null;r.initialTouchX=null}}t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.toggledByMethod=true;this.open=true;return[2,f(this.element,"stzhOpened")]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggledByMethod=true;this.open=false;return[2,f(this.element,"stzhClosed")]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.open)return[3,2];return[4,this.hide()];case 1:return[2,t.sent()];case 2:return[4,this.show()];case 3:return[2,t.sent()]}}))}))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.computePosition()];case 1:return[2,t.sent()]}}))}))};t.prototype.handleOutsideClick=function(t){if(!this.open){return}var e=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;var o=t.target===this.triggerElement||this.triggerElement.contains(t.target);if(e&&!o){this.hide()}};t.prototype.openWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,o,r,s;return __generator(this,(function(i){switch(i.label){case 0:if(!t)return[3,3];if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-popover"})}e=k();o=C();return[4,Promise.all([z(this.contentWrapperElement),z(this.contentElement),z(this.dialogElement)])];case 1:i.sent();this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right";this.contentWrapperElement.hidden=false;return[4,Promise.all([g(this.contentWrapperElement,e.keyframes,e.options),g(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)])];case 2:i.sent();if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-popover"})}return[3,6];case 3:if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-popover"})}r=E();s=T();return[4,Promise.all([z(this.contentWrapperElement),z(this.contentElement),z(this.dialogElement)])];case 4:i.sent();return[4,Promise.all([g(this.contentWrapperElement,r.keyframes,r.options),g(m("small").matches?this.dialogElement:this.contentElement,s.keyframes,s.options)])];case 5:i.sent();this.contentWrapperElement.hidden=true;this.dialogElement.style.willChange="auto";if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-popover"})}i.label=6;case 6:this.toggledByMethod=false;return[2]}}))}))};t.prototype.distanceWatcher=function(t){if(typeof t==="number"){this.distance=t}else{this.distance=this.variant==="tooltip"?16:8}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.labelId="stzh-popover-label-".concat(j);j++;this.distanceWatcher(this.distance);if(!!this.localization)return[3,2];t=this;return[4,u(this.element,"popover")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.popoverShown=function(){document.body.classList.add(Y);this.triggerElement.firstElementChild.setAttribute("aria-expanded","true");if(this.trap){this.trap.activate()}};t.prototype.popoverHidden=function(){document.body.classList.remove(Y);this.triggerElement.firstElementChild.setAttribute("aria-expanded","false");if(this.trap){this.trap.deactivate()}};t.prototype.componentDidRender=function(){this.computePosition();this.open?this.popoverShown():this.popoverHidden()};t.prototype.componentDidUpdate=function(){this.trap.updateContainerElements(this.dialogElement)};t.prototype.componentDidLoad=function(){this.autoUpdateCleanup=a(this.element,this.dialogElement,this.computePosition);this.contentWrapperElement.hidden=!this.open;this.trap=v(this.dialogElement,{fallbackFocus:this.dialogElement,clickOutsideDeactivates:true,returnFocusOnDeactivate:true});if(this.open){this.popoverShown()}};t.prototype.connectedCallback=function(){var t;var e=(t=this.triggerElement)===null||t===void 0?void 0:t.firstElementChild;if(!e){var o=Array.from(this.element.children).find((function(t){return!t.hasAttribute("slot")}));e=o}if(e){e.addEventListener("click",this.onClickTrigger)}};t.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger)};t.prototype.render=function(){var t;var e=this;var o=(t={"stzh-popover":true},t["stzh-popover--open"]=this.open,t["stzh-popover--placement-".concat(this.computedPlacement)]=!!this.computedPlacement,t["stzh-popover--".concat(this.variant)]=!!this.variant,t);return r(s,null,r("div",{class:o,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},r("div",{ref:function(t){return e.triggerElement=t},class:"stzh-popover__trigger"},r("slot",null)),r("div",{ref:function(t){return e.contentWrapperElement=t},class:"stzh-popover__content-wrapper"},r("div",{class:"stzh-popover__backdrop"}),r("div",{ref:function(t){return e.contentElement=t},class:"stzh-popover__content"},r("div",{ref:function(t){return e.dialogElement=t},class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?this.labelId:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},this.variant==="tooltip"&&r("div",{class:"stzh-popover__arrow",ref:function(t){return e.arrowElement=t},innerHTML:p}),r("div",{class:"stzh-popover__content-inner"},r("div",{class:"stzh-popover__content-slot"},r("slot",{name:"content"}),r("div",{class:"stzh-popover__action-slot"},r("slot",{name:"action"}))),r("div",{class:"stzh-popover__label-wrapper"},r("h2",{id:this.labelId,class:"stzh-popover__label"},this.label?this.label:r("slot",{name:"label"})),r("button",{class:"stzh-popover__close",onClick:function(){return e.hide()},type:"button"},r("stzh-icon",{name:"close",class:"stzh-popover__icon"}),r("span",{class:"stzh-popover__vhidden"},this.localization.close)))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["openWatcher"],distance:["distanceWatcher"]}},enumerable:false,configurable:true});return t}());P.style=b}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,o,r){function s(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,i){function n(t){try{p(r.next(t))}catch(e){i(e)}}function a(t){try{p(r["throw"](t))}catch(e){i(e)}}function p(t){t.done?o(t.value):s(t.value).then(n,a)}p((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,n;return n={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function a(t){return function(e){return p([t,e])}}function p(n){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,s&&(i=n[0]&2?s["return"]:n[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,n[1])).done)return i;if(s=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:o.label++;return{value:n[1],done:false};case 5:o.label++;s=n[1];n=[0];continue;case 7:n=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){o=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){o.label=n[1];break}if(n[0]===6&&o.label<i[1]){o.label=i[1];i=n;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(n);break}if(i[2])o.ops.pop();o.trys.pop();continue}n=e.call(t,o)}catch(a){n=[6,a];s=0}finally{r=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-1e4b4d71.system.js","./p-e20369c8.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js","./p-5318ba20.system.js","./p-6267a327.system.js"],(function(t){"use strict";var e,o,r,s,i,n,a,p,l,h,c,d,v,u,m,f,z,g;return{setters:[function(t){e=t.r;o=t.c;r=t.h;s=t.a;i=t.g},function(t){n=t.c;a=t.a;p=t.A;l=t.o;h=t.f;c=t.s;d=t.b},function(t){v=t.c},function(t){u=t.f},function(t){m=t.m},function(t){f=t.w},function(t){z=t.s;g=t.a}],execute:function(){var b=".sc-stzh-popover-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";var w=200;var _=300;var x=100;var y=200;function k(){var t=m("small").matches;return{keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:t?x:w,easing:"linear"}}}function E(){var t=m("small").matches;return{keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:t?y:_,easing:"linear"}}}function C(){var t=m("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?x:w,easing:"linear"}}}function T(){var t=m("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?y:_,easing:"linear"}}}var O={ESC:27};var Y="stzh-popover-open";var j=0;var P=t("stzh_popover",function(){function t(t){var r=this;e(this,t);this.stzhOpen=o(this,"stzhOpen",7);this.stzhOpened=o(this,"stzhOpened",7);this.stzhClose=o(this,"stzhClose",7);this.stzhClosed=o(this,"stzhClosed",7);this.open=false;this.placement="bottom";this.variant="default";this.skidding=0;this.label="";this.strategy="absolute";this.initialTouchX=null;this.initialTouchY=null;this.handleKeydown=function(t){if(t.keyCode===O.ESC){r.hide()}};this.onClickTrigger=function(){r.toggle()};this.computePosition=function(){return __awaiter(r,void 0,void 0,(function(){var t,e,o,r,s,i,a,p,v,u;return __generator(this,(function(f){switch(f.label){case 0:if(!m("small").matches)return[3,2];t=[l({mainAxis:this.distance,crossAxis:this.skidding}),h({padding:5}),c({padding:5})];if(this.variant==="tooltip"){t.push(d({element:this.arrowElement,padding:5}))}return[4,n(this.element,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t})];case 1:e=f.sent(),o=e.x,r=o===void 0?0:o,s=e.y,i=s===void 0?0:s,a=e.strategy,p=a===void 0?"absolute":a,v=e.placement,u=e.middlewareData;this.computedPlacement=v;Object.assign(this.dialogElement.style,{position:p,left:"".concat(r,"px"),top:"".concat(i,"px")});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:r!=null?"".concat(u.arrow.x,"px"):"",top:i!=null?"".concat(u.arrow.y,"px"):""})}return[3,3];case 2:Object.assign(this.dialogElement.style,{position:null,left:null,top:null});if(this.variant==="tooltip"){Object.assign(this.arrowElement.style,{left:null,top:null})}f.label=3;case 3:return[2]}}))}))};this.handleTouchStart=function(t){var e=t.changedTouches[0];r.initialTouchX=e.pageX;r.initialTouchY=e.pageY};this.handleTouchEnd=function(t){var e=t.changedTouches[0];var o=e.pageX-r.initialTouchX;var s=e.pageY-r.initialTouchY;var i=70;var n=Math.abs(s)>=i&&Math.abs(o)<=i;if(n){r.hide()}r.initialTouchY=null;r.initialTouchX=null}}t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.toggledByMethod=true;this.open=true;return[2,f(this.element,"stzhOpened")]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggledByMethod=true;this.open=false;return[2,f(this.element,"stzhClosed")]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.open)return[3,2];return[4,this.hide()];case 1:return[2,t.sent()];case 2:return[4,this.show()];case 3:return[2,t.sent()]}}))}))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.computePosition()];case 1:return[2,t.sent()]}}))}))};t.prototype.handleOutsideClick=function(t){if(!this.open){return}var e=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;var o=t.target===this.triggerElement||this.triggerElement.contains(t.target);if(e&&!o){this.hide()}};t.prototype.openWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,o,r,s;return __generator(this,(function(i){switch(i.label){case 0:if(!t)return[3,3];if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-popover"})}e=k();o=C();return[4,Promise.all([z(this.contentWrapperElement),z(this.contentElement),z(this.dialogElement)])];case 1:i.sent();this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right";this.contentWrapperElement.hidden=false;return[4,Promise.all([g(this.contentWrapperElement,e.keyframes,e.options),g(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)])];case 2:i.sent();if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-popover"})}return[3,6];case 3:if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-popover"})}r=E();s=T();return[4,Promise.all([z(this.contentWrapperElement),z(this.contentElement),z(this.dialogElement)])];case 4:i.sent();return[4,Promise.all([g(this.contentWrapperElement,r.keyframes,r.options),g(m("small").matches?this.dialogElement:this.contentElement,s.keyframes,s.options)])];case 5:i.sent();this.contentWrapperElement.hidden=true;this.dialogElement.style.willChange="auto";if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-popover"})}i.label=6;case 6:this.toggledByMethod=false;return[2]}}))}))};t.prototype.distanceWatcher=function(t){if(typeof t==="number"){this.distance=t}else{this.distance=this.variant==="tooltip"?16:8}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.labelId="stzh-popover-label-".concat(j);j++;this.distanceWatcher(this.distance);if(!!this.localization)return[3,2];t=this;return[4,u(this.element,"popover")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.popoverShown=function(){document.body.classList.add(Y);this.triggerElement.firstElementChild.setAttribute("aria-expanded","true");if(this.trap){this.trap.activate()}};t.prototype.popoverHidden=function(){document.body.classList.remove(Y);this.triggerElement.firstElementChild.setAttribute("aria-expanded","false");if(this.trap){this.trap.deactivate()}};t.prototype.componentDidRender=function(){this.computePosition();this.open?this.popoverShown():this.popoverHidden()};t.prototype.componentDidUpdate=function(){this.trap.updateContainerElements(this.dialogElement)};t.prototype.componentDidLoad=function(){this.autoUpdateCleanup=a(this.element,this.dialogElement,this.computePosition);this.contentWrapperElement.hidden=!this.open;this.trap=v(this.dialogElement,{fallbackFocus:this.dialogElement,clickOutsideDeactivates:true,returnFocusOnDeactivate:true});if(this.open){this.popoverShown()}};t.prototype.connectedCallback=function(){var t;var e=(t=this.triggerElement)===null||t===void 0?void 0:t.firstElementChild;if(!e){var o=Array.from(this.element.children).find((function(t){return!t.hasAttribute("slot")}));e=o}if(e){e.addEventListener("click",this.onClickTrigger)}};t.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger)};t.prototype.render=function(){var t;var e=this;var o=(t={"stzh-popover":true},t["stzh-popover--open"]=this.open,t["stzh-popover--placement-".concat(this.computedPlacement)]=!!this.computedPlacement,t["stzh-popover--".concat(this.variant)]=!!this.variant,t);return r(s,null,r("div",{class:o,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},r("div",{ref:function(t){return e.triggerElement=t},class:"stzh-popover__trigger"},r("slot",null)),r("div",{ref:function(t){return e.contentWrapperElement=t},class:"stzh-popover__content-wrapper"},r("div",{class:"stzh-popover__backdrop"}),r("div",{ref:function(t){return e.contentElement=t},class:"stzh-popover__content"},r("div",{ref:function(t){return e.dialogElement=t},class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?this.labelId:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},this.variant==="tooltip"&&r("div",{class:"stzh-popover__arrow",ref:function(t){return e.arrowElement=t},innerHTML:p}),r("div",{class:"stzh-popover__content-inner"},r("div",{class:"stzh-popover__content-slot"},r("slot",{name:"content"}),r("div",{class:"stzh-popover__action-slot"},r("slot",{name:"action"}))),r("div",{class:"stzh-popover__label-wrapper"},r("h2",{id:this.labelId,class:"stzh-popover__label"},this.label?this.label:r("slot",{name:"label"})),r("button",{class:"stzh-popover__close",onClick:function(){return e.hide()},type:"button"},r("stzh-icon",{name:"close",class:"stzh-popover__icon"}),r("span",{class:"stzh-popover__vhidden"},this.localization.close)))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["openWatcher"],distance:["distanceWatcher"]}},enumerable:false,configurable:true});return t}());P.style=b}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){var e="@oiz/stzh-components";var n="2.0.0";var o=e.substring(e.indexOf("/")+1);function s(){window.addEventListener("appload",(function(t){var e=document.querySelector("[autofocus]");if(e&&t.detail.namespace===o&&e.tagName.toLowerCase().indexOf("stzh-")===0&&"setFocus"in e){e.setFocus()}}))}function i(){var t={threshold:1};var e=function(t){t.forEach((function(t){var e=0;if(t.intersectionRatio<1){e=window.innerWidth-document.body.clientWidth}document.documentElement.style.setProperty("--stzh-scrollbar-width",e+"px")}))};var n=new IntersectionObserver(e,t);n.observe(document.body)}function r(){window.stzhComponents=Object.assign({version:n,labels:"fixed",cacheTranslations:true,pathTranslations:"/",formats:{}},window.stzhComponents||{});s();i()}var a=t("g",r)}}}));
@@ -0,0 +1 @@
1
+ import{r as s,h as e,a}from"./p-93e8e31f.js";const h=class{constructor(e){s(this,e),this.curve="none",this.size="inherit",this.sizeSmall="inherit",this.sizeMedium="inherit",this.sizeLarge="inherit",this.sizeUltra="inherit",this.justify="start",this.around=!1,this.border="none"}render(){return e(a,null,e("div",{class:{"stzh-hspace":!0,[`stzh-hspace--justify-${this.justify}`]:!!this.justify,[`stzh-hspace--border-${this.border}`]:!!this.border}},e("slot",null)))}};h.style=".sc-stzh-hspace-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-hspace-h{display:none}.sc-stzh-hspace-h *.sc-stzh-hspace,.sc-stzh-hspace-h *.sc-stzh-hspace::before,.sc-stzh-hspace-h *.sc-stzh-hspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-hspace-h{--space:var(--stzh-space-default);--around:0}.sc-stzh-hspace-h .sc-stzh-hspace-s>*{max-width:100%;padding-left:calc(var(--space) * var(--around));padding-right:calc(var(--space) * var(--around));margin:0}.sc-stzh-hspace-h .sc-stzh-hspace-s>*:not(:last-child){margin-right:calc(var(--space) * (1 - var(--around)))}.sc-stzh-hspace-h .sc-stzh-hspace-s>stzh-vspace,.sc-stzh-hspace-h .sc-stzh-hspace-s>stzh-hspace,.sc-stzh-hspace-h .sc-stzh-hspace-s>stzh-row,.sc-stzh-hspace-h .sc-stzh-hspace-s>stzh-container,.sc-stzh-hspace-h .sc-stzh-hspace-s>stzh-section{-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}[around].sc-stzh-hspace-h{--around:1}[curve=tiny].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){[curve=tiny].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[curve=tiny].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}[curve=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}@media screen and (min-width: 1024px){[curve=small].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[curve=small].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}[curve=regular].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){[curve=regular].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[curve=regular].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}[curve=medium].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){[curve=medium].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[curve=medium].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}[curve=large].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){[curve=large].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){[curve=large].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}[curve=big].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){[curve=big].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){[curve=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){[curve=big].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}[curve=huge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){[curve=huge].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[curve=huge].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[curve=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}[size=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}[size=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}[size=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}[size=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}[size=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}[size=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}[size=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}[size=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}[size=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}[size=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}[size=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}[size=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}[size=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}[size=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}[size=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}[size=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}@media screen and (min-width: 600px){[size-small=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){[size-small=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){[size-small=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){[size-small=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 600px){[size-small=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){[size-small=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 600px){[size-small=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){[size-small=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){[size-small=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){[size-small=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){[size-small=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 600px){[size-small=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){[size-small=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){[size-small=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){[size-small=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 600px){[size-small=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 800px){[size-smallheader=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){[size-smallheader=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){[size-smallheader=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 800px){[size-smallheader=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){[size-smallheader=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 800px){[size-smallheader=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){[size-smallheader=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 800px){[size-smallheader=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){[size-smallheader=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){[size-smallheader=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){[size-smallheader=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 800px){[size-smallheader=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){[size-medium=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){[size-medium=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){[size-medium=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){[size-medium=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){[size-medium=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){[size-medium=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){[size-medium=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){[size-medium=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){[size-medium=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){[size-medium=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){[size-medium=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){[size-medium=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){[size-medium=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){[size-medium=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){[size-medium=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){[size-large=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){[size-large=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){[size-large=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){[size-large=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[size-large=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){[size-large=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){[size-large=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){[size-large=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){[size-large=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){[size-large=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){[size-large=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){[size-large=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){[size-large=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){[size-large=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){[size-large=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){[size-ultra=xxxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xxsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){[size-ultra=xsmall].sc-stzh-hspace-h{--space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){[size-ultra=small].sc-stzh-hspace-h{--space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){[size-ultra=medium].sc-stzh-hspace-h{--space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[size-ultra=large].sc-stzh-hspace-h{--space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){[size-ultra=xlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=xxxxlarge].sc-stzh-hspace-h{--space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){[size-ultra=big].sc-stzh-hspace-h{--space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){[size-ultra=xbig].sc-stzh-hspace-h{--space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){[size-ultra=huge].sc-stzh-hspace-h{--space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){[size-ultra=xhuge].sc-stzh-hspace-h{--space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){[size-ultra=none].sc-stzh-hspace-h{--space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){[size-ultra=default].sc-stzh-hspace-h{--space:var(--stzh-space-default)}}.stzh-hspace.sc-stzh-hspace{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0}.stzh-hspace.sc-stzh-hspace:empty{width:var(--space)}.stzh-hspace--border-left.sc-stzh-hspace{border-left:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--border-right.sc-stzh-hspace{border-right:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--justify-center.sc-stzh-hspace{-ms-flex-pack:center;justify-content:center}.stzh-hspace--justify-end.sc-stzh-hspace{-ms-flex-pack:end;justify-content:flex-end}.stzh-hspace--justify-between.sc-stzh-hspace{-ms-flex-pack:justify;justify-content:space-between}.stzh-hspace--justify-around.sc-stzh-hspace{-ms-flex-pack:distribute;justify-content:space-around}.stzh-hspace--justify-evenly.sc-stzh-hspace{-ms-flex-pack:space-evenly;justify-content:space-evenly}";export{h as stzh_hspace}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,s,a){function i(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,n){function l(t){try{r(a.next(t))}catch(e){n(e)}}function m(t){try{r(a["throw"](t))}catch(e){n(e)}}function r(t){t.done?s(t.value):i(t.value).then(l,m)}r((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,l;return l={next:m(0),throw:m(1),return:m(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function m(t){return function(e){return r([t,e])}}function r(l){if(a)throw new TypeError("Generator is already executing.");while(s)try{if(a=1,i&&(n=l[0]&2?i["return"]:l[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,l[1])).done)return n;if(i=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:s.label++;return{value:l[1],done:false};case 5:s.label++;i=l[1];l=[0];continue;case 7:l=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){s.label=l[1];break}if(l[0]===6&&s.label<n[1]){s.label=n[1];n=l;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(l);break}if(n[2])s.ops.pop();s.trys.pop();continue}l=e.call(t,s)}catch(m){l=[6,m];i=0}finally{a=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,s,a,i,n,l;return{setters:[function(t){e=t.r;s=t.c;a=t.h;i=t.a;n=t.g},function(t){l=t.f}],execute:function(){var m='.sc-stzh-datamessagelist-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-datamessagelist-item-h{display:none}.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::before,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-medium);display:-ms-flexbox;display:flex;position:relative;padding:var(--stzh-space-medium);background-color:var(--stzh-color-white)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xlarge)}}.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-datamessagelist-item__text.sc-stzh-datamessagelist-item{-ms-flex-positive:1;flex-grow:1}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing);color:var(--stzh-base-lead-color);margin:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:inherit;text-decoration:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{background-color:var(--stzh-color-primary4)}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{-webkit-line-clamp:1;line-clamp:1}}.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));display:table;list-style:none;margin:0;padding:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 calc(var(--stzh-space-xsmall) / -1)}}.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:table-row}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;margin:0 var(--stzh-space-xsmall)}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:table-cell}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:inline-block}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xsmall)}.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{color:var(--stzh-color-black)}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item{width:10rem}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:0;margin-left:var(--stzh-space-xxlarge)}}.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxsmall) / -1)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{margin:var(--stzh-space-xxsmall)}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-xxlarge);-ms-flex-pack:center;justify-content:center}}.stzh-datamessagelist-item__action-popover.sc-stzh-datamessagelist-item{--width:auto;--min-width:12.5rem}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{border-left:0.3125rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{border-left-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}';var r=t("stzh_datamessagelist_item",function(){function t(t){var a=this;e(this,t);this.stzhClick=s(this,"stzhClick",7);this.stzhActionClick=s(this,"stzhActionClick",7);this.heading="";this.unread=false;this.href="";this.description="";this.externalHref="";this.actionClick=function(t,e){a.stzhActionClick.emit({component:"stzh-datamessagelist-item",action:t,originalEvent:e})};this.itemClick=function(t){a.stzhClick.emit({component:"stzh-datamessagelist-item",originalEvent:t})}}t.prototype.loadingStatusWatcher=function(t){if(typeof t==="string"){this._loadingStatus=JSON.parse(t)}else{this._loadingStatus=t}};t.prototype.metaWatcher=function(t){if(typeof t==="string"){this._meta=JSON.parse(t)}else{this._meta=t}};t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.tagsWatcher=function(t){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.loadingStatusWatcher(this.loadingStatus);this.metaWatcher(this.meta);this.actionsWatcher(this.actions);this.tagsWatcher(this.tags);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"datamessagelist-item")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var e={"stzh-datamessagelist-item":true,"stzh-datamessagelist-item--is-unread":this.unread};return a(i,{role:"listitem"},a("article",{class:e},a("div",{class:"stzh-datamessagelist-item__content"},a("div",{class:"stzh-datamessagelist-item__text"},a("h3",{class:"stzh-datamessagelist-item__heading"},a("a",{class:"stzh-datamessagelist-item__heading-link",href:this.href,onClick:this.itemClick},this.heading)),this.description&&a("div",{class:"stzh-datamessagelist-item__description"},this.description),this._meta&&this._meta.length>0&&a("div",{class:"stzh-datamessagelist-item__meta-wrapper"},a("ul",{class:"stzh-datamessagelist-item__meta"},this._meta.map((function(t){return a("li",{class:"stzh-datamessagelist-item__meta-item"},a("span",{class:"stzh-datamessagelist-item__meta-item-label"},t.label),a("span",{class:"stzh-datamessagelist-item__meta-item-value"},t.value))}))))),this._loadingStatus&&a("stzh-status",{class:"stzh-datamessagelist-item__status",label:this._loadingStatus.label,percent:this._loadingStatus.percent,type:this._loadingStatus.type,withLoadingbar:true}),this._tags&&this._tags.length>0&&a("div",{class:"stzh-datamessagelist-item__tags-wrapper"},a("div",{class:"stzh-datamessagelist-item__tags"},this._tags.map((function(t){return a("stzh-chip",{class:"stzh-datamessagelist-item__tag",variant:"tag",size:"small",type:t.type,icon:t.icon,label:t.label})}))))),a("div",{class:"stzh-datamessagelist-item__actions"},this.externalHref&&a("stzh-button",{href:this.externalHref,variant:"tertiary",icon:"external-link",size:"tiny",iconOnly:true}),this._actions&&this._actions.length>0&&a("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-datamessagelist-item__action-popover"},a("stzh-button",{variant:"tertiary",size:"tiny",icon:"more-horizontal",iconOnly:true}),a("stzh-menu",{slot:"content"},this._actions.map((function(e){return a("stzh-menu-item",{icon:e.icon,badge:e.badge,onClick:function(s){t.actionClick(e,s)}},e.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loadingStatus:["loadingStatusWatcher"],meta:["metaWatcher"],actions:["actionsWatcher"],tags:["tagsWatcher"]}},enumerable:false,configurable:true});return t}());r.style=m}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as o,a as e,g as s}from"./p-93e8e31f.js";import{w as n}from"./p-df2bb358.js";import{s as c,a as r,b as a}from"./p-2a5855f8.js";const h=[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],d={duration:300,easing:"linear"},z=[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],m={duration:300,easing:"linear"};let l=0;const f=class{constructor(o){t(this,o),this.stzhOpen=i(this,"stzhOpen",7),this.stzhOpened=i(this,"stzhOpened",7),this.stzhClose=i(this,"stzhClose",7),this.stzhClosed=i(this,"stzhClosed",7),this.open=!1,this.disabled=!1,this.heading="",this.subtitle="",this.description="",this.icon="",this.badge="",this.badgeEmpty=!1,this.badgeType="default",this.headingLevel="3",this.toggledByMethod=!1,this.handleHeaderClick=()=>{this.toggle()},this.onButtonKeydown=t=>{let i=null;"ArrowDown"===t.key?i="next":"ArrowUp"===t.key?i="prev":"Home"===t.key?i="first":"End"===t.key?i="last":"PageDown"===t.key&&t.ctrlKey?i="next":"PageUp"===t.key&&t.ctrlKey&&(i="prev"),i&&(t.preventDefault(),this.element.closest("stzh-accordion").setItemFocus(this.element,i))},this.onContentKeydown=t=>{if(!t.ctrlKey)return;let i=null;"PageDown"===t.key?i="next":"PageUp"===t.key&&(i="prev"),i&&(t.preventDefault(),this.element.closest("stzh-accordion").setItemFocus(this.element,i))}}async openWatcher(t){t?(this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-accordion-item"}),await c(this.bodyElement),this.bodyElement.hidden=!1,await r(this.bodyElement,a(h,this.bodyElement.scrollHeight),d),this.bodyElement.style.height="auto",this.bodyElement.style.overflow="auto",this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-accordion-item"})):(this.toggledByMethod&&this.stzhClose.emit({component:"stzh-accordion-item"}),await c(this.bodyElement),await r(this.bodyElement,a(z,this.bodyElement.scrollHeight),m),this.bodyElement.hidden=!0,this.bodyElement.style.height="0px",this.bodyElement.style.overflow="hidden",this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-accordion-item"})),this.toggledByMethod=!1}async show(){if(!this.open&&!this.disabled)return this.toggledByMethod=!0,this.open=!0,n(this.element,"stzhOpened")}async hide(){const t=this.element.closest("stzh-accordion");if(this.open&&!this.disabled&&(!t||t.collapsible))return this.toggledByMethod=!0,this.open=!1,n(this.element,"stzhClosed")}async toggle(){return this.open?await this.hide():await this.show()}async setFocus(){this.buttonElement.focus()}componentWillLoad(){this.accordionItemId="stzh-accordion-item-"+l++}componentDidLoad(){this.bodyElement.hidden=!this.open,this.bodyElement.style.height=this.open?"auto":"0px",this.bodyElement.style.overflow=this.open?"auto":"hidden"}render(){return o(e,null,o("div",{class:{"stzh-accordion-item":!0,"stzh-accordion-item--has-description":!!this.description,"stzh-accordion-item--has-subtitle":!!this.subtitle,"stzh-accordion-item--is-open":this.open,"stzh-accordion-item--is-disabled":this.disabled}},o(`h${this.headingLevel}`,{id:`${this.accordionItemId}-header`,class:"stzh-accordion-item__heading",onClick:this.handleHeaderClick},o("button",{ref:t=>this.buttonElement=t,class:"stzh-accordion-item__button","aria-controls":`${this.accordionItemId}-content`,"aria-expanded":this.open?"true":"false",disabled:this.disabled,onKeyDown:this.onButtonKeydown,type:"button"},o("span",{class:"stzh-accordion-item__icon-wrapper"},this.icon?o("stzh-icon",{class:"stzh-accordion-item__icon",name:this.icon}):o("slot",{name:"icon"})),o("span",{class:"stzh-accordion-item__button-text"},o("span",{class:"stzh-accordion-item__subtitle"},this.subtitle),o("span",{class:"stzh-accordion-item__heading"},this.heading),o("span",{class:"stzh-accordion-item__description"},this.description)),o("span",{class:"stzh-accordion-item__button-icon"}),(this.badge||this.badgeEmpty)&&o("stzh-badge",{class:"stzh-accordion-item__badge",label:this.badge,type:this.badgeType}))),o("div",{id:`${this.accordionItemId}-content`,ref:t=>this.bodyElement=t,class:"stzh-accordion-item__content","aria-labelledby":`${this.accordionItemId}-header`,role:"region",onKeyDown:this.onContentKeydown},o("div",{class:"stzh-accordion-item__content-inner"},o("slot",null)))))}get element(){return s(this)}static get watchers(){return{open:["openWatcher"]}}};f.style='.sc-stzh-accordion-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-accordion-item-h{display:none}.sc-stzh-accordion-item-h *.sc-stzh-accordion-item,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::before,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-accordion-item-h{--trigger-size:1.3125rem;--content-padding:var(--stzh-accordion-content-padding);--content-background:var(--stzh-accordion-content-background);--icon-size:var(--stzh-icon-size-small)}.sc-stzh-accordion-item-h .sc-stzh-accordion-item-s>stzh-icon,.stzh-accordion-item__icon.sc-stzh-accordion-item{--size:var(--icon-size)}.stzh-accordion-item__heading.sc-stzh-accordion-item{position:relative;margin:0}.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:3.75rem;border:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-primary, var(--stzh-color-zueriblue));text-align:left;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}@media screen and (min-width: 1024px){.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-accordion-item__button.sc-stzh-accordion-item:hover,.stzh-accordion-item__button.sc-stzh-accordion-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-accordion-item__button-text.sc-stzh-accordion-item{-ms-flex-positive:1;flex-grow:1}.stzh-accordion-item__button-icon.sc-stzh-accordion-item{position:relative;width:var(--trigger-size);height:var(--trigger-size);margin-left:var(--stzh-space-medium)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before,.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{position:absolute;top:50%;left:50%;content:"";display:block;width:var(--trigger-size);height:0.0625rem;-webkit-transition:-webkit-transform 0.5s;transition:-webkit-transform 0.5s;transition:transform 0.5s;transition:transform 0.5s, -webkit-transform 0.5s;-webkit-transform-origin:top left;transform-origin:top left;background-color:currentColor}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before{-webkit-transform:rotate(180deg) translate(-50%, -50%);transform:rotate(180deg) translate(-50%, -50%)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{-webkit-transform:rotate(90deg) translate(-50%, -50%);transform:rotate(90deg) translate(-50%, -50%)}.stzh-accordion-item__content.sc-stzh-accordion-item{overflow:hidden;background-color:var(--content-background)}.stzh-accordion-item__content-inner.sc-stzh-accordion-item{padding:var(--content-padding)}.stzh-accordion-item__icon-wrapper.sc-stzh-accordion-item{-ms-flex-item-align:start;align-self:flex-start}.stzh-accordion-item__icon-wrapper.sc-stzh-accordion-item:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-accordion-item__badge.sc-stzh-accordion-item{position:absolute;right:-0.3125rem;top:-0.3125rem}.stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item__subtitle.sc-stzh-accordion-item{color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-accordion-item__description.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-accordion-item__description.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-accordion-item__heading.sc-stzh-accordion-item,.stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item__subtitle.sc-stzh-accordion-item{display:block}.stzh-accordion-item--has-description.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item,.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{padding:var(--stzh-space-medium)}.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__subtitle.sc-stzh-accordion-item{color:var(--stzh-color-white)}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button-icon.sc-stzh-accordion-item::before,.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{-webkit-transform:rotate(0) translate(-50%, -50%);transform:rotate(0) translate(-50%, -50%)}.stzh-accordion-item--is-disabled.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{cursor:not-allowed;color:var(--stzh-color-grey61);border-color:var(--stzh-color-grey5);background-color:var(--stzh-color-grey5)}';export{f as stzh_accordion_item}
@@ -1 +1 @@
1
- import{r as t,h as s,a as i,g as o}from"./p-65282c9d.js";import{p as e}from"./p-2a5855f8.js";const n=class{constructor(s){t(this,s),this.style={},this.position={},this.enabled=!1,this.visible=!1,this.helper=!1,this.moving=!1,this.container=document.body,this.previousTargetRect=null,this.repositionElement=()=>{this.target&&(this.position=this.getFloaterPosition())},this.handleTransitionEnd=()=>{this.moving=!1},this.monitorElementPosition=()=>{if(!this.target||!this.previousTargetRect||this.moving)return;const{left:t,top:s,width:i,height:o}=this.target.getBoundingClientRect(),{left:n,top:h,width:r,height:a}=this.previousTargetRect;t===n&&s===h&&i===r&&o===a||(e()||(this.moving=!0),this.repositionElement())}}handleKeydown(t){(9===t.keyCode||t.keyCode>36&&t.keyCode<41)&&this.enableFloatingFocus()}handleMousedown(){this.disableFloatingFocus()}handleFocus(t){let s=t.target;if(!this.container)return;if(s===this.element||!this.container.contains(s))return void this.handleBlur();this.visible=!0,this.helper=!0,e()||(this.moving=!0);const i=s.getAttribute("focus-target");i&&(s=document.querySelector(`#${i}`)||s),this.target=s,this.target.classList.remove("stzh-fylingfocus-focused"),this.target.classList.add("has-focus"),this.resolveTargetOutlineStyle(),this.repositionElement(),this.target.classList.add("stzh-fylingfocus-focused"),clearTimeout(this.helperFadeTimeout),this.helperFadeTimeout=setTimeout((()=>this.helper=!1),400)}handleBlur(){this.visible=!1,this.helper=!1,e()||(this.moving=!1),this.target&&(this.target.classList.remove("stzh-fylingfocus-focused"),this.target.classList.remove("has-focus"))}handleScrollResize(){this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.repositionElement)}async reposition(){this.repositionElement()}getOffsetBorderRadius(t,s,i){return t=parseFloat(t),s=parseFloat(s),i=parseFloat(i),0===t?"0px":`${t+i+(s=Math.max(s,0))}px`}resolveTargetOutlineStyle(){const t=window.getComputedStyle(this.target),s=t.outlineOffset||null;let i=t.outlineWidth||null;this.style={color:t.outlineColor,borderStyle:t.outlineStyle,borderWidth:i,borderBottomLeftRadius:this.getOffsetBorderRadius(t.borderBottomLeftRadius,s,i),borderBottomRightRadius:this.getOffsetBorderRadius(t.borderBottomRightRadius,s,i),borderTopLeftRadius:this.getOffsetBorderRadius(t.borderTopLeftRadius,s,i),borderTopRightRadius:this.getOffsetBorderRadius(t.borderTopRightRadius,s,i)}}getFloaterPosition(){const t=window.getComputedStyle(this.target),s=parseFloat(t.outlineOffset||"0px"),i=this.target.getBoundingClientRect();this.previousTargetRect=i;const o=i.width+2*s,e=i.height+2*s;return{left:window.scrollX+i.left-s+o/2+"px",top:window.scrollY+i.top-s+e/2+"px",width:`${o}px`,height:`${e}px`}}enableFloatingFocus(){this.container.classList.add("stzh-flyingfocus-enabled"),this.enabled=!0,clearInterval(this.monitorElementPositionInterval),this.monitorElementPositionInterval=setInterval(this.monitorElementPosition,250)}disableFloatingFocus(){this.container.classList.remove("stzh-flyingfocus-enabled"),this.enabled=!1,clearInterval(this.monitorElementPositionInterval)}render(){const t={"stzh-flyingfocus":!0,"stzh-flyingfocus--is-enabled":this.enabled,"stzh-flyingfocus--is-visible":this.visible,"stzh-flyingfocus--is-moving":this.moving,"stzh-flyingfocus--has-helper":this.helper},o=Object.assign(Object.assign({},this.style),this.position);return s(i,null,s("div",{class:t,style:o,onTransitionEnd:this.moving?this.handleTransitionEnd:null}))}get element(){return o(this)}};n.style='.sc-stzh-flyingfocus-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-flyingfocus-h{display:none}.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::before,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-flyingfocus.sc-stzh-flyingfocus{border:0 solid currentColor;position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);opacity:0;will-change:top, left, width, height;-webkit-box-sizing:content-box;box-sizing:content-box;pointer-events:none;overflow:hidden;z-index:9999999999}.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{-webkit-transition-property:opacity, left, top, width, height, border-width, border-radius;transition-property:opacity, left, top, width, height, border-width, border-radius;-webkit-transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;-webkit-transition-timing-function:linear, ease, ease, ease, ease, ease, ease;transition-timing-function:linear, ease, ease, ease, ease, ease, ease}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{-webkit-transition:none;transition:none}}.stzh-flyingfocus--is-enabled.stzh-flyingfocus--is-visible.sc-stzh-flyingfocus{opacity:1}.stzh-flyingfocus.sc-stzh-flyingfocus::after{content:"";background:currentColor;position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 0.2s linear;transition:opacity 0.2s linear}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus.sc-stzh-flyingfocus::after{-webkit-transition:none;transition:none}}.stzh-flyingfocus--has-helper.sc-stzh-flyingfocus::after{-webkit-transition-duration:0.1s;transition-duration:0.1s;opacity:0.16}';export{n as stzh_flyingfocus}
1
+ import{r as t,h as s,a as i,g as o}from"./p-93e8e31f.js";import{p as e}from"./p-2a5855f8.js";const n=class{constructor(s){t(this,s),this.style={},this.position={},this.enabled=!1,this.visible=!1,this.helper=!1,this.moving=!1,this.container=document.body,this.previousTargetRect=null,this.repositionElement=()=>{this.target&&(this.position=this.getFloaterPosition())},this.handleTransitionEnd=()=>{this.moving=!1},this.monitorElementPosition=()=>{if(!this.target||!this.previousTargetRect||this.moving)return;const{left:t,top:s,width:i,height:o}=this.target.getBoundingClientRect(),{left:n,top:h,width:r,height:a}=this.previousTargetRect;t===n&&s===h&&i===r&&o===a||(e()||(this.moving=!0),this.repositionElement())}}handleKeydown(t){(9===t.keyCode||t.keyCode>36&&t.keyCode<41)&&this.enableFloatingFocus()}handleMousedown(){this.disableFloatingFocus()}handleFocus(t){let s=t.target;if(!this.container)return;if(s===this.element||!this.container.contains(s))return void this.handleBlur();this.visible=!0,this.helper=!0,e()||(this.moving=!0);const i=s.getAttribute("focus-target");i&&(s=document.querySelector(`#${i}`)||s),this.target=s,this.target.classList.remove("stzh-fylingfocus-focused"),this.target.classList.add("has-focus"),this.resolveTargetOutlineStyle(),this.repositionElement(),this.target.classList.add("stzh-fylingfocus-focused"),clearTimeout(this.helperFadeTimeout),this.helperFadeTimeout=setTimeout((()=>this.helper=!1),400)}handleBlur(){this.visible=!1,this.helper=!1,e()||(this.moving=!1),this.target&&(this.target.classList.remove("stzh-fylingfocus-focused"),this.target.classList.remove("has-focus"))}handleScrollResize(){this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.repositionElement)}async reposition(){this.repositionElement()}getOffsetBorderRadius(t,s,i){return t=parseFloat(t),s=parseFloat(s),i=parseFloat(i),0===t?"0px":`${t+i+(s=Math.max(s,0))}px`}resolveTargetOutlineStyle(){const t=window.getComputedStyle(this.target),s=t.outlineOffset||null;let i=t.outlineWidth||null;this.style={color:t.outlineColor,borderStyle:t.outlineStyle,borderWidth:i,borderBottomLeftRadius:this.getOffsetBorderRadius(t.borderBottomLeftRadius,s,i),borderBottomRightRadius:this.getOffsetBorderRadius(t.borderBottomRightRadius,s,i),borderTopLeftRadius:this.getOffsetBorderRadius(t.borderTopLeftRadius,s,i),borderTopRightRadius:this.getOffsetBorderRadius(t.borderTopRightRadius,s,i)}}getFloaterPosition(){const t=window.getComputedStyle(this.target),s=parseFloat(t.outlineOffset||"0px"),i=this.target.getBoundingClientRect();this.previousTargetRect=i;const o=i.width+2*s,e=i.height+2*s;return{left:window.scrollX+i.left-s+o/2+"px",top:window.scrollY+i.top-s+e/2+"px",width:`${o}px`,height:`${e}px`}}enableFloatingFocus(){this.container.classList.add("stzh-flyingfocus-enabled"),this.enabled=!0,clearInterval(this.monitorElementPositionInterval),this.monitorElementPositionInterval=setInterval(this.monitorElementPosition,250)}disableFloatingFocus(){this.container.classList.remove("stzh-flyingfocus-enabled"),this.enabled=!1,clearInterval(this.monitorElementPositionInterval)}render(){const t={"stzh-flyingfocus":!0,"stzh-flyingfocus--is-enabled":this.enabled,"stzh-flyingfocus--is-visible":this.visible,"stzh-flyingfocus--is-moving":this.moving,"stzh-flyingfocus--has-helper":this.helper},o=Object.assign(Object.assign({},this.style),this.position);return s(i,null,s("div",{class:t,style:o,onTransitionEnd:this.moving?this.handleTransitionEnd:null}))}get element(){return o(this)}};n.style='.sc-stzh-flyingfocus-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-flyingfocus-h{display:none}.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::before,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-flyingfocus.sc-stzh-flyingfocus{border:0 solid currentColor;position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);opacity:0;will-change:top, left, width, height;-webkit-box-sizing:content-box;box-sizing:content-box;pointer-events:none;overflow:hidden;z-index:9999999999}.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{-webkit-transition-property:opacity, left, top, width, height, border-width, border-radius;transition-property:opacity, left, top, width, height, border-width, border-radius;-webkit-transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;-webkit-transition-timing-function:linear, ease, ease, ease, ease, ease, ease;transition-timing-function:linear, ease, ease, ease, ease, ease, ease}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{-webkit-transition:none;transition:none}}.stzh-flyingfocus--is-enabled.stzh-flyingfocus--is-visible.sc-stzh-flyingfocus{opacity:1}.stzh-flyingfocus.sc-stzh-flyingfocus::after{content:"";background:currentColor;position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 0.2s linear;transition:opacity 0.2s linear}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus.sc-stzh-flyingfocus::after{-webkit-transition:none;transition:none}}.stzh-flyingfocus--has-helper.sc-stzh-flyingfocus::after{-webkit-transition-duration:0.1s;transition-duration:0.1s;opacity:0.16}';export{n as stzh_flyingfocus}
@@ -1 +1 @@
1
- import{r as s,h as i,a as t,g as e}from"./p-65282c9d.js";const a=class{constructor(i){s(this,i),this.init=()=>{this.element.querySelectorAll("stzh-skiplink").forEach((s=>{s.setAttribute("role","listitem")}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return i(t,null,i("div",{class:"stzh-page-skiplinks",role:"list"},i("slot",null)))}get element(){return e(this)}};a.style=".sc-stzh-page-skiplinks-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-page-skiplinks-h{display:none}.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::before,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-page-skiplinks-h{z-index:var(--stzh-z-index-popup);position:absolute;top:var(--stzh-space-medium);right:var(--stzh-grid-gutter-small)}@media screen and (min-width: 800px){.sc-stzh-page-skiplinks-h{right:50%}}@media screen and (min-width: 1260px){.sc-stzh-page-skiplinks-h{top:var(--stzh-space-xlarge);right:60%}}";export{a as stzh_page_skiplinks}
1
+ import{r as s,h as i,a as t,g as e}from"./p-93e8e31f.js";const a=class{constructor(i){s(this,i),this.init=()=>{this.element.querySelectorAll("stzh-skiplink").forEach((s=>{s.setAttribute("role","listitem")}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return i(t,null,i("div",{class:"stzh-page-skiplinks",role:"list"},i("slot",null)))}get element(){return e(this)}};a.style=".sc-stzh-page-skiplinks-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-page-skiplinks-h{display:none}.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::before,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-page-skiplinks-h{z-index:var(--stzh-z-index-popup);position:absolute;top:var(--stzh-space-medium);right:var(--stzh-grid-gutter-small)}@media screen and (min-width: 800px){.sc-stzh-page-skiplinks-h{right:50%}}@media screen and (min-width: 1260px){.sc-stzh-page-skiplinks-h{top:var(--stzh-space-xlarge);right:60%}}";export{a as stzh_page_skiplinks}
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,s,i){function c(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,r){function n(e){try{h(i.next(e))}catch(t){r(t)}}function a(e){try{h(i["throw"](e))}catch(t){r(t)}}function h(e){e.done?s(e.value):c(e.value).then(n,a)}h((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,c,r,n;return n={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function a(e){return function(t){return h([e,t])}}function h(n){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,c&&(r=n[0]&2?c["return"]:n[0]?c["throw"]||((r=c["return"])&&r.call(c),0):c.next)&&!(r=r.call(c,n[1])).done)return r;if(c=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:s.label++;return{value:n[1],done:false};case 5:s.label++;c=n[1];n=[0];continue;case 7:n=s.ops.pop();s.trys.pop();continue;default:if(!(r=s.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){s=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(n[0]===6&&s.label<r[1]){s.label=r[1];r=n;break}if(r&&s.label<r[2]){s.label=r[2];s.ops.push(n);break}if(r[2])s.ops.pop();s.trys.pop();continue}n=t.call(e,s)}catch(a){n=[6,a];c=0}finally{i=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-63d89b96.system.js","./p-a408bfba.system.js"],(function(e){"use strict";var t,s,i,c,r,n,a;return{setters:[function(e){t=e.r;s=e.c;i=e.h;c=e.a;r=e.g},function(e){n=e.S},function(e){a=e.f}],execute:function(){var h=".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";var o=0;var l=e("stzh_chip_select",function(){function e(e){var i=this;t(this,e);this.stzhChange=s(this,"stzhChange",7);this.data=[];this._data=[];this._dataDropdown=[];this.label="";this.value="";this.invalid=false;this.required=false;this.disabled=false;this.a11yDescribedby="";this.chipClick=function(e){i.value=e.value;i.stzhChange.emit({component:"stzh-chip-select",value:i.value})};this.onDropdownChange=function(e){i.value=e.detail.value;i.stzhChange.emit({component:"stzh-chip-select",value:i.value})}}e.prototype.dataWatcher=function(e){if(typeof e==="string"){this._data=JSON.parse(e)}else{this._data=e}this._dataDropdown=this._data.map((function(e){return{text:"".concat(e.label," (").concat(e.counter,")"),value:e.value}}))};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(t){if(e){this._error=[e]}else{this._error=[]}}}else if(e){this._error=e}else{this._error=[]}this.invalid=this._error.length>0};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.inputId="stzh-chip-select-".concat(o++);this.dataWatcher(this.data);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,a(this.element,"chip-select")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.render=function(){var e=this;var t=!!this.description;var s=!!this.descriptionLong;var r=!!this.error;var a={"stzh-chip-select":true,"stzh-chip-select--has-description":t,"stzh-chip-select--has-description-long":s,"stzh-chip-select--has-error":r,"stzh-chip-select--is-invalid":this.invalid,"stzh-chip-select--is-disabled":this.disabled,"stzh-chip-select--is-required":this.required};return i(c,null,i("div",{class:a},i("input",{type:"hidden",name:this.name,value:this.value}),i("div",{class:"stzh-chip-select__chips",role:"listbox"},this._data.map((function(t){return i("stzh-chip",{role:"option",class:"stzh-chip-select__chip",label:t.label,counter:t.counter,icon:t.icon,type:t.type,variant:t.variant,size:t.size,disabled:e.disabled||t.disabled,active:e.value===t.value,"aria-selected":e.value===t.value?"true":null,a11yDescribedby:"".concat(e.inputId,"-description ").concat(e.a11yDescribedby),onClick:function(){return e.chipClick(t)}})}))),i(n,{classPrefix:"stzh-chip-select",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}),i("stzh-dropdown",{class:"stzh-chip-select__dropdown",disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,required:this.required,invalid:this.invalid,items:[this.value],label:this.label,options:this._dataDropdown,onStzhChange:this.onDropdownChange})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{data:["dataWatcher"],error:["errorWatcher"]}},enumerable:false,configurable:true});return e}());l.style=h}}}));
@@ -1 +1 @@
1
- import{r as t,h as i,a as e,g as s}from"./p-65282c9d.js";const o=class{constructor(i){t(this,i)}render(){return i(e,null,i("div",{class:{"stzh-list-item":!0},role:"listitem"},i("div",{class:"stzh-list-item__checkmark-icon",innerHTML:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}),i("div",{class:"stzh-list-item__text"},i("slot",null))))}get element(){return s(this)}};o.style=":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--icon-checklist-visibility:hidden}:host::before{display:inline-block;position:absolute;left:0;top:0}.stzh-list-item__checkmark-icon{visibility:var(--icon-checklist-visibility);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:absolute;top:0.0625rem;left:0}.stzh-list-item__checkmark-icon svg{width:1.5em;height:1.5em;display:block}";export{o as stzh_list_item}
1
+ import{r as t,h as i,a as e,g as s}from"./p-93e8e31f.js";const o=class{constructor(i){t(this,i)}render(){return i(e,null,i("div",{class:{"stzh-list-item":!0},role:"listitem"},i("div",{class:"stzh-list-item__checkmark-icon",innerHTML:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}),i("div",{class:"stzh-list-item__text"},i("slot",null))))}get element(){return s(this)}};o.style=":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--icon-checklist-visibility:hidden}:host::before{display:inline-block;position:absolute;left:0;top:0}.stzh-list-item__checkmark-icon{visibility:var(--icon-checklist-visibility);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:absolute;top:0.0625rem;left:0}.stzh-list-item__checkmark-icon svg{width:1.5em;height:1.5em;display:block}";export{o as stzh_list_item}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(t){"use strict";var i,n,r;return{setters:[function(t){i=t.r;n=t.h;r=t.a}],execute:function(){var e=".sc-stzh-container-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-container-h{display:none}.sc-stzh-container-h *.sc-stzh-container,.sc-stzh-container-h *.sc-stzh-container::before,.sc-stzh-container-h *.sc-stzh-container::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2rem;margin-right:-2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-5.5rem;margin-right:-5.5rem}}@media screen and (min-width: 1440px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2)}}.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-space-xlarge)}}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw}}.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-section-highlight-horizontal-padding)}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{left:initial;right:initial;margin:initial;width:initial;max-width:initial}}.stzh-container.sc-stzh-container{margin:0 1.25rem}@media screen and (min-width: 600px){.stzh-container.sc-stzh-container{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-container.sc-stzh-container{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-container.sc-stzh-container{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-container.sc-stzh-container{margin:0 auto;width:78.75rem}}";var h=t("stzh_container",function(){function t(t){i(this,t)}t.prototype.render=function(){return n(r,null,n("div",{class:"stzh-container"},n("slot",null)))};return t}());h.style=e}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var i,n,r;return{setters:[function(t){i=t.r;n=t.h;r=t.a}],execute:function(){var e=".sc-stzh-container-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-container-h{display:none}.sc-stzh-container-h *.sc-stzh-container,.sc-stzh-container-h *.sc-stzh-container::before,.sc-stzh-container-h *.sc-stzh-container::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2rem;margin-right:-2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-5.5rem;margin-right:-5.5rem}}@media screen and (min-width: 1440px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2)}}.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-space-xlarge)}}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw}}.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-section-highlight-horizontal-padding)}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{left:initial;right:initial;margin:initial;width:initial;max-width:initial}}.stzh-container.sc-stzh-container{margin:0 1.25rem}@media screen and (min-width: 600px){.stzh-container.sc-stzh-container{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-container.sc-stzh-container{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-container.sc-stzh-container{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-container.sc-stzh-container{margin:0 auto;width:78.75rem}}";var h=t("stzh_container",function(){function t(t){i(this,t)}t.prototype.render=function(){return n(r,null,n("div",{class:"stzh-container"},n("slot",null)))};return t}());h.style=e}}}));
@@ -1 +1 @@
1
- import{h as o}from"./p-65282c9d.js";const s=({id:s,classPrefix:i,error:t,description:r,descriptionLong:e,descriptionLongUsed:n,moreInfoButtonLabel:l})=>o("div",{class:`${i}__description-wrapper`,id:s},o("div",{class:`${i}__error`},t.length>0?o("ul",{class:`${i}__error-list`},t.map((s=>o("li",{class:`${i}__error-listitem`},s)))):o("slot",{name:"error"})),o("div",{class:`${i}__description`},o("div",{class:`${i}__description-text`},r||o("slot",{name:"description"})),n&&o("div",{class:`${i}__description-long`},o("stzh-popover",{class:`${i}__description-long-popover`,variant:"tooltip"},o("button",{class:`${i}__description-long-button`,"aria-label":l,type:"button"},o("stzh-icon",{class:`${i}__description-long-icon`,name:"info-help"})),o("div",{slot:"label"},r||o("slot",{name:"description"})),o("div",{slot:"content"},e||o("slot",{name:"description-long"}))))));export{s as S}
1
+ import{h as o}from"./p-93e8e31f.js";const s=({id:s,classPrefix:i,error:t,description:e,descriptionLong:r,descriptionLongUsed:n,moreInfoButtonLabel:l})=>o("div",{class:`${i}__description-wrapper`,id:s},o("div",{class:`${i}__error`},t.length>0?o("ul",{class:`${i}__error-list`},t.map((s=>o("li",{class:`${i}__error-listitem`},s)))):o("slot",{name:"error"})),o("div",{class:`${i}__description`},o("div",{class:`${i}__description-text`},e||o("slot",{name:"description"})),n&&o("div",{class:`${i}__description-long`},o("stzh-popover",{class:`${i}__description-long-popover`,variant:"tooltip"},o("button",{class:`${i}__description-long-button`,"aria-label":l,type:"button"},o("stzh-icon",{class:`${i}__description-long-icon`,name:"info-help"})),o("div",{slot:"label"},e||o("slot",{name:"description"})),o("div",{slot:"content"},r||o("slot",{name:"description-long"}))))));export{s as S}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(e){"use strict";var t,s,i;return{setters:[function(e){t=e.r;s=e.h;i=e.a}],execute:function(){var h=".sc-stzh-fieldset-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-fieldset-h{display:none}.sc-stzh-fieldset-h *.sc-stzh-fieldset,.sc-stzh-fieldset-h *.sc-stzh-fieldset::before,.sc-stzh-fieldset-h *.sc-stzh-fieldset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-input,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-datepicker,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-dropdown,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-fieldset,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-actions,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-upload,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkbox,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkboxgroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radio,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radiogroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-row,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-vspace,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-hspace{margin-bottom:var(--stzh-space-large)}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>:last-child{margin-bottom:0}.stzh-fieldset.sc-stzh-fieldset{margin:0;padding:0;border:none}.stzh-fieldset__legend.sc-stzh-fieldset{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);padding:0;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-fieldset__legend.sc-stzh-fieldset{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-fieldset--hide-legend.sc-stzh-fieldset .stzh-fieldset__legend.sc-stzh-fieldset{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}";var l=e("stzh_fieldset",function(){function e(e){t(this,e);this.legend="";this.hideLegend=false;this.legendLevel="";this.legendCurve="auto"}e.prototype.render=function(){var e={"stzh-fieldset":true,"stzh-fieldset--hide-legend":this.hideLegend};return s(i,null,s("fieldset",{class:e},this.legend&&s("legend",{class:"stzh-fieldset__legend"},this.legendLevel?s("stzh-heading",{level:this.legendLevel,curve:this.legendCurve},this.legend):this.legend),s("slot",null)))};return e}());l.style=h}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(e){"use strict";var t,s,i;return{setters:[function(e){t=e.r;s=e.h;i=e.a}],execute:function(){var h=".sc-stzh-fieldset-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-fieldset-h{display:none}.sc-stzh-fieldset-h *.sc-stzh-fieldset,.sc-stzh-fieldset-h *.sc-stzh-fieldset::before,.sc-stzh-fieldset-h *.sc-stzh-fieldset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-input,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-datepicker,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-dropdown,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-fieldset,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-actions,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-upload,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkbox,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-checkboxgroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radio,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-radiogroup,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-row,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-vspace,.sc-stzh-fieldset-h .sc-stzh-fieldset-s>stzh-hspace{margin-bottom:var(--stzh-space-large)}.sc-stzh-fieldset-h .sc-stzh-fieldset-s>:last-child{margin-bottom:0}.stzh-fieldset.sc-stzh-fieldset{margin:0;padding:0;border:none}.stzh-fieldset__legend.sc-stzh-fieldset{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);padding:0;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-fieldset__legend.sc-stzh-fieldset{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-fieldset--hide-legend.sc-stzh-fieldset .stzh-fieldset__legend.sc-stzh-fieldset{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}";var l=e("stzh_fieldset",function(){function e(e){t(this,e);this.legend="";this.hideLegend=false;this.legendLevel="";this.legendCurve="auto"}e.prototype.render=function(){var e={"stzh-fieldset":true,"stzh-fieldset--hide-legend":this.hideLegend};return s(i,null,s("fieldset",{class:e},this.legend&&s("legend",{class:"stzh-fieldset__legend"},this.legendLevel?s("stzh-heading",{level:this.legendLevel,curve:this.legendCurve},this.legend):this.legend),s("slot",null)))};return e}());l.style=h}}}));