@oiz/stzh-components 0.0.1-pretest → 1.5.0-alpha

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 (959) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -56
  3. package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
  4. package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-3b6f75bd.js} +44 -42
  5. package/dist/cjs/{arrow-70a32014.js → arrow-3c3b0ae5.js} +3 -3
  6. package/dist/cjs/{date-adapter-2ffd8eaf.js → date-adapter-2a78f6f8.js} +85 -85
  7. package/dist/cjs/{date-utils-898a50be.js → date-utils-bb50c91f.js} +156 -156
  8. package/dist/cjs/{event-utils-4d7d610a.js → event-utils-9b64c792.js} +13 -13
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/{media-utils-f1720906.js → media-utils-8cfc8591.js} +19 -19
  11. package/dist/cjs/{string-utils-223b03e2.js → string-utils-a867b99d.js} +12 -12
  12. package/dist/cjs/stzh-accordion-item.cjs.entry.js +170 -170
  13. package/dist/cjs/stzh-accordion.cjs.entry.js +63 -63
  14. package/dist/cjs/stzh-actions.cjs.entry.js +42 -42
  15. package/dist/cjs/stzh-appnav.cjs.entry.js +39 -39
  16. package/dist/cjs/stzh-appointments.cjs.entry.js +260 -260
  17. package/dist/cjs/stzh-badge_3.cjs.entry.js +146 -146
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +291 -291
  19. package/dist/cjs/stzh-cell.cjs.entry.js +24 -24
  20. package/dist/cjs/stzh-checkbox.cjs.entry.js +123 -123
  21. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +155 -157
  22. package/dist/cjs/stzh-chip-select.cjs.entry.js +55 -55
  23. package/dist/cjs/stzh-chip.cjs.entry.js +90 -90
  24. package/dist/cjs/stzh-components.cjs.js +2 -2
  25. package/dist/cjs/stzh-container.cjs.entry.js +8 -8
  26. package/dist/cjs/stzh-cspace.cjs.entry.js +12 -12
  27. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +92 -92
  28. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +12 -12
  29. package/dist/cjs/stzh-datatable.cjs.entry.js +201 -201
  30. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +456 -458
  31. package/dist/cjs/stzh-dialog.cjs.entry.js +180 -180
  32. package/dist/cjs/stzh-dropdown.cjs.entry.js +479 -452
  33. package/dist/cjs/stzh-fieldset.cjs.entry.js +24 -24
  34. package/dist/cjs/stzh-figure.cjs.entry.js +19 -19
  35. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +167 -167
  36. package/dist/cjs/stzh-footer.cjs.entry.js +56 -56
  37. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +132 -132
  38. package/dist/cjs/stzh-header.cjs.entry.js +151 -151
  39. package/dist/cjs/stzh-heading.cjs.entry.js +21 -21
  40. package/dist/cjs/stzh-hr.cjs.entry.js +12 -12
  41. package/dist/cjs/stzh-hspace.cjs.entry.js +30 -30
  42. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +9 -9
  43. package/dist/cjs/{stzh-input-description-9ed61d1d.js → stzh-input-description-9802abc2.js} +15 -15
  44. package/dist/cjs/stzh-input.cjs.entry.js +187 -182
  45. package/dist/cjs/stzh-link.cjs.entry.js +95 -95
  46. package/dist/cjs/stzh-list-item.cjs.entry.js +15 -15
  47. package/dist/cjs/stzh-list.cjs.entry.js +15 -15
  48. package/dist/cjs/stzh-loader.cjs.entry.js +20 -20
  49. package/dist/cjs/stzh-loadingbar.cjs.entry.js +22 -22
  50. package/dist/cjs/stzh-menu_2.cjs.entry.js +81 -81
  51. package/dist/cjs/stzh-message.cjs.entry.js +72 -72
  52. package/dist/cjs/stzh-metanav.cjs.entry.js +26 -26
  53. package/dist/cjs/stzh-overlay.cjs.entry.js +88 -88
  54. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +26 -26
  55. package/dist/cjs/stzh-pagetitle.cjs.entry.js +61 -61
  56. package/dist/cjs/stzh-popover.cjs.entry.js +349 -349
  57. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +13 -13
  58. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +46 -46
  59. package/dist/cjs/stzh-progressbar.cjs.entry.js +114 -114
  60. package/dist/cjs/stzh-readspeaker.cjs.entry.js +47 -47
  61. package/dist/cjs/stzh-row.cjs.entry.js +29 -29
  62. package/dist/cjs/stzh-saptcha.cjs.entry.js +70 -70
  63. package/dist/cjs/stzh-section.cjs.entry.js +13 -13
  64. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +62 -45
  65. package/dist/cjs/stzh-servicecard.cjs.entry.js +224 -202
  66. package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
  67. package/dist/cjs/stzh-sortable.cjs.entry.js +3485 -2712
  68. package/dist/cjs/stzh-status.cjs.entry.js +25 -25
  69. package/dist/cjs/stzh-table.cjs.entry.js +132 -132
  70. package/dist/cjs/stzh-toggle.cjs.entry.js +123 -123
  71. package/dist/cjs/stzh-tooltip.cjs.entry.js +310 -310
  72. package/dist/cjs/stzh-upload.cjs.entry.js +475 -442
  73. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +71 -71
  74. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +95 -95
  75. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +171 -171
  76. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +10 -10
  77. package/dist/cjs/stzh-vspace.cjs.entry.js +30 -30
  78. package/dist/cjs/{translation-utils-2dbbce94.js → translation-utils-73073e44.js} +54 -54
  79. package/dist/cjs/utils-8dc66449.js +76 -0
  80. package/dist/collection/assets/favicons/browserconfig.xml +9 -9
  81. package/dist/collection/assets/favicons/site.webmanifest +19 -19
  82. package/dist/collection/assets/fonts.css +39 -39
  83. package/dist/collection/assets/i18n/de.json +154 -154
  84. package/dist/collection/assets/i18n/en.json +154 -154
  85. package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -3
  86. package/dist/collection/assets/icons/mono/angle-down.svg +3 -3
  87. package/dist/collection/assets/icons/mono/angle-left.svg +3 -3
  88. package/dist/collection/assets/icons/mono/angle-right.svg +3 -3
  89. package/dist/collection/assets/icons/mono/angle-up.svg +3 -3
  90. package/dist/collection/assets/icons/mono/archive-box.svg +3 -3
  91. package/dist/collection/assets/icons/mono/arrow-down.svg +3 -3
  92. package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -4
  93. package/dist/collection/assets/icons/mono/arrow-left.svg +3 -3
  94. package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -3
  95. package/dist/collection/assets/icons/mono/arrow-right.svg +3 -3
  96. package/dist/collection/assets/icons/mono/arrow-up.svg +3 -3
  97. package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -3
  98. package/dist/collection/assets/icons/mono/calendar.svg +3 -3
  99. package/dist/collection/assets/icons/mono/cart.svg +3 -3
  100. package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -3
  101. package/dist/collection/assets/icons/mono/checkmark.svg +3 -3
  102. package/dist/collection/assets/icons/mono/clock.svg +3 -3
  103. package/dist/collection/assets/icons/mono/close-circle.svg +3 -3
  104. package/dist/collection/assets/icons/mono/close.svg +3 -3
  105. package/dist/collection/assets/icons/mono/compass-direction.svg +3 -3
  106. package/dist/collection/assets/icons/mono/compass-north.svg +4 -4
  107. package/dist/collection/assets/icons/mono/construction.svg +3 -3
  108. package/dist/collection/assets/icons/mono/copy.svg +3 -3
  109. package/dist/collection/assets/icons/mono/delete.svg +3 -3
  110. package/dist/collection/assets/icons/mono/download.svg +3 -3
  111. package/dist/collection/assets/icons/mono/drag.svg +10 -10
  112. package/dist/collection/assets/icons/mono/edit.svg +3 -3
  113. package/dist/collection/assets/icons/mono/email-check.svg +10 -10
  114. package/dist/collection/assets/icons/mono/expand.svg +3 -3
  115. package/dist/collection/assets/icons/mono/external-link.svg +4 -4
  116. package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -3
  117. package/dist/collection/assets/icons/mono/facebook.svg +10 -10
  118. package/dist/collection/assets/icons/mono/file.svg +3 -3
  119. package/dist/collection/assets/icons/mono/filtering.svg +3 -3
  120. package/dist/collection/assets/icons/mono/flag.svg +10 -10
  121. package/dist/collection/assets/icons/mono/focus.svg +3 -3
  122. package/dist/collection/assets/icons/mono/gear.svg +3 -3
  123. package/dist/collection/assets/icons/mono/heart.svg +10 -10
  124. package/dist/collection/assets/icons/mono/home.svg +10 -10
  125. package/dist/collection/assets/icons/mono/important-warning.svg +3 -3
  126. package/dist/collection/assets/icons/mono/info-help.svg +3 -3
  127. package/dist/collection/assets/icons/mono/instagram.svg +3 -3
  128. package/dist/collection/assets/icons/mono/like-hand.svg +10 -10
  129. package/dist/collection/assets/icons/mono/linkedin.svg +5 -5
  130. package/dist/collection/assets/icons/mono/list-expanded.svg +4 -4
  131. package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -3
  132. package/dist/collection/assets/icons/mono/lock.svg +10 -10
  133. package/dist/collection/assets/icons/mono/mail.svg +10 -10
  134. package/dist/collection/assets/icons/mono/map.svg +3 -3
  135. package/dist/collection/assets/icons/mono/menu.svg +3 -3
  136. package/dist/collection/assets/icons/mono/minus.svg +3 -3
  137. package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -5
  138. package/dist/collection/assets/icons/mono/more-vertical.svg +5 -5
  139. package/dist/collection/assets/icons/mono/paper-clip.svg +10 -10
  140. package/dist/collection/assets/icons/mono/phone.svg +10 -10
  141. package/dist/collection/assets/icons/mono/pin-location.svg +10 -10
  142. package/dist/collection/assets/icons/mono/pin.svg +11 -11
  143. package/dist/collection/assets/icons/mono/play-1.svg +4 -4
  144. package/dist/collection/assets/icons/mono/play-button.svg +11 -11
  145. package/dist/collection/assets/icons/mono/play.svg +10 -10
  146. package/dist/collection/assets/icons/mono/plus.svg +3 -3
  147. package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -11
  148. package/dist/collection/assets/icons/mono/print.svg +10 -10
  149. package/dist/collection/assets/icons/mono/question-help.svg +3 -3
  150. package/dist/collection/assets/icons/mono/read-mail.svg +10 -10
  151. package/dist/collection/assets/icons/mono/reload.svg +10 -10
  152. package/dist/collection/assets/icons/mono/reset-time.svg +10 -10
  153. package/dist/collection/assets/icons/mono/reset.svg +10 -10
  154. package/dist/collection/assets/icons/mono/resize.svg +8 -8
  155. package/dist/collection/assets/icons/mono/rss.svg +12 -12
  156. package/dist/collection/assets/icons/mono/search.svg +3 -3
  157. package/dist/collection/assets/icons/mono/services.svg +6 -6
  158. package/dist/collection/assets/icons/mono/share.svg +3 -3
  159. package/dist/collection/assets/icons/mono/shrink.svg +3 -3
  160. package/dist/collection/assets/icons/mono/silent-mode.svg +3 -3
  161. package/dist/collection/assets/icons/mono/social-media.svg +23 -23
  162. package/dist/collection/assets/icons/mono/star-filled.svg +3 -3
  163. package/dist/collection/assets/icons/mono/star.svg +3 -3
  164. package/dist/collection/assets/icons/mono/subtitle.svg +3 -3
  165. package/dist/collection/assets/icons/mono/team.svg +10 -10
  166. package/dist/collection/assets/icons/mono/text-message.svg +6 -6
  167. package/dist/collection/assets/icons/mono/thermometer.svg +10 -10
  168. package/dist/collection/assets/icons/mono/transcript.svg +3 -3
  169. package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -3
  170. package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -3
  171. package/dist/collection/assets/icons/mono/twitter.svg +10 -10
  172. package/dist/collection/assets/icons/mono/unlock.svg +10 -10
  173. package/dist/collection/assets/icons/mono/user.svg +3 -3
  174. package/dist/collection/assets/icons/mono/view-hidden.svg +3 -3
  175. package/dist/collection/assets/icons/mono/view.svg +4 -4
  176. package/dist/collection/assets/icons/mono/volume-medium.svg +3 -3
  177. package/dist/collection/assets/icons/mono/warning-big.svg +4 -4
  178. package/dist/collection/assets/icons/mono/warning.svg +3 -3
  179. package/dist/collection/assets/icons/mono/web-Link.svg +3 -3
  180. package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -3
  181. package/dist/collection/assets/icons/mono/world-globe.svg +10 -10
  182. package/dist/collection/assets/icons/mono/xing.svg +11 -11
  183. package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -8
  184. package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -7
  185. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
  186. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
  187. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
  188. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
  189. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
  190. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
  191. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
  192. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
  193. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
  194. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
  195. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
  196. package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
  197. package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -156
  198. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -52
  199. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -429
  200. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -45
  201. package/dist/collection/components/stzh-actions/stzh-actions.js +98 -98
  202. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -66
  203. package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -112
  204. package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -53
  205. package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -515
  206. package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -1
  207. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -186
  208. package/dist/collection/components/stzh-badge/stzh-badge.js +47 -47
  209. package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -36
  210. package/dist/collection/components/stzh-button/stzh-button.js +516 -516
  211. package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -66
  212. package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -22
  213. package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -21
  214. package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -463
  215. package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -1
  216. package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -37
  217. package/dist/collection/components/stzh-cell/stzh-cell.js +179 -179
  218. package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -39
  219. package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -3
  220. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -459
  221. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -38
  222. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +448 -450
  223. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -39
  224. package/dist/collection/components/stzh-chip/stzh-chip.js +407 -407
  225. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -64
  226. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -158
  227. package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -69
  228. package/dist/collection/components/stzh-container/stzh-container.js +21 -21
  229. package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -35
  230. package/dist/collection/components/stzh-cspace/stzh-cspace.css +6 -0
  231. package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -24
  232. package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -34
  233. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -24
  234. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -149
  235. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -358
  236. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -1
  237. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -63
  238. package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -413
  239. package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -1
  240. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -63
  241. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -586
  242. package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -1
  243. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +39 -39
  244. package/dist/collection/components/stzh-dialog/stzh-dialog.css +9 -1
  245. package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -480
  246. package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -1
  247. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +85 -75
  248. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +2 -4
  249. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1514 -1436
  250. package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
  251. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +3437 -109
  252. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -120
  253. package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -55
  254. package/dist/collection/components/stzh-figure/stzh-figure.js +76 -76
  255. package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -36
  256. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -253
  257. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -27
  258. package/dist/collection/components/stzh-footer/stzh-footer.js +147 -147
  259. package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -1
  260. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -49
  261. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -319
  262. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -1
  263. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -49
  264. package/dist/collection/components/stzh-header/stzh-header.js +267 -267
  265. package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -178
  266. package/dist/collection/components/stzh-heading/stzh-heading.js +99 -99
  267. package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -37
  268. package/dist/collection/components/stzh-hr/stzh-hr.js +25 -25
  269. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -23
  270. package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -246
  271. package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -73
  272. package/dist/collection/components/stzh-icon/stzh-icon.js +76 -76
  273. package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -37
  274. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
  275. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -19
  276. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -46
  277. package/dist/collection/components/stzh-input/stzh-input-description.js +8 -8
  278. package/dist/collection/components/stzh-input/stzh-input.css +13 -4
  279. package/dist/collection/components/stzh-input/stzh-input.js +799 -724
  280. package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -116
  281. package/dist/collection/components/stzh-link/stzh-link.js +427 -427
  282. package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -67
  283. package/dist/collection/components/stzh-list/stzh-list.js +52 -52
  284. package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -42
  285. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -3
  286. package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -26
  287. package/dist/collection/components/stzh-loader/stzh-loader.js +93 -93
  288. package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -36
  289. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -94
  290. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -34
  291. package/dist/collection/components/stzh-menu/stzh-menu.js +21 -21
  292. package/dist/collection/components/stzh-menu/stzh-menu.stories.js +69 -69
  293. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -296
  294. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -52
  295. package/dist/collection/components/stzh-message/stzh-message.js +287 -287
  296. package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -1
  297. package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -40
  298. package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -41
  299. package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -39
  300. package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -239
  301. package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -50
  302. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -41
  303. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -43
  304. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -76
  305. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -107
  306. package/dist/collection/components/stzh-popover/stzh-popover.js +673 -673
  307. package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -1
  308. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -67
  309. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +569 -578
  310. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -25
  311. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -28
  312. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -272
  313. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -164
  314. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -250
  315. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -36
  316. package/dist/collection/components/stzh-radio/stzh-radio.js +458 -458
  317. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -38
  318. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +477 -477
  319. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -39
  320. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -114
  321. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -50
  322. package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -90
  323. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -79
  324. package/dist/collection/components/stzh-row/stzh-row.js +207 -207
  325. package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -90
  326. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -221
  327. package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -1
  328. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -34
  329. package/dist/collection/components/stzh-section/stzh-section.js +50 -50
  330. package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -100
  331. package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +4 -4
  332. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +614 -592
  333. package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -1
  334. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -73
  335. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +196 -153
  336. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -1
  337. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +116 -115
  338. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -106
  339. package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -53
  340. package/dist/collection/components/stzh-sortable/stzh-sortable.js +530 -501
  341. package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -1
  342. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -34
  343. package/dist/collection/components/stzh-status/stzh-status.js +115 -115
  344. package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -34
  345. package/dist/collection/components/stzh-table/stzh-table.js +215 -215
  346. package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -89
  347. package/dist/collection/components/stzh-text/stzh-text.js +232 -232
  348. package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -43
  349. package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -479
  350. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -38
  351. package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -3
  352. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -667
  353. package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -1
  354. package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -63
  355. package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
  356. package/dist/collection/components/stzh-upload/stzh-upload.js +1391 -1358
  357. package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
  358. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +71 -69
  359. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -229
  360. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -36
  361. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -236
  362. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -1
  363. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -52
  364. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -292
  365. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -1
  366. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -53
  367. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -23
  368. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -45
  369. package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -246
  370. package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -73
  371. package/dist/collection/global/js/helpers/autofocus.js +22 -20
  372. package/dist/collection/global/js/helpers/scrollbar-width.js +20 -20
  373. package/dist/collection/global/js/script.js +17 -17
  374. package/dist/collection/index.js +7 -7
  375. package/dist/collection/libraries/sortable.js +3791 -0
  376. package/dist/collection/pages/egov.stories.js +262 -262
  377. package/dist/collection/pages/example.stories.js +170 -170
  378. package/dist/collection/pages/meinkonto.stories.js +660 -660
  379. package/dist/collection/patterns/appointments.stories.js +43 -43
  380. package/dist/collection/patterns/processingscreen.stories.js +43 -43
  381. package/dist/collection/utils/animation-utils.js +51 -51
  382. package/dist/collection/utils/date-adapter.js +86 -86
  383. package/dist/collection/utils/date-utils.js +196 -196
  384. package/dist/collection/utils/decorators.js +15 -15
  385. package/dist/collection/utils/event-utils.js +14 -14
  386. package/dist/collection/utils/h.js +109 -109
  387. package/dist/collection/utils/media-utils.js +20 -20
  388. package/dist/collection/utils/string-utils.js +13 -13
  389. package/dist/collection/utils/test-utils.js +27 -27
  390. package/dist/collection/utils/translation-utils.js +55 -55
  391. package/dist/collection/utils/utils.js +80 -41
  392. package/dist/components/animation-utils.js +37 -37
  393. package/dist/components/arrow.js +3 -3
  394. package/dist/components/date-adapter.js +85 -85
  395. package/dist/components/event-utils.js +13 -13
  396. package/dist/components/index.js +43 -41
  397. package/dist/components/media-utils.js +19 -19
  398. package/dist/components/string-utils.js +12 -12
  399. package/dist/components/stzh-accordion-item.js +192 -192
  400. package/dist/components/stzh-accordion.js +81 -81
  401. package/dist/components/stzh-actions.js +58 -58
  402. package/dist/components/stzh-appnav.js +56 -56
  403. package/dist/components/stzh-appointments.js +343 -343
  404. package/dist/components/stzh-badge2.js +26 -26
  405. package/dist/components/stzh-button2.js +155 -155
  406. package/dist/components/stzh-calendar2.js +475 -475
  407. package/dist/components/stzh-cell.js +47 -47
  408. package/dist/components/stzh-checkbox.js +159 -159
  409. package/dist/components/stzh-checkboxgroup.js +190 -192
  410. package/dist/components/stzh-chip-select.js +93 -93
  411. package/dist/components/stzh-chip2.js +122 -122
  412. package/dist/components/stzh-container.js +22 -22
  413. package/dist/components/stzh-cspace.js +26 -26
  414. package/dist/components/stzh-datamessagelist-item.js +156 -156
  415. package/dist/components/stzh-datamessagelist.js +26 -26
  416. package/dist/components/stzh-datatable.js +255 -255
  417. package/dist/components/stzh-datepicker2.js +206 -206
  418. package/dist/components/stzh-dialog.js +215 -215
  419. package/dist/components/stzh-dropdown2.js +546 -516
  420. package/dist/components/stzh-fieldset.js +48 -48
  421. package/dist/components/stzh-figure.js +35 -35
  422. package/dist/components/stzh-flyingfocus.js +188 -188
  423. package/dist/components/stzh-footer.js +88 -88
  424. package/dist/components/stzh-ghettobox2.js +124 -124
  425. package/dist/components/stzh-header.js +174 -174
  426. package/dist/components/stzh-heading2.js +39 -39
  427. package/dist/components/stzh-hr.js +26 -26
  428. package/dist/components/stzh-hspace.js +54 -54
  429. package/dist/components/stzh-icon-sprite.js +23 -23
  430. package/dist/components/stzh-icon2.js +41 -41
  431. package/dist/components/stzh-input-description.js +15 -15
  432. package/dist/components/stzh-input2.js +249 -240
  433. package/dist/components/stzh-link2.js +134 -134
  434. package/dist/components/stzh-list-item.js +30 -30
  435. package/dist/components/stzh-list.js +32 -32
  436. package/dist/components/stzh-loader.js +38 -38
  437. package/dist/components/stzh-loadingbar.js +40 -40
  438. package/dist/components/stzh-menu-item2.js +106 -106
  439. package/dist/components/stzh-menu2.js +22 -22
  440. package/dist/components/stzh-message.js +100 -100
  441. package/dist/components/stzh-metanav.js +40 -40
  442. package/dist/components/stzh-overlay.js +108 -108
  443. package/dist/components/stzh-page-skiplinks.js +40 -40
  444. package/dist/components/stzh-pagetitle.js +74 -74
  445. package/dist/components/stzh-popover2.js +376 -376
  446. package/dist/components/stzh-portal-mitwirken.js +27 -27
  447. package/dist/components/stzh-progressbar-item2.js +74 -74
  448. package/dist/components/stzh-progressbar.js +146 -146
  449. package/dist/components/stzh-radio2.js +156 -156
  450. package/dist/components/stzh-radiogroup2.js +200 -202
  451. package/dist/components/stzh-readspeaker.js +63 -63
  452. package/dist/components/stzh-richtext2.js +57 -57
  453. package/dist/components/stzh-row.js +53 -53
  454. package/dist/components/stzh-saptcha.js +116 -116
  455. package/dist/components/stzh-section.js +29 -29
  456. package/dist/components/stzh-servicecard-list.js +102 -84
  457. package/dist/components/stzh-servicecard.js +286 -264
  458. package/dist/components/stzh-skiplink.js +35 -35
  459. package/dist/components/stzh-sortable2.js +3510 -2736
  460. package/dist/components/stzh-status2.js +44 -44
  461. package/dist/components/stzh-table.js +153 -153
  462. package/dist/components/stzh-text2.js +57 -57
  463. package/dist/components/stzh-toggle.js +160 -160
  464. package/dist/components/stzh-tooltip2.js +340 -340
  465. package/dist/components/stzh-upload.js +537 -504
  466. package/dist/components/stzh-vbz-linechip2.js +96 -96
  467. package/dist/components/stzh-vbz-majorticker.js +139 -139
  468. package/dist/components/stzh-vbz-ticker.js +214 -214
  469. package/dist/components/stzh-visuallyhidden.js +24 -24
  470. package/dist/components/stzh-vspace.js +54 -54
  471. package/dist/components/translation-utils.js +54 -54
  472. package/dist/components/utils.js +70 -31
  473. package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
  474. package/dist/esm/{app-globals-137e106c.js → app-globals-c42494e9.js} +44 -42
  475. package/dist/esm/{arrow-18769ca6.js → arrow-86a679c7.js} +3 -3
  476. package/dist/esm/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +85 -85
  477. package/dist/esm/{date-utils-282e96fe.js → date-utils-be83fff1.js} +156 -156
  478. package/dist/esm/{event-utils-68b64805.js → event-utils-7a709e21.js} +13 -13
  479. package/dist/esm/loader.js +2 -2
  480. package/dist/esm/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +19 -19
  481. package/dist/esm/polyfills/core-js.js +0 -0
  482. package/dist/esm/polyfills/dom.js +0 -0
  483. package/dist/esm/polyfills/es5-html-element.js +0 -0
  484. package/dist/esm/polyfills/index.js +0 -0
  485. package/dist/esm/polyfills/system.js +0 -0
  486. package/dist/esm/{string-utils-33181845.js → string-utils-f98ee4e8.js} +12 -12
  487. package/dist/esm/stzh-accordion-item.entry.js +170 -170
  488. package/dist/esm/stzh-accordion.entry.js +63 -63
  489. package/dist/esm/stzh-actions.entry.js +42 -42
  490. package/dist/esm/stzh-appnav.entry.js +39 -39
  491. package/dist/esm/stzh-appointments.entry.js +260 -260
  492. package/dist/esm/stzh-badge_3.entry.js +146 -146
  493. package/dist/esm/stzh-calendar.entry.js +291 -291
  494. package/dist/esm/stzh-cell.entry.js +24 -24
  495. package/dist/esm/stzh-checkbox.entry.js +123 -123
  496. package/dist/esm/stzh-checkboxgroup.entry.js +155 -157
  497. package/dist/esm/stzh-chip-select.entry.js +55 -55
  498. package/dist/esm/stzh-chip.entry.js +90 -90
  499. package/dist/esm/stzh-components.js +2 -2
  500. package/dist/esm/stzh-container.entry.js +8 -8
  501. package/dist/esm/stzh-cspace.entry.js +12 -12
  502. package/dist/esm/stzh-datamessagelist-item.entry.js +92 -92
  503. package/dist/esm/stzh-datamessagelist.entry.js +12 -12
  504. package/dist/esm/stzh-datatable.entry.js +201 -201
  505. package/dist/esm/stzh-datepicker_4.entry.js +456 -458
  506. package/dist/esm/stzh-dialog.entry.js +180 -180
  507. package/dist/esm/stzh-dropdown.entry.js +479 -452
  508. package/dist/esm/stzh-fieldset.entry.js +24 -24
  509. package/dist/esm/stzh-figure.entry.js +19 -19
  510. package/dist/esm/stzh-flyingfocus.entry.js +167 -167
  511. package/dist/esm/stzh-footer.entry.js +56 -56
  512. package/dist/esm/stzh-ghettobox_2.entry.js +132 -132
  513. package/dist/esm/stzh-header.entry.js +151 -151
  514. package/dist/esm/stzh-heading.entry.js +21 -21
  515. package/dist/esm/stzh-hr.entry.js +12 -12
  516. package/dist/esm/stzh-hspace.entry.js +30 -30
  517. package/dist/esm/stzh-icon-sprite.entry.js +9 -9
  518. package/dist/esm/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +15 -15
  519. package/dist/esm/stzh-input.entry.js +187 -182
  520. package/dist/esm/stzh-link.entry.js +95 -95
  521. package/dist/esm/stzh-list-item.entry.js +15 -15
  522. package/dist/esm/stzh-list.entry.js +15 -15
  523. package/dist/esm/stzh-loader.entry.js +20 -20
  524. package/dist/esm/stzh-loadingbar.entry.js +22 -22
  525. package/dist/esm/stzh-menu_2.entry.js +81 -81
  526. package/dist/esm/stzh-message.entry.js +72 -72
  527. package/dist/esm/stzh-metanav.entry.js +26 -26
  528. package/dist/esm/stzh-overlay.entry.js +88 -88
  529. package/dist/esm/stzh-page-skiplinks.entry.js +26 -26
  530. package/dist/esm/stzh-pagetitle.entry.js +61 -61
  531. package/dist/esm/stzh-popover.entry.js +349 -349
  532. package/dist/esm/stzh-portal-mitwirken.entry.js +13 -13
  533. package/dist/esm/stzh-progressbar-item.entry.js +46 -46
  534. package/dist/esm/stzh-progressbar.entry.js +114 -114
  535. package/dist/esm/stzh-readspeaker.entry.js +47 -47
  536. package/dist/esm/stzh-row.entry.js +29 -29
  537. package/dist/esm/stzh-saptcha.entry.js +70 -70
  538. package/dist/esm/stzh-section.entry.js +13 -13
  539. package/dist/esm/stzh-servicecard-list.entry.js +62 -45
  540. package/dist/esm/stzh-servicecard.entry.js +224 -202
  541. package/dist/esm/stzh-skiplink.entry.js +16 -16
  542. package/dist/esm/stzh-sortable.entry.js +3485 -2712
  543. package/dist/esm/stzh-status.entry.js +25 -25
  544. package/dist/esm/stzh-table.entry.js +132 -132
  545. package/dist/esm/stzh-toggle.entry.js +123 -123
  546. package/dist/esm/stzh-tooltip.entry.js +310 -310
  547. package/dist/esm/stzh-upload.entry.js +475 -442
  548. package/dist/esm/stzh-vbz-linechip.entry.js +71 -71
  549. package/dist/esm/stzh-vbz-majorticker.entry.js +95 -95
  550. package/dist/esm/stzh-vbz-ticker.entry.js +171 -171
  551. package/dist/esm/stzh-visuallyhidden.entry.js +10 -10
  552. package/dist/esm/stzh-vspace.entry.js +30 -30
  553. package/dist/esm/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +54 -54
  554. package/dist/esm/utils-68a28fce.js +72 -0
  555. package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
  556. package/dist/esm-es5/app-globals-c42494e9.js +1 -0
  557. package/dist/esm-es5/{arrow-18769ca6.js → arrow-86a679c7.js} +0 -0
  558. package/dist/esm-es5/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +0 -0
  559. package/dist/esm-es5/{date-utils-282e96fe.js → date-utils-be83fff1.js} +0 -0
  560. package/dist/esm-es5/{event-utils-68b64805.js → event-utils-7a709e21.js} +0 -0
  561. package/dist/esm-es5/loader.js +1 -1
  562. package/dist/esm-es5/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +0 -0
  563. package/dist/esm-es5/{string-utils-33181845.js → string-utils-f98ee4e8.js} +0 -0
  564. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  565. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  566. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  567. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  568. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  569. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  570. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  571. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  572. package/dist/esm-es5/stzh-components.js +1 -1
  573. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  574. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  575. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  576. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
  577. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  578. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  579. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  580. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  581. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  582. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  583. package/dist/esm-es5/stzh-header.entry.js +1 -1
  584. package/dist/esm-es5/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +0 -0
  585. package/dist/esm-es5/stzh-input.entry.js +1 -1
  586. package/dist/esm-es5/stzh-link.entry.js +1 -1
  587. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  588. package/dist/esm-es5/stzh-message.entry.js +1 -1
  589. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  590. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  591. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  592. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  593. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  594. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  595. package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -1
  596. package/dist/esm-es5/stzh-servicecard.entry.js +1 -1
  597. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  598. package/dist/esm-es5/stzh-table.entry.js +1 -1
  599. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  600. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  601. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  602. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  603. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  604. package/dist/esm-es5/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +0 -0
  605. package/dist/esm-es5/utils-68a28fce.js +1 -0
  606. package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -9
  607. package/dist/stzh-components/assets/favicons/site.webmanifest +19 -19
  608. package/dist/stzh-components/assets/fonts.css +39 -39
  609. package/dist/stzh-components/assets/i18n/de.json +154 -154
  610. package/dist/stzh-components/assets/i18n/en.json +154 -154
  611. package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -3
  612. package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -3
  613. package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -3
  614. package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -3
  615. package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -3
  616. package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -3
  617. package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -3
  618. package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -4
  619. package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -3
  620. package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -3
  621. package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -3
  622. package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -3
  623. package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -3
  624. package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -3
  625. package/dist/stzh-components/assets/icons/mono/cart.svg +3 -3
  626. package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -3
  627. package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -3
  628. package/dist/stzh-components/assets/icons/mono/clock.svg +3 -3
  629. package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -3
  630. package/dist/stzh-components/assets/icons/mono/close.svg +3 -3
  631. package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -3
  632. package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -4
  633. package/dist/stzh-components/assets/icons/mono/construction.svg +3 -3
  634. package/dist/stzh-components/assets/icons/mono/copy.svg +3 -3
  635. package/dist/stzh-components/assets/icons/mono/delete.svg +3 -3
  636. package/dist/stzh-components/assets/icons/mono/download.svg +3 -3
  637. package/dist/stzh-components/assets/icons/mono/drag.svg +10 -10
  638. package/dist/stzh-components/assets/icons/mono/edit.svg +3 -3
  639. package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -10
  640. package/dist/stzh-components/assets/icons/mono/expand.svg +3 -3
  641. package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -4
  642. package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -3
  643. package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -10
  644. package/dist/stzh-components/assets/icons/mono/file.svg +3 -3
  645. package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -3
  646. package/dist/stzh-components/assets/icons/mono/flag.svg +10 -10
  647. package/dist/stzh-components/assets/icons/mono/focus.svg +3 -3
  648. package/dist/stzh-components/assets/icons/mono/gear.svg +3 -3
  649. package/dist/stzh-components/assets/icons/mono/heart.svg +10 -10
  650. package/dist/stzh-components/assets/icons/mono/home.svg +10 -10
  651. package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -3
  652. package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -3
  653. package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -3
  654. package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -10
  655. package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -5
  656. package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -4
  657. package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -3
  658. package/dist/stzh-components/assets/icons/mono/lock.svg +10 -10
  659. package/dist/stzh-components/assets/icons/mono/mail.svg +10 -10
  660. package/dist/stzh-components/assets/icons/mono/map.svg +3 -3
  661. package/dist/stzh-components/assets/icons/mono/menu.svg +3 -3
  662. package/dist/stzh-components/assets/icons/mono/minus.svg +3 -3
  663. package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -5
  664. package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -5
  665. package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -10
  666. package/dist/stzh-components/assets/icons/mono/phone.svg +10 -10
  667. package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -10
  668. package/dist/stzh-components/assets/icons/mono/pin.svg +11 -11
  669. package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -4
  670. package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -11
  671. package/dist/stzh-components/assets/icons/mono/play.svg +10 -10
  672. package/dist/stzh-components/assets/icons/mono/plus.svg +3 -3
  673. package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -11
  674. package/dist/stzh-components/assets/icons/mono/print.svg +10 -10
  675. package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -3
  676. package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -10
  677. package/dist/stzh-components/assets/icons/mono/reload.svg +10 -10
  678. package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -10
  679. package/dist/stzh-components/assets/icons/mono/reset.svg +10 -10
  680. package/dist/stzh-components/assets/icons/mono/resize.svg +8 -8
  681. package/dist/stzh-components/assets/icons/mono/rss.svg +12 -12
  682. package/dist/stzh-components/assets/icons/mono/search.svg +3 -3
  683. package/dist/stzh-components/assets/icons/mono/services.svg +6 -6
  684. package/dist/stzh-components/assets/icons/mono/share.svg +3 -3
  685. package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -3
  686. package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -3
  687. package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -23
  688. package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -3
  689. package/dist/stzh-components/assets/icons/mono/star.svg +3 -3
  690. package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -3
  691. package/dist/stzh-components/assets/icons/mono/team.svg +10 -10
  692. package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -6
  693. package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -10
  694. package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -3
  695. package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -3
  696. package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -3
  697. package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -10
  698. package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -10
  699. package/dist/stzh-components/assets/icons/mono/user.svg +3 -3
  700. package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -3
  701. package/dist/stzh-components/assets/icons/mono/view.svg +4 -4
  702. package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -3
  703. package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -4
  704. package/dist/stzh-components/assets/icons/mono/warning.svg +3 -3
  705. package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -3
  706. package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -3
  707. package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -10
  708. package/dist/stzh-components/assets/icons/mono/xing.svg +11 -11
  709. package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -8
  710. package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -7
  711. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
  712. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
  713. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
  714. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
  715. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
  716. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
  717. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
  718. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
  719. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
  720. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
  721. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
  722. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
  723. package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
  724. package/dist/stzh-components/{p-59bdb14a.system.entry.js → p-006135ed.system.entry.js} +1 -1
  725. package/dist/stzh-components/p-0230004d.system.js +1 -0
  726. package/dist/stzh-components/{p-f0422b6c.entry.js → p-03e2634c.entry.js} +1 -1
  727. package/dist/stzh-components/{p-25afa99e.entry.js → p-04d7b18f.entry.js} +1 -1
  728. package/dist/stzh-components/{p-73d51acc.system.entry.js → p-07772cd7.system.entry.js} +1 -1
  729. package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
  730. package/dist/stzh-components/{p-3e3e4bfd.system.js → p-11816251.system.js} +0 -0
  731. package/dist/stzh-components/{p-d790a367.entry.js → p-11d0c8f3.entry.js} +1 -1
  732. package/dist/stzh-components/{p-bb900d9f.entry.js → p-14d728f0.entry.js} +1 -1
  733. package/dist/stzh-components/{p-f481f21d.system.js → p-176db2fe.system.js} +0 -0
  734. package/dist/stzh-components/{p-c2218965.system.entry.js → p-1c88ceff.system.entry.js} +1 -1
  735. package/dist/stzh-components/{p-9fe34fe8.system.js → p-1e4b4d71.system.js} +0 -0
  736. package/dist/stzh-components/{p-160c6e5f.system.entry.js → p-1f15a4e0.system.entry.js} +1 -1
  737. package/dist/stzh-components/p-1f57d28e.js +1 -0
  738. package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
  739. package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
  740. package/dist/stzh-components/p-2b11d549.system.entry.js +1 -0
  741. package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
  742. package/dist/stzh-components/{p-bf5b6523.entry.js → p-32988d74.entry.js} +1 -1
  743. package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
  744. package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-33946fed.system.entry.js} +1 -1
  745. package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
  746. package/dist/stzh-components/{p-22f948e2.entry.js → p-34190502.entry.js} +1 -1
  747. package/dist/stzh-components/{p-45d4e9b4.system.entry.js → p-346e26f2.system.entry.js} +1 -1
  748. package/dist/stzh-components/{p-b24040ff.system.entry.js → p-370b82e7.system.entry.js} +1 -1
  749. package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
  750. package/dist/stzh-components/p-3ebd2c03.js +1 -0
  751. package/dist/stzh-components/{p-b3b05b6c.entry.js → p-3ed69b16.entry.js} +1 -1
  752. package/dist/stzh-components/{p-22fba26d.entry.js → p-409c0d50.entry.js} +1 -1
  753. package/dist/stzh-components/{p-3410ef5a.system.entry.js → p-48bbcc26.system.entry.js} +1 -1
  754. package/dist/stzh-components/{p-af47430b.system.entry.js → p-4a398453.system.entry.js} +1 -1
  755. package/dist/stzh-components/p-4c61dcad.js +4 -4
  756. package/dist/stzh-components/{p-a499fa98.system.entry.js → p-4e9bfeb8.system.entry.js} +1 -1
  757. package/dist/stzh-components/{p-4c68fa45.system.js → p-5318ba20.system.js} +0 -0
  758. package/dist/stzh-components/{p-3eb7b6b4.entry.js → p-586cae98.entry.js} +1 -1
  759. package/dist/stzh-components/{p-3afe13ac.system.entry.js → p-58ffc722.system.entry.js} +1 -1
  760. package/dist/stzh-components/p-5e0cccc9.system.entry.js +1 -0
  761. package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-5ea652ae.system.entry.js} +1 -1
  762. package/dist/stzh-components/{p-5f20178b.system.js → p-6267a327.system.js} +0 -0
  763. package/dist/stzh-components/{p-ac9e6d17.system.entry.js → p-68a8b7b7.system.entry.js} +1 -1
  764. package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-6c3b2508.system.entry.js} +1 -1
  765. package/dist/stzh-components/{p-4b69a3e8.system.entry.js → p-6edd58a4.system.entry.js} +1 -1
  766. package/dist/stzh-components/{p-c3ac1bdc.system.entry.js → p-6fc271d0.system.entry.js} +1 -1
  767. package/dist/stzh-components/{p-7c6f9cb3.entry.js → p-73194e28.entry.js} +1 -1
  768. package/dist/stzh-components/{p-81d9f3e0.js → p-77a00e55.js} +0 -0
  769. package/dist/stzh-components/p-7921db30.system.entry.js +1 -0
  770. package/dist/stzh-components/p-79bfc485.entry.js +1 -0
  771. package/dist/stzh-components/{p-79770abe.system.entry.js → p-7a6e347d.system.entry.js} +2 -2
  772. package/dist/stzh-components/{p-cd29b7ca.entry.js → p-7bb1bd3b.entry.js} +1 -1
  773. package/dist/stzh-components/{p-649164c7.entry.js → p-7d098987.entry.js} +1 -1
  774. package/dist/stzh-components/{p-b9e4095d.entry.js → p-7d2237ca.entry.js} +1 -1
  775. package/dist/stzh-components/{p-927901f5.system.entry.js → p-7d62dfeb.system.entry.js} +1 -1
  776. package/dist/stzh-components/{p-efb9fa47.system.entry.js → p-87ab53c4.system.entry.js} +1 -1
  777. package/dist/stzh-components/{p-1f3e6fad.system.entry.js → p-88a4f756.system.entry.js} +1 -1
  778. package/dist/stzh-components/{p-b1976630.entry.js → p-8a60addb.entry.js} +1 -1
  779. package/dist/stzh-components/{p-ab2727e6.entry.js → p-8bd3ba06.entry.js} +1 -1
  780. package/dist/stzh-components/{p-a8c3af68.system.entry.js → p-8db4279d.system.entry.js} +1 -1
  781. package/dist/stzh-components/{p-e1b64b8a.system.entry.js → p-90a10825.system.entry.js} +1 -1
  782. package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
  783. package/dist/stzh-components/{p-67eac0a0.entry.js → p-95a297aa.entry.js} +1 -1
  784. package/dist/stzh-components/{p-a42a7524.entry.js → p-95eb03b2.entry.js} +1 -1
  785. package/dist/stzh-components/p-983f6070.entry.js +1 -0
  786. package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
  787. package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
  788. package/dist/stzh-components/p-a7253852.entry.js +1 -0
  789. package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-a760352a.system.entry.js} +1 -1
  790. package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
  791. package/dist/stzh-components/p-aaa2e48f.system.js +1 -0
  792. package/dist/stzh-components/p-b281b653.entry.js +8 -0
  793. package/dist/stzh-components/p-b35b0270.entry.js +1 -0
  794. package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
  795. package/dist/stzh-components/p-b4fc71ff.system.entry.js +1 -0
  796. package/dist/stzh-components/{p-bb91feeb.entry.js → p-bb2e1dda.entry.js} +1 -1
  797. package/dist/stzh-components/{p-301841e3.entry.js → p-bdba7714.entry.js} +1 -1
  798. package/dist/stzh-components/p-c581e798.system.entry.js +1 -0
  799. package/dist/stzh-components/p-c7c17bb7.system.entry.js +7 -0
  800. package/dist/stzh-components/{p-da8218fa.system.entry.js → p-c863ffd0.system.entry.js} +1 -1
  801. package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
  802. package/dist/stzh-components/{p-ffa293cf.entry.js → p-cf162e67.entry.js} +1 -1
  803. package/dist/stzh-components/{p-a7454367.js → p-cf6003d6.js} +0 -0
  804. package/dist/stzh-components/{p-4b8893d1.entry.js → p-d8471675.entry.js} +1 -1
  805. package/dist/stzh-components/{p-0433fff9.system.entry.js → p-da063c7e.system.entry.js} +1 -1
  806. package/dist/stzh-components/{p-0e9e4c68.entry.js → p-debb00e6.entry.js} +1 -1
  807. package/dist/stzh-components/{p-e69a66bb.js → p-df2bb358.js} +0 -0
  808. package/dist/stzh-components/p-e12db90a.entry.js +1 -0
  809. package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.entry.js} +1 -1
  810. package/dist/stzh-components/{p-08cc711a.system.entry.js → p-e972a44f.system.entry.js} +1 -1
  811. package/dist/stzh-components/{p-6113bb25.entry.js → p-ec3d4dd4.entry.js} +1 -1
  812. package/dist/stzh-components/p-ee5ceac4.entry.js +1 -0
  813. package/dist/stzh-components/{p-648695c2.js → p-ee7a68db.js} +0 -0
  814. package/dist/stzh-components/p-ef5d4167.js +1 -1
  815. package/dist/stzh-components/p-f0ca6848.system.entry.js +1 -0
  816. package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-f1a58a7c.system.entry.js} +1 -1
  817. package/dist/stzh-components/{p-afa7061e.entry.js → p-f2050d1e.entry.js} +1 -1
  818. package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
  819. package/dist/stzh-components/{p-75f1b800.entry.js → p-f610f725.entry.js} +1 -1
  820. package/dist/stzh-components/p-faf20030.system.js +1 -0
  821. package/dist/stzh-components/{p-4e9e606f.entry.js → p-fba76dba.entry.js} +1 -1
  822. package/dist/stzh-components/{p-ab864a8a.system.entry.js → p-fc9c4fc3.system.entry.js} +1 -1
  823. package/dist/stzh-components/{p-6d23fb4d.system.entry.js → p-fce0e218.system.entry.js} +1 -1
  824. package/dist/stzh-components/{p-efd78d08.system.entry.js → p-fd16e20e.system.entry.js} +1 -1
  825. package/dist/stzh-components/stzh-components.css +1 -1
  826. package/dist/stzh-components/stzh-components.esm.js +1 -1
  827. package/dist/stzh-components/stzh-components.js +1 -1
  828. package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +11 -11
  829. package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -8
  830. package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -14
  831. package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -21
  832. package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -7
  833. package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -21
  834. package/dist/types/components/stzh-container/stzh-container.d.ts +6 -6
  835. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -6
  836. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -4
  837. package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -4
  838. package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -5
  839. package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -4
  840. package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -7
  841. package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -15
  842. package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -9
  843. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -5
  844. package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -13
  845. package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -25
  846. package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -15
  847. package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -3
  848. package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -11
  849. package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -6
  850. package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -4
  851. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -4
  852. package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -8
  853. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -22
  854. package/dist/types/components/stzh-row/stzh-row.d.ts +23 -23
  855. package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -7
  856. package/dist/types/components/stzh-section/stzh-section.d.ts +8 -8
  857. package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -8
  858. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -5
  859. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -16
  860. package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -8
  861. package/dist/types/components/stzh-text/stzh-text.d.ts +23 -23
  862. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -4
  863. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -16
  864. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -4
  865. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -15
  866. package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -6
  867. package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -25
  868. package/dist/types/components.d.ts +68 -2
  869. package/dist/types/index.d.ts +428 -427
  870. package/dist/types/utils/animation-utils.d.ts +10 -10
  871. package/dist/types/utils/date-adapter.d.ts +8 -8
  872. package/dist/types/utils/date-utils.d.ts +61 -61
  873. package/dist/types/utils/event-utils.d.ts +1 -1
  874. package/dist/types/utils/h.d.ts +18 -18
  875. package/dist/types/utils/media-utils.d.ts +3 -3
  876. package/dist/types/utils/string-utils.d.ts +2 -2
  877. package/dist/types/utils/test-utils.d.ts +9 -9
  878. package/dist/types/utils/translation-utils.d.ts +40 -40
  879. package/dist/types/utils/utils.d.ts +5 -3
  880. package/dist/vscode-data.json +84 -61
  881. package/package.json +1 -1
  882. package/dist/cjs/utils-e84f4a8d.js +0 -36
  883. package/dist/esm/utils-c5d68020.js +0 -33
  884. package/dist/esm-es5/app-globals-137e106c.js +0 -1
  885. package/dist/esm-es5/utils-c5d68020.js +0 -1
  886. package/dist/stzh-components/p-323fdc2f.entry.js +0 -1
  887. package/dist/stzh-components/p-3da37219.entry.js +0 -8
  888. package/dist/stzh-components/p-42430cdf.js +0 -1
  889. package/dist/stzh-components/p-4476344d.js +0 -1
  890. package/dist/stzh-components/p-58b8d309.system.entry.js +0 -1
  891. package/dist/stzh-components/p-5977373f.system.js +0 -1
  892. package/dist/stzh-components/p-87140179.system.entry.js +0 -1
  893. package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
  894. package/dist/stzh-components/p-95a3c962.system.entry.js +0 -1
  895. package/dist/stzh-components/p-9be4e960.entry.js +0 -1
  896. package/dist/stzh-components/p-adaf8b15.entry.js +0 -1
  897. package/dist/stzh-components/p-af819e4e.system.js +0 -1
  898. package/dist/stzh-components/p-b56c83a4.entry.js +0 -1
  899. package/dist/stzh-components/p-d1821750.system.entry.js +0 -1
  900. package/dist/stzh-components/p-d7b5770c.entry.js +0 -1
  901. package/dist/stzh-components/p-d8819b74.system.entry.js +0 -1
  902. package/dist/stzh-components/p-e029f6c5.system.entry.js +0 -1
  903. package/dist/stzh-components/p-e3769e97.system.js +0 -1
  904. package/dist/stzh-components/p-ebf73698.entry.js +0 -1
  905. package/dist/stzh-components/p-f8bb1bed.system.entry.js +0 -7
  906. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
  907. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -44
  908. package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
  909. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -17
  910. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
  911. package/dist/types/components/stzh-button/stzh-button.d.ts +0 -59
  912. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -76
  913. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -55
  914. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -62
  915. package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -47
  916. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -23
  917. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
  918. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -44
  919. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -49
  920. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -93
  921. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -59
  922. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -150
  923. package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -13
  924. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -39
  925. package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -21
  926. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -49
  927. package/dist/types/components/stzh-header/stzh-header.d.ts +0 -57
  928. package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
  929. package/dist/types/components/stzh-input/stzh-input.d.ts +0 -95
  930. package/dist/types/components/stzh-link/stzh-link.d.ts +0 -50
  931. package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
  932. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
  933. package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
  934. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
  935. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -35
  936. package/dist/types/components/stzh-message/stzh-message.d.ts +0 -36
  937. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
  938. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
  939. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
  940. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -11
  941. package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
  942. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -42
  943. package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -55
  944. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -64
  945. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
  946. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -14
  947. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
  948. package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +0 -72
  949. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +0 -23
  950. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -52
  951. package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
  952. package/dist/types/components/stzh-table/stzh-table.d.ts +0 -33
  953. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -57
  954. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -78
  955. package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -207
  956. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -27
  957. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -34
  958. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -54
  959. package/dist/types/types/svg.d.ts +0 -4
@@ -1 +1 @@
1
- import{r as t,c as o,h as e,a as r,g as s}from"./p-65282c9d.js";import{h as i}from"./p-42430cdf.js";import{f as n}from"./p-1a40a6e4.js";import{S as a}from"./p-8ba6ca80.js";import{c as l,a as d}from"./p-3e8ff66b.js";var h=l((function(t){t.exports=function(){function t(t,o){t.split(/\s+/).forEach((t=>{o(t)}))}class o{constructor(){this._events=void 0,this._events={}}on(o,e){t(o,(t=>{this._events[t]=this._events[t]||[],this._events[t].push(e)}))}off(o,e){var r=arguments.length;0!==r?t(o,(t=>{if(1===r)return delete this._events[t];t in this._events!=0&&this._events[t].splice(this._events[t].indexOf(e),1)})):this._events={}}trigger(o,...e){var r=this;t(o,(t=>{if(t in r._events!=0)for(let o of r._events[t])o.apply(r,e)}))}}var e;const r="[̀-ͯ·ʾ]",s=new RegExp(r,"gu");var i;const n={"æ":"ae","ⱥ":"a","ø":"o"},a=new RegExp(Object.keys(n).join("|"),"gu"),l=[[0,65535]],d=t=>t.normalize("NFKD").replace(s,"").toLowerCase().replace(a,(function(t){return n[t]})),h=(t,o="|")=>{if(1==t.length)return t[0];var e=1;return t.forEach((t=>{e=Math.max(e,t.length)})),1==e?"["+t.join("")+"]":"(?:"+t.join(o)+")"},p=t=>{const o=t.map((t=>m(t)));return h(o)},c=t=>{if(1===t.length)return[[t]];var o=[];return c(t.substring(1)).forEach((function(e){var r=e.slice(0);r[0]=t.charAt(0)+r[0],o.push(r),(r=e.slice(0)).unshift(t.charAt(0)),o.push(r)})),o},u=t=>(void 0===i&&(i=(t=>{var o={};t.forEach((t=>{for(let r=t[0];r<=t[1];r++){let t=String.fromCharCode(r),s=d(t);if(s!=t.toLowerCase()&&!(s.length>3)){s in o||(o[s]=[s]);var e=new RegExp(p(o[s]),"iu");t.match(e)||o[s].push(t)}}}));let r=Object.keys(o);for(let e=0;e<r.length;e++){const t=r[e];o[t].length<2&&delete o[t]}r=Object.keys(o).sort(((t,o)=>o.length-t.length)),e=new RegExp("("+p(r)+"[̀-ͯ·ʾ]*)","gu");var s={};return r.sort(((t,o)=>t.length-o.length)).forEach((t=>{var e=c(t).map((t=>(t=t.map((t=>o.hasOwnProperty(t)?p(o[t]):t)),h(t,""))));s[t]=h(e)})),s})(l)),t.normalize("NFKD").toLowerCase().split(e).map((t=>{const o=d(t);return""==o?"":i.hasOwnProperty(o)?i[o]:t})).join("")),z=(t,o)=>{if(t)return t[o]},v=(t,o)=>{if(t){for(var e,r=o.split(".");(e=r.shift())&&(t=t[e]););return t}},w=(t,o,e)=>{var r,s;return t?-1===(s=(t+="").search(o.regex))?0:(r=o.string.length/t.length,0===s&&(r+=.5),r*e):0},m=t=>(t+"").replace(/([\$\(-\+\.\?\[-\^\{-\}])/g,"\\$1"),f=(t,o)=>{var e=t[o];if("function"==typeof e)return e;e&&!Array.isArray(e)&&(t[o]=[e])},_=(t,o)=>{if(Array.isArray(t))t.forEach(o);else for(var e in t)t.hasOwnProperty(e)&&o(t[e],e)},g=(t,o)=>"number"==typeof t&&"number"==typeof o?t>o?1:t<o?-1:0:(t=d(t+"").toLowerCase())>(o=d(o+"").toLowerCase())?1:o>t?-1:0;class b{constructor(t,o){this.items=void 0,this.settings=void 0,this.items=t,this.settings=o||{diacritics:!0}}tokenize(t,o,e){if(!t||!t.length)return[];const r=[],s=t.split(/\s+/);var i;return e&&(i=new RegExp("^("+Object.keys(e).map(m).join("|")+"):(.*)$")),s.forEach((t=>{let e,s=null,n=null;i&&(e=t.match(i))&&(s=e[1],t=e[2]),t.length>0&&(n=this.settings.diacritics?u(t):m(t),o&&(n="\\b"+n)),r.push({string:t,regex:n?new RegExp(n,"iu"):null,field:s})})),r}getScoreFunction(t,o){var e=this.prepareSearch(t,o);return this._getScoreFunction(e)}_getScoreFunction(t){const o=t.tokens,e=o.length;if(!e)return function(){return 0};const r=t.options.fields,s=t.weights,i=r.length,n=t.getAttrFn;if(!i)return function(){return 1};const a=1===i?function(t,o){const e=r[0].field;return w(n(o,e),t,s[e])}:function(t,o){var e=0;if(t.field){const r=n(o,t.field);e+=!t.regex&&r?1/i:w(r,t,1)}else _(s,((r,s)=>{e+=w(n(o,s),t,r)}));return e/i};return 1===e?function(t){return a(o[0],t)}:"and"===t.options.conjunction?function(t){for(var r,s=0,i=0;s<e;s++){if((r=a(o[s],t))<=0)return 0;i+=r}return i/e}:function(t){var r=0;return _(o,(o=>{r+=a(o,t)})),r/e}}getSortFunction(t,o){var e=this.prepareSearch(t,o);return this._getSortFunction(e)}_getSortFunction(t){var o,e,r;const s=this,i=t.options,n=!t.query&&i.sort_empty?i.sort_empty:i.sort,a=[],l=[];if("function"==typeof n)return n.bind(this);const d=function(o,e){return"$score"===o?e.score:t.getAttrFn(s.items[e.id],o)};if(n)for(o=0,e=n.length;o<e;o++)(t.query||"$score"!==n[o].field)&&a.push(n[o]);if(t.query){for(r=!0,o=0,e=a.length;o<e;o++)if("$score"===a[o].field){r=!1;break}r&&a.unshift({field:"$score",direction:"desc"})}else for(o=0,e=a.length;o<e;o++)if("$score"===a[o].field){a.splice(o,1);break}for(o=0,e=a.length;o<e;o++)l.push("desc"===a[o].direction?-1:1);const h=a.length;if(h){if(1===h){const t=a[0].field,o=l[0];return function(e,r){return o*g(d(t,e),d(t,r))}}return function(t,o){var e,r,s;for(e=0;e<h;e++)if(r=l[e]*g(d(s=a[e].field,t),d(s,o)))return r;return 0}}return null}prepareSearch(t,o){const e={};var r=Object.assign({},o);if(f(r,"sort"),f(r,"sort_empty"),r.fields){f(r,"fields");const t=[];r.fields.forEach((o=>{"string"==typeof o&&(o={field:o,weight:1}),t.push(o),e[o.field]="weight"in o?o.weight:1})),r.fields=t}return{options:r,query:t.toLowerCase().trim(),tokens:this.tokenize(t,r.respect_word_boundaries,e),total:0,items:[],weights:e,getAttrFn:r.nesting?v:z}}search(t,o){var e,r,s=this;t=(r=this.prepareSearch(t,o)).query;const i=(o=r.options).score||s._getScoreFunction(r);_(s.items,t.length?(t,s)=>{e=i(t),(!1===o.filter||e>0)&&r.items.push({score:e,id:s})}:(t,o)=>{r.items.push({score:1,id:o})});const n=s._getSortFunction(r);return n&&r.items.sort(n),r.total=r.items.length,"number"==typeof o.limit&&(r.items=r.items.slice(0,o.limit)),r}}const x=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(y(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)},y=t=>"string"==typeof t&&t.indexOf("<")>-1,k=(t,o)=>{var e=document.createEvent("HTMLEvents");e.initEvent(o,!0,!1),t.dispatchEvent(e)},O=(t,o)=>{Object.assign(t.style,o)},F=(t,...o)=>{var e=A(o);(t=C(t)).map((t=>{e.map((o=>{t.classList.add(o)}))}))},S=(t,...o)=>{var e=A(o);(t=C(t)).map((t=>{e.map((o=>{t.classList.remove(o)}))}))},A=t=>{var o=[];return _(t,(t=>{"string"==typeof t&&(t=t.trim().split(/[\11\12\14\15\40]/)),Array.isArray(t)&&(o=o.concat(t))})),o.filter(Boolean)},C=t=>(Array.isArray(t)||(t=[t]),t),j=(t,o,e)=>{if(!e||e.contains(t))for(;t&&t.matches;){if(t.matches(o))return t;t=t.parentNode}},I=(t,o=0)=>o>0?t[t.length-1]:t[0],E=(t,o)=>{if(!t)return-1;o=o||t.nodeName;for(var e=0;t=t.previousElementSibling;)t.matches(o)&&e++;return e},$=(t,o)=>{_(o,((o,e)=>{null==o?t.removeAttribute(e):t.setAttribute(e,""+o)}))},T=(t,o)=>{t.parentNode&&t.parentNode.replaceChild(o,t)},R=(t,o)=>{if(null===o)return;if("string"==typeof o){if(!o.length)return;o=new RegExp(o,"i")}const e=t=>3===t.nodeType?(t=>{var e=t.data.match(o);if(e&&t.data.length>0){var r=document.createElement("span");r.className="highlight";var s=t.splitText(e.index);s.splitText(e[0].length);var i=s.cloneNode(!0);return r.appendChild(i),T(s,r),1}return 0})(t):((t=>{if(1===t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName)&&("highlight"!==t.className||"SPAN"!==t.tagName))for(var o=0;o<t.childNodes.length;++o)o+=e(t.childNodes[o])})(t),0);e(t)},L="undefined"!=typeof navigator&&/Mac/.test(navigator.userAgent)?"metaKey":"ctrlKey";var D={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:null,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,shouldOpen:null,maxOptions:50,maxItems:null,hideSelected:null,duplicates:!1,addPrecedence:!1,selectOnTab:!1,preload:null,allowEmptyOption:!1,loadThrottle:300,loadingClass:"loading",dataAttr:null,optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"ts-wrapper",controlClass:"ts-control",dropdownClass:"ts-dropdown",dropdownContentClass:"ts-dropdown-content",itemClass:"item",optionClass:"option",dropdownParent:null,controlInput:'<input type="text" autocomplete="off" size="1" />',copyClassesToDropdown:!1,placeholder:null,hidePlaceholder:null,shouldLoad:function(t){return t.length>0},render:{}};const M=t=>null==t?null:W(t),W=t=>"boolean"==typeof t?t?"1":"0":t+"",N=t=>(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),P=(t,o)=>{var e;return function(r,s){var i=this;e&&(i.loading=Math.max(i.loading-1,0),clearTimeout(e)),e=setTimeout((function(){e=null,i.loadedSearches[r]=!0,t.call(i,r,s)}),o)}},V=(t,o,e)=>{var r,s=t.trigger,i={};for(r of(t.trigger=function(){var e=arguments[0];if(-1===o.indexOf(e))return s.apply(t,arguments);i[e]=arguments},e.apply(t,[]),t.trigger=s,o))r in i&&s.apply(t,i[r])},K=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},q=(t,o,e,r)=>{t.addEventListener(o,e,r)},B=(t,o)=>!!o&&!!o[t]&&1==(o.altKey?1:0)+(o.ctrlKey?1:0)+(o.shiftKey?1:0)+(o.metaKey?1:0),G=(t,o)=>t.getAttribute("id")||(t.setAttribute("id",o),o),H=t=>t.replace(/[\\"']/g,"\\$&"),J=(t,o)=>{o&&t.append(o)};function Y(t,o){var e=Object.assign({},D,o),r=e.dataAttr,s=e.labelField,i=e.valueField,n=e.disabledField,a=e.optgroupField,l=e.optgroupLabelField,d=e.optgroupValueField,h=t.tagName.toLowerCase(),p=t.getAttribute("placeholder")||t.getAttribute("data-placeholder");if(!p&&!e.allowEmptyOption){let o=t.querySelector('option[value=""]');o&&(p=o.textContent)}var c,u,z,v,w,m,f,g={placeholder:p,options:[],optgroups:[],items:[],maxItems:null};return"select"===h?(u=g.options,z={},v=1,w=t=>{var o=Object.assign({},t.dataset),e=r&&o[r];return"string"==typeof e&&e.length&&(o=Object.assign(o,JSON.parse(e))),o},m=(t,o)=>{var r=M(t.value);if(null!=r&&(r||e.allowEmptyOption)){if(z.hasOwnProperty(r)){if(o){var l=z[r][a];l?Array.isArray(l)?l.push(o):z[r][a]=[l,o]:z[r][a]=o}}else{var d=w(t);d[s]=d[s]||t.textContent,d[i]=d[i]||r,d[n]=d[n]||t.disabled,d[a]=d[a]||o,d.$option=t,z[r]=d,u.push(d)}t.selected&&g.items.push(r)}},f=t=>{var o,e;(e=w(t))[l]=e[l]||t.getAttribute("label")||"",e[d]=e[d]||v++,e[n]=e[n]||t.disabled,g.optgroups.push(e),o=e[d],_(t.children,(t=>{m(t,o)}))},g.maxItems=t.hasAttribute("multiple")?null:1,_(t.children,(t=>{"optgroup"===(c=t.tagName.toLowerCase())?f(t):"option"===c&&m(t)}))):(()=>{const o=t.getAttribute(r);if(o)g.options=JSON.parse(o),_(g.options,(t=>{g.items.push(t[i])}));else{var n=t.value.trim()||"";if(!e.allowEmptyOption&&!n.length)return;const o=n.split(e.delimiter);_(o,(t=>{const o={};o[s]=t,o[i]=t,g.options.push(o)})),g.items=o}})(),Object.assign({},D,g,o)}var U=0;class Q extends(function(t){return t.plugins={},class extends t{constructor(...t){super(...t),this.plugins={names:[],settings:{},requested:{},loaded:{}}}static define(o,e){t.plugins[o]={name:o,fn:e}}initializePlugins(t){var o,e;const r=this,s=[];if(Array.isArray(t))t.forEach((t=>{"string"==typeof t?s.push(t):(r.plugins.settings[t.name]=t.options,s.push(t.name))}));else if(t)for(o in t)t.hasOwnProperty(o)&&(r.plugins.settings[o]=t[o],s.push(o));for(;e=s.shift();)r.require(e)}loadPlugin(o){var e=this,r=e.plugins,s=t.plugins[o];if(!t.plugins.hasOwnProperty(o))throw new Error('Unable to find "'+o+'" plugin');r.requested[o]=!0,r.loaded[o]=s.fn.apply(e,[e.plugins.settings[o]||{}]),r.names.push(o)}require(t){var o=this,e=o.plugins;if(!o.plugins.loaded.hasOwnProperty(t)){if(e.requested[t])throw new Error('Plugin has circular dependency ("'+t+'")');o.loadPlugin(t)}return e.loaded[t]}}}(o)){constructor(t,o){var e;super(),this.control_input=void 0,this.wrapper=void 0,this.dropdown=void 0,this.control=void 0,this.dropdown_content=void 0,this.focus_node=void 0,this.order=0,this.settings=void 0,this.input=void 0,this.tabIndex=void 0,this.is_select_tag=void 0,this.rtl=void 0,this.inputId=void 0,this._destroy=void 0,this.sifter=void 0,this.isOpen=!1,this.isDisabled=!1,this.isRequired=void 0,this.isInvalid=!1,this.isValid=!0,this.isLocked=!1,this.isFocused=!1,this.isInputHidden=!1,this.isSetup=!1,this.ignoreFocus=!1,this.ignoreHover=!1,this.hasOptions=!1,this.currentResults=void 0,this.lastValue="",this.caretPos=0,this.loading=0,this.loadedSearches={},this.activeOption=null,this.activeItems=[],this.optgroups={},this.options={},this.userOptions={},this.items=[],U++;var r=x(t);if(r.tomselect)throw new Error("Tom Select already initialized on this element");r.tomselect=this,e=(window.getComputedStyle&&window.getComputedStyle(r,null)).getPropertyValue("direction");const s=Y(r,o);this.settings=s,this.input=r,this.tabIndex=r.tabIndex||0,this.is_select_tag="select"===r.tagName.toLowerCase(),this.rtl=/rtl/i.test(e),this.inputId=G(r,"tomselect-"+U),this.isRequired=r.required,this.sifter=new b(this.options,{diacritics:s.diacritics}),s.mode=s.mode||(1===s.maxItems?"single":"multi"),"boolean"!=typeof s.hideSelected&&(s.hideSelected="multi"===s.mode),"boolean"!=typeof s.hidePlaceholder&&(s.hidePlaceholder="multi"!==s.mode);var i=s.createFilter;"function"!=typeof i&&("string"==typeof i&&(i=new RegExp(i)),s.createFilter=i instanceof RegExp?t=>i.test(t):t=>this.settings.duplicates||!this.options[t]),this.initializePlugins(s.plugins),this.setupCallbacks(),this.setupTemplates();const n=x("<div>"),a=x("<div>"),l=this._render("dropdown"),d=x('<div role="listbox" tabindex="-1">'),h=this.input.getAttribute("class")||"",p=s.mode;var c;F(n,s.wrapperClass,h,p),F(a,s.controlClass),J(n,a),F(l,s.dropdownClass,p),s.copyClassesToDropdown&&F(l,h),F(d,s.dropdownContentClass),J(l,d),x(s.dropdownParent||n).appendChild(l),y(s.controlInput)?(c=x(s.controlInput),_(["autocorrect","autocapitalize","autocomplete"],(t=>{r.getAttribute(t)&&$(c,{[t]:r.getAttribute(t)})})),c.tabIndex=-1,a.appendChild(c),this.focus_node=c):s.controlInput?(c=x(s.controlInput),this.focus_node=c):(c=x("<input/>"),this.focus_node=a),this.wrapper=n,this.dropdown=l,this.dropdown_content=d,this.control=a,this.control_input=c,this.setup()}setup(){const t=this,o=t.settings,e=t.control_input,r=t.dropdown,s=t.dropdown_content,i=t.wrapper,n=t.control,a=t.input,l=t.focus_node,d={passive:!0},h=t.inputId+"-ts-dropdown";$(s,{id:h}),$(l,{role:"combobox","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":h});const p=G(l,t.inputId+"-ts-control"),c="label[for='"+(t=>t.replace(/['"\\]/g,"\\$&"))(t.inputId)+"']",u=document.querySelector(c),z=t.focus.bind(t);if(u){q(u,"click",z),$(u,{for:p});const o=G(u,t.inputId+"-ts-label");$(l,{"aria-labelledby":o}),$(s,{"aria-labelledby":o})}if(i.style.width=a.style.width,t.plugins.names.length){const o="plugin-"+t.plugins.names.join(" plugin-");F([i,r],o)}(null===o.maxItems||o.maxItems>1)&&t.is_select_tag&&$(a,{multiple:"multiple"}),o.placeholder&&$(e,{placeholder:o.placeholder}),!o.splitOn&&o.delimiter&&(o.splitOn=new RegExp("\\s*"+m(o.delimiter)+"+\\s*")),o.load&&o.loadThrottle&&(o.load=P(o.load,o.loadThrottle)),t.control_input.type=a.type,q(r,"mouseenter",(o=>{var e=j(o.target,"[data-selectable]",r);e&&t.onOptionHover(o,e)}),{capture:!0}),q(r,"click",(o=>{const e=j(o.target,"[data-selectable]");e&&(t.onOptionSelect(o,e),K(o,!0))})),q(n,"click",(o=>{var r=j(o.target,"[data-ts-item]",n);r&&t.onItemSelect(o,r)?K(o,!0):""==e.value&&(t.onClick(),K(o,!0))})),q(l,"keydown",(o=>t.onKeyDown(o))),q(e,"keypress",(o=>t.onKeyPress(o))),q(e,"input",(o=>t.onInput(o))),q(l,"resize",(()=>t.positionDropdown()),d),q(l,"blur",(o=>t.onBlur(o))),q(l,"focus",(o=>t.onFocus(o))),q(e,"paste",(o=>t.onPaste(o)));const v=o=>{const s=o.composedPath()[0];if(!i.contains(s)&&!r.contains(s))return t.isFocused&&t.blur(),void t.inputState();s==e&&t.isOpen?o.stopPropagation():K(o,!0)},w=()=>{t.isOpen&&t.positionDropdown()},f=()=>{t.ignoreHover=!1};q(document,"mousedown",v),q(window,"scroll",w,d),q(window,"resize",w,d),q(window,"mousemove",f,d),this._destroy=()=>{document.removeEventListener("mousedown",v),window.removeEventListener("mousemove",f),window.removeEventListener("scroll",w),window.removeEventListener("resize",w),u&&u.removeEventListener("click",z)},this.revertSettings={innerHTML:a.innerHTML,tabIndex:a.tabIndex},a.tabIndex=-1,a.insertAdjacentElement("afterend",t.wrapper),t.sync(!1),o.items=[],delete o.optgroups,delete o.options,q(a,"invalid",(()=>{t.isValid&&(t.isValid=!1,t.isInvalid=!0,t.refreshState())})),t.updateOriginalInput(),t.refreshItems(),t.close(!1),t.inputState(),t.isSetup=!0,a.disabled?t.disable():t.enable(),t.on("change",this.onChange),F(a,"tomselected","ts-hidden-accessible"),t.trigger("initialize"),!0===o.preload&&t.preload()}setupOptions(t=[],o=[]){this.addOptions(t),_(o,(t=>{this.registerOptionGroup(t)}))}setupTemplates(){var t=this,o=t.settings.labelField,e=t.settings.optgroupLabelField;t.settings.render=Object.assign({},{optgroup:t=>{let o=document.createElement("div");return o.className="optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>'<div class="optgroup-header">'+o(t[e])+"</div>",option:(t,e)=>"<div>"+e(t[o])+"</div>",item:(t,e)=>"<div>"+e(t[o])+"</div>",option_create:(t,o)=>'<div class="create">Add <strong>'+o(t.input)+"</strong>&hellip;</div>",no_results:()=>'<div class="no-results">No results found</div>',loading:()=>'<div class="spinner"></div>',not_loading:()=>{},dropdown:()=>"<div></div>"},t.settings.render)}setupCallbacks(){var t,o,e={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",item_select:"onItemSelect",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(t in e)(o=this.settings[e[t]])&&this.on(t,o)}sync(t=!0){const o=this,e=t?Y(o.input,{delimiter:o.settings.delimiter}):o.settings;o.setupOptions(e.options,e.optgroups),o.setValue(e.items||[],!0),o.lastQuery=null}onClick(){var t=this;if(t.activeItems.length>0)return t.clearActiveItems(),void t.focus();t.isFocused&&t.isOpen?t.blur():t.focus()}onMouseDown(){}onChange(){k(this.input,"input"),k(this.input,"change")}onPaste(t){var o=this;o.isInputHidden||o.isLocked?K(t):o.settings.splitOn&&setTimeout((()=>{var t=o.inputValue();if(t.match(o.settings.splitOn)){var e=t.trim().split(o.settings.splitOn);_(e,(t=>{t=M(t),this.options[t]?o.addItem(t):o.createItem(t)}))}}),0)}onKeyPress(t){var o=this;if(!o.isLocked){var e=String.fromCharCode(t.keyCode||t.which);return o.settings.create&&"multi"===o.settings.mode&&e===o.settings.delimiter?(o.createItem(),void K(t)):void 0}K(t)}onKeyDown(t){var o=this;if(o.ignoreHover=!0,o.isLocked)9!==t.keyCode&&K(t);else{switch(t.keyCode){case 65:if(B(L,t)&&""==o.control_input.value)return K(t),void o.selectAll();break;case 27:return o.isOpen&&(K(t,!0),o.close()),void o.clearActiveItems();case 40:if(!o.isOpen&&o.hasOptions)o.open();else if(o.activeOption){let t=o.getAdjacent(o.activeOption,1);t&&o.setActiveOption(t)}return void K(t);case 38:if(o.activeOption){let t=o.getAdjacent(o.activeOption,-1);t&&o.setActiveOption(t)}return void K(t);case 13:return void(o.canSelect(o.activeOption)?(o.onOptionSelect(t,o.activeOption),K(t)):(o.settings.create&&o.createItem()||document.activeElement==o.control_input&&o.isOpen)&&K(t));case 37:return void o.advanceSelection(-1,t);case 39:return void o.advanceSelection(1,t);case 9:return void(o.settings.selectOnTab&&(o.canSelect(o.activeOption)&&(o.onOptionSelect(t,o.activeOption),K(t)),o.settings.create&&o.createItem()&&K(t)));case 8:case 46:return void o.deleteSelection(t)}o.isInputHidden&&!B(L,t)&&K(t)}}onInput(t){var o=this;if(!o.isLocked){var e=o.inputValue();o.lastValue!==e&&(o.lastValue=e,o.settings.shouldLoad.call(o,e)&&o.load(e),o.refreshOptions(),o.trigger("type",e))}}onOptionHover(t,o){this.ignoreHover||this.setActiveOption(o,!1)}onFocus(t){var o=this,e=o.isFocused;if(o.isDisabled)return o.blur(),void K(t);o.ignoreFocus||(o.isFocused=!0,"focus"===o.settings.preload&&o.preload(),e||o.trigger("focus"),o.activeItems.length||(o.showInput(),o.refreshOptions(!!o.settings.openOnFocus)),o.refreshState())}onBlur(t){if(!1!==document.hasFocus()){var o=this;if(o.isFocused){o.isFocused=!1,o.ignoreFocus=!1;var e=()=>{o.close(),o.setActiveItem(),o.setCaret(o.items.length),o.trigger("blur")};o.settings.create&&o.settings.createOnBlur?o.createItem(null,!1,e):e()}}}onOptionSelect(t,o){var e,r=this;o.parentElement&&o.parentElement.matches("[data-disabled]")||(o.classList.contains("create")?r.createItem(null,!0,(()=>{r.settings.closeAfterSelect&&r.close()})):void 0!==(e=o.dataset.value)&&(r.lastQuery=null,r.addItem(e),r.settings.closeAfterSelect&&r.close(),!r.settings.hideSelected&&t.type&&/click/.test(t.type)&&r.setActiveOption(o)))}canSelect(t){return!!(this.isOpen&&t&&this.dropdown_content.contains(t))}onItemSelect(t,o){var e=this;return!e.isLocked&&"multi"===e.settings.mode&&(K(t),e.setActiveItem(o,t),!0)}canLoad(t){return!!this.settings.load&&!this.loadedSearches.hasOwnProperty(t)}load(t){const o=this;if(!o.canLoad(t))return;F(o.wrapper,o.settings.loadingClass),o.loading++;const e=o.loadCallback.bind(o);o.settings.load.call(o,t,e)}loadCallback(t,o){const e=this;e.loading=Math.max(e.loading-1,0),e.lastQuery=null,e.clearActiveOption(),e.setupOptions(t,o),e.refreshOptions(e.isFocused&&!e.isInputHidden),e.loading||S(e.wrapper,e.settings.loadingClass),e.trigger("load",t,o)}preload(){var t=this.wrapper.classList;t.contains("preloaded")||(t.add("preloaded"),this.load(""))}setTextboxValue(t=""){var o=this.control_input;o.value!==t&&(o.value=t,k(o,"update"),this.lastValue=t)}getValue(){return this.is_select_tag&&this.input.hasAttribute("multiple")?this.items:this.items.join(this.settings.delimiter)}setValue(t,o){V(this,o?[]:["change"],(()=>{this.clear(o),this.addItems(t,o)}))}setMaxItems(t){0===t&&(t=null),this.settings.maxItems=t,this.refreshState()}setActiveItem(t,o){var e,r,s,i,n,a,l=this;if("single"!==l.settings.mode){if(!t)return l.clearActiveItems(),void(l.isFocused&&l.showInput());if("click"===(e=o&&o.type.toLowerCase())&&B("shiftKey",o)&&l.activeItems.length){for(a=l.getLastActive(),(s=Array.prototype.indexOf.call(l.control.children,a))>(i=Array.prototype.indexOf.call(l.control.children,t))&&(n=s,s=i,i=n),r=s;r<=i;r++)-1===l.activeItems.indexOf(t=l.control.children[r])&&l.setActiveItemClass(t);K(o)}else"click"===e&&B(L,o)||"keydown"===e&&B("shiftKey",o)?t.classList.contains("active")?l.removeActiveItem(t):l.setActiveItemClass(t):(l.clearActiveItems(),l.setActiveItemClass(t));l.hideInput(),l.isFocused||l.focus()}}setActiveItemClass(t){const o=this,e=o.control.querySelector(".last-active");e&&S(e,"last-active"),F(t,"active last-active"),o.trigger("item_select",t),-1==o.activeItems.indexOf(t)&&o.activeItems.push(t)}removeActiveItem(t){var o=this.activeItems.indexOf(t);this.activeItems.splice(o,1),S(t,"active")}clearActiveItems(){S(this.activeItems,"active"),this.activeItems=[]}setActiveOption(t,o=!0){t!==this.activeOption&&(this.clearActiveOption(),t&&(this.activeOption=t,$(this.focus_node,{"aria-activedescendant":t.getAttribute("id")}),$(t,{"aria-selected":"true"}),F(t,"active"),o&&this.scrollToOption(t)))}scrollToOption(t,o){if(!t)return;const e=this.dropdown_content,r=e.clientHeight,s=e.scrollTop||0,i=t.offsetHeight,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top+s;n+i>r+s?this.scroll(n-r+i,o):n<s&&this.scroll(n,o)}scroll(t,o){const e=this.dropdown_content;o&&(e.style.scrollBehavior=o),e.scrollTop=t,e.style.scrollBehavior=""}clearActiveOption(){this.activeOption&&(S(this.activeOption,"active"),$(this.activeOption,{"aria-selected":null})),this.activeOption=null,$(this.focus_node,{"aria-activedescendant":null})}selectAll(){const t=this;if("single"===t.settings.mode)return;const o=t.controlChildren();o.length&&(t.hideInput(),t.close(),t.activeItems=o,_(o,(o=>{t.setActiveItemClass(o)})))}inputState(){var t=this;t.control.contains(t.control_input)&&($(t.control_input,{placeholder:t.settings.placeholder}),t.activeItems.length>0||!t.isFocused&&t.settings.hidePlaceholder&&t.items.length>0?(t.setTextboxValue(),t.isInputHidden=!0):(t.settings.hidePlaceholder&&t.items.length>0&&$(t.control_input,{placeholder:""}),t.isInputHidden=!1),t.wrapper.classList.toggle("input-hidden",t.isInputHidden))}hideInput(){this.inputState()}showInput(){this.inputState()}inputValue(){return this.control_input.value.trim()}focus(){var t=this;t.isDisabled||(t.ignoreFocus=!0,t.control_input.offsetWidth?t.control_input.focus():t.focus_node.focus(),setTimeout((()=>{t.ignoreFocus=!1,t.onFocus()}),0))}blur(){this.focus_node.blur(),this.onBlur()}getScoreFunction(t){return this.sifter.getScoreFunction(t,this.getSearchOptions())}getSearchOptions(){var t=this.settings,o=t.sortField;return"string"==typeof t.sortField&&(o=[{field:t.sortField}]),{fields:t.searchField,conjunction:t.searchConjunction,sort:o,nesting:t.nesting}}search(t){var o,e,r,s=this,i=this.getSearchOptions();if(s.settings.score&&"function"!=typeof(r=s.settings.score.call(s,t)))throw new Error('Tom Select "score" setting must be a function that returns a function');if(t!==s.lastQuery?(s.lastQuery=t,e=s.sifter.search(t,Object.assign(i,{score:r})),s.currentResults=e):e=Object.assign({},s.currentResults),s.settings.hideSelected)for(o=e.items.length-1;o>=0;o--){let t=M(e.items[o].id);t&&-1!==s.items.indexOf(t)&&e.items.splice(o,1)}return e}refreshOptions(t=!0){var o,e,r,s,i,n,a,l,d,h,p;const c={},u=[];var z,v=this,w=v.inputValue(),m=v.search(w),f=null,g=v.settings.shouldOpen||!1,b=v.dropdown_content;for(v.activeOption&&(d=v.activeOption.dataset.value,h=v.activeOption.closest("[data-group]")),s=m.items.length,"number"==typeof v.settings.maxOptions&&(s=Math.min(s,v.settings.maxOptions)),s>0&&(g=!0),o=0;o<s;o++){let t=m.items[o].id,s=v.options[t],a=v.getOption(t,!0);for(v.settings.hideSelected||a.classList.toggle("selected",v.items.includes(t)),i=s[v.settings.optgroupField]||"",e=0,r=(n=Array.isArray(i)?i:[i])&&n.length;e<r;e++)v.optgroups.hasOwnProperty(i=n[e])||(i=""),c.hasOwnProperty(i)||(c[i]=document.createDocumentFragment(),u.push(i)),e>0&&(a=a.cloneNode(!0),$(a,{id:s.$id+"-clone-"+e,"aria-selected":null}),a.classList.add("ts-cloned"),S(a,"active")),f||d!=t||(h?h.dataset.group===i&&(f=a):f=a),c[i].appendChild(a)}this.settings.lockOptgroupOrder&&u.sort(((t,o)=>(v.optgroups[t]&&v.optgroups[t].$order||0)-(v.optgroups[o]&&v.optgroups[o].$order||0))),a=document.createDocumentFragment(),_(u,(t=>{if(v.optgroups.hasOwnProperty(t)&&c[t].children.length){let o=document.createDocumentFragment(),e=v.render("optgroup_header",v.optgroups[t]);J(o,e),J(o,c[t]);let r=v.render("optgroup",{group:v.optgroups[t],options:o});J(a,r)}else J(a,c[t])})),b.innerHTML="",J(b,a),v.settings.highlight&&(z=b.querySelectorAll("span.highlight"),Array.prototype.forEach.call(z,(function(t){var o=t.parentNode;o.replaceChild(t.firstChild,t),o.normalize()})),m.query.length&&m.tokens.length&&_(m.tokens,(t=>{R(b,t.regex)})));var x=t=>{let o=v.render(t,{input:w});return o&&(g=!0,b.insertBefore(o,b.firstChild)),o};if(v.loading?x("loading"):v.settings.shouldLoad.call(v,w)?0===m.items.length&&x("no_results"):x("not_loading"),(l=v.canCreate(w))&&(p=x("option_create")),v.hasOptions=m.items.length>0||l,g){if(m.items.length>0){if(!f&&"single"===v.settings.mode&&v.items.length&&(f=v.getOption(v.items[0])),!b.contains(f)){let t=0;p&&!v.settings.addPrecedence&&(t=1),f=v.selectable()[t]}}else p&&(f=p);t&&!v.isOpen&&(v.open(),v.scrollToOption(f,"auto")),v.setActiveOption(f)}else v.clearActiveOption(),t&&v.isOpen&&v.close(!1)}selectable(){return this.dropdown_content.querySelectorAll("[data-selectable]")}addOption(t,o=!1){const e=this;if(Array.isArray(t))return e.addOptions(t,o),!1;const r=M(t[e.settings.valueField]);return null!==r&&!e.options.hasOwnProperty(r)&&(t.$order=t.$order||++e.order,t.$id=e.inputId+"-opt-"+t.$order,e.options[r]=t,e.lastQuery=null,o&&(e.userOptions[r]=o,e.trigger("option_add",r,t)),r)}addOptions(t,o=!1){_(t,(t=>{this.addOption(t,o)}))}registerOption(t){return this.addOption(t)}registerOptionGroup(t){var o=M(t[this.settings.optgroupValueField]);return null!==o&&(t.$order=t.$order||++this.order,this.optgroups[o]=t,o)}addOptionGroup(t,o){var e;o[this.settings.optgroupValueField]=t,(e=this.registerOptionGroup(o))&&this.trigger("optgroup_add",e,o)}removeOptionGroup(t){this.optgroups.hasOwnProperty(t)&&(delete this.optgroups[t],this.clearCache(),this.trigger("optgroup_remove",t))}clearOptionGroups(){this.optgroups={},this.clearCache(),this.trigger("optgroup_clear")}updateOption(t,o){const e=this;var r,s;const i=M(t),n=M(o[e.settings.valueField]);if(null===i)return;if(!e.options.hasOwnProperty(i))return;if("string"!=typeof n)throw new Error("Value must be set in option data");const a=e.getOption(i),l=e.getItem(i);if(o.$order=o.$order||e.options[i].$order,delete e.options[i],e.uncacheValue(n),e.options[n]=o,a){if(e.dropdown_content.contains(a)){const t=e._render("option",o);T(a,t),e.activeOption===a&&e.setActiveOption(t)}a.remove()}l&&(-1!==(s=e.items.indexOf(i))&&e.items.splice(s,1,n),r=e._render("item",o),l.classList.contains("active")&&F(r,"active"),T(l,r)),e.lastQuery=null}removeOption(t,o){const e=this;t=W(t),e.uncacheValue(t),delete e.userOptions[t],delete e.options[t],e.lastQuery=null,e.trigger("option_remove",t),e.removeItem(t,o)}clearOptions(t){const o=(t||this.clearFilter).bind(this);this.loadedSearches={},this.userOptions={},this.clearCache();const e={};_(this.options,((t,r)=>{o(t,r)&&(e[r]=this.options[r])})),this.options=this.sifter.items=e,this.lastQuery=null,this.trigger("option_clear")}clearFilter(t,o){return this.items.indexOf(o)>=0}getOption(t,o=!1){const e=M(t);if(null!==e&&this.options.hasOwnProperty(e)){const t=this.options[e];if(t.$div)return t.$div;if(o)return this._render("option",t)}return null}getAdjacent(t,o,e="option"){var r;if(!t)return null;r="item"==e?this.controlChildren():this.dropdown_content.querySelectorAll("[data-selectable]");for(let s=0;s<r.length;s++)if(r[s]==t)return o>0?r[s+1]:r[s-1];return null}getItem(t){if("object"==typeof t)return t;var o=M(t);return null!==o?this.control.querySelector(`[data-value="${H(o)}"]`):null}addItems(t,o){var e=this,r=Array.isArray(t)?t:[t];for(let s=0,i=(r=r.filter((t=>-1===e.items.indexOf(t)))).length;s<i;s++)e.isPending=s<i-1,e.addItem(r[s],o)}addItem(t,o){V(this,o?[]:["change","dropdown_close"],(()=>{var e,r;const s=this,i=s.settings.mode,n=M(t);if((!n||-1===s.items.indexOf(n)||("single"===i&&s.close(),"single"!==i&&s.settings.duplicates))&&null!==n&&s.options.hasOwnProperty(n)&&("single"===i&&s.clear(o),"multi"!==i||!s.isFull())){if(e=s._render("item",s.options[n]),s.control.contains(e)&&(e=e.cloneNode(!0)),r=s.isFull(),s.items.splice(s.caretPos,0,n),s.insertAtCaret(e),s.isSetup){if(!s.isPending&&s.settings.hideSelected){let t=s.getOption(n),o=s.getAdjacent(t,1);o&&s.setActiveOption(o)}s.isPending||s.settings.closeAfterSelect||s.refreshOptions(s.isFocused&&"single"!==i),0!=s.settings.closeAfterSelect&&s.isFull()?s.close():s.isPending||s.positionDropdown(),s.trigger("item_add",n,e),s.isPending||s.updateOriginalInput({silent:o})}(!s.isPending||!r&&s.isFull())&&(s.inputState(),s.refreshState())}}))}removeItem(t=null,o){const e=this;if(!(t=e.getItem(t)))return;var r,s;const i=t.dataset.value;r=E(t),t.remove(),t.classList.contains("active")&&(s=e.activeItems.indexOf(t),e.activeItems.splice(s,1),S(t,"active")),e.items.splice(r,1),e.lastQuery=null,!e.settings.persist&&e.userOptions.hasOwnProperty(i)&&e.removeOption(i,o),r<e.caretPos&&e.setCaret(e.caretPos-1),e.updateOriginalInput({silent:o}),e.refreshState(),e.positionDropdown(),e.trigger("item_remove",i,t)}createItem(t=null,o=!0,e=(()=>{})){var r,s=this,i=s.caretPos;if(t=t||s.inputValue(),!s.canCreate(t))return e(),!1;s.lock();var n=!1,a=t=>{if(s.unlock(),!t||"object"!=typeof t)return e();var o=M(t[s.settings.valueField]);if("string"!=typeof o)return e();s.setTextboxValue(),s.addOption(t,!0),s.setCaret(i),s.addItem(o),e(t),n=!0};return r="function"==typeof s.settings.create?s.settings.create.call(this,t,a):{[s.settings.labelField]:t,[s.settings.valueField]:t},n||a(r),!0}refreshItems(){var t=this;t.lastQuery=null,t.isSetup&&t.addItems(t.items),t.updateOriginalInput(),t.refreshState()}refreshState(){const t=this;t.refreshValidityState();const o=t.isFull(),e=t.isLocked;t.wrapper.classList.toggle("rtl",t.rtl);const r=t.wrapper.classList;r.toggle("focus",t.isFocused),r.toggle("disabled",t.isDisabled),r.toggle("required",t.isRequired),r.toggle("invalid",!t.isValid),r.toggle("locked",e),r.toggle("full",o),r.toggle("input-active",t.isFocused&&!t.isInputHidden),r.toggle("dropdown-active",t.isOpen),r.toggle("has-options",0===Object.keys(t.options).length),r.toggle("has-items",t.items.length>0)}refreshValidityState(){var t=this;t.input.validity&&(t.isValid=t.input.validity.valid,t.isInvalid=!t.isValid)}isFull(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems}updateOriginalInput(t={}){const o=this;var e,r;const s=o.input.querySelector('option[value=""]');if(o.is_select_tag){const t=[],n=o.input.querySelectorAll("option:checked").length;function i(e,r,i){return e||(e=x('<option value="'+N(r)+'">'+N(i)+"</option>")),e!=s&&o.input.append(e),t.push(e),(e!=s||n>0)&&(e.selected=!0),e}o.input.querySelectorAll("option:checked").forEach((t=>{t.selected=!1})),0==o.items.length&&"single"==o.settings.mode?i(s,"",""):o.items.forEach((s=>{r=(e=o.options[s])[o.settings.labelField]||"",t.includes(e.$option)?i(o.input.querySelector(`option[value="${H(s)}"]:not(:checked)`),s,r):e.$option=i(e.$option,s,r)}))}else o.input.value=o.getValue();o.isSetup&&(t.silent||o.trigger("change",o.getValue()))}open(){var t=this;t.isLocked||t.isOpen||"multi"===t.settings.mode&&t.isFull()||(t.isOpen=!0,$(t.focus_node,{"aria-expanded":"true"}),t.refreshState(),O(t.dropdown,{visibility:"hidden",display:"block"}),t.positionDropdown(),O(t.dropdown,{visibility:"visible",display:"block"}),t.focus(),t.trigger("dropdown_open",t.dropdown))}close(t=!0){var o=this,e=o.isOpen;t&&(o.setTextboxValue(),"single"===o.settings.mode&&o.items.length&&o.hideInput()),o.isOpen=!1,$(o.focus_node,{"aria-expanded":"false"}),O(o.dropdown,{display:"none"}),o.settings.hideSelected&&o.clearActiveOption(),o.refreshState(),e&&o.trigger("dropdown_close",o.dropdown)}positionDropdown(){if("body"===this.settings.dropdownParent){var t=this.control,o=t.getBoundingClientRect(),e=t.offsetHeight+o.top+window.scrollY,r=o.left+window.scrollX;O(this.dropdown,{width:o.width+"px",top:e+"px",left:r+"px"})}}clear(t){var o=this;if(o.items.length){var e=o.controlChildren();_(e,(t=>{o.removeItem(t,!0)})),o.showInput(),t||o.updateOriginalInput(),o.trigger("clear")}}insertAtCaret(t){const o=this,e=o.caretPos,r=o.control;r.insertBefore(t,r.children[e]),o.setCaret(e+1)}deleteSelection(t){var o,e,r,s,i,n=this;o=t&&8===t.keyCode?-1:1,e={start:(i=n.control_input).selectionStart||0,length:(i.selectionEnd||0)-(i.selectionStart||0)};const a=[];if(n.activeItems.length)s=I(n.activeItems,o),r=E(s),o>0&&r++,_(n.activeItems,(t=>a.push(t)));else if((n.isFocused||"single"===n.settings.mode)&&n.items.length){const t=n.controlChildren();o<0&&0===e.start&&0===e.length?a.push(t[n.caretPos-1]):o>0&&e.start===n.inputValue().length&&a.push(t[n.caretPos])}if(!n.shouldDelete(a,t))return!1;for(K(t,!0),void 0!==r&&n.setCaret(r);a.length;)n.removeItem(a.pop());return n.showInput(),n.positionDropdown(),n.refreshOptions(!1),!0}shouldDelete(t,o){const e=t.map((t=>t.dataset.value));return!(!e.length||"function"==typeof this.settings.onDelete&&!1===this.settings.onDelete(e,o))}advanceSelection(t,o){var e,r,s=this;s.rtl&&(t*=-1),s.inputValue().length||(B(L,o)||B("shiftKey",o)?(r=(e=s.getLastActive(t))?e.classList.contains("active")?s.getAdjacent(e,t,"item"):e:t>0?s.control_input.nextElementSibling:s.control_input.previousElementSibling)&&(r.classList.contains("active")&&s.removeActiveItem(e),s.setActiveItemClass(r)):s.moveCaret(t))}moveCaret(t){}getLastActive(t){let o=this.control.querySelector(".last-active");if(o)return o;var e=this.control.querySelectorAll(".active");return e?I(e,t):void 0}setCaret(t){this.caretPos=this.items.length}controlChildren(){return Array.from(this.control.querySelectorAll("[data-ts-item]"))}lock(){this.isLocked=!0,this.refreshState()}unlock(){this.isLocked=!1,this.refreshState()}disable(){var t=this;t.input.disabled=!0,t.control_input.disabled=!0,t.focus_node.tabIndex=-1,t.isDisabled=!0,this.close(),t.lock()}enable(){var t=this;t.input.disabled=!1,t.control_input.disabled=!1,t.focus_node.tabIndex=t.tabIndex,t.isDisabled=!1,t.unlock()}destroy(){var t=this,o=t.revertSettings;t.trigger("destroy"),t.off(),t.wrapper.remove(),t.dropdown.remove(),t.input.innerHTML=o.innerHTML,t.input.tabIndex=o.tabIndex,S(t.input,"tomselected","ts-hidden-accessible"),t._destroy(),delete t.input.tomselect}render(t,o){return"function"!=typeof this.settings.render[t]?null:this._render(t,o)}_render(t,o){var e,r="";const s=this;return"option"!==t&&"item"!=t||(r=W(o[s.settings.valueField])),null==(e=s.settings.render[t].call(this,o,N))||(e=x(e),"option"===t||"option_create"===t?$(e,o[s.settings.disabledField]?{"aria-disabled":"true"}:{"data-selectable":""}):"optgroup"===t&&($(e,{"data-group":o.group[s.settings.optgroupValueField]}),o.group[s.settings.disabledField]&&$(e,{"data-disabled":""})),"option"!==t&&"item"!==t||($(e,{"data-value":r}),"item"===t?(F(e,s.settings.itemClass),$(e,{"data-ts-item":""})):(F(e,s.settings.optionClass),$(e,{role:"option",id:o.$id}),s.options[r].$div=e))),e}clearCache(){_(this.options,(t=>{t.$div&&(t.$div.remove(),delete t.$div)}))}uncacheValue(t){const o=this.getOption(t);o&&o.remove()}canCreate(t){return this.settings.create&&t.length>0&&this.settings.createFilter.call(this,t)}hook(t,o,e){var r=this,s=r[o];r[o]=function(){var o,i;return"after"===t&&(o=s.apply(r,arguments)),i=e.apply(r,arguments),"instead"===t?i:("before"===t&&(o=s.apply(r,arguments)),o)}}}return Q}()})),p=l((function(t){t.exports=function(){new RegExp(Object.keys({"æ":"ae","ⱥ":"a","ø":"o"}).join("|"),"gu");const t=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(o(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)},o=t=>"string"==typeof t&&t.indexOf("<")>-1,e=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},r=(t,o,e,r)=>{t.addEventListener(o,e,r)};return function(o){const s=Object.assign({label:"&times;",title:"Remove",className:"remove",append:!0},o);var i=this;if(s.append){var n='<a href="javascript:void(0)" class="'+s.className+'" tabindex="-1" title="'+((s.title+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+'">')+s.label+"</a>";i.hook("after","setupTemplates",(()=>{var o=i.settings.render.item;i.settings.render.item=(s,a)=>{var l=t(o.call(i,s,a)),d=t(n);return l.appendChild(d),r(d,"mousedown",(t=>{e(t,!0)})),r(d,"click",(t=>{e(t,!0),i.isLocked||i.shouldDelete([l],t)&&(i.removeItem(l),i.refreshOptions(!1),i.inputState())})),l}}))}}}()})),c=l((function(t){t.exports=function(){const t=t=>"boolean"==typeof t?t?"1":"0":t+"",o=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())};new RegExp(Object.keys({"æ":"ae","ⱥ":"a","ø":"o"}).join("|"),"gu");const e=t=>"string"==typeof t&&t.indexOf("<")>-1;return function(){var r=this,s=r.onOptionSelect;r.settings.hideSelected=!1;var i=function(t){setTimeout((()=>{var o=t.querySelector("input");o instanceof HTMLInputElement&&(o.checked=!!t.classList.contains("selected"))}),1)};r.hook("after","setupTemplates",(()=>{var s=r.settings.render.option;r.settings.render.option=(i,n)=>{var a=(t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(e(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)})(s.call(r,i,n)),l=document.createElement("input");l.addEventListener("click",(function(t){o(t)})),l.type="checkbox";const d=null==(h=i[r.settings.valueField])?null:t(h);var h;return d&&r.items.indexOf(d)>-1&&(l.checked=!0),a.prepend(l),a}})),r.on("item_remove",(t=>{var o=r.getOption(t);o&&(o.classList.remove("selected"),i(o))})),r.on("item_add",(t=>{var o=r.getOption(t);o&&i(o)})),r.hook("instead","onOptionSelect",((t,e)=>{if(e.classList.contains("selected"))return e.classList.remove("selected"),r.removeItem(e.dataset.value),r.refreshOptions(),void o(t,!0);s.call(r,t,e),i(e)}))}}()})),u=l((function(t){t.exports=function(){const t=(t,o,e,r)=>{t.addEventListener(o,e,r)};return function(){var o=this;o.on("initialize",(()=>{var e=document.createElement("span"),r=o.control_input;e.style.cssText="position:absolute; top:-99999px; left:-99999px; width:auto; padding:0; white-space:pre; ",o.wrapper.appendChild(e);for(const t of["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"])e.style[t]=r.style[t];var s=()=>{e.textContent=r.value,r.style.width=e.clientWidth+"px"};s(),o.on("update item_add item_remove",s),t(r,"input",s),t(r,"keyup",s),t(r,"blur",s),t(r,"update",s)}))}}()})),z=l((function(t){t.exports=function(){var t=this,o=t.deleteSelection;this.hook("instead","deleteSelection",(e=>!!t.activeItems.length&&o.call(t,e)))}}));const v="stzh-dropdown--is-filled";h.define("remove_button",p),h.define("checkbox_options",c),h.define("input_autogrow",u),h.define("no_backspace_delete",z),h.define("input_hide",(function(){}));let w=0;const m=class{constructor(e){t(this,e),this.stzhChange=o(this,"stzhChange",7),this.stzhItemAdd=o(this,"stzhItemAdd",7),this.stzhItemRemove=o(this,"stzhItemRemove",7),this.stzhOptionAdd=o(this,"stzhOptionAdd",7),this.stzhOptionRemove=o(this,"stzhOptionRemove",7),this.stzhOpen=o(this,"stzhOpen",7),this.stzhClose=o(this,"stzhClose",7),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.stzhInit=o(this,"stzhInit",7),this.searchField=["text"],this.multiple=!1,this.inline=!1,this.maxOptions=50,this.searchConjunction="and",this.allowEmptyOption=!1,this.openOnFocus=!0,this.closeAfterSelect=null,this.load=null,this.minCharacters=3,this.loadThrottle=300,this.preload=!1,this.labelField="text",this.valueField="value",this.optgroupField="optgroup",this.optgroupLabelField="label",this.optgroupValueField="value",this.name="",this.variant="default",this.size="default",this.disabled=!1,this.popoverPlacement="bottom",this.label="",this.icon="",this.noSearch=!1,this.noBackspaceDelete=!1,this.invalid=!1,this.required=!1,this.showMarker=!1,this.a11yDescribedby=""}optionsWatcher(t){this._options="string"==typeof t?JSON.parse(t):t}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}searchFieldWatcher(t){this._searchField="string"==typeof t?JSON.parse(t):t}optgroupsWatcher(t){this._optgroups="string"==typeof t?JSON.parse(t):t}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(o){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async getValue(){return this.tomSelect.getValue()}async setValue(t){this.tomSelect.setValue(t)}async setFocus(){this.tomSelect.focus()}updateFilled(){this._items.length>0?this.rootElement.classList.add(v):this.rootElement.classList.remove(v)}async componentWillLoad(){this.dropdownId="stzh-dropdown-"+w++,this.optionsWatcher(this.options),this.optgroupsWatcher(this.optgroups),this.itemsWatcher(this.items),this.searchFieldWatcher(this.searchField),this.errorWatcher(this.error),this.localization||(this.localization=await n(this.element,"dropdown"))}async componentWillUpdate(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}async componentDidRender(){if(this.tomSelect)return;const t={};this.noSearch?t.input_hide={}:t.input_autogrow={},this.noBackspaceDelete&&(t.no_backspace_delete={}),this.multiple&&(t.checkbox_options={},t.remove_button={title:this.localization.removeButtonTitle,label:'<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'});const o={plugins:t,maxItems:this.multiple?null:1,maxOptions:this.maxOptions,items:this._items,optgroups:this._optgroups,searchField:this._searchField,searchConjunction:this.searchConjunction,allowEmptyOption:this.allowEmptyOption,closeAfterSelect:null!==this.closeAfterSelect?this.closeAfterSelect:!this.multiple,labelField:this.labelField,valueField:this.valueField,optgroupField:this.optgroupField,optgroupLabelField:this.optgroupLabelField,optgroupValueField:this.optgroupValueField,lockOptgroupOrder:this.lockOptgroupOrder,load:this.load,shouldLoad:t=>t.length>=this.minCharacters,loadThrottle:this.loadThrottle,preload:this.preload,openOnFocus:this.openOnFocus,loadingClass:"is-loading",hideSelected:!1,duplicates:!1,delimiter:",",copyClassesToDropdown:!1,placeholder:this.placeholder,hidePlaceholder:null,render:{option:(t,o)=>`\n <div class="stzh-dropdown__option" title="${o(t[this.labelField])}">\n <stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>\n <span class="stzh-dropdown__option-title">\n ${o(t[this.labelField])}\n </span>\n </div>\n `,item:(t,o)=>`\n <div class="stzh-dropdown__item">\n ${o(t[this.labelField])}\n </div>\n `,option_create:(t,o)=>`\n <div class="stzh-dropdown__create">\n ${this.localization.create.replace(/{x}/gi,o(t.input))}&hellip;\n </div>\n `,no_results:(t,o)=>`\n <div class="stzh-dropdown__no-results">\n ${this.localization.noResults.replace(/{x}/gi,o(t.input))}\n </div>`,not_loading:null===this.load?null:(t,o)=>`\n <div class="stzh-dropdown__not-loading">\n ${this.localization.notLoading.replace(/{x}/gi,o(this.minCharacters.toString()))}\n </div>\n `,optgroup:t=>{let o=document.createElement("div");return o.className="stzh-dropdown__optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>`\n <div class="stzh-dropdown__optgroup-header">\n ${o(t.label)}\n </div>\n `,loading:()=>'\n <div class="stzh-dropdown__loader">\n <stzh-loader></stzh-loader>\n </div>\n ',dropdown:()=>'<div class="stzh-dropdown__dropdown"></div>'},onChange:t=>{this._items=this.tomSelect.items,this.updateFilled(),this.stzhChange.emit({component:"stzh-dropdown",value:t})},onItemAdd:t=>{this._items=this.tomSelect.items,this.stzhItemAdd.emit({component:"stzh-dropdown",value:t})},onItemRemove:t=>{this._items=this.tomSelect.items,this.stzhItemRemove.emit({component:"stzh-dropdown",value:t})},onOptionAdd:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionAdd.emit({component:"stzh-dropdown",value:t})},onOptionRemove:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionRemove.emit({component:"stzh-dropdown",value:t})},onDropdownOpen:()=>{this.stzhOpen.emit({component:"stzh-dropdown"})},onDropdownClose:()=>{this.stzhClose.emit({component:"stzh-dropdown"})},onFocus:()=>{this.rootElement.classList.add("stzh-dropdown--has-focus");const t=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhFocus.emit({component:"stzh-dropdown"})},onBlur:()=>{this.rootElement.classList.remove("stzh-dropdown--has-focus");const t=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhBlur.emit({component:"stzh-dropdown"})},onInitialize:()=>{this.stzhInit.emit({component:"stzh-dropdown"})}};this._options&&(o.options=this._options),this._optgroups&&(o.optgroups=this._optgroups),this._items&&(o.items=this._items),this.tomSelect=new h(this.select,o)}disconnectedCallback(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}render(){var t;const o=i(this.element,"icon")||!!this.icon,s=i(this.element,"description")||!!this.description,n=i(this.element,"description-long")||!!this.descriptionLong,l=i(this.element,"error")||!!this.error,d={"stzh-dropdown":!0,"stzh-dropdown--is-inline":this.inline,"stzh-dropdown--is-multiple":this.multiple,"stzh-dropdown--is-disabled":this.disabled,"stzh-dropdown--is-required":this.required,"stzh-dropdown--is-invalid":this.invalid,[v]:this._items&&this._items.length>0,"stzh-dropdown--has-icon":o,"stzh-dropdown--has-description":s,"stzh-dropdown--has-description-long":n,"stzh-dropdown--has-error":l,"stzh-dropdown--has-placeholder":!!this.placeholder,"stzh-dropdown--has-fixed-label":"fixed"===(null===(t=null===window||void 0===window?void 0:window.stzhComponents)||void 0===t?void 0:t.labels),[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]:!!this.popoverPlacement,[`stzh-dropdown--size-${this.size}`]:!!this.size,[`stzh-dropdown--${this.variant}`]:!!this.variant};return e(r,null,e("div",{class:d,ref:t=>this.rootElement=t},e("div",{class:"stzh-dropdown__field-wrapper"},e("select",{id:this.dropdownId,class:"stzh-dropdown__select",ref:t=>this.select=t,multiple:this.multiple,name:this.name,disabled:this.disabled,"aria-invalid":this.invalid?"true":"false","aria-describedby":`${this.dropdownId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false"},e("slot",null)),e("div",{class:"stzh-dropdown__sizer"},this.placeholder),e("stzh-icon",{name:"angle-down",class:"stzh-dropdown__angle-icon"}),e("div",{class:"stzh-dropdown__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-dropdown__icon",name:this.icon}):e("slot",{name:"icon"})),e("label",{class:"stzh-dropdown__label",htmlFor:this.dropdownId},this.label?this.label:e("slot",{name:"label"}),this.showMarker&&e("span",{class:"stzh-dropdown__marker"},e("span",{class:"stzh-dropdown__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-dropdown__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(a,{classPrefix:"stzh-dropdown",id:`${this.dropdownId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:n,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return s(this)}static get watchers(){return{options:["optionsWatcher"],items:["itemsWatcher"],searchField:["searchFieldWatcher"],optgroups:["optgroupsWatcher"],error:["errorWatcher"]}}};m.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown{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;--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-grey61);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-white);--label-background:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--hover-color);--popover-width:100%;--popover-min-width:var(--stzh-popover-min-width);--popover-max-width:var(--stzh-popover-min-width);--popover-max-height:calc(6.5 * var(--stzh-menu-item-height));width:100%;border-radius:var(--stzh-form-input-border-radius);}stzh-dropdown[hidden]{display:none}stzh-dropdown *,stzh-dropdown *::before,stzh-dropdown *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown[variant=plain]{--background-color:transparent}stzh-dropdown[inline]:not([inline=false]){--popover-width:auto;width:auto}stzh-dropdown[invalid]:not([invalid=false]){--color:var(--stzh-color-error);--border-color:var(--stzh-color-error);--label-color:var(--stzh-color-error);--placeholder-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-border-color:var(--stzh-color-error)}stzh-dropdown[disabled]:not([disabled=false]){--color:var(--stzh-color-grey61);--border-color:var(--stzh-color-grey5);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-grey5);--label-background:transparent;--hover-color:var(--stzh-color-grey61);--hover-border-color:var(--stzh-color-grey5)}stzh-dropdown[disabled]:not([disabled=false])[variant=plain]{--background-color:transparent}.stzh-dropdown__icon-wrapper stzh-icon,.stzh-dropdown__icon{--size:var(--icon-size)}.stzh-dropdown{}.stzh-dropdown__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-dropdown__marker-text{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-dropdown__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-dropdown__error,.stzh-dropdown__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-dropdown__error{color:var(--stzh-color-error)}.stzh-dropdown__error-list{list-style:none;margin:0;padding:0}.stzh-dropdown__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-dropdown__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-dropdown__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-dropdown__description-long-popover[open]:not([open=false]) .stzh-dropdown__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__description-long-button{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-dropdown__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown stzh-icon.stzh-dropdown__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-dropdown--has-error .stzh-dropdown__error,.stzh-dropdown--has-description .stzh-dropdown__description{margin-top:var(--stzh-space-xxsmall)}.stzh-dropdown .ts-hidden-accessible{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-dropdown .ts-dropdown-content{max-height:var(--popover-max-height);overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;scroll-behavior:smooth}.stzh-dropdown .ts-control{overflow:hidden;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-radius:var(--stzh-form-input-border-radius);background-color:var(--background-color);-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);cursor:pointer}.stzh-dropdown .ts-control:hover,.stzh-dropdown .ts-control:focus-within{border-color:var(--hover-border-color);outline:none}.stzh-dropdown .ts-control>*{vertical-align:baseline;display:inline-block}.stzh-dropdown .ts-control,.stzh-dropdown__sizer{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);font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;width:100%;min-height:var(--stzh-form-input-height);border:0.0625rem solid var(--border-color)}.stzh-dropdown .ts-control>input{font-size:inherit;line-height:inherit;-ms-flex:1 1 auto;flex:1 1 auto;display:inline-block;padding:0;min-height:0;max-height:none;max-width:100%;margin:0;text-indent:0;border:0 none;background:none;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.stzh-dropdown .ts-control>input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-ms-clear{display:none}.stzh-dropdown .ts-control>input:focus{outline:none}.stzh-dropdown .ts-control>input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:placeholder-shown{text-overflow:ellipsis}.stzh-dropdown__field-wrapper,.stzh-dropdown__select{position:relative}.stzh-dropdown__icon-wrapper{position:absolute}.stzh-dropdown__select .ts-control>input,.stzh-dropdown__select.single .stzh-dropdown__item,.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-dropdown__select.multi .stzh-dropdown__item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__select:hover .ts-control>input,.stzh-dropdown__select:focus-within .ts-control>input,.stzh-dropdown__select.single:hover .stzh-dropdown__item,.stzh-dropdown__select.single:focus-within .stzh-dropdown__item,.stzh-dropdown__select:hover~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:focus-within~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:hover~.stzh-dropdown__angle-icon,.stzh-dropdown__select:focus-within~.stzh-dropdown__angle-icon,.stzh-dropdown__select:hover~.stzh-dropdown__label,.stzh-dropdown__select:focus-within~.stzh-dropdown__label{color:var(--hover-color)}.stzh-dropdown__sizer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:calc(var(--stzh-form-input-height) / -1);pointer-events:none;visibility:hidden}.stzh-dropdown__select.has-items~.stzh-dropdown__sizer{display:none}.stzh-dropdown__select.plugin-input_hide~.stzh-dropdown__sizer{visibility:visible}.stzh-dropdown__select.input-active .ts-control,.stzh-dropdown__select.input-active .ts-control>input{cursor:text}.stzh-dropdown__select.input-hidden .ts-control>input,.stzh-dropdown__select.plugin-input_hide .ts-control>input{opacity:0;position:absolute;left:-625rem}.stzh-dropdown__select.single .ts-control,.stzh-dropdown__select.multi .ts-control,.stzh-dropdown__sizer{padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.stzh-dropdown__icon-wrapper{display:-ms-flexbox;display:flex;left:var(--stzh-space-medium)}.stzh-dropdown stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-medium)}.stzh-dropdown__angle-icon{right:var(--stzh-space-medium)}.stzh-dropdown__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--label-color);display:block;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-dropdown__label:empty{display:none}.stzh-dropdown__label::before{content:"";display:none;background:var(--label-background);position:absolute;width:100%;z-index:-1;left:0;top:50%;height:0.125rem;margin-top:-0.03125rem}.stzh-dropdown__option,.stzh-dropdown__create{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;outline:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--stzh-color-grey70);height:var(--stzh-menu-item-height);line-height:var(--stzh-menu-item-height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown__option:hover,.stzh-dropdown__option.active,.stzh-dropdown__create:hover,.stzh-dropdown__create.active{background-color:var(--stzh-color-grey5)}.stzh-dropdown__option.selected,.stzh-dropdown__create.selected{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover,.stzh-dropdown__option.selected.active,.stzh-dropdown__create.selected:hover,.stzh-dropdown__create.selected.active{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown__option input,.stzh-dropdown__create 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-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:block}.stzh-dropdown__option-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-dropdown__option[data-selectable] .highlight{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-dropdown__select .stzh-dropdown__option-check{display:none;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover .stzh-dropdown__option-check,.stzh-dropdown__option.selected.active .stzh-dropdown__option-check{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-dropdown__no-results{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.stzh-dropdown__no-results,.stzh-dropdown__not-loading{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-medium);padding-left:var(--stzh-space-large)}.stzh-dropdown__optgroup-header{cursor:default}.stzh-dropdown__loader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.375rem}.stzh-dropdown__dropdown{position:absolute;top:100%;left:0;width:var(--popover-width);margin-top:var(--stzh-space-xsmall);background-color:var(--stzh-color-white);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);z-index:var(--stzh-z-index-popover);border-radius:var(--stzh-popover-border-radius);overflow:hidden}@media screen and (min-width: 600px){.stzh-dropdown__dropdown{min-width:var(--popover-min-width);max-width:var(--popover-max-width)}}.stzh-dropdown__select.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.stzh-dropdown__select.plugin-input_autogrow.has-items.focus .ts-control>input{-ms-flex:none;flex:none;min-width:0.25rem}.stzh-dropdown__select.has-items .ts-control>input{margin:0 0.25rem}.stzh-dropdown__select.has-items .ts-control>input::-webkit-input-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input::-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-ms-input-placeholder{color:transparent}.stzh-dropdown--is-multiple .stzh-dropdown__option-check{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);margin-right:var(--stzh-space-xsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__option{padding-left:var(--stzh-space-small)}.stzh-dropdown--is-multiple .stzh-dropdown__option.selected .stzh-dropdown__option-check{opacity:1}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi.has-items .ts-control{padding-top:calc(var(--stzh-space-xsmall) - 0.0625rem);padding-bottom:calc(var(--stzh-space-xsmall) - 0.0625rem)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:relative;height:1.5rem;line-height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:0.75rem;padding:0 var(--stzh-space-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0.0625rem solid transparent;background-color:var(--stzh-color-grey5);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);margin:var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) 0;cursor:pointer}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item.active{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:calc(1.5rem + var(--stzh-space-xxsmall))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{position:absolute;top:50%;right:-0.0625rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:none;width:1.5rem;height:1.5rem;border-radius:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--stzh-base-lead-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__remove-icon{--size:var(--stzh-icon-size-xxsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item.active .stzh-dropdown__remove-icon{color:var(--stzh-color-white)}.stzh-dropdown--popover-placement-top .stzh-dropdown__dropdown{margin-top:0;top:auto;bottom:100%;margin-bottom:var(--stzh-space-xsmall)}.stzh-dropdown--popover-placement-top.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-bottom:0}.stzh-dropdown--size-small .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-dropdown--size-small .ts-control{min-height:var(--stzh-form-input-small-height)}.stzh-dropdown--size-small .stzh-dropdown__sizer{min-height:initial;height:var(--stzh-form-input-small-height);margin-top:calc(var(--stzh-form-input-small-height) / -1)}.stzh-dropdown--size-small .stzh-dropdown__label{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{padding:var(--stzh-space-xxsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--size-small stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-small)}.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--plain .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain .stzh-dropdown__sizer{border:none;padding-left:0;padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--plain .stzh-dropdown__icon-wrapper{left:0}.stzh-dropdown--plain .stzh-dropdown__angle-icon{right:0}.stzh-dropdown--plain .stzh-dropdown__label{left:0;max-width:100%;padding:0}.stzh-dropdown--plain .stzh-dropdown__label::before{content:none}.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-top:0}.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__sizer{padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--has-placeholder .stzh-dropdown__label{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);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-medium) - var(--stzh-space-xxsmall)) * 2);pointer-events:all}.stzh-dropdown--has-fixed-label .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-filled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-disabled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-invalid .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-focus .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-placeholder .stzh-dropdown__label:not(:empty)::before{display:block}.stzh-dropdown--plain.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-placeholder .stzh-dropdown__label{left:0;padding:0;max-width:100%}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{cursor:not-allowed}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-grey25);background-color:var(--stzh-color-white);border-color:var(--stzh-base-border-color)}.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-grey13);background-color:transparent}';export{m as stzh_dropdown}
1
+ import{r as t,c as o,h as e,a as r,g as s}from"./p-65282c9d.js";import{h as i}from"./p-1f57d28e.js";import{f as n}from"./p-25a09313.js";import{S as a}from"./p-32b78d65.js";import{c as l,a as d}from"./p-3e8ff66b.js";var h=l((function(t){t.exports=function(){function t(t,o){t.split(/\s+/).forEach((t=>{o(t)}))}class o{constructor(){this._events=void 0,this._events={}}on(o,e){t(o,(t=>{this._events[t]=this._events[t]||[],this._events[t].push(e)}))}off(o,e){var r=arguments.length;0!==r?t(o,(t=>{if(1===r)return delete this._events[t];t in this._events!=0&&this._events[t].splice(this._events[t].indexOf(e),1)})):this._events={}}trigger(o,...e){var r=this;t(o,(t=>{if(t in r._events!=0)for(let o of r._events[t])o.apply(r,e)}))}}var e;const r="[̀-ͯ·ʾ]",s=new RegExp(r,"gu");var i;const n={"æ":"ae","ⱥ":"a","ø":"o"},a=new RegExp(Object.keys(n).join("|"),"gu"),l=[[0,65535]],d=t=>t.normalize("NFKD").replace(s,"").toLowerCase().replace(a,(function(t){return n[t]})),h=(t,o="|")=>{if(1==t.length)return t[0];var e=1;return t.forEach((t=>{e=Math.max(e,t.length)})),1==e?"["+t.join("")+"]":"(?:"+t.join(o)+")"},p=t=>{const o=t.map((t=>m(t)));return h(o)},c=t=>{if(1===t.length)return[[t]];var o=[];return c(t.substring(1)).forEach((function(e){var r=e.slice(0);r[0]=t.charAt(0)+r[0],o.push(r),(r=e.slice(0)).unshift(t.charAt(0)),o.push(r)})),o},u=t=>(void 0===i&&(i=(t=>{var o={};t.forEach((t=>{for(let r=t[0];r<=t[1];r++){let t=String.fromCharCode(r),s=d(t);if(s!=t.toLowerCase()&&!(s.length>3)){s in o||(o[s]=[s]);var e=new RegExp(p(o[s]),"iu");t.match(e)||o[s].push(t)}}}));let r=Object.keys(o);for(let e=0;e<r.length;e++){const t=r[e];o[t].length<2&&delete o[t]}r=Object.keys(o).sort(((t,o)=>o.length-t.length)),e=new RegExp("("+p(r)+"[̀-ͯ·ʾ]*)","gu");var s={};return r.sort(((t,o)=>t.length-o.length)).forEach((t=>{var e=c(t).map((t=>(t=t.map((t=>o.hasOwnProperty(t)?p(o[t]):t)),h(t,""))));s[t]=h(e)})),s})(l)),t.normalize("NFKD").toLowerCase().split(e).map((t=>{const o=d(t);return""==o?"":i.hasOwnProperty(o)?i[o]:t})).join("")),z=(t,o)=>{if(t)return t[o]},v=(t,o)=>{if(t){for(var e,r=o.split(".");(e=r.shift())&&(t=t[e]););return t}},w=(t,o,e)=>{var r,s;return t?-1===(s=(t+="").search(o.regex))?0:(r=o.string.length/t.length,0===s&&(r+=.5),r*e):0},m=t=>(t+"").replace(/([\$\(-\+\.\?\[-\^\{-\}])/g,"\\$1"),f=(t,o)=>{var e=t[o];if("function"==typeof e)return e;e&&!Array.isArray(e)&&(t[o]=[e])},_=(t,o)=>{if(Array.isArray(t))t.forEach(o);else for(var e in t)t.hasOwnProperty(e)&&o(t[e],e)},g=(t,o)=>"number"==typeof t&&"number"==typeof o?t>o?1:t<o?-1:0:(t=d(t+"").toLowerCase())>(o=d(o+"").toLowerCase())?1:o>t?-1:0;class b{constructor(t,o){this.items=void 0,this.settings=void 0,this.items=t,this.settings=o||{diacritics:!0}}tokenize(t,o,e){if(!t||!t.length)return[];const r=[],s=t.split(/\s+/);var i;return e&&(i=new RegExp("^("+Object.keys(e).map(m).join("|")+"):(.*)$")),s.forEach((t=>{let e,s=null,n=null;i&&(e=t.match(i))&&(s=e[1],t=e[2]),t.length>0&&(n=this.settings.diacritics?u(t):m(t),o&&(n="\\b"+n)),r.push({string:t,regex:n?new RegExp(n,"iu"):null,field:s})})),r}getScoreFunction(t,o){var e=this.prepareSearch(t,o);return this._getScoreFunction(e)}_getScoreFunction(t){const o=t.tokens,e=o.length;if(!e)return function(){return 0};const r=t.options.fields,s=t.weights,i=r.length,n=t.getAttrFn;if(!i)return function(){return 1};const a=1===i?function(t,o){const e=r[0].field;return w(n(o,e),t,s[e])}:function(t,o){var e=0;if(t.field){const r=n(o,t.field);e+=!t.regex&&r?1/i:w(r,t,1)}else _(s,((r,s)=>{e+=w(n(o,s),t,r)}));return e/i};return 1===e?function(t){return a(o[0],t)}:"and"===t.options.conjunction?function(t){for(var r,s=0,i=0;s<e;s++){if((r=a(o[s],t))<=0)return 0;i+=r}return i/e}:function(t){var r=0;return _(o,(o=>{r+=a(o,t)})),r/e}}getSortFunction(t,o){var e=this.prepareSearch(t,o);return this._getSortFunction(e)}_getSortFunction(t){var o,e,r;const s=this,i=t.options,n=!t.query&&i.sort_empty?i.sort_empty:i.sort,a=[],l=[];if("function"==typeof n)return n.bind(this);const d=function(o,e){return"$score"===o?e.score:t.getAttrFn(s.items[e.id],o)};if(n)for(o=0,e=n.length;o<e;o++)(t.query||"$score"!==n[o].field)&&a.push(n[o]);if(t.query){for(r=!0,o=0,e=a.length;o<e;o++)if("$score"===a[o].field){r=!1;break}r&&a.unshift({field:"$score",direction:"desc"})}else for(o=0,e=a.length;o<e;o++)if("$score"===a[o].field){a.splice(o,1);break}for(o=0,e=a.length;o<e;o++)l.push("desc"===a[o].direction?-1:1);const h=a.length;if(h){if(1===h){const t=a[0].field,o=l[0];return function(e,r){return o*g(d(t,e),d(t,r))}}return function(t,o){var e,r,s;for(e=0;e<h;e++)if(r=l[e]*g(d(s=a[e].field,t),d(s,o)))return r;return 0}}return null}prepareSearch(t,o){const e={};var r=Object.assign({},o);if(f(r,"sort"),f(r,"sort_empty"),r.fields){f(r,"fields");const t=[];r.fields.forEach((o=>{"string"==typeof o&&(o={field:o,weight:1}),t.push(o),e[o.field]="weight"in o?o.weight:1})),r.fields=t}return{options:r,query:t.toLowerCase().trim(),tokens:this.tokenize(t,r.respect_word_boundaries,e),total:0,items:[],weights:e,getAttrFn:r.nesting?v:z}}search(t,o){var e,r,s=this;t=(r=this.prepareSearch(t,o)).query;const i=(o=r.options).score||s._getScoreFunction(r);_(s.items,t.length?(t,s)=>{e=i(t),(!1===o.filter||e>0)&&r.items.push({score:e,id:s})}:(t,o)=>{r.items.push({score:1,id:o})});const n=s._getSortFunction(r);return n&&r.items.sort(n),r.total=r.items.length,"number"==typeof o.limit&&(r.items=r.items.slice(0,o.limit)),r}}const x=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(y(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)},y=t=>"string"==typeof t&&t.indexOf("<")>-1,k=(t,o)=>{var e=document.createEvent("HTMLEvents");e.initEvent(o,!0,!1),t.dispatchEvent(e)},O=(t,o)=>{Object.assign(t.style,o)},F=(t,...o)=>{var e=A(o);(t=C(t)).map((t=>{e.map((o=>{t.classList.add(o)}))}))},S=(t,...o)=>{var e=A(o);(t=C(t)).map((t=>{e.map((o=>{t.classList.remove(o)}))}))},A=t=>{var o=[];return _(t,(t=>{"string"==typeof t&&(t=t.trim().split(/[\11\12\14\15\40]/)),Array.isArray(t)&&(o=o.concat(t))})),o.filter(Boolean)},C=t=>(Array.isArray(t)||(t=[t]),t),I=(t,o,e)=>{if(!e||e.contains(t))for(;t&&t.matches;){if(t.matches(o))return t;t=t.parentNode}},j=(t,o=0)=>o>0?t[t.length-1]:t[0],E=(t,o)=>{if(!t)return-1;o=o||t.nodeName;for(var e=0;t=t.previousElementSibling;)t.matches(o)&&e++;return e},$=(t,o)=>{_(o,((o,e)=>{null==o?t.removeAttribute(e):t.setAttribute(e,""+o)}))},T=(t,o)=>{t.parentNode&&t.parentNode.replaceChild(o,t)},R=(t,o)=>{if(null===o)return;if("string"==typeof o){if(!o.length)return;o=new RegExp(o,"i")}const e=t=>3===t.nodeType?(t=>{var e=t.data.match(o);if(e&&t.data.length>0){var r=document.createElement("span");r.className="highlight";var s=t.splitText(e.index);s.splitText(e[0].length);var i=s.cloneNode(!0);return r.appendChild(i),T(s,r),1}return 0})(t):((t=>{if(1===t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName)&&("highlight"!==t.className||"SPAN"!==t.tagName))for(var o=0;o<t.childNodes.length;++o)o+=e(t.childNodes[o])})(t),0);e(t)},L="undefined"!=typeof navigator&&/Mac/.test(navigator.userAgent)?"metaKey":"ctrlKey";var D={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:null,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,shouldOpen:null,maxOptions:50,maxItems:null,hideSelected:null,duplicates:!1,addPrecedence:!1,selectOnTab:!1,preload:null,allowEmptyOption:!1,loadThrottle:300,loadingClass:"loading",dataAttr:null,optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"ts-wrapper",controlClass:"ts-control",dropdownClass:"ts-dropdown",dropdownContentClass:"ts-dropdown-content",itemClass:"item",optionClass:"option",dropdownParent:null,controlInput:'<input type="text" autocomplete="off" size="1" />',copyClassesToDropdown:!1,placeholder:null,hidePlaceholder:null,shouldLoad:function(t){return t.length>0},render:{}};const M=t=>null==t?null:W(t),W=t=>"boolean"==typeof t?t?"1":"0":t+"",N=t=>(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),P=(t,o)=>{var e;return function(r,s){var i=this;e&&(i.loading=Math.max(i.loading-1,0),clearTimeout(e)),e=setTimeout((function(){e=null,i.loadedSearches[r]=!0,t.call(i,r,s)}),o)}},V=(t,o,e)=>{var r,s=t.trigger,i={};for(r of(t.trigger=function(){var e=arguments[0];if(-1===o.indexOf(e))return s.apply(t,arguments);i[e]=arguments},e.apply(t,[]),t.trigger=s,o))r in i&&s.apply(t,i[r])},K=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},q=(t,o,e,r)=>{t.addEventListener(o,e,r)},B=(t,o)=>!!o&&!!o[t]&&1==(o.altKey?1:0)+(o.ctrlKey?1:0)+(o.shiftKey?1:0)+(o.metaKey?1:0),G=(t,o)=>t.getAttribute("id")||(t.setAttribute("id",o),o),H=t=>t.replace(/[\\"']/g,"\\$&"),J=(t,o)=>{o&&t.append(o)};function Y(t,o){var e=Object.assign({},D,o),r=e.dataAttr,s=e.labelField,i=e.valueField,n=e.disabledField,a=e.optgroupField,l=e.optgroupLabelField,d=e.optgroupValueField,h=t.tagName.toLowerCase(),p=t.getAttribute("placeholder")||t.getAttribute("data-placeholder");if(!p&&!e.allowEmptyOption){let o=t.querySelector('option[value=""]');o&&(p=o.textContent)}var c,u,z,v,w,m,f,g={placeholder:p,options:[],optgroups:[],items:[],maxItems:null};return"select"===h?(u=g.options,z={},v=1,w=t=>{var o=Object.assign({},t.dataset),e=r&&o[r];return"string"==typeof e&&e.length&&(o=Object.assign(o,JSON.parse(e))),o},m=(t,o)=>{var r=M(t.value);if(null!=r&&(r||e.allowEmptyOption)){if(z.hasOwnProperty(r)){if(o){var l=z[r][a];l?Array.isArray(l)?l.push(o):z[r][a]=[l,o]:z[r][a]=o}}else{var d=w(t);d[s]=d[s]||t.textContent,d[i]=d[i]||r,d[n]=d[n]||t.disabled,d[a]=d[a]||o,d.$option=t,z[r]=d,u.push(d)}t.selected&&g.items.push(r)}},f=t=>{var o,e;(e=w(t))[l]=e[l]||t.getAttribute("label")||"",e[d]=e[d]||v++,e[n]=e[n]||t.disabled,g.optgroups.push(e),o=e[d],_(t.children,(t=>{m(t,o)}))},g.maxItems=t.hasAttribute("multiple")?null:1,_(t.children,(t=>{"optgroup"===(c=t.tagName.toLowerCase())?f(t):"option"===c&&m(t)}))):(()=>{const o=t.getAttribute(r);if(o)g.options=JSON.parse(o),_(g.options,(t=>{g.items.push(t[i])}));else{var n=t.value.trim()||"";if(!e.allowEmptyOption&&!n.length)return;const o=n.split(e.delimiter);_(o,(t=>{const o={};o[s]=t,o[i]=t,g.options.push(o)})),g.items=o}})(),Object.assign({},D,g,o)}var U=0;class Q extends(function(t){return t.plugins={},class extends t{constructor(...t){super(...t),this.plugins={names:[],settings:{},requested:{},loaded:{}}}static define(o,e){t.plugins[o]={name:o,fn:e}}initializePlugins(t){var o,e;const r=this,s=[];if(Array.isArray(t))t.forEach((t=>{"string"==typeof t?s.push(t):(r.plugins.settings[t.name]=t.options,s.push(t.name))}));else if(t)for(o in t)t.hasOwnProperty(o)&&(r.plugins.settings[o]=t[o],s.push(o));for(;e=s.shift();)r.require(e)}loadPlugin(o){var e=this,r=e.plugins,s=t.plugins[o];if(!t.plugins.hasOwnProperty(o))throw new Error('Unable to find "'+o+'" plugin');r.requested[o]=!0,r.loaded[o]=s.fn.apply(e,[e.plugins.settings[o]||{}]),r.names.push(o)}require(t){var o=this,e=o.plugins;if(!o.plugins.loaded.hasOwnProperty(t)){if(e.requested[t])throw new Error('Plugin has circular dependency ("'+t+'")');o.loadPlugin(t)}return e.loaded[t]}}}(o)){constructor(t,o){var e;super(),this.control_input=void 0,this.wrapper=void 0,this.dropdown=void 0,this.control=void 0,this.dropdown_content=void 0,this.focus_node=void 0,this.order=0,this.settings=void 0,this.input=void 0,this.tabIndex=void 0,this.is_select_tag=void 0,this.rtl=void 0,this.inputId=void 0,this._destroy=void 0,this.sifter=void 0,this.isOpen=!1,this.isDisabled=!1,this.isRequired=void 0,this.isInvalid=!1,this.isValid=!0,this.isLocked=!1,this.isFocused=!1,this.isInputHidden=!1,this.isSetup=!1,this.ignoreFocus=!1,this.ignoreHover=!1,this.hasOptions=!1,this.currentResults=void 0,this.lastValue="",this.caretPos=0,this.loading=0,this.loadedSearches={},this.activeOption=null,this.activeItems=[],this.optgroups={},this.options={},this.userOptions={},this.items=[],U++;var r=x(t);if(r.tomselect)throw new Error("Tom Select already initialized on this element");r.tomselect=this,e=(window.getComputedStyle&&window.getComputedStyle(r,null)).getPropertyValue("direction");const s=Y(r,o);this.settings=s,this.input=r,this.tabIndex=r.tabIndex||0,this.is_select_tag="select"===r.tagName.toLowerCase(),this.rtl=/rtl/i.test(e),this.inputId=G(r,"tomselect-"+U),this.isRequired=r.required,this.sifter=new b(this.options,{diacritics:s.diacritics}),s.mode=s.mode||(1===s.maxItems?"single":"multi"),"boolean"!=typeof s.hideSelected&&(s.hideSelected="multi"===s.mode),"boolean"!=typeof s.hidePlaceholder&&(s.hidePlaceholder="multi"!==s.mode);var i=s.createFilter;"function"!=typeof i&&("string"==typeof i&&(i=new RegExp(i)),s.createFilter=i instanceof RegExp?t=>i.test(t):t=>this.settings.duplicates||!this.options[t]),this.initializePlugins(s.plugins),this.setupCallbacks(),this.setupTemplates();const n=x("<div>"),a=x("<div>"),l=this._render("dropdown"),d=x('<div role="listbox" tabindex="-1">'),h=this.input.getAttribute("class")||"",p=s.mode;var c;F(n,s.wrapperClass,h,p),F(a,s.controlClass),J(n,a),F(l,s.dropdownClass,p),s.copyClassesToDropdown&&F(l,h),F(d,s.dropdownContentClass),J(l,d),x(s.dropdownParent||n).appendChild(l),y(s.controlInput)?(c=x(s.controlInput),_(["autocorrect","autocapitalize","autocomplete"],(t=>{r.getAttribute(t)&&$(c,{[t]:r.getAttribute(t)})})),c.tabIndex=-1,a.appendChild(c),this.focus_node=c):s.controlInput?(c=x(s.controlInput),this.focus_node=c):(c=x("<input/>"),this.focus_node=a),this.wrapper=n,this.dropdown=l,this.dropdown_content=d,this.control=a,this.control_input=c,this.setup()}setup(){const t=this,o=t.settings,e=t.control_input,r=t.dropdown,s=t.dropdown_content,i=t.wrapper,n=t.control,a=t.input,l=t.focus_node,d={passive:!0},h=t.inputId+"-ts-dropdown";$(s,{id:h}),$(l,{role:"combobox","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":h});const p=G(l,t.inputId+"-ts-control"),c="label[for='"+(t=>t.replace(/['"\\]/g,"\\$&"))(t.inputId)+"']",u=document.querySelector(c),z=t.focus.bind(t);if(u){q(u,"click",z),$(u,{for:p});const o=G(u,t.inputId+"-ts-label");$(l,{"aria-labelledby":o}),$(s,{"aria-labelledby":o})}if(i.style.width=a.style.width,t.plugins.names.length){const o="plugin-"+t.plugins.names.join(" plugin-");F([i,r],o)}(null===o.maxItems||o.maxItems>1)&&t.is_select_tag&&$(a,{multiple:"multiple"}),o.placeholder&&$(e,{placeholder:o.placeholder}),!o.splitOn&&o.delimiter&&(o.splitOn=new RegExp("\\s*"+m(o.delimiter)+"+\\s*")),o.load&&o.loadThrottle&&(o.load=P(o.load,o.loadThrottle)),t.control_input.type=a.type,q(r,"mouseenter",(o=>{var e=I(o.target,"[data-selectable]",r);e&&t.onOptionHover(o,e)}),{capture:!0}),q(r,"click",(o=>{const e=I(o.target,"[data-selectable]");e&&(t.onOptionSelect(o,e),K(o,!0))})),q(n,"click",(o=>{var r=I(o.target,"[data-ts-item]",n);r&&t.onItemSelect(o,r)?K(o,!0):""==e.value&&(t.onClick(),K(o,!0))})),q(l,"keydown",(o=>t.onKeyDown(o))),q(e,"keypress",(o=>t.onKeyPress(o))),q(e,"input",(o=>t.onInput(o))),q(l,"resize",(()=>t.positionDropdown()),d),q(l,"blur",(o=>t.onBlur(o))),q(l,"focus",(o=>t.onFocus(o))),q(e,"paste",(o=>t.onPaste(o)));const v=o=>{const s=o.composedPath()[0];if(!i.contains(s)&&!r.contains(s))return t.isFocused&&t.blur(),void t.inputState();s==e&&t.isOpen?o.stopPropagation():K(o,!0)},w=()=>{t.isOpen&&t.positionDropdown()},f=()=>{t.ignoreHover=!1};q(document,"mousedown",v),q(window,"scroll",w,d),q(window,"resize",w,d),q(window,"mousemove",f,d),this._destroy=()=>{document.removeEventListener("mousedown",v),window.removeEventListener("mousemove",f),window.removeEventListener("scroll",w),window.removeEventListener("resize",w),u&&u.removeEventListener("click",z)},this.revertSettings={innerHTML:a.innerHTML,tabIndex:a.tabIndex},a.tabIndex=-1,a.insertAdjacentElement("afterend",t.wrapper),t.sync(!1),o.items=[],delete o.optgroups,delete o.options,q(a,"invalid",(()=>{t.isValid&&(t.isValid=!1,t.isInvalid=!0,t.refreshState())})),t.updateOriginalInput(),t.refreshItems(),t.close(!1),t.inputState(),t.isSetup=!0,a.disabled?t.disable():t.enable(),t.on("change",this.onChange),F(a,"tomselected","ts-hidden-accessible"),t.trigger("initialize"),!0===o.preload&&t.preload()}setupOptions(t=[],o=[]){this.addOptions(t),_(o,(t=>{this.registerOptionGroup(t)}))}setupTemplates(){var t=this,o=t.settings.labelField,e=t.settings.optgroupLabelField;t.settings.render=Object.assign({},{optgroup:t=>{let o=document.createElement("div");return o.className="optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>'<div class="optgroup-header">'+o(t[e])+"</div>",option:(t,e)=>"<div>"+e(t[o])+"</div>",item:(t,e)=>"<div>"+e(t[o])+"</div>",option_create:(t,o)=>'<div class="create">Add <strong>'+o(t.input)+"</strong>&hellip;</div>",no_results:()=>'<div class="no-results">No results found</div>',loading:()=>'<div class="spinner"></div>',not_loading:()=>{},dropdown:()=>"<div></div>"},t.settings.render)}setupCallbacks(){var t,o,e={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",item_select:"onItemSelect",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(t in e)(o=this.settings[e[t]])&&this.on(t,o)}sync(t=!0){const o=this,e=t?Y(o.input,{delimiter:o.settings.delimiter}):o.settings;o.setupOptions(e.options,e.optgroups),o.setValue(e.items||[],!0),o.lastQuery=null}onClick(){var t=this;if(t.activeItems.length>0)return t.clearActiveItems(),void t.focus();t.isFocused&&t.isOpen?t.blur():t.focus()}onMouseDown(){}onChange(){k(this.input,"input"),k(this.input,"change")}onPaste(t){var o=this;o.isInputHidden||o.isLocked?K(t):o.settings.splitOn&&setTimeout((()=>{var t=o.inputValue();if(t.match(o.settings.splitOn)){var e=t.trim().split(o.settings.splitOn);_(e,(t=>{t=M(t),this.options[t]?o.addItem(t):o.createItem(t)}))}}),0)}onKeyPress(t){var o=this;if(!o.isLocked){var e=String.fromCharCode(t.keyCode||t.which);return o.settings.create&&"multi"===o.settings.mode&&e===o.settings.delimiter?(o.createItem(),void K(t)):void 0}K(t)}onKeyDown(t){var o=this;if(o.ignoreHover=!0,o.isLocked)9!==t.keyCode&&K(t);else{switch(t.keyCode){case 65:if(B(L,t)&&""==o.control_input.value)return K(t),void o.selectAll();break;case 27:return o.isOpen&&(K(t,!0),o.close()),void o.clearActiveItems();case 40:if(!o.isOpen&&o.hasOptions)o.open();else if(o.activeOption){let t=o.getAdjacent(o.activeOption,1);t&&o.setActiveOption(t)}return void K(t);case 38:if(o.activeOption){let t=o.getAdjacent(o.activeOption,-1);t&&o.setActiveOption(t)}return void K(t);case 13:return void(o.canSelect(o.activeOption)?(o.onOptionSelect(t,o.activeOption),K(t)):(o.settings.create&&o.createItem()||document.activeElement==o.control_input&&o.isOpen)&&K(t));case 37:return void o.advanceSelection(-1,t);case 39:return void o.advanceSelection(1,t);case 9:return void(o.settings.selectOnTab&&(o.canSelect(o.activeOption)&&(o.onOptionSelect(t,o.activeOption),K(t)),o.settings.create&&o.createItem()&&K(t)));case 8:case 46:return void o.deleteSelection(t)}o.isInputHidden&&!B(L,t)&&K(t)}}onInput(t){var o=this;if(!o.isLocked){var e=o.inputValue();o.lastValue!==e&&(o.lastValue=e,o.settings.shouldLoad.call(o,e)&&o.load(e),o.refreshOptions(),o.trigger("type",e))}}onOptionHover(t,o){this.ignoreHover||this.setActiveOption(o,!1)}onFocus(t){var o=this,e=o.isFocused;if(o.isDisabled)return o.blur(),void K(t);o.ignoreFocus||(o.isFocused=!0,"focus"===o.settings.preload&&o.preload(),e||o.trigger("focus"),o.activeItems.length||(o.showInput(),o.refreshOptions(!!o.settings.openOnFocus)),o.refreshState())}onBlur(t){if(!1!==document.hasFocus()){var o=this;if(o.isFocused){o.isFocused=!1,o.ignoreFocus=!1;var e=()=>{o.close(),o.setActiveItem(),o.setCaret(o.items.length),o.trigger("blur")};o.settings.create&&o.settings.createOnBlur?o.createItem(null,!1,e):e()}}}onOptionSelect(t,o){var e,r=this;o.parentElement&&o.parentElement.matches("[data-disabled]")||(o.classList.contains("create")?r.createItem(null,!0,(()=>{r.settings.closeAfterSelect&&r.close()})):void 0!==(e=o.dataset.value)&&(r.lastQuery=null,r.addItem(e),r.settings.closeAfterSelect&&r.close(),!r.settings.hideSelected&&t.type&&/click/.test(t.type)&&r.setActiveOption(o)))}canSelect(t){return!!(this.isOpen&&t&&this.dropdown_content.contains(t))}onItemSelect(t,o){var e=this;return!e.isLocked&&"multi"===e.settings.mode&&(K(t),e.setActiveItem(o,t),!0)}canLoad(t){return!!this.settings.load&&!this.loadedSearches.hasOwnProperty(t)}load(t){const o=this;if(!o.canLoad(t))return;F(o.wrapper,o.settings.loadingClass),o.loading++;const e=o.loadCallback.bind(o);o.settings.load.call(o,t,e)}loadCallback(t,o){const e=this;e.loading=Math.max(e.loading-1,0),e.lastQuery=null,e.clearActiveOption(),e.setupOptions(t,o),e.refreshOptions(e.isFocused&&!e.isInputHidden),e.loading||S(e.wrapper,e.settings.loadingClass),e.trigger("load",t,o)}preload(){var t=this.wrapper.classList;t.contains("preloaded")||(t.add("preloaded"),this.load(""))}setTextboxValue(t=""){var o=this.control_input;o.value!==t&&(o.value=t,k(o,"update"),this.lastValue=t)}getValue(){return this.is_select_tag&&this.input.hasAttribute("multiple")?this.items:this.items.join(this.settings.delimiter)}setValue(t,o){V(this,o?[]:["change"],(()=>{this.clear(o),this.addItems(t,o)}))}setMaxItems(t){0===t&&(t=null),this.settings.maxItems=t,this.refreshState()}setActiveItem(t,o){var e,r,s,i,n,a,l=this;if("single"!==l.settings.mode){if(!t)return l.clearActiveItems(),void(l.isFocused&&l.showInput());if("click"===(e=o&&o.type.toLowerCase())&&B("shiftKey",o)&&l.activeItems.length){for(a=l.getLastActive(),(s=Array.prototype.indexOf.call(l.control.children,a))>(i=Array.prototype.indexOf.call(l.control.children,t))&&(n=s,s=i,i=n),r=s;r<=i;r++)-1===l.activeItems.indexOf(t=l.control.children[r])&&l.setActiveItemClass(t);K(o)}else"click"===e&&B(L,o)||"keydown"===e&&B("shiftKey",o)?t.classList.contains("active")?l.removeActiveItem(t):l.setActiveItemClass(t):(l.clearActiveItems(),l.setActiveItemClass(t));l.hideInput(),l.isFocused||l.focus()}}setActiveItemClass(t){const o=this,e=o.control.querySelector(".last-active");e&&S(e,"last-active"),F(t,"active last-active"),o.trigger("item_select",t),-1==o.activeItems.indexOf(t)&&o.activeItems.push(t)}removeActiveItem(t){var o=this.activeItems.indexOf(t);this.activeItems.splice(o,1),S(t,"active")}clearActiveItems(){S(this.activeItems,"active"),this.activeItems=[]}setActiveOption(t,o=!0){t!==this.activeOption&&(this.clearActiveOption(),t&&(this.activeOption=t,$(this.focus_node,{"aria-activedescendant":t.getAttribute("id")}),$(t,{"aria-selected":"true"}),F(t,"active"),o&&this.scrollToOption(t)))}scrollToOption(t,o){if(!t)return;const e=this.dropdown_content,r=e.clientHeight,s=e.scrollTop||0,i=t.offsetHeight,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top+s;n+i>r+s?this.scroll(n-r+i,o):n<s&&this.scroll(n,o)}scroll(t,o){const e=this.dropdown_content;o&&(e.style.scrollBehavior=o),e.scrollTop=t,e.style.scrollBehavior=""}clearActiveOption(){this.activeOption&&(S(this.activeOption,"active"),$(this.activeOption,{"aria-selected":null})),this.activeOption=null,$(this.focus_node,{"aria-activedescendant":null})}selectAll(){const t=this;if("single"===t.settings.mode)return;const o=t.controlChildren();o.length&&(t.hideInput(),t.close(),t.activeItems=o,_(o,(o=>{t.setActiveItemClass(o)})))}inputState(){var t=this;t.control.contains(t.control_input)&&($(t.control_input,{placeholder:t.settings.placeholder}),t.activeItems.length>0||!t.isFocused&&t.settings.hidePlaceholder&&t.items.length>0?(t.setTextboxValue(),t.isInputHidden=!0):(t.settings.hidePlaceholder&&t.items.length>0&&$(t.control_input,{placeholder:""}),t.isInputHidden=!1),t.wrapper.classList.toggle("input-hidden",t.isInputHidden))}hideInput(){this.inputState()}showInput(){this.inputState()}inputValue(){return this.control_input.value.trim()}focus(){var t=this;t.isDisabled||(t.ignoreFocus=!0,t.control_input.offsetWidth?t.control_input.focus():t.focus_node.focus(),setTimeout((()=>{t.ignoreFocus=!1,t.onFocus()}),0))}blur(){this.focus_node.blur(),this.onBlur()}getScoreFunction(t){return this.sifter.getScoreFunction(t,this.getSearchOptions())}getSearchOptions(){var t=this.settings,o=t.sortField;return"string"==typeof t.sortField&&(o=[{field:t.sortField}]),{fields:t.searchField,conjunction:t.searchConjunction,sort:o,nesting:t.nesting}}search(t){var o,e,r,s=this,i=this.getSearchOptions();if(s.settings.score&&"function"!=typeof(r=s.settings.score.call(s,t)))throw new Error('Tom Select "score" setting must be a function that returns a function');if(t!==s.lastQuery?(s.lastQuery=t,e=s.sifter.search(t,Object.assign(i,{score:r})),s.currentResults=e):e=Object.assign({},s.currentResults),s.settings.hideSelected)for(o=e.items.length-1;o>=0;o--){let t=M(e.items[o].id);t&&-1!==s.items.indexOf(t)&&e.items.splice(o,1)}return e}refreshOptions(t=!0){var o,e,r,s,i,n,a,l,d,h,p;const c={},u=[];var z,v=this,w=v.inputValue(),m=v.search(w),f=null,g=v.settings.shouldOpen||!1,b=v.dropdown_content;for(v.activeOption&&(d=v.activeOption.dataset.value,h=v.activeOption.closest("[data-group]")),s=m.items.length,"number"==typeof v.settings.maxOptions&&(s=Math.min(s,v.settings.maxOptions)),s>0&&(g=!0),o=0;o<s;o++){let t=m.items[o].id,s=v.options[t],a=v.getOption(t,!0);for(v.settings.hideSelected||a.classList.toggle("selected",v.items.includes(t)),i=s[v.settings.optgroupField]||"",e=0,r=(n=Array.isArray(i)?i:[i])&&n.length;e<r;e++)v.optgroups.hasOwnProperty(i=n[e])||(i=""),c.hasOwnProperty(i)||(c[i]=document.createDocumentFragment(),u.push(i)),e>0&&(a=a.cloneNode(!0),$(a,{id:s.$id+"-clone-"+e,"aria-selected":null}),a.classList.add("ts-cloned"),S(a,"active")),f||d!=t||(h?h.dataset.group===i&&(f=a):f=a),c[i].appendChild(a)}this.settings.lockOptgroupOrder&&u.sort(((t,o)=>(v.optgroups[t]&&v.optgroups[t].$order||0)-(v.optgroups[o]&&v.optgroups[o].$order||0))),a=document.createDocumentFragment(),_(u,(t=>{if(v.optgroups.hasOwnProperty(t)&&c[t].children.length){let o=document.createDocumentFragment(),e=v.render("optgroup_header",v.optgroups[t]);J(o,e),J(o,c[t]);let r=v.render("optgroup",{group:v.optgroups[t],options:o});J(a,r)}else J(a,c[t])})),b.innerHTML="",J(b,a),v.settings.highlight&&(z=b.querySelectorAll("span.highlight"),Array.prototype.forEach.call(z,(function(t){var o=t.parentNode;o.replaceChild(t.firstChild,t),o.normalize()})),m.query.length&&m.tokens.length&&_(m.tokens,(t=>{R(b,t.regex)})));var x=t=>{let o=v.render(t,{input:w});return o&&(g=!0,b.insertBefore(o,b.firstChild)),o};if(v.loading?x("loading"):v.settings.shouldLoad.call(v,w)?0===m.items.length&&x("no_results"):x("not_loading"),(l=v.canCreate(w))&&(p=x("option_create")),v.hasOptions=m.items.length>0||l,g){if(m.items.length>0){if(!f&&"single"===v.settings.mode&&v.items.length&&(f=v.getOption(v.items[0])),!b.contains(f)){let t=0;p&&!v.settings.addPrecedence&&(t=1),f=v.selectable()[t]}}else p&&(f=p);t&&!v.isOpen&&(v.open(),v.scrollToOption(f,"auto")),v.setActiveOption(f)}else v.clearActiveOption(),t&&v.isOpen&&v.close(!1)}selectable(){return this.dropdown_content.querySelectorAll("[data-selectable]")}addOption(t,o=!1){const e=this;if(Array.isArray(t))return e.addOptions(t,o),!1;const r=M(t[e.settings.valueField]);return null!==r&&!e.options.hasOwnProperty(r)&&(t.$order=t.$order||++e.order,t.$id=e.inputId+"-opt-"+t.$order,e.options[r]=t,e.lastQuery=null,o&&(e.userOptions[r]=o,e.trigger("option_add",r,t)),r)}addOptions(t,o=!1){_(t,(t=>{this.addOption(t,o)}))}registerOption(t){return this.addOption(t)}registerOptionGroup(t){var o=M(t[this.settings.optgroupValueField]);return null!==o&&(t.$order=t.$order||++this.order,this.optgroups[o]=t,o)}addOptionGroup(t,o){var e;o[this.settings.optgroupValueField]=t,(e=this.registerOptionGroup(o))&&this.trigger("optgroup_add",e,o)}removeOptionGroup(t){this.optgroups.hasOwnProperty(t)&&(delete this.optgroups[t],this.clearCache(),this.trigger("optgroup_remove",t))}clearOptionGroups(){this.optgroups={},this.clearCache(),this.trigger("optgroup_clear")}updateOption(t,o){const e=this;var r,s;const i=M(t),n=M(o[e.settings.valueField]);if(null===i)return;if(!e.options.hasOwnProperty(i))return;if("string"!=typeof n)throw new Error("Value must be set in option data");const a=e.getOption(i),l=e.getItem(i);if(o.$order=o.$order||e.options[i].$order,delete e.options[i],e.uncacheValue(n),e.options[n]=o,a){if(e.dropdown_content.contains(a)){const t=e._render("option",o);T(a,t),e.activeOption===a&&e.setActiveOption(t)}a.remove()}l&&(-1!==(s=e.items.indexOf(i))&&e.items.splice(s,1,n),r=e._render("item",o),l.classList.contains("active")&&F(r,"active"),T(l,r)),e.lastQuery=null}removeOption(t,o){const e=this;t=W(t),e.uncacheValue(t),delete e.userOptions[t],delete e.options[t],e.lastQuery=null,e.trigger("option_remove",t),e.removeItem(t,o)}clearOptions(t){const o=(t||this.clearFilter).bind(this);this.loadedSearches={},this.userOptions={},this.clearCache();const e={};_(this.options,((t,r)=>{o(t,r)&&(e[r]=this.options[r])})),this.options=this.sifter.items=e,this.lastQuery=null,this.trigger("option_clear")}clearFilter(t,o){return this.items.indexOf(o)>=0}getOption(t,o=!1){const e=M(t);if(null!==e&&this.options.hasOwnProperty(e)){const t=this.options[e];if(t.$div)return t.$div;if(o)return this._render("option",t)}return null}getAdjacent(t,o,e="option"){var r;if(!t)return null;r="item"==e?this.controlChildren():this.dropdown_content.querySelectorAll("[data-selectable]");for(let s=0;s<r.length;s++)if(r[s]==t)return o>0?r[s+1]:r[s-1];return null}getItem(t){if("object"==typeof t)return t;var o=M(t);return null!==o?this.control.querySelector(`[data-value="${H(o)}"]`):null}addItems(t,o){var e=this,r=Array.isArray(t)?t:[t];for(let s=0,i=(r=r.filter((t=>-1===e.items.indexOf(t)))).length;s<i;s++)e.isPending=s<i-1,e.addItem(r[s],o)}addItem(t,o){V(this,o?[]:["change","dropdown_close"],(()=>{var e,r;const s=this,i=s.settings.mode,n=M(t);if((!n||-1===s.items.indexOf(n)||("single"===i&&s.close(),"single"!==i&&s.settings.duplicates))&&null!==n&&s.options.hasOwnProperty(n)&&("single"===i&&s.clear(o),"multi"!==i||!s.isFull())){if(e=s._render("item",s.options[n]),s.control.contains(e)&&(e=e.cloneNode(!0)),r=s.isFull(),s.items.splice(s.caretPos,0,n),s.insertAtCaret(e),s.isSetup){if(!s.isPending&&s.settings.hideSelected){let t=s.getOption(n),o=s.getAdjacent(t,1);o&&s.setActiveOption(o)}s.isPending||s.settings.closeAfterSelect||s.refreshOptions(s.isFocused&&"single"!==i),0!=s.settings.closeAfterSelect&&s.isFull()?s.close():s.isPending||s.positionDropdown(),s.trigger("item_add",n,e),s.isPending||s.updateOriginalInput({silent:o})}(!s.isPending||!r&&s.isFull())&&(s.inputState(),s.refreshState())}}))}removeItem(t=null,o){const e=this;if(!(t=e.getItem(t)))return;var r,s;const i=t.dataset.value;r=E(t),t.remove(),t.classList.contains("active")&&(s=e.activeItems.indexOf(t),e.activeItems.splice(s,1),S(t,"active")),e.items.splice(r,1),e.lastQuery=null,!e.settings.persist&&e.userOptions.hasOwnProperty(i)&&e.removeOption(i,o),r<e.caretPos&&e.setCaret(e.caretPos-1),e.updateOriginalInput({silent:o}),e.refreshState(),e.positionDropdown(),e.trigger("item_remove",i,t)}createItem(t=null,o=!0,e=(()=>{})){var r,s=this,i=s.caretPos;if(t=t||s.inputValue(),!s.canCreate(t))return e(),!1;s.lock();var n=!1,a=t=>{if(s.unlock(),!t||"object"!=typeof t)return e();var o=M(t[s.settings.valueField]);if("string"!=typeof o)return e();s.setTextboxValue(),s.addOption(t,!0),s.setCaret(i),s.addItem(o),e(t),n=!0};return r="function"==typeof s.settings.create?s.settings.create.call(this,t,a):{[s.settings.labelField]:t,[s.settings.valueField]:t},n||a(r),!0}refreshItems(){var t=this;t.lastQuery=null,t.isSetup&&t.addItems(t.items),t.updateOriginalInput(),t.refreshState()}refreshState(){const t=this;t.refreshValidityState();const o=t.isFull(),e=t.isLocked;t.wrapper.classList.toggle("rtl",t.rtl);const r=t.wrapper.classList;r.toggle("focus",t.isFocused),r.toggle("disabled",t.isDisabled),r.toggle("required",t.isRequired),r.toggle("invalid",!t.isValid),r.toggle("locked",e),r.toggle("full",o),r.toggle("input-active",t.isFocused&&!t.isInputHidden),r.toggle("dropdown-active",t.isOpen),r.toggle("has-options",0===Object.keys(t.options).length),r.toggle("has-items",t.items.length>0)}refreshValidityState(){var t=this;t.input.validity&&(t.isValid=t.input.validity.valid,t.isInvalid=!t.isValid)}isFull(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems}updateOriginalInput(t={}){const o=this;var e,r;const s=o.input.querySelector('option[value=""]');if(o.is_select_tag){const t=[],n=o.input.querySelectorAll("option:checked").length;function i(e,r,i){return e||(e=x('<option value="'+N(r)+'">'+N(i)+"</option>")),e!=s&&o.input.append(e),t.push(e),(e!=s||n>0)&&(e.selected=!0),e}o.input.querySelectorAll("option:checked").forEach((t=>{t.selected=!1})),0==o.items.length&&"single"==o.settings.mode?i(s,"",""):o.items.forEach((s=>{r=(e=o.options[s])[o.settings.labelField]||"",t.includes(e.$option)?i(o.input.querySelector(`option[value="${H(s)}"]:not(:checked)`),s,r):e.$option=i(e.$option,s,r)}))}else o.input.value=o.getValue();o.isSetup&&(t.silent||o.trigger("change",o.getValue()))}open(){var t=this;t.isLocked||t.isOpen||"multi"===t.settings.mode&&t.isFull()||(t.isOpen=!0,$(t.focus_node,{"aria-expanded":"true"}),t.refreshState(),O(t.dropdown,{visibility:"hidden",display:"block"}),t.positionDropdown(),O(t.dropdown,{visibility:"visible",display:"block"}),t.focus(),t.trigger("dropdown_open",t.dropdown))}close(t=!0){var o=this,e=o.isOpen;t&&(o.setTextboxValue(),"single"===o.settings.mode&&o.items.length&&o.hideInput()),o.isOpen=!1,$(o.focus_node,{"aria-expanded":"false"}),O(o.dropdown,{display:"none"}),o.settings.hideSelected&&o.clearActiveOption(),o.refreshState(),e&&o.trigger("dropdown_close",o.dropdown)}positionDropdown(){if("body"===this.settings.dropdownParent){var t=this.control,o=t.getBoundingClientRect(),e=t.offsetHeight+o.top+window.scrollY,r=o.left+window.scrollX;O(this.dropdown,{width:o.width+"px",top:e+"px",left:r+"px"})}}clear(t){var o=this;if(o.items.length){var e=o.controlChildren();_(e,(t=>{o.removeItem(t,!0)})),o.showInput(),t||o.updateOriginalInput(),o.trigger("clear")}}insertAtCaret(t){const o=this,e=o.caretPos,r=o.control;r.insertBefore(t,r.children[e]),o.setCaret(e+1)}deleteSelection(t){var o,e,r,s,i,n=this;o=t&&8===t.keyCode?-1:1,e={start:(i=n.control_input).selectionStart||0,length:(i.selectionEnd||0)-(i.selectionStart||0)};const a=[];if(n.activeItems.length)s=j(n.activeItems,o),r=E(s),o>0&&r++,_(n.activeItems,(t=>a.push(t)));else if((n.isFocused||"single"===n.settings.mode)&&n.items.length){const t=n.controlChildren();o<0&&0===e.start&&0===e.length?a.push(t[n.caretPos-1]):o>0&&e.start===n.inputValue().length&&a.push(t[n.caretPos])}if(!n.shouldDelete(a,t))return!1;for(K(t,!0),void 0!==r&&n.setCaret(r);a.length;)n.removeItem(a.pop());return n.showInput(),n.positionDropdown(),n.refreshOptions(!1),!0}shouldDelete(t,o){const e=t.map((t=>t.dataset.value));return!(!e.length||"function"==typeof this.settings.onDelete&&!1===this.settings.onDelete(e,o))}advanceSelection(t,o){var e,r,s=this;s.rtl&&(t*=-1),s.inputValue().length||(B(L,o)||B("shiftKey",o)?(r=(e=s.getLastActive(t))?e.classList.contains("active")?s.getAdjacent(e,t,"item"):e:t>0?s.control_input.nextElementSibling:s.control_input.previousElementSibling)&&(r.classList.contains("active")&&s.removeActiveItem(e),s.setActiveItemClass(r)):s.moveCaret(t))}moveCaret(t){}getLastActive(t){let o=this.control.querySelector(".last-active");if(o)return o;var e=this.control.querySelectorAll(".active");return e?j(e,t):void 0}setCaret(t){this.caretPos=this.items.length}controlChildren(){return Array.from(this.control.querySelectorAll("[data-ts-item]"))}lock(){this.isLocked=!0,this.refreshState()}unlock(){this.isLocked=!1,this.refreshState()}disable(){var t=this;t.input.disabled=!0,t.control_input.disabled=!0,t.focus_node.tabIndex=-1,t.isDisabled=!0,this.close(),t.lock()}enable(){var t=this;t.input.disabled=!1,t.control_input.disabled=!1,t.focus_node.tabIndex=t.tabIndex,t.isDisabled=!1,t.unlock()}destroy(){var t=this,o=t.revertSettings;t.trigger("destroy"),t.off(),t.wrapper.remove(),t.dropdown.remove(),t.input.innerHTML=o.innerHTML,t.input.tabIndex=o.tabIndex,S(t.input,"tomselected","ts-hidden-accessible"),t._destroy(),delete t.input.tomselect}render(t,o){return"function"!=typeof this.settings.render[t]?null:this._render(t,o)}_render(t,o){var e,r="";const s=this;return"option"!==t&&"item"!=t||(r=W(o[s.settings.valueField])),null==(e=s.settings.render[t].call(this,o,N))||(e=x(e),"option"===t||"option_create"===t?$(e,o[s.settings.disabledField]?{"aria-disabled":"true"}:{"data-selectable":""}):"optgroup"===t&&($(e,{"data-group":o.group[s.settings.optgroupValueField]}),o.group[s.settings.disabledField]&&$(e,{"data-disabled":""})),"option"!==t&&"item"!==t||($(e,{"data-value":r}),"item"===t?(F(e,s.settings.itemClass),$(e,{"data-ts-item":""})):(F(e,s.settings.optionClass),$(e,{role:"option",id:o.$id}),s.options[r].$div=e))),e}clearCache(){_(this.options,(t=>{t.$div&&(t.$div.remove(),delete t.$div)}))}uncacheValue(t){const o=this.getOption(t);o&&o.remove()}canCreate(t){return this.settings.create&&t.length>0&&this.settings.createFilter.call(this,t)}hook(t,o,e){var r=this,s=r[o];r[o]=function(){var o,i;return"after"===t&&(o=s.apply(r,arguments)),i=e.apply(r,arguments),"instead"===t?i:("before"===t&&(o=s.apply(r,arguments)),o)}}}return Q}()})),p=l((function(t){t.exports=function(){new RegExp(Object.keys({"æ":"ae","ⱥ":"a","ø":"o"}).join("|"),"gu");const t=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(o(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)},o=t=>"string"==typeof t&&t.indexOf("<")>-1,e=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},r=(t,o,e,r)=>{t.addEventListener(o,e,r)};return function(o){const s=Object.assign({label:"&times;",title:"Remove",className:"remove",append:!0},o);var i=this;if(s.append){var n='<a href="javascript:void(0)" class="'+s.className+'" tabindex="-1" title="'+((s.title+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+'">')+s.label+"</a>";i.hook("after","setupTemplates",(()=>{var o=i.settings.render.item;i.settings.render.item=(s,a)=>{var l=t(o.call(i,s,a)),d=t(n);return l.appendChild(d),r(d,"mousedown",(t=>{e(t,!0)})),r(d,"click",(t=>{e(t,!0),i.isLocked||i.shouldDelete([l],t)&&(i.removeItem(l),i.refreshOptions(!1),i.inputState())})),l}}))}}}()})),c=l((function(t){t.exports=function(){const t=t=>"boolean"==typeof t?t?"1":"0":t+"",o=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())};new RegExp(Object.keys({"æ":"ae","ⱥ":"a","ø":"o"}).join("|"),"gu");const e=t=>"string"==typeof t&&t.indexOf("<")>-1;return function(){var r=this,s=r.onOptionSelect;r.settings.hideSelected=!1;var i=function(t){setTimeout((()=>{var o=t.querySelector("input");o instanceof HTMLInputElement&&(o.checked=!!t.classList.contains("selected"))}),1)};r.hook("after","setupTemplates",(()=>{var s=r.settings.render.option;r.settings.render.option=(i,n)=>{var a=(t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(e(t)){let o=document.createElement("div");return o.innerHTML=t.trim(),o.firstChild}return document.querySelector(t)})(s.call(r,i,n)),l=document.createElement("input");l.addEventListener("click",(function(t){o(t)})),l.type="checkbox";const d=null==(h=i[r.settings.valueField])?null:t(h);var h;return d&&r.items.indexOf(d)>-1&&(l.checked=!0),a.prepend(l),a}})),r.on("item_remove",(t=>{var o=r.getOption(t);o&&(o.classList.remove("selected"),i(o))})),r.on("item_add",(t=>{var o=r.getOption(t);o&&i(o)})),r.hook("instead","onOptionSelect",((t,e)=>{if(e.classList.contains("selected"))return e.classList.remove("selected"),r.removeItem(e.dataset.value),r.refreshOptions(),void o(t,!0);s.call(r,t,e),i(e)}))}}()})),u=l((function(t){t.exports=function(){const t=(t,o,e,r)=>{t.addEventListener(o,e,r)};return function(){var o=this;o.on("initialize",(()=>{var e=document.createElement("span"),r=o.control_input;e.style.cssText="position:absolute; top:-99999px; left:-99999px; width:auto; padding:0; white-space:pre; ",o.wrapper.appendChild(e);for(const t of["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"])e.style[t]=r.style[t];var s=()=>{e.textContent=r.value,r.style.width=e.clientWidth+"px"};s(),o.on("update item_add item_remove",s),t(r,"input",s),t(r,"keyup",s),t(r,"blur",s),t(r,"update",s)}))}}()})),z=l((function(t){t.exports=function(){var t=this,o=t.deleteSelection;this.hook("instead","deleteSelection",(e=>!!t.activeItems.length&&o.call(t,e)))}}));const v="stzh-dropdown--is-filled";h.define("remove_button",p),h.define("checkbox_options",c),h.define("input_autogrow",u),h.define("no_backspace_delete",z),h.define("input_hide",(function(){}));let w=0;const m=class{constructor(e){t(this,e),this.stzhChange=o(this,"stzhChange",7),this.stzhItemAdd=o(this,"stzhItemAdd",7),this.stzhItemRemove=o(this,"stzhItemRemove",7),this.stzhOptionAdd=o(this,"stzhOptionAdd",7),this.stzhOptionRemove=o(this,"stzhOptionRemove",7),this.stzhOpen=o(this,"stzhOpen",7),this.stzhClose=o(this,"stzhClose",7),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.stzhInit=o(this,"stzhInit",7),this.searchField=["text"],this.multiple=!1,this.inline=!1,this.maxOptions=50,this.searchConjunction="and",this.allowEmptyOption=!1,this.openOnFocus=!0,this.closeAfterSelect=null,this.load=null,this.minCharacters=3,this.loadThrottle=300,this.preload=!1,this.labelField="text",this.valueField="value",this.optgroupField="optgroup",this.optgroupLabelField="label",this.optgroupValueField="value",this.name="",this.variant="default",this.size="default",this.disabled=!1,this.popoverPlacement="bottom",this.label="",this.icon="",this.noSearch=!1,this.noBackspaceDelete=!1,this.invalid=!1,this.required=!1,this.showMarker=!1,this.a11yDescribedby=""}optionsWatcher(t){this._options="string"==typeof t?JSON.parse(t):t}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}searchFieldWatcher(t){this._searchField="string"==typeof t?JSON.parse(t):t}optgroupsWatcher(t){this._optgroups="string"==typeof t?JSON.parse(t):t}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(o){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async getValue(){return this.tomSelect.getValue()}async setValue(t){this.tomSelect.setValue(t)}async setFocus(){this.tomSelect.focus()}async resetLoadedSearches(){this.tomSelect.loadedSearches={}}async getLoadedSearches(){return this.tomSelect.loadedSearches}async loadItems(t){return this.tomSelect.load(t)}updateFilled(){this._items.length>0?this.rootElement.classList.add(v):this.rootElement.classList.remove(v)}async componentWillLoad(){this.dropdownId="stzh-dropdown-"+w++,this.optionsWatcher(this.options),this.optgroupsWatcher(this.optgroups),this.itemsWatcher(this.items),this.searchFieldWatcher(this.searchField),this.errorWatcher(this.error),this.localization||(this.localization=await n(this.element,"dropdown"))}async componentWillUpdate(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}async componentDidRender(){if(this.tomSelect)return;const t={};this.noSearch?t.input_hide={}:t.input_autogrow={},this.noBackspaceDelete&&(t.no_backspace_delete={}),this.multiple&&(t.checkbox_options={},t.remove_button={title:this.localization.removeButtonTitle,label:'<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'});const o={plugins:t,maxItems:this.multiple?null:1,maxOptions:this.maxOptions,items:this._items,optgroups:this._optgroups,searchField:this._searchField,searchConjunction:this.searchConjunction,allowEmptyOption:this.allowEmptyOption,closeAfterSelect:null!==this.closeAfterSelect?this.closeAfterSelect:!this.multiple,labelField:this.labelField,valueField:this.valueField,optgroupField:this.optgroupField,optgroupLabelField:this.optgroupLabelField,optgroupValueField:this.optgroupValueField,lockOptgroupOrder:this.lockOptgroupOrder,load:this.load,shouldLoad:t=>t.length>=this.minCharacters,loadThrottle:this.loadThrottle,preload:this.preload,openOnFocus:this.openOnFocus,loadingClass:"is-loading",hideSelected:!1,duplicates:!1,delimiter:",",copyClassesToDropdown:!1,placeholder:this.placeholder,hidePlaceholder:null,render:{option:(t,o)=>`\n <div class="stzh-dropdown__option" title="${o(t[this.labelField])}">\n <stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>\n <span class="stzh-dropdown__option-title">\n ${o(t[this.labelField])}\n </span>\n </div>\n `,item:(t,o)=>`\n <div class="stzh-dropdown__item">\n ${o(t[this.labelField])}\n </div>\n `,option_create:(t,o)=>`\n <div class="stzh-dropdown__create">\n ${this.localization.create.replace(/{x}/gi,o(t.input))}&hellip;\n </div>\n `,no_results:(t,o)=>`\n <div class="stzh-dropdown__no-results">\n ${this.localization.noResults.replace(/{x}/gi,o(t.input))}\n </div>`,not_loading:null===this.load?null:(t,o)=>`\n <div class="stzh-dropdown__not-loading">\n ${this.localization.notLoading.replace(/{x}/gi,o(this.minCharacters.toString()))}\n </div>\n `,optgroup:t=>{let o=document.createElement("div");return o.className="stzh-dropdown__optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>`\n <div class="stzh-dropdown__optgroup-header">\n ${o(t.label)}\n </div>\n `,loading:()=>'\n <div class="stzh-dropdown__loader">\n <stzh-loader></stzh-loader>\n </div>\n ',dropdown:()=>'<div class="stzh-dropdown__dropdown"></div>'},onChange:t=>{this._items=this.tomSelect.items,this.updateFilled(),this.stzhChange.emit({component:"stzh-dropdown",value:t})},onItemAdd:t=>{this._items=this.tomSelect.items,this.stzhItemAdd.emit({component:"stzh-dropdown",value:t})},onItemRemove:t=>{this._items=this.tomSelect.items,this.stzhItemRemove.emit({component:"stzh-dropdown",value:t})},onOptionAdd:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionAdd.emit({component:"stzh-dropdown",value:t})},onOptionRemove:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionRemove.emit({component:"stzh-dropdown",value:t})},onDropdownOpen:()=>{this.stzhOpen.emit({component:"stzh-dropdown"})},onDropdownClose:()=>{this.stzhClose.emit({component:"stzh-dropdown"})},onFocus:()=>{this.tomSelect.load&&"focus"===this.preload&&(this.resetLoadedSearches(),this.tomSelect.wrapper.classList.contains("preloaded")&&this.tomSelect.load("")),this.rootElement.classList.add("stzh-dropdown--has-focus");const t=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhFocus.emit({component:"stzh-dropdown"})},onBlur:()=>{this.rootElement.classList.remove("stzh-dropdown--has-focus");const t=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhBlur.emit({component:"stzh-dropdown"})},onInitialize:()=>{this.stzhInit.emit({component:"stzh-dropdown"})},onLoad:()=>{this._options=this.tomSelect.options}};this._options&&(o.options=this._options),this._optgroups&&(o.optgroups=this._optgroups),this._items&&(o.items=this._items),this.tomSelect=new h(this.select,o)}disconnectedCallback(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}render(){var t;const o=i(this.element,"icon")||!!this.icon,s=i(this.element,"description")||!!this.description,n=i(this.element,"description-long")||!!this.descriptionLong,l=i(this.element,"error")||!!this.error,d={"stzh-dropdown":!0,"stzh-dropdown--is-inline":this.inline,"stzh-dropdown--is-multiple":this.multiple,"stzh-dropdown--is-disabled":this.disabled,"stzh-dropdown--is-required":this.required,"stzh-dropdown--is-invalid":this.invalid,[v]:this._items&&this._items.length>0,"stzh-dropdown--has-icon":o,"stzh-dropdown--has-description":s,"stzh-dropdown--has-description-long":n,"stzh-dropdown--has-error":l,"stzh-dropdown--has-placeholder":!!this.placeholder,"stzh-dropdown--has-fixed-label":"fixed"===(null===(t=null===window||void 0===window?void 0:window.stzhComponents)||void 0===t?void 0:t.labels),[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]:!!this.popoverPlacement,[`stzh-dropdown--size-${this.size}`]:!!this.size,[`stzh-dropdown--${this.variant}`]:!!this.variant};return e(r,null,e("div",{class:d,ref:t=>this.rootElement=t},e("div",{class:"stzh-dropdown__field-wrapper"},e("select",{id:this.dropdownId,class:"stzh-dropdown__select",ref:t=>this.select=t,multiple:this.multiple,name:this.name,disabled:this.disabled,"aria-invalid":this.invalid?"true":"false","aria-describedby":`${this.dropdownId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false"},e("slot",null)),e("div",{class:"stzh-dropdown__sizer"},this.placeholder),e("stzh-icon",{name:"angle-down",class:"stzh-dropdown__angle-icon"}),e("div",{class:"stzh-dropdown__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-dropdown__icon",name:this.icon}):e("slot",{name:"icon"})),e("label",{class:"stzh-dropdown__label",htmlFor:this.dropdownId},this.label?this.label:e("slot",{name:"label"}),this.showMarker&&e("span",{class:"stzh-dropdown__marker"},e("span",{class:"stzh-dropdown__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-dropdown__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(a,{classPrefix:"stzh-dropdown",id:`${this.dropdownId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:n,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return s(this)}static get watchers(){return{options:["optionsWatcher"],items:["itemsWatcher"],searchField:["searchFieldWatcher"],optgroups:["optgroupsWatcher"],error:["errorWatcher"]}}};m.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown{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;--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-grey61);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-white);--label-background:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--hover-color);--popover-width:100%;--popover-min-width:var(--stzh-popover-min-width);--popover-max-width:var(--stzh-popover-min-width);--popover-max-height:calc(6.5 * var(--stzh-menu-item-height));width:100%;border-radius:var(--stzh-form-input-border-radius);}stzh-dropdown[hidden]{display:none}stzh-dropdown *,stzh-dropdown *::before,stzh-dropdown *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown[variant=plain]{--background-color:transparent}stzh-dropdown[inline]:not([inline=false]){--popover-width:auto;width:auto}stzh-dropdown[invalid]:not([invalid=false]){--color:var(--stzh-color-error);--border-color:var(--stzh-color-error);--label-color:var(--stzh-color-error);--placeholder-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-border-color:var(--stzh-color-error)}stzh-dropdown[disabled]:not([disabled=false]){--color:var(--stzh-color-grey61);--border-color:var(--stzh-color-grey5);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-grey5);--label-background:transparent;--hover-color:var(--stzh-color-grey61);--hover-border-color:var(--stzh-color-grey5)}stzh-dropdown[disabled]:not([disabled=false])[variant=plain]{--background-color:transparent}.stzh-dropdown__icon-wrapper stzh-icon,.stzh-dropdown__icon{--size:var(--icon-size)}.stzh-dropdown{}.stzh-dropdown__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-dropdown__marker-text{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-dropdown__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-dropdown__error,.stzh-dropdown__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-dropdown__error{color:var(--stzh-color-error)}.stzh-dropdown__error-list{list-style:none;margin:0;padding:0}.stzh-dropdown__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-dropdown__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-dropdown__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-dropdown__description-long-popover[open]:not([open=false]) .stzh-dropdown__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__description-long-button{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-dropdown__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown stzh-icon.stzh-dropdown__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-dropdown--has-error .stzh-dropdown__error,.stzh-dropdown--has-description .stzh-dropdown__description{margin-top:var(--stzh-space-xxsmall)}.stzh-dropdown .ts-hidden-accessible{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-dropdown .ts-dropdown-content{max-height:var(--popover-max-height);overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;scroll-behavior:smooth}.stzh-dropdown .ts-control{overflow:hidden;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-radius:var(--stzh-form-input-border-radius);background-color:var(--background-color);-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);cursor:pointer}.stzh-dropdown .ts-control:hover,.stzh-dropdown .ts-control:focus-within{border-color:var(--hover-border-color);outline:none}.stzh-dropdown .ts-control>*{vertical-align:baseline;display:inline-block}.stzh-dropdown .ts-control,.stzh-dropdown__sizer{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);font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;width:100%;min-height:var(--stzh-form-input-height);border:0.0625rem solid var(--border-color)}.stzh-dropdown .ts-control>input{font-size:inherit;line-height:inherit;-ms-flex:1 1 auto;flex:1 1 auto;display:inline-block;padding:0;min-height:0;max-height:none;max-width:100%;margin:0;text-indent:0;border:0 none;background:none;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.stzh-dropdown .ts-control>input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-ms-clear{display:none}.stzh-dropdown .ts-control>input:focus{outline:none}.stzh-dropdown .ts-control>input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:placeholder-shown{text-overflow:ellipsis}.stzh-dropdown__field-wrapper,.stzh-dropdown__select{position:relative}.stzh-dropdown__icon-wrapper{position:absolute}.stzh-dropdown__select .ts-control>input,.stzh-dropdown__select.single .stzh-dropdown__item,.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-dropdown__select.multi .stzh-dropdown__item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__select:hover .ts-control>input,.stzh-dropdown__select:focus-within .ts-control>input,.stzh-dropdown__select.single:hover .stzh-dropdown__item,.stzh-dropdown__select.single:focus-within .stzh-dropdown__item,.stzh-dropdown__select:hover~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:focus-within~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:hover~.stzh-dropdown__angle-icon,.stzh-dropdown__select:focus-within~.stzh-dropdown__angle-icon,.stzh-dropdown__select:hover~.stzh-dropdown__label,.stzh-dropdown__select:focus-within~.stzh-dropdown__label{color:var(--hover-color)}.stzh-dropdown__sizer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:calc(var(--stzh-form-input-height) / -1);pointer-events:none;visibility:hidden}.stzh-dropdown__select.has-items~.stzh-dropdown__sizer{display:none}.stzh-dropdown__select.plugin-input_hide~.stzh-dropdown__sizer{visibility:visible}.stzh-dropdown__select.input-active .ts-control,.stzh-dropdown__select.input-active .ts-control>input{cursor:text}.stzh-dropdown__select.input-hidden .ts-control>input,.stzh-dropdown__select.plugin-input_hide .ts-control>input{opacity:0;position:absolute;left:-625rem}.stzh-dropdown__select.single .ts-control,.stzh-dropdown__select.multi .ts-control,.stzh-dropdown__sizer{padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.stzh-dropdown__icon-wrapper{display:-ms-flexbox;display:flex;left:var(--stzh-space-medium)}.stzh-dropdown stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-medium)}.stzh-dropdown__angle-icon{right:var(--stzh-space-medium)}.stzh-dropdown__label{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(--label-color);display:block;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-dropdown__label:empty{display:none}.stzh-dropdown__label::before{content:"";display:none;background:var(--label-background);position:absolute;width:100%;z-index:-1;left:0;top:50%;height:0.125rem;margin-top:-0.03125rem}.stzh-dropdown__option,.stzh-dropdown__create{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;outline:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--stzh-color-grey70);height:var(--stzh-menu-item-height);line-height:var(--stzh-menu-item-height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown__option:hover,.stzh-dropdown__option.active,.stzh-dropdown__create:hover,.stzh-dropdown__create.active{background-color:var(--stzh-color-grey5)}.stzh-dropdown__option.selected,.stzh-dropdown__create.selected{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover,.stzh-dropdown__option.selected.active,.stzh-dropdown__create.selected:hover,.stzh-dropdown__create.selected.active{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown__option input,.stzh-dropdown__create 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-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:block}.stzh-dropdown__option-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-dropdown__option[data-selectable] .highlight{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-dropdown__select .stzh-dropdown__option-check{display:none;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover .stzh-dropdown__option-check,.stzh-dropdown__option.selected.active .stzh-dropdown__option-check{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-dropdown__no-results{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.stzh-dropdown__no-results,.stzh-dropdown__not-loading{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-medium);padding-left:var(--stzh-space-large)}.stzh-dropdown__optgroup-header{cursor:default}.stzh-dropdown__loader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.375rem}.stzh-dropdown__dropdown{position:absolute;top:100%;left:0;width:var(--popover-width);margin-top:var(--stzh-space-xsmall);background-color:var(--stzh-color-white);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);z-index:var(--stzh-z-index-popover);border-radius:var(--stzh-popover-border-radius);overflow:hidden}@media screen and (min-width: 600px){.stzh-dropdown__dropdown{min-width:var(--popover-min-width);max-width:var(--popover-max-width)}}.stzh-dropdown__select.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.stzh-dropdown__select.plugin-input_autogrow.has-items.focus .ts-control>input{-ms-flex:none;flex:none;min-width:0.25rem}.stzh-dropdown__select.has-items .ts-control>input{margin:0 0.25rem}.stzh-dropdown__select.has-items .ts-control>input::-webkit-input-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input::-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-ms-input-placeholder{color:transparent}.stzh-dropdown--is-multiple .stzh-dropdown__option-check{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);margin-right:var(--stzh-space-xsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__option{padding-left:var(--stzh-space-small)}.stzh-dropdown--is-multiple .stzh-dropdown__option.selected .stzh-dropdown__option-check{opacity:1}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi.has-items .ts-control{padding-top:calc(var(--stzh-space-xsmall) - 0.0625rem);padding-bottom:calc(var(--stzh-space-xsmall) - 0.0625rem)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:relative;height:1.5rem;line-height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:0.75rem;padding:0 var(--stzh-space-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0.0625rem solid transparent;background-color:var(--stzh-color-grey5);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);margin:var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) 0;cursor:pointer}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item.active{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:calc(1.5rem + var(--stzh-space-xxsmall))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{position:absolute;top:50%;right:-0.0625rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:none;width:1.5rem;height:1.5rem;border-radius:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--stzh-base-lead-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__remove-icon{--size:var(--stzh-icon-size-xxsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item.active .stzh-dropdown__remove-icon{color:var(--stzh-color-white)}.stzh-dropdown--popover-placement-top .stzh-dropdown__dropdown{margin-top:0;top:auto;bottom:100%;margin-bottom:var(--stzh-space-xsmall)}.stzh-dropdown--popover-placement-top.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-bottom:0}.stzh-dropdown--size-small .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-dropdown--size-small .ts-control{min-height:var(--stzh-form-input-small-height)}.stzh-dropdown--size-small .stzh-dropdown__sizer{min-height:initial;height:var(--stzh-form-input-small-height);margin-top:calc(var(--stzh-form-input-small-height) / -1)}.stzh-dropdown--size-small .stzh-dropdown__label{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{padding:var(--stzh-space-xxsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--size-small stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-small)}.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--plain .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain .stzh-dropdown__sizer{border:none;padding-left:0;padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--plain .stzh-dropdown__icon-wrapper{left:0}.stzh-dropdown--plain .stzh-dropdown__angle-icon{right:0}.stzh-dropdown--plain .stzh-dropdown__label{left:0;max-width:100%;padding:0}.stzh-dropdown--plain .stzh-dropdown__label::before{content:none}.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-top:0}.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__sizer{padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--has-placeholder .stzh-dropdown__label{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-medium) - var(--stzh-space-xxsmall)) * 2);pointer-events:all}.stzh-dropdown--has-fixed-label .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-filled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-disabled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-invalid .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-focus .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-placeholder .stzh-dropdown__label:not(:empty)::before{display:block}.stzh-dropdown--plain.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-placeholder .stzh-dropdown__label{left:0;padding:0;max-width:100%}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{cursor:not-allowed}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-grey25);background-color:var(--stzh-color-white);border-color:var(--stzh-base-border-color)}.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-grey13);background-color:transparent}';export{m as stzh_dropdown}
@@ -1 +1 @@
1
- System.register(["./p-30b347ee.system.js"],(function(s){"use strict";var c,h,e;return{setters:[function(s){c=s.r;h=s.h;e=s.a}],execute:function(){var t='.sc-stzh-cspace-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-cspace-h{display:none}.sc-stzh-cspace-h *.sc-stzh-cspace,.sc-stzh-cspace-h *.sc-stzh-cspace::before,.sc-stzh-cspace-h *.sc-stzh-cspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-input,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datepicker,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-dropdown,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-upload,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkbox,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkboxgroup,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radio,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radiogroup{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-medium);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions[variant=process]{margin-top:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset[legend]{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>:first-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-top]{margin-top:0}.sc-stzh-cspace-h .sc-stzh-cspace-s>:last-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-bottom]{margin-bottom:0}';var a=s("stzh_cspace",function(){function s(s){c(this,s)}s.prototype.render=function(){var s={"stzh-cspace":true};return h(e,null,h("div",{class:s},h("slot",null)))};return s}());a.style=t}}}));
1
+ System.register(["./p-30b347ee.system.js"],(function(s){"use strict";var c,h,e;return{setters:[function(s){c=s.r;h=s.h;e=s.a}],execute:function(){var t='.sc-stzh-cspace-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-cspace-h{display:none}.sc-stzh-cspace-h *.sc-stzh-cspace,.sc-stzh-cspace-h *.sc-stzh-cspace::before,.sc-stzh-cspace-h *.sc-stzh-cspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-input,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datepicker,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-dropdown,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-upload,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkbox,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkboxgroup,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radio,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radiogroup{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="1"]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="2"]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="3"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level="4"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-medium);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions[variant=process]{margin-top:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset[legend]{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>:first-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-top]{margin-top:0}.sc-stzh-cspace-h .sc-stzh-cspace-s>:last-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-bottom]{margin-bottom:0}.sc-stzh-cspace-h :has(:nth-child(1)[hidden]).sc-stzh-cspace-s>:nth-child(2){margin-top:0}.sc-stzh-cspace-h :has(:nth-last-child(1)[hidden]).sc-stzh-cspace-s>:nth-last-child(2){margin-bottom:0}';var a=s("stzh_cspace",function(){function s(s){c(this,s)}s.prototype.render=function(){var s={"stzh-cspace":true};return h(e,null,h("div",{class:s},h("slot",null)))};return s}());a.style=t}}}));
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,a as n,g as e}from"./p-65282c9d.js";import{f as a,t as h}from"./p-1a40a6e4.js";import{p,a as o}from"./p-81d9f3e0.js";import{c as r}from"./p-649621fc.js";const m=class{constructor(i){t(this,i),this.stzhChange=s(this,"stzhChange",7),this.sortBy="start",this.appointments=[],this.value="",this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").setFocus()},this.onDropdownChange=async t=>{const s=t.target,i=await s.getValue();i&&(this.sortBy=i)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this.stepItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,this.dateByValue||this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments="string"==typeof t?JSON.parse(t):t,this._appointments.forEach((t=>{t.start=new Date(t.start),t.end=new Date(t.end)})),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}updateDateByValue(){this.dateByValue=this.value&&this._appointments.find((t=>t.value===this.value)).start}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,i)=>{const n=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return n&&(t=i),n}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await a(this.element,"appointments")),this.dateAdapter||(this.dateAdapter=r(this.localization.$formats,this.localization.$globals))}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.showSortPlace=t.map((t=>t.place)).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){return i(n,null,i("div",{class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},i("div",{class:"stzh-appointments__wrapper"},this.showCalendar&&i("div",{class:"stzh-appointments__calendar-wrapper"},i("div",{class:"stzh-appointments__calendar-title-wrapper"},i("div",{class:"stzh-appointments__calendar-title"},i("stzh-icon",{class:"stzh-appointments__calendar-icon",name:"calendar"}),i("stzh-text",{font:"heavy"},this.calendarTitle||this.localization.calendarTitle))),i("div",{class:"stzh-appointments__calendar-content"},i("stzh-datepicker",{ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},i("stzh-link",{slot:"action",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments)))),i("div",{class:"stzh-appointments__calendar-content-medium"},i("stzh-datepicker",{ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},this.nextDate&&i("stzh-link",{slot:"action",onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments))))),i("div",{class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&i("div",{class:"stzh-appointments__appointments-title-wrapper"},i("div",{class:"stzh-appointments__appointments-title"},i("stzh-icon",{class:"stzh-appointments__appointments-icon",name:"clock"}),i("stzh-text",{font:"heavy"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&i("div",{class:"stzh-appointments__sort"},i("stzh-dropdown",{inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),i("div",{class:"stzh-appointments__appointments-content"},i("stzh-radiogroup",{ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>i("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},i("stzh-text",{font:"heavy",size:"milli"},!this.showCalendar&&i("span",null,this.dateAdapter.format(t.start),", "),this.dateAdapter.format(t.start,"time"),i("span",{innerHTML:this.localization.$formats.timeRange}),this.dateAdapter.format(t.end,"time"),i("span",{innerHTML:this.localization.$formats.timePostfix})),i("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&i("stzh-link",{class:"stzh-appointments__more-link",onClick:this.onMoreClick},i("stzh-text",{size:"milli"},h(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft))))))))}get element(){return e(this)}static get watchers(){return{currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};m.style=".sc-stzh-appointments-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-appointments-h{display:none}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-appointments__wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-large)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);height:var(--stzh-space-xxlarge)}}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{display:-ms-flexbox;display:flex}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{margin-right:var(--stzh-space-xsmall);display:none}@media screen and (min-width: 1024px){.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{display:-ms-inline-flexbox;display:inline-flex}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments,.stzh-appointments__appointments-content.sc-stzh-appointments{background-color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey13);border-radius:0.125rem}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{padding:var(--stzh-space-xlarge);-ms-flex-positive:1;flex-grow:1}.stzh-appointments__more-link.sc-stzh-appointments{margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{m as stzh_appointments}
1
+ import{r as t,c as s,h as i,a as n,g as e}from"./p-65282c9d.js";import{f as a,t as h}from"./p-25a09313.js";import{p,a as o}from"./p-77a00e55.js";import{c as r}from"./p-c8bcceac.js";const m=class{constructor(i){t(this,i),this.stzhChange=s(this,"stzhChange",7),this.sortBy="start",this.appointments=[],this.value="",this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").setFocus()},this.onDropdownChange=async t=>{const s=t.target,i=await s.getValue();i&&(this.sortBy=i)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this.stepItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,this.dateByValue||this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments="string"==typeof t?JSON.parse(t):t,this._appointments.forEach((t=>{t.start=new Date(t.start),t.end=new Date(t.end)})),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}updateDateByValue(){this.dateByValue=this.value&&this._appointments.find((t=>t.value===this.value)).start}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,i)=>{const n=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return n&&(t=i),n}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await a(this.element,"appointments")),this.dateAdapter||(this.dateAdapter=r(this.localization.$formats,this.localization.$globals))}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.showSortPlace=t.map((t=>t.place)).filter(((t,s,i)=>i.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){return i(n,null,i("div",{class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},i("div",{class:"stzh-appointments__wrapper"},this.showCalendar&&i("div",{class:"stzh-appointments__calendar-wrapper"},i("div",{class:"stzh-appointments__calendar-title-wrapper"},i("div",{class:"stzh-appointments__calendar-title"},i("stzh-icon",{class:"stzh-appointments__calendar-icon",name:"calendar"}),i("stzh-text",{font:"heavy"},this.calendarTitle||this.localization.calendarTitle))),i("div",{class:"stzh-appointments__calendar-content"},i("stzh-datepicker",{ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},i("stzh-link",{slot:"action",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments)))),i("div",{class:"stzh-appointments__calendar-content-medium"},i("stzh-datepicker",{ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:o(this.earliestDate),calendarMax:o(this.latestDate)},this.nextDate&&i("stzh-link",{slot:"action",onClick:this.onNextActiveDateClick},i("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments))))),i("div",{class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&i("div",{class:"stzh-appointments__appointments-title-wrapper"},i("div",{class:"stzh-appointments__appointments-title"},i("stzh-icon",{class:"stzh-appointments__appointments-icon",name:"clock"}),i("stzh-text",{font:"heavy"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&i("div",{class:"stzh-appointments__sort"},i("stzh-dropdown",{inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),i("div",{class:"stzh-appointments__appointments-content"},i("stzh-radiogroup",{ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>i("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},i("stzh-text",{font:"heavy",size:"milli"},!this.showCalendar&&i("span",null,this.dateAdapter.format(t.start),", "),this.dateAdapter.format(t.start,"time"),i("span",{innerHTML:this.localization.$formats.timeRange}),this.dateAdapter.format(t.end,"time"),i("span",{innerHTML:this.localization.$formats.timePostfix})),i("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&i("stzh-link",{class:"stzh-appointments__more-link",onClick:this.onMoreClick},i("stzh-text",{size:"milli"},h(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft))))))))}get element(){return e(this)}static get watchers(){return{currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}}};m.style=".sc-stzh-appointments-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-appointments-h{display:none}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-appointments__wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-large)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);height:var(--stzh-space-xxlarge)}}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{display:-ms-flexbox;display:flex}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{margin-right:var(--stzh-space-xsmall);display:none}@media screen and (min-width: 1024px){.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{display:-ms-inline-flexbox;display:inline-flex}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments,.stzh-appointments__appointments-content.sc-stzh-appointments{background-color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey13);border-radius:0.125rem}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{padding:var(--stzh-space-xlarge);-ms-flex-positive:1;flex-grow:1}.stzh-appointments__more-link.sc-stzh-appointments{margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{m as stzh_appointments}
@@ -0,0 +1 @@
1
+ import{r as s,c as e,i as r,h as t,F as i,a as c,g as a}from"./p-65282c9d.js";import{h as d}from"./p-1f57d28e.js";import{m as h}from"./p-9111e257.js";import{f as n}from"./p-25a09313.js";const o=class{constructor(t){s(this,t),this.stzhCollapse=e(this,"stzhCollapse",7),this.stzhSubtitleClick=e(this,"stzhSubtitleClick",7),this.stzhStarClick=e(this,"stzhStarClick",7),this.stzhActionClick=e(this,"stzhActionClick",7),this.collapsed=!1,this.starred=!1,this.starrable=!1,this.heading="",this.subtitle="",this._subtitles=[],this.actions=[],this.subtitleInteractive=!1,this.type="default",this.middleVariant="to-right",this.middleVerticalSpacing="default",this.rightVerticalSpacing="default",this.sortableDisabled=!1,this.collapsible=!1,this.hideMovementActions=!1,this.nodeChange=s=>{let e=!1;s.forEach((s=>{(s.target.closest("[slot]")||s.target.hasAttribute("slot"))&&(e=!0)})),e&&r(this.element)},this.update=()=>{this.mainElement&&(this.mainElement.classList.remove("stzh-servicecard--has-collapsed-header"),h("medium").matches)&&this.headerElement.clientWidth-this.headerLeftElement.clientWidth<=this.headerRightElement.clientWidth&&this.mainElement.classList.add("stzh-servicecard--has-collapsed-header")},this.headerClick=s=>{if(!this.collapsible)return;const e=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];s.composedPath().map((s=>{var e;return null===(e=s.tagName)||void 0===e?void 0:e.toLowerCase()})).some((s=>e.includes(s)))||(this.collapsed=!this.collapsed,this.stzhCollapse.emit({component:"stzh-servicecard",collapsed:this.collapsed}))},this.subtitleClick=()=>{this.subtitleInteractive&&this.stzhSubtitleClick.emit({component:"stzh-servicecard"})},this.starToggleClick=()=>{this.stzhStarClick.emit({component:"stzh-servicecard",starred:this.starred})},this.actionClick=s=>{this.stzhActionClick.emit({component:"stzh-servicecard",action:s})},this.arrowUpClick=()=>{const s=this.element.closest("stzh-sortable");if(s){const e=this.findSortableChildElement();s.moveItem(e,"up")}},this.arrowDownClick=()=>{const s=this.element.closest("stzh-sortable");if(s){const e=this.findSortableChildElement();s.moveItem(e,"down")}}}handleResize(){this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.update)}subtitleWatcher(s){if("string"==typeof s)try{this._subtitles=JSON.parse(s)}catch(e){this._subtitles=[s]}else this._subtitles=s}actionsWatcher(s){this._actions="string"==typeof s?JSON.parse(s):s}findSortableChildElement(){const s=this.element.closest("stzh-sortable");if(s){let e=this.element,r=null;for(r="function"==typeof s.container?s.container():s.container;e.parentElement!==r;)e=e.parentElement;return e}}async componentWillLoad(){this.subtitleWatcher(this.subtitle),this.actionsWatcher(this.actions),this.localization||(this.localization=await n(this.element,"servicecard"))}connectedCallback(){this.observer=new MutationObserver(this.nodeChange),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){const s=d(this.element,"left"),e=d(this.element,"middle"),r=d(this.element,"right"),a=this.subtitleInteractive?"button":"span";return t(c,{role:"listitem","aria-label":this.heading},t("article",{ref:s=>this.mainElement=s,class:{"stzh-servicecard":!0,"stzh-servicecard--has-left":s,"stzh-servicecard--has-middle":e,"stzh-servicecard--has-right":r,"stzh-servicecard--has-subtitle":!!this.subtitle,"stzh-servicecard--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-servicecard--is-collapsed":this.collapsed,"stzh-servicecard--is-starred":this.starred,[`stzh-servicecard--middle-${this.middleVariant}`]:!!this.middleVariant&&e,[`stzh-servicecard--type-${this.type}`]:!!this.type}},t("stzh-icon",{class:"stzh-servicecard__dnd",name:"drag"}),t("header",{ref:s=>this.headerElement=s,class:"stzh-servicecard__header",onClick:this.headerClick},t("div",{ref:s=>this.headerLeftElement=s,class:"stzh-servicecard__header-left"},t("div",{class:"stzh-servicecard__title-area","data-dashboardmknlist":"title"},t("h3",{class:"stzh-servicecard__title","data-dashboardmknlist":"dnd"},this.heading),this._subtitles.length>0&&t(a,{class:"stzh-servicecard__subtitle",onClick:this.subtitleClick},this._subtitles.map((s=>t("span",{class:"stzh-servicecard__subtitle-text"},s)))))),t("div",{ref:s=>this.headerRightElement=s,class:"stzh-servicecard__header-right"},t("div",{class:"stzh-servicecard__card-actions"},this._actions.map((s=>t("stzh-button",{class:{"stzh-servicecard__card-action":!0,"is-button":!0,"show-medium":!s.onlyCollapseText,"hide-when-collapsed":!s.onlyCollapseText,"hide-text-when-collapsed":s.onlyCollapseText},icon:s.icon,badge:s.badge,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:()=>{this.actionClick(s)}},t("span",{class:{"show-medium":s.onlyCollapseText,"hide-when-collapsed":s.onlyCollapseText}},s.label)))),this.starrable&&t("stzh-tooltip",null,t("stzh-button",{class:"stzh-servicecard__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:!0,onClick:this.starToggleClick}),t("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),t("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-servicecard__card-action-popover"},t("stzh-button",{class:"stzh-servicecard__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:!0}),t("stzh-menu",{slot:"content"},this.starrable&&t("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),this._actions.filter((s=>!s.onlyCollapseText)).map((s=>t("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:s.icon,badge:s.badge,onClick:()=>{this.actionClick(s)}},s.label))),!this.sortableDisabled&&!this.hideMovementActions&&t(i,null,t("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),t("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),t("div",{class:"stzh-servicecard__columns hide-when-collapsed"},t("div",{class:{"stzh-servicecard__column":!0,"is-left":!0}},t("slot",{name:"left"})),t("div",{class:{"stzh-servicecard__column":!0,"is-middle":!0,"has-no-spacing":"none"===this.middleVerticalSpacing}},t("slot",{name:"middle"})),t("div",{class:{"stzh-servicecard__column":!0,"is-right":!0,"has-no-spacing":"none"===this.rightVerticalSpacing}},t("slot",{name:"right"})))))}get element(){return a(this)}static get watchers(){return{subtitle:["subtitleWatcher"],actions:["actionsWatcher"]}}};o.style='.sc-stzh-servicecard-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-servicecard-h{display:none}.sc-stzh-servicecard-h *.sc-stzh-servicecard,.sc-stzh-servicecard-h *.sc-stzh-servicecard::before,.sc-stzh-servicecard-h *.sc-stzh-servicecard::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-servicecard-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--dnd-visibility:hidden;--dnd-opacity:0;position:relative;border-radius:var(--border-radius)}.is-ghost.sc-stzh-servicecard-h::after,.is-ghost .sc-stzh-servicecard-h::after{border-radius:var(--border-radius)}.is-selected.sc-stzh-servicecard-h,.is-chosen.sc-stzh-servicecard-h,.is-selected .sc-stzh-servicecard-h,.is-chosen .sc-stzh-servicecard-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-servicecard-h,.is-ghost .sc-stzh-servicecard-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-servicecard-h,.is-chosen.sc-stzh-servicecard-h,.is-ghost.sc-stzh-servicecard-h,.is-selected.sc-stzh-servicecard-h,.is-drag .sc-stzh-servicecard-h,.is-chosen .sc-stzh-servicecard-h,.is-ghost .sc-stzh-servicecard-h,.is-selected .sc-stzh-servicecard-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>*{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)}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>table{border:0;border-spacing:0}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>table td,.sc-stzh-servicecard-h .sc-stzh-servicecard-s>table th{padding:0}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-servicecard-h .sc-stzh-servicecard-s>*:not(:first-child){margin-top:var(--stzh-space-medium)}.stzh-servicecard.sc-stzh-servicecard{background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-servicecard.sc-stzh-servicecard .show-medium.sc-stzh-servicecard{display:none}}@media screen and (min-width: 1024px){.stzh-servicecard.sc-stzh-servicecard .hide-medium.sc-stzh-servicecard{display:none}}.stzh-servicecard__dnd.sc-stzh-servicecard{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-servicecard__dnd.sc-stzh-servicecard{display:block}}@media screen and (min-width: 1260px){.stzh-servicecard__dnd.sc-stzh-servicecard{left:0.25rem;top:1.6875rem}}.stzh-servicecard__header.sc-stzh-servicecard{padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start;border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 600px){.stzh-servicecard__header.sc-stzh-servicecard{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 1024px){.stzh-servicecard__header.sc-stzh-servicecard{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-servicecard__header.sc-stzh-servicecard{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 600px){.stzh-servicecard__header.sc-stzh-servicecard{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1024px){.stzh-servicecard__header.sc-stzh-servicecard{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-servicecard__header.sc-stzh-servicecard{padding-bottom:var(--stzh-space-large)}}.stzh-servicecard__header-left.sc-stzh-servicecard,.stzh-servicecard__header-right.sc-stzh-servicecard{display:-ms-flexbox;display:flex}.stzh-servicecard__header-right.sc-stzh-servicecard{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-servicecard__header-right.sc-stzh-servicecard{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1024px){.stzh-servicecard__header-right.sc-stzh-servicecard{padding-left:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-servicecard__header-right.sc-stzh-servicecard{padding-left:var(--stzh-space-large)}}.stzh-servicecard__header.sc-stzh-servicecard,.stzh-servicecard__columns.sc-stzh-servicecard{padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-servicecard__header.sc-stzh-servicecard,.stzh-servicecard__columns.sc-stzh-servicecard{padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-servicecard__header.sc-stzh-servicecard,.stzh-servicecard__columns.sc-stzh-servicecard{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}.stzh-servicecard__left.sc-stzh-servicecard{-ms-flex-item-align:center;align-self:center}.stzh-servicecard__title-area.sc-stzh-servicecard{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-servicecard__title.sc-stzh-servicecard,.stzh-servicecard__subtitle.sc-stzh-servicecard{margin:0}.stzh-servicecard__title.sc-stzh-servicecard{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 600px){.stzh-servicecard__title.sc-stzh-servicecard{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-servicecard__title.sc-stzh-servicecard{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-servicecard__subtitle.sc-stzh-servicecard{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-servicecard__subtitle.sc-stzh-servicecard{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-servicecard__subtitle-text.sc-stzh-servicecard{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-servicecard__subtitle-text.sc-stzh-servicecard::after{content:",";position:absolute;left:0}.stzh-servicecard__columns.sc-stzh-servicecard{margin-top:var(--stzh-space-medium);margin-bottom:var(--stzh-space-medium);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-servicecard__columns.sc-stzh-servicecard{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-servicecard__columns.sc-stzh-servicecard{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-servicecard__columns.sc-stzh-servicecard{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-servicecard__columns.sc-stzh-servicecard{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-servicecard__columns.sc-stzh-servicecard{display:grid;grid-template-columns:50% 50%;grid-template-rows:auto auto;margin-left:calc(var(--stzh-space-medium) / -1);margin-right:calc(var(--stzh-space-medium) / -1)}}@media screen and (min-width: 1024px){.stzh-servicecard__columns.sc-stzh-servicecard{grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;margin-left:calc(var(--stzh-space-large) / -1);margin-right:calc(var(--stzh-space-large) / -1)}}@media screen and (min-width: 1260px){.stzh-servicecard__columns.sc-stzh-servicecard{margin-left:calc(var(--stzh-space-xlarge) / -1);margin-right:calc(var(--stzh-space-xlarge) / -1)}}@media screen and (min-width: 800px){.stzh-servicecard__column.sc-stzh-servicecard{padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.stzh-servicecard__column.sc-stzh-servicecard{padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-servicecard__column.sc-stzh-servicecard{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){.stzh-servicecard__column.is-left.sc-stzh-servicecard{grid-column:1/span 1;grid-row:1/span 2}}@media screen and (min-width: 1024px){.stzh-servicecard__column.is-left.sc-stzh-servicecard{grid-column:1/span 2;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard__column.is-middle.sc-stzh-servicecard{grid-column:2/span 1;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard__column.is-right.sc-stzh-servicecard{align-self:end;grid-column:2/span 1;grid-row:2/span 1}}@media screen and (min-width: 1024px){.stzh-servicecard__column.is-right.sc-stzh-servicecard{grid-column:3/span 1;grid-row:1/span 1}}.stzh-servicecard__column.sc-stzh-servicecard:not(:empty):not(:first-child):not(.has-no-spacing){margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-servicecard__column.sc-stzh-servicecard:not(:empty):not(:first-child):not(.has-no-spacing){margin-top:0}}@media screen and (min-width: 800px){.stzh-servicecard__column.is-middle.sc-stzh-servicecard:empty+.stzh-servicecard__column.is-right.sc-stzh-servicecard{margin-top:0}}.stzh-servicecard__column.is-left.sc-stzh-servicecard:empty+.stzh-servicecard__column.is-middle.sc-stzh-servicecard:not(:empty),.stzh-servicecard__column.is-left.sc-stzh-servicecard:empty+.stzh-servicecard__column.is-middle.sc-stzh-servicecard:empty+.stzh-servicecard__column.is-right.sc-stzh-servicecard:not(:empty){margin-top:0}.stzh-servicecard__card-actions.sc-stzh-servicecard{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-servicecard__card-action.sc-stzh-servicecard{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-servicecard__card-action[variant=tertiary].sc-stzh-servicecard{--color:var(--stzh-color-grey70)}.stzh-servicecard__card-action.is-button.sc-stzh-servicecard{--icon-size:var(--stzh-icon-size-small)}.stzh-servicecard__card-action.is-placeholder.sc-stzh-servicecard{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-servicecard__card-action-popover.sc-stzh-servicecard{--width:auto}@media screen and (min-width: 800px){.stzh-servicecard--has-middle.sc-stzh-servicecard .stzh-servicecard__column.is-left.sc-stzh-servicecard{grid-column:1/span 1;grid-row:1/span 2}}@media screen and (min-width: 1024px){.stzh-servicecard--has-middle.sc-stzh-servicecard .stzh-servicecard__column.is-left.sc-stzh-servicecard{grid-column:1/span 1;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard--middle-to-right.sc-stzh-servicecard .stzh-servicecard__column.is-middle.sc-stzh-servicecard{margin-top:0}}@media screen and (min-width: 800px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-left.sc-stzh-servicecard{grid-column:1/span 1;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-right.sc-stzh-servicecard{grid-column:2/span 1;grid-row:1/span 2}}@media screen and (min-width: 1024px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-right.sc-stzh-servicecard{grid-column:3/span 1;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-middle.sc-stzh-servicecard{grid-column:1/span 1;grid-row:2/span 1}}@media screen and (min-width: 1024px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-middle.sc-stzh-servicecard{grid-column:2/span 1;grid-row:1/span 1}}@media screen and (min-width: 800px){.stzh-servicecard--middle-to-left.sc-stzh-servicecard .stzh-servicecard__column.is-right.sc-stzh-servicecard{margin-top:0}}.stzh-servicecard--has-subtitle-interactive.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-servicecard--has-subtitle-interactive.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard:hover,.stzh-servicecard--has-subtitle-interactive.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-servicecard--type-alert.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard{color:var(--stzh-color-error)}.stzh-servicecard--type-alert.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard:hover,.stzh-servicecard--type-alert.sc-stzh-servicecard .stzh-servicecard__subtitle.sc-stzh-servicecard:focus{color:var(--stzh-color-error)}.stzh-servicecard--is-collapsed.sc-stzh-servicecard .hide-when-collapsed.sc-stzh-servicecard,.stzh-servicecard--has-collapsed-header.sc-stzh-servicecard .stzh-servicecard__header.sc-stzh-servicecard .hide-when-collapsed.sc-stzh-servicecard{display:none}.stzh-servicecard--is-collapsed.sc-stzh-servicecard .show-when-collapsed.sc-stzh-servicecard,.stzh-servicecard--has-collapsed-header.sc-stzh-servicecard .stzh-servicecard__header.sc-stzh-servicecard .show-when-collapsed.sc-stzh-servicecard{display:block}.stzh-servicecard--is-collapsed.sc-stzh-servicecard .stzh-servicecard__header.sc-stzh-servicecard{border-bottom:none}.stzh-servicecard--is-collapsed.sc-stzh-servicecard .stzh-servicecard__card-action.sc-stzh-servicecard,.stzh-servicecard--has-collapsed-header.sc-stzh-servicecard .stzh-servicecard__card-action.sc-stzh-servicecard{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-servicecard--is-starred.sc-stzh-servicecard .stzh-servicecard__card-action.is-star.sc-stzh-servicecard{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-servicecard--is-starred.sc-stzh-servicecard .stzh-servicecard__card-action.is-star.sc-stzh-servicecard:hover,.stzh-servicecard--is-starred.sc-stzh-servicecard .stzh-servicecard__card-action.is-star.sc-stzh-servicecard:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}';export{o as stzh_servicecard}