@swisspost/design-system-components 10.0.0-next.54 → 10.0.0-next.55

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 (237) hide show
  1. package/dist/cjs/{index-Cb8CTrOz.js → index-B4gYpuJF.js} +9 -1
  2. package/dist/cjs/{index-DtvYdwe1.js → index-UFKR6Ok0.js} +2 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{package-CvZxvdTJ.js → package-DkJrv93P.js} +1 -1
  5. package/dist/cjs/post-accordion_2.cjs.entry.js +4 -4
  6. package/dist/cjs/post-avatar.cjs.entry.js +4 -4
  7. package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
  8. package/dist/cjs/post-banner.cjs.entry.js +4 -4
  9. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +4 -4
  10. package/dist/cjs/post-breadcrumbs.cjs.entry.js +5 -5
  11. package/dist/cjs/post-card-control.cjs.entry.js +5 -5
  12. package/dist/cjs/post-closebutton_15.cjs.entry.js +105 -72
  13. package/dist/cjs/post-collapsible_2.cjs.entry.js +10 -9
  14. package/dist/cjs/post-components.cjs.js +2 -2
  15. package/dist/cjs/post-footer.cjs.entry.js +4 -4
  16. package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
  17. package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
  18. package/dist/cjs/post-popover.cjs.entry.js +5 -5
  19. package/dist/cjs/post-rating.cjs.entry.js +4 -4
  20. package/dist/cjs/post-stepper-item.cjs.entry.js +18 -0
  21. package/dist/cjs/post-stepper.cjs.entry.js +106 -0
  22. package/dist/cjs/post-tab-header.cjs.entry.js +4 -4
  23. package/dist/cjs/post-tab-panel.cjs.entry.js +4 -4
  24. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  25. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +4 -4
  26. package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
  27. package/dist/collection/collection-manifest.json +2 -0
  28. package/dist/collection/components/post-accordion/post-accordion.js +2 -2
  29. package/dist/collection/components/post-avatar/post-avatar.css +1 -1
  30. package/dist/collection/components/post-banner/post-banner.css +1 -1
  31. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +6 -6
  32. package/dist/collection/components/post-card-control/post-card-control.js +3 -3
  33. package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +6 -5
  34. package/dist/collection/components/post-footer/post-footer.js +2 -2
  35. package/dist/collection/components/post-header/post-header.css +1 -1
  36. package/dist/collection/components/post-header/post-header.js +104 -54
  37. package/dist/collection/components/post-icon/post-icon.js +1 -1
  38. package/dist/collection/components/post-language-option/post-language-option.css +1 -1
  39. package/dist/collection/components/post-language-option/post-language-option.js +2 -2
  40. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
  41. package/dist/collection/components/post-language-switch/post-language-switch.js +2 -2
  42. package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
  43. package/dist/collection/components/post-list/post-list.js +1 -1
  44. package/dist/collection/components/post-list-item/post-list-item.js +1 -1
  45. package/dist/collection/components/post-logo/post-logo.js +1 -1
  46. package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -1
  47. package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
  48. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
  49. package/dist/collection/components/post-megadropdown/post-megadropdown.js +2 -2
  50. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
  51. package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +2 -2
  52. package/dist/collection/components/post-menu/post-menu.js +2 -2
  53. package/dist/collection/components/post-menu-item/post-menu-item.js +1 -1
  54. package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
  55. package/dist/collection/components/post-popover/post-popover.css +1 -1
  56. package/dist/collection/components/post-popover/post-popover.js +2 -2
  57. package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +1 -1
  58. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  59. package/dist/collection/components/post-rating/post-rating.js +2 -2
  60. package/dist/collection/components/post-stepper/post-stepper.css +1 -0
  61. package/dist/collection/components/post-stepper/post-stepper.js +204 -0
  62. package/dist/collection/components/post-stepper-item/post-stepper-item.css +7 -0
  63. package/dist/collection/components/post-stepper-item/post-stepper-item.js +18 -0
  64. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  65. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  66. package/dist/collection/components/post-tabs/post-tabs.js +1 -1
  67. package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
  68. package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
  69. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  70. package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
  71. package/dist/component-names.json +2 -0
  72. package/dist/components/index.d.ts +4 -0
  73. package/dist/components/index.js +2 -0
  74. package/dist/components/index2.js +2 -1
  75. package/dist/components/package.js +1 -1
  76. package/dist/components/post-accordion2.js +2 -2
  77. package/dist/components/post-avatar.js +2 -2
  78. package/dist/components/post-banner.js +1 -1
  79. package/dist/components/post-breadcrumbs.js +7 -7
  80. package/dist/components/post-card-control.js +3 -3
  81. package/dist/components/post-collapsible-trigger2.js +9 -8
  82. package/dist/components/post-footer.js +2 -2
  83. package/dist/components/post-header.js +89 -54
  84. package/dist/components/post-icon2.js +1 -1
  85. package/dist/components/post-language-option.js +3 -3
  86. package/dist/components/post-language-switch.js +3 -3
  87. package/dist/components/post-linkarea.js +1 -1
  88. package/dist/components/post-list-item.js +1 -1
  89. package/dist/components/post-list.js +1 -1
  90. package/dist/components/post-logo.js +1 -1
  91. package/dist/components/post-mainnavigation.js +2 -2
  92. package/dist/components/post-megadropdown-trigger.js +3 -3
  93. package/dist/components/post-megadropdown.js +3 -3
  94. package/dist/components/post-menu-item2.js +1 -1
  95. package/dist/components/post-menu-trigger2.js +1 -1
  96. package/dist/components/post-menu2.js +2 -2
  97. package/dist/components/post-popover-trigger.js +1 -1
  98. package/dist/components/post-popover.js +3 -3
  99. package/dist/components/post-popovercontainer2.js +2 -2
  100. package/dist/components/post-rating.js +2 -2
  101. package/dist/components/post-stepper-item.d.ts +11 -0
  102. package/dist/components/post-stepper-item.js +33 -0
  103. package/dist/components/post-stepper.d.ts +11 -0
  104. package/dist/components/post-stepper.js +134 -0
  105. package/dist/components/post-tab-header.js +1 -1
  106. package/dist/components/post-tab-panel.js +1 -1
  107. package/dist/components/post-tabs.js +1 -1
  108. package/dist/components/post-togglebutton.js +1 -1
  109. package/dist/components/post-tooltip-trigger.js +1 -1
  110. package/dist/components/post-tooltip.js +2 -2
  111. package/dist/components/react/index.js +1 -1
  112. package/dist/components/react/p-BhxZzOEC.js +3 -0
  113. package/dist/components/react/{p-nSFSgY-P.js → p-CSAMO7iJ.js} +5 -5
  114. package/dist/components/react/{p-CV7fm1rW.js → p-CYkf_7Y5.js} +2 -1
  115. package/dist/components/react/{p-BfLuYwf7.js → p-Ccrl2AQn.js} +2 -2
  116. package/dist/components/react/{p-DVxZMuPW.js → p-CewRvBtg.js} +4 -4
  117. package/dist/components/react/{p-BUxAs8N5.js → p-Cwiv86_f.js} +3 -3
  118. package/dist/components/react/{p-BK474oMI.js → p-D2waO0Zc.js} +2 -2
  119. package/dist/components/react/{p-2U_BGLjc.js → p-DBPOV12C.js} +3 -3
  120. package/dist/components/react/{p-mENtrn2l.js → p-DVGEExot.js} +4 -4
  121. package/dist/components/react/{p-Ccgu_WOx.js → p-Djvj8fd2.js} +3 -3
  122. package/dist/components/react/{p-D4NSCxrX.js → p-LtiDhYis.js} +11 -10
  123. package/dist/components/react/{p-D3CFjhAf.js → p-XrZzCOKT.js} +3 -3
  124. package/dist/components/react/{p-Dj7qWba5.js → p-v3pOrMNQ.js} +5 -5
  125. package/dist/components/react/post-accordion-item.js +1 -1
  126. package/dist/components/react/post-accordion.js +1 -1
  127. package/dist/components/react/post-avatar.js +3 -3
  128. package/dist/components/react/post-back-to-top.js +3 -3
  129. package/dist/components/react/post-banner.js +3 -3
  130. package/dist/components/react/post-breadcrumb-item.js +1 -1
  131. package/dist/components/react/post-breadcrumbs.js +14 -14
  132. package/dist/components/react/post-card-control.js +6 -6
  133. package/dist/components/react/post-closebutton.js +1 -1
  134. package/dist/components/react/post-collapsible-trigger.js +1 -1
  135. package/dist/components/react/post-collapsible.js +1 -1
  136. package/dist/components/react/post-footer.js +9 -9
  137. package/dist/components/react/post-header.js +90 -55
  138. package/dist/components/react/post-icon.js +1 -1
  139. package/dist/components/react/post-language-option.js +5 -5
  140. package/dist/components/react/post-language-switch.js +9 -9
  141. package/dist/components/react/post-linkarea.js +2 -2
  142. package/dist/components/react/post-list-item.js +2 -2
  143. package/dist/components/react/post-list.js +2 -2
  144. package/dist/components/react/post-logo.js +3 -3
  145. package/dist/components/react/post-mainnavigation.js +4 -4
  146. package/dist/components/react/post-megadropdown-trigger.js +5 -5
  147. package/dist/components/react/post-megadropdown.js +4 -4
  148. package/dist/components/react/post-menu-item.js +1 -1
  149. package/dist/components/react/post-menu-trigger.js +1 -1
  150. package/dist/components/react/post-menu.js +1 -1
  151. package/dist/components/react/post-popover-trigger.js +3 -3
  152. package/dist/components/react/post-popover.js +8 -8
  153. package/dist/components/react/post-popovercontainer.js +1 -1
  154. package/dist/components/react/post-rating.js +5 -5
  155. package/dist/components/react/post-stepper-item.d.ts +11 -0
  156. package/dist/components/react/post-stepper-item.js +34 -0
  157. package/dist/components/react/post-stepper.d.ts +11 -0
  158. package/dist/components/react/post-stepper.js +135 -0
  159. package/dist/components/react/post-tab-header.js +3 -3
  160. package/dist/components/react/post-tab-panel.js +3 -3
  161. package/dist/components/react/post-tabs.js +2 -2
  162. package/dist/components/react/post-togglebutton.js +2 -2
  163. package/dist/components/react/post-tooltip-trigger.js +3 -3
  164. package/dist/components/react/post-tooltip.js +5 -5
  165. package/dist/docs.json +175 -27
  166. package/dist/esm/{index-VmK3ABCB.js → index-Beaz8wEe.js} +2 -1
  167. package/dist/esm/{index-CFNKgUjL.js → index-wEFJ-c34.js} +9 -1
  168. package/dist/esm/loader.js +3 -3
  169. package/dist/esm/package-BhxZzOEC.js +3 -0
  170. package/dist/esm/post-accordion_2.entry.js +4 -4
  171. package/dist/esm/post-avatar.entry.js +4 -4
  172. package/dist/esm/post-back-to-top.entry.js +3 -3
  173. package/dist/esm/post-banner.entry.js +4 -4
  174. package/dist/esm/post-breadcrumb-item_2.entry.js +4 -4
  175. package/dist/esm/post-breadcrumbs.entry.js +5 -5
  176. package/dist/esm/post-card-control.entry.js +5 -5
  177. package/dist/esm/post-closebutton_15.entry.js +105 -72
  178. package/dist/esm/post-collapsible_2.entry.js +10 -9
  179. package/dist/esm/post-components.js +3 -3
  180. package/dist/esm/post-footer.entry.js +4 -4
  181. package/dist/esm/post-linkarea.entry.js +3 -3
  182. package/dist/esm/post-popover-trigger.entry.js +4 -4
  183. package/dist/esm/post-popover.entry.js +5 -5
  184. package/dist/esm/post-rating.entry.js +4 -4
  185. package/dist/esm/post-stepper-item.entry.js +16 -0
  186. package/dist/esm/post-stepper.entry.js +104 -0
  187. package/dist/esm/post-tab-header.entry.js +4 -4
  188. package/dist/esm/post-tab-panel.entry.js +4 -4
  189. package/dist/esm/post-tabs.entry.js +3 -3
  190. package/dist/esm/post-tooltip-trigger.entry.js +4 -4
  191. package/dist/esm/post-tooltip.entry.js +5 -5
  192. package/dist/post-components/p-01e678c9.entry.js +1 -0
  193. package/dist/post-components/p-034a453f.entry.js +1 -0
  194. package/dist/post-components/p-15a4cdbf.entry.js +1 -0
  195. package/dist/post-components/p-24dc54d1.entry.js +1 -0
  196. package/dist/post-components/p-2a2030bf.entry.js +1 -0
  197. package/dist/post-components/p-2ed84cc3.entry.js +1 -0
  198. package/dist/post-components/{p-77e43032.entry.js → p-3228968f.entry.js} +1 -1
  199. package/dist/post-components/p-3c01ddfe.entry.js +1 -0
  200. package/dist/post-components/{p-261b1452.entry.js → p-57288cb2.entry.js} +1 -1
  201. package/dist/post-components/{p-0e92dbef.entry.js → p-748b1f01.entry.js} +1 -1
  202. package/dist/post-components/{p-0ec2bdd7.entry.js → p-7745e46e.entry.js} +1 -1
  203. package/dist/post-components/{p-8f0fc02a.entry.js → p-7f635728.entry.js} +1 -1
  204. package/dist/post-components/p-82c178a3.entry.js +1 -0
  205. package/dist/post-components/p-9b5f8319.entry.js +1 -0
  206. package/dist/post-components/p-Beaz8wEe.js +1 -0
  207. package/dist/post-components/p-BhxZzOEC.js +1 -0
  208. package/dist/post-components/{p-96750e25.entry.js → p-a9644e54.entry.js} +1 -1
  209. package/dist/post-components/{p-658b1ccc.entry.js → p-af030a3a.entry.js} +1 -1
  210. package/dist/post-components/{p-e90688ab.entry.js → p-b8ba8139.entry.js} +1 -1
  211. package/dist/post-components/{p-bf41fe56.entry.js → p-cd03e6f2.entry.js} +1 -1
  212. package/dist/post-components/{p-02ea3ec5.entry.js → p-db935e8e.entry.js} +1 -1
  213. package/dist/post-components/{p-11c204e0.entry.js → p-e62e1f57.entry.js} +1 -1
  214. package/dist/post-components/{p-f1b815b6.entry.js → p-fb4b1641.entry.js} +1 -1
  215. package/dist/post-components/p-wEFJ-c34.js +2 -0
  216. package/dist/post-components/post-components.css +1 -1
  217. package/dist/post-components/post-components.esm.js +1 -1
  218. package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +1 -0
  219. package/dist/types/components/post-header/post-header.d.ts +15 -11
  220. package/dist/types/components/post-stepper/post-stepper.d.ts +38 -0
  221. package/dist/types/components/post-stepper-item/post-stepper-item.d.ts +3 -0
  222. package/dist/types/components.d.ts +62 -2
  223. package/hydrate/index.js +296 -124
  224. package/hydrate/index.mjs +296 -124
  225. package/package.json +7 -8
  226. package/dist/components/react/p-BXRsHuTS.js +0 -3
  227. package/dist/esm/package-BXRsHuTS.js +0 -3
  228. package/dist/post-components/p-197a0f25.entry.js +0 -1
  229. package/dist/post-components/p-3274ab81.entry.js +0 -1
  230. package/dist/post-components/p-BXRsHuTS.js +0 -1
  231. package/dist/post-components/p-CFNKgUjL.js +0 -2
  232. package/dist/post-components/p-VmK3ABCB.js +0 -1
  233. package/dist/post-components/p-b5b5e4b9.entry.js +0 -1
  234. package/dist/post-components/p-b8059ba1.entry.js +0 -1
  235. package/dist/post-components/p-d6134e24.entry.js +0 -1
  236. package/dist/post-components/p-e7029b9e.entry.js +0 -1
  237. package/dist/post-components/p-ea5da614.entry.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-components",
3
- "version": "10.0.0-next.54",
3
+ "version": "10.0.0-next.55",
4
4
  "description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
5
5
  "author": "Swiss Post <design-system@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -69,8 +69,8 @@
69
69
  "@floating-ui/dom": "1.7.4",
70
70
  "@oddbird/popover-polyfill": "0.6.0",
71
71
  "@stencil/core": "4.35.0",
72
- "@swisspost/design-system-icons": "10.0.0-next.54",
73
- "@swisspost/design-system-styles": "10.0.0-next.54",
72
+ "@swisspost/design-system-icons": "10.0.0-next.55",
73
+ "@swisspost/design-system-styles": "10.0.0-next.55",
74
74
  "ally.js": "1.4.1",
75
75
  "long-press-event": "2.5.0",
76
76
  "nanoid": "5.1.6"
@@ -81,10 +81,10 @@
81
81
  "@percy/cli": "1.31.4",
82
82
  "@percy/cypress": "3.1.6",
83
83
  "@stencil-community/eslint-plugin": "0.10.0",
84
- "@stencil/angular-output-target": "0.10.2",
85
- "@stencil/react-output-target": "=0.8.2",
84
+ "@stencil/angular-output-target": "1.1.1",
85
+ "@stencil/react-output-target": "1.2.0",
86
86
  "@stencil/sass": "3.0.12",
87
- "@swisspost/design-system-eslint": "10.0.0-next.54",
87
+ "@swisspost/design-system-eslint": "10.0.0-next.55",
88
88
  "@types/jest": "29.5.14",
89
89
  "@types/mock-fs": "4.13.4",
90
90
  "@types/node": "22.10.5",
@@ -122,7 +122,7 @@
122
122
  "start": "pnpm prebuild:script && stencil build --dev --watch --docs --docs-readme",
123
123
  "prebuild": "pnpm clean && pnpm prebuild:script",
124
124
  "build": "stencil build --docs-readme",
125
- "postbuild": "pnpm copy:component-names && pnpm fix:export:components-react & pnpm copy:styles:components-react & pnpm copy:styles:components-angular",
125
+ "postbuild": "pnpm copy:component-names & pnpm copy:styles:components-react & pnpm copy:styles:components-angular",
126
126
  "clean": "rimraf --glob dist hydrate loader loaders www src/styles/generated src/_generated ../components-react/**/stencil-generated/ ../components-angular/projects/components/src/lib/stencil-generated/",
127
127
  "unit": "stencil test --spec",
128
128
  "unit:watch": "stencil test --spec --watchAll --silent",
@@ -135,7 +135,6 @@
135
135
  "generate": "stencil generate",
136
136
  "prebuild:script": "node --loader ts-node/esm prebuild.ts",
137
137
  "copy:component-names": "copyfiles -f src/_generated/component-names.json dist/",
138
- "fix:export:components-react": "replace './components.server' './components.server.js' ../components-react/src/stencil-generated/server/components.ts",
139
138
  "copy:styles:components-react": "copyfiles -f www/build/post-components.css ../components-react/src/stencil-generated/",
140
139
  "copy:styles:components-angular": "copyfiles -f www/build/post-components.css ../components-angular/projects/components/src/lib/stencil-generated/"
141
140
  }
@@ -1,3 +0,0 @@
1
- const version = "10.0.0-next.54";
2
-
3
- export { version as v };
@@ -1,3 +0,0 @@
1
- const version = "10.0.0-next.54";
2
-
3
- export { version as v };
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as s,a as i}from"./p-CFNKgUjL.js";import{v as a}from"./p-BXRsHuTS.js";const c=`:where(${["a"].join(",")})`,n=class{constructor(t){e(this,t),this.mutationObserver=new MutationObserver(this.checkInteractiveElements.bind(this))}dispatchClick({ctrlKey:e,shiftKey:t,altKey:s,metaKey:i}){this.interactiveElements[0]?.dispatchEvent(new MouseEvent("click",{ctrlKey:e,shiftKey:t,altKey:s,metaKey:i}))}checkInteractiveElements(){this.interactiveElements=this.host.querySelectorAll(c),this.interactiveElements.length>1&&console.error(`The \`post-linkarea\` currently contains ${this.interactiveElements.length} interactive elements when it should contain only one.`)}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0})}componentWillLoad(){this.checkInteractiveElements()}disconnectedCallback(){this.mutationObserver.disconnect()}render(){return t(s,{key:"faa2a8c9b2fc4261496e0dbb091bae2aeee04e3b","data-version":a,onClick:e=>this.dispatchClick(e),tabindex:"0"},t("slot",{key:"57c30507720e9a04436cb4e518aa19b023cd2c39"}))}get host(){return i(this)}};n.style=":host{display:block;cursor:pointer}";export{n as post_linkarea}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as e,a as r}from"./p-CFNKgUjL.js";import{v as a}from"./p-BXRsHuTS.js";import{c as i}from"./p-VmK3ABCB.js";import{b as s}from"./p-CJ80BZ06.js";const n=["grid-1","grid-2","grid-3","grid-4"],p=class{validateLabel(){i(this,"label","string")}constructor(t){o(this,t),this.device=s.get("device"),this.gridSlotDisplayed={},this.breakpointChange=o=>{this.device=o.detail},this.handleGridSlotChange=(...o)=>t=>{o.includes(this.device)&&t.target instanceof HTMLSlotElement&&this.updateGridSlotDisplay(t.target.name,t.target.assignedElements().length>0)},this.handleGridSlotChange=this.handleGridSlotChange.bind(this)}connectedCallback(){window.addEventListener("postBreakpoint:device",this.breakpointChange)}componentWillLoad(){this.validateLabel(),n.forEach((o=>{const t=this.host.querySelectorAll(`[slot="${o}"]`);this.updateGridSlotDisplay(o,t.length>0)}))}disconnectedCallback(){window.removeEventListener("postBreakpoint:device",this.breakpointChange)}updateGridSlotDisplay(o,t){this.gridSlotDisplayed[o]!==t&&(this.gridSlotDisplayed={...this.gridSlotDisplayed,[o]:t})}renderAccordion(){return t("post-accordion",{headingLevel:3,multiple:!0},n.map((o=>t("post-accordion-item",{class:{"d-none":!this.gridSlotDisplayed[o]},collapsed:!0},t("span",{slot:"header"},t("slot",{name:o+"-title"})),t("slot",{onSlotchange:this.handleGridSlotChange("mobile"),name:o})))))}renderColumns(){return n.map((o=>t("div",{class:{"d-none":!this.gridSlotDisplayed[o]}},t("slot",{onSlotchange:this.handleGridSlotChange("tablet","desktop"),name:o}))))}render(){return t(e,{key:"36aa67b511dd3fdb9c0244b89f80c24feb86b3a6","data-version":a,"data-color-scheme":"light"},t("footer",{key:"0b4accb1d39734fda0b2ae7e602ae05618d1f6f8"},t("h2",{key:"3b6147bb75772338192b17da5086e33d45f0cc4e",class:"visually-hidden"},this.label),t("div",{key:"3ae237e599d226c8413bd785540f2706a61f130f",class:"footer-container"},t("div",{key:"c844467c43a718b117cc863beb75ac1ffccc7286",class:"footer-grid"},"mobile"===this.device?this.renderAccordion():this.renderColumns()),t("div",{key:"ab0859972f61a8a0b28184654b0b8a7da5d6d199",class:"footer-column"},t("div",{key:"9356dc60f36a614718b1e668aa6c8f988e611305",class:"footer-socialmedia"},t("slot",{key:"aeea4c639ae1b092a90816cebfc892e7ae9608ac",name:"socialmedia"})),t("div",{key:"6404adf8c76f4756c729c453a4f5285577973596",class:"footer-app"},t("slot",{key:"ebfbf7f1b5db296b1de165035156819043d2a329",name:"app"}))),t("div",{key:"38017619c9da0f5abd0b34e9406f94e239e54b99",class:"footer-businesssectors"},t("slot",{key:"93f13e71cbd102074b6f2a55c369470f66b3ae8d",name:"businesssectors"})),t("div",{key:"88c077c96627d557a47d3136a65196b67fafc2c1",class:"footer-meta"},t("slot",{key:"9c0f64a2f2d715d6b420938efa63c861415376bd",name:"meta"})),t("div",{key:"1dc3cdbe0cb628d7e688c15de5959758e8837489",class:"footer-copyright"},t("slot",{key:"b62fe042ac7b098747bb21605fed2fa6883dbb23",name:"copyright"})))))}get host(){return r(this)}static get watchers(){return{label:["validateLabel"]}}};p.style=":host{display:block}footer{background-color:#fc0;--post-footer-container-padding-block:32px;--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-grid-template:auto / auto;--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:0;--post-footer-grid-margin-block-end:24px;--post-footer-grid-padding-block-end:0;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-post-list-flex-direction:column;--post-footer-post-list-gap:8px;--post-footer-post-list-align-items:start;--post-footer-socialmedia-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-app-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-businesssectors-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-meta-margin-block-end:16px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-container-padding-block:40px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-grid-row-gap:32px;--post-footer-grid-column-gap:16px;--post-footer-grid-margin-block-end:32px;--post-footer-grid-padding-block-end:32px;--post-footer-post-list-flex-direction:row;--post-footer-post-list-gap:16px;--post-footer-post-list-align-items:center;--post-footer-meta-margin-block-end:8px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px}}@media screen and (min-width: 1024px){footer{--post-footer-container-padding-block:56px;--post-footer-grid-template:auto / repeat(4, auto);--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:24px;--post-footer-grid-margin-block-end:40px;--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-post-list-gap:24px;--post-footer-businesssectors-margin-block-end:24px;--post-footer-meta-font-size:16px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding:var(--post-footer-container-padding-block) var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);row-gap:var(--post-footer-grid-row-gap);column-gap:var(--post-footer-grid-column-gap);margin-block-end:var(--post-footer-grid-margin-block-end);padding-block-end:var(--post-footer-grid-padding-block-end)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(post-list),.footer-app ::slotted(post-list),.footer-businesssectors ::slotted(post-list),.footer-meta ::slotted(post-list){display:flex !important;flex-direction:var(--post-footer-post-list-flex-direction) !important;gap:var(--post-footer-post-list-gap) !important;align-items:var(--post-footer-post-list-align-items) !important}.footer-socialmedia{margin-block-end:var(--post-footer-socialmedia-margin-block-end)}.footer-app{margin-block-end:var(--post-footer-app-margin-block-end)}.footer-businesssectors{margin-block-end:var(--post-footer-businesssectors-margin-block-end)}.footer-meta{margin-block-end:var(--post-footer-meta-margin-block-end);font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:.5rem;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}";export{p as post_footer}
@@ -1 +0,0 @@
1
- const t="10.0.0-next.54";export{t as v}
@@ -1,2 +0,0 @@
1
- const t=()=>{};var e=Object.defineProperty,n=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(n||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),l="type",s="value",r="serialized:",i=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},a=(t,e)=>e in t,u=(t,e)=>(0,console.error)(t,e),f=new Map,d=new Map,p="s-id",h="sty-id",$="c-id",m="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="http://www.w3.org/1999/xlink",y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],b="undefined"!=typeof window?window:{},g={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)},w=t=>Promise.resolve(t),S=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),j=!1,k=[],O=[],x=(t,e)=>n=>{t.push(n),j||(j=!0,e&&4&g.o?N(E):g.raf(E))},C=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){u(t)}t.length=0},E=()=>{C(k),C(O),(j=k.length>0)&&g.raf(E)},N=t=>w().then(t),I=x(O,!0),M=t=>"object"==(t=typeof t)||"function"===t;function R(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}var L=class t{static fromLocalValue(e){const n=e[l],o=s in e?e[s]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,l]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,s=t.fromLocalValue(l);e.set(o,s)}return e;case"object":const l={};for(const[e,n]of o)l[e]=t.fromLocalValue(n);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const e=t[l];return!!Object.values({...n,...o}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(s))}};((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>P,map:()=>T,ok:()=>A,unwrap:()=>D,unwrapErr:()=>F});var A=t=>({isOk:!0,isErr:!1,value:t}),P=t=>({isOk:!1,isErr:!0,value:t});function T(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>A(t))):A(n)}if(t.isErr)return P(t.value);throw"should never get here"}var D=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value};function U(){const t=this.attachShadow({mode:"open"});if(S){const e=new CSSStyleSheet;e.replaceSync(":where(post-accordion,post-accordion-item,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-card-control,post-closebutton,post-collapsible,post-collapsible-trigger,post-footer,post-header,post-icon,post-language-option,post-language-switch,post-linkarea,post-list,post-list-item,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-tab-header,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not([data-hydrated],:defined){visibility:hidden}"),t.adoptedStyleSheets.push(e)}}var W=t=>{const e=Y(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&V(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!_(t,z(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Y(t,"childNodes").length&&W(t)}};function V(t,e,n){let o,l=0,s=[];for(;l<t.length;l++)o=t[l],!o["s-sr"]||e&&o["s-hn"]!==e||void 0!==n||s.push(o),s=[...s,...V(o.childNodes,e,n)];return s}var _=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)z(l)!==e||!n&&l["s-sr"]||o.push(l);return o},B=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,H=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,r=Y(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=Y(s,"childNodes"),e=[l];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=e["s-hn"]},z=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function J(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e})(l.childNodes)).forEach((t=>{o===z(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function Y(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var q=(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&&!M(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?G(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,Q);const u=G(t,null);return u.u=e,c.length>0&&(u.p=c),u.h=l,u.$=s,u},G=(t,e)=>({o:0,m:t,i:e,v:null,p:null,u:null,h:null,$:null}),K={},Q={forEach:(t,e)=>t.map(X).forEach(e),map:(t,e)=>t.map(X).map(e).map(Z)},X=t=>({vattrs:t.u,vchildren:t.p,vkey:t.h,vname:t.$,vtag:t.m,vtext:t.i}),Z=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),q(t.vtag,e,...t.vchildren||[])}const e=G(t.vtag,t.vtext);return e.u=t.vattrs,e.p=t.vchildren,e.h=t.vkey,e.$=t.vname,e},tt=(t,e,n,o,l,s,r,i=[])=>{let c,a,u,f;if(1===s.nodeType){if(c=s.getAttribute($),c&&(a=c.split("."),a[0]===r||"0"===a[0])){u=nt({o:0,S:a[0],j:a[1],k:a[2],O:a[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className||""}}),e.push(u),s.removeAttribute($),t.p||(t.p=[]);const l=u.v.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===u.m&&ot(l,a[2],u,s,t,e,n,o,i),u.v["s-sn"]=l,u.v.removeAttribute("s-sn")),void 0!==u.O&&(t.p[u.O]=u),t=u,o&&"0"===u.k&&(o[u.O]=u.v)}if(s.shadowRoot)for(f=s.shadowRoot.childNodes.length-1;f>=0;f--)tt(t,e,n,o,l,s.shadowRoot.childNodes[f],r,i);const d=s.__childNodes||s.childNodes;for(f=d.length-1;f>=0;f--)tt(t,e,n,o,l,d[f],r,i)}else if(8===s.nodeType)a=s.nodeValue.split("."),(a[1]===r||"0"===a[1])&&(c=a[0],u=nt({S:a[1],j:a[2],k:a[3],O:a[4]||"0",v:s,u:null,p:null,h:null,$:null,m:null,i:null}),"t"===c?(u.v=st(s,3),u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),r===u.S&&(t.p||(t.p=[]),t.p[u.O]=u),o&&"0"===u.k&&(o[u.O]=u.v))):"c"===c?(u.v=st(s,8),u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.S===r&&("s"===c?ot(s["s-sn"]=a[5]||"",a[2],u,s,t,e,n,o,i):"r"===c&&(o?s.remove():(l["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=G(null,s.textContent);e.v=s,e.O="0",t.p=[e]}else 3!==s.nodeType||s.wholeText.trim()||s.remove();return t},et=(t,e)=>{if(1===t.nodeType){const n=t[p]||t.getAttribute(p);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)et(t.shadowRoot.childNodes[o],e);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)et(l[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},nt=t=>({o:0,S:null,j:null,k:null,O:"0",v:null,u:null,p:null,h:null,$:null,m:null,i:null,...t});function ot(t,e,n,o,l,s,r,i,c){o["s-sr"]=!0,n.$=t||null,n.m="slot";const a=(null==l?void 0:l.v)?l.v["s-id"]||l.v.getAttribute("s-id"):"";if(i&&b.document){const s=n.v=b.document.createElement(n.m);n.$&&n.v.setAttribute("name",t),a&&a!==n.S?l.v.insertBefore(s,l.v.children[0]):o.parentNode.insertBefore(n.v,o),lt(c,e,t,o,n.S),o.remove(),"0"===n.k&&(i[n.O]=n.v)}else{const r=n.v,i=a&&a!==n.S&&l.v.shadowRoot;lt(c,e,t,o,i?a:n.S),J(o),i&&l.v.insertBefore(r,l.v.children[0]),s.push(n)}r.push(n),l.p||(l.p=[]),l.p[n.O]=n}var lt=(t,e,n,o,l)=>{let s=o.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:o,node:s,hostId:l}),s=s.nextSibling},st=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},rt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};rt("::slotted"),rt(":host"),rt(":host-context");var it,ct,at=(t,e,n)=>{if("string"==typeof t&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return"string"==typeof t&&t.startsWith(r)?t=function(t){return"string"==typeof t&&t.startsWith(r)?L.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||M(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},ut=t=>i(t).$hostElement$,ft=(t,e)=>{const n=ut(t);return{emit:t=>dt(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},dt=(t,e,n)=>{const o=g.ce(e,n);return t.dispatchEvent(o),o},pt=new WeakMap,ht=(t,e,n)=>{let o=d.get(t);S&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,d.set(t,o)},$t=(t,e)=>{var n;const o=mt(e),l=d.get(o);if(!b.document)return o;if(t=11===t.nodeType?t:b.document,l)if("string"==typeof l){let s,r=pt.get(t=t.head||t);if(r||pt.set(t,r=new Set),!r.has(o)){if(t.host&&(s=t.querySelector(`[${h}="${o}"]`)))s.innerHTML=l;else{s=b.document.createElement("style"),s.innerHTML=l;const o=null!=(n=g.C)?n:R(b.document);if(null!=o&&s.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(S){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=m),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o},mt=t=>"sc-"+t.N,vt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),yt=(t,e,n,o,l,s,r)=>{if(n===o)return;let i=a(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=gt(n);let s=gt(o);t["s-si"]&&r?(s.push(t["s-si"]),l.forEach((e=>{e.startsWith(t["s-si"])&&s.push(e)})),s=[...new Set(s)],e.add(...s)):(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 r=M(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(v,e):t.removeAttribute(e)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(v,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):a(b,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(wt);e=e.replace(St,""),n&&g.rel(t,e,n,l),o&&g.ael(t,e,o,l)}},bt=/\s/,gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(bt):[]),wt="Capture",St=RegExp(wt+"$"),jt=(t,e,n,o)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,s=t&&t.u||{},r=e.u||{};for(const t of kt(Object.keys(s)))t in r||yt(l,t,s[t],void 0,n,e.o,o);for(const t of kt(Object.keys(r)))yt(l,t,s[t],r[t],n,e.o,o)};function kt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ot=!1,xt=!1,Ct=!1,Et=!1,Nt=(t,e,n)=>{var o;const l=e.p[n];let s,r,i,c=0;if(Ot||(Ct=!0,"slot"===l.m&&(l.o|=l.p?2:1)),null!==l.i)s=l.v=b.document.createTextNode(l.i);else if(1&l.o)s=l.v=b.document.createTextNode(""),jt(null,l,Et);else{if(Et||(Et="svg"===l.m),!b.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=l.v=b.document.createElementNS(Et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ot&&2&l.o?"slot-fb":l.m),Et&&"foreignObject"===l.m&&(Et=!1),jt(null,l,Et),l.p)for(c=0;c<l.p.length;++c)r=Nt(t,l,c),r&&s.appendChild(r);"svg"===l.m?Et=!1:"foreignObject"===s.tagName&&(Et=!0)}return s["s-hn"]=ct,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=it,s["s-sn"]=l.$||"",s["s-rf"]=null==(o=l.u)?void 0:o.ref,J(s),i=t&&t.p&&t.p[n],i&&i.m===l.m&&t.v&&It(t.v,!1)),s},It=(t,e)=>{g.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ct&&o["s-ol"]&&(Ut(At(o).parentNode,o,At(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ct=!0),e&&It(o,e)}g.o&=-2},Mt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===ct&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=Nt(null,n,l),r&&(o[l].v=r,Ut(i,r,At(e))))},Rt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;Ft(e),t&&(xt=!0,t["s-ol"]?t["s-ol"].remove():It(t,!0),t.remove())}}},Lt=(t,e,n=!1)=>t.m===e.m&&("slot"===t.m?t.$===e.$:n?(n&&!t.h&&e.h&&(t.h=e.h),!0):t.h===e.h),At=t=>t&&t["s-ol"]||t,Pt=(t,e,n=!1)=>{const o=e.v=t.v,l=t.p,s=e.p,r=e.m,i=e.i;let c;null===i?(jt(t,e,Et="svg"===r||"foreignObject"!==r&&Et,n),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,a=0,u=0,f=e.length-1,d=e[0],p=e[f],h=o.length-1,$=o[0],m=o[h];for(;i<=f&&c<=h;)if(null==d)d=e[++i];else if(null==p)p=e[--f];else if(null==$)$=o[++c];else if(null==m)m=o[--h];else if(Lt(d,$,l))Pt(d,$,l),d=e[++i],$=o[++c];else if(Lt(p,m,l))Pt(p,m,l),p=e[--f],m=o[--h];else if(Lt(d,m,l))"slot"!==d.m&&"slot"!==m.m||It(d.v.parentNode,!1),Pt(d,m,l),Ut(t,d.v,p.v.nextSibling),d=e[++i],m=o[--h];else if(Lt(p,$,l))"slot"!==d.m&&"slot"!==m.m||It(p.v.parentNode,!1),Pt(p,$,l),Ut(t,p.v,d.v),p=e[--f],$=o[++c];else{for(a=-1,u=i;u<=f;++u)if(e[u]&&null!==e[u].h&&e[u].h===$.h){a=u;break}a>=0?(r=e[a],r.m!==$.m?s=Nt(e&&e[c],n,a):(Pt(r,$,l),e[a]=void 0,s=r.v),$=o[++c]):(s=Nt(e&&e[c],n,c),$=o[++c]),s&&Ut(At(d.v).parentNode,s,At(d.v))}i>f?Mt(t,null==o[h+1]?null:o[h+1].v,n,o,c,h):c>h&&Rt(e,i,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),Mt(o,null,e,s,0,s.length-1)):!n&&null!==l&&Rt(l,0,l.length-1),Et&&"svg"===r&&(Et=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},Tt=[],Dt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(B(e,l)){let n=Tt.find((t=>t.I===e));xt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.I["s-sh"]=t["s-hn"],n.M=t):(e["s-sh"]=t["s-hn"],Tt.push({M:t,I:e})),e["s-sr"]&&Tt.map((t=>{B(t.I,e["s-sn"])&&(n=Tt.find((t=>t.I===e)),n&&!t.M&&(t.M=n.M))}))}else Tt.some((t=>t.I===e))||Tt.push({I:e})}1===t.nodeType&&Dt(t)}},Ft=t=>{t.u&&t.u.ref&&t.u.ref(null),t.p&&t.p.map(Ft)},Ut=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Wt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.R=()=>{e["s-p"].splice(n-1,1),o()})))}},Vt=(t,e)=>{if(t.o|=16,!(4&t.o))return Wt(t,t.L),I((()=>_t(t,e)));t.o|=512},_t=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.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 l;return e?(t.o|=256,t.A&&(t.A.map((([t,e])=>Gt(o,t,e,n))),t.A=void 0),l=Gt(o,"componentWillLoad",void 0,n)):l=Gt(o,"componentWillUpdate",void 0,n),l=Bt(l,(()=>Gt(o,"componentWillRender",void 0,n))),Bt(l,(()=>zt(t,o,e)))},Bt=(t,e)=>Ht(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ht=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,zt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.P,n=t.$hostElement$,o=e.o,l=$t(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);Jt(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Yt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Jt=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.P,a=t.T||G(null,null),u=(t=>t&&t.m===K)(e)?e:q(null,null,e);if(ct=i.tagName,c.D&&(u.u=u.u||{},c.D.map((([t,e])=>u.u[e]=i[t]))),n&&u.u)for(const t of Object.keys(u.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=i[t]);if(u.m=null,u.o|=4,t.T=u,u.v=a.v=i.shadowRoot||i,Ot=!(!(1&c.o)||128&c.o),it=i["s-cr"],xt=!1,Pt(a,u,n),g.o|=1,Ct){Dt(u.v);for(const t of Tt){const e=t.I;if(!e["s-ol"]&&b.document){const t=b.document.createTextNode("");t["s-nr"]=e,Ut(e.parentNode,e["s-ol"]=t,e)}}for(const t of Tt){const e=t.I,i=t.M;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||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.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),Ut(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}xt&&W(u.v),g.o&=-2,Tt.length=0,it=void 0})(t,e,o)}catch(e){u(e,t.$hostElement$)}return null},Yt=t=>{const e=t.$hostElement$,n=t.t,o=t.L;Gt(n,"componentDidRender",void 0,e),64&t.o?Gt(n,"componentDidUpdate",void 0,e):(t.o|=64,Kt(e),Gt(n,"componentDidLoad",void 0,e),t.F(e),o||qt()),t.U(e),t.R&&(t.R(),t.R=void 0),512&t.o&&N((()=>Vt(t,!1))),t.o&=-517},qt=()=>{N((()=>dt(b,"appload",{detail:{namespace:"post-components"}})))},Gt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){u(t,o)}},Kt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Qt=(t,e,n,o)=>{const l=i(t);if(!l)throw Error(`Couldn't find host element for "${o.N}" 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/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l.W.get(e),c=l.o,a=l.t;if(n=at(n,o.V[e][0],!!(64&o.o)),(!(8&c)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(l.W.set(e,n),a)){if(o._&&128&c){const t=o._[e];t&&t.map((t=>{try{a[t](n,r,e)}catch(t){u(t,s)}}))}if(2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,r,e))return;Vt(l,!1)}}},Xt=(t,e,n)=>{var o,l;const s=t.prototype;if(64&e.o&&1&n&&y.forEach((t=>{Object.defineProperty(s,t,{value(...e){const n=i(this),o=n.t;if(o){const n=o[t];"function"==typeof n&&n.call(o,...e)}else n.B.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})})),e.V||e._||t.watchers){t.watchers&&!e._&&(e._=t.watchers);const r=Object.entries(null!=(o=e.V)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:l,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};l&&(e.V[t][0]|=2048),r&&(e.V[t][0]|=4096),(1&n||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.V[t][0]))return((t,e)=>i(this).W.get(e))(0,t);const n=i(this),o=n?n.t:s;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=i(this);if(r){const n=32&o?this[t]:s.$hostElement$[t];return void 0===n&&s.W.get(t)?l=s.W.get(t):!s.W.get(t)&&n&&s.W.set(t,n),r.call(this,at(l,o,!!(64&e.o))),void Qt(this,t,l=32&o?this[t]:s.$hostElement$[t],e)}{if(!(1&n&&4096&e.V[t][0]))return Qt(this,t,l,e),void(1&n&&!s.t&&s.B.then((()=>{4096&e.V[t][0]&&s.t[t]!==s.W.get(t)&&(s.t[t]=l)})));const r=()=>{const n=s.t[t];!s.W.get(t)&&n&&s.W.set(t,n),s.t[t]=at(l,o,!!(64&e.o)),Qt(this,t,s.t[t],e)};s.t?r():s.B.then((()=>r()))}}})}else 1&n&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const o=i(this);return null==(n=null==o?void 0:o.H)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,o,l){g.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))l=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const n=i(this),s=null==n?void 0:n.o;if(s&&!(8&s)&&128&s&&l!==o){const s=n.t,i=null==(r=e._)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,l,o,t)}))}return}}const a=Object.getOwnPropertyDescriptor(s,c);(l=(null!==l||"boolean"!=typeof this[c])&&l)===this[c]||a.get&&!a.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e._)?l:{}),...r.filter((([t,e])=>15&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.D)||l.push([t,s])),s}))]))}}return t},Zt=(t,e)=>{Gt(t,"connectedCallback",void 0,e)},te=t=>{if(!(1&g.o)){const e=i(t),n=e.P,o=()=>{};if(1&e.o)le(t,e,n.J),(null==e?void 0:e.t)?Zt(e.t,t):(null==e?void 0:e.B)&&e.B.then((()=>Zt(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(p),o){if(1&n.o){const e=$t(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}((t,e,n,o)=>{var l;const s=t.shadowRoot,r=[],i=[],c=s?[]:null,a=G(e,null);a.v=t,Object.entries((null==(l=o.P)?void 0:l.V)||{}).forEach((([e,[n,l]])=>{var s,r;if(!(31&n))return;const i=t.getAttribute(l||e);if(null!==i){const t=at(i,n,!!(64&(null==(s=o.P)?void 0:s.o)));null==(r=null==o?void 0:o.W)||r.set(e,t)}})),!b.document||g.Y&&g.Y.size||et(b.document.body,g.Y=new Map),t[p]=n,t.removeAttribute(p),o.T=tt(a,r,[],c,t,t,n,i);let u=0;const f=r.length;let d;for(;u<f;u++){d=r[u];const n=d.S+"."+d.j,o=g.Y.get(n),l=d.v;s||(l["s-hn"]=e.toUpperCase(),"slot"===d.m&&(l["s-cr"]=t["s-cr"])),"slot"===d.m&&(d.$=d.v["s-sn"]||d.v.name||null,d.p?(d.o|=2,d.v.childNodes.length||d.p.forEach((t=>{d.v.appendChild(t.v)}))):d.o|=1),o&&o.isConnected&&(s&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),o.parentNode.removeChild(o),s||(l["s-oo"]=parseInt(d.j))),g.Y.delete(n)}const h=[],$=i.length;let m,v,y,w,S=0;for(;S<$;S++)if(m=i[S],m&&m.length)for(y=m.length,v=0;v<y;v++){if(w=m[v],h[w.hostId]||(h[w.hostId]=g.Y.get(w.hostId)),!h[w.hostId])continue;const t=h[w.hostId];t.shadowRoot&&s||(w.slot["s-cr"]=t["s-cr"],w.slot["s-cr"]=!w.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],H(w.node,w.slot,0,w.node["s-oo"])),t.shadowRoot&&w.node.parentElement!==t&&t.appendChild(w.node)}if(s&&!s.childNodes.length){let e=0;const n=c.length;if(n){for(;e<n;e++)s.appendChild(c[e]);Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}g.Y.delete(t["s-id"]),o.$hostElement$=t})(t,n.N,o,e)}o||12&n.o&&ee(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Wt(e,e.L=n);break}}n.V&&Object.entries(n.V).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.q){const l=((t,e)=>{const n=t.N.replace(/-/g,"_"),o=t.q;if(!o)return;const l=f.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(f.set(o,t),t[n])),(t=>{u(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.N}#${e.G}" was not found`);o.isProxied||(n._=o.watchers,Xt(o,n,2),o.isProxied=!0);const s=()=>{};e.o|=8;try{new o(e)}catch(e){u(e,t)}e.o&=-9,e.o|=128,s(),Zt(e.t,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=mt(n);if(!d.has(e)){const o=()=>{};ht(e,t,!!(1&n.o)),o()}}}const l=e.L,s=()=>Vt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(t,e,n)}o()}},ee=t=>{if(!b.document)return;const e=t["s-cr"]=b.document.createComment("");e["s-cn"]=!0,Ut(t,e,t.firstChild)},ne=(t,e)=>{Gt(t,"disconnectedCallback",void 0,e||t)},oe=(t,e={})=>{var n;if(!b.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=e.exclude||[],s=b.customElements,r=b.document.head,c=r.querySelector("meta[charset]"),a=b.document.createElement("style"),u=[];let f,d=!0;Object.assign(g,e),g.l=new URL(e.resourcesUrl||"./",b.document.baseURI).href,g.o|=2,(()=>{if(!b.document)return;const t=b.document.querySelectorAll(`[${h}]`);let e=0;for(;e<t.length;e++)ht(t[e].getAttribute(h),vt(t[e].innerHTML),!0)})();let p=!1;if(t.map((t=>{t[1].map((e=>{var n;const r={o:e[0],N:e[1],V:e[2],J:e[3]};4&r.o&&(p=!0),r.V=e[2],r.J=e[3],r.D=[],r._=null!=(n=e[4])?n:{};const c=r.N,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,P:e,W:new Map};n.H=new Promise((t=>n.U=t)),n.B=new Promise((t=>n.F=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.N}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else U.call(t,r)}connectedCallback(){const t=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,le(this,t,r.J)),f&&(clearTimeout(f),f=null),d?u.push(this):g.jmp((()=>te(this)))}disconnectedCallback(){g.jmp((()=>(async t=>{if(!(1&g.o)){const e=i(t);e.K&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.t)?ne(e.t,t):(null==e?void 0:e.B)&&e.B.then((()=>ne(e.t,t)))}pt.has(t)&&pt.delete(t),t.shadowRoot&&pt.has(t.shadowRoot)&&pt.delete(t.shadowRoot)})(this))),g.raf((()=>{var t;const e=i(this),n=u.findIndex((t=>t===this));n>-1&&u.splice(n,1),(null==(t=null==e?void 0:e.T)?void 0:t.v)instanceof Node&&!e.T.v.isConnected&&delete e.T.v}))}componentOnReady(){return i(this).B}};64&r.o&&(a.formAssociated=!0),r.q=t[0],l.includes(c)||s.get(c)||(o.push(c),s.define(c,Xt(a,r,1)))}))})),o.length>0&&(p&&(a.textContent+=m),a.innerHTML.length)){a.setAttribute("data-styles","");const t=null!=(n=g.C)?n:R(b.document);null!=t&&a.setAttribute("nonce",t),r.insertBefore(a,c?c.nextSibling:r.firstChild)}d=!1,u.length?u.map((t=>t.connectedCallback())):g.jmp((()=>f=setTimeout(qt,30)))},le=(t,e,n)=>{n&&b.document&&n.map((([n,o,l])=>{const s=re(b.document,t,n),r=se(e,l),i=ie(n);g.ael(s,o,r,i),(e.K=e.K||[]).push((()=>g.rel(s,o,r,i)))}))},se=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.A=t.A||[]).push([e,n])}catch(e){u(e,t.$hostElement$)}},re=(t,e,n)=>8&n?b:e,ie=t=>({passive:!!(1&t),capture:!!(2&t)}),ce=t=>g.C=t;export{K as H,ut as a,oe as b,ft as c,t as g,q as h,w as p,c as r,ce as s}
@@ -1 +0,0 @@
1
- const o=[void 0,null,"",NaN];function n(n){return o.some((o=>o===n))}function t(o){return(t,e,...s)=>{const c=t.host.localName,r=t[e],f=`The prop \`${String(e)}\` of the \`${c}\` component is not defined.`;if(n(r))throw new Error(f);o(t,e,...s)}}function e(o,n,t){const e=o.host.localName,s=o[n],c=`The prop \`${String(n)}\` of the \`${e}\` component must be one of the following values: ${t.join(", ")}.`;t.includes(s)||console.error(c)}function s(o,n,t){const e=o.host.localName,s=o[n],c="array"===t,r=Array.isArray(s),f=`The prop \`${String(n)}\` of the \`${e}\` component must be of type \`${t}\`.`;c||r?r!==c&&console.error(f):typeof s!==t&&console.error(f)}function c(o,n){const t=o.host.localName,e=o[n],s=`The prop \`${String(n)}\` of the \`${t}\` component is invalid.`;if("string"==typeof e||e instanceof URL)try{new URL(e,"https://www.post.ch")}catch{console.error(s)}else console.error(s)}function r(o){return(t,e,...s)=>{n(t[e])||o(t,e,...s)}}const f=r(e),i=r((function(o,n,t){const e=o.host.localName,s=o[n],c=`The prop \`${String(n)}\` of the \`${e}\` component must follow the format \`${t}\`.`;"string"==typeof s&&t.test(s)||console.error(c)})),p=r(s),a=r(c),h=t(e),l=t(s),u=t(c);export{p as a,h as b,l as c,f as d,i as e,u as f,a as g}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as o,a as i,c as n}from"./p-CFNKgUjL.js";import{v as a}from"./p-BXRsHuTS.js";import{d as s,a as r,c as l,g as c}from"./p-VmK3ABCB.js";import{t as d,b as p,I as h}from"./p-CJ80BZ06.js";import{a as g}from"./p-D9ZHp2FP.js";import{E as u}from"./p-CzIKqBrS.js";import{n as m}from"./p-BLchVpF6.js";import{P as f}from"./p-DRiVosES.js";import{g as b}from"./p-CBFgkSgY.js";const v=["button","submit","reset"],w=class{constructor(e){t(this,e),this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.buttonType="button"}validateButtonType(){s(this,"buttonType",v)}componentDidLoad(){this.checkContent()}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0,characterData:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect()}checkContent(){this.validateButtonType(),this.host.querySelector(".visually-hidden").textContent||console.error(`The \`${this.host.localName}\` component requires content for accessibility.`)}render(){return e(o,{key:"9b5bb7e95c6cf3039119ce485e963ac672834bc3","data-version":a},e("button",{key:"084709a7c632a8c665905a667fa6498cae1972a6",class:"btn",type:this.buttonType},e("post-icon",{key:"e19209e0c8de59d3e187531e0185d8f2d5c85408","aria-hidden":"true",name:"closex"}),e("span",{key:"233184a45391e5a9b89635345f2324a87f5e9558",class:"visually-hidden"},e("slot",{key:"c213ac1dbdd98d83a8b2dc1b74c85926404ad1c1"}))))}get host(){return i(this)}static get watchers(){return{buttonType:["validateButtonType"]}}};w.style=".visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-closebutton .btn{padding:0;border:unset;min-height:unset;min-width:unset;width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1);border-radius:var(--post-device-border-radius-round);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);display:flex;align-items:center;justify-content:center}post-closebutton .btn>post-icon{min-width:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4)}post-closebutton .btn:not(:disabled):hover,post-closebutton .btn.pretend-hover{cursor:pointer;background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-closebutton .btn:not(:disabled):hover,post-closebutton .btn.pretend-hover{color:HighlightText !important}}";const x="ease",y="forwards";const k=class{get hasMobileMenu(){return"desktop"!==this.device&&this.hasNavigation}get scrollParent(){const t=document.querySelector("[data-post-scroll-locked]");if(t)return t;let e=this.host.parentElement;for(;e;){const t=getComputedStyle(e).overflowY;if(["auto","scroll"].includes(t))return e;e=e.parentElement}return document.body}lockBody(t,e,o){const i=this.scrollParent;"desktop"!==this.device&&("mobileMenuExtended"===o?t:this.mobileMenuExtended)?(i.setAttribute("data-post-scroll-locked",""),this.host.addEventListener("keydown",this.keyboardHandler)):(i.removeAttribute("data-post-scroll-locked"),this.host.removeEventListener("keydown",this.keyboardHandler))}constructor(e){t(this,e),this.throttledResize=d(50,(()=>this.updateLocalHeaderHeight())),this.device=p.get("device"),this.hasNavigation=!1,this.hasTitle=!1,this.mobileMenuExtended=!1,this.megadropdownOpen=!1,this.breakpointChange=t=>{this.device=t.detail,this.switchLanguageSwitchMode(),"desktop"===this.device&&this.mobileMenuExtended&&this.closeMobileMenu(),"desktop"!==this.device&&(Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((t=>{t.hide(!1,!0)})),this.megadropdownOpen=!1)},this.megadropdownStateHandler=t=>{this.megadropdownOpen=t.detail.isVisible},this.handleScrollEvent=this.handleScrollEvent.bind(this),this.updateScrollParentHeight=this.updateScrollParentHeight.bind(this),this.updateLocalHeaderHeight=this.updateLocalHeaderHeight.bind(this),this.keyboardHandler=this.keyboardHandler.bind(this),this.handleLinkClick=this.handleLinkClick.bind(this)}connectedCallback(){window.addEventListener("resize",this.throttledResize,{passive:!0}),window.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),this.scrollParent.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),document.addEventListener("postToggleMegadropdown",this.megadropdownStateHandler),this.host.addEventListener("click",this.handleLinkClick),window.addEventListener("postBreakpoint:device",this.breakpointChange),this.checkNavigationExistence(),this.checkTitleExistence(),this.switchLanguageSwitchMode(),this.handleScrollParentResize(),this.lockBody(!1,this.mobileMenuExtended,"mobileMenuExtended")}componentWillRender(){this.handleScrollEvent()}componentDidRender(){this.getFocusableElements(),this.handleLocalHeaderResize()}componentDidLoad(){this.updateLocalHeaderHeight()}disconnectedCallback(){const t=this.scrollParent;window.removeEventListener("postBreakpoint:device",this.breakpointChange),window.removeEventListener("resize",this.throttledResize),window.removeEventListener("scroll",this.handleScrollEvent),t&&t.removeEventListener("scroll",this.handleScrollEvent),document.removeEventListener("postToggleMegadropdown",this.megadropdownStateHandler),this.host.removeEventListener("keydown",this.keyboardHandler),this.host.removeEventListener("click",this.handleLinkClick),this.scrollParentResizeObserver&&(this.scrollParentResizeObserver.disconnect(),this.scrollParentResizeObserver=null),this.localHeaderResizeObserver&&(this.localHeaderResizeObserver.disconnect(),this.localHeaderResizeObserver=null),this.mobileMenuExtended=!1}checkNavigationExistence(){this.hasNavigation=this.host.querySelectorAll("post-mainnavigation").length>0}checkTitleExistence(){this.hasTitle=this.host.querySelectorAll('[slot="title"]').length>0}async closeMobileMenu(){this.mobileMenuAnimation.finish();const t=this.getMenuButton();t&&(t.toggled=!1),this.mobileMenuExtended=!1}async toggleMobileMenu(t){"desktop"!==this.device&&(this.mobileMenuAnimation=this.mobileMenuExtended?function(t,e="-100%"){return t.animate([{transform:"translateY(0)"},{transform:`translateY(${e})`}],{duration:500,easing:x,fill:y})}(this.mobileMenu):function(t,e="-100%"){return t.animate([{transform:`translateY(${e})`},{transform:"translateY(0)"}],{duration:500,easing:x,fill:y})}(this.mobileMenu),this.host.querySelector("post-togglebutton").toggled=t??!this.mobileMenuExtended,this.mobileMenuExtended?(await this.mobileMenuAnimation.finished,this.mobileMenuExtended=t??!this.mobileMenuExtended,!1===this.mobileMenuExtended&&this.closeAllMegadropdowns()):(this.mobileMenuExtended=t??!this.mobileMenuExtended,this.megadropdownOpen&&this.closeAllMegadropdowns()))}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-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(g(t))))];this.firstFocusableEl=e[0],this.lastFocusableEl=e[e.length-1]}getMenuButton(){return this.host.querySelector("post-togglebutton")}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()))}closeAllMegadropdowns(){Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((t=>{t.hide(!1,!0)})),this.megadropdownOpen=!1}handleScrollEvent(){const t=this.scrollParent===document.body?window.scrollY:this.scrollParent.scrollTop;document.documentElement.style.setProperty("--post-header-scroll-top",`${t}px`)}updateLocalHeaderHeight(){const t=this.host.shadowRoot.querySelector(".local-header");t&&document.documentElement.style.setProperty("--post-local-header-expanded-height",`${t.clientHeight}px`)}updateScrollParentHeight(){this.host.style.setProperty("--post-header-scroll-parent-height",`${this.scrollParent.clientHeight}px`)}handleLinkClick(t){const e=t.target,o=e.closest("post-mainnavigation a"),i=e.closest("post-megadropdown a");(o||i)&&(this.mobileMenuExtended&&(o||i)&&this.toggleMobileMenu(!1),"desktop"===this.device&&i)&&e.closest("post-megadropdown a")&&e.closest("post-megadropdown").hide(!0)}handleScrollParentResize(){this.scrollParent&&(this.scrollParentResizeObserver=new ResizeObserver(this.updateScrollParentHeight),this.scrollParentResizeObserver.observe(this.scrollParent))}handleLocalHeaderResize(){const t=this.host.shadowRoot.querySelector(".local-header");t&&!this.localHeaderResizeObserver&&(this.localHeaderResizeObserver=new ResizeObserver(this.updateLocalHeaderHeight),this.localHeaderResizeObserver.observe(t))}switchLanguageSwitchMode(){const t=this.hasMobileMenu?"list":"menu";Array.from(this.host.querySelectorAll("post-language-switch")).forEach((e=>{e?.setAttribute("variant",t)}))}renderNavigation(){const t=e("slot",{name:"post-mainnavigation",onSlotchange:()=>this.checkNavigationExistence()});return"desktop"===this.device?e("div",{class:{navigation:!0,"megadropdown-open":this.megadropdownOpen}},t,e("slot",{name:"navigation-controls"})):e("div",{class:{navigation:!0,extended:this.mobileMenuExtended},style:{"--post-header-navigation-current-inset":`${this.mobileMenu?.scrollTop??0}px`}},e("div",{class:"mobile-menu",ref:t=>this.mobileMenu=t},e("div",{class:"navigation-header"},e("slot",{name:"navigation-controls"}),e("slot",{name:"target-group"})),t,e("div",{class:"navigation-footer"},e("slot",{name:"meta-navigation"}),e("slot",{name:"post-language-switch"}))))}render(){const t=["local-header"];return this.mobileMenuExtended&&t.push("local-header-mobile-extended"),"desktop"===this.device&&this.hasNavigation||t.push("no-navigation"),this.hasTitle||t.push("no-title"),e(o,{key:"fd3c4a534af28b2e35f4a02502283e04be0d9683","data-version":a,"data-color-scheme":"light"},e("div",{key:"61c70adea7525d3daa7690ac9243c7697df5c8bc",class:"global-header"},e("div",{key:"1fdb106a9624a07d3ad3fd1cb4eade9b05282ab5",class:"global-sub"},e("div",{key:"2c62bccfa8d5fa9642528db265e76aac0d13022c",class:"logo"},e("slot",{key:"75b87c2428b7ccad6940976e46156b807257cbc5",name:"post-logo"}))),e("div",{key:"c1950198cbac96132ca5b1c886bb94238c53b903",class:"global-sub"},"desktop"===this.device&&e("slot",{key:"2e695987df3da854db3ec18cc4b1283d0f06dfd1",name:"target-group"})),e("div",{key:"50366842180e3aae87d4e4da68a8f73c2f62c347",class:"global-sub"},e("slot",{key:"7eba07e3dddbc26843a50b39a69953a01d9e2a5e",name:"global-controls"}),!this.hasMobileMenu&&e("slot",{key:"aa9fc50e2eb8eee4e3d9de76ccbf564ac30a8d03",name:"meta-navigation"}),!this.hasMobileMenu&&e("slot",{key:"7742f0d0e30d5b0d90ca9352fec72e49a97ec3cb",name:"post-language-switch"}),e("slot",{key:"a3545c4bb2a61c00105763059f3bd66ddd829681",name:"global-login"}),this.hasNavigation&&e("div",{key:"bb8df618571ea8cadb89b0cd8d50bba7c0dec038",onClick:()=>this.toggleMobileMenu(),class:"mobile-toggle"},e("slot",{key:"83b9542127213e39644c280cf9f4e19aaf3f071a",name:"post-togglebutton"})))),e("div",{key:"2ab719d2610d46050fc99345237b7b9cc54fd467",class:t.join(" ")},e("slot",{key:"0e02b3f7421a1c67e99fdc92aadcf61153665820",name:"title",onSlotchange:()=>this.checkTitleExistence()}),this.hasTitle&&e("div",{key:"94b091a29727bd556a4907ac4bdb2f8757483135",class:"local-sub"},e("slot",{key:"7647015350e21278b104ff4538525abeaea98442",name:"local-controls"}),e("slot",{key:"4e42d3fe5c4f676b7bb836c976c1d7e59a1052ae"})),"desktop"===this.device&&this.renderNavigation()),"desktop"!==this.device&&this.renderNavigation())}get host(){return i(this)}static get watchers(){return{device:["lockBody"],mobileMenuExtended:["lockBody"]}}};(function(t,e,o,i){var n,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(e,o,s):n(e,o))||s);a>3&&s&&Object.defineProperty(e,o,s)})([u("post-megadropdown")],k.prototype,"megadropdownStateHandler",void 0),k.style='*,::before,::after{box-sizing:border-box}:host{z-index:1020;position:relative;--post-logo-height:calc(var(--post-global-header-expanded-height) - var(--post-header-scroll-top, 0px));--post-global-header-top:calc( var(--post-global-header-reduced-height) - var(--post-global-header-expanded-height) );--post-local-header-top:calc( var(--post-global-header-reduced-height) + var(--post-local-header-reduced-height) - var(--post-local-header-expanded-height) );--post-global-controls-top:clamp( 1000 * var(--post-global-header-top), calc(-1 * min(var(--post-header-scroll-top, 0px) / 4, var(--post-global-header-reduced-height))), 0px )}@media screen and (min-width: 1024px){:host:has(.global-sub>*:not(.logo):focus-within),:host:has(.local-sub:focus-within){--post-global-header-top:0;--post-local-header-top:var(--post-global-header-expanded-height);--post-logo-height:var(--post-global-header-expanded-height);--post-global-controls-top:0}}.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(--post-global-header-expanded-height)}@media screen and (max-width: 1023.98px){.global-header{z-index:4;inset-block-start:0}}@media screen and (min-width: 1024px){.global-header{z-index:5;padding-inline-end:8px;inset-block-start:var(--post-global-header-top);transition:inset-block-start .2s ease-in-out}}.global-header:has(+.local-header.no-navigation.no-title){box-shadow:var(--post-device-elevation-300)}.global-sub{display:flex;align-items:center;gap:4px}@media screen and (min-width: 1024px){.global-sub:not(:has(.logo)){position:relative;transition:inset-block-start .2s ease-in-out;inset-block-start:var(--post-global-controls-top)}.global-sub:not(:last-child):not(:first-child){flex-grow:1}}.align-end{align-items:flex-end}.logo{flex:1 0 auto;height:var(--post-global-header-expanded-height);width:var(--post-global-header-expanded-height);min-height:var(--post-global-header-reduced-height);align-self:flex-end}@media screen and (min-width: 1024px){.logo{transition:height .2 ease-in-out;height:var(--post-logo-height)}}::slotted(ul){margin-block:0 !important;list-style:none;display:flex;padding-inline-start:0;gap:1rem;flex-shrink:0 !important}.local-header{display:flex;position:sticky;inset-block-start:var(--post-local-header-top);flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-height:var(--post-local-header-expanded-min-height);background:#fff;transition:box-shadow .2s ease-in-out}.local-header::after{content:"";position:absolute;width:100%;height:1px;background-color:#e1e0dc;inset-block-end:-1px;z-index:1}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.local-header::after{background-color:Highlight}}@media screen and (min-width: 1024px){.local-header{z-index:3;box-shadow:var(--post-device-elevation-300);transition:box-shadow .2s ease-in-out,inset-block-start .2s ease-in-out}.local-header:not(.no-title){padding-block-start:18px}}@media screen and (max-width: 1023.98px){.local-header{z-index:3;padding-block:8px;flex-wrap:wrap;gap:12px}.local-header.local-header-mobile-extended::after{inset-block-end:0}.local-header:not(.local-header-mobile-extended){box-shadow:var(--post-device-elevation-300)}}.local-header.no-navigation{padding-block:0}.local-header.no-navigation .navigation{display:none}.local-header.no-navigation.no-title{display:none}.local-sub{margin-inline-end:16px}@media screen and (max-width: 1023.98px){.local-sub{margin-inline-end:4px}}::slotted(.list-inline){margin:0 !important;z-index:3 !important;position:relative !important}@media screen and (min-width: 1024px){.mobile-toggle{display:none}}.navigation{width:100%}@media screen and (min-width: 1024px){.navigation{display:flex;align-items:center;justify-content:space-between;inset-block-start:var(--post-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:sticky;z-index:2;inset-inline:0;inset-block-start:var(--post-header-height)}.mobile-menu{background-color:#fafafa}::slotted(post-mainnavigation),.navigation-footer{padding-block:16px 24px;padding-inline:40px}.navigation-header,::slotted(post-mainnavigation),.navigation-footer{display:none;flex-direction:column}.navigation.extended .navigation-header,.navigation.extended ::slotted(post-mainnavigation),.navigation.extended .navigation-footer{display:flex}::slotted(post-mainnavigation){padding-block:24px}.navigation.extended>div{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height))}.navigation.extended.megadropdown-open>div{overflow-y:hidden}.navigation.extended ::slotted(post-mainnavigation){flex-grow:1 !important}.navigation-footer{background-color:#f0efed;gap:24px}.navigation-footer ::slotted(post-language-switch){margin-top:16px}}@media screen and (max-width: 1023.98px)and (max-width: 599.98px){.navigation-footer{gap:16px}}@media screen and (max-width: 599.98px){::slotted(post-mainnavigation),.navigation-footer{padding-inline:16px}}';const M=`https://unpkg.com/@swisspost/design-system-icons@${a}/public/post-icons/`,S=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],L=class{constructor(e){t(this,e),this.flipH=!1,this.flipV=!1}validateAnimation(){s(this,"animation",S)}validateBase(){r(this,"base","string")}validateName(){l(this,"name","string")}validateRotate(){r(this,"rotate","number")}validateScale(){r(this,"scale","number")}getUrl(){const t=`${this.name}.svg`;if(!h&&!this.base)return`${M}${t}`;const e=t=>/^https?:\/\//.test(t),o=t=>t&&!t.endsWith("/")?`${t}/`:t,i=t=>t.replace(/([^:])\/\//g,"$1/"),n=h?window.location.origin:"",a=h&&document.querySelector("base[href]")?.getAttribute("href")||"",s=h&&document.querySelector('meta[name="design-system-settings"]')?.getAttribute("data-post-icon-base")||"",r=t=>{const i=o(a),s=o(t);return e(i)?`${i}${s}`:`${n}${i}${s}`};let l;return this.base?(l=e(this.base)?`${o(this.base)}${t}`:`${r(this.base)}${t}`,i(l)):s?(l=e(s)?`${o(s)}${t}`:`${r(s)}${t}`,i(l)):i(`${M}${t}`)}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.validateScale(),this.validateRotate(),this.validateAnimation()}render(){return e(o,{key:"0031b3e2e4016f9b28cade66fa435741940946a7","data-version":a},e("span",{key:"0efbcdd5f1dd737640238a0ab81b67ca8218adec",style:this.getStyles()}))}get host(){return i(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};L.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 j=["list","menu"],I=class{constructor(e){t(this,e),this.postChange=n(this,"postChange"),this.postLanguageOptionInitiallyActive=n(this,"postLanguageOptionInitiallyActive")}validateCode(){l(this,"code","string")}validateVariant(){s(this,"variant",j)}validateName(){r(this,"name","string")}validateUrl(){c(this,"url")}componentDidLoad(){if(this.validateCode(),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.');this.active&&this.postLanguageOptionInitiallyActive.emit(this.code)}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(),i=t=>{"Enter"!==t.key&&" "!==t.key||this.emitChange()};return e(o,{key:"b86bf33feb890e5dfbfae16f45ce2e56fdfaf16a","data-version":a,role:"list"===this.variant?"listitem":void 0},this.url?e("a",{"aria-current":this.active?"page":void 0,href:this.url,hrefLang:t,lang:t,onClick:()=>this.emitChange(),onKeyDown:i},e("slot",null),e("span",{class:"visually-hidden"},this.name)):e("button",{"aria-current":this.active?"true":void 0,lang:t,onClick:()=>this.emitChange(),onKeyDown:i},e("slot",null),e("span",{class:"visually-hidden"},this.name)))}get host(){return i(this)}static get watchers(){return{code:["validateCode"],variant:["validateVariant"],name:["validateName"],url:["validateUrl"]}}};I.style="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 button .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-language-option a{color:var(--post-current-fg);text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;height:100%;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;outline-offset:-2px !important;border-radius:4px}@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;outline-offset:-2px !important;border-radius:4px}@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}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option:where([variant=list]) :is(a,button){border:1px solid ButtonBorder;color:ButtonText}}post-language-option:where([variant=list])[active]:not([active=false]) :is(a,button){background-color:#050400 !important;color:#fff;pointer-events:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-language-option:where([variant=list])[active]:not([active=false]) :is(a,button){background-color:Highlight !important;color:HighlightText}}post-language-option:where([variant=menu]){min-width:72px}post-language-option:where([variant=menu])[active]:not([active=false]){display:none}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:16px;box-sizing:border-box;justify-content:flex-start;position:relative;border-radius:0}post-language-option:where([variant=menu]) :is(a,button):hover{color:#fff;background-color:#504f4b}post-language-option:where([variant=menu]):first-child :is(a,button){border-start-start-radius:4px;border-start-end-radius:4px}post-language-option:where([variant=menu]):last-child :is(a,button){border-end-start-radius:4px;border-end-end-radius:4px}";const z=class{constructor(e){t(this,e),this.menuId=`p${m(11)}`,this.listSpanId=`list-span-${m(11)}`,this.variant="list"}get languageOptions(){return Array.from(this.host.querySelectorAll("post-language-option"))}validateCaption(){l(this,"caption","string")}validateDescription(){l(this,"description","string")}validateVariant(){s(this,"variant",j),this.updateChildrenVariant()}componentDidLoad(){this.validateCaption(),this.validateDescription(),this.validateVariant(),this.updateChildrenVariant()}handlePostChange(t){this.activeLang=t.detail,this.languageOptions.forEach((t=>{t.code&&t.code===this.activeLang?t.setAttribute("active",""):t.removeAttribute("active")})),"menu"===this.variant&&this.host.shadowRoot.querySelector("post-menu").hide()}handleInitiallyActive(t){this.activeLang=t.detail}updateChildrenVariant(){this.languageOptions.forEach((t=>{t.setAttribute("variant",this.variant)}))}renderList(){return e(o,{"data-version":a},e("div",{class:"post-language-switch-list",role:"list","aria-label":this.caption,"aria-describedby":this.listSpanId},e("span",{id:this.listSpanId,class:"visually-hidden"},this.description),e("slot",null)))}renderDropdown(){return e(o,{"data-version":a},e("post-menu-trigger",{for:this.menuId},e("button",{class:"post-language-switch-trigger"},this.activeLang,e("span",{class:"visually-hidden"},this.caption),e("span",{class:"visually-hidden"},this.description),e("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),e("post-menu",{id:this.menuId,class:"post-language-switch-dropdown-container",label:this.caption},e("slot",null)))}render(){return"list"===this.variant?this.renderList():this.renderDropdown()}get host(){return i(this)}static get watchers(){return{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}}};(function(t,e,o,i){var n,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(e,o,s):n(e,o))||s);a>3&&s&&Object.defineProperty(e,o,s)})([u("post-language-option")],z.prototype,"handlePostChange",null),z.style=":host{display:flex !important;flex-wrap:wrap;gap:.5rem}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.post-language-switch-dropdown-container{display:flex;flex-direction:column}.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:24px;width:24px}.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}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-switch-trigger{border:1px solid ButtonBorder}.post-language-switch-trigger[aria-expanded=true] post-icon,.post-language-switch-trigger:hover post-icon{color:HighlightText}}post-menu::part(menu){padding-block:0}";const A=class{constructor(e){t(this,e),this.titleHidden=!1,this.horizontal=!1}componentWillLoad(){this.titleId=`title-${this.host.id||m(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 e(o,{key:"908588a3f1261efbb85dbefade9f85f8ec6f16f8","data-version":a},e("div",{key:"44b224379be814dab98e16ad12a3ca0f10e61ac0",ref:t=>this.titleEl=t,id:this.titleId,class:"list-title"+(this.titleHidden?" visually-hidden":"")},e("slot",{key:"1aed36b7c286796a4d617643e7606e63bc2dd95a"})),e("div",{key:"3e1d137712b3e7616bab450426964f6c9334198e",role:"list","aria-labelledby":this.titleId},e("slot",{key:"fd5abb2fca95d32295fbfa158795413264200ae8",name:"post-list-item"})))}get host(){return i(this)}};A.style="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{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";const C=class{constructor(e){t(this,e)}connectedCallback(){this.host.setAttribute("slot","post-list-item")}render(){return e(o,{key:"67204f0c31a6bc4cad3359030a8da57a045de7c5",role:"listitem",slot:"post-list-item",version:a},e("slot",{key:"0c68073c601a3792880fc0e68af24a4a204548ed"}))}get host(){return i(this)}};C.style=":host{display:flex}";const D=class{constructor(e){t(this,e)}validateUrl(){c(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 e(o,{key:"acd3bfab8d395cde2d79066580a8e53e65c426f4","data-version":a},e(t?"a":"span",{key:"c5c2f8a2be6204bb693d5d53fd95e75133518a1d",class:"logo "+(t?"logo-link":""),...t?{href:t}:{}},e("span",{key:"675b756441237173c1046b74c2dfe2dfc08bfd7f",class:"description"},e("slot",{key:"710fd3483f56ad353e1a99f4fff2acc78ee53b46",onSlotchange:()=>this.checkDescription()})),e("svg",{key:"e72b70e26da0fefd52a7e9aec41772dd5c9f0258",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72","aria-hidden":"true"},e("g",{key:"b67d56c9319bb576a56c76c5299f4a81c93d6c3c",id:"Logo"},e("rect",{key:"8c073060a51c5e6942c1b33fc5c2a3a7eb422f07",fill:"#ffcc00",x:"0",y:"0",width:"72",height:"72"}),e("polygon",{key:"f97840922aa977b0f74bc5e8a88ff99136c80e46",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"}),e("path",{key:"f7faf347bb660e2a4550b48fc2d997ad01b2b8ae",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"})))))}get host(){return i(this)}static get watchers(){return{url:["validateUrl"]}}};D.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 N=class{constructor(e){t(this,e),this.canScrollLeft=!1,this.canScrollRight=!1,this.scrollRight=this.scrollRight.bind(this),this.scrollLeft=this.scrollLeft.bind(this),this.handleMutations=this.handleMutations.bind(this),this.checkScrollability=this.checkScrollability.bind(this),this.resizeObserver=new ResizeObserver(this.checkScrollability),this.mutationObserver=new MutationObserver(this.handleMutations)}componentDidLoad(){setTimeout((()=>{this.fixLayoutShift(),this.checkScrollability()})),this.resizeObserver.observe(this.navbar),this.mutationObserver.observe(this.navbar,{subtree:!0,childList:!0}),this.navbar.addEventListener("scrollend",this.checkScrollability)}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.navbar.removeEventListener("scrollend",this.checkScrollability)}stopScrolling(){this.scrollRepeatInterval&&clearInterval(this.scrollRepeatInterval)}async handleMutations(t){const e=t.flatMap((t=>Array.from(t.addedNodes)));await Promise.all(e.map((t=>t.componentOnReady?t.componentOnReady():Promise.resolve(t)))),this.fixLayoutShift(),this.checkScrollability()}get navigationItems(){return Array.from(this.navbar.querySelectorAll(":is(a, button):not(post-megadropdown *)"))}fixLayoutShift(){this.navigationItems.filter((t=>!t.matches(":has(.nav-el-active)"))).forEach((t=>{t.innerHTML=`\n <span class="nav-el-active">${t.innerHTML}</span>\n <span class="nav-el-inactive" aria-hidden="true">${t.innerHTML}</span>\n `}))}get canScroll(){return this.canScrollLeft||this.canScrollRight}checkScrollability(){const{scrollLeft:t,scrollWidth:e,clientWidth:o}=this.navbar;e===o?this.canScrollLeft=this.canScrollRight=!1:(this.canScrollLeft=Math.floor(t)>0,this.canScrollRight=Math.ceil(o+t)<e)}handleScrollButtonClick(t,e){if(!this.canScroll||0!==t.button)return;this.temporarilyDisableNavbar();const o="right"===e?this.scrollRight:this.scrollLeft;o(),this.scrollRepeatInterval=setInterval((()=>{o()}),100)}scrollRight(){const t=document.querySelector(".scroll-right").getBoundingClientRect().left;for(const e of this.navigationItems){const{right:o,width:i}=e.getBoundingClientRect();if(!(o-.25*i<t))return void this.navbar.scrollBy({left:o-t})}}scrollLeft(){const t=document.querySelector(".scroll-left").getBoundingClientRect().right;for(const e of this.navigationItems.reverse()){const{left:o,width:i}=e.getBoundingClientRect();if(!(o+.25*i>t))return void this.navbar.scrollBy({left:o-t})}}temporarilyDisableNavbar(){this.navbarDisableTimer&&clearTimeout(this.navbarDisableTimer),this.navbar.setAttribute("inert",""),this.navbarDisableTimer=setTimeout((()=>{this.navbar.removeAttribute("inert")}),400)}render(){return e(o,{key:"04ae6ffdd6560113431b70c3c27f16057fc9a87d",slot:"post-mainnavigation",version:a},e("div",{key:"2f79728dcbbfe94a343b880e2ba07331f45c9f30","aria-hidden":"true",class:{"scroll-control scroll-left":!0,"d-none":!this.canScrollLeft},onMouseDown:t=>this.handleScrollButtonClick(t,"left")},e("post-icon",{key:"3e762484bbcd03ac0d67b4ab722ffcd862bb073e","aria-hidden":"true",name:"chevronleft"})),e("nav",{key:"1150bfdf724e4d93b45f1fff071fba56d31d15b5",ref:t=>this.navbar=t},e("slot",{key:"3496b7c6d2d75300b1727148ff9b9965717d9909"})),e("div",{key:"1fa6dd50d9650ab6e5047c607f7e5ed0416ed245","aria-hidden":"true",class:{"scroll-control scroll-right":!0,"d-none":!this.canScrollRight},onMouseDown:t=>this.handleScrollButtonClick(t,"right")},e("post-icon",{key:"9487d621e1d7289a0afeb1d0443ec8bc70cd5f3e","aria-hidden":"true",name:"chevronright"})))}};N.style=':root{--post-icon-chevrondown:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbmRvd24iPjxzeW1ib2wgaWQ9InMxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNMi4wMSA1LjIyYzAtLjE5LjA3LS4zOC4yMi0uNTMuMjktLjI5Ljc3LS4yOSAxLjA2IDBsNC43MiA0LjcyIDQuNzItNC43MmMuMjktLjI5Ljc3LS4yOSAxLjA2IDBzLjI5Ljc3IDAgMS4wNmwtNS43OCA1Ljc4LTUuNzgtNS43OGEuNzQuNzQgMCAwIDEtLjIyLS41MyIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMy4yNiA3Ljg1YzAtLjIyLjA4LS40NS4yNi0uNjIuMzQtLjM0LjktLjM0IDEuMjQgMGw3LjI2IDcuMjYgNy4yNi03LjI2Yy4zNC0uMzQuOS0uMzQgMS4yNCAwcy4zNC45IDAgMS4yNGwtOC41IDguNS04LjUxLTguNWEuOS45IDAgMCAxLS4yNi0uNjJaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPjxwYXRoIGQ9Ik00LjUgMTAuNTRjMC0uMjYuMS0uNTEuMjktLjcxYS45OTYuOTk2IDAgMCAxIDEuNDEgMGw5Ljc5IDkuNzkgOS44LTkuOGEuOTk2Ljk5NiAwIDEgMSAxLjQxIDEuNDFMMTUuOTkgMjIuNDQgNC44IDExLjI1Yy0uMi0uMi0uMjktLjQ1LS4yOS0uNzFaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczQwIiB2aWV3Qm94PSIwIDAgNDAgNDAiPjxwYXRoIGQ9Ik01LjggMTMuMTdhMS4xMjMgMS4xMjMgMCAwIDEgMS45Mi0uOEwyMC4wNSAyNC43bDEyLjM0LTEyLjM0Yy40NC0uNDQgMS4xNS0uNDQgMS41OSAwcy40NCAxLjE1IDAgMS41OUwyMC4wNSAyNy44OCA2LjEzIDEzLjk3Yy0uMjItLjIyLS4zMy0uNTEtLjMzLS44Ii8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczQ4IiB2aWV3Qm94PSIwIDAgNDggNDgiPjxwYXRoIGQ9Ik03IDE1Ljg3YzAtLjMyLjEyLS42NC4zNy0uODhhMS4yNSAxLjI1IDAgMCAxIDEuNzcgMGwxNC44NyAxNC44NyAxNC44OC0xNC44OGMuNDktLjQ5IDEuMjgtLjQ5IDEuNzcgMHMuNDkgMS4yOCAwIDEuNzdMMjQuMDIgMzMuMzkgNy4zNyAxNi43NWMtLjI0LS4yNC0uMzctLjU2LS4zNy0uODgiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTkuNjMgMjEuMjRhMS4zOCAxLjM4IDAgMCAxIDIuMzUtLjk3TDMyLjAxIDQwLjNsMjAuMDQtMjAuMDRjLjU0LS41NCAxLjQxLS41NCAxLjk1IDBzLjU0IDEuNDEgMCAxLjk1TDMyLjAxIDQ0LjE5IDEwLjAzIDIyLjIyYy0uMjctLjI3LS40LS42Mi0uNC0uOTdaTTAgLjAzaDY0djY0SDB6Ii8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25kb3duIi8+PC9nPjwvc3ZnPg==")}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>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;outline-offset:-2px !important}post-mainnavigation>button::after,post-mainnavigation post-megadropdown-trigger button::after{content:"";mask-image:var(--post-icon-chevrondown);background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;height:24px;width:24px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-mainnavigation>button,post-mainnavigation post-megadropdown-trigger button{border:1px solid ButtonBorder !important}post-mainnavigation>button:hover::after,post-mainnavigation>button[aria-expanded=true]::after,post-mainnavigation post-megadropdown-trigger button:hover::after,post-mainnavigation post-megadropdown-trigger button[aria-expanded=true]::after{color:HighlightText}}@media screen and (min-width: 1024px){post-mainnavigation{display:flex;overflow:hidden;height:var(--post-main-navigation-height, 0);background:#fff;user-select:none}post-mainnavigation nav{flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}post-mainnavigation .scroll-control{cursor:pointer;z-index:5;padding:1rem;background:#fff;box-shadow:var(--post-device-elevation-500);line-height:1}post-mainnavigation .scroll-control.scroll-left{margin-inline-end:-3rem}post-mainnavigation .scroll-control.scroll-right{margin-inline-start:-3rem}post-mainnavigation .scroll-control.d-none{display:none}post-mainnavigation .scroll-control post-icon{font-size:1rem}post-mainnavigation post-list>[role=list]{flex-direction:row;max-width:100vw}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(--post-main-navigation-height, 0);gap:4px;font-size:16px;z-index:4}}@media screen and (min-width: 1024px)and (max-width: 1023.98px){post-mainnavigation post-list-item>a,post-mainnavigation post-list-item>button,post-mainnavigation post-list-item post-megadropdown-trigger button{z-index:5}}@media screen and (min-width: 1024px){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}}@media screen and (min-width: 1024px){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%;inset-inline-start:0}}@media screen and (min-width: 1024px){post-mainnavigation post-list-item>a.active,post-mainnavigation post-list-item>a[aria-current=page]:not(post-megadropdown *),post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.active,post-mainnavigation post-list-item>button[aria-current=page]:not(post-megadropdown *),post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.active,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-current=page]:not(post-megadropdown *),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.active .nav-el-active,post-mainnavigation post-list-item>a[aria-current=page]:not(post-megadropdown *) .nav-el-active,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item>button.active .nav-el-active,post-mainnavigation post-list-item>button[aria-current=page]:not(post-megadropdown *) .nav-el-active,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button.active .nav-el-active,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-current=page]:not(post-megadropdown *) .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.active .nav-el-inactive,post-mainnavigation post-list-item>a[aria-current=page]:not(post-megadropdown *) .nav-el-inactive,post-mainnavigation post-list-item>a[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item>button.active .nav-el-inactive,post-mainnavigation post-list-item>button[aria-current=page]:not(post-megadropdown *) .nav-el-inactive,post-mainnavigation post-list-item>button[aria-expanded=true] .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button.active .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-current=page]:not(post-megadropdown *) .nav-el-inactive,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-expanded=true] .nav-el-inactive{opacity:0}}@media screen and (min-width: 1024px){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[aria-expanded=true]::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(:is(post-closebutton *)),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(:is(post-closebutton *))::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(:is(post-closebutton *)).active,post-mainnavigation post-megadropdown button:not(:is(post-closebutton *))[aria-current=page],post-mainnavigation post-megadropdown button:not(:is(post-closebutton *))[aria-expanded=true],post-mainnavigation post-megadropdown a.active,post-mainnavigation post-megadropdown a[aria-current=page],post-mainnavigation post-megadropdown a[aria-expanded=true]{background-color:#050400;color:#fff}post-mainnavigation post-megadropdown button:not(:is(post-closebutton *)):hover,post-mainnavigation post-megadropdown a:hover{background-color:#504f4b;color:#fff}post-mainnavigation post-megadropdown button:not(:is(post-closebutton *)):hover::before,post-mainnavigation post-megadropdown a:hover::before{background-color:#504f4b}}@media screen and (max-width: 1023.98px){post-mainnavigation nav{transform:none !important}post-mainnavigation .scroll-control{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.active,post-mainnavigation post-list-item>a[aria-current=page],post-mainnavigation post-list-item>a[aria-expanded=true],post-mainnavigation post-list-item>button.active,post-mainnavigation post-list-item>button[aria-current=page],post-mainnavigation post-list-item>button[aria-expanded=true],post-mainnavigation post-list-item post-megadropdown-trigger button.active,post-mainnavigation post-list-item post-megadropdown-trigger button[aria-current=page],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)}}';const T=class{constructor(e){t(this,e),this.postToggleMegadropdown=n(this,"postToggleMegadropdown"),this.device=p.get("device"),this.isVisible=!1,this.trigger=!1,this.animationClass=null,this.handleClickOutside=t=>{if("desktop"!==this.device)return;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)}}}get megadropdownTrigger(){const t=this.host.getAttribute("id");return t?document.querySelector(`post-megadropdown-trigger[for="${t}"] > button`):null}connectedCallback(){window.addEventListener("postBreakpoint:device",this.breakpointChange.bind(this))}componentDidRender(){this.getFocusableElements()}componentDidLoad(){this.checkInitialAriaCurrent(),this.setupObserver(),this.handleAriaCurrentChange([])}disconnectedCallback(){this.removeListeners(),window.removeEventListener("postBreakpoint:device",this.breakpointChange.bind(this)),T.activeDropdown===this&&(T.activeDropdown=null),this.defaultSlotObserver&&this.defaultSlotObserver.disconnect()}async toggle(){this.isVisible?this.hide():await this.show()}async show(){T.activeDropdown&&T.activeDropdown!==this&&T.activeDropdown.forceClose(),this.animationClass="slide-in",this.isVisible=!0,T.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,e=!1){this.postToggleMegadropdown.emit({isVisible:!1,focusParent:t}),e?this.forceClose():this.animationClass="slide-out"}async focusFirst(){this.firstFocusableEl?.focus()}breakpointChange(t){this.device=t.detail,"desktop"===this.device&&this.isVisible&&(this.animationClass=null)}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,T.activeDropdown=null,this.removeListeners())}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(g(t)))),e=this.host.querySelector('a[slot="megadropdown-overview-link"]');e&&t.unshift(e),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))}setupObserver(){this.defaultSlotObserver=new MutationObserver(this.handleAriaCurrentChange.bind(this)),this.defaultSlotObserver.observe(this.host,{subtree:!0,attributes:!0,attributeFilter:["aria-current"]})}setTriggerActive(t){const e=this.megadropdownTrigger;e&&(t?e.classList.add("active"):e.classList.remove("active"))}handleAriaCurrentChange(t){if(!t.length)return;const e=t.some((t=>t.target instanceof HTMLElement&&"page"===t.target.getAttribute("aria-current")));this.setTriggerActive(e)}checkInitialAriaCurrent(){this.host.querySelector('[aria-current="page"]')&&this.setTriggerActive(!0)}render(){return e(o,{key:"d111d8d93a9b64018f3df88813da8f6d1c65759e",version:a},e("div",{key:"d7cb2b98624c9241108bc66cc11c15c0a2e7acf3",class:`megadropdown-container ${this.animationClass||""}`,style:this.isVisible?{}:{display:"none"},onAnimationEnd:()=>this.handleAnimationEnd()},e("div",{key:"9f0280b6f28f19ee7f9ba4707209b64b38759927",class:"megadropdown"},e("slot",{key:"71f2521e1ab13406dd986c18a7c52e171148b0b0",name:"megadropdown-title"}),e("slot",{key:"148de1446aade76b074e155d07b70e775fc9612c",name:"megadropdown-overview-link"}),e("div",{key:"269c1e1db66acb7c274c720a9f715d29e875ef54",class:"megadropdown-content"},e("slot",{key:"444040337c57e64bcc57f56415c4c40513ef0a5b"})),e("div",{key:"f97d8c578ee19b5ba7d593e5d110e3b283255087",onClick:()=>this.hide(!0),class:"back-button"},e("slot",{key:"dc04da3a42714e2e8742ab8ed25bcc288a236294",name:"back-button"})),e("div",{key:"354eca51a5aef76d483a30e595bedfa95792d7ce",onClick:()=>this.hide(!0),class:"close-button"},e("slot",{key:"28693622360c0da91f3051426be545852c5ec337",name:"close-button"})))))}get host(){return i(this)}};T.activeDropdown=null,T.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;width:100%;inset-block-start:100%;inset-inline-start: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:5;position:fixed;inset-block-start:var(--post-header-navigation-current-inset);inset-inline:0;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));border-block-start:unset;overflow-y:auto;overscroll-behavior:contain}.megadropdown-container.slide-in{animation:slide-in 350ms forwards}.megadropdown-container.slide-out{animation:slide-out 350ms forwards}}@media screen and (min-width: 1024px){.megadropdown-container{max-height:calc(100vh - var(--post-header-height) - 48px);overflow-y:auto}}.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 [slot=megadropdown-overview-link]{text-decoration:none;border-radius:0;padding-block:13px 12px;margin-block-end:16px;display:flex;align-items:center;min-height:56px;width:100%;min-width:100%;height:48px;padding-inline:8px 12px;gap:16px;font-weight:400;position:relative;height:unset}.megadropdown [slot=megadropdown-overview-link]::before{content:"";background-color:#050400;bottom:0;width:100%;height:1px;position:absolute;left:0}.megadropdown [slot=megadropdown-overview-link].active,.megadropdown [slot=megadropdown-overview-link][aria-current=page],.megadropdown [slot=megadropdown-overview-link][aria-expanded=true]{background-color:#050400;color:#fff}.megadropdown [slot=megadropdown-overview-link]:hover{background-color:#504f4b;color:#fff}.megadropdown [slot=megadropdown-overview-link]:hover::before{background-color:#504f4b}@media screen and (max-width: 1023.98px){.megadropdown [slot=megadropdown-overview-link]{padding-block:12px 11px;min-height:unset}}@media screen and (max-width: 599.98px){.megadropdown [slot=megadropdown-overview-link]{padding-block:10px 9px}}.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-block:0 8px;font-weight:900}.megadropdown h2 a{text-decoration:none;display:none;font-weight:inherit;border-block: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;inset-block-end:0;inset-inline-start:0;width:100%;height:2px;position:absolute}.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.active,.megadropdown post-list .list-title h3 a[aria-current=page],.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;white-space:normal;word-break:break-word}.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-block-end: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;inset-block-start:1rem;inset-inline-end:1rem}@media screen and (max-width: 1023.98px){.megadropdown .close-button{display:none}}';const E=class{constructor(e){t(this,e),this.ariaExpanded=!1,this.slottedButton=null,this.wasExpanded=!1,this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleToggle(),this.megadropdown&&!this.ariaExpanded&&setTimeout((()=>this.megadropdown.focusFirst()),100))},this.handleToggleMegadropdown=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()))}}validateControlFor(){l(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}`)}componentDidLoad(){this.validateControlFor(),document.addEventListener("postToggleMegadropdown",this.handleToggleMegadropdown),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")}disconnectedCallback(){document.removeEventListener("postToggleMegadropdown",this.handleToggleMegadropdown)}render(){return e(o,{key:"838bff4fe3feac679b522c2f7a166ac7aa5c2bf9","data-version":a,"tab-index":"-1"},e("button",{key:"b5a90298610863e46447198642b5a27b8702aefc"},e("slot",{key:"14c83456eb056f48143edcd2c532bca017c60171"})))}get host(){return i(this)}static get watchers(){return{for:["validateControlFor"]}}};(function(t,e,o,i){var n,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(e,o,s):n(e,o))||s);a>3&&s&&Object.defineProperty(e,o,s)})([u("post-megadropdown",{ignoreNestedComponents:!1})],E.prototype,"handleToggleMegadropdown",void 0),E.style="post-megadropdown-trigger{width:100%;position:relative;z-index:3}@media screen and (max-width: 1023.98px){post-megadropdown-trigger{z-index:4}}";var H=function(t,e,o,i){var n,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(e,o,s):n(e,o))||s);return a>3&&s&&Object.defineProperty(e,o,s),s};const O=class{constructor(e){t(this,e),this.toggleMenu=n(this,"toggleMenu"),this.lastFocusedElement=null,this.KEYCODES={SPACE:" ",ENTER:"Enter",UP:"ArrowUp",DOWN:"ArrowDown",TAB:"Tab",HOME:"Home",END:"End",ESCAPE:"Escape"},this.placement="bottom",this.isVisible=!1,this.handleKeyDown=t=>{t.stopPropagation(),t.key!==this.KEYCODES.ESCAPE?Object.values(this.KEYCODES).includes(t.key)&&this.controlKeyDownHandler(t):this.toggle(this.host)},this.handlePostShown=t=>{if(t.detail.first){this.host.setAttribute("role","menu");const t=this.getSlottedItems();for(const e of t)e.setAttribute("role","menuitem");this.label&&this.host.setAttribute("aria-label",this.label)}},this.handlePostToggled=t=>{this.isVisible=t.detail.isOpen,this.toggleMenu.emit(this.isVisible),this.isVisible?(this.lastFocusedElement=this.root?.activeElement,requestAnimationFrame((()=>{const t=this.getSlottedItems();t.length>0&&t[0].focus()}))):this.lastFocusedElement&&this.lastFocusedElement.focus()},this.handleClick=t=>{["BUTTON","A","INPUT","SELECT","TEXTAREA"].includes(t.target.tagName)&&this.toggle(this.host)}}validatePlacement(){s(this,"placement",f)}validateLabel(){l(this,"label","string")}connectedCallback(){this.root=b(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.validatePlacement(),this.validateLabel()}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")}controlKeyDownHandler(t){const e=this.getSlottedItems();if(!e.length)return;let o=e.findIndex((t=>t===b(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.querySelectorAll("slot"),e=[];return t.forEach((t=>e.push(...t.assignedElements()))),e.flatMap((t=>t instanceof HTMLSlotElement?t.assignedElements():t)).flatMap((t=>Array.from(g(t))))}render(){return e(o,{key:"eef3d3cdf2553c2627ddf580a95c70f00c02d388","data-version":a},e("post-popovercontainer",{key:"27c3341bec9d4ee98b59f70e902913f03954c32c",onPostShow:this.handlePostShown,onPostToggle:this.handlePostToggled,placement:this.placement,ref:t=>this.popoverRef=t},e("div",{key:"ef6c0ab8b6de380c23f6562a3d0ba34d9eaace98",part:"menu"},e("slot",{key:"edca1d3e9ab11d016ba18baf9f8d6aa65bb71958",name:"header"}),e("slot",{key:"40596847f9bac957a5992364997f0bcd8fd6a704"}))))}get host(){return i(this)}static get watchers(){return{placement:["validatePlacement"],label:["validateLabel"]}}};H([u("post-popovercontainer")],O.prototype,"handlePostShown",void 0),H([u("post-popovercontainer")],O.prototype,"handlePostToggled",void 0),O.style=":host{display:block}:where([part=menu]){display:flex;flex-direction:column;padding-block:.5rem}::slotted([slot=header]){margin-top:-0.5rem;padding:1rem;display:flex;align-items:center;gap:.5rem;border-block-end:1px solid #050400;font-weight:700}@media screen and (max-width: 1023.98px){::slotted([slot=header]){padding:.75rem 1rem}}@media screen and (max-width: 779.98px){::slotted([slot=header]){padding:.5rem 1rem}}";const P=class{constructor(e){t(this,e),this.ariaExpanded=!1,this.slottedButton=null,this.handleKeyDown=t=>{"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.handleToggle())}}validateControlFor(){l(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}`)}connectedCallback(){this.root=b(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 e(o,{key:"fc962802089652073c19cc35a511e48b0cab43b7","data-version":a,"tab-index":"-1"},e("slot",{key:"d3a8b40c0a88c44092b56ca4aa1c74f880bebb20"}))}get host(){return i(this)}static get watchers(){return{for:["validateControlFor"]}}};P.style=":host{display:inline-block}";const B=Math.min,R=Math.max,W=Math.round,$=Math.floor,Y=t=>({x:t,y:t}),G={left:"right",right:"left",bottom:"top",top:"bottom"},F={start:"end",end:"start"};function Z(t,e,o){return R(t,B(e,o))}function Q(t,e){return"function"==typeof t?t(e):t}function X(t){return t.split("-")[0]}function U(t){return t.split("-")[1]}function V(t){return"x"===t?"y":"x"}function _(t){return"y"===t?"height":"width"}const J=new Set(["top","bottom"]);function K(t){return J.has(X(t))?"y":"x"}function q(t){return V(K(t))}function tt(t){return t.replace(/start|end/g,(t=>F[t]))}const et=["left","right"],ot=["right","left"],it=["top","bottom"],nt=["bottom","top"];function at(t){return t.replace(/left|right|bottom|top/g,(t=>G[t]))}function st(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 rt(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 lt(t,e,o){let{reference:i,floating:n}=t;const a=K(e),s=q(e),r=_(s),l=X(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 g;switch(l){case"top":g={x:d,y:i.y-n.height};break;case"bottom":g={x:d,y:i.y+i.height};break;case"right":g={x:i.x+i.width,y:p};break;case"left":g={x:i.x-n.width,y:p};break;default:g={x:i.x,y:i.y}}switch(U(e)){case"start":g[s]-=h*(o&&c?-1:1);break;case"end":g[s]+=h*(o&&c?-1:1)}return g}async function ct(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:g=0}=Q(e,t),u=st(g),m=r[h?"floating"===p?"reference":"floating":p],f=rt(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(m)))||o?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===p?{x:i,y:n,width:s.floating.width,height:s.floating.height}: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=rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:b,offsetParent:v,strategy:l}):b);return{top:(f.top-x.top+u.top)/w.y,bottom:(x.bottom-f.bottom+u.bottom)/w.y,left:(f.left-x.left+u.left)/w.x,right:(x.right-f.right+u.right)/w.x}}function dt(t){const e=B(...t.map((t=>t.left))),o=B(...t.map((t=>t.top)));return{x:e,y:o,width:R(...t.map((t=>t.right)))-e,height:R(...t.map((t=>t.bottom)))-o}}const pt=new Set(["left","top"]);function ht(){return"undefined"!=typeof window}function gt(t){return ft(t)?(t.nodeName||"").toLowerCase():"#document"}function ut(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function mt(t){var e;return null==(e=(ft(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ft(t){return!!ht()&&(t instanceof Node||t instanceof ut(t).Node)}function bt(t){return!!ht()&&(t instanceof Element||t instanceof ut(t).Element)}function vt(t){return!!ht()&&(t instanceof HTMLElement||t instanceof ut(t).HTMLElement)}function wt(t){return!(!ht()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof ut(t).ShadowRoot)}const xt=new Set(["inline","contents"]);function yt(t){const{overflow:e,overflowX:o,overflowY:i,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!xt.has(n)}const kt=new Set(["table","td","th"]);function Mt(t){return kt.has(gt(t))}const St=[":popover-open",":modal"];function Lt(t){return St.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}const jt=["transform","translate","scale","rotate","perspective"],It=["transform","translate","scale","rotate","perspective","filter"],zt=["paint","layout","strict","content"];function At(t){const e=Ct(),o=bt(t)?Tt(t):t;return jt.some((t=>!!o[t]&&"none"!==o[t]))||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||It.some((t=>(o.willChange||"").includes(t)))||zt.some((t=>(o.contain||"").includes(t)))}function Ct(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Dt=new Set(["html","body","#document"]);function Nt(t){return Dt.has(gt(t))}function Tt(t){return ut(t).getComputedStyle(t)}function Et(t){return bt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ht(t){if("html"===gt(t))return t;const e=t.assignedSlot||t.parentNode||wt(t)&&t.host||mt(t);return wt(e)?e.host:e}function Ot(t){const e=Ht(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:vt(e)&&yt(e)?e:Ot(e)}function Pt(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=Ot(t),a=n===(null==(i=t.ownerDocument)?void 0:i.body),s=ut(n);if(a){const t=Bt(s);return e.concat(s,s.visualViewport||[],yt(n)?n:[],t&&o?Pt(t):[])}return e.concat(n,Pt(n,[],o))}function Bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Rt(t){const e=Tt(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=vt(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,r=W(o)!==a||W(i)!==s;return r&&(o=a,i=s),{width:o,height:i,$:r}}function Wt(t){return bt(t)?t:t.contextElement}function $t(t){const e=Wt(t);if(!vt(e))return Y(1);const o=e.getBoundingClientRect(),{width:i,height:n,$:a}=Rt(e);let s=(a?W(o.width):o.width)/i,r=(a?W(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),r&&Number.isFinite(r)||(r=1),{x:s,y:r}}const Yt=Y(0);function Gt(t){const e=ut(t);return Ct()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Yt}function Ft(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),a=Wt(t);let s=Y(1);e&&(i?bt(i)&&(s=$t(i)):s=$t(t));const r=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ut(t))&&e}(a,o,i)?Gt(a):Y(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=ut(a),e=i&&bt(i)?ut(i):i;let o=t,n=Bt(o);for(;n&&i&&e!==o;){const t=$t(n),e=n.getBoundingClientRect(),i=Tt(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=ut(n),n=Bt(o)}}return rt({width:d,height:p,x:l,y:c})}function Zt(t,e){const o=Et(t).scrollLeft;return e?e.left+o:Ft(mt(t)).left+o}function Qt(t,e){const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-Zt(t,o),y:o.top+e.scrollTop}}const Xt=new Set(["absolute","fixed"]);function Ut(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ut(t),i=mt(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=Ct();(!t||t&&"fixed"===e)&&(r=n.offsetLeft,l=n.offsetTop)}const c=Zt(i);if(c<=0){const t=i.ownerDocument,e=t.body,o=getComputedStyle(e),n="CSS1Compat"===t.compatMode&&parseFloat(o.marginLeft)+parseFloat(o.marginRight)||0,s=Math.abs(i.clientWidth-e.clientWidth-n);s<=25&&(a-=s)}else c<=25&&(a+=c);return{width:a,height:s,x:r,y:l}}(t,o);else if("document"===e)i=function(t){const e=mt(t),o=Et(t),i=t.ownerDocument.body,n=R(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=R(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Zt(t);const r=-o.scrollTop;return"rtl"===Tt(i).direction&&(s+=R(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:r}}(mt(t));else if(bt(e))i=function(t,e){const o=Ft(t,!0,"fixed"===e),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=vt(t)?$t(t):Y(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=Gt(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return rt(i)}function Vt(t,e){const o=Ht(t);return!(o===e||!bt(o)||Nt(o))&&("fixed"===Tt(o).position||Vt(o,e))}function _t(t,e,o){const i=vt(e),n=mt(e),a="fixed"===o,s=Ft(t,!0,a,e);let r={scrollLeft:0,scrollTop:0};const l=Y(0);function c(){l.x=Zt(n)}if(i||!i&&!a)if(("body"!==gt(e)||yt(n))&&(r=Et(e)),i){const t=Ft(e,!0,a,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else n&&c();a&&!i&&n&&c();const d=!n||i||a?Y(0):Qt(n,r);return{x:s.left+r.scrollLeft-l.x-d.x,y:s.top+r.scrollTop-l.y-d.y,width:s.width,height:s.height}}function Jt(t){return"static"===Tt(t).position}function Kt(t,e){if(!vt(t)||"fixed"===Tt(t).position)return null;if(e)return e(t);let o=t.offsetParent;return mt(t)===o&&(o=o.ownerDocument.body),o}function qt(t,e){const o=ut(t);if(Lt(t))return o;if(!vt(t)){let e=Ht(t);for(;e&&!Nt(e);){if(bt(e)&&!Jt(e))return e;e=Ht(e)}return o}let i=Kt(t,e);for(;i&&Mt(i)&&Jt(i);)i=Kt(i,e);return i&&Nt(i)&&Jt(i)&&!At(i)?o:i||function(t){let e=Ht(t);for(;vt(e)&&!Nt(e);){if(At(e))return e;if(Lt(e))return null;e=Ht(e)}return null}(t)||o}const te={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:o,offsetParent:i,strategy:n}=t;const a="fixed"===n,s=mt(i),r=!!e&&Lt(e.floating);if(i===s||r&&a)return o;let l={scrollLeft:0,scrollTop:0},c=Y(1);const d=Y(0),p=vt(i);if((p||!p&&!a)&&(("body"!==gt(i)||yt(s))&&(l=Et(i)),vt(i))){const t=Ft(i);c=$t(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}const h=!s||p||a?Y(0):Qt(s,l);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:mt,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t;const a=[..."clippingAncestors"===o?Lt(e)?[]:function(t,e){const o=e.get(t);if(o)return o;let i=Pt(t,[],!1).filter((t=>bt(t)&&"body"!==gt(t))),n=null;const a="fixed"===Tt(t).position;let s=a?Ht(t):t;for(;bt(s)&&!Nt(s);){const e=Tt(s),o=At(s);o||"fixed"!==e.position||(n=null),(a?!o&&!n:!o&&"static"===e.position&&n&&Xt.has(n.position)||yt(s)&&!o&&Vt(t,s))?i=i.filter((t=>t!==s)):n=e,s=Ht(s)}return e.set(t,i),i}(e,this._c):[].concat(o),i],s=a.reduce(((t,o)=>{const i=Ut(e,o,n);return t.top=R(i.top,t.top),t.right=B(i.right,t.right),t.bottom=B(i.bottom,t.bottom),t.left=R(i.left,t.left),t}),Ut(e,a[0],n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:qt,getElementRects:async function(t){const e=this.getOffsetParent||qt,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}=Rt(t);return{width:e,height:o}},getScale:$t,isElement:bt,isRTL:function(t){return"rtl"===Tt(t).direction}};function ee(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const oe=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=X(o),r=U(o),l="y"===K(o),c=pt.has(s)?-1:1,d=a&&l?-1:1,p=Q(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:u}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return r&&"number"==typeof u&&(g="end"===r?-1*u:u),l?{x:g*d,y:h*c}:{x:h*c,y:g*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}}}}},ie=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}=Q(t,e),c={x:o,y:i},d=await ct(e,l),p=K(X(n)),h=V(p);let g=c[h],u=c[p];a&&(g=Z(g+d["y"===h?"top":"left"],g,g-d["y"===h?"bottom":"right"])),s&&(u=Z(u+d["y"===p?"top":"left"],u,u-d["y"===p?"bottom":"right"]));const m=r.fn({...e,[h]:g,[p]:u});return{...m,data:{x:m.x-o,y:m.y-i,enabled:{[h]:a,[p]:s}}}}}},ne=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:g="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:m=!0,...f}=Q(t,e);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const b=X(n),v=K(r),w=X(r)===r,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=h||(w||!m?[at(r)]:function(t){const e=at(t);return[tt(t),e,tt(e)]}(r)),k="none"!==u;!h&&k&&y.push(...function(t,e,o,i){const n=U(t);let a=function(t,e,o){switch(t){case"top":case"bottom":return o?e?ot:et:e?et:ot;case"left":case"right":return e?it:nt;default:return[]}}(X(t),"start"===o,i);return n&&(a=a.map((t=>t+"-"+n)),e&&(a=a.concat(a.map(tt)))),a}(r,m,u,x));const M=[r,...y],S=await ct(e,f),L=[];let j=(null==(i=a.flip)?void 0:i.overflows)||[];if(d&&L.push(S[b]),p){const t=function(t,e,o){void 0===o&&(o=!1);const i=U(t),n=q(t),a=_(n);let s="x"===n?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=at(s)),[s,at(s)]}(n,s,x);L.push(S[t[0]],S[t[1]])}if(j=[...j,{placement:n,overflows:L}],!L.every((t=>t<=0))){var I,z;const t=((null==(I=a.flip)?void 0:I.index)||0)+1,e=M[t];if(e&&("alignment"!==p||v===K(e)||j.every((t=>K(t.placement)!==v||t.overflows[0]>0))))return{data:{index:t,overflows:j},reset:{placement:e}};let o=null==(z=j.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!o)switch(g){case"bestFit":{var A;const t=null==(A=j.filter((t=>{if(k){const e=K(t.placement);return e===v||"y"===e}return!0})).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:A[0];t&&(o=t);break}case"initialPlacement":o=r}if(n!==o)return{reset:{placement:o}}}return{}}}},ae=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var o,i;const{placement:n,rects:a,platform:s,elements:r}=e,{apply:l=()=>{},...c}=Q(t,e),d=await ct(e,c),p=X(n),h=U(n),g="y"===K(n),{width:u,height:m}=a.floating;let f,b;"top"===p||"bottom"===p?(f=p,b=h===(await(null==s.isRTL?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(b=p,f="end"===h?"top":"bottom");const v=m-d.top-d.bottom,w=u-d.left-d.right;let x=B(m-d[f],v),y=B(u-d[b],w);if(null!=(o=e.middlewareData.shift)&&o.enabled.x&&(y=w),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(x=v),!e.middlewareData.shift&&!h){const t=R(d.left,0),e=R(d.right,0),o=R(d.top,0),i=R(d.bottom,0);g?y=u-2*(0!==t||0!==e?t+e:R(d.left,d.right)):x=m-2*(0!==o||0!==i?o+i:R(d.top,d.bottom))}await l({...e,availableWidth:y,availableHeight:x});const k=await s.getDimensions(r.floating);return u!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}},se=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}=Q(t,e),d={x:o,y:i},p=K(n),h=V(p);let g=d[h],u=d[p];const m=Q(r,e),f="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const t="y"===h?"height":"width",e=a.reference[h]-a.floating[t]+f.mainAxis,o=a.reference[h]+a.reference[t]-f.mainAxis;g<e?g=e:g>o&&(g=o)}if(c){var b,v;const t="y"===h?"width":"height",e=pt.has(X(n)),o=a.reference[p]-a.floating[t]+(e&&(null==(b=s.offset)?void 0:b[p])||0)+(e?0:f.crossAxis),i=a.reference[p]+a.reference[t]+(e?0:(null==(v=s.offset)?void 0:v[p])||0)-(e?f.crossAxis:0);u<o?u=o:u>i&&(u=i)}return{[h]:g,[p]:u}}}};var re=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:o="",...i}={}){super(t,i),this.oldState=String(e||""),this.newState=String(o||"")}},le=new WeakMap;function ce(t,e,o){le.set(t,setTimeout((()=>{le.has(t)&&t.dispatchEvent(new re("toggle",{cancelable:!1,oldState:e,newState:o}))}),0))}var de=globalThis.ShadowRoot||function(){},pe=globalThis.HTMLDialogElement||function(){},he=new WeakMap,ge=new WeakMap,ue=new WeakMap,me=new WeakMap;function fe(t){return me.get(t)||"hidden"}var be=new WeakMap;function ve(t){return[...t].pop()}function we(t,e){return!("auto"!==t.popover&&"manual"!==t.popover&&"hint"!==t.popover||!t.isConnected||e&&"showing"!==fe(t)||!e&&"hidden"!==fe(t)||t instanceof pe&&t.hasAttribute("open")||document.fullscreenElement===t)}function xe(t){if(!t)return 0;const e=ge.get(document)||new Set,o=ue.get(document)||new Set;return o.has(t)?[...o].indexOf(t)+e.size+1:e.has(t)?[...e].indexOf(t)+1:0}function ye(t){let e;const o=ue.get(t)||new Set,i=ge.get(t)||new Set,n=o.size>0?o:i.size>0?i:null;return n?(e=ve(n),e.isConnected?e:(n.delete(e),ye(t))):null}function ke(t){for(const e of t||[]){if(e.isConnected)return e;t.delete(e)}return null}function Me(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?Me(t.parentNode):t}function Se(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===me.get(t))return t;if((t=t instanceof Element&&t.assignedSlot||t.parentElement||Me(t))instanceof de&&(t=t.host),t instanceof Document)return}}function Le(t,e){const o=new Map;let i=0;for(const t of e||[])o.set(t,i),i+=1;o.set(t,i),i+=1;let n=null;return function(e){if(!e)return;let i=!1,a=null,s=null;for(;!i;){if(a=Se(e)||null,null===a)return;if(!o.has(a))return;"hint"!==t.popover&&"auto"!==a.popover||(i=!0),i||(e=a.parentElement)}s=o.get(a),(null===n||o.get(n)<s)&&(n=a)}(t.parentElement||Me(t)),n}function je(t){return!(t.hidden||t instanceof de||(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 Ie=new WeakMap;function ze(t){if(!we(t,!1))return;const e=t.ownerDocument;if(!t.dispatchEvent(new re("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"})))return;if(!we(t,!1))return;let o=!1;const i=t.popover;let n=null;const a=Le(t,ge.get(e)||new Set),s=Le(t,ue.get(e)||new Set);if("auto"===i&&(Ce(ue.get(e)||new Set,o,!0),Ne(a||e,o,!0),n="auto"),"hint"===i&&(s?(Ne(s,o,!0),n="hint"):(Ce(ue.get(e)||new Set,o,!0),a?(Ne(a,o,!0),n="auto"):n="hint")),"auto"===i||"hint"===i){if(i!==t.popover||!we(t,!1))return;ye(e)||(o=!0),"auto"===n?(ge.has(e)||ge.set(e,new Set),ge.get(e).add(t)):"hint"===n&&(ue.has(e)||ue.set(e,new Set),ue.get(e).add(t))}Ie.delete(t);const r=e.activeElement;var l;t.classList.add(":popover-open"),me.set(t,"showing"),he.has(e)||he.set(e,new Set),he.get(e).add(t),Oe(be.get(t),!0),l=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;{const t=e.querySelectorAll("slot");for(const e of t){const t=e.assignedElements({flatten:!0});for(const e of t){if(e.hasAttribute("autofocus"))return e;if(o=e.querySelector("[autofocus]"),o)return o}}}const i=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let n=i.currentNode;for(;n;){if(je(n))return n;n=i.nextNode()}}(l)?.focus(),o&&r&&"auto"===t.popover&&Ie.set(t,r),ce(t,"closed","open")}function Ae(t,e=!1,o=!1){if(!we(t,!0))return;const i=t.ownerDocument;if(["auto","hint"].includes(t.popover)&&(Ne(t,e,o),!we(t,!0)))return;const n=ge.get(i)||new Set,a=n.has(t)&&ve(n)===t;if(Oe(be.get(t),!1),be.delete(t),o&&(t.dispatchEvent(new re("beforetoggle",{oldState:"open",newState:"closed"})),a&&ve(n)!==t&&Ne(t,e,o),!we(t,!0)))return;he.get(i)?.delete(t),n.delete(t),ue.get(i)?.delete(t),t.classList.remove(":popover-open"),me.set(t,"hidden"),o&&ce(t,"open","closed");const s=Ie.get(t);s&&(Ie.delete(t),e&&s.focus())}function Ce(t,e=!1,o=!1){let i=ke(t);for(;i;)Ae(i,e,o),i=ke(t)}function De(t,e,o,i){let n=!1,a=!1;for(;n||!a;){a=!0;let s=null,r=!1;for(const o of e)if(o===t)r=!0;else if(r){s=o;break}if(!s)return;for(;"showing"===fe(s)&&e.size;)Ae(ve(e),o,i);e.has(t)&&ve(e)!==t&&(n=!0),n&&(i=!1)}}function Ne(t,e,o){const i=t.ownerDocument||t;if(t instanceof Document)return function(t,e=!1,o=!1){let i=ye(t);for(;i;)Ae(i,e,o),i=ye(t)}(i,e,o);ue.get(i)?.has(t)?De(t,ue.get(i),e,o):(Ce(ue.get(i)||new Set,e,o),ge.get(i)?.has(t)&&De(t,ge.get(i),e,o))}var Te=new WeakMap;function Ee(t){if(!t.isTrusted)return;const e=t.composedPath()[0];if(!e)return;const o=e.ownerDocument;if(!ye(o))return;const i=function(t){const e=Se(t),o=function(t){for(;t;){const e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||Me(t))instanceof de&&(t=t.host),t instanceof Document)return}}(t);return xe(e)>xe(o)?e:o}(e);if(i&&"pointerdown"===t.type)Te.set(o,i);else if("pointerup"===t.type){const t=Te.get(o)===i;Te.delete(o),t&&Ne(i||o,!1,!0)}}var He=new WeakMap;function Oe(t,e=!1){if(!t)return;He.has(t)||He.set(t,t.getAttribute("aria-expanded"));const o=t.popoverTargetElement;if(o instanceof HTMLElement&&"auto"===o.popover)t.setAttribute("aria-expanded",String(e));else{const e=He.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var Pe=globalThis.ShadowRoot||function(){};function Be(t,e,o){const i=t[e];Object.defineProperty(t,e,{value(t){return i.call(this,o(t))}})}var Re=/(^|[^\\]):popover-open\b/g;var We=null;function $e(t){const e=function(){const t="function"==typeof globalThis.CSSLayerBlockRule;return`\n${t?"@layer popover-polyfill {":""}\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([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\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${t?"}":""}\n`}();if(null===We)try{(We=new CSSStyleSheet).replaceSync(e)}catch{We=!1}if(!1===We){const o=document.createElement("style");o.textContent=e,t instanceof Document?t.head.prepend(o):t.prepend(o)}else t.adoptedStyleSheets=[We,...t.adoptedStyleSheets]}const Ye=class{constructor(e){t(this,e),this.postBeforeShow=n(this,"postBeforeShow"),this.postShow=n(this,"postShow"),this.postHide=n(this,"postHide"),this.postBeforeToggle=n(this,"postBeforeToggle"),this.postToggle=n(this,"postToggle"),this.hasOpenedOnce=!0,this.placement="top",this.edgeGap=8,this.animation=null,this.arrow=!1,this.manualClose=!1,this.currentAnimation=null}validatePlacement(){s(this,"placement",f)}validateEdgeGap(){r(this,"edgeGap","number")}validateSafeSpace(){s(this,"safeSpace",["triangle","trapezoid"])}mouseTrackingHandler(t){this.host.style.setProperty("--post-safe-space-cursor-x",`${t.clientX}px`),this.host.style.setProperty("--post-safe-space-cursor-y",`${t.clientY}px`)}connectedCallback(){!h||"undefined"!=typeof HTMLElement&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){if("undefined"==typeof window)return;function t(t){return t?.includes(":popover-open")&&(t=t.replace(Re,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||re,Be(Document.prototype,"querySelector",t),Be(Document.prototype,"querySelectorAll",t),Be(Element.prototype,"querySelector",t),Be(Element.prototype,"querySelectorAll",t),Be(Element.prototype,"matches",t),Be(Element.prototype,"closest",t),Be(DocumentFragment.prototype,"querySelectorAll",t),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;const t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"hint"==t?"hint":"manual"},set(t){null===t?this.removeAttribute("popover"):this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(t={}){ze(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){Ae(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t={}){return"boolean"==typeof t&&(t={force:t}),"showing"===me.get(this)&&void 0===t.force||!1===t.force?Ae(this,!0,!0):void 0!==t.force&&!0!==t.force||ze(this),"showing"===me.get(this)}}});const e=Element.prototype.attachShadow;e&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){const o=e.call(this,t);return $e(o),o}}});const o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){const t=o.call(this);return t.shadowRoot&&$e(t.shadowRoot),t}}});const i=new WeakMap;function n(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),i.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),i.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName)return null;if("input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type)return null;if(this.disabled)return null;if(this.form&&"submit"===this.type)return null;const t=i.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return i.delete(this),null;const e=Me(this),o=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof Pe)&&o&&e.getElementById(o)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){const t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}var a;n(HTMLButtonElement),n(HTMLInputElement),(a=document).addEventListener("click",(t=>{const e=t.composedPath(),o=e[0];if(!(o instanceof Element)||o?.shadowRoot)return;const i=Me(o);if(!(i instanceof Pe||i instanceof Document))return;const n=e.find((t=>t.matches?.("[popovertargetaction],[popovertarget]")));return n?(function(t){const e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;const o=fe(e);"show"===t.popoverTargetAction&&"showing"===o||"hide"===t.popoverTargetAction&&"hidden"===o||("showing"===o?Ae(e,!0,!0):we(e,!1)&&(be.set(e,t),ze(e)))}(n),void t.preventDefault()):void 0})),a.addEventListener("keydown",(t=>{const e=t.key,o=t.target;t.defaultPrevented||!o||"Escape"!==e&&"Esc"!==e||Ne(o.ownerDocument,!0,!0)})),a.addEventListener("pointerdown",Ee),a.addEventListener("pointerup",Ee),$e(document)}()}componentDidLoad(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.host.showPopover())}async open(){const t=this.host.querySelector(".popover-content");this.startAutoupdates(),t&&(null===this.animation?(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce&&(this.hasOpenedOnce=!1)):this.runOpenAnimation(t)),this.safeSpace&&window.addEventListener("mousemove",this.mouseTrackingHandler.bind(this))}async close(){"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.safeSpace&&window.removeEventListener("mousemove",this.mouseTrackingHandler.bind(this)),null!==this.animation&&this.currentAnimation&&(this.currentAnimation.cancel(),this.currentAnimation=null),this.postBeforeToggle.emit({willOpen:!1}),this.postToggle.emit({isOpen:!1}),this.postHide.emit()}async runOpenAnimation(t){let e;try{e=function(t){if(t)return t.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:250,easing:"ease-out",fill:"forwards"})}(t),this.currentAnimation=e,"running"===e.playState&&(this.postBeforeToggle.emit({willOpen:!0}),this.postBeforeShow.emit({first:this.hasOpenedOnce})),await e.finished,this.postToggle.emit({isOpen:!0}),this.postShow.emit({first:this.hasOpenedOnce}),this.hasOpenedOnce=!0}catch(t){console.warn("Animation failed or was interrupted:",t),this.postBeforeToggle.emit({willOpen:!1}),this.postBeforeShow.emit({first:this.hasOpenedOnce}),this.postToggle.emit({isOpen:!1})}finally{this.currentAnimation===e&&(this.currentAnimation=null)}}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.host.hidePopover(),this.postHide.emit())}async toggle(t,e){return this.eventTarget=t,this.toggleTimeoutId||(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),"open"===t.newState?this.open():this.close()}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=Wt(t),d=n||a?[...c?Pt(c):[],...Pt(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=mt(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:g}=c;if(r||e(),!h||!g)return;const u={rootMargin:-$(p)+"px "+-$(n.clientWidth-(d+h))+"px "+-$(n.clientHeight-(p+g))+"px "+-$(d)+"px",threshold:R(0,B(1,l))||1};let m=!0;function f(e){const i=e[0].intersectionRatio;if(i!==l){if(!m)return s();i?s(!1,i):o=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==i||ee(c,t.getBoundingClientRect())||s(),m=!1}try{i=new IntersectionObserver(f,{...u,root:n.ownerDocument})}catch(t){i=new IntersectionObserver(f,u)}i.observe(t)}(!0),a}(c,o):null;let h,g=-1,u=null;s&&(u=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&u&&(u.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=u)||t.observe(e)}))),o()})),c&&!l&&u.observe(c),u.observe(e));let m=l?Ft(t):null;return l&&function e(){const i=Ft(t);m&&!ee(m,i)&&o(),m=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=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(h)}}(this.eventTarget,this.host,this.calculatePosition.bind(this))}getHeaderHeight(){const t=document.querySelector("post-header");return t?parseFloat(getComputedStyle(t).height):0}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=Ye.STATIC_SIDES[n];i&&Object.assign(this.arrowRef.style,{left:t?`${t}px`:"",top:e?`${e}px`:"",[i]:"-5px"})}this.safeSpace&&this.eventTarget&&await this.updateSafeSpaceBoundaries(n)}async computeMainPosition(){const t=this.edgeGap,e=[ne({padding:this.getHeaderHeight()}),(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}=Q(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=>rt(dt(t))))}(d),h=rt(dt(d)),g=st(r),u=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-g.left&&l<t.right+g.right&&c>t.top-g.top&&c<t.bottom+g.bottom))||h;if(p.length>=2){if("y"===K(e)){const t=p[0],o=p[p.length-1],i="top"===X(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"===X(e),o=R(...p.map((t=>t.right))),i=B(...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!==u.reference.x||n.reference.y!==u.reference.y||n.reference.width!==u.reference.width||n.reference.height!==u.reference.height?{reset:{rects:u}}:{}}}),ie({padding:t,limiter:se({offset:32})}),ae({apply({availableWidth:e,elements:o}){Object.assign(o.floating.style,{maxWidth:e-2*t+"px"})}}),oe(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}=Q(t,e)||{};if(null==c)return{};const p=st(d),h={x:o,y:i},g=q(n),u=_(g),m=await s.getDimensions(c),f="y"===g,b=f?"top":"left",v=f?"bottom":"right",w=f?"clientHeight":"clientWidth",x=a.reference[u]+a.reference[g]-h[g]-a.floating[u],y=h[g]-a.reference[g],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let M=k?k[w]:0;M&&await(null==s.isElement?void 0:s.isElement(k))||(M=r.floating[w]||a.floating[u]);const S=x/2-y/2,L=M/2-m[u]/2-1,j=B(p[b],L),I=B(p[v],L),z=j,A=M-m[u]-I,C=M/2-m[u]/2+S,D=Z(z,C,A),N=!l.arrow&&null!=U(n)&&C!==D&&a.reference[u]/2-(C<z?j:I)-m[u]/2<0,T=N?C<z?C-z:C-A:0;return{[g]:h[g]+T,data:{[g]:D,centerOffset:C-D-T,...N&&{alignmentOffset:T}},reset:N}}}))({element:this.arrowRef,padding:t})),((t,e,o)=>{const i=new Map,n={platform:te,...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}=lt(c,i,l),h=i,g={},u=0;for(let o=0;o<r.length;o++){const{name:a,fn:m}=r[o],{x:f,y:b,data:v,reset:w}=await m({x:d,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=null!=f?f:d,p=null!=b?b:p,g={...g,[a]:{...g[a],...v}},w&&u<=50&&(u++,"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}=lt(c,h,l))),o=-1)}return{x:d,y:p,placement:h,strategy:n,middlewareData:g}})(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);Ye.PROPERTIES_TO_CLEAR.forEach((t=>{this.host.style.removeProperty(t)})),o?(this.host.style.setProperty("--post-safe-space-popover-y",`${i.popover.y}px`),this.host.style.setProperty("--post-safe-space-popover-x-start",`${i.popover.xStart}px`),this.host.style.setProperty("--post-safe-space-popover-x-end",`${i.popover.xEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-y",`${i.trigger.y}px`),this.host.style.setProperty("--post-safe-space-trigger-x-start",`${i.trigger.xStart}px`),this.host.style.setProperty("--post-safe-space-trigger-x-end",`${i.trigger.xEnd}px`)):(this.host.style.setProperty("--post-safe-space-popover-x",`${i.popover.x}px`),this.host.style.setProperty("--post-safe-space-popover-y-start",`${i.popover.yStart}px`),this.host.style.setProperty("--post-safe-space-popover-y-end",`${i.popover.yEnd}px`),this.host.style.setProperty("--post-safe-space-trigger-x",`${i.trigger.x}px`),this.host.style.setProperty("--post-safe-space-trigger-y-start",`${i.trigger.yStart}px`),this.host.style.setProperty("--post-safe-space-trigger-y-end",`${i.trigger.yEnd}px`))}render(){return e(o,{key:"ec57bb478a7fe7d6449ef1ed4d91db4d0835ea4e","data-version":a,popover:this.manualClose?"manual":"auto"},e("div",{key:"2969b3c6ef9441d06b9c913f47bb64e84006dbe4",class:"popover-content"},this.arrow&&e("span",{key:"03b8addd0bee91d9358e9554f2d507b9a349e0db",class:"arrow",ref:t=>{this.arrowRef=t}}),e("slot",{key:"2fb25dce5ea9e5f1044cde4839df61af34c8b667"})))}get host(){return i(this)}static get watchers(){return{placement:["validatePlacement"],edgeGap:["validateEdgeGap"],safeSpace:["validateSafeSpace"]}}};Ye.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"},Ye.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"],Ye.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;margin:0;padding:0;overflow:visible}:where(post-popovercontainer)>div{box-shadow:var(--post-device-elevation-300);width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:where(post-popovercontainer)>div{border:2px solid rgba(0,0,0,0)}}: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(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:where(post-popovercontainer)[safe-space=trapezoid]::after{clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-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-block-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.right{border-block-start:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.left{border-block-end:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0)}:where(post-popovercontainer) .arrow.bottom{border-block-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0)}';const Ge=class{constructor(e){t(this,e),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick())),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)))}render(){return e(o,{key:"f56832bfbfacc23923ac06d8455fffcdafa8a7ec","data-version":a,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},e("slot",{key:"7adc9ed579b6badeb08c7599ceb95892d68f027f"}))}get host(){return i(this)}};Ge.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{w as post_closebutton,k as post_header,L as post_icon,I as post_language_option,z as post_language_switch,A as post_list,C as post_list_item,D as post_logo,N as post_mainnavigation,T as post_megadropdown,E as post_megadropdown_trigger,O as post_menu,P as post_menu_trigger,Ye as post_popovercontainer,Ge as post_togglebutton}