@oiz/stzh-components 2.2.0-beta → 2.3.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 (851) hide show
  1. package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
  2. package/dist/cjs/{app-globals-f4ad4e99.js → app-globals-13e786d3.js} +1 -1
  3. package/dist/cjs/{arrow-3c3b0ae5.js → arrow-cd521f34.js} +468 -478
  4. package/dist/cjs/axios-7ec96df7.js +3167 -0
  5. package/dist/cjs/{dom-9deb26c8.js → dom-be1edfde.js} +1 -1
  6. package/dist/cjs/{focus-trap.esm-1cb6bb2e.js → focus-trap.esm-34a1a0d0.js} +188 -278
  7. package/dist/cjs/{index-9fcb4305.js → index-83d427ee.js} +113 -3
  8. package/dist/cjs/loader.cjs.js +5 -4
  9. package/dist/cjs/{shadow-css-bf3843d2.js → shadow-css-54f5c2d9.js} +1 -1
  10. package/dist/cjs/stzh-accordion-item.cjs.entry.js +6 -3
  11. package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-actionset.cjs.entry.js +15 -5
  14. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-card_3.cjs.entry.js +47 -12
  21. package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1471 -404
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-chip_2.cjs.entry.js +132 -0
  26. package/dist/cjs/stzh-components.cjs.js +27 -5
  27. package/dist/cjs/stzh-contact.cjs.entry.js +91 -0
  28. package/dist/cjs/stzh-container.cjs.entry.js +3 -2
  29. package/dist/cjs/stzh-cspace.cjs.entry.js +2 -2
  30. package/dist/cjs/stzh-datalist_2.cjs.entry.js +33 -13
  31. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +4 -3
  32. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-datatable.cjs.entry.js +32 -31
  34. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +4 -4
  35. package/dist/cjs/stzh-details.cjs.entry.js +5 -2
  36. package/dist/cjs/stzh-dialog.cjs.entry.js +6 -6
  37. package/dist/cjs/stzh-dropdown.cjs.entry.js +1057 -426
  38. package/dist/cjs/stzh-fieldset.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-figure.cjs.entry.js +5 -3
  40. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-header.cjs.entry.js +6 -5
  44. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-hspace.cjs.entry.js +4 -3
  47. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  48. package/dist/cjs/{stzh-input-description-4326b0d9.js → stzh-input-description-2edc5cac.js} +1 -1
  49. package/dist/cjs/stzh-input.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-invert.cjs.entry.js +23 -0
  51. package/dist/cjs/stzh-langnav.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-list.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +4 -4
  61. package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-overlay.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-pagebottom.cjs.entry.js +5 -2
  65. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
  66. package/dist/cjs/stzh-pagetitle.cjs.entry.js +9 -1
  67. package/dist/cjs/stzh-popover.cjs.entry.js +22 -8
  68. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +6 -4
  70. package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-ratio.cjs.entry.js +26 -0
  72. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-row.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-share.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-show.cjs.entry.js +41 -0
  78. package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
  79. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-sortable.cjs.entry.js +10 -66
  81. package/dist/cjs/stzh-space.cjs.entry.js +34 -0
  82. package/dist/cjs/stzh-status.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-sticky.cjs.entry.js +5 -3
  84. package/dist/cjs/stzh-table.cjs.entry.js +3 -2
  85. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-textandimage.cjs.entry.js +4 -2
  87. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  88. package/dist/cjs/stzh-tooltip.cjs.entry.js +32 -11
  89. package/dist/cjs/stzh-upload.cjs.entry.js +6 -3
  90. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +784 -691
  91. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +7 -7
  92. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +3 -3
  93. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-vspace.cjs.entry.js +4 -3
  95. package/dist/collection/assets/i18n/de.json +10 -7
  96. package/dist/collection/assets/i18n/en.json +11 -8
  97. package/dist/collection/collection-manifest.json +7 -3
  98. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
  99. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +1 -0
  100. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +3 -0
  101. package/dist/collection/components/stzh-actionset/stzh-actionset.css +11 -0
  102. package/dist/collection/components/stzh-actionset/stzh-actionset.js +18 -8
  103. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +5 -5
  104. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +1 -3
  105. package/dist/collection/components/stzh-button/stzh-button.css +13 -4
  106. package/dist/collection/components/stzh-button/stzh-button.stories.js +21 -17
  107. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
  108. package/dist/collection/components/stzh-card/stzh-card.css +34 -16
  109. package/dist/collection/components/stzh-card/stzh-card.js +26 -4
  110. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  111. package/dist/collection/components/stzh-chart/stzh-chart.css +55 -37
  112. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +1 -0
  113. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
  114. package/dist/collection/components/stzh-chip/stzh-chip.css +68 -6
  115. package/dist/collection/components/stzh-chip/stzh-chip.js +52 -5
  116. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +7 -0
  117. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +8 -0
  118. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +41 -4
  119. package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
  120. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.css → stzh-contact/stzh-contact.css} +22 -22
  121. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.js → stzh-contact/stzh-contact.js} +25 -25
  122. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.stories.js → stzh-contact/stzh-contact.stories.js} +10 -9
  123. package/dist/collection/components/stzh-container/stzh-container.css +11 -1
  124. package/dist/collection/components/stzh-container/stzh-container.js +26 -1
  125. package/dist/collection/components/stzh-container/stzh-container.stories.js +6 -1
  126. package/dist/collection/components/stzh-cspace/stzh-cspace.css +136 -43
  127. package/dist/collection/components/stzh-datalist/stzh-datalist.css +12 -0
  128. package/dist/collection/components/stzh-datalist/stzh-datalist.js +19 -0
  129. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +2 -1
  130. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +28 -12
  131. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +35 -13
  132. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
  133. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
  134. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  135. package/dist/collection/components/stzh-datatable/stzh-datatable.js +20 -1
  136. package/dist/collection/components/stzh-details/stzh-details.js +3 -0
  137. package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
  138. package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
  139. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  140. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +9 -8
  141. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +1 -0
  142. package/dist/collection/components/stzh-figure/stzh-figure.css +8 -5
  143. package/dist/collection/components/stzh-figure/stzh-figure.js +21 -1
  144. package/dist/collection/components/stzh-footer/stzh-footer.css +1 -0
  145. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +13 -1
  146. package/dist/collection/components/stzh-header/stzh-header.css +5 -1
  147. package/dist/collection/components/stzh-header/stzh-header.js +4 -3
  148. package/dist/collection/components/stzh-header/stzh-header.stories.js +47 -39
  149. package/dist/collection/components/stzh-hspace/stzh-hspace.css +166 -138
  150. package/dist/collection/components/stzh-hspace/stzh-hspace.js +30 -6
  151. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  152. package/dist/collection/components/stzh-input/stzh-input.css +1 -0
  153. package/dist/collection/components/stzh-invert/stzh-invert.css +158 -0
  154. package/dist/collection/components/stzh-invert/stzh-invert.js +25 -0
  155. package/dist/collection/components/stzh-invert/stzh-invert.stories.js +55 -0
  156. package/dist/collection/components/stzh-link/stzh-link.css +1 -0
  157. package/dist/collection/components/stzh-link/stzh-link.stories.js +11 -19
  158. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
  159. package/dist/collection/components/stzh-message/stzh-message.css +1 -0
  160. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  161. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  162. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +4 -1
  163. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
  164. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +8 -0
  165. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +6 -6
  166. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +14 -1
  167. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +4 -6
  168. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -1
  169. package/dist/collection/components/stzh-popover/stzh-popover.js +18 -4
  170. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -7
  171. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +34 -9
  172. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +2 -2
  173. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +2 -1
  174. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +147 -10
  175. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +22 -2
  176. package/dist/collection/components/stzh-radio/stzh-radio.css +1 -0
  177. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
  178. package/dist/collection/components/stzh-ratio/stzh-ratio.css +172 -0
  179. package/dist/collection/components/stzh-ratio/stzh-ratio.js +88 -0
  180. package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +35 -0
  181. package/dist/collection/components/stzh-richtext/stzh-richtext.css +10 -5
  182. package/dist/collection/components/stzh-show/stzh-show.css +165 -0
  183. package/dist/collection/components/stzh-show/stzh-show.js +158 -0
  184. package/dist/collection/components/stzh-show/stzh-show.stories.js +52 -0
  185. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +1 -1
  186. package/dist/collection/components/stzh-sortable/stzh-sortable.js +6 -3
  187. package/dist/collection/components/stzh-space/stzh-space.css +842 -0
  188. package/dist/collection/components/stzh-space/stzh-space.js +262 -0
  189. package/dist/collection/components/stzh-space/stzh-space.stories.js +76 -0
  190. package/dist/collection/components/stzh-sticky/stzh-sticky.css +9 -0
  191. package/dist/collection/components/stzh-sticky/stzh-sticky.js +21 -1
  192. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -1
  193. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  194. package/dist/collection/components/stzh-table/stzh-table.js +19 -0
  195. package/dist/collection/components/stzh-text/stzh-text.css +2 -2
  196. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +38 -2
  197. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +20 -0
  198. package/dist/collection/components/stzh-toggle/stzh-toggle.css +1 -0
  199. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
  200. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +28 -7
  201. package/dist/collection/components/stzh-upload/stzh-upload.css +1 -0
  202. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -0
  203. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +2 -1
  204. package/dist/collection/components/stzh-vspace/stzh-vspace.css +157 -129
  205. package/dist/collection/components/stzh-vspace/stzh-vspace.js +30 -6
  206. package/dist/collection/pages/egov.stories.js +191 -183
  207. package/dist/collection/pages/meinkonto.stories.js +368 -512
  208. package/dist/collection/pages/microsite.stories.js +235 -0
  209. package/dist/collection/pages/website.stories.js +139 -0
  210. package/dist/collection/patterns/appointments.stories.js +2 -2
  211. package/dist/collection/patterns/contact.stories.js +67 -41
  212. package/dist/collection/patterns/contactform.stories.js +2 -2
  213. package/dist/collection/patterns/jobdetails.stories.js +151 -0
  214. package/dist/collection/patterns/subpages.stories.js +6 -6
  215. package/dist/collection/patterns/twocolumns.stories.js +46 -0
  216. package/dist/collection/utils/animation-utils.js +3 -0
  217. package/dist/components/animation-utils.js +3 -0
  218. package/dist/components/arrow.js +468 -478
  219. package/dist/components/axios.js +3165 -0
  220. package/dist/components/date-utils.js +159 -0
  221. package/dist/components/focus-trap.esm.js +188 -278
  222. package/dist/components/index.d.ts +14 -1
  223. package/dist/components/index.js +7 -3
  224. package/dist/components/stzh-accordion-item.js +4 -1
  225. package/dist/components/stzh-actionset2.js +16 -6
  226. package/dist/components/stzh-anchornav.js +1 -1
  227. package/dist/components/stzh-appointments.js +2 -1
  228. package/dist/components/stzh-button2.js +1 -1
  229. package/dist/components/stzh-calendar2.js +3 -160
  230. package/dist/components/stzh-card2.js +9 -5
  231. package/dist/components/stzh-chart.js +1470 -403
  232. package/dist/components/stzh-checkbox.js +1 -1
  233. package/dist/components/stzh-checkboxgroup.js +1 -1
  234. package/dist/components/stzh-chip-select2.js +47 -8
  235. package/dist/components/stzh-chip2.js +26 -6
  236. package/dist/components/stzh-clamp2.js +1 -1
  237. package/dist/components/{stzh-contactaddress.d.ts → stzh-contact.d.ts} +4 -4
  238. package/dist/components/stzh-contact.js +157 -0
  239. package/dist/components/stzh-container.js +5 -2
  240. package/dist/components/stzh-cspace.js +1 -1
  241. package/dist/components/stzh-datalist-item2.js +30 -11
  242. package/dist/components/stzh-datalist2.js +3 -1
  243. package/dist/components/stzh-datamessagelist-item.js +3 -2
  244. package/dist/components/stzh-datatable.js +32 -30
  245. package/dist/components/stzh-datepicker2.js +2 -1
  246. package/dist/components/stzh-details.js +3 -0
  247. package/dist/components/stzh-dialog.js +4 -4
  248. package/dist/components/stzh-dropdown2.js +1055 -424
  249. package/dist/components/stzh-fieldset.js +1 -1
  250. package/dist/components/stzh-figure.js +6 -3
  251. package/dist/components/stzh-footer.js +1 -1
  252. package/dist/components/stzh-ghettobox2.js +1 -1
  253. package/dist/components/stzh-header.js +5 -4
  254. package/dist/components/stzh-hspace.js +8 -5
  255. package/dist/components/stzh-icon2.js +1 -1
  256. package/dist/components/stzh-input2.js +1 -1
  257. package/dist/components/stzh-invert.d.ts +11 -0
  258. package/dist/components/stzh-invert.js +36 -0
  259. package/dist/components/stzh-link2.js +1 -1
  260. package/dist/components/stzh-menu-item2.js +1 -1
  261. package/dist/components/stzh-message.js +1 -1
  262. package/dist/components/stzh-microsite-teaserlist.js +2 -2
  263. package/dist/components/stzh-olmap.js +1 -1
  264. package/dist/components/stzh-pagebottom.js +4 -1
  265. package/dist/components/stzh-pagetitle-hero.js +1 -1
  266. package/dist/components/stzh-pagetitle.js +8 -0
  267. package/dist/components/stzh-popover2.js +18 -4
  268. package/dist/components/stzh-portal-mitwirken.js +1 -1
  269. package/dist/components/stzh-progressbar-item2.js +6 -3
  270. package/dist/components/stzh-progressbar.js +1 -1
  271. package/dist/components/stzh-radio2.js +1 -1
  272. package/dist/components/stzh-radiogroup2.js +1 -1
  273. package/dist/components/stzh-ratio.d.ts +11 -0
  274. package/dist/components/stzh-ratio.js +43 -0
  275. package/dist/components/stzh-richtext2.js +1 -1
  276. package/dist/components/stzh-show.d.ts +11 -0
  277. package/dist/components/stzh-show.js +62 -0
  278. package/dist/components/stzh-sitemap.js +1 -1
  279. package/dist/components/stzh-sortable2.js +9 -65
  280. package/dist/components/stzh-space.d.ts +11 -0
  281. package/dist/components/stzh-space.js +59 -0
  282. package/dist/components/stzh-sticky.js +5 -2
  283. package/dist/components/stzh-table.js +3 -1
  284. package/dist/components/stzh-text2.js +1 -1
  285. package/dist/components/stzh-textandimage.js +4 -1
  286. package/dist/components/stzh-toggle.js +1 -1
  287. package/dist/components/stzh-tooltip2.js +28 -7
  288. package/dist/components/stzh-upload.js +4 -1
  289. package/dist/components/stzh-vbz-linechip2.js +774 -681
  290. package/dist/components/stzh-vbz-majorticker.js +1 -1
  291. package/dist/components/stzh-vbz-ticker.js +1 -1
  292. package/dist/components/stzh-vspace.js +8 -5
  293. package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
  294. package/dist/esm/{app-globals-17c2ba8d.js → app-globals-2e508622.js} +1 -1
  295. package/dist/esm/{arrow-86a679c7.js → arrow-480bc86f.js} +468 -478
  296. package/dist/esm/axios-e2b39666.js +3165 -0
  297. package/dist/esm/{dom-6be6f662.js → dom-c525f6e4.js} +1 -1
  298. package/dist/esm/{focus-trap.esm-074705a3.js → focus-trap.esm-82634dec.js} +188 -278
  299. package/dist/esm/{index-011c84fe.js → index-319b7c49.js} +112 -4
  300. package/dist/esm/loader.js +5 -4
  301. package/dist/esm/polyfills/css-shim.js +1 -1
  302. package/dist/esm/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +1 -1
  303. package/dist/esm/stzh-accordion-item.entry.js +6 -3
  304. package/dist/esm/stzh-accordion.entry.js +1 -1
  305. package/dist/esm/stzh-actions.entry.js +1 -1
  306. package/dist/esm/stzh-actionset.entry.js +16 -6
  307. package/dist/esm/stzh-anchornav.entry.js +2 -2
  308. package/dist/esm/stzh-appnav.entry.js +1 -1
  309. package/dist/esm/stzh-appointments.entry.js +1 -1
  310. package/dist/esm/stzh-audio.entry.js +1 -1
  311. package/dist/esm/stzh-badge_3.entry.js +3 -3
  312. package/dist/esm/stzh-calendar.entry.js +2 -2
  313. package/dist/esm/stzh-card_3.entry.js +47 -12
  314. package/dist/esm/stzh-cell.entry.js +1 -1
  315. package/dist/esm/stzh-chart.entry.js +1471 -404
  316. package/dist/esm/stzh-checkbox.entry.js +3 -3
  317. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  318. package/dist/esm/stzh-chip_2.entry.js +127 -0
  319. package/dist/esm/stzh-components.js +24 -5
  320. package/dist/esm/stzh-contact.entry.js +87 -0
  321. package/dist/esm/stzh-container.entry.js +3 -2
  322. package/dist/esm/stzh-cspace.entry.js +2 -2
  323. package/dist/esm/stzh-datalist_2.entry.js +33 -13
  324. package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
  325. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  326. package/dist/esm/stzh-datatable.entry.js +32 -31
  327. package/dist/esm/stzh-datepicker_3.entry.js +4 -4
  328. package/dist/esm/stzh-details.entry.js +5 -2
  329. package/dist/esm/stzh-dialog.entry.js +6 -6
  330. package/dist/esm/stzh-dropdown.entry.js +1057 -426
  331. package/dist/esm/stzh-fieldset.entry.js +2 -2
  332. package/dist/esm/stzh-figure.entry.js +5 -3
  333. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  334. package/dist/esm/stzh-footer.entry.js +2 -2
  335. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  336. package/dist/esm/stzh-header.entry.js +6 -5
  337. package/dist/esm/stzh-heading.entry.js +1 -1
  338. package/dist/esm/stzh-hr.entry.js +1 -1
  339. package/dist/esm/stzh-hspace.entry.js +4 -3
  340. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  341. package/dist/esm/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
  342. package/dist/esm/stzh-input.entry.js +3 -3
  343. package/dist/esm/stzh-invert.entry.js +19 -0
  344. package/dist/esm/stzh-langnav.entry.js +1 -1
  345. package/dist/esm/stzh-link.entry.js +2 -2
  346. package/dist/esm/stzh-list-item.entry.js +1 -1
  347. package/dist/esm/stzh-list.entry.js +1 -1
  348. package/dist/esm/stzh-loader.entry.js +1 -1
  349. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  350. package/dist/esm/stzh-menu_2.entry.js +2 -2
  351. package/dist/esm/stzh-message.entry.js +2 -2
  352. package/dist/esm/stzh-metanav.entry.js +1 -1
  353. package/dist/esm/stzh-microsite-teaserlist.entry.js +3 -3
  354. package/dist/esm/stzh-olmap.entry.js +2 -2
  355. package/dist/esm/stzh-overlay.entry.js +2 -2
  356. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  357. package/dist/esm/stzh-pagebottom.entry.js +5 -2
  358. package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
  359. package/dist/esm/stzh-pagetitle.entry.js +9 -1
  360. package/dist/esm/stzh-popover.entry.js +22 -8
  361. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  362. package/dist/esm/stzh-progressbar-item.entry.js +6 -4
  363. package/dist/esm/stzh-progressbar.entry.js +2 -2
  364. package/dist/esm/stzh-ratio.entry.js +22 -0
  365. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  366. package/dist/esm/stzh-row.entry.js +1 -1
  367. package/dist/esm/stzh-saptcha.entry.js +1 -1
  368. package/dist/esm/stzh-section.entry.js +1 -1
  369. package/dist/esm/stzh-share.entry.js +1 -1
  370. package/dist/esm/stzh-show.entry.js +37 -0
  371. package/dist/esm/stzh-sitemap.entry.js +2 -2
  372. package/dist/esm/stzh-skiplink.entry.js +1 -1
  373. package/dist/esm/stzh-sortable.entry.js +10 -66
  374. package/dist/esm/stzh-space.entry.js +30 -0
  375. package/dist/esm/stzh-status.entry.js +1 -1
  376. package/dist/esm/stzh-sticky.entry.js +5 -3
  377. package/dist/esm/stzh-table.entry.js +3 -2
  378. package/dist/esm/stzh-text.entry.js +2 -2
  379. package/dist/esm/stzh-textandimage.entry.js +4 -2
  380. package/dist/esm/stzh-toggle.entry.js +3 -3
  381. package/dist/esm/stzh-tooltip.entry.js +32 -11
  382. package/dist/esm/stzh-upload.entry.js +6 -3
  383. package/dist/esm/stzh-vbz-linechip.entry.js +785 -692
  384. package/dist/esm/stzh-vbz-majorticker.entry.js +2 -2
  385. package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
  386. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  387. package/dist/esm/stzh-vspace.entry.js +4 -3
  388. package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
  389. package/dist/esm-es5/app-globals-2e508622.js +1 -0
  390. package/dist/esm-es5/arrow-480bc86f.js +1 -0
  391. package/dist/esm-es5/axios-e2b39666.js +1 -0
  392. package/dist/esm-es5/{dom-6be6f662.js → dom-c525f6e4.js} +0 -0
  393. package/dist/esm-es5/focus-trap.esm-82634dec.js +9 -0
  394. package/dist/esm-es5/index-319b7c49.js +2 -0
  395. package/dist/esm-es5/loader.js +1 -1
  396. package/dist/esm-es5/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +0 -0
  397. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  398. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  399. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  400. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  401. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  402. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  403. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  404. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  405. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  406. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  407. package/dist/esm-es5/stzh-card_3.entry.js +1 -1
  408. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  409. package/dist/esm-es5/stzh-chart.entry.js +3 -3
  410. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  411. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  412. package/dist/esm-es5/stzh-chip_2.entry.js +1 -0
  413. package/dist/esm-es5/stzh-components.js +1 -1
  414. package/dist/esm-es5/stzh-contact.entry.js +1 -0
  415. package/dist/esm-es5/stzh-container.entry.js +1 -1
  416. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  417. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  418. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  419. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  420. package/dist/esm-es5/stzh-datatable.entry.js +4 -4
  421. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  422. package/dist/esm-es5/stzh-details.entry.js +1 -1
  423. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  424. package/dist/esm-es5/stzh-dropdown.entry.js +9 -1
  425. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  426. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  427. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  428. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  429. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  430. package/dist/esm-es5/stzh-header.entry.js +1 -1
  431. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  432. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  433. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  434. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  435. package/dist/esm-es5/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
  436. package/dist/esm-es5/stzh-input.entry.js +1 -1
  437. package/dist/esm-es5/stzh-invert.entry.js +1 -0
  438. package/dist/esm-es5/stzh-langnav.entry.js +1 -1
  439. package/dist/esm-es5/stzh-link.entry.js +1 -1
  440. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  441. package/dist/esm-es5/stzh-list.entry.js +1 -1
  442. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  443. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  444. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  445. package/dist/esm-es5/stzh-message.entry.js +1 -1
  446. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  447. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
  448. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  449. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  450. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  451. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  452. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  453. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  454. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  455. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  456. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  457. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  458. package/dist/esm-es5/stzh-ratio.entry.js +1 -0
  459. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  460. package/dist/esm-es5/stzh-row.entry.js +1 -1
  461. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  462. package/dist/esm-es5/stzh-section.entry.js +1 -1
  463. package/dist/esm-es5/stzh-share.entry.js +1 -1
  464. package/dist/esm-es5/stzh-show.entry.js +1 -0
  465. package/dist/esm-es5/stzh-sitemap.entry.js +1 -1
  466. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  467. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  468. package/dist/esm-es5/stzh-space.entry.js +1 -0
  469. package/dist/esm-es5/stzh-status.entry.js +1 -1
  470. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  471. package/dist/esm-es5/stzh-table.entry.js +1 -1
  472. package/dist/esm-es5/stzh-text.entry.js +1 -1
  473. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  474. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  475. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  476. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  477. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  478. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  479. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  480. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  481. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  482. package/dist/esm-es5/translation-utils-2623783f.js +1 -1
  483. package/dist/stzh-components/assets/i18n/de.json +10 -7
  484. package/dist/stzh-components/assets/i18n/en.json +11 -8
  485. package/dist/stzh-components/p-00c4c8c0.system.entry.js +1 -0
  486. package/dist/stzh-components/p-013d269a.system.entry.js +1 -0
  487. package/dist/stzh-components/p-0447b178.system.entry.js +1 -0
  488. package/dist/stzh-components/p-04d390eb.entry.js +1 -0
  489. package/dist/stzh-components/p-06f5abab.system.entry.js +1 -0
  490. package/dist/stzh-components/{p-9176246f.entry.js → p-0930004d.entry.js} +1 -1
  491. package/dist/stzh-components/p-09f582cd.entry.js +1 -0
  492. package/dist/stzh-components/p-0a2de4e8.entry.js +1 -0
  493. package/dist/stzh-components/p-0ada0b0a.system.entry.js +1 -0
  494. package/dist/stzh-components/p-0af8a184.system.entry.js +1 -0
  495. package/dist/stzh-components/p-0afba769.entry.js +1 -0
  496. package/dist/stzh-components/p-0ce8b383.system.js +1 -0
  497. package/dist/stzh-components/p-0f882e26.system.entry.js +1 -0
  498. package/dist/stzh-components/{p-fbf2f4ed.system.entry.js → p-101f9b11.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-cff8376e.entry.js → p-12564ee4.entry.js} +1 -1
  500. package/dist/stzh-components/p-125a8244.entry.js +1 -0
  501. package/dist/stzh-components/{p-bee6eef5.entry.js → p-126a0f14.entry.js} +1 -1
  502. package/dist/stzh-components/p-12e03b78.system.entry.js +1 -0
  503. package/dist/stzh-components/{p-30ae5c00.system.entry.js → p-16b3d4ee.system.entry.js} +1 -1
  504. package/dist/stzh-components/p-1783b15a.js +12 -0
  505. package/dist/stzh-components/p-1c2c9ca8.entry.js +1 -0
  506. package/dist/stzh-components/p-1f925e84.system.entry.js +1 -0
  507. package/dist/stzh-components/p-20bd79d0.entry.js +1 -0
  508. package/dist/stzh-components/p-246cd179.js +1 -0
  509. package/dist/stzh-components/p-26889a91.entry.js +9 -0
  510. package/dist/stzh-components/p-2ad73c0c.system.entry.js +1 -0
  511. package/dist/stzh-components/p-2b67b0b3.system.entry.js +9 -0
  512. package/dist/stzh-components/p-2ba88798.entry.js +1 -0
  513. package/dist/stzh-components/{p-60274e67.system.entry.js → p-2c490268.system.entry.js} +1 -1
  514. package/dist/stzh-components/p-2e6ef670.entry.js +1 -0
  515. package/dist/stzh-components/p-2f4448c9.system.entry.js +1 -0
  516. package/dist/stzh-components/{p-376946bc.entry.js → p-2f4c5e18.entry.js} +1 -1
  517. package/dist/stzh-components/p-3238b0bf.entry.js +1 -0
  518. package/dist/stzh-components/p-36e72c1d.system.js +2 -0
  519. package/dist/stzh-components/{p-fd265f3a.entry.js → p-38e7645a.entry.js} +1 -1
  520. package/dist/stzh-components/{p-ed6adb96.entry.js → p-3b00d8b8.entry.js} +1 -1
  521. package/dist/stzh-components/p-3e433996.entry.js +1 -0
  522. package/dist/stzh-components/p-3f676d99.system.entry.js +1 -0
  523. package/dist/stzh-components/{p-0c8427bc.entry.js → p-40798ed2.entry.js} +1 -1
  524. package/dist/stzh-components/p-418e04f7.system.entry.js +1 -0
  525. package/dist/stzh-components/{p-3145cd2f.entry.js → p-41fa7e81.entry.js} +1 -1
  526. package/dist/stzh-components/p-4370efe7.entry.js +1 -0
  527. package/dist/stzh-components/p-444b2baf.entry.js +1 -0
  528. package/dist/stzh-components/p-44b03dbb.js +10 -0
  529. package/dist/stzh-components/{p-2577ca1e.system.entry.js → p-44d10402.system.entry.js} +1 -1
  530. package/dist/stzh-components/{p-ed0d51b6.entry.js → p-46d07ed7.entry.js} +1 -1
  531. package/dist/stzh-components/p-470182bb.system.entry.js +1 -0
  532. package/dist/stzh-components/{p-669896ec.entry.js → p-48dee587.entry.js} +1 -1
  533. package/dist/stzh-components/p-48e835cf.system.js +1 -0
  534. package/dist/stzh-components/{p-55b7cda7.system.entry.js → p-4a298117.system.entry.js} +1 -1
  535. package/dist/stzh-components/p-4a60b27f.entry.js +1 -0
  536. package/dist/stzh-components/p-4d8c81b2.system.entry.js +1 -0
  537. package/dist/stzh-components/p-5011f10c.js +1 -0
  538. package/dist/stzh-components/{p-f027e569.system.entry.js → p-512c38b3.system.entry.js} +1 -1
  539. package/dist/stzh-components/p-51b3a560.system.entry.js +1 -0
  540. package/dist/stzh-components/p-537adcfe.system.entry.js +3 -0
  541. package/dist/stzh-components/{p-13051e1c.js → p-538882c8.js} +0 -0
  542. package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
  543. package/dist/stzh-components/p-55752bd5.system.entry.js +1 -0
  544. package/dist/stzh-components/p-563b1abc.system.entry.js +1 -0
  545. package/dist/stzh-components/p-59793ef8.system.entry.js +1 -0
  546. package/dist/stzh-components/{p-6a0a76b3.entry.js → p-5b162e4f.entry.js} +1 -1
  547. package/dist/stzh-components/{p-0409bf6b.system.entry.js → p-5c717080.system.entry.js} +1 -1
  548. package/dist/stzh-components/p-5cb1cd93.system.entry.js +1 -0
  549. package/dist/stzh-components/p-5f9b58fb.system.entry.js +1 -0
  550. package/dist/stzh-components/{p-e7cf6c45.system.entry.js → p-617ece76.system.entry.js} +1 -1
  551. package/dist/stzh-components/{p-104df3a8.system.entry.js → p-6414454e.system.entry.js} +1 -1
  552. package/dist/stzh-components/p-6496df0a.system.entry.js +9 -0
  553. package/dist/stzh-components/p-64cdef2f.entry.js +1 -0
  554. package/dist/stzh-components/p-64e27ac1.entry.js +1 -0
  555. package/dist/stzh-components/p-655e3c46.system.entry.js +1 -0
  556. package/dist/stzh-components/{p-b0d8866d.entry.js → p-65ea23f6.entry.js} +1 -1
  557. package/dist/stzh-components/p-668b4025.system.entry.js +1 -0
  558. package/dist/stzh-components/{p-f03ce92d.system.entry.js → p-6722e89a.system.entry.js} +1 -1
  559. package/dist/stzh-components/p-67ae4994.entry.js +1 -0
  560. package/dist/stzh-components/{p-f39f347c.system.js → p-6845b6ac.system.js} +0 -0
  561. package/dist/stzh-components/p-6adc5f0c.system.entry.js +1 -0
  562. package/dist/stzh-components/p-6c80b920.system.entry.js +1 -0
  563. package/dist/stzh-components/p-6dbf976b.entry.js +1 -0
  564. package/dist/stzh-components/{p-eade9f77.entry.js → p-6e3231ce.entry.js} +1 -1
  565. package/dist/stzh-components/p-705aa56d.entry.js +1 -0
  566. package/dist/stzh-components/{p-288ee536.system.entry.js → p-70f85be3.system.entry.js} +1 -1
  567. package/dist/stzh-components/{p-62a2684d.entry.js → p-7185f634.entry.js} +1 -1
  568. package/dist/stzh-components/{p-11d7b426.system.entry.js → p-74d6e349.system.entry.js} +1 -1
  569. package/dist/stzh-components/p-77d0a54b.system.entry.js +1 -0
  570. package/dist/stzh-components/p-7b0c04b3.system.entry.js +1 -0
  571. package/dist/stzh-components/{p-2b5b1e4a.system.entry.js → p-7e4261ce.system.entry.js} +2 -2
  572. package/dist/stzh-components/{p-f5db6234.entry.js → p-7e94b787.entry.js} +1 -1
  573. package/dist/stzh-components/{p-df5f49b4.js → p-7f0fb35c.js} +1 -1
  574. package/dist/stzh-components/{p-44e0b101.system.entry.js → p-7f1b7b44.system.entry.js} +1 -1
  575. package/dist/stzh-components/{p-97e16665.system.entry.js → p-80f497d8.system.entry.js} +1 -1
  576. package/dist/stzh-components/p-81b4b0e6.system.entry.js +1 -0
  577. package/dist/stzh-components/{p-8cc119d3.system.entry.js → p-8361c9d8.system.entry.js} +1 -1
  578. package/dist/stzh-components/{p-cc720d2d.entry.js → p-838b0542.entry.js} +1 -1
  579. package/dist/stzh-components/p-862e7723.system.entry.js +1 -0
  580. package/dist/stzh-components/{p-49b292df.entry.js → p-86336227.entry.js} +1 -1
  581. package/dist/stzh-components/p-8715198b.entry.js +1 -0
  582. package/dist/stzh-components/p-8972cf20.entry.js +1 -0
  583. package/dist/stzh-components/p-8c5a6832.system.entry.js +1 -0
  584. package/dist/stzh-components/p-8caafed2.system.entry.js +1 -0
  585. package/dist/stzh-components/p-8ccefd49.system.entry.js +1 -0
  586. package/dist/stzh-components/p-8ee705ed.entry.js +1 -0
  587. package/dist/stzh-components/p-906caf97.js +1 -0
  588. package/dist/stzh-components/{p-9e4e0cc9.entry.js → p-923dffc7.entry.js} +1 -1
  589. package/dist/stzh-components/p-9380fb85.entry.js +1 -0
  590. package/dist/stzh-components/p-97e4272b.system.entry.js +1 -0
  591. package/dist/stzh-components/p-990f395b.entry.js +1 -0
  592. package/dist/stzh-components/p-99a3742a.js +2 -0
  593. package/dist/stzh-components/p-99aacd74.entry.js +1 -0
  594. package/dist/stzh-components/p-99b82949.entry.js +1 -0
  595. package/dist/stzh-components/p-99e27f57.system.js +1 -0
  596. package/dist/stzh-components/{p-576e1345.entry.js → p-99e43fb0.entry.js} +1 -1
  597. package/dist/stzh-components/p-9be29697.entry.js +1 -0
  598. package/dist/stzh-components/{p-eb6d3e6c.entry.js → p-9c35c9cd.entry.js} +1 -1
  599. package/dist/stzh-components/{p-33f80cd2.system.entry.js → p-9d5c70ee.system.entry.js} +1 -1
  600. package/dist/stzh-components/p-9e30ee4a.system.js +10 -0
  601. package/dist/stzh-components/{p-94830f96.system.entry.js → p-a0a033bd.system.entry.js} +1 -1
  602. package/dist/stzh-components/{p-d5cb80ad.system.entry.js → p-a11ef2d6.system.entry.js} +1 -1
  603. package/dist/stzh-components/p-a2b2cfac.system.entry.js +1 -0
  604. package/dist/stzh-components/p-a3c7aa63.entry.js +9 -0
  605. package/dist/stzh-components/p-a408bfba.system.js +1 -1
  606. package/dist/stzh-components/{p-68400ee7.entry.js → p-a44527f8.entry.js} +1 -1
  607. package/dist/stzh-components/{p-8bbaed3a.entry.js → p-a4dd5ba3.entry.js} +1 -1
  608. package/dist/stzh-components/{p-c30600d0.system.entry.js → p-a51dd210.system.entry.js} +1 -1
  609. package/dist/stzh-components/{p-4b0f473e.entry.js → p-a693ab41.entry.js} +1 -1
  610. package/dist/stzh-components/p-a6be6aca.system.entry.js +1 -0
  611. package/dist/stzh-components/p-ac3e3b2a.system.entry.js +1 -0
  612. package/dist/stzh-components/{p-72389069.entry.js → p-ad816fd9.entry.js} +1 -1
  613. package/dist/stzh-components/p-af67ea5e.entry.js +7 -0
  614. package/dist/stzh-components/p-b050c1f4.entry.js +1 -0
  615. package/dist/stzh-components/{p-be79497f.system.entry.js → p-b1ffc2a9.system.entry.js} +1 -1
  616. package/dist/stzh-components/p-b395bed5.system.entry.js +1 -0
  617. package/dist/stzh-components/{p-30ba96a3.entry.js → p-b689b882.entry.js} +1 -1
  618. package/dist/stzh-components/{p-5c3c9ad4.entry.js → p-b6e6f847.entry.js} +1 -1
  619. package/dist/stzh-components/p-b92734db.entry.js +1 -0
  620. package/dist/stzh-components/p-b9427914.entry.js +1 -0
  621. package/dist/stzh-components/p-bada7caa.system.entry.js +1 -0
  622. package/dist/stzh-components/p-bb82fa2d.system.entry.js +1 -0
  623. package/dist/stzh-components/p-bc36fda4.system.entry.js +1 -0
  624. package/dist/stzh-components/{p-1d8272a5.entry.js → p-be68b323.entry.js} +1 -1
  625. package/dist/stzh-components/p-bf071e77.system.js +1 -0
  626. package/dist/stzh-components/{p-84965eac.entry.js → p-c0ec905d.entry.js} +1 -1
  627. package/dist/stzh-components/p-c2f909c1.system.entry.js +1 -0
  628. package/dist/stzh-components/p-c33b7d23.entry.js +1 -0
  629. package/dist/stzh-components/p-c646c712.entry.js +1 -0
  630. package/dist/stzh-components/p-c8cc2563.system.entry.js +1 -0
  631. package/dist/stzh-components/p-c9c7d88a.entry.js +1 -0
  632. package/dist/stzh-components/p-cbe6d2ea.entry.js +1 -0
  633. package/dist/stzh-components/{p-2732d8c8.system.js → p-cbfae706.system.js} +0 -0
  634. package/dist/stzh-components/p-ccf023da.entry.js +3 -0
  635. package/dist/stzh-components/p-d04bbc19.js +1 -0
  636. package/dist/stzh-components/p-d32965be.system.entry.js +1 -0
  637. package/dist/stzh-components/p-d54ff4d4.system.entry.js +1 -0
  638. package/dist/stzh-components/p-d5644c25.entry.js +8 -0
  639. package/dist/stzh-components/p-d6a11daa.entry.js +1 -0
  640. package/dist/stzh-components/p-d943e02c.system.entry.js +1 -0
  641. package/dist/stzh-components/{p-a474826c.system.entry.js → p-da85cf73.system.entry.js} +1 -1
  642. package/dist/stzh-components/p-da98a8bb.system.entry.js +7 -0
  643. package/dist/stzh-components/p-db306e24.entry.js +1 -0
  644. package/dist/stzh-components/{p-d2f6fb1b.system.js → p-db339680.system.js} +1 -1
  645. package/dist/stzh-components/{p-f5fdc88c.entry.js → p-dbe5320f.entry.js} +3 -3
  646. package/dist/stzh-components/p-dd1bb919.entry.js +1 -0
  647. package/dist/stzh-components/p-dd5f29aa.entry.js +1 -0
  648. package/dist/stzh-components/p-de9edaf2.entry.js +1 -0
  649. package/dist/stzh-components/p-e3afc8f7.entry.js +1 -0
  650. package/dist/stzh-components/p-e54ef44f.system.entry.js +1 -0
  651. package/dist/stzh-components/p-e78fe899.system.entry.js +1 -0
  652. package/dist/stzh-components/{p-60d9bf98.system.entry.js → p-e7909de9.system.entry.js} +1 -1
  653. package/dist/stzh-components/{p-58af0855.system.entry.js → p-e7e9b295.system.entry.js} +1 -1
  654. package/dist/stzh-components/p-e8feb92e.system.entry.js +1 -0
  655. package/dist/stzh-components/p-eb7773f3.entry.js +1 -0
  656. package/dist/stzh-components/p-ed58b644.system.entry.js +1 -0
  657. package/dist/stzh-components/p-ee4b939a.entry.js +1 -0
  658. package/dist/stzh-components/{p-28d8aa31.entry.js → p-f0e2a32d.entry.js} +1 -1
  659. package/dist/stzh-components/{p-0cff4e01.entry.js → p-f2deda0a.entry.js} +1 -1
  660. package/dist/stzh-components/p-f3d69226.system.entry.js +1 -0
  661. package/dist/stzh-components/p-f433e62a.system.entry.js +1 -0
  662. package/dist/stzh-components/p-f5b2c12e.entry.js +1 -0
  663. package/dist/stzh-components/{p-4226dec6.system.entry.js → p-f7bb76d8.system.entry.js} +1 -1
  664. package/dist/stzh-components/{p-4c7e52aa.entry.js → p-f8feb07b.entry.js} +1 -1
  665. package/dist/stzh-components/p-f9ab0433.entry.js +1 -0
  666. package/dist/stzh-components/p-fa615b51.system.entry.js +1 -0
  667. package/dist/stzh-components/p-fd15cc86.entry.js +1 -0
  668. package/dist/stzh-components/p-fd3acd16.system.entry.js +1 -0
  669. package/dist/stzh-components/p-fe5d5fc8.entry.js +1 -0
  670. package/dist/stzh-components/p-fe9acc68.system.entry.js +1 -0
  671. package/dist/stzh-components/stzh-components.css +1 -1
  672. package/dist/stzh-components/stzh-components.esm.js +1 -1
  673. package/dist/stzh-components/stzh-components.js +1 -1
  674. package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +1 -1
  675. package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +1 -1
  676. package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +1 -1
  677. package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +1 -1
  678. package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +1 -1
  679. package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +1 -1
  680. package/dist/types/components/stzh-card/stzh-card.localization.d.ts +1 -1
  681. package/dist/types/components/stzh-card-list/stzh-card-list.localization.d.ts +1 -1
  682. package/dist/types/components/stzh-container/stzh-container.d.ts +2 -0
  683. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +2 -1
  684. package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +1 -1
  685. package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +1 -1
  686. package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +1 -1
  687. package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +1 -1
  688. package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +1 -1
  689. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +1 -1
  690. package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +3 -1
  691. package/dist/types/components/stzh-input/stzh-input-description.d.ts +1 -1
  692. package/dist/types/components/stzh-message/stzh-message.localization.d.ts +1 -1
  693. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +1 -1
  694. package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +1 -1
  695. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +2 -1
  696. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +1 -0
  697. package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +1 -1
  698. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +1 -1
  699. package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +1 -1
  700. package/dist/types/components/stzh-space/stzh-space.d.ts +27 -0
  701. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +2 -1
  702. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -1
  703. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +1 -1
  704. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +1 -1
  705. package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +3 -1
  706. package/dist/types/components.d.ts +416 -22
  707. package/dist/types/index.d.ts +139 -132
  708. package/dist/types/stencil-public-runtime.d.ts +59 -3
  709. package/dist/types/utils/date-adapter.d.ts +2 -2
  710. package/dist/types/utils/h.d.ts +3 -3
  711. package/dist/types/utils/test-utils.d.ts +2 -2
  712. package/dist/types/utils/translation-utils.d.ts +5 -5
  713. package/dist/vscode-data.json +675 -104
  714. package/loader/index.d.ts +9 -0
  715. package/package.json +11 -11
  716. package/dist/cjs/index-8bd1552a.js +0 -2019
  717. package/dist/cjs/stzh-chip.cjs.entry.js +0 -99
  718. package/dist/cjs/stzh-clamp.cjs.entry.js +0 -27
  719. package/dist/cjs/stzh-contactaddress.cjs.entry.js +0 -91
  720. package/dist/collection/pages/example.stories.js +0 -170
  721. package/dist/components/index3.js +0 -2017
  722. package/dist/components/stzh-contactaddress.js +0 -157
  723. package/dist/esm/index-545902f4.js +0 -2017
  724. package/dist/esm/stzh-chip.entry.js +0 -95
  725. package/dist/esm/stzh-clamp.entry.js +0 -23
  726. package/dist/esm/stzh-contactaddress.entry.js +0 -87
  727. package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
  728. package/dist/esm-es5/app-globals-17c2ba8d.js +0 -1
  729. package/dist/esm-es5/arrow-86a679c7.js +0 -1
  730. package/dist/esm-es5/focus-trap.esm-074705a3.js +0 -9
  731. package/dist/esm-es5/index-011c84fe.js +0 -2
  732. package/dist/esm-es5/index-545902f4.js +0 -1
  733. package/dist/esm-es5/stzh-chip.entry.js +0 -1
  734. package/dist/esm-es5/stzh-clamp.entry.js +0 -1
  735. package/dist/esm-es5/stzh-contactaddress.entry.js +0 -1
  736. package/dist/stzh-components/p-006751fc.system.entry.js +0 -1
  737. package/dist/stzh-components/p-025c9c5b.entry.js +0 -1
  738. package/dist/stzh-components/p-02fd7470.entry.js +0 -1
  739. package/dist/stzh-components/p-037357fc.system.entry.js +0 -1
  740. package/dist/stzh-components/p-04a45622.system.entry.js +0 -1
  741. package/dist/stzh-components/p-09da70d8.entry.js +0 -1
  742. package/dist/stzh-components/p-0a647396.entry.js +0 -1
  743. package/dist/stzh-components/p-0b264a7a.entry.js +0 -1
  744. package/dist/stzh-components/p-0b9dc96d.system.js +0 -1
  745. package/dist/stzh-components/p-10c046fc.system.entry.js +0 -1
  746. package/dist/stzh-components/p-171c5795.system.entry.js +0 -1
  747. package/dist/stzh-components/p-19ab7e34.system.entry.js +0 -1
  748. package/dist/stzh-components/p-1ca12032.system.entry.js +0 -1
  749. package/dist/stzh-components/p-1da26ca1.entry.js +0 -1
  750. package/dist/stzh-components/p-1e4b4d71.system.js +0 -1
  751. package/dist/stzh-components/p-1fe1169e.entry.js +0 -1
  752. package/dist/stzh-components/p-213959b7.entry.js +0 -1
  753. package/dist/stzh-components/p-22b06793.entry.js +0 -1
  754. package/dist/stzh-components/p-231e6e6a.system.entry.js +0 -1
  755. package/dist/stzh-components/p-2862cdd8.system.entry.js +0 -1
  756. package/dist/stzh-components/p-2a5855f8.js +0 -1
  757. package/dist/stzh-components/p-2bdc71ae.system.entry.js +0 -1
  758. package/dist/stzh-components/p-31029226.entry.js +0 -1
  759. package/dist/stzh-components/p-311813bc.system.entry.js +0 -1
  760. package/dist/stzh-components/p-31c3469c.entry.js +0 -1
  761. package/dist/stzh-components/p-34b45788.entry.js +0 -7
  762. package/dist/stzh-components/p-3848d8ee.entry.js +0 -1
  763. package/dist/stzh-components/p-38f9cbf3.system.entry.js +0 -1
  764. package/dist/stzh-components/p-3905ca20.entry.js +0 -1
  765. package/dist/stzh-components/p-391e6b90.entry.js +0 -1
  766. package/dist/stzh-components/p-3a1ff759.entry.js +0 -1
  767. package/dist/stzh-components/p-40a19ce6.js +0 -10
  768. package/dist/stzh-components/p-4228cd58.system.entry.js +0 -1
  769. package/dist/stzh-components/p-441ea784.entry.js +0 -1
  770. package/dist/stzh-components/p-49bb09a5.entry.js +0 -1
  771. package/dist/stzh-components/p-4bd7dafb.system.entry.js +0 -1
  772. package/dist/stzh-components/p-4cd9f5c7.system.entry.js +0 -1
  773. package/dist/stzh-components/p-51be647d.entry.js +0 -1
  774. package/dist/stzh-components/p-53934cfd.js +0 -1
  775. package/dist/stzh-components/p-55f6fa41.system.entry.js +0 -1
  776. package/dist/stzh-components/p-57237509.system.entry.js +0 -1
  777. package/dist/stzh-components/p-5b1c1cf7.entry.js +0 -1
  778. package/dist/stzh-components/p-5b379647.system.entry.js +0 -1
  779. package/dist/stzh-components/p-5ddf8258.system.entry.js +0 -1
  780. package/dist/stzh-components/p-5fd9ae99.system.entry.js +0 -1
  781. package/dist/stzh-components/p-60ec90b2.system.entry.js +0 -1
  782. package/dist/stzh-components/p-64422176.entry.js +0 -9
  783. package/dist/stzh-components/p-65675e11.entry.js +0 -1
  784. package/dist/stzh-components/p-661831da.entry.js +0 -1
  785. package/dist/stzh-components/p-71c07419.system.entry.js +0 -1
  786. package/dist/stzh-components/p-75068cd7.system.entry.js +0 -1
  787. package/dist/stzh-components/p-7684506e.system.entry.js +0 -1
  788. package/dist/stzh-components/p-7adc28a4.system.entry.js +0 -7
  789. package/dist/stzh-components/p-7ce59988.system.entry.js +0 -1
  790. package/dist/stzh-components/p-7da446d5.js +0 -1
  791. package/dist/stzh-components/p-7e94dde2.entry.js +0 -1
  792. package/dist/stzh-components/p-812ea5e9.system.entry.js +0 -1
  793. package/dist/stzh-components/p-8364475f.js +0 -12
  794. package/dist/stzh-components/p-83830baa.system.entry.js +0 -1
  795. package/dist/stzh-components/p-84c86e4c.system.entry.js +0 -1
  796. package/dist/stzh-components/p-88a31179.system.entry.js +0 -1
  797. package/dist/stzh-components/p-88cbd2c0.entry.js +0 -1
  798. package/dist/stzh-components/p-8a1d00fe.entry.js +0 -3
  799. package/dist/stzh-components/p-92afa8df.entry.js +0 -1
  800. package/dist/stzh-components/p-95b490ec.system.entry.js +0 -1
  801. package/dist/stzh-components/p-9743f558.system.entry.js +0 -1
  802. package/dist/stzh-components/p-996579d0.entry.js +0 -1
  803. package/dist/stzh-components/p-99f92c6d.system.entry.js +0 -1
  804. package/dist/stzh-components/p-9a5ebb1f.js +0 -2
  805. package/dist/stzh-components/p-9dac46e2.system.entry.js +0 -1
  806. package/dist/stzh-components/p-9e38b823.system.entry.js +0 -1
  807. package/dist/stzh-components/p-a16dc363.entry.js +0 -1
  808. package/dist/stzh-components/p-a17754c7.system.entry.js +0 -1
  809. package/dist/stzh-components/p-a53c0a98.entry.js +0 -1
  810. package/dist/stzh-components/p-a795868f.entry.js +0 -1
  811. package/dist/stzh-components/p-a8101552.entry.js +0 -8
  812. package/dist/stzh-components/p-a934dd4d.entry.js +0 -1
  813. package/dist/stzh-components/p-aacf685b.system.entry.js +0 -3
  814. package/dist/stzh-components/p-ab28e094.system.entry.js +0 -1
  815. package/dist/stzh-components/p-ac3aa560.system.entry.js +0 -1
  816. package/dist/stzh-components/p-addc48e5.entry.js +0 -1
  817. package/dist/stzh-components/p-af0ab448.system.entry.js +0 -1
  818. package/dist/stzh-components/p-af63f1a4.entry.js +0 -1
  819. package/dist/stzh-components/p-b0fe9349.entry.js +0 -1
  820. package/dist/stzh-components/p-b2145753.system.entry.js +0 -1
  821. package/dist/stzh-components/p-b436a18d.system.entry.js +0 -1
  822. package/dist/stzh-components/p-b908d228.system.entry.js +0 -1
  823. package/dist/stzh-components/p-ba0b93c4.system.entry.js +0 -9
  824. package/dist/stzh-components/p-bfcfbfbb.system.entry.js +0 -1
  825. package/dist/stzh-components/p-c065387a.entry.js +0 -1
  826. package/dist/stzh-components/p-c0fef3d1.entry.js +0 -1
  827. package/dist/stzh-components/p-c26aec94.entry.js +0 -1
  828. package/dist/stzh-components/p-c3a543a6.entry.js +0 -1
  829. package/dist/stzh-components/p-c42435be.entry.js +0 -1
  830. package/dist/stzh-components/p-cf6003d6.js +0 -1
  831. package/dist/stzh-components/p-cfc0bc2e.system.entry.js +0 -1
  832. package/dist/stzh-components/p-d1d5825d.entry.js +0 -1
  833. package/dist/stzh-components/p-d4405931.system.entry.js +0 -1
  834. package/dist/stzh-components/p-d5c0801b.entry.js +0 -1
  835. package/dist/stzh-components/p-db1692fb.entry.js +0 -1
  836. package/dist/stzh-components/p-dbdc01c7.system.js +0 -2
  837. package/dist/stzh-components/p-dce19efd.entry.js +0 -1
  838. package/dist/stzh-components/p-ded16c0e.system.js +0 -1
  839. package/dist/stzh-components/p-e20369c8.system.js +0 -10
  840. package/dist/stzh-components/p-e2e54f09.system.js +0 -1
  841. package/dist/stzh-components/p-e46d82b9.system.entry.js +0 -1
  842. package/dist/stzh-components/p-e71cd5cd.system.entry.js +0 -1
  843. package/dist/stzh-components/p-e72ca013.system.entry.js +0 -1
  844. package/dist/stzh-components/p-e76a3647.entry.js +0 -1
  845. package/dist/stzh-components/p-e812d35e.system.entry.js +0 -1
  846. package/dist/stzh-components/p-ec3a472a.system.entry.js +0 -1
  847. package/dist/stzh-components/p-f3107fc7.system.entry.js +0 -1
  848. package/dist/stzh-components/p-f37be5d7.entry.js +0 -1
  849. package/dist/stzh-components/p-f59b3545.system.entry.js +0 -1
  850. package/dist/stzh-components/p-f792fc8f.entry.js +0 -1
  851. package/dist/stzh-components/p-fcec6003.system.entry.js +0 -1
@@ -1,8 +0,0 @@
1
- import{r as t,c as n,h as i,a as e,g as r}from"./p-9a5ebb1f.js";import{c as o}from"./p-86a29c35.js";import{f as s}from"./p-25a09313.js";function a(t){return"object"==typeof t&&null!=t&&1===t.nodeType}function u(t,n){return(!n||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function l(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var i=getComputedStyle(t,null);return u(i.overflowY,n)||u(i.overflowX,n)||function(t){var n=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!n&&(n.clientHeight<t.scrollHeight||n.clientWidth<t.scrollWidth)}(t)}return!1}function h(t,n,i,e,r,o,s,a){return o<t&&s>n||o>t&&s<n?0:o<=t&&a<=i||s>=n&&a>=i?o-t-e:s>n&&a<i||o<t&&a>i?s-n+r:0}function c(t,n){var i=window,e=n.scrollMode,r=n.block,o=n.inline,s=n.boundary,u=n.skipOverflowHiddenElements,c="function"==typeof s?s:function(t){return t!==s};if(!a(t))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,d=[],v=t;a(v)&&c(v);){if((v=v.parentElement)===f){d.push(v);break}null!=v&&v===document.body&&l(v)&&!l(document.documentElement)||null!=v&&l(v,u)&&d.push(v)}for(var m=i.visualViewport?i.visualViewport.width:innerWidth,b=i.visualViewport?i.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,w=t.getBoundingClientRect(),y=w.height,E=w.width,z=w.top,x=w.right,I=w.bottom,S=w.left,O="start"===r||"nearest"===r?z:"end"===r?I:z+y/2,k="center"===o?S+E/2:"end"===o?x:S,M=[],T=0;T<d.length;T++){var C=d[T],_=C.getBoundingClientRect(),D=_.height,A=_.width,j=_.top,N=_.right,W=_.bottom,F=_.left;if("if-needed"===e&&z>=0&&S>=0&&I<=b&&x<=m&&z>=j&&I<=W&&S>=F&&x<=N)return M;var P=getComputedStyle(C),G=parseInt(P.borderLeftWidth,10),H=parseInt(P.borderTopWidth,10),L=parseInt(P.borderRightWidth,10),U=parseInt(P.borderBottomWidth,10),B=0,K=0,$="offsetWidth"in C?C.offsetWidth-C.clientWidth-G-L:0,R="offsetHeight"in C?C.offsetHeight-C.clientHeight-H-U:0;if(f===C)B="start"===r?O:"end"===r?O-b:"nearest"===r?h(g,g+b,b,H,U,g+O,g+O+y,y):O-b/2,K="start"===o?k:"center"===o?k-m/2:"end"===o?k-m:h(p,p+m,m,G,L,p+k,p+k+E,E),B=Math.max(0,B+g),K=Math.max(0,K+p);else{B="start"===r?O-j-H:"end"===r?O-W+U+R:"nearest"===r?h(j,W,D,H,U+R,O,O+y,y):O-(j+D/2)+R/2,K="start"===o?k-F-G:"center"===o?k-(F+A/2)+$/2:"end"===o?k-N+L+$:h(F,N,A,G,L+$,k,k+E,E);var X=C.scrollLeft,Y=C.scrollTop;O+=Y-(B=Math.max(0,Math.min(Y+B,C.scrollHeight-D+R))),k+=X-(K=Math.max(0,Math.min(X+K,C.scrollWidth-A+$)))}M.push({el:C,top:B,left:K})}return M}function f(t){return t===Object(t)&&0!==Object.keys(t).length}
2
- /**!
3
- * Sortable 1.15.0
4
- * @author RubaXa <trash@rubaxa.org>
5
- * @author owenm <owen23355@gmail.com>
6
- * @license MIT
7
- */
8
- function d(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function v(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?d(Object(i),!0).forEach((function(n){b(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function p(){return(p=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t}).apply(this,arguments)}function g(t,n){if(null==t)return{};var i,e,r=function(t,n){if(null==t)return{};var i,e,r={},o=Object.keys(t);for(e=0;e<o.length;e++)n.indexOf(i=o[e])>=0||(r[i]=t[i]);return r}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(e=0;e<o.length;e++)n.indexOf(i=o[e])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function w(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function y(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var E=y(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),z=y(/Edge/i),x=y(/firefox/i),I=y(/safari/i)&&!y(/chrome/i)&&!y(/android/i),S=y(/iP(ad|od|hone)/i),O=y(/chrome/i)&&y(/android/i),k={capture:!1,passive:!1};function M(t,n,i){t.addEventListener(n,i,!E&&k)}function T(t,n,i){t.removeEventListener(n,i,!E&&k)}function C(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(i){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function D(t,n,i,e){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&C(t,n):C(t,n))||e&&t===i)return t;if(t===i)break}while(t=_(t))}return null}var A,j=/\s+/g;function N(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+n+" "," ");t.className=(e+(i?" "+n:"")).replace(j," ")}}function W(t,n,i){var e=t&&t.style;if(e){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in e||-1!==n.indexOf("webkit")||(n="-webkit-"+n),e[n]=i+("string"==typeof i?"":"px")}}function F(t,n){var i="";if("string"==typeof t)i=t;else do{var e=W(t,"transform");e&&"none"!==e&&(i=e+" "+i)}while(!n&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(i)}function P(t,n,i){if(t){var e=t.getElementsByTagName(n),r=0,o=e.length;if(i)for(;r<o;r++)i(e[r],r);return e}return[]}function G(){return document.scrollingElement||document.documentElement}function H(t,n,i,e,r){if(t.getBoundingClientRect||t===window){var o,s,a,u,l,h,c;if(t!==window&&t.parentNode&&t!==G()?(s=(o=t.getBoundingClientRect()).top,a=o.left,u=o.bottom,l=o.right,h=o.height,c=o.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,h=window.innerHeight,c=window.innerWidth),(n||i)&&t!==window&&(r=r||t.parentNode,!E))do{if(r&&r.getBoundingClientRect&&("none"!==W(r,"transform")||i&&"static"!==W(r,"position"))){var f=r.getBoundingClientRect();s-=f.top+parseInt(W(r,"border-top-width")),a-=f.left+parseInt(W(r,"border-left-width")),u=s+o.height,l=a+o.width;break}}while(r=r.parentNode);if(e&&t!==window){var d=F(r||t),v=d&&d.a,m=d&&d.d;d&&(u=(s/=m)+(h/=m),l=(a/=v)+(c/=v))}return{top:s,left:a,bottom:u,right:l,width:c,height:h}}}function L(t,n,i){for(var e=R(t,!0),r=H(t)[n];e;){var o=H(e)[i];if(!("top"===i||"left"===i?r>=o:r<=o))return e;if(e===G())break;e=R(e,!1)}return!1}function U(t,n,i,e){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==Zt.ghost&&(e||s[o]!==Zt.dragged)&&D(s[o],i.draggable,t,!1)){if(r===n)return s[o];r++}o++}return null}function B(t,n){for(var i=t.lastElementChild;i&&(i===Zt.ghost||"none"===W(i,"display")||n&&!C(i,n));)i=i.previousElementSibling;return i||null}function K(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||n&&!C(t,n)||i++;return i}function $(t){var n=0,i=0,e=G();if(t)do{var r=F(t);n+=t.scrollLeft*r.a,i+=t.scrollTop*r.d}while(t!==e&&(t=t.parentNode));return[n,i]}function R(t,n){if(!t||!t.getBoundingClientRect)return G();var i=t,e=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var r=W(i);if(i.clientWidth<i.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!i.getBoundingClientRect||i===document.body)return G();if(e||n)return i;e=!0}}}while(i=i.parentNode);return G()}function X(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function Y(t,n){return function(){if(!A){var i=arguments,e=this;1===i.length?t.call(e,i[0]):t.apply(e,i),A=setTimeout((function(){A=void 0}),n)}}}function V(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function J(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}function Z(t,n){W(t,"position","absolute"),W(t,"top",n.top),W(t,"left",n.left),W(t,"width",n.width),W(t,"height",n.height)}function q(t){W(t,"position",""),W(t,"top",""),W(t,"left",""),W(t,"width",""),W(t,"height","")}var Q="Sortable"+(new Date).getTime();var tt=[],nt={initializeByDefault:!0},it={mount:function(t){for(var n in nt)nt.hasOwnProperty(n)&&!(n in t)&&(t[n]=nt[n]);tt.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),tt.push(t)},pluginEvent:function(t,n,i){var e=this;this.eventCanceled=!1,i.cancel=function(){e.eventCanceled=!0};var r=t+"Global";tt.forEach((function(e){n[e.pluginName]&&(n[e.pluginName][r]&&n[e.pluginName][r](v({sortable:n},i)),n.options[e.pluginName]&&n[e.pluginName][t]&&n[e.pluginName][t](v({sortable:n},i)))}))},initializePlugins:function(t,n,i){for(var e in tt.forEach((function(e){var r=e.pluginName;if(t.options[r]||e.initializeByDefault){var o=new e(t,n,t.options);o.sortable=t,o.options=t.options,t[r]=o,p(i,o.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var r=this.modifyOption(t,e,t.options[e]);void 0!==r&&(t.options[e]=r)}},getEventProperties:function(t,n){var i={};return tt.forEach((function(e){"function"==typeof e.eventProperties&&p(i,e.eventProperties.call(n[e.pluginName],t))})),i},modifyOption:function(t,n,i){var e;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[n]&&(e=r.optionListeners[n].call(t[r.pluginName],i))})),e}};function et(t){var n=t.sortable,i=t.rootEl,e=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,h=t.oldDraggableIndex,c=t.newDraggableIndex,f=t.originalEvent,d=t.putSortable,m=t.extraEventProperties;if(n=n||i&&i[Q]){var b,p=n.options,g="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||E||z?(b=document.createEvent("Event")).initEvent(e,!0,!0):b=new CustomEvent(e,{bubbles:!0,cancelable:!0}),b.to=s||i,b.from=a||i,b.item=r||i,b.clone=o,b.oldIndex=u,b.newIndex=l,b.oldDraggableIndex=h,b.newDraggableIndex=c,b.originalEvent=f,b.pullMode=d?d.lastPutMode:void 0;var w=v(v({},m),it.getEventProperties(e,n));for(var y in w)b[y]=w[y];i&&i.dispatchEvent(b),p[g]&&p[g].call(n,b)}}var rt=["evt"],ot=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=i.evt,r=g(i,rt);it.pluginEvent.bind(Zt)(t,n,v({dragEl:at,parentEl:ut,ghostEl:lt,rootEl:ht,nextEl:ct,lastDownEl:ft,cloneEl:dt,cloneHidden:vt,dragStarted:kt,putSortable:yt,activeSortable:Zt.active,originalEvent:e,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt,hideGhostForTarget:Xt,unhideGhostForTarget:Yt,cloneNowHidden:function(){vt=!0},cloneNowShown:function(){vt=!1},dispatchSortableEvent:function(t){st({sortable:n,name:t,originalEvent:e})}},r))};function st(t){et(v({putSortable:yt,cloneEl:dt,targetEl:at,rootEl:ht,oldIndex:mt,oldDraggableIndex:pt,newIndex:bt,newDraggableIndex:gt},t))}var at,ut,lt,ht,ct,ft,dt,vt,mt,bt,pt,gt,wt,yt,Et,zt,xt,It,St,Ot,kt,Mt,Tt,Ct,_t,Dt=!1,At=!1,jt=[],Nt=!1,Wt=!1,Ft=[],Pt=!1,Gt=[],Ht="undefined"!=typeof document,Lt=S,Ut=z||E?"cssFloat":"float",Bt=Ht&&!O&&!S&&"draggable"in document.createElement("div"),Kt=function(){if(Ht){if(E)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),$t=function(t,n){var i=W(t),e=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),r=U(t,0,n),o=U(t,1,n),s=r&&W(r),a=o&&W(o),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+H(r).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+H(o).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":r&&s.float&&"none"!==s.float?!o||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===i[Ut]||o&&"none"===i[Ut]&&u+l>e)?"vertical":"horizontal"},Rt=function(t){function n(t,i){return function(e,r,o,s){if(null==t&&(i||e.options.group.name&&r.options.group.name&&e.options.group.name===r.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(e,r,o,s),i)(e,r,o,s);var a=(i?e:r).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var i={},e=t.group;e&&"object"==m(e)||(e={name:e}),i.name=e.name,i.checkPull=n(e.pull,!0),i.checkPut=n(e.put),i.revertClone=e.revertClone,t.group=i},Xt=function(){!Kt&&lt&&W(lt,"display","none")},Yt=function(){!Kt&&lt&&W(lt,"display","")};Ht&&!O&&document.addEventListener("click",(function(t){if(At)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),At=!1,!1}),!0);var Vt=function(t){if(at){var n=(r=(t=t.touches?t.touches[0]:t).clientX,o=t.clientY,jt.some((function(t){var n=t[Q].options.emptyInsertThreshold;if(n&&!B(t)){var i=H(t);return r>=i.left-n&&r<=i.right+n&&o>=i.top-n&&o<=i.bottom+n?s=t:void 0}})),s);if(n){var i={};for(var e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[Q]._onDragOver(i)}}var r,o,s},Jt=function(t){at&&at.parentNode[Q]._isOutsideThisEl(t.target)};function Zt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=p({},n),t[Q]=this;var i,e,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return $t(t,this.options)},ghostClone:function(t){return t.cloneNode(!0)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,n){t.setData("Text",n.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!I,emptyInsertThreshold:5};for(var o in it.initializePlugins(this,t,r),r)!(o in n)&&(n[o]=r[o]);for(var s in Rt(n),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!n.forceFallback&&Bt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?M(t,"pointerdown",this._onTapStart):(M(t,"mousedown",this._onTapStart),M(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(M(t,"dragover",this),M(t,"dragenter",this)),jt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),p(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==W(t,"display")&&t!==Zt.ghost){e.push({target:t,rect:H(t)});var n=v({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=F(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var e in n)if(n.hasOwnProperty(e)&&n[e]===t[i][e])return Number(i);return-1}(e,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var r=!1,o=0;e.forEach((function(t){var i=0,e=t.target,s=e.fromRect,a=H(e),u=e.prevFromRect,l=e.prevToRect,h=t.rect,c=F(e,!0);c&&(a.top-=c.f,a.left-=c.e),e.toRect=a,e.thisAnimationDuration&&X(u,a)&&!X(s,a)&&(h.top-a.top)/(h.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(i=function(t,n,i,e){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*e.animation}(h,u,l,n.options)),X(a,s)||(e.prevFromRect=s,e.prevToRect=a,i||(i=n.options.animation),n.animate(e,h,a,i)),i&&(r=!0,o=Math.max(o,i),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),i),e.thisAnimationDuration=i)})),clearTimeout(i),r?i=setTimeout((function(){"function"==typeof t&&t()}),o):"function"==typeof t&&t(),e=[]},animate:function(t,n,i,e){if(e){W(t,"transition",""),W(t,"transform","");var r=F(this.el),o=(n.left-i.left)/(r&&r.a||1),s=(n.top-i.top)/(r&&r.d||1);t.animatingX=!!o,t.animatingY=!!s,W(t,"transform","translate3d("+o+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),W(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),W(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){W(t,"transition",""),W(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function qt(t,n,i,e,r,o,s,a){var u,l,h=t[Q],c=h.options.onMove;return!window.CustomEvent||E||z?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=n,u.from=t,u.dragged=i,u.draggedRect=e,u.related=r||n,u.relatedRect=o||H(n),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),c&&(l=c.call(h,u,s)),l}function Qt(t){t.draggable=!1}function tn(){Pt=!1}function nn(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,e=0;i--;)e+=n.charCodeAt(i);return e.toString(36)}function en(t){return setTimeout(t,0)}function rn(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Mt=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,at):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,e=this.options,r=e.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){Gt.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var e=n[i];e.checked&&Gt.push(e)}}(i),!at&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!I||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=D(a,e.draggable,i,!1))&&a.animated||ft===a)){if(mt=K(a),pt=K(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return st({sortable:n,rootEl:u,name:"filter",targetEl:a,toEl:i,fromEl:i}),ot("filter",n,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=D(u,e.trim(),i,!1))return st({sortable:n,rootEl:e,name:"filter",targetEl:a,fromEl:i,toEl:i}),ot("filter",n,{evt:t}),!0}))))return void(r&&t.cancelable&&t.preventDefault());e.handle&&!D(u,e.handle,i,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,n,i){var e,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(i&&!at&&i.parentNode===o){var u=H(i);if(ht=o,ut=(at=i).parentNode,ct=at.nextSibling,ft=i,wt=s.group,Zt.dragged=at,St=(Et={target:at,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-u.left,Ot=Et.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,at.style["will-change"]="all",e=function(){ot("delayEnded",r,{evt:t}),Zt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!x&&r.nativeDraggable&&(at.draggable=!0),r._triggerDragStart(t,n),st({sortable:r,name:"choose",originalEvent:t}),N(at,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){P(at,t.trim(),Qt)})),M(a,"dragover",Vt),M(a,"mousemove",Vt),M(a,"touchmove",Vt),M(a,"mouseup",r._onDrop),M(a,"touchend",r._onDrop),M(a,"touchcancel",r._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,at.draggable=!0),ot("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!n||this.nativeDraggable&&(z||E))e();else{if(Zt.eventCanceled)return void this._onDrop();M(a,"mouseup",r._disableDelayedDrag),M(a,"touchend",r._disableDelayedDrag),M(a,"touchcancel",r._disableDelayedDrag),M(a,"mousemove",r._delayedDragTouchMoveHandler),M(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&M(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&Qt(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._disableDelayedDrag),T(t,"touchend",this._disableDelayedDrag),T(t,"touchcancel",this._disableDelayedDrag),T(t,"mousemove",this._delayedDragTouchMoveHandler),T(t,"touchmove",this._delayedDragTouchMoveHandler),T(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?M(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(M(at,"dragend",this),M(ht,"dragstart",this._onDragStart));try{document.selection?en((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(i){}},_dragStarted:function(t,n){if(Dt=!1,ht&&at){ot("dragStarted",this,{evt:n}),this.nativeDraggable&&M(document,"dragover",Jt);var i=this.options;!t&&N(at,i.dragClass,!1),N(at,i.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),st({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(zt){this._lastX=zt.clientX,this._lastY=zt.clientY,Xt();for(var t=document.elementFromPoint(zt.clientX,zt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(zt.clientX,zt.clientY))!==n;)n=t;if(at.parentNode[Q]._isOutsideThisEl(t),n)do{if(n[Q]&&n[Q]._onDragOver({clientX:zt.clientX,clientY:zt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);Yt()}},_onTouchMove:function(t){if(Et){var n=this.options,i=n.fallbackTolerance,e=n.fallbackOffset,r=t.touches?t.touches[0]:t,o=lt&&F(lt,!0),s=lt&&o&&o.a,a=lt&&o&&o.d,u=Lt&&_t&&$(_t),l=(r.clientX-Et.clientX+e.x)/(s||1)+(u?u[0]-Ft[0]:0)/(s||1),h=(r.clientY-Et.clientY+e.y)/(a||1)+(u?u[1]-Ft[1]:0)/(a||1);if(!Zt.active&&!Dt){if(i&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(lt){o?(o.e+=l-(xt||0),o.f+=h-(It||0)):o={a:1,b:0,c:0,d:1,e:l,f:h};var c="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");W(lt,"webkitTransform",c),W(lt,"mozTransform",c),W(lt,"msTransform",c),W(lt,"transform",c),xt=l,It=h,zt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!lt){var t=this.options.fallbackOnBody?document.body:ht,n=H(at,!0,Lt,!0,t),i=this.options;if(Lt){for(_t=t;"static"===W(_t,"position")&&"none"===W(_t,"transform")&&_t!==document;)_t=_t.parentNode;_t!==document.body&&_t!==document.documentElement?(_t===document&&(_t=G()),n.top+=_t.scrollTop,n.left+=_t.scrollLeft):_t=G(),Ft=$(_t)}N(lt=i.ghostClone(at),i.ghostClass,!1),N(lt,i.fallbackClass,!0),N(lt,i.dragClass,!0),W(lt,"transition",""),W(lt,"transform",""),W(lt,"box-sizing","border-box"),W(lt,"margin",0),W(lt,"top",n.top),W(lt,"left",n.left),W(lt,"width",n.width),W(lt,"height",n.height),W(lt,"opacity","0.8"),W(lt,"position",Lt?"absolute":"fixed"),W(lt,"zIndex","100000"),W(lt,"pointerEvents","none"),Zt.ghost=lt,t.appendChild(lt),W(lt,"transform-origin",St/parseInt(lt.style.width)*100+"% "+Ot/parseInt(lt.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,e=t.dataTransfer,r=i.options;ot("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(ot("setupClone",this),Zt.eventCanceled||((dt=J(at)).removeAttribute("id"),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),N(dt,this.options.chosenClass,!1),Zt.clone=dt),i.cloneId=en((function(){ot("clone",i),Zt.eventCanceled||(i.options.removeCloneOnHide||ht.insertBefore(dt,at),i._hideClone(),st({sortable:i,name:"clone"}))})),!n&&N(at,r.dragClass,!0),n?(At=!0,i._loopId=setInterval(i._emulateDragOver,50)):(T(document,"mouseup",i._onDrop),T(document,"touchend",i._onDrop),T(document,"touchcancel",i._onDrop),e&&(e.effectAllowed="move",r.setData&&r.setData.call(i,e,at)),M(document,"drop",i),W(at,"transform","translateZ(0)")),Dt=!0,i._dragStartId=en(i._dragStarted.bind(i,n,t)),M(document,"selectstart",i),kt=!0,I&&W(document.body,"user-select","none"))},_onDragOver:function(t){var n,i,e,r,o=this.el,s=t.target,a=this.options,u=a.group,l=Zt.active,h=wt===u,c=a.sort,f=yt||l,d=this,m=!1;if(!Pt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=D(s,a.draggable,o,!0),C("dragOver"),Zt.eventCanceled)return m;if(at.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||d._ignoreWhileAnimating===s)return A(!1);if(At=!1,l&&!a.disabled&&(h?c||(e=ut!==ht):yt===this||(this.lastPutMode=wt.checkPull(this,l,at,t))&&u.checkPut(this,l,at,t))){if(r="vertical"===this._getDirection(t,s),n=H(at),C("dragOverValid"),Zt.eventCanceled)return m;if(e)return ut=ht,_(),this._hideClone(),C("revert"),Zt.eventCanceled||(ct?ht.insertBefore(at,ct):ht.appendChild(at)),A(!0);var b=B(o,a.draggable);if(!b||function(t,n,i){var e=H(B(i.el,i.options.draggable));return n?t.clientX>e.right+10||t.clientX<=e.right&&t.clientY>e.bottom&&t.clientX>=e.left:t.clientX>e.right&&t.clientY>e.top||t.clientX<=e.right&&t.clientY>e.bottom+10}(t,r,this)&&!b.animated){if(b===at)return A(!1);if(b&&o===t.target&&(s=b),s&&(i=H(s)),!1!==qt(ht,o,at,n,s,i,t,!!s))return _(),b&&b.nextSibling?o.insertBefore(at,b.nextSibling):o.appendChild(at),ut=o,j(),A(!0)}else if(b&&function(t,n,i){var e=H(U(i.el,0,i.options,!0));return n?t.clientX<e.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<e.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,r,this)){var p=U(o,0,a,!0);if(p===at)return A(!1);if(i=H(s=p),!1!==qt(ht,o,at,n,s,i,t,!1))return _(),o.insertBefore(at,p),ut=o,j(),A(!0)}else if(s.parentNode===o){i=H(s);var g,w,y,E=at.parentNode!==o,z=!function(t,n,i){var e=i?t.left:t.top,r=i?n.left:n.top;return e===r||(i?t.right:t.bottom)===(i?n.right:n.bottom)||e+(i?t.width:t.height)/2===r+(i?n.width:n.height)/2}(at.animated&&at.toRect||n,s.animated&&s.toRect||i,r),x=r?"top":"left",I=L(s,"top","top")||L(at,"top","top"),S=I?I.scrollTop:void 0;if(Mt!==s&&(w=i[x],Nt=!1,Wt=!z&&a.invertSwap||E),0!==(g=function(t,n,i,e,r,o,s,a){var u=e?t.clientY:t.clientX,l=e?i.height:i.width,h=e?i.top:i.left,c=e?i.bottom:i.right,f=!1;if(!s)if(a&&Ct<l*r){if(!Nt&&(1===Tt?u>h+l*o/2:u<c-l*o/2)&&(Nt=!0),Nt)f=!0;else if(1===Tt?u<h+Ct:u>c-Ct)return-Tt}else if(u>h+l*(1-r)/2&&u<c-l*(1-r)/2)return function(t){return K(at)<K(t)?1:-1}(n);return(f=f||s)&&(u<h+l*o/2||u>c-l*o/2)?u>h+l/2?1:-1:0}(t,s,i,r,z?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,Wt,Mt===s))){var O=K(at);do{y=ut.children[O-=g]}while(y&&("none"===W(y,"display")||y===lt))}if(0===g||y===s)return A(!1);Mt=s,Tt=g;var k=s.nextElementSibling,M=!1,T=qt(ht,o,at,n,s,i,t,M=1===g);if(!1!==T)return 1!==T&&-1!==T||(M=1===T),Pt=!0,setTimeout(tn,30),_(),M&&!k?o.appendChild(at):s.parentNode.insertBefore(at,M?k:s),I&&V(I,0,S-I.scrollTop),ut=at.parentNode,void 0===w||Wt||(Ct=Math.abs(w-H(s)[x])),j(),A(!0)}if(o.contains(at))return A(!1)}return!1}function C(a,u){ot(a,d,v({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:e,dragRect:n,targetRect:i,canSort:c,fromSortable:f,target:s,completed:A,onMove:function(i,e){return qt(ht,o,at,n,i,H(i),t,e)},changed:j},u))}function _(){C("dragOverAnimationCapture"),d.captureAnimationState(),d!==f&&f.captureAnimationState()}function A(n){return C("dragOverCompleted",{insertion:n}),n&&(h?l._hideClone():l._showClone(d),d!==f&&(N(at,yt?yt.options.ghostClass:l.options.ghostClass,!1),N(at,a.ghostClass,!0)),yt!==d&&d!==Zt.active?yt=d:d===Zt.active&&yt&&(yt=null),f===d&&(d._ignoreWhileAnimating=s),d.animateAll((function(){C("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===at&&!at.animated||s===o&&!s.animated)&&(Mt=null),a.dragoverBubble||t.rootEl||s===document||(at.parentNode[Q]._isOutsideThisEl(t.target),!n&&Vt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function j(){bt=K(at),gt=K(at,a.draggable),st({sortable:d,name:"change",toEl:o,newIndex:bt,newDraggableIndex:gt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Vt),T(document,"mousemove",Vt),T(document,"touchmove",Vt)},_offUpEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._onDrop),T(t,"touchend",this._onDrop),T(t,"pointerup",this._onDrop),T(t,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;bt=K(at),gt=K(at,i.draggable),ot("drop",this,{evt:t}),ut=at&&at.parentNode,bt=K(at),gt=K(at,i.draggable),Zt.eventCanceled||(Dt=!1,Wt=!1,Nt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),rn(this.cloneId),rn(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),I&&W(document.body,"user-select",""),W(at,"transform",""),t&&(kt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),lt&&lt.parentNode&&lt.parentNode.removeChild(lt),(ht===ut||yt&&"clone"!==yt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),at&&(this.nativeDraggable&&T(at,"dragend",this),Qt(at),at.style["will-change"]="",kt&&!Dt&&N(at,yt?yt.options.ghostClass:this.options.ghostClass,!1),N(at,this.options.chosenClass,!1),st({sortable:this,name:"unchoose",toEl:ut,newIndex:null,newDraggableIndex:null,originalEvent:t}),ht!==ut?(bt>=0&&(st({rootEl:ut,name:"add",toEl:ut,fromEl:ht,originalEvent:t}),st({sortable:this,name:"remove",toEl:ut,originalEvent:t}),st({rootEl:ut,name:"sort",toEl:ut,fromEl:ht,originalEvent:t}),st({sortable:this,name:"sort",toEl:ut,originalEvent:t})),yt&&yt.save()):bt!==mt&&bt>=0&&(st({sortable:this,name:"update",toEl:ut,originalEvent:t}),st({sortable:this,name:"sort",toEl:ut,originalEvent:t})),Zt.active&&(null!=bt&&-1!==bt||(bt=mt,gt=pt),st({sortable:this,name:"end",toEl:ut,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){ot("nulling",this),ht=at=ut=lt=ct=dt=ft=vt=Et=zt=kt=bt=gt=mt=pt=Mt=Tt=yt=wt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Gt.forEach((function(t){t.checked=!0})),Gt.length=xt=It=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,n=[],i=this.el.children,e=0,r=i.length,o=this.options;e<r;e++)D(t=i[e],o.draggable,this.el,!1)&&n.push(t.getAttribute(o.dataIdAttr)||nn(t));return n},sort:function(t,n){var i={},e=this.el;this.toArray().forEach((function(t,n){var r=e.children[n];D(r,this.options.draggable,e,!1)&&(i[t]=r)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(e.removeChild(i[t]),e.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return D(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var e=it.modifyOption(this,t,n);i[t]=void 0!==e?e:n,"group"===t&&Rt(i)},destroy:function(){ot("destroy",this);var t=this.el;t[Q]=null,T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart),T(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),jt.splice(jt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!vt){if(ot("hideClone",this),Zt.eventCanceled)return;W(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),vt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(vt){if(ot("showClone",this),Zt.eventCanceled)return;at.parentNode!=ht||this.options.group.revertClone?ct?ht.insertBefore(dt,ct):ht.appendChild(dt):ht.insertBefore(dt,at),this.options.group.revertClone&&this.animate(at,dt),W(dt,"display",""),vt=!1}}else this._hideClone()}},Ht&&M(document,"touchmove",(function(t){(Zt.active||Dt)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:M,off:T,css:W,find:P,is:function(t,n){return!!D(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:Y,closest:D,toggleClass:N,clone:J,index:K,nextTick:en,cancelNextTick:rn,detectDirection:$t,getChild:U},Zt.get=function(t){return t[Q]},Zt.mount=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];n[0].constructor===Array&&(n=n[0]),n.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=v(v({},Zt.utils),t.utils)),it.mount(t)}))},Zt.create=function(t,n){return new Zt(t,n)},Zt.version="1.15.0";var on,sn,an,un,ln,hn,cn=[],fn=!1;function dn(){cn.forEach((function(t){clearInterval(t.pid)})),cn=[]}function vn(){clearInterval(hn)}var mn,bn=Y((function(t,n,i,e){if(n.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=n.scrollSensitivity,u=n.scrollSpeed,l=G(),h=!1;sn!==i&&(sn=i,dn(),r=n.scrollFn,!0===(on=n.scroll)&&(on=R(i,!0)));var c=0,f=on;do{var d=f,v=H(d),m=v.top,b=v.bottom,p=v.left,g=v.right,w=v.width,y=v.height,E=void 0,z=void 0,x=d.scrollWidth,I=d.scrollHeight,S=W(d),O=d.scrollLeft,k=d.scrollTop;d===l?(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(E=w<x&&("auto"===S.overflowX||"scroll"===S.overflowX),z=y<I&&("auto"===S.overflowY||"scroll"===S.overflowY));var M=E&&(Math.abs(g-o)<=a&&O+w<x)-(Math.abs(p-o)<=a&&!!O),T=z&&(Math.abs(b-s)<=a&&k+y<I)-(Math.abs(m-s)<=a&&!!k);if(!cn[c])for(var C=0;C<=c;C++)cn[C]||(cn[C]={});cn[c].vx==M&&cn[c].vy==T&&cn[c].el===d||(cn[c].el=d,cn[c].vx=M,cn[c].vy=T,clearInterval(cn[c].pid),0==M&&0==T||(h=!0,cn[c].pid=setInterval(function(){e&&0===this.layer&&Zt.active._onTouchMove(ln);var n=cn[this.layer].vy?cn[this.layer].vy*u:0,i=cn[this.layer].vx?cn[this.layer].vx*u:0;"function"==typeof r&&"continue"!==r.call(Zt.dragged.parentNode[Q],i,n,t,ln,cn[this.layer].el)||V(cn[this.layer].el,i,n)}.bind({layer:c}),24))),c++}while(n.bubbleScroll&&f!==l&&(f=R(f,!1)));fn=h}}),30),pn=function(t){var n=t.originalEvent,i=t.putSortable,e=t.dragEl,r=t.dispatchSortableEvent,o=t.unhideGhostForTarget;if(n){var s=i||t.activeSortable;(0,t.hideGhostForTarget)();var a=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,u=document.elementFromPoint(a.clientX,a.clientY);o(),s&&!s.el.contains(u)&&(r("spill"),this.onSpill({dragEl:e,putSortable:i}))}};function gn(){}function wn(){}gn.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var e=U(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(n,e):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:pn},p(gn,{pluginName:"revertOnSpill"}),wn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:pn},p(wn,{pluginName:"removeOnSpill"});var yn,En,zn,xn,In,Sn=[],On=[],kn=!1,Mn=!1,Tn=!1;function Cn(t,n){On.forEach((function(i,e){var r=n.children[i.sortableIndex+(t?Number(e):0)];r?n.insertBefore(i,r):n.appendChild(i)}))}function _n(){Sn.forEach((function(t){t!==zn&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?M(document,"dragover",this._handleAutoScroll):M(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),vn(),dn(),clearTimeout(A),A=void 0},nulling:function(){ln=sn=on=fn=hn=an=un=null,cn.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,e=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(e,r);if(ln=t,n||this.options.forceAutoScrollFallback||z||E||I){bn(t,this.options,o,n);var s=R(o,!0);!fn||hn&&e===an&&r===un||(hn&&vn(),hn=setInterval((function(){var o=R(document.elementFromPoint(e,r),!0);o!==s&&(s=o,dn()),bn(t,i.options,o,n)}),10),an=e,un=r)}else{if(!this.options.bubbleScroll||R(o,!0)===G())return void dn();bn(t,this.options,R(o,!1),!1)}}},p(t,{pluginName:"scroll",initializeByDefault:!0})}),Zt.mount(wn,gn),Zt.mount(new function(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){mn=t.dragEl},dragOverValid:function(t){var n=t.completed,i=t.target,e=t.changed,r=t.cancel;if(t.activeSortable.options.swap){var o=this.options;if(i&&i!==this.sortable.el){var s=mn;!1!==(0,t.onMove)(i)?(N(i,o.swapClass,!0),mn=i):mn=null,s&&s!==mn&&N(s,o.swapClass,!1)}e(),n(!0),r()}},drop:function(t){var n,i,e,r,o,s,a=t.activeSortable,u=t.putSortable,l=t.dragEl,h=u||this.sortable,c=this.options;mn&&N(mn,c.swapClass,!1),mn&&(c.swap||u&&u.options.swap)&&l!==mn&&(h.captureAnimationState(),h!==a&&a.captureAnimationState(),s=(i=mn).parentNode,(o=(n=l).parentNode)&&s&&!o.isEqualNode(i)&&!s.isEqualNode(n)&&(e=K(n),r=K(i),o.isEqualNode(s)&&e<r&&r++,o.insertBefore(i,o.children[e]),s.insertBefore(n,s.children[r])),h.animateAll(),h!==a&&a.animateAll())},nulling:function(){mn=null}},p(t,{pluginName:"swap",eventProperties:function(){return{swapItem:mn}}})}),Zt.mount(new function(){function t(t){for(var n in this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?M(document,"pointerup",this._deselectMultiDrag):(M(document,"mouseup",this._deselectMultiDrag),M(document,"touchend",this._deselectMultiDrag))),M(document,"keydown",this._checkKeyDown),M(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(n,i){var e="";Sn.length&&En===t?Sn.forEach((function(t,n){e+=(n?", ":"")+t.textContent})):e=i.textContent,n.setData("Text",e)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){zn=t.dragEl},delayEnded:function(){this.isMultiDrag=~Sn.indexOf(zn)},setupClone:function(t){var n=t.sortable,i=t.cancel;if(this.isMultiDrag){for(var e=0;e<Sn.length;e++)On.push(J(Sn[e])),On[e].sortableIndex=Sn[e].sortableIndex,On[e].draggable=!1,On[e].style["will-change"]="",N(On[e],this.options.selectedClass,!1),Sn[e]===zn&&N(On[e],this.options.chosenClass,!1);n._hideClone(),i()}},clone:function(t){var n=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Sn.length&&En===t.sortable&&(Cn(!0,t.rootEl),n("clone"),i()))},showClone:function(t){var n=t.cloneNowShown,i=t.cancel;this.isMultiDrag&&(Cn(!1,t.rootEl),On.forEach((function(t){W(t,"display","")})),n(),In=!1,i())},hideClone:function(t){var n=this,i=t.cloneNowHidden,e=t.cancel;this.isMultiDrag&&(On.forEach((function(t){W(t,"display","none"),n.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),i(),In=!0,e())},dragStartGlobal:function(){!this.isMultiDrag&&En&&En.multiDrag._deselectMultiDrag(),Sn.forEach((function(t){t.sortableIndex=K(t)})),Sn=Sn.sort((function(t,n){return t.sortableIndex-n.sortableIndex})),Tn=!0},dragStarted:function(t){var n=this,i=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Sn.forEach((function(t){t!==zn&&W(t,"position","absolute")}));var e=H(zn,!1,!0,!0);Sn.forEach((function(t){t!==zn&&Z(t,e)})),Mn=!0,kn=!0}i.animateAll((function(){Mn=!1,kn=!1,n.options.animation&&Sn.forEach((function(t){q(t)})),n.options.sort&&_n()}))}},dragOver:function(t){var n=t.completed,i=t.cancel;Mn&&~Sn.indexOf(t.target)&&(n(!1),i())},revert:function(t){var n=t.fromSortable,i=t.rootEl,e=t.sortable,r=t.dragRect;Sn.length>1&&(Sn.forEach((function(t){e.addAnimationState({target:t,rect:Mn?H(t):r}),q(t),t.fromRect=r,n.removeAnimationState(t)})),Mn=!1,function(t,n){Sn.forEach((function(i,e){var r=n.children[i.sortableIndex+(t?Number(e):0)];r?n.insertBefore(i,r):n.appendChild(i)}))}(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(t){var n=t.sortable,i=t.isOwner,e=t.activeSortable,r=t.parentEl,o=t.putSortable,s=this.options;if(t.insertion){if(i&&e._hideClone(),kn=!1,s.animation&&Sn.length>1&&(Mn||!i&&!e.options.sort&&!o)){var a=H(zn,!1,!0,!0);Sn.forEach((function(t){t!==zn&&(Z(t,a),r.appendChild(t))})),Mn=!0}if(!i)if(Mn||_n(),Sn.length>1){var u=In;e._showClone(n),e.options.animation&&!In&&u&&On.forEach((function(t){e.addAnimationState({target:t,rect:xn}),t.fromRect=xn,t.thisAnimationDuration=null}))}else e._showClone(n)}},dragOverAnimationCapture:function(t){var n=t.dragRect,i=t.isOwner,e=t.activeSortable;if(Sn.forEach((function(t){t.thisAnimationDuration=null})),e.options.animation&&!i&&e.multiDrag.isMultiDrag){xn=p({},n);var r=F(zn,!0);xn.top-=r.f,xn.left-=r.e}},dragOverAnimationComplete:function(){Mn&&(Mn=!1,_n())},drop:function(t){var n=t.originalEvent,i=t.rootEl,e=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,u=a||this.sortable;if(n){var l=this.options,h=e.children;if(!Tn)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),N(zn,l.selectedClass,!~Sn.indexOf(zn)),~Sn.indexOf(zn))Sn.splice(Sn.indexOf(zn),1),yn=null,et({sortable:r,rootEl:i,name:"deselect",targetEl:zn,originalEvent:n});else{if(Sn.push(zn),et({sortable:r,rootEl:i,name:"select",targetEl:zn,originalEvent:n}),n.shiftKey&&yn&&r.el.contains(yn)){var c,f,d=K(yn),v=K(zn);if(~d&&~v&&d!==v)for(v>d?(f=d,c=v):(f=v,c=d+1);f<c;f++)~Sn.indexOf(h[f])||(N(h[f],l.selectedClass,!0),Sn.push(h[f]),et({sortable:r,rootEl:i,name:"select",targetEl:h[f],originalEvent:n}))}else yn=zn;En=u}if(Tn&&this.isMultiDrag){if(Mn=!1,(e[Q].options.sort||e!==i)&&Sn.length>1){var m=H(zn),b=K(zn,":not(."+this.options.selectedClass+")");if(!kn&&l.animation&&(zn.thisAnimationDuration=null),u.captureAnimationState(),!kn&&(l.animation&&(zn.fromRect=m,Sn.forEach((function(t){if(t.thisAnimationDuration=null,t!==zn){var n=Mn?H(t):m;t.fromRect=n,u.addAnimationState({target:t,rect:n})}}))),_n(),Sn.forEach((function(t){h[b]?e.insertBefore(t,h[b]):e.appendChild(t),b++})),s===K(zn))){var p=!1;Sn.forEach((function(t){t.sortableIndex===K(t)||(p=!0)})),p&&o("update")}Sn.forEach((function(t){q(t)})),u.animateAll()}En=u}(i===e||a&&"clone"!==a.lastPutMode)&&On.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Tn=!1,On.length=0},destroyGlobal:function(){this._deselectMultiDrag(),T(document,"pointerup",this._deselectMultiDrag),T(document,"mouseup",this._deselectMultiDrag),T(document,"touchend",this._deselectMultiDrag),T(document,"keydown",this._checkKeyDown),T(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==Tn&&Tn||En!==this.sortable||t&&D(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;Sn.length;){var n=Sn[0];N(n,this.options.selectedClass,!1),Sn.shift(),et({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},p(t,{pluginName:"multiDrag",utils:{select:function(t){var n=t.parentNode[Q];n&&n.options.multiDrag&&!~Sn.indexOf(t)&&(En&&En!==n&&(En.multiDrag._deselectMultiDrag(),En=n),N(t,n.options.selectedClass,!0),Sn.push(t))},deselect:function(t){var n=t.parentNode[Q],i=Sn.indexOf(t);n&&n.options.multiDrag&&~i&&(N(t,n.options.selectedClass,!1),Sn.splice(i,1))}},eventProperties:function(){var t,n=this,i=[],e=[];return Sn.forEach((function(t){var r;i.push({multiDragElement:t,index:t.sortableIndex}),r=Mn&&t!==zn?-1:Mn?K(t,":not(."+n.options.selectedClass+")"):K(t),e.push({multiDragElement:t,index:r})})),{items:(t=Sn,function(t){if(Array.isArray(t))return w(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return w(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(On),oldIndicies:i,newIndicies:e}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})});let Dn=0;const An=class{constructor(i){t(this,i),this.stzhUpdate=n(this,"stzhUpdate",7),this.stzhDisable=n(this,"stzhDisable",7),this.selectedItem=null,this.resetItemOnBlur=!1,this.init=()=>{this.getContainer()&&!this.disabled&&this.setAttributes()},this.updated=async t=>{let n,i,e;t?(n=t.newIndex,i=t.oldIndex,e=t.item):(n=this.getIndexOfSelectedItem(),i=this.lastIndex,e=this.selectedItem),n!==i&&this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:e,newIndex:n,oldIndex:i})},this.onKeydown=t=>{const n=t.currentTarget,i=t.target;if(!this.getContainer()||this.disabled)return;const e=i.matches(this._filterElements.join(", "));" "!==t.key||e?"Tab"===t.key&&this.selectedItem&&this.selectedItem===t.currentTarget?t.preventDefault():"Escape"===t.key&&this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.canceled),this.resetActiveItem(!0)):"ArrowUp"===t.key?this.selectedItem?this.moveItem(this.selectedItem,"up"):this.focusItem(n.previousElementSibling):"ArrowDown"===t.key&&(this.selectedItem?this.moveItem(this.selectedItem,"down"):this.focusItem(n.nextElementSibling)):(t.preventDefault(),this.selectedItem?(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem()):(this.selectedItem=n,this.selectedItem.parentElement.classList.add("has-item-selected"),this.selectedItem.classList.add("is-selected"),this.lastIndex=this.getIndexOfSelectedItem(),this.resetItemOnBlur=!0,this.updateAriaLive(this.localization.started)))},this.onBlur=()=>{this.resetItemOnBlur&&(this.resetItemOnBlur=!1,this.updateAriaLive(this.localization.dropped),this.updated(),this.resetActiveItem())},this.localization=void 0,this.disabled=!1,this.dataIdAttribute="data-id",this.container=()=>{var t;return null===(t=this.containerElement)||void 0===t?void 0:t.firstElementChild},this.ghostClone=t=>{const[n]=o(t);return n},this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}async toArray(){return this.sortable.toArray()}async sort(t,n=!0){return this.sortable.sort(t,n)}async moveItem(t,n){var i;if(!t||!t.nextElementSibling&&"down"===n||!t.previousElementSibling&&"up"===n)return;this.resetItemOnBlur=!1,"up"===n?t.previousElementSibling.before(t):"down"===n&&t.nextElementSibling.after(t),this.updateAriaLive(this.localization.moved,t),this.focusItem(t);const e=Array.from(null===(i=t.parentElement)||void 0===i?void 0:i.children).indexOf(t);this.stzhUpdate.emit({component:"stzh-sortable",data:await this.toArray(),item:t,newIndex:e,oldIndex:e+("up"===n?1:-1)}),this.resetItemOnBlur=!0}disabledWatcher(t){t?this.setAttributes():this.unsetAttributes(),this.stzhDisable.emit({component:"stzh-sortable",disabled:t})}filterElementsWatcher(t){this._filterElements="string"==typeof t?JSON.parse(t):t}getContainer(){return"function"==typeof this.container?this.container():this.container}updateAriaLive(t,n=this.selectedItem){if(!this.getContainer())return;if(n){const i=n.getAttribute("aria-label")||"",e=this.getIndexOfSelectedItem(n);t=t.replace("{title}",i).replace("{current}",(e+1).toString())}const i=this.getContainer().children.length;t=t.replace("{total}",i.toString()),this.ariaLiveElement.textContent=t}getIndexOfSelectedItem(t=this.selectedItem){if(t)return Array.from(t.parentElement.children).indexOf(t)}resetActiveItem(t=!1){if(!this.selectedItem)return;const n=this.getIndexOfSelectedItem(),i=this.selectedItem.parentElement;t&&this.lastIndex!==n&&(this.lastIndex>n?i.children[this.lastIndex].after(this.selectedItem):i.children[this.lastIndex].before(this.selectedItem),this.selectedItem.focus()),i.classList.remove("has-item-selected"),this.selectedItem.classList.remove("is-selected"),this.selectedItem=null,this.lastIndex=null}focusItem(t){if(!t)return;t.focus();const n=document.querySelector("stzh-flyingfocus");n&&n.reposition(),function(t,n){var i=t.isConnected||t.ownerDocument.documentElement.contains(t);if(f(n)&&"function"==typeof n.behavior)return n.behavior(i?c(t,n):[]);if(i){var e=function(t){return!1===t?{block:"end",inline:"nearest"}:f(t)?t:{block:"start",inline:"nearest"}}(n);(function(t,n){void 0===n&&(n="auto");var i="scrollBehavior"in document.body.style;t.forEach((function(t){var e=t.el,r=t.top,o=t.left;e.scroll&&i?e.scroll({top:r,left:o,behavior:n}):(e.scrollTop=r,e.scrollLeft=o)}))})(c(t,e),e.behavior)}}(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})}setAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.add("is-sortable-item"),t.addEventListener("blur",this.onBlur),t.addEventListener("keydown",this.onKeydown),t.setAttribute("tabindex","0"),t.setAttribute("aria-describedby",`${this.sortableId}-description`)}))}unsetAttributes(){Array.from(this.getContainer().children).forEach((t=>{t.classList.remove("is-sortable-item"),t.removeEventListener("blur",this.onBlur),t.removeEventListener("keydown",this.onKeydown),t.removeAttribute("tabindex"),t.removeAttribute("aria-describedby")}))}async componentWillLoad(){this.sortableId="stzh-sortable-"+Dn++,this.filterElementsWatcher(this.filterElements),this.localization||(this.localization=await s(this.element,"sortable"))}componentWillUpdate(){this.sortable&&(this.sortable.destroy(),this.sortable=null)}componentDidRender(){this.sortable||(this.sortable=new Zt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:"is-ghost",chosenClass:"is-chosen",dragClass:"is-drag",dataIdAttr:this.dataIdAttribute,preventOnFilter:!1,forceFallback:!0,delay:200,delayOnTouchOnly:!0,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated}))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect(),this.unsetAttributes(),this.sortable&&(this.sortable.destroy(),this.sortable=null)}render(){return i(e,null,i("div",{class:{"stzh-sortable":!0,"stzh-sortable--disabled":this.disabled}},i("div",{id:`${this.sortableId}-description`,class:"stzh-sortable__description"},this.localization.description),i("div",{ref:t=>this.ariaLiveElement=t,"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:t=>this.containerElement=t,class:"stzh-sortable__container"},i("slot",null))))}get element(){return r(this)}static get watchers(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}}};An.style='.sc-stzh-sortable-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-sortable-h{display:none}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-sortable-h{--cursor:grab;--grabbing-cursor:grabbing;--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey5);--ghost-item-box-shadow:inset 0 0 0.5rem rgba(0, 0, 0, 0.32)}[disabled].sc-stzh-sortable-h{--cursor:inherit}.sc-stzh-sortable-h[disabled] .sc-stzh-sortable-s *.is-sortable-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:var(--cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:var(--grabbing-cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);-webkit-box-shadow:var(--ghost-item-box-shadow);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';export{An as stzh_sortable}
@@ -1 +0,0 @@
1
- import{r as e,e as a,f as s,h as t,a as i,g as r}from"./p-9a5ebb1f.js";import{h}from"./p-86a29c35.js";import{m as n}from"./p-9111e257.js";const d=class{constructor(a){e(this,a),this.href="https://www.stadt-zuerich.ch",this.metabarStay=!1,this.stickyDisabled=!1,this.preventAppnavPlaceholder=!1,this.hideLogo=!1,this.paddingTop=void 0,this.metabarTransform=void 0,this.sticky=!1,this.stickyClosing=!1,this.stickyMetabar=!1,this.stickyMetabarEnd=!1}async updatePosition(){if(this.stickyDisabled)return;const e=()=>{this.sticky=!1,this.stickyClosing=!1,this.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint)!this.sticky&&this.belowStartStickyPoint&&(this.paddingTop=this.headerHeight,this.sticky=!0),this.updateMetabarPosition();else if(this.sticky&&this.belowStayStickyPoint){const a=()=>{e(),this.updateMetabarPosition(),this.innerElement.removeEventListener("animationend",a)};this.innerElement.addEventListener("animationend",a),this.stickyClosing=!0}else e(),this.updateMetabarPosition()}resizeListener(){this.stickyDisabled||(this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame((()=>{a((()=>{this.isSmall=n("small").matches,this.isSmallheader=n("smallheader").matches,this.headerTop=this.element.offsetTop,this.headerHeight=this.element.offsetHeight,this.appnavHeight=this.appnavElement?this.appnavElement.offsetHeight:0,this.metabarHeight=this.metabarElement?this.metabarElement.offsetHeight:0})),s((()=>{this.appnavPlaceholderElement.style.height=!this.appnavHeight||this.isSmall||this.preventAppnavPlaceholder?"0px":`${this.appnavHeight}px`})),this.scrollListener()})))}scrollListener(){this.stickyDisabled||(a((()=>{this.scrollTop=this.getScrollTop(),this.scrollingUp=this.lastScrollTop&&this.lastScrollTop>this.scrollTop,this.lastScrollTop=this.scrollTop,this.innerHeight=this.innerElement?this.innerElement.offsetHeight:0,this.mainHeight=this.mainElement?this.mainElement.offsetHeight:0,this.logobarHeight=this.sticky?this.isSmall?this.headerHeight-this.innerHeight:this.headerHeight-this.mainHeight:this.logobarElement?this.logobarElement.offsetHeight:0,this.belowStayStickyPoint=this.scrollTop>this.logobarHeight,this.belowStartStickyPoint=this.scrollTop>this.headerHeight,this.headerOverlap=(this.headerTop-this.scrollTop)/-1,this.hideLogo=this.isSmallheader&&this.headerOverlap>10})),s((()=>{this.updatePosition()})))}getScrollTop(){return window.pageYOffset||document.documentElement.scrollTop}updateMetabarPosition(){this.metabarElement&&!this.stickyDisabled&&(CSS&&CSS.supports&&CSS.supports("position","sticky")||(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing?this.headerOverlap<this.mainHeight-this.metabarHeight?(this.stickyMetabar=!0,this.stickyMetabarEnd=!1,this.metabarTransform="translateY(0)"):(this.stickyMetabar=!1,this.stickyMetabarEnd=!0,this.metabarTransform=`translateY(${this.logobarHeight}px)`):(this.stickyMetabar=!1,this.stickyMetabarEnd=!1,this.metabarTransform="translateY(0)")))}connectedCallback(){this.appnavPlaceholderElement=document.createElement("div"),this.element.parentElement.appendChild(this.appnavPlaceholderElement)}disconnectedCallback(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement)}render(){const e=h(this.element,"login"),a=h(this.element,"appnav");return t(i,null,t("div",{style:{paddingTop:`${this.paddingTop}px`},class:{header:!0,"header--is-sticky-disabled":this.stickyDisabled,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-metabar-stay":this.metabarStay,"header--has-empty-metabar":!e,"header--has-appnav":a}},t("div",{class:"header__inner",ref:e=>this.innerElement=e},t("div",{class:"header__main",ref:e=>this.mainElement=e},t("div",{class:"header__logobar",ref:e=>this.logobarElement=e},t("div",{class:"header__logobar-logo"},t("a",{href:this.href,class:"header__logo-link"},t("slot",{name:"logo"})))),t("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:e=>this.metabarElement=e},t("div",{class:"header__metabar-inner"},t("div",{class:"header__metabar-nav"},t("slot",{name:"nav"})),t("div",{class:"header__metabar-login"},t("slot",{name:"login"})),t("div",{class:"header__metabar-langnav"},t("slot",{name:"langnav"}))))),t("div",{class:"header__appnav",ref:e=>this.appnavElement=e},t("div",{class:"header__appnav-inner"},t("slot",{name:"appnav"}))))))}get element(){return r(this)}};d.style=".sc-stzh-header-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-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-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)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-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 (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:empty){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}@media screen and (min-width: 800px){.header__metabar-langnav.sc-stzh-header:not(:empty){margin-left:var(--stzh-space-medium)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar.sc-stzh-header{display:block;border-top:none;background-color:var(--stzh-color-grey5)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 1.25rem;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 799px) and (min-width: 600px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (max-width: 799px) and (min-width: 1024px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (max-width: 799px) and (min-width: 1260px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (max-width: 799px) and (min-width: 1440px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky):not(.header--is-sticky-disabled) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky.header--has-empty-metabar.sc-stzh-header:not(.header--has-appnav) .header__main.sc-stzh-header{border-bottom:none}}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (max-width: 599px){.header--sticky.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__main.sc-stzh-header{padding-top:4rem}}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__metabar.sc-stzh-header{position:absolute}}}";export{d as stzh_header}