@swisspost/design-system-components 9.0.0-next.2 → 9.0.0-next.21

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 (538) hide show
  1. package/dist/.config/bindings.angular.js +4 -0
  2. package/dist/cjs/{attribute-observer-10f08c04.js → attribute-observer-6d8b886b.js} +4 -4
  3. package/dist/cjs/check-non-empty-bd99d236.js +15 -0
  4. package/dist/cjs/check-one-of-75d270b5.js +13 -0
  5. package/dist/cjs/check-type-cdbf6d29.js +21 -0
  6. package/dist/cjs/check-url-220a286c.js +19 -0
  7. package/dist/cjs/debounce-158fd76f.js +13 -0
  8. package/dist/cjs/fade-72d5ef55.js +14 -0
  9. package/dist/cjs/get-root-7a3498ef.js +11 -0
  10. package/dist/cjs/index-23e36ff7.js +37 -0
  11. package/dist/cjs/{index-c15bd800.js → index-5acef487.js} +54 -17
  12. package/dist/cjs/index.browser-2f65f583.js +15 -0
  13. package/dist/cjs/index.cjs.js +56 -27
  14. package/dist/cjs/loader.cjs.js +2 -2
  15. package/dist/cjs/{package-a7150f64.js → package-c6bc9e82.js} +1 -1
  16. package/dist/cjs/{post-accordion-62d2fd79.js → post-accordion-d1345784.js} +9 -8
  17. package/dist/cjs/post-accordion-item-a796d803.js +64 -0
  18. package/dist/cjs/post-accordion-item.cjs.entry.js +8 -5
  19. package/dist/cjs/post-accordion.cjs.entry.js +4 -4
  20. package/dist/cjs/post-avatar-b4e96354.js +144 -0
  21. package/dist/cjs/post-avatar.cjs.entry.js +13 -0
  22. package/dist/cjs/post-back-to-top-fc541c6b.js +76 -0
  23. package/dist/cjs/post-back-to-top.cjs.entry.js +15 -0
  24. package/dist/cjs/post-banner-46522b4f.js +96 -0
  25. package/dist/cjs/post-banner.cjs.entry.js +19 -0
  26. package/dist/cjs/post-breadcrumb-799d34da.js +112 -0
  27. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +17 -0
  28. package/dist/cjs/post-breadcrumb.cjs.entry.js +13 -0
  29. package/dist/cjs/post-card-control-7bf7d3f2.js +283 -0
  30. package/dist/cjs/post-card-control.cjs.entry.js +5 -5
  31. package/dist/cjs/post-closebutton_15.cjs.entry.js +34 -0
  32. package/dist/cjs/{post-collapsible-trigger-9dca8493.js → post-collapsible-trigger-0568e3ec.js} +50 -56
  33. package/dist/cjs/post-collapsible_2.cjs.entry.js +10 -6
  34. package/dist/cjs/post-components.cjs.js +2 -2
  35. package/dist/cjs/post-footer-f87a556b.js +88 -0
  36. package/dist/cjs/post-footer.cjs.entry.js +11 -0
  37. package/dist/cjs/post-linkarea-0ccf93fc.js +30 -0
  38. package/dist/cjs/post-linkarea.cjs.entry.js +11 -0
  39. package/dist/cjs/post-menu-item-eba24c40.js +68 -0
  40. package/dist/cjs/post-popover-35f679f6.js +106 -0
  41. package/dist/cjs/post-popover.cjs.entry.js +4 -4
  42. package/dist/cjs/{post-rating-db5a397a.js → post-rating-d12fa214.js} +16 -6
  43. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  44. package/dist/cjs/post-tab-header-89dca04b.js +33 -0
  45. package/dist/cjs/post-tab-header.cjs.entry.js +5 -4
  46. package/dist/cjs/{post-tab-panel-d59cf1ec.js → post-tab-panel-ad1ab180.js} +6 -5
  47. package/dist/cjs/post-tab-panel.cjs.entry.js +4 -3
  48. package/dist/cjs/{post-tabs-7afae61a.js → post-tabs-0db75745.js} +23 -16
  49. package/dist/cjs/post-tabs.cjs.entry.js +4 -4
  50. package/dist/cjs/post-tag-396a46c9.js +47 -0
  51. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  52. package/dist/cjs/post-togglebutton-69983699.js +3861 -0
  53. package/dist/cjs/{post-tooltip-432852c7.js → post-tooltip-7174ea97.js} +38 -25
  54. package/dist/cjs/post-tooltip.cjs.entry.js +8 -6
  55. package/dist/cjs/slide-8ae17ee4.js +28 -0
  56. package/dist/collection/animations/collapse.js +5 -5
  57. package/dist/collection/animations/fade.js +6 -2
  58. package/dist/collection/animations/slide.js +23 -0
  59. package/dist/collection/collection-manifest.json +22 -3
  60. package/dist/collection/components/post-accordion/post-accordion.css +1 -1
  61. package/dist/collection/components/post-accordion/post-accordion.js +5 -3
  62. package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
  63. package/dist/collection/components/post-accordion-item/post-accordion-item.js +29 -11
  64. package/dist/collection/components/post-avatar/post-avatar.css +3 -0
  65. package/dist/collection/components/post-avatar/post-avatar.js +234 -0
  66. package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -0
  67. package/dist/collection/components/post-back-to-top/post-back-to-top.js +109 -0
  68. package/dist/collection/components/post-banner/banner-types.js +1 -0
  69. package/dist/collection/components/post-banner/post-banner.css +3 -0
  70. package/dist/collection/components/{post-alert/post-alert.js → post-banner/post-banner.js} +51 -73
  71. package/dist/collection/components/post-breadcrumb/post-breadcrumb.css +3 -0
  72. package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +163 -0
  73. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -0
  74. package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +98 -0
  75. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  76. package/dist/collection/components/post-card-control/post-card-control.js +55 -43
  77. package/dist/collection/components/post-closebutton/post-closebutton.js +13 -0
  78. package/dist/collection/components/post-collapsible/post-collapsible.css +1 -1
  79. package/dist/collection/components/post-collapsible/post-collapsible.js +15 -6
  80. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +21 -20
  81. package/dist/collection/components/post-footer/post-footer.css +1 -0
  82. package/dist/collection/components/post-footer/post-footer.js +76 -0
  83. package/dist/collection/components/post-header/post-header.css +1 -0
  84. package/dist/collection/components/post-header/post-header.js +267 -0
  85. package/dist/collection/components/post-icon/post-icon.js +80 -47
  86. package/dist/collection/components/post-language-option/post-language-option.css +3 -0
  87. package/dist/collection/components/post-language-option/post-language-option.js +224 -0
  88. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -0
  89. package/dist/collection/components/post-language-switch/post-language-switch.js +164 -0
  90. package/dist/collection/components/post-language-switch/switch-variants.js +1 -0
  91. package/dist/collection/components/post-linkarea/post-linkarea.css +1 -0
  92. package/dist/collection/components/post-linkarea/post-linkarea.js +30 -0
  93. package/dist/collection/components/post-list/post-list.css +3 -0
  94. package/dist/collection/components/post-list/post-list.js +90 -0
  95. package/dist/collection/components/post-list-item/post-list-item.css +1 -0
  96. package/dist/collection/components/post-list-item/post-list-item.js +26 -0
  97. package/dist/collection/components/post-logo/post-logo.css +1 -1
  98. package/dist/collection/components/post-logo/post-logo.js +4 -3
  99. package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -0
  100. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +255 -0
  101. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -0
  102. package/dist/collection/components/post-megadropdown/post-megadropdown.js +268 -0
  103. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -0
  104. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +127 -0
  105. package/dist/collection/components/post-menu/post-menu.css +3 -0
  106. package/dist/collection/components/post-menu/post-menu.js +297 -0
  107. package/dist/collection/components/post-menu-item/post-menu-item.js +8 -0
  108. package/dist/collection/components/post-menu-trigger/post-menu-trigger.css +1 -0
  109. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +122 -0
  110. package/dist/collection/components/post-popover/post-popover.css +1 -1
  111. package/dist/collection/components/post-popover/post-popover.js +6 -3
  112. package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
  113. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +193 -38
  114. package/dist/collection/components/post-rating/post-rating.css +1 -1
  115. package/dist/collection/components/post-rating/post-rating.js +13 -2
  116. package/dist/collection/components/post-tab-header/post-tab-header.css +2 -2
  117. package/dist/collection/components/post-tab-header/post-tab-header.js +6 -4
  118. package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -2
  119. package/dist/collection/components/post-tabs/post-tabs.css +1 -1
  120. package/dist/collection/components/post-tabs/post-tabs.js +17 -14
  121. package/dist/collection/components/post-tag/post-tag.css +1 -1
  122. package/dist/collection/components/post-tag/post-tag.js +3 -2
  123. package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -0
  124. package/dist/collection/components/post-togglebutton/post-togglebutton.js +75 -0
  125. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  126. package/dist/collection/components/post-tooltip/post-tooltip.js +35 -17
  127. package/dist/collection/index.js +21 -2
  128. package/dist/collection/utils/attribute-observer.js +4 -4
  129. package/dist/collection/utils/breakpoints.js +50 -0
  130. package/dist/collection/utils/component-on-ready.js +4 -4
  131. package/dist/collection/utils/debounce.js +2 -1
  132. package/dist/collection/utils/get-focusable-children.js +33 -0
  133. package/dist/collection/utils/property-checkers/check-non-empty.js +6 -2
  134. package/dist/collection/utils/property-checkers/check-one-of.js +8 -3
  135. package/dist/collection/utils/property-checkers/check-pattern.js +8 -3
  136. package/dist/collection/utils/property-checkers/check-type.js +11 -6
  137. package/dist/collection/utils/property-checkers/check-url.js +11 -6
  138. package/dist/collection/utils/property-checkers/empty-or.js +5 -2
  139. package/dist/collection/utils/sass-export.js +8 -5
  140. package/dist/components/attribute-observer.js +4 -4
  141. package/dist/components/check-non-empty.js +6 -2
  142. package/dist/components/check-one-of.js +8 -3
  143. package/dist/components/check-type.js +11 -6
  144. package/dist/components/debounce.js +11 -0
  145. package/dist/components/fade.js +6 -2
  146. package/dist/components/get-focusable-children.js +35 -0
  147. package/dist/components/get-root.js +9 -0
  148. package/dist/components/index.browser.js +13 -0
  149. package/dist/components/index.js +21 -2
  150. package/dist/components/index2.js +25 -12
  151. package/dist/components/index3.js +135 -0
  152. package/dist/components/package.js +1 -1
  153. package/dist/components/post-accordion-item2.js +36 -16
  154. package/dist/components/post-accordion2.js +6 -5
  155. package/dist/components/post-avatar.d.ts +11 -0
  156. package/dist/components/post-avatar.js +6 -0
  157. package/dist/components/post-avatar2.js +169 -0
  158. package/dist/components/post-back-to-top.d.ts +11 -0
  159. package/dist/components/post-back-to-top.js +6 -0
  160. package/dist/components/post-back-to-top2.js +101 -0
  161. package/dist/components/post-banner.d.ts +11 -0
  162. package/dist/components/post-banner.js +6 -0
  163. package/dist/components/post-banner2.js +131 -0
  164. package/dist/components/post-breadcrumb-item.d.ts +11 -0
  165. package/dist/components/post-breadcrumb-item.js +6 -0
  166. package/dist/components/post-breadcrumb-item2.js +82 -0
  167. package/dist/components/post-breadcrumb.d.ts +11 -0
  168. package/dist/components/post-breadcrumb.js +6 -0
  169. package/dist/components/post-breadcrumb2.js +169 -0
  170. package/dist/components/post-card-control2.js +50 -39
  171. package/dist/components/post-closebutton.d.ts +11 -0
  172. package/dist/components/post-closebutton.js +6 -0
  173. package/dist/components/post-closebutton2.js +34 -0
  174. package/dist/components/post-collapsible-trigger2.js +23 -38
  175. package/dist/components/post-collapsible2.js +22 -14
  176. package/dist/components/post-footer.d.ts +11 -0
  177. package/dist/components/post-footer.js +6 -0
  178. package/dist/components/post-footer2.js +128 -0
  179. package/dist/components/post-header.d.ts +11 -0
  180. package/dist/components/post-header.js +6 -0
  181. package/dist/components/post-header2.js +217 -0
  182. package/dist/components/post-icon2.js +82 -46
  183. package/dist/components/post-language-option.d.ts +11 -0
  184. package/dist/components/post-language-option.js +6 -0
  185. package/dist/components/post-language-option2.js +102 -0
  186. package/dist/components/post-language-switch.d.ts +11 -0
  187. package/dist/components/post-language-switch.js +6 -0
  188. package/dist/components/post-language-switch2.js +135 -0
  189. package/dist/components/post-linkarea.d.ts +11 -0
  190. package/dist/components/post-linkarea.js +6 -0
  191. package/dist/components/post-linkarea2.js +42 -0
  192. package/dist/components/post-list-item.d.ts +11 -0
  193. package/dist/components/post-list-item.js +6 -0
  194. package/dist/components/post-list-item2.js +35 -0
  195. package/dist/components/{post-alert.d.ts → post-list.d.ts} +4 -4
  196. package/dist/components/post-list.js +6 -0
  197. package/dist/components/post-list2.js +55 -0
  198. package/dist/components/post-logo2.js +5 -5
  199. package/dist/components/post-mainnavigation.d.ts +11 -0
  200. package/dist/components/post-mainnavigation.js +6 -0
  201. package/dist/components/post-mainnavigation2.js +258 -0
  202. package/dist/components/post-megadropdown-trigger.d.ts +11 -0
  203. package/dist/components/post-megadropdown-trigger.js +6 -0
  204. package/dist/components/post-megadropdown-trigger2.js +113 -0
  205. package/dist/components/post-megadropdown.d.ts +11 -0
  206. package/dist/components/post-megadropdown.js +6 -0
  207. package/dist/components/post-megadropdown2.js +186 -0
  208. package/dist/components/post-menu-item.d.ts +11 -0
  209. package/dist/components/post-menu-item.js +6 -0
  210. package/dist/components/post-menu-item2.js +27 -0
  211. package/dist/components/post-menu-trigger.d.ts +11 -0
  212. package/dist/components/post-menu-trigger.js +6 -0
  213. package/dist/components/post-menu-trigger2.js +109 -0
  214. package/dist/components/post-menu.d.ts +11 -0
  215. package/dist/components/post-menu.js +6 -0
  216. package/dist/components/post-menu2.js +193 -0
  217. package/dist/components/post-popover2.js +6 -4
  218. package/dist/components/post-popovercontainer2.js +227 -59
  219. package/dist/components/post-rating2.js +14 -4
  220. package/dist/components/post-tab-header2.js +7 -6
  221. package/dist/components/post-tab-panel2.js +4 -3
  222. package/dist/components/post-tabs2.js +20 -13
  223. package/dist/components/post-tag2.js +3 -3
  224. package/dist/components/post-togglebutton.d.ts +11 -0
  225. package/dist/components/post-togglebutton.js +6 -0
  226. package/dist/components/post-togglebutton2.js +61 -0
  227. package/dist/components/post-tooltip2.js +35 -22
  228. package/dist/components/slide.js +25 -0
  229. package/dist/docs.json +1956 -270
  230. package/dist/esm/{attribute-observer-37fa950a.js → attribute-observer-2f203993.js} +4 -4
  231. package/dist/esm/check-non-empty-258a56b3.js +13 -0
  232. package/dist/esm/check-one-of-0bee20f5.js +11 -0
  233. package/dist/esm/check-type-37d5d307.js +19 -0
  234. package/dist/esm/check-url-17962bc8.js +17 -0
  235. package/dist/esm/debounce-e54c7131.js +11 -0
  236. package/dist/esm/fade-1f3cacf4.js +11 -0
  237. package/dist/esm/get-root-7af2e0d1.js +9 -0
  238. package/dist/esm/{index-0b56fc28.js → index-40846676.js} +54 -17
  239. package/dist/esm/index-8f8fe5b0.js +32 -0
  240. package/dist/esm/index.browser-51485f85.js +13 -0
  241. package/dist/esm/index.js +32 -22
  242. package/dist/esm/loader.js +3 -3
  243. package/dist/esm/package-5614c98b.js +3 -0
  244. package/dist/esm/{post-accordion-6f4d2b9a.js → post-accordion-f6d1834d.js} +9 -8
  245. package/dist/esm/post-accordion-item-7cb93300.js +62 -0
  246. package/dist/esm/post-accordion-item.entry.js +8 -5
  247. package/dist/esm/post-accordion.entry.js +4 -4
  248. package/dist/esm/post-avatar-96108967.js +142 -0
  249. package/dist/esm/post-avatar.entry.js +5 -0
  250. package/dist/esm/post-back-to-top-7f8a61c8.js +74 -0
  251. package/dist/esm/post-back-to-top.entry.js +7 -0
  252. package/dist/esm/post-banner-bb69bce8.js +94 -0
  253. package/dist/esm/post-banner.entry.js +11 -0
  254. package/dist/esm/post-breadcrumb-9d9efa4e.js +110 -0
  255. package/dist/esm/post-breadcrumb-item_2.entry.js +8 -0
  256. package/dist/esm/post-breadcrumb.entry.js +5 -0
  257. package/dist/esm/post-card-control-fdced7d5.js +281 -0
  258. package/dist/esm/post-card-control.entry.js +5 -5
  259. package/dist/esm/post-closebutton_15.entry.js +12 -0
  260. package/dist/esm/{post-collapsible-trigger-85c2064a.js → post-collapsible-trigger-17b2f067.js} +49 -55
  261. package/dist/esm/post-collapsible_2.entry.js +10 -6
  262. package/dist/esm/post-components.js +3 -3
  263. package/dist/esm/post-footer-2dcd8159.js +86 -0
  264. package/dist/esm/post-footer.entry.js +3 -0
  265. package/dist/esm/post-linkarea-06c5144d.js +28 -0
  266. package/dist/esm/post-linkarea.entry.js +3 -0
  267. package/dist/esm/post-menu-item-e917bf99.js +65 -0
  268. package/dist/esm/post-popover-67a3cbf2.js +104 -0
  269. package/dist/esm/post-popover.entry.js +4 -4
  270. package/dist/esm/{post-rating-d9fc0b40.js → post-rating-9613bee8.js} +16 -6
  271. package/dist/esm/post-rating.entry.js +3 -3
  272. package/dist/esm/post-tab-header-dff3a025.js +31 -0
  273. package/dist/esm/post-tab-header.entry.js +5 -4
  274. package/dist/esm/{post-tab-panel-926439f4.js → post-tab-panel-2b3f82a8.js} +6 -5
  275. package/dist/esm/post-tab-panel.entry.js +4 -3
  276. package/dist/esm/{post-tabs-13b2d9a6.js → post-tabs-46d1165f.js} +23 -16
  277. package/dist/esm/post-tabs.entry.js +4 -4
  278. package/dist/esm/post-tag-4176268e.js +45 -0
  279. package/dist/esm/post-tag.entry.js +3 -3
  280. package/dist/esm/post-togglebutton-5892c5bd.js +3845 -0
  281. package/dist/esm/{post-tooltip-3cde6b53.js → post-tooltip-5a45a569.js} +38 -25
  282. package/dist/esm/post-tooltip.entry.js +8 -6
  283. package/dist/esm/slide-62768431.js +25 -0
  284. package/dist/post-components/index.esm.js +1 -1
  285. package/dist/post-components/p-017dc6c7.js +1 -0
  286. package/dist/post-components/p-0227b899.js +1 -0
  287. package/dist/post-components/p-04895a54.js +1 -0
  288. package/dist/post-components/p-04c38bfe.entry.js +1 -0
  289. package/dist/post-components/p-07a0a626.js +1 -0
  290. package/dist/post-components/p-12573893.js +1 -0
  291. package/dist/post-components/p-1289b0a7.entry.js +1 -0
  292. package/dist/post-components/p-12a11565.js +1 -0
  293. package/dist/post-components/p-1542a80e.entry.js +1 -0
  294. package/dist/post-components/p-181c73d5.js +1 -0
  295. package/dist/post-components/p-254a9bd2.entry.js +1 -0
  296. package/dist/post-components/p-28500934.entry.js +1 -0
  297. package/dist/post-components/p-2b1281af.js +1 -0
  298. package/dist/post-components/p-2c69e7f2.entry.js +1 -0
  299. package/dist/post-components/p-30132b19.entry.js +1 -0
  300. package/dist/post-components/p-30af1d48.js +1 -0
  301. package/dist/post-components/p-3bdeb686.entry.js +1 -0
  302. package/dist/post-components/p-47cb31dd.js +1 -0
  303. package/dist/post-components/p-4af6dbed.js +1 -0
  304. package/dist/post-components/p-4f41f63e.js +1 -0
  305. package/dist/post-components/p-52790b8b.js +1 -0
  306. package/dist/post-components/p-5959f2bd.js +1 -0
  307. package/dist/post-components/{p-82dcf8c6.js → p-59ca0a13.js} +3 -3
  308. package/dist/post-components/p-5aaa5703.entry.js +1 -0
  309. package/dist/post-components/p-64e3de38.js +1 -0
  310. package/dist/post-components/p-67a45f16.js +1 -0
  311. package/dist/post-components/p-6d8ac9bd.entry.js +1 -0
  312. package/dist/post-components/p-7709c14a.js +1 -0
  313. package/dist/post-components/p-77cc2a5e.entry.js +1 -0
  314. package/dist/post-components/p-79c552fb.js +1 -0
  315. package/dist/post-components/p-7dd05e6d.entry.js +1 -0
  316. package/dist/post-components/p-803b7598.js +1 -0
  317. package/dist/post-components/p-85fdc2d3.js +1 -0
  318. package/dist/post-components/p-9748a355.js +1 -0
  319. package/dist/post-components/p-98fcf90b.entry.js +1 -0
  320. package/dist/post-components/p-994fae4c.entry.js +1 -0
  321. package/dist/post-components/p-a805515a.entry.js +1 -0
  322. package/dist/post-components/p-b5b48f66.entry.js +1 -0
  323. package/dist/post-components/p-b9bf5a5f.js +1 -0
  324. package/dist/post-components/p-c6b3a926.js +1 -0
  325. package/dist/post-components/p-c9dd3cdb.entry.js +1 -0
  326. package/dist/post-components/p-cb5e4a06.js +1 -0
  327. package/dist/post-components/p-d45df336.js +1 -0
  328. package/dist/post-components/p-dd4a5c0a.entry.js +1 -0
  329. package/dist/post-components/p-e1baac59.js +1 -0
  330. package/dist/post-components/p-e585c6fe.js +1 -0
  331. package/dist/post-components/p-e6d54838.entry.js +1 -0
  332. package/dist/post-components/p-f4b0cc7d.js +1 -0
  333. package/dist/post-components/p-fc91cbc2.js +1 -0
  334. package/dist/post-components/p-fe8c300c.js +1 -0
  335. package/dist/post-components/p-ff95dcd3.js +2 -0
  336. package/dist/post-components/post-components.esm.js +1 -1
  337. package/dist/types/animations/collapse.d.ts +2 -2
  338. package/dist/types/animations/fade.d.ts +2 -2
  339. package/dist/types/animations/slide.d.ts +2 -0
  340. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +8 -2
  341. package/dist/types/components/post-avatar/post-avatar.d.ts +51 -0
  342. package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +19 -0
  343. package/dist/types/components/post-banner/banner-types.d.ts +2 -0
  344. package/dist/types/components/post-banner/post-banner.d.ts +49 -0
  345. package/dist/types/components/post-breadcrumb/post-breadcrumb.d.ts +30 -0
  346. package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +20 -0
  347. package/dist/types/components/post-card-control/post-card-control.d.ts +9 -9
  348. package/dist/types/components/post-closebutton/post-closebutton.d.ts +7 -0
  349. package/dist/types/components/post-footer/post-footer.d.ts +23 -0
  350. package/dist/types/components/post-header/post-header.d.ts +45 -0
  351. package/dist/types/components/post-icon/post-icon.d.ts +14 -12
  352. package/dist/types/components/post-language-option/post-language-option.d.ts +45 -0
  353. package/dist/types/components/post-language-switch/post-language-switch.d.ts +31 -0
  354. package/dist/types/components/post-language-switch/switch-variants.d.ts +2 -0
  355. package/dist/types/components/post-linkarea/post-linkarea.d.ts +5 -0
  356. package/dist/types/components/post-list/post-list.d.ts +24 -0
  357. package/dist/types/components/post-list-item/post-list-item.d.ts +8 -0
  358. package/dist/types/components/post-logo/post-logo.d.ts +1 -1
  359. package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +70 -0
  360. package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +57 -0
  361. package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +31 -0
  362. package/dist/types/components/post-menu/post-menu.d.ts +48 -0
  363. package/dist/types/components/post-menu-item/post-menu-item.d.ts +3 -0
  364. package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +28 -0
  365. package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +23 -1
  366. package/dist/types/components/post-tab-header/post-tab-header.d.ts +1 -1
  367. package/dist/types/components/post-tabs/post-tabs.d.ts +1 -1
  368. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  369. package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +15 -0
  370. package/dist/types/components.d.ts +609 -48
  371. package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/.config/bindings.angular.d.ts +2 -0
  372. package/dist/types/index.d.ts +22 -3
  373. package/dist/types/utils/attribute-observer.d.ts +1 -1
  374. package/dist/types/utils/breakpoints.d.ts +12 -0
  375. package/dist/types/utils/component-on-ready.d.ts +1 -1
  376. package/dist/types/utils/get-focusable-children.d.ts +1 -0
  377. package/dist/types/utils/get-root.d.ts +1 -1
  378. package/dist/types/utils/property-checkers/check-non-empty.d.ts +3 -1
  379. package/dist/types/utils/property-checkers/check-one-of.d.ts +3 -1
  380. package/dist/types/utils/property-checkers/check-pattern.d.ts +3 -1
  381. package/dist/types/utils/property-checkers/check-type.d.ts +3 -1
  382. package/dist/types/utils/property-checkers/check-url.d.ts +3 -1
  383. package/dist/types/utils/property-checkers/index.d.ts +12 -4
  384. package/dist/types/utils/sass-export.d.ts +5 -1
  385. package/loaders/attribute-observer.js +4 -4
  386. package/loaders/check-non-empty.js +6 -2
  387. package/loaders/check-one-of.js +8 -3
  388. package/loaders/check-type.js +11 -6
  389. package/loaders/debounce.js +11 -0
  390. package/loaders/fade.js +6 -2
  391. package/loaders/get-focusable-children.js +35 -0
  392. package/loaders/get-root.js +9 -0
  393. package/loaders/index.browser.js +13 -0
  394. package/loaders/index.d.ts +40 -2
  395. package/loaders/index.js +21 -2
  396. package/loaders/index2.js +25 -12
  397. package/loaders/index3.js +135 -0
  398. package/loaders/package.js +1 -1
  399. package/loaders/post-accordion-item.js +1 -81
  400. package/loaders/post-accordion-item2.js +103 -0
  401. package/loaders/post-accordion.js +6 -5
  402. package/loaders/post-avatar.d.ts +11 -0
  403. package/loaders/post-avatar.js +172 -0
  404. package/loaders/post-back-to-top.d.ts +11 -0
  405. package/loaders/post-back-to-top.js +104 -0
  406. package/loaders/post-banner.d.ts +11 -0
  407. package/loaders/post-banner.js +134 -0
  408. package/loaders/post-breadcrumb-item.d.ts +11 -0
  409. package/loaders/post-breadcrumb-item.js +6 -0
  410. package/loaders/post-breadcrumb-item2.js +82 -0
  411. package/loaders/post-breadcrumb.d.ts +11 -0
  412. package/loaders/post-breadcrumb.js +172 -0
  413. package/loaders/post-card-control.js +50 -39
  414. package/loaders/post-closebutton.d.ts +11 -0
  415. package/loaders/post-closebutton.js +37 -0
  416. package/loaders/post-collapsible-trigger2.js +23 -38
  417. package/loaders/post-collapsible2.js +21 -13
  418. package/loaders/post-footer.d.ts +11 -0
  419. package/loaders/post-footer.js +131 -0
  420. package/loaders/post-header.d.ts +11 -0
  421. package/loaders/post-header.js +220 -0
  422. package/loaders/post-icon2.js +82 -46
  423. package/loaders/post-language-option.d.ts +11 -0
  424. package/loaders/post-language-option.js +105 -0
  425. package/loaders/post-language-switch.d.ts +11 -0
  426. package/loaders/post-language-switch.js +138 -0
  427. package/loaders/post-linkarea.d.ts +11 -0
  428. package/loaders/post-linkarea.js +45 -0
  429. package/loaders/post-list-item.d.ts +11 -0
  430. package/loaders/post-list-item.js +38 -0
  431. package/loaders/{post-alert.d.ts → post-list.d.ts} +4 -4
  432. package/loaders/post-list.js +58 -0
  433. package/loaders/post-logo.js +6 -6
  434. package/loaders/post-mainnavigation.d.ts +11 -0
  435. package/loaders/post-mainnavigation.js +261 -0
  436. package/loaders/post-megadropdown-trigger.d.ts +11 -0
  437. package/loaders/post-megadropdown-trigger.js +116 -0
  438. package/loaders/post-megadropdown.d.ts +11 -0
  439. package/loaders/post-megadropdown.js +189 -0
  440. package/loaders/post-menu-item.d.ts +11 -0
  441. package/loaders/post-menu-item.js +6 -0
  442. package/loaders/post-menu-item2.js +27 -0
  443. package/loaders/post-menu-trigger.d.ts +11 -0
  444. package/loaders/post-menu-trigger.js +6 -0
  445. package/loaders/post-menu-trigger2.js +109 -0
  446. package/loaders/post-menu.d.ts +11 -0
  447. package/loaders/post-menu.js +6 -0
  448. package/loaders/post-menu2.js +193 -0
  449. package/loaders/post-popover.js +6 -4
  450. package/loaders/post-popovercontainer2.js +227 -59
  451. package/loaders/post-rating.js +14 -4
  452. package/loaders/post-tab-header.js +7 -6
  453. package/loaders/post-tab-panel.js +4 -3
  454. package/loaders/post-tabs.js +20 -13
  455. package/loaders/post-tag.js +3 -3
  456. package/loaders/post-togglebutton.d.ts +11 -0
  457. package/loaders/post-togglebutton.js +64 -0
  458. package/loaders/post-tooltip.js +34 -21
  459. package/loaders/slide.js +25 -0
  460. package/package.json +26 -20
  461. package/dist/cjs/check-non-empty-eeaa8f77.js +0 -11
  462. package/dist/cjs/check-one-of-f4f5d0c0.js +0 -8
  463. package/dist/cjs/fade-35a3633a.js +0 -10
  464. package/dist/cjs/index-01f30442.js +0 -52
  465. package/dist/cjs/post-accordion-item-7b348fa5.js +0 -51
  466. package/dist/cjs/post-alert-fca3a4a3.js +0 -98
  467. package/dist/cjs/post-alert.cjs.entry.js +0 -16
  468. package/dist/cjs/post-card-control-b4e4b4d5.js +0 -272
  469. package/dist/cjs/post-icon-3934be0b.js +0 -104
  470. package/dist/cjs/post-icon.cjs.entry.js +0 -15
  471. package/dist/cjs/post-logo-c3603fc7.js +0 -39
  472. package/dist/cjs/post-logo.cjs.entry.js +0 -14
  473. package/dist/cjs/post-popover-15f9620a.js +0 -104
  474. package/dist/cjs/post-popovercontainer-7d536276.js +0 -2186
  475. package/dist/cjs/post-popovercontainer.cjs.entry.js +0 -11
  476. package/dist/cjs/post-tab-header-29b8d4e1.js +0 -32
  477. package/dist/cjs/post-tag-b7d0bbff.js +0 -47
  478. package/dist/collection/components/post-alert/alert-types.js +0 -1
  479. package/dist/collection/components/post-alert/post-alert.css +0 -7
  480. package/dist/components/post-alert.js +0 -6
  481. package/dist/components/post-alert2.js +0 -136
  482. package/dist/esm/check-non-empty-58bd6b17.js +0 -9
  483. package/dist/esm/check-one-of-6b3ef8eb.js +0 -6
  484. package/dist/esm/fade-7fd71785.js +0 -7
  485. package/dist/esm/index-f41b763f.js +0 -46
  486. package/dist/esm/package-3d758f77.js +0 -3
  487. package/dist/esm/post-accordion-item-6b5a65ad.js +0 -49
  488. package/dist/esm/post-alert-f19db551.js +0 -96
  489. package/dist/esm/post-alert.entry.js +0 -8
  490. package/dist/esm/post-card-control-1b5df6cb.js +0 -270
  491. package/dist/esm/post-icon-40929043.js +0 -102
  492. package/dist/esm/post-icon.entry.js +0 -7
  493. package/dist/esm/post-logo-c6351ba8.js +0 -37
  494. package/dist/esm/post-logo.entry.js +0 -6
  495. package/dist/esm/post-popover-58149de7.js +0 -102
  496. package/dist/esm/post-popovercontainer-8bde9fc3.js +0 -2184
  497. package/dist/esm/post-popovercontainer.entry.js +0 -3
  498. package/dist/esm/post-tab-header-ae8feb19.js +0 -30
  499. package/dist/esm/post-tag-887d5fbe.js +0 -45
  500. package/dist/post-components/p-0b71bf5a.js +0 -1
  501. package/dist/post-components/p-0e09dc41.js +0 -1
  502. package/dist/post-components/p-19e54be9.js +0 -1
  503. package/dist/post-components/p-1e8f0f36.js +0 -1
  504. package/dist/post-components/p-22257eff.entry.js +0 -1
  505. package/dist/post-components/p-249ac168.entry.js +0 -1
  506. package/dist/post-components/p-2737eaf5.js +0 -1
  507. package/dist/post-components/p-2b10e265.js +0 -1
  508. package/dist/post-components/p-3325086e.js +0 -1
  509. package/dist/post-components/p-3b823fee.entry.js +0 -1
  510. package/dist/post-components/p-45f4c803.entry.js +0 -1
  511. package/dist/post-components/p-47935dbb.js +0 -1
  512. package/dist/post-components/p-486fbbce.entry.js +0 -1
  513. package/dist/post-components/p-4a7fb0f3.entry.js +0 -1
  514. package/dist/post-components/p-5f231c2c.js +0 -1
  515. package/dist/post-components/p-611b3c41.js +0 -1
  516. package/dist/post-components/p-6a28f8b9.js +0 -1
  517. package/dist/post-components/p-6adeaa6c.js +0 -1
  518. package/dist/post-components/p-6ed3497a.entry.js +0 -1
  519. package/dist/post-components/p-820c5c19.entry.js +0 -1
  520. package/dist/post-components/p-8aeb549f.entry.js +0 -1
  521. package/dist/post-components/p-92aeec3c.js +0 -1
  522. package/dist/post-components/p-9a99cfc7.js +0 -1
  523. package/dist/post-components/p-aa8a08dc.entry.js +0 -1
  524. package/dist/post-components/p-b095519d.js +0 -1
  525. package/dist/post-components/p-b99fdec3.js +0 -1
  526. package/dist/post-components/p-ba40b28a.entry.js +0 -1
  527. package/dist/post-components/p-c62de925.js +0 -1
  528. package/dist/post-components/p-d2101b8a.entry.js +0 -1
  529. package/dist/post-components/p-d2f9de94.js +0 -2
  530. package/dist/post-components/p-d7a44f45.js +0 -1
  531. package/dist/post-components/p-db4b8ea1.entry.js +0 -1
  532. package/dist/post-components/p-deb4131c.js +0 -1
  533. package/dist/post-components/p-eedc6ae8.entry.js +0 -1
  534. package/dist/post-components/p-f217f420.js +0 -1
  535. package/dist/post-components/p-f707d163.entry.js +0 -1
  536. package/dist/types/components/post-alert/alert-types.d.ts +0 -2
  537. package/dist/types/components/post-alert/post-alert.d.ts +0 -54
  538. package/loaders/post-alert.js +0 -139
@@ -0,0 +1 @@
1
+ import{r as t,g as e,h as o,H as i,c as n}from"./p-ff95dcd3.js";import{v as a}from"./p-cb5e4a06.js";import{s,a as r}from"./p-4af6dbed.js";import{c as l,d as c,b as d}from"./p-e585c6fe.js";import{c as p}from"./p-181c73d5.js";import{c as h}from"./p-7709c14a.js";import{n as u}from"./p-5959f2bd.js";import{g as f}from"./p-fc91cbc2.js";const g=class{constructor(e){t(this,e)}get host(){return e(this)}render(){return o(i,{key:"c03f50379252ba13992bc3d021989ac07dba9f79","data-version":a},o("button",{key:"e97a86bb6e1eace89a1a3a78fb231047f065dd5e",class:"btn btn-icon-close",type:"button"},o("post-icon",{key:"aca522d4c251a8183c91c2bd4d810d0716a2fe13","aria-hidden":"true",name:"closex"}),o("span",{key:"6873522961b1683d1261163b07ee022f93eed836",class:"visually-hidden"},o("slot",{key:"bf4b13356c9a0164f1481d1fedc3a78a53e5f8e0"}))))}};function m(t,e,o){var i,n=o||{},a=n.noTrailing,s=void 0!==a&&a,r=n.noLeading,l=void 0!==r&&r,c=n.debounceMode,d=void 0===c?void 0:c,p=!1,h=0;function u(){i&&clearTimeout(i)}function f(){for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];var r=this,c=Date.now()-h;function f(){h=Date.now(),e.apply(r,n)}function g(){i=void 0}p||(l||!d||i||f(),u(),void 0===d&&c>t?l?(h=Date.now(),s||(i=setTimeout(d?g:f,t))):f():!0!==s&&(i=setTimeout(d?g:f,void 0===d?t-c:t)))}return f.cancel=function(t){var e=(t||{}).upcomingOnly,o=void 0!==e&&e;u(),p=!o},f}const b=`:where(${["button",'input:not([type="hidden"])',"[tabindex]","select","textarea","[contenteditable]","a[href]","iframe","audio[controls]","video[controls]","area[href]","details > summary:first-of-type"].join(",")})`,v=`:where(${["[inert]","[inert] *",":disabled","dialog:not([open]) *","[popover]:not(:popover-open) *","details:not([open]) > *:not(details > summary:first-of-type)","details:not([open]) > *:not(details > summary:first-of-type) *",'[tabindex^="-"]','[hidden]:not([hidden="false"])'].join(",")})`;function w(t){const e=t.querySelectorAll(`${b}:not(${v})`);return Array.from(e).filter((t=>{const e=window.getComputedStyle(t.parentElement);return"none"!==e.display&&"hidden"!==e.visibility}))}const x=class{constructor(e){t(this,e),this.postUpdateDevice=n(this,"postUpdateDevice",7),this.device=null,this.mobileMenuExtended=!1}firstFocusableEl;lastFocusableEl;scrollParent=null;mobileMenu;mobileMenuAnimation;throttledScroll=()=>this.handleScrollEvent();throttledResize=m(50,(()=>this.handleResize()));componentWillRender(){this.scrollParent=this.getScrollParent(this.host),this.scrollParent.addEventListener("scroll",this.throttledScroll,{passive:!0}),window.addEventListener("resize",this.throttledResize,{passive:!0}),this.handleResize(),this.handleScrollEvent(),this.getFocusableElements()}componentDidLoad(){this.updateLocalHeaderHeight()}disconnectedCallback(){this.mobileMenuExtended=!1,document.body.style.overflow="",this.host.removeEventListener("keydown",(t=>{this.keyboardHandler(t)}))}get host(){return e(this)}frozeBody(t){document.body.style.overflow=t?"hidden":"",t?this.host.addEventListener("keydown",(t=>{this.keyboardHandler(t)})):this.host.removeEventListener("keydown",(t=>{this.keyboardHandler(t)}))}postUpdateDevice;async toggleMobileMenu(){"desktop"!==this.device&&(this.mobileMenuAnimation=this.mobileMenuExtended?s(this.mobileMenu):r(this.mobileMenu),this.host.querySelector("post-togglebutton").toggled=!this.mobileMenuExtended,this.mobileMenuExtended&&await this.mobileMenuAnimation.finished,this.mobileMenuExtended=!this.mobileMenuExtended,this.mobileMenuExtended||await this.mobileMenuAnimation.finished)}getFocusableElements(){const t=[...Array.from(this.host.querySelectorAll('.list-inline:not([slot="meta-navigation"]) > li')),...Array.from(this.host.querySelectorAll("nav > post-list > div > post-list-item, post-mainnavigation > .back-button, post-megadropdown-trigger")),...Array.from(this.host.querySelectorAll('.list-inline[slot="meta-navigation"] > li, post-language-option'))],e=[this.host.querySelector("post-togglebutton"),...t.flatMap((t=>Array.from(w(t))))];this.firstFocusableEl=e[0],this.lastFocusableEl=e[e.length-1]}keyboardHandler(t){"Tab"===t.key&&this.mobileMenuExtended&&(t.shiftKey&&document.activeElement===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||document.activeElement!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus()))}handleScrollEvent(){const t=Math.max(0,this.scrollParent instanceof Document?this.scrollParent.documentElement.scrollTop:this.scrollParent.scrollTop);this.host.style.setProperty("--header-scroll-top",`${t}px`)}getScrollParent(t){let e=t.parentElement;for(;e;){if("BODY"===e.nodeName)return document;if(this.isScrollable(e))return e;e=e.parentElement}return document}isScrollable(t){if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((t=>{const o=e.getPropertyValue(t);return"auto"===o||"scroll"===o}))}updateLocalHeaderHeight(){requestAnimationFrame((()=>{const t=this.host.shadowRoot.querySelector(".local-header")?.clientHeight||0;this.host.style.setProperty("--local-header-height",`${t}px`)}))}handleResize(){const t=this.device;let e;const o=window?.innerWidth;e=o>=1024?"desktop":o>=600?"tablet":"mobile","desktop"===e&&this.mobileMenuExtended&&(this.toggleMobileMenu(),this.mobileMenuAnimation.finish()),this.updateLocalHeaderHeight(),e!==t&&(this.device=e,this.postUpdateDevice.emit(this.device),window.requestAnimationFrame((()=>{this.switchLanguageSwitchMode()})))}switchLanguageSwitchMode(){const t="desktop"===this.device?"menu":"list";Array.from(this.host.querySelectorAll("post-language-switch")).forEach((e=>{e?.setAttribute("variant",t)}))}renderNavigation(){const t=["navigation"];return this.mobileMenuExtended&&t.push("extended"),o("div",{ref:t=>this.mobileMenu=t,class:t.join(" ")},o("slot",{name:"post-mainnavigation"}),("mobile"===this.device||"tablet"===this.device)&&o("div",{class:"navigation-footer"},o("slot",{name:"meta-navigation"}),o("slot",{name:"post-language-switch"})))}render(){return o(i,{key:"45452d2c2f6ac9a067ce71330ea898a797040cca",version:a},o("div",{key:"c50478141de45d0a718b18c0edc416eb9c832fde",class:"global-header"},o("div",{key:"a2ddc2de9a94fb3b16928fe9c1ac3b3ae61ff9bf",class:"global-sub"},o("div",{key:"30083683ff7683202118471473f2a0ed98a1c920",class:"logo"},o("slot",{key:"028bd4a8f03a228378b09a80dce8654d52c30e5c",name:"post-logo"}))),o("div",{key:"853bcf2e6c8a95d88f62795cef8d8e58c8996811",class:"global-sub"},"desktop"===this.device&&o("slot",{key:"40e3027a4e4358b7a614558ed7e1f59fa65ed312",name:"meta-navigation"}),o("slot",{key:"31c141cc45aa12441557d9b817630328df3d3778",name:"global-controls"}),"desktop"===this.device&&o("slot",{key:"afe4b2c3123a89c1a4390578c22e89dfff7be655",name:"post-language-switch"}),o("div",{key:"aea74d0c7f25288afa18b5aeb3e557216d695ec3",onClick:()=>this.toggleMobileMenu(),class:"mobile-toggle"},o("slot",{key:"1efed8b7c823ef49b89120ed2e23f151c64b9c0e",name:"post-togglebutton"})))),o("div",{key:"e09df2136d01c0516d0166f505055615cf1d70d3",class:"local-header "+(this.mobileMenuExtended?"local-header-mobile-extended":"")},o("slot",{key:"491f9bbcb2743519f544b24ae6f00405be85e589",name:"title"}),o("div",{key:"e85c0a76597832a6966e989111b4508579fb9c4d",class:"local-sub"},o("slot",{key:"f2d504ea6a3d7592a15551e6be8cb0c1ba220fbc",name:"local-controls"}),o("slot",{key:"e0dd0f9c12e0c6bf5d5d66cb29139af59f7c0b4d"})),"desktop"===this.device&&this.renderNavigation()),"desktop"!==this.device&&this.renderNavigation())}static get watchers(){return{mobileMenuExtended:["frozeBody"]}}};x.style='*,::before,::after{box-sizing:border-box}:host{z-index:1020;position:relative}:host(:not(:has([slot=title]))) .local-header{padding-block-start:0}:host(:not(:has([slot=title]))) .local-sub{display:none}.d-flex{display:flex}.space-between{justify-content:space-between}.global-header{background-color:#fc0;display:flex;justify-content:space-between;position:sticky;padding-inline:4px;height:var(--global-header-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:3;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:12px;inset-block-start:calc((var(--global-header-height) - var(--global-header-reduced-height))*-1)}}.global-sub{display:flex;align-items:center;gap:24px}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--global-header-height);width:var(--global-header-height);min-height:var(--global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{height:calc(var(--global-header-height) - var(--header-scroll-top))}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-left:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-height:var(--local-header-min-height);background:#fff;transition:box-shadow .2s ease-in-out;border-block-end:1px solid #e1e0dc}@media screen and (min-width: 1024px){.local-header{z-index:3;inset-block-start:calc(-1*(var(--local-header-height) - var(--main-navigation-height)) + var(--global-header-reduced-height));padding-block-start:18px;box-shadow:var(--post-device-elevation-300)}}@media screen and (max-width: 1023.98px){.local-header{z-index:2;inset-block-start:var(--global-header-height);padding-block:12px;flex-wrap:wrap;gap:16px}.local-header.local-header-mobile-extended{border-bottom:1px solid #e1e0dc}.local-header:not(.local-header-mobile-extended){box-shadow:var(--post-device-elevation-300)}}.local-sub{margin-inline-end:16px}::slotted(.list-inline){margin:0 !important;z-index:3 !important;position:relative !important}::slotted(h1){margin:0 !important;flex-shrink:10;z-index:3}@media screen and (min-width: 600px){::slotted(h1){margin-inline-start:12px !important}}@media screen and (max-width: 599.98px){::slotted(h1){margin-inline-start:8px !important}}@media screen and (min-width: 1024px){::slotted(h1){font-size:28px !important}}@media screen and (max-width: 1023.98px){::slotted(h1){font-size:20px !important;max-width:calc(100vw - 8px - 16px)}}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{inset-block-start:var(--global-header-reduced-height)}.navigation::before{display:block;content:"";position:absolute;inset:0;z-index:2;background:#fff}}@media screen and (max-width: 1023.98px){.navigation{position:fixed;z-index:1;inset-inline:0;background:#fff;inset-block-end:calc(100dvh - var(--header-height))}::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column;padding-block:16px 24px;padding-inline:32px}.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}.navigation.extended{height:calc(100dvh - var(--header-height));display:flex;flex-direction:column}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}::slotted(post-mainnavigation){background-color:#fafafa;gap:32px}.navigation-footer{background-color:#f0efed;gap:24px}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:16px}}';const y=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],k=class{constructor(e){t(this,e),this.animation=null,this.base=null,this.flipH=!1,this.flipV=!1,this.name=void 0,this.rotate=null,this.scale=null}isSSR="undefined"==typeof window;get host(){return e(this)}validateAnimation(t=this.animation){void 0!==t&&l(this,"animation",y)}validateBase(){c(this,"base","string")}validateFlipH(){c(this,"flipH","boolean")}validateFlipV(){c(this,"flipV","boolean")}validateName(){p(this,"name"),h(this,"name","string")}validateRotate(){c(this,"rotate","number")}validateScale(){c(this,"scale","number")}getUrl(){let t;const e=`${this.name}.svg`,o=[this.getUrlDefinition(this.base,"both")];this.isSSR||(o.push(this.getUrlDefinition(document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]')?.getAttribute("data-post-icon-base"),"relative")),o.push(this.getUrlDefinition(document.querySelector("base[href]")?.getAttribute("href"),"both")));const i=o.find((t=>t.definesDomain))?.url?.origin,n=o.find((t=>t.definesSlug))?.url?.pathname;return t=i&&n?`${i}${n}${e}`:!i&&n?`${n}${e}`:`https://unpkg.com/@swisspost/design-system-icons/public/post-icons/${e}`,t}getUrlDefinition(t,e){return{url:this.getUrlObject(t),definesDomain:"relative"!==e&&this.definesDomain(t),definesSlug:"absolute"!==e&&this.definesSlug(t)}}getUrlObject(t){return t?(t=t?.endsWith("/")?t:`${t}/`,new URL(t,"https://url.base")):null}definesDomain(t){return!!t&&/^https?:\/\//.test(t)}definesSlug(t){return Boolean(/^\/.+/.test(this.getUrlObject(t)?.pathname))}getStyles(){const t=this.getUrl();return Object.entries({"-webkit-mask-image":`url(${t})`,"mask-image":`url('${t}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([t,e])=>null!==e)).reduce(((t,[e,o])=>Object.assign(t,{[e]:o})),{})}componentDidLoad(){this.validateBase(),this.validateName(),this.validateFlipH(),this.validateFlipV(),this.validateScale(),this.validateRotate(),this.validateAnimation()}render(){return o(i,{key:"c80aaf693f730902c4ae57ca78360eee5dedf624","data-version":a},o("span",{key:"7e01e1cf7e4fec380e8f054d3cc8fa5404c7a829",style:this.getStyles()}))}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};k.style=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";const T=class{constructor(e){t(this,e),this.postChange=n(this,"postChange",7),this.code=void 0,this.active=void 0,this.variant=void 0,this.name=void 0,this.url=void 0}get host(){return e(this)}validateCode(){h(this,"code","string")}validateActiveProp(){c(this,"active","boolean")}validateName(){c(this,"name","string")}validateUrl(){c(this,"url","string")}componentDidLoad(){if(this.validateCode(),this.validateActiveProp(),this.validateName(),this.validateUrl(),!this.name&&this.isNameRequired())throw new Error('The "name" property of the post-language-option component is required when the full language name is not displayed.')}postChange;async select(){this.active=!0,this.emitChange()}emitChange(){this.postChange.emit(this.code)}isNameRequired(){return this.host.textContent.toLowerCase()===this.code.toLowerCase()}render(){const t=this.code.toLowerCase(),e=t=>{"Enter"!==t.key&&" "!==t.key||this.emitChange()};return o(i,{key:"f987cfc18bb86866781e0668516e86f89be6241b","data-version":a,role:this.variant?`${this.variant}item`:null},this.url?o("a",{"aria-current":this.active?"page":void 0,"aria-label":this.name,href:this.url,hrefLang:t,lang:t,onClick:()=>this.emitChange(),onKeyDown:e},o("slot",null)):o("button",{"aria-current":this.active?"true":void 0,"aria-label":this.name,lang:t,onClick:()=>this.emitChange(),onKeyDown:e},o("slot",null)))}static get watchers(){return{code:["validateCode"],active:["validateActiveProp"],name:["validateName"],url:["validateUrl"]}}};T.style="/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-language-option{display:inline-block}post-language-option button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option button{background-color:ButtonFace !important}post-language-option button:hover{background-color:Highlight !important}}post-language-option a{color:inherit;text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:2px;text-transform:uppercase}post-language-option :is(a,button){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-language-option:where([variant=list]) :is(a,button){padding-inline:0;width:40px;height:40px;border-radius:2px}post-language-option:where([variant=list]) :is(a,button):hover{color:#504f4b}post-language-option:where([variant=list]):not([active=false]) :is(a,button){background-color:#050400 !important;color:#fff;pointer-events:none}post-language-option:where([variant=list]):not([active=false]) :hover{color:#fff}post-language-option:where([variant=menu]){width:100%}post-language-option:where([variant=menu]):not([active=false]){display:none}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:24px;box-sizing:border-box;position:relative;width:100%}post-language-option:where([variant=menu]) :is(a,button):hover{color:#fff;background-color:#504f4b}";const E=["list","menu"],S=class{constructor(e){t(this,e),this.caption=void 0,this.description=void 0,this.variant="list",this.activeLang=void 0}get host(){return e(this)}validateCaption(){h(this,"caption","string")}validateDescription(){h(this,"description","string")}validateVariant(){l(this,"variant",E)}connectedCallback(){this.updateChildrenVariant();const t=this.host.querySelector('post-language-option[active]:not([active="false"])');t&&(this.activeLang=t.getAttribute("code"))}updateChildrenVariant(){this.host.querySelectorAll("post-language-option").forEach((t=>{t.setAttribute("variant",this.variant)}))}componentWillUpdate(){this.updateChildrenVariant()}componentDidLoad(){this.validateCaption(),this.validateDescription(),this.validateVariant(),this.host.addEventListener("postChange",(t=>{if(this.activeLang=t.detail,this.host.querySelectorAll("post-language-option").forEach((t=>{t.setAttribute("active",t.code&&t.code===this.activeLang?"true":"false")})),"menu"===this.variant){const t=this.host.shadowRoot.querySelector("post-menu");t.toggle(t)}}))}menuId=`p${u(11)}`;renderList(){return o(i,{"data-version":a,role:"list","aria-label":this.caption},o("div",{class:"post-language-switch-list",role:"group","aria-label":this.description},o("slot",null)))}renderDropdown(){return o(i,{"data-version":a},o("post-menu-trigger",{for:this.menuId},o("button",{class:"post-language-switch-trigger","aria-label":this.description},this.activeLang,o("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),o("post-menu",{id:this.menuId,class:"post-language-switch-dropdown-container","aria-label":this.caption},o("slot",null)))}render(){return"list"===this.variant?this.renderList():this.renderDropdown()}static get watchers(){return{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}}};S.style=":host{display:flex !important;flex-wrap:wrap;gap:.5rem}.post-language-switch-dropdown-container{display:flex;flex-direction:column}.post-language-switch-dropdown-container>*{width:100%}.post-language-switch-trigger{cursor:pointer;text-transform:uppercase;padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;text-decoration:none;display:inline-flex;align-items:center;gap:6px;border-radius:24px;font-size:16px;padding:3px 10px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger{background-color:ButtonFace !important}.post-language-switch-trigger:hover{background-color:Highlight !important}}.post-language-switch-trigger{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-language-switch-trigger:not(:disabled):hover,.post-language-switch-trigger.pretend-hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}.post-language-switch-trigger post-icon{height:16px;width:16px}.post-language-switch-trigger[aria-expanded=true]{background-color:#050400;color:#fff}.post-language-switch-trigger[aria-expanded=true] post-icon{transform:rotate(180deg)}.post-language-switch-trigger[aria-expanded=true]:hover{background-color:#504f4b;color:#fff}";const A=class{constructor(e){t(this,e),this.titleId=void 0,this.titleHidden=!1,this.horizontal=!1}get host(){return e(this)}titleEl;componentWillLoad(){this.titleId=`title-${this.host.id||u(6)}`}componentDidLoad(){this.checkTitle()}checkTitle(){this.titleEl.textContent.trim()||console.error("Please provide a title to the list component. Title is mandatory for accessibility purposes.")}render(){return o(i,{key:"085a63d7b4cc85461f2c8fd0c7b9d9f48f42055a","data-version":a},o("div",{key:"d13a66ba16b71eff1a86666b04ca2f41957962e1",ref:t=>this.titleEl=t,id:this.titleId,class:"list-title"+(this.titleHidden?" visually-hidden":"")},o("slot",{key:"0270bcd71c8a3a34390b98b6374a1a2f06e0d606"})),o("div",{key:"de04b08bf94900435c53f972c8fcd0798c8a5faf",role:"list","aria-labelledby":this.titleId},o("slot",{key:"f7aa9976b3283ee4da3d32d84b36e2549c29e80f",name:"post-list-item"})))}};A.style="/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-list{display:flex;flex-direction:column;gap:var(--post-list-title-gap, 0)}post-list>[role=list]{display:flex;flex-direction:column;gap:var(--post-list-item-gap, 0)}post-list:where([horizontal]:not([horizontal=false])){flex-direction:row;align-items:center}post-list:where([horizontal]:not([horizontal=false]))>[role=list]{flex-direction:row;align-items:center}post-list>.list-title.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}post-list>.list-title.visually-hidden:not(caption){position:absolute !important}";const C=class{constructor(e){t(this,e)}get host(){return e(this)}connectedCallback(){this.host.setAttribute("slot","post-list-item")}render(){return o(i,{key:"8e209e77859bd05d62cae41aec9dec6fb2e820cb",role:"listitem",slot:"post-list-item"},o("slot",{key:"ce79a335e80401465b74208957e22983d6df4ce0"}))}};C.style=":host{display:flex}";const z=class{constructor(e){t(this,e),this.url=void 0}get host(){return e(this)}validateUrl(){d(this,"url")}componentDidLoad(){this.validateUrl(),this.checkDescription()}checkDescription(){this.host.textContent||console.warn("Be sure to add descriptive text in the post-logo to ensure good accessibility of the component.")}render(){const t=this.url&&("string"==typeof this.url?this.url:this.url.href);return o(i,{key:"128604612a51624b537f30b0b9c91d9ea6b950be","data-version":a},o(t?"a":"span",{key:"885f057200f9da839fd38cb7070f319f6c89793e",class:"logo "+(t?"logo-link":""),...t?{href:t}:{}},o("span",{key:"bee12585bf74fe5c2ce8a644c540c86626295526",class:"description"},o("slot",{key:"e516075c5138cef9378d3dc7137eb6c28d02b279",onSlotchange:()=>this.checkDescription()})),o("svg",{key:"c0056463b93f7c0e5da07db4656d9c8dc9161c32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},o("g",{key:"1dfc33886c9b1fb6cd3b08f448a89c11a6080598",id:"Logo"},o("rect",{key:"dd84426568259714379a92a3f56349c6b3220a61",fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),o("polygon",{key:"56fa6445c184a41355a968365098b75387a16f48",fill:"#ff0000",points:"34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3"}),o("path",{key:"f2abb1db77a2e795f477662453d7296a28882756",d:"M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z"})))))}static get watchers(){return{url:["validateUrl"]}}};z.style=":host,.logo{display:inline-block}:host,:host .logo>svg,.logo,.logo .logo>svg{height:100%}.description{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.logo-link{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.logo-link:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.logo-link:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.logo-link:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.logo-link:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.logo-link :focus,:focus-visible{border-radius:2px}";const D="post-list-item :is(a, button):not(post-megadropdown *)",M=class{constructor(e){t(this,e),this.canScrollLeft=!1,this.canScrollRight=!1,this.translationAmount=0}header;navbar;rightScrollButton;leftScrollButton;scrollRepeatInterval;navbarDisableTimer;mutationObserver=new MutationObserver((async t=>{await Promise.all(t.flatMap((t=>Array.from(t.addedNodes))).map((t=>t.componentOnReady?t.componentOnReady():Promise.resolve(t)))),this.checkScrollability()}));get host(){return e(this)}onTranslateAmountChanges(t){this.navbar.style.marginInlineStart=`-${t}px`,this.checkScrollability()}connectedCallback(){this.header=this.host.closest("post-header")}disconnectedCallback(){this.header=null,this.mutationObserver.disconnect()}componentDidLoad(){setTimeout((()=>this.checkScrollability())),this.mutationObserver.observe(this.navigationList,{subtree:!0,childList:!0}),this.fixLayoutShift(),window.addEventListener("resize",m(100,(()=>this.checkScrollability()))),this.navbar.addEventListener("focusin",(t=>this.adjustTranslation(t)))}fixLayoutShift(){this.host.querySelectorAll("nav > post-list > div > post-list-item > a, nav > post-list > div > post-list-item > post-megadropdown-trigger > button").forEach((t=>t.innerHTML=`<span class="nav-el-active">${t.innerHTML}</span><span class="nav-el-inactive"aria-hidden="true">${t.innerHTML}</span>`))}handleBackButtonClick(){this.header&&this.header.toggleMobileMenu()}adjustTranslation(t){const e=t.target;this.canScroll&&e.matches(D)&&(t.preventDefault(),this.withoutTransition((()=>{this.translateRightTo(e),this.translateLeftTo(e),e.focus()})))}checkScrollability(){const{scrollWidth:t,clientWidth:e}=this.navbar,o=this.canScroll;t===e?this.canScrollLeft=this.canScrollRight=!1:(this.canScrollLeft=this.translationAmount>0,this.canScrollRight=e+this.translationAmount<t),o&&!this.canScroll&&this.withoutTransition((()=>this.translationAmount=0))}get canScroll(){return this.canScrollLeft||this.canScrollRight}handleScrollButtonClick(t){this.canScroll&&(this.disableNavbar(),this.scroll(t),this.scrollRepeatInterval=setInterval((()=>{this.scroll(t)}),100))}stopScrolling(){this.scrollRepeatInterval&&clearInterval(this.scrollRepeatInterval)}scroll(t){const e=Array.from(this.navigationItems);"left"===t&&e.reverse();for(const o of e)if("left"===t?this.translateLeftTo(o,!0):this.translateRightTo(o,!0))break}translateRightTo(t,e=!1){const o=t.closest("post-list-item"),i=o.offsetLeft+o.offsetWidth,n=this.host.clientWidth-this.rightScrollButton.clientWidth;if(i<n)return!1;const a=i-n+1;if(e&&a<o.clientWidth/2)return!1;const s=this.navbar.scrollWidth-this.host.clientWidth,{marginRight:r}=getComputedStyle(this.navigationList);return this.translationAmount=Math.min(this.translationAmount+a,s)+parseInt(r),!0}translateLeftTo(t,e=!1){const o=t.closest("post-list-item"),i=o.offsetLeft,n=this.leftScrollButton.clientWidth;if(i>n)return!1;const a=n-i+1;if(e&&a<o.clientWidth/2)return!1;const{marginLeft:s}=getComputedStyle(this.navigationList);return this.translationAmount=Math.max(this.translationAmount-a-parseInt(s),0),!0}get navigationList(){return this.navbar.querySelector('post-list > [role="list"]:not(post-megadropdown *)')}get navigationItems(){return this.navbar.querySelectorAll(D)}disableNavbar(){this.navbarDisableTimer&&clearTimeout(this.navbarDisableTimer),this.navbar.style.pointerEvents="none",this.navbarDisableTimer=setTimeout((()=>{this.navbar.style.pointerEvents="initial"}),400)}withoutTransition(t){const e=this.navbar.style.transition;this.navbar.style.transition="none",t(),setTimeout((()=>{this.navbar.style.transition=e}))}render(){return o(i,{key:"d9be56167f714c041eb05283832986ec38c451cd",slot:"post-mainnavigation"},o("div",{key:"5852c66b93a6eb9697fd7c7b1379e748804c6917",onClick:()=>this.handleBackButtonClick(),class:"back-button"},o("slot",{key:"0d4d98897fb5a8f8cf1c0871037ac01023c41cc2",name:"back-button"})),o("nav",{key:"c60635b5db5a54b9e7661b92eeec29ed6d453cfe",ref:t=>this.navbar=t},o("slot",{key:"d83facd6cb8c2a892ad432e42357123660c647ed"})),o("div",{key:"e9afc48596b3e877d9efb9a4189abb8c84aadb6d",class:"left-scroll-button"+(this.canScrollLeft?"":" d-none"),"aria-hidden":"true"},o("button",{key:"ef11720ec4f6d7811eb10027871a336e46ba6b84",type:"button",tabindex:"-1",ref:t=>this.leftScrollButton=t,onMouseDown:()=>this.handleScrollButtonClick("left")},o("post-icon",{key:"f85ff2ef87841409f4b4f6c33e6d0dca4c764cc6","aria-hidden":"true",name:"chevronleft"}))),o("div",{key:"181dc100ddedcba3f07b5f0ff9aedf165499f74f",class:"right-scroll-button"+(this.canScrollRight?"":" d-none"),"aria-hidden":"true"},o("button",{key:"83a8a824fcfe499207f6030e11381e68d530c67d",type:"button",tabindex:"-1",ref:t=>this.rightScrollButton=t,onMouseDown:()=>this.handleScrollButtonClick("right")},o("post-icon",{key:"52caec8a9a8c15e97ea5702ec3fe30bd4777c728","aria-hidden":"true",name:"chevronright"}))))}static get watchers(){return{translationAmount:["onTranslateAmountChanges"]}}};M.style='post-mainnavigation post-list-item>a{text-decoration:none;border-radius:0}post-mainnavigation post-list-item post-megadropdown-trigger button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;text-align:start}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation post-list-item post-megadropdown-trigger button{background-color:ButtonFace !important}post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:Highlight !important}}post-mainnavigation post-list-item post-megadropdown-trigger button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-mainnavigation post-list-item post-megadropdown-trigger button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation post-list-item post-megadropdown-trigger button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-mainnavigation post-list-item post-megadropdown-trigger button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation post-list-item post-megadropdown-trigger button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-mainnavigation post-list-item>a,post-mainnavigation post-list-item post-megadropdown-trigger button{flex:0 0 fit-content;white-space:nowrap;display:flex;align-items:center;justify-content:space-between}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}post-mainnavigation post-list-item>a:focus-visible,post-mainnavigation post-list-item post-megadropdown-trigger button:focus-visible{border-radius:4px}post-mainnavigation .back-button post-icon{transform:rotate(180deg)}@media screen and (max-width: 1023.98px){post-mainnavigation .back-button{font-size:16px}}@media screen and (max-width: 599.98px){post-mainnavigation .back-button{font-size:14px}}post-mainnavigation>button::after,post-mainnavigation post-megadropdown-trigger button::after{content:"";mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m23.6 13.2-7.5 7.6-7.6-7.6.9-.9 6.6 6.6 6.6-6.6z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;height:24px;width:24px}@media screen and (min-width: 1024px){post-mainnavigation{display:block}post-mainnavigation nav{max-width:100vw;background:#fff;max-height:var(--main-navigation-height);user-select:none;transition:margin 250ms cubic-bezier(0.4, 0, 0.2, 1)}post-mainnavigation .left-scroll-button,post-mainnavigation .right-scroll-button{z-index:4;position:absolute;inset-block-end:0;overflow:hidden}post-mainnavigation .left-scroll-button button,post-mainnavigation .right-scroll-button button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;background:#fff;padding:16px;box-shadow:var(--post-device-elevation-500);line-height:100%;height:var(--main-navigation-height)}}@media screen and (min-width: 1024px)and (forced-colors: active),screen and (min-width: 1024px)and (-ms-high-contrast: active),screen and (min-width: 1024px)and (-ms-high-contrast: white-on-black){post-mainnavigation .left-scroll-button button,post-mainnavigation .right-scroll-button button{background-color:ButtonFace !important}post-mainnavigation .left-scroll-button button:hover,post-mainnavigation .right-scroll-button button:hover{background-color:Highlight !important}}@media screen and (min-width: 1024px){post-mainnavigation .left-scroll-button button post-icon,post-mainnavigation .right-scroll-button button post-icon{font-size:1rem}}@media screen and (min-width: 1024px){post-mainnavigation .left-scroll-button{inset-inline-start:0;padding-inline-end:2rem}}@media screen and (min-width: 1024px){post-mainnavigation .right-scroll-button{inset-inline-end:0;padding-inline-start:2rem}}@media screen and (min-width: 1024px){post-mainnavigation post-list>[role=list]{flex-direction:row;max-width:100vw}}@media screen and (min-width: 1024px){post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{position:sticky;padding-inline:12px;height:var(--main-navigation-height);gap:4px;font-size:16px;z-index:4}post-mainnavigation post-list-item>a .nav-el-active,post-mainnavigation post-list-item>button .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-active{font-weight:700;text-align:center;opacity:0}post-mainnavigation post-list-item>a .nav-el-inactive,post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{position:absolute;opacity:1;text-align:center;width:100%;left:0}post-mainnavigation post-list-item>a.selected,post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.selected,post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.selected,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]{background-color:#050400;color:#fff;font-weight:700}post-mainnavigation post-list-item>a.selected .nav-el-active,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item>button.selected .nav-el-active,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button.selected .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true] .nav-el-active{opacity:1}post-mainnavigation post-list-item>a.selected .nav-el-inactive,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item>button.selected .nav-el-inactive,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button.selected .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true] .nav-el-inactive{opacity:0}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item>button:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:#504f4b;color:#fff}}@media screen and (min-width: 1024px)and (max-width: 599.98px){post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{font-size:14px}}@media screen and (min-width: 1024px){post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{padding-inline-end:12px;transition:border-block-end-color 250ms cubic-bezier(0.4, 0, 0.2, 1)}post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{width:calc(100% - 28px)}post-mainnavigation post-list-item>button::after,post-mainnavigation post-list-item post-megadropdown-trigger button::after{transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}post-mainnavigation post-list-item>button.selected::after,post-mainnavigation post-list-item>button[aria-expanded=true]::after,post-mainnavigation post-list-item post-megadropdown-trigger button.selected::after,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]::after{transform:rotate(180deg)}}@media screen and (min-width: 1024px){post-mainnavigation post-megadropdown button:not(.btn-icon-close),post-mainnavigation post-megadropdown a{width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative}post-mainnavigation post-megadropdown button:not(.btn-icon-close)::before,post-mainnavigation post-megadropdown a::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}post-mainnavigation post-megadropdown button:not(.btn-icon-close).selected,post-mainnavigation post-megadropdown button:not(.btn-icon-close)[aria-expanded=true],post-mainnavigation post-megadropdown a.selected,post-mainnavigation post-megadropdown a[aria-expanded=true]{background-color:#050400;color:#fff}post-mainnavigation post-megadropdown button:not(.btn-icon-close):hover,post-mainnavigation post-megadropdown a:hover{background-color:#504f4b;color:#fff}post-mainnavigation post-megadropdown button:not(.btn-icon-close):hover::before,post-mainnavigation post-megadropdown a:hover::before{background-color:#504f4b}}@media screen and (min-width: 1024px){post-mainnavigation [slot=back-button]{display:none}}@media screen and (max-width: 1023.98px){post-mainnavigation nav{transform:none !important}post-mainnavigation .left-scroll-button,post-mainnavigation .right-scroll-button{display:none}post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative}post-mainnavigation post-list-item>a::before,post-mainnavigation post-list-item>button::before,post-mainnavigation post-list-item post-megadropdown-trigger button::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}post-mainnavigation post-list-item>a.selected,post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.selected,post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.selected,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true]{background-color:#050400;color:#fff}post-mainnavigation post-list-item>a:hover,post-mainnavigation post-list-item>button:hover,post-mainnavigation post-list-item post-megadropdown-trigger button:hover{background-color:#504f4b;color:#fff}post-mainnavigation post-list-item>a:hover::before,post-mainnavigation post-list-item>button:hover::before,post-mainnavigation post-list-item post-megadropdown-trigger button:hover::before{background-color:#504f4b}post-mainnavigation post-list-item>a .nav-el-inactive,post-mainnavigation post-list-item>button .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button .nav-el-inactive{display:none}post-mainnavigation>button::after,post-mainnavigation post-megadropdown-trigger button::after{transform:rotate(-90deg)}}post-mainnavigation .back-button .btn{padding-inline:0}';const L=class{constructor(e){t(this,e),this.postToggleMegadropdown=n(this,"postToggleMegadropdown",7),this.device=void 0,this.isVisible=!1,this.animationClass=null}header;firstFocusableEl;lastFocusableEl;get host(){return e(this)}static activeDropdown=null;postToggleMegadropdown;disconnectedCallback(){this.removeListeners(),L.activeDropdown===this&&(L.activeDropdown=null)}componentWillRender(){this.getFocusableElements()}async toggle(){this.isVisible?this.hide():await this.show()}async show(){L.activeDropdown&&L.activeDropdown!==this?L.activeDropdown.forceClose():this.animationClass="slide-in",this.isVisible=!0,L.activeDropdown=this,this.postToggleMegadropdown.emit({isVisible:this.isVisible}),this.firstFocusableEl&&"none"!==window.getComputedStyle(this.firstFocusableEl).display&&this.firstFocusableEl.focus(),this.addListeners()}async hide(t=!0){this.postToggleMegadropdown.emit({isVisible:!1,focusParent:t}),this.animationClass="slide-out"}async focusFirst(){this.firstFocusableEl?.focus()}connectedCallback(){this.header=this.host.closest("post-header"),this.header&&this.header.addEventListener("postUpdateDevice",(t=>{this.device=t.detail}))}forceClose(){this.isVisible=!1,this.animationClass=null,this.postToggleMegadropdown.emit({isVisible:this.isVisible,focusParent:!1}),this.removeListeners()}handleAnimationEnd(){"slide-out"===this.animationClass&&(this.isVisible=!1,this.animationClass=null,L.activeDropdown=null,this.removeListeners())}handleClickOutside=t=>{const e=t.target;if(!this.host.contains(e)){if(e instanceof HTMLElement){const t=e.closest("post-megadropdown-trigger");if(t&&t.getAttribute("for")!==this.host.id)return}this.hide(!1)}};addListeners(){this.host.addEventListener("keydown",(t=>this.keyboardHandler(t))),document.addEventListener("keyup",(t=>this.handleTabOutside(t))),document.addEventListener("mousedown",this.handleClickOutside)}removeListeners(){this.host.removeEventListener("keydown",(t=>this.keyboardHandler(t))),document.removeEventListener("keyup",(t=>this.handleTabOutside(t))),document.removeEventListener("mousedown",this.handleClickOutside)}getFocusableElements(){const t=Array.from(this.host.querySelectorAll("post-list-item, h3, .back-button")).flatMap((t=>Array.from(w(t))));this.firstFocusableEl=t[0],this.lastFocusableEl=t[t.length-1]}keyboardHandler(t){"Tab"===t.key&&"desktop"!==this.device&&(t.shiftKey&&document.activeElement===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||document.activeElement!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus()))}handleTabOutside(t){"Tab"===t.key&&"desktop"===this.device&&(this.host.contains(t.target)||this.hide(!1))}render(){return o(i,{key:"1475e9ff941f5333d5cfe4f00157f8b2fc826b5e"},o("div",{key:"f3da1ec8abc7d00be7020821be69ea3af16f3ad2",class:`megadropdown-container ${this.animationClass||""}`,style:this.isVisible?{}:{display:"none"},onAnimationEnd:()=>this.handleAnimationEnd()},o("div",{key:"f02279d454c7413080ce52711fe0cb923950d066",class:"megadropdown"},o("slot",{key:"87da859d1a8408c3a49ea1ab050ea5f27de45ec2",name:"megadropdown-title"}),o("div",{key:"c389959cf97c2ea69dd7b3f6945071e0c1793458",class:"megadropdown-content"},o("slot",{key:"1a1241624a5b5421de0e4a3a54ddba3eb1e0834f"})),o("div",{key:"f8fad723719e1505730f679dfff6428f3a5f1340",onClick:()=>this.hide(!0),class:"back-button"},o("slot",{key:"6ca62ac352810b6d3642ee69433de4aac4089117",name:"back-button"})),o("div",{key:"16200fc7dee7d5535399e0450e39a816f04dffd6",onClick:()=>this.hide(!0),class:"close-button"},o("slot",{key:"e9478713c07f69011f397af3e3ffa6a3b8b7fb6a",name:"close-button"})))))}};L.style='@keyframes slide-in{0%{transform:translateX(100%)}100%{transform:translateX(0%)}}@keyframes slide-out{from{transform:translateX(0%)}to{transform:translateX(100%)}}@keyframes slide-down{from{transform:translateY(-100%)}to{transform:translateY(0%)}}@keyframes slide-up{0%{transform:translateY(0%)}100%{transform:translateY(-100%)}}*,::before,::after{box-sizing:border-box}.megadropdown-container{box-shadow:0 8px 6px rgba(0,0,0,.16);position:absolute;background-color:#fafafa;border:none;z-index:1;border-top:1px solid #e1e0dc;width:100%;top:100%;left:0;border-radius:0}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.megadropdown-container{border-block-end:1px solid CanvasText}}.megadropdown-container.slide-in{animation:slide-down 350ms forwards}.megadropdown-container.slide-out{animation:slide-up 350ms forwards}@media screen and (max-width: 1023.98px){.megadropdown-container{z-index:4;top:0 !important;left:0;width:100%;position:fixed;height:calc(100dvh - var(--header-height));max-height:calc(100dvh - var(--header-height));border-top:unset;overflow:auto}.megadropdown-container.slide-in{animation:slide-in 350ms forwards}.megadropdown-container.slide-out{animation:slide-out 350ms forwards}}.megadropdown{padding:31px 40px 40px;background-color:#fafafa}@media screen and (max-width: 1023.98px){.megadropdown{display:flex;flex-direction:column;width:inherit;padding:16px 32px 24px}}@media screen and (max-width: 599.98px){.megadropdown{padding-inline:16px}}.megadropdown .megadropdown-content{gap:1.5rem;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(15vw, 100%), 1fr));grid-auto-rows:1fr auto;grid-auto-flow:dense}@media screen and (max-width: 1023.98px){.megadropdown .megadropdown-content{grid-template-columns:repeat(auto-fit, minmax(min(35vw, 100%), 1fr))}}@media screen and (max-width: 599.98px){.megadropdown .megadropdown-content{grid-template-columns:1fr}}.megadropdown h2{display:none;margin-top:0;margin-bottom:8px;font-weight:900}.megadropdown h2 a{text-decoration:none;display:none;font-weight:inherit;border-bottom:0;border-top:0}@media screen and (max-width: 1023.98px){.megadropdown h2{display:block;font-size:1.25rem}}@media screen and (max-width: 599.98px){.megadropdown h2{font-size:1.125rem}}.megadropdown post-list{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0px}.megadropdown post-list>[role=list]{flex-direction:unset;display:unset}.megadropdown post-list>*{width:100%}.megadropdown post-list .list-title{display:flex;flex-direction:column-reverse;height:100%}.megadropdown post-list .list-title h3{font-size:20px;display:block;font-weight:900}.megadropdown post-list .list-title h3:not(:has(a)),.megadropdown post-list .list-title h3 a{padding:16px 12px 14px 8px}.megadropdown post-list .list-title h3:not(:has(a)){position:relative}.megadropdown post-list .list-title h3:not(:has(a))::before{content:"";background-color:#050400;bottom:0;width:100%;height:2px;position:absolute;left:0}.megadropdown post-list .list-title h3 a{border-radius:0;text-decoration:none;font-size:inherit;display:flex;align-items:center;justify-content:space-between;min-height:53px;width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative;height:unset;font-weight:900}.megadropdown post-list .list-title h3 a::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}.megadropdown post-list .list-title h3 a.selected,.megadropdown post-list .list-title h3 a[aria-expanded=true]{background-color:#050400;color:#fff}.megadropdown post-list .list-title h3 a:hover{background-color:#504f4b;color:#fff}.megadropdown post-list .list-title h3 a:hover::before{background-color:#504f4b}.megadropdown post-list .list-title h3 a::before{height:2px}@media screen and (max-width: 1023.98px){.megadropdown post-list .list-title h3{font-size:1rem}.megadropdown post-list .list-title h3:not(:has(a)),.megadropdown post-list .list-title h3 a{padding:14px 12px 12px 8px}}@media screen and (max-width: 599.98px){.megadropdown post-list .list-title h3{font-size:.875rem}}.megadropdown post-list-item>a{padding-block:13px 12px;padding-inline-start:8px;display:flex;text-decoration:none;width:100%;min-width:100%;height:auto;min-height:48px}.megadropdown post-list-item>a:hover{border-block-width:0}@media screen and (min-width: 1024px){.megadropdown post-list-item>a{font-size:1.25rem}}@media screen and (max-width: 1023.98px){.megadropdown post-list-item>a{padding-block:12px 11px}}@media screen and (max-width: 599.98px){.megadropdown post-list-item>a{font-size:.875rem}}.megadropdown .back-button{display:none;margin-bottom:2rem}.megadropdown .back-button .btn{width:auto}@media screen and (max-width: 1023.98px){.megadropdown .back-button{order:-1;display:block}}.megadropdown .close-button{position:absolute;top:1rem;right:1rem}@media screen and (max-width: 1023.98px){.megadropdown .close-button{display:none}}';const H=class{constructor(e){t(this,e),this.for=void 0,this.ariaExpanded=!1}get host(){return e(this)}slottedButton=null;wasExpanded=!1;validateControlFor(){h(this,"for","string")}get megadropdown(){const t=document.getElementById(this.for);return t&&"post-megadropdown"===t.localName?t:null}handleToggle(){this.megadropdown?this.megadropdown.toggle():console.warn(`No post-megadropdown found with ID: ${this.for}`)}handleKeyDown=t=>{"Enter"===t.key&&(t.preventDefault(),this.handleToggle(),this.megadropdown&&!this.ariaExpanded&&setTimeout((()=>this.megadropdown.focusFirst()),100))};componentDidLoad(){this.validateControlFor(),document.addEventListener("postToggleMegadropdown",(t=>{t.target.id===this.for&&(this.ariaExpanded=t.detail.isVisible,this.wasExpanded&&!this.ariaExpanded&&t.detail.focusParent&&setTimeout((()=>{this.slottedButton?.focus()}),100),this.wasExpanded=this.ariaExpanded,this.slottedButton&&this.slottedButton.setAttribute("aria-expanded",this.ariaExpanded.toString()))})),this.slottedButton=this.host.querySelector("button"),this.slottedButton?(this.slottedButton.setAttribute("aria-haspopup","menu"),this.slottedButton.addEventListener("click",(()=>{this.handleToggle()})),this.slottedButton.addEventListener("keydown",this.handleKeyDown)):console.warn("No button found within post-megadropdown-trigger")}render(){return o(i,{key:"99849b6b851d061c1365eb5d507cba0e7e6e3ae6","data-version":a,"tab-index":"-1"},o("button",{key:"ddd553c4b893538155263e5bd82c763be68eb3f3"},o("slot",{key:"eb006c5b13c69a8e089702f1b46f88bc3d74b045"})))}static get watchers(){return{for:["validateControlFor"]}}};H.style="post-megadropdown-trigger{width:100%;position:relative;z-index:3}";const $=class{constructor(e){t(this,e),this.toggleMenu=n(this,"toggleMenu",7),this.placement="bottom",this.isVisible=!1}popoverRef;lastFocusedElement=null;KEYCODES={SPACE:" ",ENTER:"Enter",UP:"ArrowUp",DOWN:"ArrowDown",TAB:"Tab",HOME:"Home",END:"End",ESCAPE:"Escape"};get host(){return e(this)}toggleMenu;root;connectedCallback(){this.root=f(this.host),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick)}disconnectedCallback(){this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick)}componentDidLoad(){this.popoverRef.addEventListener("postToggle",(t=>{this.isVisible=t.detail,this.toggleMenu.emit(this.isVisible),requestAnimationFrame((()=>{if(this.isVisible){this.lastFocusedElement=this.root.activeElement;const t=this.getSlottedItems();t.length>0&&t[0].focus()}else this.lastFocusedElement&&this.lastFocusedElement.focus()}))}))}async toggle(t){this.popoverRef?await this.popoverRef.toggle(t):console.error("toggle: popoverRef is null or undefined")}async show(t){this.popoverRef?await this.popoverRef.show(t):console.error("show: popoverRef is null or undefined")}async hide(){this.popoverRef?await this.popoverRef.hide():console.error("hide: popoverRef is null or undefined")}handleKeyDown=t=>{t.stopPropagation(),t.key!==this.KEYCODES.ESCAPE?Object.values(this.KEYCODES).includes(t.key)&&this.controlKeyDownHandler(t):this.toggle(this.host)};handleClick=t=>{["BUTTON","A","INPUT","SELECT","TEXTAREA"].includes(t.target.tagName)&&this.toggle(this.host)};controlKeyDownHandler(t){const e=this.getSlottedItems();if(!e.length)return;let o=e.findIndex((t=>t===f(t).activeElement));switch(t.key){case this.KEYCODES.UP:t.preventDefault(),o=(o-1+e.length)%e.length;break;case this.KEYCODES.DOWN:t.preventDefault(),o=(o+1)%e.length;break;case this.KEYCODES.HOME:o=0;break;case this.KEYCODES.END:t.preventDefault(),o=e.length-1;break;case this.KEYCODES.SPACE:return void this.toggle(this.host);case this.KEYCODES.TAB:this.toggle(this.host)}e[o]&&e[o].focus()}getSlottedItems(){const t=this.host.shadowRoot.querySelector("slot");return(t?t.assignedElements():[]).flatMap((t=>t instanceof HTMLSlotElement?t.assignedElements():t)).filter((t=>"menuitem"===t.getAttribute("role"))).flatMap((t=>Array.from(w(t))))}render(){return o(i,{key:"3a79b9df5a5d4c121aa9ca36883d6e17cbf2a66e","data-version":a},o("post-popovercontainer",{key:"9c8a37a2c70b98ff9a960f467ab951af10c34726",placement:this.placement,ref:t=>this.popoverRef=t},o("div",{key:"0cda7fc8df3f201d4b4e0170bb8a94e72e123814",class:"popover-container",part:"popover-container"},o("slot",{key:"ac20e448dededb6ea79715c2c29122dccf0d7309"}))))}};$.style="/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}post-popovercontainer{padding:var(--post-menu-padding);background-color:var(--post-menu-bg, #ffffff);border-color:var(--post-menu-bg, #ffffff)}.popover-container{display:flex;flex-direction:column}";const F=class{constructor(e){t(this,e),this.for=void 0,this.ariaExpanded=!1}get host(){return e(this)}slottedButton=null;root;validateControlFor(){h(this,"for","string")}get menu(){const t=this.root.getElementById(this.for);return t&&"post-menu"===t.localName?t:null}handleToggle(){this.menu?this.menu.toggle(this.host):console.warn(`No post-menu found with ID: ${this.for}`)}handleKeyDown=t=>{"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.handleToggle())};connectedCallback(){this.root=f(this.host)}componentDidLoad(){if(this.validateControlFor(),this.slottedButton=this.host.querySelector("button"),!this.slottedButton){const t=this.host.querySelector(".menu-trigger-webc");if(t.shadowRoot){const e=t.shadowRoot.querySelector("button");e&&(this.slottedButton=e)}}this.slottedButton?(this.slottedButton.setAttribute("aria-haspopup","menu"),this.menu&&this.slottedButton&&this.menu.addEventListener("toggleMenu",(t=>{this.ariaExpanded=t.detail,this.slottedButton.setAttribute("aria-expanded",this.ariaExpanded.toString())})),this.slottedButton.addEventListener("click",(()=>{this.handleToggle()})),this.slottedButton.addEventListener("keydown",this.handleKeyDown)):console.warn("No button found within post-menu-trigger")}render(){return o(i,{key:"84316d4a69c4231be636e5ff8971752d5af9bab2","data-version":a,"tab-index":"-1"},o("slot",{key:"d3091adcf7033c4dd25e49fa383ccb9773b2d226"}))}static get watchers(){return{for:["validateControlFor"]}}};F.style=":host{display:inline-block}";const R=Math.min,O=Math.max,j=Math.round,P=Math.floor,B=t=>({x:t,y:t}),N={left:"right",right:"left",bottom:"top",top:"bottom"},I={start:"end",end:"start"};function W(t,e,o){return O(t,R(e,o))}function U(t,e){return"function"==typeof t?t(e):t}function V(t){return t.split("-")[0]}function q(t){return t.split("-")[1]}function Y(t){return"x"===t?"y":"x"}function K(t){return"y"===t?"height":"width"}function X(t){return["top","bottom"].includes(V(t))?"y":"x"}function _(t){return Y(X(t))}function G(t){return t.replace(/start|end/g,(t=>I[t]))}function J(t){return t.replace(/left|right|bottom|top/g,(t=>N[t]))}function Q(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function Z(t){const{x:e,y:o,width:i,height:n}=t;return{width:i,height:n,top:o,left:e,right:e+i,bottom:o+n,x:e,y:o}}function tt(t,e,o){let{reference:i,floating:n}=t;const a=X(e),s=_(e),r=K(s),l=V(e),c="y"===a,d=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[r]/2-n[r]/2;let u;switch(l){case"top":u={x:d,y:i.y-n.height};break;case"bottom":u={x:d,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:p};break;case"left":u={x:i.x-n.width,y:p};break;default:u={x:i.x,y:i.y}}switch(q(e)){case"start":u[s]-=h*(o&&c?-1:1);break;case"end":u[s]+=h*(o&&c?-1:1)}return u}async function et(t,e){var o;void 0===e&&(e={});const{x:i,y:n,platform:a,rects:s,elements:r,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=U(e,t),f=Q(u),g=r[h?"floating"===p?"reference":"floating":p],m=Z(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===p?{...s.floating,x:i,y:n}:s.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(r.floating)),w=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=Z(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:b,offsetParent:v,strategy:l}):b);return{top:(m.top-x.top+f.top)/w.y,bottom:(x.bottom-m.bottom+f.bottom)/w.y,left:(m.left-x.left+f.left)/w.x,right:(x.right-m.right+f.right)/w.x}}function ot(t){const e=R(...t.map((t=>t.left))),o=R(...t.map((t=>t.top)));return{x:e,y:o,width:O(...t.map((t=>t.right)))-e,height:O(...t.map((t=>t.bottom)))-o}}function it(){return"undefined"!=typeof window}function nt(t){return rt(t)?(t.nodeName||"").toLowerCase():"#document"}function at(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function st(t){var e;return null==(e=(rt(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function rt(t){return!!it()&&(t instanceof Node||t instanceof at(t).Node)}function lt(t){return!!it()&&(t instanceof Element||t instanceof at(t).Element)}function ct(t){return!!it()&&(t instanceof HTMLElement||t instanceof at(t).HTMLElement)}function dt(t){return!(!it()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof at(t).ShadowRoot)}function pt(t){const{overflow:e,overflowX:o,overflowY:i,display:n}=bt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function ht(t){return["table","td","th"].includes(nt(t))}function ut(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function ft(t){const e=gt(),o=lt(t)?bt(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!o[t]&&"none"!==o[t]))||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function gt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mt(t){return["html","body","#document"].includes(nt(t))}function bt(t){return at(t).getComputedStyle(t)}function vt(t){return lt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if("html"===nt(t))return t;const e=t.assignedSlot||t.parentNode||dt(t)&&t.host||st(t);return dt(e)?e.host:e}function xt(t){const e=wt(t);return mt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ct(e)&&pt(e)?e:xt(e)}function yt(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=xt(t),a=n===(null==(i=t.ownerDocument)?void 0:i.body),s=at(n);if(a){const t=kt(s);return e.concat(s,s.visualViewport||[],pt(n)?n:[],t&&o?yt(t):[])}return e.concat(n,yt(n,[],o))}function kt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Tt(t){const e=bt(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=ct(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,r=j(o)!==a||j(i)!==s;return r&&(o=a,i=s),{width:o,height:i,$:r}}function Et(t){return lt(t)?t:t.contextElement}function St(t){const e=Et(t);if(!ct(e))return B(1);const o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Tt(e);let s=(a?j(o.width):o.width)/i,r=(a?j(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),r&&Number.isFinite(r)||(r=1),{x:s,y:r}}const At=B(0);function Ct(t){const e=at(t);return gt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:At}function zt(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),a=Et(t);let s=B(1);e&&(i?lt(i)&&(s=St(i)):s=St(t));const r=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==at(t))&&e}(a,o,i)?Ct(a):B(0);let l=(n.left+r.x)/s.x,c=(n.top+r.y)/s.y,d=n.width/s.x,p=n.height/s.y;if(a){const t=at(a),e=i&&lt(i)?at(i):i;let o=t,n=kt(o);for(;n&&i&&e!==o;){const t=St(n),e=n.getBoundingClientRect(),i=bt(n),a=e.left+(n.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(n.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,p*=t.y,l+=a,c+=s,o=at(n),n=kt(o)}}return Z({width:d,height:p,x:l,y:c})}function Dt(t,e){const o=vt(t).scrollLeft;return e?e.left+o:zt(st(t)).left+o}function Mt(t,e,o){void 0===o&&(o=!1);const i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-(o?0:Dt(t,i)),y:i.top+e.scrollTop}}function Lt(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=at(t),i=st(t),n=o.visualViewport;let a=i.clientWidth,s=i.clientHeight,r=0,l=0;if(n){a=n.width,s=n.height;const t=gt();(!t||t&&"fixed"===e)&&(r=n.offsetLeft,l=n.offsetTop)}return{width:a,height:s,x:r,y:l}}(t,o);else if("document"===e)i=function(t){const e=st(t),o=vt(t),i=t.ownerDocument.body,n=O(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=O(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Dt(t);const r=-o.scrollTop;return"rtl"===bt(i).direction&&(s+=O(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:r}}(st(t));else if(lt(e))i=function(t,e){const o=zt(t,!0,"fixed"===e),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ct(t)?St(t):B(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:n*a.x,y:i*a.y}}(e,o);else{const o=Ct(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return Z(i)}function Ht(t,e){const o=wt(t);return!(o===e||!lt(o)||mt(o))&&("fixed"===bt(o).position||Ht(o,e))}function $t(t,e,o){const i=ct(e),n=st(e),a="fixed"===o,s=zt(t,!0,a,e);let r={scrollLeft:0,scrollTop:0};const l=B(0);if(i||!i&&!a)if(("body"!==nt(e)||pt(n))&&(r=vt(e)),i){const t=zt(e,!0,a,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else n&&(l.x=Dt(n));const c=!n||i||a?B(0):Mt(n,r);return{x:s.left+r.scrollLeft-l.x-c.x,y:s.top+r.scrollTop-l.y-c.y,width:s.width,height:s.height}}function Ft(t){return"static"===bt(t).position}function Rt(t,e){if(!ct(t)||"fixed"===bt(t).position)return null;if(e)return e(t);let o=t.offsetParent;return st(t)===o&&(o=o.ownerDocument.body),o}function Ot(t,e){const o=at(t);if(ut(t))return o;if(!ct(t)){let e=wt(t);for(;e&&!mt(e);){if(lt(e)&&!Ft(e))return e;e=wt(e)}return o}let i=Rt(t,e);for(;i&&ht(i)&&Ft(i);)i=Rt(i,e);return i&&mt(i)&&Ft(i)&&!ft(i)?o:i||function(t){let e=wt(t);for(;ct(e)&&!mt(e);){if(ft(e))return e;if(ut(e))return null;e=wt(e)}return null}(t)||o}const jt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:o,offsetParent:i,strategy:n}=t;const a="fixed"===n,s=st(i),r=!!e&&ut(e.floating);if(i===s||r&&a)return o;let l={scrollLeft:0,scrollTop:0},c=B(1);const d=B(0),p=ct(i);if((p||!p&&!a)&&(("body"!==nt(i)||pt(s))&&(l=vt(i)),ct(i))){const t=zt(i);c=St(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}const h=!s||p||a?B(0):Mt(s,l,!0);return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:o.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:st,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const a=[..."clippingAncestors"===o?ut(e)?[]:function(t,e){const o=e.get(t);if(o)return o;let i=yt(t,[],!1).filter((t=>lt(t)&&"body"!==nt(t))),n=null;const a="fixed"===bt(t).position;let s=a?wt(t):t;for(;lt(s)&&!mt(s);){const e=bt(s),o=ft(s);o||"fixed"!==e.position||(n=null),(a?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||pt(s)&&!o&&Ht(t,s))?i=i.filter((t=>t!==s)):n=e,s=wt(s)}return e.set(t,i),i}(e,this._c):[].concat(o),i],s=a.reduce(((t,o)=>{const i=Lt(e,o,n);return t.top=O(i.top,t.top),t.right=R(i.right,t.right),t.bottom=R(i.bottom,t.bottom),t.left=O(i.left,t.left),t}),Lt(e,a[0],n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ot,getElementRects:async function(t){const e=this.getOffsetParent||Ot,o=this.getDimensions,i=await o(t.floating);return{reference:$t(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:o}=Tt(t);return{width:e,height:o}},getScale:St,isElement:lt,isRTL:function(t){return"rtl"===bt(t).direction}};function Pt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Bt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var o,i;const{x:n,y:a,placement:s,middlewareData:r}=e,l=await async function(t,e){const{placement:o,platform:i,elements:n}=t,a=await(null==i.isRTL?void 0:i.isRTL(n.floating)),s=V(o),r=q(o),l="y"===X(o),c=["left","top"].includes(s)?-1:1,d=a&&l?-1:1,p=U(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:f}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return r&&"number"==typeof f&&(u="end"===r?-1*f:f),l?{x:u*d,y:h*c}:{x:h*c,y:u*d}}(e,t);return s===(null==(o=r.offset)?void 0:o.placement)&&null!=(i=r.arrow)&&i.alignmentOffset?{}:{x:n+l.x,y:a+l.y,data:{...l,placement:s}}}}},Nt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:r={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=U(t,e),c={x:o,y:i},d=await et(e,l),p=X(V(n)),h=Y(p);let u=c[h],f=c[p];a&&(u=W(u+d["y"===h?"top":"left"],u,u-d["y"===h?"bottom":"right"])),s&&(f=W(f+d["y"===p?"top":"left"],f,f-d["y"===p?"bottom":"right"]));const g=r.fn({...e,[h]:u,[p]:f});return{...g,data:{x:g.x-o,y:g.y-i}}}}},It=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,i;const{placement:n,middlewareData:a,rects:s,initialPlacement:r,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:g=!0,...m}=U(t,e);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const b=V(n),v=V(r)===r,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(v||!g?[J(r)]:function(t){const e=J(t);return[G(t),e,G(e)]}(r));h||"none"===f||x.push(...function(t,e,o,i){const n=q(t);let a=function(t,e,o){const i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}(V(t),"start"===o,i);return n&&(a=a.map((t=>t+"-"+n)),e&&(a=a.concat(a.map(G)))),a}(r,g,f,w));const y=[r,...x],k=await et(e,m),T=[];let E=(null==(i=a.flip)?void 0:i.overflows)||[];if(d&&T.push(k[b]),p){const t=function(t,e,o){void 0===o&&(o=!1);const i=q(t),n=_(t),a=K(n);let s="x"===n?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=J(s)),[s,J(s)]}(n,s,w);T.push(k[t[0]],k[t[1]])}if(E=[...E,{placement:n,overflows:T}],!T.every((t=>t<=0))){var S,A;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,e=y[t];if(e)return{data:{index:t,overflows:E},reset:{placement:e}};let o=null==(A=E.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:A.placement;if(!o)switch(u){case"bestFit":{var C;const t=null==(C=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:C[0];t&&(o=t);break}case"initialPlacement":o=r}if(n!==o)return{reset:{placement:o}}}return{}}}},Wt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:i,platform:n,elements:a}=e,{apply:s=(()=>{}),...r}=U(t,e),l=await et(e,r),c=V(o),d=q(o),p="y"===X(o),{width:h,height:u}=i.floating;let f,g;"top"===c||"bottom"===c?(f=c,g=d===(await(null==n.isRTL?void 0:n.isRTL(a.floating))?"start":"end")?"left":"right"):(g=c,f="end"===d?"top":"bottom");const m=u-l[f],b=h-l[g],v=!e.middlewareData.shift;let w=m,x=b;if(p){const t=h-l.left-l.right;x=d||v?R(b,t):t}else{const t=u-l.top-l.bottom;w=d||v?R(m,t):t}if(v&&!d){const t=O(l.left,0),e=O(l.right,0),o=O(l.top,0),i=O(l.bottom,0);p?x=h-2*(0!==t||0!==e?t+e:O(l.left,l.right)):w=u-2*(0!==o||0!==i?o+i:O(l.top,l.bottom))}await s({...e,availableWidth:x,availableHeight:w});const y=await n.getDimensions(a.floating);return h!==y.width||u!==y.height?{reset:{rects:!0}}:{}}}},Ut=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:o,y:i,placement:n,rects:a,middlewareData:s}=e,{offset:r=0,mainAxis:l=!0,crossAxis:c=!0}=U(t,e),d={x:o,y:i},p=X(n),h=Y(p);let u=d[h],f=d[p];const g=U(r,e),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const t="y"===h?"height":"width",e=a.reference[h]-a.floating[t]+m.mainAxis,o=a.reference[h]+a.reference[t]-m.mainAxis;u<e?u=e:u>o&&(u=o)}if(c){var b,v;const t="y"===h?"width":"height",e=["top","left"].includes(V(n)),o=a.reference[p]-a.floating[t]+(e&&(null==(b=s.offset)?void 0:b[p])||0)+(e?0:m.crossAxis),i=a.reference[p]+a.reference[t]+(e?0:(null==(v=s.offset)?void 0:v[p])||0)-(e?m.crossAxis:0);f<o?f=o:f>i&&(f=i)}return{[h]:u,[p]:f}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:o="",...i}={}){super(t,i),this.oldState=String(e||""),this.newState=String(o||"")}},e=new WeakMap;function o(o,i,n){e.set(o,setTimeout((()=>{e.has(o)&&o.dispatchEvent(new t("toggle",{cancelable:!1,oldState:i,newState:n}))}),0))}var i=globalThis.ShadowRoot||function(){},n=globalThis.HTMLDialogElement||function(){},a=new WeakMap,s=new WeakMap,r=new WeakMap;function l(t){return r.get(t)||"hidden"}var c=new WeakMap;function d(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==l(t)||!e&&"hidden"!==l(t)||t instanceof n&&t.hasAttribute("open")||document.fullscreenElement===t)}function p(t){return t?Array.from(s.get(t.ownerDocument)||[]).indexOf(t)+1:0}function h(t){let e=s.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function u(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?u(t.parentNode):t}function f(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===r.get(t))return t;if((t=t.parentElement||u(t))instanceof i&&(t=t.host),t instanceof Document)return}}function g(t){return!(t.hidden||t instanceof i||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href)&&"number"==typeof t.tabIndex&&-1!==t.tabIndex}var m=new WeakMap;function b(e){if(!d(e,!1))return;let i=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!d(e,!1))return;let n=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),o=function(t){let e=new Map,o=0,i=t.ownerDocument;for(let t of s.get(i)||[])e.set(t,o),o+=1;e.set(t,o),o+=1;let n=null;return function(t){let o=f(t);if(null===o)return null;let i=e.get(o);(null===n||e.get(n)<i)&&(n=o)}(t?.parentElement),n}(e)||i;if(x(o,!1,!0),t!==e.getAttribute("popover")||!d(e,!1))return}h(i)||(n=!0),m.delete(e);let l=i.activeElement;e.classList.add(":popover-open"),r.set(e,"showing"),a.has(i)||a.set(i,new Set),a.get(i).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let o=e.querySelector("[autofocus]");if(o)return o;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(o=e.querySelector("[autofocus]"),o)return o}}}let i=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),n=i.currentNode;for(;n;){if(g(n))return n;n=i.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(s.has(i)||s.set(i,new Set),s.get(i).add(e),E(c.get(e),!0)),n&&l&&"auto"===e.popover&&m.set(e,l),o(e,"closed","open")}function v(e,i=!1,n=!1){if(!d(e,!0))return;let l=e.ownerDocument;if("auto"===e.popover&&(x(e,i,n),!d(e,!0))||(E(c.get(e),!1),c.delete(e),n&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!d(e,!0))))return;a.get(l)?.delete(e),s.get(l)?.delete(e),e.classList.remove(":popover-open"),r.set(e,"hidden"),n&&o(e,"open","closed");let p=m.get(e);p&&(m.delete(e),i&&p.focus())}function w(t,e=!1,o=!1){let i=h(t);for(;i;)v(i,e,o),i=h(t)}function x(t,e,o){let i=t.ownerDocument||t;if(t instanceof Document)return w(i,e,o);let n=null,a=!1;for(let e of s.get(i)||[])if(e===t)a=!0;else if(a){n=e;break}if(!a)return w(i,e,o);for(;n&&"showing"===l(n)&&s.get(i)?.size;)v(n,e,o)}var y=new WeakMap;function k(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let o=e.ownerDocument;if(!h(o))return;let n=function(t){let e=f(t),o=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||u(t))instanceof i&&(t=t.host),t instanceof Document)return}}(t);return p(e)>p(o)?e:o}(e);if(n&&"pointerdown"===t.type)y.set(o,n);else if("pointerup"===t.type){let t=y.get(o)===n;y.delete(o),t&&x(n||o,!1,!0)}}var T=new WeakMap;function E(t,e=!1){if(!t)return;T.has(t)||T.set(t,t.getAttribute("aria-expanded"));let o=t.popoverTargetElement;if(o instanceof HTMLElement&&"auto"===o.popover)t.setAttribute("aria-expanded",String(e));else{let e=T.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var S=globalThis.ShadowRoot||function(){};function A(t,e,o){let i=t[e];Object.defineProperty(t,e,{value(t){return i.call(this,o(t))}})}var C=/(^|[^\\]):popover-open\b/g,z="\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",D=null;function M(t){if(null===D)try{(D=new CSSStyleSheet).replaceSync(z)}catch{D=!1}if(!1===D){let e=document.createElement("style");e.textContent=z,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[D,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(C,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,A(Document.prototype,"querySelector",e),A(Document.prototype,"querySelectorAll",e),A(Element.prototype,"querySelector",e),A(Element.prototype,"querySelectorAll",e),A(Element.prototype,"matches",e),A(Element.prototype,"closest",e),A(DocumentFragment.prototype,"querySelectorAll",e),A(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){b(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){v(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===r.get(this)&&void 0===t||!1===t?v(this,!0,!0):(void 0===t||!0===t)&&b(this)}}});let o=Element.prototype.attachShadow;o&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=o.call(this,t);return M(e),e}}});let i=HTMLElement.prototype.attachInternals;i&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=i.call(this);return t.shadowRoot&&M(t.shadowRoot),t}}});let n=new WeakMap;function a(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),n.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),n.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=n.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return n.delete(this),null;let e=u(this),o=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof S)&&o&&e.getElementById(o)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}a(HTMLButtonElement),a(HTMLInputElement);var s;(s=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let o=u(e);if(!(o instanceof S||o instanceof Document))return;let i=e.closest("[popovertargetaction],[popovertarget]");return i?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let o=l(e);"show"===t.popoverTargetAction&&"showing"===o||"hide"===t.popoverTargetAction&&"hidden"===o||("showing"===o?v(e,!0,!0):d(e,!1)&&(c.set(e,t),b(e)))}(i),void t.preventDefault()):void 0})),s.addEventListener("keydown",(t=>{let e=t.key,o=t.target;!t.defaultPrevented&&o&&("Escape"===e||"Esc"===e)&&x(o.ownerDocument,!0,!0)})),s.addEventListener("pointerdown",k),s.addEventListener("pointerup",k),M(document)}()})();const Vt=class{constructor(e){t(this,e),this.postToggle=n(this,"postToggle",7),this.manualClose=!1,this.placement="top",this.edgeGap=8,this.arrow=!1,this.safeSpace=void 0}static STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"};static PROPERTIES_TO_CLEAR=["--safe-space-popover-x","--safe-space-popover-y","--safe-space-popover-x-start","--safe-space-popover-x-end","--safe-space-popover-y-start","--safe-space-popover-y-end","--safe-space-trigger-x","--safe-space-trigger-y","--safe-space-trigger-x-start","--safe-space-trigger-x-end","--safe-space-trigger-y-start","--safe-space-trigger-y-end"];get host(){return e(this)}arrowRef;eventTarget;clearAutoUpdate;toggleTimeoutId;postToggle;mouseTrackingHandler(t){this.host.style.setProperty("--safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--safe-space-cursor-y",`${t.clientY}px`)}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate()}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover())}async toggle(t,e){return this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.togglePopover(e),this.toggleTimeoutId=null),this.host.matches(":where(:popover-open, .popover-open)")}handleToggle(t){this.toggleTimeoutId=window.setTimeout((()=>this.toggleTimeoutId=null),10);const e="open"===t.newState;e?(this.startAutoupdates(),this.safeSpace&&window.addEventListener("mousemove",this.mouseTrackingHandler.bind(this))):("function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&window.removeEventListener("mousemove",this.mouseTrackingHandler.bind(this))),this.postToggle.emit(e)}startAutoupdates(){this.clearAutoUpdate=function(t,e,o,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=Et(t),d=n||a?[...c?yt(c):[],...yt(e)]:[];d.forEach((t=>{n&&t.addEventListener("scroll",o,{passive:!0}),a&&t.addEventListener("resize",o)}));const p=c&&r?function(t,e){let o,i=null;const n=st(t);function a(){var t;clearTimeout(o),null==(t=i)||t.disconnect(),i=null}return function s(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),a();const c=t.getBoundingClientRect(),{left:d,top:p,width:h,height:u}=c;if(r||e(),!h||!u)return;const f={rootMargin:-P(p)+"px "+-P(n.clientWidth-(d+h))+"px "+-P(n.clientHeight-(p+u))+"px "+-P(d)+"px",threshold:O(0,R(1,l))||1};let g=!0;function m(e){const i=e[0].intersectionRatio;if(i!==l){if(!g)return s();i?s(!1,i):o=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==i||Pt(c,t.getBoundingClientRect())||s(),g=!1}try{i=new IntersectionObserver(m,{...f,root:n.ownerDocument})}catch(t){i=new IntersectionObserver(m,f)}i.observe(t)}(!0),a}(c,o):null;let h,u=-1,f=null;s&&(f=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame((()=>{var t;null==(t=f)||t.observe(e)}))),o()})),c&&!l&&f.observe(c),f.observe(e));let g=l?zt(t):null;return l&&function e(){const i=zt(t);g&&!Pt(g,i)&&o(),g=i,h=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach((t=>{n&&t.removeEventListener("scroll",o),a&&t.removeEventListener("resize",o)})),null==p||p(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(h)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}async calculatePosition(){const{x:t,y:e,middlewareData:o,placement:i}=await this.computeMainPosition(),n=i.split("-")[0];if(this.host.style.left=`${t}px`,this.host.style.top=`${e}px`,this.arrow&&o.arrow){const{x:t,y:e}=o.arrow,i=Vt.STATIC_SIDES[n];i&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[i]:"-7px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(n)}async computeMainPosition(){const t=this.edgeGap,e=[It(),(void 0===o&&(o={}),{name:"inline",options:o,async fn(t){const{placement:e,elements:i,rects:n,platform:a,strategy:s}=t,{padding:r=2,x:l,y:c}=U(o,t),d=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),p=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),o=[];let i=null;for(let t=0;t<e.length;t++){const n=e[t];!i||n.y-i.y>i.height/2?o.push([n]):o[o.length-1].push(n),i=n}return o.map((t=>Z(ot(t))))}(d),h=Z(ot(d)),u=Q(r),f=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=l&&null!=c)return p.find((t=>l>t.left-u.left&&l<t.right+u.right&&c>t.top-u.top&&c<t.bottom+u.bottom))||h;if(p.length>=2){if("y"===X(e)){const t=p[0],o=p[p.length-1],i="top"===V(e),n=t.top,a=o.bottom,s=i?t.left:o.left,r=i?t.right:o.right;return{top:n,bottom:a,left:s,right:r,width:r-s,height:a-n,x:s,y:n}}const t="left"===V(e),o=O(...p.map((t=>t.right))),i=R(...p.map((t=>t.left))),n=p.filter((e=>t?e.left===i:e.right===o)),a=n[0].top,s=n[n.length-1].bottom;return{top:a,bottom:s,left:i,right:o,width:o-i,height:s-a,x:i,y:a}}return h}},floating:i.floating,strategy:s});return n.reference.x!==f.reference.x||n.reference.y!==f.reference.y||n.reference.width!==f.reference.width||n.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}),Nt({padding:t,limiter:Ut({offset:32})}),Wt({apply({availableWidth:e,elements:o}){Object.assign(o.floating.style,{maxWidth:e-2*t+"px"})}}),Bt(this.arrow?t+4:t)];var o;return this.arrow&&e.push((t=>({name:"arrow",options:t,async fn(e){const{x:o,y:i,placement:n,rects:a,platform:s,elements:r,middlewareData:l}=e,{element:c,padding:d=0}=U(t,e)||{};if(null==c)return{};const p=Q(d),h={x:o,y:i},u=_(n),f=K(u),g=await s.getDimensions(c),m="y"===u,b=m?"top":"left",v=m?"bottom":"right",w=m?"clientHeight":"clientWidth",x=a.reference[f]+a.reference[u]-h[u]-a.floating[f],y=h[u]-a.reference[u],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let T=k?k[w]:0;T&&await(null==s.isElement?void 0:s.isElement(k))||(T=r.floating[w]||a.floating[f]);const E=x/2-y/2,S=T/2-g[f]/2-1,A=R(p[b],S),C=R(p[v],S),z=A,D=T-g[f]-C,M=T/2-g[f]/2+E,L=W(z,M,D),H=!l.arrow&&null!=q(n)&&M!==L&&a.reference[f]/2-(M<z?A:C)-g[f]/2<0,$=H?M<z?M-z:M-D:0;return{[u]:h[u]+$,data:{[u]:L,centerOffset:M-L-$,...H&&{alignmentOffset:$}},reset:H}}}))({element:this.arrowRef,padding:t})),((t,e,o)=>{const i=new Map,n={platform:jt,...o},a={...n.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,r=a.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:d,y:p}=tt(c,i,l),h=i,u={},f=0;for(let o=0;o<r.length;o++){const{name:a,fn:g}=r[o],{x:m,y:b,data:v,reset:w}=await g({x:d,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:u,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=m?m:d,p=null!=b?b:p,u={...u,[a]:{...u[a],...v}},w&&f<=50&&(f++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:n}):w.rects),({x:d,y:p}=tt(c,h,l))),o=-1)}return{x:d,y:p,placement:h,strategy:n,middlewareData:u}})(t,e,{...n,platform:a})})(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:e})}async updateSafeSpaceBoundaries(t){const e=this.eventTarget.getBoundingClientRect(),o="top"===t||"bottom"===t,i=((t,e,o)=>"top"===t||"bottom"===t?{popover:{y:"top"===t?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:"top"===t?o.top:o.bottom,xStart:o.left,xEnd:o.right}}:{popover:{x:"left"===t?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:"left"===t?o.left:o.right,yStart:o.top,yEnd:o.bottom}})(t,this.host.getBoundingClientRect(),e);Vt.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--safe-space-popover-y",`${i.popover.y}px`),this.host.style.setProperty("--safe-space-popover-x-start",`${i.popover.xStart}px`),this.host.style.setProperty("--safe-space-popover-x-end",`${i.popover.xEnd}px`),this.host.style.setProperty("--safe-space-trigger-y",`${i.trigger.y}px`),this.host.style.setProperty("--safe-space-trigger-x-start",`${i.trigger.xStart}px`),this.host.style.setProperty("--safe-space-trigger-x-end",`${i.trigger.xEnd}px`)):(this.host.style.setProperty("--safe-space-popover-x",`${i.popover.x}px`),this.host.style.setProperty("--safe-space-popover-y-start",`${i.popover.yStart}px`),this.host.style.setProperty("--safe-space-popover-y-end",`${i.popover.yEnd}px`),this.host.style.setProperty("--safe-space-trigger-x",`${i.trigger.x}px`),this.host.style.setProperty("--safe-space-trigger-y-start",`${i.trigger.yStart}px`),this.host.style.setProperty("--safe-space-trigger-y-end",`${i.trigger.yEnd}px`))}render(){return o(i,{key:"2d04c94fe2a6de0c0fe17c1e2dcb99481d13336b","data-version":a,popover:this.manualClose?"manual":"auto"},o("div",{key:"3653be7880e5b896ae85e97ad709838732032f2d"},this.arrow&&o("span",{key:"770f1727acf0ccb47e3940d034850df9fc3a6096",class:"arrow",ref:t=>{this.arrowRef=t}}),o("slot",{key:"b12e95d51accec79a08fda3970f3b46ba7147ed7"})))}};Vt.style='@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}:where(post-popovercontainer){background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;z-index:1060;margin:0;padding:0;overflow:visible}:where(post-popovercontainer)>div{box-shadow:var(--post-device-elevation-300);width:max-content;color:var(--post-current-palette-fg);background-color:var(--post-current-palette-bg);border:2px solid rgba(0,0,0,0);border-radius:4px}:where(post-popovercontainer)[tooltip]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:where(post-popovercontainer)[safe-space]::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:where(post-popovercontainer)[safe-space=triangle]::after{clip-path:polygon(var(--safe-space-cursor-x, 0) var(--safe-space-cursor-y, 0), var(--safe-space-popover-x-start, var(--safe-space-popover-x, 0)) var(--safe-space-popover-y, var(--safe-space-popover-y-start, 0)), var(--safe-space-popover-x-end, var(--safe-space-popover-x, 0)) var(--safe-space-popover-y, var(--safe-space-popover-y-end, 0)))}:where(post-popovercontainer)[safe-space=trapezoid]::after{clip-path:polygon(var(--safe-space-trigger-x-start, var(--safe-space-trigger-x, 0)) var(--safe-space-trigger-y, var(--safe-space-trigger-y-start, 0)), var(--safe-space-trigger-x-end, var(--safe-space-trigger-x, 0)) var(--safe-space-trigger-y, var(--safe-space-trigger-y-end, 0)), var(--safe-space-popover-x-end, var(--safe-space-popover-x, 0)) var(--safe-space-popover-y, var(--safe-space-popover-y-end, 0)), var(--safe-space-popover-x-start, var(--safe-space-popover-x, 0)) var(--safe-space-popover-y, var(--safe-space-popover-y-start, 0)))}:where(post-popovercontainer):not(:has(.arrow))>div{box-shadow:var(--post-device-elevation-300)}:where(post-popovercontainer):has(.arrow)>div{filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.top)>div{filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.left)>div{filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer):has(.arrow.right)>div{filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}:where(post-popovercontainer) .arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:where(post-popovercontainer) .arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}';const qt=class{constructor(e){t(this,e),this.toggled=!1}get host(){return e(this)}validateToggled(){h(this,"toggled","boolean")}componentWillLoad(){this.validateToggled(),this.host.addEventListener("click",(()=>this.handleClick())),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)))}handleClick=()=>{this.toggled=!this.toggled};handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())};render(){return o(i,{key:"3a1429a9b67b8cfafae184fe0d060ee3a04974e0","data-version":a,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},o("slot",{key:"9ab1537574423740fc335fde732c699698acac25"}))}static get watchers(){return{toggled:["validateToggled"]}}};qt.style=":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}";export{g as P,x as a,k as b,T as c,S as d,A as e,C as f,z as g,M as h,L as i,H as j,$ as k,F as l,Vt as m,qt as n}
@@ -0,0 +1 @@
1
+ function t(t){const e=t.getRootNode();if(e instanceof Document||e instanceof ShadowRoot)return e;throw new Error("Attempting to access root node before the element is attached to the document or shadow tree.")}export{t as g}
@@ -0,0 +1 @@
1
+ import{r as o,g as t,h as r,H as e}from"./p-ff95dcd3.js";import{v as a}from"./p-cb5e4a06.js";import{c as i}from"./p-181c73d5.js";import{n as c}from"./p-5959f2bd.js";const l=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}get host(){return t(this)}validateFor(){i(this,"panel")}componentWillLoad(){this.tabId=`tab-${this.host.id||c(6)}`}render(){return r(e,{key:"336824660de90bf5c570e9739947927a32612fbd",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},r("slot",{key:"8bfe0b57fa96044692e2db3fd983ccde427558e7"}))}static get watchers(){return{panel:["validateFor"]}}};l.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:#000}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title{background-color:ButtonFace !important}.tab-title:hover{background-color:Highlight !important}}';export{l as P}
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",f=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],u="undefined"!=typeof window?window:{},d=u.document||{head:{}},h={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},p=t=>Promise.resolve(t),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),v=!1,y=[],b=[],w=(t,e)=>n=>{t.push(n),v||(v=!0,e&&4&h.o?k(g):h.raf(g))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},g=()=>{$(y),$(b),(v=y.length>0)&&h.raf(g)},k=t=>p().then(t),S=w(b,!0),j={},O=t=>"object"==(t=typeof t)||"function"===t;function C(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>x,map:()=>R,ok:()=>E,unwrap:()=>A,unwrapErr:()=>W});var E=t=>({isOk:!0,isErr:!1,value:t}),x=t=>({isOk:!1,isErr:!0,value:t});function R(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>E(t))):E(n)}if(t.isErr)return x(t.value);throw"should never get here"}var M,P,T,A=t=>{if(t.isOk)return t.value;throw t.value},W=t=>{if(t.isErr)return t.value;throw t.value},D=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],a=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!O(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?L(null,o):o),i=r)};if(a(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,U);const f=L(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=l,f.m=s,f},L=(t,e)=>({o:0,v:t,i:e,$:null,h:null,u:null,p:null,m:null}),N={},U={forEach:(t,e)=>t.map(F).forEach(e),map:(t,e)=>t.map(F).map(e).map(H)},F=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.m,vtag:t.v,vtext:t.i}),H=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),D(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.m=t.vname,e},q=t=>n(t).$hostElement$,G=(t,e,n)=>{const o=q(t);return{emit:t=>V(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},V=(t,e,n)=>{const o=h.ce(e,n);return t.dispatchEvent(o),o},_=new WeakMap,z=t=>"sc-"+t.k,B=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=J(n),s=J(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=O(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(a,e):t.removeAttribute(e)):(!i||4&r||s)&&!l&&(o=!0===o?"":o,f?t.setAttributeNS(a,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(K);e=e.replace(Q,""),n&&h.rel(t,e,n,l),o&&h.ael(t,e,o,l)}}},I=/\s/,J=t=>t?t.split(I):[],K="Capture",Q=RegExp(K+"$"),X=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||j,s=e.u||j;for(const t of Y(Object.keys(l)))t in s||B(o,t,l[t],void 0,n,e.o);for(const t of Y(Object.keys(s)))B(o,t,l[t],s[t],n,e.o)};function Y(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Z=!1,tt=!1,et=!1,nt=!1,ot=(t,e,n,o)=>{var l;const s=e.h[n];let r,i,c,a=0;if(Z||(et=!0,"slot"===s.v&&(M&&o.classList.add(M+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=d.createTextNode(s.i);else if(1&s.o)r=s.$=d.createTextNode("");else{if(nt||(nt="svg"===s.v),r=s.$=d.createElementNS(nt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Z&&2&s.o?"slot-fb":s.v),nt&&"foreignObject"===s.v&&(nt=!1),X(null,s,nt),null!=M&&r["s-si"]!==M&&r.classList.add(r["s-si"]=M),s.h)for(a=0;a<s.h.length;++a)i=ot(t,s,a,r),i&&r.appendChild(i);"svg"===s.v?nt=!1:"foreignObject"===r.tagName&&(nt=!0)}return r["s-hn"]=T,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=P,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=t&&t.h&&t.h[n],c&&c.v===s.v&&t.$&&lt(t.$,!1)),r},lt=(t,e)=>{h.o|=1;const n=Array.from(t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==T&&o["s-ol"]&&(vt(at(o),o,ct(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,et=!0),e&&lt(o,e)}h.o&=-2},st=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===T&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=ot(null,n,l,t),r&&(o[l].$=r,vt(i,r,ct(e))))},rt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;mt(e),t&&(tt=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>t.v===e.v&&("slot"===t.v?t.m===e.m:!!n||t.p===e.p),ct=t=>t&&t["s-ol"]||t,at=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,r=e.v,i=e.i;let c;null===i?(nt="svg"===r||"foreignObject"!==r&&nt,("slot"!==r||Z)&&X(t,e,nt),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,a=0,f=0,u=e.length-1,d=e[0],h=e[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--u];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(it(d,m,l))ft(d,m,l),d=e[++i],m=o[++c];else if(it(h,v,l))ft(h,v,l),h=e[--u],v=o[--p];else if(it(d,v,l))"slot"!==d.v&&"slot"!==v.v||lt(d.$.parentNode,!1),ft(d,v,l),vt(t,d.$,h.$.nextSibling),d=e[++i],v=o[--p];else if(it(h,m,l))"slot"!==d.v&&"slot"!==v.v||lt(h.$.parentNode,!1),ft(h,m,l),vt(t,h.$,d.$),h=e[--u],m=o[++c];else{for(a=-1,f=i;f<=u;++f)if(e[f]&&null!==e[f].p&&e[f].p===m.p){a=f;break}a>=0?(r=e[a],r.v!==m.v?s=ot(e&&e[c],n,a,t):(ft(r,m,l),e[a]=void 0,s=r.$),m=o[++c]):(s=ot(e&&e[c],n,c,t),m=o[++c]),s&&vt(at(d.$),s,ct(d.$))}i>u?st(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&rt(e,i,u)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),st(o,null,e,s,0,s.length-1)):null!==l&&rt(l,0,l.length-1),nt&&"svg"===r&&(nt=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},ut=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}ut(t)}},dt=[],ht=t=>{let e,n,o;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"])if(pt(e,t)){let n=dt.find((t=>t.S===e));tt=!0,e["s-sn"]=e["s-sn"]||t,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(e["s-sh"]=l["s-hn"],dt.push({j:l,S:e})),e["s-sr"]&&dt.map((t=>{pt(t.S,e["s-sn"])&&(n=dt.find((t=>t.S===e)),n&&!t.j&&(t.j=n.j))}))}else dt.some((t=>t.S===e))||dt.push({S:e})}1===l.nodeType&&ht(l)}},pt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,mt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(mt)},vt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),yt=(t,e)=>{e&&!t.O&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.O=e)))},bt=(t,e)=>{if(t.o|=16,!(4&t.o))return yt(t,t.C),S((()=>wt(t,e)));t.o|=512},wt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e?(t.o|=256,t.R&&(t.R.map((([t,e])=>Ct(n,t,e))),t.R=void 0),o=Ct(n,"componentWillLoad")):o=Ct(n,"componentWillUpdate"),o=$t(o,(()=>Ct(n,"componentWillRender"))),$t(o,(()=>kt(t,n,e)))},$t=(t,e)=>gt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),gt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,kt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.M,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=z(e),l=i.get(o);if(t=11===t.nodeType?t:d,l)if("string"==typeof l){let s,r=_.get(t=t.head||t);if(r||_.set(t,r=new Set),!r.has(o)){{s=d.createElement("style"),s.innerHTML=l;const e=null!=(n=h.P)?n:C(d);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.o&&(s.innerHTML+=c),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);St(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>jt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},St=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.M,a=t.T||L(null,null),f=(t=>t&&t.v===N)(e)?e:D(null,null,e);if(T=i.tagName,c.A&&(f.u=f.u||{},c.A.map((([t,e])=>f.u[e]=i[t]))),n&&f.u)for(const t of Object.keys(f.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.u[t]=i[t]);if(f.v=null,f.o|=4,t.T=f,f.$=a.$=i.shadowRoot||i,M=i["s-sc"],Z=!!(1&c.o),P=i["s-cr"],tt=!1,ft(a,f,n),h.o|=1,et){ht(f.$);for(const t of dt){const e=t.S;if(!e["s-ol"]){const t=d.createTextNode("");t["s-nr"]=e,vt(e.parentNode,e["s-ol"]=t,e)}}for(const t of dt){const e=t.S,i=t.j;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),vt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}tt&&ut(f.$),h.o&=-2,dt.length=0,P=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},jt=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Ct(n,"componentDidRender"),64&t.o||(t.o|=64,Et(e),Ct(n,"componentDidLoad"),t.W(e),o||Ot()),t.D(e),t.O&&(t.O(),t.O=void 0),512&t.o&&k((()=>bt(t,!1))),t.o&=-517},Ot=()=>{Et(d.documentElement),k((()=>V(u,"appload",{detail:{namespace:"post-components"}})))},Ct=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},Et=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),xt=(t,e,o)=>{var l,r;const i=t.prototype;if(64&e.o&&1&o&&f.forEach((t=>Object.defineProperty(i,t,{value(...e){const o=n(this),l=o.t;if(l){const n=l[t];"function"==typeof n&&n.call(l,...e)}else o.L.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}}))),e.N||e.U||t.watchers){t.watchers&&!e.U&&(e.U=t.watchers);const c=Object.entries(null!=(l=e.N)?l:{});if(c.map((([t,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(i,t,{get(){return((t,e)=>n(this).F.get(e))(0,t)},set(o){((t,e,o,l)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.F.get(e),a=r.o,f=r.t;if(o=((t,e)=>null==t||O(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(o,l.N[e][0]),(!(8&a)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.F.set(e,o),f)){if(l.U&&128&a){const t=l.U[e];t&&t.map((t=>{try{f[t](o,c,e)}catch(t){s(t,i)}}))}2==(18&a)&&bt(r,!1)}})(this,t,o,e)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(i,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.H)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){h.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.U)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.U)?r:{}),...c.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.A)||l.push([t,s])),s}))]))}}return t},Rt=t=>{Ct(t,"connectedCallback")},Mt=t=>{Ct(t,"disconnectedCallback")},Pt=(t,o={})=>{var l;const a=[],f=o.exclude||[],p=u.customElements,v=d.head,y=v.querySelector("meta[charset]"),b=d.createElement("style"),w=[];let $,g=!0;Object.assign(h,o),h.l=new URL(o.resourcesUrl||"./",d.baseURI).href;let k=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],k:o[1],N:o[2],q:o[3]};4&c.o&&(k=!0),c.N=o[2],c.q=o[3],c.A=[],c.U=null!=(l=o[4])?l:{};const u=c.k,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,M:n,F:new Map};o.H=new Promise((t=>o.D=t)),o.L=new Promise((t=>o.W=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Tt(this,t,c.q)),$&&(clearTimeout($),$=null),g?w.push(this):h.jmp((()=>(t=>{if(!(1&h.o)){const e=n(t),o=e.M,l=()=>{};if(1&e.o)Tt(t,e,o.q),(null==e?void 0:e.t)?Rt(e.t):(null==e?void 0:e.L)&&e.L.then((()=>Rt(e.t)));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=d.createComment("");e["s-cn"]=!0,vt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){yt(e,e.C=n);break}}o.N&&Object.entries(o.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.G){const t=(t=>{const e=t.k.replace(/-/g,"_"),n=t.G;if(!n)return;const o=r.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.k}#${e.V}" was not found`);o.isProxied||(n.U=o.watchers,xt(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){s(t)}e.o&=-9,e.o|=128,l(),Rt(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=z(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);m&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,c=()=>bt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.o)){const t=n(this);t._&&(t._.map((t=>t())),t._=void 0),(null==t?void 0:t.t)?Mt(t.t):(null==t?void 0:t.L)&&t.L.then((()=>Mt(t.t)))}})()))}componentOnReady(){return n(this).L}};64&c.o&&(v.formAssociated=!0),c.G=t[0],f.includes(u)||p.get(u)||(a.push(u),p.define(u,xt(v,c,1)))}))})),a.length>0&&(k&&(b.textContent+=c),b.textContent+=a.sort()+"{visibility:hidden}[data-hydrated]{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(l=h.P)?l:C(d);null!=t&&b.setAttribute("nonce",t),v.insertBefore(b,y?y.nextSibling:v.firstChild)}g=!1,w.length?w.map((t=>t.connectedCallback())):h.jmp((()=>$=setTimeout(Ot,30)))},Tt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=Wt(t,n),r=At(e,l),i=Dt(n);h.ael(s,o,r,i),(e._=e._||[]).push((()=>h.rel(s,o,r,i)))}))},At=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.R=t.R||[]).push([e,n])}catch(t){s(t)}},Wt=(t,e)=>8&e?u:t,Dt=t=>({passive:!!(1&t),capture:!!(2&t)}),Lt=t=>h.P=t;export{N as H,Pt as b,G as c,q as g,D as h,p,o as r,Lt as s}
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-d2f9de94.js";export{s as setNonce}from"./p-d2f9de94.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-d2101b8a",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-8aeb549f",[[1,"post-alert",{dismissible:[4],dismissLabel:[1,"dismiss-label"],fixed:[4],icon:[1],type:[1],alertId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],fixed:["validateFixed"],icon:["validateIcon"],type:["validateType"]}]]],["p-820c5c19",[[65,"post-card-control",{label:[1],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}]]],["p-3b823fee",[[4,"post-popovercontainer",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-4a7fb0f3",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-f707d163",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-249ac168",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-db4b8ea1",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-486fbbce",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-6ed3497a",[[1,"post-logo",{url:[1]},null,{url:["validateUrl"]}]]],["p-aa8a08dc",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-22257eff",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-45f4c803",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-ba40b28a",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[0,"post-collapsible-trigger",{for:[1],update:[64]},null,{for:["setAriaAttributes"]}]]],["p-eedc6ae8",[[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[1],rotate:[2],scale:[2],svgStyles:[32],svgOutput:[32]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]]],e))));
1
+ import{p as e,b as a}from"./p-ff95dcd3.js";export{s as setNonce}from"./p-ff95dcd3.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-7dd05e6d",[[1,"post-breadcrumb",{homeUrl:[1,"home-url"],homeText:[1,"home-text"],breadcrumbItems:[32],isConcatenated:[32],lastWindowWidth:[32]},null,{homeUrl:["validateUrl"]}]]],["p-b5b48f66",[[1,"post-footer",{label:[1],isMobile:[32]}]]],["p-1289b0a7",[[1,"post-back-to-top",{label:[1],belowFold:[32]},null,{belowFold:["watchBelowFold"],label:["validateLabel"]}]]],["p-a805515a",[[1,"post-banner",{dismissible:[4],dismissLabel:[1,"dismiss-label"],icon:[1],type:[1],bannerId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}]]],["p-254a9bd2",[[65,"post-card-control",{label:[1],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}]]],["p-994fae4c",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-3bdeb686",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-6d8ac9bd",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-77cc2a5e",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-5aaa5703",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-1542a80e",[[1,"post-avatar",{firstname:[1],lastname:[1],userid:[1],email:[1],slottedImage:[32],avatarType:[32],imageUrl:[32],imageAlt:[32],initials:[32]},null,{firstname:["validateFirstname"]}]]],["p-2c69e7f2",[[4,"post-linkarea"]]],["p-c9dd3cdb",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-e6d54838",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-28500934",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-98fcf90b",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[0,"post-collapsible-trigger",{for:[1],update:[64]},null,{for:["setAriaAttributes"]}]]],["p-dd4a5c0a",[[1,"post-language-switch",{caption:[1],description:[1],variant:[1],activeLang:[32]},null,{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}],[4,"post-closebutton"],[4,"post-mainnavigation",{canScrollLeft:[32],canScrollRight:[32],translationAmount:[32]},[[9,"mouseup","stopScrolling"]],{translationAmount:["onTranslateAmountChanges"]}],[1,"post-header",{device:[32],mobileMenuExtended:[32],toggleMobileMenu:[64]},null,{mobileMenuExtended:["frozeBody"]}],[4,"post-language-option",{code:[1],active:[1540],variant:[1],name:[1],url:[1],select:[64]},null,{code:["validateCode"],active:["validateActiveProp"],name:["validateName"],url:["validateUrl"]}],[4,"post-list",{titleHidden:[4,"title-hidden"],horizontal:[516],titleId:[32]}],[1,"post-list-item"],[1,"post-logo",{url:[1]},null,{url:["validateUrl"]}],[4,"post-megadropdown",{device:[32],isVisible:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}],[4,"post-megadropdown-trigger",{for:[1],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[1,"post-togglebutton",{toggled:[1028]},null,{toggled:["validateToggled"]}],[1,"post-menu",{placement:[1],isVisible:[32],toggle:[64],show:[64],hide:[64]}],[4,"post-menu-trigger",{for:[1],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[4,"post-popovercontainer",{manualClose:[4,"manual-close"],placement:[1],edgeGap:[2,"edge-gap"],arrow:[4],safeSpace:[513,"safe-space"],show:[64],hide:[64],toggle:[64]}],[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[1],rotate:[2],scale:[2]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]],["p-04c38bfe",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],slottedLogo:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-30132b19",[[1,"post-breadcrumb-item",{url:[1],fullUrl:[32]},null,{url:["validateUrl"]}],[4,"post-menu-item"]]]],e))));
@@ -1,2 +1,2 @@
1
- export declare const collapse: (el: HTMLElement) => Animation;
2
- export declare const expand: (el: HTMLElement) => Animation;
1
+ export declare function collapse(el: HTMLElement): Animation;
2
+ export declare function expand(el: HTMLElement): Animation;
@@ -1,2 +1,2 @@
1
- export declare const fadeIn: (el: Element) => Animation;
2
- export declare const fadeOut: (el: Element) => Animation;
1
+ export declare function fadeIn(el: Element): Animation;
2
+ export declare function fadeOut(el: Element): Animation;
@@ -0,0 +1,2 @@
1
+ export declare function slideUp(el: HTMLElement, translateSize?: string): Animation;
2
+ export declare function slideDown(el: HTMLElement, translateSize?: string): Animation;
@@ -1,5 +1,8 @@
1
1
  import { HeadingLevel } from "../../types/index";
2
2
  /**
3
+ * @part button - The pseudo-element, used to override styles on the components internal header `button` element.
4
+ * @part body - The pseudo-element, used to override styles on the components internal `body` element.
5
+ * @slot logo - Slot for the placing a logo before the header.
3
6
  * @slot header - Slot for placing custom content within the accordion item's header.
4
7
  * @slot default - Slot for placing content within the accordion item's body.
5
8
  */
@@ -7,6 +10,7 @@ export declare class PostAccordionItem {
7
10
  private collapsible;
8
11
  host: HTMLPostAccordionItemElement;
9
12
  id: string;
13
+ slottedLogo: HTMLElement;
10
14
  /**
11
15
  * If `true`, the element is collapsed otherwise it is displayed.
12
16
  */
@@ -16,13 +20,15 @@ export declare class PostAccordionItem {
16
20
  * @deprecated set the `heading-level` property on the parent `post-accordion` instead.
17
21
  */
18
22
  readonly headingLevel?: HeadingLevel;
19
- validateHeadingLevel(newValue?: 1 | 2 | 3 | 4 | 5 | 6): void;
20
- connectedCallback(): void;
23
+ validateHeadingLevel(): void;
21
24
  componentWillLoad(): void;
25
+ componentDidLoad(): void;
22
26
  onCollapseToggle(event: CustomEvent<boolean>): void;
23
27
  /**
24
28
  * Triggers the collapse programmatically.
25
29
  */
26
30
  toggle(force?: boolean): Promise<boolean>;
31
+ private onSlotLogoChange;
32
+ componentWillRender(): void;
27
33
  render(): any;
28
34
  }
@@ -0,0 +1,51 @@
1
+ declare enum AvatarType {
2
+ Slotted = "slotted",
3
+ Image = "image",
4
+ Initials = "initials",
5
+ Null
6
+ }
7
+ /**
8
+ * @slot default - Slot for inserting a custom image as avatar.
9
+ */
10
+ export declare class PostAvatar {
11
+ private static INTERNAL_USERID_IMAGE_SRC;
12
+ host: HTMLPostAvatarElement;
13
+ /**
14
+ * Defines the users firstname.
15
+ */
16
+ readonly firstname: string;
17
+ /**
18
+ * Defines the users lastname.
19
+ */
20
+ readonly lastname?: string;
21
+ /**
22
+ * Defines the company internal userId.<div className="mb-1 banner banner-warning banner-sm">Can only be used on post.ch domains!</div>
23
+ */
24
+ readonly userid?: string;
25
+ /**
26
+ * Defines the users email address associated with a gravatar profile picture.
27
+ */
28
+ readonly email?: string;
29
+ slottedImage: HTMLImageElement;
30
+ avatarType: AvatarType;
31
+ imageUrl: string;
32
+ imageAlt: string;
33
+ initials: string;
34
+ validateFirstname(): void;
35
+ private getAvatar;
36
+ private getImageByProp;
37
+ private fetchImageByUserId;
38
+ private fetchImageByEmail;
39
+ private getAvatarByInitials;
40
+ private getNames;
41
+ private getInitials;
42
+ private getStorageItem;
43
+ private setStorageItem;
44
+ private removeStorageItem;
45
+ private cryptify;
46
+ private onSlotDefaultChange;
47
+ componentWillRender(): void;
48
+ componentDidLoad(): void;
49
+ render(): any;
50
+ }
51
+ export {};
@@ -0,0 +1,19 @@
1
+ export declare class PostBackToTop {
2
+ host: HTMLPostBackToTopElement;
3
+ /**
4
+ * The label of the back-to-top button, intended solely for accessibility purposes.
5
+ * This label is always hidden from view.
6
+ **/
7
+ label: string;
8
+ belowFold: boolean;
9
+ private translateY;
10
+ private isBelowFold;
11
+ private handleScroll;
12
+ watchBelowFold(newValue: boolean): void;
13
+ private scrollToTop;
14
+ validateLabel(): void;
15
+ componentWillLoad(): void;
16
+ componentDidLoad(): void;
17
+ disconnectedCallback(): void;
18
+ render(): any;
19
+ }
@@ -0,0 +1,2 @@
1
+ export declare const BANNER_TYPES: readonly ["neutral", "success", "warning", "danger", "info"];
2
+ export type BannerType = (typeof BANNER_TYPES)[number];
@@ -0,0 +1,49 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { BannerType } from './banner-types';
3
+ /**
4
+ * @slot heading - Slot for placing custom content within the banner's heading.
5
+ * @slot actions - Slot for placing custom actions (buttons, links, etc.) within the banner.
6
+ * @slot default - Slot for placing the main content/message of the banner.
7
+ */
8
+ export declare class PostBanner {
9
+ host: HTMLPostBannerElement;
10
+ bannerId: string;
11
+ classes: string;
12
+ hasActions: boolean;
13
+ hasHeading: boolean;
14
+ onDismissButtonClick: () => Promise<void>;
15
+ /**
16
+ * If `true`, a close button (×) is displayed and the banner can be dismissed by the user.
17
+ */
18
+ readonly dismissible: boolean;
19
+ validateDismissible(): void;
20
+ /**
21
+ * The label to use for the close button of a dismissible banner.
22
+ */
23
+ readonly dismissLabel: string;
24
+ validateDismissLabel(): void;
25
+ /**
26
+ * The icon to display in the banner. By default, the icon depends on the banner type.
27
+ *
28
+ * If `none`, no icon is displayed.
29
+ */
30
+ readonly icon: string;
31
+ validateIcon(): void;
32
+ /**
33
+ * The type of the banner.
34
+ */
35
+ readonly type: BannerType;
36
+ validateType(): void;
37
+ /**
38
+ * An event emitted when the banner element is dismissed, after the transition.
39
+ * It has no payload and only relevant for dismissible banners.
40
+ */
41
+ postDismissed: EventEmitter<void>;
42
+ componentDidLoad(): void;
43
+ componentWillRender(): void;
44
+ /**
45
+ * Triggers banner dismissal programmatically (same as clicking on the close button (×)).
46
+ */
47
+ dismiss(): Promise<void>;
48
+ render(): any;
49
+ }
@@ -0,0 +1,30 @@
1
+ export declare class PostBreadcrumb {
2
+ host: HTMLPostBreadcrumbElement;
3
+ /**
4
+ * The URL for the home breadcrumb item.
5
+ */
6
+ homeUrl: string;
7
+ /**
8
+ * The text label for the home breadcrumb item.
9
+ */
10
+ homeText: string;
11
+ breadcrumbItems: {
12
+ url: string;
13
+ text: string;
14
+ }[];
15
+ isConcatenated: boolean;
16
+ lastWindowWidth: number;
17
+ private breadcrumbNavRef?;
18
+ private lastItem;
19
+ validateUrl(): void;
20
+ componentWillLoad(): void;
21
+ componentDidLoad(): void;
22
+ disconnectedCallback(): void;
23
+ private waitForBreadcrumbRef;
24
+ private updateBreadcrumbItems;
25
+ private handleResize;
26
+ private getParentWidth;
27
+ private checkConcatenation;
28
+ private handleBreadcrumbItemClick;
29
+ render(): any;
30
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @slot default - Slot for placing the text inside the breadcrumb item.
3
+ */
4
+ export declare class PostBreadcrumbItem {
5
+ host: HTMLPostBreadcrumbItemElement;
6
+ /**
7
+ * The optional URL to which the breadcrumb item will link.
8
+ */
9
+ url?: string | URL;
10
+ private validUrl?;
11
+ /**
12
+ * The full path URL to validate.
13
+ */
14
+ fullUrl: string | undefined;
15
+ validateUrl(): void;
16
+ private constructUrl;
17
+ connectedCallback(): void;
18
+ private handleKeyDown;
19
+ render(): any;
20
+ }