@oiz/stzh-components 2.1.0 → 2.2.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-f4ad4e99.js} +1 -1
  2. package/dist/cjs/index.cjs.js +17 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion-item.cjs.entry.js +3 -2
  5. package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
  6. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  10. package/dist/cjs/stzh-badge_3.cjs.entry.js +12 -5
  11. package/dist/cjs/stzh-card_3.cjs.entry.js +474 -0
  12. package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
  13. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-components.cjs.js +2 -2
  17. package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
  18. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
  20. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-details.cjs.entry.js +152 -0
  22. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
  27. package/dist/cjs/stzh-header.cjs.entry.js +28 -14
  28. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  31. package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
  32. package/dist/cjs/stzh-link.cjs.entry.js +10 -3
  33. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
  35. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  37. package/dist/cjs/stzh-popover.cjs.entry.js +9 -5
  38. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
  41. package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
  42. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-textandimage.cjs.entry.js +33 -0
  44. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-tooltip.cjs.entry.js +11 -8
  46. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  47. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
  48. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
  49. package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
  50. package/dist/collection/assets/i18n/de.json +6 -1
  51. package/dist/collection/assets/i18n/en.json +6 -1
  52. package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
  53. package/dist/collection/assets/icons/mono/construction.svg +2 -2
  54. package/dist/collection/assets/icons/mono/fountain.svg +3 -0
  55. package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
  56. package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
  57. package/dist/collection/assets/icons/mono/reload.svg +2 -9
  58. package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
  59. package/dist/collection/collection-manifest.json +6 -0
  60. package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
  61. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +2 -2
  62. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +4 -3
  63. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
  64. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  65. package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
  66. package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
  67. package/dist/collection/components/stzh-button/stzh-button.css +2 -2
  68. package/dist/collection/components/stzh-button/stzh-button.js +78 -3
  69. package/dist/collection/components/stzh-card/stzh-card.css +71 -22
  70. package/dist/collection/components/stzh-card/stzh-card.js +90 -2
  71. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  72. package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
  73. package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
  74. package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
  75. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
  76. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
  77. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +6 -3
  78. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +2 -2
  79. package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
  80. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
  81. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
  82. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
  83. package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
  84. package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
  85. package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
  86. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
  87. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +260 -0
  88. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
  89. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
  90. package/dist/collection/components/stzh-details/stzh-details.css +119 -0
  91. package/dist/collection/components/stzh-details/stzh-details.js +313 -0
  92. package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
  93. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
  94. package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
  95. package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
  96. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
  97. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +32 -5
  98. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
  99. package/dist/collection/components/stzh-header/stzh-header.css +87 -4
  100. package/dist/collection/components/stzh-header/stzh-header.js +63 -13
  101. package/dist/collection/components/stzh-header/stzh-header.stories.js +20 -0
  102. package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
  103. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  104. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  105. package/dist/collection/components/stzh-input/stzh-input.css +5 -5
  106. package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
  107. package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
  108. package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
  109. package/dist/collection/components/stzh-link/stzh-link.js +95 -2
  110. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
  111. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
  112. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
  113. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
  114. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
  115. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
  116. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  117. package/dist/collection/components/stzh-popover/stzh-popover.js +9 -5
  118. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
  119. package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
  120. package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
  121. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
  122. package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
  123. package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
  124. package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
  125. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +167 -0
  126. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +78 -0
  127. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
  128. package/dist/collection/components/stzh-toggle/stzh-toggle.css +2 -1
  129. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -8
  130. package/dist/collection/components/stzh-upload/stzh-upload.css +1 -1
  131. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  132. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
  133. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
  134. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
  135. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
  136. package/dist/collection/index.js +12 -0
  137. package/dist/collection/pages/egov.stories.js +9 -6
  138. package/dist/collection/patterns/appointments.stories.js +3 -3
  139. package/dist/collection/patterns/contact.stories.js +118 -0
  140. package/dist/collection/patterns/contactform.stories.js +125 -0
  141. package/dist/collection/patterns/subpages.stories.js +98 -0
  142. package/dist/components/index.d.ts +6 -0
  143. package/dist/components/index.js +8 -1
  144. package/dist/components/index2.js +17 -2017
  145. package/dist/components/index3.js +2017 -0
  146. package/dist/components/stzh-accordion-item.js +3 -2
  147. package/dist/components/stzh-accordion.js +3 -1
  148. package/dist/components/stzh-anchornav.js +2 -2
  149. package/dist/components/stzh-audio.js +2 -2
  150. package/dist/components/stzh-button2.js +15 -4
  151. package/dist/components/stzh-card-list.js +1 -114
  152. package/dist/components/stzh-card-list2.js +123 -0
  153. package/dist/components/stzh-card.js +1 -358
  154. package/dist/components/stzh-card2.js +376 -0
  155. package/dist/components/stzh-chart.js +3 -5
  156. package/dist/components/stzh-checkbox.js +1 -1
  157. package/dist/components/stzh-chip-select.js +1 -157
  158. package/dist/{esm/stzh-chip-select.entry.js → components/stzh-chip-select2.js} +61 -10
  159. package/dist/components/stzh-clamp2.js +1 -1
  160. package/dist/components/stzh-contactaddress.js +74 -10
  161. package/dist/components/stzh-cspace.js +1 -1
  162. package/dist/components/stzh-datalist-item.d.ts +11 -0
  163. package/dist/components/stzh-datalist-item.js +6 -0
  164. package/dist/components/stzh-datalist-item2.js +128 -0
  165. package/dist/components/stzh-datalist.js +1 -96
  166. package/dist/components/stzh-datalist2.js +147 -0
  167. package/dist/components/stzh-details.d.ts +11 -0
  168. package/dist/components/stzh-details.js +170 -0
  169. package/dist/components/stzh-dropdown2.js +1 -1
  170. package/dist/components/stzh-figure.js +1 -1
  171. package/dist/components/stzh-footer.js +1 -1
  172. package/dist/components/stzh-ghettobox2.js +7 -3
  173. package/dist/components/stzh-header.js +29 -13
  174. package/dist/components/stzh-heading2.js +1 -1
  175. package/dist/components/stzh-icon-sprite.js +1 -1
  176. package/dist/components/stzh-input2.js +1 -1
  177. package/dist/components/stzh-langnav.d.ts +11 -0
  178. package/dist/components/stzh-langnav.js +73 -0
  179. package/dist/components/stzh-link2.js +14 -2
  180. package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
  181. package/dist/components/stzh-microsite-teaserlist.js +212 -0
  182. package/dist/components/stzh-pagetitle-hero.js +2 -2
  183. package/dist/components/stzh-pagetitle.js +1 -1
  184. package/dist/components/stzh-popover2.js +9 -5
  185. package/dist/components/stzh-portal-mitwirken.js +1 -1
  186. package/dist/components/stzh-radio2.js +1 -1
  187. package/dist/components/stzh-richtext2.js +1 -1
  188. package/dist/components/stzh-sitemap.d.ts +11 -0
  189. package/dist/components/stzh-sitemap.js +69 -0
  190. package/dist/components/stzh-sortable2.js +29 -10
  191. package/dist/components/stzh-textandimage.d.ts +11 -0
  192. package/dist/components/stzh-textandimage.js +50 -0
  193. package/dist/components/stzh-toggle.js +1 -1
  194. package/dist/components/stzh-tooltip2.js +11 -8
  195. package/dist/components/stzh-upload.js +1 -1
  196. package/dist/components/stzh-vbz-majorticker.js +25 -12
  197. package/dist/components/stzh-vbz-ticker.js +26 -37
  198. package/dist/components/utils.js +1 -1
  199. package/dist/esm/{app-globals-246b5e49.js → app-globals-17c2ba8d.js} +1 -1
  200. package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
  201. package/dist/esm/index.js +16 -0
  202. package/dist/esm/loader.js +3 -3
  203. package/dist/esm/stzh-accordion-item.entry.js +4 -3
  204. package/dist/esm/stzh-accordion.entry.js +4 -2
  205. package/dist/esm/stzh-actions.entry.js +2 -2
  206. package/dist/esm/stzh-actionset.entry.js +1 -1
  207. package/dist/esm/stzh-anchornav.entry.js +3 -3
  208. package/dist/esm/stzh-appnav.entry.js +2 -2
  209. package/dist/esm/stzh-appointments.entry.js +1 -1
  210. package/dist/esm/stzh-audio.entry.js +4 -4
  211. package/dist/esm/stzh-badge_3.entry.js +13 -6
  212. package/dist/esm/stzh-calendar.entry.js +1 -1
  213. package/dist/esm/stzh-card_3.entry.js +468 -0
  214. package/dist/esm/stzh-cell.entry.js +1 -1
  215. package/dist/esm/stzh-chart.entry.js +3 -4
  216. package/dist/esm/stzh-checkbox.entry.js +4 -4
  217. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  218. package/dist/esm/stzh-chip.entry.js +1 -1
  219. package/dist/esm/stzh-clamp.entry.js +2 -2
  220. package/dist/esm/stzh-components.js +3 -3
  221. package/dist/esm/stzh-contactaddress.entry.js +34 -8
  222. package/dist/esm/stzh-container.entry.js +1 -1
  223. package/dist/esm/stzh-cspace.entry.js +2 -2
  224. package/dist/esm/stzh-datalist_2.entry.js +175 -0
  225. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  226. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  227. package/dist/esm/stzh-datatable.entry.js +1 -1
  228. package/dist/esm/stzh-datepicker_3.entry.js +4 -4
  229. package/dist/esm/stzh-details.entry.js +148 -0
  230. package/dist/esm/stzh-dialog.entry.js +2 -2
  231. package/dist/esm/stzh-dropdown.entry.js +4 -4
  232. package/dist/esm/stzh-fieldset.entry.js +1 -1
  233. package/dist/esm/stzh-figure.entry.js +3 -3
  234. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  235. package/dist/esm/stzh-footer.entry.js +3 -3
  236. package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
  237. package/dist/esm/stzh-header.entry.js +29 -15
  238. package/dist/esm/stzh-heading.entry.js +2 -2
  239. package/dist/esm/stzh-hr.entry.js +1 -1
  240. package/dist/esm/stzh-hspace.entry.js +1 -1
  241. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  242. package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  243. package/dist/esm/stzh-input.entry.js +4 -4
  244. package/dist/esm/stzh-langnav.entry.js +33 -0
  245. package/dist/esm/stzh-link.entry.js +11 -4
  246. package/dist/esm/stzh-list-item.entry.js +1 -1
  247. package/dist/esm/stzh-list.entry.js +1 -1
  248. package/dist/esm/stzh-loader.entry.js +1 -1
  249. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  250. package/dist/esm/stzh-menu_2.entry.js +2 -2
  251. package/dist/esm/stzh-message.entry.js +1 -1
  252. package/dist/esm/stzh-metanav.entry.js +1 -1
  253. package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
  254. package/dist/esm/stzh-olmap.entry.js +1 -1
  255. package/dist/esm/stzh-overlay.entry.js +1 -1
  256. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  257. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  258. package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
  259. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  260. package/dist/esm/stzh-popover.entry.js +10 -6
  261. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  262. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  263. package/dist/esm/stzh-progressbar.entry.js +1 -1
  264. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  265. package/dist/esm/stzh-row.entry.js +1 -1
  266. package/dist/esm/stzh-saptcha.entry.js +1 -1
  267. package/dist/esm/stzh-section.entry.js +1 -1
  268. package/dist/esm/stzh-share.entry.js +1 -1
  269. package/dist/esm/stzh-sitemap.entry.js +20 -0
  270. package/dist/esm/stzh-skiplink.entry.js +1 -1
  271. package/dist/esm/stzh-sortable.entry.js +31 -12
  272. package/dist/esm/stzh-status.entry.js +1 -1
  273. package/dist/esm/stzh-sticky.entry.js +1 -1
  274. package/dist/esm/stzh-table.entry.js +2 -2
  275. package/dist/esm/stzh-text.entry.js +1 -1
  276. package/dist/esm/stzh-textandimage.entry.js +29 -0
  277. package/dist/esm/stzh-toggle.entry.js +4 -4
  278. package/dist/esm/stzh-tooltip.entry.js +12 -9
  279. package/dist/esm/stzh-upload.entry.js +4 -4
  280. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  281. package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
  282. package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
  283. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  284. package/dist/esm/stzh-vspace.entry.js +1 -1
  285. package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  286. package/dist/esm-es5/app-globals-17c2ba8d.js +1 -0
  287. package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
  288. package/dist/esm-es5/index.js +1 -0
  289. package/dist/esm-es5/loader.js +1 -1
  290. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  291. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  292. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  293. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  294. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  295. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  296. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  297. package/dist/esm-es5/stzh-audio.entry.js +2 -2
  298. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  299. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  300. package/dist/esm-es5/stzh-card_3.entry.js +1 -0
  301. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  302. package/dist/esm-es5/stzh-chart.entry.js +2 -2
  303. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  304. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  305. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  306. package/dist/esm-es5/stzh-clamp.entry.js +1 -1
  307. package/dist/esm-es5/stzh-components.js +1 -1
  308. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
  309. package/dist/esm-es5/stzh-container.entry.js +1 -1
  310. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  311. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
  312. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  313. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  314. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  315. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  316. package/dist/esm-es5/stzh-details.entry.js +1 -0
  317. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  318. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  319. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  320. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  321. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  322. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  323. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  324. package/dist/esm-es5/stzh-header.entry.js +1 -1
  325. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  326. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  327. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  328. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  329. package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  330. package/dist/esm-es5/stzh-input.entry.js +1 -1
  331. package/dist/esm-es5/stzh-langnav.entry.js +1 -0
  332. package/dist/esm-es5/stzh-link.entry.js +1 -1
  333. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  334. package/dist/esm-es5/stzh-list.entry.js +1 -1
  335. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  336. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  337. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  338. package/dist/esm-es5/stzh-message.entry.js +1 -1
  339. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  340. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
  341. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  342. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  343. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  344. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  345. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  346. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  347. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  348. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  349. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  350. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  351. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  352. package/dist/esm-es5/stzh-row.entry.js +1 -1
  353. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  354. package/dist/esm-es5/stzh-section.entry.js +1 -1
  355. package/dist/esm-es5/stzh-share.entry.js +1 -1
  356. package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
  357. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  358. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  359. package/dist/esm-es5/stzh-status.entry.js +1 -1
  360. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  361. package/dist/esm-es5/stzh-table.entry.js +1 -1
  362. package/dist/esm-es5/stzh-text.entry.js +1 -1
  363. package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
  364. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  365. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  366. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  367. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  368. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  369. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  370. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  371. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  372. package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  373. package/dist/stzh-components/assets/i18n/de.json +6 -1
  374. package/dist/stzh-components/assets/i18n/en.json +6 -1
  375. package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
  376. package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
  377. package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
  378. package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
  379. package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
  380. package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
  381. package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
  382. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  383. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  384. package/dist/stzh-components/index.esm.js +1 -0
  385. package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
  386. package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
  387. package/dist/stzh-components/p-02fd7470.entry.js +1 -0
  388. package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-037357fc.system.entry.js} +1 -1
  389. package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
  390. package/dist/stzh-components/p-04a45622.system.entry.js +1 -0
  391. package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
  392. package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
  393. package/dist/stzh-components/{p-20a6ffbb.entry.js → p-0b264a7a.entry.js} +1 -1
  394. package/dist/stzh-components/p-0b9dc96d.system.js +1 -0
  395. package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
  396. package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
  397. package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
  398. package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
  399. package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
  400. package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-171c5795.system.entry.js} +1 -1
  401. package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
  402. package/dist/stzh-components/{p-67ade1c7.system.entry.js → p-1ca12032.system.entry.js} +1 -1
  403. package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
  404. package/dist/stzh-components/{p-3e504f50.entry.js → p-1da26ca1.entry.js} +1 -1
  405. package/dist/stzh-components/p-1fe1169e.entry.js +1 -0
  406. package/dist/stzh-components/{p-229d4ad2.entry.js → p-213959b7.entry.js} +1 -1
  407. package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
  408. package/dist/stzh-components/p-231e6e6a.system.entry.js +1 -0
  409. package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
  410. package/dist/stzh-components/{p-881e526e.system.entry.js → p-2862cdd8.system.entry.js} +1 -1
  411. package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
  412. package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
  413. package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-2b5b1e4a.system.entry.js} +1 -1
  414. package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
  415. package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
  416. package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
  417. package/dist/stzh-components/{p-cbaab05e.entry.js → p-31029226.entry.js} +1 -1
  418. package/dist/stzh-components/{p-c777032f.system.entry.js → p-311813bc.system.entry.js} +1 -1
  419. package/dist/stzh-components/p-3145cd2f.entry.js +1 -0
  420. package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
  421. package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
  422. package/dist/stzh-components/{p-d4b93488.entry.js → p-34b45788.entry.js} +1 -1
  423. package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
  424. package/dist/stzh-components/{p-a866b3a3.entry.js → p-3848d8ee.entry.js} +1 -1
  425. package/dist/stzh-components/p-38f9cbf3.system.entry.js +1 -0
  426. package/dist/stzh-components/p-3905ca20.entry.js +1 -0
  427. package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
  428. package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
  429. package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
  430. package/dist/stzh-components/{p-7a584d3f.system.entry.js → p-4228cd58.system.entry.js} +1 -1
  431. package/dist/stzh-components/p-441ea784.entry.js +1 -0
  432. package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
  433. package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
  434. package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
  435. package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
  436. package/dist/stzh-components/{p-238a8c83.system.entry.js → p-4bd7dafb.system.entry.js} +1 -1
  437. package/dist/stzh-components/{p-fade35c7.entry.js → p-4c7e52aa.entry.js} +1 -1
  438. package/dist/stzh-components/{p-ff2a6bdf.system.entry.js → p-4cd9f5c7.system.entry.js} +1 -1
  439. package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
  440. package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
  441. package/dist/stzh-components/p-55f6fa41.system.entry.js +1 -0
  442. package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
  443. package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
  444. package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
  445. package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
  446. package/dist/stzh-components/{p-37bdb9cd.system.entry.js → p-5b379647.system.entry.js} +1 -1
  447. package/dist/stzh-components/{p-3a279b45.entry.js → p-5c3c9ad4.entry.js} +1 -1
  448. package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
  449. package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
  450. package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
  451. package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
  452. package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
  453. package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
  454. package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
  455. package/dist/stzh-components/p-65675e11.entry.js +1 -0
  456. package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
  457. package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
  458. package/dist/stzh-components/{p-c1100fde.entry.js → p-68400ee7.entry.js} +1 -1
  459. package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
  460. package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
  461. package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
  462. package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
  463. package/dist/stzh-components/{p-090bfb8e.system.entry.js → p-7684506e.system.entry.js} +1 -1
  464. package/dist/stzh-components/p-791bc813.system.js +1 -0
  465. package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
  466. package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
  467. package/dist/stzh-components/p-7da446d5.js +1 -0
  468. package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
  469. package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
  470. package/dist/stzh-components/p-83830baa.system.entry.js +1 -0
  471. package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
  472. package/dist/stzh-components/p-84c86e4c.system.entry.js +1 -0
  473. package/dist/stzh-components/p-86a29c35.js +1 -0
  474. package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
  475. package/dist/stzh-components/{p-b0e514c7.entry.js → p-88cbd2c0.entry.js} +1 -1
  476. package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
  477. package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
  478. package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
  479. package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
  480. package/dist/stzh-components/p-92afa8df.entry.js +1 -0
  481. package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
  482. package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
  483. package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
  484. package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
  485. package/dist/stzh-components/p-996579d0.entry.js +1 -0
  486. package/dist/stzh-components/p-99f92c6d.system.entry.js +1 -0
  487. package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
  488. package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
  489. package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
  490. package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
  491. package/dist/stzh-components/p-a16dc363.entry.js +1 -0
  492. package/dist/stzh-components/{p-7c172e64.system.entry.js → p-a17754c7.system.entry.js} +1 -1
  493. package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
  494. package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
  495. package/dist/stzh-components/{p-293ceb5e.entry.js → p-a795868f.entry.js} +1 -1
  496. package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
  497. package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
  498. package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
  499. package/dist/stzh-components/{p-8f9de52f.system.entry.js → p-ab28e094.system.entry.js} +1 -1
  500. package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
  501. package/dist/stzh-components/{p-7dec02ca.entry.js → p-addc48e5.entry.js} +1 -1
  502. package/dist/stzh-components/p-af0ab448.system.entry.js +1 -0
  503. package/dist/stzh-components/p-af63f1a4.entry.js +1 -0
  504. package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
  505. package/dist/stzh-components/{p-140e4b63.entry.js → p-b0fe9349.entry.js} +1 -1
  506. package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
  507. package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
  508. package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
  509. package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
  510. package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
  511. package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
  512. package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
  513. package/dist/stzh-components/p-c065387a.entry.js +1 -0
  514. package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
  515. package/dist/stzh-components/p-c26aec94.entry.js +1 -0
  516. package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
  517. package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
  518. package/dist/stzh-components/p-c42435be.entry.js +1 -0
  519. package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
  520. package/dist/stzh-components/{p-51c75fba.system.entry.js → p-cfc0bc2e.system.entry.js} +1 -1
  521. package/dist/stzh-components/p-cff8376e.entry.js +1 -0
  522. package/dist/stzh-components/p-d1d5825d.entry.js +1 -0
  523. package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
  524. package/dist/stzh-components/{p-92ad9720.system.entry.js → p-d4405931.system.entry.js} +1 -1
  525. package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
  526. package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
  527. package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
  528. package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
  529. package/dist/stzh-components/p-dce19efd.entry.js +1 -0
  530. package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
  531. package/dist/stzh-components/p-e2e54f09.system.js +1 -0
  532. package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
  533. package/dist/stzh-components/{p-b3587b9d.system.entry.js → p-e71cd5cd.system.entry.js} +1 -1
  534. package/dist/stzh-components/p-e72ca013.system.entry.js +1 -0
  535. package/dist/stzh-components/p-e76a3647.entry.js +1 -0
  536. package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
  537. package/dist/stzh-components/{p-025953d1.system.entry.js → p-e812d35e.system.entry.js} +1 -1
  538. package/dist/stzh-components/p-eaa65f52.system.js +1 -0
  539. package/dist/stzh-components/p-eade9f77.entry.js +1 -0
  540. package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
  541. package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
  542. package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
  543. package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
  544. package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
  545. package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
  546. package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
  547. package/dist/stzh-components/{p-38b9e5e9.entry.js → p-f37be5d7.entry.js} +1 -1
  548. package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-f59b3545.system.entry.js} +1 -1
  549. package/dist/stzh-components/{p-b54ed1f9.entry.js → p-f5db6234.entry.js} +1 -1
  550. package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
  551. package/dist/stzh-components/{p-04dd6821.entry.js → p-f792fc8f.entry.js} +1 -1
  552. package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
  553. package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
  554. package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
  555. package/dist/stzh-components/stzh-components.esm.js +1 -1
  556. package/dist/stzh-components/stzh-components.js +1 -1
  557. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
  558. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
  559. package/dist/types/components.d.ts +508 -27
  560. package/dist/types/index.d.ts +81 -2
  561. package/dist/vscode-data.json +278 -17
  562. package/package.json +1 -1
  563. package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
  564. package/dist/cjs/stzh-card.cjs.entry.js +0 -282
  565. package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
  566. package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
  567. package/dist/esm/stzh-card-list.entry.js +0 -72
  568. package/dist/esm/stzh-card.entry.js +0 -278
  569. package/dist/esm/stzh-datalist.entry.js +0 -58
  570. package/dist/esm-es5/app-globals-246b5e49.js +0 -1
  571. package/dist/esm-es5/stzh-card-list.entry.js +0 -1
  572. package/dist/esm-es5/stzh-card.entry.js +0 -1
  573. package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
  574. package/dist/esm-es5/stzh-datalist.entry.js +0 -1
  575. package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
  576. package/dist/stzh-components/p-0230004d.system.js +0 -1
  577. package/dist/stzh-components/p-105a11cb.entry.js +0 -1
  578. package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
  579. package/dist/stzh-components/p-17ae6581.entry.js +0 -1
  580. package/dist/stzh-components/p-1f57d28e.js +0 -1
  581. package/dist/stzh-components/p-25ef050a.entry.js +0 -1
  582. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
  583. package/dist/stzh-components/p-38977481.entry.js +0 -1
  584. package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
  585. package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
  586. package/dist/stzh-components/p-50ea2036.system.js +0 -1
  587. package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
  588. package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
  589. package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
  590. package/dist/stzh-components/p-5c311df3.entry.js +0 -1
  591. package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
  592. package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
  593. package/dist/stzh-components/p-6830f839.entry.js +0 -1
  594. package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
  595. package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
  596. package/dist/stzh-components/p-71d757d3.js +0 -1
  597. package/dist/stzh-components/p-783346ed.entry.js +0 -1
  598. package/dist/stzh-components/p-7909f56b.entry.js +0 -1
  599. package/dist/stzh-components/p-7aef399f.entry.js +0 -1
  600. package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
  601. package/dist/stzh-components/p-8d9056de.entry.js +0 -1
  602. package/dist/stzh-components/p-909d7a3c.system.js +0 -1
  603. package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
  604. package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
  605. package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
  606. package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
  607. package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
  608. package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
  609. package/dist/stzh-components/p-ad119aca.entry.js +0 -1
  610. package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
  611. package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
  612. package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
  613. package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
  614. package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
  615. package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
  616. package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
  617. package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
  618. package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
  619. package/dist/stzh-components/p-d26ed018.entry.js +0 -1
  620. package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
  621. package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
  622. package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
  623. package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
  624. package/dist/stzh-components/p-f9039c23.entry.js +0 -1
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,a,t,s){function r(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,i){function n(e){try{o(s.next(e))}catch(a){i(a)}}function h(e){try{o(s["throw"](e))}catch(a){i(a)}}function o(e){e.done?t(e.value):r(e.value).then(n,h)}o((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(e){return function(a){return o([e,a])}}function o(n){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,r&&(i=n[0]&2?r["return"]:n[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;if(r=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:t.label++;return{value:n[1],done:false};case 5:t.label++;r=n[1];n=[0];continue;case 7:n=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){t=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){t.label=n[1];break}if(n[0]===6&&t.label<i[1]){t.label=i[1];i=n;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(n);break}if(i[2])t.ops.pop();t.trys.pop();continue}n=a.call(e,t)}catch(h){n=[6,h];r=0}finally{s=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-176db2fe.system.js"],(function(e){"use strict";var a,t,s,r,i,n,h,o;return{setters:[function(e){a=e.r;t=e.e;s=e.f;r=e.h;i=e.a;n=e.g},function(e){h=e.h},function(e){o=e.m}],execute:function(){var d=".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}}}";var l=e("stzh_header",function(){function e(e){a(this,e);this.href="https://www.stadt-zuerich.ch";this.metabarStay=false;this.stickyDisabled=false;this.preventAppnavPlaceholder=false;this.hideLogo=false;this.paddingTop=undefined;this.metabarTransform=undefined;this.sticky=false;this.stickyClosing=false;this.stickyMetabar=false;this.stickyMetabarEnd=false}e.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var e,a;var t=this;return __generator(this,(function(s){if(this.stickyDisabled){return[2]}e=function(){t.sticky=false;t.stickyClosing=false;t.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint){if(!this.sticky&&this.belowStartStickyPoint){this.paddingTop=this.headerHeight;this.sticky=true}this.updateMetabarPosition()}else{if(this.sticky&&this.belowStayStickyPoint){a=function(){e();t.updateMetabarPosition();t.innerElement.removeEventListener("animationend",a)};this.innerElement.addEventListener("animationend",a);this.stickyClosing=true}else{e();this.updateMetabarPosition()}}return[2]}))}))};e.prototype.resizeListener=function(){var e=this;if(this.stickyDisabled){return}if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame((function(){t((function(){e.isSmall=o("small").matches;e.isSmallheader=o("smallheader").matches;e.headerTop=e.element.offsetTop;e.headerHeight=e.element.offsetHeight;e.appnavHeight=e.appnavElement?e.appnavElement.offsetHeight:0;e.metabarHeight=e.metabarElement?e.metabarElement.offsetHeight:0}));s((function(){if(e.appnavHeight&&!e.isSmall&&!e.preventAppnavPlaceholder){e.appnavPlaceholderElement.style.height="".concat(e.appnavHeight,"px")}else{e.appnavPlaceholderElement.style.height="0px"}}));e.scrollListener()}))};e.prototype.scrollListener=function(){var e=this;if(this.stickyDisabled){return}t((function(){e.scrollTop=e.getScrollTop();e.scrollingUp=e.lastScrollTop&&e.lastScrollTop>e.scrollTop;e.lastScrollTop=e.scrollTop;e.innerHeight=e.innerElement?e.innerElement.offsetHeight:0;e.mainHeight=e.mainElement?e.mainElement.offsetHeight:0;e.logobarHeight=e.sticky?e.isSmall?e.headerHeight-e.innerHeight:e.headerHeight-e.mainHeight:e.logobarElement?e.logobarElement.offsetHeight:0;e.belowStayStickyPoint=e.scrollTop>e.logobarHeight;e.belowStartStickyPoint=e.scrollTop>e.headerHeight;e.headerOverlap=(e.headerTop-e.scrollTop)/-1;e.hideLogo=e.isSmallheader&&e.headerOverlap>10}));s((function(){e.updatePosition()}))};e.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop};e.prototype.updateMetabarPosition=function(){if(!this.metabarElement||this.stickyDisabled){return}if(CSS&&CSS.supports&&CSS.supports("position","sticky")){return}if(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing){if(this.headerOverlap<this.mainHeight-this.metabarHeight){this.stickyMetabar=true;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}else{this.stickyMetabar=false;this.stickyMetabarEnd=true;this.metabarTransform="translateY(".concat(this.logobarHeight,"px)")}}else{this.stickyMetabar=false;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}};e.prototype.connectedCallback=function(){this.appnavPlaceholderElement=document.createElement("div");this.element.parentElement.appendChild(this.appnavPlaceholderElement)};e.prototype.disconnectedCallback=function(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement)};e.prototype.render=function(){var e=this;var a=h(this.element,"login");var t=h(this.element,"appnav");var s={header:true,"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":!a,"header--has-appnav":t};return r(i,null,r("div",{style:{paddingTop:"".concat(this.paddingTop,"px")},class:s},r("div",{class:"header__inner",ref:function(a){return e.innerElement=a}},r("div",{class:"header__main",ref:function(a){return e.mainElement=a}},r("div",{class:"header__logobar",ref:function(a){return e.logobarElement=a}},r("div",{class:"header__logobar-logo"},r("a",{href:this.href,class:"header__logo-link"},r("slot",{name:"logo"})))),r("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:function(a){return e.metabarElement=a}},r("div",{class:"header__metabar-inner"},r("div",{class:"header__metabar-nav"},r("slot",{name:"nav"})),r("div",{class:"header__metabar-login"},r("slot",{name:"login"})),r("div",{class:"header__metabar-langnav"},r("slot",{name:"langnav"}))))),r("div",{class:"header__appnav",ref:function(a){return e.appnavElement=a}},r("div",{class:"header__appnav-inner"},r("slot",{name:"appnav"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function s(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function n(t){try{r(a.next(t))}catch(e){o(e)}}function l(t){try{r(a["throw"](t))}catch(e){o(e)}}function r(t){t.done?i(t.value):s(t.value).then(n,l)}r((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,s,o,n;return n={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return r([t,e])}}function r(n){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,s&&(o=n[0]&2?s["return"]:n[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,n[1])).done)return o;if(s=0,o)n=[n[0]&2,o.value];switch(n[0]){case 0:case 1:o=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;s=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!o||n[1]>o[0]&&n[1]<o[3])){i.label=n[1];break}if(n[0]===6&&i.label<o[1]){i.label=o[1];o=n;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(n);break}if(o[2])i.ops.pop();i.trys.pop();continue}n=e.call(t,i)}catch(l){n=[6,l];s=0}finally{a=o=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-0230004d.system.js","./p-a408bfba.system.js","./p-e20369c8.system.js"],(function(t){"use strict";var e,i,a,s,o,n,l,r;return{setters:[function(t){e=t.r;i=t.c;a=t.h;s=t.a;o=t.g},function(t){n=t.s},function(t){l=t.f},function(t){r=t.c}],execute:function(){var d=".sc-stzh-dialog-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-dialog-h{display:none}.sc-stzh-dialog-h *.sc-stzh-dialog,.sc-stzh-dialog-h *.sc-stzh-dialog::before,.sc-stzh-dialog-h *.sc-stzh-dialog::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-dialog-h{--width:100%;--padding:var(--stzh-space-xxlarge);--close-color:var(--stzh-base-lead-color);--backdrop-opacity:0.8}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--width:33.5rem;}}@media screen and (min-width: 1024px){.sc-stzh-dialog-h{--width:48.875rem;--padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--width:52rem;--padding:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){[size=small].sc-stzh-dialog-h{--width:24.6875rem}}@media screen and (min-width: 1024px){[size=small].sc-stzh-dialog-h{--width:28.75rem}}@media screen and (min-width: 1260px){[size=small].sc-stzh-dialog-h{--width:32rem}}.stzh-dialog.sc-stzh-dialog{z-index:var(--stzh-z-index-dialog);display:none;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}.stzh-dialog__content.sc-stzh-dialog{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}.stzh-dialog__dialog.sc-stzh-dialog{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:auto;border:none;background-color:var(--stzh-color-white);width:var(--width);max-width:100%;-webkit-box-shadow:var(--stzh-box-shadow-overlay);box-shadow:var(--stzh-box-shadow-overlay);height:100vh;max-height:100vh;overflow:hidden;outline:none}@media screen and (min-width: 600px){.stzh-dialog__dialog.sc-stzh-dialog{height:auto}}.stzh-dialog__backdrop.sc-stzh-dialog{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:var(--backdrop-opacity)}.stzh-dialog__heading.sc-stzh-dialog{padding:var(--padding);padding-bottom:0}.stzh-dialog__dialog-content.sc-stzh-dialog{padding:var(--padding);padding-top:var(--stzh-space-xlarge);padding-bottom:var(--stzh-space-xlarge);overflow:auto;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 1024px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-dialog__actions.sc-stzh-dialog{padding:var(--padding);padding-top:0}.stzh-dialog__close-button.sc-stzh-dialog{position:absolute;top:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall);display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 600px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-small);right:var(--stzh-space-small)}}@media screen and (min-width: 1024px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-large);right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-dialog__close-button.sc-stzh-dialog{top:calc(var(--stzh-space-xxlarge) + var(--stzh-space-xxsmall));right:calc(var(--stzh-space-xxlarge) + var(--stzh-space-xxsmall))}}.stzh-dialog__close-icon.sc-stzh-dialog{--size:var(--stzh-icon-size-medium);color:var(--close-color)}.stzh-dialog--is-open.sc-stzh-dialog{display:-ms-flexbox;display:flex}";var h={ESC:27};var c="stzh-dialog-open";var g=null;var p=0;var u=t("stzh_dialog",function(){function t(t){var a=this;e(this,t);this.stzhOpen=i(this,"stzhOpen",7);this.stzhClose=i(this,"stzhClose",7);this.handleDialogClick=function(t){var e=t.target;if(e.dataset.stzhDialogClose){a.hide()}else{var i=e.closest("[data-stzh-dialog-close]");if(i){a.hide()}}};this.handleCloseButtonClick=function(){a.hide()};this.init=function(){var t=a.element.querySelector('stzh-actions[slot="actions"]');if(t){n(t,{variant:"dialog",withBorder:true})}};this.localization=undefined;this.closeOnEscapeKey=false;this.closeOnBackdropClick=false;this.open=false;this.stay=true;this.size="default";this.hideClose=false;this.heading="";this.a11yRole="alertdialog";this.a11yLabel=""}t.prototype.handleOutsideClick=function(t){if(!this.open||!this.closeOnBackdropClick){return}var e=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;if(e){this.hide()}};t.prototype.handleKeydown=function(t){if(t.keyCode===h.ESC&&g===this&&this.closeOnEscapeKey){this.hide()}};t.prototype.handleOpenTriggerClick=function(t){var e=t.target;if(e.dataset.stzhDialogTrigger===this.element.id){this.show()}else{var i=e.closest("[data-stzh-dialog-trigger]");if(i&&i.dataset.stzhDialogTrigger===this.element.id){this.show()}}};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;this.stzhOpen.emit({component:"stzh-dialog"});return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;this.stzhClose.emit({component:"stzh-dialog"});return[2]}))}))};t.prototype.getSiblings=function(){var t=this;if(!this.parentElement){return[]}return Array.from(this.parentElement.children).filter((function(e){return e!==t.element}))};t.prototype.disableSiblings=function(){this.getSiblings().forEach((function(t){t.setAttribute("aria-hidden","true")}))};t.prototype.enableSiblings=function(){this.getSiblings().forEach((function(t){t.removeAttribute("aria-hidden")}))};t.prototype.dialogShown=function(){g=this;document.body.classList.add(c);this.disableSiblings();if(this.trap){this.trap.activate()}};t.prototype.dialogHidden=function(){document.body.classList.remove(c);this.enableSiblings();if(this.trap){this.trap.deactivate()}g=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.headingId="stzh-dialog-label-".concat(p);p++;if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"dialog")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){if(!this.stay&&this.element.parentElement!==document.body){document.body.appendChild(this.element)}this.parentElement=this.element.parentElement;this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.componentDidRender=function(){this.open?this.dialogShown():this.dialogHidden()};t.prototype.componentDidUpdate=function(){this.trap.updateContainerElements(this.element)};t.prototype.componentDidLoad=function(){this.trap=r(this.element,{fallbackFocus:this.dialogElement,returnFocusOnDeactivate:true});if(this.open){this.dialogShown()}};t.prototype.disconnectedCallback=function(){this.dialogHidden()};t.prototype.render=function(){var t;var e=this;return a(s,null,a("div",{class:(t={"stzh-dialog":true,"stzh-dialog--is-open":this.open,"stzh-dialog--has-heading":!!this.heading,"stzh-dialog--has-close-hidden":this.hideClose},t["stzh-dialog--size-".concat(this.size)]=!!this.size,t)},a("div",{class:"stzh-dialog__backdrop"}),a("div",{class:"stzh-dialog__content"},a("div",{class:"stzh-dialog__dialog",ref:function(t){return e.dialogElement=t},tabindex:"-1",role:this.a11yRole,"aria-label":this.a11yLabel,"aria-labelledby":this.heading?this.headingId:null,"aria-hidden":this.open?"false":"true",onClick:this.handleDialogClick},this.heading&&a("stzh-heading",{id:this.headingId,class:"stzh-dialog__heading",level:"2","with-border":true},this.heading),a("div",{class:"stzh-dialog__dialog-content"},a("slot",null)),a("div",{class:"stzh-dialog__actions"},a("slot",{name:"actions"})),!this.hideClose&&a("button",{class:"stzh-dialog__close-button",onClick:this.handleCloseButtonClick,"aria-label":this.localization.close,type:"button"},a("stzh-icon",{class:"stzh-dialog__close-icon",name:"close"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=d}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function s(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function n(t){try{r(a.next(t))}catch(e){o(e)}}function l(t){try{r(a["throw"](t))}catch(e){o(e)}}function r(t){t.done?i(t.value):s(t.value).then(n,l)}r((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,s,o,n;return n={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return r([t,e])}}function r(n){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,s&&(o=n[0]&2?s["return"]:n[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,n[1])).done)return o;if(s=0,o)n=[n[0]&2,o.value];switch(n[0]){case 0:case 1:o=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;s=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!o||n[1]>o[0]&&n[1]<o[3])){i.label=n[1];break}if(n[0]===6&&i.label<o[1]){i.label=o[1];o=n;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(n);break}if(o[2])i.ops.pop();i.trys.pop();continue}n=e.call(t,i)}catch(l){n=[6,l];s=0}finally{a=o=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-a408bfba.system.js","./p-e20369c8.system.js"],(function(t){"use strict";var e,i,a,s,o,n,l,r;return{setters:[function(t){e=t.r;i=t.c;a=t.h;s=t.a;o=t.g},function(t){n=t.s},function(t){l=t.f},function(t){r=t.c}],execute:function(){var d=".sc-stzh-dialog-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-dialog-h{display:none}.sc-stzh-dialog-h *.sc-stzh-dialog,.sc-stzh-dialog-h *.sc-stzh-dialog::before,.sc-stzh-dialog-h *.sc-stzh-dialog::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-dialog-h{--width:100%;--padding:var(--stzh-space-xxlarge);--close-color:var(--stzh-base-lead-color);--backdrop-opacity:0.8}@media screen and (min-width: 600px){.sc-stzh-dialog-h{--width:33.5rem;}}@media screen and (min-width: 1024px){.sc-stzh-dialog-h{--width:48.875rem;--padding:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-dialog-h{--width:52rem;--padding:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){[size=small].sc-stzh-dialog-h{--width:24.6875rem}}@media screen and (min-width: 1024px){[size=small].sc-stzh-dialog-h{--width:28.75rem}}@media screen and (min-width: 1260px){[size=small].sc-stzh-dialog-h{--width:32rem}}.stzh-dialog.sc-stzh-dialog{z-index:var(--stzh-z-index-dialog);display:none;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}.stzh-dialog__content.sc-stzh-dialog{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}.stzh-dialog__dialog.sc-stzh-dialog{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:auto;border:none;background-color:var(--stzh-color-white);width:var(--width);max-width:100%;-webkit-box-shadow:var(--stzh-box-shadow-overlay);box-shadow:var(--stzh-box-shadow-overlay);height:100vh;max-height:100vh;overflow:hidden;outline:none}@media screen and (min-width: 600px){.stzh-dialog__dialog.sc-stzh-dialog{height:auto}}.stzh-dialog__backdrop.sc-stzh-dialog{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:var(--backdrop-opacity)}.stzh-dialog__heading.sc-stzh-dialog{padding:var(--padding);padding-bottom:0}.stzh-dialog__dialog-content.sc-stzh-dialog{padding:var(--padding);padding-top:var(--stzh-space-xlarge);padding-bottom:var(--stzh-space-xlarge);overflow:auto;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 1024px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-dialog__dialog-content.sc-stzh-dialog{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-dialog__actions.sc-stzh-dialog{padding:var(--padding);padding-top:0}.stzh-dialog__close-button.sc-stzh-dialog{position:absolute;top:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall);display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 600px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-small);right:var(--stzh-space-small)}}@media screen and (min-width: 1024px){.stzh-dialog__close-button.sc-stzh-dialog{top:var(--stzh-space-large);right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-dialog__close-button.sc-stzh-dialog{top:calc(var(--stzh-space-xxlarge) + var(--stzh-space-xxsmall));right:calc(var(--stzh-space-xxlarge) + var(--stzh-space-xxsmall))}}.stzh-dialog__close-icon.sc-stzh-dialog{--size:var(--stzh-icon-size-medium);color:var(--close-color)}.stzh-dialog--is-open.sc-stzh-dialog{display:-ms-flexbox;display:flex}";var h={ESC:27};var c="stzh-dialog-open";var g=null;var p=0;var u=t("stzh_dialog",function(){function t(t){var a=this;e(this,t);this.stzhOpen=i(this,"stzhOpen",7);this.stzhClose=i(this,"stzhClose",7);this.handleDialogClick=function(t){var e=t.target;if(e.dataset.stzhDialogClose){a.hide()}else{var i=e.closest("[data-stzh-dialog-close]");if(i){a.hide()}}};this.handleCloseButtonClick=function(){a.hide()};this.init=function(){var t=a.element.querySelector('stzh-actions[slot="actions"]');if(t){n(t,{variant:"dialog",withBorder:true})}};this.localization=undefined;this.closeOnEscapeKey=false;this.closeOnBackdropClick=false;this.open=false;this.stay=true;this.size="default";this.hideClose=false;this.heading="";this.a11yRole="alertdialog";this.a11yLabel=""}t.prototype.handleOutsideClick=function(t){if(!this.open||!this.closeOnBackdropClick){return}var e=t.target!==this.dialogElement&&this.dialogElement.contains(t.target)===false;if(e){this.hide()}};t.prototype.handleKeydown=function(t){if(t.keyCode===h.ESC&&g===this&&this.closeOnEscapeKey){this.hide()}};t.prototype.handleOpenTriggerClick=function(t){var e=t.target;if(e.dataset.stzhDialogTrigger===this.element.id){this.show()}else{var i=e.closest("[data-stzh-dialog-trigger]");if(i&&i.dataset.stzhDialogTrigger===this.element.id){this.show()}}};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;this.stzhOpen.emit({component:"stzh-dialog"});return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;this.stzhClose.emit({component:"stzh-dialog"});return[2]}))}))};t.prototype.getSiblings=function(){var t=this;if(!this.parentElement){return[]}return Array.from(this.parentElement.children).filter((function(e){return e!==t.element}))};t.prototype.disableSiblings=function(){this.getSiblings().forEach((function(t){t.setAttribute("aria-hidden","true")}))};t.prototype.enableSiblings=function(){this.getSiblings().forEach((function(t){t.removeAttribute("aria-hidden")}))};t.prototype.dialogShown=function(){g=this;document.body.classList.add(c);this.disableSiblings();if(this.trap){this.trap.activate()}};t.prototype.dialogHidden=function(){document.body.classList.remove(c);this.enableSiblings();if(this.trap){this.trap.deactivate()}g=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.headingId="stzh-dialog-label-".concat(p);p++;if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"dialog")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){if(!this.stay&&this.element.parentElement!==document.body){document.body.appendChild(this.element)}this.parentElement=this.element.parentElement;this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.componentDidRender=function(){this.open?this.dialogShown():this.dialogHidden()};t.prototype.componentDidUpdate=function(){this.trap.updateContainerElements(this.element)};t.prototype.componentDidLoad=function(){this.trap=r(this.element,{fallbackFocus:this.dialogElement,returnFocusOnDeactivate:true});if(this.open){this.dialogShown()}};t.prototype.disconnectedCallback=function(){this.dialogHidden()};t.prototype.render=function(){var t;var e=this;return a(s,null,a("div",{class:(t={"stzh-dialog":true,"stzh-dialog--is-open":this.open,"stzh-dialog--has-heading":!!this.heading,"stzh-dialog--has-close-hidden":this.hideClose},t["stzh-dialog--size-".concat(this.size)]=!!this.size,t)},a("div",{class:"stzh-dialog__backdrop"}),a("div",{class:"stzh-dialog__content"},a("div",{class:"stzh-dialog__dialog",ref:function(t){return e.dialogElement=t},tabindex:"-1",role:this.a11yRole,"aria-label":this.a11yLabel,"aria-labelledby":this.heading?this.headingId:null,"aria-hidden":this.open?"false":"true",onClick:this.handleDialogClick},this.heading&&a("stzh-heading",{id:this.headingId,class:"stzh-dialog__heading",level:"2","with-border":true},this.heading),a("div",{class:"stzh-dialog__dialog-content"},a("slot",null)),a("div",{class:"stzh-dialog__actions"},a("slot",{name:"actions"})),!this.hideClose&&a("button",{class:"stzh-dialog__close-button",onClick:this.handleCloseButtonClick,"aria-label":this.localization.close,type:"button"},a("stzh-icon",{class:"stzh-dialog__close-icon",name:"close"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=d}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){e({c:i,h:r,i:n,s:t});function r(e,r){if(r){return e.querySelector('[slot="'.concat(r,'"]'))!==null}return Array.from(e.childNodes).some((function(e){if(e.nodeType===e.TEXT_NODE&&e.textContent.trim()!==""){return true}if(e.nodeType===e.ELEMENT_NODE){var r=e;if(!r.hasAttribute("slot")){return true}}return false}))}function t(e,r){Object.keys(r).forEach((function(t){if(e.getAttribute(t)===null){e[t]=r[t]}}))}function n(e){if(!e){return false}return e.tagName.toLowerCase().indexOf("stzh-")===0}function i(e){var r;var t;var i;if(n(e)){r=e.cloneNode(true);t=r;i=e}else{r=e.cloneNode();var o=r;var u=e;while(u.children.length===1&&!n(u.children[0])){u=u.children[0];var c=u.cloneNode();o.appendChild(c);o=c}if(n(u.children[0])){t=u.children[0].cloneNode(true);i=u.children[0];o.appendChild(t)}else{r=e.cloneNode(true)}}return[r,t,i]}}}}));
@@ -1,7 +1,7 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):r(e.value).then(a,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(l){a=[6,l];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-0230004d.system.js","./p-a408bfba.system.js"],(function(e){"use strict";var t,n,i,r,o,a,l;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.a;o=e.g},function(e){a=e.c},function(e){l=e.f}],execute:function(){function s(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function c(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function u(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return c(n.overflowY,t)||c(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function f(e,t,n,i,r,o,a,l){return o<e&&a>t||o>e&&a<t?0:o<=e&&l<=n||a>=t&&l>=n?o-e-i:a>t&&l<n||o<e&&l>n?a-t+r:0}function d(e,t){var n=window,i=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!s(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,h=[],p=e;s(p)&&c(p);){if((p=p.parentElement)===d){h.push(p);break}null!=p&&p===document.body&&u(p)&&!u(document.documentElement)||null!=p&&u(p,l)&&h.push(p)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),w=y.height,E=y.width,D=y.top,_=y.right,S=y.bottom,C=y.left,I="start"===r||"nearest"===r?D:"end"===r?S:D+w/2,x="center"===o?C+E/2:"end"===o?_:C,O=[],T=0;T<h.length;T++){var A=h[T],M=A.getBoundingClientRect(),z=M.height,k=M.width,N=M.top,P=M.right,B=M.bottom,R=M.left;if("if-needed"===i&&D>=0&&C>=0&&S<=g&&_<=v&&D>=N&&S<=B&&C>=R&&_<=P)return O;var X=getComputedStyle(A),L=parseInt(X.borderLeftWidth,10),Y=parseInt(X.borderTopWidth,10),W=parseInt(X.borderRightWidth,10),j=parseInt(X.borderBottomWidth,10),H=0,F=0,K="offsetWidth"in A?A.offsetWidth-A.clientWidth-L-W:0,U="offsetHeight"in A?A.offsetHeight-A.clientHeight-Y-j:0;if(d===A)H="start"===r?I:"end"===r?I-g:"nearest"===r?f(b,b+g,g,Y,j,b+I,b+I+w,w):I-g/2,F="start"===o?x:"center"===o?x-v/2:"end"===o?x-v:f(m,m+v,v,L,W,m+x,m+x+E,E),H=Math.max(0,H+b),F=Math.max(0,F+m);else{H="start"===r?I-N-Y:"end"===r?I-B+j+U:"nearest"===r?f(N,B,z,Y,j+U,I,I+w,w):I-(N+z/2)+U/2,F="start"===o?x-R-L:"center"===o?x-(R+k/2)+K/2:"end"===o?x-P+W+K:f(R,P,k,L,W+K,x,x+E,E);var G=A.scrollLeft,V=A.scrollTop;I+=V-(H=Math.max(0,Math.min(V+H,A.scrollHeight-z+U))),x+=G-(F=Math.max(0,Math.min(G+F,A.scrollWidth-k+K)))}O.push({el:A,top:H,left:F})}return O}function h(e){return e===Object(e)&&Object.keys(e).length!==0}function p(e,t){if(t===void 0){t="auto"}var n="scrollBehavior"in document.body.style;e.forEach((function(e){var i=e.el,r=e.top,o=e.left;if(i.scroll&&n){i.scroll({top:r,left:o,behavior:t})}else{i.scrollTop=r;i.scrollLeft=o}}))}function v(e){if(e===false){return{block:"end",inline:"nearest"}}if(h(e)){return e}return{block:"start",inline:"nearest"}}function g(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(h(t)&&typeof t.behavior==="function"){return t.behavior(n?d(e,t):[])}if(!n){return}var i=v(t);return p(d(e,i),i.behavior)}
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(i.next(e))}catch(t){o(t)}}function l(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):r(e.value).then(a,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(l){a=[6,l];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-a408bfba.system.js"],(function(e){"use strict";var t,n,i,r,o,a,l;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.a;o=e.g},function(e){a=e.c},function(e){l=e.f}],execute:function(){function s(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function c(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function u(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return c(n.overflowY,t)||c(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function f(e,t,n,i,r,o,a,l){return o<e&&a>t||o>e&&a<t?0:o<=e&&l<=n||a>=t&&l>=n?o-e-i:a>t&&l<n||o<e&&l>n?a-t+r:0}function d(e,t){var n=window,i=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!s(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,h=[],p=e;s(p)&&c(p);){if((p=p.parentElement)===d){h.push(p);break}null!=p&&p===document.body&&u(p)&&!u(document.documentElement)||null!=p&&u(p,l)&&h.push(p)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),w=y.height,E=y.width,D=y.top,_=y.right,S=y.bottom,C=y.left,I="start"===r||"nearest"===r?D:"end"===r?S:D+w/2,x="center"===o?C+E/2:"end"===o?_:C,A=[],O=0;O<h.length;O++){var T=h[O],M=T.getBoundingClientRect(),z=M.height,k=M.width,N=M.top,P=M.right,B=M.bottom,R=M.left;if("if-needed"===i&&D>=0&&C>=0&&S<=m&&_<=v&&D>=N&&S<=B&&C>=R&&_<=P)return A;var L=getComputedStyle(T),X=parseInt(L.borderLeftWidth,10),Y=parseInt(L.borderTopWidth,10),W=parseInt(L.borderRightWidth,10),j=parseInt(L.borderBottomWidth,10),H=0,F=0,K="offsetWidth"in T?T.offsetWidth-T.clientWidth-X-W:0,U="offsetHeight"in T?T.offsetHeight-T.clientHeight-Y-j:0;if(d===T)H="start"===r?I:"end"===r?I-m:"nearest"===r?f(b,b+m,m,Y,j,b+I,b+I+w,w):I-m/2,F="start"===o?x:"center"===o?x-v/2:"end"===o?x-v:f(g,g+v,v,X,W,g+x,g+x+E,E),H=Math.max(0,H+b),F=Math.max(0,F+g);else{H="start"===r?I-N-Y:"end"===r?I-B+j+U:"nearest"===r?f(N,B,z,Y,j+U,I,I+w,w):I-(N+z/2)+U/2,F="start"===o?x-R-X:"center"===o?x-(R+k/2)+K/2:"end"===o?x-P+W+K:f(R,P,k,X,W+K,x,x+E,E);var G=T.scrollLeft,V=T.scrollTop;I+=V-(H=Math.max(0,Math.min(V+H,T.scrollHeight-z+U))),x+=G-(F=Math.max(0,Math.min(G+F,T.scrollWidth-k+K)))}A.push({el:T,top:H,left:F})}return A}function h(e){return e===Object(e)&&Object.keys(e).length!==0}function p(e,t){if(t===void 0){t="auto"}var n="scrollBehavior"in document.body.style;e.forEach((function(e){var i=e.el,r=e.top,o=e.left;if(i.scroll&&n){i.scroll({top:r,left:o,behavior:t})}else{i.scrollTop=r;i.scrollLeft=o}}))}function v(e){if(e===false){return{block:"end",inline:"nearest"}}if(h(e)){return e}return{block:"start",inline:"nearest"}}function m(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(h(t)&&typeof t.behavior==="function"){return t.behavior(n?d(e,t):[])}if(!n){return}var i=v(t);return p(d(e,i),i.behavior)}
2
2
  /**!
3
3
  * Sortable 1.15.0
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t){i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){m(Object(n),true).forEach((function(t){w(e,t,n[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(n))}else{m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}return e}function y(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function(e){return typeof e}}else{y=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(e)}function w(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function E(){E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){e[i]=n[i]}}}return e};return E.apply(this,arguments)}function D(e,t){if(e==null)return{};var n={};var i=Object.keys(e);var r,o;for(o=0;o<i.length;o++){r=i[o];if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function _(e,t){if(e==null)return{};var n=D(e,t);var i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){i=o[r];if(t.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;n[i]=e[i]}}return n}function S(e){return C(e)||I(e)||x(e)||T()}function C(e){if(Array.isArray(e))return O(e)}function I(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x(e,t){if(!e)return;if(typeof e==="string")return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}function O(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var A="1.15.0";function M(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var z=M(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var k=M(/Edge/i);var N=M(/firefox/i);var P=M(/safari/i)&&!M(/chrome/i)&&!M(/android/i);var B=M(/iP(ad|od|hone)/i);var R=M(/chrome/i)&&M(/android/i);var X={capture:false,passive:false};function L(e,t,n){e.addEventListener(t,n,!z&&X)}function Y(e,t,n){e.removeEventListener(t,n,!z&&X)}function W(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(n){return false}}return false}function j(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,i){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&W(e,t):W(e,t))||i&&e===n){return e}if(e===n)break}while(e=j(e))}return null}var F=/\s+/g;function K(e,t,n){if(e&&t){if(e.classList){e.classList[n?"add":"remove"](t)}else{var i=(" "+e.className+" ").replace(F," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(F," ")}}}function U(e,t,n){var i=e&&e.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){n=e.currentStyle}return t===void 0?n:n[t]}else{if(!(t in i)&&t.indexOf("webkit")===-1){t="-webkit-"+t}i[t]=n+(typeof n==="string"?"":"px")}}}function G(e,t){var n="";if(typeof e==="string"){n=e}else{do{var i=U(e,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function V(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function q(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function Z(e,t,n,i,r){if(!e.getBoundingClientRect&&e!==window)return;var o,a,l,s,c,u,f;if(e!==window&&e.parentNode&&e!==q()){o=e.getBoundingClientRect();a=o.top;l=o.left;s=o.bottom;c=o.right;u=o.height;f=o.width}else{a=0;l=0;s=window.innerHeight;c=window.innerWidth;u=window.innerHeight;f=window.innerWidth}if((t||n)&&e!==window){r=r||e.parentNode;if(!z){do{if(r&&r.getBoundingClientRect&&(U(r,"transform")!=="none"||n&&U(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(U(r,"border-top-width"));l-=d.left+parseInt(U(r,"border-left-width"));s=a+o.height;c=l+o.width;break}}while(r=r.parentNode)}}if(i&&e!==window){var h=G(r||e),p=h&&h.a,v=h&&h.d;if(h){a/=v;l/=p;f/=p;u/=v;s=a+u;c=l+f}}return{top:a,left:l,bottom:s,right:c,width:f,height:u}}function $(e,t,n){var i=ie(e,true),r=Z(e)[t];while(i){var o=Z(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===q())break;i=ie(i,false)}return false}function J(e,t,n,i){var r=0,o=0,a=e.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==gt.ghost&&(i||a[o]!==gt.dragged)&&H(a[o],n.draggable,e,false)){if(r===t){return a[o]}r++}o++}return null}function Q(e,t){var n=e.lastElementChild;while(n&&(n===gt.ghost||U(n,"display")==="none"||t&&!W(n,t))){n=n.previousElementSibling}return n||null}function ee(e,t){var n=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==gt.clone&&(!t||W(e,t))){n++}}return n}function te(e){var t=0,n=0,i=q();if(e){do{var r=G(e),o=r.a,a=r.d;t+=e.scrollLeft*o;n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode))}return[t,n]}function ne(e,t){for(var n in e){if(!e.hasOwnProperty(n))continue;for(var i in t){if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n)}}return-1}function ie(e,t){if(!e||!e.getBoundingClientRect)return q();var n=e;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=U(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return q();if(i||t)return n;i=true}}}while(n=n.parentNode);return q()}function re(e,t){if(e&&t){for(var n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}}return e}function oe(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var ae;function le(e,t){return function(){if(!ae){var n=arguments,i=this;if(n.length===1){e.call(i,n[0])}else{e.apply(i,n)}ae=setTimeout((function(){ae=void 0}),t)}}}function se(){clearTimeout(ae);ae=void 0}function ce(e,t,n){e.scrollLeft+=t;e.scrollTop+=n}function ue(e){var t=window.Polymer;var n=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(n){return n(e).clone(true)[0]}else{return e.cloneNode(true)}}function fe(e,t){U(e,"position","absolute");U(e,"top",t.top);U(e,"left",t.left);U(e,"width",t.width);U(e,"height",t.height)}function de(e){U(e,"position","");U(e,"top","");U(e,"left","");U(e,"width","");U(e,"height","")}var he="Sortable"+(new Date).getTime();function pe(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var n=[].slice.call(this.el.children);n.forEach((function(t){if(U(t,"display")==="none"||t===gt.ghost)return;e.push({target:t,rect:Z(t)});var n=b({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=G(t,true);if(i){n.top-=i.f;n.left-=i.e}}t.fromRect=n}))},addAnimationState:function t(n){e.push(n)},removeAnimationState:function t(n){e.splice(ne(e,{target:n}),1)},animateAll:function n(i){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof i==="function")i();return}var o=false,a=0;e.forEach((function(e){var t=0,n=e.target,i=n.fromRect,l=Z(n),s=n.prevFromRect,c=n.prevToRect,u=e.rect,f=G(n,true);if(f){l.top-=f.f;l.left-=f.e}n.toRect=l;if(n.thisAnimationDuration){if(oe(s,l)&&!oe(i,l)&&(u.top-l.top)/(u.left-l.left)===(i.top-l.top)/(i.left-l.left)){t=ge(u,s,c,r.options)}}if(!oe(l,i)){n.prevFromRect=i;n.prevToRect=l;if(!t){t=r.options.animation}r.animate(n,u,l,t)}if(t){o=true;a=Math.max(a,t);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),t);n.thisAnimationDuration=t}}));clearTimeout(t);if(!o){if(typeof i==="function")i()}else{t=setTimeout((function(){if(typeof i==="function")i()}),a)}e=[]},animate:function e(t,n,i,r){if(r){U(t,"transition","");U(t,"transform","");var o=G(this.el),a=o&&o.a,l=o&&o.d,s=(n.left-i.left)/(a||1),c=(n.top-i.top)/(l||1);t.animatingX=!!s;t.animatingY=!!c;U(t,"transform","translate3d("+s+"px,"+c+"px,0)");this.forRepaintDummy=ve(t);U(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));U(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){U(t,"transition","");U(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function ve(e){return e.offsetWidth}function ge(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}var me=[];var be={initializeByDefault:true};var ye={mount:function e(t){for(var n in be){if(be.hasOwnProperty(n)&&!(n in t)){t[n]=be[n]}}me.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));me.push(t)},pluginEvent:function e(t,n,i){var r=this;this.eventCanceled=false;i.cancel=function(){r.eventCanceled=true};var o=t+"Global";me.forEach((function(e){if(!n[e.pluginName])return;if(n[e.pluginName][o]){n[e.pluginName][o](b({sortable:n},i))}if(n.options[e.pluginName]&&n[e.pluginName][t]){n[e.pluginName][t](b({sortable:n},i))}}))},initializePlugins:function e(t,n,i,r){me.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var o=new e(t,n,t.options);o.sortable=t;o.options=t.options;t[r]=o;E(i,o.defaults)}));for(var o in t.options){if(!t.options.hasOwnProperty(o))continue;var a=this.modifyOption(t,o,t.options[o]);if(typeof a!=="undefined"){t.options[o]=a}}},getEventProperties:function e(t,n){var i={};me.forEach((function(e){if(typeof e.eventProperties!=="function")return;E(i,e.eventProperties.call(n[e.pluginName],t))}));return i},modifyOption:function e(t,n,i){var r;me.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[n]==="function"){r=e.optionListeners[n].call(t[e.pluginName],i)}}));return r}};function we(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;t=t||n&&n[he];if(!t)return;var v,g=t.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);if(window.CustomEvent&&!z&&!k){v=new CustomEvent(i,{bubbles:true,cancelable:true})}else{v=document.createEvent("Event");v.initEvent(i,true,true)}v.to=a||n;v.from=l||n;v.item=r||n;v.clone=o;v.oldIndex=s;v.newIndex=c;v.oldDraggableIndex=u;v.newDraggableIndex=f;v.originalEvent=d;v.pullMode=h?h.lastPutMode:undefined;var y=b(b({},p),ye.getEventProperties(i,t));for(var w in y){v[w]=y[w]}if(n){n.dispatchEvent(v)}if(g[m]){g[m].call(t,v)}}var Ee=["evt"];var De=function e(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=i.evt,o=_(i,Ee);ye.pluginEvent.bind(gt)(t,n,b({dragEl:Se,parentEl:Ce,ghostEl:Ie,rootEl:xe,nextEl:Oe,lastDownEl:Te,cloneEl:Ae,cloneHidden:Me,dragStarted:Ge,putSortable:Re,activeSortable:gt.active,originalEvent:r,oldIndex:ze,oldDraggableIndex:Ne,newIndex:ke,newDraggableIndex:Pe,hideGhostForTarget:dt,unhideGhostForTarget:ht,cloneNowHidden:function e(){Me=true},cloneNowShown:function e(){Me=false},dispatchSortableEvent:function e(t){_e({sortable:n,name:t,originalEvent:r})}},o))};function _e(e){we(b({putSortable:Re,cloneEl:Ae,targetEl:Se,rootEl:xe,oldIndex:ze,oldDraggableIndex:Ne,newIndex:ke,newDraggableIndex:Pe},e))}var Se,Ce,Ie,xe,Oe,Te,Ae,Me,ze,ke,Ne,Pe,Be,Re,Xe=false,Le=false,Ye=[],We,je,He,Fe,Ke,Ue,Ge,Ve,qe,Ze=false,$e=false,Je,Qe,et=[],tt=false,nt=[];var it=typeof document!=="undefined",rt=B,ot=k||z?"cssFloat":"float",at=it&&!R&&!B&&"draggable"in document.createElement("div"),lt=function(){if(!it)return;if(z){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),st=function e(t,n){var i=U(t),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=J(t,0,n),a=J(t,1,n),l=o&&U(o),s=a&&U(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Z(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Z(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&l["float"]&&l["float"]!=="none"){var f=l["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=r&&i[ot]==="none"||a&&i[ot]==="none"&&c+u>r)?"vertical":"horizontal"},ct=function e(t,n,i){var r=i?t.left:t.top,o=i?t.right:t.bottom,a=i?t.width:t.height,l=i?n.left:n.top,s=i?n.right:n.bottom,c=i?n.width:n.height;return r===l||o===s||r+a/2===l+c/2},ut=function e(t,n){var i;Ye.some((function(e){var r=e[he].options.emptyInsertThreshold;if(!r||Q(e))return;var o=Z(e),a=t>=o.left-r&&t<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l){return i=e}}));return i},ft=function e(t){function n(e,t){return function(i,r,o,a){var l=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(e==null&&(t||l)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return n(e(i,r,o,a),t)(i,r,o,a)}else{var s=(t?i:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var i={};var r=t.group;if(!r||y(r)!="object"){r={name:r}}i.name=r.name;i.checkPull=n(r.pull,true);i.checkPut=n(r.put);i.revertClone=r.revertClone;t.group=i},dt=function e(){if(!lt&&Ie){U(Ie,"display","none")}},ht=function e(){if(!lt&&Ie){U(Ie,"display","")}};if(it&&!R){document.addEventListener("click",(function(e){if(Le){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();Le=false;return false}}),true)}var pt=function e(t){if(Se){t=t.touches?t.touches[0]:t;var n=ut(t.clientX,t.clientY);if(n){var i={};for(var r in t){if(t.hasOwnProperty(r)){i[r]=t[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[he]._onDragOver(i)}}};var vt=function e(t){if(Se){Se.parentNode[he]._isOutsideThisEl(t.target)}};function gt(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=E({},t);e[he]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return st(e,this.options)},ghostClone:function(e){return e.cloneNode(true)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,n){t.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:gt.supportPointer!==false&&"PointerEvent"in window&&!P,emptyInsertThreshold:5};ye.initializePlugins(this,e,n);for(var i in n){!(i in t)&&(t[i]=n[i])}ft(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:at;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){L(e,"pointerdown",this._onTapStart)}else{L(e,"mousedown",this._onTapStart);L(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){L(e,"dragover",this);L(e,"dragenter",this)}Ye.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);E(this,pe())}gt.prototype={constructor:gt,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){Ve=null}},_getDirection:function e(t,n){return typeof this.options.direction==="function"?this.options.direction.call(this,t,n,Se):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=r.filter;It(i);if(Se){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(c.isContentEditable){return}if(!this.nativeDraggable&&P&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=H(s,r.draggable,i,false);if(s&&s.animated){return}if(Te===s){return}ze=ee(s);Ne=ee(s,r.draggable);if(typeof u==="function"){if(u.call(this,t,s,this)){_e({sortable:n,rootEl:c,name:"filter",targetEl:s,toEl:i,fromEl:i});De("filter",n,{evt:t});o&&t.cancelable&&t.preventDefault();return}}else if(u){u=u.split(",").some((function(e){e=H(c,e.trim(),i,false);if(e){_e({sortable:n,rootEl:e,name:"filter",targetEl:s,fromEl:i,toEl:i});De("filter",n,{evt:t});return true}}));if(u){o&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!H(c,r.handle,i,false)){return}this._prepareDragStart(t,l,s)},_prepareDragStart:function e(t,n,i){var r=this,o=r.el,a=r.options,l=o.ownerDocument,s;if(i&&!Se&&i.parentNode===o){var c=Z(i);xe=o;Se=i;Ce=Se.parentNode;Oe=Se.nextSibling;Te=i;Be=a.group;gt.dragged=Se;We={target:Se,clientX:(n||t).clientX,clientY:(n||t).clientY};Ke=We.clientX-c.left;Ue=We.clientY-c.top;this._lastX=(n||t).clientX;this._lastY=(n||t).clientY;Se.style["will-change"]="all";s=function e(){De("delayEnded",r,{evt:t});if(gt.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!N&&r.nativeDraggable){Se.draggable=true}r._triggerDragStart(t,n);_e({sortable:r,name:"choose",originalEvent:t});K(Se,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){V(Se,e.trim(),yt)}));L(l,"dragover",pt);L(l,"mousemove",pt);L(l,"touchmove",pt);L(l,"mouseup",r._onDrop);L(l,"touchend",r._onDrop);L(l,"touchcancel",r._onDrop);if(N&&this.nativeDraggable){this.options.touchStartThreshold=4;Se.draggable=true}De("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(k||z))){if(gt.eventCanceled){this._onDrop();return}L(l,"mouseup",r._disableDelayedDrag);L(l,"touchend",r._disableDelayedDrag);L(l,"touchcancel",r._disableDelayedDrag);L(l,"mousemove",r._delayedDragTouchMoveHandler);L(l,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&L(l,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var n=t.touches?t.touches[0]:t;if(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 e(){Se&&yt(Se);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;Y(t,"mouseup",this._disableDelayedDrag);Y(t,"touchend",this._disableDelayedDrag);Y(t,"touchcancel",this._disableDelayedDrag);Y(t,"mousemove",this._delayedDragTouchMoveHandler);Y(t,"touchmove",this._delayedDragTouchMoveHandler);Y(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,n){n=n||t.pointerType=="touch"&&t;if(!this.nativeDraggable||n){if(this.options.supportPointer){L(document,"pointermove",this._onTouchMove)}else if(n){L(document,"touchmove",this._onTouchMove)}else{L(document,"mousemove",this._onTouchMove)}}else{L(Se,"dragend",this);L(xe,"dragstart",this._onDragStart)}try{if(document.selection){xt((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(i){}},_dragStarted:function e(t,n){Xe=false;if(xe&&Se){De("dragStarted",this,{evt:n});if(this.nativeDraggable){L(document,"dragover",vt)}var i=this.options;!t&&K(Se,i.dragClass,false);K(Se,i.ghostClass,true);gt.active=this;t&&this._appendGhost();_e({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function e(){if(je){this._lastX=je.clientX;this._lastY=je.clientY;dt();var t=document.elementFromPoint(je.clientX,je.clientY);var n=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(je.clientX,je.clientY);if(t===n)break;n=t}Se.parentNode[he]._isOutsideThisEl(t);if(n){do{if(n[he]){var i=void 0;i=n[he]._onDragOver({clientX:je.clientX,clientY:je.clientY,target:t,rootEl:n});if(i&&!this.options.dragoverBubble){break}}t=n}while(n=n.parentNode)}ht()}},_onTouchMove:function e(t){if(We){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=Ie&&G(Ie,true),l=Ie&&a&&a.a,s=Ie&&a&&a.d,c=rt&&Qe&&te(Qe),u=(o.clientX-We.clientX+r.x)/(l||1)+(c?c[0]-et[0]:0)/(l||1),f=(o.clientY-We.clientY+r.y)/(s||1)+(c?c[1]-et[1]:0)/(s||1);if(!gt.active&&!Xe){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(t,true)}if(Ie){if(a){a.e+=u-(He||0);a.f+=f-(Fe||0)}else{a={a:1,b:0,c:0,d:1,e:u,f:f}}var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");U(Ie,"webkitTransform",d);U(Ie,"mozTransform",d);U(Ie,"msTransform",d);U(Ie,"transform",d);He=u;Fe=f;je=o}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!Ie){var t=this.options.fallbackOnBody?document.body:xe,n=Z(Se,true,rt,true,t),i=this.options;if(rt){Qe=t;while(U(Qe,"position")==="static"&&U(Qe,"transform")==="none"&&Qe!==document){Qe=Qe.parentNode}if(Qe!==document.body&&Qe!==document.documentElement){if(Qe===document)Qe=q();n.top+=Qe.scrollTop;n.left+=Qe.scrollLeft}else{Qe=q()}et=te(Qe)}Ie=i.ghostClone(Se);K(Ie,i.ghostClass,false);K(Ie,i.fallbackClass,true);K(Ie,i.dragClass,true);U(Ie,"transition","");U(Ie,"transform","");U(Ie,"box-sizing","border-box");U(Ie,"margin",0);U(Ie,"top",n.top);U(Ie,"left",n.left);U(Ie,"width",n.width);U(Ie,"height",n.height);U(Ie,"opacity","0.8");U(Ie,"position",rt?"absolute":"fixed");U(Ie,"zIndex","100000");U(Ie,"pointerEvents","none");gt.ghost=Ie;t.appendChild(Ie);U(Ie,"transform-origin",Ke/parseInt(Ie.style.width)*100+"% "+Ue/parseInt(Ie.style.height)*100+"%")}},_onDragStart:function e(t,n){var i=this;var r=t.dataTransfer;var o=i.options;De("dragStart",this,{evt:t});if(gt.eventCanceled){this._onDrop();return}De("setupClone",this);if(!gt.eventCanceled){Ae=ue(Se);Ae.removeAttribute("id");Ae.draggable=false;Ae.style["will-change"]="";this._hideClone();K(Ae,this.options.chosenClass,false);gt.clone=Ae}i.cloneId=xt((function(){De("clone",i);if(gt.eventCanceled)return;if(!i.options.removeCloneOnHide){xe.insertBefore(Ae,Se)}i._hideClone();_e({sortable:i,name:"clone"})}));!n&&K(Se,o.dragClass,true);if(n){Le=true;i._loopId=setInterval(i._emulateDragOver,50)}else{Y(document,"mouseup",i._onDrop);Y(document,"touchend",i._onDrop);Y(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,Se)}L(document,"drop",i);U(Se,"transform","translateZ(0)")}Xe=true;i._dragStartId=xt(i._dragStarted.bind(i,n,t));L(document,"selectstart",i);Ge=true;if(P){U(document.body,"user-select","none")}},_onDragOver:function e(t){var n=this.el,i=t.target,r,o,a,l=this.options,s=l.group,c=gt.active,u=Be===s,f=l.sort,d=Re||c,h,p=this,v=false;if(tt)return;function g(e,l){De(e,p,b({evt:t,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:r,targetRect:o,canSort:f,fromSortable:d,target:i,completed:y,onMove:function e(i,o){return bt(xe,n,Se,r,i,Z(i),t,o)},changed:w},l))}function m(){g("dragOverAnimationCapture");p.captureAnimationState();if(p!==d){d.captureAnimationState()}}function y(e){g("dragOverCompleted",{insertion:e});if(e){if(u){c._hideClone()}else{c._showClone(p)}if(p!==d){K(Se,Re?Re.options.ghostClass:c.options.ghostClass,false);K(Se,l.ghostClass,true)}if(Re!==p&&p!==gt.active){Re=p}else if(p===gt.active&&Re){Re=null}if(d===p){p._ignoreWhileAnimating=i}p.animateAll((function(){g("dragOverAnimationComplete");p._ignoreWhileAnimating=null}));if(p!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(i===Se&&!Se.animated||i===n&&!i.animated){Ve=null}if(!l.dragoverBubble&&!t.rootEl&&i!==document){Se.parentNode[he]._isOutsideThisEl(t.target);!e&&pt(t)}!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return v=true}function w(){ke=ee(Se);Pe=ee(Se,l.draggable);_e({sortable:p,name:"change",toEl:n,newIndex:ke,newDraggableIndex:Pe,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}i=H(i,l.draggable,n,true);g("dragOver");if(gt.eventCanceled)return v;if(Se.contains(t.target)||i.animated&&i.animatingX&&i.animatingY||p._ignoreWhileAnimating===i){return y(false)}Le=false;if(c&&!l.disabled&&(u?f||(a=Ce!==xe):Re===this||(this.lastPutMode=Be.checkPull(this,c,Se,t))&&s.checkPut(this,c,Se,t))){h=this._getDirection(t,i)==="vertical";r=Z(Se);g("dragOverValid");if(gt.eventCanceled)return v;if(a){Ce=xe;m();this._hideClone();g("revert");if(!gt.eventCanceled){if(Oe){xe.insertBefore(Se,Oe)}else{xe.appendChild(Se)}}return y(true)}var E=Q(n,l.draggable);if(!E||Dt(t,h,this)&&!E.animated){if(E===Se){return y(false)}if(E&&n===t.target){i=E}if(i){o=Z(i)}if(bt(xe,n,Se,r,i,o,t,!!i)!==false){m();if(E&&E.nextSibling){n.insertBefore(Se,E.nextSibling)}else{n.appendChild(Se)}Ce=n;w();return y(true)}}else if(E&&Et(t,h,this)){var D=J(n,0,l,true);if(D===Se){return y(false)}i=D;o=Z(i);if(bt(xe,n,Se,r,i,o,t,false)!==false){m();n.insertBefore(Se,D);Ce=n;w();return y(true)}}else if(i.parentNode===n){o=Z(i);var _=0,S,C=Se.parentNode!==n,I=!ct(Se.animated&&Se.toRect||r,i.animated&&i.toRect||o,h),x=h?"top":"left",O=$(i,"top","top")||$(Se,"top","top"),T=O?O.scrollTop:void 0;if(Ve!==i){S=o[x];Ze=false;$e=!I&&l.invertSwap||C}_=_t(t,i,o,h,I?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,$e,Ve===i);var A;if(_!==0){var M=ee(Se);do{M-=_;A=Ce.children[M]}while(A&&(U(A,"display")==="none"||A===Ie))}if(_===0||A===i){return y(false)}Ve=i;qe=_;var z=i.nextElementSibling,k=false;k=_===1;var N=bt(xe,n,Se,r,i,o,t,k);if(N!==false){if(N===1||N===-1){k=N===1}tt=true;setTimeout(wt,30);m();if(k&&!z){n.appendChild(Se)}else{i.parentNode.insertBefore(Se,k?z:i)}if(O){ce(O,0,T-O.scrollTop)}Ce=Se.parentNode;if(S!==undefined&&!$e){Je=Math.abs(S-Z(i)[x])}w();return y(true)}}if(n.contains(Se)){return y(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){Y(document,"mousemove",this._onTouchMove);Y(document,"touchmove",this._onTouchMove);Y(document,"pointermove",this._onTouchMove);Y(document,"dragover",pt);Y(document,"mousemove",pt);Y(document,"touchmove",pt)},_offUpEvents:function e(){var t=this.el.ownerDocument;Y(t,"mouseup",this._onDrop);Y(t,"touchend",this._onDrop);Y(t,"pointerup",this._onDrop);Y(t,"touchcancel",this._onDrop);Y(document,"selectstart",this)},_onDrop:function e(t){var n=this.el,i=this.options;ke=ee(Se);Pe=ee(Se,i.draggable);De("drop",this,{evt:t});Ce=Se&&Se.parentNode;ke=ee(Se);Pe=ee(Se,i.draggable);if(gt.eventCanceled){this._nulling();return}Xe=false;$e=false;Ze=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);Ot(this.cloneId);Ot(this._dragStartId);if(this.nativeDraggable){Y(document,"drop",this);Y(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(P){U(document.body,"user-select","")}U(Se,"transform","");if(t){if(Ge){t.cancelable&&t.preventDefault();!i.dropBubble&&t.stopPropagation()}Ie&&Ie.parentNode&&Ie.parentNode.removeChild(Ie);if(xe===Ce||Re&&Re.lastPutMode!=="clone"){Ae&&Ae.parentNode&&Ae.parentNode.removeChild(Ae)}if(Se){if(this.nativeDraggable){Y(Se,"dragend",this)}yt(Se);Se.style["will-change"]="";if(Ge&&!Xe){K(Se,Re?Re.options.ghostClass:this.options.ghostClass,false)}K(Se,this.options.chosenClass,false);_e({sortable:this,name:"unchoose",toEl:Ce,newIndex:null,newDraggableIndex:null,originalEvent:t});if(xe!==Ce){if(ke>=0){_e({rootEl:Ce,name:"add",toEl:Ce,fromEl:xe,originalEvent:t});_e({sortable:this,name:"remove",toEl:Ce,originalEvent:t});_e({rootEl:Ce,name:"sort",toEl:Ce,fromEl:xe,originalEvent:t});_e({sortable:this,name:"sort",toEl:Ce,originalEvent:t})}Re&&Re.save()}else{if(ke!==ze){if(ke>=0){_e({sortable:this,name:"update",toEl:Ce,originalEvent:t});_e({sortable:this,name:"sort",toEl:Ce,originalEvent:t})}}}if(gt.active){if(ke==null||ke===-1){ke=ze;Pe=Ne}_e({sortable:this,name:"end",toEl:Ce,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){De("nulling",this);xe=Se=Ce=Ie=Oe=Ae=Te=Me=We=je=Ge=ke=Pe=ze=Ne=Ve=qe=Re=Be=gt.dragged=gt.ghost=gt.clone=gt.active=null;nt.forEach((function(e){e.checked=true}));nt.length=He=Fe=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(Se){this._onDragOver(t);mt(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(H(n,a.draggable,this.el,false)){t.push(n.getAttribute(a.dataIdAttr)||Ct(n))}}return t},sort:function e(t,n){var i={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];if(H(n,this.options.draggable,r,false)){i[e]=n}}),this);n&&this.captureAnimationState();t.forEach((function(e){if(i[e]){r.removeChild(i[e]);r.appendChild(i[e])}}));n&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,n){return H(t,n||this.options.draggable,this.el,false)},option:function e(t,n){var i=this.options;if(n===void 0){return i[t]}else{var r=ye.modifyOption(this,t,n);if(typeof r!=="undefined"){i[t]=r}else{i[t]=n}if(t==="group"){ft(i)}}},destroy:function e(){De("destroy",this);var t=this.el;t[he]=null;Y(t,"mousedown",this._onTapStart);Y(t,"touchstart",this._onTapStart);Y(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){Y(t,"dragover",this);Y(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();Ye.splice(Ye.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!Me){De("hideClone",this);if(gt.eventCanceled)return;U(Ae,"display","none");if(this.options.removeCloneOnHide&&Ae.parentNode){Ae.parentNode.removeChild(Ae)}Me=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Me){De("showClone",this);if(gt.eventCanceled)return;if(Se.parentNode==xe&&!this.options.group.revertClone){xe.insertBefore(Ae,Se)}else if(Oe){xe.insertBefore(Ae,Oe)}else{xe.appendChild(Ae)}if(this.options.group.revertClone){this.animate(Se,Ae)}U(Ae,"display","");Me=false}}};function mt(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function bt(e,t,n,i,r,o,a,l){var s,c=e[he],u=c.options.onMove,f;if(window.CustomEvent&&!z&&!k){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=n;s.draggedRect=i;s.related=r||t;s.relatedRect=o||Z(t);s.willInsertAfter=l;s.originalEvent=a;e.dispatchEvent(s);if(u){f=u.call(c,s,a)}return f}function yt(e){e.draggable=false}function wt(){tt=false}function Et(e,t,n){var i=Z(J(n.el,0,n.options,true));var r=10;return t?e.clientX<i.left-r||e.clientY<i.top&&e.clientX<i.right:e.clientY<i.top-r||e.clientY<i.bottom&&e.clientX<i.left}function Dt(e,t,n){var i=Z(Q(n.el,n.options.draggable));var r=10;return t?e.clientX>i.right+r||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+r}function _t(e,t,n,i,r,o,a,l){var s=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,f=i?n.bottom:n.right,d=false;if(!a){if(l&&Je<c*r){if(!Ze&&(qe===1?s>u+c*o/2:s<f-c*o/2)){Ze=true}if(!Ze){if(qe===1?s<u+Je:s>f-Je){return-qe}}else{d=true}}else{if(s>u+c*(1-r)/2&&s<f-c*(1-r)/2){return St(t)}}}d=d||a;if(d){if(s<u+c*o/2||s>f-c*o/2){return s>u+c/2?1:-1}}return 0}function St(e){if(ee(Se)<ee(e)){return 1}else{return-1}}function Ct(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--){i+=t.charCodeAt(n)}return i.toString(36)}function It(e){nt.length=0;var t=e.getElementsByTagName("input");var n=t.length;while(n--){var i=t[n];i.checked&&nt.push(i)}}function xt(e){return setTimeout(e,0)}function Ot(e){return clearTimeout(e)}if(it){L(document,"touchmove",(function(e){if((gt.active||Xe)&&e.cancelable){e.preventDefault()}}))}gt.utils={on:L,off:Y,css:U,find:V,is:function e(t,n){return!!H(t,n,t,false)},extend:re,throttle:le,closest:H,toggleClass:K,clone:ue,index:ee,nextTick:xt,cancelNextTick:Ot,detectDirection:st,getChild:J};gt.get=function(e){return e[he]};gt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)gt.utils=b(b({},gt.utils),e.utils);ye.mount(e)}))};gt.create=function(e,t){return new gt(e,t)};gt.version=A;var Tt=[],At,Mt,zt=false,kt,Nt,Pt,Bt;function Rt(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var n=t.originalEvent;if(this.sortable.nativeDraggable){L(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){L(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){L(document,"touchmove",this._handleFallbackAutoScroll)}else{L(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var n=t.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function e(){if(this.sortable.nativeDraggable){Y(document,"dragover",this._handleAutoScroll)}else{Y(document,"pointermove",this._handleFallbackAutoScroll);Y(document,"touchmove",this._handleFallbackAutoScroll);Y(document,"mousemove",this._handleFallbackAutoScroll)}Lt();Xt();se()},nulling:function e(){Pt=Mt=At=zt=Bt=kt=Nt=null;Tt.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,n){var i=this;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,o);Pt=t;if(n||this.options.forceAutoScrollFallback||k||z||P){Yt(t,this.options,a,n);var l=ie(a,true);if(zt&&(!Bt||r!==kt||o!==Nt)){Bt&&Lt();Bt=setInterval((function(){var e=ie(document.elementFromPoint(r,o),true);if(e!==l){l=e;Xt()}Yt(t,i.options,e,n)}),10);kt=r;Nt=o}}else{if(!this.options.bubbleScroll||ie(a,true)===q()){Xt();return}Yt(t,this.options,ie(a,false),false)}}};return E(e,{pluginName:"scroll",initializeByDefault:true})}function Xt(){Tt.forEach((function(e){clearInterval(e.pid)}));Tt=[]}function Lt(){clearInterval(Bt)}var Yt=le((function(e,t,n,i){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=q();var c=false,u;if(Mt!==n){Mt=n;Xt();At=t.scroll;u=t.scrollFn;if(At===true){At=ie(n,true)}}var f=0;var d=At;do{var h=d,p=Z(h),v=p.top,g=p.bottom,m=p.left,b=p.right,y=p.width,w=p.height,E=void 0,D=void 0,_=h.scrollWidth,S=h.scrollHeight,C=U(h),I=h.scrollLeft,x=h.scrollTop;if(h===s){E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")}else{E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll")}var O=E&&(Math.abs(b-r)<=a&&I+y<_)-(Math.abs(m-r)<=a&&!!I);var T=D&&(Math.abs(g-o)<=a&&x+w<S)-(Math.abs(v-o)<=a&&!!x);if(!Tt[f]){for(var A=0;A<=f;A++){if(!Tt[A]){Tt[A]={}}}}if(Tt[f].vx!=O||Tt[f].vy!=T||Tt[f].el!==h){Tt[f].el=h;Tt[f].vx=O;Tt[f].vy=T;clearInterval(Tt[f].pid);if(O!=0||T!=0){c=true;Tt[f].pid=setInterval(function(){if(i&&this.layer===0){gt.active._onTouchMove(Pt)}var t=Tt[this.layer].vy?Tt[this.layer].vy*l:0;var n=Tt[this.layer].vx?Tt[this.layer].vx*l:0;if(typeof u==="function"){if(u.call(gt.dragged.parentNode[he],n,t,e,Pt,Tt[this.layer].el)!=="continue"){return}}ce(Tt[this.layer].el,n,t)}.bind({layer:f}),24)}}f++}while(t.bubbleScroll&&d!==s&&(d=ie(d,false)));zt=c}),30);var Wt=function e(t){var n=t.originalEvent,i=t.putSortable,r=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!n)return;var c=i||o;l();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var f=document.elementFromPoint(u.clientX,u.clientY);s();if(c&&!c.el.contains(f)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function jt(){}jt.prototype={startIndex:null,dragStart:function e(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function e(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=J(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:Wt};E(jt,{pluginName:"revertOnSpill"});function Ht(){}Ht.prototype={onSpill:function e(t){var n=t.dragEl,i=t.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:Wt};E(Ht,{pluginName:"removeOnSpill"});var Ft;function Kt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}e.prototype={dragStart:function e(t){var n=t.dragEl;Ft=n},dragOverValid:function e(t){var n=t.completed,i=t.target,r=t.onMove,o=t.activeSortable,a=t.changed,l=t.cancel;if(!o.options.swap)return;var s=this.sortable.el,c=this.options;if(i&&i!==s){var u=Ft;if(r(i)!==false){K(i,c.swapClass,true);Ft=i}else{Ft=null}if(u&&u!==Ft){K(u,c.swapClass,false)}}a();n(true);l()},drop:function e(t){var n=t.activeSortable,i=t.putSortable,r=t.dragEl;var o=i||this.sortable;var a=this.options;Ft&&K(Ft,a.swapClass,false);if(Ft&&(a.swap||i&&i.options.swap)){if(r!==Ft){o.captureAnimationState();if(o!==n)n.captureAnimationState();Ut(r,Ft);o.animateAll();if(o!==n)n.animateAll()}}},nulling:function e(){Ft=null}};return E(e,{pluginName:"swap",eventProperties:function e(){return{swapItem:Ft}}})}function Ut(e,t){var n=e.parentNode,i=t.parentNode,r,o;if(!n||!i||n.isEqualNode(t)||i.isEqualNode(e))return;r=ee(e);o=ee(t);if(n.isEqualNode(i)&&r<o){o++}n.insertBefore(t,n.children[r]);i.insertBefore(e,i.children[o])}var Gt=[],Vt=[],qt,Zt,$t=false,Jt=false,Qt=false,en,tn,nn;function rn(){function e(e){for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}if(!e.options.avoidImplicitDeselect){if(e.options.supportPointer){L(document,"pointerup",this._deselectMultiDrag)}else{L(document,"mouseup",this._deselectMultiDrag);L(document,"touchend",this._deselectMultiDrag)}}L(document,"keydown",this._checkKeyDown);L(document,"keyup",this._checkKeyUp);this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:false,setData:function t(n,i){var r="";if(Gt.length&&Zt===e){Gt.forEach((function(e,t){r+=(!t?"":", ")+e.textContent}))}else{r=i.textContent}n.setData("Text",r)}}}e.prototype={multiDragKeyDown:false,isMultiDrag:false,delayStartGlobal:function e(t){var n=t.dragEl;en=n},delayEnded:function e(){this.isMultiDrag=~Gt.indexOf(en)},setupClone:function e(t){var n=t.sortable,i=t.cancel;if(!this.isMultiDrag)return;for(var r=0;r<Gt.length;r++){Vt.push(ue(Gt[r]));Vt[r].sortableIndex=Gt[r].sortableIndex;Vt[r].draggable=false;Vt[r].style["will-change"]="";K(Vt[r],this.options.selectedClass,false);Gt[r]===en&&K(Vt[r],this.options.chosenClass,false)}n._hideClone();i()},clone:function e(t){var n=t.sortable,i=t.rootEl,r=t.dispatchSortableEvent,o=t.cancel;if(!this.isMultiDrag)return;if(!this.options.removeCloneOnHide){if(Gt.length&&Zt===n){an(true,i);r("clone");o()}}},showClone:function e(t){var n=t.cloneNowShown,i=t.rootEl,r=t.cancel;if(!this.isMultiDrag)return;an(false,i);Vt.forEach((function(e){U(e,"display","")}));n();nn=false;r()},hideClone:function e(t){var n=this;var i=t.cloneNowHidden,r=t.cancel;if(!this.isMultiDrag)return;Vt.forEach((function(e){U(e,"display","none");if(n.options.removeCloneOnHide&&e.parentNode){e.parentNode.removeChild(e)}}));i();nn=true;r()},dragStartGlobal:function e(t){if(!this.isMultiDrag&&Zt){Zt.multiDrag._deselectMultiDrag()}Gt.forEach((function(e){e.sortableIndex=ee(e)}));Gt=Gt.sort((function(e,t){return e.sortableIndex-t.sortableIndex}));Qt=true},dragStarted:function e(t){var n=this;var i=t.sortable;if(!this.isMultiDrag)return;if(this.options.sort){i.captureAnimationState();if(this.options.animation){Gt.forEach((function(e){if(e===en)return;U(e,"position","absolute")}));var r=Z(en,false,true,true);Gt.forEach((function(e){if(e===en)return;fe(e,r)}));Jt=true;$t=true}}i.animateAll((function(){Jt=false;$t=false;if(n.options.animation){Gt.forEach((function(e){de(e)}))}if(n.options.sort){ln()}}))},dragOver:function e(t){var n=t.target,i=t.completed,r=t.cancel;if(Jt&&~Gt.indexOf(n)){i(false);r()}},revert:function e(t){var n=t.fromSortable,i=t.rootEl,r=t.sortable,o=t.dragRect;if(Gt.length>1){Gt.forEach((function(e){r.addAnimationState({target:e,rect:Jt?Z(e):o});de(e);e.fromRect=o;n.removeAnimationState(e)}));Jt=false;on(!this.options.removeCloneOnHide,i)}},dragOverCompleted:function e(t){var n=t.sortable,i=t.isOwner,r=t.insertion,o=t.activeSortable,a=t.parentEl,l=t.putSortable;var s=this.options;if(r){if(i){o._hideClone()}$t=false;if(s.animation&&Gt.length>1&&(Jt||!i&&!o.options.sort&&!l)){var c=Z(en,false,true,true);Gt.forEach((function(e){if(e===en)return;fe(e,c);a.appendChild(e)}));Jt=true}if(!i){if(!Jt){ln()}if(Gt.length>1){var u=nn;o._showClone(n);if(o.options.animation&&!nn&&u){Vt.forEach((function(e){o.addAnimationState({target:e,rect:tn});e.fromRect=tn;e.thisAnimationDuration=null}))}}else{o._showClone(n)}}}},dragOverAnimationCapture:function e(t){var n=t.dragRect,i=t.isOwner,r=t.activeSortable;Gt.forEach((function(e){e.thisAnimationDuration=null}));if(r.options.animation&&!i&&r.multiDrag.isMultiDrag){tn=E({},n);var o=G(en,true);tn.top-=o.f;tn.left-=o.e}},dragOverAnimationComplete:function e(){if(Jt){Jt=false;ln()}},drop:function e(t){var n=t.originalEvent,i=t.rootEl,r=t.parentEl,o=t.sortable,a=t.dispatchSortableEvent,l=t.oldIndex,s=t.putSortable;var c=s||this.sortable;if(!n)return;var u=this.options,f=r.children;if(!Qt){if(u.multiDragKey&&!this.multiDragKeyDown){this._deselectMultiDrag()}K(en,u.selectedClass,!~Gt.indexOf(en));if(!~Gt.indexOf(en)){Gt.push(en);we({sortable:o,rootEl:i,name:"select",targetEl:en,originalEvent:n});if(n.shiftKey&&qt&&o.el.contains(qt)){var d=ee(qt),h=ee(en);if(~d&&~h&&d!==h){var p,v;if(h>d){v=d;p=h}else{v=h;p=d+1}for(;v<p;v++){if(~Gt.indexOf(f[v]))continue;K(f[v],u.selectedClass,true);Gt.push(f[v]);we({sortable:o,rootEl:i,name:"select",targetEl:f[v],originalEvent:n})}}}else{qt=en}Zt=c}else{Gt.splice(Gt.indexOf(en),1);qt=null;we({sortable:o,rootEl:i,name:"deselect",targetEl:en,originalEvent:n})}}if(Qt&&this.isMultiDrag){Jt=false;if((r[he].options.sort||r!==i)&&Gt.length>1){var g=Z(en),m=ee(en,":not(."+this.options.selectedClass+")");if(!$t&&u.animation)en.thisAnimationDuration=null;c.captureAnimationState();if(!$t){if(u.animation){en.fromRect=g;Gt.forEach((function(e){e.thisAnimationDuration=null;if(e!==en){var t=Jt?Z(e):g;e.fromRect=t;c.addAnimationState({target:e,rect:t})}}))}ln();Gt.forEach((function(e){if(f[m]){r.insertBefore(e,f[m])}else{r.appendChild(e)}m++}));if(l===ee(en)){var b=false;Gt.forEach((function(e){if(e.sortableIndex!==ee(e)){b=true;return}}));if(b){a("update")}}}Gt.forEach((function(e){de(e)}));c.animateAll()}Zt=c}if(i===r||s&&s.lastPutMode!=="clone"){Vt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function e(){this.isMultiDrag=Qt=false;Vt.length=0},destroyGlobal:function e(){this._deselectMultiDrag();Y(document,"pointerup",this._deselectMultiDrag);Y(document,"mouseup",this._deselectMultiDrag);Y(document,"touchend",this._deselectMultiDrag);Y(document,"keydown",this._checkKeyDown);Y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function e(t){if(typeof Qt!=="undefined"&&Qt)return;if(Zt!==this.sortable)return;if(t&&H(t.target,this.options.draggable,this.sortable.el,false))return;if(t&&t.button!==0)return;while(Gt.length){var n=Gt[0];K(n,this.options.selectedClass,false);Gt.shift();we({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=true}},_checkKeyUp:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=false}}};return E(e,{pluginName:"multiDrag",utils:{select:function e(t){var n=t.parentNode[he];if(!n||!n.options.multiDrag||~Gt.indexOf(t))return;if(Zt&&Zt!==n){Zt.multiDrag._deselectMultiDrag();Zt=n}K(t,n.options.selectedClass,true);Gt.push(t)},deselect:function e(t){var n=t.parentNode[he],i=Gt.indexOf(t);if(!n||!n.options.multiDrag||!~i)return;K(t,n.options.selectedClass,false);Gt.splice(i,1)}},eventProperties:function e(){var t=this;var n=[],i=[];Gt.forEach((function(e){n.push({multiDragElement:e,index:e.sortableIndex});var r;if(Jt&&e!==en){r=-1}else if(Jt){r=ee(e,":not(."+t.options.selectedClass+")")}else{r=ee(e)}i.push({multiDragElement:e,index:r})}));return{items:S(Gt),clones:[].concat(Vt),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function e(t){t=t.toLowerCase();if(t==="ctrl"){t="Control"}else if(t.length>1){t=t.charAt(0).toUpperCase()+t.substr(1)}return t}}})}function on(e,t){Gt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function an(e,t){Vt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function ln(){Gt.forEach((function(e){if(e===en)return;e.parentNode&&e.parentNode.removeChild(e)}))}gt.mount(new Rt);gt.mount(Ht,jt);gt.mount(new Kt);gt.mount(new rn);var sn='.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}';var cn="is-sortable-item";var un="is-ghost";var fn="is-selected";var dn="is-chosen";var hn="is-drag";var pn="has-item-selected";var vn=0;var gn=e("stzh_sortable",function(){function e(e){var i=this;t(this,e);this.stzhUpdate=n(this,"stzhUpdate",7);this.stzhDisable=n(this,"stzhDisable",7);this.selectedItem=null;this.resetItemOnBlur=false;this.init=function(){if(!i.getContainer()){return}Array.from(i.getContainer().children).forEach((function(e){e.classList.add(cn);e.addEventListener("blur",i.onBlur);e.addEventListener("keydown",i.onKeydown);e.setAttribute("tabindex","0");e.setAttribute("aria-describedby","".concat(i.sortableId,"-description"))}))};this.updated=function(e){return __awaiter(i,void 0,void 0,(function(){var t,n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(e){t=e.newIndex;n=e.oldIndex;i=e.item}else{t=this.getIndexOfSelectedItem();n=this.lastIndex;i=this.selectedItem}if(!(t!==n))return[3,2];o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=i,a.newIndex=t,a.oldIndex=n,a)]);l.label=2;case 2:return[2]}}))}))};this.onKeydown=function(e){var t=e.currentTarget;var n=e.target;if(!i.getContainer()||i.disabled){return}var r=n.matches(i._filterElements.join(", "));if(e.key===" "&&!r){e.preventDefault();if(!i.selectedItem){i.selectedItem=t;i.selectedItem.parentElement.classList.add(pn);i.selectedItem.classList.add(fn);i.lastIndex=i.getIndexOfSelectedItem();i.resetItemOnBlur=true;i.updateAriaLive(i.localization.started)}else{i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}}else if(e.key==="Tab"&&i.selectedItem&&i.selectedItem===e.currentTarget){e.preventDefault()}else if(e.key==="Escape"&&i.selectedItem){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.canceled);i.resetActiveItem(true)}else if(e.key==="ArrowUp"){if(i.selectedItem){i.moveItem(i.selectedItem,"up")}else{i.focusItem(t.previousElementSibling)}}else if(e.key==="ArrowDown"){if(i.selectedItem){i.moveItem(i.selectedItem,"down")}else{i.focusItem(t.nextElementSibling)}}};this.onBlur=function(){if(i.resetItemOnBlur){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}};this.localization=undefined;this.disabled=false;this.dataIdAttribute="data-id";this.container=function(){var e;return(e=i.containerElement)===null||e===void 0?void 0:e.firstElementChild};this.ghostClone=function(e){var t=a(e)[0];return t};this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}e.prototype.toArray=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.sortable.toArray()]}))}))};e.prototype.sort=function(e,t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.sortable.sort(e,t)]}))}))};e.prototype.moveItem=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(!e||!e.nextElementSibling&&t==="down"||!e.previousElementSibling&&t==="up"){return[2]}this.resetItemOnBlur=false;if(t==="up"){e.previousElementSibling.before(e)}else if(t==="down"){e.nextElementSibling.after(e)}this.updateAriaLive(this.localization.moved,e);this.focusItem(e);i=Array.from((n=e.parentElement)===null||n===void 0?void 0:n.children).indexOf(e);o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=e,a.newIndex=i,a.oldIndex=i+(t==="up"?1:-1),a)]);this.resetItemOnBlur=true;return[2]}}))}))};e.prototype.disabledWatcher=function(){this.stzhDisable.emit({component:"stzh-sortable",disabled:this.disabled})};e.prototype.filterElementsWatcher=function(e){if(typeof e==="string"){this._filterElements=JSON.parse(e)}else{this._filterElements=e}};e.prototype.getContainer=function(){return typeof this.container==="function"?this.container():this.container};e.prototype.updateAriaLive=function(e,t){if(t===void 0){t=this.selectedItem}if(!this.getContainer()){return}if(t){var n=t.getAttribute("aria-label")||"";var i=this.getIndexOfSelectedItem(t);e=e.replace("{title}",n).replace("{current}",(i+1).toString())}var r=this.getContainer().children.length;e=e.replace("{total}",r.toString());this.ariaLiveElement.textContent=e};e.prototype.getIndexOfSelectedItem=function(e){if(e===void 0){e=this.selectedItem}if(e){return Array.from(e.parentElement.children).indexOf(e)}};e.prototype.resetActiveItem=function(e){if(e===void 0){e=false}if(!this.selectedItem){return}var t=this.getIndexOfSelectedItem();var n=this.selectedItem.parentElement;if(e&&this.lastIndex!==t){if(this.lastIndex>t){n.children[this.lastIndex].after(this.selectedItem)}else{n.children[this.lastIndex].before(this.selectedItem)}this.selectedItem.focus()}n.classList.remove(pn);this.selectedItem.classList.remove(fn);this.selectedItem=null;this.lastIndex=null};e.prototype.focusItem=function(e){if(!e){return}e.focus();var t=document.querySelector("stzh-flyingfocus");if(t){t.reposition()}g(e,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.sortableId="stzh-sortable-".concat(vn++);this.filterElementsWatcher(this.filterElements);if(!!this.localization)return[3,2];e=this;return[4,l(this.element,"sortable")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentWillUpdate=function(){if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.componentDidRender=function(){if(this.sortable){return}this.sortable=new gt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:un,chosenClass:dn,dragClass:hn,dataIdAttr:this.dataIdAttribute,preventOnFilter:false,forceFallback:true,delay:200,delayOnTouchOnly:true,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated})};e.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.render=function(){var e=this;var t={"stzh-sortable":true,"stzh-sortable--disabled":this.disabled};return i(r,null,i("div",{class:t},i("div",{id:"".concat(this.sortableId,"-description"),class:"stzh-sortable__description"},this.localization.description),i("div",{ref:function(t){return e.ariaLiveElement=t},"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:function(t){return e.containerElement=t},class:"stzh-sortable__container"},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}},enumerable:false,configurable:true});return e}());gn.style=sn}}}));
7
+ */function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);if(t){i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};if(t%2){g(Object(n),true).forEach((function(t){w(e,t,n[t])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(n))}else{g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}return e}function y(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){y=function(e){return typeof e}}else{y=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return y(e)}function w(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function E(){E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n){if(Object.prototype.hasOwnProperty.call(n,i)){e[i]=n[i]}}}return e};return E.apply(this,arguments)}function D(e,t){if(e==null)return{};var n={};var i=Object.keys(e);var r,o;for(o=0;o<i.length;o++){r=i[o];if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function _(e,t){if(e==null)return{};var n=D(e,t);var i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++){i=o[r];if(t.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;n[i]=e[i]}}return n}function S(e){return C(e)||I(e)||x(e)||O()}function C(e){if(Array.isArray(e))return A(e)}function I(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x(e,t){if(!e)return;if(typeof e==="string")return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}function A(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function O(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var T="1.15.0";function M(e){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(e)}}var z=M(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var k=M(/Edge/i);var N=M(/firefox/i);var P=M(/safari/i)&&!M(/chrome/i)&&!M(/android/i);var B=M(/iP(ad|od|hone)/i);var R=M(/chrome/i)&&M(/android/i);var L={capture:false,passive:false};function X(e,t,n){e.addEventListener(t,n,!z&&L)}function Y(e,t,n){e.removeEventListener(t,n,!z&&L)}function W(e,t){if(!t)return;t[0]===">"&&(t=t.substring(1));if(e){try{if(e.matches){return e.matches(t)}else if(e.msMatchesSelector){return e.msMatchesSelector(t)}else if(e.webkitMatchesSelector){return e.webkitMatchesSelector(t)}}catch(n){return false}}return false}function j(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,i){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&W(e,t):W(e,t))||i&&e===n){return e}if(e===n)break}while(e=j(e))}return null}var F=/\s+/g;function K(e,t,n){if(e&&t){if(e.classList){e.classList[n?"add":"remove"](t)}else{var i=(" "+e.className+" ").replace(F," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(F," ")}}}function U(e,t,n){var i=e&&e.style;if(i){if(n===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(e,"")}else if(e.currentStyle){n=e.currentStyle}return t===void 0?n:n[t]}else{if(!(t in i)&&t.indexOf("webkit")===-1){t="-webkit-"+t}i[t]=n+(typeof n==="string"?"":"px")}}}function G(e,t){var n="";if(typeof e==="string"){n=e}else{do{var i=U(e,"transform");if(i&&i!=="none"){n=i+" "+n}}while(!t&&(e=e.parentNode))}var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function V(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n){for(;r<o;r++){n(i[r],r)}}return i}return[]}function q(){var e=document.scrollingElement;if(e){return e}else{return document.documentElement}}function Z(e,t,n,i,r){if(!e.getBoundingClientRect&&e!==window)return;var o,a,l,s,c,u,f;if(e!==window&&e.parentNode&&e!==q()){o=e.getBoundingClientRect();a=o.top;l=o.left;s=o.bottom;c=o.right;u=o.height;f=o.width}else{a=0;l=0;s=window.innerHeight;c=window.innerWidth;u=window.innerHeight;f=window.innerWidth}if((t||n)&&e!==window){r=r||e.parentNode;if(!z){do{if(r&&r.getBoundingClientRect&&(U(r,"transform")!=="none"||n&&U(r,"position")!=="static")){var d=r.getBoundingClientRect();a-=d.top+parseInt(U(r,"border-top-width"));l-=d.left+parseInt(U(r,"border-left-width"));s=a+o.height;c=l+o.width;break}}while(r=r.parentNode)}}if(i&&e!==window){var h=G(r||e),p=h&&h.a,v=h&&h.d;if(h){a/=v;l/=p;f/=p;u/=v;s=a+u;c=l+f}}return{top:a,left:l,bottom:s,right:c,width:f,height:u}}function $(e,t,n){var i=ie(e,true),r=Z(e)[t];while(i){var o=Z(i)[n],a=void 0;if(n==="top"||n==="left"){a=r>=o}else{a=r<=o}if(!a)return i;if(i===q())break;i=ie(i,false)}return false}function J(e,t,n,i){var r=0,o=0,a=e.children;while(o<a.length){if(a[o].style.display!=="none"&&a[o]!==mt.ghost&&(i||a[o]!==mt.dragged)&&H(a[o],n.draggable,e,false)){if(r===t){return a[o]}r++}o++}return null}function Q(e,t){var n=e.lastElementChild;while(n&&(n===mt.ghost||U(n,"display")==="none"||t&&!W(n,t))){n=n.previousElementSibling}return n||null}function ee(e,t){var n=0;if(!e||!e.parentNode){return-1}while(e=e.previousElementSibling){if(e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==mt.clone&&(!t||W(e,t))){n++}}return n}function te(e){var t=0,n=0,i=q();if(e){do{var r=G(e),o=r.a,a=r.d;t+=e.scrollLeft*o;n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode))}return[t,n]}function ne(e,t){for(var n in e){if(!e.hasOwnProperty(n))continue;for(var i in t){if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n)}}return-1}function ie(e,t){if(!e||!e.getBoundingClientRect)return q();var n=e;var i=false;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=U(n);if(n.clientWidth<n.scrollWidth&&(r.overflowX=="auto"||r.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(r.overflowY=="auto"||r.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return q();if(i||t)return n;i=true}}}while(n=n.parentNode);return q()}function re(e,t){if(e&&t){for(var n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}}return e}function oe(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var ae;function le(e,t){return function(){if(!ae){var n=arguments,i=this;if(n.length===1){e.call(i,n[0])}else{e.apply(i,n)}ae=setTimeout((function(){ae=void 0}),t)}}}function se(){clearTimeout(ae);ae=void 0}function ce(e,t,n){e.scrollLeft+=t;e.scrollTop+=n}function ue(e){var t=window.Polymer;var n=window.jQuery||window.Zepto;if(t&&t.dom){return t.dom(e).cloneNode(true)}else if(n){return n(e).clone(true)[0]}else{return e.cloneNode(true)}}function fe(e,t){U(e,"position","absolute");U(e,"top",t.top);U(e,"left",t.left);U(e,"width",t.width);U(e,"height",t.height)}function de(e){U(e,"position","");U(e,"top","");U(e,"left","");U(e,"width","");U(e,"height","")}var he="Sortable"+(new Date).getTime();function pe(){var e=[],t;return{captureAnimationState:function t(){e=[];if(!this.options.animation)return;var n=[].slice.call(this.el.children);n.forEach((function(t){if(U(t,"display")==="none"||t===mt.ghost)return;e.push({target:t,rect:Z(t)});var n=b({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=G(t,true);if(i){n.top-=i.f;n.left-=i.e}}t.fromRect=n}))},addAnimationState:function t(n){e.push(n)},removeAnimationState:function t(n){e.splice(ne(e,{target:n}),1)},animateAll:function n(i){var r=this;if(!this.options.animation){clearTimeout(t);if(typeof i==="function")i();return}var o=false,a=0;e.forEach((function(e){var t=0,n=e.target,i=n.fromRect,l=Z(n),s=n.prevFromRect,c=n.prevToRect,u=e.rect,f=G(n,true);if(f){l.top-=f.f;l.left-=f.e}n.toRect=l;if(n.thisAnimationDuration){if(oe(s,l)&&!oe(i,l)&&(u.top-l.top)/(u.left-l.left)===(i.top-l.top)/(i.left-l.left)){t=me(u,s,c,r.options)}}if(!oe(l,i)){n.prevFromRect=i;n.prevToRect=l;if(!t){t=r.options.animation}r.animate(n,u,l,t)}if(t){o=true;a=Math.max(a,t);clearTimeout(n.animationResetTimer);n.animationResetTimer=setTimeout((function(){n.animationTime=0;n.prevFromRect=null;n.fromRect=null;n.prevToRect=null;n.thisAnimationDuration=null}),t);n.thisAnimationDuration=t}}));clearTimeout(t);if(!o){if(typeof i==="function")i()}else{t=setTimeout((function(){if(typeof i==="function")i()}),a)}e=[]},animate:function e(t,n,i,r){if(r){U(t,"transition","");U(t,"transform","");var o=G(this.el),a=o&&o.a,l=o&&o.d,s=(n.left-i.left)/(a||1),c=(n.top-i.top)/(l||1);t.animatingX=!!s;t.animatingY=!!c;U(t,"transform","translate3d("+s+"px,"+c+"px,0)");this.forRepaintDummy=ve(t);U(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:""));U(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){U(t,"transition","");U(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),r)}}}}function ve(e){return e.offsetWidth}function me(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}var ge=[];var be={initializeByDefault:true};var ye={mount:function e(t){for(var n in be){if(be.hasOwnProperty(n)&&!(n in t)){t[n]=be[n]}}ge.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));ge.push(t)},pluginEvent:function e(t,n,i){var r=this;this.eventCanceled=false;i.cancel=function(){r.eventCanceled=true};var o=t+"Global";ge.forEach((function(e){if(!n[e.pluginName])return;if(n[e.pluginName][o]){n[e.pluginName][o](b({sortable:n},i))}if(n.options[e.pluginName]&&n[e.pluginName][t]){n[e.pluginName][t](b({sortable:n},i))}}))},initializePlugins:function e(t,n,i,r){ge.forEach((function(e){var r=e.pluginName;if(!t.options[r]&&!e.initializeByDefault)return;var o=new e(t,n,t.options);o.sortable=t;o.options=t.options;t[r]=o;E(i,o.defaults)}));for(var o in t.options){if(!t.options.hasOwnProperty(o))continue;var a=this.modifyOption(t,o,t.options[o]);if(typeof a!=="undefined"){t.options[o]=a}}},getEventProperties:function e(t,n){var i={};ge.forEach((function(e){if(typeof e.eventProperties!=="function")return;E(i,e.eventProperties.call(n[e.pluginName],t))}));return i},modifyOption:function e(t,n,i){var r;ge.forEach((function(e){if(!t[e.pluginName])return;if(e.optionListeners&&typeof e.optionListeners[n]==="function"){r=e.optionListeners[n].call(t[e.pluginName],i)}}));return r}};function we(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;t=t||n&&n[he];if(!t)return;var v,m=t.options,g="on"+i.charAt(0).toUpperCase()+i.substr(1);if(window.CustomEvent&&!z&&!k){v=new CustomEvent(i,{bubbles:true,cancelable:true})}else{v=document.createEvent("Event");v.initEvent(i,true,true)}v.to=a||n;v.from=l||n;v.item=r||n;v.clone=o;v.oldIndex=s;v.newIndex=c;v.oldDraggableIndex=u;v.newDraggableIndex=f;v.originalEvent=d;v.pullMode=h?h.lastPutMode:undefined;var y=b(b({},p),ye.getEventProperties(i,t));for(var w in y){v[w]=y[w]}if(n){n.dispatchEvent(v)}if(m[g]){m[g].call(t,v)}}var Ee=["evt"];var De=function e(t,n){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},r=i.evt,o=_(i,Ee);ye.pluginEvent.bind(mt)(t,n,b({dragEl:Se,parentEl:Ce,ghostEl:Ie,rootEl:xe,nextEl:Ae,lastDownEl:Oe,cloneEl:Te,cloneHidden:Me,dragStarted:Ge,putSortable:Re,activeSortable:mt.active,originalEvent:r,oldIndex:ze,oldDraggableIndex:Ne,newIndex:ke,newDraggableIndex:Pe,hideGhostForTarget:dt,unhideGhostForTarget:ht,cloneNowHidden:function e(){Me=true},cloneNowShown:function e(){Me=false},dispatchSortableEvent:function e(t){_e({sortable:n,name:t,originalEvent:r})}},o))};function _e(e){we(b({putSortable:Re,cloneEl:Te,targetEl:Se,rootEl:xe,oldIndex:ze,oldDraggableIndex:Ne,newIndex:ke,newDraggableIndex:Pe},e))}var Se,Ce,Ie,xe,Ae,Oe,Te,Me,ze,ke,Ne,Pe,Be,Re,Le=false,Xe=false,Ye=[],We,je,He,Fe,Ke,Ue,Ge,Ve,qe,Ze=false,$e=false,Je,Qe,et=[],tt=false,nt=[];var it=typeof document!=="undefined",rt=B,ot=k||z?"cssFloat":"float",at=it&&!R&&!B&&"draggable"in document.createElement("div"),lt=function(){if(!it)return;if(z){return false}var e=document.createElement("x");e.style.cssText="pointer-events:auto";return e.style.pointerEvents==="auto"}(),st=function e(t,n){var i=U(t),r=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=J(t,0,n),a=J(t,1,n),l=o&&U(o),s=a&&U(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Z(o).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Z(a).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(o&&l["float"]&&l["float"]!=="none"){var f=l["float"]==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return o&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=r&&i[ot]==="none"||a&&i[ot]==="none"&&c+u>r)?"vertical":"horizontal"},ct=function e(t,n,i){var r=i?t.left:t.top,o=i?t.right:t.bottom,a=i?t.width:t.height,l=i?n.left:n.top,s=i?n.right:n.bottom,c=i?n.width:n.height;return r===l||o===s||r+a/2===l+c/2},ut=function e(t,n){var i;Ye.some((function(e){var r=e[he].options.emptyInsertThreshold;if(!r||Q(e))return;var o=Z(e),a=t>=o.left-r&&t<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l){return i=e}}));return i},ft=function e(t){function n(e,t){return function(i,r,o,a){var l=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(e==null&&(t||l)){return true}else if(e==null||e===false){return false}else if(t&&e==="clone"){return e}else if(typeof e==="function"){return n(e(i,r,o,a),t)(i,r,o,a)}else{var s=(t?i:r).options.group.name;return e===true||typeof e==="string"&&e===s||e.join&&e.indexOf(s)>-1}}}var i={};var r=t.group;if(!r||y(r)!="object"){r={name:r}}i.name=r.name;i.checkPull=n(r.pull,true);i.checkPut=n(r.put);i.revertClone=r.revertClone;t.group=i},dt=function e(){if(!lt&&Ie){U(Ie,"display","none")}},ht=function e(){if(!lt&&Ie){U(Ie,"display","")}};if(it&&!R){document.addEventListener("click",(function(e){if(Xe){e.preventDefault();e.stopPropagation&&e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();Xe=false;return false}}),true)}var pt=function e(t){if(Se){t=t.touches?t.touches[0]:t;var n=ut(t.clientX,t.clientY);if(n){var i={};for(var r in t){if(t.hasOwnProperty(r)){i[r]=t[r]}}i.target=i.rootEl=n;i.preventDefault=void 0;i.stopPropagation=void 0;n[he]._onDragOver(i)}}};var vt=function e(t){if(Se){Se.parentNode[he]._isOutsideThisEl(t.target)}};function mt(e,t){if(!(e&&e.nodeType&&e.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e))}this.el=e;this.options=t=E({},t);e[he]=this;var n={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function t(){return st(e,this.options)},ghostClone:function(e){return e.cloneNode(true)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function e(t,n){t.setData("Text",n.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:mt.supportPointer!==false&&"PointerEvent"in window&&!P,emptyInsertThreshold:5};ye.initializePlugins(this,e,n);for(var i in n){!(i in t)&&(t[i]=n[i])}ft(t);for(var r in this){if(r.charAt(0)==="_"&&typeof this[r]==="function"){this[r]=this[r].bind(this)}}this.nativeDraggable=t.forceFallback?false:at;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(t.supportPointer){X(e,"pointerdown",this._onTapStart)}else{X(e,"mousedown",this._onTapStart);X(e,"touchstart",this._onTapStart)}if(this.nativeDraggable){X(e,"dragover",this);X(e,"dragenter",this)}Ye.push(this.el);t.store&&t.store.get&&this.sort(t.store.get(this)||[]);E(this,pe())}mt.prototype={constructor:mt,_isOutsideThisEl:function e(t){if(!this.el.contains(t)&&t!==this.el){Ve=null}},_getDirection:function e(t,n){return typeof this.options.direction==="function"?this.options.direction.call(this,t,n,Se):this.options.direction},_onTapStart:function e(t){if(!t.cancelable)return;var n=this,i=this.el,r=this.options,o=r.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=r.filter;It(i);if(Se){return}if(/mousedown|pointerdown/.test(a)&&t.button!==0||r.disabled){return}if(c.isContentEditable){return}if(!this.nativeDraggable&&P&&s&&s.tagName.toUpperCase()==="SELECT"){return}s=H(s,r.draggable,i,false);if(s&&s.animated){return}if(Oe===s){return}ze=ee(s);Ne=ee(s,r.draggable);if(typeof u==="function"){if(u.call(this,t,s,this)){_e({sortable:n,rootEl:c,name:"filter",targetEl:s,toEl:i,fromEl:i});De("filter",n,{evt:t});o&&t.cancelable&&t.preventDefault();return}}else if(u){u=u.split(",").some((function(e){e=H(c,e.trim(),i,false);if(e){_e({sortable:n,rootEl:e,name:"filter",targetEl:s,fromEl:i,toEl:i});De("filter",n,{evt:t});return true}}));if(u){o&&t.cancelable&&t.preventDefault();return}}if(r.handle&&!H(c,r.handle,i,false)){return}this._prepareDragStart(t,l,s)},_prepareDragStart:function e(t,n,i){var r=this,o=r.el,a=r.options,l=o.ownerDocument,s;if(i&&!Se&&i.parentNode===o){var c=Z(i);xe=o;Se=i;Ce=Se.parentNode;Ae=Se.nextSibling;Oe=i;Be=a.group;mt.dragged=Se;We={target:Se,clientX:(n||t).clientX,clientY:(n||t).clientY};Ke=We.clientX-c.left;Ue=We.clientY-c.top;this._lastX=(n||t).clientX;this._lastY=(n||t).clientY;Se.style["will-change"]="all";s=function e(){De("delayEnded",r,{evt:t});if(mt.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents();if(!N&&r.nativeDraggable){Se.draggable=true}r._triggerDragStart(t,n);_e({sortable:r,name:"choose",originalEvent:t});K(Se,a.chosenClass,true)};a.ignore.split(",").forEach((function(e){V(Se,e.trim(),yt)}));X(l,"dragover",pt);X(l,"mousemove",pt);X(l,"touchmove",pt);X(l,"mouseup",r._onDrop);X(l,"touchend",r._onDrop);X(l,"touchcancel",r._onDrop);if(N&&this.nativeDraggable){this.options.touchStartThreshold=4;Se.draggable=true}De("delayStart",this,{evt:t});if(a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(k||z))){if(mt.eventCanceled){this._onDrop();return}X(l,"mouseup",r._disableDelayedDrag);X(l,"touchend",r._disableDelayedDrag);X(l,"touchcancel",r._disableDelayedDrag);X(l,"mousemove",r._delayedDragTouchMoveHandler);X(l,"touchmove",r._delayedDragTouchMoveHandler);a.supportPointer&&X(l,"pointermove",r._delayedDragTouchMoveHandler);r._dragStartTimer=setTimeout(s,a.delay)}else{s()}}},_delayedDragTouchMoveHandler:function e(t){var n=t.touches?t.touches[0]:t;if(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 e(){Se&&yt(Se);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;Y(t,"mouseup",this._disableDelayedDrag);Y(t,"touchend",this._disableDelayedDrag);Y(t,"touchcancel",this._disableDelayedDrag);Y(t,"mousemove",this._delayedDragTouchMoveHandler);Y(t,"touchmove",this._delayedDragTouchMoveHandler);Y(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,n){n=n||t.pointerType=="touch"&&t;if(!this.nativeDraggable||n){if(this.options.supportPointer){X(document,"pointermove",this._onTouchMove)}else if(n){X(document,"touchmove",this._onTouchMove)}else{X(document,"mousemove",this._onTouchMove)}}else{X(Se,"dragend",this);X(xe,"dragstart",this._onDragStart)}try{if(document.selection){xt((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(i){}},_dragStarted:function e(t,n){Le=false;if(xe&&Se){De("dragStarted",this,{evt:n});if(this.nativeDraggable){X(document,"dragover",vt)}var i=this.options;!t&&K(Se,i.dragClass,false);K(Se,i.ghostClass,true);mt.active=this;t&&this._appendGhost();_e({sortable:this,name:"start",originalEvent:n})}else{this._nulling()}},_emulateDragOver:function e(){if(je){this._lastX=je.clientX;this._lastY=je.clientY;dt();var t=document.elementFromPoint(je.clientX,je.clientY);var n=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(je.clientX,je.clientY);if(t===n)break;n=t}Se.parentNode[he]._isOutsideThisEl(t);if(n){do{if(n[he]){var i=void 0;i=n[he]._onDragOver({clientX:je.clientX,clientY:je.clientY,target:t,rootEl:n});if(i&&!this.options.dragoverBubble){break}}t=n}while(n=n.parentNode)}ht()}},_onTouchMove:function e(t){if(We){var n=this.options,i=n.fallbackTolerance,r=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=Ie&&G(Ie,true),l=Ie&&a&&a.a,s=Ie&&a&&a.d,c=rt&&Qe&&te(Qe),u=(o.clientX-We.clientX+r.x)/(l||1)+(c?c[0]-et[0]:0)/(l||1),f=(o.clientY-We.clientY+r.y)/(s||1)+(c?c[1]-et[1]:0)/(s||1);if(!mt.active&&!Le){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i){return}this._onDragStart(t,true)}if(Ie){if(a){a.e+=u-(He||0);a.f+=f-(Fe||0)}else{a={a:1,b:0,c:0,d:1,e:u,f:f}}var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");U(Ie,"webkitTransform",d);U(Ie,"mozTransform",d);U(Ie,"msTransform",d);U(Ie,"transform",d);He=u;Fe=f;je=o}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!Ie){var t=this.options.fallbackOnBody?document.body:xe,n=Z(Se,true,rt,true,t),i=this.options;if(rt){Qe=t;while(U(Qe,"position")==="static"&&U(Qe,"transform")==="none"&&Qe!==document){Qe=Qe.parentNode}if(Qe!==document.body&&Qe!==document.documentElement){if(Qe===document)Qe=q();n.top+=Qe.scrollTop;n.left+=Qe.scrollLeft}else{Qe=q()}et=te(Qe)}Ie=i.ghostClone(Se);K(Ie,i.ghostClass,false);K(Ie,i.fallbackClass,true);K(Ie,i.dragClass,true);U(Ie,"transition","");U(Ie,"transform","");U(Ie,"box-sizing","border-box");U(Ie,"margin",0);U(Ie,"top",n.top);U(Ie,"left",n.left);U(Ie,"width",n.width);U(Ie,"height",n.height);U(Ie,"opacity","0.8");U(Ie,"position",rt?"absolute":"fixed");U(Ie,"zIndex","100000");U(Ie,"pointerEvents","none");mt.ghost=Ie;t.appendChild(Ie);U(Ie,"transform-origin",Ke/parseInt(Ie.style.width)*100+"% "+Ue/parseInt(Ie.style.height)*100+"%")}},_onDragStart:function e(t,n){var i=this;var r=t.dataTransfer;var o=i.options;De("dragStart",this,{evt:t});if(mt.eventCanceled){this._onDrop();return}De("setupClone",this);if(!mt.eventCanceled){Te=ue(Se);Te.removeAttribute("id");Te.draggable=false;Te.style["will-change"]="";this._hideClone();K(Te,this.options.chosenClass,false);mt.clone=Te}i.cloneId=xt((function(){De("clone",i);if(mt.eventCanceled)return;if(!i.options.removeCloneOnHide){xe.insertBefore(Te,Se)}i._hideClone();_e({sortable:i,name:"clone"})}));!n&&K(Se,o.dragClass,true);if(n){Xe=true;i._loopId=setInterval(i._emulateDragOver,50)}else{Y(document,"mouseup",i._onDrop);Y(document,"touchend",i._onDrop);Y(document,"touchcancel",i._onDrop);if(r){r.effectAllowed="move";o.setData&&o.setData.call(i,r,Se)}X(document,"drop",i);U(Se,"transform","translateZ(0)")}Le=true;i._dragStartId=xt(i._dragStarted.bind(i,n,t));X(document,"selectstart",i);Ge=true;if(P){U(document.body,"user-select","none")}},_onDragOver:function e(t){var n=this.el,i=t.target,r,o,a,l=this.options,s=l.group,c=mt.active,u=Be===s,f=l.sort,d=Re||c,h,p=this,v=false;if(tt)return;function m(e,l){De(e,p,b({evt:t,isOwner:u,axis:h?"vertical":"horizontal",revert:a,dragRect:r,targetRect:o,canSort:f,fromSortable:d,target:i,completed:y,onMove:function e(i,o){return bt(xe,n,Se,r,i,Z(i),t,o)},changed:w},l))}function g(){m("dragOverAnimationCapture");p.captureAnimationState();if(p!==d){d.captureAnimationState()}}function y(e){m("dragOverCompleted",{insertion:e});if(e){if(u){c._hideClone()}else{c._showClone(p)}if(p!==d){K(Se,Re?Re.options.ghostClass:c.options.ghostClass,false);K(Se,l.ghostClass,true)}if(Re!==p&&p!==mt.active){Re=p}else if(p===mt.active&&Re){Re=null}if(d===p){p._ignoreWhileAnimating=i}p.animateAll((function(){m("dragOverAnimationComplete");p._ignoreWhileAnimating=null}));if(p!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(i===Se&&!Se.animated||i===n&&!i.animated){Ve=null}if(!l.dragoverBubble&&!t.rootEl&&i!==document){Se.parentNode[he]._isOutsideThisEl(t.target);!e&&pt(t)}!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return v=true}function w(){ke=ee(Se);Pe=ee(Se,l.draggable);_e({sortable:p,name:"change",toEl:n,newIndex:ke,newDraggableIndex:Pe,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}i=H(i,l.draggable,n,true);m("dragOver");if(mt.eventCanceled)return v;if(Se.contains(t.target)||i.animated&&i.animatingX&&i.animatingY||p._ignoreWhileAnimating===i){return y(false)}Xe=false;if(c&&!l.disabled&&(u?f||(a=Ce!==xe):Re===this||(this.lastPutMode=Be.checkPull(this,c,Se,t))&&s.checkPut(this,c,Se,t))){h=this._getDirection(t,i)==="vertical";r=Z(Se);m("dragOverValid");if(mt.eventCanceled)return v;if(a){Ce=xe;g();this._hideClone();m("revert");if(!mt.eventCanceled){if(Ae){xe.insertBefore(Se,Ae)}else{xe.appendChild(Se)}}return y(true)}var E=Q(n,l.draggable);if(!E||Dt(t,h,this)&&!E.animated){if(E===Se){return y(false)}if(E&&n===t.target){i=E}if(i){o=Z(i)}if(bt(xe,n,Se,r,i,o,t,!!i)!==false){g();if(E&&E.nextSibling){n.insertBefore(Se,E.nextSibling)}else{n.appendChild(Se)}Ce=n;w();return y(true)}}else if(E&&Et(t,h,this)){var D=J(n,0,l,true);if(D===Se){return y(false)}i=D;o=Z(i);if(bt(xe,n,Se,r,i,o,t,false)!==false){g();n.insertBefore(Se,D);Ce=n;w();return y(true)}}else if(i.parentNode===n){o=Z(i);var _=0,S,C=Se.parentNode!==n,I=!ct(Se.animated&&Se.toRect||r,i.animated&&i.toRect||o,h),x=h?"top":"left",A=$(i,"top","top")||$(Se,"top","top"),O=A?A.scrollTop:void 0;if(Ve!==i){S=o[x];Ze=false;$e=!I&&l.invertSwap||C}_=_t(t,i,o,h,I?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,$e,Ve===i);var T;if(_!==0){var M=ee(Se);do{M-=_;T=Ce.children[M]}while(T&&(U(T,"display")==="none"||T===Ie))}if(_===0||T===i){return y(false)}Ve=i;qe=_;var z=i.nextElementSibling,k=false;k=_===1;var N=bt(xe,n,Se,r,i,o,t,k);if(N!==false){if(N===1||N===-1){k=N===1}tt=true;setTimeout(wt,30);g();if(k&&!z){n.appendChild(Se)}else{i.parentNode.insertBefore(Se,k?z:i)}if(A){ce(A,0,O-A.scrollTop)}Ce=Se.parentNode;if(S!==undefined&&!$e){Je=Math.abs(S-Z(i)[x])}w();return y(true)}}if(n.contains(Se)){return y(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function e(){Y(document,"mousemove",this._onTouchMove);Y(document,"touchmove",this._onTouchMove);Y(document,"pointermove",this._onTouchMove);Y(document,"dragover",pt);Y(document,"mousemove",pt);Y(document,"touchmove",pt)},_offUpEvents:function e(){var t=this.el.ownerDocument;Y(t,"mouseup",this._onDrop);Y(t,"touchend",this._onDrop);Y(t,"pointerup",this._onDrop);Y(t,"touchcancel",this._onDrop);Y(document,"selectstart",this)},_onDrop:function e(t){var n=this.el,i=this.options;ke=ee(Se);Pe=ee(Se,i.draggable);De("drop",this,{evt:t});Ce=Se&&Se.parentNode;ke=ee(Se);Pe=ee(Se,i.draggable);if(mt.eventCanceled){this._nulling();return}Le=false;$e=false;Ze=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);At(this.cloneId);At(this._dragStartId);if(this.nativeDraggable){Y(document,"drop",this);Y(n,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(P){U(document.body,"user-select","")}U(Se,"transform","");if(t){if(Ge){t.cancelable&&t.preventDefault();!i.dropBubble&&t.stopPropagation()}Ie&&Ie.parentNode&&Ie.parentNode.removeChild(Ie);if(xe===Ce||Re&&Re.lastPutMode!=="clone"){Te&&Te.parentNode&&Te.parentNode.removeChild(Te)}if(Se){if(this.nativeDraggable){Y(Se,"dragend",this)}yt(Se);Se.style["will-change"]="";if(Ge&&!Le){K(Se,Re?Re.options.ghostClass:this.options.ghostClass,false)}K(Se,this.options.chosenClass,false);_e({sortable:this,name:"unchoose",toEl:Ce,newIndex:null,newDraggableIndex:null,originalEvent:t});if(xe!==Ce){if(ke>=0){_e({rootEl:Ce,name:"add",toEl:Ce,fromEl:xe,originalEvent:t});_e({sortable:this,name:"remove",toEl:Ce,originalEvent:t});_e({rootEl:Ce,name:"sort",toEl:Ce,fromEl:xe,originalEvent:t});_e({sortable:this,name:"sort",toEl:Ce,originalEvent:t})}Re&&Re.save()}else{if(ke!==ze){if(ke>=0){_e({sortable:this,name:"update",toEl:Ce,originalEvent:t});_e({sortable:this,name:"sort",toEl:Ce,originalEvent:t})}}}if(mt.active){if(ke==null||ke===-1){ke=ze;Pe=Ne}_e({sortable:this,name:"end",toEl:Ce,originalEvent:t});this.save()}}}this._nulling()},_nulling:function e(){De("nulling",this);xe=Se=Ce=Ie=Ae=Te=Oe=Me=We=je=Ge=ke=Pe=ze=Ne=Ve=qe=Re=Be=mt.dragged=mt.ghost=mt.clone=mt.active=null;nt.forEach((function(e){e.checked=true}));nt.length=He=Fe=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(Se){this._onDragOver(t);gt(t)}break;case"selectstart":t.preventDefault();break}},toArray:function e(){var t=[],n,i=this.el.children,r=0,o=i.length,a=this.options;for(;r<o;r++){n=i[r];if(H(n,a.draggable,this.el,false)){t.push(n.getAttribute(a.dataIdAttr)||Ct(n))}}return t},sort:function e(t,n){var i={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];if(H(n,this.options.draggable,r,false)){i[e]=n}}),this);n&&this.captureAnimationState();t.forEach((function(e){if(i[e]){r.removeChild(i[e]);r.appendChild(i[e])}}));n&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,n){return H(t,n||this.options.draggable,this.el,false)},option:function e(t,n){var i=this.options;if(n===void 0){return i[t]}else{var r=ye.modifyOption(this,t,n);if(typeof r!=="undefined"){i[t]=r}else{i[t]=n}if(t==="group"){ft(i)}}},destroy:function e(){De("destroy",this);var t=this.el;t[he]=null;Y(t,"mousedown",this._onTapStart);Y(t,"touchstart",this._onTapStart);Y(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){Y(t,"dragover",this);Y(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();Ye.splice(Ye.indexOf(this.el),1);this.el=t=null},_hideClone:function e(){if(!Me){De("hideClone",this);if(mt.eventCanceled)return;U(Te,"display","none");if(this.options.removeCloneOnHide&&Te.parentNode){Te.parentNode.removeChild(Te)}Me=true}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Me){De("showClone",this);if(mt.eventCanceled)return;if(Se.parentNode==xe&&!this.options.group.revertClone){xe.insertBefore(Te,Se)}else if(Ae){xe.insertBefore(Te,Ae)}else{xe.appendChild(Te)}if(this.options.group.revertClone){this.animate(Se,Te)}U(Te,"display","");Me=false}}};function gt(e){if(e.dataTransfer){e.dataTransfer.dropEffect="move"}e.cancelable&&e.preventDefault()}function bt(e,t,n,i,r,o,a,l){var s,c=e[he],u=c.options.onMove,f;if(window.CustomEvent&&!z&&!k){s=new CustomEvent("move",{bubbles:true,cancelable:true})}else{s=document.createEvent("Event");s.initEvent("move",true,true)}s.to=t;s.from=e;s.dragged=n;s.draggedRect=i;s.related=r||t;s.relatedRect=o||Z(t);s.willInsertAfter=l;s.originalEvent=a;e.dispatchEvent(s);if(u){f=u.call(c,s,a)}return f}function yt(e){e.draggable=false}function wt(){tt=false}function Et(e,t,n){var i=Z(J(n.el,0,n.options,true));var r=10;return t?e.clientX<i.left-r||e.clientY<i.top&&e.clientX<i.right:e.clientY<i.top-r||e.clientY<i.bottom&&e.clientX<i.left}function Dt(e,t,n){var i=Z(Q(n.el,n.options.draggable));var r=10;return t?e.clientX>i.right+r||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+r}function _t(e,t,n,i,r,o,a,l){var s=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,f=i?n.bottom:n.right,d=false;if(!a){if(l&&Je<c*r){if(!Ze&&(qe===1?s>u+c*o/2:s<f-c*o/2)){Ze=true}if(!Ze){if(qe===1?s<u+Je:s>f-Je){return-qe}}else{d=true}}else{if(s>u+c*(1-r)/2&&s<f-c*(1-r)/2){return St(t)}}}d=d||a;if(d){if(s<u+c*o/2||s>f-c*o/2){return s>u+c/2?1:-1}}return 0}function St(e){if(ee(Se)<ee(e)){return 1}else{return-1}}function Ct(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--){i+=t.charCodeAt(n)}return i.toString(36)}function It(e){nt.length=0;var t=e.getElementsByTagName("input");var n=t.length;while(n--){var i=t[n];i.checked&&nt.push(i)}}function xt(e){return setTimeout(e,0)}function At(e){return clearTimeout(e)}if(it){X(document,"touchmove",(function(e){if((mt.active||Le)&&e.cancelable){e.preventDefault()}}))}mt.utils={on:X,off:Y,css:U,find:V,is:function e(t,n){return!!H(t,n,t,false)},extend:re,throttle:le,closest:H,toggleClass:K,clone:ue,index:ee,nextTick:xt,cancelNextTick:At,detectDirection:st,getChild:J};mt.get=function(e){return e[he]};mt.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}if(t[0].constructor===Array)t=t[0];t.forEach((function(e){if(!e.prototype||!e.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e))}if(e.utils)mt.utils=b(b({},mt.utils),e.utils);ye.mount(e)}))};mt.create=function(e,t){return new mt(e,t)};mt.version=T;var Ot=[],Tt,Mt,zt=false,kt,Nt,Pt,Bt;function Rt(){function e(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}}e.prototype={dragStarted:function e(t){var n=t.originalEvent;if(this.sortable.nativeDraggable){X(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){X(document,"pointermove",this._handleFallbackAutoScroll)}else if(n.touches){X(document,"touchmove",this._handleFallbackAutoScroll)}else{X(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function e(t){var n=t.originalEvent;if(!this.options.dragOverBubble&&!n.rootEl){this._handleAutoScroll(n)}},drop:function e(){if(this.sortable.nativeDraggable){Y(document,"dragover",this._handleAutoScroll)}else{Y(document,"pointermove",this._handleFallbackAutoScroll);Y(document,"touchmove",this._handleFallbackAutoScroll);Y(document,"mousemove",this._handleFallbackAutoScroll)}Xt();Lt();se()},nulling:function e(){Pt=Mt=Tt=zt=Bt=kt=Nt=null;Ot.length=0},_handleFallbackAutoScroll:function e(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function e(t,n){var i=this;var r=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(r,o);Pt=t;if(n||this.options.forceAutoScrollFallback||k||z||P){Yt(t,this.options,a,n);var l=ie(a,true);if(zt&&(!Bt||r!==kt||o!==Nt)){Bt&&Xt();Bt=setInterval((function(){var e=ie(document.elementFromPoint(r,o),true);if(e!==l){l=e;Lt()}Yt(t,i.options,e,n)}),10);kt=r;Nt=o}}else{if(!this.options.bubbleScroll||ie(a,true)===q()){Lt();return}Yt(t,this.options,ie(a,false),false)}}};return E(e,{pluginName:"scroll",initializeByDefault:true})}function Lt(){Ot.forEach((function(e){clearInterval(e.pid)}));Ot=[]}function Xt(){clearInterval(Bt)}var Yt=le((function(e,t,n,i){if(!t.scroll)return;var r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=q();var c=false,u;if(Mt!==n){Mt=n;Lt();Tt=t.scroll;u=t.scrollFn;if(Tt===true){Tt=ie(n,true)}}var f=0;var d=Tt;do{var h=d,p=Z(h),v=p.top,m=p.bottom,g=p.left,b=p.right,y=p.width,w=p.height,E=void 0,D=void 0,_=h.scrollWidth,S=h.scrollHeight,C=U(h),I=h.scrollLeft,x=h.scrollTop;if(h===s){E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")}else{E=y<_&&(C.overflowX==="auto"||C.overflowX==="scroll");D=w<S&&(C.overflowY==="auto"||C.overflowY==="scroll")}var A=E&&(Math.abs(b-r)<=a&&I+y<_)-(Math.abs(g-r)<=a&&!!I);var O=D&&(Math.abs(m-o)<=a&&x+w<S)-(Math.abs(v-o)<=a&&!!x);if(!Ot[f]){for(var T=0;T<=f;T++){if(!Ot[T]){Ot[T]={}}}}if(Ot[f].vx!=A||Ot[f].vy!=O||Ot[f].el!==h){Ot[f].el=h;Ot[f].vx=A;Ot[f].vy=O;clearInterval(Ot[f].pid);if(A!=0||O!=0){c=true;Ot[f].pid=setInterval(function(){if(i&&this.layer===0){mt.active._onTouchMove(Pt)}var t=Ot[this.layer].vy?Ot[this.layer].vy*l:0;var n=Ot[this.layer].vx?Ot[this.layer].vx*l:0;if(typeof u==="function"){if(u.call(mt.dragged.parentNode[he],n,t,e,Pt,Ot[this.layer].el)!=="continue"){return}}ce(Ot[this.layer].el,n,t)}.bind({layer:f}),24)}}f++}while(t.bubbleScroll&&d!==s&&(d=ie(d,false)));zt=c}),30);var Wt=function e(t){var n=t.originalEvent,i=t.putSortable,r=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(!n)return;var c=i||o;l();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n;var f=document.elementFromPoint(u.clientX,u.clientY);s();if(c&&!c.el.contains(f)){a("spill");this.onSpill({dragEl:r,putSortable:i})}};function jt(){}jt.prototype={startIndex:null,dragStart:function e(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function e(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var r=J(this.sortable.el,this.startIndex,this.options);if(r){this.sortable.el.insertBefore(n,r)}else{this.sortable.el.appendChild(n)}this.sortable.animateAll();if(i){i.animateAll()}},drop:Wt};E(jt,{pluginName:"revertOnSpill"});function Ht(){}Ht.prototype={onSpill:function e(t){var n=t.dragEl,i=t.putSortable;var r=i||this.sortable;r.captureAnimationState();n.parentNode&&n.parentNode.removeChild(n);r.animateAll()},drop:Wt};E(Ht,{pluginName:"removeOnSpill"});var Ft;function Kt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}e.prototype={dragStart:function e(t){var n=t.dragEl;Ft=n},dragOverValid:function e(t){var n=t.completed,i=t.target,r=t.onMove,o=t.activeSortable,a=t.changed,l=t.cancel;if(!o.options.swap)return;var s=this.sortable.el,c=this.options;if(i&&i!==s){var u=Ft;if(r(i)!==false){K(i,c.swapClass,true);Ft=i}else{Ft=null}if(u&&u!==Ft){K(u,c.swapClass,false)}}a();n(true);l()},drop:function e(t){var n=t.activeSortable,i=t.putSortable,r=t.dragEl;var o=i||this.sortable;var a=this.options;Ft&&K(Ft,a.swapClass,false);if(Ft&&(a.swap||i&&i.options.swap)){if(r!==Ft){o.captureAnimationState();if(o!==n)n.captureAnimationState();Ut(r,Ft);o.animateAll();if(o!==n)n.animateAll()}}},nulling:function e(){Ft=null}};return E(e,{pluginName:"swap",eventProperties:function e(){return{swapItem:Ft}}})}function Ut(e,t){var n=e.parentNode,i=t.parentNode,r,o;if(!n||!i||n.isEqualNode(t)||i.isEqualNode(e))return;r=ee(e);o=ee(t);if(n.isEqualNode(i)&&r<o){o++}n.insertBefore(t,n.children[r]);i.insertBefore(e,i.children[o])}var Gt=[],Vt=[],qt,Zt,$t=false,Jt=false,Qt=false,en,tn,nn;function rn(){function e(e){for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}if(!e.options.avoidImplicitDeselect){if(e.options.supportPointer){X(document,"pointerup",this._deselectMultiDrag)}else{X(document,"mouseup",this._deselectMultiDrag);X(document,"touchend",this._deselectMultiDrag)}}X(document,"keydown",this._checkKeyDown);X(document,"keyup",this._checkKeyUp);this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:false,setData:function t(n,i){var r="";if(Gt.length&&Zt===e){Gt.forEach((function(e,t){r+=(!t?"":", ")+e.textContent}))}else{r=i.textContent}n.setData("Text",r)}}}e.prototype={multiDragKeyDown:false,isMultiDrag:false,delayStartGlobal:function e(t){var n=t.dragEl;en=n},delayEnded:function e(){this.isMultiDrag=~Gt.indexOf(en)},setupClone:function e(t){var n=t.sortable,i=t.cancel;if(!this.isMultiDrag)return;for(var r=0;r<Gt.length;r++){Vt.push(ue(Gt[r]));Vt[r].sortableIndex=Gt[r].sortableIndex;Vt[r].draggable=false;Vt[r].style["will-change"]="";K(Vt[r],this.options.selectedClass,false);Gt[r]===en&&K(Vt[r],this.options.chosenClass,false)}n._hideClone();i()},clone:function e(t){var n=t.sortable,i=t.rootEl,r=t.dispatchSortableEvent,o=t.cancel;if(!this.isMultiDrag)return;if(!this.options.removeCloneOnHide){if(Gt.length&&Zt===n){an(true,i);r("clone");o()}}},showClone:function e(t){var n=t.cloneNowShown,i=t.rootEl,r=t.cancel;if(!this.isMultiDrag)return;an(false,i);Vt.forEach((function(e){U(e,"display","")}));n();nn=false;r()},hideClone:function e(t){var n=this;var i=t.cloneNowHidden,r=t.cancel;if(!this.isMultiDrag)return;Vt.forEach((function(e){U(e,"display","none");if(n.options.removeCloneOnHide&&e.parentNode){e.parentNode.removeChild(e)}}));i();nn=true;r()},dragStartGlobal:function e(t){if(!this.isMultiDrag&&Zt){Zt.multiDrag._deselectMultiDrag()}Gt.forEach((function(e){e.sortableIndex=ee(e)}));Gt=Gt.sort((function(e,t){return e.sortableIndex-t.sortableIndex}));Qt=true},dragStarted:function e(t){var n=this;var i=t.sortable;if(!this.isMultiDrag)return;if(this.options.sort){i.captureAnimationState();if(this.options.animation){Gt.forEach((function(e){if(e===en)return;U(e,"position","absolute")}));var r=Z(en,false,true,true);Gt.forEach((function(e){if(e===en)return;fe(e,r)}));Jt=true;$t=true}}i.animateAll((function(){Jt=false;$t=false;if(n.options.animation){Gt.forEach((function(e){de(e)}))}if(n.options.sort){ln()}}))},dragOver:function e(t){var n=t.target,i=t.completed,r=t.cancel;if(Jt&&~Gt.indexOf(n)){i(false);r()}},revert:function e(t){var n=t.fromSortable,i=t.rootEl,r=t.sortable,o=t.dragRect;if(Gt.length>1){Gt.forEach((function(e){r.addAnimationState({target:e,rect:Jt?Z(e):o});de(e);e.fromRect=o;n.removeAnimationState(e)}));Jt=false;on(!this.options.removeCloneOnHide,i)}},dragOverCompleted:function e(t){var n=t.sortable,i=t.isOwner,r=t.insertion,o=t.activeSortable,a=t.parentEl,l=t.putSortable;var s=this.options;if(r){if(i){o._hideClone()}$t=false;if(s.animation&&Gt.length>1&&(Jt||!i&&!o.options.sort&&!l)){var c=Z(en,false,true,true);Gt.forEach((function(e){if(e===en)return;fe(e,c);a.appendChild(e)}));Jt=true}if(!i){if(!Jt){ln()}if(Gt.length>1){var u=nn;o._showClone(n);if(o.options.animation&&!nn&&u){Vt.forEach((function(e){o.addAnimationState({target:e,rect:tn});e.fromRect=tn;e.thisAnimationDuration=null}))}}else{o._showClone(n)}}}},dragOverAnimationCapture:function e(t){var n=t.dragRect,i=t.isOwner,r=t.activeSortable;Gt.forEach((function(e){e.thisAnimationDuration=null}));if(r.options.animation&&!i&&r.multiDrag.isMultiDrag){tn=E({},n);var o=G(en,true);tn.top-=o.f;tn.left-=o.e}},dragOverAnimationComplete:function e(){if(Jt){Jt=false;ln()}},drop:function e(t){var n=t.originalEvent,i=t.rootEl,r=t.parentEl,o=t.sortable,a=t.dispatchSortableEvent,l=t.oldIndex,s=t.putSortable;var c=s||this.sortable;if(!n)return;var u=this.options,f=r.children;if(!Qt){if(u.multiDragKey&&!this.multiDragKeyDown){this._deselectMultiDrag()}K(en,u.selectedClass,!~Gt.indexOf(en));if(!~Gt.indexOf(en)){Gt.push(en);we({sortable:o,rootEl:i,name:"select",targetEl:en,originalEvent:n});if(n.shiftKey&&qt&&o.el.contains(qt)){var d=ee(qt),h=ee(en);if(~d&&~h&&d!==h){var p,v;if(h>d){v=d;p=h}else{v=h;p=d+1}for(;v<p;v++){if(~Gt.indexOf(f[v]))continue;K(f[v],u.selectedClass,true);Gt.push(f[v]);we({sortable:o,rootEl:i,name:"select",targetEl:f[v],originalEvent:n})}}}else{qt=en}Zt=c}else{Gt.splice(Gt.indexOf(en),1);qt=null;we({sortable:o,rootEl:i,name:"deselect",targetEl:en,originalEvent:n})}}if(Qt&&this.isMultiDrag){Jt=false;if((r[he].options.sort||r!==i)&&Gt.length>1){var m=Z(en),g=ee(en,":not(."+this.options.selectedClass+")");if(!$t&&u.animation)en.thisAnimationDuration=null;c.captureAnimationState();if(!$t){if(u.animation){en.fromRect=m;Gt.forEach((function(e){e.thisAnimationDuration=null;if(e!==en){var t=Jt?Z(e):m;e.fromRect=t;c.addAnimationState({target:e,rect:t})}}))}ln();Gt.forEach((function(e){if(f[g]){r.insertBefore(e,f[g])}else{r.appendChild(e)}g++}));if(l===ee(en)){var b=false;Gt.forEach((function(e){if(e.sortableIndex!==ee(e)){b=true;return}}));if(b){a("update")}}}Gt.forEach((function(e){de(e)}));c.animateAll()}Zt=c}if(i===r||s&&s.lastPutMode!=="clone"){Vt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function e(){this.isMultiDrag=Qt=false;Vt.length=0},destroyGlobal:function e(){this._deselectMultiDrag();Y(document,"pointerup",this._deselectMultiDrag);Y(document,"mouseup",this._deselectMultiDrag);Y(document,"touchend",this._deselectMultiDrag);Y(document,"keydown",this._checkKeyDown);Y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function e(t){if(typeof Qt!=="undefined"&&Qt)return;if(Zt!==this.sortable)return;if(t&&H(t.target,this.options.draggable,this.sortable.el,false))return;if(t&&t.button!==0)return;while(Gt.length){var n=Gt[0];K(n,this.options.selectedClass,false);Gt.shift();we({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:n,originalEvent:t})}},_checkKeyDown:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=true}},_checkKeyUp:function e(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=false}}};return E(e,{pluginName:"multiDrag",utils:{select:function e(t){var n=t.parentNode[he];if(!n||!n.options.multiDrag||~Gt.indexOf(t))return;if(Zt&&Zt!==n){Zt.multiDrag._deselectMultiDrag();Zt=n}K(t,n.options.selectedClass,true);Gt.push(t)},deselect:function e(t){var n=t.parentNode[he],i=Gt.indexOf(t);if(!n||!n.options.multiDrag||!~i)return;K(t,n.options.selectedClass,false);Gt.splice(i,1)}},eventProperties:function e(){var t=this;var n=[],i=[];Gt.forEach((function(e){n.push({multiDragElement:e,index:e.sortableIndex});var r;if(Jt&&e!==en){r=-1}else if(Jt){r=ee(e,":not(."+t.options.selectedClass+")")}else{r=ee(e)}i.push({multiDragElement:e,index:r})}));return{items:S(Gt),clones:[].concat(Vt),oldIndicies:n,newIndicies:i}},optionListeners:{multiDragKey:function e(t){t=t.toLowerCase();if(t==="ctrl"){t="Control"}else if(t.length>1){t=t.charAt(0).toUpperCase()+t.substr(1)}return t}}})}function on(e,t){Gt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function an(e,t){Vt.forEach((function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];if(r){t.insertBefore(n,r)}else{t.appendChild(n)}}))}function ln(){Gt.forEach((function(e){if(e===en)return;e.parentNode&&e.parentNode.removeChild(e)}))}mt.mount(new Rt);mt.mount(Ht,jt);mt.mount(new Kt);mt.mount(new rn);var sn='.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}';var cn="is-sortable-item";var un="is-ghost";var fn="is-selected";var dn="is-chosen";var hn="is-drag";var pn="has-item-selected";var vn=0;var mn=e("stzh_sortable",function(){function e(e){var i=this;t(this,e);this.stzhUpdate=n(this,"stzhUpdate",7);this.stzhDisable=n(this,"stzhDisable",7);this.selectedItem=null;this.resetItemOnBlur=false;this.init=function(){if(!i.getContainer()||i.disabled){return}i.setAttributes()};this.updated=function(e){return __awaiter(i,void 0,void 0,(function(){var t,n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(e){t=e.newIndex;n=e.oldIndex;i=e.item}else{t=this.getIndexOfSelectedItem();n=this.lastIndex;i=this.selectedItem}if(!(t!==n))return[3,2];o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=i,a.newIndex=t,a.oldIndex=n,a)]);l.label=2;case 2:return[2]}}))}))};this.onKeydown=function(e){var t=e.currentTarget;var n=e.target;if(!i.getContainer()||i.disabled){return}var r=n.matches(i._filterElements.join(", "));if(e.key===" "&&!r){e.preventDefault();if(!i.selectedItem){i.selectedItem=t;i.selectedItem.parentElement.classList.add(pn);i.selectedItem.classList.add(fn);i.lastIndex=i.getIndexOfSelectedItem();i.resetItemOnBlur=true;i.updateAriaLive(i.localization.started)}else{i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}}else if(e.key==="Tab"&&i.selectedItem&&i.selectedItem===e.currentTarget){e.preventDefault()}else if(e.key==="Escape"&&i.selectedItem){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.canceled);i.resetActiveItem(true)}else if(e.key==="ArrowUp"){if(i.selectedItem){i.moveItem(i.selectedItem,"up")}else{i.focusItem(t.previousElementSibling)}}else if(e.key==="ArrowDown"){if(i.selectedItem){i.moveItem(i.selectedItem,"down")}else{i.focusItem(t.nextElementSibling)}}};this.onBlur=function(){if(i.resetItemOnBlur){i.resetItemOnBlur=false;i.updateAriaLive(i.localization.dropped);i.updated();i.resetActiveItem()}};this.localization=undefined;this.disabled=false;this.dataIdAttribute="data-id";this.container=function(){var e;return(e=i.containerElement)===null||e===void 0?void 0:e.firstElementChild};this.ghostClone=function(e){var t=a(e)[0];return t};this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}e.prototype.toArray=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.sortable.toArray()]}))}))};e.prototype.sort=function(e,t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,this.sortable.sort(e,t)]}))}))};e.prototype.moveItem=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o;var a;return __generator(this,(function(l){switch(l.label){case 0:if(!e||!e.nextElementSibling&&t==="down"||!e.previousElementSibling&&t==="up"){return[2]}this.resetItemOnBlur=false;if(t==="up"){e.previousElementSibling.before(e)}else if(t==="down"){e.nextElementSibling.after(e)}this.updateAriaLive(this.localization.moved,e);this.focusItem(e);i=Array.from((n=e.parentElement)===null||n===void 0?void 0:n.children).indexOf(e);o=(r=this.stzhUpdate).emit;a={component:"stzh-sortable"};return[4,this.toArray()];case 1:o.apply(r,[(a.data=l.sent(),a.item=e,a.newIndex=i,a.oldIndex=i+(t==="up"?1:-1),a)]);this.resetItemOnBlur=true;return[2]}}))}))};e.prototype.disabledWatcher=function(e){if(e){this.setAttributes()}else{this.unsetAttributes()}this.stzhDisable.emit({component:"stzh-sortable",disabled:e})};e.prototype.filterElementsWatcher=function(e){if(typeof e==="string"){this._filterElements=JSON.parse(e)}else{this._filterElements=e}};e.prototype.getContainer=function(){return typeof this.container==="function"?this.container():this.container};e.prototype.updateAriaLive=function(e,t){if(t===void 0){t=this.selectedItem}if(!this.getContainer()){return}if(t){var n=t.getAttribute("aria-label")||"";var i=this.getIndexOfSelectedItem(t);e=e.replace("{title}",n).replace("{current}",(i+1).toString())}var r=this.getContainer().children.length;e=e.replace("{total}",r.toString());this.ariaLiveElement.textContent=e};e.prototype.getIndexOfSelectedItem=function(e){if(e===void 0){e=this.selectedItem}if(e){return Array.from(e.parentElement.children).indexOf(e)}};e.prototype.resetActiveItem=function(e){if(e===void 0){e=false}if(!this.selectedItem){return}var t=this.getIndexOfSelectedItem();var n=this.selectedItem.parentElement;if(e&&this.lastIndex!==t){if(this.lastIndex>t){n.children[this.lastIndex].after(this.selectedItem)}else{n.children[this.lastIndex].before(this.selectedItem)}this.selectedItem.focus()}n.classList.remove(pn);this.selectedItem.classList.remove(fn);this.selectedItem=null;this.lastIndex=null};e.prototype.focusItem=function(e){if(!e){return}e.focus();var t=document.querySelector("stzh-flyingfocus");if(t){t.reposition()}m(e,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})};e.prototype.setAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.add(cn);t.addEventListener("blur",e.onBlur);t.addEventListener("keydown",e.onKeydown);t.setAttribute("tabindex","0");t.setAttribute("aria-describedby","".concat(e.sortableId,"-description"))}))};e.prototype.unsetAttributes=function(){var e=this;Array.from(this.getContainer().children).forEach((function(t){t.classList.remove(cn);t.removeEventListener("blur",e.onBlur);t.removeEventListener("keydown",e.onKeydown);t.removeAttribute("tabindex");t.removeAttribute("aria-describedby")}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:this.sortableId="stzh-sortable-".concat(vn++);this.filterElementsWatcher(this.filterElements);if(!!this.localization)return[3,2];e=this;return[4,l(this.element,"sortable")];case 1:e.localization=t.sent();t.label=2;case 2:return[2]}}))}))};e.prototype.componentWillUpdate=function(){if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.componentDidRender=function(){if(this.sortable){return}this.sortable=new mt(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:un,chosenClass:dn,dragClass:hn,dataIdAttr:this.dataIdAttribute,preventOnFilter:false,forceFallback:true,delay:200,delayOnTouchOnly:true,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated})};e.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.unsetAttributes();if(this.sortable){this.sortable.destroy();this.sortable=null}};e.prototype.render=function(){var e=this;var t={"stzh-sortable":true,"stzh-sortable--disabled":this.disabled};return i(r,null,i("div",{class:t},i("div",{id:"".concat(this.sortableId,"-description"),class:"stzh-sortable__description"},this.localization.description),i("div",{ref:function(t){return e.ariaLiveElement=t},"aria-live":"assertive",class:"stzh-sortable__aria-live"}),i("div",{ref:function(t){return e.containerElement=t},class:"stzh-sortable__container"},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}},enumerable:false,configurable:true});return e}());mn.style=sn}}}));