@oiz/stzh-components 1.4.0-npmjstest → 2.0.0-beta

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 (477) hide show
  1. package/README.md +1 -56
  2. package/dist/cjs/{app-globals-e07b8f5f.js → app-globals-58a084a9.js} +5 -3
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actionset.cjs.entry.js +164 -0
  6. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-badge_3.cjs.entry.js +25 -4
  8. package/dist/cjs/stzh-card-list.cjs.entry.js +79 -0
  9. package/dist/cjs/stzh-card.cjs.entry.js +294 -0
  10. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -4
  12. package/dist/cjs/stzh-chip-select.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-components.cjs.js +2 -2
  14. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-datalist.cjs.entry.js +74 -0
  16. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +7 -8
  17. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  18. package/dist/cjs/stzh-dropdown.cjs.entry.js +33 -8
  19. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-input.cjs.entry.js +10 -6
  25. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-popover.cjs.entry.js +30 -28
  30. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-sortable.cjs.entry.js +3230 -2440
  33. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -1
  36. package/dist/cjs/stzh-upload.cjs.entry.js +44 -11
  37. package/dist/cjs/utils-8dc66449.js +76 -0
  38. package/dist/collection/assets/fonts.css +5 -5
  39. package/dist/collection/assets/i18n/de.json +7 -2
  40. package/dist/collection/assets/i18n/en.json +7 -2
  41. package/dist/collection/assets/icons/mono/recycling-outline.svg +11 -0
  42. package/dist/collection/assets/icons/mono/recycling.svg +10 -0
  43. package/dist/collection/assets/icons/mono/smartphone.svg +10 -0
  44. package/dist/collection/assets/icons/mono/target.svg +11 -0
  45. package/dist/collection/collection-manifest.json +4 -2
  46. package/dist/collection/components/stzh-actionset/stzh-actionset.css +147 -0
  47. package/dist/collection/components/stzh-actionset/stzh-actionset.js +351 -0
  48. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.localization.js → stzh-actionset/stzh-actionset.localization.js} +0 -0
  49. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +72 -0
  50. package/dist/collection/components/stzh-button/stzh-button.css +66 -0
  51. package/dist/collection/components/stzh-button/stzh-button.js +98 -4
  52. package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
  53. package/dist/collection/components/stzh-card/stzh-card.css +408 -0
  54. package/dist/collection/components/stzh-card/stzh-card.js +771 -0
  55. package/dist/collection/components/stzh-card/stzh-card.localization.js +1 -0
  56. package/dist/collection/components/stzh-card/stzh-card.stories.js +137 -0
  57. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.css → stzh-card-list/stzh-card-list.css} +9 -9
  58. package/dist/collection/components/stzh-card-list/stzh-card-list.js +224 -0
  59. package/dist/collection/components/{stzh-servicecard/stzh-servicecard.localization.js → stzh-card-list/stzh-card-list.localization.js} +0 -0
  60. package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +132 -0
  61. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -3
  62. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +1 -1
  63. package/dist/collection/components/stzh-cspace/stzh-cspace.css +19 -6
  64. package/dist/collection/components/stzh-datalist/stzh-datalist.css +621 -0
  65. package/dist/collection/components/stzh-datalist/stzh-datalist.js +237 -0
  66. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +66 -0
  67. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -21
  68. package/dist/collection/components/stzh-dialog/stzh-dialog.css +11 -2
  69. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +18 -8
  70. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +5 -7
  71. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +86 -27
  72. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +3328 -0
  73. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +63 -11
  74. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  75. package/dist/collection/components/stzh-input/stzh-input.css +18 -9
  76. package/dist/collection/components/stzh-input/stzh-input.js +80 -26
  77. package/dist/collection/components/stzh-link/stzh-link.css +5 -0
  78. package/dist/collection/components/stzh-link/stzh-link.js +2 -2
  79. package/dist/collection/components/stzh-overlay/stzh-overlay.css +5 -1
  80. package/dist/collection/components/stzh-popover/stzh-popover.js +52 -32
  81. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +292 -9
  82. package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
  83. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +5 -6
  84. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +3 -0
  85. package/dist/collection/components/stzh-richtext/stzh-richtext.css +145 -0
  86. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +19 -0
  87. package/dist/collection/components/stzh-sortable/stzh-sortable.js +75 -8
  88. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +1 -1
  89. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +21 -1
  90. package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
  91. package/dist/collection/components/stzh-upload/stzh-upload.js +43 -10
  92. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +10 -8
  93. package/dist/collection/global/js/helpers/autofocus.js +3 -1
  94. package/dist/collection/global/js/script.js +1 -1
  95. package/dist/collection/libraries/sortable.js +3791 -0
  96. package/dist/collection/pages/meinkonto.stories.js +93 -88
  97. package/dist/collection/utils/utils.js +39 -0
  98. package/dist/components/index.d.ts +4 -2
  99. package/dist/components/index.js +9 -5
  100. package/dist/components/{stzh-servicecard.d.ts → stzh-actionset.d.ts} +4 -4
  101. package/dist/components/stzh-actionset.js +6 -0
  102. package/dist/components/stzh-actionset2.js +227 -0
  103. package/dist/components/stzh-button2.js +27 -3
  104. package/dist/components/{stzh-servicecard-list.d.ts → stzh-card-list.d.ts} +4 -4
  105. package/dist/components/stzh-card-list.js +123 -0
  106. package/dist/components/stzh-card.d.ts +11 -0
  107. package/dist/components/stzh-card.js +376 -0
  108. package/dist/components/stzh-checkboxgroup.js +1 -3
  109. package/dist/components/stzh-chip-select.js +1 -1
  110. package/dist/components/stzh-cspace.js +1 -1
  111. package/dist/components/stzh-datalist.d.ts +11 -0
  112. package/dist/components/stzh-datalist.js +113 -0
  113. package/dist/components/stzh-datepicker2.js +1 -2
  114. package/dist/components/stzh-dialog.js +1 -1
  115. package/dist/components/stzh-dropdown2.js +36 -9
  116. package/dist/components/stzh-icon-sprite.js +1 -1
  117. package/dist/components/stzh-input2.js +13 -6
  118. package/dist/components/stzh-link2.js +1 -1
  119. package/dist/components/stzh-overlay.js +1 -1
  120. package/dist/components/stzh-popover2.js +31 -28
  121. package/dist/components/stzh-portal-mitwirken.js +1 -1
  122. package/dist/components/stzh-radio2.js +1 -1
  123. package/dist/components/stzh-radiogroup2.js +4 -5
  124. package/dist/components/stzh-richtext2.js +1 -1
  125. package/dist/components/stzh-sortable2.js +3232 -2441
  126. package/dist/components/stzh-tooltip2.js +4 -1
  127. package/dist/components/stzh-upload.js +43 -10
  128. package/dist/components/utils.js +40 -1
  129. package/dist/esm/{app-globals-70c229e3.js → app-globals-6b6ff890.js} +5 -3
  130. package/dist/esm/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  131. package/dist/esm/loader.js +3 -3
  132. package/dist/esm/stzh-accordion-item.entry.js +1 -1
  133. package/dist/esm/stzh-accordion.entry.js +1 -1
  134. package/dist/esm/stzh-actions.entry.js +2 -2
  135. package/dist/esm/stzh-actionset.entry.js +160 -0
  136. package/dist/esm/stzh-appnav.entry.js +2 -2
  137. package/dist/esm/stzh-appointments.entry.js +1 -1
  138. package/dist/esm/stzh-badge_3.entry.js +26 -5
  139. package/dist/esm/stzh-calendar.entry.js +1 -1
  140. package/dist/esm/stzh-card-list.entry.js +75 -0
  141. package/dist/esm/stzh-card.entry.js +290 -0
  142. package/dist/esm/stzh-cell.entry.js +1 -1
  143. package/dist/esm/stzh-checkbox.entry.js +3 -3
  144. package/dist/esm/stzh-checkboxgroup.entry.js +4 -6
  145. package/dist/esm/stzh-chip-select.entry.js +2 -2
  146. package/dist/esm/stzh-chip.entry.js +1 -1
  147. package/dist/esm/stzh-components.js +3 -3
  148. package/dist/esm/stzh-container.entry.js +1 -1
  149. package/dist/esm/stzh-cspace.entry.js +2 -2
  150. package/dist/esm/stzh-datalist.entry.js +70 -0
  151. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  152. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  153. package/dist/esm/stzh-datatable.entry.js +1 -1
  154. package/dist/esm/stzh-datepicker_4.entry.js +9 -10
  155. package/dist/esm/stzh-dialog.entry.js +3 -3
  156. package/dist/esm/stzh-dropdown.entry.js +35 -10
  157. package/dist/esm/stzh-fieldset.entry.js +1 -1
  158. package/dist/esm/stzh-figure.entry.js +2 -2
  159. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  160. package/dist/esm/stzh-footer.entry.js +2 -2
  161. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  162. package/dist/esm/stzh-header.entry.js +2 -2
  163. package/dist/esm/stzh-heading.entry.js +1 -1
  164. package/dist/esm/stzh-hr.entry.js +1 -1
  165. package/dist/esm/stzh-hspace.entry.js +1 -1
  166. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  167. package/dist/esm/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  168. package/dist/esm/stzh-input.entry.js +12 -8
  169. package/dist/esm/stzh-link.entry.js +3 -3
  170. package/dist/esm/stzh-list-item.entry.js +1 -1
  171. package/dist/esm/stzh-list.entry.js +1 -1
  172. package/dist/esm/stzh-loader.entry.js +1 -1
  173. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  174. package/dist/esm/stzh-menu_2.entry.js +2 -2
  175. package/dist/esm/stzh-message.entry.js +1 -1
  176. package/dist/esm/stzh-metanav.entry.js +1 -1
  177. package/dist/esm/stzh-overlay.entry.js +2 -2
  178. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  179. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  180. package/dist/esm/stzh-popover.entry.js +31 -29
  181. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  182. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  183. package/dist/esm/stzh-progressbar.entry.js +1 -1
  184. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  185. package/dist/esm/stzh-row.entry.js +1 -1
  186. package/dist/esm/stzh-saptcha.entry.js +1 -1
  187. package/dist/esm/stzh-section.entry.js +1 -1
  188. package/dist/esm/stzh-skiplink.entry.js +1 -1
  189. package/dist/esm/stzh-sortable.entry.js +3231 -2441
  190. package/dist/esm/stzh-status.entry.js +1 -1
  191. package/dist/esm/stzh-table.entry.js +2 -2
  192. package/dist/esm/stzh-toggle.entry.js +3 -3
  193. package/dist/esm/stzh-tooltip.entry.js +4 -2
  194. package/dist/esm/stzh-upload.entry.js +46 -13
  195. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  196. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  197. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  198. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  199. package/dist/esm/stzh-vspace.entry.js +1 -1
  200. package/dist/esm/utils-68a28fce.js +72 -0
  201. package/dist/esm-es5/app-globals-6b6ff890.js +1 -0
  202. package/dist/esm-es5/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  203. package/dist/esm-es5/loader.js +1 -1
  204. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  205. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  206. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  207. package/dist/esm-es5/stzh-actionset.entry.js +1 -0
  208. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  209. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  210. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  211. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  212. package/dist/esm-es5/stzh-card-list.entry.js +1 -0
  213. package/dist/esm-es5/stzh-card.entry.js +1 -0
  214. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  215. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  216. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  217. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  218. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  219. package/dist/esm-es5/stzh-components.js +1 -1
  220. package/dist/esm-es5/stzh-container.entry.js +1 -1
  221. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  222. package/dist/esm-es5/stzh-datalist.entry.js +1 -0
  223. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  224. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  225. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  226. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
  227. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  228. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  229. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  230. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  231. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  232. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  233. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  234. package/dist/esm-es5/stzh-header.entry.js +1 -1
  235. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  236. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  237. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  238. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  239. package/dist/esm-es5/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  240. package/dist/esm-es5/stzh-input.entry.js +1 -1
  241. package/dist/esm-es5/stzh-link.entry.js +1 -1
  242. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  243. package/dist/esm-es5/stzh-list.entry.js +1 -1
  244. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  245. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  246. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  247. package/dist/esm-es5/stzh-message.entry.js +1 -1
  248. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  249. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  250. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  251. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  252. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  253. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  254. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  255. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  256. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  257. package/dist/esm-es5/stzh-row.entry.js +1 -1
  258. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  259. package/dist/esm-es5/stzh-section.entry.js +1 -1
  260. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  261. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  262. package/dist/esm-es5/stzh-status.entry.js +1 -1
  263. package/dist/esm-es5/stzh-table.entry.js +1 -1
  264. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  265. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  266. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  267. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  268. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  269. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  270. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  271. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  272. package/dist/esm-es5/utils-68a28fce.js +1 -0
  273. package/dist/stzh-components/assets/fonts.css +5 -5
  274. package/dist/stzh-components/assets/i18n/de.json +7 -2
  275. package/dist/stzh-components/assets/i18n/en.json +7 -2
  276. package/dist/stzh-components/assets/icons/mono/recycling-outline.svg +11 -0
  277. package/dist/stzh-components/assets/icons/mono/recycling.svg +10 -0
  278. package/dist/stzh-components/assets/icons/mono/smartphone.svg +10 -0
  279. package/dist/stzh-components/assets/icons/mono/target.svg +11 -0
  280. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +63 -11
  281. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  282. package/dist/stzh-components/{p-07f16263.entry.js → p-001b7d10.entry.js} +1 -1
  283. package/dist/stzh-components/p-0230004d.system.js +1 -0
  284. package/dist/stzh-components/{p-0837657c.entry.js → p-08a564af.entry.js} +1 -1
  285. package/dist/stzh-components/{p-a6486f64.system.entry.js → p-0b8de542.system.entry.js} +1 -1
  286. package/dist/stzh-components/{p-8db4279d.system.entry.js → p-0bbbbe85.system.entry.js} +1 -1
  287. package/dist/stzh-components/p-0d5522dc.system.entry.js +1 -0
  288. package/dist/stzh-components/{p-33d033a3.system.entry.js → p-0efe125f.system.entry.js} +1 -1
  289. package/dist/stzh-components/{p-4cfe83b5.system.entry.js → p-0fc06049.system.entry.js} +1 -1
  290. package/dist/stzh-components/p-0fc83964.system.entry.js +1 -0
  291. package/dist/stzh-components/{p-08d4ed80.entry.js → p-13b3500e.entry.js} +1 -1
  292. package/dist/stzh-components/p-13f44000.entry.js +1 -0
  293. package/dist/stzh-components/{p-65444117.system.entry.js → p-17c6c1db.system.entry.js} +1 -1
  294. package/dist/stzh-components/{p-b34774e7.entry.js → p-190de4de.entry.js} +1 -1
  295. package/dist/stzh-components/{p-b2c8c31e.system.entry.js → p-19bff884.system.entry.js} +1 -1
  296. package/dist/stzh-components/p-1f57d28e.js +1 -0
  297. package/dist/stzh-components/{p-debb00e6.entry.js → p-216577b4.entry.js} +1 -1
  298. package/dist/stzh-components/{p-6edd58a4.system.entry.js → p-27fd6c6f.system.entry.js} +1 -1
  299. package/dist/stzh-components/{p-55188328.entry.js → p-2818488f.entry.js} +1 -1
  300. package/dist/stzh-components/{p-f9dc7a9b.entry.js → p-29427863.entry.js} +1 -1
  301. package/dist/stzh-components/{p-3c4478b0.entry.js → p-2b338050.entry.js} +1 -1
  302. package/dist/stzh-components/p-2cf1ae40.system.entry.js +1 -0
  303. package/dist/stzh-components/{p-fa8651dd.entry.js → p-2e559062.entry.js} +1 -1
  304. package/dist/stzh-components/{p-11d0c8f3.entry.js → p-332e4fd3.entry.js} +1 -1
  305. package/dist/stzh-components/{p-1ccbd2d6.system.entry.js → p-33c0229f.system.entry.js} +1 -1
  306. package/dist/stzh-components/p-373f79e8.entry.js +1 -0
  307. package/dist/stzh-components/{p-b651f251.entry.js → p-3ac93a01.entry.js} +1 -1
  308. package/dist/stzh-components/p-3b27a43f.system.entry.js +7 -0
  309. package/dist/stzh-components/{p-1cde29ea.entry.js → p-3d8317b5.entry.js} +1 -1
  310. package/dist/stzh-components/{p-48bbcc26.system.entry.js → p-45bab70d.system.entry.js} +1 -1
  311. package/dist/stzh-components/{p-3f03fd94.system.entry.js → p-48b5b697.system.entry.js} +1 -1
  312. package/dist/stzh-components/{p-ece7ad4d.system.entry.js → p-4c6989ae.system.entry.js} +1 -1
  313. package/dist/stzh-components/{p-79ca1ba6.entry.js → p-552f49c4.entry.js} +1 -1
  314. package/dist/stzh-components/{p-562394a9.system.entry.js → p-55d23a3c.system.entry.js} +1 -1
  315. package/dist/stzh-components/{p-60b4f34c.system.entry.js → p-560f96f0.system.entry.js} +1 -1
  316. package/dist/stzh-components/{p-f48a2b00.system.entry.js → p-56b9cc3c.system.entry.js} +1 -1
  317. package/dist/stzh-components/{p-cb4a91b7.system.entry.js → p-58d886cb.system.entry.js} +1 -1
  318. package/dist/stzh-components/p-5975c355.system.entry.js +1 -0
  319. package/dist/stzh-components/p-5987573e.system.entry.js +1 -0
  320. package/dist/stzh-components/{p-634095bd.system.entry.js → p-5997e418.system.entry.js} +1 -1
  321. package/dist/stzh-components/p-59c323ce.entry.js +1 -0
  322. package/dist/stzh-components/{p-49968bbf.entry.js → p-5a02ef03.entry.js} +1 -1
  323. package/dist/stzh-components/{p-82d85c3a.system.entry.js → p-5a354428.system.entry.js} +1 -1
  324. package/dist/stzh-components/{p-0a71fbac.entry.js → p-5bd2849d.entry.js} +1 -1
  325. package/dist/stzh-components/{p-19344366.system.entry.js → p-61aac051.system.entry.js} +1 -1
  326. package/dist/stzh-components/{p-ade1ebcf.system.entry.js → p-6305db38.system.entry.js} +1 -1
  327. package/dist/stzh-components/{p-ff8a3e96.entry.js → p-6354fee3.entry.js} +1 -1
  328. package/dist/stzh-components/{p-86d3ce62.entry.js → p-638bedfa.entry.js} +1 -1
  329. package/dist/stzh-components/{p-9c0494a6.system.js → p-63d89b96.system.js} +1 -1
  330. package/dist/stzh-components/{p-33d75303.entry.js → p-63d8db7b.entry.js} +1 -1
  331. package/dist/stzh-components/{p-818634d2.entry.js → p-64b4cc74.entry.js} +1 -1
  332. package/dist/stzh-components/p-653c6bbc.entry.js +1 -0
  333. package/dist/stzh-components/{p-b1976630.entry.js → p-67f906b1.entry.js} +1 -1
  334. package/dist/stzh-components/{p-f44f4d26.system.entry.js → p-69c3187f.system.entry.js} +1 -1
  335. package/dist/stzh-components/{p-c2d58384.entry.js → p-69f4a27e.entry.js} +1 -1
  336. package/dist/stzh-components/p-6a81e64b.entry.js +1 -0
  337. package/dist/stzh-components/p-6a873872.entry.js +1 -0
  338. package/dist/stzh-components/{p-03b16275.entry.js → p-72f29f07.entry.js} +1 -1
  339. package/dist/stzh-components/p-75cdc8a6.system.entry.js +1 -0
  340. package/dist/stzh-components/{p-a4100bd8.system.entry.js → p-7ad87d98.system.entry.js} +1 -1
  341. package/dist/stzh-components/p-7d8c9866.entry.js +1 -0
  342. package/dist/stzh-components/{p-1cebd703.entry.js → p-7f9f9a8d.entry.js} +1 -1
  343. package/dist/stzh-components/{p-7d098987.entry.js → p-83b1e379.entry.js} +1 -1
  344. package/dist/stzh-components/{p-aec2d2d1.system.entry.js → p-851e0caa.system.entry.js} +1 -1
  345. package/dist/stzh-components/{p-1f15a4e0.system.entry.js → p-86bc421e.system.entry.js} +1 -1
  346. package/dist/stzh-components/{p-690d14cd.entry.js → p-88e0f453.entry.js} +1 -1
  347. package/dist/stzh-components/{p-0338cec3.system.entry.js → p-89274cd5.system.entry.js} +1 -1
  348. package/dist/stzh-components/{p-346e26f2.system.entry.js → p-8a9e588e.system.entry.js} +1 -1
  349. package/dist/stzh-components/{p-66556f67.entry.js → p-8aebb240.entry.js} +1 -1
  350. package/dist/stzh-components/{p-bba52769.system.entry.js → p-8cbc987f.system.entry.js} +1 -1
  351. package/dist/stzh-components/{p-0ae3e066.system.entry.js → p-8d0da18d.system.entry.js} +1 -1
  352. package/dist/stzh-components/{p-56fccfa3.system.entry.js → p-8d547247.system.entry.js} +1 -1
  353. package/dist/stzh-components/p-8f16b0ac.entry.js +8 -0
  354. package/dist/stzh-components/{p-85d78e08.entry.js → p-938ef748.entry.js} +1 -1
  355. package/dist/stzh-components/{p-65282c9d.js → p-93e8e31f.js} +1 -1
  356. package/dist/stzh-components/{p-e9ca8ddc.entry.js → p-961cb979.entry.js} +1 -1
  357. package/dist/stzh-components/{p-98afd4b0.system.entry.js → p-981b2629.system.entry.js} +1 -1
  358. package/dist/stzh-components/p-9bda100f.system.js +1 -0
  359. package/dist/stzh-components/{p-0ec28130.system.entry.js → p-9c72f491.system.entry.js} +1 -1
  360. package/dist/stzh-components/{p-8cf287d8.system.entry.js → p-9fb4da92.system.entry.js} +1 -1
  361. package/dist/stzh-components/{p-e58d3bc7.entry.js → p-a448f5a5.entry.js} +1 -1
  362. package/dist/stzh-components/{p-96fd158c.entry.js → p-a646c09a.entry.js} +1 -1
  363. package/dist/stzh-components/p-a6627504.entry.js +1 -0
  364. package/dist/stzh-components/{p-2f2cb544.system.entry.js → p-a67e09cd.system.entry.js} +1 -1
  365. package/dist/stzh-components/{p-378be0be.system.entry.js → p-a7c35778.system.entry.js} +1 -1
  366. package/dist/stzh-components/{p-c8bc2812.entry.js → p-a7ee2636.entry.js} +1 -1
  367. package/dist/stzh-components/{p-632d9076.system.entry.js → p-a99d3e97.system.entry.js} +1 -1
  368. package/dist/stzh-components/{p-148de4e6.entry.js → p-ab246b66.entry.js} +1 -1
  369. package/dist/stzh-components/{p-936cc626.system.entry.js → p-ab455116.system.entry.js} +1 -1
  370. package/dist/stzh-components/p-af2664fc.system.entry.js +1 -0
  371. package/dist/stzh-components/p-b084fcbf.system.entry.js +1 -0
  372. package/dist/stzh-components/p-b550feaa.system.entry.js +1 -0
  373. package/dist/stzh-components/{p-f8d9411d.system.entry.js → p-b636a18a.system.entry.js} +1 -1
  374. package/dist/stzh-components/{p-f544cf3d.entry.js → p-b9295dc2.entry.js} +1 -1
  375. package/dist/stzh-components/{p-1bfc1097.entry.js → p-b9382599.entry.js} +1 -1
  376. package/dist/stzh-components/{p-46f301c0.entry.js → p-b9a027aa.entry.js} +1 -1
  377. package/dist/stzh-components/{p-e4347cfe.entry.js → p-b9c3f3cc.entry.js} +1 -1
  378. package/dist/stzh-components/{p-7e3924a0.system.entry.js → p-ba94e315.system.entry.js} +1 -1
  379. package/dist/stzh-components/{p-7d62dfeb.system.entry.js → p-bd178c32.system.entry.js} +1 -1
  380. package/dist/stzh-components/{p-e972a44f.system.entry.js → p-be461e19.system.entry.js} +1 -1
  381. package/dist/stzh-components/{p-30b347ee.system.js → p-bf0fdd23.system.js} +2 -2
  382. package/dist/stzh-components/{p-0433fff9.system.entry.js → p-c013a00b.system.entry.js} +1 -1
  383. package/dist/stzh-components/p-c1337453.entry.js +1 -0
  384. package/dist/stzh-components/{p-915e8ad6.entry.js → p-c3d93395.entry.js} +1 -1
  385. package/dist/stzh-components/{p-c6cad5ed.system.entry.js → p-c456c04b.system.entry.js} +1 -1
  386. package/dist/stzh-components/{p-298276e4.entry.js → p-c499e04d.entry.js} +1 -1
  387. package/dist/stzh-components/{p-e9bc3a43.entry.js → p-c4b7c2be.entry.js} +1 -1
  388. package/dist/stzh-components/{p-df422d36.entry.js → p-c58dd9de.entry.js} +1 -1
  389. package/dist/stzh-components/{p-7d2237ca.entry.js → p-c692e405.entry.js} +1 -1
  390. package/dist/stzh-components/{p-4e9bfeb8.system.entry.js → p-c83e4fec.system.entry.js} +1 -1
  391. package/dist/stzh-components/p-ca062c11.system.js +1 -0
  392. package/dist/stzh-components/{p-49e37004.entry.js → p-ce070ccd.entry.js} +1 -1
  393. package/dist/stzh-components/{p-b3b5ee7e.entry.js → p-ce28428b.entry.js} +1 -1
  394. package/dist/stzh-components/p-cfaac121.js +1 -0
  395. package/dist/stzh-components/{p-6ec17efc.entry.js → p-d0aa9d3b.entry.js} +1 -1
  396. package/dist/stzh-components/{p-2990206c.system.entry.js → p-d11a70e2.system.entry.js} +1 -1
  397. package/dist/stzh-components/p-d1dba399.system.entry.js +1 -0
  398. package/dist/stzh-components/p-d2b5e066.entry.js +1 -0
  399. package/dist/stzh-components/{p-58ffc722.system.entry.js → p-d54f04c8.system.entry.js} +1 -1
  400. package/dist/stzh-components/p-d645d645.entry.js +1 -0
  401. package/dist/stzh-components/{p-30cb8bc0.system.entry.js → p-d6c07494.system.entry.js} +1 -1
  402. package/dist/stzh-components/{p-cf162e67.entry.js → p-d7893dfd.entry.js} +1 -1
  403. package/dist/stzh-components/{p-73194e28.entry.js → p-d9643cc4.entry.js} +1 -1
  404. package/dist/stzh-components/{p-c6ad1a8c.entry.js → p-da7b363e.entry.js} +1 -1
  405. package/dist/stzh-components/{p-58917ce2.entry.js → p-db5363ef.entry.js} +1 -1
  406. package/dist/stzh-components/p-de017b87.system.entry.js +1 -0
  407. package/dist/stzh-components/{p-2d0685e3.entry.js → p-e009bfdc.entry.js} +1 -1
  408. package/dist/stzh-components/{p-fc9c4fc3.system.entry.js → p-e213663c.system.entry.js} +1 -1
  409. package/dist/stzh-components/{p-7a6e347d.system.entry.js → p-e7a84e53.system.entry.js} +1 -1
  410. package/dist/stzh-components/{p-14d728f0.entry.js → p-ee22256f.entry.js} +1 -1
  411. package/dist/stzh-components/{p-670d4834.entry.js → p-f1356a85.entry.js} +1 -1
  412. package/dist/stzh-components/{p-82e6148a.system.entry.js → p-f167eaa4.system.entry.js} +1 -1
  413. package/dist/stzh-components/{p-3c799247.entry.js → p-f2ee016a.entry.js} +1 -1
  414. package/dist/stzh-components/{p-1ace5d80.entry.js → p-f788a468.entry.js} +1 -1
  415. package/dist/stzh-components/{p-99533090.system.entry.js → p-f832e938.system.entry.js} +1 -1
  416. package/dist/stzh-components/{p-32b78d65.js → p-f84fa2a4.js} +1 -1
  417. package/dist/stzh-components/{p-80db7aa6.system.entry.js → p-fa56fc0d.system.entry.js} +1 -1
  418. package/dist/stzh-components/{p-88a4f756.system.entry.js → p-fc13d017.system.entry.js} +1 -1
  419. package/dist/stzh-components/p-fc6b4f91.system.entry.js +1 -0
  420. package/dist/stzh-components/p-fdd1998f.entry.js +1 -0
  421. package/dist/stzh-components/{p-9e6c25ed.system.entry.js → p-fdf0b4bc.system.entry.js} +1 -1
  422. package/dist/stzh-components/{p-0c92ee26.system.entry.js → p-ffa1e9dd.system.entry.js} +1 -1
  423. package/dist/stzh-components/stzh-components.css +1 -1
  424. package/dist/stzh-components/stzh-components.esm.js +1 -1
  425. package/dist/stzh-components/stzh-components.js +1 -1
  426. package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +5 -0
  427. package/dist/types/components/{stzh-servicecard/stzh-servicecard.localization.d.ts → stzh-card/stzh-card.localization.d.ts} +2 -1
  428. package/dist/types/components/{stzh-servicecard-list/stzh-servicecard-list.localization.d.ts → stzh-card-list/stzh-card-list.localization.d.ts} +1 -1
  429. package/dist/types/components.d.ts +518 -239
  430. package/dist/types/index.d.ts +57 -14
  431. package/dist/types/utils/utils.d.ts +2 -0
  432. package/dist/vscode-data.json +366 -132
  433. package/package.json +1 -1
  434. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +0 -56
  435. package/dist/cjs/stzh-servicecard.cjs.entry.js +0 -212
  436. package/dist/cjs/utils-d327c19d.js +0 -36
  437. package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +0 -558
  438. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +0 -592
  439. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +0 -73
  440. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +0 -153
  441. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +0 -115
  442. package/dist/components/stzh-servicecard-list.js +0 -99
  443. package/dist/components/stzh-servicecard.js +0 -283
  444. package/dist/esm/stzh-servicecard-list.entry.js +0 -52
  445. package/dist/esm/stzh-servicecard.entry.js +0 -208
  446. package/dist/esm/utils-904416df.js +0 -33
  447. package/dist/esm-es5/app-globals-70c229e3.js +0 -1
  448. package/dist/esm-es5/stzh-servicecard-list.entry.js +0 -1
  449. package/dist/esm-es5/stzh-servicecard.entry.js +0 -1
  450. package/dist/esm-es5/utils-904416df.js +0 -1
  451. package/dist/stzh-components/p-043ab41e.system.entry.js +0 -1
  452. package/dist/stzh-components/p-1d914f6c.entry.js +0 -1
  453. package/dist/stzh-components/p-323fdc2f.entry.js +0 -1
  454. package/dist/stzh-components/p-49ea222f.system.entry.js +0 -1
  455. package/dist/stzh-components/p-5f7b72c8.entry.js +0 -1
  456. package/dist/stzh-components/p-5f856307.system.js +0 -1
  457. package/dist/stzh-components/p-63b5068a.system.entry.js +0 -1
  458. package/dist/stzh-components/p-6c502e6e.js +0 -1
  459. package/dist/stzh-components/p-6ea5c23d.system.entry.js +0 -7
  460. package/dist/stzh-components/p-7279af4a.system.entry.js +0 -1
  461. package/dist/stzh-components/p-7bb1bd3b.entry.js +0 -1
  462. package/dist/stzh-components/p-8462ba57.entry.js +0 -1
  463. package/dist/stzh-components/p-88bef2cd.entry.js +0 -1
  464. package/dist/stzh-components/p-a7c3b41a.entry.js +0 -1
  465. package/dist/stzh-components/p-a86c6487.entry.js +0 -1
  466. package/dist/stzh-components/p-aa4e28cc.system.js +0 -1
  467. package/dist/stzh-components/p-ac1da083.system.js +0 -1
  468. package/dist/stzh-components/p-b63d6ded.system.entry.js +0 -1
  469. package/dist/stzh-components/p-bcade28e.entry.js +0 -1
  470. package/dist/stzh-components/p-be21cebd.js +0 -1
  471. package/dist/stzh-components/p-d04e8743.system.entry.js +0 -1
  472. package/dist/stzh-components/p-d8819b74.system.entry.js +0 -1
  473. package/dist/stzh-components/p-e048de42.entry.js +0 -8
  474. package/dist/stzh-components/p-e2ce48f1.system.entry.js +0 -1
  475. package/dist/stzh-components/p-e987954a.system.entry.js +0 -1
  476. package/dist/stzh-components/p-f21440b3.entry.js +0 -1
  477. package/dist/stzh-components/p-fe9f8a09.system.entry.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(e){"use strict";var t,s,r,a;return{setters:[function(e){t=e.r;s=e.h;r=e.a;a=e.g}],execute:function(){var l=".sc-stzh-loader-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-loader-h{display:none}.sc-stzh-loader-h *.sc-stzh-loader,.sc-stzh-loader-h *.sc-stzh-loader::before,.sc-stzh-loader-h *.sc-stzh-loader::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-loader{0%{-webkit-transform:scale(0);transform:scale(0);left:0;opacity:1}12.5%{-webkit-transform:scale(1);transform:scale(1)}25%{left:0}37.5%{left:4.375rem}50%{left:4.375rem}62.5%{left:8.75rem}75%{left:8.75rem;-webkit-transform:scale(1);transform:scale(1)}87.5%{left:8.75rem;-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{left:8.75rem;opacity:0}}@keyframes stzh-loader{0%{-webkit-transform:scale(0);transform:scale(0);left:0;opacity:1}12.5%{-webkit-transform:scale(1);transform:scale(1)}25%{left:0}37.5%{left:4.375rem}50%{left:4.375rem}62.5%{left:8.75rem}75%{left:8.75rem;-webkit-transform:scale(1);transform:scale(1)}87.5%{left:8.75rem;-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{left:8.75rem;opacity:0}}.stzh-loader.sc-stzh-loader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.stzh-loader__label.sc-stzh-loader{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-align:center}.stzh-loader__label.sc-stzh-loader:not(:empty){margin-top:var(--stzh-space-medium)}.stzh-loader__wrapper.sc-stzh-loader{width:2.5rem;height:0.5rem}.stzh-loader__uil.sc-stzh-loader{background:none;position:relative;width:12.5rem;height:2.5rem;-webkit-transform:scale(0.2);transform:scale(0.2);-webkit-transform-origin:top left;transform-origin:top left}.stzh-loader__ib.sc-stzh-loader{width:100%;height:100%;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.stzh-loader__circle.sc-stzh-loader{width:3.75rem;height:2.5rem;position:absolute;opacity:0;text-align:center;-webkit-animation:stzh-loader 3s linear infinite;animation:stzh-loader 3s linear infinite}.stzh-loader__circle.sc-stzh-loader>div.sc-stzh-loader{width:2.5rem;height:2.5rem;border-radius:1.25rem;margin:0 0.625rem}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2n+1)>div.sc-stzh-loader{background:#0F05A0}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2n)>div.sc-stzh-loader{background:#0F05A0}.stzh-loader__circle.sc-stzh-loader:nth-of-type(1){-webkit-animation-delay:0s;animation-delay:0s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2){-webkit-animation-delay:0.75s;animation-delay:0.75s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(3){-webkit-animation-delay:1.5s;animation-delay:1.5s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(4){-webkit-animation-delay:2.25s;animation-delay:2.25s}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__label.sc-stzh-loader{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__label.sc-stzh-loader:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__wrapper.sc-stzh-loader{width:1.25rem;height:0.25rem}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__uil.sc-stzh-loader{-webkit-transform:scale(0.1);transform:scale(0.1)}.stzh-loader--hide-label.sc-stzh-loader .stzh-loader__label.sc-stzh-loader{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 o=e("stzh_loader",function(){function e(e){t(this,e);this.size="default";this.label="";this.hideLabel=false}e.prototype.render=function(){var e;var t=(e={"stzh-loader":true,"stzh-loader--hide-label":this.hideLabel},e["stzh-loader--size-".concat(this.size)]=!!this.size,e);return s(r,null,s("div",{class:t},s("div",{class:"stzh-loader__wrapper"},s("div",{class:"stzh-loader__uil"},s("div",{class:"stzh-loader__ib"},s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null))))),s("div",{class:"stzh-loader__label","aria-live":"polite"},this.label?this.label:s("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());o.style=l}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(e){"use strict";var t,s,r,a;return{setters:[function(e){t=e.r;s=e.h;r=e.a;a=e.g}],execute:function(){var l=".sc-stzh-loader-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-loader-h{display:none}.sc-stzh-loader-h *.sc-stzh-loader,.sc-stzh-loader-h *.sc-stzh-loader::before,.sc-stzh-loader-h *.sc-stzh-loader::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-loader{0%{-webkit-transform:scale(0);transform:scale(0);left:0;opacity:1}12.5%{-webkit-transform:scale(1);transform:scale(1)}25%{left:0}37.5%{left:4.375rem}50%{left:4.375rem}62.5%{left:8.75rem}75%{left:8.75rem;-webkit-transform:scale(1);transform:scale(1)}87.5%{left:8.75rem;-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{left:8.75rem;opacity:0}}@keyframes stzh-loader{0%{-webkit-transform:scale(0);transform:scale(0);left:0;opacity:1}12.5%{-webkit-transform:scale(1);transform:scale(1)}25%{left:0}37.5%{left:4.375rem}50%{left:4.375rem}62.5%{left:8.75rem}75%{left:8.75rem;-webkit-transform:scale(1);transform:scale(1)}87.5%{left:8.75rem;-webkit-transform:scale(0);transform:scale(0);opacity:1}100%{left:8.75rem;opacity:0}}.stzh-loader.sc-stzh-loader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.stzh-loader__label.sc-stzh-loader{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-align:center}.stzh-loader__label.sc-stzh-loader:not(:empty){margin-top:var(--stzh-space-medium)}.stzh-loader__wrapper.sc-stzh-loader{width:2.5rem;height:0.5rem}.stzh-loader__uil.sc-stzh-loader{background:none;position:relative;width:12.5rem;height:2.5rem;-webkit-transform:scale(0.2);transform:scale(0.2);-webkit-transform-origin:top left;transform-origin:top left}.stzh-loader__ib.sc-stzh-loader{width:100%;height:100%;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.stzh-loader__circle.sc-stzh-loader{width:3.75rem;height:2.5rem;position:absolute;opacity:0;text-align:center;-webkit-animation:stzh-loader 3s linear infinite;animation:stzh-loader 3s linear infinite}.stzh-loader__circle.sc-stzh-loader>div.sc-stzh-loader{width:2.5rem;height:2.5rem;border-radius:1.25rem;margin:0 0.625rem}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2n+1)>div.sc-stzh-loader{background:#0F05A0}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2n)>div.sc-stzh-loader{background:#0F05A0}.stzh-loader__circle.sc-stzh-loader:nth-of-type(1){-webkit-animation-delay:0s;animation-delay:0s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(2){-webkit-animation-delay:0.75s;animation-delay:0.75s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(3){-webkit-animation-delay:1.5s;animation-delay:1.5s}.stzh-loader__circle.sc-stzh-loader:nth-of-type(4){-webkit-animation-delay:2.25s;animation-delay:2.25s}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__label.sc-stzh-loader{font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__label.sc-stzh-loader:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__wrapper.sc-stzh-loader{width:1.25rem;height:0.25rem}.stzh-loader--size-small.sc-stzh-loader .stzh-loader__uil.sc-stzh-loader{-webkit-transform:scale(0.1);transform:scale(0.1)}.stzh-loader--hide-label.sc-stzh-loader .stzh-loader__label.sc-stzh-loader{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 o=e("stzh_loader",function(){function e(e){t(this,e);this.size="default";this.label="";this.hideLabel=false}e.prototype.render=function(){var e;var t=(e={"stzh-loader":true,"stzh-loader--hide-label":this.hideLabel},e["stzh-loader--size-".concat(this.size)]=!!this.size,e);return s(r,null,s("div",{class:t},s("div",{class:"stzh-loader__wrapper"},s("div",{class:"stzh-loader__uil"},s("div",{class:"stzh-loader__ib"},s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null)),s("div",{class:"stzh-loader__circle"},s("div",null))))),s("div",{class:"stzh-loader__label","aria-live":"polite"},this.label?this.label:s("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());o.style=l}}}));
@@ -1 +1 @@
1
- import{r as c,c as s,h as e,g as t}from"./p-65282c9d.js";import{h}from"./p-6c502e6e.js";import{f as o}from"./p-25a09313.js";import{S as r}from"./p-32b78d65.js";let i=0;const n=class{constructor(e){c(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.checked=!1,this.label="",this.showMarker=!1,this.a11yDescribedby="",this.onInput=c=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-checkbox",originalEvent:c,value:this.value,checked:this.checked})},this.onFocus=c=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-checkbox",originalEvent:c})},this.onBlur=c=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-checkbox",originalEvent:c})}}async setFocus(){this.input.focus()}errorWatcher(c){if("string"==typeof c)try{this._error=JSON.parse(c)}catch(s){this._error=c?[c]:[]}else this._error=c||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-checkbox-"+i++,this.errorWatcher(this.error),this.localization||(this.localization=await o(this.element,"checkbox"))}render(){const c=h(this.element,"description")||!!this.description,s=h(this.element,"description-long")||!!this.descriptionLong,t=h(this.element,"error")||!!this.error;return e("div",{class:{"stzh-checkbox":!0,"stzh-checkbox--has-description":c,"stzh-checkbox--has-description-long":s,"stzh-checkbox--has-error":t,"stzh-checkbox--is-required":this.required,"stzh-checkbox--is-invalid":this.invalid,"stzh-checkbox--is-disabled":this.disabled}},e("label",{class:"stzh-checkbox__field-wrapper"},e("input",{class:"stzh-checkbox__input",ref:c=>this.input=c,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-checkbox__mark"},e("div",{class:"stzh-checkbox__check",innerHTML:'<svg width="16" height="16" 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'})),e("div",{class:"stzh-checkbox__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-checkbox__marker"},e("span",{class:"stzh-checkbox__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-checkbox__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(r,{classPrefix:"stzh-checkbox",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return t(this)}static get watchers(){return{error:["errorWatcher"]}}};n.style=".sc-stzh-checkbox-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-checkbox-h{display:none}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkbox-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-checkbox-h .sc-stzh-checkbox-s>stzh-text{--color:inherit}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkbox__marker-text.sc-stzh-checkbox{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-checkbox__description-wrapper.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-popover[open].sc-stzh-checkbox:not([open=false]) .stzh-checkbox__description-long-button.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__description-long-button.sc-stzh-checkbox{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-checkbox__description-long-button.sc-stzh-checkbox:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__check.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;opacity:0;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__check.sc-stzh-checkbox path.sc-stzh-checkbox{vector-effect:var(--stzh-base-vector-effect)}.stzh-checkbox__label.sc-stzh-checkbox{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:focus:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:focus~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-error)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-grey61)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-grey5)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-grey5)}";export{n as stzh_checkbox}
1
+ import{r as c,c as s,h as e,g as t}from"./p-93e8e31f.js";import{h}from"./p-1f57d28e.js";import{f as o}from"./p-25a09313.js";import{S as r}from"./p-f84fa2a4.js";let i=0;const n=class{constructor(e){c(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.checked=!1,this.label="",this.showMarker=!1,this.a11yDescribedby="",this.onInput=c=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-checkbox",originalEvent:c,value:this.value,checked:this.checked})},this.onFocus=c=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-checkbox",originalEvent:c})},this.onBlur=c=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-checkbox",originalEvent:c})}}async setFocus(){this.input.focus()}errorWatcher(c){if("string"==typeof c)try{this._error=JSON.parse(c)}catch(s){this._error=c?[c]:[]}else this._error=c||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-checkbox-"+i++,this.errorWatcher(this.error),this.localization||(this.localization=await o(this.element,"checkbox"))}render(){const c=h(this.element,"description")||!!this.description,s=h(this.element,"description-long")||!!this.descriptionLong,t=h(this.element,"error")||!!this.error;return e("div",{class:{"stzh-checkbox":!0,"stzh-checkbox--has-description":c,"stzh-checkbox--has-description-long":s,"stzh-checkbox--has-error":t,"stzh-checkbox--is-required":this.required,"stzh-checkbox--is-invalid":this.invalid,"stzh-checkbox--is-disabled":this.disabled}},e("label",{class:"stzh-checkbox__field-wrapper"},e("input",{class:"stzh-checkbox__input",ref:c=>this.input=c,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-checkbox__mark"},e("div",{class:"stzh-checkbox__check",innerHTML:'<svg width="16" height="16" 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'})),e("div",{class:"stzh-checkbox__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-checkbox__marker"},e("span",{class:"stzh-checkbox__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-checkbox__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(r,{classPrefix:"stzh-checkbox",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return t(this)}static get watchers(){return{error:["errorWatcher"]}}};n.style=".sc-stzh-checkbox-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-checkbox-h{display:none}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkbox-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-checkbox-h .sc-stzh-checkbox-s>stzh-text{--color:inherit}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkbox__marker-text.sc-stzh-checkbox{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-checkbox__description-wrapper.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-popover[open].sc-stzh-checkbox:not([open=false]) .stzh-checkbox__description-long-button.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__description-long-button.sc-stzh-checkbox{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-checkbox__description-long-button.sc-stzh-checkbox:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__check.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;opacity:0;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__check.sc-stzh-checkbox path.sc-stzh-checkbox{vector-effect:var(--stzh-base-vector-effect)}.stzh-checkbox__label.sc-stzh-checkbox{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:focus:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:focus~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-error)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-grey61)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-grey5)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-grey5)}";export{n as stzh_checkbox}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function s(t){try{a(n.next(t))}catch(e){i(e)}}function c(t){try{a(n["throw"](t))}catch(e){i(e)}}function a(t){t.done?r(t.value):o(t.value).then(s,c)}a((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(t){return function(e){return a([t,e])}}function a(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(c){s=[6,c];o=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-30b347ee.system.js"],(function(t){"use strict";var e,r,n,o;return{setters:[function(t){e=t.r;r=t.h;n=t.a;o=t.g}],execute:function(){var i=".sc-stzh-accordion-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-h{display:none}.sc-stzh-accordion-h *.sc-stzh-accordion,.sc-stzh-accordion-h *.sc-stzh-accordion::before,.sc-stzh-accordion-h *.sc-stzh-accordion::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-accordion-h .sc-stzh-accordion-s>stzh-accordion-item:not(:last-child){margin-bottom:var(--stzh-space-small)}";var s=t("stzh_accordion",function(){function t(t){e(this,t);this.collapsible=true;this.multiselectable=true}t.prototype.openListener=function(t){var e=t.target;var r=e.closest("stzh-accordion");if(this.multiselectable||r!==this.element){return}var n=Array.from(r.querySelectorAll("stzh-accordion-item"));n.forEach((function(t){if(t!==e){t.hide()}}))};t.prototype.setItemFocus=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,o;return __generator(this,(function(i){r=t.closest("stzh-accordion");if(r!==this.element){return[2]}n=Array.from(r.querySelectorAll("stzh-accordion-item")).filter((function(t){return!t.disabled}));o=n.indexOf(t);if((e==="prev"||e==="next")&&o===null){e=e==="prev"?"last":"first"}if(e==="prev"&&o===0){e="last"}if(e==="next"&&o===n.length-1){e="first"}if(e==="prev"){n[o-1].setFocus()}else if(e==="next"){n[o+1].setFocus()}else if(e==="last"){n[n.length-1].setFocus()}else if(e==="first"){n[0].setFocus()}else{t.setFocus()}return[2]}))}))};t.prototype.render=function(){var t={"stzh-accordion":true};return r(n,null,r("div",{class:t},r("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());s.style=i}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function s(t){try{a(n.next(t))}catch(e){i(e)}}function c(t){try{a(n["throw"](t))}catch(e){i(e)}}function a(t){t.done?r(t.value):o(t.value).then(s,c)}a((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(t){return function(e){return a([t,e])}}function a(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(c){s=[6,c];o=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var e,r,n,o;return{setters:[function(t){e=t.r;r=t.h;n=t.a;o=t.g}],execute:function(){var i=".sc-stzh-accordion-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-h{display:none}.sc-stzh-accordion-h *.sc-stzh-accordion,.sc-stzh-accordion-h *.sc-stzh-accordion::before,.sc-stzh-accordion-h *.sc-stzh-accordion::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-accordion-h .sc-stzh-accordion-s>stzh-accordion-item:not(:last-child){margin-bottom:var(--stzh-space-small)}";var s=t("stzh_accordion",function(){function t(t){e(this,t);this.collapsible=true;this.multiselectable=true}t.prototype.openListener=function(t){var e=t.target;var r=e.closest("stzh-accordion");if(this.multiselectable||r!==this.element){return}var n=Array.from(r.querySelectorAll("stzh-accordion-item"));n.forEach((function(t){if(t!==e){t.hide()}}))};t.prototype.setItemFocus=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,o;return __generator(this,(function(i){r=t.closest("stzh-accordion");if(r!==this.element){return[2]}n=Array.from(r.querySelectorAll("stzh-accordion-item")).filter((function(t){return!t.disabled}));o=n.indexOf(t);if((e==="prev"||e==="next")&&o===null){e=e==="prev"?"last":"first"}if(e==="prev"&&o===0){e="last"}if(e==="next"&&o===n.length-1){e="first"}if(e==="prev"){n[o-1].setFocus()}else if(e==="next"){n[o+1].setFocus()}else if(e==="last"){n[n.length-1].setFocus()}else if(e==="first"){n[0].setFocus()}else{t.setFocus()}return[2]}))}))};t.prototype.render=function(){var t={"stzh-accordion":true};return r(n,null,r("div",{class:t},r("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());s.style=i}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{a(o.next(t))}catch(e){r(e)}}function l(t){try{a(o["throw"](t))}catch(e){r(e)}}function a(t){t.done?i(t.value):n(t.value).then(s,l)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,n,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(t){return function(e){return a([t,e])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(l){s=[6,l];n=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-30b347ee.system.js","./p-a408bfba.system.js","./p-5f856307.system.js"],(function(t){"use strict";var e,i,o,n,r,s,l,a;return{setters:[function(t){e=t.r;i=t.h;o=t.F;n=t.a;r=t.g},function(t){s=t.f},function(t){l=t.s;a=t.h}],execute:function(){var h=":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}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}";var c=t("stzh_footer",function(){function t(t){var i=this;e(this,t);this.variant="default";this.mainUrl="https://stadt-zuerich.ch";this.init=function(){var t=i.element.querySelector('stzh-link[slot="social-link"]');var e=i.element.querySelectorAll('stzh-link[slot="link"]');if(t){l(t,{icon:"social-media"})}e.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:if(typeof this.copyright==="undefined"){t=new Date;this.copyright="© ".concat(t.getFullYear()," Stadt Zürich")}if(!!this.localization)return[3,2];e=this;return[4,s(this.element,"footer")];case 1:e.localization=i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t=a(this.element,"link");var e=a(this.element,"social-link");var r={"stzh-footer":true,"stzh-footer--has-links":t,"stzh-footer--has-social-link":e};return i(n,null,i("footer",{class:r},i("div",{class:"stzh-footer__wrapper"},i("slot",{name:"social-link"}),i("div",{class:"stzh-footer__links"},this.copyright&&i("div",{class:"stzh-footer__copyright"},this.copyright),i("div",{class:"stzh-footer__link-list",role:"list"},i("slot",{name:"link"},this.variant==="egov"&&i(o,null,i("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.legalNoticeUrl)},this.localization.legalNoticeText),i("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.imprintUrl)},this.localization.imprintText),i("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:"".concat(this.mainUrl,"/").concat(this.localization.accessibilityUrl)},this.localization.accessibilityText))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());c.style=h}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{a(o.next(t))}catch(e){r(e)}}function l(t){try{a(o["throw"](t))}catch(e){r(e)}}function a(t){t.done?i(t.value):n(t.value).then(s,l)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,n,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(t){return function(e){return a([t,e])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(l){s=[6,l];n=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-a408bfba.system.js","./p-0230004d.system.js"],(function(t){"use strict";var e,i,o,n,r,s,l,a;return{setters:[function(t){e=t.r;i=t.h;o=t.F;n=t.a;r=t.g},function(t){s=t.f},function(t){l=t.s;a=t.h}],execute:function(){var h=":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}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}";var c=t("stzh_footer",function(){function t(t){var i=this;e(this,t);this.variant="default";this.mainUrl="https://stadt-zuerich.ch";this.init=function(){var t=i.element.querySelector('stzh-link[slot="social-link"]');var e=i.element.querySelectorAll('stzh-link[slot="link"]');if(t){l(t,{icon:"social-media"})}e.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:if(typeof this.copyright==="undefined"){t=new Date;this.copyright="© ".concat(t.getFullYear()," Stadt Zürich")}if(!!this.localization)return[3,2];e=this;return[4,s(this.element,"footer")];case 1:e.localization=i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t=a(this.element,"link");var e=a(this.element,"social-link");var r={"stzh-footer":true,"stzh-footer--has-links":t,"stzh-footer--has-social-link":e};return i(n,null,i("footer",{class:r},i("div",{class:"stzh-footer__wrapper"},i("slot",{name:"social-link"}),i("div",{class:"stzh-footer__links"},this.copyright&&i("div",{class:"stzh-footer__copyright"},this.copyright),i("div",{class:"stzh-footer__link-list",role:"list"},i("slot",{name:"link"},this.variant==="egov"&&i(o,null,i("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.legalNoticeUrl)},this.localization.legalNoticeText),i("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.imprintUrl)},this.localization.imprintText),i("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:"".concat(this.mainUrl,"/").concat(this.localization.accessibilityUrl)},this.localization.accessibilityText))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());c.style=h}}}));
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(e){"use strict";var t,s,i,n;return{setters:[function(e){t=e.r;s=e.h;i=e.a;n=e.g}],execute:function(){var r=".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%}}";var o=e("stzh_page_skiplinks",function(){function e(e){var s=this;t(this,e);this.init=function(){var e=s.element.querySelectorAll("stzh-skiplink");e.forEach((function(e){e.setAttribute("role","listitem")}))}}e.prototype.connectedCallback=function(){this.init();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(){return s(i,null,s("div",{class:"stzh-page-skiplinks",role:"list"},s("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());o.style=r}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(e){"use strict";var t,s,i,n;return{setters:[function(e){t=e.r;s=e.h;i=e.a;n=e.g}],execute:function(){var r=".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%}}";var o=e("stzh_page_skiplinks",function(){function e(e){var s=this;t(this,e);this.init=function(){var e=s.element.querySelectorAll("stzh-skiplink");e.forEach((function(e){e.setAttribute("role","listitem")}))}}e.prototype.connectedCallback=function(){this.init();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(){return s(i,null,s("div",{class:"stzh-page-skiplinks",role:"list"},s("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());o.style=r}}}));
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js","./p-5f856307.system.js"],(function(t){"use strict";var e,i,s,r,n;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g},function(t){n=t.h}],execute:function(){var o=".sc-stzh-figure-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-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-figure-h .sc-stzh-figure-s>img,.sc-stzh-figure-h .sc-stzh-figure-s>video,.sc-stzh-figure-h .sc-stzh-figure-s>picture{width:100%;max-width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));color:var(--stzh-base-color);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption.sc-stzh-figure:empty{display:none}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}";var h=t("stzh_figure",function(){function t(t){e(this,t);this.caption="";this.copyright=""}t.prototype.render=function(){var t=n(this.element,"caption");var e={"stzh-figure":true,"stzh-figure--has-caption":t};return i(s,null,i("figure",{class:e},i("div",{class:"stzh-figure__element"},i("slot",null)),i("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:i("slot",{name:"caption"}),i("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:i("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
1
+ System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js"],(function(t){"use strict";var e,i,s,r,n;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g},function(t){n=t.h}],execute:function(){var o=".sc-stzh-figure-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-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-figure-h .sc-stzh-figure-s>img,.sc-stzh-figure-h .sc-stzh-figure-s>video,.sc-stzh-figure-h .sc-stzh-figure-s>picture{width:100%;max-width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));color:var(--stzh-base-color);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption.sc-stzh-figure:empty{display:none}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}";var h=t("stzh_figure",function(){function t(t){e(this,t);this.caption="";this.copyright=""}t.prototype.render=function(){var t=n(this.element,"caption");var e={"stzh-figure":true,"stzh-figure--has-caption":t};return i(s,null,i("figure",{class:e},i("div",{class:"stzh-figure__element"},i("slot",null)),i("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:i("slot",{name:"caption"}),i("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:i("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,a){function o(t){try{r(n.next(t))}catch(i){a(i)}}function c(t){try{r(n["throw"](t))}catch(i){a(i)}}function r(t){t.done?e(t.value):s(t.value).then(o,c)}r((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,s,a,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(i){return r([t,i])}}function r(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,s&&(a=o[0]&2?s["return"]:o[0]?s["throw"]||((a=s["return"])&&a.call(s),0):s.next)&&!(a=a.call(s,o[1])).done)return a;if(s=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;s=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){e.label=o[1];break}if(o[0]===6&&e.label<a[1]){e.label=a[1];a=o;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(o);break}if(a[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(c){o=[6,c];s=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js"],(function(t){"use strict";var i,e,n,s,a,o,c;return{setters:[function(t){i=t.r;e=t.c;n=t.h;s=t.a;a=t.g},function(t){o=t.f},function(t){c=t.m}],execute:function(){var r=".sc-stzh-actionset-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-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";var l=t("stzh_actionset",function(){function t(t){var n=this;i(this,t);this.stzhActionClick=e(this,"stzhActionClick",7);this.variant="stack";this.popoverButtonVariant="";this.popoverButtonSize="";this.popoverPlacement="bottom-end";this.actions=[];this._actions=[];this.actionsCollapsed=[];this.actionClick=function(t){n.stzhActionClick.emit({component:"stzh-actionset",action:t})};this.update=function(){n.isSmall=c("small").matches;n.isMedium=c("medium").matches;if(!n.actionsElement){return}Object.assign(n.actionsElement.style,{width:null,height:null});var t=0;if(n.variant==="overflow"&&n.isMedium||n.variant==="stack"&&n.isSmall){n.dynamicActions=true;var i=0;var e=0;Array.from(n.actionsElement.children).forEach((function(n){if(n.offsetTop===0){t++;var s=getComputedStyle(n);var a=parseInt(s.marginLeft);var o=parseInt(s.marginRight);var c=parseInt(s.marginTop);var r=parseInt(s.marginBottom);var l=n.offsetWidth+a+o;var h=n.offsetHeight+c+r;if(i<h){i=h}e=e+l}}));Object.assign(n.actionsElement.style,{width:"".concat(e+1,"px"),height:"".concat(i,"px")})}else{n.dynamicActions=false;if(n.variant==="overflow"){t=0}else if(n.variant==="stack"){t=n._actions.length<=3?n._actions.length:2}}n.actionsCollapsed=n._actions.slice(t)}}t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.handleResize=function(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:this.actionsWatcher(this.actions);if(!!this.localization)return[3,2];t=this;return[4,o(this.element,"actionset")];case 1:t.localization=i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.update()};t.prototype.render=function(){var t;var i=this;var e=(t={"stzh-actionset":true,"stzh-actionset--has-collapsed-items":this.actionsCollapsed.length>0},t["stzh-actionset--".concat(this.variant)]=!!this.variant,t);var a=function(t){return n("stzh-button",{class:{"stzh-actionset__action":true,"is-button":true},role:"listitem",icon:t.icon,iconPosition:t.iconPosition,iconOnly:t.iconOnly,badge:t.badge,variant:t.variant?t.variant:i.variant==="stack"?"secondary":"tertiary",size:t.size?t.size:i.variant==="stack"?"default":"tiny",badgePosition:"icon",onClick:function(){i.actionClick(t)}},n("span",{class:{}},t.label))};return n(s,{"has-collapsed-items":this.actionsCollapsed.length>0},n("div",{class:e},n("div",{class:"stzh-actionset__actions",role:"list"},n("div",{ref:function(t){return i.actionsElement=t},class:"stzh-actionset__actions-wrapper"},this._actions.map((function(t){return(i.dynamicActions||!i.dynamicActions&&i.actionsCollapsed.indexOf(t)===-1)&&(t.tooltipContent?n("stzh-tooltip",{strategy:"fixed",content:t.tooltipContent},a(t)):a(t))}))),n("stzh-popover",{label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:"",strategy:"fixed",placement:this.popoverPlacement,class:"stzh-actionset__action-popover"},n("stzh-button",{fullwidth:true,disabled:this.actionsCollapsed.length===0,class:"stzh-actionset__action is-further",variant:this.popoverButtonVariant!==""?this.popoverButtonVariant:this.variant==="stack"?"secondary":"tertiary",size:this.popoverButtonSize!==""?this.popoverButtonSize:this.variant==="stack"?"default":"tiny",icon:this.variant==="stack"?"angle-down":"more-vertical",iconOnly:this.variant==="overflow"&&this.isMedium,iconPosition:"right",label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:""}),n("stzh-menu",{slot:"content"},this.actionsCollapsed.map((function(t){return n("stzh-menu-item",{icon:t.icon,badge:t.badge,onClick:function(){i.actionClick(t)}},t.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{actions:["actionsWatcher"]}},enumerable:false,configurable:true});return t}());l.style=r}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,s,i,n){function e(t){return t instanceof i?t:new i((function(s){s(t)}))}return new(i||(i=Promise))((function(i,h){function r(t){try{u(n.next(t))}catch(s){h(s)}}function p(t){try{u(n["throw"](t))}catch(s){h(s)}}function u(t){t.done?i(t.value):e(t.value).then(r,p)}u((n=n.apply(t,s||[])).next())}))};var __generator=this&&this.__generator||function(t,s){var i={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},n,e,h,r;return r={next:p(0),throw:p(1),return:p(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function p(t){return function(s){return u([t,s])}}function u(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,e&&(h=r[0]&2?e["return"]:r[0]?e["throw"]||((h=e["return"])&&h.call(e),0):e.next)&&!(h=h.call(e,r[1])).done)return h;if(e=0,h)r=[r[0]&2,h.value];switch(r[0]){case 0:case 1:h=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;e=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(h=i.trys,h=h.length>0&&h[h.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!h||r[1]>h[0]&&r[1]<h[3])){i.label=r[1];break}if(r[0]===6&&i.label<h[1]){i.label=h[1];h=r;break}if(h&&i.label<h[2]){i.label=h[2];i.ops.push(r);break}if(h[2])i.ops.pop();i.trys.pop();continue}r=s.call(t,i)}catch(p){r=[6,p];e=0}finally{n=h=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js","./p-a408bfba.system.js","./p-63d89b96.system.js"],(function(t){"use strict";var s,i,n,e,h,r,p,u;return{setters:[function(t){s=t.r;i=t.c;n=t.h;e=t.a;h=t.g},function(t){r=t.h},function(t){p=t.f},function(t){u=t.S}],execute:function(){var o='.sc-stzh-input-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-input-h{display:none}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-input-h{width:100%;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0;right:0}.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-button,.stzh-input__button-right[variant=input].sc-stzh-input{--border-color:transparent;--hover-border-color:transparent}.stzh-input.sc-stzh-input{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-input__marker-text.sc-stzh-input{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-input__description-wrapper.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-input__description-long.sc-stzh-input{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-popover[open].sc-stzh-input:not([open=false]) .stzh-input__description-long-button.sc-stzh-input{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input__description-long-button.sc-stzh-input{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-input__description-long-button.sc-stzh-input:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxsmall)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:-ms-flexbox;display:flex}.stzh-input__input.sc-stzh-input{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:0.0625rem solid var(--stzh-color-grey61);-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);border-radius:var(--stzh-form-input-border-radius);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);width:100%;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background:var(--stzh-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:hover,.stzh-input__input.sc-stzh-input:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__input.sc-stzh-input::-ms-clear{display:none}.stzh-input__input.sc-stzh-input:-webkit-autofill{-webkit-background-clip:text;background-clip:text}.stzh-input__input.sc-stzh-input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-color-grey61);width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__label.sc-stzh-input::before{content:"";display:none;background:var(--stzh-color-white);position:absolute;width:100%;z-index:-1;left:0;top:50%;margin-top:-0.03125rem;height:0.125rem}.stzh-input__input.sc-stzh-input:hover+.stzh-input__label.sc-stzh-input,.stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__button-right.sc-stzh-input{display:none}.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:transparent}.stzh-input--is-clearable.stzh-input--is-filled.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.sc-stzh-input .stzh-input__button-right.sc-stzh-input{display:block}.stzh-input--type-search.sc-stzh-input:not(.stzh-input--is-filled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--is-filled.sc-stzh-input .stzh-input__button-right.is-search.sc-stzh-input{pointer-events:initial}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{display:block;top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - var(--stzh-space-small) * 2);pointer-events:all}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before{display:block}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-form-input-height))}.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-height))}.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xxsmall) - var(--stzh-form-input-height))}.stzh-input--size-small.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__label.sc-stzh-input{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-input--size-small.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{top:0}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xxsmall) + var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xsmall) - var(--stzh-form-input-small-height))}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input{border-color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input{color:var(--stzh-color-grey61);border-color:var(--stzh-color-grey5);background-color:var(--stzh-color-grey5);cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:focus,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:focus{border-color:var(--stzh-color-grey5)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input::before{background:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input],.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-grey61)}';var a=0;var l=t("stzh_input",function(){function t(t){var n=this;s(this,t);this.stzhChange=i(this,"stzhChange",7);this.stzhFocus=i(this,"stzhFocus",7);this.stzhBlur=i(this,"stzhBlur",7);this.multiline=false;this.type="text";this.step=1;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.showMarker=false;this.value="";this.invalid=false;this.required=false;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.size="default";this.a11yDescribedby="";this.onClearClick=function(t){n.value="";n.input.focus();n.stzhChange.emit({component:"stzh-input",originalEvent:t,value:n.value})};this.onInput=function(t){n.value=n.input.value;n.stzhChange.emit({component:"stzh-input",originalEvent:t,value:n.value})};this.onFocus=function(t){var s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(s);n.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=function(t){n.input.value=n.input.value;var s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});n.element.dispatchEvent(s);n.stzhBlur.emit({component:"stzh-input",originalEvent:t})}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.valueWatcher=function(t){this.filled=t!==""};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};t.prototype.typeWatcher=function(t){var s=["text","search","password","email","url","tel","number"];if(!this.multiline&&!s.includes(t)){throw new Error("Type ".concat(t," not supported"))}};t.prototype.renderTextarea=function(){var t=this;return n("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:function(s){return t.input=s},id:this.inputId,name:this.name,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur},this.value)};t.prototype.renderInput=function(){var t=this;return n("input",{class:"stzh-input__input stzh-input__input--input",ref:function(s){return t.input=s},id:this.inputId,type:this.type,name:this.name,value:this.value,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:this.inputId="stzh-input-".concat(a++);this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,p(this.element,"input")];case 1:t.localization=s.sent();s.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var s;var i=r(this.element,"button-right");var h=r(this.element,"description")||!!this.description;var p=r(this.element,"description-long")||!!this.descriptionLong;var o=r(this.element,"error")||!!this.error;var a=(t={"stzh-input":true,"stzh-input--has-button-right":i||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":p,"stzh-input--has-error":o,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--has-fixed-label":((s=window===null||window===void 0?void 0:window.stzhComponents)===null||s===void 0?void 0:s.labels)==="fixed"},t["stzh-input--size-".concat(this.size)]=!!this.size,t["stzh-input--type-".concat(this.type)]=!!this.type,t);return n(e,null,n("div",{class:a},n("div",{class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),n("label",{class:"stzh-input__label",htmlFor:this.inputId},this.label?this.label:n("slot",null),this.showMarker&&n("span",{class:"stzh-input__marker"},n("span",{class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),n("span",{class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),this.clearable||this.type==="search"?n("stzh-button",{class:"stzh-input__button-right",icon:this.disabled||this.readonly||!this.filled?"search":"close-circle","icon-only":true,variant:"input",onClick:this.onClearClick,disabled:this.disabled||this.readonly||!this.filled,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):n("slot",{name:"button-right"})),n(u,{classPrefix:"stzh-input",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:p,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))};Object.defineProperty(t.prototype,"element",{get:function(){return h(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}},enumerable:false,configurable:true});return t}());l.style=o}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,s,o){function r(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,l){function i(t){try{n(o.next(t))}catch(e){l(e)}}function g(t){try{n(o["throw"](t))}catch(e){l(e)}}function n(t){t.done?s(t.value):r(t.value).then(i,g)}n((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},o,r,l,i;return i={next:g(0),throw:g(1),return:g(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function g(t){return function(e){return n([t,e])}}function n(i){if(o)throw new TypeError("Generator is already executing.");while(s)try{if(o=1,r&&(l=i[0]&2?r["return"]:i[0]?r["throw"]||((l=r["return"])&&l.call(r),0):r.next)&&!(l=l.call(r,i[1])).done)return l;if(r=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:s.label++;return{value:i[1],done:false};case 5:s.label++;r=i[1];i=[0];continue;case 7:i=s.ops.pop();s.trys.pop();continue;default:if(!(l=s.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){s=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){s.label=i[1];break}if(i[0]===6&&s.label<l[1]){s.label=l[1];l=i;break}if(l&&s.label<l[2]){s.label=l[2];s.ops.push(i);break}if(l[2])s.ops.pop();s.trys.pop();continue}i=e.call(t,s)}catch(g){i=[6,g];r=0}finally{o=l=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-5f856307.system.js","./p-a408bfba.system.js","./p-9c0494a6.system.js"],(function(t){"use strict";var e,s,o,r,l,i,g;return{setters:[function(t){e=t.r;s=t.c;o=t.h;r=t.g},function(t){l=t.h},function(t){i=t.f},function(t){g=t.S}],execute:function(){var n=".sc-stzh-toggle-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-toggle-h{display:none}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-toggle-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-toggle-h .sc-stzh-toggle-s>stzh-text{--color:inherit}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-toggle__marker-text.sc-stzh-toggle{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-toggle__description-wrapper.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-toggle__description-long.sc-stzh-toggle{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-popover[open].sc-stzh-toggle:not([open=false]) .stzh-toggle__description-long-button.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle__description-long-button.sc-stzh-toggle{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-toggle__description-long-button.sc-stzh-toggle:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black8);width:2.75rem;height:1rem;-ms-flex-negative:0;flex-shrink:0;border-radius:0.75rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, transform;transition-property:border-color, background-color, transform, -webkit-transform;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);line-height:1.5rem}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey61)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-grey25)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-grey25)}";var h=0;var a=t("stzh_toggle",function(){function t(t){var o=this;e(this,t);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.showMarker=false;this.checked=false;this.label="";this.labelPosition="right";this.a11yDescribedby="";this.onInput=function(t){o.checked=o.input.checked;o.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:o.value,checked:o.checked})};this.onFocus=function(t){var e=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})};this.onBlur=function(t){var e=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(e){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};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.inputId="stzh-toggle-".concat(h++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,i(this.element,"toggle")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var e=this;var s=l(this.element,"description")||!!this.description;var r=l(this.element,"description-long")||!!this.descriptionLong;var i=l(this.element,"error")||!!this.error;var n=(t={"stzh-toggle":true,"stzh-toggle--has-error":i,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":s,"stzh-toggle--has-description-long":r},t["stzh-toggle--has-label-".concat(this.labelPosition)]=!!this.labelPosition,t);return o("div",{class:n},o("label",{class:"stzh-toggle__field-wrapper"},o("input",{class:"stzh-toggle__input",ref:function(t){return e.input=t},type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),o("div",{class:"stzh-toggle__mark"},o("div",{class:"stzh-toggle__check"})),o("div",{class:"stzh-toggle__label"},this.label?this.label:o("slot",null),this.showMarker&&o("span",{class:"stzh-toggle__marker"},o("span",{class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),o("span",{class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),o(g,{classPrefix:"stzh-toggle",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{error:["errorWatcher"]}},enumerable:false,configurable:true});return t}());a.style=n}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,s,o){function r(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,l){function i(t){try{n(o.next(t))}catch(e){l(e)}}function g(t){try{n(o["throw"](t))}catch(e){l(e)}}function n(t){t.done?s(t.value):r(t.value).then(i,g)}n((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},o,r,l,i;return i={next:g(0),throw:g(1),return:g(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function g(t){return function(e){return n([t,e])}}function n(i){if(o)throw new TypeError("Generator is already executing.");while(s)try{if(o=1,r&&(l=i[0]&2?r["return"]:i[0]?r["throw"]||((l=r["return"])&&l.call(r),0):r.next)&&!(l=l.call(r,i[1])).done)return l;if(r=0,l)i=[i[0]&2,l.value];switch(i[0]){case 0:case 1:l=i;break;case 4:s.label++;return{value:i[1],done:false};case 5:s.label++;r=i[1];i=[0];continue;case 7:i=s.ops.pop();s.trys.pop();continue;default:if(!(l=s.trys,l=l.length>0&&l[l.length-1])&&(i[0]===6||i[0]===2)){s=0;continue}if(i[0]===3&&(!l||i[1]>l[0]&&i[1]<l[3])){s.label=i[1];break}if(i[0]===6&&s.label<l[1]){s.label=l[1];l=i;break}if(l&&s.label<l[2]){s.label=l[2];s.ops.push(i);break}if(l[2])s.ops.pop();s.trys.pop();continue}i=e.call(t,s)}catch(g){i=[6,g];r=0}finally{o=l=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-a408bfba.system.js","./p-63d89b96.system.js"],(function(t){"use strict";var e,s,o,r,l,i,g;return{setters:[function(t){e=t.r;s=t.c;o=t.h;r=t.g},function(t){l=t.h},function(t){i=t.f},function(t){g=t.S}],execute:function(){var n=".sc-stzh-toggle-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-toggle-h{display:none}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-toggle-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-toggle-h .sc-stzh-toggle-s>stzh-text{--color:inherit}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-toggle__marker-text.sc-stzh-toggle{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-toggle__description-wrapper.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-toggle__description-long.sc-stzh-toggle{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-popover[open].sc-stzh-toggle:not([open=false]) .stzh-toggle__description-long-button.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle__description-long-button.sc-stzh-toggle{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-toggle__description-long-button.sc-stzh-toggle:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black8);width:2.75rem;height:1rem;-ms-flex-negative:0;flex-shrink:0;border-radius:0.75rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, transform;transition-property:border-color, background-color, transform, -webkit-transform;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);line-height:1.5rem}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey61)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-grey25)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-grey25)}";var h=0;var a=t("stzh_toggle",function(){function t(t){var o=this;e(this,t);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.showMarker=false;this.checked=false;this.label="";this.labelPosition="right";this.a11yDescribedby="";this.onInput=function(t){o.checked=o.input.checked;o.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:o.value,checked:o.checked})};this.onFocus=function(t){var e=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})};this.onBlur=function(t){var e=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});o.element.dispatchEvent(e);o.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(e){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};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.inputId="stzh-toggle-".concat(h++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,i(this.element,"toggle")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var e=this;var s=l(this.element,"description")||!!this.description;var r=l(this.element,"description-long")||!!this.descriptionLong;var i=l(this.element,"error")||!!this.error;var n=(t={"stzh-toggle":true,"stzh-toggle--has-error":i,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":s,"stzh-toggle--has-description-long":r},t["stzh-toggle--has-label-".concat(this.labelPosition)]=!!this.labelPosition,t);return o("div",{class:n},o("label",{class:"stzh-toggle__field-wrapper"},o("input",{class:"stzh-toggle__input",ref:function(t){return e.input=t},type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),o("div",{class:"stzh-toggle__mark"},o("div",{class:"stzh-toggle__check"})),o("div",{class:"stzh-toggle__label"},this.label?this.label:o("slot",null),this.showMarker&&o("span",{class:"stzh-toggle__marker"},o("span",{class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),o("span",{class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),o(g,{classPrefix:"stzh-toggle",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{error:["errorWatcher"]}},enumerable:false,configurable:true});return t}());a.style=n}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,a,g as e}from"./p-93e8e31f.js";import{c as r}from"./p-1f57d28e.js";import{f as c}from"./p-25a09313.js";const l=class{constructor(i){t(this,i),this.stzhCollapseAll=s(this,"stzhCollapseAll",7),this.showToggleLink=!1,this.sortableDisabled=!1,this.sortableDataIdAttribute="data-id",this.sortableGhostClone=t=>{const[s,i,a]=r(t);if(i&&a&&"stzh-card"===i.tagName.toLowerCase()){const t=i,s=a;t.heading=s.heading,t.subtitle=s.subtitle,t.headerActions=s.headerActions,t.footerActions=s.footerActions,t.hideMovementActions=s.hideMovementActions}return s},this.allCollapsed=!1,this.collapseClick=()=>{Array.from(this.element.querySelectorAll("stzh-card")).forEach((t=>{t.collapsible&&(t.collapsed=!this.allCollapsed)})),this.allCollapsed=!this.allCollapsed,this.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:this.allCollapsed})},this.updateCollapsedState=()=>{const t=Array.from(this.element.querySelectorAll("stzh-card"));this.allCollapsed=!t.some((t=>!t.collapsed))}}collapseListener(){this.updateCollapsedState()}async componentWillLoad(){this.localization||(this.localization=await c(this.element,"card-list"))}componentDidLoad(){this.updateCollapsedState()}render(){return i(a,null,i("div",{class:{"stzh-card-list":!0}},i("div",{class:"stzh-card-list__header"},i("div",{class:"stzh-card-list__description"},i("slot",{name:"description"})),this.showToggleLink&&i("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),i("stzh-sortable",{disabled:this.sortableDisabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},i("div",{class:"stzh-card-list__cards",role:"list"},i("slot",null)))))}get element(){return e(this)}};l.style=".sc-stzh-card-list-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-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 1024px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{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)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{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-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}";export{l as stzh_card_list}
@@ -1 +1 @@
1
- import{r as a,h as r,a as t,g as s}from"./p-65282c9d.js";const i=class{constructor(r){a(this,r),this.percent=0,this.hidePercent=!1,this.label=""}render(){return r(t,null,r("div",{class:{"stzh-loadingbar":!0}},r("div",{class:"stzh-loadingbar__text"},this.label&&r("div",{class:"stzh-loadingbar__label"},this.label),this.percent&&!this.hidePercent&&r("div",{class:"stzh-loadingbar__percent"},this.percent,"%")),r("div",{class:"stzh-loadingbar__bar"},r("div",{class:"stzh-loadingbar__bar-inner",style:{width:`${this.percent}%`}}))))}get element(){return s(this)}};i.style=".sc-stzh-loadingbar-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-loadingbar-h{display:none}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--bar-bg-color:var(--stzh-color-grey13)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--bar-bg-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{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);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}";export{i as stzh_loadingbar}
1
+ import{r as a,h as r,a as t,g as s}from"./p-93e8e31f.js";const i=class{constructor(r){a(this,r),this.percent=0,this.hidePercent=!1,this.label=""}render(){return r(t,null,r("div",{class:{"stzh-loadingbar":!0}},r("div",{class:"stzh-loadingbar__text"},this.label&&r("div",{class:"stzh-loadingbar__label"},this.label),this.percent&&!this.hidePercent&&r("div",{class:"stzh-loadingbar__percent"},this.percent,"%")),r("div",{class:"stzh-loadingbar__bar"},r("div",{class:"stzh-loadingbar__bar-inner",style:{width:`${this.percent}%`}}))))}get element(){return s(this)}};i.style=".sc-stzh-loadingbar-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-loadingbar-h{display:none}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--bar-bg-color:var(--stzh-color-grey13)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--bar-bg-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{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);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}";export{i as stzh_loadingbar}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js","./p-5f856307.system.js"],(function(t){"use strict";var s,o,i,e,n;return{setters:[function(t){s=t.r;o=t.h;i=t.a;e=t.g},function(t){n=t.s}],execute:function(){var c=".sc-stzh-actions-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-actions-h{display:none}.sc-stzh-actions-h *.sc-stzh-actions,.sc-stzh-actions-h *.sc-stzh-actions::before,.sc-stzh-actions-h *.sc-stzh-actions::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-actions-h .sc-stzh-actions-s>[slot=primary],.sc-stzh-actions-h .sc-stzh-actions-s>[slot=secondary]{-ms-flex-positive:1;flex-grow:1;margin:var(--stzh-space-xxsmall)}.stzh-actions__actions.sc-stzh-actions{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:calc(var(--stzh-space-xxsmall) * -1)}@media screen and (min-width: 600px){.stzh-actions__actions.sc-stzh-actions{-ms-flex-direction:row;flex-direction:row}}.stzh-actions__primary-actions.sc-stzh-actions,.stzh-actions__secondary-actions.sc-stzh-actions{display:-ms-flexbox;display:flex}.stzh-actions--dialog.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:end;justify-content:flex-end}.stzh-actions--process.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:justify;justify-content:space-between}.stzh-actions--with-border.sc-stzh-actions{padding-top:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}";var a=t("stzh_actions",function(){function t(t){var o=this;s(this,t);this.variant="form";this.withBorder=false;this.init=function(){var t=o.element.querySelectorAll('stzh-button[slot="secondary"], [slot="secondary"] stzh-button');var s=o.element.querySelectorAll("stzh-button");t.forEach((function(t){n(t,{variant:"secondary"})}));s.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t;var s=(t={"stzh-actions":true,"stzh-actions--with-border":this.withBorder},t["stzh-actions--".concat(this.variant)]=!!this.variant,t);return o(i,null,o("div",{class:s},o("div",{class:"stzh-actions__actions",role:"list"},o("div",{class:"stzh-actions__secondary-actions"},o("slot",{name:"secondary"})),o("div",{class:"stzh-actions__primary-actions"},o("slot",{name:"primary"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());a.style=c}}}));
1
+ System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js"],(function(t){"use strict";var s,o,i,e,n;return{setters:[function(t){s=t.r;o=t.h;i=t.a;e=t.g},function(t){n=t.s}],execute:function(){var c=".sc-stzh-actions-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-actions-h{display:none}.sc-stzh-actions-h *.sc-stzh-actions,.sc-stzh-actions-h *.sc-stzh-actions::before,.sc-stzh-actions-h *.sc-stzh-actions::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-actions-h .sc-stzh-actions-s>[slot=primary],.sc-stzh-actions-h .sc-stzh-actions-s>[slot=secondary]{-ms-flex-positive:1;flex-grow:1;margin:var(--stzh-space-xxsmall)}.stzh-actions__actions.sc-stzh-actions{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:calc(var(--stzh-space-xxsmall) * -1)}@media screen and (min-width: 600px){.stzh-actions__actions.sc-stzh-actions{-ms-flex-direction:row;flex-direction:row}}.stzh-actions__primary-actions.sc-stzh-actions,.stzh-actions__secondary-actions.sc-stzh-actions{display:-ms-flexbox;display:flex}.stzh-actions--dialog.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:end;justify-content:flex-end}.stzh-actions--process.sc-stzh-actions .stzh-actions__actions.sc-stzh-actions{-ms-flex-pack:justify;justify-content:space-between}.stzh-actions--with-border.sc-stzh-actions{padding-top:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}";var a=t("stzh_actions",function(){function t(t){var o=this;s(this,t);this.variant="form";this.withBorder=false;this.init=function(){var t=o.element.querySelectorAll('stzh-button[slot="secondary"], [slot="secondary"] stzh-button');var s=o.element.querySelectorAll("stzh-button");t.forEach((function(t){n(t,{variant:"secondary"})}));s.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t;var s=(t={"stzh-actions":true,"stzh-actions--with-border":this.withBorder},t["stzh-actions--".concat(this.variant)]=!!this.variant,t);return o(i,null,o("div",{class:s},o("div",{class:"stzh-actions__actions",role:"list"},o("div",{class:"stzh-actions__secondary-actions"},o("slot",{name:"secondary"})),o("div",{class:"stzh-actions__primary-actions"},o("slot",{name:"primary"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());a.style=c}}}));
@@ -1 +1 @@
1
- import{r,h as s,a as o,g as h}from"./p-65282c9d.js";const t=class{constructor(s){r(this,s)}render(){return s(o,null,s("div",{class:{"stzh-hr":!0}}))}get element(){return h(this)}};t.style=".sc-stzh-hr-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-hr-h{display:none}.sc-stzh-hr-h *.sc-stzh-hr,.sc-stzh-hr-h *.sc-stzh-hr::before,.sc-stzh-hr-h *.sc-stzh-hr::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-hr-h{--border-color:var(--stzh-base-border-color)}.stzh-hr.sc-stzh-hr{display:-ms-flexbox;display:flex;height:0.0625rem;background-color:var(--border-color)}";export{t as stzh_hr}
1
+ import{r,h as s,a as o,g as h}from"./p-93e8e31f.js";const t=class{constructor(s){r(this,s)}render(){return s(o,null,s("div",{class:{"stzh-hr":!0}}))}get element(){return h(this)}};t.style=".sc-stzh-hr-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-hr-h{display:none}.sc-stzh-hr-h *.sc-stzh-hr,.sc-stzh-hr-h *.sc-stzh-hr::before,.sc-stzh-hr-h *.sc-stzh-hr::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-hr-h{--border-color:var(--stzh-base-border-color)}.stzh-hr.sc-stzh-hr{display:-ms-flexbox;display:flex;height:0.0625rem;background-color:var(--border-color)}";export{t as stzh_hr}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js","./p-5f856307.system.js"],(function(t){"use strict";var s,n,e,a,i;return{setters:[function(t){s=t.r;n=t.h;e=t.a;a=t.g},function(t){i=t.s}],execute:function(){var r=".sc-stzh-appnav-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-appnav-h{display:none}.sc-stzh-appnav-h *.sc-stzh-appnav,.sc-stzh-appnav-h *.sc-stzh-appnav::before,.sc-stzh-appnav-h *.sc-stzh-appnav::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-appnav-h{width:100%}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link{--text-decoration:none;--hover-text-decoration:none;letter-spacing:0.01em}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__inner{-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__inner{-ms-flex-direction:row;flex-direction:row}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--has-icon .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:0}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--has-icon .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:var(--stzh-space-xsmall)}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:0}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:var(--stzh-space-small)}}@media screen and (max-width: 599px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__icon-wrapper{height:auto}}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>*:not(:last-child){margin-right:var(--stzh-space-xlarge)}}.stzh-appnav.sc-stzh-appnav{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);height:4rem;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:center}@media screen and (min-width: 600px){.stzh-appnav.sc-stzh-appnav{height:3rem;text-align:left}}.stzh-appnav__items.sc-stzh-appnav{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 600px){.stzh-appnav__items.sc-stzh-appnav{-ms-flex-positive:0;flex-grow:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}}.stzh-appnav__title.sc-stzh-appnav{font-family:var(--stzh-font-family-light);font-weight:var(--stzh-font-weight-light);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);color:var(--stzh-base-color);text-decoration:none;white-space:nowrap;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);display:none}@media screen and (min-width: 800px){.stzh-appnav__title.sc-stzh-appnav{display:-ms-flexbox;display:flex}}.stzh-appnav__title.sc-stzh-appnav:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-appnav__title.sc-stzh-appnav:hover .stzh-appnav__status.sc-stzh-appnav{border-color:rgba(7, 2, 80, 0.4)}.stzh-appnav__status.sc-stzh-appnav{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:0.875rem;min-width:0.625rem;font-size:0.625rem;line-height:1.4;border-radius:0.875rem;padding:0.0625rem 0.375rem;border:0.0625rem solid rgba(115, 115, 115, 0.25);color:inherit;-webkit-transform:translateY(calc(var(--stzh-space-xsmall) * -1));transform:translateY(calc(var(--stzh-space-xsmall) * -1));margin-left:var(--stzh-space-xxsmall);-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}";var h=t("stzh_appnav",function(){function t(t){var n=this;s(this,t);this.appTitle="";this.appStatus="";this.appHref="";this.init=function(){var t=n.element.querySelectorAll("stzh-link");t.forEach((function(t){i(t,{size:"small",variant:"secondary"});t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){return n(e,null,n("div",{class:"stzh-appnav"},n("div",{class:"stzh-appnav__items",role:"list"},n("slot",null)),this.appTitle&&n("a",{class:"stzh-appnav__title",href:this.appHref},this.appTitle,this.appStatus&&n("span",{class:"stzh-appnav__status"},this.appStatus))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());h.style=r}}}));
1
+ System.register(["./p-bf0fdd23.system.js","./p-0230004d.system.js"],(function(t){"use strict";var s,n,e,a,i;return{setters:[function(t){s=t.r;n=t.h;e=t.a;a=t.g},function(t){i=t.s}],execute:function(){var r=".sc-stzh-appnav-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-appnav-h{display:none}.sc-stzh-appnav-h *.sc-stzh-appnav,.sc-stzh-appnav-h *.sc-stzh-appnav::before,.sc-stzh-appnav-h *.sc-stzh-appnav::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-appnav-h{width:100%}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link{--text-decoration:none;--hover-text-decoration:none;letter-spacing:0.01em}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__inner{-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__inner{-ms-flex-direction:row;flex-direction:row}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__text{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--has-icon .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:0}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--has-icon .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:var(--stzh-space-xsmall)}}.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:0}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge .stzh-link__icon-wrapper+.stzh-link__text:not(:empty){margin-left:var(--stzh-space-small)}}@media screen and (max-width: 599px){.sc-stzh-appnav-h .sc-stzh-appnav-s>stzh-link .stzh-link__icon-wrapper{height:auto}}@media screen and (min-width: 600px){.sc-stzh-appnav-h .sc-stzh-appnav-s>*:not(:last-child){margin-right:var(--stzh-space-xlarge)}}.stzh-appnav.sc-stzh-appnav{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);height:4rem;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:center}@media screen and (min-width: 600px){.stzh-appnav.sc-stzh-appnav{height:3rem;text-align:left}}.stzh-appnav__items.sc-stzh-appnav{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 600px){.stzh-appnav__items.sc-stzh-appnav{-ms-flex-positive:0;flex-grow:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}}.stzh-appnav__title.sc-stzh-appnav{font-family:var(--stzh-font-family-light);font-weight:var(--stzh-font-weight-light);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);color:var(--stzh-base-color);text-decoration:none;white-space:nowrap;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);display:none}@media screen and (min-width: 800px){.stzh-appnav__title.sc-stzh-appnav{display:-ms-flexbox;display:flex}}.stzh-appnav__title.sc-stzh-appnav:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-appnav__title.sc-stzh-appnav:hover .stzh-appnav__status.sc-stzh-appnav{border-color:rgba(7, 2, 80, 0.4)}.stzh-appnav__status.sc-stzh-appnav{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:0.875rem;min-width:0.625rem;font-size:0.625rem;line-height:1.4;border-radius:0.875rem;padding:0.0625rem 0.375rem;border:0.0625rem solid rgba(115, 115, 115, 0.25);color:inherit;-webkit-transform:translateY(calc(var(--stzh-space-xsmall) * -1));transform:translateY(calc(var(--stzh-space-xsmall) * -1));margin-left:var(--stzh-space-xxsmall);-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}";var h=t("stzh_appnav",function(){function t(t){var n=this;s(this,t);this.appTitle="";this.appStatus="";this.appHref="";this.init=function(){var t=n.element.querySelectorAll("stzh-link");t.forEach((function(t){i(t,{size:"small",variant:"secondary"});t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){return n(e,null,n("div",{class:"stzh-appnav"},n("div",{class:"stzh-appnav__items",role:"list"},n("slot",null)),this.appTitle&&n("a",{class:"stzh-appnav__title",href:this.appHref},this.appTitle,this.appStatus&&n("span",{class:"stzh-appnav__status"},this.appStatus))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());h.style=r}}}));
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(t){"use strict";var e,s,n,r;return{setters:[function(t){e=t.r;s=t.h;n=t.a;r=t.g}],execute:function(){var a=".sc-stzh-metanav-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-metanav-h{display:none}.sc-stzh-metanav-h *.sc-stzh-metanav,.sc-stzh-metanav-h *.sc-stzh-metanav::before,.sc-stzh-metanav-h *.sc-stzh-metanav::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-small);color:var(--stzh-color-grey61)}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover .stzh-link__text{text-decoration:underline}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link__text{text-decoration:none}.stzh-metanav.sc-stzh-metanav{display:-ms-flexbox;display:flex}";var i=t("stzh_metanav",function(){function t(t){var s=this;e(this,t);this.init=function(){var t=s.element.querySelectorAll("stzh-link");t.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){return s(n,null,s("div",{class:"stzh-metanav",role:"list"},s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());i.style=a}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var e,s,n,r;return{setters:[function(t){e=t.r;s=t.h;n=t.a;r=t.g}],execute:function(){var a=".sc-stzh-metanav-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-metanav-h{display:none}.sc-stzh-metanav-h *.sc-stzh-metanav,.sc-stzh-metanav-h *.sc-stzh-metanav::before,.sc-stzh-metanav-h *.sc-stzh-metanav::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-small);color:var(--stzh-color-grey61)}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link:hover .stzh-link__text{text-decoration:underline}.sc-stzh-metanav-h .sc-stzh-metanav-s>stzh-link .stzh-link__text{text-decoration:none}.stzh-metanav.sc-stzh-metanav{display:-ms-flexbox;display:flex}";var i=t("stzh_metanav",function(){function t(t){var s=this;e(this,t);this.init=function(){var t=s.element.querySelectorAll("stzh-link");t.forEach((function(t){t.setAttribute("role","listitem")}))}}t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){return s(n,null,s("div",{class:"stzh-metanav",role:"list"},s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());i.style=a}}}));
@@ -1 +1 @@
1
- import{r as e,h as t,a as s,c as i,F as o,g as n}from"./p-65282c9d.js";import{h as r}from"./p-6c502e6e.js";const h=class{constructor(t){e(this,t)}render(){return t(s,{role:"menu"},t("div",{class:"stzh-menu"},t("slot",null)))}};h.style=".sc-stzh-menu-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-menu-h{display:none}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";const a=class{constructor(t){e(this,t),this.stzhFocus=i(this,"stzhFocus",7),this.stzhBlur=i(this,"stzhBlur",7),this.badge="",this.icon="",this.active=!1,this.label="",this.href="",this.target="",this.disabled=!1,this.onFocus=e=>{const t=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhFocus.emit({component:"stzh-menu-item",originalEvent:e})},this.onBlur=e=>{const t=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhBlur.emit({component:"stzh-menu-item",originalEvent:e})}}async setFocus(){this.menuItem.focus()}renderInner(e){return t(o,null,e&&t("div",{class:"stzh-menu-item__icon-wrapper"},this.icon?t("stzh-icon",{class:"stzh-menu-item__icon",name:this.icon}):t("slot",{name:"icon"}),this.badge&&t("stzh-badge",{class:"stzh-menu-item__badge",label:this.badge})),t("div",{class:"stzh-menu-item__text"},this.label?this.label:t("slot",null)))}render(){const e=r(this.element,"icon")||!!this.icon,i={"stzh-menu-item":!0,"stzh-menu-item--has-icon":e,"stzh-menu-item--has-badge":!!this.badge,"stzh-menu-item--is-disabled":this.disabled,"stzh-menu-item--is-active":this.active};return t(s,{role:"menuitem"},this.href?t("a",{ref:e=>this.menuItem=e,href:this.disabled?null:this.href,target:this.target,class:i,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)):t("button",{ref:e=>this.menuItem=e,class:i,type:"button",disabled:this.disabled,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)))}get element(){return n(this)}};a.style=".sc-stzh-menu-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-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";export{h as stzh_menu,a as stzh_menu_item}
1
+ import{r as e,h as t,a as s,c as i,F as o,g as n}from"./p-93e8e31f.js";import{h as r}from"./p-1f57d28e.js";const h=class{constructor(t){e(this,t)}render(){return t(s,{role:"menu"},t("div",{class:"stzh-menu"},t("slot",null)))}};h.style=".sc-stzh-menu-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-menu-h{display:none}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";const a=class{constructor(t){e(this,t),this.stzhFocus=i(this,"stzhFocus",7),this.stzhBlur=i(this,"stzhBlur",7),this.badge="",this.icon="",this.active=!1,this.label="",this.href="",this.target="",this.disabled=!1,this.onFocus=e=>{const t=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhFocus.emit({component:"stzh-menu-item",originalEvent:e})},this.onBlur=e=>{const t=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhBlur.emit({component:"stzh-menu-item",originalEvent:e})}}async setFocus(){this.menuItem.focus()}renderInner(e){return t(o,null,e&&t("div",{class:"stzh-menu-item__icon-wrapper"},this.icon?t("stzh-icon",{class:"stzh-menu-item__icon",name:this.icon}):t("slot",{name:"icon"}),this.badge&&t("stzh-badge",{class:"stzh-menu-item__badge",label:this.badge})),t("div",{class:"stzh-menu-item__text"},this.label?this.label:t("slot",null)))}render(){const e=r(this.element,"icon")||!!this.icon,i={"stzh-menu-item":!0,"stzh-menu-item--has-icon":e,"stzh-menu-item--has-badge":!!this.badge,"stzh-menu-item--is-disabled":this.disabled,"stzh-menu-item--is-active":this.active};return t(s,{role:"menuitem"},this.href?t("a",{ref:e=>this.menuItem=e,href:this.disabled?null:this.href,target:this.target,class:i,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)):t("button",{ref:e=>this.menuItem=e,class:i,type:"button",disabled:this.disabled,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(e)))}get element(){return n(this)}};a.style=".sc-stzh-menu-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-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";export{h as stzh_menu,a as stzh_menu_item}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,g as o}from"./p-65282c9d.js";import{h as r}from"./p-6c502e6e.js";import{f as g}from"./p-25a09313.js";import{S as l}from"./p-32b78d65.js";let h=0;const i=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.showMarker=!1,this.checked=!1,this.label="",this.labelPosition="right",this.a11yDescribedby="",this.onInput=t=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:this.value,checked:this.checked})},this.onFocus=t=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})},this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})}}async setFocus(){this.input.focus()}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-toggle-"+h++,this.errorWatcher(this.error),this.localization||(this.localization=await g(this.element,"toggle"))}render(){const t=r(this.element,"description")||!!this.description,s=r(this.element,"description-long")||!!this.descriptionLong,o=r(this.element,"error")||!!this.error;return e("div",{class:{"stzh-toggle":!0,"stzh-toggle--has-error":o,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":t,"stzh-toggle--has-description-long":s,[`stzh-toggle--has-label-${this.labelPosition}`]:!!this.labelPosition}},e("label",{class:"stzh-toggle__field-wrapper"},e("input",{class:"stzh-toggle__input",ref:t=>this.input=t,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-toggle__mark"},e("div",{class:"stzh-toggle__check"})),e("div",{class:"stzh-toggle__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-toggle__marker"},e("span",{class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(l,{classPrefix:"stzh-toggle",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};i.style=".sc-stzh-toggle-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-toggle-h{display:none}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-toggle-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-toggle-h .sc-stzh-toggle-s>stzh-text{--color:inherit}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-toggle__marker-text.sc-stzh-toggle{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-toggle__description-wrapper.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-toggle__description-long.sc-stzh-toggle{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-popover[open].sc-stzh-toggle:not([open=false]) .stzh-toggle__description-long-button.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle__description-long-button.sc-stzh-toggle{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-toggle__description-long-button.sc-stzh-toggle:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black8);width:2.75rem;height:1rem;-ms-flex-negative:0;flex-shrink:0;border-radius:0.75rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, transform;transition-property:border-color, background-color, transform, -webkit-transform;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);line-height:1.5rem}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey61)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-grey25)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-grey25)}";export{i as stzh_toggle}
1
+ import{r as t,c as s,h as e,g as o}from"./p-93e8e31f.js";import{h as r}from"./p-1f57d28e.js";import{f as g}from"./p-25a09313.js";import{S as l}from"./p-f84fa2a4.js";let h=0;const i=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.showMarker=!1,this.checked=!1,this.label="",this.labelPosition="right",this.a11yDescribedby="",this.onInput=t=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:this.value,checked:this.checked})},this.onFocus=t=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})},this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})}}async setFocus(){this.input.focus()}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-toggle-"+h++,this.errorWatcher(this.error),this.localization||(this.localization=await g(this.element,"toggle"))}render(){const t=r(this.element,"description")||!!this.description,s=r(this.element,"description-long")||!!this.descriptionLong,o=r(this.element,"error")||!!this.error;return e("div",{class:{"stzh-toggle":!0,"stzh-toggle--has-error":o,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":t,"stzh-toggle--has-description-long":s,[`stzh-toggle--has-label-${this.labelPosition}`]:!!this.labelPosition}},e("label",{class:"stzh-toggle__field-wrapper"},e("input",{class:"stzh-toggle__input",ref:t=>this.input=t,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-toggle__mark"},e("div",{class:"stzh-toggle__check"})),e("div",{class:"stzh-toggle__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-toggle__marker"},e("span",{class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(l,{classPrefix:"stzh-toggle",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};i.style=".sc-stzh-toggle-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-toggle-h{display:none}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-toggle-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-toggle-h .sc-stzh-toggle-s>stzh-text{--color:inherit}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-toggle__marker-text.sc-stzh-toggle{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-toggle__description-wrapper.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-toggle__description-long.sc-stzh-toggle{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-popover[open].sc-stzh-toggle:not([open=false]) .stzh-toggle__description-long-button.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle__description-long-button.sc-stzh-toggle{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-toggle__description-long-button.sc-stzh-toggle:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black8);width:2.75rem;height:1rem;-ms-flex-negative:0;flex-shrink:0;border-radius:0.75rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, transform;transition-property:border-color, background-color, transform, -webkit-transform;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);line-height:1.5rem}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey61)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-grey25)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-grey25)}";export{i as stzh_toggle}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(t){"use strict";var o;return{setters:[function(t){o=t.h}],execute:function(){var n=t("S",(function(t){var n=t.id,s=t.classPrefix,c=t.error,e=t.description,i=t.descriptionLong,r=t.descriptionLongUsed,a=t.moreInfoButtonLabel;return o("div",{class:"".concat(s,"__description-wrapper"),id:n},o("div",{class:"".concat(s,"__error")},c.length>0?o("ul",{class:"".concat(s,"__error-list")},c.map((function(t){return o("li",{class:"".concat(s,"__error-listitem")},t)}))):o("slot",{name:"error"})),o("div",{class:"".concat(s,"__description")},o("div",{class:"".concat(s,"__description-text")},e?e:o("slot",{name:"description"})),r&&o("div",{class:"".concat(s,"__description-long")},o("stzh-popover",{class:"".concat(s,"__description-long-popover"),variant:"tooltip"},o("button",{class:"".concat(s,"__description-long-button"),"aria-label":a,type:"button"},o("stzh-icon",{class:"".concat(s,"__description-long-icon"),name:"info-help"})),o("div",{slot:"label"},e?e:o("slot",{name:"description"})),o("div",{slot:"content"},i?i:o("slot",{name:"description-long"}))))))}))}}}));
1
+ System.register(["./p-bf0fdd23.system.js"],(function(t){"use strict";var o;return{setters:[function(t){o=t.h}],execute:function(){var n=t("S",(function(t){var n=t.id,s=t.classPrefix,c=t.error,i=t.description,e=t.descriptionLong,r=t.descriptionLongUsed,a=t.moreInfoButtonLabel;return o("div",{class:"".concat(s,"__description-wrapper"),id:n},o("div",{class:"".concat(s,"__error")},c.length>0?o("ul",{class:"".concat(s,"__error-list")},c.map((function(t){return o("li",{class:"".concat(s,"__error-listitem")},t)}))):o("slot",{name:"error"})),o("div",{class:"".concat(s,"__description")},o("div",{class:"".concat(s,"__description-text")},i?i:o("slot",{name:"description"})),r&&o("div",{class:"".concat(s,"__description-long")},o("stzh-popover",{class:"".concat(s,"__description-long-popover"),variant:"tooltip"},o("button",{class:"".concat(s,"__description-long-button"),"aria-label":a,type:"button"},o("stzh-icon",{class:"".concat(s,"__description-long-icon"),name:"info-help"})),o("div",{slot:"label"},i?i:o("slot",{name:"description"})),o("div",{slot:"content"},e?e:o("slot",{name:"description-long"}))))))}))}}}));
@@ -1 +1 @@
1
- import{r as t,h as s,a,g as h}from"./p-65282c9d.js";import{f as i}from"./p-25a09313.js";let e=0;const r=class{constructor(s){t(this,s),this.numbers=[],this._numbers=[],this.value="",this.name="saptcha",this.invalid=!1,this.disabled=!1}numbersWatcher(t){this._numbers="string"==typeof t?JSON.parse(t):t}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.saptchaId="stzh-saptcha-"+e++,this.numbersWatcher(this.numbers),this.errorWatcher(this.error),this.localization||(this.localization=await i(this.element,"saptcha"))}render(){return s(a,null,s("div",{class:{"stzh-saptcha":!0}},s("div",{class:"stzh-saptcha__box"},s("div",{class:"stzh-saptcha__info",id:`${this.saptchaId}-info`},this.localization.info),s("div",{id:`${this.saptchaId}-question`},s("div",{class:"stzh-saptcha__question"},this.localization.question),s("div",{class:"stzh-saptcha__answer"},this._numbers.map(((t,a)=>s("span",{class:"stzh-saptcha__number"},t,a<this._numbers.length-1&&(a===this._numbers.length-2?this.localization.answerOr:", ")))))),s("stzh-input",{class:"stzh-saptcha__input",label:this.localization.answer,name:this.name,invalid:this.invalid,error:this.error,disabled:this.disabled,value:this.value,required:!0,"show-marker":!0,a11yDescribedby:`${this.saptchaId}-info ${this.saptchaId}-question`}))))}get element(){return h(this)}static get watchers(){return{numbers:["numbersWatcher"],error:["errorWatcher"]}}};r.style=".sc-stzh-saptcha-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-saptcha-h{display:none}.sc-stzh-saptcha-h *.sc-stzh-saptcha,.sc-stzh-saptcha-h *.sc-stzh-saptcha::before,.sc-stzh-saptcha-h *.sc-stzh-saptcha::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);background-color:var(--stzh-section-highlight-background-color)}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-xlarge)}}.stzh-saptcha__info.sc-stzh-saptcha,.stzh-saptcha__question.sc-stzh-saptcha{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-saptcha__answer.sc-stzh-saptcha{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-medium)}}";export{r as stzh_saptcha}
1
+ import{r as t,h as s,a,g as h}from"./p-93e8e31f.js";import{f as i}from"./p-25a09313.js";let e=0;const r=class{constructor(s){t(this,s),this.numbers=[],this._numbers=[],this.value="",this.name="saptcha",this.invalid=!1,this.disabled=!1}numbersWatcher(t){this._numbers="string"==typeof t?JSON.parse(t):t}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.saptchaId="stzh-saptcha-"+e++,this.numbersWatcher(this.numbers),this.errorWatcher(this.error),this.localization||(this.localization=await i(this.element,"saptcha"))}render(){return s(a,null,s("div",{class:{"stzh-saptcha":!0}},s("div",{class:"stzh-saptcha__box"},s("div",{class:"stzh-saptcha__info",id:`${this.saptchaId}-info`},this.localization.info),s("div",{id:`${this.saptchaId}-question`},s("div",{class:"stzh-saptcha__question"},this.localization.question),s("div",{class:"stzh-saptcha__answer"},this._numbers.map(((t,a)=>s("span",{class:"stzh-saptcha__number"},t,a<this._numbers.length-1&&(a===this._numbers.length-2?this.localization.answerOr:", ")))))),s("stzh-input",{class:"stzh-saptcha__input",label:this.localization.answer,name:this.name,invalid:this.invalid,error:this.error,disabled:this.disabled,value:this.value,required:!0,"show-marker":!0,a11yDescribedby:`${this.saptchaId}-info ${this.saptchaId}-question`}))))}get element(){return h(this)}static get watchers(){return{numbers:["numbersWatcher"],error:["errorWatcher"]}}};r.style=".sc-stzh-saptcha-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-saptcha-h{display:none}.sc-stzh-saptcha-h *.sc-stzh-saptcha,.sc-stzh-saptcha-h *.sc-stzh-saptcha::before,.sc-stzh-saptcha-h *.sc-stzh-saptcha::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);background-color:var(--stzh-section-highlight-background-color)}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-xlarge)}}.stzh-saptcha__info.sc-stzh-saptcha,.stzh-saptcha__question.sc-stzh-saptcha{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-saptcha__answer.sc-stzh-saptcha{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-medium)}}";export{r as stzh_saptcha}