@swisspost/internet-header 10.8.0 → 10.9.0

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 (294) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{package-DV0YNR6p.js → package-B_v8dSM6.js} +1 -1
  4. package/dist/cjs/{package-DAEQGHsE.js → package-kgRYEtTJ.js} +1 -1
  5. package/dist/cjs/post-accordion_4.cjs.entry.js +1 -1
  6. package/dist/cjs/post-autocomplete.cjs.entry.js +1 -1
  7. package/dist/cjs/post-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/post-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/post-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +1 -1
  11. package/dist/cjs/post-breadcrumbs.cjs.entry.js +1 -1
  12. package/dist/cjs/post-closebutton.cjs.entry.js +1 -1
  13. package/dist/cjs/post-date-picker.cjs.entry.js +6 -5
  14. package/dist/cjs/post-footer.cjs.entry.js +2 -2
  15. package/dist/cjs/post-header.cjs.entry.js +71 -10
  16. package/dist/cjs/post-icon.cjs.entry.js +2 -3
  17. package/dist/cjs/post-language-menu-item.cjs.entry.js +1 -1
  18. package/dist/cjs/post-language-menu.cjs.entry.js +1 -1
  19. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  20. package/dist/cjs/post-listbox-option.cjs.entry.js +3 -3
  21. package/dist/cjs/post-listbox.cjs.entry.js +3 -3
  22. package/dist/cjs/post-logo.cjs.entry.js +2 -2
  23. package/dist/cjs/post-mainnavigation.cjs.entry.js +3 -3
  24. package/dist/cjs/post-megadropdown-trigger.cjs.entry.js +3 -3
  25. package/dist/cjs/post-megadropdown.cjs.entry.js +2 -2
  26. package/dist/cjs/post-menu-item.cjs.entry.js +1 -1
  27. package/dist/cjs/post-menu_2.cjs.entry.js +3 -3
  28. package/dist/cjs/post-number-input.cjs.entry.js +3 -3
  29. package/dist/cjs/post-pagination.cjs.entry.js +1 -1
  30. package/dist/cjs/post-popover-trigger.cjs.entry.js +2 -2
  31. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  32. package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
  33. package/dist/cjs/post-progressbar.cjs.entry.js +1 -1
  34. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  35. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +2 -2
  36. package/dist/cjs/post-side-navigation.cjs.entry.js +2 -2
  37. package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
  38. package/dist/cjs/post-stepper.cjs.entry.js +2 -2
  39. package/dist/cjs/post-tab-item.cjs.entry.js +2 -2
  40. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  41. package/dist/cjs/post-tabs.cjs.entry.js +32 -4
  42. package/dist/cjs/post-togglebutton.cjs.entry.js +2 -2
  43. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
  44. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  45. package/dist/cjs/swisspost-internet-footer.cjs.entry.js +12 -7
  46. package/dist/cjs/swisspost-internet-header.cjs.entry.js +9 -3
  47. package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
  48. package/dist/collection/assets/config/test-configuration.json +32 -12
  49. package/dist/collection/components/post-internet-footer/post-internet-footer.js +11 -6
  50. package/dist/collection/components/post-internet-header/post-internet-header.js +27 -2
  51. package/dist/collection/services/alternate-link.service.js +2 -1
  52. package/dist/components/package.js +1 -1
  53. package/dist/components/package2.js +1 -1
  54. package/dist/components/post-date-picker.js +1 -1
  55. package/dist/components/post-footer2.js +1 -1
  56. package/dist/components/post-header2.js +1 -1
  57. package/dist/components/post-icon2.js +1 -1
  58. package/dist/components/post-linkarea.js +1 -1
  59. package/dist/components/post-listbox-option.js +1 -1
  60. package/dist/components/post-listbox.js +1 -1
  61. package/dist/components/post-logo2.js +1 -1
  62. package/dist/components/post-mainnavigation2.js +1 -1
  63. package/dist/components/post-megadropdown-trigger.js +1 -1
  64. package/dist/components/post-megadropdown.js +1 -1
  65. package/dist/components/post-menu-trigger2.js +1 -1
  66. package/dist/components/post-menu2.js +1 -1
  67. package/dist/components/post-number-input.js +1 -1
  68. package/dist/components/post-popover-trigger.js +1 -1
  69. package/dist/components/post-popover.js +1 -1
  70. package/dist/components/post-popovercontainer2.js +1 -1
  71. package/dist/components/post-progressbar.js +1 -1
  72. package/dist/components/post-rating.js +1 -1
  73. package/dist/components/post-side-navigation-trigger.js +1 -1
  74. package/dist/components/post-side-navigation.js +1 -1
  75. package/dist/components/post-stepper-item.js +1 -1
  76. package/dist/components/post-stepper.js +1 -1
  77. package/dist/components/post-tab-item.js +1 -1
  78. package/dist/components/post-tab-panel.js +1 -1
  79. package/dist/components/post-tabs.js +1 -1
  80. package/dist/components/post-togglebutton2.js +1 -1
  81. package/dist/components/post-tooltip-trigger.js +1 -1
  82. package/dist/components/post-tooltip.js +1 -1
  83. package/dist/components/swisspost-internet-footer.js +1 -1
  84. package/dist/components/swisspost-internet-header.js +1 -1
  85. package/dist/docs.json +30 -1
  86. package/dist/esm/index.js +1 -1
  87. package/dist/esm/loader.js +1 -1
  88. package/dist/esm/{package-BdiQsTQm.js → package-CAL337jJ.js} +1 -1
  89. package/dist/esm/{package--a_K3g1E.js → package-h2MHUaQn.js} +1 -1
  90. package/dist/esm/post-accordion_4.entry.js +1 -1
  91. package/dist/esm/post-autocomplete.entry.js +1 -1
  92. package/dist/esm/post-avatar.entry.js +1 -1
  93. package/dist/esm/post-back-to-top.entry.js +1 -1
  94. package/dist/esm/post-banner.entry.js +1 -1
  95. package/dist/esm/post-breadcrumb-item.entry.js +1 -1
  96. package/dist/esm/post-breadcrumbs.entry.js +1 -1
  97. package/dist/esm/post-closebutton.entry.js +1 -1
  98. package/dist/esm/post-date-picker.entry.js +6 -5
  99. package/dist/esm/post-footer.entry.js +2 -2
  100. package/dist/esm/post-header.entry.js +71 -10
  101. package/dist/esm/post-icon.entry.js +2 -3
  102. package/dist/esm/post-language-menu-item.entry.js +1 -1
  103. package/dist/esm/post-language-menu.entry.js +1 -1
  104. package/dist/esm/post-linkarea.entry.js +2 -2
  105. package/dist/esm/post-listbox-option.entry.js +3 -3
  106. package/dist/esm/post-listbox.entry.js +3 -3
  107. package/dist/esm/post-logo.entry.js +2 -2
  108. package/dist/esm/post-mainnavigation.entry.js +3 -3
  109. package/dist/esm/post-megadropdown-trigger.entry.js +3 -3
  110. package/dist/esm/post-megadropdown.entry.js +2 -2
  111. package/dist/esm/post-menu-item.entry.js +1 -1
  112. package/dist/esm/post-menu_2.entry.js +3 -3
  113. package/dist/esm/post-number-input.entry.js +3 -3
  114. package/dist/esm/post-pagination.entry.js +1 -1
  115. package/dist/esm/post-popover-trigger.entry.js +2 -2
  116. package/dist/esm/post-popover.entry.js +3 -3
  117. package/dist/esm/post-popovercontainer.entry.js +2 -2
  118. package/dist/esm/post-progressbar.entry.js +1 -1
  119. package/dist/esm/post-rating.entry.js +2 -2
  120. package/dist/esm/post-side-navigation-trigger.entry.js +2 -2
  121. package/dist/esm/post-side-navigation.entry.js +2 -2
  122. package/dist/esm/post-stepper-item.entry.js +2 -2
  123. package/dist/esm/post-stepper.entry.js +2 -2
  124. package/dist/esm/post-tab-item.entry.js +2 -2
  125. package/dist/esm/post-tab-panel.entry.js +2 -2
  126. package/dist/esm/post-tabs.entry.js +32 -4
  127. package/dist/esm/post-togglebutton.entry.js +2 -2
  128. package/dist/esm/post-tooltip-trigger.entry.js +2 -2
  129. package/dist/esm/post-tooltip.entry.js +2 -2
  130. package/dist/esm/swisspost-internet-footer.entry.js +12 -7
  131. package/dist/esm/swisspost-internet-header.entry.js +9 -3
  132. package/dist/esm/swisspost-internet-header.js +1 -1
  133. package/dist/esm-es5/index.js +1 -1
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/package-CAL337jJ.js +1 -0
  136. package/dist/esm-es5/{package--a_K3g1E.js → package-h2MHUaQn.js} +1 -1
  137. package/dist/esm-es5/post-accordion_4.entry.js +1 -1
  138. package/dist/esm-es5/post-autocomplete.entry.js +1 -1
  139. package/dist/esm-es5/post-avatar.entry.js +1 -1
  140. package/dist/esm-es5/post-back-to-top.entry.js +1 -1
  141. package/dist/esm-es5/post-banner.entry.js +1 -1
  142. package/dist/esm-es5/post-breadcrumb-item.entry.js +1 -1
  143. package/dist/esm-es5/post-breadcrumbs.entry.js +1 -1
  144. package/dist/esm-es5/post-closebutton.entry.js +1 -1
  145. package/dist/esm-es5/post-date-picker.entry.js +1 -1
  146. package/dist/esm-es5/post-footer.entry.js +1 -1
  147. package/dist/esm-es5/post-header.entry.js +1 -1
  148. package/dist/esm-es5/post-icon.entry.js +1 -1
  149. package/dist/esm-es5/post-language-menu-item.entry.js +1 -1
  150. package/dist/esm-es5/post-language-menu.entry.js +1 -1
  151. package/dist/esm-es5/post-linkarea.entry.js +1 -1
  152. package/dist/esm-es5/post-listbox-option.entry.js +1 -1
  153. package/dist/esm-es5/post-listbox.entry.js +1 -1
  154. package/dist/esm-es5/post-logo.entry.js +1 -1
  155. package/dist/esm-es5/post-mainnavigation.entry.js +1 -1
  156. package/dist/esm-es5/post-megadropdown-trigger.entry.js +1 -1
  157. package/dist/esm-es5/post-megadropdown.entry.js +1 -1
  158. package/dist/esm-es5/post-menu-item.entry.js +1 -1
  159. package/dist/esm-es5/post-menu_2.entry.js +1 -1
  160. package/dist/esm-es5/post-number-input.entry.js +1 -1
  161. package/dist/esm-es5/post-pagination.entry.js +1 -1
  162. package/dist/esm-es5/post-popover-trigger.entry.js +1 -1
  163. package/dist/esm-es5/post-popover.entry.js +1 -1
  164. package/dist/esm-es5/post-popovercontainer.entry.js +1 -1
  165. package/dist/esm-es5/post-progressbar.entry.js +1 -1
  166. package/dist/esm-es5/post-rating.entry.js +1 -1
  167. package/dist/esm-es5/post-side-navigation-trigger.entry.js +1 -1
  168. package/dist/esm-es5/post-side-navigation.entry.js +1 -1
  169. package/dist/esm-es5/post-stepper-item.entry.js +1 -1
  170. package/dist/esm-es5/post-stepper.entry.js +1 -1
  171. package/dist/esm-es5/post-tab-item.entry.js +1 -1
  172. package/dist/esm-es5/post-tab-panel.entry.js +1 -1
  173. package/dist/esm-es5/post-tabs.entry.js +1 -1
  174. package/dist/esm-es5/post-togglebutton.entry.js +1 -1
  175. package/dist/esm-es5/post-tooltip-trigger.entry.js +1 -1
  176. package/dist/esm-es5/post-tooltip.entry.js +1 -1
  177. package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
  178. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  179. package/dist/esm-es5/swisspost-internet-header.js +1 -1
  180. package/dist/swisspost-internet-header/assets/config/test-configuration.json +32 -12
  181. package/dist/swisspost-internet-header/index.esm.js +1 -1
  182. package/dist/swisspost-internet-header/{p-3124582e.system.entry.js → p-01bad942.system.entry.js} +1 -1
  183. package/dist/swisspost-internet-header/{p-6c284cd6.system.entry.js → p-02b29b77.system.entry.js} +1 -1
  184. package/dist/swisspost-internet-header/{p-4d94cb9d.entry.js → p-03103f05.entry.js} +1 -1
  185. package/dist/swisspost-internet-header/{p-1d145a3d.entry.js → p-0589e5c6.entry.js} +1 -1
  186. package/dist/swisspost-internet-header/p-07c129bc.entry.js +1 -0
  187. package/dist/swisspost-internet-header/{p-45398826.entry.js → p-0bbb5c31.entry.js} +1 -1
  188. package/dist/swisspost-internet-header/p-0bedd5e7.system.entry.js +1 -0
  189. package/dist/swisspost-internet-header/{p-851c2112.system.entry.js → p-0c59b247.system.entry.js} +1 -1
  190. package/dist/swisspost-internet-header/p-0df8cfb2.system.entry.js +1 -0
  191. package/dist/swisspost-internet-header/{p-a1237171.system.entry.js → p-1104f44a.system.entry.js} +1 -1
  192. package/dist/swisspost-internet-header/{p-45d989e5.system.entry.js → p-155bc3d9.system.entry.js} +1 -1
  193. package/dist/swisspost-internet-header/{p-3995eead.system.entry.js → p-17c93eba.system.entry.js} +1 -1
  194. package/dist/swisspost-internet-header/{p-d390eac9.system.entry.js → p-180b541b.system.entry.js} +1 -1
  195. package/dist/swisspost-internet-header/{p-5aa3e212.system.entry.js → p-185db23a.system.entry.js} +1 -1
  196. package/dist/swisspost-internet-header/{p-f78ac8af.system.entry.js → p-1868ed70.system.entry.js} +1 -1
  197. package/dist/swisspost-internet-header/{p-5550933f.entry.js → p-1a128c9a.entry.js} +1 -1
  198. package/dist/swisspost-internet-header/{p-94c7624f.entry.js → p-23cfa957.entry.js} +1 -1
  199. package/dist/swisspost-internet-header/{p-94aae5c3.entry.js → p-25d097c2.entry.js} +1 -1
  200. package/dist/swisspost-internet-header/{p-1df3d147.entry.js → p-2bee008a.entry.js} +1 -1
  201. package/dist/swisspost-internet-header/{p-148cfacf.entry.js → p-330495e7.entry.js} +1 -1
  202. package/dist/swisspost-internet-header/{p-61e37660.entry.js → p-386284d7.entry.js} +1 -1
  203. package/dist/swisspost-internet-header/{p-7a8d9175.system.entry.js → p-38b49f7e.system.entry.js} +1 -1
  204. package/dist/swisspost-internet-header/{p-8ff4691a.entry.js → p-3bd877a7.entry.js} +1 -1
  205. package/dist/swisspost-internet-header/{p-a1ed3c1d.system.entry.js → p-3d2f922d.system.entry.js} +1 -1
  206. package/dist/swisspost-internet-header/{p-bf861c95.entry.js → p-3f0368c7.entry.js} +1 -1
  207. package/dist/swisspost-internet-header/{p-80ce5ec8.entry.js → p-4c742645.entry.js} +1 -1
  208. package/dist/swisspost-internet-header/{p-5a929d5c.entry.js → p-501e3ecd.entry.js} +1 -1
  209. package/dist/swisspost-internet-header/p-5a9034d3.system.entry.js +1 -0
  210. package/dist/swisspost-internet-header/{p-dcc3e62f.entry.js → p-5c7fd6f4.entry.js} +1 -1
  211. package/dist/swisspost-internet-header/{p-5ac46ce3.system.entry.js → p-5ceb7a51.system.entry.js} +1 -1
  212. package/dist/swisspost-internet-header/p-5d1b5b3a.entry.js +1 -0
  213. package/dist/swisspost-internet-header/{p-f2794080.system.entry.js → p-5fe96d1a.system.entry.js} +1 -1
  214. package/dist/swisspost-internet-header/{p-174e2b92.entry.js → p-64be5876.entry.js} +1 -1
  215. package/dist/swisspost-internet-header/{p-dae00825.system.entry.js → p-65c27c7e.system.entry.js} +1 -1
  216. package/dist/swisspost-internet-header/{p-d28a58ec.entry.js → p-6aed8ac4.entry.js} +1 -1
  217. package/dist/swisspost-internet-header/{p-629dfdba.entry.js → p-6cd8c6b0.entry.js} +1 -1
  218. package/dist/swisspost-internet-header/p-6dbd75fe.system.entry.js +1 -0
  219. package/dist/swisspost-internet-header/p-6e842506.entry.js +1 -0
  220. package/dist/swisspost-internet-header/{p-fb0e4425.system.entry.js → p-70c79c55.system.entry.js} +1 -1
  221. package/dist/swisspost-internet-header/p-785ab999.entry.js +1 -0
  222. package/dist/swisspost-internet-header/{p-3ef5a7c0.entry.js → p-7f46e6e7.entry.js} +1 -1
  223. package/dist/swisspost-internet-header/{p-62b7473b.entry.js → p-7f8ba8b5.entry.js} +1 -1
  224. package/dist/swisspost-internet-header/{p-de1eae9a.entry.js → p-80f1da9d.entry.js} +1 -1
  225. package/dist/swisspost-internet-header/{p-4466ee14.entry.js → p-8173229d.entry.js} +1 -1
  226. package/dist/swisspost-internet-header/{p-62a14cc2.system.entry.js → p-822603ec.system.entry.js} +1 -1
  227. package/dist/swisspost-internet-header/p-83120625.system.entry.js +1 -0
  228. package/dist/swisspost-internet-header/{p-925203fb.system.entry.js → p-8780dd5c.system.entry.js} +1 -1
  229. package/dist/swisspost-internet-header/{p-57b73dd7.entry.js → p-87c738a0.entry.js} +1 -1
  230. package/dist/swisspost-internet-header/{p-1b2b7af5.entry.js → p-8a3118d3.entry.js} +1 -1
  231. package/dist/swisspost-internet-header/{p-2d56ef1f.entry.js → p-8a4141ba.entry.js} +1 -1
  232. package/dist/swisspost-internet-header/{p-4b39fa0b.system.entry.js → p-8ce359ad.system.entry.js} +1 -1
  233. package/dist/swisspost-internet-header/p-8ed8d9c8.entry.js +1 -0
  234. package/dist/swisspost-internet-header/{p-ac9d7b3f.system.entry.js → p-9183ebfa.system.entry.js} +1 -1
  235. package/dist/swisspost-internet-header/{p-a00eb4a0.entry.js → p-96402eea.entry.js} +1 -1
  236. package/dist/swisspost-internet-header/{p-74b8b73a.system.entry.js → p-9883a70b.system.entry.js} +1 -1
  237. package/dist/swisspost-internet-header/{p-ef4aec35.system.entry.js → p-99b5e4db.system.entry.js} +1 -1
  238. package/dist/swisspost-internet-header/{p-a12be1fd.system.entry.js → p-99c241aa.system.entry.js} +1 -1
  239. package/dist/swisspost-internet-header/{p-745c3c76.system.entry.js → p-9b0e0fe8.system.entry.js} +1 -1
  240. package/dist/swisspost-internet-header/p-9e0f1730.system.entry.js +1 -0
  241. package/dist/swisspost-internet-header/p-CAL337jJ.js +1 -0
  242. package/dist/swisspost-internet-header/{p-BXoqlxOG.js → p-CdUTW0zV.js} +1 -1
  243. package/dist/swisspost-internet-header/{p-B1oFB_zk.system.js → p-CgnycKPl.system.js} +1 -1
  244. package/dist/swisspost-internet-header/{p-CYBchhbg.system.js → p-DaxTM5LF.system.js} +1 -1
  245. package/dist/swisspost-internet-header/p-R-F1E1j0.system.js +1 -0
  246. package/dist/swisspost-internet-header/p-R5BnOD0U.system.js +1 -1
  247. package/dist/swisspost-internet-header/p-a4bd564c.entry.js +1 -0
  248. package/dist/swisspost-internet-header/{p-a9045c62.system.entry.js → p-a706901f.system.entry.js} +1 -1
  249. package/dist/swisspost-internet-header/{p-22da79ea.entry.js → p-a7e33875.entry.js} +1 -1
  250. package/dist/swisspost-internet-header/{p-36232387.system.entry.js → p-aac0bcd3.system.entry.js} +1 -1
  251. package/dist/swisspost-internet-header/{p-d8384d86.system.entry.js → p-b00a20d4.system.entry.js} +1 -1
  252. package/dist/swisspost-internet-header/p-b3aef8a6.system.entry.js +1 -0
  253. package/dist/swisspost-internet-header/{p-c36c9d88.entry.js → p-b95f2edd.entry.js} +1 -1
  254. package/dist/swisspost-internet-header/{p-381ac502.entry.js → p-bff994e9.entry.js} +1 -1
  255. package/dist/swisspost-internet-header/{p-0c6839cd.entry.js → p-c1dfc933.entry.js} +1 -1
  256. package/dist/swisspost-internet-header/{p-bc0fcd50.entry.js → p-c5a5c0d6.entry.js} +1 -1
  257. package/dist/swisspost-internet-header/{p-518f5952.entry.js → p-c6f3e4b0.entry.js} +1 -1
  258. package/dist/swisspost-internet-header/{p-8b90f7d2.system.entry.js → p-cc2fc16f.system.entry.js} +1 -1
  259. package/dist/swisspost-internet-header/{p-d7df13be.system.entry.js → p-ce5265e7.system.entry.js} +1 -1
  260. package/dist/swisspost-internet-header/{p-fd8106f1.system.entry.js → p-cfe2d854.system.entry.js} +1 -1
  261. package/dist/swisspost-internet-header/{p-6f0c2a5c.system.entry.js → p-d2fd6e63.system.entry.js} +1 -1
  262. package/dist/swisspost-internet-header/{p-4ab5590e.system.entry.js → p-d51872e2.system.entry.js} +1 -1
  263. package/dist/swisspost-internet-header/{p-fea21512.entry.js → p-d94d5319.entry.js} +1 -1
  264. package/dist/swisspost-internet-header/{p-bc30850c.system.entry.js → p-daf5c078.system.entry.js} +1 -1
  265. package/dist/swisspost-internet-header/p-dfe34af2.entry.js +1 -0
  266. package/dist/swisspost-internet-header/{p-a4bfe46c.entry.js → p-e5d55394.entry.js} +1 -1
  267. package/dist/swisspost-internet-header/{p-26ac0464.entry.js → p-e5fd9f44.entry.js} +1 -1
  268. package/dist/swisspost-internet-header/{p-1617517b.entry.js → p-e6c6a342.entry.js} +1 -1
  269. package/dist/swisspost-internet-header/{p-79dc7e1b.system.entry.js → p-ee0ad3ba.system.entry.js} +1 -1
  270. package/dist/swisspost-internet-header/{p-7f953da2.system.entry.js → p-fbb944aa.system.entry.js} +1 -1
  271. package/dist/swisspost-internet-header/{p-9ac136f3.system.entry.js → p-fe677b2a.system.entry.js} +1 -1
  272. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  273. package/dist/types/components/post-internet-footer/post-internet-footer.d.ts +1 -0
  274. package/dist/types/components/post-internet-header/post-internet-header.d.ts +4 -0
  275. package/dist/types/components.d.ts +11 -0
  276. package/package.json +19 -19
  277. package/readme.md +1 -1
  278. package/dist/esm-es5/package-BdiQsTQm.js +0 -1
  279. package/dist/swisspost-internet-header/p-1ab10b94.entry.js +0 -1
  280. package/dist/swisspost-internet-header/p-238c919d.system.entry.js +0 -1
  281. package/dist/swisspost-internet-header/p-3afac939.entry.js +0 -1
  282. package/dist/swisspost-internet-header/p-42fe4c65.system.entry.js +0 -1
  283. package/dist/swisspost-internet-header/p-49c132a1.system.entry.js +0 -1
  284. package/dist/swisspost-internet-header/p-546f0429.entry.js +0 -1
  285. package/dist/swisspost-internet-header/p-576e3b55.system.entry.js +0 -1
  286. package/dist/swisspost-internet-header/p-5e112c81.entry.js +0 -1
  287. package/dist/swisspost-internet-header/p-65fb1a64.system.entry.js +0 -1
  288. package/dist/swisspost-internet-header/p-BdiQsTQm.js +0 -1
  289. package/dist/swisspost-internet-header/p-Ctf1S46w.system.js +0 -1
  290. package/dist/swisspost-internet-header/p-a21c305f.entry.js +0 -1
  291. package/dist/swisspost-internet-header/p-cd3f5447.entry.js +0 -1
  292. package/dist/swisspost-internet-header/p-d1eab2a3.entry.js +0 -1
  293. package/dist/swisspost-internet-header/p-d52b2e2e.system.entry.js +0 -1
  294. package/dist/swisspost-internet-header/p-f8f292cf.system.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,c as e,h as i,H as t,g as a}from"./p-h3opCZqH.js";import{v as s}from"./p-BdiQsTQm.js";import{f as r}from"./p-D5knoiyy.js";import{O as c}from"./p-Drxf8XVU.js";import"./p-CoDiS_Ik.js";import"./p-vAzHgwTd.js";const n=class{constructor(i){o(this,i),this.postDismissed=e(this,"postDismissed"),this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.hasActions=!1,this.type="info"}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0})}componentDidLoad(){this.checkContent()}disconnectedCallback(){this.mutationObserver.disconnect()}async dismiss(){const o=r(this.host,"out");await o.finished,this.postDismissed.emit(),this.host.remove()}checkContent(){this.hasActions=this.host.querySelectorAll('[slot="actions"]').length>0}render(){return i(t,{key:"890eea914f07f31f64c9e1b01fca94e824a019bc","data-version":s,role:"alert","data-color-scheme":"light"},i("slot",{key:"d4ac9c3714979cde7bba7554fbe1886d2cf75701",name:"close-button"}),i("div",{key:"a097570719b709a3b67aa7152701edbf1174ace0",class:"post-banner-content"},i("slot",{key:"df12b0e63ac4cf4152c196eaad071774be4d7b88",name:"heading"}),i("slot",{key:"a5e376800525119dc47815b9977936fa3966e087"}),this.hasActions&&i("div",{key:"6a0cc7f82873bcfde5109ed9e6bfe8255e30b19c",class:"actions"},i("slot",{key:"11b1d289705cb9d1d96b20b4fcea2b923bfd184a",name:"actions"}))))}get host(){return a(this)}};(function(o,e,i,t){var a,s=arguments.length,r=s<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,i):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,e,i,t);else for(var c=o.length-1;c>=0;c--)(a=o[c])&&(r=(s<3?a(r):s>3?a(e,i,r):a(e,i))||r);s>3&&r&&Object.defineProperty(e,i,r)})([c(["success","warning","error","info"])],n.prototype,"type",void 0),n.style=':host{position:relative;display:grid;grid-template-columns:1fr;grid-auto-rows:auto;grid-auto-flow:row;min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));padding:var(--post-device-spacing-padding-10);-webkit-padding-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );padding-inline-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );color:var(--post-current-fg);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);border-radius:var(--post-device-border-radius-2);-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);inset-block-start:var(--post-device-spacing-padding-10);inset-inline-start:var(--post-device-spacing-padding-10);background-image:var(--post-signal-icon-info)}:host([type=info]){background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host([type=info])::before{background-image:var(--post-signal-icon-info)}:host([type=success]){background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke)}:host([type=success])::before{background-image:var(--post-signal-icon-success)}:host([type=warning]){background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke)}:host([type=warning])::before{background-image:var(--post-signal-icon-warning)}:host([type=error]){background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke)}:host([type=error])::before{background-image:var(--post-signal-icon-error)}.post-banner-content{--post-banner-focus-room:calc( var(--post-device-border-width-focus) + var(--post-device-spacing-padding-2) );display:grid;grid-template-columns:1fr;row-gap:var(--post-device-spacing-gap-block-1);overflow-x:auto;padding:var(--post-banner-focus-room);margin:calc(-1*var(--post-banner-focus-room))}.actions{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-webkit-margin-before:var(--post-device-spacing-padding-block-10);margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media screen and (min-width: 0)and (max-width: 599.98px){.actions{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}::slotted(*){margin-block:0 !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border-color:CanvasText}:host::before{color:CanvasText}}';export{n as post_banner}
1
+ import{r as o,c as e,h as i,H as t,g as a}from"./p-h3opCZqH.js";import{v as r}from"./p-CAL337jJ.js";import{f as s}from"./p-D5knoiyy.js";import{O as c}from"./p-Drxf8XVU.js";import"./p-CoDiS_Ik.js";import"./p-vAzHgwTd.js";const n=class{constructor(i){o(this,i),this.postDismissed=e(this,"postDismissed"),this.mutationObserver=new MutationObserver(this.checkContent.bind(this)),this.hasActions=!1,this.type="info"}connectedCallback(){this.mutationObserver.observe(this.host,{childList:!0})}componentDidLoad(){this.checkContent()}disconnectedCallback(){this.mutationObserver.disconnect()}async dismiss(){const o=s(this.host,"out");await o.finished,this.postDismissed.emit(),this.host.remove()}checkContent(){this.hasActions=this.host.querySelectorAll('[slot="actions"]').length>0}render(){return i(t,{key:"890eea914f07f31f64c9e1b01fca94e824a019bc","data-version":r,role:"alert","data-color-scheme":"light"},i("slot",{key:"d4ac9c3714979cde7bba7554fbe1886d2cf75701",name:"close-button"}),i("div",{key:"a097570719b709a3b67aa7152701edbf1174ace0",class:"post-banner-content"},i("slot",{key:"df12b0e63ac4cf4152c196eaad071774be4d7b88",name:"heading"}),i("slot",{key:"a5e376800525119dc47815b9977936fa3966e087"}),this.hasActions&&i("div",{key:"6a0cc7f82873bcfde5109ed9e6bfe8255e30b19c",class:"actions"},i("slot",{key:"11b1d289705cb9d1d96b20b4fcea2b923bfd184a",name:"actions"}))))}get host(){return a(this)}};(function(o,e,i,t){var a,r=arguments.length,s=r<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,i):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,i,t);else for(var c=o.length-1;c>=0;c--)(a=o[c])&&(s=(r<3?a(s):r>3?a(e,i,s):a(e,i))||s);r>3&&s&&Object.defineProperty(e,i,s)})([c(["success","warning","error","info"])],n.prototype,"type",void 0),n.style=':host{position:relative;display:grid;grid-template-columns:1fr;grid-auto-rows:auto;grid-auto-flow:row;min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));padding:var(--post-device-spacing-padding-10);-webkit-padding-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );padding-inline-start:calc( var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6) );color:var(--post-current-fg);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);border-radius:var(--post-device-border-radius-2);-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);inset-block-start:var(--post-device-spacing-padding-10);inset-inline-start:var(--post-device-spacing-padding-10);background-image:var(--post-signal-icon-info)}:host([type=info]){background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke)}:host([type=info])::before{background-image:var(--post-signal-icon-info)}:host([type=success]){background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke)}:host([type=success])::before{background-image:var(--post-signal-icon-success)}:host([type=warning]){background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke)}:host([type=warning])::before{background-image:var(--post-signal-icon-warning)}:host([type=error]){background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke)}:host([type=error])::before{background-image:var(--post-signal-icon-error)}.post-banner-content{--post-banner-focus-room:calc( var(--post-device-border-width-focus) + var(--post-device-spacing-padding-2) );display:grid;grid-template-columns:1fr;row-gap:var(--post-device-spacing-gap-block-1);overflow-x:auto;padding:var(--post-banner-focus-room);margin:calc(-1*var(--post-banner-focus-room))}.actions{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-webkit-margin-before:var(--post-device-spacing-padding-block-10);margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media screen and (min-width: 0)and (max-width: 599.98px){.actions{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}::slotted(*){margin-block:0 !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border-color:CanvasText}:host::before{color:CanvasText}}';export{n as post_banner}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-h3opCZqH.js";import{v as e}from"./p-BdiQsTQm.js";import{i as r}from"./p-BrY4VWTQ.js";import{T as h}from"./p-DZMUeI8H.js";import"./p-BFTU3MAI.js";import"./p-vAzHgwTd.js";const n=class{syncAriaExpanded(t){this.ariaExpanded=t,this.trigger&&this.trigger.setAttribute("aria-expanded",String(t))}hasAriaControlsElements(t){return"ariaControlsElements"in t}get popover(){const t=this.host.querySelector("post-popover")??document.getElementById(this.for);return t?"post-popover"===t?.localName?t:null:(console.error(`No post-popover found ${this.for?`with ID: ${this.for}`:"inside the <post-popover-trigger>"}.`),null)}setupTrigger(){const t=this.popover;this.trigger=this.host.querySelector("*"),this.trigger?(r(this.trigger)||(this.trigger.setAttribute("tabindex","0"),this.trigger.setAttribute("role","button")),t&&(this.trigger.setAttribute("aria-expanded",this.ariaExpanded.toString()),this.trigger.setAttribute("aria-haspopup","true"),this.for?this.trigger.setAttribute("aria-controls",this.for):this.hasAriaControlsElements(this.trigger)?this.trigger.ariaControlsElements=[t]:(t.id||=`popover-${crypto.randomUUID()}`,this.trigger.setAttribute("aria-controls",t.id)),this.trigger?.addEventListener("click",this.boundHandleToggle),this.trigger?.addEventListener("keydown",this.boundHandleKeyDown))):console.error("No content found in the post-popover-trigger slot. Please insert a focusable element or content that can receive focus.")}handleToggle(){this.popover?.toggle(this.trigger),this.focusTrigger()}focusTrigger(){!this.popoverOpen&&this.trigger&&this.trigger.focus({preventScroll:!0})}constructor(s){t(this,s),this.ariaExpanded=!1,this.popoverOpen=!1,this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleToggle())},this.boundHandleToggle=this.handleToggle.bind(this),this.boundHandleKeyDown=this.handleKeyDown.bind(this),this.boundHandlePostToggle=t=>{this.popoverOpen=t.detail.isOpen,this.focusTrigger()}}componentDidLoad(){this.setupTrigger(),this.popover?.addEventListener("postToggle",this.boundHandlePostToggle)}disconnectedCallback(){this.trigger?.removeEventListener("click",this.boundHandleToggle),this.trigger?.removeEventListener("keydown",this.boundHandleKeyDown),this.popover?.removeEventListener("postToggle",this.boundHandlePostToggle)}render(){return s(i,{key:"f9c320748c1cfdfb6accce4e20c64ea7c00d20c5","data-version":e},s("slot",{key:"e00dcaa23ec3e2976136c26931780d083b6f1a8f",onSlotchange:()=>this.setupTrigger()}))}get host(){return o(this)}static get watchers(){return{popoverOpen:[{syncAriaExpanded:0}]}}};(function(t,s,i,o){var e,r=arguments.length,h=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,s,i,o);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(h=(r<3?e(h):r>3?e(s,i,h):e(s,i))||h);r>3&&h&&Object.defineProperty(s,i,h)})([h("string")],n.prototype,"for",void 0),n.style=":host{cursor:pointer}";export{n as post_popover_trigger}
1
+ import{r as t,h as s,H as i,g as e}from"./p-h3opCZqH.js";import{v as o}from"./p-CAL337jJ.js";import{i as r}from"./p-BrY4VWTQ.js";import{T as h}from"./p-DZMUeI8H.js";import"./p-BFTU3MAI.js";import"./p-vAzHgwTd.js";const n=class{syncAriaExpanded(t){this.ariaExpanded=t,this.trigger&&this.trigger.setAttribute("aria-expanded",String(t))}hasAriaControlsElements(t){return"ariaControlsElements"in t}get popover(){const t=this.host.querySelector("post-popover")??document.getElementById(this.for);return t?"post-popover"===t?.localName?t:null:(console.error(`No post-popover found ${this.for?`with ID: ${this.for}`:"inside the <post-popover-trigger>"}.`),null)}setupTrigger(){const t=this.popover;this.trigger=this.host.querySelector("*"),this.trigger?(r(this.trigger)||(this.trigger.setAttribute("tabindex","0"),this.trigger.setAttribute("role","button")),t&&(this.trigger.setAttribute("aria-expanded",this.ariaExpanded.toString()),this.trigger.setAttribute("aria-haspopup","true"),this.for?this.trigger.setAttribute("aria-controls",this.for):this.hasAriaControlsElements(this.trigger)?this.trigger.ariaControlsElements=[t]:(t.id||=`popover-${crypto.randomUUID()}`,this.trigger.setAttribute("aria-controls",t.id)),this.trigger?.addEventListener("click",this.boundHandleToggle),this.trigger?.addEventListener("keydown",this.boundHandleKeyDown))):console.error("No content found in the post-popover-trigger slot. Please insert a focusable element or content that can receive focus.")}handleToggle(){this.popover?.toggle(this.trigger),this.focusTrigger()}focusTrigger(){!this.popoverOpen&&this.trigger&&this.trigger.focus({preventScroll:!0})}constructor(s){t(this,s),this.ariaExpanded=!1,this.popoverOpen=!1,this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleToggle())},this.boundHandleToggle=this.handleToggle.bind(this),this.boundHandleKeyDown=this.handleKeyDown.bind(this),this.boundHandlePostToggle=t=>{this.popoverOpen=t.detail.isOpen,this.focusTrigger()}}componentDidLoad(){this.setupTrigger(),this.popover?.addEventListener("postToggle",this.boundHandlePostToggle)}disconnectedCallback(){this.trigger?.removeEventListener("click",this.boundHandleToggle),this.trigger?.removeEventListener("keydown",this.boundHandleKeyDown),this.popover?.removeEventListener("postToggle",this.boundHandlePostToggle)}render(){return s(i,{key:"4b7c011d95452d0ce2a7e459ae17e0a0ab3ecb50","data-version":o},s("slot",{key:"57907ff226d48ef8aa9b494787bc81528e0180ba",onSlotchange:()=>this.setupTrigger()}))}get host(){return e(this)}static get watchers(){return{popoverOpen:[{syncAriaExpanded:0}]}}};(function(t,s,i,e){var o,r=arguments.length,h=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(h=(r<3?o(h):r>3?o(s,i,h):o(s,i))||h);r>3&&h&&Object.defineProperty(s,i,h)})([h("string")],n.prototype,"for",void 0),n.style=":host{cursor:pointer}";export{n as post_popover_trigger}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as o,g as s}from"./p-h3opCZqH.js";import{v as r}from"./p-CAL337jJ.js";import{n as a}from"./p-8LXe8Zt_.js";import{R as p}from"./p-DvaRK2lz.js";import{T as d}from"./p-DZMUeI8H.js";import"./p-vAzHgwTd.js";const f=class{constructor(e){t(this,e)}componentWillLoad(){this.panelId=`panel-${this.host.id||a(6)}`}render(){return e(o,{key:"07d93ddaa69253a956ed50cd9ecd6ed039fbc6e2","data-version":r,id:this.panelId,role:"tabpanel",slot:"panels",style:void 0},e("slot",{key:"d6887db4e0e4dc22f8f8fdf098d6068ef4bd1a91"}))}get host(){return s(this)}};(function(t,e,o,s){var r,a=arguments.length,p=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(t,e,o,s);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(p=(a<3?r(p):a>3?r(e,o,p):r(e,o))||p);a>3&&p&&Object.defineProperty(e,o,p)})([p(),d("string")],f.prototype,"for",void 0),f.style=":host{display:none}";export{f as post_tab_panel}
@@ -1 +1 @@
1
- import{r as t,g as e}from"./p-h3opCZqH.js";import{v as o}from"./p-BdiQsTQm.js";const i=class{constructor(e){t(this,e)}connectedCallback(){this.host.dataset.version=o}get host(){return e(this)}};i.style='post-menu-item 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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item button,post-menu-item a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:13px}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline:none !important}post-menu-item button.pretend-focus,post-menu-item a.pretend-focus{outline:none !important}post-menu-item button:has(:focus-visible),post-menu-item a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus),post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-menu-item button::after,post-menu-item a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-menu-item button::after,post-menu-item a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-color:Highlight !important}}post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-color:Highlight !important}}post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}post-menu-item button:hover:focus-visible::after,post-menu-item a:hover:focus-visible::after{outline-color:#fff !important}post-menu-item button:hover.pretend-focus::after,post-menu-item a:hover.pretend-focus::after{outline-color:#fff !important}post-menu-item button:hover:has(:focus-visible)::after,post-menu-item a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-menu-item button:hover:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-menu-item button post-icon,post-menu-item a post-icon{width:16px;height:16px;margin-block:4px}@media screen and (min-width: 780px){post-menu-item button post-icon,post-menu-item a post-icon{width:24px;height:24px;margin:0}}';export{i as post_menu_item}
1
+ import{r as t,g as e}from"./p-h3opCZqH.js";import{v as o}from"./p-CAL337jJ.js";const i=class{constructor(e){t(this,e)}connectedCallback(){this.host.dataset.version=o}get host(){return e(this)}};i.style='post-menu-item 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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item button,post-menu-item a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:13px}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline:none !important}post-menu-item button.pretend-focus,post-menu-item a.pretend-focus{outline:none !important}post-menu-item button:has(:focus-visible),post-menu-item a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus),post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-menu-item button::after,post-menu-item a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-menu-item button::after,post-menu-item a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-color:Highlight !important}}post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-color:Highlight !important}}post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}post-menu-item button:hover:focus-visible::after,post-menu-item a:hover:focus-visible::after{outline-color:#fff !important}post-menu-item button:hover.pretend-focus::after,post-menu-item a:hover.pretend-focus::after{outline-color:#fff !important}post-menu-item button:hover:has(:focus-visible)::after,post-menu-item a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-menu-item button:hover:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-menu-item button post-icon,post-menu-item a post-icon{width:16px;height:16px;margin-block:4px}@media screen and (min-width: 780px){post-menu-item button post-icon,post-menu-item a post-icon{width:24px;height:24px;margin:0}}';export{i as post_menu_item}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(o){for(var e,t=1,a=arguments.length;t<a;t++){e=arguments[t];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))o[i]=e[i]}return o};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(o,e,t){if(t||arguments.length===2)for(var a=0,i=e.length,r;a<i;a++){if(r||!(a in e)){if(!r)r=Array.prototype.slice.call(e,0,a);r[a]=e[a]}}return o.concat(r||Array.prototype.slice.call(e))};System.register(["./p-CN_0KCBp.system.js","./p-CgnycKPl.system.js","./p-D1A3ltXC.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(o){"use strict";var e,t,a,i,r,s,n,f;return{setters:[function(o){e=o.r;t=o.h;a=o.H;i=o.g},function(o){r=o.v},function(o){s=o.b},function(o){n=o.R},function(o){f=o.T},null],execute:function(){var d=function(){return":host{position:-webkit-sticky;position:sticky;top:100dvh;display:block}footer{--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-padding-block:32px;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-padding-block:16px;--post-footer-app-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-businesssectors-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-padding-block:var(--post-footer-socialmedia-padding-block);--post-footer-base-gap:8px;--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-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-base-gap:4px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px;--post-footer-grid-padding-block:48px;--post-footer-socialmedia-padding-block:24px}}@media screen and (min-width: 1024px){footer{--post-footer-grid-template:auto / repeat(4, auto);--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{-webkit-box-sizing:content-box;box-sizing:content-box;margin:0 auto;padding-inline:var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632;padding-block:var(--post-footer-prefooter-padding-block)}.prefooter .footer-container{padding-block:0}.footer-main{background-color:#fc0;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{-webkit-border-before:unset;border-block-start:unset}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);gap:32px 24px;padding-block:var(--post-footer-grid-padding-block)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:-ms-flexbox;display:flex;-ms-flex-direction:var(--post-footer-column-flex-direction);flex-direction:var(--post-footer-column-flex-direction);-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:var(--post-footer-column-align-items);align-items:var(--post-footer-column-align-items);-webkit-column-gap:var(--post-footer-column-gap);-moz-column-gap:var(--post-footer-column-gap);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:-ms-flexbox !important;display:flex !important;-ms-flex-direction:var(--post-footer-list-flex-direction) !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;-ms-flex-align:var(--post-footer-list-align-items) !important;align-items:var(--post-footer-list-align-items) !important}.footer-socialmedia{padding-block:var(--post-footer-socialmedia-padding-block)}.footer-app{padding-block:var(--post-footer-app-padding-block)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;gap:var(--post-footer-list-gap) !important}.footer-businesssectors{padding-block:var(--post-footer-businesssectors-padding-block)}.footer-base{background-color:#fc0;-webkit-border-before:1px solid #373632;border-block-start:1px solid #373632;-webkit-padding-before:var(--post-footer-base-padding-block);padding-block-start:var(--post-footer-base-padding-block);-webkit-padding-after:max(var(--post-footer-base-padding-block), env(safe-area-inset-bottom, 0px));padding-block-end:max(var(--post-footer-base-padding-block), env(safe-area-inset-bottom, 0px));gap:var(--post-footer-base-gap)}.footer-meta{font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}"};var p=undefined&&undefined.__decorate||function(o,e,t,a){var i=arguments.length,r=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,t):a,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(o,e,t,a);else for(var n=o.length-1;n>=0;n--)if(s=o[n])r=(i<3?s(r):i>3?s(e,t,r):s(e,t))||r;return i>3&&r&&Object.defineProperty(e,t,r),r};var c=["grid-1","grid-2","grid-3","grid-4"];var l=["prefooter","socialmedia","app","businesssectors","meta","copyright"];var b=o("post_footer",function(){function o(o){var t=this;e(this,o);this.device=s.get("device");this.slotDisplayed={};this.breakpointChange=function(o){t.device=o.detail};this.handleGridSlotChange=this.handleGridSlotChange.bind(this);this.handleSlotChange=this.handleSlotChange.bind(this)}o.prototype.connectedCallback=function(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)};o.prototype.componentWillLoad=function(){var o=this;__spreadArray(__spreadArray([],c,true),l,true).forEach((function(e){var t=o.host.querySelectorAll('[slot="'.concat(e,'"]'));o.updateSlotDisplay(e,t.length>0)}))};o.prototype.disconnectedCallback=function(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange)};o.prototype.handleGridSlotChange=function(){var o=this;var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return function(t){if(e.includes(o.device)&&t.target instanceof HTMLSlotElement){o.updateSlotDisplay(t.target.name,t.target.assignedElements().length>0)}}};o.prototype.handleSlotChange=function(o){if(o.target instanceof HTMLSlotElement){this.updateSlotDisplay(o.target.name,o.target.assignedElements().length>0)}};o.prototype.updateSlotDisplay=function(o,e){var t;if(this.slotDisplayed[o]!==e){this.slotDisplayed=__assign(__assign({},this.slotDisplayed),(t={},t[o]=e,t))}};o.prototype.renderAccordion=function(){var o=this;return t("post-accordion",{headingLevel:3,multiple:true},c.map((function(e){return t("post-accordion-item",{key:e,class:{"d-none":!o.slotDisplayed[e]},collapsed:true},t("span",{slot:"header"},t("slot",{name:e+"-title"})),t("slot",{onSlotchange:o.handleGridSlotChange("mobile"),name:e}))})))};o.prototype.renderColumns=function(){var o=this;return c.map((function(e){return t("div",{key:e,class:{"d-none":!o.slotDisplayed[e]}},t("h3",null,t("slot",{name:e+"-title"})),t("slot",{onSlotchange:o.handleGridSlotChange("tablet","desktop"),name:e}))}))};o.prototype.render=function(){var o=this;var e=this.slotDisplayed["prefooter"];var i=this.slotDisplayed["socialmedia"];var s=this.slotDisplayed["app"];var n=this.slotDisplayed["businesssectors"];var f=this.slotDisplayed["meta"];var d=this.slotDisplayed["copyright"];var p=c.every((function(e){return!o.slotDisplayed[e]}));var l=!p||i||s||n;var b=d||f;return t(a,{key:"08a1ce26926dace6b5b58df118007107c971221e","data-version":r,"data-color-scheme":"light"},t("footer",{key:"bcc5101df4f8e203fdba9075e34b7aa125eb53ce"},t("h2",{key:"a8efa01756ea699f5f66346e3cfe05cc56f36264",class:"visually-hidden"},this.textFooter),t("div",{key:"1b8e30a01c3f0a711f0351b36d396f90511154c4",class:{prefooter:true,"d-none":!e}},t("div",{key:"2c900ed450bc1dc5ad655d35f5f50b1b5a268fec",class:"footer-container"},t("slot",{key:"8ab8cef6c639251543c65ed21a1f14adf043029e",onSlotchange:this.handleSlotChange,name:"prefooter"}))),t("div",{key:"e3f3bedd9725968fbce6e887e22842a7e8e5ffa5",class:{"footer-main":true,"d-none":!l}},t("div",{key:"76cec7363e3771da636a6c0a32afbf16d5c4d405",class:"footer-container"},t("div",{key:"4e9ea3788103175b48839b6bf815d4c675769c97",class:{"footer-grid":true,"d-none":p}},this.device==="mobile"?this.renderAccordion():this.renderColumns()),t("div",{key:"64d10c9fb543290e078f7fff098b401926b3bf4b",class:{"footer-column":true,"d-none":!i&&!s}},t("div",{key:"05b566b43e2c4fed2919e3312a718ea392cad0f7",class:{"footer-socialmedia":true,"d-none":!i}},t("slot",{key:"a46f739c9d4b6cbf96988f96f89d7cc093797b40",onSlotchange:this.handleSlotChange,name:"socialmedia"})),t("div",{key:"f28490dfaa982a609ba1eb393339980a358488e5",class:{"footer-app":true,"d-none":!s}},t("slot",{key:"01c10bf12eb2f39a0dbceec320b476041d46c631",onSlotchange:this.handleSlotChange,name:"app"}))),t("div",{key:"609935b6b6ee48176d7e44919726abdaff8e6161",class:{"footer-businesssectors":true,"d-none":!n}},t("slot",{key:"9f153ba54a08d48e55644fe58089ed7122c1cfdd",onSlotchange:this.handleSlotChange,name:"businesssectors"})))),t("div",{key:"03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a",class:{"footer-base":true,"d-none":!b}},t("div",{key:"3eb810a55e3193295f8b9291bd824af77a5a2fac",class:"footer-container"},t("div",{key:"04c38d8d5e483b9f9cc8acca1cc8224e381651f1",class:{"footer-copyright":true,"d-none":!d}},t("slot",{key:"fdd11e63af64161288533c21ea455f3513ac7d87",onSlotchange:this.handleSlotChange,name:"copyright"})),t("div",{key:"adffa17e5f3b94af32e489d113afd9908e2b7abf",class:{"footer-meta":true,"d-none":!f}},t("slot",{key:"7ebaf69055332d184b86a58e57db1c214b5f08c6",onSlotchange:this.handleSlotChange,name:"meta"}))))))};Object.defineProperty(o.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());p([n(),f("string")],b.prototype,"textFooter",void 0);b.style=d()}}}));
@@ -1 +1 @@
1
- System.register(["./p-CN_0KCBp.system.js","./p-B1oFB_zk.system.js","./p-a2b_YLeP.system.js","./p-Bwi1IyPf.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-uEVdce-r.system.js","./p-CiwQnVr3.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(e){"use strict";var t,o,r,i,n,s,a,c,l,u,g,d,p;return{setters:[function(e){t=e.r;o=e.c;r=e.h;i=e.H;n=e.g},function(e){s=e.v},function(e){a=e.S},function(e){c=e.n},function(e){l=e.R},function(e){u=e.T},function(e){g=e.P},function(e){d=e.O},function(e){p=e.E},null],execute:function(){var m=function(){return":host{display:-ms-flexbox;display:flex}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.post-language-menu-dropdown-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.post-language-menu-trigger{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:-ms-flexbox;display:flex;padding:4px 10px;gap:6px;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);text-transform:uppercase;line-height:inherit;cursor:pointer}.post-language-menu-trigger:not(:disabled):hover{text-decoration:none}.post-language-menu-trigger:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.post-language-menu-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-menu-trigger: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){.post-language-menu-trigger:focus-visible{outline-color:Highlight !important}}.post-language-menu-trigger.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-menu-trigger.pretend-focus{outline-color:Highlight !important}}.post-language-menu-trigger:has(: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){.post-language-menu-trigger:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-menu-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-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger{border-width:1px !important;-webkit-transition:none;transition:none}.post-language-menu-trigger:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.post-language-menu-trigger:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}.post-language-menu-trigger post-icon{-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true]) post-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.post-language-menu-list{display:-ms-flexbox;display:flex;gap:8px;margin-top:16px}"};var h=undefined&&undefined.__decorate||function(e,t,o,r){var i=arguments.length,n=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,o):r,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)if(s=e[a])n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n;return i>3&&n&&Object.defineProperty(t,o,n),n};var b=e("post_language_menu",function(){function e(e){t(this,e);this.postChange=o(this,"postChange");this.menuId="p".concat(c(11));this.listSpanId="list-span-".concat(c(11));this.variant="menu"}Object.defineProperty(e.prototype,"languageOptions",{get:function(){return Array.from(this.host.querySelectorAll("post-language-menu-item"))},enumerable:false,configurable:true});e.prototype.handleVariantChange=function(){this.updateChildrenVariant()};Object.defineProperty(e.prototype,"description",{get:function(){var e=this.activeLang&&document.querySelector('post-language-menu-item[code="'.concat(this.activeLang,'"]'));if(!e)return undefined;return this.textCurrentLanguage.replaceAll("{name}",e.name).replaceAll("#name",e.name)},enumerable:false,configurable:true});e.prototype.componentDidLoad=function(){this.updateChildrenVariant()};e.prototype.handlePostChange=function(e){var t=this;this.activeLang=e.detail;this.languageOptions.forEach((function(e){if(e.code&&e.code===t.activeLang){e.setAttribute("active","")}else{e.removeAttribute("active")}}));if(this.variant==="menu"){var o=this.host.shadowRoot.querySelector("post-menu");o.hide()}};e.prototype.hideMenuOnScroll=function(){if(this.menu)this.menu.hide()};e.prototype.handleInitiallyActive=function(e){this.activeLang=e.detail};e.prototype.updateChildrenVariant=function(){var e=this;this.languageOptions.forEach((function(t){t.setAttribute("variant",e.variant)}))};e.prototype.renderList=function(){return r(i,{"data-version":s},r("div",{class:"post-language-menu-list",role:"list","aria-label":this.textChangeLanguage,"aria-describedby":this.listSpanId},r("span",{id:this.listSpanId,class:"visually-hidden"},this.description),r("slot",null)))};e.prototype.renderDropdown=function(){var e=this;return r(i,{"data-version":s},r("post-menu-trigger",{for:this.menuId},r("button",{class:"post-language-menu-trigger"},this.activeLang,r("span",{class:"visually-hidden"},this.textChangeLanguage),r("span",{class:"visually-hidden"},this.description),r("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),r("post-menu",{ref:function(t){return e.menu=t},id:this.menuId,class:"post-language-menu-dropdown-container",label:this.textChangeLanguage,placement:"bottom-end"},r("slot",null)))};e.prototype.render=function(){return this.variant==="list"?this.renderList():this.renderDropdown()};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{variant:[{handleVariantChange:0}]}},enumerable:false,configurable:true});return e}());h([l(),u("string")],b.prototype,"textChangeLanguage",void 0);h([l(),g(/(\{name\}|#name)/)],b.prototype,"textCurrentLanguage",void 0);h([d(a)],b.prototype,"variant",void 0);h([p("post-language-menu-item")],b.prototype,"handlePostChange",null);b.style=m()}}}));
1
+ System.register(["./p-CN_0KCBp.system.js","./p-CgnycKPl.system.js","./p-a2b_YLeP.system.js","./p-Bwi1IyPf.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-uEVdce-r.system.js","./p-CiwQnVr3.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(e){"use strict";var t,o,r,i,n,s,a,c,l,u,g,d,p;return{setters:[function(e){t=e.r;o=e.c;r=e.h;i=e.H;n=e.g},function(e){s=e.v},function(e){a=e.S},function(e){c=e.n},function(e){l=e.R},function(e){u=e.T},function(e){g=e.P},function(e){d=e.O},function(e){p=e.E},null],execute:function(){var m=function(){return":host{display:-ms-flexbox;display:flex}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.post-language-menu-dropdown-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.post-language-menu-trigger{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:-ms-flexbox;display:flex;padding:4px 10px;gap:6px;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);text-transform:uppercase;line-height:inherit;cursor:pointer}.post-language-menu-trigger:not(:disabled):hover{text-decoration:none}.post-language-menu-trigger:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.post-language-menu-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-menu-trigger: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){.post-language-menu-trigger:focus-visible{outline-color:Highlight !important}}.post-language-menu-trigger.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-menu-trigger.pretend-focus{outline-color:Highlight !important}}.post-language-menu-trigger:has(: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){.post-language-menu-trigger:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-menu-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-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger{border-width:1px !important;-webkit-transition:none;transition:none}.post-language-menu-trigger:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.post-language-menu-trigger:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}.post-language-menu-trigger post-icon{-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true]) post-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.post-language-menu-list{display:-ms-flexbox;display:flex;gap:8px;margin-top:16px}"};var h=undefined&&undefined.__decorate||function(e,t,o,r){var i=arguments.length,n=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,o):r,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)if(s=e[a])n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n;return i>3&&n&&Object.defineProperty(t,o,n),n};var b=e("post_language_menu",function(){function e(e){t(this,e);this.postChange=o(this,"postChange");this.menuId="p".concat(c(11));this.listSpanId="list-span-".concat(c(11));this.variant="menu"}Object.defineProperty(e.prototype,"languageOptions",{get:function(){return Array.from(this.host.querySelectorAll("post-language-menu-item"))},enumerable:false,configurable:true});e.prototype.handleVariantChange=function(){this.updateChildrenVariant()};Object.defineProperty(e.prototype,"description",{get:function(){var e=this.activeLang&&document.querySelector('post-language-menu-item[code="'.concat(this.activeLang,'"]'));if(!e)return undefined;return this.textCurrentLanguage.replaceAll("{name}",e.name).replaceAll("#name",e.name)},enumerable:false,configurable:true});e.prototype.componentDidLoad=function(){this.updateChildrenVariant()};e.prototype.handlePostChange=function(e){var t=this;this.activeLang=e.detail;this.languageOptions.forEach((function(e){if(e.code&&e.code===t.activeLang){e.setAttribute("active","")}else{e.removeAttribute("active")}}));if(this.variant==="menu"){var o=this.host.shadowRoot.querySelector("post-menu");o.hide()}};e.prototype.hideMenuOnScroll=function(){if(this.menu)this.menu.hide()};e.prototype.handleInitiallyActive=function(e){this.activeLang=e.detail};e.prototype.updateChildrenVariant=function(){var e=this;this.languageOptions.forEach((function(t){t.setAttribute("variant",e.variant)}))};e.prototype.renderList=function(){return r(i,{"data-version":s},r("div",{class:"post-language-menu-list",role:"list","aria-label":this.textChangeLanguage,"aria-describedby":this.listSpanId},r("span",{id:this.listSpanId,class:"visually-hidden"},this.description),r("slot",null)))};e.prototype.renderDropdown=function(){var e=this;return r(i,{"data-version":s},r("post-menu-trigger",{for:this.menuId},r("button",{class:"post-language-menu-trigger"},this.activeLang,r("span",{class:"visually-hidden"},this.textChangeLanguage),r("span",{class:"visually-hidden"},this.description),r("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),r("post-menu",{ref:function(t){return e.menu=t},id:this.menuId,class:"post-language-menu-dropdown-container",label:this.textChangeLanguage,placement:"bottom-end"},r("slot",null)))};e.prototype.render=function(){return this.variant==="list"?this.renderList():this.renderDropdown()};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{variant:[{handleVariantChange:0}]}},enumerable:false,configurable:true});return e}());h([l(),u("string")],b.prototype,"textChangeLanguage",void 0);h([l(),g(/(\{name\}|#name)/)],b.prototype,"textCurrentLanguage",void 0);h([d(a)],b.prototype,"variant",void 0);h([p("post-language-menu-item")],b.prototype,"handlePostChange",null);b.style=m()}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,o){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function r(e){try{d(o.next(e))}catch(e){n(e)}}function s(e){try{d(o["throw"](e))}catch(e){n(e)}}function d(e){e.done?i(e.value):a(e.value).then(r,s)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,a,n,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return d([e,t])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(i=0)),i)try{if(o=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var o=0,a=t.length,n;o<a;o++){if(n||!(o in t)){if(!n)n=Array.prototype.slice.call(t,0,o);n[o]=t[o]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-CN_0KCBp.system.js","./p-D1A3ltXC.system.js","./p-iSGRM5O1.system.js","./p-BIAUtR0M.system.js","./p-CgnycKPl.system.js","./p-CDvD7acy.system.js","./p-CHIhqOmO.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-qFxyG4GI.system.js","./p-BCAukqif.system.js","./p-DaxAbTyB.system.js"],(function(e){"use strict";var t,i,o,a,n,r,s,d,l,h,c,p;return{setters:[function(e){t=e.r;i=e.h;o=e.H;a=e.g},function(e){n=e.b},function(e){r=e.E},function(e){s=e.g},function(e){d=e.v},function(e){l=e.t},function(e){h=e.f},function(e){c=e.R},function(e){p=e.T},null,null,null],execute:function(){var u=function(){return':host{--post-global-header-top:calc( var(--post-global-header-reduced-height) - var(--post-global-header-expanded-height) );--post-header-top:calc(var(--post-header-reduced-height) - var(--post-header-expanded-height));--post-logo-height:calc( var(--post-global-header-expanded-height) - var(--post-header-scroll-top, 0px) );--post-global-controls-top:clamp( 1000 * (var(--post-global-header-reduced-height) - var(--post-global-header-expanded-height)), calc( -1 * min(var(--post-header-scroll-top, 0px) / 4, var(--post-global-header-reduced-height)) ), 0px )}@media screen and (min-width: 1024px){:host{--post-header-gap:8px;--post-global-header-padding-inline-start:4px;--post-global-header-padding-inline-end:8px;--post-local-header-padding-inline-start:12px;--post-local-header-padding-inline-end:8px}}@media screen and (min-width: 600px)and (max-width: 1023.98px){:host{--post-header-gap:12px 8px;--post-global-header-padding-inline-start:4px;--post-global-header-padding-inline-end:4px;--post-local-header-padding-inline-start:12px;--post-local-header-padding-inline-end:4px;--post-local-header-padding-block:12px;--post-burger-menu-padding-inline:40px;--post-burger-menu-body-gap:32px;--post-burger-menu-footer-gap:24px}}@media screen and (min-width: 600px)and (max-width: 779.98px){:host{--post-burger-menu-padding-inline:16px}}@media screen and (min-width: 0)and (max-width: 599.98px){:host{--post-header-gap:12px 8px;--post-global-header-padding-inline-start:0px;--post-global-header-padding-inline-end:8px;--post-local-header-padding-inline-start:8px;--post-local-header-padding-inline-end:8px;--post-local-header-padding-block:8px;--post-burger-menu-padding-inline:16px;--post-burger-menu-body-gap:24px;--post-burger-menu-footer-gap:16px}}:host(:not([full-width])),:host([full-width=false]){--post-header-content-max-width:1440px}:host([data-expanded]),:host([data-menu-extended]){--post-header-top:0;--post-global-header-top:-0.001px;--post-global-controls-top:0;--post-global-header-reduced-height:var(--post-global-header-expanded-height)}*,::before,::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host,header,.global-header,.local-header{-webkit-transition:inset-block-start 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:inset-block-start 150ms cubic-bezier(0.4, 0, 0.2, 1)}.section,.sliding-controls{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;gap:var(--post-header-gap);-ms-flex-wrap:wrap;flex-wrap:wrap}.section{max-width:var(--post-header-content-max-width);margin-inline:auto}:host{display:block;position:-webkit-sticky;position:sticky;inset-block-start:var(--post-header-top);z-index:1020;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host{border-bottom:1px solid}}.scroll-max{position:absolute;inset-block-start:0;inset-inline-start:0;inline-size:var(--post-header-scroll-max, 0);block-size:0;visibility:hidden;pointer-events:none}.global-header{z-index:2;position:-webkit-sticky;position:sticky;inset-block-start:var(--post-global-header-top);background-color:#fc0}.global-header::before{position:absolute;z-index:-1;left:0;bottom:0;width:100%;height:100dvh;content:"";background-color:#fc0}.global-header .section{height:var(--post-global-header-expanded-height);-webkit-padding-start:var(--post-global-header-padding-inline-start);padding-inline-start:var(--post-global-header-padding-inline-start);-webkit-padding-end:var(--post-global-header-padding-inline-end);padding-inline-end:var(--post-global-header-padding-inline-end)}.global-header .logo{-ms-flex-item-align:end;align-self:flex-end;width:var(--post-global-header-expanded-height);height:var(--post-logo-height);min-height:var(--post-global-header-reduced-height);max-height:100%;-webkit-margin-end:calc(20px - var(--post-header-gap));margin-inline-end:calc(20px - var(--post-header-gap));-webkit-margin-start:clamp(var(--post-logo-expanded-offset),var(--post-logo-expanded-offset) + (var(--post-logo-reduced-offset) - var(--post-logo-expanded-offset))*min(var(--post-header-scroll-top, 0px),var(--post-global-header-expanded-height) - var(--post-global-header-reduced-height))/max(1px,var(--post-global-header-expanded-height) - var(--post-global-header-reduced-height)),var(--post-logo-reduced-offset));margin-inline-start:clamp(var(--post-logo-expanded-offset),var(--post-logo-expanded-offset) + (var(--post-logo-reduced-offset) - var(--post-logo-expanded-offset))*min(var(--post-header-scroll-top, 0px),var(--post-global-header-expanded-height) - var(--post-global-header-reduced-height))/max(1px,var(--post-global-header-expanded-height) - var(--post-global-header-reduced-height)),var(--post-logo-reduced-offset))}.global-header .sliding-controls{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;position:relative;inset-block-start:var(--post-global-controls-top)}.global-header .audience{-webkit-margin-end:auto;margin-inline-end:auto}@media screen and (max-width: 1023.98px){.global-header slot:where([name=audience],[name=global-nav-secondary]){display:none}}.local-header{position:relative;background-color:#fff;min-height:var(--post-local-header-expanded-min-height);display:var(--post-local-header-display, flex);-ms-flex-align:var(--post-local-header-align-items, center);align-items:var(--post-local-header-align-items, center)}.local-header .section{width:100%;-webkit-padding-start:var(--post-local-header-padding-inline-start);padding-inline-start:var(--post-local-header-padding-inline-start);-webkit-padding-end:var(--post-local-header-padding-inline-end);padding-inline-end:var(--post-local-header-padding-inline-end);padding-block:var(--post-local-header-padding-block)}@media screen and (min-width: 1024px){.local-header .section{display:grid;grid-template:var(--post-local-header-grid-template)}}@media screen and (max-width: 1023.98px){.local-header .section{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center}}@media screen and (max-width: 1023.98px)and (max-width: 599.98px){.local-header .section{-ms-flex-pack:end;justify-content:end}}.local-header:where(.megadropdown-open)::after,.local-header:has(~.burger-menu.extended)::after{content:"";display:block;position:absolute;inset-inline:0;inset-block-end:0;height:1px;background-color:#e1e0dc}.local-header .local-nav{-ms-flex:0 0 auto;flex:0 0 auto}@media screen and (max-width: 1023.98px){.local-header slot[name=main-nav]{display:none}}.burger-button{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:-ms-flexbox;display:flex;padding:4px 10px;gap:6px;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);display:var(--post-burger-button-display, flex)}.burger-button:not(:disabled):hover{text-decoration:none}.burger-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.burger-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}.burger-button: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){.burger-button:focus-visible{outline-color:Highlight !important}}.burger-button.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){.burger-button.pretend-focus{outline-color:Highlight !important}}.burger-button:has(: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){.burger-button:has(:focus-visible){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.burger-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.burger-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.burger-button{border-width:1px !important;-webkit-transition:none;transition:none}.burger-button:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.burger-button:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.burger-button:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}.burger-button:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}@media screen and (min-width: 0)and (max-width: 599.98px){.burger-button{padding:10px}.burger-button>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.burger-button>post-icon{font-size:1.5rem}}@media screen and (min-width: 1024px){.burger-button{display:none}}.burger-menu{z-index:-1;position:absolute;inset-inline:0;inset-block-start:100%;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));overflow:hidden auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#fafafa}.burger-menu.extended.second-level-open{overflow:hidden}.burger-menu:not(.extended){-webkit-transform:translateY(-100%);transform:translateY(-100%);display:none}.burger-menu:not(.extended)>*{display:none}.burger-menu .burger-menu-body,.burger-menu .burger-menu-footer{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-inline:var(--post-burger-menu-padding-inline)}.burger-menu .burger-menu-body{-ms-flex-positive:1;flex-grow:1;padding-block:24px;gap:var(--post-burger-menu-body-gap)}.burger-menu .burger-menu-footer{background-color:#f0efed;-webkit-padding-before:16px;padding-block-start:16px;-webkit-padding-after:max(24px, env(safe-area-inset-bottom, 0px));padding-block-end:max(24px, env(safe-area-inset-bottom, 0px));gap:var(--post-burger-menu-footer-gap)}.burger-menu .local-nav{min-height:56px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding-inline:4px}'};var b=undefined&&undefined.__decorate||function(e,t,i,o){var a=arguments.length,n=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)if(r=e[s])n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n;return a>3&&n&&Object.defineProperty(t,i,n),n};var f=e("post_header",function(){function e(e){var i=this;t(this,e);this.scrollMax=Infinity;this.scrollPosition=0;this.throttledResize=l(50,(function(){return i.updateLocalHeaderHeight()}));this.animationOptions={duration:350,easing:"headerEase"};this.device=n.get("device");this.hasTitle=true;this.hasMainNav=true;this.hasAudience=true;this.hasGlobalNavSecondary=true;this.hasLocalNav=true;this.burgerMenuExtended=false;this.megadropdownOpen=false;this.fullWidth=false;this.breakpointChange=function(e){var t=i.device;i.device=e.detail;i.switchLanguageSwitchMode();var o=t==="desktop";var a=i.device!=="desktop";var n=i.device==="desktop";if(o&&a&&i.megadropdownOpen){i.burgerMenuExtended=true}if(n&&i.burgerMenuExtended){i.closeBurgerMenu()}};this.onScroll=function(){i.handleScrollEvent();i.collapseIfNotKeyboardFocused()};this.handleScrollEvent=this.handleScrollEvent.bind(this);this.updateScrollParentHeight=this.updateScrollParentHeight.bind(this);this.updateLocalHeaderHeight=this.updateLocalHeaderHeight.bind(this);this.updateScrollMax=this.updateScrollMax.bind(this);this.keyboardHandler=this.keyboardHandler.bind(this);this.handleLinkClick=this.handleLinkClick.bind(this);this.checkSlottedContent=this.checkSlottedContent.bind(this);this.megadropdownStateHandler=this.megadropdownStateHandler.bind(this)}Object.defineProperty(e.prototype,"hasBurgerMenu",{get:function(){return this.device!=="desktop"&&(this.hasMainNav||this.hasAudience||this.hasGlobalNavSecondary)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"scrollParent",{get:function(){var e=document.querySelector("[data-post-scroll-locked]");if(e)return e;var t=this.host.parentElement;while(t){var i=getComputedStyle(t).overflowY;if(["auto","scroll"].includes(i)){return t}t=t.parentElement}return document.body},enumerable:false,configurable:true});e.prototype.lockBody=function(e,t,i){var o=this.scrollParent;var a=i==="burgerMenuExtended"?e:this.burgerMenuExtended;if(this.device!=="desktop"&&a){o.dataset.postScrollLocked="";this.host.addEventListener("keydown",this.keyboardHandler)}else{delete o.dataset.postScrollLocked;this.host.removeEventListener("keydown",this.keyboardHandler)}};e.prototype.connectedCallback=function(){globalThis.addEventListener("resize",this.throttledResize,{passive:true});globalThis.addEventListener("scroll",this.onScroll,{passive:true});this.scrollParent.addEventListener("scroll",this.onScroll,{passive:true});document.addEventListener("postToggleMegadropdown",this.megadropdownStateHandler);globalThis.addEventListener("postBreakpoint:device",this.breakpointChange);this.handleScrollParentResize();this.handleScrollMaxResize();this.lockBody(false,this.burgerMenuExtended,"burgerMenuExtended")};e.prototype.componentWillRender=function(){this.handleScrollEvent();this.handleSlottedContentChanges();this.switchLanguageSwitchMode()};e.prototype.componentDidRender=function(){this.getFocusableElements();this.handleLocalHeaderResize();this.handleScrollMaxResize();if(this.burgerMenuButton&&this.burgerMenuButton.toggled!==this.burgerMenuExtended){this.burgerMenuButton.toggled=this.burgerMenuExtended}};e.prototype.componentDidLoad=function(){this.updateLocalHeaderHeight();this.host.shadowRoot.addEventListener("click",this.handleLinkClick)};e.prototype.disconnectedCallback=function(){var e=this.scrollParent;globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange);globalThis.removeEventListener("resize",this.throttledResize);globalThis.removeEventListener("scroll",this.onScroll);if(e)e.removeEventListener("scroll",this.onScroll);document.removeEventListener("postToggleMegadropdown",this.megadropdownStateHandler);this.host.removeEventListener("keydown",this.keyboardHandler);if(this.host.shadowRoot){this.host.shadowRoot.removeEventListener("click",this.handleLinkClick)}if(this.scrollParentResizeObserver){this.scrollParentResizeObserver.disconnect();this.scrollParentResizeObserver=null}if(this.localHeaderResizeObserver){this.localHeaderResizeObserver.disconnect();this.localHeaderResizeObserver=null}if(this.scrollMaxResizeObserver){this.scrollMaxResizeObserver.disconnect();this.scrollMaxResizeObserver=null}this.lastScrollTop=undefined;if(this.slottedContentObserver){this.slottedContentObserver.disconnect();this.slottedContentObserver=null}this.burgerMenuExtended=false};e.prototype.closeBurgerMenu=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.burgerMenuAnimation)===null||e===void 0?void 0:e.finish();if(this.burgerMenuButton)this.burgerMenuButton.toggled=false;this.burgerMenuExtended=false;return[2]}))}))};e.prototype.toggleBurgerMenu=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=!this.burgerMenuExtended}return __generator(this,(function(t){switch(t.label){case 0:if(this.device==="desktop")return[2];if(e===this.burgerMenuExtended){return[2]}this.burgerMenuAnimation=this.burgerMenuExtended?h(this.burgerMenu,"out",this.animationOptions):h(this.burgerMenu,"in",this.animationOptions);if(this.burgerMenuButton&&this.burgerMenuButton.toggled!==e){this.burgerMenuButton.toggled=e}if(!this.burgerMenuExtended)return[3,2];return[4,this.burgerMenuAnimation.finished];case 1:t.sent();this.burgerMenuExtended=e;if(this.burgerMenuExtended===false){this.closeAllMegadropdowns();this.burgerMenu.scrollTop=0}return[3,3];case 2:this.burgerMenuExtended=e;if(this.megadropdownOpen){this.closeAllMegadropdowns()}t.label=3;case 3:return[2]}}))}))};e.prototype.megadropdownStateHandler=function(e){this.megadropdownOpen=e.detail.isVisible};e.prototype.getFocusableElements=function(){if(!this.burgerMenu)return;var e=[this.burgerMenuButton];e.push.apply(e,__spreadArray(__spreadArray([],s(this.localHeader,(function(e){return!e.matches("post-megadropdown")})),false),s(this.burgerMenu,(function(e){return!e.matches("post-megadropdown")})),false));this.firstFocusableEl=e[0];this.lastFocusableEl=e.at(-1)};e.prototype.keyboardHandler=function(e){if(e.key!=="Tab"||!this.burgerMenuExtended)return;var t=this.host.shadowRoot.activeElement||document.activeElement;if(e.shiftKey&&t===this.firstFocusableEl){e.preventDefault();this.lastFocusableEl.focus()}else if(!e.shiftKey&&t===this.lastFocusableEl){e.preventDefault();this.firstFocusableEl.focus()}};e.prototype.closeAllMegadropdowns=function(){Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((function(e){e.hide(false,true)}));this.megadropdownOpen=false};e.prototype.collapseIfNotKeyboardFocused=function(){var e;if(!("expanded"in this.host.dataset))return;if((e=this.getDeepActiveElement())===null||e===void 0?void 0:e.matches(":focus-visible"))return;delete this.host.dataset.expanded};e.prototype.getScrollPosition=function(){var e=this.scrollParent;return e===document.body?globalThis.scrollY:e.scrollTop};e.prototype.restoreScrollPosition=function(){var e=this.scrollParent;var t=e===document.body?globalThis:e;t.scrollTo({top:this.scrollPosition,behavior:"instant"})};e.prototype.handleScrollEvent=function(){this.scrollPosition=this.getScrollPosition();var e=Math.min(Math.max(this.scrollPosition,0),this.scrollMax);if(e===this.lastScrollTop)return;this.lastScrollTop=e;document.documentElement.style.setProperty("--post-header-scroll-top","".concat(e,"px"))};e.prototype.updateScrollMax=function(){if(!this.scrollMaxElement)return;var e=getComputedStyle(this.host).getPropertyValue("--post-header-scroll-max").trim()!=="";this.scrollMax=e?Math.ceil(this.scrollMaxElement.getBoundingClientRect().width):Infinity;this.handleScrollEvent()};e.prototype.updateLocalHeaderHeight=function(){var e=this.host.shadowRoot.querySelector(".local-header");if(e){document.documentElement.style.setProperty("--post-local-header-expanded-height","".concat(e.clientHeight,"px"))}};e.prototype.updateScrollParentHeight=function(){this.host.style.setProperty("--post-header-scroll-parent-height","".concat(this.scrollParent.clientHeight,"px"))};e.prototype.handleLinkClick=function(e){var t=e.target;var i=t.closest("post-mainnavigation a");var o=t.closest("post-megadropdown a");if(!i&&!o){return}if(this.burgerMenuExtended&&(i||o)){this.toggleBurgerMenu(false)}if(this.device==="desktop"&&o){var a=t.closest("post-megadropdown a");if(a){t.closest("post-megadropdown").hide(true)}}};e.prototype.handleScrollParentResize=function(){if(this.scrollParent){this.scrollParentResizeObserver=new ResizeObserver(this.updateScrollParentHeight);this.scrollParentResizeObserver.observe(this.scrollParent)}};e.prototype.handleLocalHeaderResize=function(){var e=this.host.shadowRoot.querySelector(".local-header");if(e&&!this.localHeaderResizeObserver){this.localHeaderResizeObserver=new ResizeObserver(this.updateLocalHeaderHeight);this.localHeaderResizeObserver.observe(e)}};e.prototype.handleScrollMaxResize=function(){if(!this.scrollMaxElement||this.scrollMaxResizeObserver)return;this.updateScrollMax();this.scrollMaxResizeObserver=new ResizeObserver(this.updateScrollMax);this.scrollMaxResizeObserver.observe(this.scrollMaxElement)};e.prototype.handleSlottedContentChanges=function(){if(!this.slottedContentObserver){this.checkSlottedContent();this.slottedContentObserver=new MutationObserver(this.checkSlottedContent);this.slottedContentObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["slot"]})}};e.prototype.slotHasNavigationItems=function(e,t){return Array.from(this.host.querySelectorAll(':scope > [slot="'.concat(e,'"]'))).some((function(e){return e.matches(t)||!!e.querySelector(t)}))};e.prototype.checkSlottedContent=function(){this.hasTitle=!!this.host.querySelector('[slot="title"]');this.hasMainNav=this.slotHasNavigationItems("main-nav","a:not(post-megadropdown *), post-megadropdown-trigger");this.hasAudience=this.slotHasNavigationItems("audience","a, button");this.hasGlobalNavSecondary=this.slotHasNavigationItems("global-nav-secondary","a, button");this.hasLocalNav=!!this.host.querySelector('[slot="local-nav"]')};e.prototype.switchLanguageSwitchMode=function(){var e=this.hasBurgerMenu?"list":"menu";Array.from(this.host.querySelectorAll("post-language-menu")).forEach((function(t){t===null||t===void 0?void 0:t.setAttribute("variant",e)}))};e.prototype.onFocusChange=function(e){var t;if(e.type==="focusout"){if(this.isWithinHeader(e.relatedTarget))return;delete this.host.dataset.expanded;return}var i=(t=this.getDeepActiveElement())===null||t===void 0?void 0:t.matches(":focus-visible");if(!i)return;var o=this.device==="desktop"?this.globalHeader:this.localHeader;var a=e.composedPath().includes(o);this.host.toggleAttribute("data-expanded",a);if(a)this.restoreScrollPosition()};e.prototype.isWithinHeader=function(e){return e instanceof Node&&(e===this.host||this.host.contains(e))};e.prototype.getDeepActiveElement=function(){var e;var t=document.activeElement;while((e=t===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.activeElement){t=t.shadowRoot.activeElement}return t};e.prototype.renderBurgerMenu=function(){var e=this;var t,o;return i("div",{class:{"burger-menu":true,extended:this.burgerMenuExtended,"second-level-open":this.megadropdownOpen},style:{"--post-header-navigation-current-inset":"".concat((o=(t=this.burgerMenu)===null||t===void 0?void 0:t.scrollTop)!==null&&o!==void 0?o:0,"px")},ref:function(t){return e.burgerMenu=t}},this.hasLocalNav&&!this.hasTitle&&i("div",{class:"local-nav"},i("slot",{name:"local-nav"})),i("div",{class:"burger-menu-body"},i("slot",{name:"audience"}),i("slot",{name:"main-nav"})),i("div",{class:"burger-menu-footer"},i("slot",{name:"global-nav-secondary"}),i("slot",{name:"language-menu"})))};e.prototype.render=function(){var e=this;var t=this.device==="desktop";return i(o,{key:"54f311b0483a77983c8a260a730e12b10f936f2d","data-version":d,"data-color-scheme":"light","data-burger-menu":this.hasBurgerMenu,"data-menu-extended":this.burgerMenuExtended},i("span",{key:"464d6e58d8e3beec6ae8a306510e669cb2e2fec9",class:"scroll-max","aria-hidden":"true",ref:function(t){return e.scrollMaxElement=t}}),i("header",{key:"1819b5300843eb4c66141a97c46832cd1ca54466"},i("div",{key:"e1fd6075137cb64ef6d0835d1317659da19a17f6",ref:function(t){return e.globalHeader=t},class:"global-header"},i("div",{key:"d1833a01d27a59ef9ef3203734e14f8bfe4a1541",class:"section"},i("div",{key:"299fcbb952c0402f239a721459a2ea48a5959131",class:"logo"},i("slot",{key:"cb0b192d7d12dd4ba7a5bcdfea2a9f51232ebc45",name:"post-logo"})),i("div",{key:"69a54116557786db7a1c6401c9fdff4808b64ee2",class:"sliding-controls"},t&&i("div",{key:"3e81349af69790454a0ff80d058cc1d1d34d27a2",class:"audience"},i("slot",{key:"37a1d787da40f9bd3188aa5b640262b802a27310",name:"audience"})),i("slot",{key:"6af478e6aa380ead70df3b6202b1b8de0573f786",name:"global-nav-primary"}),(t||!this.hasBurgerMenu)&&[i("slot",{key:"global-nav-secondary",name:"global-nav-secondary"}),i("slot",{key:"language-menu",name:"language-menu"})],i("slot",{key:"9f1afec759f7c0ec8448077eb81164e5f2f2a86e",name:"post-login"}),this.hasBurgerMenu&&i("post-togglebutton",{key:"746afc808afffe295478d5ae8effdad99f551f44",class:"burger-button",ref:function(t){return e.burgerMenuButton=t},onClick:function(){return e.toggleBurgerMenu()}},i("span",{key:"4ea61aa1d259b38254914b8f78b4edbd5dbaab2a"},this.textMenu),i("post-icon",{key:"711fd906af8578dc7ecdb90d2d238828e7f184e6","aria-hidden":"true",name:"burger","data-showwhen":"untoggled"}),i("post-icon",{key:"9797c5b101b734f47f35572fb63def04fd63c349","aria-hidden":"true",name:"closex","data-showwhen":"toggled"}))))),i("div",{key:"8e202c4085f060843bbb0e99c1b7af190fdb7c1d",ref:function(t){return e.localHeader=t},class:{"local-header":true,"megadropdown-open":this.megadropdownOpen}},i("div",{key:"18035a103958aadc9187d33a938be44a8e13a2d6",class:"section"},i("slot",{key:"77cb8436bea9bfae7a5ab2bcd5594dc92dc6a3ab",name:"side-nav"}),i("slot",{key:"4875e26bc0cc181e7b19771aafe56d27dd451844",name:"title"}),this.hasTitle&&i("slot",{key:"c3d1d22045c19a4ed860ae88e9ebb3d6279341af",name:"local-nav"}),t&&i("slot",{key:"8e65de4132f2b7905b126849e2703da3e9b0a1a0",name:"main-nav"}),t&&!this.hasTitle&&i("slot",{key:"76b439a83965fe0669de37c1f2a29993abdbad30",name:"local-nav"}))),this.hasBurgerMenu&&this.renderBurgerMenu()))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}},enumerable:false,configurable:true});return e}());b([c(),p("boolean")],f.prototype,"fullWidth",void 0);b([c(),p("string")],f.prototype,"textMenu",void 0);b([r("post-megadropdown")],f.prototype,"megadropdownStateHandler",null);f.style=u()}}}));
@@ -1 +1 @@
1
- System.register(["./p-CN_0KCBp.system.js","./p-B1oFB_zk.system.js"],(function(t){"use strict";var e,o,i;return{setters:[function(t){e=t.r;o=t.g},function(t){i=t.v}],execute:function(){var s=function(){return'post-menu-item 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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item button,post-menu-item a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:13px}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline:none !important}post-menu-item button.pretend-focus,post-menu-item a.pretend-focus{outline:none !important}post-menu-item button:has(:focus-visible),post-menu-item a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus),post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-menu-item button::after,post-menu-item a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-menu-item button::after,post-menu-item a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-color:Highlight !important}}post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-color:Highlight !important}}post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}post-menu-item button:hover:focus-visible::after,post-menu-item a:hover:focus-visible::after{outline-color:#fff !important}post-menu-item button:hover.pretend-focus::after,post-menu-item a:hover.pretend-focus::after{outline-color:#fff !important}post-menu-item button:hover:has(:focus-visible)::after,post-menu-item a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-menu-item button:hover:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-menu-item button post-icon,post-menu-item a post-icon{width:16px;height:16px;margin-block:4px}@media screen and (min-width: 780px){post-menu-item button post-icon,post-menu-item a post-icon{width:24px;height:24px;margin:0}}'};var n=t("post_menu_item",function(){function t(t){e(this,t)}t.prototype.connectedCallback=function(){this.host.dataset.version=i};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());n.style=s()}}}));
1
+ System.register(["./p-CN_0KCBp.system.js","./p-CgnycKPl.system.js"],(function(t){"use strict";var e,o,i;return{setters:[function(t){e=t.r;o=t.g},function(t){i=t.v}],execute:function(){var n=function(){return'post-menu-item 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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item button,post-menu-item a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:13px}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline:none !important}post-menu-item button.pretend-focus,post-menu-item a.pretend-focus{outline:none !important}post-menu-item button:has(:focus-visible),post-menu-item a:has(:focus-visible){outline:none !important}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus),post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus){outline:none !important}}post-menu-item button::after,post-menu-item a::after{content:"";position:absolute;inset:0;width:100%;height:100%;border-radius:calc(var(--post-device-border-radius-focus) - var(--post-device-spacing-padding-44))}post-menu-item button::after,post-menu-item a::after{outline-offset:var(--post-device-spacing-padding-44) !important;outline:#050400 none var(--post-device-border-width-focus) !important}post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:focus-visible::after,post-menu-item a:focus-visible::after{outline-color:Highlight !important}}post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button.pretend-focus::after,post-menu-item a.pretend-focus::after{outline-color:Highlight !important}}post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:has(:focus-visible)::after,post-menu-item a:has(:focus-visible)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}post-menu-item button:hover:focus-visible::after,post-menu-item a:hover:focus-visible::after{outline-color:#fff !important}post-menu-item button:hover.pretend-focus::after,post-menu-item a:hover.pretend-focus::after{outline-color:#fff !important}post-menu-item button:hover:has(:focus-visible)::after,post-menu-item a:hover:has(:focus-visible)::after{outline-color:#fff !important}@supports not selector(:has(:focus-visible)){post-menu-item button:hover:is(:focus-visible,:focus-within,.pretend-focus)::after,post-menu-item a:hover:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:#fff !important}}post-menu-item button post-icon,post-menu-item a post-icon{width:16px;height:16px;margin-block:4px}@media screen and (min-width: 780px){post-menu-item button post-icon,post-menu-item a post-icon{width:24px;height:24px;margin:0}}'};var s=t("post_menu_item",function(){function t(t){e(this,t)}t.prototype.connectedCallback=function(){this.host.dataset.version=i};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());s.style=n()}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var r=function(t,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))r[e]=t[e]};return r(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,e,n){function i(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,o){function a(r){try{s(n.next(r))}catch(r){o(r)}}function u(r){try{s(n["throw"](r))}catch(r){o(r)}}function s(r){r.done?e(r.value):i(r.value).then(a,u)}s((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=u(0),a["throw"]=u(1),a["return"]=u(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(r){return function(t){return s([r,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=t.call(r,e)}catch(r){u=[6,r];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var e={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0)e[n]=r[n];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++){if(t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i]))e[n[i]]=r[n[i]]}return e};var __spreadArray=this&&this.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return r.concat(o||Array.prototype.slice.call(t))};System.register(["./p-CN_0KCBp.system.js","./p-B1oFB_zk.system.js","./p-CiwQnVr3.system.js","./p-BYB4z0RW.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(r){"use strict";var t,e,n,i,o,a,u,s,f;return{setters:[function(r){t=r.r;e=r.c;n=r.h;i=r.H;o=r.g},function(r){a=r.v},function(r){u=r.O},function(r){s=r.P},function(r){f=r.T},null],execute:function(){var c=this;var v=250;var l="ease-out";function d(r){if(!r)return;return r.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:v,easing:l,fill:"forwards"})}var p=["top","right","bottom","left"];var h=Math.min;var w=Math.max;var g=Math.round;var b=Math.floor;var _=function(r){return{x:r,y:r}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function x(r,t,e){return w(r,h(t,e))}function y(r,t){return typeof r==="function"?r(t):r}function k(r){return r.split("-")[0]}function S(r){return r.split("-")[1]}function M(r){return r==="x"?"y":"x"}function T(r){return r==="y"?"height":"width"}function A(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function E(r){return M(A(r))}function O(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var H=["left","right"];var j=["right","left"];var L=["top","bottom"];var C=["bottom","top"];function z(r,t,e){switch(r){case"top":case"bottom":if(e)return t?j:H;return t?H:j;case"left":case"right":return t?L:C;default:return[]}}function R(r,t,e,n){var i=S(r);var o=z(k(r),e==="start",n);if(i){o=o.map((function(r){return r+"-"+i}));{o=o.concat(o.map(O))}}return o}function D(r){var t=k(r);return m[t]+r.slice(t.length)}function F(r){var t,e,n,i;return{top:(t=r.top)!=null?t:0,right:(e=r.right)!=null?e:0,bottom:(n=r.bottom)!=null?n:0,left:(i=r.left)!=null?i:0}}function B(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function W(r){var t=r.x,e=r.y,n=r.width,i=r.height;return{width:n,height:i,top:e,left:t,right:t+n,bottom:e+i,x:t,y:e}}function I(r,t,e){var n=r.reference,i=r.floating;var o=A(t);var a=E(t);var u=T(a);var s=k(t);var f=o==="y";var c=n.x+n.width/2-i.width/2;var v=n.y+n.height/2-i.height/2;var l=n[u]/2-i[u]/2;var d;switch(s){case"top":d={x:c,y:n.y-i.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:v};break;case"left":d={x:n.x-i.width,y:v};break;default:d={x:n.x,y:n.y}}var p=S(t);if(p){d[a]+=l*(p==="end"?1:-1)*(e&&f?-1:1)}return d}function P(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,h,w,g,b,_,m,x,k,S,M,T,A,E,O,H,j,L,C,z,R,D;var F;return __generator(this,(function(I){switch(I.label){case 0:if(t===void 0){t={}}n=r.x,i=r.y,o=r.platform,a=r.rects,u=r.elements,s=r.strategy;f=y(t,r),c=f.boundary,v=c===void 0?"clippingAncestors":c,l=f.rootBoundary,d=l===void 0?"viewport":l,p=f.elementContext,h=p===void 0?"floating":p,w=f.altBoundary,g=w===void 0?false:w,b=f.padding,_=b===void 0?0:b;m=B(_);x=h==="floating"?"reference":"floating";k=u[g?x:h];M=W;A=(T=o).getClippingRect;F={};return[4,o.isElement==null?void 0:o.isElement(k)];case 1:if(!((e=I.sent())!=null?e:true))return[3,2];E=k;return[3,5];case 2:O=k.contextElement;if(O)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(u.floating)];case 3:O=I.sent();I.label=4;case 4:E=O;I.label=5;case 5:return[4,A.apply(T,[(F.element=E,F.boundary=v,F.rootBoundary=d,F.strategy=s,F)])];case 6:S=M.apply(void 0,[I.sent()]);H=h==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(u.floating)];case 7:j=I.sent();return[4,o.isElement==null?void 0:o.isElement(j)];case 8:C=I.sent();if(!C)return[3,10];return[4,o.getScale==null?void 0:o.getScale(j)];case 9:C=I.sent();I.label=10;case 10:L=C||{x:1,y:1};R=W;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,12];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:H,offsetParent:j,strategy:s})];case 11:D=I.sent();return[3,13];case 12:D=H;I.label=13;case 13:z=R.apply(void 0,[D]);return[2,{top:(S.top-z.top+m.top)/L.y,bottom:(z.bottom-S.bottom+m.bottom)/L.y,left:(S.left-z.left+m.left)/L.x,right:(z.right-S.right+m.right)/L.x}]}}))}))}var q=50;var N=function(r,t,e){return __awaiter(c,void 0,void 0,(function(){var n,i,o,a,u,s,f,c,v,l,d,p,h,w,g,b,_,m,x,y,k,S,M,T,A,E;var O;return __generator(this,(function(H){switch(H.label){case 0:n=e.placement,i=n===void 0?"bottom":n,o=e.strategy,a=o===void 0?"absolute":o,u=e.middleware,s=u===void 0?[]:u,f=e.platform;c=f.detectOverflow?f:__assign(__assign({},f),{detectOverflow:P});return[4,f.isRTL==null?void 0:f.isRTL(t)];case 1:v=H.sent();return[4,f.getElementRects({reference:r,floating:t,strategy:a})];case 2:l=H.sent();d=I(l,i,v),p=d.x,h=d.y;w=i;g=0;b={};_=0;H.label=3;case 3:if(!(_<s.length))return[3,11];m=s[_];if(!m){return[3,10]}x=m.name,y=m.fn;return[4,y({x:p,y:h,initialPlacement:i,placement:w,strategy:a,middlewareData:b,rects:l,platform:c,elements:{reference:r,floating:t}})];case 4:k=H.sent(),S=k.x,M=k.y,T=k.data,A=k.reset;p=S!=null?S:p;h=M!=null?M:h;b[x]=__assign(__assign({},b[x]),T);if(!(A&&g<q))return[3,10];g++;if(!(typeof A==="object"))return[3,9];if(A.placement){w=A.placement}if(!A.rects)return[3,8];if(!(A.rects===true))return[3,6];return[4,f.getElementRects({reference:r,floating:t,strategy:a})];case 5:E=H.sent();return[3,7];case 6:E=A.rects;H.label=7;case 7:l=E;H.label=8;case 8:O=I(l,w,v),p=O.x,h=O.y;H.label=9;case 9:_=-1;H.label=10;case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:w,strategy:a,middlewareData:b}]}}))}))};var V=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,w,g,b,_,m,k,M,A,O,H,j,L,C,z,R,D,F,W,I,P,q;var N,V;return __generator(this,(function($){switch($.label){case 0:e=t.x,n=t.y,i=t.placement,o=t.rects,a=t.platform,u=t.elements,s=t.middlewareData;f=y(r,t)||{},c=f.element,v=f.padding,l=v===void 0?0:v;if(c==null){return[2,{}]}d=B(l);p={x:e,y:n};w=E(i);g=T(w);return[4,a.getDimensions(c)];case 1:b=$.sent();_=w==="y";m=_?"top":"left";k=_?"bottom":"right";M=_?"clientHeight":"clientWidth";A=o.reference[g]+o.reference[w]-p[w]-o.floating[g];O=p[w]-o.reference[w];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:H=$.sent();j=H?H[M]:0;L=!j;if(L)return[3,4];return[4,a.isElement==null?void 0:a.isElement(H)];case 3:L=!$.sent();$.label=4;case 4:if(L){j=u.floating[M]||o.floating[g]}C=A/2-O/2;z=j/2-b[g]/2-1;R=h(d[m],z);D=h(d[k],z);F=j-b[g]-D;W=j/2-b[g]/2+C;I=x(R,W,F);P=!s.arrow&&S(i)!=null&&W!==I&&o.reference[g]/2-(W<R?R:D)-b[g]/2<0;q=P?W<R?W-R:W-F:0;return[2,(N={},N[w]=p[w]+q,N.data=__assign((V={},V[w]=I,V.centerOffset=W-I-q,V),P&&{alignmentOffset:q}),N.reset=P,N)]}}))}))}}};function $(r,t){return{top:r.top-t.height,right:r.right-t.width,bottom:r.bottom-t.height,left:r.left-t.width}}function G(r){return p.some((function(t){return r[t]>=0}))}var K=function(r){if(r===void 0){r={}}return{name:"hide",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,f,c;return __generator(this,(function(v){switch(v.label){case 0:e=t.rects,n=t.platform;i=y(r,t),o=i.strategy,a=o===void 0?"referenceHidden":o,u=__rest(i,["strategy"]);s=a;switch(s){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,n.detectOverflow(t,__assign(__assign({},u),{elementContext:"reference"}))];case 2:f=v.sent();c=$(f,e.reference);return[2,{data:{referenceHiddenOffsets:c,referenceHidden:G(c)}}];case 3:return[4,n.detectOverflow(t,__assign(__assign({},u),{altBoundary:true}))];case 4:f=v.sent();c=$(f,e.floating);return[2,{data:{escapedOffsets:c,escaped:G(c)}}];case 5:{return[2,{}]}v.label=6;case 6:return[2]}}))}))}}};function Q(r){var t=h.apply(void 0,r.map((function(r){return r.left})));var e=h.apply(void 0,r.map((function(r){return r.top})));var n=w.apply(void 0,r.map((function(r){return r.right})));var i=w.apply(void 0,r.map((function(r){return r.bottom})));return{x:t,y:e,width:n-t,height:i-e}}function Y(r){var t=r.slice().sort((function(r,t){return r.y-t.y}));var e=[];var n=null;for(var i=0;i<t.length;i++){var o=t[i];if(!n||o.y-n.y>n.height/2){e.push([o])}else{e[e.length-1].push(o)}n=o}return e.map((function(r){return W(Q(r))}))}var Z=function(r){if(r===void 0){r={}}return{name:"inline",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){function e(){if(b.length===2&&(b[0].left>b[1].right||b[1].left>b[0].right)&&v!=null&&l!=null){return b.find((function(r){return v>r.left-m.left&&v<r.right+m.right&&l>r.top-m.top&&l<r.bottom+m.bottom}))||_}if(b.length>=2){if(A(n)==="y"){var r=b[0];var t=b[b.length-1];var e=k(n)==="top";var i=r.top;var o=t.bottom;var a=e?r.left:t.left;var u=e?r.right:t.right;return W({x:a,y:i,width:u-a,height:o-i})}var s=k(n)==="left";var f=w.apply(void 0,b.map((function(r){return r.right})));var c=h.apply(void 0,b.map((function(r){return r.left})));var d=b.filter((function(r){return s?r.left===c:r.right===f}));var p=d[0].top;var g=d[d.length-1].bottom;return W({x:c,y:p,width:f-c,height:g-p})}return _}var n,i,o,a,u,s,f,c,v,l,d,p,g,b,_,m,x;return __generator(this,(function(h){switch(h.label){case 0:n=t.placement,i=t.elements,o=t.rects,a=t.platform,u=t.strategy;s=y(r,t),f=s.padding,c=f===void 0?2:f,v=s.x,l=s.y;g=(p=Array).from;return[4,a.getClientRects==null?void 0:a.getClientRects(i.reference)];case 1:d=g.apply(p,[h.sent()||[]]);if(!d.length){return[2,{}]}b=Y(d);_=W(Q(d));m=B(c);return[4,a.getElementRects({reference:{getBoundingClientRect:e},floating:i.floating,strategy:u})];case 2:x=h.sent();if(o.reference.x!==x.reference.x||o.reference.y!==x.reference.y||o.reference.width!==x.reference.width||o.reference.height!==x.reference.height){return[2,{reset:{rects:x}}]}return[2,{}]}}))}))}}};var J=new Set(["left","top"]);function U(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,h;return __generator(this,(function(w){switch(w.label){case 0:e=r.placement,n=r.platform,i=r.elements;return[4,n.isRTL==null?void 0:n.isRTL(i.floating)];case 1:o=w.sent();a=k(e);u=S(e);s=A(e)==="y";f=J.has(a)?-1:1;c=o&&s?-1:1;v=y(t,r);l=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis},d=l.mainAxis,p=l.crossAxis,h=l.alignmentAxis;if(u&&typeof h==="number"){p=u==="end"?h*-1:h}return[2,s?{x:p*c,y:d*f}:{x:d*f,y:p*c}]}}))}))}var X=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s;return __generator(this,(function(f){switch(f.label){case 0:i=t.x,o=t.y,a=t.placement,u=t.middlewareData;return[4,U(t,r)];case 1:s=f.sent();if(a===((e=u.offset)==null?void 0:e.placement)&&(n=u.arrow)!=null&&n.alignmentOffset){return[2,{}]}return[2,{x:i+s.x,y:o+s.y,data:__assign(__assign({},s),{placement:a})}]}}))}))}}};var rr=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,h,w,g,b,_,m,k;var S,T;return __generator(this,(function(E){switch(E.label){case 0:e=t.x,n=t.y,i=t.placement,o=t.platform;a=y(r,t),u=a.mainAxis,s=u===void 0?true:u,f=a.crossAxis,c=f===void 0?false:f,v=a.limiter,l=v===void 0?{fn:function(r){var t=r.x,e=r.y;return{x:t,y:e}}}:v,d=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:e,y:n};return[4,o.detectOverflow(t,d)];case 1:h=E.sent();w=A(i);g=M(w);b=p[g];_=p[w];m=function(r,t){return x(t+h[r==="y"?"top":"left"],t,t-h[r==="y"?"bottom":"right"])};if(s){b=m(g,b)}if(c){_=m(w,_)}k=l.fn(__assign(__assign({},t),(S={},S[g]=b,S[w]=_,S)));return[2,__assign(__assign({},k),{data:{x:k.x-e,y:k.y-n,enabled:(T={},T[g]=s,T[w]=c,T)}})]}}))}))}}};var tr=function(r){if(r===void 0){r={}}return{options:r,fn:function(t){var e;var n,i;var o=t.x,a=t.y,u=t.placement,s=t.rects,f=t.middlewareData;var c=y(r,t),v=c.offset,l=v===void 0?0:v,d=c.mainAxis,p=d===void 0?true:d,h=c.crossAxis,w=h===void 0?true:h;var g={x:o,y:a};var b=A(u);var _=M(b);var m=g[_];var x=g[b];var S=y(l,t);var T=typeof S==="number"?{mainAxis:S,crossAxis:0}:{mainAxis:(n=S.mainAxis)!=null?n:0,crossAxis:(i=S.crossAxis)!=null?i:0};if(p){var E=_==="y"?"height":"width";var O=s.reference[_]-s.floating[E]+T.mainAxis;var H=s.reference[_]+s.reference[E]-T.mainAxis;if(m<O){m=O}else if(m>H){m=H}}if(w){var j,L;var E=_==="y"?"width":"height";var C=J.has(k(u));var O=s.reference[b]-s.floating[E]+(C?((j=f.offset)==null?void 0:j[b])||0:0)+(C?0:T.crossAxis);var H=s.reference[b]+s.reference[E]+(C?0:((L=f.offset)==null?void 0:L[b])||0)-(C?T.crossAxis:0);if(x<O){x=O}else if(x>H){x=H}}return e={},e[_]=m,e[b]=x,e}}};var er=function(r){if(r===void 0){r={}}return{name:"size",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,g,b,_,m,x,M,T,E,O,H,j,L,C,z;return __generator(this,(function(R){switch(R.label){case 0:e=t.placement,n=t.rects,i=t.platform,o=t.elements;a=y(r,t),u=a.apply,s=u===void 0?function(){}:u,f=__rest(a,["apply"]);return[4,i.detectOverflow(t,f)];case 1:c=R.sent();v=k(e);l=S(e);d=A(e)==="y";p=n.floating,g=p.width,b=p.height;if(!(v==="top"||v==="bottom"))return[3,3];_=v;x=l;return[4,i.isRTL==null?void 0:i.isRTL(o.floating)];case 2:m=x===(R.sent()?"start":"end")?"left":"right";return[3,4];case 3:m=v;_=l==="end"?"top":"bottom";R.label=4;case 4:M=b-c.top-c.bottom;T=g-c.left-c.right;E=h(b-c[_],M);O=h(g-c[m],T);H=t.middlewareData.shift;j=!H;L=E;C=O;if(H!=null&&H.enabled.x){C=T}if(H!=null&&H.enabled.y){L=M}if(j&&!l){if(d){C=g-2*w(c.left,c.right)}else{L=b-2*w(c.top,c.bottom)}}return[4,s(__assign(__assign({},t),{availableWidth:C,availableHeight:L}))];case 5:R.sent();return[4,i.getDimensions(o.floating)];case 6:z=R.sent();if(g!==z.width||b!==z.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function nr(){return typeof window!=="undefined"}function ir(r){if(ur(r)){return(r.nodeName||"").toLowerCase()}return"#document"}function or(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function ar(r){var t;return(t=(ur(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function ur(r){if(!nr()){return false}return r instanceof Node||r instanceof or(r).Node}function sr(r){if(!nr()){return false}return r instanceof Element||r instanceof or(r).Element}function fr(r){if(!nr()){return false}return r instanceof HTMLElement||r instanceof or(r).HTMLElement}function cr(r){if(!nr()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof or(r).ShadowRoot}function vr(r){var t=yr(r),e=t.overflow,n=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function lr(r){return/^(table|td|th)$/.test(ir(r))}function dr(r){try{if(r.matches(":popover-open")){return true}}catch(r){}try{return r.matches(":modal")}catch(r){return false}}var pr=/transform|translate|scale|rotate|perspective|filter/;var hr=/paint|layout|strict|content/;var wr=function(r){return!!r&&r!=="none"};var gr;function br(r){var t=sr(r)?yr(r):r;return wr(t.transform)||wr(t.translate)||wr(t.scale)||wr(t.rotate)||wr(t.perspective)||!mr()&&(wr(t.backdropFilter)||wr(t.filter))||pr.test(t.willChange||"")||hr.test(t.contain||"")}function _r(r){var t=Sr(r);while(fr(t)&&!xr(t)){if(br(t)){return t}else if(dr(t)){return null}t=Sr(t)}return null}function mr(){if(gr==null){gr=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return gr}function xr(r){return/^(html|body|#document)$/.test(ir(r))}function yr(r){return or(r).getComputedStyle(r)}function kr(r){if(sr(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Sr(r){if(ir(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||cr(r)&&r.host||ar(r);return cr(t)?t.host:t}function Mr(r){var t=Sr(r);if(xr(t)){return(r.ownerDocument||r).body}if(fr(t)&&vr(t)){return t}return Mr(t)}function Tr(r,t,e){var n;if(t===void 0){t=[]}if(e===void 0){e=true}var i=Mr(r);var o=i===((n=r.ownerDocument)==null?void 0:n.body);var a=or(i);if(o){var u=Ar(a);return t.concat(a,a.visualViewport||[],vr(i)?i:[],u&&e?Tr(u):[])}else{return t.concat(i,Tr(i,[],e))}}function Ar(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function Er(r){var t=yr(r);var e=parseFloat(t.width)||0;var n=parseFloat(t.height)||0;var i=fr(r);var o=i?r.offsetWidth:e;var a=i?r.offsetHeight:n;var u=g(e)!==o||g(n)!==a;if(u){e=o;n=a}return{width:e,height:n,$:u}}function Or(r){return!sr(r)?r.contextElement:r}function Hr(r){var t=Or(r);if(!fr(t)){return _(1)}var e=t.getBoundingClientRect();var n=Er(t),i=n.width,o=n.height,a=n.$;var u=(a?g(e.width):e.width)/i;var s=(a?g(e.height):e.height)/o;if(!u||!Number.isFinite(u)){u=1}if(!s||!Number.isFinite(s)){s=1}return{x:u,y:s}}var jr=_(0);function Lr(r){var t=or(r);if(!mr()||!t.visualViewport){return jr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cr(r,t,e){if(t===void 0){t=false}return!!e&&t&&e===or(r)}function zr(r,t,e,n){if(t===void 0){t=false}if(e===void 0){e=false}var i=r.getBoundingClientRect();var o=Or(r);var a=_(1);if(t){if(n){if(sr(n)){a=Hr(n)}}else{a=Hr(r)}}var u=Cr(o,e,n)?Lr(o):_(0);var s=(i.left+u.x)/a.x;var f=(i.top+u.y)/a.y;var c=i.width/a.x;var v=i.height/a.y;if(o&&n){var l=or(o);var d=sr(n)?or(n):n;var p=l;var h=Ar(p);while(h&&d!==p){var w=Hr(h);var g=h.getBoundingClientRect();var b=yr(h);var m=g.left+(h.clientLeft+parseFloat(b.paddingLeft))*w.x;var x=g.top+(h.clientTop+parseFloat(b.paddingTop))*w.y;s*=w.x;f*=w.y;c*=w.x;v*=w.y;s+=m;f+=x;p=or(h);h=Ar(p)}}return W({width:c,height:v,x:s,y:f})}function Rr(r,t){var e=kr(r).scrollLeft;if(!t){return zr(ar(r)).left+e}return t.left+e}function Dr(r,t){var e=r.getBoundingClientRect();var n=e.left+t.scrollLeft-Rr(r,e);var i=e.top+t.scrollTop;return{x:n,y:i}}function Fr(r){var t=r.elements,e=r.rect,n=r.offsetParent,i=r.strategy;var o=i==="fixed";var a=ar(n);var u=t?dr(t.floating):false;if(n===a||u&&o){return e}var s={scrollLeft:0,scrollTop:0};var f=_(1);var c=_(0);var v=fr(n);if(v||!o){if(ir(n)!=="body"||vr(a)){s=kr(n)}if(v){var l=zr(n);f=Hr(n);c.x=l.x+n.clientLeft;c.y=l.y+n.clientTop}}var d=a&&!v&&!o?Dr(a,s):_(0);return{width:e.width*f.x,height:e.height*f.y,x:e.x*f.x-s.scrollLeft*f.x+c.x+d.x,y:e.y*f.y-s.scrollTop*f.y+c.y+d.y}}function Br(r){return r.getClientRects?Array.from(r.getClientRects()):[]}function Wr(r){var t=kr(r);var e=r.ownerDocument.body;var n=w(r.scrollWidth,r.clientWidth,e.scrollWidth,e.clientWidth);var i=w(r.scrollHeight,r.clientHeight,e.scrollHeight,e.clientHeight);var o=-t.scrollLeft+Rr(r);var a=-t.scrollTop;if(yr(e).direction==="rtl"){o+=w(r.clientWidth,e.clientWidth)-n}return{width:n,height:i,x:o,y:a}}var Ir=25;function Pr(r,t,e){if(e===void 0){e="viewport"}var n=e==="layoutViewport";var i=or(r);var o=ar(r);var a=i.visualViewport;var u=o.clientWidth;var s=o.clientHeight;var f=0;var c=0;if(a){var v=!mr()||t==="fixed";if(n){if(!v){f=-a.offsetLeft;c=-a.offsetTop}}else{u=a.width;s=a.height;if(v){f=a.offsetLeft;c=a.offsetTop}}}var l=Rr(o);if(l<=0){var d=o.ownerDocument;var p=d.body;var h=getComputedStyle(p);var w=d.compatMode==="CSS1Compat"?parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0:0;var g=Math.abs(o.clientWidth-p.clientWidth-w);var b=getComputedStyle(o).scrollbarGutter==="stable both-edges"?g/2:g;if(b<=Ir){u-=b}}return{width:u,height:s,x:f,y:c}}function qr(r,t){var e=zr(r,true,t==="fixed");var n=e.top+r.clientTop;var i=e.left+r.clientLeft;var o=Hr(r);var a=r.clientWidth*o.x;var u=r.clientHeight*o.y;var s=i*o.x;var f=n*o.y;return{width:a,height:u,x:s,y:f}}function Nr(r,t,e){var n;if(t==="viewport"||t==="layoutViewport"){n=Pr(r,e,t)}else if(t==="document"){n=Wr(ar(r))}else if(sr(t)){n=qr(t,e)}else{var i=Lr(r);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return W(n)}function Vr(r,t){var e=t.get(r);if(e){return e}var n=Tr(r,[],false).filter((function(r){return sr(r)&&ir(r)!=="body"}));var i=null;var o=yr(r).position==="fixed";var a=o?Sr(r):r;while(sr(a)&&!xr(a)){var u=yr(a);var s=br(a);var f=i?i.position:o?"fixed":"";var c=!s&&(f==="fixed"||f==="absolute"&&u.position==="static");if(c){n=n.filter((function(r){return r!==a}))}else{i=u}a=Sr(a)}t.set(r,n);return n}function $r(r){var t=r.element,e=r.boundary,n=r.rootBoundary,i=r.strategy;var o=e==="clippingAncestors"?dr(t)?[]:Vr(t,this._c):[].concat(e);var a=__spreadArray(__spreadArray([],o,true),[n],false);var u=Nr(t,a[0],i);var s=u.top;var f=u.right;var c=u.bottom;var v=u.left;for(var l=1;l<a.length;l++){var d=Nr(t,a[l],i);s=w(d.top,s);f=h(d.right,f);c=h(d.bottom,c);v=w(d.left,v)}return{width:f-v,height:c-s,x:v,y:s}}function Gr(r){var t=Er(r),e=t.width,n=t.height;return{width:e,height:n}}function Kr(r,t,e){var n=fr(t);var i=ar(t);var o=e==="fixed";var a=zr(r,true,o,t);var u={scrollLeft:0,scrollTop:0};var s=_(0);if(n||!o){if(ir(t)!=="body"||vr(i)){u=kr(t)}if(n){var f=zr(t,true,o,t);s.x=f.x+t.clientLeft;s.y=f.y+t.clientTop}}if(!n&&i){s.x=Rr(i)}var c=i&&!n&&!o?Dr(i,u):_(0);var v=a.left+u.scrollLeft-s.x-c.x;var l=a.top+u.scrollTop-s.y-c.y;return{x:v,y:l,width:a.width,height:a.height}}function Qr(r){return yr(r).position==="static"}function Yr(r,t){if(!fr(r)||yr(r).position==="fixed"){return null}if(t){return t(r)}var e=r.offsetParent;if(ar(r)===e){e=e.ownerDocument.body}return e}function Zr(r,t){var e=or(r);if(dr(r)){return e}if(!fr(r)){var n=Sr(r);while(n&&!xr(n)){if(sr(n)&&!Qr(n)){return n}n=Sr(n)}return e}var i=Yr(r,t);while(i&&lr(i)&&Qr(i)){i=Yr(i,t)}if(i&&xr(i)&&Qr(i)&&!br(i)){return e}return i||_r(r)||e}var Jr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i,o;var a;return __generator(this,(function(u){switch(u.label){case 0:t=this.getOffsetParent||Zr;e=this.getDimensions;return[4,e(r.floating)];case 1:n=u.sent();a={};i=Kr;o=[r.reference];return[4,t(r.floating)];case 2:return[2,(a.reference=i.apply(void 0,o.concat([u.sent(),r.strategy])),a.floating={x:0,y:0,width:n.width,height:n.height},a)]}}))}))};function Ur(r){return yr(r).direction==="rtl"}var Xr={convertOffsetParentRelativeRectToViewportRelativeRect:Fr,getDocumentElement:ar,getClippingRect:$r,getOffsetParent:Zr,getElementRects:Jr,getClientRects:Br,getDimensions:Gr,getScale:Hr,isElement:sr,isRTL:Ur};function rt(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}function tt(r,t,e){var n=null;var i;var o=ar(r);function a(){var r;clearTimeout(i);(r=n)==null||r.disconnect();n=null}function u(e,s){if(e===void 0){e=false}if(s===void 0){s=1}a();var f=r.getBoundingClientRect();var c=f.left,v=f.top,l=f.width,d=f.height;if(!e){t()}if(!l||!d){return}var p=b(v);var g=b(o.clientWidth-(c+l));var _=b(o.clientHeight-(v+d));var m=b(c);var x=-p+"px "+-g+"px "+-_+"px "+-m+"px";var y={rootMargin:x,threshold:w(0,h(1,s))||1};var k=true;function S(t){var e=t[0].intersectionRatio;if(!rt(f,r.getBoundingClientRect())){return u()}if(e!==s){if(!k){return u()}if(!e){i=setTimeout((function(){u(false,1e-7)}),1e3)}else{u(false,e)}}k=false}try{n=new IntersectionObserver(S,__assign(__assign({},y),{root:o.ownerDocument}))}catch(r){n=new IntersectionObserver(S,y)}n.observe(r)}var s=or(r);var f=function(){return u(e)};s.addEventListener("resize",f);u(true);return function(){s.removeEventListener("resize",f);a()}}function et(r,t,e,n){if(n===void 0){n={}}var i=n.ancestorScroll,o=i===void 0?true:i,a=n.ancestorResize,u=a===void 0?true:a,s=n.elementResize,f=s===void 0?typeof ResizeObserver==="function":s,c=n.layoutShift,v=c===void 0?typeof IntersectionObserver==="function":c,l=n.animationFrame,d=l===void 0?false:l;var p=Or(r);var h=o||u?__spreadArray(__spreadArray([],p?Tr(p):[],true),t?Tr(t):[],true):[];h.forEach((function(r){o&&r.addEventListener("scroll",e);u&&r.addEventListener("resize",e)}));var w=p&&v?tt(p,e,u):null;var g=-1;var b=null;if(f){b=new ResizeObserver((function(r){var n=r[0];if(n&&n.target===p&&b&&t){b.unobserve(t);cancelAnimationFrame(g);g=requestAnimationFrame((function(){var r;(r=b)==null||r.observe(t)}))}e()}));if(p&&!d){b.observe(p)}if(t){b.observe(t)}}var _;var m=d?zr(r):null;if(d){x()}function x(){var t=zr(r);if(m&&!rt(m,t)){e()}m=t;_=requestAnimationFrame(x)}e();return function(){var r;h.forEach((function(r){o&&r.removeEventListener("scroll",e);u&&r.removeEventListener("resize",e)}));w==null||w();(r=b)==null||r.disconnect();b=null;if(d){cancelAnimationFrame(_)}}}var nt=P;var it=X;var ot=rr;var at=er;var ut=K;var st=V;var ft=Z;var ct=tr;var vt=function(r,t,e){var n=new Map;var i=e!=null?e:{};var o=__assign(__assign(__assign({},Xr),i.platform),{_c:n});return N(r,t,__assign(__assign({},i),{platform:o}))};function lt(r,t){return p[(p.indexOf(r)+t)%4]}var dt=function(r){return lt(r,1)};var pt=function(r){return lt(r,2)};var ht=function(r){return lt(r,3)};var wt="post-flip";function gt(r){if(r===void 0){r={}}return{name:wt,options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,v,l,d,p,h,w,g,b;var _,m,x,S,M;return __generator(this,(function(T){switch(T.label){case 0:e=t.middlewareData,n=t.placement;if((_=e.arrow)===null||_===void 0?void 0:_.alignmentOffset)return[2,{}];i=y(r,t),o=i.minSize,a=o===void 0?{}:o,u=__rest(i,["minSize"]);s=Math.abs((x=(m=e.offset)===null||m===void 0?void 0:m[A(n)])!==null&&x!==void 0?x:0);f=k(n);return[4,nt(t,__assign(__assign({},u),{elementContext:"reference"}))];case 1:c=T.sent();return[4,nt(t,__assign(__assign({},u),{elementContext:"floating"}))];case 2:v=T.sent();if(Math.max(c[f],v[f])<=0)return[2,{}];l=e[wt];d={overflow:c,minSize:a,gap:s};p=(S=l===null||l===void 0?void 0:l.deficits)!==null&&S!==void 0?S:[];if(!((M=l===null||l===void 0?void 0:l.placements)!==null&&M!==void 0))return[3,3];w=M;return[3,5];case 3:return[4,bt(t,d)];case 4:w=T.sent();T.label=5;case 5:h=w;if(p.length<h.length){p=__spreadArray(__spreadArray([],p,true),[_t(f,d)],false)}g={placements:h,deficits:p};if(p.length<h.length){return[2,{data:g,reset:{placement:h[p.length]}}]}b=g.placements[g.deficits.indexOf(Math.min.apply(Math,g.deficits))];return[2,b===n?{data:g}:{data:g,reset:{placement:b}}]}}))}))}}}function bt(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c;var v,l;return __generator(this,(function(d){switch(d.label){case 0:e=r.placement,n=r.platform,i=r.elements;o=t.overflow;a=k(e);u=[e,D(e)];s=Math.min(_t(a,t),_t(pt(a),t));if(s<=0)return[2,u];return[4,(v=n.isRTL)===null||v===void 0?void 0:v.call(n,i.floating)];case 1:f=(l=d.sent())!==null&&l!==void 0?l:false;c=R(e,true,"start",f);c.sort((function(r,t){return o[k(r)]-o[k(t)]}));return[2,__spreadArray(__spreadArray([],u,true),c,true)]}}))}))}function _t(r,t){var e;var n=t.minSize,i=t.overflow,o=t.gap;var a=(e=n[T(A(r))])!==null&&e!==void 0?e:0;return o+a+i[r]}var mt=Symbol("Clipping Rect Cache");var xt=__assign(__assign({},Xr),{getClippingRect:yt});function yt(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return __awaiter(this,void 0,void 0,(function(){var t,e,n;return __generator(this,(function(i){switch(i.label){case 0:t=r[0].element;e=this[mt].get(t);if(e)return[2,e];return[4,Xr.getClippingRect.apply(this,r)];case 1:n=i.sent();kt(n,t);this[mt].set(t,n);return[2,n]}}))}))}function kt(r,t){var e=t.ownerDocument.querySelector("post-header");if(e===null)return;var n=t;while(!xr(n)){n=Sr(n);if(!fr(n))continue;if(dr(n)||n===e)return}var i=e.getBoundingClientRect();var o=Math.max(r.y,i.bottom);r.height-=o-r.y;r.y=o}var St=function(r,t,e){var n;e!==null&&e!==void 0?e:e={};return vt(r,t,__assign(__assign({},e),{platform:__assign(__assign(__assign({},xt),e.platform),(n={},n[mt]=new Map,n))}))};var Mt="post-safe-space";function Tt(){return{name:Mt,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i,o,a,u,s,f,c,v;return __generator(this,(function(l){switch(l.label){case 0:t=r.placement,e=r.rects,n=r.x,i=r.y;o=k(t);return[4,At(r,e.reference)];case 1:a=l.sent();return[4,At(r,__assign(__assign({},e.floating),{x:n,y:i}))];case 2:u=l.sent();s=__spreadArray(__spreadArray([],Et(u,pt(o)),true),Et(a,o),true);f=[];for(c=0;c<s.length;c+=2){f.push("".concat(s[c],"px ").concat(s[c+1],"px"))}v={polygon:"polygon(".concat(f.join(", "),")")};return[2,{data:v}]}}))}))}}}function At(r,t){return __awaiter(this,arguments,void 0,(function(r,t){var e,n,i,o,a;var u;var s,f;var c=r.elements,v=r.platform,l=r.strategy;return __generator(this,(function(r){switch(r.label){case 0:if(!((s=v.convertOffsetParentRelativeRectToViewportRelativeRect)===null||s===void 0))return[3,1];n=void 0;return[3,3];case 1:o=(i=s).call;a=[v];u={};return[4,(f=v.getOffsetParent)===null||f===void 0?void 0:f.call(v,c.floating)];case 2:n=o.apply(i,a.concat([(u.offsetParent=r.sent(),u.rect=t,u.elements=c,u.strategy=l,u)]));r.label=3;case 3:return[4,n];case 4:e=r.sent();return[2,W(e!==null&&e!==void 0?e:t)]}}))}))}function Et(r,t){var e=r[t];var n=r[ht(t)];var i=r[dt(t)];return A(t)==="x"?[e,n,e,i]:[n,e,i,e]}var Ot=function(r){__extends(t,r);function t(t,e){if(e===void 0){e={}}var n=this;var i=e.oldState,o=i===void 0?"":i,a=e.newState,u=a===void 0?"":a,s=__rest(e,["oldState","newState"]);n=r.call(this,t,s)||this;n.oldState=String(o||"");n.newState=String(u||"");return n}return t}(Event);var Ht=new WeakMap;function jt(r,t,e){Ht.set(r,setTimeout((function(){if(!Ht.has(r))return;r.dispatchEvent(new Ot("toggle",{cancelable:false,oldState:t,newState:e}))}),0))}var Lt=globalThis.ShadowRoot||function(){};var Ct=globalThis.HTMLDialogElement||function(){};var zt=new WeakMap;var Rt=new WeakMap;var Dt=new WeakMap;var Ft=new WeakMap;function Bt(r){return Ft.get(r)||"hidden"}var Wt=new WeakMap;function It(r){return __spreadArray([],r,true).pop()}function Pt(r){var t=r.popoverTargetElement;if(!(t instanceof HTMLElement)){return}var e=Bt(t);if(r.popoverTargetAction==="show"&&e==="showing"){return}if(r.popoverTargetAction==="hide"&&e==="hidden")return;if(e==="showing"){ee(t,true,true)}else if(qt(t,false)){Wt.set(t,r);te(t)}}function qt(r,t){if(r.popover!=="auto"&&r.popover!=="manual"&&r.popover!=="hint"){return false}if(!r.isConnected)return false;if(t&&Bt(r)!=="showing"){return false}if(!t&&Bt(r)!=="hidden"){return false}if(r instanceof Ct&&r.hasAttribute("open")){return false}if(document.fullscreenElement===r)return false;return true}function Nt(r){if(!r)return 0;var t=Rt.get(document)||new Set;var e=Dt.get(document)||new Set;if(e.has(r)){return __spreadArray([],e,true).indexOf(r)+t.size+1}if(t.has(r)){return __spreadArray([],t,true).indexOf(r)+1}return 0}function Vt(r){var t=Qt(r);var e=Yt(r);if(Nt(t)>Nt(e)){return t}return e}function $t(r){var t;var e=Dt.get(r)||new Set;var n=Rt.get(r)||new Set;var i=e.size>0?e:n.size>0?n:null;if(i){t=It(i);if(!t.isConnected){i.delete(t);return $t(r)}return t}return null}function Gt(r){for(var t=0,e=r||[];t<e.length;t++){var n=e[t];if(!n.isConnected){r.delete(n)}else{return n}}return null}function Kt(r){if(typeof r.getRootNode==="function"){return r.getRootNode()}if(r.parentNode)return Kt(r.parentNode);return r}function Qt(r){while(r){if(r instanceof HTMLElement&&r.popover==="auto"&&Ft.get(r)==="showing"){return r}r=r instanceof Element&&r.assignedSlot||r.parentElement||Kt(r);if(r instanceof Lt)r=r.host;if(r instanceof Document)return}}function Yt(r){while(r){var t=r.popoverTargetElement;if(t instanceof HTMLElement)return t;r=r.parentElement||Kt(r);if(r instanceof Lt)r=r.host;if(r instanceof Document)return}}function Zt(r,t){var e=new Map;var n=0;for(var i=0,o=t||[];i<o.length;i++){var a=o[i];e.set(a,n);n+=1}e.set(r,n);n+=1;var u=null;function s(t){if(!t)return;var n=false;var i=null;var o=null;while(!n){i=Qt(t)||null;if(i===null)return;if(!e.has(i))return;if(r.popover==="hint"||i.popover==="auto"){n=true}if(!n){t=i.parentElement}}o=e.get(i);if(u===null||e.get(u)<o){u=i}}s(r.parentElement||Kt(r));return u}function Jt(r){if(r.hidden||r instanceof Lt)return false;if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLSelectElement||r instanceof HTMLTextAreaElement||r instanceof HTMLOptGroupElement||r instanceof HTMLOptionElement||r instanceof HTMLFieldSetElement){if(r.disabled)return false}if(r instanceof HTMLInputElement&&r.type==="hidden"){return false}if(r instanceof HTMLAnchorElement&&r.href===""){return false}return typeof r.tabIndex==="number"&&r.tabIndex!==-1}function Ut(r){if(r.shadowRoot&&r.shadowRoot.delegatesFocus!==true){return null}var t=r;if(t.shadowRoot){t=t.shadowRoot}var e=t.querySelector("[autofocus]");if(e){return e}else{var n=t.querySelectorAll("slot");for(var i=0,o=n;i<o.length;i++){var a=o[i];var u=a.assignedElements({flatten:true});for(var s=0,f=u;s<f.length;s++){var c=f[s];if(c.hasAttribute("autofocus")){return c}else{e=c.querySelector("[autofocus]");if(e){return e}}}}}var v=r.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_ELEMENT);var l=v.currentNode;while(l){if(Jt(l)){return l}l=v.nextNode()}}function Xt(r){var t;(t=Ut(r))===null||t===void 0?void 0:t.focus()}var re=new WeakMap;function te(r){if(!qt(r,false)){return}var t=r.ownerDocument;if(!r.dispatchEvent(new Ot("beforetoggle",{cancelable:true,oldState:"closed",newState:"open"}))){return}if(!qt(r,false)){return}var e=false;var n=r.popover;var i=null;var o=Zt(r,Rt.get(t)||new Set);var a=Zt(r,Dt.get(t)||new Set);if(n==="auto"){ie(Dt.get(t)||new Set,e,true);var u=o||t;ae(u,e,true);i="auto"}if(n==="hint"){if(a){ae(a,e,true);i="hint"}else{ie(Dt.get(t)||new Set,e,true);if(o){ae(o,e,true);i="auto"}else{i="hint"}}}if(n==="auto"||n==="hint"){if(n!==r.popover||!qt(r,false)){return}if(!$t(t)){e=true}if(i==="auto"){if(!Rt.has(t)){Rt.set(t,new Set)}Rt.get(t).add(r)}else if(i==="hint"){if(!Dt.has(t)){Dt.set(t,new Set)}Dt.get(t).add(r)}}re.delete(r);var s=t.activeElement;r.classList.add(":popover-open");Ft.set(r,"showing");if(!zt.has(t)){zt.set(t,new Set)}zt.get(t).add(r);ce(Wt.get(r),true);Xt(r);if(e&&s&&r.popover==="auto"){re.set(r,s)}jt(r,"closed","open")}function ee(r,t,e){var n,i;if(t===void 0){t=false}if(e===void 0){e=false}if(!qt(r,true)){return}var o=r.ownerDocument;if(["auto","hint"].includes(r.popover)){ae(r,t,e);if(!qt(r,true)){return}}var a=Rt.get(o)||new Set;var u=a.has(r)&&It(a)===r;ce(Wt.get(r),false);Wt.delete(r);if(e){r.dispatchEvent(new Ot("beforetoggle",{oldState:"open",newState:"closed"}));if(u&&It(a)!==r){ae(r,t,e)}if(!qt(r,true)){return}}(n=zt.get(o))===null||n===void 0?void 0:n.delete(r);a.delete(r);(i=Dt.get(o))===null||i===void 0?void 0:i.delete(r);r.classList.remove(":popover-open");Ft.set(r,"hidden");if(e){jt(r,"open","closed")}var s=re.get(r);if(s){re.delete(r);if(t){s.focus()}}}function ne(r,t,e){if(t===void 0){t=false}if(e===void 0){e=false}var n=$t(r);while(n){ee(n,t,e);n=$t(r)}}function ie(r,t,e){if(t===void 0){t=false}if(e===void 0){e=false}var n=Gt(r);while(n){ee(n,t,e);n=Gt(r)}}function oe(r,t,e,n){var i=false;var o=false;while(i||!o){o=true;var a=null;var u=false;for(var s=0,f=t;s<f.length;s++){var c=f[s];if(c===r){u=true}else if(u){a=c;break}}if(!a)return;while(Bt(a)==="showing"&&t.size){ee(It(t),e,n)}if(t.has(r)&&It(t)!==r){i=true}if(i){n=false}}}function ae(r,t,e){var n,i;var o=r.ownerDocument||r;if(r instanceof Document){return ne(o,t,e)}if((n=Dt.get(o))===null||n===void 0?void 0:n.has(r)){oe(r,Dt.get(o),t,e);return}ie(Dt.get(o)||new Set,t,e);if(!((i=Rt.get(o))===null||i===void 0?void 0:i.has(r))){return}oe(r,Rt.get(o),t,e)}var ue=new WeakMap;function se(r){if(!r.isTrusted)return;var t=r.composedPath()[0];if(!t)return;var e=t.ownerDocument;var n=$t(e);if(!n)return;var i=Vt(t);if(i&&r.type==="pointerdown"){ue.set(e,i)}else if(r.type==="pointerup"){var o=ue.get(e)===i;ue.delete(e);if(o){ae(i||e,false,true)}}}var fe=new WeakMap;function ce(r,t){if(t===void 0){t=false}if(!r)return;if(!fe.has(r)){fe.set(r,r.getAttribute("aria-expanded"))}var e=r.popoverTargetElement;if(e instanceof HTMLElement&&e.popover==="auto"){r.setAttribute("aria-expanded",String(t))}else{var n=fe.get(r);if(!n){r.removeAttribute("aria-expanded")}else{r.setAttribute("aria-expanded",n)}}}var ve=globalThis.ShadowRoot||function(){};function le(){return typeof HTMLElement!=="undefined"&&typeof HTMLElement.prototype==="object"&&"popover"in HTMLElement.prototype}function de(r,t,e){var n=r[t];Object.defineProperty(r,t,{value:function(r){return n.call(this,e(r))}})}var pe=/(^|[^\\]):popover-open\b/g;function he(){return typeof globalThis.CSSLayerBlockRule==="function"}function we(){var r=he();return"\n".concat(r?"@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").concat(r?"}":"","\n")}var ge=null;function be(r){var t=we();if(ge===null){try{ge=new CSSStyleSheet;ge.replaceSync(t)}catch(r){ge=false}}if(ge===false){var e=document.createElement("style");e.textContent=t;if(r instanceof Document){r.head.prepend(e)}else{r.prepend(e)}}else{r.adoptedStyleSheets=__spreadArray([ge],r.adoptedStyleSheets,true)}}function _e(){if(typeof window==="undefined")return;window.ToggleEvent=window.ToggleEvent||Ot;function r(r){if(r===null||r===void 0?void 0:r.includes(":popover-open")){r=r.replace(pe,"$1.\\:popover-open")}return r}de(Document.prototype,"querySelector",r);de(Document.prototype,"querySelectorAll",r);de(Element.prototype,"querySelector",r);de(Element.prototype,"querySelectorAll",r);de(Element.prototype,"matches",r);de(Element.prototype,"closest",r);de(DocumentFragment.prototype,"querySelectorAll",r);Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:true,configurable:true,get:function(){if(!this.hasAttribute("popover"))return null;var r=(this.getAttribute("popover")||"").toLowerCase();if(r===""||r=="auto")return"auto";if(r=="hint")return"hint";return"manual"},set:function(r){if(r===null){this.removeAttribute("popover")}else{this.setAttribute("popover",r)}}},showPopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}te(this)}},hidePopover:{enumerable:true,configurable:true,value:function(){ee(this,true,true)}},togglePopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}if(typeof r==="boolean"){r={force:r}}if(Ft.get(this)==="showing"&&r.force===void 0||r.force===false){ee(this,true,true)}else if(r.force===void 0||r.force===true){te(this)}return Ft.get(this)==="showing"}}});var t=Element.prototype.attachShadow;if(t){Object.defineProperties(Element.prototype,{attachShadow:{enumerable:true,configurable:true,writable:true,value:function(r){var e=t.call(this,r);be(e);return e}}})}var e=HTMLElement.prototype.attachInternals;if(e){Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:true,configurable:true,writable:true,value:function(){var r=e.call(this);if(r.shadowRoot){be(r.shadowRoot)}return r}}})}var n=new WeakMap;function i(r){Object.defineProperties(r.prototype,{popoverTargetElement:{enumerable:true,configurable:true,set:function(r){if(r===null){this.removeAttribute("popovertarget");n.delete(this)}else if(!(r instanceof Element)){throw new TypeError("popoverTargetElement must be an element or null")}else{this.setAttribute("popovertarget","");n.set(this,r)}},get:function(){if(this.localName!=="button"&&this.localName!=="input"){return null}if(this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"){return null}if(this.disabled){return null}if(this.form&&this.type==="submit"){return null}var r=n.get(this);if(r&&r.isConnected){return r}else if(r&&!r.isConnected){n.delete(this);return null}var t=Kt(this);var e=this.getAttribute("popovertarget");if((t instanceof Document||t instanceof ve)&&e){return t.getElementById(e)||null}return null}},popoverTargetAction:{enumerable:true,configurable:true,get:function(){var r=(this.getAttribute("popovertargetaction")||"").toLowerCase();if(r==="show"||r==="hide")return r;return"toggle"},set:function(r){this.setAttribute("popovertargetaction",r)}}})}i(HTMLButtonElement);i(HTMLInputElement);var o=function(r){var t=r.composedPath();var e=t[0];if(!(e instanceof Element)||(e===null||e===void 0?void 0:e.shadowRoot)){return}var n=Kt(e);if(!(n instanceof ve||n instanceof Document)){return}var i=t.find((function(r){var t;return(t=r.matches)===null||t===void 0?void 0:t.call(r,"[popovertargetaction],[popovertarget]")}));if(i){Pt(i);r.preventDefault();return}};var a=function(r){var t=r.key;var e=r.target;if(!r.defaultPrevented&&e&&(t==="Escape"||t==="Esc")){ae(e.ownerDocument,true,true)}};var u=function(r){r.addEventListener("click",o);r.addEventListener("keydown",a);r.addEventListener("pointerdown",se);r.addEventListener("pointerup",se)};u(document);be(document)}var me=function(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host [part=post-popovercontainer-content]{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:var(--post-popovercontainer-available-width);max-height:var(--post-popovercontainer-available-height);color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative;display:-ms-flexbox;display:flex}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host [part=post-popovercontainer-content]{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[data-side=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[data-side=top]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[data-side=left]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[data-side=right]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[data-side=bottom]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto;-webkit-clip-path:var(--post-popovercontainer-safe-space, polygon(0 0, 0 0, 0 0));clip-path:var(--post-popovercontainer-safe-space, polygon(0 0, 0 0, 0 0))}:host(:not(:has(.arrow)))>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{-webkit-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));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))}:host(:has(.arrow[data-side=top]))>div{-webkit-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));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))}:host(:has(.arrow[data-side=left]))>div{-webkit-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));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))}:host(:has(.arrow[data-side=right]))>div{-webkit-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));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))}'};var xe=undefined&&undefined.__decorate||function(r,t,e,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(r,t,e,n);else for(var u=r.length-1;u>=0;u--)if(a=r[u])o=(i<3?a(o):i>3?a(t,e,o):a(t,e))||o;return i>3&&o&&Object.defineProperty(t,e,o),o};var ye="--post-popovercontainer-available-width";var ke="--post-popovercontainer-available-height";var Se="--post-popovercontainer-safe-space";var Me=r("post_popovercontainer",function(){function r(r){t(this,r);this.postBeforeShow=e(this,"postBeforeShow");this.postShow=e(this,"postShow");this.postHide=e(this,"postHide");this.postBeforeToggle=e(this,"postBeforeToggle");this.postToggle=e(this,"postToggle");this.anchorRef=null;this.arrowRef=null;this.hasBeenOpened=false;this.toggleTimeoutId=null;this.runningAnimation=null;this.stopAutoUpdate=null;this.placement="top";this.edgeGap=8;this.arrow=false}r.prototype.connectedCallback=function(){if(!le()){_e()}};r.prototype.componentDidLoad=function(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.disconnectedCallback=function(){this.cleanup();this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.cleanup=function(){var r;(r=this.stopAutoUpdate)===null||r===void 0?void 0:r.call(this);if(this.runningAnimation){this.runningAnimation.cancel();this.runningAnimation=null}};r.prototype.isOpen=function(){var r;return(r=this.host)===null||r===void 0?void 0:r.matches(":where(:popover-open, .popover-open)")};r.prototype.getContent=function(){var r;return(r=this.host)===null||r===void 0?void 0:r.shadowRoot.querySelector('[part="post-popovercontainer-content"]')};r.prototype.getContentMinSize=function(){var r=this.getContent();if(!r)return{};var t=getComputedStyle(r),e=t.minWidth,n=t.minHeight;return{width:Number.parseFloat(e)||0,height:Number.parseFloat(n)||0}};r.prototype.show=function(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.toggleTimeoutId||!r||this.isOpen())return[2];this.anchorRef=r;this.host.showPopover();return[2]}))}))};r.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(this.toggleTimeoutId||!this.isOpen())return[2];this.anchorRef=null;this.host.hidePopover();this.postHide.emit();return[2]}))}))};r.prototype.toggle=function(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n;return __generator(this,(function(i){e=this.isOpen();if(!this.host||this.toggleTimeoutId)return[2,e];n=t===true||t===undefined&&!e;if(e===n||n&&!r)return[2,e];this.anchorRef=n?r:null;this.host.togglePopover(t);this.toggleTimeoutId=null;return[2,this.isOpen()]}))}))};r.prototype.handleToggle=function(r){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:this.toggleTimeoutId=globalThis.setTimeout((function(){return t.toggleTimeoutId=null}),10);if(!(r.newState==="open"))return[3,2];return[4,this.handleOpen()];case 1:e.sent();return[3,4];case 2:return[4,this.handleClose()];case 3:e.sent();e.label=4;case 4:return[2]}}))}))};r.prototype.handleOpen=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:!this.hasBeenOpened});return[4,this.updatePosition(true)];case 1:t.sent();this.startAutoUpdate();t.label=2;case 2:t.trys.push([2,4,,5]);return[4,this.runOpenAnimation()];case 3:t.sent();return[3,5];case 4:r=t.sent();return[2];case 5:this.postToggle.emit({isOpen:true});this.postShow.emit({first:!this.hasBeenOpened});this.hasBeenOpened=true;return[2]}}))}))};r.prototype.runOpenAnimation=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:r=this.getContent();if(!r)return[2];this.runningAnimation=d(r);return[4,this.runningAnimation.finished];case 1:t.sent();return[2]}}))}))};r.prototype.handleClose=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.postBeforeToggle.emit({willOpen:false});this.cleanup();this.host.style.removeProperty(ye);this.host.style.removeProperty(ke);this.host.style.removeProperty(Se);this.postToggle.emit({isOpen:false});this.postHide.emit();return[2]}))}))};r.prototype.startAutoUpdate=function(){var r=this;if(!this.host||!this.anchorRef)return;this.stopAutoUpdate=et(this.anchorRef,this.host,(function(){return r.updatePosition(r.autoResize)}))};r.prototype.updatePosition=function(){return __awaiter(this,arguments,void 0,(function(r){var t,e,n,i,o;var a;if(r===void 0){r=false}return __generator(this,(function(u){switch(u.label){case 0:return[4,this.computePosition(r)];case 1:t=u.sent(),e=t.x,n=t.y,i=t.middlewareData,o=t.placement;if((a=i.hide)===null||a===void 0?void 0:a.referenceHidden){this.host.hidePopover();return[2]}this.side=k(o);this.host.style.left="".concat(e,"px");this.host.style.top="".concat(n,"px");if(i.arrow){this.arrowRef.style.left=i.arrow.x?"".concat(i.arrow.x,"px"):"";this.arrowRef.style.top=i.arrow.y?"".concat(i.arrow.y,"px"):"";this.arrowRef.style[pt(this.side)]="-".concat(this.arrowRef.offsetWidth/2,"px")}if(i[Mt]){this.host.style.setProperty(Se,i[Mt].polygon)}return[2]}}))}))};r.prototype.computePosition=function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i;var o,a,u,s;return __generator(this,(function(f){t=(o=this.edgeGap)!==null&&o!==void 0?o:0;e=[it((a=this.offset)!==null&&a!==void 0?a:this.arrow?t+4:t),ft()];n=gt({padding:t,minSize:this.getContentMinSize()});i=ot({limiter:ct({offset:32}),padding:t});if((u=this.placement)===null||u===void 0?void 0:u.includes("-"))e.push(n,i);else e.push(i,n);if(r){e.push(at({padding:t,apply:function(r){var t=r.availableWidth,e=r.availableHeight,n=r.elements;n.floating.style.setProperty(ye,"".concat(Math.max(0,t),"px"));n.floating.style.setProperty(ke,"".concat(Math.max(0,e),"px"))}}))}if(this.arrow)e.push(st({element:this.arrowRef,padding:t}));if(this.safeSpace)e.push(Tt());if(this.autoHide)e.push(ut({strategy:"referenceHidden"}));return[2,St(this.anchorRef,this.host,{placement:(s=this.placement)!==null&&s!==void 0?s:"top",strategy:"fixed",middleware:e})]}))}))};r.prototype.render=function(){var r=this;return n(i,{key:"d48b21174f74b790f8a72b4294e9f741c3b64d14","data-version":a,popover:"auto"},n("div",{key:"455e84294ecb36e25cc62582eb6c41058f24f6bc",part:"post-popovercontainer-content"},this.arrow&&n("span",{key:"9d11f2596443876123eeaf5a02430d049c1c8b25","data-side":this.side,class:"arrow",ref:function(t){return r.arrowRef=t}}),n("span",{key:"a562460cdfa5539e7d9c23f1d044a2c045df5b9f",part:"post-popovercontainer-border-mask"}),n("slot",{key:"5aa546bbdf6c70e2a0afabf818d421581060f8a7"})))};Object.defineProperty(r.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return r}());xe([u(s)],Me.prototype,"placement",void 0);xe([f("number")],Me.prototype,"edgeGap",void 0);Me.style=me()}}}));
1
+ var __extends=this&&this.__extends||function(){var r=function(t,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))r[e]=t[e]};return r(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,e,n){function i(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,o){function a(r){try{s(n.next(r))}catch(r){o(r)}}function u(r){try{s(n["throw"](r))}catch(r){o(r)}}function s(r){r.done?e(r.value):i(r.value).then(a,u)}s((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=u(0),a["throw"]=u(1),a["return"]=u(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(r){return function(t){return s([r,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=t.call(r,e)}catch(r){u=[6,r];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var e={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0)e[n]=r[n];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++){if(t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i]))e[n[i]]=r[n[i]]}return e};var __spreadArray=this&&this.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return r.concat(o||Array.prototype.slice.call(t))};System.register(["./p-CN_0KCBp.system.js","./p-CgnycKPl.system.js","./p-CiwQnVr3.system.js","./p-BYB4z0RW.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(r){"use strict";var t,e,n,i,o,a,u,s,f;return{setters:[function(r){t=r.r;e=r.c;n=r.h;i=r.H;o=r.g},function(r){a=r.v},function(r){u=r.O},function(r){s=r.P},function(r){f=r.T},null],execute:function(){var c=this;var l=250;var v="ease-out";function d(r){if(!r)return;return r.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:l,easing:v,fill:"forwards"})}var p=["top","right","bottom","left"];var h=Math.min;var w=Math.max;var g=Math.round;var b=Math.floor;var _=function(r){return{x:r,y:r}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function x(r,t,e){return w(r,h(t,e))}function y(r,t){return typeof r==="function"?r(t):r}function k(r){return r.split("-")[0]}function S(r){return r.split("-")[1]}function M(r){return r==="x"?"y":"x"}function T(r){return r==="y"?"height":"width"}function A(r){var t=r[0];return t==="t"||t==="b"?"y":"x"}function E(r){return M(A(r))}function O(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var H=["left","right"];var j=["right","left"];var L=["top","bottom"];var C=["bottom","top"];function z(r,t,e){switch(r){case"top":case"bottom":if(e)return t?j:H;return t?H:j;case"left":case"right":return t?L:C;default:return[]}}function R(r,t,e,n){var i=S(r);var o=z(k(r),e==="start",n);if(i){o=o.map((function(r){return r+"-"+i}));{o=o.concat(o.map(O))}}return o}function D(r){var t=k(r);return m[t]+r.slice(t.length)}function F(r){var t,e,n,i;return{top:(t=r.top)!=null?t:0,right:(e=r.right)!=null?e:0,bottom:(n=r.bottom)!=null?n:0,left:(i=r.left)!=null?i:0}}function W(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function B(r){var t=r.x,e=r.y,n=r.width,i=r.height;return{width:n,height:i,top:e,left:t,right:t+n,bottom:e+i,x:t,y:e}}function I(r,t,e){var n=r.reference,i=r.floating;var o=A(t);var a=E(t);var u=T(a);var s=k(t);var f=o==="y";var c=n.x+n.width/2-i.width/2;var l=n.y+n.height/2-i.height/2;var v=n[u]/2-i[u]/2;var d;switch(s){case"top":d={x:c,y:n.y-i.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:l};break;case"left":d={x:n.x-i.width,y:l};break;default:d={x:n.x,y:n.y}}var p=S(t);if(p){d[a]+=v*(p==="end"?1:-1)*(e&&f?-1:1)}return d}function P(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,h,w,g,b,_,m,x,k,S,M,T,A,E,O,H,j,L,C,z,R,D;var F;return __generator(this,(function(I){switch(I.label){case 0:if(t===void 0){t={}}n=r.x,i=r.y,o=r.platform,a=r.rects,u=r.elements,s=r.strategy;f=y(t,r),c=f.boundary,l=c===void 0?"clippingAncestors":c,v=f.rootBoundary,d=v===void 0?"viewport":v,p=f.elementContext,h=p===void 0?"floating":p,w=f.altBoundary,g=w===void 0?false:w,b=f.padding,_=b===void 0?0:b;m=W(_);x=h==="floating"?"reference":"floating";k=u[g?x:h];M=B;A=(T=o).getClippingRect;F={};return[4,o.isElement==null?void 0:o.isElement(k)];case 1:if(!((e=I.sent())!=null?e:true))return[3,2];E=k;return[3,5];case 2:O=k.contextElement;if(O)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(u.floating)];case 3:O=I.sent();I.label=4;case 4:E=O;I.label=5;case 5:return[4,A.apply(T,[(F.element=E,F.boundary=l,F.rootBoundary=d,F.strategy=s,F)])];case 6:S=M.apply(void 0,[I.sent()]);H=h==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(u.floating)];case 7:j=I.sent();return[4,o.isElement==null?void 0:o.isElement(j)];case 8:C=I.sent();if(!C)return[3,10];return[4,o.getScale==null?void 0:o.getScale(j)];case 9:C=I.sent();I.label=10;case 10:L=C||{x:1,y:1};R=B;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,12];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:H,offsetParent:j,strategy:s})];case 11:D=I.sent();return[3,13];case 12:D=H;I.label=13;case 13:z=R.apply(void 0,[D]);return[2,{top:(S.top-z.top+m.top)/L.y,bottom:(z.bottom-S.bottom+m.bottom)/L.y,left:(S.left-z.left+m.left)/L.x,right:(z.right-S.right+m.right)/L.x}]}}))}))}var q=50;var N=function(r,t,e){return __awaiter(c,void 0,void 0,(function(){var n,i,o,a,u,s,f,c,l,v,d,p,h,w,g,b,_,m,x,y,k,S,M,T,A,E;var O;return __generator(this,(function(H){switch(H.label){case 0:n=e.placement,i=n===void 0?"bottom":n,o=e.strategy,a=o===void 0?"absolute":o,u=e.middleware,s=u===void 0?[]:u,f=e.platform;c=f.detectOverflow?f:__assign(__assign({},f),{detectOverflow:P});return[4,f.isRTL==null?void 0:f.isRTL(t)];case 1:l=H.sent();return[4,f.getElementRects({reference:r,floating:t,strategy:a})];case 2:v=H.sent();d=I(v,i,l),p=d.x,h=d.y;w=i;g=0;b={};_=0;H.label=3;case 3:if(!(_<s.length))return[3,11];m=s[_];if(!m){return[3,10]}x=m.name,y=m.fn;return[4,y({x:p,y:h,initialPlacement:i,placement:w,strategy:a,middlewareData:b,rects:v,platform:c,elements:{reference:r,floating:t}})];case 4:k=H.sent(),S=k.x,M=k.y,T=k.data,A=k.reset;p=S!=null?S:p;h=M!=null?M:h;b[x]=__assign(__assign({},b[x]),T);if(!(A&&g<q))return[3,10];g++;if(!(typeof A==="object"))return[3,9];if(A.placement){w=A.placement}if(!A.rects)return[3,8];if(!(A.rects===true))return[3,6];return[4,f.getElementRects({reference:r,floating:t,strategy:a})];case 5:E=H.sent();return[3,7];case 6:E=A.rects;H.label=7;case 7:v=E;H.label=8;case 8:O=I(v,w,l),p=O.x,h=O.y;H.label=9;case 9:_=-1;H.label=10;case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:w,strategy:a,middlewareData:b}]}}))}))};var V=function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,w,g,b,_,m,k,M,A,O,H,j,L,C,z,R,D,F,B,I,P,q;var N,V;return __generator(this,(function($){switch($.label){case 0:e=t.x,n=t.y,i=t.placement,o=t.rects,a=t.platform,u=t.elements,s=t.middlewareData;f=y(r,t)||{},c=f.element,l=f.padding,v=l===void 0?0:l;if(c==null){return[2,{}]}d=W(v);p={x:e,y:n};w=E(i);g=T(w);return[4,a.getDimensions(c)];case 1:b=$.sent();_=w==="y";m=_?"top":"left";k=_?"bottom":"right";M=_?"clientHeight":"clientWidth";A=o.reference[g]+o.reference[w]-p[w]-o.floating[g];O=p[w]-o.reference[w];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:H=$.sent();j=H?H[M]:0;L=!j;if(L)return[3,4];return[4,a.isElement==null?void 0:a.isElement(H)];case 3:L=!$.sent();$.label=4;case 4:if(L){j=u.floating[M]||o.floating[g]}C=A/2-O/2;z=j/2-b[g]/2-1;R=h(d[m],z);D=h(d[k],z);F=j-b[g]-D;B=j/2-b[g]/2+C;I=x(R,B,F);P=!s.arrow&&S(i)!=null&&B!==I&&o.reference[g]/2-(B<R?R:D)-b[g]/2<0;q=P?B<R?B-R:B-F:0;return[2,(N={},N[w]=p[w]+q,N.data=__assign((V={},V[w]=I,V.centerOffset=B-I-q,V),P&&{alignmentOffset:q}),N.reset=P,N)]}}))}))}}};function $(r,t){return{top:r.top-t.height,right:r.right-t.width,bottom:r.bottom-t.height,left:r.left-t.width}}function G(r){return p.some((function(t){return r[t]>=0}))}var K=function(r){if(r===void 0){r={}}return{name:"hide",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,f,c;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects,n=t.platform;i=y(r,t),o=i.strategy,a=o===void 0?"referenceHidden":o,u=__rest(i,["strategy"]);s=a;switch(s){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,n.detectOverflow(t,__assign(__assign({},u),{elementContext:"reference"}))];case 2:f=l.sent();c=$(f,e.reference);return[2,{data:{referenceHiddenOffsets:c,referenceHidden:G(c)}}];case 3:return[4,n.detectOverflow(t,__assign(__assign({},u),{altBoundary:true}))];case 4:f=l.sent();c=$(f,e.floating);return[2,{data:{escapedOffsets:c,escaped:G(c)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function Q(r){var t=h.apply(void 0,r.map((function(r){return r.left})));var e=h.apply(void 0,r.map((function(r){return r.top})));var n=w.apply(void 0,r.map((function(r){return r.right})));var i=w.apply(void 0,r.map((function(r){return r.bottom})));return{x:t,y:e,width:n-t,height:i-e}}function Y(r){var t=r.slice().sort((function(r,t){return r.y-t.y}));var e=[];var n=null;for(var i=0;i<t.length;i++){var o=t[i];if(!n||o.y-n.y>n.height/2){e.push([o])}else{e[e.length-1].push(o)}n=o}return e.map((function(r){return B(Q(r))}))}var Z=function(r){if(r===void 0){r={}}return{name:"inline",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){function e(){if(b.length===2&&(b[0].left>b[1].right||b[1].left>b[0].right)&&l!=null&&v!=null){return b.find((function(r){return l>r.left-m.left&&l<r.right+m.right&&v>r.top-m.top&&v<r.bottom+m.bottom}))||_}if(b.length>=2){if(A(n)==="y"){var r=b[0];var t=b[b.length-1];var e=k(n)==="top";var i=r.top;var o=t.bottom;var a=e?r.left:t.left;var u=e?r.right:t.right;return B({x:a,y:i,width:u-a,height:o-i})}var s=k(n)==="left";var f=w.apply(void 0,b.map((function(r){return r.right})));var c=h.apply(void 0,b.map((function(r){return r.left})));var d=b.filter((function(r){return s?r.left===c:r.right===f}));var p=d[0].top;var g=d[d.length-1].bottom;return B({x:c,y:p,width:f-c,height:g-p})}return _}var n,i,o,a,u,s,f,c,l,v,d,p,g,b,_,m,x;return __generator(this,(function(h){switch(h.label){case 0:n=t.placement,i=t.elements,o=t.rects,a=t.platform,u=t.strategy;s=y(r,t),f=s.padding,c=f===void 0?2:f,l=s.x,v=s.y;g=(p=Array).from;return[4,a.getClientRects==null?void 0:a.getClientRects(i.reference)];case 1:d=g.apply(p,[h.sent()||[]]);if(!d.length){return[2,{}]}b=Y(d);_=B(Q(d));m=W(c);return[4,a.getElementRects({reference:{getBoundingClientRect:e},floating:i.floating,strategy:u})];case 2:x=h.sent();if(o.reference.x!==x.reference.x||o.reference.y!==x.reference.y||o.reference.width!==x.reference.width||o.reference.height!==x.reference.height){return[2,{reset:{rects:x}}]}return[2,{}]}}))}))}}};var J=new Set(["left","top"]);function U(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,h;return __generator(this,(function(w){switch(w.label){case 0:e=r.placement,n=r.platform,i=r.elements;return[4,n.isRTL==null?void 0:n.isRTL(i.floating)];case 1:o=w.sent();a=k(e);u=S(e);s=A(e)==="y";f=J.has(a)?-1:1;c=o&&s?-1:1;l=y(t,r);v=typeof l==="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis},d=v.mainAxis,p=v.crossAxis,h=v.alignmentAxis;if(u&&typeof h==="number"){p=u==="end"?h*-1:h}return[2,s?{x:p*c,y:d*f}:{x:d*f,y:p*c}]}}))}))}var X=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s;return __generator(this,(function(f){switch(f.label){case 0:i=t.x,o=t.y,a=t.placement,u=t.middlewareData;return[4,U(t,r)];case 1:s=f.sent();if(a===((e=u.offset)==null?void 0:e.placement)&&(n=u.arrow)!=null&&n.alignmentOffset){return[2,{}]}return[2,{x:i+s.x,y:o+s.y,data:__assign(__assign({},s),{placement:a})}]}}))}))}}};var rr=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,h,w,g,b,_,m,k;var S,T;return __generator(this,(function(E){switch(E.label){case 0:e=t.x,n=t.y,i=t.placement,o=t.platform;a=y(r,t),u=a.mainAxis,s=u===void 0?true:u,f=a.crossAxis,c=f===void 0?false:f,l=a.limiter,v=l===void 0?{fn:function(r){var t=r.x,e=r.y;return{x:t,y:e}}}:l,d=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:e,y:n};return[4,o.detectOverflow(t,d)];case 1:h=E.sent();w=A(i);g=M(w);b=p[g];_=p[w];m=function(r,t){return x(t+h[r==="y"?"top":"left"],t,t-h[r==="y"?"bottom":"right"])};if(s){b=m(g,b)}if(c){_=m(w,_)}k=v.fn(__assign(__assign({},t),(S={},S[g]=b,S[w]=_,S)));return[2,__assign(__assign({},k),{data:{x:k.x-e,y:k.y-n,enabled:(T={},T[g]=s,T[w]=c,T)}})]}}))}))}}};var tr=function(r){if(r===void 0){r={}}return{options:r,fn:function(t){var e;var n,i;var o=t.x,a=t.y,u=t.placement,s=t.rects,f=t.middlewareData;var c=y(r,t),l=c.offset,v=l===void 0?0:l,d=c.mainAxis,p=d===void 0?true:d,h=c.crossAxis,w=h===void 0?true:h;var g={x:o,y:a};var b=A(u);var _=M(b);var m=g[_];var x=g[b];var S=y(v,t);var T=typeof S==="number"?{mainAxis:S,crossAxis:0}:{mainAxis:(n=S.mainAxis)!=null?n:0,crossAxis:(i=S.crossAxis)!=null?i:0};if(p){var E=_==="y"?"height":"width";var O=s.reference[_]-s.floating[E]+T.mainAxis;var H=s.reference[_]+s.reference[E]-T.mainAxis;if(m<O){m=O}else if(m>H){m=H}}if(w){var j,L;var E=_==="y"?"width":"height";var C=J.has(k(u));var O=s.reference[b]-s.floating[E]+(C?((j=f.offset)==null?void 0:j[b])||0:0)+(C?0:T.crossAxis);var H=s.reference[b]+s.reference[E]+(C?0:((L=f.offset)==null?void 0:L[b])||0)-(C?T.crossAxis:0);if(x<O){x=O}else if(x>H){x=H}}return e={},e[_]=m,e[b]=x,e}}};var er=function(r){if(r===void 0){r={}}return{name:"size",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,g,b,_,m,x,M,T,E,O,H,j,L,C,z;return __generator(this,(function(R){switch(R.label){case 0:e=t.placement,n=t.rects,i=t.platform,o=t.elements;a=y(r,t),u=a.apply,s=u===void 0?function(){}:u,f=__rest(a,["apply"]);return[4,i.detectOverflow(t,f)];case 1:c=R.sent();l=k(e);v=S(e);d=A(e)==="y";p=n.floating,g=p.width,b=p.height;if(!(l==="top"||l==="bottom"))return[3,3];_=l;x=v;return[4,i.isRTL==null?void 0:i.isRTL(o.floating)];case 2:m=x===(R.sent()?"start":"end")?"left":"right";return[3,4];case 3:m=l;_=v==="end"?"top":"bottom";R.label=4;case 4:M=b-c.top-c.bottom;T=g-c.left-c.right;E=h(b-c[_],M);O=h(g-c[m],T);H=t.middlewareData.shift;j=!H;L=E;C=O;if(H!=null&&H.enabled.x){C=T}if(H!=null&&H.enabled.y){L=M}if(j&&!v){if(d){C=g-2*w(c.left,c.right)}else{L=b-2*w(c.top,c.bottom)}}return[4,s(__assign(__assign({},t),{availableWidth:C,availableHeight:L}))];case 5:R.sent();return[4,i.getDimensions(o.floating)];case 6:z=R.sent();if(g!==z.width||b!==z.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function nr(){return typeof window!=="undefined"}function ir(r){if(ur(r)){return(r.nodeName||"").toLowerCase()}return"#document"}function or(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function ar(r){var t;return(t=(ur(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function ur(r){if(!nr()){return false}return r instanceof Node||r instanceof or(r).Node}function sr(r){if(!nr()){return false}return r instanceof Element||r instanceof or(r).Element}function fr(r){if(!nr()){return false}return r instanceof HTMLElement||r instanceof or(r).HTMLElement}function cr(r){if(!nr()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof or(r).ShadowRoot}function lr(r){var t=yr(r),e=t.overflow,n=t.overflowX,i=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function vr(r){return/^(table|td|th)$/.test(ir(r))}function dr(r){try{if(r.matches(":popover-open")){return true}}catch(r){}try{return r.matches(":modal")}catch(r){return false}}var pr=/transform|translate|scale|rotate|perspective|filter/;var hr=/paint|layout|strict|content/;var wr=function(r){return!!r&&r!=="none"};var gr;function br(r){var t=sr(r)?yr(r):r;return wr(t.transform)||wr(t.translate)||wr(t.scale)||wr(t.rotate)||wr(t.perspective)||!mr()&&(wr(t.backdropFilter)||wr(t.filter))||pr.test(t.willChange||"")||hr.test(t.contain||"")}function _r(r){var t=Sr(r);while(fr(t)&&!xr(t)){if(br(t)){return t}else if(dr(t)){return null}t=Sr(t)}return null}function mr(){if(gr==null){gr=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return gr}function xr(r){return/^(html|body|#document)$/.test(ir(r))}function yr(r){return or(r).getComputedStyle(r)}function kr(r){if(sr(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Sr(r){if(ir(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||cr(r)&&r.host||ar(r);return cr(t)?t.host:t}function Mr(r){var t=Sr(r);if(xr(t)){return(r.ownerDocument||r).body}if(fr(t)&&lr(t)){return t}return Mr(t)}function Tr(r,t,e){var n;if(t===void 0){t=[]}if(e===void 0){e=true}var i=Mr(r);var o=i===((n=r.ownerDocument)==null?void 0:n.body);var a=or(i);if(o){var u=Ar(a);return t.concat(a,a.visualViewport||[],lr(i)?i:[],u&&e?Tr(u):[])}else{return t.concat(i,Tr(i,[],e))}}function Ar(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function Er(r){var t=yr(r);var e=parseFloat(t.width)||0;var n=parseFloat(t.height)||0;var i=fr(r);var o=i?r.offsetWidth:e;var a=i?r.offsetHeight:n;var u=g(e)!==o||g(n)!==a;if(u){e=o;n=a}return{width:e,height:n,$:u}}function Or(r){return!sr(r)?r.contextElement:r}function Hr(r){var t=Or(r);if(!fr(t)){return _(1)}var e=t.getBoundingClientRect();var n=Er(t),i=n.width,o=n.height,a=n.$;var u=(a?g(e.width):e.width)/i;var s=(a?g(e.height):e.height)/o;if(!u||!Number.isFinite(u)){u=1}if(!s||!Number.isFinite(s)){s=1}return{x:u,y:s}}var jr=_(0);function Lr(r){var t=or(r);if(!mr()||!t.visualViewport){return jr}return{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cr(r,t,e){if(t===void 0){t=false}return!!e&&t&&e===or(r)}function zr(r,t,e,n){if(t===void 0){t=false}if(e===void 0){e=false}var i=r.getBoundingClientRect();var o=Or(r);var a=_(1);if(t){if(n){if(sr(n)){a=Hr(n)}}else{a=Hr(r)}}var u=Cr(o,e,n)?Lr(o):_(0);var s=(i.left+u.x)/a.x;var f=(i.top+u.y)/a.y;var c=i.width/a.x;var l=i.height/a.y;if(o&&n){var v=or(o);var d=sr(n)?or(n):n;var p=v;var h=Ar(p);while(h&&d!==p){var w=Hr(h);var g=h.getBoundingClientRect();var b=yr(h);var m=g.left+(h.clientLeft+parseFloat(b.paddingLeft))*w.x;var x=g.top+(h.clientTop+parseFloat(b.paddingTop))*w.y;s*=w.x;f*=w.y;c*=w.x;l*=w.y;s+=m;f+=x;p=or(h);h=Ar(p)}}return B({width:c,height:l,x:s,y:f})}function Rr(r,t){var e=kr(r).scrollLeft;if(!t){return zr(ar(r)).left+e}return t.left+e}function Dr(r,t){var e=r.getBoundingClientRect();var n=e.left+t.scrollLeft-Rr(r,e);var i=e.top+t.scrollTop;return{x:n,y:i}}function Fr(r){var t=r.elements,e=r.rect,n=r.offsetParent,i=r.strategy;var o=i==="fixed";var a=ar(n);var u=t?dr(t.floating):false;if(n===a||u&&o){return e}var s={scrollLeft:0,scrollTop:0};var f=_(1);var c=_(0);var l=fr(n);if(l||!o){if(ir(n)!=="body"||lr(a)){s=kr(n)}if(l){var v=zr(n);f=Hr(n);c.x=v.x+n.clientLeft;c.y=v.y+n.clientTop}}var d=a&&!l&&!o?Dr(a,s):_(0);return{width:e.width*f.x,height:e.height*f.y,x:e.x*f.x-s.scrollLeft*f.x+c.x+d.x,y:e.y*f.y-s.scrollTop*f.y+c.y+d.y}}function Wr(r){return r.getClientRects?Array.from(r.getClientRects()):[]}function Br(r){var t=kr(r);var e=r.ownerDocument.body;var n=w(r.scrollWidth,r.clientWidth,e.scrollWidth,e.clientWidth);var i=w(r.scrollHeight,r.clientHeight,e.scrollHeight,e.clientHeight);var o=-t.scrollLeft+Rr(r);var a=-t.scrollTop;if(yr(e).direction==="rtl"){o+=w(r.clientWidth,e.clientWidth)-n}return{width:n,height:i,x:o,y:a}}var Ir=25;function Pr(r,t,e){if(e===void 0){e="viewport"}var n=e==="layoutViewport";var i=or(r);var o=ar(r);var a=i.visualViewport;var u=o.clientWidth;var s=o.clientHeight;var f=0;var c=0;if(a){var l=!mr()||t==="fixed";if(n){if(!l){f=-a.offsetLeft;c=-a.offsetTop}}else{u=a.width;s=a.height;if(l){f=a.offsetLeft;c=a.offsetTop}}}var v=Rr(o);if(v<=0){var d=o.ownerDocument;var p=d.body;var h=getComputedStyle(p);var w=d.compatMode==="CSS1Compat"?parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0:0;var g=Math.abs(o.clientWidth-p.clientWidth-w);var b=getComputedStyle(o).scrollbarGutter==="stable both-edges"?g/2:g;if(b<=Ir){u-=b}}return{width:u,height:s,x:f,y:c}}function qr(r,t){var e=zr(r,true,t==="fixed");var n=e.top+r.clientTop;var i=e.left+r.clientLeft;var o=Hr(r);var a=r.clientWidth*o.x;var u=r.clientHeight*o.y;var s=i*o.x;var f=n*o.y;return{width:a,height:u,x:s,y:f}}function Nr(r,t,e){var n;if(t==="viewport"||t==="layoutViewport"){n=Pr(r,e,t)}else if(t==="document"){n=Br(ar(r))}else if(sr(t)){n=qr(t,e)}else{var i=Lr(r);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return B(n)}function Vr(r,t){var e=t.get(r);if(e){return e}var n=Tr(r,[],false).filter((function(r){return sr(r)&&ir(r)!=="body"}));var i=null;var o=yr(r).position==="fixed";var a=o?Sr(r):r;while(sr(a)&&!xr(a)){var u=yr(a);var s=br(a);var f=i?i.position:o?"fixed":"";var c=!s&&(f==="fixed"||f==="absolute"&&u.position==="static");if(c){n=n.filter((function(r){return r!==a}))}else{i=u}a=Sr(a)}t.set(r,n);return n}function $r(r){var t=r.element,e=r.boundary,n=r.rootBoundary,i=r.strategy;var o=e==="clippingAncestors"?dr(t)?[]:Vr(t,this._c):[].concat(e);var a=__spreadArray(__spreadArray([],o,true),[n],false);var u=Nr(t,a[0],i);var s=u.top;var f=u.right;var c=u.bottom;var l=u.left;for(var v=1;v<a.length;v++){var d=Nr(t,a[v],i);s=w(d.top,s);f=h(d.right,f);c=h(d.bottom,c);l=w(d.left,l)}return{width:f-l,height:c-s,x:l,y:s}}function Gr(r){var t=Er(r),e=t.width,n=t.height;return{width:e,height:n}}function Kr(r,t,e){var n=fr(t);var i=ar(t);var o=e==="fixed";var a=zr(r,true,o,t);var u={scrollLeft:0,scrollTop:0};var s=_(0);if(n||!o){if(ir(t)!=="body"||lr(i)){u=kr(t)}if(n){var f=zr(t,true,o,t);s.x=f.x+t.clientLeft;s.y=f.y+t.clientTop}}if(!n&&i){s.x=Rr(i)}var c=i&&!n&&!o?Dr(i,u):_(0);var l=a.left+u.scrollLeft-s.x-c.x;var v=a.top+u.scrollTop-s.y-c.y;return{x:l,y:v,width:a.width,height:a.height}}function Qr(r){return yr(r).position==="static"}function Yr(r,t){if(!fr(r)||yr(r).position==="fixed"){return null}if(t){return t(r)}var e=r.offsetParent;if(ar(r)===e){e=e.ownerDocument.body}return e}function Zr(r,t){var e=or(r);if(dr(r)){return e}if(!fr(r)){var n=Sr(r);while(n&&!xr(n)){if(sr(n)&&!Qr(n)){return n}n=Sr(n)}return e}var i=Yr(r,t);while(i&&vr(i)&&Qr(i)){i=Yr(i,t)}if(i&&xr(i)&&Qr(i)&&!br(i)){return e}return i||_r(r)||e}var Jr=function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i,o;var a;return __generator(this,(function(u){switch(u.label){case 0:t=this.getOffsetParent||Zr;e=this.getDimensions;return[4,e(r.floating)];case 1:n=u.sent();a={};i=Kr;o=[r.reference];return[4,t(r.floating)];case 2:return[2,(a.reference=i.apply(void 0,o.concat([u.sent(),r.strategy])),a.floating={x:0,y:0,width:n.width,height:n.height},a)]}}))}))};function Ur(r){return yr(r).direction==="rtl"}var Xr={convertOffsetParentRelativeRectToViewportRelativeRect:Fr,getDocumentElement:ar,getClippingRect:$r,getOffsetParent:Zr,getElementRects:Jr,getClientRects:Wr,getDimensions:Gr,getScale:Hr,isElement:sr,isRTL:Ur};function rt(r,t){return r.x===t.x&&r.y===t.y&&r.width===t.width&&r.height===t.height}function tt(r,t,e){var n=null;var i;var o=ar(r);function a(){var r;clearTimeout(i);(r=n)==null||r.disconnect();n=null}function u(e,s){if(e===void 0){e=false}if(s===void 0){s=1}a();var f=r.getBoundingClientRect();var c=f.left,l=f.top,v=f.width,d=f.height;if(!e){t()}if(!v||!d){return}var p=b(l);var g=b(o.clientWidth-(c+v));var _=b(o.clientHeight-(l+d));var m=b(c);var x=-p+"px "+-g+"px "+-_+"px "+-m+"px";var y={rootMargin:x,threshold:w(0,h(1,s))||1};var k=true;function S(t){var e=t[0].intersectionRatio;if(!rt(f,r.getBoundingClientRect())){return u()}if(e!==s){if(!k){return u()}if(!e){i=setTimeout((function(){u(false,1e-7)}),1e3)}else{u(false,e)}}k=false}try{n=new IntersectionObserver(S,__assign(__assign({},y),{root:o.ownerDocument}))}catch(r){n=new IntersectionObserver(S,y)}n.observe(r)}var s=or(r);var f=function(){return u(e)};s.addEventListener("resize",f);u(true);return function(){s.removeEventListener("resize",f);a()}}function et(r,t,e,n){if(n===void 0){n={}}var i=n.ancestorScroll,o=i===void 0?true:i,a=n.ancestorResize,u=a===void 0?true:a,s=n.elementResize,f=s===void 0?typeof ResizeObserver==="function":s,c=n.layoutShift,l=c===void 0?typeof IntersectionObserver==="function":c,v=n.animationFrame,d=v===void 0?false:v;var p=Or(r);var h=o||u?__spreadArray(__spreadArray([],p?Tr(p):[],true),t?Tr(t):[],true):[];h.forEach((function(r){o&&r.addEventListener("scroll",e);u&&r.addEventListener("resize",e)}));var w=p&&l?tt(p,e,u):null;var g=-1;var b=null;if(f){b=new ResizeObserver((function(r){var n=r[0];if(n&&n.target===p&&b&&t){b.unobserve(t);cancelAnimationFrame(g);g=requestAnimationFrame((function(){var r;(r=b)==null||r.observe(t)}))}e()}));if(p&&!d){b.observe(p)}if(t){b.observe(t)}}var _;var m=d?zr(r):null;if(d){x()}function x(){var t=zr(r);if(m&&!rt(m,t)){e()}m=t;_=requestAnimationFrame(x)}e();return function(){var r;h.forEach((function(r){o&&r.removeEventListener("scroll",e);u&&r.removeEventListener("resize",e)}));w==null||w();(r=b)==null||r.disconnect();b=null;if(d){cancelAnimationFrame(_)}}}var nt=P;var it=X;var ot=rr;var at=er;var ut=K;var st=V;var ft=Z;var ct=tr;var lt=function(r,t,e){var n=new Map;var i=e!=null?e:{};var o=__assign(__assign(__assign({},Xr),i.platform),{_c:n});return N(r,t,__assign(__assign({},i),{platform:o}))};function vt(r,t){return p[(p.indexOf(r)+t)%4]}var dt=function(r){return vt(r,1)};var pt=function(r){return vt(r,2)};var ht=function(r){return vt(r,3)};var wt="post-flip";function gt(r){if(r===void 0){r={}}return{name:wt,options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c,l,v,d,p,h,w,g,b;var _,m,x,S,M;return __generator(this,(function(T){switch(T.label){case 0:e=t.middlewareData,n=t.placement;if((_=e.arrow)===null||_===void 0?void 0:_.alignmentOffset)return[2,{}];i=y(r,t),o=i.minSize,a=o===void 0?{}:o,u=__rest(i,["minSize"]);s=Math.abs((x=(m=e.offset)===null||m===void 0?void 0:m[A(n)])!==null&&x!==void 0?x:0);f=k(n);return[4,nt(t,__assign(__assign({},u),{elementContext:"reference"}))];case 1:c=T.sent();return[4,nt(t,__assign(__assign({},u),{elementContext:"floating"}))];case 2:l=T.sent();if(Math.max(c[f],l[f])<=0)return[2,{}];v=e[wt];d={overflow:c,minSize:a,gap:s};p=(S=v===null||v===void 0?void 0:v.deficits)!==null&&S!==void 0?S:[];if(!((M=v===null||v===void 0?void 0:v.placements)!==null&&M!==void 0))return[3,3];w=M;return[3,5];case 3:return[4,bt(t,d)];case 4:w=T.sent();T.label=5;case 5:h=w;if(p.length<h.length){p=__spreadArray(__spreadArray([],p,true),[_t(f,d)],false)}g={placements:h,deficits:p};if(p.length<h.length){return[2,{data:g,reset:{placement:h[p.length]}}]}b=g.placements[g.deficits.indexOf(Math.min.apply(Math,g.deficits))];return[2,b===n?{data:g}:{data:g,reset:{placement:b}}]}}))}))}}}function bt(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n,i,o,a,u,s,f,c;var l,v;return __generator(this,(function(d){switch(d.label){case 0:e=r.placement,n=r.platform,i=r.elements;o=t.overflow;a=k(e);u=[e,D(e)];s=Math.min(_t(a,t),_t(pt(a),t));if(s<=0)return[2,u];return[4,(l=n.isRTL)===null||l===void 0?void 0:l.call(n,i.floating)];case 1:f=(v=d.sent())!==null&&v!==void 0?v:false;c=R(e,true,"start",f);c.sort((function(r,t){return o[k(r)]-o[k(t)]}));return[2,__spreadArray(__spreadArray([],u,true),c,true)]}}))}))}function _t(r,t){var e;var n=t.minSize,i=t.overflow,o=t.gap;var a=(e=n[T(A(r))])!==null&&e!==void 0?e:0;return o+a+i[r]}var mt=Symbol("Clipping Rect Cache");var xt=__assign(__assign({},Xr),{getClippingRect:yt});function yt(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return __awaiter(this,void 0,void 0,(function(){var t,e,n;return __generator(this,(function(i){switch(i.label){case 0:t=r[0].element;e=this[mt].get(t);if(e)return[2,e];return[4,Xr.getClippingRect.apply(this,r)];case 1:n=i.sent();kt(n,t);this[mt].set(t,n);return[2,n]}}))}))}function kt(r,t){var e=t.ownerDocument.querySelector("post-header");if(e===null)return;var n=t;while(!xr(n)){n=Sr(n);if(!fr(n))continue;if(dr(n)||n===e)return}var i=e.getBoundingClientRect();var o=Math.max(r.y,i.bottom);r.height-=o-r.y;r.y=o}var St=function(r,t,e){var n;e!==null&&e!==void 0?e:e={};return lt(r,t,__assign(__assign({},e),{platform:__assign(__assign(__assign({},xt),e.platform),(n={},n[mt]=new Map,n))}))};var Mt="post-safe-space";function Tt(){return{name:Mt,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i,o,a,u,s,f,c,l;return __generator(this,(function(v){switch(v.label){case 0:t=r.placement,e=r.rects,n=r.x,i=r.y;o=k(t);return[4,At(r,e.reference)];case 1:a=v.sent();return[4,At(r,__assign(__assign({},e.floating),{x:n,y:i}))];case 2:u=v.sent();s=__spreadArray(__spreadArray([],Et(u,pt(o)),true),Et(a,o),true);f=[];for(c=0;c<s.length;c+=2){f.push("".concat(s[c],"px ").concat(s[c+1],"px"))}l={polygon:"polygon(".concat(f.join(", "),")")};return[2,{data:l}]}}))}))}}}function At(r,t){return __awaiter(this,arguments,void 0,(function(r,t){var e,n,i,o,a;var u;var s,f;var c=r.elements,l=r.platform,v=r.strategy;return __generator(this,(function(r){switch(r.label){case 0:if(!((s=l.convertOffsetParentRelativeRectToViewportRelativeRect)===null||s===void 0))return[3,1];n=void 0;return[3,3];case 1:o=(i=s).call;a=[l];u={};return[4,(f=l.getOffsetParent)===null||f===void 0?void 0:f.call(l,c.floating)];case 2:n=o.apply(i,a.concat([(u.offsetParent=r.sent(),u.rect=t,u.elements=c,u.strategy=v,u)]));r.label=3;case 3:return[4,n];case 4:e=r.sent();return[2,B(e!==null&&e!==void 0?e:t)]}}))}))}function Et(r,t){var e=r[t];var n=r[ht(t)];var i=r[dt(t)];return A(t)==="x"?[e,n,e,i]:[n,e,i,e]}var Ot=function(r){__extends(t,r);function t(t,e){if(e===void 0){e={}}var n=this;var i=e.oldState,o=i===void 0?"":i,a=e.newState,u=a===void 0?"":a,s=__rest(e,["oldState","newState"]);n=r.call(this,t,s)||this;n.oldState=String(o||"");n.newState=String(u||"");return n}return t}(Event);var Ht=new WeakMap;function jt(r,t,e){Ht.set(r,setTimeout((function(){if(!Ht.has(r))return;r.dispatchEvent(new Ot("toggle",{cancelable:false,oldState:t,newState:e}))}),0))}var Lt=globalThis.ShadowRoot||function(){};var Ct=globalThis.HTMLDialogElement||function(){};var zt=new WeakMap;var Rt=new WeakMap;var Dt=new WeakMap;var Ft=new WeakMap;function Wt(r){return Ft.get(r)||"hidden"}var Bt=new WeakMap;function It(r){return __spreadArray([],r,true).pop()}function Pt(r){var t=r.popoverTargetElement;if(!(t instanceof HTMLElement)){return}var e=Wt(t);if(r.popoverTargetAction==="show"&&e==="showing"){return}if(r.popoverTargetAction==="hide"&&e==="hidden")return;if(e==="showing"){ee(t,true,true)}else if(qt(t,false)){Bt.set(t,r);te(t)}}function qt(r,t){if(r.popover!=="auto"&&r.popover!=="manual"&&r.popover!=="hint"){return false}if(!r.isConnected)return false;if(t&&Wt(r)!=="showing"){return false}if(!t&&Wt(r)!=="hidden"){return false}if(r instanceof Ct&&r.hasAttribute("open")){return false}if(document.fullscreenElement===r)return false;return true}function Nt(r){if(!r)return 0;var t=Rt.get(document)||new Set;var e=Dt.get(document)||new Set;if(e.has(r)){return __spreadArray([],e,true).indexOf(r)+t.size+1}if(t.has(r)){return __spreadArray([],t,true).indexOf(r)+1}return 0}function Vt(r){var t=Qt(r);var e=Yt(r);if(Nt(t)>Nt(e)){return t}return e}function $t(r){var t;var e=Dt.get(r)||new Set;var n=Rt.get(r)||new Set;var i=e.size>0?e:n.size>0?n:null;if(i){t=It(i);if(!t.isConnected){i.delete(t);return $t(r)}return t}return null}function Gt(r){for(var t=0,e=r||[];t<e.length;t++){var n=e[t];if(!n.isConnected){r.delete(n)}else{return n}}return null}function Kt(r){if(typeof r.getRootNode==="function"){return r.getRootNode()}if(r.parentNode)return Kt(r.parentNode);return r}function Qt(r){while(r){if(r instanceof HTMLElement&&r.popover==="auto"&&Ft.get(r)==="showing"){return r}r=r instanceof Element&&r.assignedSlot||r.parentElement||Kt(r);if(r instanceof Lt)r=r.host;if(r instanceof Document)return}}function Yt(r){while(r){var t=r.popoverTargetElement;if(t instanceof HTMLElement)return t;r=r.parentElement||Kt(r);if(r instanceof Lt)r=r.host;if(r instanceof Document)return}}function Zt(r,t){var e=new Map;var n=0;for(var i=0,o=t||[];i<o.length;i++){var a=o[i];e.set(a,n);n+=1}e.set(r,n);n+=1;var u=null;function s(t){if(!t)return;var n=false;var i=null;var o=null;while(!n){i=Qt(t)||null;if(i===null)return;if(!e.has(i))return;if(r.popover==="hint"||i.popover==="auto"){n=true}if(!n){t=i.parentElement}}o=e.get(i);if(u===null||e.get(u)<o){u=i}}s(r.parentElement||Kt(r));return u}function Jt(r){if(r.hidden||r instanceof Lt)return false;if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLSelectElement||r instanceof HTMLTextAreaElement||r instanceof HTMLOptGroupElement||r instanceof HTMLOptionElement||r instanceof HTMLFieldSetElement){if(r.disabled)return false}if(r instanceof HTMLInputElement&&r.type==="hidden"){return false}if(r instanceof HTMLAnchorElement&&r.href===""){return false}return typeof r.tabIndex==="number"&&r.tabIndex!==-1}function Ut(r){if(r.shadowRoot&&r.shadowRoot.delegatesFocus!==true){return null}var t=r;if(t.shadowRoot){t=t.shadowRoot}var e=t.querySelector("[autofocus]");if(e){return e}else{var n=t.querySelectorAll("slot");for(var i=0,o=n;i<o.length;i++){var a=o[i];var u=a.assignedElements({flatten:true});for(var s=0,f=u;s<f.length;s++){var c=f[s];if(c.hasAttribute("autofocus")){return c}else{e=c.querySelector("[autofocus]");if(e){return e}}}}}var l=r.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_ELEMENT);var v=l.currentNode;while(v){if(Jt(v)){return v}v=l.nextNode()}}function Xt(r){var t;(t=Ut(r))===null||t===void 0?void 0:t.focus()}var re=new WeakMap;function te(r){if(!qt(r,false)){return}var t=r.ownerDocument;if(!r.dispatchEvent(new Ot("beforetoggle",{cancelable:true,oldState:"closed",newState:"open"}))){return}if(!qt(r,false)){return}var e=false;var n=r.popover;var i=null;var o=Zt(r,Rt.get(t)||new Set);var a=Zt(r,Dt.get(t)||new Set);if(n==="auto"){ie(Dt.get(t)||new Set,e,true);var u=o||t;ae(u,e,true);i="auto"}if(n==="hint"){if(a){ae(a,e,true);i="hint"}else{ie(Dt.get(t)||new Set,e,true);if(o){ae(o,e,true);i="auto"}else{i="hint"}}}if(n==="auto"||n==="hint"){if(n!==r.popover||!qt(r,false)){return}if(!$t(t)){e=true}if(i==="auto"){if(!Rt.has(t)){Rt.set(t,new Set)}Rt.get(t).add(r)}else if(i==="hint"){if(!Dt.has(t)){Dt.set(t,new Set)}Dt.get(t).add(r)}}re.delete(r);var s=t.activeElement;r.classList.add(":popover-open");Ft.set(r,"showing");if(!zt.has(t)){zt.set(t,new Set)}zt.get(t).add(r);ce(Bt.get(r),true);Xt(r);if(e&&s&&r.popover==="auto"){re.set(r,s)}jt(r,"closed","open")}function ee(r,t,e){var n,i;if(t===void 0){t=false}if(e===void 0){e=false}if(!qt(r,true)){return}var o=r.ownerDocument;if(["auto","hint"].includes(r.popover)){ae(r,t,e);if(!qt(r,true)){return}}var a=Rt.get(o)||new Set;var u=a.has(r)&&It(a)===r;ce(Bt.get(r),false);Bt.delete(r);if(e){r.dispatchEvent(new Ot("beforetoggle",{oldState:"open",newState:"closed"}));if(u&&It(a)!==r){ae(r,t,e)}if(!qt(r,true)){return}}(n=zt.get(o))===null||n===void 0?void 0:n.delete(r);a.delete(r);(i=Dt.get(o))===null||i===void 0?void 0:i.delete(r);r.classList.remove(":popover-open");Ft.set(r,"hidden");if(e){jt(r,"open","closed")}var s=re.get(r);if(s){re.delete(r);if(t){s.focus()}}}function ne(r,t,e){if(t===void 0){t=false}if(e===void 0){e=false}var n=$t(r);while(n){ee(n,t,e);n=$t(r)}}function ie(r,t,e){if(t===void 0){t=false}if(e===void 0){e=false}var n=Gt(r);while(n){ee(n,t,e);n=Gt(r)}}function oe(r,t,e,n){var i=false;var o=false;while(i||!o){o=true;var a=null;var u=false;for(var s=0,f=t;s<f.length;s++){var c=f[s];if(c===r){u=true}else if(u){a=c;break}}if(!a)return;while(Wt(a)==="showing"&&t.size){ee(It(t),e,n)}if(t.has(r)&&It(t)!==r){i=true}if(i){n=false}}}function ae(r,t,e){var n,i;var o=r.ownerDocument||r;if(r instanceof Document){return ne(o,t,e)}if((n=Dt.get(o))===null||n===void 0?void 0:n.has(r)){oe(r,Dt.get(o),t,e);return}ie(Dt.get(o)||new Set,t,e);if(!((i=Rt.get(o))===null||i===void 0?void 0:i.has(r))){return}oe(r,Rt.get(o),t,e)}var ue=new WeakMap;function se(r){if(!r.isTrusted)return;var t=r.composedPath()[0];if(!t)return;var e=t.ownerDocument;var n=$t(e);if(!n)return;var i=Vt(t);if(i&&r.type==="pointerdown"){ue.set(e,i)}else if(r.type==="pointerup"){var o=ue.get(e)===i;ue.delete(e);if(o){ae(i||e,false,true)}}}var fe=new WeakMap;function ce(r,t){if(t===void 0){t=false}if(!r)return;if(!fe.has(r)){fe.set(r,r.getAttribute("aria-expanded"))}var e=r.popoverTargetElement;if(e instanceof HTMLElement&&e.popover==="auto"){r.setAttribute("aria-expanded",String(t))}else{var n=fe.get(r);if(!n){r.removeAttribute("aria-expanded")}else{r.setAttribute("aria-expanded",n)}}}var le=globalThis.ShadowRoot||function(){};function ve(){return typeof HTMLElement!=="undefined"&&typeof HTMLElement.prototype==="object"&&"popover"in HTMLElement.prototype}function de(r,t,e){var n=r[t];Object.defineProperty(r,t,{value:function(r){return n.call(this,e(r))}})}var pe=/(^|[^\\]):popover-open\b/g;function he(){return typeof globalThis.CSSLayerBlockRule==="function"}function we(){var r=he();return"\n".concat(r?"@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").concat(r?"}":"","\n")}var ge=null;function be(r){var t=we();if(ge===null){try{ge=new CSSStyleSheet;ge.replaceSync(t)}catch(r){ge=false}}if(ge===false){var e=document.createElement("style");e.textContent=t;if(r instanceof Document){r.head.prepend(e)}else{r.prepend(e)}}else{r.adoptedStyleSheets=__spreadArray([ge],r.adoptedStyleSheets,true)}}function _e(){if(typeof window==="undefined")return;window.ToggleEvent=window.ToggleEvent||Ot;function r(r){if(r===null||r===void 0?void 0:r.includes(":popover-open")){r=r.replace(pe,"$1.\\:popover-open")}return r}de(Document.prototype,"querySelector",r);de(Document.prototype,"querySelectorAll",r);de(Element.prototype,"querySelector",r);de(Element.prototype,"querySelectorAll",r);de(Element.prototype,"matches",r);de(Element.prototype,"closest",r);de(DocumentFragment.prototype,"querySelectorAll",r);Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:true,configurable:true,get:function(){if(!this.hasAttribute("popover"))return null;var r=(this.getAttribute("popover")||"").toLowerCase();if(r===""||r=="auto")return"auto";if(r=="hint")return"hint";return"manual"},set:function(r){if(r===null){this.removeAttribute("popover")}else{this.setAttribute("popover",r)}}},showPopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}te(this)}},hidePopover:{enumerable:true,configurable:true,value:function(){ee(this,true,true)}},togglePopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}if(typeof r==="boolean"){r={force:r}}if(Ft.get(this)==="showing"&&r.force===void 0||r.force===false){ee(this,true,true)}else if(r.force===void 0||r.force===true){te(this)}return Ft.get(this)==="showing"}}});var t=Element.prototype.attachShadow;if(t){Object.defineProperties(Element.prototype,{attachShadow:{enumerable:true,configurable:true,writable:true,value:function(r){var e=t.call(this,r);be(e);return e}}})}var e=HTMLElement.prototype.attachInternals;if(e){Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:true,configurable:true,writable:true,value:function(){var r=e.call(this);if(r.shadowRoot){be(r.shadowRoot)}return r}}})}var n=new WeakMap;function i(r){Object.defineProperties(r.prototype,{popoverTargetElement:{enumerable:true,configurable:true,set:function(r){if(r===null){this.removeAttribute("popovertarget");n.delete(this)}else if(!(r instanceof Element)){throw new TypeError("popoverTargetElement must be an element or null")}else{this.setAttribute("popovertarget","");n.set(this,r)}},get:function(){if(this.localName!=="button"&&this.localName!=="input"){return null}if(this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"){return null}if(this.disabled){return null}if(this.form&&this.type==="submit"){return null}var r=n.get(this);if(r&&r.isConnected){return r}else if(r&&!r.isConnected){n.delete(this);return null}var t=Kt(this);var e=this.getAttribute("popovertarget");if((t instanceof Document||t instanceof le)&&e){return t.getElementById(e)||null}return null}},popoverTargetAction:{enumerable:true,configurable:true,get:function(){var r=(this.getAttribute("popovertargetaction")||"").toLowerCase();if(r==="show"||r==="hide")return r;return"toggle"},set:function(r){this.setAttribute("popovertargetaction",r)}}})}i(HTMLButtonElement);i(HTMLInputElement);var o=function(r){var t=r.composedPath();var e=t[0];if(!(e instanceof Element)||(e===null||e===void 0?void 0:e.shadowRoot)){return}var n=Kt(e);if(!(n instanceof le||n instanceof Document)){return}var i=t.find((function(r){var t;return(t=r.matches)===null||t===void 0?void 0:t.call(r,"[popovertargetaction],[popovertarget]")}));if(i){Pt(i);r.preventDefault();return}};var a=function(r){var t=r.key;var e=r.target;if(!r.defaultPrevented&&e&&(t==="Escape"||t==="Esc")){ae(e.ownerDocument,true,true)}};var u=function(r){r.addEventListener("click",o);r.addEventListener("keydown",a);r.addEventListener("pointerdown",se);r.addEventListener("pointerup",se)};u(document);be(document)}var me=function(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host [part=post-popovercontainer-content]{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:var(--post-popovercontainer-available-width);max-height:var(--post-popovercontainer-available-height);color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative;display:-ms-flexbox;display:flex}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host [part=post-popovercontainer-content]{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[data-side=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[data-side=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[data-side=top]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[data-side=left]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[data-side=right]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[data-side=bottom]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto;-webkit-clip-path:var(--post-popovercontainer-safe-space, polygon(0 0, 0 0, 0 0));clip-path:var(--post-popovercontainer-safe-space, polygon(0 0, 0 0, 0 0))}:host(:not(:has(.arrow)))>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{-webkit-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));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))}:host(:has(.arrow[data-side=top]))>div{-webkit-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));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))}:host(:has(.arrow[data-side=left]))>div{-webkit-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));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))}:host(:has(.arrow[data-side=right]))>div{-webkit-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));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))}'};var xe=undefined&&undefined.__decorate||function(r,t,e,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(r,t,e,n);else for(var u=r.length-1;u>=0;u--)if(a=r[u])o=(i<3?a(o):i>3?a(t,e,o):a(t,e))||o;return i>3&&o&&Object.defineProperty(t,e,o),o};var ye="--post-popovercontainer-available-width";var ke="--post-popovercontainer-available-height";var Se="--post-popovercontainer-safe-space";var Me=r("post_popovercontainer",function(){function r(r){t(this,r);this.postBeforeShow=e(this,"postBeforeShow");this.postShow=e(this,"postShow");this.postHide=e(this,"postHide");this.postBeforeToggle=e(this,"postBeforeToggle");this.postToggle=e(this,"postToggle");this.anchorRef=null;this.arrowRef=null;this.hasBeenOpened=false;this.toggleTimeoutId=null;this.runningAnimation=null;this.stopAutoUpdate=null;this.placement="top";this.edgeGap=8;this.arrow=false}r.prototype.connectedCallback=function(){if(!ve()){_e()}};r.prototype.componentDidLoad=function(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.disconnectedCallback=function(){this.cleanup();this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.cleanup=function(){var r;(r=this.stopAutoUpdate)===null||r===void 0?void 0:r.call(this);if(this.runningAnimation){this.runningAnimation.cancel();this.runningAnimation=null}};r.prototype.isOpen=function(){var r;return(r=this.host)===null||r===void 0?void 0:r.matches(":where(:popover-open, .popover-open)")};r.prototype.getContent=function(){var r;return(r=this.host)===null||r===void 0?void 0:r.shadowRoot.querySelector('[part="post-popovercontainer-content"]')};r.prototype.getContentMinSize=function(){var r=this.getContent();if(!r)return{};var t=getComputedStyle(r),e=t.minWidth,n=t.minHeight;return{width:Number.parseFloat(e)||0,height:Number.parseFloat(n)||0}};r.prototype.show=function(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.toggleTimeoutId||!r||this.isOpen())return[2];this.anchorRef=r;this.host.showPopover();return[2]}))}))};r.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(this.toggleTimeoutId||!this.isOpen())return[2];this.anchorRef=null;this.host.hidePopover();this.postHide.emit();return[2]}))}))};r.prototype.toggle=function(r,t){return __awaiter(this,void 0,void 0,(function(){var e,n;return __generator(this,(function(i){e=this.isOpen();if(!this.host||this.toggleTimeoutId)return[2,e];n=t===true||t===undefined&&!e;if(e===n||n&&!r)return[2,e];this.anchorRef=n?r:null;this.host.togglePopover(t);this.toggleTimeoutId=null;return[2,this.isOpen()]}))}))};r.prototype.handleToggle=function(r){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:this.toggleTimeoutId=globalThis.setTimeout((function(){return t.toggleTimeoutId=null}),10);if(!(r.newState==="open"))return[3,2];return[4,this.handleOpen()];case 1:e.sent();return[3,4];case 2:return[4,this.handleClose()];case 3:e.sent();e.label=4;case 4:return[2]}}))}))};r.prototype.handleOpen=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:!this.hasBeenOpened});return[4,this.updatePosition(true)];case 1:t.sent();this.startAutoUpdate();t.label=2;case 2:t.trys.push([2,4,,5]);return[4,this.runOpenAnimation()];case 3:t.sent();return[3,5];case 4:r=t.sent();return[2];case 5:this.postToggle.emit({isOpen:true});this.postShow.emit({first:!this.hasBeenOpened});this.hasBeenOpened=true;return[2]}}))}))};r.prototype.runOpenAnimation=function(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(t){switch(t.label){case 0:r=this.getContent();if(!r)return[2];this.runningAnimation=d(r);return[4,this.runningAnimation.finished];case 1:t.sent();return[2]}}))}))};r.prototype.handleClose=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.postBeforeToggle.emit({willOpen:false});this.cleanup();this.host.style.removeProperty(ye);this.host.style.removeProperty(ke);this.host.style.removeProperty(Se);this.postToggle.emit({isOpen:false});this.postHide.emit();return[2]}))}))};r.prototype.startAutoUpdate=function(){var r=this;if(!this.host||!this.anchorRef)return;this.stopAutoUpdate=et(this.anchorRef,this.host,(function(){return r.updatePosition(r.autoResize)}))};r.prototype.updatePosition=function(){return __awaiter(this,arguments,void 0,(function(r){var t,e,n,i,o;var a;if(r===void 0){r=false}return __generator(this,(function(u){switch(u.label){case 0:return[4,this.computePosition(r)];case 1:t=u.sent(),e=t.x,n=t.y,i=t.middlewareData,o=t.placement;if((a=i.hide)===null||a===void 0?void 0:a.referenceHidden){this.host.hidePopover();return[2]}this.side=k(o);this.host.style.left="".concat(e,"px");this.host.style.top="".concat(n,"px");if(i.arrow){this.arrowRef.style.left=i.arrow.x?"".concat(i.arrow.x,"px"):"";this.arrowRef.style.top=i.arrow.y?"".concat(i.arrow.y,"px"):"";this.arrowRef.style[pt(this.side)]="-".concat(this.arrowRef.offsetWidth/2,"px")}if(i[Mt]){this.host.style.setProperty(Se,i[Mt].polygon)}return[2]}}))}))};r.prototype.computePosition=function(r){return __awaiter(this,void 0,void 0,(function(){var t,e,n,i;var o,a,u,s;return __generator(this,(function(f){t=(o=this.edgeGap)!==null&&o!==void 0?o:0;e=[it((a=this.offset)!==null&&a!==void 0?a:this.arrow?t+4:t),ft()];n=gt({padding:t,minSize:this.getContentMinSize()});i=ot({limiter:ct({offset:32}),padding:t});if((u=this.placement)===null||u===void 0?void 0:u.includes("-"))e.push(n,i);else e.push(i,n);if(r){e.push(at({padding:t,apply:function(r){var t=r.availableWidth,e=r.availableHeight,n=r.elements;n.floating.style.setProperty(ye,"".concat(Math.max(0,t),"px"));n.floating.style.setProperty(ke,"".concat(Math.max(0,e),"px"))}}))}if(this.arrow)e.push(st({element:this.arrowRef,padding:t}));if(this.safeSpace)e.push(Tt());if(this.autoHide)e.push(ut({strategy:"referenceHidden"}));return[2,St(this.anchorRef,this.host,{placement:(s=this.placement)!==null&&s!==void 0?s:"top",strategy:"fixed",middleware:e})]}))}))};r.prototype.render=function(){var r=this;return n(i,{key:"2240dfd6d585287ad6c50d7582053c2187dc924d","data-version":a,popover:"auto"},n("div",{key:"2793bd5f9dd3e72f5a6bc8344eab48262e6cea71",part:"post-popovercontainer-content"},this.arrow&&n("span",{key:"3d0913954cead346a850f7d8ed1aaa97cbfa2d83","data-side":this.side,class:"arrow",ref:function(t){return r.arrowRef=t}}),n("span",{key:"c21d5332cfc0c0a7b7a8403f492bb4ba28b509f4",part:"post-popovercontainer-border-mask"}),n("slot",{key:"eb6112e8dfa783304e286f65386e6e0741c2a571"})))};Object.defineProperty(r.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return r}());xe([u(s)],Me.prototype,"placement",void 0);xe([f("number")],Me.prototype,"edgeGap",void 0);Me.style=me()}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{c(e.next(t))}catch(t){s(t)}}function u(t){try{c(e["throw"](t))}catch(t){s(t)}}function c(t){t.done?n(t.value):r(t.value).then(o,u)}c((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return c([t,i])}}function c(u){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(e=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];r=0}finally{e=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-B1oFB_zk.system.js","./p-qFxyG4GI.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var i,n,e,r,s,o,u,c,a;return{setters:[function(t){i=t.r;n=t.h;e=t.H;r=t.g},function(t){s=t.v},function(t){o=t.g},function(t){u=t.R},function(t){c=t.T},function(t){a=t.E},null],execute:function(){var f=function(){return":host{display:inline-block}@media screen and (min-width: 1024px){:host{display:none}}"};var h=undefined&&undefined.__decorate||function(t,i,n,e){var r=arguments.length,s=r<3?i:e===null?e=Object.getOwnPropertyDescriptor(i,n):e,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")s=Reflect.decorate(t,i,n,e);else for(var u=t.length-1;u>=0;u--)if(o=t[u])s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s;return r>3&&s&&Object.defineProperty(i,n,s),s};var l=t("post_side_navigation_trigger",function(){function t(t){var n=this;i(this,t);this.observer=new MutationObserver((function(){return n.setTrigger()}));this.toggleSideNavigation=this.toggleSideNavigation.bind(this);this.handlePostToggle=this.handlePostToggle.bind(this)}t.prototype.connectedCallback=function(){this.root=o(this.host);this.root.addEventListener("postToggle",this.handlePostToggle);this.observer.observe(this.host,{childList:true,subtree:true})};t.prototype.componentDidLoad=function(){this.setTrigger();if(!this.trigger)console.warn("The post-side-navigation-trigger must contain a button.")};t.prototype.disconnectedCallback=function(){var t;this.observer.disconnect();this.root.removeEventListener("postToggle",this.handlePostToggle);(t=this.trigger)===null||t===void 0?void 0:t.removeEventListener("click",this.toggleSideNavigation)};Object.defineProperty(t.prototype,"sideNavigation",{get:function(){var t=this.root.getElementById(this.for);if(t&&t.localName==="post-side-navigation"){return t}return null},enumerable:false,configurable:true});t.prototype.setTrigger=function(){var t=this.host.querySelector("button");if(!t||this.trigger&&t.isEqualNode(this.trigger))return;if(this.trigger){this.trigger.removeEventListener("click",this.toggleSideNavigation)}this.trigger=t;this.trigger.addEventListener("click",this.toggleSideNavigation);this.updateAriaAttributes()};t.prototype.updateAriaAttributes=function(){if(!this.trigger)return;var t=this.trigger.getAttribute("aria-controls");if(!(t===null||t===void 0?void 0:t.includes(this.for))){var i=t?"".concat(t," ").concat(this.for):this.for;this.trigger.setAttribute("aria-controls",i)}this.trigger.setAttribute("aria-expanded","false")};t.prototype.handlePostToggle=function(t){var i;(i=this.trigger)===null||i===void 0?void 0:i.setAttribute("aria-expanded","".concat(t.detail))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateAriaAttributes();return[2]}))}))};t.prototype.toggleSideNavigation=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,(t=this.sideNavigation)===null||t===void 0?void 0:t.toggle()];case 1:i.sent();return[2]}}))}))};t.prototype.render=function(){return n(e,{key:"1c908083562ec5ca01cd9410c72ac78ae11ce72f","data-version":s},n("slot",{key:"38f63424e8c66b4bf926418b57555dc676d24d45"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h([u(),c("string")],l.prototype,"for",void 0);h([a("post-side-navigation",{ignoreNestedComponents:false})],l.prototype,"handlePostToggle",null);l.style=f()}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,i,n,e){function r(t){return t instanceof n?t:new n((function(i){i(t)}))}return new(n||(n=Promise))((function(n,s){function o(t){try{c(e.next(t))}catch(t){s(t)}}function u(t){try{c(e["throw"](t))}catch(t){s(t)}}function c(t){t.done?n(t.value):r(t.value).then(o,u)}c((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},e,r,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return c([t,i])}}function c(u){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(e=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1];s=u;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(u);break}if(s[2])n.ops.pop();n.trys.pop();continue}u=i.call(t,n)}catch(t){u=[6,t];r=0}finally{e=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-CgnycKPl.system.js","./p-qFxyG4GI.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var i,n,e,r,s,o,u,c,a;return{setters:[function(t){i=t.r;n=t.h;e=t.H;r=t.g},function(t){s=t.v},function(t){o=t.g},function(t){u=t.R},function(t){c=t.T},function(t){a=t.E},null],execute:function(){var f=function(){return":host{display:inline-block}@media screen and (min-width: 1024px){:host{display:none}}"};var h=undefined&&undefined.__decorate||function(t,i,n,e){var r=arguments.length,s=r<3?i:e===null?e=Object.getOwnPropertyDescriptor(i,n):e,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")s=Reflect.decorate(t,i,n,e);else for(var u=t.length-1;u>=0;u--)if(o=t[u])s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s;return r>3&&s&&Object.defineProperty(i,n,s),s};var l=t("post_side_navigation_trigger",function(){function t(t){var n=this;i(this,t);this.observer=new MutationObserver((function(){return n.setTrigger()}));this.toggleSideNavigation=this.toggleSideNavigation.bind(this);this.handlePostToggle=this.handlePostToggle.bind(this)}t.prototype.connectedCallback=function(){this.root=o(this.host);this.root.addEventListener("postToggle",this.handlePostToggle);this.observer.observe(this.host,{childList:true,subtree:true})};t.prototype.componentDidLoad=function(){this.setTrigger();if(!this.trigger)console.warn("The post-side-navigation-trigger must contain a button.")};t.prototype.disconnectedCallback=function(){var t;this.observer.disconnect();this.root.removeEventListener("postToggle",this.handlePostToggle);(t=this.trigger)===null||t===void 0?void 0:t.removeEventListener("click",this.toggleSideNavigation)};Object.defineProperty(t.prototype,"sideNavigation",{get:function(){var t=this.root.getElementById(this.for);if(t&&t.localName==="post-side-navigation"){return t}return null},enumerable:false,configurable:true});t.prototype.setTrigger=function(){var t=this.host.querySelector("button");if(!t||this.trigger&&t.isEqualNode(this.trigger))return;if(this.trigger){this.trigger.removeEventListener("click",this.toggleSideNavigation)}this.trigger=t;this.trigger.addEventListener("click",this.toggleSideNavigation);this.updateAriaAttributes()};t.prototype.updateAriaAttributes=function(){if(!this.trigger)return;var t=this.trigger.getAttribute("aria-controls");if(!(t===null||t===void 0?void 0:t.includes(this.for))){var i=t?"".concat(t," ").concat(this.for):this.for;this.trigger.setAttribute("aria-controls",i)}this.trigger.setAttribute("aria-expanded","false")};t.prototype.handlePostToggle=function(t){var i;(i=this.trigger)===null||i===void 0?void 0:i.setAttribute("aria-expanded","".concat(t.detail))};t.prototype.update=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateAriaAttributes();return[2]}))}))};t.prototype.toggleSideNavigation=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:return[4,(t=this.sideNavigation)===null||t===void 0?void 0:t.toggle()];case 1:i.sent();return[2]}}))}))};t.prototype.render=function(){return n(e,{key:"2822a6c7246da96de537eff3e3fbf5a2db400547","data-version":s},n("slot",{key:"0bb02d90c7916a4dbfe6dd7fc0f4325509939a80"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h([u(),c("string")],l.prototype,"for",void 0);h([a("post-side-navigation",{ignoreNestedComponents:false})],l.prototype,"handlePostToggle",null);l.style=f()}}}));