@pnx-mixtape/mxds 0.1.0-rc.4 → 0.1.0-rc.6

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 (236) hide show
  1. package/.claude/skills/create-mxds-component/SKILL.md +77 -0
  2. package/DESIGN.md +595 -0
  3. package/README.md +2 -3
  4. package/dist/build/accordion.entry.js +2 -1
  5. package/dist/build/autocomplete.entry.js +1 -1
  6. package/dist/build/back-to-top.css +1 -0
  7. package/dist/build/back-to-top.entry.js +1 -0
  8. package/dist/build/base.css +1 -1
  9. package/dist/build/button.css +1 -1
  10. package/dist/build/card.css +1 -1
  11. package/dist/build/chunks/Accordion-Bqe8vTNR.js +44 -0
  12. package/dist/build/chunks/AccordionGroup-BYtoAFxg.js +47 -0
  13. package/dist/build/chunks/AccordionMobile-D517oXYZ.js +26 -0
  14. package/dist/build/chunks/Autocomplete-kRo8RNbC.js +135 -0
  15. package/dist/build/chunks/BackToTop-4M-Wl7z3.js +64 -0
  16. package/dist/build/chunks/ClosableAlert-CZ114JsL.js +55 -0
  17. package/dist/build/chunks/CookieConsent-wd8gQ2Oe.js +18 -0
  18. package/dist/build/chunks/Dialog-DoYcGqhW.js +48 -0
  19. package/dist/build/chunks/DropMenu-CSTZq0Zt.js +68 -0
  20. package/dist/build/chunks/FeedbackForm-BsL7fv8s.js +64 -0
  21. package/dist/build/chunks/Gallery-DqJPujX5.js +165 -0
  22. package/dist/build/chunks/GlobalToggle-7H3F1Wvc.js +82 -0
  23. package/dist/build/chunks/InPageNavigation-D7m3IN89.js +86 -0
  24. package/dist/build/chunks/Navigation-CRModT40.js +142 -0
  25. package/dist/build/chunks/Popover-CiTAftNU.js +30 -0
  26. package/dist/build/chunks/Sticky-C1H8MNqK.js +51 -0
  27. package/dist/build/chunks/Tabs-BJD3kABL.js +160 -0
  28. package/dist/build/chunks/Translate-yAgySwet.js +46 -0
  29. package/dist/build/chunks/cookie-compliance-CG6x-TcV.js +119 -0
  30. package/dist/build/chunks/enums-BrHxPZZ_.js +36 -0
  31. package/dist/build/chunks/polyfills-D-qh1a_2.js +33 -0
  32. package/dist/build/chunks/utilities-B9mNRs7V.js +255 -0
  33. package/dist/build/content-block.css +1 -1
  34. package/dist/build/cookie-consent.entry.js +1 -1
  35. package/dist/build/dialog.entry.js +1 -1
  36. package/dist/build/drop-menu.entry.js +1 -1
  37. package/dist/build/elements.js +147 -1
  38. package/dist/build/feedback-form.css +1 -0
  39. package/dist/build/feedback-form.entry.js +1 -0
  40. package/dist/build/filters.entry.js +145 -1
  41. package/dist/build/form.css +1 -1
  42. package/dist/build/gallery.entry.js +1 -1
  43. package/dist/build/global-alert.entry.js +1 -1
  44. package/dist/build/header.css +1 -1
  45. package/dist/build/header.entry.js +1 -1
  46. package/dist/build/icon.css +1 -1
  47. package/dist/build/in-page-navigation.entry.js +1 -1
  48. package/dist/build/navigation.css +1 -1
  49. package/dist/build/navigation.entry.js +1 -1
  50. package/dist/build/pagination.css +1 -1
  51. package/dist/build/popover.entry.js +1 -1
  52. package/dist/build/react.js +2291 -1
  53. package/dist/build/side-navigation.css +1 -1
  54. package/dist/build/sidebar.css +1 -1
  55. package/dist/build/sticky.entry.js +1 -1
  56. package/dist/build/tabs.entry.js +1 -1
  57. package/dist/build/translate.css +1 -0
  58. package/dist/build/translate.entry.js +1 -0
  59. package/dist/build/utility-list.entry.js +53 -1
  60. package/dist/types/Component/BackToTop/BackToTop.d.ts +20 -0
  61. package/dist/types/Component/BackToTop/BackToTop.d.ts.map +1 -0
  62. package/dist/types/Component/BackToTop/Elements/BackToTop.d.ts +27 -0
  63. package/dist/types/Component/BackToTop/Elements/BackToTop.d.ts.map +1 -0
  64. package/dist/types/Component/BackToTop/back-to-top.entry.d.ts +2 -0
  65. package/dist/types/Component/BackToTop/back-to-top.entry.d.ts.map +1 -0
  66. package/dist/types/Component/DropMenu/DropMenu.d.ts +2 -1
  67. package/dist/types/Component/DropMenu/DropMenu.d.ts.map +1 -1
  68. package/dist/types/Component/Navigation/Elements/Navigation.d.ts +2 -3
  69. package/dist/types/Component/Navigation/Elements/Navigation.d.ts.map +1 -1
  70. package/dist/types/Component/SideNavigation/Components/SideNavigationTree.d.ts +3 -3
  71. package/dist/types/Component/SideNavigation/Components/SideNavigationTree.d.ts.map +1 -1
  72. package/dist/types/Component/SideNavigation/SideNavigation.d.ts +3 -1
  73. package/dist/types/Component/SideNavigation/SideNavigation.d.ts.map +1 -1
  74. package/dist/types/Component/Tabs/Components/TabDropMenu.d.ts.map +1 -1
  75. package/dist/types/Component/Tabs/Elements/Tabs.d.ts.map +1 -1
  76. package/dist/types/Component/Translate/Elements/Translate.d.ts +23 -0
  77. package/dist/types/Component/Translate/Elements/Translate.d.ts.map +1 -0
  78. package/dist/types/Component/Translate/Translate.d.ts +37 -0
  79. package/dist/types/Component/Translate/Translate.d.ts.map +1 -0
  80. package/dist/types/Component/Translate/languages.d.ts +11 -0
  81. package/dist/types/Component/Translate/languages.d.ts.map +1 -0
  82. package/dist/types/Component/Translate/translate.entry.d.ts +2 -0
  83. package/dist/types/Component/Translate/translate.entry.d.ts.map +1 -0
  84. package/dist/types/Form/FeedbackForm/Elements/FeedbackForm.d.ts +37 -0
  85. package/dist/types/Form/FeedbackForm/Elements/FeedbackForm.d.ts.map +1 -0
  86. package/dist/types/Form/FeedbackForm/FeedbackForm.d.ts +36 -0
  87. package/dist/types/Form/FeedbackForm/FeedbackForm.d.ts.map +1 -0
  88. package/dist/types/Form/FeedbackForm/feedback-form.entry.d.ts +2 -0
  89. package/dist/types/Form/FeedbackForm/feedback-form.entry.d.ts.map +1 -0
  90. package/dist/types/Utility/Elements/google-translate-widget.d.ts +91 -0
  91. package/dist/types/Utility/Elements/google-translate-widget.d.ts.map +1 -0
  92. package/dist/types/Utility/utilities.d.ts +2 -0
  93. package/dist/types/Utility/utilities.d.ts.map +1 -1
  94. package/dist/types/elements.d.ts +3 -0
  95. package/dist/types/elements.d.ts.map +1 -1
  96. package/dist/types/enums.d.ts +3 -1
  97. package/dist/types/enums.d.ts.map +1 -1
  98. package/dist/types/react.d.ts +3 -0
  99. package/dist/types/react.d.ts.map +1 -1
  100. package/dist/types/tokens.d.ts +1 -0
  101. package/dist/types/tokens.d.ts.map +1 -1
  102. package/docs/API.md +1215 -0
  103. package/docs/CSSGuidelines.md +893 -0
  104. package/docs/CodeQuality.md +940 -0
  105. package/docs/ComponentArchitecture.md +714 -0
  106. package/docs/Contributing.md +626 -0
  107. package/docs/MemoryManagement.md +598 -0
  108. package/docs/Migrations.md +6 -0
  109. package/docs/README.md +100 -0
  110. package/docs/Security.md +444 -0
  111. package/docs/Testing.md +739 -0
  112. package/docs/Troubleshooting.md +674 -0
  113. package/package.json +9 -6
  114. package/src/Atom/Button/Button.tsx +1 -1
  115. package/src/Atom/Button/__snapshots__/Button.stories.tsx.snap +2 -2
  116. package/src/Atom/Button/_buttons.css +1 -0
  117. package/src/Atom/Icon/README.md +1 -1
  118. package/src/Atom/Icon/_icon.css +1 -0
  119. package/src/Atom/Icon/images/thumb.svg +1 -0
  120. package/src/Atom/Link/_links.css +1 -0
  121. package/src/Atom/Media/__snapshots__/Media.stories.ts.snap +4 -9
  122. package/src/Atom/Media/media.twig +4 -5
  123. package/src/Component/BackToTop/BackToTop.stories.ts +127 -0
  124. package/src/Component/BackToTop/BackToTop.stories.tsx +53 -0
  125. package/src/Component/BackToTop/BackToTop.tsx +120 -0
  126. package/src/Component/BackToTop/Elements/BackToTop.ts +119 -0
  127. package/src/Component/BackToTop/README.md +164 -0
  128. package/src/Component/BackToTop/__snapshots__/BackToTop.stories.ts.snap +24 -0
  129. package/src/Component/BackToTop/__snapshots__/BackToTop.stories.tsx.snap +3 -0
  130. package/src/Component/BackToTop/back-to-top.css +70 -0
  131. package/src/Component/BackToTop/back-to-top.entry.js +1 -0
  132. package/src/Component/BackToTop/back-to-top.twig +26 -0
  133. package/src/Component/Card/Components/CardContent.tsx +1 -1
  134. package/src/Component/Card/Components/CardMedia.tsx +1 -1
  135. package/src/Component/Card/__snapshots__/Card.stories.tsx.snap +3 -3
  136. package/src/Component/Card/card.css +1 -1
  137. package/src/Component/Carousel/Carousel.stories.ts +66 -36
  138. package/src/Component/Carousel/__snapshots__/Carousel.stories.tsx.snap +5 -5
  139. package/src/Component/ContentBlock/Components/ContentBlockMedia.tsx +1 -1
  140. package/src/Component/ContentBlock/content-block.css +1 -1
  141. package/src/Component/DropMenu/DropMenu.stories.ts +21 -2
  142. package/src/Component/DropMenu/DropMenu.tsx +14 -4
  143. package/src/Component/DropMenu/__snapshots__/DropMenu.stories.ts.snap +3 -3
  144. package/src/Component/DropMenu/__snapshots__/DropMenu.stories.tsx.snap +2 -2
  145. package/src/Component/DropMenu/drop-menu.twig +7 -1
  146. package/src/Component/HeroBanner/__snapshots__/HeroBanner.stories.tsx.snap +1 -1
  147. package/src/Component/InPageNavigation/__snapshots__/InPageNavigation.stories.ts.snap +48 -13
  148. package/src/Component/InPageNavigation/in-page-navigation.twig +4 -6
  149. package/src/Component/ListItem/Components/ListItemMedia.tsx +1 -1
  150. package/src/Component/Navigation/Elements/Navigation.ts +25 -29
  151. package/src/Component/Navigation/README.md +11 -10
  152. package/src/Component/Navigation/__snapshots__/Navigation.stories.ts.snap +8 -8
  153. package/src/Component/Navigation/_navigation-dropdown.css +9 -11
  154. package/src/Component/Navigation/_navigation-mega.css +5 -11
  155. package/src/Component/Navigation/_navigation.css +5 -3
  156. package/src/Component/Navigation/menu.twig +1 -1
  157. package/src/Component/Navigation/navigation.twig +0 -1
  158. package/src/Component/Pagination/Pagination.stories.ts +57 -27
  159. package/src/Component/Pagination/pagination.css +16 -7
  160. package/src/Component/Popover/__snapshots__/Popover.stories.tsx.snap +3 -3
  161. package/src/Component/SideNavigation/Components/SideNavigationTree.tsx +68 -24
  162. package/src/Component/SideNavigation/README.md +78 -32
  163. package/src/Component/SideNavigation/SideNavigation.stories.ts +41 -2
  164. package/src/Component/SideNavigation/SideNavigation.stories.tsx +31 -0
  165. package/src/Component/SideNavigation/SideNavigation.tsx +13 -3
  166. package/src/Component/SideNavigation/__snapshots__/SideNavigation.stories.ts.snap +87 -3
  167. package/src/Component/SideNavigation/__snapshots__/SideNavigation.stories.tsx.snap +2 -0
  168. package/src/Component/SideNavigation/side-navigation.css +3 -3
  169. package/src/Component/SideNavigation/side-navigation.twig +10 -3
  170. package/src/Component/Tabs/Components/TabDropMenu.tsx +7 -1
  171. package/src/Component/Tabs/Elements/Tabs.ts +13 -3
  172. package/src/Component/Tabs/Tabs.stories.ts +33 -12
  173. package/src/Component/Tabs/Tabs.stories.tsx +28 -14
  174. package/src/Component/Tabs/__snapshots__/Tabs.stories.ts.snap +3 -3
  175. package/src/Component/Tabs/__snapshots__/Tabs.stories.tsx.snap +2 -2
  176. package/src/Component/Translate/Elements/Translate.ts +76 -0
  177. package/src/Component/Translate/README.md +285 -0
  178. package/src/Component/Translate/Translate.stories.ts +87 -0
  179. package/src/Component/Translate/Translate.stories.tsx +77 -0
  180. package/src/Component/Translate/Translate.tsx +213 -0
  181. package/src/Component/Translate/__snapshots__/Translate.stories.ts.snap +18 -0
  182. package/src/Component/Translate/__snapshots__/Translate.stories.tsx.snap +3 -0
  183. package/src/Component/Translate/languages.ts +39 -0
  184. package/src/Component/Translate/translate.css +62 -0
  185. package/src/Component/Translate/translate.entry.js +1 -0
  186. package/src/Component/Translate/translate.twig +44 -0
  187. package/src/Form/Autocomplete/Autocomplete.stories.tsx +2 -1
  188. package/src/Form/FeedbackForm/Elements/FeedbackForm.ts +122 -0
  189. package/src/Form/FeedbackForm/FeedbackForm.stories.ts +99 -0
  190. package/src/Form/FeedbackForm/FeedbackForm.stories.tsx +73 -0
  191. package/src/Form/FeedbackForm/FeedbackForm.tsx +196 -0
  192. package/src/Form/FeedbackForm/README.md +233 -0
  193. package/src/Form/FeedbackForm/__snapshots__/FeedbackForm.stories.ts.snap +125 -0
  194. package/src/Form/FeedbackForm/__snapshots__/FeedbackForm.stories.tsx.snap +5 -0
  195. package/src/Form/FeedbackForm/feedback-form.css +74 -0
  196. package/src/Form/FeedbackForm/feedback-form.entry.js +1 -0
  197. package/src/Form/FeedbackForm/feedback-form.twig +80 -0
  198. package/src/Form/form.css +17 -19
  199. package/src/Introduction.mdx +1 -1
  200. package/src/Layout/Footer/__snapshots__/Footer.stories.ts.snap +3 -3
  201. package/src/Layout/Header/Components/GlobalToggle.tsx +1 -1
  202. package/src/Layout/Header/Header.stories.ts +53 -48
  203. package/src/Layout/Header/Header.stories.tsx +35 -22
  204. package/src/Layout/Header/Header.tsx +2 -2
  205. package/src/Layout/Header/__snapshots__/Header.stories.ts.snap +18 -14
  206. package/src/Layout/Header/__snapshots__/Header.stories.tsx.snap +2 -2
  207. package/src/Layout/Header/_toggles.css +7 -7
  208. package/src/Layout/Page/__snapshots__/Page.stories.tsx.snap +1 -1
  209. package/src/Layout/Sidebar/sidebar.css +10 -3
  210. package/src/Utility/Elements/google-translate-widget.ts +293 -0
  211. package/src/Utility/global.d.ts +4 -0
  212. package/src/Utility/utilities.ts +2 -0
  213. package/src/_custom-media.css +2 -0
  214. package/src/elements.ts +3 -0
  215. package/src/enums.ts +2 -0
  216. package/src/react.ts +3 -0
  217. package/src/tokens.js +1 -0
  218. package/dist/build/chunks/Accordion-GN0sME4W.js +0 -1
  219. package/dist/build/chunks/AccordionGroup-Bzqp5__q.js +0 -1
  220. package/dist/build/chunks/AccordionMobile-DG5jSe8Q.js +0 -1
  221. package/dist/build/chunks/Autocomplete-B4RtkAyh.js +0 -1
  222. package/dist/build/chunks/ClosableAlert-DEhj8Nxm.js +0 -1
  223. package/dist/build/chunks/CookieConsent-BkCMRVST.js +0 -1
  224. package/dist/build/chunks/Dialog-Haahn-Yn.js +0 -1
  225. package/dist/build/chunks/DropMenu-1baQc8Yc.js +0 -1
  226. package/dist/build/chunks/Gallery-D8NGXy2Q.js +0 -1
  227. package/dist/build/chunks/GlobalToggle-B52fdBQu.js +0 -1
  228. package/dist/build/chunks/InPageNavigation-Dyn2TR-N.js +0 -1
  229. package/dist/build/chunks/Navigation-hOrfLq7h.js +0 -1
  230. package/dist/build/chunks/Popover-Cxg-s5Jn.js +0 -1
  231. package/dist/build/chunks/Sticky-BGCuuEJK.js +0 -1
  232. package/dist/build/chunks/Tabs-DYy1YTdU.js +0 -15
  233. package/dist/build/chunks/cookie-compliance-Bbm-0vpj.js +0 -1
  234. package/dist/build/chunks/enums-DLV_1NAf.js +0 -1
  235. package/dist/build/chunks/polyfills-C7pRt54M.js +0 -1
  236. package/dist/build/chunks/utilities-_Bq3TxAQ.js +0 -1
@@ -1 +1,2291 @@
1
- import{n as e,t}from"./chunks/cookie-compliance-Bbm-0vpj.js";import{s as n}from"./chunks/utilities-_Bq3TxAQ.js";import{_ as r,a as i,c as a,d as o,f as s,g as c,h as l,i as u,l as d,m as f,n as p,o as m,p as h,r as g,s as _,t as v,u as y,v as b}from"./chunks/enums-DLV_1NAf.js";import{AsTypes as x,GlobalAlertTypes as S,HeadingTypes as C,InPageAlertTypes as w,MastheadModifier as T,PopoverPlacementModifier as E,SectionModifiers as D,SectionTypes as O}from"@pnx-mixtape/ids-shape";import{Fragment as k,cloneElement as A,createContext as j,isValidElement as ee,use as M,useCallback as N,useEffect as P,useId as F,useLayoutEffect as I,useMemo as L,useRef as R,useState as z,useSyncExternalStore as B}from"react";import{Fragment as V,jsx as H,jsxs as U}from"react/jsx-runtime";import W from"classnames";import{Item as te,useCheckboxGroupState as ne,useComboBoxState as re,useDisclosureState as G,useRadioGroupState as ie,useToggleState as ae}from"react-stately";import{FocusScope as K,useCheckbox as oe,useCheckboxGroup as se,useCheckboxGroupItem as ce,useFocusManager as le,useRadio as ue,useRadioGroup as de}from"react-aria";var fe=j(({alt:e,...t})=>/* @__PURE__ */ H(`img`,{alt:e,...t})),pe=()=>M(fe),me=({children:e,component:t=null})=>/* @__PURE__ */ H(fe,{value:t,children:e}),he=j(({to:e,children:t,...n})=>/* @__PURE__ */ H(`a`,{href:e,...n,children:t})),ge=()=>M(he),_e=({children:e,component:t=null})=>/* @__PURE__ */ H(he,{value:t,children:e}),ve={[C.ONE]:`mx-heading--xxl`,[C.TWO]:`mx-heading--xl`,[C.THREE]:`mx-heading--l`,[C.FOUR]:`mx-heading--m`,[C.FIVE]:`mx-heading--s`},q=({children:e,as:t=C.TWO,modifiers:r=i,style:a,className:o,id:s,excluded:c,...l})=>{let u=`${t}`,d=R(null),f=r.map(e=>ve[e]),[p,m]=z(s);return P(()=>{if(!p&&d.current){if(d.current.id){m(d.current.id);return}m(n(d.current?.textContent))}},[p,d]),/* @__PURE__ */ H(u,{className:W(f,o,a,{"is-excluded":c}),id:p,ref:d,...l,children:e})},ye=({children:e,...t})=>/* @__PURE__ */ H(`dl`,{...t,children:e}),be=({title:e,action:t=null,children:n,...r})=>/* @__PURE__ */ U(`div`,{...r,children:[/* @__PURE__ */ H(`dt`,{children:e}),/* @__PURE__ */ H(`dd`,{children:n}),t&&/* @__PURE__ */ H(`dd`,{className:`mx-list__action`,children:t})]}),xe=({condition:e,children:t,...n})=>e?/* @__PURE__ */ H(`figure`,{...n,children:t}):/* @__PURE__ */ H(V,{children:t}),Se=({align:e,caption:t,className:n,...r})=>{let i=pe();return/* @__PURE__ */ U(xe,{className:W({[`mx-media--${e}`]:e,[n]:n}),condition:!!e||!!t||!!n,children:[/* @__PURE__ */ H(i,{...r}),t&&/* @__PURE__ */ H(`figcaption`,{children:t})]})},J=({to:e,children:t,allyText:n,more:r,external:i,download:a,current:o,className:s=`mx-link`,...c})=>{let l=ge(),u=i?{target:`_blank`,rel:`noopener noreferrer`}:{},d=F(),f=i||!!n;return/* @__PURE__ */ U(l,{to:e,className:W(s,{"mx-link--more":r,"mx-link--external":i,"mx-link--download":a}),...o?{"aria-current":`page`}:{},...f?{"aria-describedby":d}:{},...u,...c,children:[t,f&&/* @__PURE__ */ H(`span`,{id:d,className:`sr-only`,"aria-hidden":`true`,children:[i&&`(opens in a new window)`,n].filter(Boolean).join(` `)})]})},Ce=({children:e,as:t=b.P,modifier:n=null,className:r=null,...i})=>{let a=`${t}`;return/* @__PURE__ */ H(a,{className:W(n,r),...i,children:e})},we=({title:e,allow:t=`fullscreen; picture-in-picture; encrypted-media; clipboard-write`,allowFullScreen:n=!0,className:r=null,...i})=>/* @__PURE__ */ H(`figure`,{className:W(`mx-video`,r),children:/* @__PURE__ */ H(`iframe`,{title:e,allow:t,allowFullScreen:n,...i})}),Te=({icon:e,color:t,text:n,align:r,rotate:i,size:a})=>/* @__PURE__ */ H(`span`,{className:W(`mx-icon`,`mx-icon--${e}`,{[`mx-icon--color-${t}`]:t,[`mx-icon--${r}`]:r,[`mx-icon--${i}`]:i,[`mx-icon--size-${a}`]:a}),children:n}),Ee=({children:e,modifiers:t=i,iconStart:n,iconEnd:r,iconOnly:a,className:o,type:s=`button`,...c})=>{let l=[`mx-button`,o],u=t.map(e=>`mx-button--${e}`);return/* @__PURE__ */ U(`button`,{className:W([...l,...u],{"mx-button--icon-only":a}),type:s,...c,children:[n&&/* @__PURE__ */ H(Te,{icon:n}),e,r&&/* @__PURE__ */ H(Te,{icon:r})]})},Y=typeof window>`u`?P:I,De=j(null),Oe=()=>M(De),ke=({children:e,active:t=!1,id:n=null,className:r=`mx-accordion--divided`,...i})=>{let{isExpanded:a,toggle:o,expand:s}=G({defaultExpanded:t}),c=F(),l=n||c;Y(()=>{typeof window<`u`&&window.location.hash&&window.location.hash===`#${l}`&&s()},[l,s]);let u=L(()=>({isExpanded:a,toggle:o,id:l}),[a,o,l]);return/* @__PURE__ */ H(De,{value:u,children:/* @__PURE__ */ H(`div`,{className:W(`mx-accordion`,r),"data-open":a,...i,children:e})})},Ae=({children:e,headingLevel:t=null})=>{let{id:n,isExpanded:r,toggle:i}=Oe();return/* @__PURE__ */ H(t||k,{children:/* @__PURE__ */ H(`button`,{type:`button`,className:`mx-accordion__toggle`,id:n,"aria-expanded":r,onClick:()=>i(),children:e})})},je=[`mx-button`,`mx-button--small`,`mx-icon`,`mx-button--icon-only`,`mx-icon--chevron-down`],Me=({className:e=je})=>/* @__PURE__ */ H(`span`,{className:W(e),"aria-hidden":`true`}),Ne=({children:e})=>{let{id:t,isExpanded:n}=Oe();return/* @__PURE__ */ H(`section`,{"aria-labelledby":t,className:W(`mx-accordion__content`,`mx-rich-text`,`mx-vertical-flow`),inert:!n,children:e})},Pe=({items:e,title:t,className:n,...r})=>/* @__PURE__ */ H(`nav`,{className:W(`mx-nav`,`mx-nav--breadcrumbs`,`mx-nav--inline`,n),"aria-label":`You are here`,...r,children:/* @__PURE__ */ U(`ul`,{children:[e&&e.map((n,r)=>{let i=!t&&r===e.length-1;return/* @__PURE__ */ H(`li`,{children:/* @__PURE__ */ H(J,{to:n.to,...i?{"aria-current":`page`}:{},children:n.title})},n.id)}),t&&/* @__PURE__ */ H(`li`,{children:/* @__PURE__ */ H(`span`,{"aria-current":`page`,children:t})})]})}),Fe=({children:e,reversed:t=null,block:n=!1,as:r=x.DIV,background:i=null,className:a=null})=>{let o=`${r}`;return/* @__PURE__ */ H(o,{className:`mx-container`,children:/* @__PURE__ */ H(`article`,{className:W(`mx-card`,a,{"mx-card--reversed":t,"mx-card--block":n,[`mx-background--${i}`]:i}),children:e})})},Ie=({children:e})=>/* @__PURE__ */ H(`div`,{className:W(`mx-card__content`,`mx-vertical-flow-flex`),children:e}),Le=({children:e,skeleton:t=!1})=>/* @__PURE__ */ U(`figure`,{className:W(`mx-card__media`,`stack`),children:[t&&/* @__PURE__ */ H(`div`,{className:`mx-skeleton mx-skeleton--bg`}),e]}),Re=({children:e,as:t=x.DIV,...n})=>{let r=`${t}`;return/* @__PURE__ */ H(r,{className:W(`mx-content-block`),...n,children:e})},ze=({children:e})=>/* @__PURE__ */ H(`div`,{className:W(`mx-content-block__content`,`mx-vertical-flow`),children:e}),Be=({children:e,skeleton:t=!1})=>/* @__PURE__ */ U(`figure`,{className:W(`mx-content-block__media`,`stack`),children:[t&&/* @__PURE__ */ H(`div`,{className:`mx-skeleton mx-skeleton--bg`}),e]}),Ve=j(null),He=()=>M(Ve),Ue=()=>{},We=({children:e,open:t=!1,onClose:n=Ue,modal:r=!1,fullscreen:i=!1,...a})=>{let o=R(null),s=N(()=>{o.current?.close()},[o]);Y(()=>{if(!o.current)return;let e=r||i;return t?e?(o.current.showModal(),document.body.classList.add(`body--scroll-lock`)):o.current.show():(o.current.close(),e&&document.body.classList.remove(`body--scroll-lock`)),()=>{e&&document.body.classList.remove(`body--scroll-lock`)}},[t,r,i,o]);let c=L(()=>({handleClose:s,ref:o,open:t}),[s,o,t]);return/* @__PURE__ */ H(Ve,{value:c,children:/* @__PURE__ */ H(`dialog`,{ref:o,onClose:n,className:W(`mx-dialog`,{"mx-dialog--fullscreen":i}),...a,children:e})})},Ge=({children:e,ref:t})=>/* @__PURE__ */ H(`div`,{className:`mx-dialog__content mx-vertical-flow`,ref:t,children:e}),Ke=()=>{let{handleClose:e}=He();return/* @__PURE__ */ H(`button`,{onClick:e,className:`mx-button mx-button--icon-only mx-icon mx-icon--close`,type:`button`,children:`Close dialog`})},qe=({ref:e=null,levels:t=`h2, h3`})=>{let[r,i]=z([]);return P(()=>{if(typeof window>`u`)return;let r=[...(e?.current||document.querySelector(`section`)).querySelectorAll(t)],a={},o=r.map(({textContent:e,id:t,localName:r})=>{let i=n(e),o=a[i]??0;return a[i]=o+1,{id:t||(o>0?`${i}-${o}`:i),text:e,level:r}});i([...new Set(o)]),r.forEach((e,t)=>{e.id=o[t].id})},[e,t]),{headings:r}},Je=[C.FOUR],Ye=({title:e=`On this page`,containerRef:t,levels:n})=>{let{headings:r}=qe({ref:t,levels:n});return/* @__PURE__ */ U(`nav`,{className:`mx-in-page-navigation mx-nav mx-nav--list mx-vertical-flow`,children:[/* @__PURE__ */ H(q,{as:C.TWO,modifiers:Je,children:e}),/* @__PURE__ */ H(`ul`,{children:r.map(({level:e,id:t,text:n})=>/* @__PURE__ */ H(`li`,{className:`mx-in-page-navigation__level--${e}`,children:/* @__PURE__ */ H(J,{to:`#${t}`,className:`mx-icon mx-icon--chevron-right`,children:n})},t))})]})},Xe=({children:e,type:t=w.INFO})=>/* @__PURE__ */ H(`div`,{className:W(`message`,{[`message--${t}`]:t,"mx-icon":t,[`mx-icon--${t}`]:t}),children:/* @__PURE__ */ H(`div`,{className:`message__content`,children:e})}),Ze=(e,t)=>{let n=JSON.stringify(t);window.localStorage.setItem(e,n),window.dispatchEvent(new StorageEvent(`storage`,{key:e,newValue:n}))},Qe=e=>{window.localStorage.removeItem(e),window.dispatchEvent(new StorageEvent(`storage`,{key:e,newValue:null}))},$e=()=>{throw Error(`useLocalStorage is a client-only hook`)},et=({key:e,initialValue:t})=>{let n=N(e=>(window.addEventListener(`storage`,e),()=>window.removeEventListener(`storage`,e)),[]),r=B(n,()=>window.localStorage.getItem(e),$e),i=N(t=>{try{let n=JSON.parse(r),i=typeof t==`function`?t(n):t;i==null?Qe(e):Ze(e,i)}catch{}},[e,r]);return P(()=>{window.localStorage.getItem(e)===null&&t!==void 0&&Ze(e,t)},[e,t]),[r?(()=>{try{return JSON.parse(r)}catch{return t}})():t,i]},tt=({children:e,id:t,type:n=S.LIGHT,dismissible:r})=>{let i=F(),a=t||i,[o,s]=et({key:a,initialValue:!0}),c=n===S.CRITICAL,l=()=>{s(!1),typeof document<`u`&&document.body.focus?.()};return/* @__PURE__ */ H(V,{children:o&&/* @__PURE__ */ H(`div`,{id:a,role:c?`alert`:`status`,"aria-live":c?`assertive`:`polite`,"aria-atomic":`true`,className:W(`mx-global-alert`,{[`mx-global-alert--${n}`]:n}),children:/* @__PURE__ */ U(`div`,{className:`mx-global-alert__inner`,children:[/* @__PURE__ */ H(`div`,{className:`mx-global-alert__content`,children:e}),r&&/* @__PURE__ */ H(`button`,{className:W(`mx-icon`,`mx-icon--close`),onClick:l,"aria-label":`Close ${n} message`,type:`button`})]})})})},nt=({children:e,fieldset:t=!1,legend:n=null,className:r=null,...i})=>/* @__PURE__ */ U(t?`fieldset`:`div`,{className:W(`mx-form-item`,r,{"mx-fieldset":t}),...i,children:[n&&/* @__PURE__ */ H(`legend`,{className:`mx-legend`,children:n}),e]}),rt=j(null),it=({label:e,children:t,...n})=>{let r=ne(n),{groupProps:i}=se(n,r);return/* @__PURE__ */ H(nt,{fieldset:!0,...i,legend:e,children:/* @__PURE__ */ H(rt,{value:r,children:t})})},at=({children:e,status:t=m.DEFAULT,className:n=``,...r})=>{let i=F(),a=R(null),o=M(rt),{inputProps:s}=ce(r,o,a),c=W(`mx-checkbox`,n);return/* @__PURE__ */ U(`div`,{className:c,children:[/* @__PURE__ */ H(`input`,{id:i,ref:a,"aria-invalid":t===m.INVALID,...s}),/* @__PURE__ */ H(`label`,{htmlFor:i,children:e})]})},ot=({children:e,status:t=m.DEFAULT,className:n=``,...r})=>{let i=F(),a=R(null),o=ae(r),{inputProps:s}=oe(r,o,a),c=W(`mx-checkbox`,n);return/* @__PURE__ */ U(`div`,{className:c,children:[/* @__PURE__ */ H(`input`,{id:i,ref:a,"aria-invalid":t===m.INVALID,...s}),/* @__PURE__ */ H(`label`,{htmlFor:i,children:e})]})},st=e=>`help-${e}`,ct=e=>`status-${e}`,lt=({children:e,id:t,status:n=m.DEFAULT})=>{let r=n!==m.DEFAULT,i=n===m.INVALID?`alert`:n===m.VALID?`status`:void 0;return/* @__PURE__ */ H(`div`,{id:r?ct(t):st(t),role:i,className:W({"mx-description":n===m.DEFAULT,"mx-error-message":n===m.INVALID,"mx-success-message":n===m.VALID}),children:e})},ut=({text:e,id:t,required:n})=>/* @__PURE__ */ U(`label`,{className:`mx-label`,htmlFor:t,children:[e,n&&/* @__PURE__ */ H(`span`,{className:`mx-required`,children:`(required)`})]}),dt=j(null),ft=({label:e,children:t,...n})=>{let r=ie(n),{radioGroupProps:i}=de(n,r);return/* @__PURE__ */ H(nt,{fieldset:!0,...i,legend:e,children:/* @__PURE__ */ H(dt,{value:r,children:t})})},pt=({children:e,status:t=m.DEFAULT,className:n=``,...r})=>{let i=F(),a=R(null),o=M(dt),{inputProps:s}=ue(r,o,a),c=W(`mx-radio`,n);return/* @__PURE__ */ U(`div`,{className:c,children:[/* @__PURE__ */ H(`input`,{id:i,...s,ref:a,"aria-invalid":t===m.INVALID}),/* @__PURE__ */ H(`label`,{htmlFor:i,children:e})]})},mt=({label:e,value:t})=>/* @__PURE__ */ H(`option`,{value:t,children:e}),ht=({id:e,options:t,label:n=`Select one`,status:r=m.DEFAULT,className:i=``,selected:a=``,...o})=>{let[s,c]=z(a),l=({currentTarget:e})=>c(e.value),u=W(`mx-input__select`,i),d=t.map(({label:e,value:t})=>/* @__PURE__ */ H(mt,{label:e,value:t},t));return/* @__PURE__ */ U(`select`,{id:e,className:u,onChange:l,value:s,"aria-describedby":`help-${e}`,"aria-invalid":r===m.INVALID,...o,children:[/* @__PURE__ */ H(`button`,{children:/* @__PURE__ */ H(`selectedcontent`,{})}),/* @__PURE__ */ H(mt,{label:n,value:``}),d]})},gt=({id:e,required:t=!1,value:n=``,status:r=m.DEFAULT,type:i=`text`,name:a=null,className:o=``,...s})=>{let[c,l]=z(n),u=({currentTarget:e})=>l(e.value),d=W(`mx-input__text`,o);return/* @__PURE__ */ H(`input`,{className:d,onChange:u,id:e,type:i,name:a,value:c,required:t,"aria-describedby":`help-${e}`,"aria-invalid":r===m.INVALID,...s})},_t=({id:e,required:t=!1,value:n=``,status:r=m.DEFAULT,name:i=null,className:a=``,...o})=>{let[s,c]=z(n),l=({currentTarget:e})=>c(e.value),u=W(`mx-input__textarea`,a);return/* @__PURE__ */ H(`textarea`,{className:u,onChange:l,id:e,name:i,value:s,required:t,"aria-describedby":`help-${e}`,"aria-invalid":r===m.INVALID,...o})},vt=({as:e,children:t,...n})=>/* @__PURE__ */ H(q,{as:e,className:`mx-title`,...n,children:t}),yt=({children:e,...t})=>/* @__PURE__ */ H(`form`,{...t,children:e}),bt=({children:e,ordered:t=!1,modifier:n=null,className:r=null})=>/* @__PURE__ */ H(`${t?`ol`:`ul`}`,{className:W(`mx-list`,n,r),children:e}),xt=({children:e,wrapper:t=!1,container:n=!1,cols:r,width:i,className:a,as:o=x.DIV,...s})=>{let c=`${o}`,l=L(()=>r?Array.isArray(r)?r.map(e=>`mx-grid--cols-${e}`):[`mx-grid--cols-${r}`]:[],[r]);return/* @__PURE__ */ H(c,{className:W({"mx-grid":t,"mx-container":n,[l.join(` `)]:r&&t,[`mx-grid-item__span-${i}`]:i},a),...s,children:e})},St=({children:e,header:t,footer:n,masthead:r,mainId:i=`main`})=>/* @__PURE__ */ U(`div`,{className:`mx-page`,children:[r,t,/* @__PURE__ */ H(`main`,{id:i,className:`mx-page`,children:e}),n]}),Ct=({condition:e,children:t,...n})=>e?/* @__PURE__ */ H(`div`,{...n,children:t}):/* @__PURE__ */ H(V,{children:t}),X=({children:e,sizes:t,width:n,flow:r,as:i=O.DIV,className:a,background:o,innerClassName:s,containing:c=!1,container:l=!1,...u})=>{let d=`${i}`,f=L(()=>t?Array.isArray(t)?t.map(e=>`mx-section--${e}`):[`mx-section--${t}`]:[],[t]);return/* @__PURE__ */ H(d,{className:W({"mx-page":c,[a]:a,[f.join(` `)]:t,[`mx-page--${n}`]:n&&c,[`mx-section--${n}`]:n&&!c,[`mx-section--${r}`]:r,[`mx-background--${o}`]:o}),...u,children:/* @__PURE__ */ H(Ct,{className:W({[s]:s,"mx-container":l}),condition:!!l||!!s,children:e})})},wt=({highlight:e=!1,children:t,className:n,modifier:r,...i})=>/* @__PURE__ */ H(X,{className:W(`mx-hero-banner`,n,{"mx-background--reverse":r===`dark`,"mx-background--alt":r===`off-white`,"mx-background--primary":r===`light`,"mx-hero-banner--hero":e}),containing:!0,children:/* @__PURE__ */ H(`div`,{className:W(`mx-hero-banner__inner`),...i,children:t})}),Tt=({children:e})=>/* @__PURE__ */ H(`div`,{className:W(`mx-hero-banner__content`,`mx-vertical-flow-flex`,`mx-section--xl`),children:e}),Et=({children:e,hasImg:t=!1})=>/* @__PURE__ */ H(`div`,{className:W(`mx-hero-banner__aside`,{"mx-hero-banner__aside-image":t,"mx-section--xl":!t}),children:e}),Dt=({highlight:e=!1,search:t,children:n,modifier:r,aside:i,hasImg:a=!1,...o})=>/* @__PURE__ */ U(wt,{modifier:r,highlight:e,...o,children:[/* @__PURE__ */ U(Tt,{children:[n,t]}),i&&/* @__PURE__ */ H(Et,{hasImg:a,children:i})]}),Ot=({sizes:e,width:t,cols:n,children:r,className:i,innerClassName:a,as:o=O.DIV,containing:s=!1,container:c=!1,...l})=>{let u=`${o===O.LIST?O.DIV:o}`,d=o===O.LIST?O.LIST:O.DIV,f=L(()=>e?Array.isArray(e)?e.map(e=>`mx-section--${e}`):[`mx-section--${e}`]:[],[e]);return/* @__PURE__ */ H(u,{className:W({"mx-page":s,[i]:i,[f.join(` `)]:e,[`mx-page--${t}`]:t&&s,[`mx-section--${t}`]:t&&!s}),...l,children:/* @__PURE__ */ H(xt,{wrapper:!0,container:c,as:d,cols:n,className:a,children:r})})},kt=({children:e})=>/* @__PURE__ */ H(`ul`,{className:W(`mx-link-list`),children:e}),At=({children:e,to:t,icon:n=a.CHEVRON_RIGHT,className:r})=>/* @__PURE__ */ H(`li`,{className:r,children:/* @__PURE__ */ U(J,{to:t,children:[e,/* @__PURE__ */ H(`span`,{className:W(`mx-icon`,`mx-icon--${n}`)})]})}),jt=()=>L(()=>{if(!window)return{};let{location:{search:e,pathname:t},history:n}=window;return{searchParams:new URLSearchParams(e),pathname:t,history:n}},[]),Mt=j(null),Nt=()=>M(Mt),Pt=({total:t,resultsPerPage:n,currentPage:r,children:i,onClick:a,onMouseOver:o,scrollRef:s})=>{let c=R(!1),l=R(1),u=n*(r-1)+1,d=n*r,f=L(()=>r>1?u:1,[r,u]),p=L(()=>t>d?d:t,[t,d]),m=L(()=>t>n,[t,n]),h=L(()=>Math.ceil(t/n),[t,n]),g=L(()=>{let e=[];if(!t||n>=t)return e;if(r>h){let t=2;for(;t<h;)e.push(t),t+=1}let i=Math.max(r-2,2),a=Math.min(r+2,h-1),o=i;for(;o<=a;)e.push(o),o+=1;return e},[t,h,n,r]),_=L(()=>g.length!==0&&g[0]!==2,[g]),v=L(()=>g.length!==0&&g[g.length-1]!==h-1,[g,h]),{searchParams:y,pathname:b,history:x}=jt();Y(()=>{if(c.current)return;let t=y?.get(`page`)??`1`;if(!e.integer(t,1,h)){a&&r!==1&&a(1);return}let n=parseInt(t,10);return a&&n!==r&&a(n),()=>{c.current=!0}},[r,a,y,h]),P(()=>{if(l.current===r)return;s?.current?.scrollIntoView();let e=``;return r!==1&&(y?.set(`page`,r.toString()),e=`?${y?.toString()}`),x?.pushState(null,``,`${b}${e}`),()=>{l.current=r}},[r,s,l,x,b,y]);let S=L(()=>({total:t,resultsPerPage:n,currentPage:r,showPager:m,lastPage:h,visiblePages:g,showFirstEllipsis:_,showLastEllipsis:v,pageStart:f,pageEnd:p,onClick:a,onMouseOver:o}),[t,n,r,m,h,g,_,v,f,p,a,o]);return/* @__PURE__ */ H(Mt,{value:S,children:i})},Z=({as:e=`item`,number:t,active:n=!1,disabled:r=!1})=>/* @__PURE__ */ U(e===`previous`||e===`next`?`div`:`li`,{className:W(`mx-pagination__${e}`),"aria-current":n?`page`:null,"aria-hidden":e===`ellipsis`||r?`true`:null,children:[e===`ellipsis`&&/* @__PURE__ */ H(V,{children:`...`}),e===`item`&&/* @__PURE__ */ U(V,{children:[n&&/* @__PURE__ */ H(V,{children:t}),!n&&/* @__PURE__ */ H(`button`,{type:`button`,"data-page":t,children:t})]}),(e===`next`||e===`previous`)&&/* @__PURE__ */ U(`button`,{type:`button`,disabled:r,"data-page":t,children:[e===`previous`&&/* @__PURE__ */ H(`span`,{className:W(`mx-icon`,`mx-icon--arrow-left`)}),/* @__PURE__ */ H(`span`,{children:e}),e===`next`&&/* @__PURE__ */ H(`span`,{className:W(`mx-icon`,`mx-icon--arrow-right`)})]})]}),Ft=()=>{let{currentPage:t,showPager:n,lastPage:r,visiblePages:i,showFirstEllipsis:a,showLastEllipsis:o,onClick:s,onMouseOver:c}=Nt();return/* @__PURE__ */ H(V,{children:n&&/* @__PURE__ */ U(`nav`,{className:`mx-pagination`,"aria-label":`Pagination`,onClick:t=>{let n=t.target.closest(`[data-page]`)?.getAttribute(`data-page`);n&&e.integer(n,1,r)&&(s(parseInt(n,10)),t.preventDefault(),t.stopPropagation())},onMouseEnter:t=>{let n=t.target.closest(`[data-page]`)?.getAttribute(`data-page`);n&&e.integer(n,1,r)&&c(parseInt(n,10))},onKeyDown:t=>{if(t.key!==`Enter`)return;let n=t.target.closest(`[data-page]`)?.getAttribute(`data-page`);n&&e.integer(n,1,r)&&(s(parseInt(n,10)),t.preventDefault(),t.stopPropagation())},children:[/* @__PURE__ */ H(Z,{as:`previous`,number:t>1?t-1:null,disabled:t===1}),/* @__PURE__ */ U(`div`,{className:`mx-pagination__label`,children:[`Page `,t,` of `,r]}),/* @__PURE__ */ U(`ul`,{className:`mx-pagination__items`,children:[/* @__PURE__ */ H(Z,{as:`item`,number:1,active:t===1}),a&&/* @__PURE__ */ H(Z,{as:`ellipsis`}),i.map(e=>/* @__PURE__ */ H(Z,{as:`item`,number:e,active:t===e},e.toString())),o&&/* @__PURE__ */ H(Z,{as:`ellipsis`}),/* @__PURE__ */ H(Z,{as:`item`,number:r,active:t===r})]}),/* @__PURE__ */ H(Z,{as:`next`,number:t<r?t+1:null,disabled:t===r})]})})},It=({children:e,offset:t,zIndex:n,className:r,as:i=p.DIV,breakpoint:a,onStuckChange:o})=>{let s=`${i}`,c=a?`mx-sticky--${a}`:`mx-sticky`,l=R(null),[u,d]=z(!1),f=L(()=>{let e={};return t&&(e[`--sticky-offset`]=`${t}px`),n&&(e[`--z-index`]=n),e},[t,n]);return P(()=>{let e=l.current;if(!e)return;let t=new IntersectionObserver(([{boundingClientRect:e}])=>{let t=e.y<0;d(e=>(e!==t&&o?.(t),t))});return t.observe(e),()=>t.disconnect()},[o]),/* @__PURE__ */ U(V,{children:[/* @__PURE__ */ H(`div`,{ref:l,className:`mx-sticky__trigger`,"aria-hidden":`true`}),/* @__PURE__ */ H(s,{className:W(c,r,{"is-stuck":u}),style:f,children:e})]})},Lt=j(null),Rt=()=>M(Lt),zt=[],Bt=()=>{},Vt=({id:e,children:t,multiple:n=!1,onClick:r=Bt,closeOnClick:i=!0,selectedItem:a=zt,focusRef:o})=>{let s=R(null),c=R(null),l=F(),u=e||l,d=`${u}-target`,f=`${u}-description`,{isExpanded:p,toggle:m}=G({defaultExpanded:!1}),[h,g]=z(a);P(()=>!c.current||s.current?void 0:((async()=>{if(!(`anchorName`in document.documentElement.style)||!(`popover`in HTMLElement.prototype)){let{default:e}=await import(`./chunks/polyfills-C7pRt54M.js`);s.current=new e(c.current)}})().catch(e=>{}),()=>{s.current?.destroy()}),[c]);let _=()=>{m()};P(()=>{if(!c.current)return;let e=new AbortController;return c.current.addEventListener(`toggle`,_,{signal:e.signal}),()=>{e.abort()}},[c,_]);let v=N((e,t)=>{e.preventDefault();let a=[];a=h.includes(t)?h.filter(e=>e!==t):n?[...h,t]:[t],g(a),r(e,t,a),i&&c.current.togglePopover()},[h,n,r,i]),y=N((e,t)=>{e.key===`Enter`&&(v(e,t),o&&o.current&&o.current.focus())},[v,o]),b=L(()=>({dropMenuId:u,triggerId:d,descriptionId:f,isExpanded:p,popoverRef:c,selected:h,setSelected:g,handleClick:v,handleKeyDown:y}),[u,d,f,p,c,h,v,y]);return/* @__PURE__ */ H(Lt,{value:b,children:t})},Ht=j(null),Q=()=>M(Ht),Ut=({children:e,active:t,modifier:n,id:r})=>{let[i,a]=z(t),[o,s]=z(`Tabs`),c=R(null),l=F(),u=r||l,d=(e,t)=>{a(t);let n=e.target;if(s(n.textContent),typeof window>`u`)return;let r=new URLSearchParams(window.location.search);r.get(`tab`)!==t&&(r.set(`tab`,t),window.history.replaceState({},``,`${window.location.pathname}?${r.toString()}`))};Y(()=>{if(typeof window>`u`)return;let e=new URLSearchParams(window.location.search).get(`tab`);e&&e!==i&&a(e);let t=document.querySelector(`[aria-controls="${i}"]`)?.textContent;t&&s(t)},[i]);let f=L(()=>({activeTab:i,setActiveTab:a,activeTabLabel:o,tabsId:u,tabListRef:c}),[i,o,u,c]),p=L(()=>[i],[i]);return/* @__PURE__ */ H(Ht,{value:f,children:/* @__PURE__ */ H(Vt,{id:u,onClick:d,selectedItem:p,children:/* @__PURE__ */ H(`div`,{className:W(`mx-tabs`,{[`mx-tabs--${n}`]:n}),children:e})})})},Wt=({id:e,className:t,children:n})=>{let{activeTab:r,setActiveTab:i}=Q(),a=le(),o=r===e;return/* @__PURE__ */ H(`button`,{id:`${e}-button`,"aria-controls":e,role:`tab`,onClick:()=>{if(i(e),typeof window>`u`)return;let t=new URLSearchParams(window.location.search);t.get(`tab`)!==e&&(t.set(`tab`,e),window.history.replaceState({},``,`${window.location.pathname}?${t.toString()}`))},onKeyDown:e=>{switch(e.key){case`ArrowRight`:e.preventDefault(),a?.focusNext({wrap:!0});break;case`ArrowLeft`:e.preventDefault(),a?.focusPrevious({wrap:!0});break;case`Home`:e.preventDefault(),a?.focusFirst();break;case`End`:e.preventDefault(),a?.focusLast()}},className:t,"aria-selected":o,tabIndex:o?0:-1,type:`button`,children:n})},Gt=({children:e,id:t,className:n=`mx-section--l`})=>{let{activeTab:r}=Q(),i=r===t;return/* @__PURE__ */ H(`div`,{id:t,className:W(`mx-tabs__panel`,`mx-vertical-flow`,n),inert:!i,"aria-labelledby":`${t}-button`,role:`tabpanel`,tabIndex:0,children:e})},Kt=({children:e})=>{let{tabListRef:t}=Q();return/* @__PURE__ */ H(`div`,{className:`mx-tabs__list desktop-only`,role:`tablist`,ref:t,children:/* @__PURE__ */ H(K,{children:e})})},qt=({condition:e,children:t,...n})=>e?/* @__PURE__ */ H(`div`,{...n,children:t}):/* @__PURE__ */ H(V,{children:t}),Jt=[`mx-button`,`mx-icon`,`mx-icon--chevron-down`,`mx-icon--end`],Yt=({label:e,children:t,className:n,triggerClassNames:r=Jt,popoverClassName:i,role:a=`menu`,ariaLabel:o,description:s=`Results will update when you make a selection. Press escape to close.`})=>{let{dropMenuId:c,triggerId:l,descriptionId:u,popoverRef:d}=Rt(),f=L(()=>({anchorName:`--drop-menu-${c}`}),[c]),p=L(()=>({positionAnchor:`--drop-menu-${c}`}),[c]);return/* @__PURE__ */ U(qt,{className:W(n),condition:!!n,children:[/* @__PURE__ */ H(`button`,{id:l,type:`button`,className:W([...r,`mx-popover__trigger`]),popoverTarget:c,style:f,children:e}),/* @__PURE__ */ U(`div`,{id:c,className:W(`mx-popover mx-drop-menu`,i),popover:``,style:p,ref:d,"aria-labelledby":o?null:l,"aria-label":o,"aria-describedby":u,role:a,children:[/* @__PURE__ */ H(`div`,{id:u,className:`sr-only`,"aria-hidden":`true`,children:s}),/* @__PURE__ */ H(K,{children:t})]})]})},Xt=({children:e})=>{let{activeTabLabel:t}=Q();return/* @__PURE__ */ H(Yt,{label:t,className:`mobile-only`,role:`tablist`,children:e})},Zt=({children:e,className:t,as:n=p.DIV,variant:r,onRemove:i,removeLabel:o=`Remove`})=>{let s=`${n}`;return/* @__PURE__ */ U(s,{className:W(`mx-tag`,{"mx-tag--dismissible":i},r&&`mx-tag--${r}`,t),children:[e,i&&/* @__PURE__ */ H(`button`,{type:`button`,className:`mx-tag__remove mx-icon mx-icon--only mx-icon--${a.CLOSE}`,onClick:i,children:/* @__PURE__ */ H(`span`,{className:`sr-only`,children:o})})]})},Qt=({children:e,className:t,as:n=x.ARTICLE,...r})=>{let i=`${n}`;return/* @__PURE__ */ H(`div`,{className:`mx-container`,children:/* @__PURE__ */ H(i,{className:W([`mx-list-item`,t]),...r,children:e})})},$t=({children:e})=>/* @__PURE__ */ H(`div`,{className:W(`mx-list-item__content`,`mx-vertical-flow`),children:e}),en=({children:e,skeleton:t=!1})=>/* @__PURE__ */ U(`figure`,{className:W(`mx-list-item__media`,`stack`),children:[t&&/* @__PURE__ */ H(`div`,{className:`mx-skeleton mx-skeleton--bg`}),e]}),tn=({title:e,items:t,className:n,inline:r=!1,...i})=>/* @__PURE__ */ H(`nav`,{className:W(`mx-nav`,{"mx-nav--inline":r},n),"aria-label":e,...i,children:/* @__PURE__ */ H(`ul`,{children:t&&t.map(e=>/* @__PURE__ */ H(`li`,{className:W(e.className),children:/* @__PURE__ */ H(J,{to:e.to,className:null,children:e.title})},e.id))})}),nn=({item:e,isMobile:t,className:n=null,...r})=>{let{isExpanded:i,toggle:a,expand:o,collapse:s}=G({defaultExpanded:!1}),c=F(),l=()=>{t&&a()},u=({key:e})=>{switch(e){case`Escape`:case`ArrowUp`:s();break;case`ArrowDown`:case`Space`:case`Enter`:o()}};return/* @__PURE__ */ U(`li`,{className:W({"mx-nav__has-subnav":e.items,className:n}),onMouseEnter:()=>{t||o()},onMouseLeave:()=>{t||s()},...r,children:[/* @__PURE__ */ H(J,{to:e.to,className:null,children:e.title}),e.items&&/* @__PURE__ */ U(V,{children:[/* @__PURE__ */ H(`button`,{onClick:l,onKeyDown:u,"aria-controls":c,"aria-expanded":i,className:W(`mx-nav__toggle`,`mx-icon`,`mx-icon--only`,{"mx-icon--chevron-down":!i,"mx-icon--chevron-up":i}),type:`button`,children:`Sub-navigation`}),i&&/* @__PURE__ */ H(`ul`,{id:c,className:W(`mx-nav__level-2`,`mx-nav--open`),children:e.items.map(e=>/* @__PURE__ */ H(`li`,{className:W(e.className),children:/* @__PURE__ */ H(J,{to:e.to,className:null,children:e.title})},e.id))})]})]})},rn=()=>{throw Error(`useMediaQuery is a client-only hook`)},$=e=>{let t=N(t=>{let n=window.matchMedia(e);return n.addEventListener(`change`,t),()=>{n.removeEventListener(`change`,t)}},[e]);return B(t,()=>window.matchMedia(e).matches,rn)},an=({items:e,title:t,mediaQuery:n=`(max-width: 720px)`,className:r=null,...i})=>{let a=$(n);return/* @__PURE__ */ H(`nav`,{className:W(`mx-nav`,`mx-nav--dropdown`,{className:r}),"aria-label":t,...i,children:/* @__PURE__ */ H(`ul`,{className:`mx-nav__level-1`,children:e&&e.map(e=>/* @__PURE__ */ H(nn,{item:e,isMobile:a},e.id))})})},on=({id:e,label:t,role:n=`menuitemradio`,...r})=>{let{selected:i,handleClick:a,handleKeyDown:o}=Rt(),s=le(),c=i?.includes(e);return/* @__PURE__ */ H(`button`,{type:`button`,"data-id":e,"aria-checked":c,role:n,onClick:t=>a(t,e),onKeyDown:t=>{switch(t.key){case`ArrowDown`:case`ArrowRight`:t.preventDefault(),s?.focusNext({wrap:!0,tabbable:!0});break;case`ArrowUp`:case`ArrowLeft`:t.preventDefault(),s?.focusPrevious({wrap:!0,tabbable:!0});break;default:o(t,e)}},...r,children:t})},sn=({children:e})=>/* @__PURE__ */ H(`div`,{className:`mx-results-bar`,children:e}),cn=({number:e,pageCount:t,total:n})=>/* @__PURE__ */ H(V,{children:n>0?/* @__PURE__ */ U(`span`,{"aria-live":`polite`,children:[`Showing results `,e,` - `,t>n?n:t,` of `,n,` results`]}):/* @__PURE__ */ H(`span`,{"aria-live":`assertive`,"aria-atomic":`true`,children:`Sorry, no results were found for your search`})}),ln=({id:e,name:t,options:n,label:r=`Sort by`,...i})=>{let a=L(()=>n.map(e=>({value:e,label:e})),[n]);return/* @__PURE__ */ U(`div`,{className:`mx-results-bar__sort`,children:[/* @__PURE__ */ H(ut,{id:e,text:r}),/* @__PURE__ */ H(ht,{name:t,options:a,id:e,...i})]})},un=j({counts:/* @__PURE__ */ new Map,pending:!1,totalCount:0}),dn=()=>M(un),fn=`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`,pn=({title:e,action:t,items:n,actions:r,direction:i=`down`,instant:a=!1,collapsible:o=!1,sticky:s=!1,counter:c=!1,onSubmit:l,onReset:u,onChange:d,className:f,children:p,mediaQuery:m=`(max-width: 720px)`})=>{let h=R(null),[g,_]=z(/* @__PURE__ */ new Map),v=$(m),[y,b]=z(!v),x=i===`right`?K:k,S=i===`right`&&y&&v,C=R(null),w=R(0),[T,E]=z(!1),D=R(null),O=L(()=>[...g.values()].filter(e=>e>0).length,[g]),A=N(e=>{let t=h.current;if(!t)return;let n=new FormData(t),r=/* @__PURE__ */ new Map;if(n.forEach((e,t)=>{e&&r.set(t,(r.get(t)??0)+1)}),_(r),d?.(e),!a)return;let i=e.target,o=i instanceof HTMLSelectElement||i instanceof HTMLInputElement&&[`checkbox`,`radio`].includes(i.type);clearTimeout(D.current),o?t.requestSubmit():D.current=setTimeout(()=>t.requestSubmit(),400)},[d,a]),j=N(e=>{let t=l?.(e);if(t){let e=++w.current;E(!0),t.finally(()=>{w.current===e&&E(!1)})}},[l]),ee=N(e=>{_(/* @__PURE__ */ new Map),clearTimeout(D.current),u?.(e),a&&(D.current=setTimeout(()=>h.current?.requestSubmit(),0))},[u,a]),M=N(({newState:e})=>{b(e===`open`)},[]);P(()=>()=>clearTimeout(D.current),[]),Y(()=>{b(!v)},[v]),Y(()=>{if(!S){C.current?.focus(),C.current=null;return}C.current=document.activeElement,h.current?.querySelector(fn)?.focus()},[S]);let F=L(()=>({counts:g,pending:T,totalCount:O}),[g,T,O]),I=/* @__PURE__ */ U(V,{children:[e,c&&O>0&&/* @__PURE__ */ H(`span`,{className:`mx-tag`,"aria-live":`polite`,children:O})]}),B=/* @__PURE__ */ H(`form`,{ref:h,className:`mx-filters__form mx-vertical-flow`,action:t,"aria-busy":T,onChangeCapture:A,onSubmit:j,onReset:ee,children:/* @__PURE__ */ U(x,{...i===`right`?{contain:S}:{},children:[i===`right`&&/* @__PURE__ */ U(`div`,{className:`mx-filters__title`,children:[e,/* @__PURE__ */ H(`button`,{className:`mx-button mx-button--icon-only mx-icon mx-icon--close`,type:`button`,onClick:()=>b(!1),children:`Close filters`})]}),n?.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t)),p,r&&r.length>0&&/* @__PURE__ */ H(`div`,{className:`mx-form-actions`,children:r.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t))})]})}),te=o?/* @__PURE__ */ U(`details`,{className:`mx-accordion`,open:y,onToggle:M,children:[/* @__PURE__ */ U(`summary`,{className:`mx-accordion__toggle mx-filters__title`,children:[I,/* @__PURE__ */ H(`span`,{className:W(`mx-icon`,{"mx-icon--chevron-right":i===`right`,"mx-icon--chevron-down":i===`down`}),"aria-hidden":`true`})]}),B]}):/* @__PURE__ */ U(V,{children:[/* @__PURE__ */ H(`h2`,{className:`mx-filters__title`,children:I}),B]});return/* @__PURE__ */ H(un,{value:F,children:/* @__PURE__ */ H(`div`,{className:W(`mx-filters`,i&&`mx-filters--${i}`,s&&`mx-filters--sticky`,a&&`mx-filters--auto`,f),children:te})})},mn=({id:e,name:t,as:n=`div`,label:r,fields:a=i,descriptionStart:o,descriptionEnd:s,status:c,inline:l=!1,shownItems:u,collapsible:d,children:f})=>{let[p,m]=z(!1),{counts:h}=dn(),g=t==null?0:h.get(t)??0,_=!p&&typeof u==`number`&&a.length>u,v=_?a.slice(0,u):a,y=_?a.slice(u):[],b=W(`mx-form-item`,n===`fieldset`&&`mx-fieldset`,l&&`mx-form-item--inline`,d?`mx-accordion__content`:`mx-filter-item`),x=/* @__PURE__ */ U(n,{className:b,id:e?`${e}-item`:void 0,children:[r,o,a.length>0?/* @__PURE__ */ U(V,{children:[v.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t)),_&&/* @__PURE__ */ U(`button`,{className:`mx-button mx-button--light`,type:`button`,onClick:()=>m(!0),children:[`Show all (`,a.length,`)`]}),p&&y.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t))]}):f,s,c]});return d?/* @__PURE__ */ U(ke,{active:d.open??!1,id:e?`${e}-container`:void 0,className:`mx-filter-item`,children:[/* @__PURE__ */ U(Ae,{children:[d.title,d.counter&&g>0&&/* @__PURE__ */ H(`span`,{className:`mx-tag`,"aria-live":`polite`,children:g}),/* @__PURE__ */ H(`span`,{className:`mx-icon mx-icon--chevron-down`,"aria-hidden":`true`})]}),/* @__PURE__ */ H(Ne,{children:x})]}):x},hn=({items:e,pagination:t=!1,counter:n=!1,loop:r=!1,className:i})=>{let a=R(null),[o,s]=z(0),[c,l]=z(0),[u,d]=z(!1),[f,p]=z(!0),[m,h]=z(!1),[g,_]=z(!1),v=R(/* @__PURE__ */ new Map),y=t?`pagination`:n?`counter`:null,b=F(),x=N(()=>[...v.current.values()].filter(Boolean).length,[]),S=N(()=>{let e=[...v.current.keys()],t=x();return t===0?e:e.filter((e,n)=>n%t===0)},[x]),C=N(()=>{let e=S().length;e<=0||l(e)},[S]),w=N(()=>{let e=a.current;if(!e)return;let t=e.scrollWidth>e.clientWidth;d(t),t&&y&&setTimeout(C,200)},[C,y]),T=N(()=>{let e=a.current;if(!e)return;p(e.scrollLeft<200);let t=Math.round(e.scrollLeft)>=Math.round(e.scrollWidth-e.offsetWidth);if(_(t),r||h(t),y){let n=Math.round(e.offsetLeft+e.scrollLeft);if(t){let e=S().length-1;s(e)}else{let e=0,t=1/0;S().forEach((r,i)=>{let a=Math.abs(Math.round(r.offsetLeft)-n);a<t&&(t=a,e=i)}),s(e)}}},[r,y,S]),E=R(null),D=N(()=>{clearTimeout(E.current),E.current=setTimeout(T,y?100:200)},[T,y]),O=N(e=>{if(e<0||!a.current)return;let t=[...v.current.keys()],n=x()||1;if(e===0||r&&g&&e>o){s(0),t[0]?.scrollIntoView({inline:`start`,block:`nearest`});return}s(e),t[n*e]?.scrollIntoView({inline:`start`,block:`nearest`})},[o,g,r,x]);return P(()=>{let e=a.current;if(!e)return;let t=e.querySelectorAll(`:scope > li`);v.current=/* @__PURE__ */ new Map;let n=new IntersectionObserver(e=>{e.forEach(({target:e,intersectionRatio:t})=>{let n=e;t>.5?(n.removeAttribute(`inert`),n.setAttribute(`aria-hidden`,`false`),v.current.set(n,!0)):(n.setAttribute(`inert`,``),n.setAttribute(`aria-hidden`,`true`),v.current.set(n,!1))})},{root:e,threshold:.5});t.forEach(e=>n.observe(e));let r=new ResizeObserver(()=>w());r.observe(e);let i=new MutationObserver(()=>w());return i.observe(e,{childList:!0}),e.addEventListener(`scroll`,D),()=>{n.disconnect(),r.disconnect(),i.disconnect(),e.removeEventListener(`scroll`,D),clearTimeout(E.current)}},[D,w]),/* @__PURE__ */ U(`div`,{className:W(`mx-carousel`,i),role:`region`,"aria-roledescription":`carousel`,id:b,children:[/* @__PURE__ */ U(`div`,{className:`mx-carousel__buttons`,hidden:!u,role:`group`,"aria-label":`Quick page controls`,children:[/* @__PURE__ */ U(`button`,{className:`mx-button mx-button--icon-only mx-carousel__prev`,type:`button`,disabled:f,onClick:()=>O(o-1),children:[/* @__PURE__ */ H(`span`,{className:`sr-only`,children:`previous page`}),/* @__PURE__ */ H(`span`,{className:`mx-icon mx-icon--chevron-left`,"aria-hidden":`true`})]}),/* @__PURE__ */ U(`button`,{className:`mx-button mx-button--icon-only mx-carousel__next`,type:`button`,disabled:m,onClick:()=>O(o+1),children:[/* @__PURE__ */ H(`span`,{className:`sr-only`,children:`next page`}),/* @__PURE__ */ H(`span`,{className:`mx-icon mx-icon--chevron-right`,"aria-hidden":`true`})]})]}),/* @__PURE__ */ H(`ul`,{ref:a,className:`mx-carousel__scrollable`,"aria-live":`off`,...u?{tabIndex:0}:{},children:e.map((e,t)=>/* @__PURE__ */ H(`li`,{"data-index":t,children:e},t))}),y&&c>0&&/* @__PURE__ */ H(`div`,{className:`mx-carousel__pagination`,"data-pagination":y,hidden:!u,role:`group`,"aria-label":`Page controls`,children:Array.from({length:c},(e,t)=>/* @__PURE__ */ H(`button`,{type:`button`,"data-index":t,disabled:t===o,"aria-current":t===o?`page`:void 0,"aria-label":`Page ${t+1}`,onClick:()=>O(t),children:t+1},t))})]})},gn=({id:e,children:t,placement:n=E.BOTTOM,title:r,link:i})=>{let a=R(null),o=R(null),s=L(()=>({positionAnchor:`--${e}`}),[e]);return P(()=>!o.current||a.current?void 0:((async()=>{if(!(`anchorName`in document.documentElement.style)||!(`popover`in HTMLElement.prototype)){let{default:e}=await import(`./chunks/polyfills-C7pRt54M.js`);a.current=new e(o.current)}})().catch(e=>{}),()=>{a.current?.destroy()}),[o]),/* @__PURE__ */ H(`div`,{ref:o,className:`mx-popover`,id:e,"aria-describedby":`${e}-trigger`,style:s,"data-placement":n,popover:``,children:/* @__PURE__ */ U(`div`,{className:`mx-rich-text mx-vertical-flow`,children:[r,t,i]})})},_n=({popoverId:e,children:t})=>{if(!ee(t))throw Error(`<PopoverTrigger> requires a single valid React element as its child.`);return A(t,{id:`${e}-trigger`,popoverTarget:e,style:{...t.props.style,anchorName:`--${e}`}})},vn=({children:e,parent:t,title:n,id:r,className:i})=>{let a=F(),o=r||a;return/* @__PURE__ */ U(`nav`,{className:W(`mx-nav`,`mx-side-nav`,i),...n?{"aria-label":n}:{"aria-labelledby":o},children:[/* @__PURE__ */ H(`div`,{className:`mx-side-nav__parent`,id:o,children:t}),e]})},yn=({items:e,level:t=0})=>/* @__PURE__ */ H(`ul`,{className:`mx-nav__level-${t+1}`,children:e.map((e,n)=>/* @__PURE__ */ U(`li`,{className:e.items?.length?`mx-nav__has-subnav`:void 0,children:[e.link.href?/* @__PURE__ */ H(J,{to:e.link.href,"aria-current":e.link.current?`page`:void 0,children:e.link.title}):e.link.title,e.items&&e.items.length>0&&/* @__PURE__ */ U(V,{children:[/* @__PURE__ */ H(`button`,{className:`mx-nav__toggle mx-icon mx-icon--chevron-down mx-icon--only`,type:`button`,children:`Sub-navigation`}),/* @__PURE__ */ H(yn,{items:e.items,level:t+1})]})]},n))}),bn=({id:e,children:n,acceptLabel:r=`Accept`,rejectLabel:i=`Reject`,moreLabel:a=`Learn more`,moreHref:o,waitRemove:s=0,className:c})=>{let l=F(),u=e||l,d=R(null);P(()=>{if(!d.current)return;let e=new t(d.current);return e.init(),()=>e.destroy()},[]);let f=o?`a`:`button`;return/* @__PURE__ */ H(`div`,{ref:d,id:u,className:W(`mx-cookie-consent`,c),role:`dialog`,"aria-live":`polite`,"aria-label":`Cookie consent`,"data-wait-remove":s,inert:!0,children:/* @__PURE__ */ U(`div`,{className:`mx-cookie-consent__inner`,children:[/* @__PURE__ */ H(`div`,{className:`mx-cookie-consent__content`,children:n}),/* @__PURE__ */ U(`div`,{className:`mx-cookie-consent__actions`,children:[a&&/* @__PURE__ */ H(f,{className:`mx-button mx-button--light`,type:o?void 0:`button`,href:o,target:o?`_blank`:void 0,rel:o?`noopener noreferrer`:void 0,"data-cookie-more":``,children:a}),/* @__PURE__ */ H(`button`,{className:`mx-button mx-button--dark mx-button--outline`,type:`button`,"data-cookie-reject":``,children:i}),/* @__PURE__ */ H(`button`,{className:`mx-button mx-button--dark`,type:`button`,"data-cookie-accept":``,children:r})]})]})})},xn=j(null),Sn=()=>M(xn),Cn=(e,t)=>e?.querySelector(`.mx-carousel__scrollable > li[data-index="${t}"]`)??null,wn=({children:e,content:t,id:n,dialogLabel:r=`Image gallery`,className:i})=>{let a=F(),o=n||a,[s,c]=z(!1),[l,u]=z(0),d=R(null);Y(()=>{if(!s)return;let e=Cn(d.current,l);e&&(e.removeAttribute(`inert`),(e.querySelector(`img`)??e).scrollIntoView({inline:`start`,block:`nearest`}))},[s,l]);let f=N(e=>{u(e),c(!0)},[]),p=L(()=>({openAt:f}),[f]);return/* @__PURE__ */ H(xn,{value:p,children:/* @__PURE__ */ U(`div`,{className:W(`mx-gallery`,i),id:o,children:[/* @__PURE__ */ H(`div`,{className:`mx-gallery__preview`,children:e}),/* @__PURE__ */ U(We,{open:s,fullscreen:!0,onClose:()=>c(!1),"aria-label":r,children:[/* @__PURE__ */ H(Ge,{ref:d,children:t}),/* @__PURE__ */ H(Ke,{})]})]})})},Tn=({index:e,children:t,className:n,...r})=>{let{openAt:i}=Sn();return/* @__PURE__ */ H(`button`,{type:`button`,className:W(`mx-gallery__trigger`,n),onClick:()=>i(e),...r,children:t})},En=({steps:t,current:n,className:r=null})=>{let i=t.length,a=e.integer(n,1,i)?n:1;return/* @__PURE__ */ U(`div`,{className:W(`mx-progress-indicator`,r),children:[/* @__PURE__ */ U(`p`,{className:`mx-progress-indicator__count`,children:[`Step `,a,` of `,i,` — `,t[a-1]]}),/* @__PURE__ */ H(`div`,{className:`mx-progress-indicator__track`,"aria-hidden":`true`,children:t.map((e,t)=>{let n=t+1;return/* @__PURE__ */ H(`i`,{className:W(`mx-progress-indicator__marker`,{"mx-progress-indicator__marker--done":n<a,"mx-progress-indicator__marker--now":n===a})},`${e}-${n}`)})}),/* @__PURE__ */ H(`ol`,{className:`mx-progress-indicator__steps`,children:t.map((e,t)=>{let n=t+1;return/* @__PURE__ */ H(`li`,{className:W(`mx-progress-indicator__step`,{"mx-progress-indicator__step--done":n<a}),"aria-current":n===a?`step`:void 0,children:e},`${e}-${n}`)})})]})},Dn=({id:e,name:t=`search-form`,action:n,placeholder:r=`Keywords...`,label:i=`Search by keywords`,className:a,onSubmit:o})=>/* @__PURE__ */ H(`search`,{children:/* @__PURE__ */ U(`form`,{className:W(`mx-form`,`mx-form--inline-button`,a),action:n,onSubmit:o,children:[/* @__PURE__ */ H(`input`,{className:`mx-input__text`,id:e,name:t,type:`search`,defaultValue:``,"aria-label":i,placeholder:r}),/* @__PURE__ */ U(`button`,{className:`mx-button mx-button--icon-only`,type:`submit`,children:[/* @__PURE__ */ H(`span`,{className:`mx-icon mx-icon--search`,"aria-hidden":`true`}),/* @__PURE__ */ H(`span`,{className:`sr-only`,children:`Search`})]})]})}),On=e=>{e.preventDefault()},kn=({id:e,options:t,value:n=``,label:r,type:i=`text`,status:a=m.DEFAULT,className:o=``,noResultsLabel:s=`No results found`,hideOnBlur:c=!0,onSearch:l,onSelect:u,onSubmit:d,children:f,...p})=>{let h=R(null),g=R(null),_=R(0),[v,y]=z(!1),b=re({items:t,defaultInputValue:n,allowsEmptyCollection:!0,menuTrigger:`manual`,children:e=>/* @__PURE__ */ H(te,{children:e.label},e.value)}),x=()=>{b.isOpen&&b.toggle()},S=t.findIndex(e=>e.value===b.selectionManager.focusedKey),C=`${e}-listbox`,w=S>=0?`${e}-option-${S}`:void 0;Y(()=>{g.current?.querySelector(`[aria-selected="true"]`)?.scrollIntoView({block:`nearest`})},[S]);let T=e=>{b.setInputValue(e.label),x(),b.selectionManager.setFocusedKey(null),u?.(e),h.current?.focus()},E=({currentTarget:e})=>{b.setInputValue(e.value),b.selectionManager.setFocusedKey(null),e.value.trim().length>0?b.open():x();let t=l?.(e.value.trim());if(t){let e=++_.current;y(!0),t.finally(()=>{_.current===e&&y(!1)})}},D=()=>{b.inputValue.trim().length>0&&b.open()},O=()=>{c&&x(),b.selectionManager.setFocusedKey(null)},k=e=>{if(!b.isOpen){(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(e.preventDefault(),b.open());return}if(t.length===0&&e.key!==`Escape`)return;let{collection:n,selectionManager:r}=b,i=r.focusedKey;switch(e.key){case`ArrowDown`:e.preventDefault(),r.setFocusedKey(i==null?n.getFirstKey():n.getKeyAfter(i)??n.getFirstKey());break;case`ArrowUp`:e.preventDefault(),r.setFocusedKey(i==null?n.getLastKey():n.getKeyBefore(i)??n.getLastKey());break;case`Home`:e.preventDefault(),r.setFocusedKey(n.getFirstKey());break;case`End`:e.preventDefault(),r.setFocusedKey(n.getLastKey());break;case`Enter`:if(S<0)return;e.preventDefault(),T(t[S]);break;case`Escape`:e.preventDefault(),x(),r.setFocusedKey(null)}},A=b.isOpen&&t.length>0,j=b.isOpen?t.length===0?s:`${t.length} result${t.length===1?``:`s`} available`:``;return/* @__PURE__ */ U(`div`,{className:W(`mx-autocomplete`,o),children:[/* @__PURE__ */ U(`div`,{className:`mx-autocomplete__control mx-form--inline-button`,"aria-busy":v,children:[/* @__PURE__ */ H(`input`,{...p,ref:h,id:e,type:i,role:`combobox`,className:`mx-input__text`,value:b.inputValue,autoComplete:`off`,"aria-expanded":b.isOpen,"aria-controls":C,"aria-autocomplete":`list`,"aria-activedescendant":w,"aria-label":r,"aria-describedby":`help-${e}`,"aria-invalid":a===m.INVALID,onChange:E,onFocus:D,onBlur:O,onKeyDown:k}),i===`search`&&/* @__PURE__ */ U(`button`,{className:`mx-button mx-button--icon-only`,type:`button`,onClick:d,children:[/* @__PURE__ */ H(`span`,{className:`mx-icon mx-icon--search`,"aria-hidden":`true`}),/* @__PURE__ */ H(`span`,{className:`sr-only`,children:`Search`})]})]}),/* @__PURE__ */ U(`div`,{className:`mx-autocomplete__suggestions`,children:[f,/* @__PURE__ */ H(`ul`,{ref:g,id:C,role:`listbox`,className:`mx-autocomplete__listbox`,hidden:!A,onMouseDown:On,children:t.map((t,n)=>/* @__PURE__ */ H(`li`,{id:`${e}-option-${n}`,role:`option`,"aria-selected":n===S,className:`mx-autocomplete__option`,onClick:()=>T(t),children:t.label},t.value))}),/* @__PURE__ */ H(`output`,{className:`sr-only`,"aria-live":`polite`,children:j})]})]})},An=j(null),jn=({children:e,hint:t=null,status:n=m.DEFAULT,className:r=``,...i})=>{let a=F(),o=R(null),s=M(An),{inputProps:c}=ce(i,s,o),l=W(`mx-checkbox`,`mx-choice-card`,r);return/* @__PURE__ */ U(`div`,{className:l,children:[/* @__PURE__ */ H(`input`,{id:a,ref:o,"aria-invalid":n===m.INVALID,...c}),/* @__PURE__ */ U(`label`,{htmlFor:a,children:[e,t&&/* @__PURE__ */ H(`span`,{className:`mx-choice-card__hint`,children:t})]})]})},Mn=j(null),Nn=({children:e,hint:t=null,status:n=m.DEFAULT,className:r=``,...i})=>{let a=F(),o=R(null),s=M(Mn),{inputProps:c}=ue(i,s,o),l=W(`mx-radio`,`mx-choice-card`,r);return/* @__PURE__ */ U(`div`,{className:l,children:[/* @__PURE__ */ H(`input`,{id:a,...c,ref:o,"aria-invalid":n===m.INVALID}),/* @__PURE__ */ U(`label`,{htmlFor:a,children:[e,t&&/* @__PURE__ */ H(`span`,{className:`mx-choice-card__hint`,children:t})]})]})},Pn=({id:e,required:t=!1,value:n=``,status:r=m.DEFAULT,name:i=null,className:a=``,length:o=6,style:s,...c})=>{let[l,u]=z(n),d=({currentTarget:e})=>u(e.value.replace(/\D/g,``)),f=W(`mx-input__text`,`mx-one-time-code`,`mx-validate`,a),p=L(()=>({...s,"--one-time-code-length":o}),[s,o]);return/* @__PURE__ */ H(`input`,{className:f,style:p,onChange:d,id:e,type:`text`,inputMode:`numeric`,autoComplete:`one-time-code`,pattern:`[0-9]*`,minLength:o,maxLength:o,name:i,value:l,required:t,"aria-describedby":`help-${e}`,"aria-invalid":r===m.INVALID,...c})},Fn=({background:e=T.DARK,skipLinks:t,links:n,children:r,className:i})=>{let a=r||n&&n.length>0;return/* @__PURE__ */ U(V,{children:[t&&t.length>0&&/* @__PURE__ */ H(`nav`,{className:`mx-skip-links`,"aria-label":`Skip to links`,children:t.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t))}),a&&/* @__PURE__ */ H(`div`,{className:W(`mx-masthead`,`mx-spacing--top-xxs mx-spacing--bottom-xxs`,e===T.LIGHT?`mx-background--alt`:`mx-background--reverse`,i),children:/* @__PURE__ */ U(`div`,{className:`flex`,children:[r&&/* @__PURE__ */ H(`div`,{children:r}),n&&n.length>0&&/* @__PURE__ */ H(`nav`,{className:`mx-masthead__nav`,"aria-label":`Additional links`,children:n.map((e,t)=>/* @__PURE__ */ H(k,{children:e},t))})]})})]})},In=({children:e,sidebar:t,before:n=!1,order:r,sidebarClassName:i=`mx-vertical-flow-grid`,contentClassName:a=`js-content mx-vertical-flow-grid`})=>/* @__PURE__ */ U(`div`,{className:W(`mx-grid--sidebar`,{[`mx-grid--${r}`]:r}),children:[n&&t&&/* @__PURE__ */ H(`aside`,{className:i,children:t}),/* @__PURE__ */ H(`section`,{className:a,children:e}),!n&&t&&/* @__PURE__ */ H(`aside`,{className:i,children:t})]}),Ln=[D.L],Rn=({copyright:e,links:t,size:n=Ln,children:r,className:i})=>/* @__PURE__ */ H(X,{as:O.FOOTER,sizes:n,className:W(`mx-footer`,i),children:/* @__PURE__ */ U(`div`,{className:`mx-footer__inner`,children:[r,e&&/* @__PURE__ */ H(`span`,{className:`mx-footer__copyright mx-text--s`,children:e}),t&&/* @__PURE__ */ H(tn,{title:`Footer subsidiary links`,className:`mx-footer__links mx-text--s`,inline:!0,items:t})]})}),zn=({open:e=!1,icon:t,name:n,toggleId:r,modifiers:i,...o})=>/* @__PURE__ */ U(Ee,{iconOnly:!0,iconStart:e?a.CLOSE:t,modifiers:i,"aria-expanded":e,"aria-controls":r,...o,children:[e?`Close`:`Open`,` `,n]}),Bn=({logo:e,navigationItems:t,mediaQuery:n=`(max-width: 720px)`,size:r=D.S,children:i,className:o,backgroundClass:s=`mx-background--primary`})=>{let c=F(),{isExpanded:l,toggle:u}=G({defaultExpanded:!1}),d=$(n),f=l&&d?K:k;return/* @__PURE__ */ H(X,{as:O.HEADER,sizes:r,className:W(`mx-header`,o),containing:!0,children:/* @__PURE__ */ U(`div`,{className:`mx-header__inner`,children:[/* @__PURE__ */ H(`div`,{className:`mx-header__brand`,children:e}),d===!0&&/* @__PURE__ */ H(`div`,{className:`mx-header__toggles`,children:/* @__PURE__ */ H(zn,{toggleId:c,icon:a.MENU,name:`menu`,open:l,onClick:()=>u()})}),/* @__PURE__ */ U(`div`,{className:`mx-header__main`,children:[/* @__PURE__ */ H(`div`,{id:c,className:W(`mx-header__nav mx-header__collapse-toggle`,{[s]:l&&d}),inert:!l&&d,children:/* @__PURE__ */ H(f,{contain:!0,restoreFocus:!0,autoFocus:!0,children:/* @__PURE__ */ H(an,{title:`Primary Navigation`,items:t,mediaQuery:n,id:c})})}),i]})]})})};export{ke as Accordion,Ne as AccordionContent,Ae as AccordionTitle,Me as AccordionTitleIcon,v as Alignment,p as AsTags,kn as Autocomplete,g as BackgroundStyles,Pe as Breadcrumb,Ee as Button,Fe as Card,Ie as CardContent,Le as CardMedia,hn as Carousel,at as Checkbox,jn as CheckboxCard,Re as ContentBlock,ze as ContentBlockContent,Be as ContentBlockMedia,bn as CookieConsent,u as DEBOUNCE_MS,ye as DefinitionList,be as DefinitionListItem,We as Dialog,Ke as DialogCloseButton,Ge as DialogContent,Yt as DropMenu,on as DropMenuItem,Vt as DropMenuProvider,i as EMPTY_ARRAY,mn as FilterItem,pn as Filters,Rn as Footer,yt as Form,it as FormCheckbox,lt as FormDescription,nt as FormItem,ut as FormLabel,ft as FormRadio,Dn as FormSearch,ht as FormSelect,m as FormStatus,gt as FormText,_t as FormTextarea,vt as FormTitle,wn as Gallery,Tn as GalleryTrigger,tt as GlobalAlert,xt as Grid,Bn as Header,q as Heading,_ as HeadingStyles,wt as HeroBanner,Et as HeroBannerAside,Tt as HeroBannerContent,Dt as HeroSearch,Te as Icon,a as Icons,me as ImageComponentProvider,Xe as InPageAlert,Xe as Message,Ye as InPageNavigation,J as Link,_e as LinkComponentProvider,kt as LinkList,At as LinkListItem,bt as List,Qt as ListItem,$t as ListItemContent,en as ListItemMedia,d as ListStyles,Fn as Masthead,Se as Media,tn as Navigation,an as NavigationDropdown,nn as NavigationDropdownLevel,Pn as OneTimeCode,mt as Option,St as Page,y as PageWidths,Ft as Pagination,Z as PaginationItem,Pt as PaginationProvider,gn as Popover,_n as PopoverTrigger,En as ProgressIndicator,pt as Radio,Nn as RadioCard,sn as ResultsBar,cn as ResultsBarInfo,ln as ResultsBarSort,X as Section,o as SectionFlow,Ot as SectionGrid,vn as SideNavigation,yn as SideNavigationTree,In as Sidebar,s as SidebarOrder,ot as SingleCheckbox,h as SocialShareTypes,It as Sticky,Wt as Tab,Xt as TabDropMenu,Kt as TabList,Gt as TabPanel,f as TabStyles,l as TableStyles,Ut as Tabs,Zt as Tag,c as TagVariants,Ce as Text,r as TextStyles,b as TextTags,we as Video,Oe as useAccordion,He as useDialog,Rt as useDropMenuContext,dn as useFiltersContext,pe as useImageComponent,qe as useInPageNavigation,ge as useLinkComponent,et as useLocalStorage,$ as useMediaQuery,Nt as usePagination,Q as useTabContext,jt as useUrlParams};
1
+ import { n as e, t } from "./chunks/cookie-compliance-CG6x-TcV.js";
2
+ import { l as n, s as r } from "./chunks/utilities-B9mNRs7V.js";
3
+ import { _ as i, a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x } from "./chunks/enums-BrHxPZZ_.js";
4
+ import { AsTypes as S, ButtonModifiers as C, GlobalAlertTypes as w, HeadingTypes as T, IconRotateModifier as E, InPageAlertTypes as D, MastheadModifier as O, PopoverPlacementModifier as k, SectionModifiers as A, SectionTypes as j } from "@pnx-mixtape/ids-shape";
5
+ import { Fragment as M, cloneElement as ee, createContext as N, isValidElement as te, use as P, useCallback as F, useContext as ne, useEffect as I, useId as L, useLayoutEffect as re, useMemo as R, useRef as z, useState as B, useSyncExternalStore as ie } from "react";
6
+ import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
7
+ import W from "classnames";
8
+ import { Item as ae, useCheckboxGroupState as oe, useComboBoxState as se, useDisclosureState as G, useRadioGroupState as ce, useToggleState as le } from "react-stately";
9
+ import { FocusScope as K, useCheckbox as ue, useCheckboxGroup as de, useCheckboxGroupItem as fe, useFocusManager as pe, useRadio as me, useRadioGroup as he } from "react-aria";
10
+ var ge = N(({ alt: e, ...t }) => /* @__PURE__ */ H("img", {
11
+ alt: e,
12
+ ...t
13
+ })), _e = () => P(ge), ve = ({ children: e, component: t = null }) => /* @__PURE__ */ H(ge, {
14
+ value: t,
15
+ children: e
16
+ }), ye = N(({ to: e, children: t, ...n }) => /* @__PURE__ */ H("a", {
17
+ href: e,
18
+ ...n,
19
+ children: t
20
+ })), be = () => P(ye), xe = ({ children: e, component: t = null }) => /* @__PURE__ */ H(ye, {
21
+ value: t,
22
+ children: e
23
+ }), Se = {
24
+ [T.ONE]: "mx-heading--xxl",
25
+ [T.TWO]: "mx-heading--xl",
26
+ [T.THREE]: "mx-heading--l",
27
+ [T.FOUR]: "mx-heading--m",
28
+ [T.FIVE]: "mx-heading--s"
29
+ }, Ce = ({ children: e, as: t = T.TWO, modifiers: n = a, style: i, className: o, id: s, excluded: c, ...l }) => {
30
+ let u = `${t}`, d = z(null), f = n.map((e) => Se[e]), [p, m] = B(s);
31
+ return I(() => {
32
+ !p && d.current && (d.current.id ? m(d.current.id) : m(r(d.current?.textContent)));
33
+ }, [p, d]), /* @__PURE__ */ H(u, {
34
+ className: W(f, o, i, { "is-excluded": c }),
35
+ id: p,
36
+ ref: d,
37
+ ...l,
38
+ children: e
39
+ });
40
+ }, we = ({ children: e, ...t }) => /* @__PURE__ */ H("dl", {
41
+ ...t,
42
+ children: e
43
+ }), Te = ({ title: e, action: t = null, children: n, ...r }) => /* @__PURE__ */ U("div", {
44
+ ...r,
45
+ children: [
46
+ /* @__PURE__ */ H("dt", { children: e }),
47
+ /* @__PURE__ */ H("dd", { children: n }),
48
+ t && /* @__PURE__ */ H("dd", {
49
+ className: "mx-list__action",
50
+ children: t
51
+ })
52
+ ]
53
+ }), Ee = ({ condition: e, children: t, ...n }) => e ? /* @__PURE__ */ H("figure", {
54
+ ...n,
55
+ children: t
56
+ }) : /* @__PURE__ */ H(V, { children: t }), De = ({ align: e, caption: t, className: n, ...r }) => {
57
+ let i = _e();
58
+ return /* @__PURE__ */ U(Ee, {
59
+ className: W({
60
+ [`mx-media--${e}`]: e,
61
+ [n]: n
62
+ }),
63
+ condition: !!e || !!t || !!n,
64
+ children: [/* @__PURE__ */ H(i, { ...r }), t && /* @__PURE__ */ H("figcaption", { children: t })]
65
+ });
66
+ }, q = ({ to: e, children: t, allyText: n, more: r, external: i, download: a, current: o, className: s = "mx-link", ...c }) => {
67
+ let l = be(), u = i ? {
68
+ target: "_blank",
69
+ rel: "noopener noreferrer"
70
+ } : {}, d = L(), f = i || !!n;
71
+ return /* @__PURE__ */ U(l, {
72
+ to: e,
73
+ className: W(s, {
74
+ "mx-link--more": r,
75
+ "mx-link--external": i,
76
+ "mx-link--download": a
77
+ }),
78
+ ...o ? { "aria-current": "page" } : {},
79
+ ...f ? { "aria-describedby": d } : {},
80
+ ...u,
81
+ ...c,
82
+ children: [t, f && /* @__PURE__ */ H("span", {
83
+ id: d,
84
+ className: "sr-only",
85
+ "aria-hidden": "true",
86
+ children: [i && "(opens in a new window)", n].filter(Boolean).join(" ")
87
+ })]
88
+ });
89
+ }, Oe = ({ children: e, as: t = x.P, modifier: n = null, className: r = null, ...i }) => {
90
+ let a = `${t}`;
91
+ return /* @__PURE__ */ H(a, {
92
+ className: W(n, r),
93
+ ...i,
94
+ children: e
95
+ });
96
+ }, ke = ({ title: e, allow: t = "fullscreen; picture-in-picture; encrypted-media; clipboard-write", allowFullScreen: n = !0, className: r = null, ...i }) => /* @__PURE__ */ H("figure", {
97
+ className: W("mx-video", r),
98
+ children: /* @__PURE__ */ H("iframe", {
99
+ title: e,
100
+ allow: t,
101
+ allowFullScreen: n,
102
+ ...i
103
+ })
104
+ }), J = ({ icon: e, color: t, text: n, align: r, rotate: i, size: a }) => /* @__PURE__ */ H("span", {
105
+ className: W("mx-icon", `mx-icon--${e}`, {
106
+ [`mx-icon--color-${t}`]: t,
107
+ [`mx-icon--${r}`]: r,
108
+ [`mx-icon--${i}`]: i,
109
+ [`mx-icon--size-${a}`]: a
110
+ }),
111
+ children: n
112
+ }), Ae = ({ children: e, modifiers: t = a, iconStart: n, iconEnd: r, iconOnly: i, className: o, type: s = "button", ...c }) => {
113
+ let l = ["mx-button", o], u = t.map((e) => `mx-button--${e}`);
114
+ return /* @__PURE__ */ U("button", {
115
+ className: W([...l, ...u], { "mx-button--icon-only": i }),
116
+ type: s,
117
+ ...c,
118
+ children: [
119
+ n && /* @__PURE__ */ H(J, { icon: n }),
120
+ /* @__PURE__ */ H("span", {
121
+ className: i ? "sr-only" : null,
122
+ children: e
123
+ }),
124
+ r && /* @__PURE__ */ H(J, { icon: r })
125
+ ]
126
+ });
127
+ }, je = ({ to: e, children: t, modifiers: n = a, iconStart: r, iconEnd: i, iconOnly: o, className: s, ...c }) => {
128
+ let l = ["mx-button", s], u = n.map((e) => `mx-button--${e}`);
129
+ return /* @__PURE__ */ U(q, {
130
+ className: W([...l, ...u], { "mx-button--icon-only": o }),
131
+ to: e,
132
+ ...c,
133
+ children: [
134
+ r && /* @__PURE__ */ H(J, { icon: r }),
135
+ t,
136
+ i && /* @__PURE__ */ H(J, { icon: i })
137
+ ]
138
+ });
139
+ }, Y = typeof window > "u" ? I : re, Me = N(null), Ne = () => P(Me), Pe = ({ children: e, active: t = !1, id: n = null, className: r = "mx-accordion--divided", ...i }) => {
140
+ let { isExpanded: a, toggle: o, expand: s } = G({ defaultExpanded: t }), c = L(), l = n || c;
141
+ Y(() => {
142
+ typeof window < "u" && window.location.hash && window.location.hash === `#${l}` && s();
143
+ }, [l, s]);
144
+ let u = R(() => ({
145
+ isExpanded: a,
146
+ toggle: o,
147
+ id: l
148
+ }), [
149
+ a,
150
+ o,
151
+ l
152
+ ]);
153
+ return /* @__PURE__ */ H(Me, {
154
+ value: u,
155
+ children: /* @__PURE__ */ H("div", {
156
+ className: W("mx-accordion", r),
157
+ "data-open": a,
158
+ ...i,
159
+ children: e
160
+ })
161
+ });
162
+ }, Fe = ({ children: e, headingLevel: t = null }) => {
163
+ let { id: n, isExpanded: r, toggle: i } = Ne();
164
+ return /* @__PURE__ */ H(t || M, { children: /* @__PURE__ */ H("button", {
165
+ type: "button",
166
+ className: "mx-accordion__toggle",
167
+ id: n,
168
+ "aria-expanded": r,
169
+ onClick: () => i(),
170
+ children: e
171
+ }) });
172
+ }, Ie = [
173
+ "mx-button",
174
+ "mx-button--small",
175
+ "mx-icon",
176
+ "mx-button--icon-only",
177
+ "mx-icon--chevron-down"
178
+ ], Le = ({ className: e = Ie }) => /* @__PURE__ */ H("span", {
179
+ className: W(e),
180
+ "aria-hidden": "true"
181
+ }), Re = ({ children: e }) => {
182
+ let { id: t, isExpanded: n } = Ne();
183
+ return /* @__PURE__ */ H("section", {
184
+ "aria-labelledby": t,
185
+ className: W("mx-accordion__content", "mx-rich-text", "mx-vertical-flow"),
186
+ inert: !n,
187
+ children: e
188
+ });
189
+ }, ze = ({ items: e, title: t, className: n, ...r }) => /* @__PURE__ */ H("nav", {
190
+ className: W("mx-nav", "mx-nav--breadcrumbs", "mx-nav--inline", n),
191
+ "aria-label": "You are here",
192
+ ...r,
193
+ children: /* @__PURE__ */ U("ul", { children: [e && e.map((n, r) => {
194
+ let i = !t && r === e.length - 1;
195
+ return /* @__PURE__ */ H("li", { children: /* @__PURE__ */ H(q, {
196
+ to: n.to,
197
+ ...i ? { "aria-current": "page" } : {},
198
+ children: n.title
199
+ }) }, n.id);
200
+ }), t && /* @__PURE__ */ H("li", { children: /* @__PURE__ */ H("span", {
201
+ "aria-current": "page",
202
+ children: t
203
+ }) })] })
204
+ }), Be = ({ children: e, reversed: t = null, block: n = !1, as: r = S.DIV, background: i = null, className: a = null }) => {
205
+ let o = `${r}`;
206
+ return /* @__PURE__ */ H(o, {
207
+ className: "mx-container",
208
+ children: /* @__PURE__ */ H("article", {
209
+ className: W("mx-card", a, {
210
+ "mx-card--reversed": t,
211
+ "mx-card--block": n,
212
+ [`mx-background--${i}`]: i
213
+ }),
214
+ children: e
215
+ })
216
+ });
217
+ }, Ve = ({ children: e }) => /* @__PURE__ */ H("div", {
218
+ className: W("mx-card__content", "mx-vertical-flow"),
219
+ children: e
220
+ }), He = ({ children: e, skeleton: t = !1 }) => /* @__PURE__ */ U("figure", {
221
+ className: W("mx-card__media", "stack"),
222
+ children: [t && /* @__PURE__ */ H("div", { className: "skeleton skeleton--bg" }), e]
223
+ }), Ue = ({ children: e, as: t = S.DIV, ...n }) => {
224
+ let r = `${t}`;
225
+ return /* @__PURE__ */ H(r, {
226
+ className: W("mx-content-block"),
227
+ ...n,
228
+ children: e
229
+ });
230
+ }, We = ({ children: e }) => /* @__PURE__ */ H("div", {
231
+ className: W("mx-content-block__content", "mx-vertical-flow"),
232
+ children: e
233
+ }), Ge = ({ children: e, skeleton: t = !1 }) => /* @__PURE__ */ U("figure", {
234
+ className: W("mx-content-block__media", "stack"),
235
+ children: [t && /* @__PURE__ */ H("div", { className: "skeleton skeleton--bg" }), e]
236
+ }), Ke = N(null), qe = () => P(Ke), Je = () => {}, Ye = ({ children: e, open: t = !1, onClose: n = Je, modal: r = !1, fullscreen: i = !1, ...a }) => {
237
+ let o = z(null), s = F(() => {
238
+ o.current?.close();
239
+ }, [o]);
240
+ Y(() => {
241
+ if (!o.current) return;
242
+ let e = r || i;
243
+ return t ? e ? (o.current.showModal(), document.body.classList.add("body--scroll-lock")) : o.current.show() : (o.current.close(), e && document.body.classList.remove("body--scroll-lock")), () => {
244
+ e && document.body.classList.remove("body--scroll-lock");
245
+ };
246
+ }, [
247
+ t,
248
+ r,
249
+ i,
250
+ o
251
+ ]);
252
+ let c = R(() => ({
253
+ handleClose: s,
254
+ ref: o,
255
+ open: t
256
+ }), [
257
+ s,
258
+ o,
259
+ t
260
+ ]);
261
+ return /* @__PURE__ */ H(Ke, {
262
+ value: c,
263
+ children: /* @__PURE__ */ H("dialog", {
264
+ ref: o,
265
+ onClose: n,
266
+ className: W("mx-dialog", { "mx-dialog--fullscreen": i }),
267
+ ...a,
268
+ children: e
269
+ })
270
+ });
271
+ }, Xe = ({ children: e, ref: t }) => /* @__PURE__ */ H("div", {
272
+ className: "mx-dialog__content mx-vertical-flow",
273
+ ref: t,
274
+ children: e
275
+ }), Ze = () => {
276
+ let { handleClose: e } = qe();
277
+ return /* @__PURE__ */ H("button", {
278
+ onClick: e,
279
+ className: "mx-button mx-button--icon-only mx-icon mx-icon--close",
280
+ type: "button",
281
+ children: "Close dialog"
282
+ });
283
+ }, Qe = ({ ref: e = null, levels: t = "h2, h3" }) => {
284
+ let [n, i] = B([]);
285
+ return I(() => {
286
+ if (typeof window > "u") return;
287
+ let n = [...(e?.current || document.querySelector("section")).querySelectorAll(t)], a = {}, o = n.map(({ textContent: e, id: t, localName: n }) => {
288
+ let i = r(e), o = a[i] ?? 0;
289
+ return a[i] = o + 1, {
290
+ id: t || (o > 0 ? `${i}-${o}` : i),
291
+ text: e,
292
+ level: n
293
+ };
294
+ });
295
+ i([...new Set(o)]), n.forEach((e, t) => {
296
+ e.id = o[t].id;
297
+ });
298
+ }, [e, t]), { headings: n };
299
+ }, $e = [T.FOUR], et = ({ title: e = "On this page", containerRef: t, levels: n }) => {
300
+ let { headings: r } = Qe({
301
+ ref: t,
302
+ levels: n
303
+ });
304
+ return /* @__PURE__ */ U("nav", {
305
+ className: "mx-in-page-navigation mx-nav mx-nav--list mx-vertical-flow",
306
+ children: [/* @__PURE__ */ H(Ce, {
307
+ as: T.TWO,
308
+ modifiers: $e,
309
+ children: e
310
+ }), /* @__PURE__ */ H("ul", { children: r.map(({ level: e, id: t, text: n }) => /* @__PURE__ */ H("li", {
311
+ className: `mx-in-page-navigation__level--${e}`,
312
+ children: /* @__PURE__ */ H(q, {
313
+ to: `#${t}`,
314
+ className: "mx-icon mx-icon--chevron-right",
315
+ children: n
316
+ })
317
+ }, t)) })]
318
+ });
319
+ }, tt = ({ children: e, type: t = D.INFO }) => /* @__PURE__ */ H("div", {
320
+ className: W("message", {
321
+ [`message--${t}`]: t,
322
+ "mx-icon": t,
323
+ [`mx-icon--${t}`]: t
324
+ }),
325
+ children: /* @__PURE__ */ H("div", {
326
+ className: "message__content",
327
+ children: e
328
+ })
329
+ }), nt = (e, t) => {
330
+ let n = JSON.stringify(t);
331
+ window.localStorage.setItem(e, n), window.dispatchEvent(new StorageEvent("storage", {
332
+ key: e,
333
+ newValue: n
334
+ }));
335
+ }, rt = (e) => {
336
+ window.localStorage.removeItem(e), window.dispatchEvent(new StorageEvent("storage", {
337
+ key: e,
338
+ newValue: null
339
+ }));
340
+ }, it = () => {
341
+ throw Error("useLocalStorage is a client-only hook");
342
+ }, at = ({ key: e, initialValue: t }) => {
343
+ let n = F((e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e)), []), r = ie(n, () => window.localStorage.getItem(e), it), i = F((t) => {
344
+ try {
345
+ let n = JSON.parse(r), i = typeof t == "function" ? t(n) : t;
346
+ i == null ? rt(e) : nt(e, i);
347
+ } catch {}
348
+ }, [e, r]);
349
+ return I(() => {
350
+ window.localStorage.getItem(e) === null && t !== void 0 && nt(e, t);
351
+ }, [e, t]), [r ? (() => {
352
+ try {
353
+ return JSON.parse(r);
354
+ } catch {
355
+ return t;
356
+ }
357
+ })() : t, i];
358
+ }, ot = ({ children: e, id: t, type: n = w.LIGHT, dismissible: r }) => {
359
+ let i = L(), a = t || i, [o, s] = at({
360
+ key: a,
361
+ initialValue: !0
362
+ }), c = n === w.CRITICAL, l = () => {
363
+ s(!1), typeof document < "u" && document.body.focus?.();
364
+ };
365
+ return /* @__PURE__ */ H(V, { children: o && /* @__PURE__ */ H("div", {
366
+ id: a,
367
+ role: c ? "alert" : "status",
368
+ "aria-live": c ? "assertive" : "polite",
369
+ "aria-atomic": "true",
370
+ className: W("mx-global-alert", { [`mx-global-alert--${n}`]: n }),
371
+ children: /* @__PURE__ */ U("div", {
372
+ className: "mx-global-alert__inner",
373
+ children: [/* @__PURE__ */ H("div", {
374
+ className: "mx-global-alert__content",
375
+ children: e
376
+ }), r && /* @__PURE__ */ H("button", {
377
+ className: W("mx-icon", "mx-icon--close"),
378
+ onClick: l,
379
+ "aria-label": `Close ${n} message`,
380
+ type: "button"
381
+ })]
382
+ })
383
+ }) });
384
+ }, X = ({ children: e, fieldset: t = !1, legend: n = null, className: r = null, ...i }) => /* @__PURE__ */ U(t ? "fieldset" : "div", {
385
+ className: W("mx-form-item", r, { "mx-fieldset": t }),
386
+ ...i,
387
+ children: [n && /* @__PURE__ */ H("legend", {
388
+ className: "mx-legend",
389
+ children: n
390
+ }), e]
391
+ }), st = N(null), ct = ({ label: e, children: t, ...n }) => {
392
+ let r = oe(n), { groupProps: i } = de(n, r);
393
+ return /* @__PURE__ */ H(X, {
394
+ fieldset: !0,
395
+ ...i,
396
+ legend: e,
397
+ children: /* @__PURE__ */ H(st, {
398
+ value: r,
399
+ children: t
400
+ })
401
+ });
402
+ }, lt = ({ children: e, status: t = h.DEFAULT, className: n = "", ...r }) => {
403
+ let i = L(), a = z(null), o = P(st), { inputProps: s } = fe(r, o, a), c = W("mx-checkbox", n);
404
+ return /* @__PURE__ */ U("div", {
405
+ className: c,
406
+ children: [/* @__PURE__ */ H("input", {
407
+ id: i,
408
+ ref: a,
409
+ "aria-invalid": t === h.INVALID,
410
+ ...s
411
+ }), /* @__PURE__ */ H("label", {
412
+ htmlFor: i,
413
+ children: e
414
+ })]
415
+ });
416
+ }, ut = ({ children: e, status: t = h.DEFAULT, className: n = "", ...r }) => {
417
+ let i = L(), a = z(null), o = le(r), { inputProps: s } = ue(r, o, a), c = W("mx-checkbox", n);
418
+ return /* @__PURE__ */ U("div", {
419
+ className: c,
420
+ children: [/* @__PURE__ */ H("input", {
421
+ id: i,
422
+ ref: a,
423
+ "aria-invalid": t === h.INVALID,
424
+ ...s
425
+ }), /* @__PURE__ */ H("label", {
426
+ htmlFor: i,
427
+ children: e
428
+ })]
429
+ });
430
+ }, dt = (e) => `help-${e}`, ft = (e) => `status-${e}`, pt = ({ children: e, id: t, status: n = h.DEFAULT }) => {
431
+ let r = n !== h.DEFAULT, i = n === h.INVALID ? "alert" : n === h.VALID ? "status" : void 0;
432
+ return /* @__PURE__ */ H("div", {
433
+ id: r ? ft(t) : dt(t),
434
+ role: i,
435
+ className: W({
436
+ "mx-description": n === h.DEFAULT,
437
+ "mx-error-message": n === h.INVALID,
438
+ "mx-success-message": n === h.VALID
439
+ }),
440
+ children: e
441
+ });
442
+ }, mt = ({ text: e, id: t, required: n }) => /* @__PURE__ */ U("label", {
443
+ className: "mx-label",
444
+ htmlFor: t,
445
+ children: [e, n && /* @__PURE__ */ H("span", {
446
+ className: "mx-required",
447
+ children: "(required)"
448
+ })]
449
+ }), ht = N(null), gt = ({ label: e, children: t, ...n }) => {
450
+ let r = ce(n), { radioGroupProps: i } = he(n, r);
451
+ return /* @__PURE__ */ H(X, {
452
+ fieldset: !0,
453
+ ...i,
454
+ legend: e,
455
+ children: /* @__PURE__ */ H(ht, {
456
+ value: r,
457
+ children: t
458
+ })
459
+ });
460
+ }, _t = ({ children: e, status: t = h.DEFAULT, className: n = "", ...r }) => {
461
+ let i = L(), a = z(null), o = P(ht), { inputProps: s } = me(r, o, a), c = W("mx-radio", n);
462
+ return /* @__PURE__ */ U("div", {
463
+ className: c,
464
+ children: [/* @__PURE__ */ H("input", {
465
+ id: i,
466
+ ...s,
467
+ ref: a,
468
+ "aria-invalid": t === h.INVALID
469
+ }), /* @__PURE__ */ H("label", {
470
+ htmlFor: i,
471
+ children: e
472
+ })]
473
+ });
474
+ }, vt = ({ label: e, value: t }) => /* @__PURE__ */ H("option", {
475
+ value: t,
476
+ children: e
477
+ }), yt = ({ id: e, options: t, label: n = "Select one", status: r = h.DEFAULT, className: i = "", selected: a = "", ...o }) => {
478
+ let [s, c] = B(a), l = ({ currentTarget: e }) => c(e.value), u = W("mx-input__select", i), d = t.map(({ label: e, value: t }) => /* @__PURE__ */ H(vt, {
479
+ label: e,
480
+ value: t
481
+ }, t));
482
+ return /* @__PURE__ */ U("select", {
483
+ id: e,
484
+ className: u,
485
+ onChange: l,
486
+ value: s,
487
+ "aria-describedby": `help-${e}`,
488
+ "aria-invalid": r === h.INVALID,
489
+ ...o,
490
+ children: [
491
+ /* @__PURE__ */ H("button", { children: /* @__PURE__ */ H("selectedcontent", {}) }),
492
+ /* @__PURE__ */ H(vt, {
493
+ label: n,
494
+ value: ""
495
+ }),
496
+ d
497
+ ]
498
+ });
499
+ }, bt = ({ id: e, required: t = !1, value: n = "", status: r = h.DEFAULT, type: i = "text", name: a = null, className: o = "", ...s }) => {
500
+ let [c, l] = B(n), u = ({ currentTarget: e }) => l(e.value), d = W("mx-input__text", o);
501
+ return /* @__PURE__ */ H("input", {
502
+ className: d,
503
+ onChange: u,
504
+ id: e,
505
+ type: i,
506
+ name: a,
507
+ value: c,
508
+ required: t,
509
+ "aria-describedby": `help-${e}`,
510
+ "aria-invalid": r === h.INVALID,
511
+ ...s
512
+ });
513
+ }, xt = ({ id: e, required: t = !1, value: n = "", status: r = h.DEFAULT, name: i = null, className: a = "", ...o }) => {
514
+ let [s, c] = B(n), l = ({ currentTarget: e }) => c(e.value), u = W("mx-input__textarea", a);
515
+ return /* @__PURE__ */ H("textarea", {
516
+ className: u,
517
+ onChange: l,
518
+ id: e,
519
+ name: i,
520
+ value: s,
521
+ required: t,
522
+ "aria-describedby": `help-${e}`,
523
+ "aria-invalid": r === h.INVALID,
524
+ ...o
525
+ });
526
+ }, St = ({ as: e, children: t, ...n }) => /* @__PURE__ */ H(Ce, {
527
+ as: e,
528
+ className: "mx-title",
529
+ ...n,
530
+ children: t
531
+ }), Ct = ({ children: e, ...t }) => /* @__PURE__ */ H("form", {
532
+ ...t,
533
+ children: e
534
+ }), wt = ({ children: e, ordered: t = !1, modifier: n = null, className: r = null }) => /* @__PURE__ */ H(`${t ? "ol" : "ul"}`, {
535
+ className: W("mx-list", n, r),
536
+ children: e
537
+ }), Tt = ({ children: e, wrapper: t = !1, container: n = !1, cols: r, width: i, className: a, as: o = S.DIV, ...s }) => {
538
+ let c = `${o}`, l = R(() => r ? Array.isArray(r) ? r.map((e) => `mx-grid--cols-${e}`) : [`mx-grid--cols-${r}`] : [], [r]);
539
+ return /* @__PURE__ */ H(c, {
540
+ className: W({
541
+ "mx-grid": t,
542
+ "mx-container": n,
543
+ [l.join(" ")]: r && t,
544
+ [`mx-grid-item__span-${i}`]: i
545
+ }, a),
546
+ ...s,
547
+ children: e
548
+ });
549
+ }, Et = ({ children: e, header: t, footer: n, masthead: r, mainId: i = "main" }) => /* @__PURE__ */ U("div", {
550
+ className: "mx-page",
551
+ children: [
552
+ r,
553
+ t,
554
+ /* @__PURE__ */ H("main", {
555
+ id: i,
556
+ className: "mx-page",
557
+ children: e
558
+ }),
559
+ n
560
+ ]
561
+ }), Dt = ({ condition: e, children: t, ...n }) => e ? /* @__PURE__ */ H("div", {
562
+ ...n,
563
+ children: t
564
+ }) : /* @__PURE__ */ H(V, { children: t }), Z = ({ children: e, sizes: t, width: n, flow: r, as: i = j.DIV, className: a, background: o, innerClassName: s, containing: c = !1, container: l = !1, ...u }) => {
565
+ let d = `${i}`, f = R(() => t ? Array.isArray(t) ? t.map((e) => `mx-section--${e}`) : [`mx-section--${t}`] : [], [t]);
566
+ return /* @__PURE__ */ H(d, {
567
+ className: W({
568
+ "mx-page": c,
569
+ [a]: a,
570
+ [f.join(" ")]: t,
571
+ [`mx-page--${n}`]: n && c,
572
+ [`mx-section--${n}`]: n && !c,
573
+ [`mx-section--${r}`]: r,
574
+ [`mx-background--${o}`]: o
575
+ }),
576
+ ...u,
577
+ children: /* @__PURE__ */ H(Dt, {
578
+ className: W({
579
+ [s]: s,
580
+ "mx-container": l
581
+ }),
582
+ condition: !!l || !!s,
583
+ children: e
584
+ })
585
+ });
586
+ }, Ot = ({ highlight: e = !1, children: t, className: n, modifier: r, ...i }) => /* @__PURE__ */ H(Z, {
587
+ className: W("mx-hero-banner", n, {
588
+ "mx-background--reverse": r === "dark",
589
+ "mx-background--alt": r === "off-white",
590
+ "mx-background--primary": r === "light",
591
+ "mx-hero-banner--hero": e
592
+ }),
593
+ containing: !0,
594
+ children: /* @__PURE__ */ H("div", {
595
+ className: W("mx-hero-banner__inner"),
596
+ ...i,
597
+ children: t
598
+ })
599
+ }), kt = ({ children: e }) => /* @__PURE__ */ H("div", {
600
+ className: W("mx-hero-banner__content", "mx-vertical-flow-flex", "mx-section--xl"),
601
+ children: e
602
+ }), At = ({ children: e, hasImg: t = !1 }) => /* @__PURE__ */ H("div", {
603
+ className: W("mx-hero-banner__aside", {
604
+ "mx-hero-banner__aside-image": t,
605
+ "mx-section--xl": !t
606
+ }),
607
+ children: e
608
+ }), jt = ({ highlight: e = !1, search: t, children: n, modifier: r, aside: i, hasImg: a = !1, ...o }) => /* @__PURE__ */ U(Ot, {
609
+ modifier: r,
610
+ highlight: e,
611
+ ...o,
612
+ children: [/* @__PURE__ */ U(kt, { children: [n, t] }), i && /* @__PURE__ */ H(At, {
613
+ hasImg: a,
614
+ children: i
615
+ })]
616
+ }), Mt = ({ sizes: e, width: t, cols: n, children: r, className: i, innerClassName: a, as: o = j.DIV, containing: s = !1, container: c = !1, ...l }) => {
617
+ let u = `${o === j.LIST ? j.DIV : o}`, d = o === j.LIST ? j.LIST : j.DIV, f = R(() => e ? Array.isArray(e) ? e.map((e) => `mx-section--${e}`) : [`mx-section--${e}`] : [], [e]);
618
+ return /* @__PURE__ */ H(u, {
619
+ className: W({
620
+ "mx-page": s,
621
+ [i]: i,
622
+ [f.join(" ")]: e,
623
+ [`mx-page--${t}`]: t && s,
624
+ [`mx-section--${t}`]: t && !s
625
+ }),
626
+ ...l,
627
+ children: /* @__PURE__ */ H(Tt, {
628
+ wrapper: !0,
629
+ container: c,
630
+ as: d,
631
+ cols: n,
632
+ className: a,
633
+ children: r
634
+ })
635
+ });
636
+ }, Nt = ({ children: e }) => /* @__PURE__ */ H("ul", {
637
+ className: W("mx-link-list"),
638
+ children: e
639
+ }), Pt = ({ children: e, to: t, icon: n = o.CHEVRON_RIGHT, className: r }) => /* @__PURE__ */ H("li", {
640
+ className: r,
641
+ children: /* @__PURE__ */ U(q, {
642
+ to: t,
643
+ children: [e, /* @__PURE__ */ H("span", { className: W("mx-icon", `mx-icon--${n}`) })]
644
+ })
645
+ }), Ft = () => R(() => {
646
+ if (!window) return {};
647
+ let { location: { search: e, pathname: t }, history: n } = window;
648
+ return {
649
+ searchParams: new URLSearchParams(e),
650
+ pathname: t,
651
+ history: n
652
+ };
653
+ }, []), It = N(null), Lt = () => P(It), Rt = ({ total: t, resultsPerPage: n, currentPage: r, children: i, onClick: a, onMouseOver: o, scrollRef: s }) => {
654
+ let c = z(!1), l = z(1), u = n * (r - 1) + 1, d = n * r, f = R(() => r > 1 ? u : 1, [r, u]), p = R(() => t > d ? d : t, [t, d]), m = R(() => t > n, [t, n]), h = R(() => Math.ceil(t / n), [t, n]), g = R(() => {
655
+ let e = [];
656
+ if (!t || n >= t) return e;
657
+ if (r > h) {
658
+ let t = 2;
659
+ for (; t < h;) e.push(t), t += 1;
660
+ }
661
+ let i = Math.max(r - 2, 2), a = Math.min(r + 2, h - 1), o = i;
662
+ for (; o <= a;) e.push(o), o += 1;
663
+ return e;
664
+ }, [
665
+ t,
666
+ h,
667
+ n,
668
+ r
669
+ ]), _ = R(() => g.length !== 0 && g[0] !== 2, [g]), v = R(() => g.length !== 0 && g[g.length - 1] !== h - 1, [g, h]), { searchParams: y, pathname: b, history: x } = Ft();
670
+ Y(() => {
671
+ if (c.current) return;
672
+ let t = y?.get("page") ?? "1";
673
+ if (!e.integer(t, 1, h)) {
674
+ a && r !== 1 && a(1);
675
+ return;
676
+ }
677
+ let n = parseInt(t, 10);
678
+ return a && n !== r && a(n), () => {
679
+ c.current = !0;
680
+ };
681
+ }, [
682
+ r,
683
+ a,
684
+ y,
685
+ h
686
+ ]), I(() => {
687
+ if (l.current === r) return;
688
+ s?.current?.scrollIntoView();
689
+ let e = "";
690
+ return r !== 1 && (y?.set("page", r.toString()), e = `?${y?.toString()}`), x?.pushState(null, "", `${b}${e}`), () => {
691
+ l.current = r;
692
+ };
693
+ }, [
694
+ r,
695
+ s,
696
+ l,
697
+ x,
698
+ b,
699
+ y
700
+ ]);
701
+ let S = R(() => ({
702
+ total: t,
703
+ resultsPerPage: n,
704
+ currentPage: r,
705
+ showPager: m,
706
+ lastPage: h,
707
+ visiblePages: g,
708
+ showFirstEllipsis: _,
709
+ showLastEllipsis: v,
710
+ pageStart: f,
711
+ pageEnd: p,
712
+ onClick: a,
713
+ onMouseOver: o
714
+ }), [
715
+ t,
716
+ n,
717
+ r,
718
+ m,
719
+ h,
720
+ g,
721
+ _,
722
+ v,
723
+ f,
724
+ p,
725
+ a,
726
+ o
727
+ ]);
728
+ return /* @__PURE__ */ H(It, {
729
+ value: S,
730
+ children: i
731
+ });
732
+ }, Q = ({ as: e = "item", number: t, active: n = !1, disabled: r = !1 }) => /* @__PURE__ */ U(e === "previous" || e === "next" ? "div" : "li", {
733
+ className: W(`mx-pagination__${e}`),
734
+ "aria-current": n ? "page" : null,
735
+ "aria-hidden": e === "ellipsis" || r ? "true" : null,
736
+ children: [
737
+ e === "ellipsis" && /* @__PURE__ */ H(V, { children: "..." }),
738
+ e === "item" && /* @__PURE__ */ U(V, { children: [n && /* @__PURE__ */ H(V, { children: t }), !n && /* @__PURE__ */ H("button", {
739
+ type: "button",
740
+ "data-page": t,
741
+ children: t
742
+ })] }),
743
+ (e === "next" || e === "previous") && /* @__PURE__ */ U("button", {
744
+ type: "button",
745
+ disabled: r,
746
+ "data-page": t,
747
+ children: [
748
+ e === "previous" && /* @__PURE__ */ H("span", { className: W("mx-icon", "mx-icon--arrow-left") }),
749
+ /* @__PURE__ */ H("span", { children: e }),
750
+ e === "next" && /* @__PURE__ */ H("span", { className: W("mx-icon", "mx-icon--arrow-right") })
751
+ ]
752
+ })
753
+ ]
754
+ }), zt = () => {
755
+ let { currentPage: t, showPager: n, lastPage: r, visiblePages: i, showFirstEllipsis: a, showLastEllipsis: o, onClick: s, onMouseOver: c } = Lt();
756
+ return /* @__PURE__ */ H(V, { children: n && /* @__PURE__ */ U("nav", {
757
+ className: "mx-pagination",
758
+ "aria-label": "Pagination",
759
+ onClick: (t) => {
760
+ let n = t.target.closest("[data-page]")?.getAttribute("data-page");
761
+ n && e.integer(n, 1, r) && (s(parseInt(n, 10)), t.preventDefault(), t.stopPropagation());
762
+ },
763
+ onMouseEnter: (t) => {
764
+ let n = t.target.closest("[data-page]")?.getAttribute("data-page");
765
+ n && e.integer(n, 1, r) && c(parseInt(n, 10));
766
+ },
767
+ onKeyDown: (t) => {
768
+ if (t.key !== "Enter") return;
769
+ let n = t.target.closest("[data-page]")?.getAttribute("data-page");
770
+ n && e.integer(n, 1, r) && (s(parseInt(n, 10)), t.preventDefault(), t.stopPropagation());
771
+ },
772
+ children: [
773
+ /* @__PURE__ */ H(Q, {
774
+ as: "previous",
775
+ number: t > 1 ? t - 1 : null,
776
+ disabled: t === 1
777
+ }),
778
+ /* @__PURE__ */ U("div", {
779
+ className: "mx-pagination__label",
780
+ children: [
781
+ "Page ",
782
+ t,
783
+ " of ",
784
+ r
785
+ ]
786
+ }),
787
+ /* @__PURE__ */ U("ul", {
788
+ className: "mx-pagination__items",
789
+ children: [
790
+ /* @__PURE__ */ H(Q, {
791
+ as: "item",
792
+ number: 1,
793
+ active: t === 1
794
+ }),
795
+ a && /* @__PURE__ */ H(Q, { as: "ellipsis" }),
796
+ i.map((e) => /* @__PURE__ */ H(Q, {
797
+ as: "item",
798
+ number: e,
799
+ active: t === e
800
+ }, e.toString())),
801
+ o && /* @__PURE__ */ H(Q, { as: "ellipsis" }),
802
+ /* @__PURE__ */ H(Q, {
803
+ as: "item",
804
+ number: r,
805
+ active: t === r
806
+ })
807
+ ]
808
+ }),
809
+ /* @__PURE__ */ H(Q, {
810
+ as: "next",
811
+ number: t < r ? t + 1 : null,
812
+ disabled: t === r
813
+ })
814
+ ]
815
+ }) });
816
+ }, Bt = ({ children: e, offset: t, zIndex: n, className: r, as: i = m.DIV, breakpoint: a, onStuckChange: o }) => {
817
+ let s = `${i}`, c = a ? `mx-sticky--${a}` : "mx-sticky", l = z(null), [u, d] = B(!1), f = R(() => {
818
+ let e = {};
819
+ return t && (e["--sticky-offset"] = `${t}px`), n && (e["--z-index"] = n), e;
820
+ }, [t, n]);
821
+ return I(() => {
822
+ let e = l.current;
823
+ if (!e) return;
824
+ let t = new IntersectionObserver(([{ boundingClientRect: e }]) => {
825
+ let t = e.y < 0;
826
+ d((e) => (e !== t && o?.(t), t));
827
+ });
828
+ return t.observe(e), () => t.disconnect();
829
+ }, [o]), /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("div", {
830
+ ref: l,
831
+ className: "mx-sticky__trigger",
832
+ "aria-hidden": "true"
833
+ }), /* @__PURE__ */ H(s, {
834
+ className: W(c, r, { "is-stuck": u }),
835
+ style: f,
836
+ children: e
837
+ })] });
838
+ }, Vt = N(null), Ht = () => P(Vt), Ut = [], Wt = () => {}, Gt = ({ id: e, children: t, multiple: n = !1, onClick: r = Wt, closeOnClick: i = !0, selectedItem: a = Ut, focusRef: o }) => {
839
+ let s = z(null), c = z(null), l = L(), u = e || l, d = `${u}-target`, f = `${u}-description`, { isExpanded: p, toggle: m } = G({ defaultExpanded: !1 }), [h, g] = B(a);
840
+ I(() => !c.current || s.current ? void 0 : ((async () => {
841
+ if (!("anchorName" in document.documentElement.style) || !("popover" in HTMLElement.prototype)) {
842
+ let { default: e } = await import("./chunks/polyfills-D-qh1a_2.js");
843
+ s.current = new e(c.current);
844
+ }
845
+ })().catch((e) => {}), () => {
846
+ s.current?.destroy();
847
+ }), [c]);
848
+ let _ = () => {
849
+ m();
850
+ };
851
+ I(() => {
852
+ if (!c.current) return;
853
+ let e = new AbortController();
854
+ return c.current.addEventListener("toggle", _, { signal: e.signal }), () => {
855
+ e.abort();
856
+ };
857
+ }, [c, _]);
858
+ let v = F((e, t) => {
859
+ e.preventDefault();
860
+ let a = [];
861
+ a = h.includes(t) ? h.filter((e) => e !== t) : n ? [...h, t] : [t], g(a), r(e, t, a), i && c.current.togglePopover();
862
+ }, [
863
+ h,
864
+ n,
865
+ r,
866
+ i
867
+ ]), y = F((e, t) => {
868
+ e.key === "Enter" && (v(e, t), o && o.current && o.current.focus());
869
+ }, [v, o]), b = R(() => ({
870
+ dropMenuId: u,
871
+ triggerId: d,
872
+ descriptionId: f,
873
+ isExpanded: p,
874
+ popoverRef: c,
875
+ selected: h,
876
+ setSelected: g,
877
+ handleClick: v,
878
+ handleKeyDown: y
879
+ }), [
880
+ u,
881
+ d,
882
+ f,
883
+ p,
884
+ c,
885
+ h,
886
+ v,
887
+ y
888
+ ]);
889
+ return /* @__PURE__ */ H(Vt, {
890
+ value: b,
891
+ children: t
892
+ });
893
+ }, Kt = N(null), $ = () => P(Kt), qt = ({ children: e, active: t, modifier: n, id: r }) => {
894
+ let [i, a] = B(t), [o, s] = B("Tabs"), c = z(null), l = L(), u = r || l, d = (e, t) => {
895
+ a(t);
896
+ let n = e.target;
897
+ if (s(n.textContent), typeof window > "u") return;
898
+ let r = new URLSearchParams(window.location.search);
899
+ r.get("tab") !== t && (r.set("tab", t), window.history.replaceState({}, "", `${window.location.pathname}?${r.toString()}`));
900
+ };
901
+ Y(() => {
902
+ if (typeof window > "u") return;
903
+ let e = new URLSearchParams(window.location.search).get("tab");
904
+ e && e !== i && a(e);
905
+ let t = document.querySelector(`[aria-controls="${i}"]`)?.textContent;
906
+ t && s(t);
907
+ }, [i]);
908
+ let f = R(() => ({
909
+ activeTab: i,
910
+ setActiveTab: a,
911
+ activeTabLabel: o,
912
+ tabsId: u,
913
+ tabListRef: c
914
+ }), [
915
+ i,
916
+ o,
917
+ u,
918
+ c
919
+ ]), p = R(() => [i], [i]);
920
+ return /* @__PURE__ */ H(Kt, {
921
+ value: f,
922
+ children: /* @__PURE__ */ H(Gt, {
923
+ id: u,
924
+ onClick: d,
925
+ selectedItem: p,
926
+ children: /* @__PURE__ */ H("div", {
927
+ className: W("mx-tabs", { [`mx-tabs--${n}`]: n }),
928
+ children: e
929
+ })
930
+ })
931
+ });
932
+ }, Jt = ({ id: e, className: t, children: n }) => {
933
+ let { activeTab: r, setActiveTab: i } = $(), a = pe(), o = r === e;
934
+ return /* @__PURE__ */ H("button", {
935
+ id: `${e}-button`,
936
+ "aria-controls": e,
937
+ role: "tab",
938
+ onClick: () => {
939
+ if (i(e), typeof window > "u") return;
940
+ let t = new URLSearchParams(window.location.search);
941
+ t.get("tab") !== e && (t.set("tab", e), window.history.replaceState({}, "", `${window.location.pathname}?${t.toString()}`));
942
+ },
943
+ onKeyDown: (e) => {
944
+ switch (e.key) {
945
+ case "ArrowRight":
946
+ e.preventDefault(), a?.focusNext({ wrap: !0 });
947
+ break;
948
+ case "ArrowLeft":
949
+ e.preventDefault(), a?.focusPrevious({ wrap: !0 });
950
+ break;
951
+ case "Home":
952
+ e.preventDefault(), a?.focusFirst();
953
+ break;
954
+ case "End": e.preventDefault(), a?.focusLast();
955
+ }
956
+ },
957
+ className: t,
958
+ "aria-selected": o,
959
+ tabIndex: o ? 0 : -1,
960
+ type: "button",
961
+ children: n
962
+ });
963
+ }, Yt = ({ children: e, id: t, className: n = "mx-section--l" }) => {
964
+ let { activeTab: r } = $(), i = r === t;
965
+ return /* @__PURE__ */ H("div", {
966
+ id: t,
967
+ className: W("mx-tabs__panel", "mx-vertical-flow", n),
968
+ inert: !i,
969
+ "aria-labelledby": `${t}-button`,
970
+ role: "tabpanel",
971
+ tabIndex: 0,
972
+ children: e
973
+ });
974
+ }, Xt = ({ children: e }) => {
975
+ let { tabListRef: t } = $();
976
+ return /* @__PURE__ */ H("div", {
977
+ className: "mx-tabs__list desktop-only",
978
+ role: "tablist",
979
+ ref: t,
980
+ children: /* @__PURE__ */ H(K, { children: e })
981
+ });
982
+ }, Zt = ({ condition: e, children: t, ...n }) => e ? /* @__PURE__ */ H("div", {
983
+ ...n,
984
+ children: t
985
+ }) : /* @__PURE__ */ H(V, { children: t }), Qt = [
986
+ "mx-button",
987
+ "mx-icon",
988
+ "mx-icon--chevron-down",
989
+ "mx-icon--end"
990
+ ], $t = ({ label: e, children: t, className: n, triggerClassNames: r = Qt, popoverClassName: i, role: a = "menu", ariaLabel: o, triggerDescription: s, description: c = "Results will update when you make a selection. Press escape to close." }) => {
991
+ let { dropMenuId: l, triggerId: u, descriptionId: d, popoverRef: f } = Ht(), p = R(() => ({ anchorName: `--drop-menu-${l}` }), [l]), m = R(() => ({ positionAnchor: `--drop-menu-${l}` }), [l]);
992
+ return /* @__PURE__ */ U(Zt, {
993
+ className: W(n),
994
+ condition: !!n,
995
+ children: [
996
+ /* @__PURE__ */ H("button", {
997
+ id: u,
998
+ type: "button",
999
+ className: W([...r, "mx-popover__trigger"]),
1000
+ popoverTarget: l,
1001
+ style: p,
1002
+ "aria-describedby": s ? `${u}-desc` : null,
1003
+ children: e
1004
+ }),
1005
+ s && /* @__PURE__ */ H("span", {
1006
+ id: `${u}-desc`,
1007
+ className: "sr-only",
1008
+ "aria-hidden": "true",
1009
+ children: s
1010
+ }),
1011
+ c && /* @__PURE__ */ H("span", {
1012
+ id: d,
1013
+ className: "sr-only",
1014
+ "aria-hidden": "true",
1015
+ children: c
1016
+ }),
1017
+ /* @__PURE__ */ H("div", {
1018
+ id: l,
1019
+ className: W("mx-popover mx-drop-menu", i),
1020
+ popover: "",
1021
+ style: m,
1022
+ ref: f,
1023
+ "aria-labelledby": o ? null : u,
1024
+ "aria-label": o,
1025
+ "aria-describedby": d || null,
1026
+ role: a,
1027
+ children: /* @__PURE__ */ H(K, { children: t })
1028
+ })
1029
+ ]
1030
+ });
1031
+ }, en = ({ children: e }) => {
1032
+ let { activeTabLabel: t } = $();
1033
+ return /* @__PURE__ */ H($t, {
1034
+ label: t,
1035
+ className: "mobile-only",
1036
+ role: "tablist",
1037
+ description: "Selecting a tab updates the content below. Press escape to close.",
1038
+ triggerDescription: "Select a tab",
1039
+ children: e
1040
+ });
1041
+ }, tn = ({ children: e, className: t, as: n = m.DIV, variant: r, onRemove: i, removeLabel: a = "Remove" }) => {
1042
+ let s = `${n}`;
1043
+ return /* @__PURE__ */ U(s, {
1044
+ className: W("mx-tag", { "mx-tag--dismissible": i }, r && `mx-tag--${r}`, t),
1045
+ children: [e, i && /* @__PURE__ */ H("button", {
1046
+ type: "button",
1047
+ className: `mx-tag__remove mx-icon mx-icon--only mx-icon--${o.CLOSE}`,
1048
+ onClick: i,
1049
+ children: /* @__PURE__ */ H("span", {
1050
+ className: "sr-only",
1051
+ children: a
1052
+ })
1053
+ })]
1054
+ });
1055
+ }, nn = ({ children: e, className: t, as: n = S.ARTICLE, ...r }) => {
1056
+ let i = `${n}`;
1057
+ return /* @__PURE__ */ H("div", {
1058
+ className: "mx-container",
1059
+ children: /* @__PURE__ */ H(i, {
1060
+ className: W(["mx-list-item", t]),
1061
+ ...r,
1062
+ children: e
1063
+ })
1064
+ });
1065
+ }, rn = ({ children: e }) => /* @__PURE__ */ H("div", {
1066
+ className: W("mx-list-item__content", "mx-vertical-flow"),
1067
+ children: e
1068
+ }), an = ({ children: e, skeleton: t = !1 }) => /* @__PURE__ */ U("figure", {
1069
+ className: W("mx-list-item__media", "stack"),
1070
+ children: [t && /* @__PURE__ */ H("div", { className: "skeleton skeleton--bg" }), e]
1071
+ }), on = ({ title: e, items: t, className: n, inline: r = !1, ...i }) => /* @__PURE__ */ H("nav", {
1072
+ className: W("mx-nav", { "mx-nav--inline": r }, n),
1073
+ "aria-label": e,
1074
+ ...i,
1075
+ children: /* @__PURE__ */ H("ul", { children: t && t.map((e) => /* @__PURE__ */ H("li", {
1076
+ className: W(e.className),
1077
+ children: /* @__PURE__ */ H(q, {
1078
+ to: e.to,
1079
+ className: null,
1080
+ children: e.title
1081
+ })
1082
+ }, e.id)) })
1083
+ }), sn = ({ item: e, isMobile: t, className: n = null, ...r }) => {
1084
+ let { isExpanded: i, toggle: a, expand: o, collapse: s } = G({ defaultExpanded: !1 }), c = L(), l = () => {
1085
+ t && a();
1086
+ }, u = ({ key: e }) => {
1087
+ switch (e) {
1088
+ case "Escape":
1089
+ case "ArrowUp":
1090
+ s();
1091
+ break;
1092
+ case "ArrowDown":
1093
+ case "Space":
1094
+ case "Enter": o();
1095
+ }
1096
+ };
1097
+ return /* @__PURE__ */ U("li", {
1098
+ className: W({
1099
+ "mx-nav__has-subnav": e.items,
1100
+ className: n
1101
+ }),
1102
+ onMouseEnter: () => {
1103
+ t || o();
1104
+ },
1105
+ onMouseLeave: () => {
1106
+ t || s();
1107
+ },
1108
+ ...r,
1109
+ children: [/* @__PURE__ */ H(q, {
1110
+ to: e.to,
1111
+ className: null,
1112
+ children: e.title
1113
+ }), e.items && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("button", {
1114
+ onClick: l,
1115
+ onKeyDown: u,
1116
+ "aria-controls": c,
1117
+ "aria-expanded": i,
1118
+ className: W("mx-nav__toggle", "mx-icon", "mx-icon--only", {
1119
+ "mx-icon--chevron-down": !i,
1120
+ "mx-icon--chevron-up": i
1121
+ }),
1122
+ type: "button",
1123
+ children: "Sub-navigation"
1124
+ }), i && /* @__PURE__ */ H("ul", {
1125
+ id: c,
1126
+ className: W("mx-nav__level-2", "mx-nav--open"),
1127
+ children: e.items.map((e) => /* @__PURE__ */ H("li", {
1128
+ className: W(e.className),
1129
+ children: /* @__PURE__ */ H(q, {
1130
+ to: e.to,
1131
+ className: null,
1132
+ children: e.title
1133
+ })
1134
+ }, e.id))
1135
+ })] })]
1136
+ });
1137
+ }, cn = () => {
1138
+ throw Error("useMediaQuery is a client-only hook");
1139
+ }, ln = (e) => {
1140
+ let t = F((t) => {
1141
+ let n = window.matchMedia(e);
1142
+ return n.addEventListener("change", t), () => {
1143
+ n.removeEventListener("change", t);
1144
+ };
1145
+ }, [e]);
1146
+ return ie(t, () => window.matchMedia(e).matches, cn);
1147
+ }, un = ({ items: e, title: t, mediaQuery: n = "(max-width: 720px)", className: r = null, ...i }) => {
1148
+ let a = ln(n);
1149
+ return /* @__PURE__ */ H("nav", {
1150
+ className: W("mx-nav", "mx-nav--dropdown", { className: r }),
1151
+ "aria-label": t,
1152
+ ...i,
1153
+ children: /* @__PURE__ */ H("ul", {
1154
+ className: "mx-nav__level-1",
1155
+ children: e && e.map((e) => /* @__PURE__ */ H(sn, {
1156
+ item: e,
1157
+ isMobile: a
1158
+ }, e.id))
1159
+ })
1160
+ });
1161
+ }, dn = ({ id: e, label: t, role: n = "menuitemradio", ...r }) => {
1162
+ let { selected: i, handleClick: a, handleKeyDown: o } = Ht(), s = pe(), c = i?.includes(e);
1163
+ return /* @__PURE__ */ H("button", {
1164
+ type: "button",
1165
+ "data-id": e,
1166
+ "aria-checked": c,
1167
+ role: n,
1168
+ onClick: (t) => a(t, e),
1169
+ onKeyDown: (t) => {
1170
+ switch (t.key) {
1171
+ case "ArrowDown":
1172
+ case "ArrowRight":
1173
+ t.preventDefault(), s?.focusNext({
1174
+ wrap: !0,
1175
+ tabbable: !0
1176
+ });
1177
+ break;
1178
+ case "ArrowUp":
1179
+ case "ArrowLeft":
1180
+ t.preventDefault(), s?.focusPrevious({
1181
+ wrap: !0,
1182
+ tabbable: !0
1183
+ });
1184
+ break;
1185
+ default: o(t, e);
1186
+ }
1187
+ },
1188
+ ...r,
1189
+ children: t
1190
+ });
1191
+ }, fn = ({ children: e }) => /* @__PURE__ */ H("div", {
1192
+ className: "mx-results-bar",
1193
+ children: e
1194
+ }), pn = ({ number: e, pageCount: t, total: n }) => /* @__PURE__ */ H(V, { children: n > 0 ? /* @__PURE__ */ U("span", {
1195
+ "aria-live": "polite",
1196
+ children: [
1197
+ "Showing results ",
1198
+ e,
1199
+ " - ",
1200
+ t > n ? n : t,
1201
+ " of ",
1202
+ n,
1203
+ " results"
1204
+ ]
1205
+ }) : /* @__PURE__ */ H("span", {
1206
+ "aria-live": "assertive",
1207
+ "aria-atomic": "true",
1208
+ children: "Sorry, no results were found for your search"
1209
+ }) }), mn = ({ id: e, name: t, options: n, label: r = "Sort by", ...i }) => {
1210
+ let a = R(() => n.map((e) => ({
1211
+ value: e,
1212
+ label: e
1213
+ })), [n]);
1214
+ return /* @__PURE__ */ U("div", {
1215
+ className: "mx-results-bar__sort",
1216
+ children: [/* @__PURE__ */ H(mt, {
1217
+ id: e,
1218
+ text: r
1219
+ }), /* @__PURE__ */ H(yt, {
1220
+ name: t,
1221
+ options: a,
1222
+ id: e,
1223
+ ...i
1224
+ })]
1225
+ });
1226
+ }, hn = N({
1227
+ counts: /* @__PURE__ */ new Map(),
1228
+ pending: !1,
1229
+ totalCount: 0
1230
+ }), gn = () => P(hn), _n = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", vn = ({ title: e, action: t, items: n, actions: r, direction: i = "down", instant: a = !1, collapsible: o = !1, sticky: s = !1, counter: c = !1, onSubmit: l, onReset: u, onChange: d, className: f, children: p, mediaQuery: m = "(max-width: 720px)" }) => {
1231
+ let h = z(null), [g, _] = B(/* @__PURE__ */ new Map()), v = ln(m), [y, b] = B(!v), x = i === "right" ? K : M, S = i === "right" && y && v, C = z(null), w = z(0), [T, E] = B(!1), D = z(null), O = R(() => [...g.values()].filter((e) => e > 0).length, [g]), k = F((e) => {
1232
+ let t = h.current;
1233
+ if (!t) return;
1234
+ let n = new FormData(t), r = /* @__PURE__ */ new Map();
1235
+ if (n.forEach((e, t) => {
1236
+ e && r.set(t, (r.get(t) ?? 0) + 1);
1237
+ }), _(r), d?.(e), !a) return;
1238
+ let i = e.target, o = i instanceof HTMLSelectElement || i instanceof HTMLInputElement && ["checkbox", "radio"].includes(i.type);
1239
+ clearTimeout(D.current), o ? t.requestSubmit() : D.current = setTimeout(() => t.requestSubmit(), 400);
1240
+ }, [d, a]), A = F((e) => {
1241
+ let t = l?.(e);
1242
+ if (t) {
1243
+ let e = ++w.current;
1244
+ E(!0), t.finally(() => {
1245
+ w.current === e && E(!1);
1246
+ });
1247
+ }
1248
+ }, [l]), j = F((e) => {
1249
+ _(/* @__PURE__ */ new Map()), clearTimeout(D.current), u?.(e), a && (D.current = setTimeout(() => h.current?.requestSubmit(), 0));
1250
+ }, [u, a]), ee = F(({ newState: e }) => {
1251
+ b(e === "open");
1252
+ }, []);
1253
+ I(() => () => clearTimeout(D.current), []), Y(() => {
1254
+ b(!v);
1255
+ }, [v]), Y(() => {
1256
+ S ? (C.current = document.activeElement, h.current?.querySelector(_n)?.focus()) : (C.current?.focus(), C.current = null);
1257
+ }, [S]);
1258
+ let N = R(() => ({
1259
+ counts: g,
1260
+ pending: T,
1261
+ totalCount: O
1262
+ }), [
1263
+ g,
1264
+ T,
1265
+ O
1266
+ ]), te = /* @__PURE__ */ U(V, { children: [e, c && O > 0 && /* @__PURE__ */ H("span", {
1267
+ className: "mx-tag",
1268
+ "aria-live": "polite",
1269
+ children: O
1270
+ })] }), P = /* @__PURE__ */ H("form", {
1271
+ ref: h,
1272
+ className: "mx-filters__form mx-vertical-flow",
1273
+ action: t,
1274
+ "aria-busy": T,
1275
+ onChangeCapture: k,
1276
+ onSubmit: A,
1277
+ onReset: j,
1278
+ children: /* @__PURE__ */ U(x, {
1279
+ ...i === "right" ? { contain: S } : {},
1280
+ children: [
1281
+ i === "right" && /* @__PURE__ */ U("div", {
1282
+ className: "mx-filters__title",
1283
+ children: [e, /* @__PURE__ */ H("button", {
1284
+ className: "mx-button mx-button--icon-only mx-icon mx-icon--close",
1285
+ type: "button",
1286
+ onClick: () => b(!1),
1287
+ children: "Close filters"
1288
+ })]
1289
+ }),
1290
+ n?.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t)),
1291
+ p,
1292
+ r && r.length > 0 && /* @__PURE__ */ H("div", {
1293
+ className: "mx-form-actions",
1294
+ children: r.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t))
1295
+ })
1296
+ ]
1297
+ })
1298
+ }), ne = o ? /* @__PURE__ */ U("details", {
1299
+ className: "mx-accordion",
1300
+ open: y,
1301
+ onToggle: ee,
1302
+ children: [/* @__PURE__ */ U("summary", {
1303
+ className: "mx-accordion__toggle mx-filters__title",
1304
+ children: [te, /* @__PURE__ */ H("span", {
1305
+ className: W("mx-icon", {
1306
+ "mx-icon--chevron-right": i === "right",
1307
+ "mx-icon--chevron-down": i === "down"
1308
+ }),
1309
+ "aria-hidden": "true"
1310
+ })]
1311
+ }), P]
1312
+ }) : /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("h2", {
1313
+ className: "mx-filters__title",
1314
+ children: te
1315
+ }), P] });
1316
+ return /* @__PURE__ */ H(hn, {
1317
+ value: N,
1318
+ children: /* @__PURE__ */ H("div", {
1319
+ className: W("mx-filters", i && `mx-filters--${i}`, s && "mx-filters--sticky", a && "mx-filters--auto", f),
1320
+ children: ne
1321
+ })
1322
+ });
1323
+ }, yn = ({ id: e, name: t, as: n = "div", label: r, fields: i = a, descriptionStart: o, descriptionEnd: s, status: c, inline: l = !1, shownItems: u, collapsible: d, children: f }) => {
1324
+ let [p, m] = B(!1), { counts: h } = gn(), g = t == null ? 0 : h.get(t) ?? 0, _ = !p && typeof u == "number" && i.length > u, v = _ ? i.slice(0, u) : i, y = _ ? i.slice(u) : [], b = W("mx-form-item", n === "fieldset" && "mx-fieldset", l && "mx-form-item--inline", d ? "mx-accordion__content" : "mx-filter-item"), x = /* @__PURE__ */ U(n, {
1325
+ className: b,
1326
+ id: e ? `${e}-item` : void 0,
1327
+ children: [
1328
+ r,
1329
+ o,
1330
+ i.length > 0 ? /* @__PURE__ */ U(V, { children: [
1331
+ v.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t)),
1332
+ _ && /* @__PURE__ */ U("button", {
1333
+ className: "mx-button mx-button--light",
1334
+ type: "button",
1335
+ onClick: () => m(!0),
1336
+ children: [
1337
+ "Show all (",
1338
+ i.length,
1339
+ ")"
1340
+ ]
1341
+ }),
1342
+ p && y.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t))
1343
+ ] }) : f,
1344
+ s,
1345
+ c
1346
+ ]
1347
+ });
1348
+ return d ? /* @__PURE__ */ U(Pe, {
1349
+ active: d.open ?? !1,
1350
+ id: e ? `${e}-container` : void 0,
1351
+ className: "mx-filter-item",
1352
+ children: [/* @__PURE__ */ U(Fe, { children: [
1353
+ d.title,
1354
+ d.counter && g > 0 && /* @__PURE__ */ H("span", {
1355
+ className: "mx-tag",
1356
+ "aria-live": "polite",
1357
+ children: g
1358
+ }),
1359
+ /* @__PURE__ */ H("span", {
1360
+ className: "mx-icon mx-icon--chevron-down",
1361
+ "aria-hidden": "true"
1362
+ })
1363
+ ] }), /* @__PURE__ */ H(Re, { children: x })]
1364
+ }) : x;
1365
+ }, bn = ({ items: e, pagination: t = !1, counter: n = !1, loop: r = !1, className: i }) => {
1366
+ let a = z(null), [o, s] = B(0), [c, l] = B(0), [u, d] = B(!1), [f, p] = B(!0), [m, h] = B(!1), [g, _] = B(!1), v = z(/* @__PURE__ */ new Map()), y = t ? "pagination" : n ? "counter" : null, b = L(), x = F(() => [...v.current.values()].filter(Boolean).length, []), S = F(() => {
1367
+ let e = [...v.current.keys()], t = x();
1368
+ return t === 0 ? e : e.filter((e, n) => n % t === 0);
1369
+ }, [x]), C = F(() => {
1370
+ let e = S().length;
1371
+ e <= 0 || l(e);
1372
+ }, [S]), w = F(() => {
1373
+ let e = a.current;
1374
+ if (!e) return;
1375
+ let t = e.scrollWidth > e.clientWidth;
1376
+ d(t), t && y && setTimeout(C, 200);
1377
+ }, [C, y]), T = F(() => {
1378
+ let e = a.current;
1379
+ if (!e) return;
1380
+ p(e.scrollLeft < 200);
1381
+ let t = Math.round(e.scrollLeft) >= Math.round(e.scrollWidth - e.offsetWidth);
1382
+ if (_(t), r || h(t), y) {
1383
+ let n = Math.round(e.offsetLeft + e.scrollLeft);
1384
+ if (t) {
1385
+ let e = S().length - 1;
1386
+ s(e);
1387
+ } else {
1388
+ let e = 0, t = Infinity;
1389
+ S().forEach((r, i) => {
1390
+ let a = Math.abs(Math.round(r.offsetLeft) - n);
1391
+ a < t && (t = a, e = i);
1392
+ }), s(e);
1393
+ }
1394
+ }
1395
+ }, [
1396
+ r,
1397
+ y,
1398
+ S
1399
+ ]), E = z(null), D = F(() => {
1400
+ clearTimeout(E.current), E.current = setTimeout(T, y ? 100 : 200);
1401
+ }, [T, y]), O = F((e) => {
1402
+ if (e < 0 || !a.current) return;
1403
+ let t = [...v.current.keys()], n = x() || 1;
1404
+ e === 0 || r && g && e > o ? (s(0), t[0]?.scrollIntoView({
1405
+ inline: "start",
1406
+ block: "nearest"
1407
+ })) : (s(e), t[n * e]?.scrollIntoView({
1408
+ inline: "start",
1409
+ block: "nearest"
1410
+ }));
1411
+ }, [
1412
+ o,
1413
+ g,
1414
+ r,
1415
+ x
1416
+ ]);
1417
+ return I(() => {
1418
+ let e = a.current;
1419
+ if (!e) return;
1420
+ let t = e.querySelectorAll(":scope > li");
1421
+ v.current = /* @__PURE__ */ new Map();
1422
+ let n = new IntersectionObserver((e) => {
1423
+ e.forEach(({ target: e, intersectionRatio: t }) => {
1424
+ let n = e;
1425
+ t > .5 ? (n.removeAttribute("inert"), n.setAttribute("aria-hidden", "false"), v.current.set(n, !0)) : (n.setAttribute("inert", ""), n.setAttribute("aria-hidden", "true"), v.current.set(n, !1));
1426
+ });
1427
+ }, {
1428
+ root: e,
1429
+ threshold: .5
1430
+ });
1431
+ t.forEach((e) => n.observe(e));
1432
+ let r = new ResizeObserver(() => w());
1433
+ r.observe(e);
1434
+ let i = new MutationObserver(() => w());
1435
+ return i.observe(e, { childList: !0 }), e.addEventListener("scroll", D), () => {
1436
+ n.disconnect(), r.disconnect(), i.disconnect(), e.removeEventListener("scroll", D), clearTimeout(E.current);
1437
+ };
1438
+ }, [D, w]), /* @__PURE__ */ U("div", {
1439
+ className: W("mx-carousel", i),
1440
+ role: "region",
1441
+ "aria-roledescription": "carousel",
1442
+ id: b,
1443
+ children: [
1444
+ /* @__PURE__ */ U("div", {
1445
+ className: "mx-carousel__buttons",
1446
+ hidden: !u,
1447
+ role: "group",
1448
+ "aria-label": "Quick page controls",
1449
+ children: [/* @__PURE__ */ U("button", {
1450
+ className: "mx-button mx-button--icon-only mx-carousel__prev",
1451
+ type: "button",
1452
+ disabled: f,
1453
+ onClick: () => O(o - 1),
1454
+ children: [/* @__PURE__ */ H("span", {
1455
+ className: "sr-only",
1456
+ children: "previous page"
1457
+ }), /* @__PURE__ */ H("span", {
1458
+ className: "mx-icon mx-icon--chevron-left",
1459
+ "aria-hidden": "true"
1460
+ })]
1461
+ }), /* @__PURE__ */ U("button", {
1462
+ className: "mx-button mx-button--icon-only mx-carousel__next",
1463
+ type: "button",
1464
+ disabled: m,
1465
+ onClick: () => O(o + 1),
1466
+ children: [/* @__PURE__ */ H("span", {
1467
+ className: "sr-only",
1468
+ children: "next page"
1469
+ }), /* @__PURE__ */ H("span", {
1470
+ className: "mx-icon mx-icon--chevron-right",
1471
+ "aria-hidden": "true"
1472
+ })]
1473
+ })]
1474
+ }),
1475
+ /* @__PURE__ */ H("ul", {
1476
+ ref: a,
1477
+ className: "mx-carousel__scrollable",
1478
+ "aria-live": "off",
1479
+ ...u ? { tabIndex: 0 } : {},
1480
+ children: e.map((e, t) => /* @__PURE__ */ H("li", {
1481
+ "data-index": t,
1482
+ children: e
1483
+ }, t))
1484
+ }),
1485
+ y && c > 0 && /* @__PURE__ */ H("div", {
1486
+ className: "mx-carousel__pagination",
1487
+ "data-pagination": y,
1488
+ hidden: !u,
1489
+ role: "group",
1490
+ "aria-label": "Page controls",
1491
+ children: Array.from({ length: c }, (e, t) => /* @__PURE__ */ H("button", {
1492
+ type: "button",
1493
+ "data-index": t,
1494
+ disabled: t === o,
1495
+ "aria-current": t === o ? "page" : void 0,
1496
+ "aria-label": `Page ${t + 1}`,
1497
+ onClick: () => O(t),
1498
+ children: t + 1
1499
+ }, t))
1500
+ })
1501
+ ]
1502
+ });
1503
+ }, xn = ({ id: e, children: t, placement: n = k.BOTTOM, title: r, link: i }) => {
1504
+ let a = z(null), o = z(null), s = R(() => ({ positionAnchor: `--${e}` }), [e]);
1505
+ return I(() => !o.current || a.current ? void 0 : ((async () => {
1506
+ if (!("anchorName" in document.documentElement.style) || !("popover" in HTMLElement.prototype)) {
1507
+ let { default: e } = await import("./chunks/polyfills-D-qh1a_2.js");
1508
+ a.current = new e(o.current);
1509
+ }
1510
+ })().catch((e) => {}), () => {
1511
+ a.current?.destroy();
1512
+ }), [o]), /* @__PURE__ */ H("div", {
1513
+ ref: o,
1514
+ className: "mx-popover",
1515
+ id: e,
1516
+ "aria-describedby": `${e}-trigger`,
1517
+ style: s,
1518
+ "data-placement": n,
1519
+ popover: "",
1520
+ children: /* @__PURE__ */ U("div", {
1521
+ className: "mx-rich-text mx-vertical-flow",
1522
+ children: [
1523
+ r,
1524
+ t,
1525
+ i
1526
+ ]
1527
+ })
1528
+ });
1529
+ }, Sn = ({ popoverId: e, children: t }) => {
1530
+ if (!te(t)) throw Error("<PopoverTrigger> requires a single valid React element as its child.");
1531
+ return ee(t, {
1532
+ id: `${e}-trigger`,
1533
+ popoverTarget: e,
1534
+ style: {
1535
+ ...t.props.style,
1536
+ anchorName: `--${e}`
1537
+ }
1538
+ });
1539
+ }, Cn = N(!1), wn = ({ children: e, parent: t, title: n, id: r, collapsible: i = !1, className: a }) => {
1540
+ let o = L(), s = r || o;
1541
+ return /* @__PURE__ */ U("nav", {
1542
+ className: W("mx-nav", "mx-side-nav", { "mx-nav--collapsible": i }, a),
1543
+ ...n ? { "aria-label": n } : { "aria-labelledby": s },
1544
+ children: [/* @__PURE__ */ H("div", {
1545
+ className: "mx-side-nav__parent",
1546
+ id: s,
1547
+ children: t
1548
+ }), /* @__PURE__ */ H(Cn, {
1549
+ value: i,
1550
+ children: e
1551
+ })]
1552
+ });
1553
+ }, Tn = ({ link: e, items: t }) => !!e.current || !!t?.some(Tn), En = ({ item: e, level: t }) => {
1554
+ let n = ne(Cn), { isExpanded: r, toggle: i } = G({ defaultExpanded: Tn(e) }), a = L(), o = L(), s = e.items && e.items.length > 0;
1555
+ return /* @__PURE__ */ U("li", {
1556
+ className: s ? "mx-nav__has-subnav" : void 0,
1557
+ children: [e.link.href ? /* @__PURE__ */ H(q, {
1558
+ to: e.link.href,
1559
+ id: s && n ? o : void 0,
1560
+ "aria-current": e.link.current ? "page" : void 0,
1561
+ children: e.link.title
1562
+ }) : e.link.title, s && /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("button", {
1563
+ className: "mx-nav__toggle mx-icon mx-icon--chevron-down mx-icon--only",
1564
+ type: "button",
1565
+ ...n && {
1566
+ "aria-expanded": r,
1567
+ "aria-controls": a,
1568
+ onClick: i
1569
+ },
1570
+ children: "Sub-navigation"
1571
+ }), /* @__PURE__ */ H(Dn, {
1572
+ items: e.items,
1573
+ level: t + 1,
1574
+ ...n && {
1575
+ id: a,
1576
+ "aria-labelledby": e.link.href ? o : void 0,
1577
+ inert: !r
1578
+ }
1579
+ })] })]
1580
+ });
1581
+ }, Dn = ({ items: e, level: t = 0, ...n }) => /* @__PURE__ */ H("ul", {
1582
+ className: `mx-nav__level-${t + 1}`,
1583
+ ...n,
1584
+ children: e.map((e, n) => /* @__PURE__ */ H(En, {
1585
+ item: e,
1586
+ level: t
1587
+ }, n))
1588
+ }), On = ({ id: e, children: n, acceptLabel: r = "Accept", rejectLabel: i = "Reject", moreLabel: a = "Learn more", moreHref: o, waitRemove: s = 0, className: c }) => {
1589
+ let l = L(), u = e || l, d = z(null);
1590
+ I(() => {
1591
+ if (!d.current) return;
1592
+ let e = new t(d.current);
1593
+ return e.init(), () => e.destroy();
1594
+ }, []);
1595
+ let f = o ? "a" : "button";
1596
+ return /* @__PURE__ */ H("div", {
1597
+ ref: d,
1598
+ id: u,
1599
+ className: W("mx-cookie-consent", c),
1600
+ role: "dialog",
1601
+ "aria-live": "polite",
1602
+ "aria-label": "Cookie consent",
1603
+ "data-wait-remove": s,
1604
+ inert: !0,
1605
+ children: /* @__PURE__ */ U("div", {
1606
+ className: "mx-cookie-consent__inner",
1607
+ children: [/* @__PURE__ */ H("div", {
1608
+ className: "mx-cookie-consent__content",
1609
+ children: n
1610
+ }), /* @__PURE__ */ U("div", {
1611
+ className: "mx-cookie-consent__actions",
1612
+ children: [
1613
+ a && /* @__PURE__ */ H(f, {
1614
+ className: "mx-button mx-button--light",
1615
+ type: o ? void 0 : "button",
1616
+ href: o,
1617
+ target: o ? "_blank" : void 0,
1618
+ rel: o ? "noopener noreferrer" : void 0,
1619
+ "data-cookie-more": "",
1620
+ children: a
1621
+ }),
1622
+ /* @__PURE__ */ H("button", {
1623
+ className: "mx-button mx-button--dark mx-button--outline",
1624
+ type: "button",
1625
+ "data-cookie-reject": "",
1626
+ children: i
1627
+ }),
1628
+ /* @__PURE__ */ H("button", {
1629
+ className: "mx-button mx-button--dark",
1630
+ type: "button",
1631
+ "data-cookie-accept": "",
1632
+ children: r
1633
+ })
1634
+ ]
1635
+ })]
1636
+ })
1637
+ });
1638
+ }, kn = N(null), An = () => P(kn), jn = (e, t) => e?.querySelector(`.mx-carousel__scrollable > li[data-index="${t}"]`) ?? null, Mn = ({ children: e, content: t, id: n, dialogLabel: r = "Image gallery", className: i }) => {
1639
+ let a = L(), o = n || a, [s, c] = B(!1), [l, u] = B(0), d = z(null);
1640
+ Y(() => {
1641
+ if (!s) return;
1642
+ let e = jn(d.current, l);
1643
+ e && (e.removeAttribute("inert"), (e.querySelector("img") ?? e).scrollIntoView({
1644
+ inline: "start",
1645
+ block: "nearest"
1646
+ }));
1647
+ }, [s, l]);
1648
+ let f = F((e) => {
1649
+ u(e), c(!0);
1650
+ }, []), p = R(() => ({ openAt: f }), [f]);
1651
+ return /* @__PURE__ */ H(kn, {
1652
+ value: p,
1653
+ children: /* @__PURE__ */ U("div", {
1654
+ className: W("mx-gallery", i),
1655
+ id: o,
1656
+ children: [/* @__PURE__ */ H("div", {
1657
+ className: "mx-gallery__preview",
1658
+ children: e
1659
+ }), /* @__PURE__ */ U(Ye, {
1660
+ open: s,
1661
+ fullscreen: !0,
1662
+ onClose: () => c(!1),
1663
+ "aria-label": r,
1664
+ children: [/* @__PURE__ */ H(Xe, {
1665
+ ref: d,
1666
+ children: t
1667
+ }), /* @__PURE__ */ H(Ze, {})]
1668
+ })]
1669
+ })
1670
+ });
1671
+ }, Nn = ({ index: e, children: t, className: n, ...r }) => {
1672
+ let { openAt: i } = An();
1673
+ return /* @__PURE__ */ H("button", {
1674
+ type: "button",
1675
+ className: W("mx-gallery__trigger", n),
1676
+ onClick: () => i(e),
1677
+ ...r,
1678
+ children: t
1679
+ });
1680
+ }, Pn = ({ steps: t, current: n, className: r = null }) => {
1681
+ let i = t.length, a = e.integer(n, 1, i) ? n : 1;
1682
+ return /* @__PURE__ */ U("div", {
1683
+ className: W("mx-progress-indicator", r),
1684
+ children: [
1685
+ /* @__PURE__ */ U("p", {
1686
+ className: "mx-progress-indicator__count",
1687
+ children: [
1688
+ "Step ",
1689
+ a,
1690
+ " of ",
1691
+ i,
1692
+ " — ",
1693
+ t[a - 1]
1694
+ ]
1695
+ }),
1696
+ /* @__PURE__ */ H("div", {
1697
+ className: "mx-progress-indicator__track",
1698
+ "aria-hidden": "true",
1699
+ children: t.map((e, t) => {
1700
+ let n = t + 1;
1701
+ return /* @__PURE__ */ H("i", { className: W("mx-progress-indicator__marker", {
1702
+ "mx-progress-indicator__marker--done": n < a,
1703
+ "mx-progress-indicator__marker--now": n === a
1704
+ }) }, `${e}-${n}`);
1705
+ })
1706
+ }),
1707
+ /* @__PURE__ */ H("ol", {
1708
+ className: "mx-progress-indicator__steps",
1709
+ children: t.map((e, t) => {
1710
+ let n = t + 1;
1711
+ return /* @__PURE__ */ H("li", {
1712
+ className: W("mx-progress-indicator__step", { "mx-progress-indicator__step--done": n < a }),
1713
+ "aria-current": n === a ? "step" : void 0,
1714
+ children: e
1715
+ }, `${e}-${n}`);
1716
+ })
1717
+ })
1718
+ ]
1719
+ });
1720
+ }, Fn = [C.LIGHT], In = (e) => {
1721
+ let t = Number.parseFloat(e);
1722
+ return Number.isNaN(t) ? window.innerHeight : e.endsWith("vh") ? t / 100 * window.innerHeight : t;
1723
+ }, Ln = ({ target: e, visibleAfter: t = "100vh", to: n = "#main", offset: r, title: i = "Back to top", breakpoint: a, className: s, onVisibleChange: c }) => {
1724
+ let [l, u] = B(!1);
1725
+ I(() => {
1726
+ let n = (e) => {
1727
+ u((t) => (t !== e && c?.(e), e));
1728
+ }, r = e ? document.querySelector(e) : null;
1729
+ if (r) {
1730
+ let e = new IntersectionObserver(([{ boundingClientRect: e }]) => {
1731
+ n(e.y < 0);
1732
+ });
1733
+ return e.observe(r), () => e.disconnect();
1734
+ }
1735
+ let i = In(t), a = () => n(window.scrollY > i);
1736
+ return a(), window.addEventListener("scroll", a, { passive: !0 }), () => window.removeEventListener("scroll", a);
1737
+ }, [
1738
+ e,
1739
+ t,
1740
+ c
1741
+ ]);
1742
+ let d = (e) => {
1743
+ if (!n.startsWith("#")) return;
1744
+ let t = document.querySelector(n);
1745
+ if (!t) return;
1746
+ e.preventDefault();
1747
+ let r = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1748
+ t.scrollIntoView({
1749
+ behavior: r ? "auto" : "smooth",
1750
+ block: "start"
1751
+ });
1752
+ let i = t.hasAttribute("tabindex");
1753
+ i || t.setAttribute("tabindex", "-1"), t.focus({ preventScroll: !0 }), i || t.addEventListener("blur", () => t.removeAttribute("tabindex"), { once: !0 }), window.history?.pushState?.(null, "", n);
1754
+ }, f = R(() => {
1755
+ let e = {};
1756
+ return r && (e["--back-to-top-offset"] = `${r}px`), e;
1757
+ }, [r]);
1758
+ return /* @__PURE__ */ H("div", {
1759
+ className: W(a ? `mx-back-to-top--${a}` : "mx-back-to-top", s, {
1760
+ "is-enhanced": !0,
1761
+ "is-visible": l
1762
+ }),
1763
+ style: f,
1764
+ children: /* @__PURE__ */ H(je, {
1765
+ to: n,
1766
+ onClick: d,
1767
+ modifiers: Fn,
1768
+ className: "mx-back-to-top__trigger mx-button--small",
1769
+ iconStart: o.ARROW_UP,
1770
+ children: i
1771
+ })
1772
+ });
1773
+ }, Rn = ({ languages: e, onSelect: t }) => {
1774
+ let n = pe(), r = (e) => {
1775
+ switch (e.key) {
1776
+ case "ArrowDown":
1777
+ case "ArrowRight":
1778
+ e.preventDefault(), n?.focusNext({
1779
+ wrap: !0,
1780
+ tabbable: !0
1781
+ });
1782
+ break;
1783
+ case "ArrowUp":
1784
+ case "ArrowLeft": e.preventDefault(), n?.focusPrevious({
1785
+ wrap: !0,
1786
+ tabbable: !0
1787
+ });
1788
+ }
1789
+ };
1790
+ return /* @__PURE__ */ H(V, { children: e.map((e) => /* @__PURE__ */ H("a", {
1791
+ className: "mx-translate__item",
1792
+ href: `?hl=${e.code}`,
1793
+ lang: e.code,
1794
+ hrefLang: e.code,
1795
+ role: "menuitem",
1796
+ "data-language": e.code,
1797
+ onClick: (n) => t(e.code, n),
1798
+ onKeyDown: r,
1799
+ children: e.label
1800
+ }, e.code)) });
1801
+ }, zn = ({ id: e, label: t = "Language", languages: r, defaultLanguage: i = "en", blockedPaths: a, scriptUrl: s, storageKey: c, updateTriggerLabel: l = !0, noticeContent: u, noticeBlockedContent: d, noticeAnchor: f, noticePosition: p, placement: m = k.BOTTOM_START, className: h, closeOnSelect: g = !0, onOpen: _, onClose: v, onLanguageChange: y }) => {
1802
+ let b = L(), x = e ?? b, S = z(null), C = z(null), w = z(null), T = z(null), E = R(() => ({ anchorName: `--${x}` }), [x]), D = R(() => ({ positionAnchor: `--${x}` }), [x]);
1803
+ return I(() => {
1804
+ if (!S.current) return;
1805
+ let e = new n(S.current, {
1806
+ defaultLanguage: i,
1807
+ blockedPaths: a,
1808
+ scriptUrl: s,
1809
+ storageKey: c,
1810
+ updateTriggerLabel: l,
1811
+ notice: u ? {
1812
+ content: u,
1813
+ blockedContent: d,
1814
+ anchorSelector: f,
1815
+ position: p
1816
+ } : void 0,
1817
+ onLanguageChange: y
1818
+ });
1819
+ return e.init(), w.current = e, () => e.destroy();
1820
+ }, []), I(() => {
1821
+ let e = C.current;
1822
+ if (!e) return;
1823
+ (async () => {
1824
+ if (!("anchorName" in document.documentElement.style) || !("popover" in HTMLElement.prototype)) {
1825
+ let { default: t } = await import("./chunks/polyfills-D-qh1a_2.js");
1826
+ T.current = new t(e);
1827
+ }
1828
+ })().catch(() => {});
1829
+ let t = new AbortController();
1830
+ return e.addEventListener("toggle", (e) => {
1831
+ let { newState: t } = e;
1832
+ t === "open" ? _?.() : v?.();
1833
+ }, { signal: t.signal }), () => {
1834
+ t.abort(), T.current?.destroy();
1835
+ };
1836
+ }, [_, v]), /* @__PURE__ */ U("div", {
1837
+ ref: S,
1838
+ className: W("mx-translate", h),
1839
+ children: [/* @__PURE__ */ U("button", {
1840
+ type: "button",
1841
+ id: `${x}-target`,
1842
+ className: "mx-translate__trigger mx-popover__trigger notranslate",
1843
+ popoverTarget: x,
1844
+ style: E,
1845
+ "data-label": t,
1846
+ "aria-label": `${t}, ${i.toUpperCase()}`,
1847
+ children: [/* @__PURE__ */ H(J, { icon: o.GLOBE }), /* @__PURE__ */ H("span", {
1848
+ className: "mx-translate__code",
1849
+ children: i.toUpperCase()
1850
+ })]
1851
+ }), /* @__PURE__ */ H("div", {
1852
+ ref: C,
1853
+ id: x,
1854
+ className: "mx-popover mx-translate__menu notranslate",
1855
+ "aria-describedby": `${x}-target`,
1856
+ "aria-labelledby": `${x}-target`,
1857
+ style: D,
1858
+ "data-placement": m,
1859
+ popover: "",
1860
+ role: "menu",
1861
+ children: /* @__PURE__ */ H(K, { children: /* @__PURE__ */ H(Rn, {
1862
+ languages: r,
1863
+ onSelect: (e, t) => {
1864
+ t.preventDefault(), w.current?.setLanguage(e), g && C.current?.hidePopover();
1865
+ }
1866
+ }) })
1867
+ })]
1868
+ });
1869
+ }, Bn = ({ id: e, name: t = "search-form", action: n, placeholder: r = "Keywords...", label: i = "Search by keywords", className: a, onSubmit: o }) => /* @__PURE__ */ H("search", { children: /* @__PURE__ */ U("form", {
1870
+ className: W("mx-form", "mx-form--inline-button", a),
1871
+ action: n,
1872
+ onSubmit: o,
1873
+ children: [/* @__PURE__ */ H("input", {
1874
+ className: "mx-input__text",
1875
+ id: e,
1876
+ name: t,
1877
+ type: "search",
1878
+ defaultValue: "",
1879
+ "aria-label": i,
1880
+ placeholder: r
1881
+ }), /* @__PURE__ */ U("button", {
1882
+ className: "mx-button mx-button--icon-only",
1883
+ type: "submit",
1884
+ children: [/* @__PURE__ */ H("span", {
1885
+ className: "mx-icon mx-icon--search",
1886
+ "aria-hidden": "true"
1887
+ }), /* @__PURE__ */ H("span", {
1888
+ className: "sr-only",
1889
+ children: "Search"
1890
+ })]
1891
+ })]
1892
+ }) }), Vn = (e) => {
1893
+ e.preventDefault();
1894
+ }, Hn = ({ id: e, options: t, value: n = "", label: r, type: i = "text", status: a = h.DEFAULT, className: o = "", noResultsLabel: s = "No results found", hideOnBlur: c = !0, onSearch: l, onSelect: u, onSubmit: d, children: f, ...p }) => {
1895
+ let m = z(null), g = z(null), _ = z(0), [v, y] = B(!1), b = se({
1896
+ items: t,
1897
+ defaultInputValue: n,
1898
+ allowsEmptyCollection: !0,
1899
+ menuTrigger: "manual",
1900
+ children: (e) => /* @__PURE__ */ H(ae, { children: e.label }, e.value)
1901
+ }), x = () => {
1902
+ b.isOpen && b.toggle();
1903
+ }, S = t.findIndex((e) => e.value === b.selectionManager.focusedKey), C = `${e}-listbox`, w = S >= 0 ? `${e}-option-${S}` : void 0;
1904
+ Y(() => {
1905
+ g.current?.querySelector("[aria-selected=\"true\"]")?.scrollIntoView({ block: "nearest" });
1906
+ }, [S]);
1907
+ let T = (e) => {
1908
+ b.setInputValue(e.label), x(), b.selectionManager.setFocusedKey(null), u?.(e), m.current?.focus();
1909
+ }, E = ({ currentTarget: e }) => {
1910
+ b.setInputValue(e.value), b.selectionManager.setFocusedKey(null), e.value.trim().length > 0 ? b.open() : x();
1911
+ let t = l?.(e.value.trim());
1912
+ if (t) {
1913
+ let e = ++_.current;
1914
+ y(!0), t.finally(() => {
1915
+ _.current === e && y(!1);
1916
+ });
1917
+ }
1918
+ }, D = () => {
1919
+ b.inputValue.trim().length > 0 && b.open();
1920
+ }, O = () => {
1921
+ c && x(), b.selectionManager.setFocusedKey(null);
1922
+ }, k = (e) => {
1923
+ if (!b.isOpen) {
1924
+ (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), b.open());
1925
+ return;
1926
+ }
1927
+ if (t.length === 0 && e.key !== "Escape") return;
1928
+ let { collection: n, selectionManager: r } = b, i = r.focusedKey;
1929
+ switch (e.key) {
1930
+ case "ArrowDown":
1931
+ e.preventDefault(), r.setFocusedKey(i == null ? n.getFirstKey() : n.getKeyAfter(i) ?? n.getFirstKey());
1932
+ break;
1933
+ case "ArrowUp":
1934
+ e.preventDefault(), r.setFocusedKey(i == null ? n.getLastKey() : n.getKeyBefore(i) ?? n.getLastKey());
1935
+ break;
1936
+ case "Home":
1937
+ e.preventDefault(), r.setFocusedKey(n.getFirstKey());
1938
+ break;
1939
+ case "End":
1940
+ e.preventDefault(), r.setFocusedKey(n.getLastKey());
1941
+ break;
1942
+ case "Enter":
1943
+ if (S < 0) return;
1944
+ e.preventDefault(), T(t[S]);
1945
+ break;
1946
+ case "Escape": e.preventDefault(), x(), r.setFocusedKey(null);
1947
+ }
1948
+ }, A = b.isOpen && t.length > 0, j = b.isOpen ? t.length === 0 ? s : `${t.length} result${t.length === 1 ? "" : "s"} available` : "";
1949
+ return /* @__PURE__ */ U("div", {
1950
+ className: W("mx-autocomplete", o),
1951
+ children: [/* @__PURE__ */ U("div", {
1952
+ className: "mx-autocomplete__control mx-form--inline-button",
1953
+ "aria-busy": v,
1954
+ children: [/* @__PURE__ */ H("input", {
1955
+ ...p,
1956
+ ref: m,
1957
+ id: e,
1958
+ type: i,
1959
+ role: "combobox",
1960
+ className: "mx-input__text",
1961
+ value: b.inputValue,
1962
+ autoComplete: "off",
1963
+ "aria-expanded": b.isOpen,
1964
+ "aria-controls": C,
1965
+ "aria-autocomplete": "list",
1966
+ "aria-activedescendant": w,
1967
+ "aria-label": r,
1968
+ "aria-describedby": `help-${e}`,
1969
+ "aria-invalid": a === h.INVALID,
1970
+ onChange: E,
1971
+ onFocus: D,
1972
+ onBlur: O,
1973
+ onKeyDown: k
1974
+ }), i === "search" && /* @__PURE__ */ U("button", {
1975
+ className: "mx-button mx-button--icon-only",
1976
+ type: "button",
1977
+ onClick: d,
1978
+ children: [/* @__PURE__ */ H("span", {
1979
+ className: "mx-icon mx-icon--search",
1980
+ "aria-hidden": "true"
1981
+ }), /* @__PURE__ */ H("span", {
1982
+ className: "sr-only",
1983
+ children: "Search"
1984
+ })]
1985
+ })]
1986
+ }), /* @__PURE__ */ U("div", {
1987
+ className: "mx-autocomplete__suggestions",
1988
+ children: [
1989
+ f,
1990
+ /* @__PURE__ */ H("ul", {
1991
+ ref: g,
1992
+ id: C,
1993
+ role: "listbox",
1994
+ className: "mx-autocomplete__listbox",
1995
+ hidden: !A,
1996
+ onMouseDown: Vn,
1997
+ children: t.map((t, n) => /* @__PURE__ */ H("li", {
1998
+ id: `${e}-option-${n}`,
1999
+ role: "option",
2000
+ "aria-selected": n === S,
2001
+ className: "mx-autocomplete__option",
2002
+ onClick: () => T(t),
2003
+ children: t.label
2004
+ }, t.value))
2005
+ }),
2006
+ /* @__PURE__ */ H("output", {
2007
+ className: "sr-only",
2008
+ "aria-live": "polite",
2009
+ children: j
2010
+ })
2011
+ ]
2012
+ })]
2013
+ });
2014
+ }, Un = N(null), Wn = ({ children: e, hint: t = null, status: n = h.DEFAULT, className: r = "", ...i }) => {
2015
+ let a = L(), o = z(null), s = P(Un), { inputProps: c } = fe(i, s, o), l = W("mx-checkbox", "mx-choice-card", r);
2016
+ return /* @__PURE__ */ U("div", {
2017
+ className: l,
2018
+ children: [/* @__PURE__ */ H("input", {
2019
+ id: a,
2020
+ ref: o,
2021
+ "aria-invalid": n === h.INVALID,
2022
+ ...c
2023
+ }), /* @__PURE__ */ U("label", {
2024
+ htmlFor: a,
2025
+ children: [e, t && /* @__PURE__ */ H("span", {
2026
+ className: "mx-choice-card__hint",
2027
+ children: t
2028
+ })]
2029
+ })]
2030
+ });
2031
+ }, Gn = N(null), Kn = ({ children: e, hint: t = null, status: n = h.DEFAULT, className: r = "", ...i }) => {
2032
+ let a = L(), o = z(null), s = P(Gn), { inputProps: c } = me(i, s, o), l = W("mx-radio", "mx-choice-card", r);
2033
+ return /* @__PURE__ */ U("div", {
2034
+ className: l,
2035
+ children: [/* @__PURE__ */ H("input", {
2036
+ id: a,
2037
+ ...c,
2038
+ ref: o,
2039
+ "aria-invalid": n === h.INVALID
2040
+ }), /* @__PURE__ */ U("label", {
2041
+ htmlFor: a,
2042
+ children: [e, t && /* @__PURE__ */ H("span", {
2043
+ className: "mx-choice-card__hint",
2044
+ children: t
2045
+ })]
2046
+ })]
2047
+ });
2048
+ }, qn = ({ id: e, required: t = !1, value: n = "", status: r = h.DEFAULT, name: i = null, className: a = "", length: o = 6, style: s, ...c }) => {
2049
+ let [l, u] = B(n), d = ({ currentTarget: e }) => u(e.value.replace(/\D/g, "")), f = W("mx-input__text", "mx-one-time-code", "mx-validate", a), p = R(() => ({
2050
+ ...s,
2051
+ "--one-time-code-length": o
2052
+ }), [s, o]);
2053
+ return /* @__PURE__ */ H("input", {
2054
+ className: f,
2055
+ style: p,
2056
+ onChange: d,
2057
+ id: e,
2058
+ type: "text",
2059
+ inputMode: "numeric",
2060
+ autoComplete: "one-time-code",
2061
+ pattern: "[0-9]*",
2062
+ minLength: o,
2063
+ maxLength: o,
2064
+ name: i,
2065
+ value: l,
2066
+ required: t,
2067
+ "aria-describedby": `help-${e}`,
2068
+ "aria-invalid": r === h.INVALID,
2069
+ ...c
2070
+ });
2071
+ }, Jn = [C.DARK], Yn = ({ id: t, name: n = "rating", question: r = "Was the information on this page useful?", yesLabel: i = "Yes", noLabel: a = "No", secondaryText: s, secondaryLinkText: c, secondaryLinkHref: l, commentLabel: u = "How can we make it better?", commentName: d = "comment", commentPlaceholder: f, commentRequired: p = !1, requiredErrorMessage: m = "This field is required.", submitLabel: h = "Submit", action: g, method: _ = "post", errorMessage: v, pending: y = !1, className: b, onSubmit: x }) => {
2072
+ let S = L(), C = t ?? S, w = `${C}-comment`, T = z(null), D = z(!1), [O, k] = B(!1), A = () => {
2073
+ D.current || (D.current = !0, T.current?.focus());
2074
+ };
2075
+ return /* @__PURE__ */ H("div", {
2076
+ className: W("mx-feedback-form", "is-enhanced", b),
2077
+ children: /* @__PURE__ */ U("form", {
2078
+ action: g,
2079
+ method: _,
2080
+ noValidate: !0,
2081
+ onSubmit: (t) => {
2082
+ let r = T.current;
2083
+ p && r && !e.notEmpty(r.value) ? (t.preventDefault(), k(!0), r.focus()) : (k(!1), x && (t.preventDefault(), x({
2084
+ rating: new FormData(t.currentTarget).get(n),
2085
+ comment: r?.value ?? "",
2086
+ form: t.currentTarget
2087
+ })));
2088
+ },
2089
+ children: [
2090
+ v && /* @__PURE__ */ H("div", {
2091
+ className: "mx-feedback-form__error",
2092
+ role: "alert",
2093
+ children: v
2094
+ }),
2095
+ /* @__PURE__ */ U("fieldset", {
2096
+ className: "mx-fieldset mx-fieldset--plain mx-feedback-form__rating",
2097
+ children: [
2098
+ /* @__PURE__ */ H("legend", {
2099
+ className: "mx-legend",
2100
+ children: r
2101
+ }),
2102
+ /* @__PURE__ */ U("div", {
2103
+ className: "mx-feedback-form__option",
2104
+ children: [/* @__PURE__ */ H("input", {
2105
+ type: "radio",
2106
+ className: "sr-only",
2107
+ id: `${C}-yes`,
2108
+ name: n,
2109
+ value: "yes",
2110
+ onChange: A
2111
+ }), /* @__PURE__ */ U("label", {
2112
+ className: "mx-button mx-button--dark mx-button--outline",
2113
+ htmlFor: `${C}-yes`,
2114
+ children: [/* @__PURE__ */ H(J, { icon: o.THUMB }), /* @__PURE__ */ H("span", { children: i })]
2115
+ })]
2116
+ }),
2117
+ /* @__PURE__ */ U("div", {
2118
+ className: "mx-feedback-form__option",
2119
+ children: [/* @__PURE__ */ H("input", {
2120
+ type: "radio",
2121
+ className: "sr-only",
2122
+ id: `${C}-no`,
2123
+ name: n,
2124
+ value: "no",
2125
+ onChange: A
2126
+ }), /* @__PURE__ */ U("label", {
2127
+ className: "mx-button mx-button--dark mx-button--outline",
2128
+ htmlFor: `${C}-no`,
2129
+ children: [/* @__PURE__ */ H(J, {
2130
+ icon: o.THUMB,
2131
+ rotate: E.ONEEIGHTY
2132
+ }), /* @__PURE__ */ H("span", { children: a })]
2133
+ })]
2134
+ })
2135
+ ]
2136
+ }),
2137
+ (s || c) && /* @__PURE__ */ U("p", {
2138
+ className: "mx-feedback-form__secondary",
2139
+ children: [s, c && l && /* @__PURE__ */ H(q, {
2140
+ to: l,
2141
+ children: c
2142
+ })]
2143
+ }),
2144
+ /* @__PURE__ */ U("div", {
2145
+ className: "mx-feedback-form__reveal",
2146
+ children: [
2147
+ /* @__PURE__ */ U(X, { children: [/* @__PURE__ */ H(mt, {
2148
+ id: w,
2149
+ text: u
2150
+ }), /* @__PURE__ */ H("textarea", {
2151
+ ref: T,
2152
+ className: "mx-input__textarea",
2153
+ id: w,
2154
+ name: d,
2155
+ placeholder: f,
2156
+ required: p,
2157
+ "aria-describedby": `status-${w}`
2158
+ })] }),
2159
+ /* @__PURE__ */ H("div", {
2160
+ className: "mx-error-message",
2161
+ id: `status-${w}`,
2162
+ role: "alert",
2163
+ hidden: !O,
2164
+ children: m
2165
+ }),
2166
+ /* @__PURE__ */ H("div", {
2167
+ className: "mx-form-actions",
2168
+ children: /* @__PURE__ */ H(Ae, {
2169
+ type: "submit",
2170
+ modifiers: Jn,
2171
+ disabled: y,
2172
+ "data-pending": y,
2173
+ "aria-busy": y,
2174
+ children: h
2175
+ })
2176
+ })
2177
+ ]
2178
+ })
2179
+ ]
2180
+ })
2181
+ });
2182
+ }, Xn = ({ background: e = O.DARK, skipLinks: t, links: n, children: r, className: i }) => {
2183
+ let a = r || n && n.length > 0;
2184
+ return /* @__PURE__ */ U(V, { children: [t && t.length > 0 && /* @__PURE__ */ H("nav", {
2185
+ className: "mx-skip-links",
2186
+ "aria-label": "Skip to links",
2187
+ children: t.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t))
2188
+ }), a && /* @__PURE__ */ H("div", {
2189
+ className: W("mx-masthead", "mx-spacing--top-xxs mx-spacing--bottom-xxs", e === O.LIGHT ? "mx-background--alt" : "mx-background--reverse", i),
2190
+ children: /* @__PURE__ */ U("div", {
2191
+ className: "flex",
2192
+ children: [r && /* @__PURE__ */ H("div", { children: r }), n && n.length > 0 && /* @__PURE__ */ H("nav", {
2193
+ className: "mx-masthead__nav",
2194
+ "aria-label": "Additional links",
2195
+ children: n.map((e, t) => /* @__PURE__ */ H(M, { children: e }, t))
2196
+ })]
2197
+ })
2198
+ })] });
2199
+ }, Zn = ({ children: e, sidebar: t, before: n = !1, order: r, sidebarClassName: i = "mx-vertical-flow-grid", contentClassName: a = "js-content mx-vertical-flow-grid" }) => /* @__PURE__ */ U("div", {
2200
+ className: W("mx-grid--sidebar", { [`mx-grid--${r}`]: r }),
2201
+ children: [
2202
+ n && t && /* @__PURE__ */ H("aside", {
2203
+ className: i,
2204
+ children: t
2205
+ }),
2206
+ /* @__PURE__ */ H("section", {
2207
+ className: a,
2208
+ children: e
2209
+ }),
2210
+ !n && t && /* @__PURE__ */ H("aside", {
2211
+ className: i,
2212
+ children: t
2213
+ })
2214
+ ]
2215
+ }), Qn = [A.L], $n = ({ copyright: e, links: t, size: n = Qn, children: r, className: i }) => /* @__PURE__ */ H(Z, {
2216
+ as: j.FOOTER,
2217
+ sizes: n,
2218
+ className: W("mx-footer", i),
2219
+ children: /* @__PURE__ */ U("div", {
2220
+ className: "mx-footer__inner",
2221
+ children: [
2222
+ r,
2223
+ e && /* @__PURE__ */ H("span", {
2224
+ className: "mx-footer__copyright mx-text--s",
2225
+ children: e
2226
+ }),
2227
+ t && /* @__PURE__ */ H(on, {
2228
+ title: "Footer subsidiary links",
2229
+ className: "mx-footer__links mx-text--s",
2230
+ inline: !0,
2231
+ items: t
2232
+ })
2233
+ ]
2234
+ })
2235
+ }), er = ({ open: e = !1, icon: t, name: n, toggleId: r, modifiers: i, ...a }) => /* @__PURE__ */ H(Ae, {
2236
+ iconOnly: !0,
2237
+ iconStart: e ? o.CLOSE : t,
2238
+ modifiers: i,
2239
+ "aria-expanded": e,
2240
+ "aria-controls": r,
2241
+ ...a,
2242
+ children: `${e ? "Close" : "Open"} ${n}`
2243
+ }), tr = ({ logo: e, navigationItems: t, mediaQuery: n = "(max-width: 720px)", size: r = A.S, children: i, className: a, backgroundClass: s = "mx-background--primary" }) => {
2244
+ let c = L(), { isExpanded: l, toggle: u } = G({ defaultExpanded: !1 }), d = ln(n), f = l && d ? K : M;
2245
+ return /* @__PURE__ */ H(Z, {
2246
+ as: j.HEADER,
2247
+ sizes: r,
2248
+ className: W("mx-header", a),
2249
+ containing: !0,
2250
+ children: /* @__PURE__ */ U("div", {
2251
+ className: "mx-header__inner",
2252
+ children: [
2253
+ /* @__PURE__ */ H("div", {
2254
+ className: "mx-header__brand",
2255
+ children: e
2256
+ }),
2257
+ d === !0 && /* @__PURE__ */ H("div", {
2258
+ className: "mx-header__toggles",
2259
+ children: /* @__PURE__ */ H(er, {
2260
+ toggleId: c,
2261
+ icon: o.MENU,
2262
+ name: "Menu",
2263
+ open: l,
2264
+ onClick: () => u()
2265
+ })
2266
+ }),
2267
+ /* @__PURE__ */ U("div", {
2268
+ className: "mx-header__main",
2269
+ children: [/* @__PURE__ */ H("div", {
2270
+ id: c,
2271
+ className: W("mx-header__nav mx-header__collapse-toggle", { [s]: l && d }),
2272
+ inert: !l && d,
2273
+ children: /* @__PURE__ */ H(f, {
2274
+ contain: !0,
2275
+ restoreFocus: !0,
2276
+ autoFocus: !0,
2277
+ children: /* @__PURE__ */ H(un, {
2278
+ title: "Primary Navigation",
2279
+ items: t,
2280
+ mediaQuery: n,
2281
+ id: `${c}-nav`
2282
+ })
2283
+ })
2284
+ }), i]
2285
+ })
2286
+ ]
2287
+ })
2288
+ });
2289
+ };
2290
+ //#endregion
2291
+ export { Pe as Accordion, Re as AccordionContent, Fe as AccordionTitle, Le as AccordionTitleIcon, y as Alignment, m as AsTags, Hn as Autocomplete, Ln as BackToTop, _ as BackgroundStyles, ze as Breadcrumb, Ae as Button, Be as Card, Ve as CardContent, He as CardMedia, bn as Carousel, lt as Checkbox, Wn as CheckboxCard, Ue as ContentBlock, We as ContentBlockContent, Ge as ContentBlockMedia, On as CookieConsent, d as DEBOUNCE_MS, we as DefinitionList, Te as DefinitionListItem, Ye as Dialog, Ze as DialogCloseButton, Xe as DialogContent, $t as DropMenu, dn as DropMenuItem, Gt as DropMenuProvider, a as EMPTY_ARRAY, Yn as FeedbackForm, yn as FilterItem, vn as Filters, $n as Footer, Ct as Form, ct as FormCheckbox, pt as FormDescription, X as FormItem, mt as FormLabel, gt as FormRadio, Bn as FormSearch, yt as FormSelect, h as FormStatus, bt as FormText, xt as FormTextarea, St as FormTitle, Mn as Gallery, Nn as GalleryTrigger, ot as GlobalAlert, Tt as Grid, tr as Header, Ce as Heading, v as HeadingStyles, Ot as HeroBanner, At as HeroBannerAside, kt as HeroBannerContent, jt as HeroSearch, J as Icon, o as Icons, ve as ImageComponentProvider, tt as InPageAlert, tt as Message, et as InPageNavigation, q as Link, xe as LinkComponentProvider, Nt as LinkList, Pt as LinkListItem, wt as List, nn as ListItem, rn as ListItemContent, an as ListItemMedia, f as ListStyles, Xn as Masthead, De as Media, on as Navigation, un as NavigationDropdown, sn as NavigationDropdownLevel, qn as OneTimeCode, vt as Option, Et as Page, b as PageWidths, zt as Pagination, Q as PaginationItem, Rt as PaginationProvider, xn as Popover, Sn as PopoverTrigger, Pn as ProgressIndicator, _t as Radio, Kn as RadioCard, fn as ResultsBar, pn as ResultsBarInfo, mn as ResultsBarSort, Z as Section, s as SectionFlow, Mt as SectionGrid, wn as SideNavigation, Dn as SideNavigationTree, Zn as Sidebar, c as SidebarOrder, ut as SingleCheckbox, g as SocialShareTypes, Bt as Sticky, Jt as Tab, en as TabDropMenu, Xt as TabList, Yt as TabPanel, p as TabStyles, u as TableStyles, qt as Tabs, tn as Tag, l as TagVariants, Oe as Text, i as TextStyles, x as TextTags, zn as Translate, ke as Video, Ne as useAccordion, qe as useDialog, Ht as useDropMenuContext, gn as useFiltersContext, _e as useImageComponent, Qe as useInPageNavigation, be as useLinkComponent, at as useLocalStorage, ln as useMediaQuery, Lt as usePagination, $ as useTabContext, Ft as useUrlParams };