@swisspost/design-system-components 10.6.0 → 10.7.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 (200) hide show
  1. package/dist/cjs/{create-validator-decorator-Cy5yN6u9.js → create-validator-decorator-D7nAb9KJ.js} +1 -1
  2. package/dist/cjs/{index-B3PXzvDk.js → index-DWIlRT6N.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{one-of-CRFrfihj.js → one-of-B8RUgrZk.js} +1 -1
  5. package/dist/cjs/{package-pKyFPwiA.js → package-BtKYhTNj.js} +1 -1
  6. package/dist/cjs/{pattern-D329DFcf.js → pattern-B6VoDk_m.js} +1 -1
  7. package/dist/cjs/post-accordion_2.cjs.entry.js +5 -5
  8. package/dist/cjs/post-autocomplete.cjs.entry.js +5 -5
  9. package/dist/cjs/post-avatar.cjs.entry.js +6 -6
  10. package/dist/cjs/post-back-to-top.cjs.entry.js +5 -5
  11. package/dist/cjs/post-banner.cjs.entry.js +4 -4
  12. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +7 -7
  13. package/dist/cjs/post-breadcrumbs.cjs.entry.js +6 -6
  14. package/dist/cjs/post-closebutton_14.cjs.entry.js +24 -18
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
  16. package/dist/cjs/post-components.cjs.js +1 -1
  17. package/dist/cjs/post-date-picker.cjs.entry.js +28 -26
  18. package/dist/cjs/post-footer.cjs.entry.js +6 -6
  19. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  20. package/dist/cjs/post-listbox-option.cjs.entry.js +2 -2
  21. package/dist/cjs/post-listbox.cjs.entry.js +2 -2
  22. package/dist/cjs/post-number-input.cjs.entry.js +2 -2
  23. package/dist/cjs/post-pagination.cjs.entry.js +5 -5
  24. package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
  25. package/dist/cjs/post-popover.cjs.entry.js +6 -6
  26. package/dist/cjs/post-progressbar.cjs.entry.js +3 -3
  27. package/dist/cjs/post-rating.cjs.entry.js +5 -5
  28. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +5 -5
  29. package/dist/cjs/post-side-navigation.cjs.entry.js +6 -6
  30. package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
  31. package/dist/cjs/post-stepper.cjs.entry.js +6 -6
  32. package/dist/cjs/post-tab-item.cjs.entry.js +5 -5
  33. package/dist/cjs/post-tab-panel.cjs.entry.js +5 -5
  34. package/dist/cjs/post-tabs.cjs.entry.js +5 -5
  35. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +5 -5
  36. package/dist/cjs/post-tooltip.cjs.entry.js +4 -4
  37. package/dist/cjs/{required-DhAEd0c7.js → required-bXtlqqaA.js} +1 -1
  38. package/dist/cjs/{type-2Ma9dvHs.js → type-BqLE7Uui.js} +1 -1
  39. package/dist/cjs/{url-DePscsTj.js → url-CUy3C3sH.js} +1 -1
  40. package/dist/collection/components/post-date-picker/post-date-picker.js +22 -22
  41. package/dist/collection/components/post-footer/post-footer.css +1 -1
  42. package/dist/collection/components/post-header/post-header.css +1 -1
  43. package/dist/collection/components/post-header/post-header.js +14 -8
  44. package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
  45. package/dist/components/package.js +1 -1
  46. package/dist/components/post-date-picker.js +1 -1
  47. package/dist/components/post-footer.js +1 -1
  48. package/dist/components/post-header.js +1 -1
  49. package/dist/components/post-megadropdown.js +1 -1
  50. package/dist/components/react/index.js +1 -1
  51. package/dist/components/react/{p-CcDLIogT.js → p-1y1rv5Tw.js} +1 -1
  52. package/dist/components/react/{p-m1-sOx5T.js → p-BBv5JYsW.js} +1 -1
  53. package/dist/components/react/p-BBz9PVf0.js +1 -0
  54. package/dist/components/react/{p-CzsG0uCA.js → p-BgEY7xhT.js} +1 -1
  55. package/dist/components/react/{p-WXzzOdnl.js → p-C3J7fIWx.js} +1 -1
  56. package/dist/components/react/{p-BN2dfUQ0.js → p-C5ibTdH5.js} +1 -1
  57. package/dist/components/react/{p-CdggfEzz.js → p-C8_zqgAP.js} +1 -1
  58. package/dist/components/react/{p-Bnb_TyDh.js → p-CUKzje9q.js} +1 -1
  59. package/dist/components/react/{p-DffT6evQ.js → p-DS46v3ju.js} +1 -1
  60. package/dist/components/react/{p-3RU9XwVO.js → p-DTBtJCjk.js} +1 -1
  61. package/dist/components/react/{p-BPUhha1U.js → p-XUkUhxaz.js} +1 -1
  62. package/dist/components/react/{p-B1TcktiB.js → p-ialuSSl2.js} +1 -1
  63. package/dist/components/react/post-accordion-item.js +1 -1
  64. package/dist/components/react/post-accordion.js +1 -1
  65. package/dist/components/react/post-autocomplete.js +1 -1
  66. package/dist/components/react/post-avatar.js +1 -1
  67. package/dist/components/react/post-back-to-top.js +1 -1
  68. package/dist/components/react/post-banner.js +1 -1
  69. package/dist/components/react/post-breadcrumb-item.js +1 -1
  70. package/dist/components/react/post-breadcrumbs.js +1 -1
  71. package/dist/components/react/post-closebutton.js +1 -1
  72. package/dist/components/react/post-collapsible-trigger.js +1 -1
  73. package/dist/components/react/post-collapsible.js +1 -1
  74. package/dist/components/react/post-date-picker.js +1 -1
  75. package/dist/components/react/post-footer.js +1 -1
  76. package/dist/components/react/post-header.js +1 -1
  77. package/dist/components/react/post-icon.js +1 -1
  78. package/dist/components/react/post-language-menu-item.js +1 -1
  79. package/dist/components/react/post-language-menu.js +1 -1
  80. package/dist/components/react/post-linkarea.js +1 -1
  81. package/dist/components/react/post-listbox-option.js +1 -1
  82. package/dist/components/react/post-listbox.js +1 -1
  83. package/dist/components/react/post-logo.js +1 -1
  84. package/dist/components/react/post-mainnavigation.js +1 -1
  85. package/dist/components/react/post-megadropdown-trigger.js +1 -1
  86. package/dist/components/react/post-megadropdown.js +1 -1
  87. package/dist/components/react/post-menu-item.js +1 -1
  88. package/dist/components/react/post-menu-trigger.js +1 -1
  89. package/dist/components/react/post-menu.js +1 -1
  90. package/dist/components/react/post-number-input.js +1 -1
  91. package/dist/components/react/post-pagination.js +1 -1
  92. package/dist/components/react/post-popover-trigger.js +1 -1
  93. package/dist/components/react/post-popover.js +1 -1
  94. package/dist/components/react/post-popovercontainer.js +1 -1
  95. package/dist/components/react/post-rating.js +1 -1
  96. package/dist/components/react/post-side-navigation-trigger.js +1 -1
  97. package/dist/components/react/post-side-navigation.js +1 -1
  98. package/dist/components/react/post-stepper-item.js +1 -1
  99. package/dist/components/react/post-stepper.js +1 -1
  100. package/dist/components/react/post-tab-item.js +1 -1
  101. package/dist/components/react/post-tab-panel.js +1 -1
  102. package/dist/components/react/post-tabs.js +1 -1
  103. package/dist/components/react/post-togglebutton.js +1 -1
  104. package/dist/components/react/post-tooltip-trigger.js +1 -1
  105. package/dist/components/react/post-tooltip.js +1 -1
  106. package/dist/docs.json +1 -1
  107. package/dist/esm/{create-validator-decorator-C2XlYkNB.js → create-validator-decorator-DFpQtJzK.js} +1 -1
  108. package/dist/esm/{index-BjziJWh2.js → index-Bs0zeM5Q.js} +1 -1
  109. package/dist/esm/loader.js +2 -2
  110. package/dist/esm/{one-of-Do1iao-k.js → one-of-DQCfaZpw.js} +1 -1
  111. package/dist/esm/{package-T8T3po4z.js → package-BBz9PVf0.js} +1 -1
  112. package/dist/esm/{pattern-BZDucOTq.js → pattern-3lnaFlkk.js} +1 -1
  113. package/dist/esm/post-accordion_2.entry.js +5 -5
  114. package/dist/esm/post-autocomplete.entry.js +5 -5
  115. package/dist/esm/post-avatar.entry.js +6 -6
  116. package/dist/esm/post-back-to-top.entry.js +5 -5
  117. package/dist/esm/post-banner.entry.js +4 -4
  118. package/dist/esm/post-breadcrumb-item.entry.js +7 -7
  119. package/dist/esm/post-breadcrumbs.entry.js +6 -6
  120. package/dist/esm/post-closebutton_14.entry.js +24 -18
  121. package/dist/esm/post-collapsible_2.entry.js +4 -4
  122. package/dist/esm/post-components.js +2 -2
  123. package/dist/esm/post-date-picker.entry.js +28 -26
  124. package/dist/esm/post-footer.entry.js +6 -6
  125. package/dist/esm/post-linkarea.entry.js +2 -2
  126. package/dist/esm/post-listbox-option.entry.js +2 -2
  127. package/dist/esm/post-listbox.entry.js +2 -2
  128. package/dist/esm/post-number-input.entry.js +2 -2
  129. package/dist/esm/post-pagination.entry.js +5 -5
  130. package/dist/esm/post-popover-trigger.entry.js +4 -4
  131. package/dist/esm/post-popover.entry.js +6 -6
  132. package/dist/esm/post-progressbar.entry.js +3 -3
  133. package/dist/esm/post-rating.entry.js +5 -5
  134. package/dist/esm/post-side-navigation-trigger.entry.js +5 -5
  135. package/dist/esm/post-side-navigation.entry.js +6 -6
  136. package/dist/esm/post-stepper-item.entry.js +2 -2
  137. package/dist/esm/post-stepper.entry.js +6 -6
  138. package/dist/esm/post-tab-item.entry.js +5 -5
  139. package/dist/esm/post-tab-panel.entry.js +5 -5
  140. package/dist/esm/post-tabs.entry.js +5 -5
  141. package/dist/esm/post-tooltip-trigger.entry.js +5 -5
  142. package/dist/esm/post-tooltip.entry.js +4 -4
  143. package/dist/esm/{required-B0X7uy13.js → required-NuzPg5jZ.js} +1 -1
  144. package/dist/esm/{type-CF1dOg6D.js → type-ChnksJ25.js} +1 -1
  145. package/dist/esm/{url-BL7d6iWZ.js → url-BCk3ZU-x.js} +1 -1
  146. package/dist/post-components/{p-b4229624.entry.js → p-10e430c3.entry.js} +1 -1
  147. package/dist/post-components/{p-c9dcdebb.entry.js → p-31550a50.entry.js} +1 -1
  148. package/dist/post-components/{p-a32d3050.entry.js → p-31a97aae.entry.js} +1 -1
  149. package/dist/post-components/{p-c0ae13b7.entry.js → p-32e1e951.entry.js} +1 -1
  150. package/dist/post-components/{p-ba1b4ba0.entry.js → p-43240818.entry.js} +1 -1
  151. package/dist/post-components/{p-8012cc3b.entry.js → p-451ec8ee.entry.js} +1 -1
  152. package/dist/post-components/{p-59b30e90.entry.js → p-4f08b99b.entry.js} +1 -1
  153. package/dist/post-components/{p-ccf8020b.entry.js → p-54432b47.entry.js} +1 -1
  154. package/dist/post-components/{p-d7c9a969.entry.js → p-58b66607.entry.js} +1 -1
  155. package/dist/post-components/{p-819c93de.entry.js → p-5d7de657.entry.js} +1 -1
  156. package/dist/post-components/{p-cdc7b8d3.entry.js → p-61a45246.entry.js} +1 -1
  157. package/dist/post-components/{p-53bd2128.entry.js → p-63dd9a76.entry.js} +1 -1
  158. package/dist/post-components/{p-f9a8ee94.entry.js → p-63e570c4.entry.js} +1 -1
  159. package/dist/post-components/{p-2005eb98.entry.js → p-64480e3a.entry.js} +1 -1
  160. package/dist/post-components/p-6a2f47af.entry.js +1 -0
  161. package/dist/post-components/p-96d07f2b.entry.js +1 -0
  162. package/dist/post-components/{p-db11f781.entry.js → p-9a1e8b1d.entry.js} +1 -1
  163. package/dist/post-components/p-BBz9PVf0.js +1 -0
  164. package/dist/post-components/p-Bl-_v3aT.js +1 -0
  165. package/dist/post-components/p-Bs0zeM5Q.js +2 -0
  166. package/dist/post-components/{p-DgnQe03V.js → p-BwhzbRIR.js} +1 -1
  167. package/dist/post-components/p-D1s6tESz.js +1 -0
  168. package/dist/post-components/p-DH-eJVHZ.js +1 -0
  169. package/dist/post-components/p-DeUk3rcv.js +1 -0
  170. package/dist/post-components/p-Dk-DtPZn.js +1 -0
  171. package/dist/post-components/{p-655ded00.entry.js → p-aa33141b.entry.js} +1 -1
  172. package/dist/post-components/{p-dc285087.entry.js → p-aff180f5.entry.js} +1 -1
  173. package/dist/post-components/{p-87b1034f.entry.js → p-bd128657.entry.js} +1 -1
  174. package/dist/post-components/{p-de6f1816.entry.js → p-c2de3702.entry.js} +1 -1
  175. package/dist/post-components/{p-0e922531.entry.js → p-d5327dd1.entry.js} +1 -1
  176. package/dist/post-components/{p-76cc3c9a.entry.js → p-e1817744.entry.js} +1 -1
  177. package/dist/post-components/{p-1ec27142.entry.js → p-e6a4146b.entry.js} +1 -1
  178. package/dist/post-components/{p-88f754e9.entry.js → p-f275b872.entry.js} +1 -1
  179. package/dist/post-components/{p-2cff5b3a.entry.js → p-f566768e.entry.js} +1 -1
  180. package/dist/post-components/{p-b9faa76b.entry.js → p-f6da5e69.entry.js} +1 -1
  181. package/dist/post-components/{p-60550edb.entry.js → p-f784e149.entry.js} +1 -1
  182. package/dist/post-components/p-f917527c.entry.js +1 -0
  183. package/dist/post-components/post-components.css +1 -1
  184. package/dist/post-components/post-components.esm.js +1 -1
  185. package/dist/types/components/post-date-picker/post-date-picker.d.ts +2 -1
  186. package/dist/types/components/post-header/post-header.d.ts +3 -1
  187. package/hydrate/index.js +39 -33
  188. package/hydrate/index.mjs +39 -33
  189. package/package.json +10 -10
  190. package/dist/components/react/p-T8T3po4z.js +0 -1
  191. package/dist/post-components/p-840acd3c.entry.js +0 -1
  192. package/dist/post-components/p-9S_5_Zh8.js +0 -1
  193. package/dist/post-components/p-BYfu3J2D.js +0 -1
  194. package/dist/post-components/p-BjziJWh2.js +0 -2
  195. package/dist/post-components/p-BoYe-VVx.js +0 -1
  196. package/dist/post-components/p-CbbADNiv.js +0 -1
  197. package/dist/post-components/p-DlKbBdcP.js +0 -1
  198. package/dist/post-components/p-T8T3po4z.js +0 -1
  199. package/dist/post-components/p-cd68d3a2.entry.js +0 -1
  200. package/dist/post-components/p-dec8bd99.entry.js +0 -1
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as e,h as t,Host as a,transformTag as s}from"@stencil/core/internal/client";import{b as i}from"./breakpoints.js";import{v as r}from"./package.js";import{d as n}from"./post-accordion2.js";import{d}from"./post-accordion-item2.js";import{d as c}from"./post-collapsible2.js";import{d as p}from"./post-collapsible-trigger2.js";import{d as l}from"./post-icon2.js";import{R as f}from"./required.js";import{T as b}from"./type.js";const m=["grid-1","grid-2","grid-3","grid-4"],g=["prefooter","socialmedia","app","businesssectors","meta","copyright"],h=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.device=i.get("device"),this.slotDisplayed={},this.breakpointChange=o=>{this.device=o.detail},this.handleGridSlotChange=this.handleGridSlotChange.bind(this),this.handleSlotChange=this.handleSlotChange.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentWillLoad(){[...m,...g].forEach((o=>{const e=this.host.querySelectorAll(`[slot="${o}"]`);this.updateSlotDisplay(o,e.length>0)}))}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange)}handleGridSlotChange(...o){return e=>{o.includes(this.device)&&e.target instanceof HTMLSlotElement&&this.updateSlotDisplay(e.target.name,e.target.assignedElements().length>0)}}handleSlotChange(o){o.target instanceof HTMLSlotElement&&this.updateSlotDisplay(o.target.name,o.target.assignedElements().length>0)}updateSlotDisplay(o,e){this.slotDisplayed[o]!==e&&(this.slotDisplayed={...this.slotDisplayed,[o]:e})}renderAccordion(){return t("post-accordion",{headingLevel:3,multiple:!0},m.map((o=>t("post-accordion-item",{key:o,class:{"d-none":!this.slotDisplayed[o]},collapsed:!0},t("span",{slot:"header"},t("slot",{name:o+"-title"})),t("slot",{onSlotchange:this.handleGridSlotChange("mobile"),name:o})))))}renderColumns(){return m.map((o=>t("div",{key:o,class:{"d-none":!this.slotDisplayed[o]}},t("h3",null,t("slot",{name:o+"-title"})),t("slot",{onSlotchange:this.handleGridSlotChange("tablet","desktop"),name:o}))))}render(){const o=this.slotDisplayed.prefooter,e=this.slotDisplayed.socialmedia,s=this.slotDisplayed.app,i=this.slotDisplayed.businesssectors,n=this.slotDisplayed.meta,d=this.slotDisplayed.copyright,c=m.every((o=>!this.slotDisplayed[o])),p=!c||e||s||i,l=d||n;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:!0,"d-none":!o}},t("div",{key:"2c900ed450bc1dc5ad655d35f5f50b1b5a268fec",class:"footer-container"},t("slot",{key:"8ab8cef6c639251543c65ed21a1f14adf043029e",onSlotchange:this.handleSlotChange,name:"prefooter"}))),t("div",{key:"e3f3bedd9725968fbce6e887e22842a7e8e5ffa5",class:{"footer-main":!0,"d-none":!p}},t("div",{key:"76cec7363e3771da636a6c0a32afbf16d5c4d405",class:"footer-container"},t("div",{key:"4e9ea3788103175b48839b6bf815d4c675769c97",class:{"footer-grid":!0,"d-none":c}},"mobile"===this.device?this.renderAccordion():this.renderColumns()),t("div",{key:"64d10c9fb543290e078f7fff098b401926b3bf4b",class:{"footer-column":!0,"d-none":!e&&!s}},t("div",{key:"05b566b43e2c4fed2919e3312a718ea392cad0f7",class:{"footer-socialmedia":!0,"d-none":!e}},t("slot",{key:"a46f739c9d4b6cbf96988f96f89d7cc093797b40",onSlotchange:this.handleSlotChange,name:"socialmedia"})),t("div",{key:"f28490dfaa982a609ba1eb393339980a358488e5",class:{"footer-app":!0,"d-none":!s}},t("slot",{key:"01c10bf12eb2f39a0dbceec320b476041d46c631",onSlotchange:this.handleSlotChange,name:"app"}))),t("div",{key:"609935b6b6ee48176d7e44919726abdaff8e6161",class:{"footer-businesssectors":!0,"d-none":!i}},t("slot",{key:"9f153ba54a08d48e55644fe58089ed7122c1cfdd",onSlotchange:this.handleSlotChange,name:"businesssectors"})))),t("div",{key:"03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a",class:{"footer-base":!0,"d-none":!l}},t("div",{key:"3eb810a55e3193295f8b9291bd824af77a5a2fac",class:"footer-container"},t("div",{key:"04c38d8d5e483b9f9cc8acca1cc8224e381651f1",class:{"footer-copyright":!0,"d-none":!d}},t("slot",{key:"fdd11e63af64161288533c21ea455f3513ac7d87",onSlotchange:this.handleSlotChange,name:"copyright"})),t("div",{key:"adffa17e5f3b94af32e489d113afd9908e2b7abf",class:{"footer-meta":!0,"d-none":!n}},t("slot",{key:"7ebaf69055332d184b86a58e57db1c214b5f08c6",onSlotchange:this.handleSlotChange,name:"meta"}))))))}get host(){return this}static get style(){return":host{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{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;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;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{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:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !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:flex;flex-wrap:wrap;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;border-block-start:1px solid #373632;padding-block:var(--post-footer-base-padding-block);gap:var(--post-footer-base-gap)}.footer-meta{font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}"}},[257,"post-footer",{textFooter:[513,"text-footer"],device:[32],slotDisplayed:[32]}]);!function(o,e,t,a){var s,i=arguments.length,r=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,e,t,a);else for(var n=o.length-1;n>=0;n--)(s=o[n])&&(r=(i<3?s(r):i>3?s(e,t,r):s(e,t))||r);i>3&&r&&Object.defineProperty(e,t,r)}([f(),b("string")],h.prototype,"textFooter",void 0);const k=h,u=function(){"undefined"!=typeof customElements&&["post-footer","post-accordion","post-accordion-item","post-collapsible","post-collapsible-trigger","post-icon"].forEach((o=>{switch(o){case"post-footer":customElements.get(s(o))||customElements.define(s(o),h);break;case"post-accordion":customElements.get(s(o))||n();break;case"post-accordion-item":customElements.get(s(o))||d();break;case"post-collapsible":customElements.get(s(o))||c();break;case"post-collapsible-trigger":customElements.get(s(o))||p();break;case"post-icon":customElements.get(s(o))||l()}}))};export{k as PostFooter,u as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as e,h as t,Host as a,transformTag as s}from"@stencil/core/internal/client";import{b as i}from"./breakpoints.js";import{v as r}from"./package.js";import{d as n}from"./post-accordion2.js";import{d}from"./post-accordion-item2.js";import{d as c}from"./post-collapsible2.js";import{d as p}from"./post-collapsible-trigger2.js";import{d as l}from"./post-icon2.js";import{R as f}from"./required.js";import{T as b}from"./type.js";const m=["grid-1","grid-2","grid-3","grid-4"],g=["prefooter","socialmedia","app","businesssectors","meta","copyright"],h=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.device=i.get("device"),this.slotDisplayed={},this.breakpointChange=o=>{this.device=o.detail},this.handleGridSlotChange=this.handleGridSlotChange.bind(this),this.handleSlotChange=this.handleSlotChange.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentWillLoad(){[...m,...g].forEach((o=>{const e=this.host.querySelectorAll(`[slot="${o}"]`);this.updateSlotDisplay(o,e.length>0)}))}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange)}handleGridSlotChange(...o){return e=>{o.includes(this.device)&&e.target instanceof HTMLSlotElement&&this.updateSlotDisplay(e.target.name,e.target.assignedElements().length>0)}}handleSlotChange(o){o.target instanceof HTMLSlotElement&&this.updateSlotDisplay(o.target.name,o.target.assignedElements().length>0)}updateSlotDisplay(o,e){this.slotDisplayed[o]!==e&&(this.slotDisplayed={...this.slotDisplayed,[o]:e})}renderAccordion(){return t("post-accordion",{headingLevel:3,multiple:!0},m.map((o=>t("post-accordion-item",{key:o,class:{"d-none":!this.slotDisplayed[o]},collapsed:!0},t("span",{slot:"header"},t("slot",{name:o+"-title"})),t("slot",{onSlotchange:this.handleGridSlotChange("mobile"),name:o})))))}renderColumns(){return m.map((o=>t("div",{key:o,class:{"d-none":!this.slotDisplayed[o]}},t("h3",null,t("slot",{name:o+"-title"})),t("slot",{onSlotchange:this.handleGridSlotChange("tablet","desktop"),name:o}))))}render(){const o=this.slotDisplayed.prefooter,e=this.slotDisplayed.socialmedia,s=this.slotDisplayed.app,i=this.slotDisplayed.businesssectors,n=this.slotDisplayed.meta,d=this.slotDisplayed.copyright,c=m.every((o=>!this.slotDisplayed[o])),p=!c||e||s||i,l=d||n;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:!0,"d-none":!o}},t("div",{key:"2c900ed450bc1dc5ad655d35f5f50b1b5a268fec",class:"footer-container"},t("slot",{key:"8ab8cef6c639251543c65ed21a1f14adf043029e",onSlotchange:this.handleSlotChange,name:"prefooter"}))),t("div",{key:"e3f3bedd9725968fbce6e887e22842a7e8e5ffa5",class:{"footer-main":!0,"d-none":!p}},t("div",{key:"76cec7363e3771da636a6c0a32afbf16d5c4d405",class:"footer-container"},t("div",{key:"4e9ea3788103175b48839b6bf815d4c675769c97",class:{"footer-grid":!0,"d-none":c}},"mobile"===this.device?this.renderAccordion():this.renderColumns()),t("div",{key:"64d10c9fb543290e078f7fff098b401926b3bf4b",class:{"footer-column":!0,"d-none":!e&&!s}},t("div",{key:"05b566b43e2c4fed2919e3312a718ea392cad0f7",class:{"footer-socialmedia":!0,"d-none":!e}},t("slot",{key:"a46f739c9d4b6cbf96988f96f89d7cc093797b40",onSlotchange:this.handleSlotChange,name:"socialmedia"})),t("div",{key:"f28490dfaa982a609ba1eb393339980a358488e5",class:{"footer-app":!0,"d-none":!s}},t("slot",{key:"01c10bf12eb2f39a0dbceec320b476041d46c631",onSlotchange:this.handleSlotChange,name:"app"}))),t("div",{key:"609935b6b6ee48176d7e44919726abdaff8e6161",class:{"footer-businesssectors":!0,"d-none":!i}},t("slot",{key:"9f153ba54a08d48e55644fe58089ed7122c1cfdd",onSlotchange:this.handleSlotChange,name:"businesssectors"})))),t("div",{key:"03fd76b711b9d9f1f912ac7a4199ee2706bd3a9a",class:{"footer-base":!0,"d-none":!l}},t("div",{key:"3eb810a55e3193295f8b9291bd824af77a5a2fac",class:"footer-container"},t("div",{key:"04c38d8d5e483b9f9cc8acca1cc8224e381651f1",class:{"footer-copyright":!0,"d-none":!d}},t("slot",{key:"fdd11e63af64161288533c21ea455f3513ac7d87",onSlotchange:this.handleSlotChange,name:"copyright"})),t("div",{key:"adffa17e5f3b94af32e489d113afd9908e2b7abf",class:{"footer-meta":!0,"d-none":!n}},t("slot",{key:"7ebaf69055332d184b86a58e57db1c214b5f08c6",onSlotchange:this.handleSlotChange,name:"meta"}))))))}get host(){return this}static get style(){return":host{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{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;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;border-block-start:1px solid #373632}.prefooter:not(.d-none)+.footer-main{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:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !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:flex;flex-wrap:wrap;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;border-block-start:1px solid #373632;padding-block-start:var(--post-footer-base-padding-block);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:flex;flex-wrap:wrap;column-gap:8px;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}"}},[257,"post-footer",{textFooter:[513,"text-footer"],device:[32],slotDisplayed:[32]}]);!function(o,e,t,a){var s,i=arguments.length,r=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,e,t,a);else for(var n=o.length-1;n>=0;n--)(s=o[n])&&(r=(i<3?s(r):i>3?s(e,t,r):s(e,t))||r);i>3&&r&&Object.defineProperty(e,t,r)}([f(),b("string")],h.prototype,"textFooter",void 0);const k=h,u=function(){"undefined"!=typeof customElements&&["post-footer","post-accordion","post-accordion-item","post-collapsible","post-collapsible-trigger","post-icon"].forEach((o=>{switch(o){case"post-footer":customElements.get(s(o))||customElements.define(s(o),h);break;case"post-accordion":customElements.get(s(o))||n();break;case"post-accordion-item":customElements.get(s(o))||d();break;case"post-collapsible":customElements.get(s(o))||c();break;case"post-collapsible-trigger":customElements.get(s(o))||p();break;case"post-icon":customElements.get(s(o))||l()}}))};export{k as PostFooter,u as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,Build as o,h as a,Host as i,transformTag as s}from"@stencil/core/internal/client";import{f as r}from"./fade.js";import{b as n}from"./breakpoints.js";import{E as d}from"./event-from.js";import{a as l}from"./get-focusable-children.js";import{v as h}from"./package.js";import{t as c}from"./index2.js";import{d as p}from"./post-icon2.js";import{d as g}from"./post-togglebutton2.js";import{R as b}from"./required.js";import{T as u}from"./type.js";var m=function(e,t,o,a){var i,s=arguments.length,r=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,a);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(s<3?i(r):s>3?i(t,o,r):i(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r};const f=e(class extends t{get hasBurgerMenu(){return"desktop"!==this.device&&this.hasMainNav}get scrollParent(){const e=document.querySelector("[data-post-scroll-locked]");if(e)return e;let t=this.host.parentElement;for(;t;){const e=getComputedStyle(t).overflowY;if(["auto","scroll"].includes(e))return t;t=t.parentElement}return document.body}lockBody(e,t,o){const a=this.scrollParent;"desktop"!==this.device&&("burgerMenuExtended"===o?e:this.burgerMenuExtended)?(a.dataset.postScrollLocked="",this.host.addEventListener("keydown",this.keyboardHandler)):(delete a.dataset.postScrollLocked,this.host.removeEventListener("keydown",this.keyboardHandler))}constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.throttledResize=c(50,(()=>this.updateLocalHeaderHeight())),this.animationOptions={duration:350,easing:"headerEase"},this.device=n.get("device"),this.hasTitle=!0,this.hasMainNav=!0,this.hasLocalNav=!0,this.burgerMenuExtended=!1,this.megadropdownOpen=!1,this.fullWidth=!1,this.breakpointChange=e=>{const t=this.device;this.device=e.detail,this.switchLanguageSwitchMode();const o="desktop"===this.device;"desktop"===t&&"desktop"!==this.device&&this.megadropdownOpen&&(this.burgerMenuExtended=!0),o&&this.burgerMenuExtended&&this.closeBurgerMenu()},this.handleScrollEvent=this.handleScrollEvent.bind(this),this.updateScrollParentHeight=this.updateScrollParentHeight.bind(this),this.updateLocalHeaderHeight=this.updateLocalHeaderHeight.bind(this),this.keyboardHandler=this.keyboardHandler.bind(this),this.handleLinkClick=this.handleLinkClick.bind(this),this.checkSlottedContent=this.checkSlottedContent.bind(this),this.megadropdownStateHandler=this.megadropdownStateHandler.bind(this)}connectedCallback(){globalThis.addEventListener("resize",this.throttledResize,{passive:!0}),globalThis.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),this.scrollParent.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),document.addEventListener("postToggleMegadropdown",this.megadropdownStateHandler),globalThis.addEventListener("postBreakpoint:device",this.breakpointChange),this.handleScrollParentResize(),this.lockBody(!1,this.burgerMenuExtended,"burgerMenuExtended")}componentWillRender(){this.handleScrollEvent(),this.handleSlottedContentChanges(),this.switchLanguageSwitchMode()}componentDidRender(){this.getFocusableElements(),this.handleLocalHeaderResize(),this.burgerMenuButton&&this.burgerMenuButton.toggled!==this.burgerMenuExtended&&(this.burgerMenuButton.toggled=this.burgerMenuExtended)}componentDidLoad(){this.updateLocalHeaderHeight(),this.host.shadowRoot.addEventListener("click",this.handleLinkClick)}disconnectedCallback(){const e=this.scrollParent;globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange),globalThis.removeEventListener("resize",this.throttledResize),globalThis.removeEventListener("scroll",this.handleScrollEvent),e&&e.removeEventListener("scroll",this.handleScrollEvent),document.removeEventListener("postToggleMegadropdown",this.megadropdownStateHandler),this.host.removeEventListener("keydown",this.keyboardHandler),this.host.shadowRoot&&this.host.shadowRoot.removeEventListener("click",this.handleLinkClick),this.scrollParentResizeObserver&&(this.scrollParentResizeObserver.disconnect(),this.scrollParentResizeObserver=null),this.localHeaderResizeObserver&&(this.localHeaderResizeObserver.disconnect(),this.localHeaderResizeObserver=null),this.slottedContentObserver&&(this.slottedContentObserver.disconnect(),this.slottedContentObserver=null),this.burgerMenuExtended=!1}async closeBurgerMenu(){this.burgerMenuAnimation?.finish(),this.burgerMenuButton&&(this.burgerMenuButton.toggled=!1),this.burgerMenuExtended=!1}async toggleBurgerMenu(e=!this.burgerMenuExtended){"desktop"!==this.device&&e!==this.burgerMenuExtended&&(this.burgerMenuAnimation=r(this.burgerMenu,this.burgerMenuExtended?"out":"in",this.animationOptions),this.burgerMenuButton&&this.burgerMenuButton.toggled!==e&&(this.burgerMenuButton.toggled=e),this.burgerMenuExtended?(await this.burgerMenuAnimation.finished,this.burgerMenuExtended=e,!1===this.burgerMenuExtended&&(this.closeAllMegadropdowns(),this.burgerMenu.scrollTop=0)):(this.burgerMenuExtended=e,this.megadropdownOpen&&this.closeAllMegadropdowns()))}megadropdownStateHandler(e){this.megadropdownOpen=e.detail.isVisible}getFocusableElements(){if(!this.burgerMenu)return;const e=[this.burgerMenuButton];e.push(...l(this.localHeader,(e=>!e.matches("post-megadropdown"))),...l(this.burgerMenu,(e=>!e.matches("post-megadropdown")))),this.firstFocusableEl=e[0],this.lastFocusableEl=e.at(-1)}keyboardHandler(e){if("Tab"!==e.key||!this.burgerMenuExtended)return;const t=this.host.shadowRoot.activeElement||document.activeElement;e.shiftKey&&t===this.firstFocusableEl?(e.preventDefault(),this.lastFocusableEl.focus()):e.shiftKey||t!==this.lastFocusableEl||(e.preventDefault(),this.firstFocusableEl.focus())}closeAllMegadropdowns(){Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((e=>{e.hide(!1,!0)})),this.megadropdownOpen=!1}handleScrollEvent(){const e=this.scrollParent===document.body?window.scrollY:this.scrollParent.scrollTop;document.documentElement.style.setProperty("--post-header-scroll-top",Math.max(e,0)+"px")}updateLocalHeaderHeight(){const e=this.host.shadowRoot.querySelector(".local-header");e&&document.documentElement.style.setProperty("--post-local-header-expanded-height",e.clientHeight+"px")}updateScrollParentHeight(){this.host.style.setProperty("--post-header-scroll-parent-height",this.scrollParent.clientHeight+"px")}handleLinkClick(e){const t=e.target,o=t.closest("post-mainnavigation a"),a=t.closest("post-megadropdown a");(o||a)&&(this.burgerMenuExtended&&(o||a)&&this.toggleBurgerMenu(!1),"desktop"===this.device&&a)&&t.closest("post-megadropdown a")&&t.closest("post-megadropdown").hide(!0)}handleScrollParentResize(){this.scrollParent&&(this.scrollParentResizeObserver=new ResizeObserver(this.updateScrollParentHeight),this.scrollParentResizeObserver.observe(this.scrollParent))}handleLocalHeaderResize(){const e=this.host.shadowRoot.querySelector(".local-header");e&&!this.localHeaderResizeObserver&&(this.localHeaderResizeObserver=new ResizeObserver(this.updateLocalHeaderHeight),this.localHeaderResizeObserver.observe(e))}handleSlottedContentChanges(){this.slottedContentObserver||(this.checkSlottedContent(),this.slottedContentObserver=new MutationObserver(this.checkSlottedContent),this.slottedContentObserver.observe(this.host,{childList:!0}))}checkSlottedContent(){o.isServer||(this.hasTitle=!!this.host.querySelector('[slot="title"]'),this.hasMainNav=!!this.host.querySelector('[slot="main-nav"]'),this.hasLocalNav=!!this.host.querySelector('[slot="local-nav"]'))}switchLanguageSwitchMode(){const e=this.hasBurgerMenu?"list":"menu";Array.from(this.host.querySelectorAll("post-language-menu")).forEach((t=>{t?.setAttribute("variant",e)}))}onFocusChange(){const e=this.getDeepActiveElement()?.matches(":focus-visible"),t=this.host.matches(":focus-within"),o="desktop"===this.device?!!this.host.querySelector("post-mainnavigation:focus-within"):!!this.host.shadowRoot?.querySelector(":is(.global-header, .burger-menu):focus-within");this.host.toggleAttribute("data-expanded",e&&t&&!o)}getDeepActiveElement(){let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e}renderBurgerMenu(){return a("div",{class:{"burger-menu":!0,extended:this.burgerMenuExtended,"second-level-open":this.megadropdownOpen},style:{"--post-header-navigation-current-inset":(this.burgerMenu?.scrollTop??0)+"px"},ref:e=>this.burgerMenu=e},this.hasLocalNav&&!this.hasTitle&&a("div",{class:"local-nav"},a("slot",{name:"local-nav"})),a("div",{class:"burger-menu-body"},a("slot",{name:"audience"}),a("slot",{name:"main-nav"})),a("div",{class:"burger-menu-footer"},a("slot",{name:"global-nav-secondary"}),a("slot",{name:"language-menu"})))}render(){const e=o.isServer||"desktop"===this.device,t=o.isServer||"desktop"!==this.device;return a(i,{key:"d288ef2e58942c2cbc5da673076548c97eef04ed","data-version":h,"data-color-scheme":"light","data-burger-menu":this.hasBurgerMenu,"data-menu-extended":this.burgerMenuExtended},a("header",{key:"5357f3edf382dec9b552fdfe9fb51d0878de697c"},a("div",{key:"bafa11390b33056e5a3d1a8a2922fd3a43a25020",class:"global-header"},a("div",{key:"2d54e8d2931864880ff7a28aea64625e775ce327",class:"section"},a("div",{key:"b3a87bbf3b87213e22043d58a7298d0cff530cdf",class:"logo"},a("slot",{key:"9d559b9231dc23841e277d3f4633cdeba2da12b2",name:"post-logo"})),a("div",{key:"64ebd463868ce8b417023651e745e33331feb908",class:"sliding-controls"},e&&a("div",{key:"b4e7d7231a0d8bebe620d41cb655c3686449b19f",class:"audience"},a("slot",{key:"0781a76b1853a842dc74ec2a2a649f7de487e148",name:"audience"})),a("slot",{key:"25f1d5b34a5aa950014214f810f3acca95dbbe80",name:"global-nav-primary"}),(e||!this.hasMainNav)&&[a("slot",{key:"global-nav-secondary",name:"global-nav-secondary"}),a("slot",{key:"language-menu",name:"language-menu"})],a("slot",{key:"d7121e5e9ddf825f96a3a82e65ff135c61891adb",name:"post-login"}),t&&this.hasMainNav&&a("post-togglebutton",{key:"dd0bcf9cfd96d4ffa44fc549d518d7b39d287156",class:"burger-button",ref:e=>this.burgerMenuButton=e,onClick:()=>this.toggleBurgerMenu()},a("span",{key:"23004cb12733a7081f828d33327cc26adafe3888"},this.textMenu),a("post-icon",{key:"7fb36892eadfcce0a85d964c411aeafc3fbbde1b","aria-hidden":"true",name:"burger","data-showwhen":"untoggled"}),a("post-icon",{key:"a41292205573c03f25d225d4f4296f75ffe6c7ce","aria-hidden":"true",name:"closex","data-showwhen":"toggled"}))))),a("div",{key:"7d6d1424881bb5277210c86b194dfb9e5dcb7c59",ref:e=>this.localHeader=e,class:{"local-header":!0,"megadropdown-open":this.megadropdownOpen}},a("div",{key:"724a8d3f79112875ba343470f9d0b753ce5d4861",class:"section"},a("slot",{key:"688aafdec4e4d5565f3d0a9d9bd9bb7bc78152be",name:"side-nav"}),a("slot",{key:"12590bfb4bfcc8c565f008a8e3d75b5951eb73bc",name:"title"}),this.hasTitle&&a("slot",{key:"d862de0f3aaba5ea22a26c387ea7e93dc0c5e79c",name:"local-nav"}),e&&a("slot",{key:"1a25ec6694bc8b2c06e21449dc566f36595afbb5",name:"main-nav"}),e&&!this.hasTitle&&a("slot",{key:"987c26ee73fb19049fdd19de79b537b71e2771de",name:"local-nav"}))),this.hasBurgerMenu&&this.renderBurgerMenu()))}get host(){return this}static get watchers(){return{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}}static get style(){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{box-sizing:border-box}:host,header,.global-header,.local-header{transition:inset-block-start 150ms cubic-bezier(0.4, 0, 0.2, 1)}.section,.sliding-controls{display:flex;align-items:center;justify-content:space-between;gap:var(--post-header-gap);flex-wrap:wrap}.section{max-width:var(--post-header-content-max-width);margin-inline:auto}:host{display:block;position:sticky;inset-block-start:var(--post-header-top);z-index:1020;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}}.global-header{z-index:2;position:sticky;inset-block-start:var(--post-global-header-top);background-color:#fc0}.global-header .section{height:var(--post-global-header-expanded-height);padding-inline-start:var(--post-global-header-padding-inline-start);padding-inline-end:var(--post-global-header-padding-inline-end)}.global-header .logo{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%;margin-inline-end:calc(20px - var(--post-header-gap));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{flex-grow:1;justify-content:flex-end;position:relative;inset-block-start:var(--post-global-controls-top)}.global-header .audience{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);align-items:var(--post-local-header-align-items, center)}.local-header .section{width:100%;padding-inline-start:var(--post-local-header-padding-inline-start);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:flex;align-self:center}}@media screen and (max-width: 1023.98px)and (max-width: 599.98px){.local-header .section{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{flex:0 0 auto}@media screen and (max-width: 1023.98px){.local-header slot[name=main-nav]{display:none}}.burger-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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: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:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.burger-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){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;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){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:flex;flex-direction:column;background-color:#fafafa}.burger-menu.extended.second-level-open{overflow:hidden}.burger-menu:not(.extended){transform:translateY(-100%);display:none}.burger-menu:not(.extended)>*{display:none}.burger-menu .burger-menu-body,.burger-menu .burger-menu-footer{display:flex;flex-direction:column;padding-inline:var(--post-burger-menu-padding-inline)}.burger-menu .burger-menu-body{flex-grow:1;padding-block:24px;gap:var(--post-burger-menu-body-gap)}.burger-menu .burger-menu-footer{background-color:#f0efed;padding-block:16px 24px;gap:var(--post-burger-menu-footer-gap)}.burger-menu .local-nav{min-height:56px;display:flex;align-items:center;justify-content:flex-end;padding-inline:4px}'}},[257,"post-header",{fullWidth:[516,"full-width"],textMenu:[513,"text-menu"],device:[32],hasTitle:[32],hasMainNav:[32],hasLocalNav:[32],burgerMenuExtended:[32],megadropdownOpen:[32],toggleBurgerMenu:[64]},[[0,"focusin","onFocusChange"],[0,"focusout","onFocusChange"]],{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}]);m([b(),u("boolean")],f.prototype,"fullWidth",void 0),m([b(),u("string")],f.prototype,"textMenu",void 0),m([d("post-megadropdown")],f.prototype,"megadropdownStateHandler",null);const v=f,x=function(){"undefined"!=typeof customElements&&["post-header","post-icon","post-togglebutton"].forEach((e=>{switch(e){case"post-header":customElements.get(s(e))||customElements.define(s(e),f);break;case"post-icon":customElements.get(s(e))||p();break;case"post-togglebutton":customElements.get(s(e))||g()}}))};export{v as PostHeader,x as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,Build as o,h as a,Host as i,transformTag as s}from"@stencil/core/internal/client";import{f as r}from"./fade.js";import{b as n}from"./breakpoints.js";import{E as d}from"./event-from.js";import{a as l}from"./get-focusable-children.js";import{v as h}from"./package.js";import{t as c}from"./index2.js";import{d as p}from"./post-icon2.js";import{d as g}from"./post-togglebutton2.js";import{R as b}from"./required.js";import{T as u}from"./type.js";var m=function(e,t,o,a){var i,s=arguments.length,r=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,a);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(s<3?i(r):s>3?i(t,o,r):i(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r};const f=e(class extends t{get hasBurgerMenu(){return"desktop"!==this.device&&this.hasMainNav}get scrollParent(){const e=document.querySelector("[data-post-scroll-locked]");if(e)return e;let t=this.host.parentElement;for(;t;){const e=getComputedStyle(t).overflowY;if(["auto","scroll"].includes(e))return t;t=t.parentElement}return document.body}lockBody(e,t,o){const a=this.scrollParent;"desktop"!==this.device&&("burgerMenuExtended"===o?e:this.burgerMenuExtended)?(a.dataset.postScrollLocked="",this.host.addEventListener("keydown",this.keyboardHandler)):(delete a.dataset.postScrollLocked,this.host.removeEventListener("keydown",this.keyboardHandler))}constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.throttledResize=c(50,(()=>this.updateLocalHeaderHeight())),this.animationOptions={duration:350,easing:"headerEase"},this.device=n.get("device"),this.hasTitle=!0,this.hasMainNav=!0,this.hasLocalNav=!0,this.burgerMenuExtended=!1,this.megadropdownOpen=!1,this.fullWidth=!1,this.breakpointChange=e=>{const t=this.device;this.device=e.detail,this.switchLanguageSwitchMode();const o="desktop"===this.device;"desktop"===t&&"desktop"!==this.device&&this.megadropdownOpen&&(this.burgerMenuExtended=!0),o&&this.burgerMenuExtended&&this.closeBurgerMenu()},this.handleScrollEvent=this.handleScrollEvent.bind(this),this.updateScrollParentHeight=this.updateScrollParentHeight.bind(this),this.updateLocalHeaderHeight=this.updateLocalHeaderHeight.bind(this),this.keyboardHandler=this.keyboardHandler.bind(this),this.handleLinkClick=this.handleLinkClick.bind(this),this.checkSlottedContent=this.checkSlottedContent.bind(this),this.megadropdownStateHandler=this.megadropdownStateHandler.bind(this)}connectedCallback(){globalThis.addEventListener("resize",this.throttledResize,{passive:!0}),globalThis.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),this.scrollParent.addEventListener("scroll",this.handleScrollEvent,{passive:!0}),document.addEventListener("postToggleMegadropdown",this.megadropdownStateHandler),globalThis.addEventListener("postBreakpoint:device",this.breakpointChange),this.handleScrollParentResize(),this.lockBody(!1,this.burgerMenuExtended,"burgerMenuExtended")}componentWillRender(){this.handleScrollEvent(),this.handleSlottedContentChanges(),this.switchLanguageSwitchMode()}componentDidRender(){this.getFocusableElements(),this.handleLocalHeaderResize(),this.burgerMenuButton&&this.burgerMenuButton.toggled!==this.burgerMenuExtended&&(this.burgerMenuButton.toggled=this.burgerMenuExtended)}componentDidLoad(){this.updateLocalHeaderHeight(),this.host.shadowRoot.addEventListener("click",this.handleLinkClick)}disconnectedCallback(){const e=this.scrollParent;globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange),globalThis.removeEventListener("resize",this.throttledResize),globalThis.removeEventListener("scroll",this.handleScrollEvent),e&&e.removeEventListener("scroll",this.handleScrollEvent),document.removeEventListener("postToggleMegadropdown",this.megadropdownStateHandler),this.host.removeEventListener("keydown",this.keyboardHandler),this.host.shadowRoot&&this.host.shadowRoot.removeEventListener("click",this.handleLinkClick),this.scrollParentResizeObserver&&(this.scrollParentResizeObserver.disconnect(),this.scrollParentResizeObserver=null),this.localHeaderResizeObserver&&(this.localHeaderResizeObserver.disconnect(),this.localHeaderResizeObserver=null),this.slottedContentObserver&&(this.slottedContentObserver.disconnect(),this.slottedContentObserver=null),this.burgerMenuExtended=!1}async closeBurgerMenu(){this.burgerMenuAnimation?.finish(),this.burgerMenuButton&&(this.burgerMenuButton.toggled=!1),this.burgerMenuExtended=!1}async toggleBurgerMenu(e=!this.burgerMenuExtended){"desktop"!==this.device&&e!==this.burgerMenuExtended&&(this.burgerMenuAnimation=r(this.burgerMenu,this.burgerMenuExtended?"out":"in",this.animationOptions),this.burgerMenuButton&&this.burgerMenuButton.toggled!==e&&(this.burgerMenuButton.toggled=e),this.burgerMenuExtended?(await this.burgerMenuAnimation.finished,this.burgerMenuExtended=e,!1===this.burgerMenuExtended&&(this.closeAllMegadropdowns(),this.burgerMenu.scrollTop=0)):(this.burgerMenuExtended=e,this.megadropdownOpen&&this.closeAllMegadropdowns()))}megadropdownStateHandler(e){this.megadropdownOpen=e.detail.isVisible}getFocusableElements(){if(!this.burgerMenu)return;const e=[this.burgerMenuButton];e.push(...l(this.localHeader,(e=>!e.matches("post-megadropdown"))),...l(this.burgerMenu,(e=>!e.matches("post-megadropdown")))),this.firstFocusableEl=e[0],this.lastFocusableEl=e.at(-1)}keyboardHandler(e){if("Tab"!==e.key||!this.burgerMenuExtended)return;const t=this.host.shadowRoot.activeElement||document.activeElement;e.shiftKey&&t===this.firstFocusableEl?(e.preventDefault(),this.lastFocusableEl.focus()):e.shiftKey||t!==this.lastFocusableEl||(e.preventDefault(),this.firstFocusableEl.focus())}closeAllMegadropdowns(){Array.from(this.host.querySelectorAll("post-megadropdown")).forEach((e=>{e.hide(!1,!0)})),this.megadropdownOpen=!1}handleScrollEvent(){const e=this.scrollParent===document.body?window.scrollY:this.scrollParent.scrollTop;document.documentElement.style.setProperty("--post-header-scroll-top",Math.max(e,0)+"px")}updateLocalHeaderHeight(){const e=this.host.shadowRoot.querySelector(".local-header");e&&document.documentElement.style.setProperty("--post-local-header-expanded-height",e.clientHeight+"px")}updateScrollParentHeight(){this.host.style.setProperty("--post-header-scroll-parent-height",this.scrollParent.clientHeight+"px")}handleLinkClick(e){const t=e.target,o=t.closest("post-mainnavigation a"),a=t.closest("post-megadropdown a");(o||a)&&(this.burgerMenuExtended&&(o||a)&&this.toggleBurgerMenu(!1),"desktop"===this.device&&a)&&t.closest("post-megadropdown a")&&t.closest("post-megadropdown").hide(!0)}handleScrollParentResize(){this.scrollParent&&(this.scrollParentResizeObserver=new ResizeObserver(this.updateScrollParentHeight),this.scrollParentResizeObserver.observe(this.scrollParent))}handleLocalHeaderResize(){const e=this.host.shadowRoot.querySelector(".local-header");e&&!this.localHeaderResizeObserver&&(this.localHeaderResizeObserver=new ResizeObserver(this.updateLocalHeaderHeight),this.localHeaderResizeObserver.observe(e))}handleSlottedContentChanges(){this.slottedContentObserver||(this.checkSlottedContent(),this.slottedContentObserver=new MutationObserver(this.checkSlottedContent),this.slottedContentObserver.observe(this.host,{childList:!0}))}checkSlottedContent(){o.isServer||(this.hasTitle=!!this.host.querySelector('[slot="title"]'),this.hasMainNav=!!this.host.querySelector('[slot="main-nav"]'),this.hasLocalNav=!!this.host.querySelector('[slot="local-nav"]'))}switchLanguageSwitchMode(){const e=this.hasBurgerMenu?"list":"menu";Array.from(this.host.querySelectorAll("post-language-menu")).forEach((t=>{t?.setAttribute("variant",e)}))}onFocusChange(e){if("focusout"===e.type&&this.isWithinHeader(e.relatedTarget))return;const t=this.getDeepActiveElement()?.matches(":focus-visible"),o="focusin"===e.type,a="desktop"===this.device?this.globalHeader:this.localHeader,i=e.composedPath().includes(a);this.host.toggleAttribute("data-expanded",t&&o&&i)}isWithinHeader(e){return e instanceof Node&&(e===this.host||this.host.contains(e))}getDeepActiveElement(){let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e}renderBurgerMenu(){return a("div",{class:{"burger-menu":!0,extended:this.burgerMenuExtended,"second-level-open":this.megadropdownOpen},style:{"--post-header-navigation-current-inset":(this.burgerMenu?.scrollTop??0)+"px"},ref:e=>this.burgerMenu=e},this.hasLocalNav&&!this.hasTitle&&a("div",{class:"local-nav"},a("slot",{name:"local-nav"})),a("div",{class:"burger-menu-body"},a("slot",{name:"audience"}),a("slot",{name:"main-nav"})),a("div",{class:"burger-menu-footer"},a("slot",{name:"global-nav-secondary"}),a("slot",{name:"language-menu"})))}render(){const e=o.isServer||"desktop"===this.device,t=o.isServer||"desktop"!==this.device;return a(i,{key:"b56ff059c4b6b855a4b05012822d29b59893db1e","data-version":h,"data-color-scheme":"light","data-burger-menu":this.hasBurgerMenu,"data-menu-extended":this.burgerMenuExtended},a("header",{key:"f8b6e0fc7f56e4b07e2efa518a83cbac1ca99aa1"},a("div",{key:"46a213668dafe872c97ecc1eba14aa26f43e9d7b",ref:e=>this.globalHeader=e,class:"global-header"},a("div",{key:"4b2e823d1b3029dec5fbe00bdc85cdac2d9620b7",class:"section"},a("div",{key:"d82d6fe19a4bb0fa5803e34f203e23bf0e50a54c",class:"logo"},a("slot",{key:"b7658b72eb94cd41f616c035b5bbdc5c74f54553",name:"post-logo"})),a("div",{key:"7e85473a77094a2636c33536dd97e8a1cbaef808",class:"sliding-controls"},e&&a("div",{key:"c517e32382d0d79152f41ba0027466a9d4248a31",class:"audience"},a("slot",{key:"35904084eae6c4ac4181b3b60ce884413195c8f0",name:"audience"})),a("slot",{key:"1de9359402c52f416c44607282f5a3f47af246b8",name:"global-nav-primary"}),(e||!this.hasMainNav)&&[a("slot",{key:"global-nav-secondary",name:"global-nav-secondary"}),a("slot",{key:"language-menu",name:"language-menu"})],a("slot",{key:"d0d23f956bac35b11fc4131320312e2a585b1a4b",name:"post-login"}),t&&this.hasMainNav&&a("post-togglebutton",{key:"572e58fdc028cff601ee2338b8fd3f8d06f5dbea",class:"burger-button",ref:e=>this.burgerMenuButton=e,onClick:()=>this.toggleBurgerMenu()},a("span",{key:"154559ace747114de3459dd4c0648bad420c2264"},this.textMenu),a("post-icon",{key:"5d6092bc43f79873881f5f0f1bb06931dbcf078a","aria-hidden":"true",name:"burger","data-showwhen":"untoggled"}),a("post-icon",{key:"e10de4db6a93d712a5b9d2e8d3f97d2e7bc6f981","aria-hidden":"true",name:"closex","data-showwhen":"toggled"}))))),a("div",{key:"dc13f512041dbe8036c1a7932647c58bceae9115",ref:e=>this.localHeader=e,class:{"local-header":!0,"megadropdown-open":this.megadropdownOpen}},a("div",{key:"f0e2e41c8cd1aceb429779d36c262ae2a6c7046b",class:"section"},a("slot",{key:"217a18a42179e9e5cdad5020487a1b9f6cdad55f",name:"side-nav"}),a("slot",{key:"e9659713979eb9b4036a73a9096800e965b7d743",name:"title"}),this.hasTitle&&a("slot",{key:"b369555b161852eb1fd7f7bd3d416e3b6e7c011d",name:"local-nav"}),e&&a("slot",{key:"ecbc8c9e1eab8d08f8dd57a942621a8fc8035bde",name:"main-nav"}),e&&!this.hasTitle&&a("slot",{key:"f8819094ba68ccda390b9eb97b422c9b41297f6e",name:"local-nav"}))),this.hasBurgerMenu&&this.renderBurgerMenu()))}get host(){return this}static get watchers(){return{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}}static get style(){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{box-sizing:border-box}:host,header,.global-header,.local-header{transition:inset-block-start 150ms cubic-bezier(0.4, 0, 0.2, 1)}.section,.sliding-controls{display:flex;align-items:center;justify-content:space-between;gap:var(--post-header-gap);flex-wrap:wrap}.section{max-width:var(--post-header-content-max-width);margin-inline:auto}:host{display:block;position:sticky;inset-block-start:var(--post-header-top);z-index:1020;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}}.global-header{z-index:2;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);padding-inline-start:var(--post-global-header-padding-inline-start);padding-inline-end:var(--post-global-header-padding-inline-end)}.global-header .logo{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%;margin-inline-end:calc(20px - var(--post-header-gap));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{flex-grow:1;justify-content:flex-end;position:relative;inset-block-start:var(--post-global-controls-top)}.global-header .audience{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);align-items:var(--post-local-header-align-items, center)}.local-header .section{width:100%;padding-inline-start:var(--post-local-header-padding-inline-start);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:flex;align-self:center}}@media screen and (max-width: 1023.98px)and (max-width: 599.98px){.local-header .section{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{flex:0 0 auto}@media screen and (max-width: 1023.98px){.local-header slot[name=main-nav]{display:none}}.burger-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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: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:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.burger-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){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;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){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:flex;flex-direction:column;background-color:#fafafa}.burger-menu.extended.second-level-open{overflow:hidden}.burger-menu:not(.extended){transform:translateY(-100%);display:none}.burger-menu:not(.extended)>*{display:none}.burger-menu .burger-menu-body,.burger-menu .burger-menu-footer{display:flex;flex-direction:column;padding-inline:var(--post-burger-menu-padding-inline)}.burger-menu .burger-menu-body{flex-grow:1;padding-block:24px;gap:var(--post-burger-menu-body-gap)}.burger-menu .burger-menu-footer{background-color:#f0efed;padding-block-start:16px;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:flex;align-items:center;justify-content:flex-end;padding-inline:4px}'}},[257,"post-header",{fullWidth:[516,"full-width"],textMenu:[513,"text-menu"],device:[32],hasTitle:[32],hasMainNav:[32],hasLocalNav:[32],burgerMenuExtended:[32],megadropdownOpen:[32],toggleBurgerMenu:[64]},[[0,"focusin","onFocusChange"],[0,"focusout","onFocusChange"]],{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}]);m([b(),u("boolean")],f.prototype,"fullWidth",void 0),m([b(),u("string")],f.prototype,"textMenu",void 0),m([d("post-megadropdown")],f.prototype,"megadropdownStateHandler",null);const v=f,x=function(){"undefined"!=typeof customElements&&["post-header","post-icon","post-togglebutton"].forEach((e=>{switch(e){case"post-header":customElements.get(s(e))||customElements.define(s(e),f);break;case"post-icon":customElements.get(s(e))||p();break;case"post-togglebutton":customElements.get(s(e))||g()}}))};export{v as PostHeader,x as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,createEvent as i,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";import{r}from"./utils.js";import{f as a}from"./fade-slide.js";import{b as c}from"./breakpoints.js";import{g as d}from"./get-focusable-children.js";import{v as h}from"./package.js";import{d as l}from"./post-closebutton2.js";import{d as p}from"./post-icon2.js";import{R as u}from"./required.js";import{T as b}from"./type.js";const m={translate:100,duration:500,easing:"ease",fill:"none"};var f=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const g=t(class t extends e{static{this.activeDropdown=null}get megadropdownTrigger(){const t=this.host.getAttribute("id");return t?document.querySelector(`post-megadropdown-trigger[for="${t}"]`):null}constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postToggleMegadropdown=i(this,"postToggleMegadropdown",7),this.currentAnimation=null,this.isAnimating=!1,this.fsAnimationOptions={translate:-10,duration:350,easing:"headerEase"},this.device=c.get("device"),this.isVisible=!1,this.trigger=!1,this.animationClass=null,this.breakpointChange=t=>{this.device=t.detail,this.cancelAnimation()},this.handleClickOutside=async t=>{if("desktop"!==this.device)return;const i=t.target;if(!this.host.contains(i)&&!this.megadropdownTrigger.contains(i)){if(i instanceof e){const t=i.closest("post-megadropdown-trigger");if(t&&t.getAttribute("for")!==this.host.id)return}await this.hide(!1)}},this.keyboardHandler=this.keyboardHandler.bind(this),this.handleTabOutside=this.handleTabOutside.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentDidRender(){this.getFocusableElements()}componentDidLoad(){this.checkInitialAriaCurrent(),this.setupObserver(),this.handleAriaCurrentChange([])}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange),t.activeDropdown===this&&(t.activeDropdown=null),this.removeListeners(),this.defaultSlotObserver&&this.defaultSlotObserver.disconnect()}async toggle(){return this.isAnimating?this.isVisible?this.show():this.hide():this.isVisible?this.hide():this.show()}async show(){if("desktop"!==this.device){const t=this.megadropdownTrigger;t&&(this.megadropdownTitle=t.innerHTML)}let e=!1;if(t.activeDropdown&&t.activeDropdown!==this&&(t.activeDropdown.forceClose(),e=!0),this.cancelAnimation(),this.isVisible=!0,t.activeDropdown=this,this.postToggleMegadropdown.emit({isVisible:!0}),e)this.focusFirst(),this.addListeners();else try{await this.animate("in"),this.focusFirst(),this.addListeners()}catch{this.removeListeners(),this.isVisible=!1,t.activeDropdown===this&&(t.activeDropdown=null),this.postToggleMegadropdown.emit({isVisible:!1,focusParent:!0})}}async hide(e=!0,i=!1){if(i)this.forceClose();else{this.postToggleMegadropdown.emit({isVisible:!1,focusParent:e});try{await this.animate("out"),this.isVisible=!1,this.removeListeners(),t.activeDropdown===this&&(t.activeDropdown=null)}catch{t.activeDropdown=this,this.addListeners(),this.isVisible=!0,this.postToggleMegadropdown.emit({isVisible:!0,focusParent:!1})}}}async focusFirst(){this.firstFocusableEl?.focus()}forceClose(){this.removeListeners(),this.postToggleMegadropdown.emit({isVisible:!1,focusParent:!1}),this.isVisible=!1,t.activeDropdown===this&&(t.activeDropdown=null)}createAnimation(t){return"desktop"===this.device?a(this.animatedContainer,t,this.fsAnimationOptions):function(t,e,i={}){const o={...m,...i},{translate:s}=o,n=[{transform:`translateX(${s}%)`},{transform:"translateX(0)"}];return function(t,e,i){const{duration:o,easing:s,fill:n}={...m,...i};return t.animate(e,{duration:o,easing:r(s),fill:n})}(t,"in"===e?n:[...n].reverse(),i)}(this.animatedContainer,t,{translate:100,duration:350,easing:"in"===t?"ease-in":"ease-out"})}async animate(t){this.cancelAnimation(),this.currentAnimation=this.createAnimation(t),this.isAnimating=!0,await this.currentAnimation.finished,this.isAnimating=!1,this.currentAnimation=null}cancelAnimation(){this.currentAnimation?.cancel(),this.currentAnimation=null}addListeners(){this.host.addEventListener("keydown",this.keyboardHandler),document.addEventListener("keyup",this.handleTabOutside),document.addEventListener("mousedown",this.handleClickOutside)}removeListeners(){this.host.removeEventListener("keydown",this.keyboardHandler),document.removeEventListener("keyup",this.handleTabOutside),document.removeEventListener("mousedown",this.handleClickOutside)}getFocusableElements(){const t=[...d(this.host),...d(this.host.shadowRoot)];this.firstFocusableEl=t[0],this.lastFocusableEl=t.at(-1)}keyboardHandler(t){if("Tab"!==t.key||"desktop"===this.device)return;const e=this.host.shadowRoot.activeElement||document.activeElement;t.shiftKey&&e===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||e!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus())}handleTabOutside(t){"Tab"===t.key&&"desktop"===this.device&&this.isVisible&&!this.host.contains(t.target)&&this.hide(!1)}setupObserver(){this.defaultSlotObserver=new MutationObserver(this.handleAriaCurrentChange.bind(this)),this.defaultSlotObserver.observe(this.host,{subtree:!0,attributes:!0,attributeFilter:["aria-current"]})}setTriggerActive(t){const e=this.megadropdownTrigger;e&&e.setAttribute("active",""+t)}handleAriaCurrentChange(t){if(0===t.length)return;const i=t.some((t=>t.target instanceof e&&"page"===t.target.getAttribute("aria-current")));this.setTriggerActive(i)}checkInitialAriaCurrent(){this.host.querySelector('[aria-current="page"]')&&this.setTriggerActive(!0)}render(){return o(s,{key:"c0854fff62bf5e8de1597e46051aea5f300ee686",version:h},o("div",{key:"1f4f66b74d7129481d76f1eec15a924b2c37718c",ref:t=>this.animatedContainer=t,class:"megadropdown",style:this.isVisible?{}:{display:"none"}},o("div",{key:"af743442fe3ad6211cddccddf5d0803de9f501b5",class:"section"},"desktop"!==this.device&&this.megadropdownTitle&&o("p",{key:"35a03b2ee32498aa157140d4e6916cbf66655e5c",class:"megadropdown-title"},this.megadropdownTitle),o("div",{key:"6c4efb52e7bb04c4f40d5b3f739ca69771c48602",class:"megadropdown-content"},o("slot",{key:"2b3200495cf23fe049734de9de9a5a1f4c9b09f3"})),"desktop"===this.device?o("post-closebutton",{onClick:()=>this.hide(!0),class:"close-button",size:"small",placement:"manual"},this.textClose):o("button",{onClick:()=>this.hide(!0),class:"back-button"},o("post-icon",{name:"arrowleft"}),this.textBack))))}get host(){return this}static get style(){return"*,::before,::after{box-sizing:border-box}.megadropdown{position:absolute;inset-inline:0;overflow-y:auto;box-shadow:var(--post-device-elevation-300)}@media screen and (min-width: 1024px){.megadropdown{max-height:calc(100vh - var(--post-header-height) - 48px);background-color:#f0efed;z-index:-1;inset-block-start:100%}.megadropdown.slide-in{animation:slide-down 350ms forwards}.megadropdown.slide-out{animation:slide-up 350ms forwards}}@media screen and (max-width: 1023.98px){.megadropdown{background-color:#fafafa;z-index:1;inset-block-start:var(--post-header-navigation-current-inset);overscroll-behavior:contain}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.megadropdown{border-block-end:1px solid CanvasText}}.section{width:100%;max-width:var(--post-header-content-max-width);margin-inline:auto;position:relative}@media screen and (min-width: 1024px){.section{padding:48px 40px 40px}}@media screen and (max-width: 1023.98px){.section{display:flex;flex-direction:column;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));padding-inline:var(--post-burger-menu-padding-inline);padding-block-start:24px}}@media screen and (max-width: 1023.98px){.section .megadropdown-content{padding-block-end:24px}}.megadropdown-title{margin-block:0 16px;font-weight:950}@media screen and (min-width: 600px)and (max-width: 1023.98px){.megadropdown-title{font-size:1.25rem}}@media screen and (min-width: 0)and (max-width: 599.98px){.megadropdown-title{font-size:1.125rem}}.back-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;min-height:var(--post-device-sizing-interactive-button-height-4);gap:var(--post-device-spacing-gap-inline-11);padding:0 var(--post-device-spacing-padding-inline-7);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);order:-1;width:fit-content;padding-inline:0}.back-button:not(:disabled):hover{text-decoration:none}.back-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.back-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}.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.back-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){.back-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){.back-button{border-width:1px !important;transition:none}.back-button:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.back-button>post-icon{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.back-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)}@media screen and (min-width: 600px)and (max-width: 1023.98px){.back-button{margin-block-end:32px}}@media screen and (min-width: 0)and (max-width: 599.98px){.back-button{margin-block-end:24px}}.close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}@media screen and (max-width: 1023.98px){.close-button{display:none}}"}},[257,"post-megadropdown",{textClose:[513,"text-close"],textBack:[513,"text-back"],device:[32],isVisible:[32],trigger:[32],megadropdownTitle:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}]);f([u(),b("string")],g.prototype,"textClose",void 0),f([u(),b("string")],g.prototype,"textBack",void 0);const v=g,w=function(){"undefined"!=typeof customElements&&["post-megadropdown","post-closebutton","post-icon"].forEach((t=>{switch(t){case"post-megadropdown":customElements.get(n(t))||customElements.define(n(t),g);break;case"post-closebutton":customElements.get(n(t))||l();break;case"post-icon":customElements.get(n(t))||p()}}))};export{v as PostMegadropdown,w as defineCustomElement}
1
+ import{proxyCustomElement as t,HTMLElement as e,createEvent as i,h as o,Host as s,transformTag as n}from"@stencil/core/internal/client";import{r as a}from"./utils.js";import{f as r}from"./fade-slide.js";import{b as c}from"./breakpoints.js";import{g as d}from"./get-focusable-children.js";import{v as h}from"./package.js";import{d as l}from"./post-closebutton2.js";import{d as p}from"./post-icon2.js";import{R as u}from"./required.js";import{T as b}from"./type.js";const m={translate:100,duration:500,easing:"ease",fill:"none"};var f=function(t,e,i,o){var s,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(a=(n<3?s(a):n>3?s(e,i,a):s(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const g=t(class t extends e{static{this.activeDropdown=null}get megadropdownTrigger(){const t=this.host.getAttribute("id");return t?document.querySelector(`post-megadropdown-trigger[for="${t}"]`):null}constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.postToggleMegadropdown=i(this,"postToggleMegadropdown",7),this.currentAnimation=null,this.isAnimating=!1,this.fsAnimationOptions={translate:-10,duration:350,easing:"headerEase"},this.device=c.get("device"),this.isVisible=!1,this.trigger=!1,this.animationClass=null,this.breakpointChange=t=>{this.device=t.detail,this.cancelAnimation()},this.handleClickOutside=async t=>{if("desktop"!==this.device)return;const i=t.target;if(!this.host.contains(i)&&!this.megadropdownTrigger.contains(i)){if(i instanceof e){const t=i.closest("post-megadropdown-trigger");if(t&&t.getAttribute("for")!==this.host.id)return}await this.hide(!1)}},this.keyboardHandler=this.keyboardHandler.bind(this),this.handleTabOutside=this.handleTabOutside.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this)}connectedCallback(){globalThis.addEventListener("postBreakpoint:device",this.breakpointChange)}componentDidRender(){this.getFocusableElements()}componentDidLoad(){this.checkInitialAriaCurrent(),this.setupObserver(),this.handleAriaCurrentChange([])}disconnectedCallback(){globalThis.removeEventListener("postBreakpoint:device",this.breakpointChange),t.activeDropdown===this&&(t.activeDropdown=null),this.removeListeners(),this.defaultSlotObserver&&this.defaultSlotObserver.disconnect()}async toggle(){return this.isAnimating?this.isVisible?this.show():this.hide():this.isVisible?this.hide():this.show()}async show(){if("desktop"!==this.device){const t=this.megadropdownTrigger;t&&(this.megadropdownTitle=t.innerHTML)}let e=!1;if(t.activeDropdown&&t.activeDropdown!==this&&(t.activeDropdown.forceClose(),e=!0),this.cancelAnimation(),this.isVisible=!0,t.activeDropdown=this,this.postToggleMegadropdown.emit({isVisible:!0}),e)this.focusFirst(),this.addListeners();else try{await this.animate("in"),this.focusFirst(),this.addListeners()}catch{this.removeListeners(),this.isVisible=!1,t.activeDropdown===this&&(t.activeDropdown=null),this.postToggleMegadropdown.emit({isVisible:!1,focusParent:!0})}}async hide(e=!0,i=!1){if(i)this.forceClose();else{this.postToggleMegadropdown.emit({isVisible:!1,focusParent:e});try{await this.animate("out"),this.isVisible=!1,this.removeListeners(),t.activeDropdown===this&&(t.activeDropdown=null)}catch{t.activeDropdown=this,this.addListeners(),this.isVisible=!0,this.postToggleMegadropdown.emit({isVisible:!0,focusParent:!1})}}}async focusFirst(){this.firstFocusableEl?.focus()}forceClose(){this.removeListeners(),this.postToggleMegadropdown.emit({isVisible:!1,focusParent:!1}),this.isVisible=!1,t.activeDropdown===this&&(t.activeDropdown=null)}createAnimation(t){return"desktop"===this.device?r(this.animatedContainer,t,this.fsAnimationOptions):function(t,e,i={}){const o={...m,...i},{translate:s}=o,n=[{transform:`translateX(${s}%)`},{transform:"translateX(0)"}];return function(t,e,i){const{duration:o,easing:s,fill:n}={...m,...i};return t.animate(e,{duration:o,easing:a(s),fill:n})}(t,"in"===e?n:[...n].reverse(),i)}(this.animatedContainer,t,{translate:100,duration:350,easing:"in"===t?"ease-in":"ease-out"})}async animate(t){this.cancelAnimation(),this.currentAnimation=this.createAnimation(t),this.isAnimating=!0,await this.currentAnimation.finished,this.isAnimating=!1,this.currentAnimation=null}cancelAnimation(){this.currentAnimation?.cancel(),this.currentAnimation=null}addListeners(){this.host.addEventListener("keydown",this.keyboardHandler),document.addEventListener("keyup",this.handleTabOutside),document.addEventListener("mousedown",this.handleClickOutside)}removeListeners(){this.host.removeEventListener("keydown",this.keyboardHandler),document.removeEventListener("keyup",this.handleTabOutside),document.removeEventListener("mousedown",this.handleClickOutside)}getFocusableElements(){const t=[...d(this.host),...d(this.host.shadowRoot)];this.firstFocusableEl=t[0],this.lastFocusableEl=t.at(-1)}keyboardHandler(t){if("Tab"!==t.key||"desktop"===this.device)return;const e=this.host.shadowRoot.activeElement||document.activeElement;t.shiftKey&&e===this.firstFocusableEl?(t.preventDefault(),this.lastFocusableEl.focus()):t.shiftKey||e!==this.lastFocusableEl||(t.preventDefault(),this.firstFocusableEl.focus())}handleTabOutside(t){"Tab"===t.key&&"desktop"===this.device&&this.isVisible&&!this.host.contains(t.target)&&this.hide(!1)}setupObserver(){this.defaultSlotObserver=new MutationObserver(this.handleAriaCurrentChange.bind(this)),this.defaultSlotObserver.observe(this.host,{subtree:!0,attributes:!0,attributeFilter:["aria-current"]})}setTriggerActive(t){const e=this.megadropdownTrigger;e&&e.setAttribute("active",""+t)}handleAriaCurrentChange(t){if(0===t.length)return;const i=t.some((t=>t.target instanceof e&&"page"===t.target.getAttribute("aria-current")));this.setTriggerActive(i)}checkInitialAriaCurrent(){this.host.querySelector('[aria-current="page"]')&&this.setTriggerActive(!0)}render(){return o(s,{key:"c0854fff62bf5e8de1597e46051aea5f300ee686",version:h},o("div",{key:"1f4f66b74d7129481d76f1eec15a924b2c37718c",ref:t=>this.animatedContainer=t,class:"megadropdown",style:this.isVisible?{}:{display:"none"}},o("div",{key:"af743442fe3ad6211cddccddf5d0803de9f501b5",class:"section"},"desktop"!==this.device&&this.megadropdownTitle&&o("p",{key:"35a03b2ee32498aa157140d4e6916cbf66655e5c",class:"megadropdown-title"},this.megadropdownTitle),o("div",{key:"6c4efb52e7bb04c4f40d5b3f739ca69771c48602",class:"megadropdown-content"},o("slot",{key:"2b3200495cf23fe049734de9de9a5a1f4c9b09f3"})),"desktop"===this.device?o("post-closebutton",{onClick:()=>this.hide(!0),class:"close-button",size:"small",placement:"manual"},this.textClose):o("button",{onClick:()=>this.hide(!0),class:"back-button"},o("post-icon",{name:"arrowleft"}),this.textBack))))}get host(){return this}static get style(){return"*,::before,::after{box-sizing:border-box}.megadropdown{position:absolute;inset-inline:0;overflow-y:auto;box-shadow:var(--post-device-elevation-300)}@media screen and (min-width: 1024px){.megadropdown{max-height:calc(100vh - var(--post-header-height) - 48px);background-color:#f0efed;z-index:-1;inset-block-start:100%}.megadropdown.slide-in{animation:slide-down 350ms forwards}.megadropdown.slide-out{animation:slide-up 350ms forwards}}@media screen and (max-width: 1023.98px){.megadropdown{background-color:#fafafa;z-index:1;inset-block-start:var(--post-header-navigation-current-inset);overscroll-behavior:contain}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.megadropdown{border-block-end:1px solid CanvasText}}.section{width:100%;max-width:var(--post-header-content-max-width);margin-inline:auto;position:relative}@media screen and (min-width: 1024px){.section{padding:48px 40px 40px}}@media screen and (max-width: 1023.98px){.section{display:flex;flex-direction:column;height:calc(min(var(--post-header-scroll-parent-height, 100dvh),100dvh) - var(--post-header-height));padding-inline:var(--post-burger-menu-padding-inline);padding-block-start:24px}}@media screen and (max-width: 1023.98px){.section .megadropdown-content{padding-block-end:max(24px, env(safe-area-inset-bottom, 0px))}}.megadropdown-title{margin-block:0 16px;font-weight:950}@media screen and (min-width: 600px)and (max-width: 1023.98px){.megadropdown-title{font-size:1.25rem}}@media screen and (min-width: 0)and (max-width: 599.98px){.megadropdown-title{font-size:1.125rem}}.back-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;min-height:var(--post-device-sizing-interactive-button-height-4);gap:var(--post-device-spacing-gap-inline-11);padding:0 var(--post-device-spacing-padding-inline-7);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);order:-1;width:fit-content;padding-inline:0}.back-button:not(:disabled):hover{text-decoration:none}.back-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.back-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}.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.back-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.back-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){.back-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){.back-button{border-width:1px !important;transition:none}.back-button:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.back-button>post-icon{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.back-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)}@media screen and (min-width: 600px)and (max-width: 1023.98px){.back-button{margin-block-end:32px}}@media screen and (min-width: 0)and (max-width: 599.98px){.back-button{margin-block-end:24px}}.close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}@media screen and (max-width: 1023.98px){.close-button{display:none}}"}},[257,"post-megadropdown",{textClose:[513,"text-close"],textBack:[513,"text-back"],device:[32],isVisible:[32],trigger:[32],megadropdownTitle:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}]);f([u(),b("string")],g.prototype,"textClose",void 0),f([u(),b("string")],g.prototype,"textBack",void 0);const v=g,w=function(){"undefined"!=typeof customElements&&["post-megadropdown","post-closebutton","post-icon"].forEach((t=>{switch(t){case"post-megadropdown":customElements.get(n(t))||customElements.define(n(t),g);break;case"post-closebutton":customElements.get(n(t))||l();break;case"post-icon":customElements.get(n(t))||p()}}))};export{v as PostMegadropdown,w as defineCustomElement}
@@ -1 +1 @@
1
- const t=':where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}post-breadcrumb-item:not([variant=menuitem])>a{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])>a:not(:disabled):hover{text-decoration:none}post-breadcrumb-item:not([variant=menuitem])>a:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumb-item:not([variant=menuitem])>a{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-breadcrumb-item:not([variant=menuitem])>a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item:not([variant=menuitem])>a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a{border-width:1px !important;transition:none}post-breadcrumb-item:not([variant=menuitem])>a:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumb-item:not([variant=menuitem])>a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumb-item[selected]:not([selected=false])>a{color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])[standalone]:not([standalone=false])>a{white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{position:relative;display:flex;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-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1.25rem;padding-block:13px}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumbs>a[slot=home]:not(:disabled):hover{text-decoration:none}post-breadcrumbs>a[slot=home]:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumbs>a[slot=home]{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-breadcrumbs>a[slot=home]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs>a[slot=home]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]{border-width:1px !important;transition:none}post-breadcrumbs>a[slot=home]:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumbs>a[slot=home]:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumbs.home-collapsed>a[slot=home]{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;justify-content:flex-start;min-width:0;width:100%;white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1.25rem;padding-block:13px}}post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumbs.home-collapsed>a[slot=home]:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home] post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media screen and (min-width: 1024px){.main-container{margin-inline-start:var(--post-core-dimension-296)}}post-side-navigation{--post-side-nav-height:100vh;--post-side-nav-heading-p-block-start:var(--post-device-spacing-padding-53);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-heading-font-size:var(--post-device-font-size-7);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-49);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-50);--post-side-nav-item-gap:var(--post-device-spacing-gap-11);--post-side-nav-item-font-size:var(--post-device-font-size-6);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-5);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-54)}post-side-navigation ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-5);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-5)}post-side-navigation ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-55);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-6)}post-side-navigation ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-56);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-57);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-64)}@media screen and (min-width: 1024px){post-side-navigation{position:fixed;top:calc(var(--post-header-height)/2);padding-block-start:calc(var(--post-header-height)/2);width:var(--post-core-dimension-296);--post-side-nav-height:calc(100vh - var(--post-header-height))}}post-side-navigation[size=small]{--post-side-nav-heading-p-block-start:var(--post-core-dimension-15);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-heading-font-size:var(--post-device-font-size-9);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-42);--post-side-nav-item-gap:var(--post-device-spacing-gap-8);--post-side-nav-item-font-size:var(--post-device-font-size-7);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-inline-4);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-41)}post-side-navigation[size=small] ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4)}post-side-navigation[size=small] ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-48);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-31)}post-side-navigation[size=small] ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-60);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-36)}post-side-navigation[size=small] ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-72);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation nav{width:100%;padding-block:var(--post-device-spacing-padding-48) var(--post-device-spacing-padding-5);height:var(--post-side-nav-height);overflow-y:auto}post-side-navigation nav ul{list-style:none;margin:0;padding-inline-start:0}post-side-navigation .post-side-navigation-heading{margin:0;padding:var(--post-side-nav-heading-p-block-start) var(--post-side-nav-heading-p-inline) var(--post-side-nav-heading-p-block-end);font-size:var(--post-side-nav-heading-font-size);font-weight:var(--post-device-font-weight-bold);line-height:var(--post-core-line-height-150);color:var(--post-scheme-color-interactive-primary-enabled-fg2);border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke)}post-side-navigation>ul>li>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}post-side-navigation .post-side-navigation-item[aria-current=page],post-side-navigation .post-side-navigation-item a[aria-current=page]{background-color:var(--post-scheme-color-interactive-primary-selected-bg4);color:var(--post-scheme-color-interactive-primary-selected-fg3)}post-side-navigation ul ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start)}post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-iconic-padding-inline-start)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>:where(a,span):not(:has(>post-icon:first-child))::before,post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>div:not(:has(>a>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>post-collapsible-trigger>button:not(:has(>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}.post-side-navigation-item{display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);gap:var(--post-side-nav-item-gap);width:100%;min-width:0;margin:0;padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start);padding-inline-end:var(--post-side-nav-item-p-inline-end);line-height:var(--post-core-line-height-150);font-size:var(--post-side-nav-item-font-size);box-sizing:border-box;border:0;border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke);border-radius:0;background-color:rgba(0,0,0,0);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-align:start;text-decoration:none;appearance:none;overflow-wrap:anywhere;hyphens:auto;line-break:strict}.post-side-navigation-item:has(a):has(button){gap:0;align-items:stretch;padding:0}.post-side-navigation-item:has(a):has(button) a{flex:1 1 auto;text-decoration:none;display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);line-height:var(--post-core-line-height-150);gap:var(--post-side-nav-item-gap);border-radius:0;padding-inline-end:var(--post-side-nav-item-p-inline-end)}.post-side-navigation-item:has(a):has(button) button{padding:var(--post-side-nav-btn-p-block-start) var(--post-side-nav-btn-p-inline) var(--post-side-nav-btn-p-block-end);display:flex;border:0;background:rgba(0,0,0,0);cursor:pointer;position:relative;margin-left:var(--post-device-border-width-alternative1);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.post-side-navigation-item:has(a):has(button) button post-icon{width:var(--post-side-nav-btn-icon-size);height:var(--post-side-nav-btn-icon-size);transform-origin:unset !important;margin-block:0 !important}.post-side-navigation-item:has(a):has(button) button::before{content:"";position:absolute;top:var(--post-side-nav-item-divider-p-block-start);height:calc(100% - var(--post-side-nav-item-divider-p-block-start) - var(--post-side-nav-item-divider-p-block-end));width:var(--post-device-border-width-alternative1);background:var(--post-scheme-color-interactive-primary-enabled-stroke4);left:calc(var(--post-device-border-width-alternative1) * -1)}.post-side-navigation-item:has(a):has(button) button:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button),.post-side-navigation-item:has(a):has(button) a,.post-side-navigation-item:has(a):has(button) button{cursor:pointer;position:relative;color:var(--post-scheme-color-interactive-primary-enabled-fg1);transition:background-color 250ms,color 250ms}.post-side-navigation-item:where(a,button)::after,.post-side-navigation-item:has(a):has(button) a::after,.post-side-navigation-item:has(a):has(button) button::after{content:"";position:absolute;pointer-events:none;border:var(--post-device-border-width-focus) solid rgba(0,0,0,0);border-radius:var(--post-device-border-radius-focus);width:calc(100% - var(--post-core-dimension-3)*2);height:calc(100% - var(--post-core-dimension-3)*2);top:var(--post-core-dimension-3);left:var(--post-core-dimension-3)}.post-side-navigation-item:where(a,button):hover,.post-side-navigation-item:has(a):has(button) a:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button)::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button)[aria-current=page]::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a[aria-current=page]::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button[aria-current=page]::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item post-icon{flex:none;width:var(--post-side-nav-icon-size);height:var(--post-side-nav-icon-size);color:inherit;margin-block-start:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item post-icon[name=chevrondown]{transform-origin:50% calc(50% + var(--post-side-nav-icon-p-block-start)/2);margin-inline-start:auto;margin-block-start:var(--post-side-nav-icon-p-block-start);transform:var(--post-side-navigation-chevron-initial-transform, none)}.post-side-navigation-item[aria-expanded=true] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=true] post-icon[name=chevrondown]{transform:rotate(180deg);margin-block-start:0;margin-block-end:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item[aria-expanded=false] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=false] post-icon[name=chevrondown]{transform:none}post-collapsible-trigger[data-hydrated] .post-side-navigation-item post-icon[name=chevrondown]{transition:transform .2s ease}post-collapsible-trigger:not(:has(>post-collapsible[collapsed]))>.post-side-navigation-item post-icon[name=chevrondown]{--post-side-navigation-chevron-initial-transform:rotate(180deg)}nav>ul>li>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}nav>ul>li .post-side-navigation-item:has(+ul),nav>ul>li li:has(+li) .post-side-navigation-item,nav>ul>li .post-side-navigation-item[aria-expanded=true]{border-color:var(--post-scheme-color-interactive-primary-enabled-stroke4)}post-listbox [slot=blank-slate]{display:none;padding:.75rem;color:#666}post-listbox:not(:has(post-listbox-option:not([hidden]))) [slot=blank-slate]{display:block}';var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),i="type",n="value",s="serialized:";function a(t,e,o){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!o||i.get))return i;t=Object.getPrototypeOf(t)}}var r,c=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[i]])=>{if(31&i||32&i){const i=t[o],n=a(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);n&&Object.defineProperty(t,o,{get(){return n.get.call(this)},set(t){n.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==i&&(t[o]=i)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),v=new Map,u="s-id",f="sty-id",h="c-id",m="http://www.w3.org/1999/xlink",b=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],g="undefined"!=typeof window?window:{},w=g.HTMLElement||class{},y={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,i)=>t.addEventListener(e,o,i),rel:(t,e,o,i)=>t.removeEventListener(e,o,i),ce:(t,e)=>new CustomEvent(t,e)},k=(()=>{try{return!!g.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),$=!!k&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),x=!1,z=[],j=[],O=(t,e)=>o=>{t.push(o),x||(x=!0,e&&4&y.l?N(H):y.raf(H))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},H=()=>{S(z),S(j),(x=z.length>0)&&y.raf(H)},N=t=>Promise.resolve(void 0).then(t),C=O(j,!0),E=t=>{const e=new URL(t,y.p);return e.origin!==g.location.origin?e.href:e.pathname},M=t=>y.p=t;function A(){var e;const o=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(e=function(t){if(!k)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),r)$?o.adoptedStyleSheets.push(r):o.adoptedStyleSheets=[...o.adoptedStyleSheets,r];else if(!k){const e=document.createElement("style");e.innerHTML=t,o.prepend(e)}}var B=t=>{const e=T(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&I(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!L(t,F(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&T(t,"childNodes").length&&B(t)}};function I(t,e,o){let i,n=0,s=[];for(;n<t.length;n++){if(i=t[n],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===o||F(i)===o)&&(s.push(i),void 0!==o))return s;s=[...s,...I(i.childNodes,e,o)]}return s}var L=(t,e,o=!0)=>{const i=[];(o&&t["s-sr"]||!t["s-sr"])&&i.push(t);let n=t;for(;n=n.nextSibling;)F(n)!==e||!o&&n["s-sr"]||i.push(n);return i},R=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,_=(t,e,o,i)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const n=document.createTextNode("");if(n["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,a=T(s,"appendChild");if(void 0!==i){n["s-oo"]=i;const t=T(s,"childNodes"),e=[n];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>a.call(s,t)))}else a.call(s,n);t["s-ol"]=n,t["s-sh"]=e["s-hn"]},F=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],i=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const i=t[o]["s-nr"]||void 0;i&&i.isConnected&&e.push(i)}return e})(n.childNodes)).forEach((t=>{i===F(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function T(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var U=new WeakMap,V=(t,e,o)=>{let i=v.get(t);k&&o?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,v.set(t,i)},P=(t,e)=>{var o,i,n;const s=W(e),a=v.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,a)if("string"==typeof a){let n,r=U.get(t=t.head||t);r||U.set(t,r=new Set);const c=t.querySelector(`[${f}="${s}"]`);if(c)c.textContent=a;else if(!r.has(s)){n=g.document.createElement("style"),n.textContent=a;const c=null!=(o=y.v)?o:function(){var t,e,o;return null!=(o=null==(e=null==(t=g.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}();if(null!=c&&n.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(k){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(a),$?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=a+e.textContent:t.prepend(n)}else t.append(n);1&e.l&&t.insertBefore(n,null),4&e.l&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let e=U.get(t);if(e||U.set(t,e=new Set),!e.has(s)){const o=null!=(n=t.defaultView)?n:t.ownerDocument.defaultView;let i;if(a.constructor===o.CSSStyleSheet)i=a;else{i=new o.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)i.insertRule(a.cssRules[t].cssText,t)}if($?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(s),"host"in t){const e=t.querySelector(`[${f}="${s}"]`);e&&C((()=>e.remove()))}}}return s},W=t=>"sc-"+t.u,q=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Y=t=>"object"==(t=typeof t)||"function"===t,J=(t,e,...o)=>{let i=null,n=null,s=null,a=!1,r=!1;const c=[],l=e=>{for(let o=0;o<e.length;o++)i=e[o],Array.isArray(i)?l(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof t&&!Y(i))&&(i+=""),a&&r?c[c.length-1].h+=i:c.push(a?Z(null,i):i),r=a)};if(l(o),e){e.key&&(n=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,K);const d=Z(t,null);return d.m=e,c.length>0&&(d.k=c),d.$=n,d.j=s,d},Z=(t,e)=>({l:0,O:t,h:null!=e?e:null,S:null,k:null,m:null,$:null,j:null}),G={},K={forEach:(t,e)=>t.map(Q).forEach(e),map:(t,e)=>t.map(Q).map(e).map(X)},Q=t=>({vattrs:t.m,vchildren:t.k,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),X=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),J(t.vtag,e,...t.vchildren||[])}const e=Z(t.vtag,t.vtext);return e.m=t.vattrs,e.k=t.vchildren,e.$=t.vkey,e.j=t.vname,e},tt=(t,e,o,i,n,s,a,r=[])=>{let c,l,d,p;if(1===s.nodeType){if(c=s.getAttribute(h),c&&(l=c.split("."),l[0]===a||"0"===l[0])){d=ot({l:0,H:l[0],N:l[1],C:l[2],M:l[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),e.push(d),s.removeAttribute(h),t.k||(t.k=[]);const n=d.S.getAttribute("s-sn");"string"==typeof n&&("slot-fb"===d.O&&it(n,l[2],d,s,t,e,o,i,r),d.S["s-sn"]=n,d.S.removeAttribute("s-sn")),void 0!==d.M&&(t.k[d.M]=d),t=d,i&&"0"===d.C&&(i[d.M]=d.S)}if(s.shadowRoot)for(p=s.shadowRoot.childNodes.length-1;p>=0;p--)tt(t,e,o,i,n,s.shadowRoot.childNodes[p],a,r);const v=s.__childNodes||s.childNodes;for(p=v.length-1;p>=0;p--)tt(t,e,o,i,n,v[p],a,r)}else if(8===s.nodeType)l=s.nodeValue.split("."),(l[1]===a||"0"===l[1])&&(c=l[0],d=ot({H:l[1],N:l[2],C:l[3],M:l[4]||"0",S:s,m:null,k:null,$:null,j:null,O:null,h:null}),"t"===c?(d.S=rt(s,3),d.S&&3===d.S.nodeType&&(d.h=d.S.textContent,e.push(d),s.remove(),a===d.H&&(t.k||(t.k=[]),t.k[d.M]=d),i&&"0"===d.C&&(i[d.M]=d.S))):"c"===c?(d.S=rt(s,8),d.S&&8===d.S.nodeType&&(e.push(d),s.remove())):d.H===a&&("s"===c?it(s["s-sn"]=l[5]||"",l[2],d,s,t,e,o,i,r):"r"===c&&(i?s.remove():(n["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const e=Z(null,s.textContent);e.S=s,e.M="0",t.k=[e]}return t},et=(t,e)=>{if(1===t.nodeType){const o=t[u]||t.getAttribute(u);o&&e.set(o,t);let i=0;if(t.shadowRoot)for(;i<t.shadowRoot.childNodes.length;i++)et(t.shadowRoot.childNodes[i],e);const n=t.__childNodes||t.childNodes;for(i=0;i<n.length;i++)et(n[i],e)}else if(8===t.nodeType){const o=t.nodeValue.split(".");"o"===o[0]&&(e.set(o[1]+"."+o[2],t),t.nodeValue="",t["s-en"]=o[3])}},ot=t=>({l:0,H:null,N:null,C:null,M:"0",S:null,m:null,k:null,$:null,j:null,O:null,h:null,...t});function it(t,e,o,i,n,s,a,r,c){i["s-sr"]=!0,o.j=t||null,o.O="slot";const l=(null==n?void 0:n.S)?n.S["s-id"]||n.S.getAttribute("s-id"):"";if(r&&g.document){const s=o.S=g.document.createElement(o.O);o.j&&o.S.setAttribute("name",t),n.S.shadowRoot&&l&&l!==o.H?T(n.S,"insertBefore")(s,T(n.S,"children")[0]):T(T(i,"parentNode"),"insertBefore")(s,i),at(c,e,t,i,o.H),i.remove(),"0"===o.C&&(r[o.M]=o.S)}else{const s=o.S,a=l&&l!==o.H&&n.S.shadowRoot;at(c,e,t,i,a?l:o.H),D(i),a&&n.S.insertBefore(s,n.S.children[0])}s.push(o),a.push(o),n.k||(n.k=[]),n.k[o.M]=o}var nt,st,at=(t,e,o,i,n)=>{var s,a;let r=i.nextSibling;if(t[e]=t[e]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==o&&(""!==o||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=o,t[e].push({slot:i,node:r,hostId:n})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(a=r.nodeValue)?void 0:a.startsWith("s.")))},rt=(t,e)=>{let o=t;do{o=o.nextSibling}while(o&&(o.nodeType!==e||!o.nodeValue));return o},ct=class t{static fromLocalValue(e){const o=e[i],s=n in e?e[n]:void 0;switch(o){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[o,i]of s){const n="object"==typeof o&&null!==o?t.fromLocalValue(o):o,s=t.fromLocalValue(i);e.set(n,s)}return e;case"object":const i={};for(const[e,o]of s)i[e]=t.fromLocalValue(o);return i;case"regexp":const{pattern:n,flags:a}=s;return RegExp(n,a);case"set":const r=new Set;for(const e of s)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+o)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(i))return!1;const s=t[i];return!!Object.values({...e,...o}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(n))}},lt=(t,e,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?ct.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Y(t)?t:4&e?(o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,dt=t=>t,pt=(t,e)=>{const o=t;return{emit:t=>vt(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},vt=(t,e,o)=>{const i=y.ce(e,o);return t.dispatchEvent(i),i},ut=(t,e,o,i,n,s,a)=>{if(o===i)return;let r=d(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,n=ht(o);let s=ht(i);if((t["s-si"]||t["s-sc"])&&a){const o=t["s-sc"]||t["s-si"];s.push(o),n.forEach((t=>{t.startsWith(o)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...n.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!n.includes(t))))}else if("style"===e){for(const e in o)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Rt(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let n;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(n=t[1])}}return n||(n=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(n)||t.removeAttribute(n):t.setAttribute(n,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=i}catch(t){}return}{const a=Y(i);if((r||a&&null!==i)&&!n)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const n=null==i?"":i;"list"===e?r=!1:null!=o&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let l=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,l=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(l?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&s||n)&&!a&&1===t.nodeType&&(i=!0===i?"":i,l?t.setAttributeNS(m,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):d(g,c)?c.slice(2):c[2]+e.slice(3),o||i){const n=e.endsWith(mt);e=e.replace(bt,""),o&&y.rel(t,e,o,n),i&&y.ael(t,e,i,n)}},ft=/\s/,ht=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),mt="Capture",bt=RegExp(mt+"$"),gt=(t,e,o,i)=>{const n=11===e.S.nodeType&&e.S.host?e.S.host:e.S,s=t&&t.m||{},a=e.m||{};for(const t of wt(Object.keys(s)))t in a||ut(n,t,s[t],void 0,o,e.l,i);for(const t of wt(Object.keys(a)))ut(n,t,s[t],a[t],o,e.l,i)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,kt=!1,$t=!1,xt=!1,zt=[],jt=[],Ot=(t,e,o)=>{var i;const n=e.k[o];let s,a,r,c=0;if(yt||($t=!0,"slot"===n.O&&(n.l|=n.k?2:1)),null!=n.h)s=n.S=g.document.createTextNode(n.h);else if(1&n.l)s=n.S=g.document.createTextNode(""),gt(null,n,xt);else{if(xt||(xt="svg"===n.O),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=n.S=g.document.createElementNS(xt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!yt&&2&n.l?"slot-fb":n.O),xt&&"foreignObject"===n.O&&(xt=!1),gt(null,n,xt),n.k){const e="template"===n.O?s.content:s;for(c=0;c<n.k.length;++c)a=Ot(t,n,c),a&&e.appendChild(a)}"svg"===n.O?xt=!1:"foreignObject"===s.tagName&&(xt=!0)}return s["s-hn"]=st,3&n.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=n.j||"",s["s-rf"]=null==(i=n.m)?void 0:i.ref,D(s),r=t&&t.k&&t.k[o],r&&r.O===n.O&&t.S&&St(t.S)),s},St=t=>{y.l|=1;const e=t.closest(st.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of o?i.reverse():i)null!=t["s-sh"]&&(_t(e,t,null!=o?o:null),t["s-sh"]=void 0,$t=!0)}y.l&=-2},Ht=(t,e)=>{y.l|=1;const o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===st&&o.push(e)}for(let t=o.length-1;t>=0;t--){const i=o[t];i["s-hn"]!==st&&i["s-ol"]&&(_t(Mt(i).parentNode,i,Mt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,$t=!0),e&&Ht(i,e)}y.l&=-2},Nt=(t,e,o,i,n,s)=>{let a,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===o.O&&(r=r.content);n<=s;++n)i[n]&&(a=Ot(null,o,n),a&&(i[n].S=a,_t(r,a,Mt(e))))},Ct=(t,e,o)=>{for(let i=e;i<=o;++i){const e=t[i];if(e){const t=e.S;Lt(e),t&&(kt=!0,t["s-ol"]?t["s-ol"].remove():Ht(t,!0),t.remove())}}},Et=(t,e,o=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:o?(o&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Mt=t=>t&&t["s-ol"]||t,At=(t,e,o=!1)=>{const i=e.S=t.S,n=t.k,s=e.k,a=e.O,r=e.h;let c;null==r?(xt="svg"===a||"foreignObject"!==a&&xt,"slot"!==a||yt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",St(e.S.parentElement)),gt(t,e,xt,o),null!==n&&null!==s?((t,e,o,i,n=!1)=>{let s,a,r=0,c=0,l=0,d=0,p=e.length-1,v=e[0],u=e[p],f=i.length-1,h=i[0],m=i[f];const b="template"===o.O?t.content:t;for(;r<=p&&c<=f;)if(null==v)v=e[++r];else if(null==u)u=e[--p];else if(null==h)h=i[++c];else if(null==m)m=i[--f];else if(Et(v,h,n))At(v,h,n),v=e[++r],h=i[++c];else if(Et(u,m,n))At(u,m,n),u=e[--p],m=i[--f];else if(Et(v,m,n))"slot"!==v.O&&"slot"!==m.O||Ht(v.S.parentNode,!1),At(v,m,n),_t(b,v.S,u.S.nextSibling),v=e[++r],m=i[--f];else if(Et(u,h,n))"slot"!==v.O&&"slot"!==m.O||Ht(u.S.parentNode,!1),At(u,h,n),_t(b,u.S,v.S),u=e[--p],h=i[++c];else{for(l=-1,d=r;d<=p;++d)if(e[d]&&null!==e[d].$&&e[d].$===h.$){l=d;break}l>=0?(a=e[l],a.O!==h.O?s=Ot(e&&e[c],o,l):(At(a,h,n),e[l]=void 0,s=a.S),h=i[++c]):(s=Ot(e&&e[c],o,c),h=i[++c]),s&&_t(Mt(v.S).parentNode,s,Mt(v.S))}r>p?Nt(t,null==i[f+1]?null:i[f+1].S,o,i,c,f):c>f&&Ct(e,r,p)})(i,n,e,s,o):null!==s?(null!==t.h&&(i.textContent=""),Nt(i,null,e,s,0,s.length-1)):o||null===n?o&&null!==n&&null===s&&(e.k=n):Ct(n,0,n.length-1),xt&&"svg"===a&&(xt=!1)):(c=i["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(i.data=r)},Bt=[],It=t=>{let e,o,i;const n=t.__childNodes||t.childNodes;for(const t of n){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const n=t["s-sn"];for(i=o.length-1;i>=0;i--)if(e=o[i],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(R(e,n)){let o=Bt.find((t=>t.A===e));kt=!0,e["s-sn"]=e["s-sn"]||n,o?(o.A["s-sh"]=t["s-hn"],o.B=t):(e["s-sh"]=t["s-hn"],Bt.push({B:t,A:e})),e["s-sr"]&&Bt.map((t=>{R(t.A,e["s-sn"])&&(o=Bt.find((t=>t.A===e)),o&&!t.B&&(t.B=o.B))}))}else Bt.some((t=>t.A===e))||Bt.push({A:e})}1===t.nodeType&&It(t)}},Lt=t=>{t.m&&t.m.ref&&zt.push((()=>t.m.ref(null))),t.k&&t.k.map(Lt)},Rt=(t,e)=>{jt.push((()=>t(e)))},_t=(t,e,o,i)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:n}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=F(t)||"";return{slotNode:I(T(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return n&&!i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(n),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},Ft=(t,e,o=!1)=>{var i,n,s,a,r;const c=t.$hostElement$,l=t.o,d=t.I||Z(null,null),p=(t=>t&&t.O===G)(e)?e:J(null,null,e);if(st=c.tagName,l.L&&(p.m=p.m||{},l.L.forEach((([t,e])=>{p.m[e]=c[t]}))),o&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.O=null,p.l|=4,t.I=p,p.S=d.S=c.shadowRoot||c,yt=!(!(1&l.l)||128&l.l),nt=c["s-cr"],kt=!1,At(d,p,o),y.l|=1,$t){It(p.S);for(const t of Bt){const e=t.A;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,_t(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of Bt){const e=t.A,r=t.B;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(i=e.hidden)&&i),r){const t=r.parentNode;let i=r.nextSibling;if(i&&1===i.nodeType){let o=null==(n=e["s-ol"])?void 0:n.previousSibling;for(;o;){let n=null!=(s=o["s-nr"])?s:null;if(n&&n["s-sn"]===e["s-sn"]&&t===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===e||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){i=n;break}}o=o.previousSibling}}if((!i&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==i)&&e!==i){if(_t(t,e,i,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=g.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(a=e["s-ih"])&&a)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(kt&&B(p.S),y.l&=-2,Bt.length=0,!yt&&!(1&l.l)&&c["s-cr"]){const t=p.S.__childNodes||p.S.childNodes;for(const e of t)if(e["s-hn"]!==st&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=g.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}nt=void 0,zt.forEach((t=>t())),zt.length=0,jt.forEach((t=>t())),jt.length=0},Dt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const o=e["s-p"].push(new Promise((i=>t.R=()=>{e["s-p"].splice(o-1,1),i()})))}},Tt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Dt(t,t._);const o=()=>Ut(t,e);if(!e)return C(o);queueMicrotask((()=>{o()}))},Ut=(t,e)=>{const o=t.$hostElement$,i=o;if(!i)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=Zt(i,e?"componentWillLoad":"componentWillUpdate",void 0,o),n=Vt(n,(()=>Zt(i,"componentWillRender",void 0,o))),Vt(n,(()=>Wt(t,i,e)))},Vt=(t,e)=>Pt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Pt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,e,o)=>{var i;const n=t.$hostElement$,s=n["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,i=e.l,n=P(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&i&&(o["s-sc"]=n,o.classList.add(n+"-h"))})(t);qt(t,e,n,o),s&&(s.map((t=>t())),n["s-rc"]=void 0);{const e=null!=(i=n["s-p"])?i:[],o=()=>Yt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.l|=4,e.length=0)}},qt=(t,e,o,i)=>{try{e=e.render&&e.render(),t.l&=-17,t.l|=2,Ft(t,e,i)}catch(e){p(e,t.$hostElement$)}return null},Yt=t=>{const e=t.$hostElement$,o=e,i=t._;Zt(o,"componentDidRender",void 0,e),64&t.l?Zt(o,"componentDidUpdate",void 0,e):(t.l|=64,Gt(e),Zt(o,"componentDidLoad",void 0,e),t.F(e),i||Jt()),t.R&&(t.R(),t.R=void 0),512&t.l&&N((()=>Tt(t,!1))),t.l&=-517},Jt=()=>{var t;N((()=>vt(g,"appload",{detail:{namespace:"post-components"}}))),(null==(t=y.D)?void 0:t.size)&&y.D.clear()},Zt=(t,e,o,i)=>{if(t&&t[e])try{return t[e](o)}catch(t){p(t,i)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,e,o,i)=>{const n=l(t);if(!n)return;const s=t,a=n.i.get(e),r=n.l,c=s;if(!((o=lt(o,i.t[e][0],!!(64&i.l)))===a||Number.isNaN(a)&&Number.isNaN(o))){if(n.i.set(e,o),i.T){const t=i.T[e];t&&t.map((t=>{try{const[[i,s]]=Object.entries(t);(128&r||1&s)&&(c?c[i](o,a,e):n.U.push((()=>{n.V[i](o,a,e)})))}catch(t){p(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,a,e)&&!(16&r))return;16&r||Tt(n,!1)}}},Qt=(t,e,o)=>{var i,n;const s=t.prototype;64&e.l&&1&o&&b.forEach((t=>{const e=s[t];Object.defineProperty(s,t,{value(...o){var i;const n=l(this),s=this;s?"function"==typeof e&&e.call(s,...o):null==(i=null==n?void 0:n.P)||i.then((e=>{const i=e[t];"function"==typeof i&&i.call(e,...o)}))}})}));{t.watchers&&!e.T&&(e.T=t.watchers),t.deserializers&&!e.W&&(e.W=t.deserializers),t.serializers&&!e.q&&(e.q=t.serializers);const o=Object.entries(null!=(i=e.t)?i:{});o.map((([t,[o]])=>{if(31&o||32&o){const{get:i,set:n}=a(s,t)||{};i&&(e.t[t][0]|=2048),n&&(e.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return i?i.apply(this):((t,e)=>l(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=l(this);if(s){if(n)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.i.get(t)&&(i=s.i.get(t)),n.call(this,lt(i,o,!!(64&e.l))),void Kt(this,t,i=32&o?this[t]:s.$hostElement$[t],e);Kt(this,t,i,e)}}})}}));{const i=new Map;s.attributeChangedCallback=function(t,n,a){y.jmp((()=>{var r;const c=i.get(t),d=l(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==a)return;if(null==c){const o=null==d?void 0:d.l;if(d&&o&&!(8&o)&&a!==n){const i=this,s=null==(r=e.T)?void 0:r[t];null==s||s.forEach((e=>{const[[s,r]]=Object.entries(e);null!=i[s]&&(128&o||1&r)&&i[s].call(i,a,n,t)}))}return}const p=o.find((([t])=>t===c));p&&4&p[1][0]&&(a=null!==a&&"false"!==a);const v=Object.getOwnPropertyDescriptor(s,c);a==this[c]||v.get&&!v.set||(this[c]=a)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.T)?n:{}),...o.filter((([t,e])=>31&e[0])).map((([t,o])=>{var n;const s=o[1]||t;return i.set(s,t),512&o[0]&&(null==(n=e.L)||n.push([t,s])),s}))]))}}return t},Xt=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,_t(t,e,t.firstChild)},te=(t,e)=>{const o={l:e[0],u:e[1]};try{o.t=e[2],o.Y=e[3],o.T=t.T,o.W=t.W,o.q=t.q,o.L=[],(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${f}]`);let e=0;for(;e<t.length;e++)V(t[e].getAttribute(f),q(t[e].innerHTML),!0)})();const i=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,J:new Map};o.P=new Promise((t=>o.F=t)),t["s-p"]=[],t["s-rc"]=[];const i=o;t.__stencil__getHostRef=()=>i,512&e.l&&c(t,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=l(this);if(!t)return;ee(this,t,o.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&y.l)){const e=l(t);if(!e)return;const o=e.o,i=()=>{};if(1&e.l)ee(t,e,o.Y),(null==e?void 0:e.V)||(null==e?void 0:e.P)&&e.P.then((()=>{}));else{let i;if(e.l|=1,i=t.getAttribute(u),i){if(1&o.l){const e=P(t.shadowRoot,o);t.classList.remove(e+"-h",e+"-s")}((t,e,o,i)=>{var n,s,a,r;const c=t.shadowRoot,d=[],p=[],v=c?[]:null,f=Z(e,null);f.S=t,!g.document||y.D&&y.D.size||et(g.document.body,y.D=new Map),t[u]=o,t.removeAttribute(u),i.I=tt(f,d,[],v,t,t,o,p);let h=0;const m=d.length;let b;for(;h<m;h++){b=d[h];const o=b.H+"."+b.N,i=y.D.get(o),s=b.S;if(c){if((null==(n=b.O)?void 0:(""+n).includes("-"))&&"slot-fb"!==b.O&&!b.S.shadowRoot){const t=l(b.S);if(t){const e=W(t.o),o=g.document.querySelector(`style[sty-id="${e}"]`);o&&v.unshift(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===b.O&&(s["s-cr"]=t["s-cr"]);"slot"===b.O&&(b.j=b.S["s-sn"]||b.S.name||null,b.k?(b.l|=2,b.S.childNodes.length||b.k.forEach((t=>{b.S.appendChild(t.S)}))):b.l|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(s,i.nextSibling),i.parentNode.removeChild(i),c||(s["s-oo"]=parseInt(b.N))),i&&!i["s-id"]&&y.D.delete(o)}const w=[],k=p.length;let $,x,z,j,O=0,S=0;for(;O<k;O++)if($=p[O],$&&$.length)for(z=$.length,x=0;x<z;x++){if(j=$[x],w[j.hostId]||(w[j.hostId]=y.D.get(j.hostId)),!w[j.hostId])continue;const t=w[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.insertBefore(j.node,null==(a=null==(s=$[x-1])?void 0:s.node)?void 0:a.nextSibling),t.shadowRoot&&c||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),_(j.node,j.slot,0,j.node["s-oo"]||S),(null==(r=j.node.parentElement)?void 0:r.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot")),S=(j.node["s-oo"]||S)+1}if(c&&!c.childNodes.length){let e=0;const o=v.length;if(o){for(;e<o;e++){const t=v[e];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}i.$hostElement$=t})(t,o.u,i,e)}i||12&o.l&&Xt(t);{let o=t;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Dt(e,e._=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let i;try{if(!(32&e.l)&&(e.l|=32,i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),i&&i.style)){let t;"string"==typeof i.style&&(t=i.style);const e=W(o);if(!v.has(e)){const i=()=>{};V(e,t,!!(1&o.l)),i()}}const n=e._,s=()=>Tt(e,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()}catch(o){p(o,t),e.R&&(e.R(),e.R=void 0),e.F&&e.F(t)}})(t,e,o)}i()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{if(!(1&y.l)){const e=l(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}U.has(t)&&U.delete(t),t.shadowRoot&&U.has(t.shadowRoot)&&U.delete(t.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else A.call(this,o)}}),Object.defineProperty(t,"is",{value:o.u,configurable:!0}),Qt(t,o,3)}catch(e){return p(e),t}},ee=(t,e,o)=>{o&&g.document&&o.map((([o,i,n])=>{const s=ie(g.document,t,o),a=oe(e,n),r=ne(o);y.ael(s,i,a,r),(e.Z=e.Z||[]).push((()=>y.rel(s,i,a,r)))}))},oe=(t,e)=>o=>{try{t.$hostElement$[e](o)}catch(e){p(e,t.$hostElement$)}},ie=(t,e,o)=>4&o?t:8&o?g:e,ne=t=>({passive:!!(1&t),capture:!!(2&t)}),se=t=>y.v=t,ae=t=>Object.assign(y,t);function re(t,e){Ft({o:{l:0,u:e.tagName},$hostElement$:e},t)}function ce(t){return t}export{w as H,G as a,pt as c,dt as g,E as getAssetPath,J as h,te as p,re as render,M as setAssetPath,se as setNonce,ae as setPlatformOptions,ce as t}
1
+ const t=':where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-side-navigation,post-side-navigation-trigger,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}post-breadcrumb-item:not([variant=menuitem])>a{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])>a:not(:disabled):hover{text-decoration:none}post-breadcrumb-item:not([variant=menuitem])>a:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumb-item:not([variant=menuitem])>a{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-breadcrumb-item:not([variant=menuitem])>a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumb-item:not([variant=menuitem])>a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a: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-breadcrumb-item:not([variant=menuitem])>a{border-width:1px !important;transition:none}post-breadcrumb-item:not([variant=menuitem])>a:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumb-item:not([variant=menuitem])>a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumb-item[selected]:not([selected=false])>a{color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumb-item:not([variant=menuitem])[standalone]:not([standalone=false])>a{white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{position:relative;display:flex;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-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a{font-size:1.25rem;padding-block:13px}}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumb-item[variant=menuitem]:not([selected]:not([selected=false]))>a:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;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);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;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-decoration:var(--post-core-text-decoration-none)}post-breadcrumbs>a[slot=home]:not(:disabled):hover{text-decoration:none}post-breadcrumbs>a[slot=home]:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}post-breadcrumbs>a[slot=home]{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-breadcrumbs>a[slot=home]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-breadcrumbs>a[slot=home]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]: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-breadcrumbs>a[slot=home]{border-width:1px !important;transition:none}post-breadcrumbs>a[slot=home]:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}post-breadcrumbs>a[slot=home]:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);text-decoration:var(--post-core-text-decoration-underline)}post-breadcrumbs.home-collapsed>a[slot=home]{position:relative;display:flex;align-items:center;padding:8px 12px 8px 16px;gap:12px;font-size:.875rem;color:#050400;border-radius:0;text-decoration:none;justify-content:flex-start;min-width:0;width:100%;white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere;hyphens:auto;line-break:strict}@media screen and (min-width: 780px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1rem;padding-block:12px;gap:16px}}@media screen and (min-width: 1024px){post-breadcrumbs.home-collapsed>a[slot=home]{font-size:1.25rem;padding-block:13px}}post-breadcrumbs.home-collapsed>a[slot=home]:focus-visible{outline-offset:2px !important;border-radius:4px}post-breadcrumbs.home-collapsed>a[slot=home]:hover{background-color:#504f4b;color:#fff}post-breadcrumbs>a[slot=home] post-icon{width:var(--post-device-sizing-interactive-icon-size2);height:var(--post-device-sizing-interactive-icon-size2)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media screen and (min-width: 1024px){.main-container{margin-inline-start:var(--post-core-dimension-296)}}post-side-navigation{--post-side-nav-height:100vh;--post-side-nav-heading-p-block-start:var(--post-device-spacing-padding-53);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-heading-font-size:var(--post-device-font-size-7);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-5);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-49);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-50);--post-side-nav-item-gap:var(--post-device-spacing-gap-11);--post-side-nav-item-font-size:var(--post-device-font-size-6);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-51);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-52);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-5);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size8);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-54)}post-side-navigation ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-5);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-5)}post-side-navigation ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-55);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-6)}post-side-navigation ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-56);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-57);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-64)}@media screen and (min-width: 1024px){post-side-navigation{position:fixed;inset-block-start:0;inset-inline-start:0;padding-block-start:var(--post-header-height);width:var(--post-core-dimension-296);height:100vh;--post-side-nav-height:100%}}post-side-navigation[size=small]{--post-side-nav-heading-p-block-start:var(--post-core-dimension-15);--post-side-nav-heading-p-block-end:var(--post-device-spacing-padding-32);--post-side-nav-heading-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-heading-font-size:var(--post-device-font-size-9);--post-side-nav-btn-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-btn-p-inline:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-btn-p-block-end:var(--post-device-spacing-padding-42);--post-side-nav-item-gap:var(--post-device-spacing-gap-8);--post-side-nav-item-font-size:var(--post-device-font-size-7);--post-side-nav-item-divider-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-divider-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-block-start:var(--post-device-spacing-padding-58);--post-side-nav-item-p-block-end:var(--post-device-spacing-padding-59);--post-side-nav-item-p-inline-end:var(--post-device-spacing-padding-inline-4);--post-side-nav-icon-size:var(--post-device-sizing-interactive-icon-size4);--post-side-nav-icon-p-block-start:var(--post-device-spacing-padding-41)}post-side-navigation[size=small] ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-inline-4)}post-side-navigation[size=small] ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-48);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-device-spacing-padding-31)}post-side-navigation[size=small] ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-60);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-36)}post-side-navigation[size=small] ul ul ul ul{--post-side-nav-el-iconic-padding-inline-start:var(--post-core-dimension-72);--post-side-nav-el-non-iconic-padding-inline-start:var(--post-core-dimension-48)}post-side-navigation nav{width:100%;height:var(--post-side-nav-height);padding-block-start:var(--post-device-spacing-padding-48);padding-block-end:max(var(--post-device-spacing-padding-5), env(safe-area-inset-bottom, 0px));overflow-y:auto}post-side-navigation nav ul{list-style:none;margin:0;padding-inline-start:0}post-side-navigation .post-side-navigation-heading{margin:0;padding:var(--post-side-nav-heading-p-block-start) var(--post-side-nav-heading-p-inline) var(--post-side-nav-heading-p-block-end);font-size:var(--post-side-nav-heading-font-size);font-weight:var(--post-device-font-weight-bold);line-height:var(--post-core-line-height-150);color:var(--post-scheme-color-interactive-primary-enabled-fg2);border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke)}post-side-navigation>ul>li>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}post-side-navigation .post-side-navigation-item[aria-current=page],post-side-navigation .post-side-navigation-item a[aria-current=page]{background-color:var(--post-scheme-color-interactive-primary-selected-bg4);color:var(--post-scheme-color-interactive-primary-selected-fg3)}post-side-navigation ul ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start)}post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:not(:has(a):has(button)),post-side-navigation ul>li:has(post-icon:not([name=chevrondown])) ul .post-side-navigation-item:has(a):has(button) a{padding-inline-start:var(--post-side-nav-el-iconic-padding-inline-start)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>:where(a,span):not(:has(>post-icon:first-child))::before,post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>div:not(:has(>a>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}post-side-navigation :where(nav)>ul:has(>li>:where(a,span,post-collapsible-trigger>button,div>a)>post-icon:first-child)>li>post-collapsible-trigger>button:not(:has(>post-icon:first-child))::before{content:"";flex:none;inline-size:var(--post-side-nav-icon-size)}.post-side-navigation-item{display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);gap:var(--post-side-nav-item-gap);width:100%;min-width:0;margin:0;padding-inline-start:var(--post-side-nav-el-non-iconic-padding-inline-start);padding-inline-end:var(--post-side-nav-item-p-inline-end);line-height:var(--post-core-line-height-150);font-size:var(--post-side-nav-item-font-size);box-sizing:border-box;border:0;border-block-end:var(--post-device-border-width-alternative1) solid var(--post-scheme-color-interactive-primary-enabled-stroke);border-radius:0;background-color:rgba(0,0,0,0);color:var(--post-scheme-color-interactive-primary-enabled-fg1);text-align:start;text-decoration:none;appearance:none;overflow-wrap:anywhere;hyphens:auto;line-break:strict}.post-side-navigation-item:has(a):has(button){gap:0;align-items:stretch;padding:0}.post-side-navigation-item:has(a):has(button) a{flex:1 1 auto;text-decoration:none;display:flex;padding-block:var(--post-side-nav-item-p-block-start) var(--post-side-nav-item-p-block-end);line-height:var(--post-core-line-height-150);gap:var(--post-side-nav-item-gap);border-radius:0;padding-inline-end:var(--post-side-nav-item-p-inline-end)}.post-side-navigation-item:has(a):has(button) button{padding:var(--post-side-nav-btn-p-block-start) var(--post-side-nav-btn-p-inline) var(--post-side-nav-btn-p-block-end);display:flex;border:0;background:rgba(0,0,0,0);cursor:pointer;position:relative;margin-left:var(--post-device-border-width-alternative1);color:var(--post-scheme-color-interactive-primary-enabled-fg1)}.post-side-navigation-item:has(a):has(button) button post-icon{width:var(--post-side-nav-btn-icon-size);height:var(--post-side-nav-btn-icon-size);transform-origin:unset !important;margin-block:0 !important}.post-side-navigation-item:has(a):has(button) button::before{content:"";position:absolute;top:var(--post-side-nav-item-divider-p-block-start);height:calc(100% - var(--post-side-nav-item-divider-p-block-start) - var(--post-side-nav-item-divider-p-block-end));width:var(--post-device-border-width-alternative1);background:var(--post-scheme-color-interactive-primary-enabled-stroke4);left:calc(var(--post-device-border-width-alternative1) * -1)}.post-side-navigation-item:has(a):has(button) button:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button),.post-side-navigation-item:has(a):has(button) a,.post-side-navigation-item:has(a):has(button) button{cursor:pointer;position:relative;color:var(--post-scheme-color-interactive-primary-enabled-fg1);transition:background-color 250ms,color 250ms}.post-side-navigation-item:where(a,button)::after,.post-side-navigation-item:has(a):has(button) a::after,.post-side-navigation-item:has(a):has(button) button::after{content:"";position:absolute;pointer-events:none;border:var(--post-device-border-width-focus) solid rgba(0,0,0,0);border-radius:var(--post-device-border-radius-focus);width:calc(100% - var(--post-core-dimension-3)*2);height:calc(100% - var(--post-core-dimension-3)*2);top:var(--post-core-dimension-3);left:var(--post-core-dimension-3)}.post-side-navigation-item:where(a,button):hover,.post-side-navigation-item:has(a):has(button) a:hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg2);color:var(--post-scheme-color-interactive-primary-hover-fg3)}.post-side-navigation-item:where(a,button)::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button)[aria-current=page]::after{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-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:where(a,button){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:where(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a[aria-current=page]::after{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) a{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-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-style:var(--post-core-border-style-solid) !important;outline:none !important;border-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button[aria-current=page]::after{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-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-style:var(--post-core-border-style-solid) !important;border-color:var(--post-scheme-color-interactive-focus-stroke-inverted)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus)[aria-current=page]::after{outline-color:Highlight !important}}}.post-side-navigation-item:has(a):has(button) button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline:none !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-side-navigation-item:has(a):has(button) button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.post-side-navigation-item post-icon{flex:none;width:var(--post-side-nav-icon-size);height:var(--post-side-nav-icon-size);color:inherit;margin-block-start:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item post-icon[name=chevrondown]{transform-origin:50% calc(50% + var(--post-side-nav-icon-p-block-start)/2);margin-inline-start:auto;margin-block-start:var(--post-side-nav-icon-p-block-start);transform:var(--post-side-navigation-chevron-initial-transform, none)}.post-side-navigation-item[aria-expanded=true] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=true] post-icon[name=chevrondown]{transform:rotate(180deg);margin-block-start:0;margin-block-end:var(--post-side-nav-icon-p-block-start)}.post-side-navigation-item[aria-expanded=false] post-icon[name=chevrondown],.post-side-navigation-item [aria-expanded=false] post-icon[name=chevrondown]{transform:none}post-collapsible-trigger[data-hydrated] .post-side-navigation-item post-icon[name=chevrondown]{transition:transform .2s ease}post-collapsible-trigger:not(:has(>post-collapsible[collapsed]))>.post-side-navigation-item post-icon[name=chevrondown]{--post-side-navigation-chevron-initial-transform:rotate(180deg)}nav>ul>li>.post-side-navigation-item,nav>ul>li>post-collapsible-trigger>.post-side-navigation-item{font-weight:var(--post-device-font-weight-bold)}nav>ul>li .post-side-navigation-item:has(+ul),nav>ul>li li:has(+li) .post-side-navigation-item,nav>ul>li .post-side-navigation-item[aria-expanded=true]{border-color:var(--post-scheme-color-interactive-primary-enabled-stroke4)}post-listbox [slot=blank-slate]{display:none;padding:.75rem;color:#666}post-listbox:not(:has(post-listbox-option:not([hidden]))) [slot=blank-slate]{display:block}';var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),i="type",n="value",s="serialized:";function a(t,e,o){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!o||i.get))return i;t=Object.getPrototypeOf(t)}}var r,c=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[i]])=>{if(31&i||32&i){const i=t[o],n=a(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);n&&Object.defineProperty(t,o,{get(){return n.get.call(this)},set(t){n.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==i&&(t[o]=i)}}))},l=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),v=new Map,u="s-id",f="sty-id",h="c-id",m="http://www.w3.org/1999/xlink",b=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],g="undefined"!=typeof window?window:{},w=g.HTMLElement||class{},y={l:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,o,i)=>t.addEventListener(e,o,i),rel:(t,e,o,i)=>t.removeEventListener(e,o,i),ce:(t,e)=>new CustomEvent(t,e)},k=(()=>{try{return!!g.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),$=!!k&&(()=>!!g.document&&Object.getOwnPropertyDescriptor(g.document.adoptedStyleSheets,"length").writable)(),x=!1,z=[],j=[],O=(t,e)=>o=>{t.push(o),x||(x=!0,e&&4&y.l?N(H):y.raf(H))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},H=()=>{S(z),S(j),(x=z.length>0)&&y.raf(H)},N=t=>Promise.resolve(void 0).then(t),C=O(j,!0),E=t=>{const e=new URL(t,y.p);return e.origin!==g.location.origin?e.href:e.pathname},M=t=>y.p=t;function A(){var e;const o=this.attachShadow({mode:"open"});if(void 0===r&&(r=null!=(e=function(t){if(!k)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),r)$?o.adoptedStyleSheets.push(r):o.adoptedStyleSheets=[...o.adoptedStyleSheets,r];else if(!k){const e=document.createElement("style");e.innerHTML=t,o.prepend(e)}}var B=t=>{const e=T(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&I(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!L(t,F(t),!1).length)}));let o=0;for(o=0;o<e.length;o++){const t=e[o];1===t.nodeType&&T(t,"childNodes").length&&B(t)}};function I(t,e,o){let i,n=0,s=[];for(;n<t.length;n++){if(i=t[n],i["s-sr"]&&(!e||i["s-hn"]===e)&&(void 0===o||F(i)===o)&&(s.push(i),void 0!==o))return s;s=[...s,...I(i.childNodes,e,o)]}return s}var L=(t,e,o=!0)=>{const i=[];(o&&t["s-sr"]||!t["s-sr"])&&i.push(t);let n=t;for(;n=n.nextSibling;)F(n)!==e||!o&&n["s-sr"]||i.push(n);return i},R=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,_=(t,e,o,i)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const n=document.createTextNode("");if(n["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,a=T(s,"appendChild");if(void 0!==i){n["s-oo"]=i;const t=T(s,"childNodes"),e=[n];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>a.call(s,t)))}else a.call(s,n);t["s-ol"]=n,t["s-sh"]=e["s-hn"]},F=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function D(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const o=[],i=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(t=>{const e=[];for(let o=0;o<t.length;o++){const i=t[o]["s-nr"]||void 0;i&&i.isConnected&&e.push(i)}return e})(n.childNodes)).forEach((t=>{i===F(t)&&o.push(t)})),e?o.filter((t=>1===t.nodeType)):o}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function T(t,e){if("__"+e in t){const o=t["__"+e];return"function"!=typeof o?o:o.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var U=new WeakMap,V=(t,e,o)=>{let i=v.get(t);k&&o?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,v.set(t,i)},P=(t,e)=>{var o,i,n;const s=W(e),a=v.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,a)if("string"==typeof a){let n,r=U.get(t=t.head||t);r||U.set(t,r=new Set);const c=t.querySelector(`[${f}="${s}"]`);if(c)c.textContent=a;else if(!r.has(s)){n=g.document.createElement("style"),n.textContent=a;const c=null!=(o=y.v)?o:function(){var t,e,o;return null!=(o=null==(e=null==(t=g.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}();if(null!=c&&n.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(k){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(a),$?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=a+e.textContent:t.prepend(n)}else t.append(n);1&e.l&&t.insertBefore(n,null),4&e.l&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let e=U.get(t);if(e||U.set(t,e=new Set),!e.has(s)){const o=null!=(n=t.defaultView)?n:t.ownerDocument.defaultView;let i;if(a.constructor===o.CSSStyleSheet)i=a;else{i=new o.CSSStyleSheet;for(let t=0;t<a.cssRules.length;t++)i.insertRule(a.cssRules[t].cssText,t)}if($?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(s),"host"in t){const e=t.querySelector(`[${f}="${s}"]`);e&&C((()=>e.remove()))}}}return s},W=t=>"sc-"+t.u,q=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Y=t=>"object"==(t=typeof t)||"function"===t,J=(t,e,...o)=>{let i=null,n=null,s=null,a=!1,r=!1;const c=[],l=e=>{for(let o=0;o<e.length;o++)i=e[o],Array.isArray(i)?l(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof t&&!Y(i))&&(i+=""),a&&r?c[c.length-1].h+=i:c.push(a?Z(null,i):i),r=a)};if(l(o),e){e.key&&(n=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,K);const d=Z(t,null);return d.m=e,c.length>0&&(d.k=c),d.$=n,d.j=s,d},Z=(t,e)=>({l:0,O:t,h:null!=e?e:null,S:null,k:null,m:null,$:null,j:null}),G={},K={forEach:(t,e)=>t.map(Q).forEach(e),map:(t,e)=>t.map(Q).map(e).map(X)},Q=t=>({vattrs:t.m,vchildren:t.k,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),X=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),J(t.vtag,e,...t.vchildren||[])}const e=Z(t.vtag,t.vtext);return e.m=t.vattrs,e.k=t.vchildren,e.$=t.vkey,e.j=t.vname,e},tt=(t,e,o,i,n,s,a,r=[])=>{let c,l,d,p;if(1===s.nodeType){if(c=s.getAttribute(h),c&&(l=c.split("."),l[0]===a||"0"===l[0])){d=ot({l:0,H:l[0],N:l[1],C:l[2],M:l[3],O:s.tagName.toLowerCase(),S:s,m:{class:s.className||""}}),e.push(d),s.removeAttribute(h),t.k||(t.k=[]);const n=d.S.getAttribute("s-sn");"string"==typeof n&&("slot-fb"===d.O&&it(n,l[2],d,s,t,e,o,i,r),d.S["s-sn"]=n,d.S.removeAttribute("s-sn")),void 0!==d.M&&(t.k[d.M]=d),t=d,i&&"0"===d.C&&(i[d.M]=d.S)}if(s.shadowRoot)for(p=s.shadowRoot.childNodes.length-1;p>=0;p--)tt(t,e,o,i,n,s.shadowRoot.childNodes[p],a,r);const v=s.__childNodes||s.childNodes;for(p=v.length-1;p>=0;p--)tt(t,e,o,i,n,v[p],a,r)}else if(8===s.nodeType)l=s.nodeValue.split("."),(l[1]===a||"0"===l[1])&&(c=l[0],d=ot({H:l[1],N:l[2],C:l[3],M:l[4]||"0",S:s,m:null,k:null,$:null,j:null,O:null,h:null}),"t"===c?(d.S=rt(s,3),d.S&&3===d.S.nodeType&&(d.h=d.S.textContent,e.push(d),s.remove(),a===d.H&&(t.k||(t.k=[]),t.k[d.M]=d),i&&"0"===d.C&&(i[d.M]=d.S))):"c"===c?(d.S=rt(s,8),d.S&&8===d.S.nodeType&&(e.push(d),s.remove())):d.H===a&&("s"===c?it(s["s-sn"]=l[5]||"",l[2],d,s,t,e,o,i,r):"r"===c&&(i?s.remove():(n["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.O){const e=Z(null,s.textContent);e.S=s,e.M="0",t.k=[e]}return t},et=(t,e)=>{if(1===t.nodeType){const o=t[u]||t.getAttribute(u);o&&e.set(o,t);let i=0;if(t.shadowRoot)for(;i<t.shadowRoot.childNodes.length;i++)et(t.shadowRoot.childNodes[i],e);const n=t.__childNodes||t.childNodes;for(i=0;i<n.length;i++)et(n[i],e)}else if(8===t.nodeType){const o=t.nodeValue.split(".");"o"===o[0]&&(e.set(o[1]+"."+o[2],t),t.nodeValue="",t["s-en"]=o[3])}},ot=t=>({l:0,H:null,N:null,C:null,M:"0",S:null,m:null,k:null,$:null,j:null,O:null,h:null,...t});function it(t,e,o,i,n,s,a,r,c){i["s-sr"]=!0,o.j=t||null,o.O="slot";const l=(null==n?void 0:n.S)?n.S["s-id"]||n.S.getAttribute("s-id"):"";if(r&&g.document){const s=o.S=g.document.createElement(o.O);o.j&&o.S.setAttribute("name",t),n.S.shadowRoot&&l&&l!==o.H?T(n.S,"insertBefore")(s,T(n.S,"children")[0]):T(T(i,"parentNode"),"insertBefore")(s,i),at(c,e,t,i,o.H),i.remove(),"0"===o.C&&(r[o.M]=o.S)}else{const s=o.S,a=l&&l!==o.H&&n.S.shadowRoot;at(c,e,t,i,a?l:o.H),D(i),a&&n.S.insertBefore(s,n.S.children[0])}s.push(o),a.push(o),n.k||(n.k=[]),n.k[o.M]=o}var nt,st,at=(t,e,o,i,n)=>{var s,a;let r=i.nextSibling;if(t[e]=t[e]||[],r&&!(null==(s=r.nodeValue)?void 0:s.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==o&&(""!==o||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=o,t[e].push({slot:i,node:r,hostId:n})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(a=r.nodeValue)?void 0:a.startsWith("s.")))},rt=(t,e)=>{let o=t;do{o=o.nextSibling}while(o&&(o.nodeType!==e||!o.nodeValue));return o},ct=class t{static fromLocalValue(e){const o=e[i],s=n in e?e[n]:void 0;switch(o){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[o,i]of s){const n="object"==typeof o&&null!==o?t.fromLocalValue(o):o,s=t.fromLocalValue(i);e.set(n,s)}return e;case"object":const i={};for(const[e,o]of s)i[e]=t.fromLocalValue(o);return i;case"regexp":const{pattern:n,flags:a}=s;return RegExp(n,a);case"set":const r=new Set;for(const e of s)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+o)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(i))return!1;const s=t[i];return!!Object.values({...e,...o}).includes(s)&&("null"===s||"undefined"===s||t.hasOwnProperty(n))}},lt=(t,e,o)=>"string"==typeof t&&t.startsWith(s)?t=function(t){return"string"==typeof t&&t.startsWith(s)?ct.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Y(t)?t:4&e?(o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,dt=t=>t,pt=(t,e)=>{const o=t;return{emit:t=>vt(o,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},vt=(t,e,o)=>{const i=y.ce(e,o);return t.dispatchEvent(i),i},ut=(t,e,o,i,n,s,a)=>{if(o===i)return;let r=d(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,n=ht(o);let s=ht(i);if((t["s-si"]||t["s-sc"])&&a){const o=t["s-sc"]||t["s-si"];s.push(o),n.forEach((t=>{t.startsWith(o)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...n.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!n.includes(t))))}else if("style"===e){for(const e in o)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Rt(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let n;{const e=l(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(n=t[1])}}return n||(n=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(n)||t.removeAttribute(n):t.setAttribute(n,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const o=e.slice(5);try{t[o]=i}catch(t){}return}{const a=Y(i);if((r||a&&null!==i)&&!n)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const n=null==i?"":i;"list"===e?r=!1:null!=o&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let l=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,l=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(l?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&s||n)&&!a&&1===t.nodeType&&(i=!0===i?"":i,l?t.setAttributeNS(m,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):d(g,c)?c.slice(2):c[2]+e.slice(3),o||i){const n=e.endsWith(mt);e=e.replace(bt,""),o&&y.rel(t,e,o,n),i&&y.ael(t,e,i,n)}},ft=/\s/,ht=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ft):[]),mt="Capture",bt=RegExp(mt+"$"),gt=(t,e,o,i)=>{const n=11===e.S.nodeType&&e.S.host?e.S.host:e.S,s=t&&t.m||{},a=e.m||{};for(const t of wt(Object.keys(s)))t in a||ut(n,t,s[t],void 0,o,e.l,i);for(const t of wt(Object.keys(a)))ut(n,t,s[t],a[t],o,e.l,i)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var yt=!1,kt=!1,$t=!1,xt=!1,zt=[],jt=[],Ot=(t,e,o)=>{var i;const n=e.k[o];let s,a,r,c=0;if(yt||($t=!0,"slot"===n.O&&(n.l|=n.k?2:1)),null!=n.h)s=n.S=g.document.createTextNode(n.h);else if(1&n.l)s=n.S=g.document.createTextNode(""),gt(null,n,xt);else{if(xt||(xt="svg"===n.O),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=n.S=g.document.createElementNS(xt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!yt&&2&n.l?"slot-fb":n.O),xt&&"foreignObject"===n.O&&(xt=!1),gt(null,n,xt),n.k){const e="template"===n.O?s.content:s;for(c=0;c<n.k.length;++c)a=Ot(t,n,c),a&&e.appendChild(a)}"svg"===n.O?xt=!1:"foreignObject"===s.tagName&&(xt=!0)}return s["s-hn"]=st,3&n.l&&(s["s-sr"]=!0,s["s-cr"]=nt,s["s-sn"]=n.j||"",s["s-rf"]=null==(i=n.m)?void 0:i.ref,D(s),r=t&&t.k&&t.k[o],r&&r.O===n.O&&t.S&&St(t.S)),s},St=t=>{y.l|=1;const e=t.closest(st.toLowerCase());if(null!=e){const o=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of o?i.reverse():i)null!=t["s-sh"]&&(_t(e,t,null!=o?o:null),t["s-sh"]=void 0,$t=!0)}y.l&=-2},Ht=(t,e)=>{y.l|=1;const o=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===st&&o.push(e)}for(let t=o.length-1;t>=0;t--){const i=o[t];i["s-hn"]!==st&&i["s-ol"]&&(_t(Mt(i).parentNode,i,Mt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,$t=!0),e&&Ht(i,e)}y.l&=-2},Nt=(t,e,o,i,n,s)=>{let a,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===o.O&&(r=r.content);n<=s;++n)i[n]&&(a=Ot(null,o,n),a&&(i[n].S=a,_t(r,a,Mt(e))))},Ct=(t,e,o)=>{for(let i=e;i<=o;++i){const e=t[i];if(e){const t=e.S;Lt(e),t&&(kt=!0,t["s-ol"]?t["s-ol"].remove():Ht(t,!0),t.remove())}}},Et=(t,e,o=!1)=>t.O===e.O&&("slot"===t.O?t.j===e.j:o?(o&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),Mt=t=>t&&t["s-ol"]||t,At=(t,e,o=!1)=>{const i=e.S=t.S,n=t.k,s=e.k,a=e.O,r=e.h;let c;null==r?(xt="svg"===a||"foreignObject"!==a&&xt,"slot"!==a||yt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",St(e.S.parentElement)),gt(t,e,xt,o),null!==n&&null!==s?((t,e,o,i,n=!1)=>{let s,a,r=0,c=0,l=0,d=0,p=e.length-1,v=e[0],u=e[p],f=i.length-1,h=i[0],m=i[f];const b="template"===o.O?t.content:t;for(;r<=p&&c<=f;)if(null==v)v=e[++r];else if(null==u)u=e[--p];else if(null==h)h=i[++c];else if(null==m)m=i[--f];else if(Et(v,h,n))At(v,h,n),v=e[++r],h=i[++c];else if(Et(u,m,n))At(u,m,n),u=e[--p],m=i[--f];else if(Et(v,m,n))"slot"!==v.O&&"slot"!==m.O||Ht(v.S.parentNode,!1),At(v,m,n),_t(b,v.S,u.S.nextSibling),v=e[++r],m=i[--f];else if(Et(u,h,n))"slot"!==v.O&&"slot"!==m.O||Ht(u.S.parentNode,!1),At(u,h,n),_t(b,u.S,v.S),u=e[--p],h=i[++c];else{for(l=-1,d=r;d<=p;++d)if(e[d]&&null!==e[d].$&&e[d].$===h.$){l=d;break}l>=0?(a=e[l],a.O!==h.O?s=Ot(e&&e[c],o,l):(At(a,h,n),e[l]=void 0,s=a.S),h=i[++c]):(s=Ot(e&&e[c],o,c),h=i[++c]),s&&_t(Mt(v.S).parentNode,s,Mt(v.S))}r>p?Nt(t,null==i[f+1]?null:i[f+1].S,o,i,c,f):c>f&&Ct(e,r,p)})(i,n,e,s,o):null!==s?(null!==t.h&&(i.textContent=""),Nt(i,null,e,s,0,s.length-1)):o||null===n?o&&null!==n&&null===s&&(e.k=n):Ct(n,0,n.length-1),xt&&"svg"===a&&(xt=!1)):(c=i["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(i.data=r)},Bt=[],It=t=>{let e,o,i;const n=t.__childNodes||t.childNodes;for(const t of n){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){o=e.parentNode.__childNodes||e.parentNode.childNodes;const n=t["s-sn"];for(i=o.length-1;i>=0;i--)if(e=o[i],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(R(e,n)){let o=Bt.find((t=>t.A===e));kt=!0,e["s-sn"]=e["s-sn"]||n,o?(o.A["s-sh"]=t["s-hn"],o.B=t):(e["s-sh"]=t["s-hn"],Bt.push({B:t,A:e})),e["s-sr"]&&Bt.map((t=>{R(t.A,e["s-sn"])&&(o=Bt.find((t=>t.A===e)),o&&!t.B&&(t.B=o.B))}))}else Bt.some((t=>t.A===e))||Bt.push({A:e})}1===t.nodeType&&It(t)}},Lt=t=>{t.m&&t.m.ref&&zt.push((()=>t.m.ref(null))),t.k&&t.k.map(Lt)},Rt=(t,e)=>{jt.push((()=>t(e)))},_t=(t,e,o,i)=>{if("string"==typeof e["s-sn"]){t.insertBefore(e,o);const{slotNode:n}=function(t,e){var o;if(!(e=e||(null==(o=t["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const i=t["s-sn"]=F(t)||"";return{slotNode:I(T(e,"childNodes"),e.tagName,i)[0],slotName:i}}(e);return n&&!i&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(n),e}return t.__insertBefore?t.__insertBefore(e,o):null==t?void 0:t.insertBefore(e,o)},Ft=(t,e,o=!1)=>{var i,n,s,a,r;const c=t.$hostElement$,l=t.o,d=t.I||Z(null,null),p=(t=>t&&t.O===G)(e)?e:J(null,null,e);if(st=c.tagName,l.L&&(p.m=p.m||{},l.L.forEach((([t,e])=>{p.m[e]=c[t]}))),o&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.O=null,p.l|=4,t.I=p,p.S=d.S=c.shadowRoot||c,yt=!(!(1&l.l)||128&l.l),nt=c["s-cr"],kt=!1,At(d,p,o),y.l|=1,$t){It(p.S);for(const t of Bt){const e=t.A;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,_t(e.parentNode,e["s-ol"]=t,e,o)}}for(const t of Bt){const e=t.A,r=t.B;if(1===e.nodeType&&o&&(e["s-ih"]=null!=(i=e.hidden)&&i),r){const t=r.parentNode;let i=r.nextSibling;if(i&&1===i.nodeType){let o=null==(n=e["s-ol"])?void 0:n.previousSibling;for(;o;){let n=null!=(s=o["s-nr"])?s:null;if(n&&n["s-sn"]===e["s-sn"]&&t===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===e||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){i=n;break}}o=o.previousSibling}}if((!i&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==i)&&e!==i){if(_t(t,e,i,o),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=g.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(a=e["s-ih"])&&a)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(kt&&B(p.S),y.l&=-2,Bt.length=0,!yt&&!(1&l.l)&&c["s-cr"]){const t=p.S.__childNodes||p.S.childNodes;for(const e of t)if(e["s-hn"]!==st&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=g.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],_t(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}nt=void 0,zt.forEach((t=>t())),zt.length=0,jt.forEach((t=>t())),jt.length=0},Dt=(t,e)=>{if(e&&!t.R&&e["s-p"]){const o=e["s-p"].push(new Promise((i=>t.R=()=>{e["s-p"].splice(o-1,1),i()})))}},Tt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Dt(t,t._);const o=()=>Ut(t,e);if(!e)return C(o);queueMicrotask((()=>{o()}))},Ut=(t,e)=>{const o=t.$hostElement$,i=o;if(!i)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=Zt(i,e?"componentWillLoad":"componentWillUpdate",void 0,o),n=Vt(n,(()=>Zt(i,"componentWillRender",void 0,o))),Vt(n,(()=>Wt(t,i,e)))},Vt=(t,e)=>Pt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Pt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,e,o)=>{var i;const n=t.$hostElement$,s=n["s-rc"];o&&(t=>{const e=t.o,o=t.$hostElement$,i=e.l,n=P(o.shadowRoot?o.shadowRoot:o.getRootNode(),e);10&i&&(o["s-sc"]=n,o.classList.add(n+"-h"))})(t);qt(t,e,n,o),s&&(s.map((t=>t())),n["s-rc"]=void 0);{const e=null!=(i=n["s-p"])?i:[],o=()=>Yt(t);0===e.length?o():(Promise.all(e).then(o).catch(o),t.l|=4,e.length=0)}},qt=(t,e,o,i)=>{try{e=e.render&&e.render(),t.l&=-17,t.l|=2,Ft(t,e,i)}catch(e){p(e,t.$hostElement$)}return null},Yt=t=>{const e=t.$hostElement$,o=e,i=t._;Zt(o,"componentDidRender",void 0,e),64&t.l?Zt(o,"componentDidUpdate",void 0,e):(t.l|=64,Gt(e),Zt(o,"componentDidLoad",void 0,e),t.F(e),i||Jt()),t.R&&(t.R(),t.R=void 0),512&t.l&&N((()=>Tt(t,!1))),t.l&=-517},Jt=()=>{var t;N((()=>vt(g,"appload",{detail:{namespace:"post-components"}}))),(null==(t=y.D)?void 0:t.size)&&y.D.clear()},Zt=(t,e,o,i)=>{if(t&&t[e])try{return t[e](o)}catch(t){p(t,i)}},Gt=t=>t.setAttribute(null!="data-hydrated"?"data-hydrated":"hydrated",""),Kt=(t,e,o,i)=>{const n=l(t);if(!n)return;const s=t,a=n.i.get(e),r=n.l,c=s;if(!((o=lt(o,i.t[e][0],!!(64&i.l)))===a||Number.isNaN(a)&&Number.isNaN(o))){if(n.i.set(e,o),i.T){const t=i.T[e];t&&t.map((t=>{try{const[[i,s]]=Object.entries(t);(128&r||1&s)&&(c?c[i](o,a,e):n.U.push((()=>{n.V[i](o,a,e)})))}catch(t){p(t,s)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,a,e)&&!(16&r))return;16&r||Tt(n,!1)}}},Qt=(t,e,o)=>{var i,n;const s=t.prototype;64&e.l&&1&o&&b.forEach((t=>{const e=s[t];Object.defineProperty(s,t,{value(...o){var i;const n=l(this),s=this;s?"function"==typeof e&&e.call(s,...o):null==(i=null==n?void 0:n.P)||i.then((e=>{const i=e[t];"function"==typeof i&&i.call(e,...o)}))}})}));{t.watchers&&!e.T&&(e.T=t.watchers),t.deserializers&&!e.W&&(e.W=t.deserializers),t.serializers&&!e.q&&(e.q=t.serializers);const o=Object.entries(null!=(i=e.t)?i:{});o.map((([t,[o]])=>{if(31&o||32&o){const{get:i,set:n}=a(s,t)||{};i&&(e.t[t][0]|=2048),n&&(e.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return i?i.apply(this):((t,e)=>l(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=l(this);if(s){if(n)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.i.get(t)&&(i=s.i.get(t)),n.call(this,lt(i,o,!!(64&e.l))),void Kt(this,t,i=32&o?this[t]:s.$hostElement$[t],e);Kt(this,t,i,e)}}})}}));{const i=new Map;s.attributeChangedCallback=function(t,n,a){y.jmp((()=>{var r;const c=i.get(t),d=l(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==a)return;if(null==c){const o=null==d?void 0:d.l;if(d&&o&&!(8&o)&&a!==n){const i=this,s=null==(r=e.T)?void 0:r[t];null==s||s.forEach((e=>{const[[s,r]]=Object.entries(e);null!=i[s]&&(128&o||1&r)&&i[s].call(i,a,n,t)}))}return}const p=o.find((([t])=>t===c));p&&4&p[1][0]&&(a=null!==a&&"false"!==a);const v=Object.getOwnPropertyDescriptor(s,c);a==this[c]||v.get&&!v.set||(this[c]=a)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=e.T)?n:{}),...o.filter((([t,e])=>31&e[0])).map((([t,o])=>{var n;const s=o[1]||t;return i.set(s,t),512&o[0]&&(null==(n=e.L)||n.push([t,s])),s}))]))}}return t},Xt=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,_t(t,e,t.firstChild)},te=(t,e)=>{const o={l:e[0],u:e[1]};try{o.t=e[2],o.Y=e[3],o.T=t.T,o.W=t.W,o.q=t.q,o.L=[],(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${f}]`);let e=0;for(;e<t.length;e++)V(t[e].getAttribute(f),q(t[e].innerHTML),!0)})();const i=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={l:0,$hostElement$:t,o:e,i:new Map,J:new Map};o.P=new Promise((t=>o.F=t)),t["s-p"]=[],t["s-rc"]=[];const i=o;t.__stencil__getHostRef=()=>i,512&e.l&&c(t,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=l(this);if(!t)return;ee(this,t,o.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&y.l)){const e=l(t);if(!e)return;const o=e.o,i=()=>{};if(1&e.l)ee(t,e,o.Y),(null==e?void 0:e.V)||(null==e?void 0:e.P)&&e.P.then((()=>{}));else{let i;if(e.l|=1,i=t.getAttribute(u),i){if(1&o.l){const e=P(t.shadowRoot,o);t.classList.remove(e+"-h",e+"-s")}((t,e,o,i)=>{var n,s,a,r;const c=t.shadowRoot,d=[],p=[],v=c?[]:null,f=Z(e,null);f.S=t,!g.document||y.D&&y.D.size||et(g.document.body,y.D=new Map),t[u]=o,t.removeAttribute(u),i.I=tt(f,d,[],v,t,t,o,p);let h=0;const m=d.length;let b;for(;h<m;h++){b=d[h];const o=b.H+"."+b.N,i=y.D.get(o),s=b.S;if(c){if((null==(n=b.O)?void 0:(""+n).includes("-"))&&"slot-fb"!==b.O&&!b.S.shadowRoot){const t=l(b.S);if(t){const e=W(t.o),o=g.document.querySelector(`style[sty-id="${e}"]`);o&&v.unshift(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===b.O&&(s["s-cr"]=t["s-cr"]);"slot"===b.O&&(b.j=b.S["s-sn"]||b.S.name||null,b.k?(b.l|=2,b.S.childNodes.length||b.k.forEach((t=>{b.S.appendChild(t.S)}))):b.l|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(s,i.nextSibling),i.parentNode.removeChild(i),c||(s["s-oo"]=parseInt(b.N))),i&&!i["s-id"]&&y.D.delete(o)}const w=[],k=p.length;let $,x,z,j,O=0,S=0;for(;O<k;O++)if($=p[O],$&&$.length)for(z=$.length,x=0;x<z;x++){if(j=$[x],w[j.hostId]||(w[j.hostId]=y.D.get(j.hostId)),!w[j.hostId])continue;const t=w[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.insertBefore(j.node,null==(a=null==(s=$[x-1])?void 0:s.node)?void 0:a.nextSibling),t.shadowRoot&&c||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),_(j.node,j.slot,0,j.node["s-oo"]||S),(null==(r=j.node.parentElement)?void 0:r.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot")),S=(j.node["s-oo"]||S)+1}if(c&&!c.childNodes.length){let e=0;const o=v.length;if(o){for(;e<o;e++){const t=v[e];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}i.$hostElement$=t})(t,o.u,i,e)}i||12&o.l&&Xt(t);{let o=t;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){Dt(e,e._=o);break}}o.t&&Object.entries(o.t).map((([e,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(t,e)){const o=t[e];delete t[e],t[e]=o}})),(async(t,e,o)=>{let i;try{if(!(32&e.l)&&(e.l|=32,i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),i&&i.style)){let t;"string"==typeof i.style&&(t=i.style);const e=W(o);if(!v.has(e)){const i=()=>{};V(e,t,!!(1&o.l)),i()}}const n=e._,s=()=>Tt(e,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()}catch(o){p(o,t),e.R&&(e.R(),e.R=void 0),e.F&&e.F(t)}})(t,e,o)}i()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{if(!(1&y.l)){const e=l(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}U.has(t)&&U.delete(t),t.shadowRoot&&U.has(t.shadowRoot)&&U.delete(t.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else A.call(this,o)}}),Object.defineProperty(t,"is",{value:o.u,configurable:!0}),Qt(t,o,3)}catch(e){return p(e),t}},ee=(t,e,o)=>{o&&g.document&&o.map((([o,i,n])=>{const s=ie(g.document,t,o),a=oe(e,n),r=ne(o);y.ael(s,i,a,r),(e.Z=e.Z||[]).push((()=>y.rel(s,i,a,r)))}))},oe=(t,e)=>o=>{try{t.$hostElement$[e](o)}catch(e){p(e,t.$hostElement$)}},ie=(t,e,o)=>4&o?t:8&o?g:e,ne=t=>({passive:!!(1&t),capture:!!(2&t)}),se=t=>y.v=t,ae=t=>Object.assign(y,t);function re(t,e){Ft({o:{l:0,u:e.tagName},$hostElement$:e},t)}function ce(t){return t}export{w as H,G as a,pt as c,dt as g,E as getAssetPath,J as h,te as p,re as render,M as setAssetPath,se as setNonce,ae as setPlatformOptions,ce as t}
@@ -1 +1 @@
1
- import{p as t,H as e,h as s,a as o,t as i}from"./index.js";import{v as r}from"./p-T8T3po4z.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return s(o,{key:"81fa9d922480059096e4146c10cf2ef72357b482","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},s("slot",{key:"4e8d793e3867ba4c9c8e17d509652309a79f032a"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function n(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}n();export{a as P,n as d}
1
+ import{p as t,H as e,h as s,a as o,t as i}from"./index.js";import{v as r}from"./p-BBz9PVf0.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toggled=!1,this.handleClick=()=>{this.toggled=!this.toggled},this.handleKeydown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.host.click())}}componentWillLoad(){this.host.addEventListener("click",(()=>this.handleClick()),{capture:!0}),this.host.addEventListener("keydown",(t=>this.handleKeydown(t)),{capture:!0})}render(){return s(o,{key:"81fa9d922480059096e4146c10cf2ef72357b482","data-version":r,role:"button",tabindex:"0","aria-pressed":this.toggled.toString()},s("slot",{key:"4e8d793e3867ba4c9c8e17d509652309a79f032a"}))}get host(){return this}static get style(){return":host{cursor:pointer;outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}"}},[257,"post-togglebutton",{toggled:[1028]}]);function n(){"undefined"!=typeof customElements&&["post-togglebutton"].forEach((t=>{"post-togglebutton"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}n();export{a as P,n as d}
@@ -1 +1 @@
1
- import{p as e,t,H as s,h as o,a as i}from"./index.js";import"./p-DeO0rZ1T.js";import{E as a}from"./p-BEcxHjuM.js";import{v as r}from"./p-T8T3po4z.js";import{R as c}from"./p-B2jsM_Ov.js";import{O as l}from"./p-CnN4Jdtv.js";var n=function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);return a>3&&r&&Object.defineProperty(t,s,r),r};const d=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.expandedItems=new Set,this.multiple=!1}syncHeadingLevel(){this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(this.headingLevel))}))}componentWillLoad(){this.registerAccordionItems()}componentDidLoad(){this.syncHeadingLevel()}collapseToggleHandler(e){const t=e.target,s=this.expandedItems.has(t);s?this.expandedItems.delete(t):this.expandedItems.add(t),this.multiple||s||Array.from(this.expandedItems.values()).filter((e=>e!==t)).forEach((e=>{e.toggle(!1)}))}async toggle(e){const t=this.accordionItems.find((t=>t.id===e));if(!t)throw new Error(`No post-accordion-item found with id #${e}.`);await t.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((e=>e.toggle(!0)))):0===this.expandedItems.size&&await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((e=>e.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((e=>!e.collapsed||this.expandedItems.has(e))).forEach(((e,t)=>{this.multiple||0===t?this.expandedItems.add(e):e.setAttribute("collapsed","")}))}render(){return o(i,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":r},o("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},o("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return this}static get watchers(){return{headingLevel:[{syncHeadingLevel:0}]}}static get style(){return":host{display:block;border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}"}},[257,"post-accordion",{headingLevel:[514,"heading-level"],multiple:[516],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:[{syncHeadingLevel:0}]}]);function h(){"undefined"!=typeof customElements&&["post-accordion"].forEach((e=>{"post-accordion"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))}n([c(),l([1,2,3,4,5,6])],d.prototype,"headingLevel",void 0),n([a("post-accordion-item")],d.prototype,"collapseToggleHandler",null),h();export{d as P,h as d}
1
+ import{p as e,t,H as s,h as o,a as i}from"./index.js";import"./p-DeO0rZ1T.js";import{E as a}from"./p-BEcxHjuM.js";import{v as r}from"./p-BBz9PVf0.js";import{R as c}from"./p-B2jsM_Ov.js";import{O as l}from"./p-CnN4Jdtv.js";var n=function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);return a>3&&r&&Object.defineProperty(t,s,r),r};const d=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.expandedItems=new Set,this.multiple=!1}syncHeadingLevel(){this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(this.headingLevel))}))}componentWillLoad(){this.registerAccordionItems()}componentDidLoad(){this.syncHeadingLevel()}collapseToggleHandler(e){const t=e.target,s=this.expandedItems.has(t);s?this.expandedItems.delete(t):this.expandedItems.add(t),this.multiple||s||Array.from(this.expandedItems.values()).filter((e=>e!==t)).forEach((e=>{e.toggle(!1)}))}async toggle(e){const t=this.accordionItems.find((t=>t.id===e));if(!t)throw new Error(`No post-accordion-item found with id #${e}.`);await t.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((e=>e.toggle(!0)))):0===this.expandedItems.size&&await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((e=>e.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((e=>!e.collapsed||this.expandedItems.has(e))).forEach(((e,t)=>{this.multiple||0===t?this.expandedItems.add(e):e.setAttribute("collapsed","")}))}render(){return o(i,{key:"4e3df581ac99aa14dfaaab836c90cee788607a76","data-version":r},o("div",{key:"425615868542199dc79439d04b9ca9ba815b05f3",class:"accordion"},o("slot",{key:"ba7c05b69377101275cd76ecffb476516ca52c83",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return this}static get watchers(){return{headingLevel:[{syncHeadingLevel:0}]}}static get style(){return":host{display:block;border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}"}},[257,"post-accordion",{headingLevel:[514,"heading-level"],multiple:[516],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:[{syncHeadingLevel:0}]}]);function h(){"undefined"!=typeof customElements&&["post-accordion"].forEach((e=>{"post-accordion"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))}n([c(),l([1,2,3,4,5,6])],d.prototype,"headingLevel",void 0),n([a("post-accordion-item")],d.prototype,"collapseToggleHandler",null),h();export{d as P,h as d}