@govtechsg/sgds-web-component 3.5.6 → 3.5.7-rc.2

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 (66) hide show
  1. package/Masthead/index.js +1 -1
  2. package/components/Breadcrumb/index.umd.min.js +1 -1
  3. package/components/Breadcrumb/index.umd.min.js.map +1 -1
  4. package/components/Checkbox/checkbox.js +1 -1
  5. package/components/Checkbox/index.umd.min.js +1 -1
  6. package/components/Checkbox/index.umd.min.js.map +1 -1
  7. package/components/ComboBox/index.umd.min.js +271 -258
  8. package/components/ComboBox/index.umd.min.js.map +1 -1
  9. package/components/ComboBox/sgds-combo-box-option.js +6 -0
  10. package/components/ComboBox/sgds-combo-box-option.js.map +1 -1
  11. package/components/ComboBox/sgds-combo-box.d.ts +4 -0
  12. package/components/ComboBox/sgds-combo-box.js +51 -2
  13. package/components/ComboBox/sgds-combo-box.js.map +1 -1
  14. package/components/Datepicker/index.umd.min.js +2 -2
  15. package/components/Datepicker/index.umd.min.js.map +1 -1
  16. package/components/DescriptionList/description-list.js +1 -1
  17. package/components/DescriptionList/index.umd.min.js +8 -8
  18. package/components/DescriptionList/index.umd.min.js.map +1 -1
  19. package/components/Dropdown/dropdown-menu.js +1 -1
  20. package/components/Dropdown/index.umd.min.js +1 -1
  21. package/components/Dropdown/index.umd.min.js.map +1 -1
  22. package/components/IconList/icon-list.js +1 -1
  23. package/components/IconList/index.umd.min.js +1 -1
  24. package/components/IconList/index.umd.min.js.map +1 -1
  25. package/components/Input/index.umd.min.js +1 -1
  26. package/components/Input/index.umd.min.js.map +1 -1
  27. package/components/Mainnav/index.umd.min.js +2 -2
  28. package/components/Mainnav/mainnav.js +1 -1
  29. package/components/Masthead/index.umd.min.js +1 -1
  30. package/components/Masthead/masthead.js +1 -1
  31. package/components/OverflowMenu/index.umd.min.js +1 -1
  32. package/components/OverflowMenu/index.umd.min.js.map +1 -1
  33. package/components/QuantityToggle/index.umd.min.js +1 -1
  34. package/components/QuantityToggle/index.umd.min.js.map +1 -1
  35. package/components/Select/index.umd.min.js +1 -1
  36. package/components/Select/index.umd.min.js.map +1 -1
  37. package/components/Textarea/index.umd.min.js +1 -1
  38. package/components/Textarea/index.umd.min.js.map +1 -1
  39. package/components/index.umd.min.js +25 -11
  40. package/components/index.umd.min.js.map +1 -1
  41. package/index.umd.min.js +25 -11
  42. package/index.umd.min.js.map +1 -1
  43. package/package.json +1 -1
  44. package/react/components/Checkbox/checkbox.cjs.js +1 -1
  45. package/react/components/Checkbox/checkbox.js +1 -1
  46. package/react/components/ComboBox/sgds-combo-box-option.cjs.js +6 -0
  47. package/react/components/ComboBox/sgds-combo-box-option.cjs.js.map +1 -1
  48. package/react/components/ComboBox/sgds-combo-box-option.js +6 -0
  49. package/react/components/ComboBox/sgds-combo-box-option.js.map +1 -1
  50. package/react/components/ComboBox/sgds-combo-box.cjs.js +51 -2
  51. package/react/components/ComboBox/sgds-combo-box.cjs.js.map +1 -1
  52. package/react/components/ComboBox/sgds-combo-box.js +51 -2
  53. package/react/components/ComboBox/sgds-combo-box.js.map +1 -1
  54. package/react/components/DescriptionList/description-list.cjs.js +1 -1
  55. package/react/components/DescriptionList/description-list.js +1 -1
  56. package/react/components/Dropdown/dropdown-menu.cjs.js +1 -1
  57. package/react/components/Dropdown/dropdown-menu.js +1 -1
  58. package/react/components/IconList/icon-list.cjs.js +1 -1
  59. package/react/components/IconList/icon-list.js +1 -1
  60. package/react/components/Mainnav/mainnav.cjs.js +1 -1
  61. package/react/components/Mainnav/mainnav.js +1 -1
  62. package/react/components/Masthead/masthead.cjs.js +1 -1
  63. package/react/components/Masthead/masthead.js +1 -1
  64. package/react/styles/form-text-control.cjs.js +1 -1
  65. package/react/styles/form-text-control.js +1 -1
  66. package/styles/form-text-control.js +1 -1
@@ -2042,7 +2042,7 @@ let Ge;Ye?.({LitElement:Je}),(globalThis.litElementVersions??=[]).push("4.1.0"),
2042
2042
  size=${Ht(this._assignIconSize(this.size))}
2043
2043
  ></sgds-icon>`}
2044
2044
  </${t}>
2045
- `}}Dt.styles=[...At.styles,Ut],Dt.dependencies={"sgds-icon":Tt,"sgds-spinner":Nt},e([it({type:String,reflect:!0})],Dt.prototype,"name",void 0);const It="mainnav-context",Wt="mainnav-expanded-context";var qt=$e`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}@media screen and (max-width:768px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:768px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;const jt={sm:512,md:768,lg:1024,xl:1280,xxl:1440,never:1/0,always:-1};class Ft extends gt{constructor(){super(...arguments),this._breakpointReached=!1,this.expanded=!1,this.expanding=!1,this.brandHref="",this.collapseId=Zt("mainnav","collapse"),this.expand="lg",this.breakpointReached=!1,this._handleMobileNavBound=this._handleMobileNav.bind(this)}get defaultSlotItems(){return[...this.defaultNodes||[]].filter((e=>void 0!==e.tagName))}get endSlotItems(){return[...this.endNodes||[]].filter((e=>void 0!==e.tagName))}connectedCallback(){super.connectedCallback(),this._handleResize(),window.addEventListener("click",(e=>this._handleClickOutOfElement(e,this.body))),window.addEventListener("resize",this._handleResize.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",(e=>this._handleClickOutOfElement(e,this.body))),window.removeEventListener("resize",this._handleResize.bind(this))}firstUpdated(e){super.firstUpdated(e),this.breakpointReached&&this.body&&(this.expanded=!1,this.body.hidden=!0,this._handleMobileNav(),this._breakpointReached=!0);[...this.defaultSlotItems,...this.endSlotItems].forEach((e=>{e.setAttribute("expand",this.expand)}))}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.header)||this.hide()}_handleSummaryClick(){this.expanded?this.hide():(document.querySelector("body").style.overflow="hidden",this.show())}_handleResize(){const e=window.innerWidth<jt[this.expand];e!==this.breakpointReached?this.requestUpdate():(this.body&&(this.body.hidden=!0),this.expanding=!1),e?(this._handleMobileNav(),this._breakpointReached||(this._breakpointReached=!0,window.addEventListener("scrollend",this._handleMobileNavBound))):(this._handleDesktopNav(),this._breakpointReached=!1,window.removeEventListener("scrollend",this._handleMobileNavBound))}async _handleMobileNav(){if(!this.nav)return;this.nav.appendChild(this.body),await customElements.whenDefined("sgds-masthead");const{bottom:e}=this.nav.getBoundingClientRect(),t=parseFloat(getComputedStyle(this.body).paddingTop)+parseFloat(getComputedStyle(this.body).paddingBottom);this.navScroll.style.maxHeight=`calc(100dvh - ${e}px - ${t}px)`}_handleDesktopNav(){var e;null===(e=this.navbar)||void 0===e||e.insertBefore(this.body,this.nonCollapsibleSlot)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!1);await mt(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=yt(this,"mainnav.show");await ut(this.body,wt(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!0);await mt(this.body);const{keyframes:e,options:t}=yt(this,"mainnav.hide");await ut(this.body,wt(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}async handleOpenChange(){this.expanding?(await this._animateToShow(),this.expanded=!0):(this.header.focus(),await this._animateToHide(),this.expanded=!1)}async show(){if(!this.expanded)return this.expanding=!0,_t(this,"sgds-after-show")}async hide(){if(this.expanded)return this.expanding=!1,document.querySelector("body").style.removeProperty("overflow"),_t(this,"sgds-after-hide")}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach((e=>{e.setAttribute("name",e.tagName.toLowerCase())}))}render(){return this.breakpointReached=window.innerWidth<jt[this.expand],oe`
2045
+ `}}Dt.styles=[...At.styles,Ut],Dt.dependencies={"sgds-icon":Tt,"sgds-spinner":Nt},e([it({type:String,reflect:!0})],Dt.prototype,"name",void 0);const It="mainnav-context",Wt="mainnav-expanded-context";var qt=$e`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}@media screen and (max-width:767px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:767px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:512px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;const jt={sm:512,md:768,lg:1024,xl:1280,xxl:1440,never:1/0,always:-1};class Ft extends gt{constructor(){super(...arguments),this._breakpointReached=!1,this.expanded=!1,this.expanding=!1,this.brandHref="",this.collapseId=Zt("mainnav","collapse"),this.expand="lg",this.breakpointReached=!1,this._handleMobileNavBound=this._handleMobileNav.bind(this)}get defaultSlotItems(){return[...this.defaultNodes||[]].filter((e=>void 0!==e.tagName))}get endSlotItems(){return[...this.endNodes||[]].filter((e=>void 0!==e.tagName))}connectedCallback(){super.connectedCallback(),this._handleResize(),window.addEventListener("click",(e=>this._handleClickOutOfElement(e,this.body))),window.addEventListener("resize",this._handleResize.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",(e=>this._handleClickOutOfElement(e,this.body))),window.removeEventListener("resize",this._handleResize.bind(this))}firstUpdated(e){super.firstUpdated(e),this.breakpointReached&&this.body&&(this.expanded=!1,this.body.hidden=!0,this._handleMobileNav(),this._breakpointReached=!0);[...this.defaultSlotItems,...this.endSlotItems].forEach((e=>{e.setAttribute("expand",this.expand)}))}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.header)||this.hide()}_handleSummaryClick(){this.expanded?this.hide():(document.querySelector("body").style.overflow="hidden",this.show())}_handleResize(){const e=window.innerWidth<jt[this.expand];e!==this.breakpointReached?this.requestUpdate():(this.body&&(this.body.hidden=!0),this.expanding=!1),e?(this._handleMobileNav(),this._breakpointReached||(this._breakpointReached=!0,window.addEventListener("scrollend",this._handleMobileNavBound))):(this._handleDesktopNav(),this._breakpointReached=!1,window.removeEventListener("scrollend",this._handleMobileNavBound))}async _handleMobileNav(){if(!this.nav)return;this.nav.appendChild(this.body),await customElements.whenDefined("sgds-masthead");const{bottom:e}=this.nav.getBoundingClientRect(),t=parseFloat(getComputedStyle(this.body).paddingTop)+parseFloat(getComputedStyle(this.body).paddingBottom);this.navScroll.style.maxHeight=`calc(100dvh - ${e}px - ${t}px)`}_handleDesktopNav(){var e;null===(e=this.navbar)||void 0===e||e.insertBefore(this.body,this.nonCollapsibleSlot)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!1);await mt(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=yt(this,"mainnav.show");await ut(this.body,wt(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!0);await mt(this.body);const{keyframes:e,options:t}=yt(this,"mainnav.hide");await ut(this.body,wt(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}async handleOpenChange(){this.expanding?(await this._animateToShow(),this.expanded=!0):(this.header.focus(),await this._animateToHide(),this.expanded=!1)}async show(){if(!this.expanded)return this.expanding=!0,_t(this,"sgds-after-show")}async hide(){if(this.expanded)return this.expanding=!1,document.querySelector("body").style.removeProperty("overflow"),_t(this,"sgds-after-hide")}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach((e=>{e.setAttribute("name",e.tagName.toLowerCase())}))}render(){return this.breakpointReached=window.innerWidth<jt[this.expand],oe`
2046
2046
  <nav>
2047
2047
  <div class="navbar ${this._expandClass()}">
2048
2048
  <a class="navbar-brand" href=${this.brandHref} aria-label="brand-link">
@@ -2071,7 +2071,7 @@ let Ge;Ye?.({LitElement:Je}),(globalThis.litElementVersions??=[]).push("4.1.0"),
2071
2071
  ></sgds-icon-button>
2072
2072
  </div>
2073
2073
  </nav>
2074
- `}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Ft.styles=[...gt.styles,qt],Ft.dependencies={"sgds-icon-button":Dt},e([s({context:It}),at()],Ft.prototype,"_breakpointReached",void 0),e([s({context:Wt}),at()],Ft.prototype,"expanded",void 0),e([at()],Ft.prototype,"expanding",void 0),e([st("nav")],Ft.prototype,"nav",void 0),e([st(".navbar")],Ft.prototype,"navbar",void 0),e([st(".navbar-toggler")],Ft.prototype,"header",void 0),e([st(".navbar-body")],Ft.prototype,"body",void 0),e([st(".navbar-nav-scroll")],Ft.prototype,"navScroll",void 0),e([st("slot[name='non-collapsible']")],Ft.prototype,"nonCollapsibleSlot",void 0),e([it({type:String})],Ft.prototype,"brandHref",void 0),e([it({type:String})],Ft.prototype,"expand",void 0),e([at()],Ft.prototype,"breakpointReached",void 0),e([rt()],Ft.prototype,"defaultNodes",void 0),e([rt({slot:"end"})],Ft.prototype,"endNodes",void 0),e([Mt("expanding",{waitUntilFirstUpdate:!0})],Ft.prototype,"handleOpenChange",null),Ct("mainnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),Ct("mainnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});const Kt=Math.min,Jt=Math.max,Xt=Math.round,Yt=Math.floor,Gt=e=>({x:e,y:e}),Qt={left:"right",right:"left",bottom:"top",top:"bottom"},ei={start:"end",end:"start"};function ti(e,t,i){return Jt(e,Kt(t,i))}function ii(e,t){return"function"==typeof e?e(t):e}function ai(e){return e.split("-")[0]}function ni(e){return e.split("-")[1]}function oi(e){return"x"===e?"y":"x"}function si(e){return"y"===e?"height":"width"}const ri=new Set(["top","bottom"]);function li(e){return ri.has(ai(e))?"y":"x"}function ci(e){return oi(li(e))}function di(e,t,i){void 0===i&&(i=!1);const a=ni(e),n=ci(e),o=si(n);let s="x"===n?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=wi(s)),[s,wi(s)]}function hi(e){return e.replace(/start|end/g,(e=>ei[e]))}const vi=["left","right"],pi=["right","left"],gi=["top","bottom"],ui=["bottom","top"];function fi(e,t,i,a){const n=ni(e);let o=function(e,t,i){switch(e){case"top":case"bottom":return i?t?pi:vi:t?vi:pi;case"left":case"right":return t?gi:ui;default:return[]}}(ai(e),"start"===i,a);return n&&(o=o.map((e=>e+"-"+n)),t&&(o=o.concat(o.map(hi)))),o}function wi(e){return e.replace(/left|right|bottom|top/g,(e=>Qt[e]))}function mi(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function bi(e){const{x:t,y:i,width:a,height:n}=e;return{width:a,height:n,top:i,left:t,right:t+a,bottom:i+n,x:t,y:i}}function xi(e,t,i){let{reference:a,floating:n}=e;const o=li(t),s=ci(t),r=si(s),l=ai(t),c="y"===o,d=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,v=a[r]/2-n[r]/2;let p;switch(l){case"top":p={x:d,y:a.y-n.height};break;case"bottom":p={x:d,y:a.y+a.height};break;case"right":p={x:a.x+a.width,y:h};break;case"left":p={x:a.x-n.width,y:h};break;default:p={x:a.x,y:a.y}}switch(ni(t)){case"start":p[s]-=v*(i&&c?-1:1);break;case"end":p[s]+=v*(i&&c?-1:1)}return p}async function yi(e,t){var i;void 0===t&&(t={});const{x:a,y:n,platform:o,rects:s,elements:r,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:v=!1,padding:p=0}=ii(t,e),g=mi(p),u=r[v?"floating"===h?"reference":"floating":h],f=bi(await o.getClippingRect({element:null==(i=await(null==o.isElement?void 0:o.isElement(u)))||i?u:u.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:l})),w="floating"===h?{x:a,y:n,width:s.floating.width,height:s.floating.height}:s.reference,m=await(null==o.getOffsetParent?void 0:o.getOffsetParent(r.floating)),b=await(null==o.isElement?void 0:o.isElement(m))&&await(null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},x=bi(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:w,offsetParent:m,strategy:l}):w);return{top:(f.top-x.top+g.top)/b.y,bottom:(x.bottom-f.bottom+g.bottom)/b.y,left:(f.left-x.left+g.left)/b.x,right:(x.right-f.right+g.right)/b.x}}const Ci=new Set(["left","top"]);function _i(){return"undefined"!=typeof window}function Zi(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function Mi(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hi(e){var t;return null==(t=(Vi(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Vi(e){return!!_i()&&(e instanceof Node||e instanceof Mi(e).Node)}function Si(e){return!!_i()&&(e instanceof Element||e instanceof Mi(e).Element)}function $i(e){return!!_i()&&(e instanceof HTMLElement||e instanceof Mi(e).HTMLElement)}function ki(e){return!(!_i()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Mi(e).ShadowRoot)}const Pi=new Set(["inline","contents"]);function Bi(e){const{overflow:t,overflowX:i,overflowY:a,display:n}=Wi(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+i)&&!Pi.has(n)}const Li=new Set(["table","td","th"]);function Ai(e){return Li.has(Zi(e))}const Ei=[":popover-open",":modal"];function Ri(e){return Ei.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const Ti=["transform","translate","scale","rotate","perspective"],Oi=["transform","translate","scale","rotate","perspective","filter"],zi=["paint","layout","strict","content"];function Ni(e){const t=Ui(),i=Si(e)?Wi(e):e;return Ti.some((e=>!!i[e]&&"none"!==i[e]))||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||Oi.some((e=>(i.willChange||"").includes(e)))||zi.some((e=>(i.contain||"").includes(e)))}function Ui(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Di=new Set(["html","body","#document"]);function Ii(e){return Di.has(Zi(e))}function Wi(e){return Mi(e).getComputedStyle(e)}function qi(e){return Si(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ji(e){if("html"===Zi(e))return e;const t=e.assignedSlot||e.parentNode||ki(e)&&e.host||Hi(e);return ki(t)?t.host:t}function Fi(e){const t=ji(e);return Ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:$i(t)&&Bi(t)?t:Fi(t)}function Ki(e,t,i){var a;void 0===t&&(t=[]),void 0===i&&(i=!0);const n=Fi(e),o=n===(null==(a=e.ownerDocument)?void 0:a.body),s=Mi(n);if(o){const e=Ji(s);return t.concat(s,s.visualViewport||[],Bi(n)?n:[],e&&i?Ki(e):[])}return t.concat(n,Ki(n,[],i))}function Ji(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xi(e){const t=Wi(e);let i=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=$i(e),o=n?e.offsetWidth:i,s=n?e.offsetHeight:a,r=Xt(i)!==o||Xt(a)!==s;return r&&(i=o,a=s),{width:i,height:a,$:r}}function Yi(e){return Si(e)?e:e.contextElement}function Gi(e){const t=Yi(e);if(!$i(t))return Gt(1);const i=t.getBoundingClientRect(),{width:a,height:n,$:o}=Xi(t);let s=(o?Xt(i.width):i.width)/a,r=(o?Xt(i.height):i.height)/n;return s&&Number.isFinite(s)||(s=1),r&&Number.isFinite(r)||(r=1),{x:s,y:r}}const Qi=Gt(0);function ea(e){const t=Mi(e);return Ui()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Qi}function ta(e,t,i,a){void 0===t&&(t=!1),void 0===i&&(i=!1);const n=e.getBoundingClientRect(),o=Yi(e);let s=Gt(1);t&&(a?Si(a)&&(s=Gi(a)):s=Gi(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Mi(e))&&t}(o,i,a)?ea(o):Gt(0);let l=(n.left+r.x)/s.x,c=(n.top+r.y)/s.y,d=n.width/s.x,h=n.height/s.y;if(o){const e=Mi(o),t=a&&Si(a)?Mi(a):a;let i=e,n=Ji(i);for(;n&&a&&t!==i;){const e=Gi(n),t=n.getBoundingClientRect(),a=Wi(n),o=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,h*=e.y,l+=o,c+=s,i=Mi(n),n=Ji(i)}}return bi({width:d,height:h,x:l,y:c})}function ia(e,t){const i=qi(e).scrollLeft;return t?t.left+i:ta(Hi(e)).left+i}function aa(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-ia(e,i),y:i.top+t.scrollTop}}const na=25;const oa=new Set(["absolute","fixed"]);function sa(e,t,i){let a;if("viewport"===t)a=function(e,t){const i=Mi(e),a=Hi(e),n=i.visualViewport;let o=a.clientWidth,s=a.clientHeight,r=0,l=0;if(n){o=n.width,s=n.height;const e=Ui();(!e||e&&"fixed"===t)&&(r=n.offsetLeft,l=n.offsetTop)}const c=ia(a);if(c<=0){const e=a.ownerDocument,t=e.body,i=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,s=Math.abs(a.clientWidth-t.clientWidth-n);s<=na&&(o-=s)}else c<=na&&(o+=c);return{width:o,height:s,x:r,y:l}}(e,i);else if("document"===t)a=function(e){const t=Hi(e),i=qi(e),a=e.ownerDocument.body,n=Jt(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),o=Jt(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-i.scrollLeft+ia(e);const r=-i.scrollTop;return"rtl"===Wi(a).direction&&(s+=Jt(t.clientWidth,a.clientWidth)-n),{width:n,height:o,x:s,y:r}}(Hi(e));else if(Si(t))a=function(e,t){const i=ta(e,!0,"fixed"===t),a=i.top+e.clientTop,n=i.left+e.clientLeft,o=$i(e)?Gi(e):Gt(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:n*o.x,y:a*o.y}}(t,i);else{const i=ea(e);a={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return bi(a)}function ra(e,t){const i=ji(e);return!(i===t||!Si(i)||Ii(i))&&("fixed"===Wi(i).position||ra(i,t))}function la(e,t,i){const a=$i(t),n=Hi(t),o="fixed"===i,s=ta(e,!0,o,t);let r={scrollLeft:0,scrollTop:0};const l=Gt(0);function c(){l.x=ia(n)}if(a||!a&&!o)if(("body"!==Zi(t)||Bi(n))&&(r=qi(t)),a){const e=ta(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&c();o&&!a&&n&&c();const d=!n||a||o?Gt(0):aa(n,r);return{x:s.left+r.scrollLeft-l.x-d.x,y:s.top+r.scrollTop-l.y-d.y,width:s.width,height:s.height}}function ca(e){return"static"===Wi(e).position}function da(e,t){if(!$i(e)||"fixed"===Wi(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Hi(e)===i&&(i=i.ownerDocument.body),i}function ha(e,t){const i=Mi(e);if(Ri(e))return i;if(!$i(e)){let t=ji(e);for(;t&&!Ii(t);){if(Si(t)&&!ca(t))return t;t=ji(t)}return i}let a=da(e,t);for(;a&&Ai(a)&&ca(a);)a=da(a,t);return a&&Ii(a)&&ca(a)&&!Ni(a)?i:a||function(e){let t=ji(e);for(;$i(t)&&!Ii(t);){if(Ni(t))return t;if(Ri(t))return null;t=ji(t)}return null}(e)||i}const va={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:a,strategy:n}=e;const o="fixed"===n,s=Hi(a),r=!!t&&Ri(t.floating);if(a===s||r&&o)return i;let l={scrollLeft:0,scrollTop:0},c=Gt(1);const d=Gt(0),h=$i(a);if((h||!h&&!o)&&(("body"!==Zi(a)||Bi(s))&&(l=qi(a)),$i(a))){const e=ta(a);c=Gi(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}const v=!s||h||o?Gt(0):aa(s,l);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+d.x+v.x,y:i.y*c.y-l.scrollTop*c.y+d.y+v.y}},getDocumentElement:Hi,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:a,strategy:n}=e;const o=[..."clippingAncestors"===i?Ri(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let a=Ki(e,[],!1).filter((e=>Si(e)&&"body"!==Zi(e))),n=null;const o="fixed"===Wi(e).position;let s=o?ji(e):e;for(;Si(s)&&!Ii(s);){const t=Wi(s),i=Ni(s);i||"fixed"!==t.position||(n=null),(o?!i&&!n:!i&&"static"===t.position&&n&&oa.has(n.position)||Bi(s)&&!i&&ra(e,s))?a=a.filter((e=>e!==s)):n=t,s=ji(s)}return t.set(e,a),a}(t,this._c):[].concat(i),a],s=o[0],r=o.reduce(((e,i)=>{const a=sa(t,i,n);return e.top=Jt(a.top,e.top),e.right=Kt(a.right,e.right),e.bottom=Kt(a.bottom,e.bottom),e.left=Jt(a.left,e.left),e}),sa(t,s,n));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:ha,getElementRects:async function(e){const t=this.getOffsetParent||ha,i=this.getDimensions,a=await i(e.floating);return{reference:la(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=Xi(e);return{width:t,height:i}},getScale:Gi,isElement:Si,isRTL:function(e){return"rtl"===Wi(e).direction}};function pa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ga(e,t,i,a){void 0===a&&(a={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=a,c=Yi(e),d=n||o?[...c?Ki(c):[],...Ki(t)]:[];d.forEach((e=>{n&&e.addEventListener("scroll",i,{passive:!0}),o&&e.addEventListener("resize",i)}));const h=c&&r?function(e,t){let i,a=null;const n=Hi(e);function o(){var e;clearTimeout(i),null==(e=a)||e.disconnect(),a=null}return function s(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:d,top:h,width:v,height:p}=c;if(r||t(),!v||!p)return;const g={rootMargin:-Yt(h)+"px "+-Yt(n.clientWidth-(d+v))+"px "+-Yt(n.clientHeight-(h+p))+"px "+-Yt(d)+"px",threshold:Jt(0,Kt(1,l))||1};let u=!0;function f(t){const a=t[0].intersectionRatio;if(a!==l){if(!u)return s();a?s(!1,a):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==a||pa(c,e.getBoundingClientRect())||s(),u=!1}try{a=new IntersectionObserver(f,{...g,root:n.ownerDocument})}catch(e){a=new IntersectionObserver(f,g)}a.observe(e)}(!0),o}(c,i):null;let v,p=-1,g=null;s&&(g=new ResizeObserver((e=>{let[a]=e;a&&a.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),i()})),c&&!l&&g.observe(c),g.observe(t));let u=l?ta(e):null;return l&&function t(){const a=ta(e);u&&!pa(u,a)&&i();u=a,v=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach((e=>{n&&e.removeEventListener("scroll",i),o&&e.removeEventListener("resize",i)})),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(v)}}const ua=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,a;const{x:n,y:o,placement:s,middlewareData:r}=t,l=await async function(e,t){const{placement:i,platform:a,elements:n}=e,o=await(null==a.isRTL?void 0:a.isRTL(n.floating)),s=ai(i),r=ni(i),l="y"===li(i),c=Ci.has(s)?-1:1,d=o&&l?-1:1,h=ii(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return r&&"number"==typeof g&&(p="end"===r?-1*g:g),l?{x:p*d,y:v*c}:{x:v*c,y:p*d}}(t,e);return s===(null==(i=r.offset)?void 0:i.placement)&&null!=(a=r.arrow)&&a.alignmentOffset?{}:{x:n+l.x,y:o+l.y,data:{...l,placement:s}}}}},fa=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:a,placement:n}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:r={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...l}=ii(e,t),c={x:i,y:a},d=await yi(t,l),h=li(ai(n)),v=oi(h);let p=c[v],g=c[h];if(o){const e="y"===v?"bottom":"right";p=ti(p+d["y"===v?"top":"left"],p,p-d[e])}if(s){const e="y"===h?"bottom":"right";g=ti(g+d["y"===h?"top":"left"],g,g-d[e])}const u=r.fn({...t,[v]:p,[h]:g});return{...u,data:{x:u.x-i,y:u.y-a,enabled:{[v]:o,[h]:s}}}}}},wa=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,a;const{placement:n,middlewareData:o,rects:s,initialPlacement:r,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:u=!0,...f}=ii(e,t);if(null!=(i=o.arrow)&&i.alignmentOffset)return{};const w=ai(n),m=li(r),b=ai(r)===r,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=v||(b||!u?[wi(r)]:function(e){const t=wi(e);return[hi(e),t,hi(t)]}(r)),C="none"!==g;!v&&C&&y.push(...fi(r,u,g,x));const _=[r,...y],Z=await yi(t,f),M=[];let H=(null==(a=o.flip)?void 0:a.overflows)||[];if(d&&M.push(Z[w]),h){const e=di(n,s,x);M.push(Z[e[0]],Z[e[1]])}if(H=[...H,{placement:n,overflows:M}],!M.every((e=>e<=0))){var V,S;const e=((null==(V=o.flip)?void 0:V.index)||0)+1,t=_[e];if(t){if(!("alignment"===h&&m!==li(t))||H.every((e=>li(e.placement)!==m||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}}}let i=null==(S=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var $;const e=null==($=H.filter((e=>{if(C){const t=li(e.placement);return t===m||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(i=e);break}case"initialPlacement":i=r}if(n!==i)return{reset:{placement:i}}}return{}}}},ma=(e,t,i)=>{const a=new Map,n={platform:va,...i},o={...n.platform,_c:a};return(async(e,t,i)=>{const{placement:a="bottom",strategy:n="absolute",middleware:o=[],platform:s}=i,r=o.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=xi(c,a,l),v=a,p={},g=0;for(let i=0;i<r.length;i++){const{name:o,fn:u}=r[i],{x:f,y:w,data:m,reset:b}=await u({x:d,y:h,initialPlacement:a,placement:v,strategy:n,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=w?w:h,p={...p,[o]:{...p[o],...m}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(v=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:n}):b.rects),({x:d,y:h}=xi(c,v,l))),i=-1)}return{x:d,y:h,placement:v,strategy:n,middlewareData:p}})(e,t,{...n,platform:o})};var ba=$e`.dropdown{display:flex;height:inherit;position:relative}`,xa=$e`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:576px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:992px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1200px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1400px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,ya=$e`:host([expand=always]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media (min-width:512px){:host([expand=sm]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:768px){:host([expand=md]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1024px){:host(:not([expand])) .nav-link,:host([expand=lg]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1280px){:host([expand=xl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1440px){:host([expand=xxl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}.nav-link{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}@media screen and (max-width:767px){.nav-link{padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.nav-link.show,.nav-link:not(.disabled).active{border-color:var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):hover{color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link.disabled{cursor:not-allowed;opacity:var(--sgds-opacity-50)}.dropdown-items{background-color:var(--sgds-surface-default);height:100%;left:100%;padding:var(--sgds-padding-md) 0;position:absolute;top:0;width:100%}.dropdown-items a{align-items:center;color:var(--sgds-color-default);cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}.dropdown-items a:hover{color:var(--sgds-primary-color-default)}.dropdown-items a:focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:-5px}slot[name=toggler]::slotted(*){flex:1}sgds-dropdown{height:100%}`
2074
+ `}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Ft.styles=[...gt.styles,qt],Ft.dependencies={"sgds-icon-button":Dt},e([s({context:It}),at()],Ft.prototype,"_breakpointReached",void 0),e([s({context:Wt}),at()],Ft.prototype,"expanded",void 0),e([at()],Ft.prototype,"expanding",void 0),e([st("nav")],Ft.prototype,"nav",void 0),e([st(".navbar")],Ft.prototype,"navbar",void 0),e([st(".navbar-toggler")],Ft.prototype,"header",void 0),e([st(".navbar-body")],Ft.prototype,"body",void 0),e([st(".navbar-nav-scroll")],Ft.prototype,"navScroll",void 0),e([st("slot[name='non-collapsible']")],Ft.prototype,"nonCollapsibleSlot",void 0),e([it({type:String})],Ft.prototype,"brandHref",void 0),e([it({type:String})],Ft.prototype,"expand",void 0),e([at()],Ft.prototype,"breakpointReached",void 0),e([rt()],Ft.prototype,"defaultNodes",void 0),e([rt({slot:"end"})],Ft.prototype,"endNodes",void 0),e([Mt("expanding",{waitUntilFirstUpdate:!0})],Ft.prototype,"handleOpenChange",null),Ct("mainnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),Ct("mainnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});const Kt=Math.min,Jt=Math.max,Xt=Math.round,Yt=Math.floor,Gt=e=>({x:e,y:e}),Qt={left:"right",right:"left",bottom:"top",top:"bottom"},ei={start:"end",end:"start"};function ti(e,t,i){return Jt(e,Kt(t,i))}function ii(e,t){return"function"==typeof e?e(t):e}function ai(e){return e.split("-")[0]}function ni(e){return e.split("-")[1]}function oi(e){return"x"===e?"y":"x"}function si(e){return"y"===e?"height":"width"}const ri=new Set(["top","bottom"]);function li(e){return ri.has(ai(e))?"y":"x"}function ci(e){return oi(li(e))}function di(e,t,i){void 0===i&&(i=!1);const a=ni(e),n=ci(e),o=si(n);let s="x"===n?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=wi(s)),[s,wi(s)]}function hi(e){return e.replace(/start|end/g,(e=>ei[e]))}const vi=["left","right"],pi=["right","left"],gi=["top","bottom"],ui=["bottom","top"];function fi(e,t,i,a){const n=ni(e);let o=function(e,t,i){switch(e){case"top":case"bottom":return i?t?pi:vi:t?vi:pi;case"left":case"right":return t?gi:ui;default:return[]}}(ai(e),"start"===i,a);return n&&(o=o.map((e=>e+"-"+n)),t&&(o=o.concat(o.map(hi)))),o}function wi(e){return e.replace(/left|right|bottom|top/g,(e=>Qt[e]))}function mi(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function bi(e){const{x:t,y:i,width:a,height:n}=e;return{width:a,height:n,top:i,left:t,right:t+a,bottom:i+n,x:t,y:i}}function xi(e,t,i){let{reference:a,floating:n}=e;const o=li(t),s=ci(t),r=si(s),l=ai(t),c="y"===o,d=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,v=a[r]/2-n[r]/2;let p;switch(l){case"top":p={x:d,y:a.y-n.height};break;case"bottom":p={x:d,y:a.y+a.height};break;case"right":p={x:a.x+a.width,y:h};break;case"left":p={x:a.x-n.width,y:h};break;default:p={x:a.x,y:a.y}}switch(ni(t)){case"start":p[s]-=v*(i&&c?-1:1);break;case"end":p[s]+=v*(i&&c?-1:1)}return p}async function yi(e,t){var i;void 0===t&&(t={});const{x:a,y:n,platform:o,rects:s,elements:r,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:v=!1,padding:p=0}=ii(t,e),g=mi(p),u=r[v?"floating"===h?"reference":"floating":h],f=bi(await o.getClippingRect({element:null==(i=await(null==o.isElement?void 0:o.isElement(u)))||i?u:u.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(r.floating)),boundary:c,rootBoundary:d,strategy:l})),w="floating"===h?{x:a,y:n,width:s.floating.width,height:s.floating.height}:s.reference,m=await(null==o.getOffsetParent?void 0:o.getOffsetParent(r.floating)),b=await(null==o.isElement?void 0:o.isElement(m))&&await(null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},x=bi(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:w,offsetParent:m,strategy:l}):w);return{top:(f.top-x.top+g.top)/b.y,bottom:(x.bottom-f.bottom+g.bottom)/b.y,left:(f.left-x.left+g.left)/b.x,right:(x.right-f.right+g.right)/b.x}}const Ci=new Set(["left","top"]);function _i(){return"undefined"!=typeof window}function Zi(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function Mi(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hi(e){var t;return null==(t=(Vi(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Vi(e){return!!_i()&&(e instanceof Node||e instanceof Mi(e).Node)}function Si(e){return!!_i()&&(e instanceof Element||e instanceof Mi(e).Element)}function $i(e){return!!_i()&&(e instanceof HTMLElement||e instanceof Mi(e).HTMLElement)}function ki(e){return!(!_i()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Mi(e).ShadowRoot)}const Pi=new Set(["inline","contents"]);function Bi(e){const{overflow:t,overflowX:i,overflowY:a,display:n}=Wi(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+i)&&!Pi.has(n)}const Li=new Set(["table","td","th"]);function Ai(e){return Li.has(Zi(e))}const Ei=[":popover-open",":modal"];function Ri(e){return Ei.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const Ti=["transform","translate","scale","rotate","perspective"],Oi=["transform","translate","scale","rotate","perspective","filter"],zi=["paint","layout","strict","content"];function Ni(e){const t=Ui(),i=Si(e)?Wi(e):e;return Ti.some((e=>!!i[e]&&"none"!==i[e]))||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||Oi.some((e=>(i.willChange||"").includes(e)))||zi.some((e=>(i.contain||"").includes(e)))}function Ui(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Di=new Set(["html","body","#document"]);function Ii(e){return Di.has(Zi(e))}function Wi(e){return Mi(e).getComputedStyle(e)}function qi(e){return Si(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ji(e){if("html"===Zi(e))return e;const t=e.assignedSlot||e.parentNode||ki(e)&&e.host||Hi(e);return ki(t)?t.host:t}function Fi(e){const t=ji(e);return Ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:$i(t)&&Bi(t)?t:Fi(t)}function Ki(e,t,i){var a;void 0===t&&(t=[]),void 0===i&&(i=!0);const n=Fi(e),o=n===(null==(a=e.ownerDocument)?void 0:a.body),s=Mi(n);if(o){const e=Ji(s);return t.concat(s,s.visualViewport||[],Bi(n)?n:[],e&&i?Ki(e):[])}return t.concat(n,Ki(n,[],i))}function Ji(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xi(e){const t=Wi(e);let i=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=$i(e),o=n?e.offsetWidth:i,s=n?e.offsetHeight:a,r=Xt(i)!==o||Xt(a)!==s;return r&&(i=o,a=s),{width:i,height:a,$:r}}function Yi(e){return Si(e)?e:e.contextElement}function Gi(e){const t=Yi(e);if(!$i(t))return Gt(1);const i=t.getBoundingClientRect(),{width:a,height:n,$:o}=Xi(t);let s=(o?Xt(i.width):i.width)/a,r=(o?Xt(i.height):i.height)/n;return s&&Number.isFinite(s)||(s=1),r&&Number.isFinite(r)||(r=1),{x:s,y:r}}const Qi=Gt(0);function ea(e){const t=Mi(e);return Ui()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Qi}function ta(e,t,i,a){void 0===t&&(t=!1),void 0===i&&(i=!1);const n=e.getBoundingClientRect(),o=Yi(e);let s=Gt(1);t&&(a?Si(a)&&(s=Gi(a)):s=Gi(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Mi(e))&&t}(o,i,a)?ea(o):Gt(0);let l=(n.left+r.x)/s.x,c=(n.top+r.y)/s.y,d=n.width/s.x,h=n.height/s.y;if(o){const e=Mi(o),t=a&&Si(a)?Mi(a):a;let i=e,n=Ji(i);for(;n&&a&&t!==i;){const e=Gi(n),t=n.getBoundingClientRect(),a=Wi(n),o=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,h*=e.y,l+=o,c+=s,i=Mi(n),n=Ji(i)}}return bi({width:d,height:h,x:l,y:c})}function ia(e,t){const i=qi(e).scrollLeft;return t?t.left+i:ta(Hi(e)).left+i}function aa(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-ia(e,i),y:i.top+t.scrollTop}}const na=25;const oa=new Set(["absolute","fixed"]);function sa(e,t,i){let a;if("viewport"===t)a=function(e,t){const i=Mi(e),a=Hi(e),n=i.visualViewport;let o=a.clientWidth,s=a.clientHeight,r=0,l=0;if(n){o=n.width,s=n.height;const e=Ui();(!e||e&&"fixed"===t)&&(r=n.offsetLeft,l=n.offsetTop)}const c=ia(a);if(c<=0){const e=a.ownerDocument,t=e.body,i=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,s=Math.abs(a.clientWidth-t.clientWidth-n);s<=na&&(o-=s)}else c<=na&&(o+=c);return{width:o,height:s,x:r,y:l}}(e,i);else if("document"===t)a=function(e){const t=Hi(e),i=qi(e),a=e.ownerDocument.body,n=Jt(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),o=Jt(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-i.scrollLeft+ia(e);const r=-i.scrollTop;return"rtl"===Wi(a).direction&&(s+=Jt(t.clientWidth,a.clientWidth)-n),{width:n,height:o,x:s,y:r}}(Hi(e));else if(Si(t))a=function(e,t){const i=ta(e,!0,"fixed"===t),a=i.top+e.clientTop,n=i.left+e.clientLeft,o=$i(e)?Gi(e):Gt(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:n*o.x,y:a*o.y}}(t,i);else{const i=ea(e);a={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return bi(a)}function ra(e,t){const i=ji(e);return!(i===t||!Si(i)||Ii(i))&&("fixed"===Wi(i).position||ra(i,t))}function la(e,t,i){const a=$i(t),n=Hi(t),o="fixed"===i,s=ta(e,!0,o,t);let r={scrollLeft:0,scrollTop:0};const l=Gt(0);function c(){l.x=ia(n)}if(a||!a&&!o)if(("body"!==Zi(t)||Bi(n))&&(r=qi(t)),a){const e=ta(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&c();o&&!a&&n&&c();const d=!n||a||o?Gt(0):aa(n,r);return{x:s.left+r.scrollLeft-l.x-d.x,y:s.top+r.scrollTop-l.y-d.y,width:s.width,height:s.height}}function ca(e){return"static"===Wi(e).position}function da(e,t){if(!$i(e)||"fixed"===Wi(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Hi(e)===i&&(i=i.ownerDocument.body),i}function ha(e,t){const i=Mi(e);if(Ri(e))return i;if(!$i(e)){let t=ji(e);for(;t&&!Ii(t);){if(Si(t)&&!ca(t))return t;t=ji(t)}return i}let a=da(e,t);for(;a&&Ai(a)&&ca(a);)a=da(a,t);return a&&Ii(a)&&ca(a)&&!Ni(a)?i:a||function(e){let t=ji(e);for(;$i(t)&&!Ii(t);){if(Ni(t))return t;if(Ri(t))return null;t=ji(t)}return null}(e)||i}const va={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:a,strategy:n}=e;const o="fixed"===n,s=Hi(a),r=!!t&&Ri(t.floating);if(a===s||r&&o)return i;let l={scrollLeft:0,scrollTop:0},c=Gt(1);const d=Gt(0),h=$i(a);if((h||!h&&!o)&&(("body"!==Zi(a)||Bi(s))&&(l=qi(a)),$i(a))){const e=ta(a);c=Gi(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}const v=!s||h||o?Gt(0):aa(s,l);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+d.x+v.x,y:i.y*c.y-l.scrollTop*c.y+d.y+v.y}},getDocumentElement:Hi,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:a,strategy:n}=e;const o=[..."clippingAncestors"===i?Ri(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let a=Ki(e,[],!1).filter((e=>Si(e)&&"body"!==Zi(e))),n=null;const o="fixed"===Wi(e).position;let s=o?ji(e):e;for(;Si(s)&&!Ii(s);){const t=Wi(s),i=Ni(s);i||"fixed"!==t.position||(n=null),(o?!i&&!n:!i&&"static"===t.position&&n&&oa.has(n.position)||Bi(s)&&!i&&ra(e,s))?a=a.filter((e=>e!==s)):n=t,s=ji(s)}return t.set(e,a),a}(t,this._c):[].concat(i),a],s=o[0],r=o.reduce(((e,i)=>{const a=sa(t,i,n);return e.top=Jt(a.top,e.top),e.right=Kt(a.right,e.right),e.bottom=Kt(a.bottom,e.bottom),e.left=Jt(a.left,e.left),e}),sa(t,s,n));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:ha,getElementRects:async function(e){const t=this.getOffsetParent||ha,i=this.getDimensions,a=await i(e.floating);return{reference:la(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=Xi(e);return{width:t,height:i}},getScale:Gi,isElement:Si,isRTL:function(e){return"rtl"===Wi(e).direction}};function pa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ga(e,t,i,a){void 0===a&&(a={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=a,c=Yi(e),d=n||o?[...c?Ki(c):[],...Ki(t)]:[];d.forEach((e=>{n&&e.addEventListener("scroll",i,{passive:!0}),o&&e.addEventListener("resize",i)}));const h=c&&r?function(e,t){let i,a=null;const n=Hi(e);function o(){var e;clearTimeout(i),null==(e=a)||e.disconnect(),a=null}return function s(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:d,top:h,width:v,height:p}=c;if(r||t(),!v||!p)return;const g={rootMargin:-Yt(h)+"px "+-Yt(n.clientWidth-(d+v))+"px "+-Yt(n.clientHeight-(h+p))+"px "+-Yt(d)+"px",threshold:Jt(0,Kt(1,l))||1};let u=!0;function f(t){const a=t[0].intersectionRatio;if(a!==l){if(!u)return s();a?s(!1,a):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==a||pa(c,e.getBoundingClientRect())||s(),u=!1}try{a=new IntersectionObserver(f,{...g,root:n.ownerDocument})}catch(e){a=new IntersectionObserver(f,g)}a.observe(e)}(!0),o}(c,i):null;let v,p=-1,g=null;s&&(g=new ResizeObserver((e=>{let[a]=e;a&&a.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),i()})),c&&!l&&g.observe(c),g.observe(t));let u=l?ta(e):null;return l&&function t(){const a=ta(e);u&&!pa(u,a)&&i();u=a,v=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach((e=>{n&&e.removeEventListener("scroll",i),o&&e.removeEventListener("resize",i)})),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(v)}}const ua=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,a;const{x:n,y:o,placement:s,middlewareData:r}=t,l=await async function(e,t){const{placement:i,platform:a,elements:n}=e,o=await(null==a.isRTL?void 0:a.isRTL(n.floating)),s=ai(i),r=ni(i),l="y"===li(i),c=Ci.has(s)?-1:1,d=o&&l?-1:1,h=ii(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return r&&"number"==typeof g&&(p="end"===r?-1*g:g),l?{x:p*d,y:v*c}:{x:v*c,y:p*d}}(t,e);return s===(null==(i=r.offset)?void 0:i.placement)&&null!=(a=r.arrow)&&a.alignmentOffset?{}:{x:n+l.x,y:o+l.y,data:{...l,placement:s}}}}},fa=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:a,placement:n}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:r={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...l}=ii(e,t),c={x:i,y:a},d=await yi(t,l),h=li(ai(n)),v=oi(h);let p=c[v],g=c[h];if(o){const e="y"===v?"bottom":"right";p=ti(p+d["y"===v?"top":"left"],p,p-d[e])}if(s){const e="y"===h?"bottom":"right";g=ti(g+d["y"===h?"top":"left"],g,g-d[e])}const u=r.fn({...t,[v]:p,[h]:g});return{...u,data:{x:u.x-i,y:u.y-a,enabled:{[v]:o,[h]:s}}}}}},wa=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,a;const{placement:n,middlewareData:o,rects:s,initialPlacement:r,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:u=!0,...f}=ii(e,t);if(null!=(i=o.arrow)&&i.alignmentOffset)return{};const w=ai(n),m=li(r),b=ai(r)===r,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),y=v||(b||!u?[wi(r)]:function(e){const t=wi(e);return[hi(e),t,hi(t)]}(r)),C="none"!==g;!v&&C&&y.push(...fi(r,u,g,x));const _=[r,...y],Z=await yi(t,f),M=[];let H=(null==(a=o.flip)?void 0:a.overflows)||[];if(d&&M.push(Z[w]),h){const e=di(n,s,x);M.push(Z[e[0]],Z[e[1]])}if(H=[...H,{placement:n,overflows:M}],!M.every((e=>e<=0))){var V,S;const e=((null==(V=o.flip)?void 0:V.index)||0)+1,t=_[e];if(t){if(!("alignment"===h&&m!==li(t))||H.every((e=>li(e.placement)!==m||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}}}let i=null==(S=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var $;const e=null==($=H.filter((e=>{if(C){const t=li(e.placement);return t===m||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(i=e);break}case"initialPlacement":i=r}if(n!==i)return{reset:{placement:i}}}return{}}}},ma=(e,t,i)=>{const a=new Map,n={platform:va,...i},o={...n.platform,_c:a};return(async(e,t,i)=>{const{placement:a="bottom",strategy:n="absolute",middleware:o=[],platform:s}=i,r=o.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=xi(c,a,l),v=a,p={},g=0;for(let i=0;i<r.length;i++){const{name:o,fn:u}=r[i],{x:f,y:w,data:m,reset:b}=await u({x:d,y:h,initialPlacement:a,placement:v,strategy:n,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=w?w:h,p={...p,[o]:{...p[o],...m}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(v=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:n}):b.rects),({x:d,y:h}=xi(c,v,l))),i=-1)}return{x:d,y:h,placement:v,strategy:n,middlewareData:p}})(e,t,{...n,platform:o})};var ba=$e`.dropdown{display:flex;height:inherit;position:relative}`,xa=$e`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,ya=$e`:host([expand=always]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media (min-width:512px){:host([expand=sm]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:768px){:host([expand=md]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1024px){:host(:not([expand])) .nav-link,:host([expand=lg]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1280px){:host([expand=xl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1440px){:host([expand=xxl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}.nav-link{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}@media screen and (max-width:767px){.nav-link{padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.nav-link.show,.nav-link:not(.disabled).active{border-color:var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):hover{color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link.disabled{cursor:not-allowed;opacity:var(--sgds-opacity-50)}.dropdown-items{background-color:var(--sgds-surface-default);height:100%;left:100%;padding:var(--sgds-padding-md) 0;position:absolute;top:0;width:100%}.dropdown-items a{align-items:center;color:var(--sgds-color-default);cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}.dropdown-items a:hover{color:var(--sgds-primary-color-default)}.dropdown-items a:focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:-5px}slot[name=toggler]::slotted(*){flex:1}sgds-dropdown{height:100%}`
2075
2075
  /**
2076
2076
  * @license
2077
2077
  * Copyright 2020 Google LLC
@@ -1,6 +1,6 @@
1
1
  import { css } from 'lit';
2
2
 
3
- var css_248z = css`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}@media screen and (max-width:768px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:768px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;
3
+ var css_248z = css`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}@media screen and (max-width:767px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:767px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:512px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;
4
4
 
5
5
  export { css_248z as default };
6
6
  //# sourceMappingURL=mainnav.js.map
@@ -42,7 +42,7 @@ let Be;je?.({LitElement:Ze}),(globalThis.litElementVersions??=[]).push("4.1.0"),
42
42
  * @license
43
43
  * Copyright 2017 Google LLC
44
44
  * SPDX-License-Identifier: BSD-3-Clause
45
- */globalThis.litIssuedWarnings??=new Set;var Ke=Ce`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--sgds-body-color-default);font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-2);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:var(--sgds-icon-size-lg);margin-left:.25rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:bottom;width:var(--sgds-icon-size-lg)}::slotted(svg){vertical-align:middle}}`;class Ye extends Ze{emit(e,t){const i=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(i),i}static define(e,t=this,i={}){if(customElements.get(e));else try{customElements.define(e,t,i)}catch(s){customElements.define(e,class extends t{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach((([e,t])=>{this.constructor.define(e,t)}))}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach((e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))})))}}Ye.styles=[Ke],Ye.dependencies={},e([Ge({type:Boolean,reflect:!0})],Ye.prototype,"ssr",void 0);var Xe,Qe,et,tt=Ce`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.75rem;line-height:1rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .25rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:16px;width:16px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:768px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`,it=Ce`svg{vertical-align:middle}`,st=Ce`::slotted(a[target=_blank]:after),a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;margin:0 .125rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.274 3.9H9.3a.6.6 0 0 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.361 6.41c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v5.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h5.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.469-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.274c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.524-.042-1.175-.042-1.993V9.274c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C7.805 3.9 8.456 3.9 9.274 3.9Zm3.626.6a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V5.949l-5.976 5.975a.6.6 0 0 1-.848-.848L18.05 5.1H13.5a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.274 3.9H9.3a.6.6 0 0 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.361 6.41c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v5.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h5.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.469-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.274c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.524-.042-1.175-.042-1.993V9.274c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C7.805 3.9 8.456 3.9 9.274 3.9Zm3.626.6a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V5.949l-5.976 5.975a.6.6 0 0 1-.848-.848L18.05 5.1H13.5a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-size:73%;-webkit-mask-size:73%;padding:0 .45em}`;class rt extends Ye{constructor(){super(...arguments),this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return X`
45
+ */globalThis.litIssuedWarnings??=new Set;var Ke=Ce`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--sgds-body-color-default);font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-2);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:var(--sgds-icon-size-lg);margin-left:.25rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:bottom;width:var(--sgds-icon-size-lg)}::slotted(svg){vertical-align:middle}}`;class Ye extends Ze{emit(e,t){const i=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(i),i}static define(e,t=this,i={}){if(customElements.get(e));else try{customElements.define(e,t,i)}catch(s){customElements.define(e,class extends t{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach((([e,t])=>{this.constructor.define(e,t)}))}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach((e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))})))}}Ye.styles=[Ke],Ye.dependencies={},e([Ge({type:Boolean,reflect:!0})],Ye.prototype,"ssr",void 0);var Xe,Qe,et,tt=Ce`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.75rem;line-height:1rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .25rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:16px;width:16px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:767px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`,it=Ce`svg{vertical-align:middle}`,st=Ce`::slotted(a[target=_blank]:after),a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;margin:0 .125rem;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.274 3.9H9.3a.6.6 0 0 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.361 6.41c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v5.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h5.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.469-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.274c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.524-.042-1.175-.042-1.993V9.274c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C7.805 3.9 8.456 3.9 9.274 3.9Zm3.626.6a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V5.949l-5.976 5.975a.6.6 0 0 1-.848-.848L18.05 5.1H13.5a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.274 3.9H9.3a.6.6 0 0 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.361 6.41c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v5.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h5.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.469-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.274c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.524-.042-1.175-.042-1.993V9.274c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C7.805 3.9 8.456 3.9 9.274 3.9Zm3.626.6a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V5.949l-5.976 5.975a.6.6 0 0 1-.848-.848L18.05 5.1H13.5a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-size:73%;-webkit-mask-size:73%;padding:0 .45em}`;class rt extends Ye{constructor(){super(...arguments),this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return X`
46
46
  <div
47
47
  id="sgds-masthead"
48
48
  class="sgds-masthead"
@@ -1,6 +1,6 @@
1
1
  import { css } from 'lit';
2
2
 
3
- var css_248z = css`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.75rem;line-height:1rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .25rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:16px;width:16px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:768px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`;
3
+ var css_248z = css`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.75rem;line-height:1rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .25rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:16px;width:16px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:767px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`;
4
4
 
5
5
  export { css_248z as default };
6
6
  //# sourceMappingURL=masthead.js.map
@@ -77,7 +77,7 @@ function et(e){return(t,i)=>{const{slot:l,selector:o}=e??{},n="slot"+(l?`[name=$
77
77
  * @license
78
78
  * Copyright 2020 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
- */const ut=()=>new gt;class gt{}const wt=new WeakMap;const ft=nt(class extends pt{render(e){return te}update(e,[t]){const i=t!==this._ref;return i&&void 0!==this._ref&&this._updateRefValue(void 0),(i||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),te}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let i=wt.get(t);void 0===i&&(i=new WeakMap,wt.set(t,i)),void 0!==i.get(this._ref)&&this._ref.call(this._context,void 0),i.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?wt.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),mt=Math.min,xt=Math.max,yt=Math.round,Ct=Math.floor,Zt=e=>({x:e,y:e}),bt={left:"right",right:"left",bottom:"top",top:"bottom"},_t={start:"end",end:"start"};function Mt(e,t,i){return xt(e,mt(t,i))}function Ht(e,t){return"function"==typeof e?e(t):e}function Vt(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function $t(e){return"x"===e?"y":"x"}function Bt(e){return"y"===e?"height":"width"}const Pt=new Set(["top","bottom"]);function At(e){return Pt.has(Vt(e))?"y":"x"}function Lt(e){return $t(At(e))}function kt(e,t,i){void 0===i&&(i=!1);const l=St(e),o=Lt(e),n=Bt(o);let a="x"===o?l===(i?"end":"start")?"right":"left":"start"===l?"bottom":"top";return t.reference[n]>t.floating[n]&&(a=Nt(a)),[a,Nt(a)]}function Et(e){return e.replace(/start|end/g,(e=>_t[e]))}const Tt=["left","right"],Ot=["right","left"],Rt=["top","bottom"],Ut=["bottom","top"];function zt(e,t,i,l){const o=St(e);let n=function(e,t,i){switch(e){case"top":case"bottom":return i?t?Ot:Tt:t?Tt:Ot;case"left":case"right":return t?Rt:Ut;default:return[]}}(Vt(e),"start"===i,l);return o&&(n=n.map((e=>e+"-"+o)),t&&(n=n.concat(n.map(Et)))),n}function Nt(e){return e.replace(/left|right|bottom|top/g,(e=>bt[e]))}function Dt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function It(e){const{x:t,y:i,width:l,height:o}=e;return{width:l,height:o,top:i,left:t,right:t+l,bottom:i+o,x:t,y:i}}function Wt(e,t,i){let{reference:l,floating:o}=e;const n=At(t),a=Lt(t),r=Bt(a),s=Vt(t),c="y"===n,h=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,v=l[r]/2-o[r]/2;let p;switch(s){case"top":p={x:h,y:l.y-o.height};break;case"bottom":p={x:h,y:l.y+l.height};break;case"right":p={x:l.x+l.width,y:d};break;case"left":p={x:l.x-o.width,y:d};break;default:p={x:l.x,y:l.y}}switch(St(t)){case"start":p[a]-=v*(i&&c?-1:1);break;case"end":p[a]+=v*(i&&c?-1:1)}return p}async function Ft(e,t){var i;void 0===t&&(t={});const{x:l,y:o,platform:n,rects:a,elements:r,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:v=!1,padding:p=0}=Ht(t,e),u=Dt(p),g=r[v?"floating"===d?"reference":"floating":d],w=It(await n.getClippingRect({element:null==(i=await(null==n.isElement?void 0:n.isElement(g)))||i?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(r.floating)),boundary:c,rootBoundary:h,strategy:s})),f="floating"===d?{x:l,y:o,width:a.floating.width,height:a.floating.height}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(r.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},y=It(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:f,offsetParent:m,strategy:s}):f);return{top:(w.top-y.top+u.top)/x.y,bottom:(y.bottom-w.bottom+u.bottom)/x.y,left:(w.left-y.left+u.left)/x.x,right:(y.right-w.right+u.right)/x.x}}const jt=new Set(["left","top"]);function qt(){return"undefined"!=typeof window}function Jt(e){return Xt(e)?(e.nodeName||"").toLowerCase():"#document"}function Kt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yt(e){var t;return null==(t=(Xt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Xt(e){return!!qt()&&(e instanceof Node||e instanceof Kt(e).Node)}function Gt(e){return!!qt()&&(e instanceof Element||e instanceof Kt(e).Element)}function Qt(e){return!!qt()&&(e instanceof HTMLElement||e instanceof Kt(e).HTMLElement)}function ei(e){return!(!qt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Kt(e).ShadowRoot)}const ti=new Set(["inline","contents"]);function ii(e){const{overflow:t,overflowX:i,overflowY:l,display:o}=ui(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+i)&&!ti.has(o)}const li=new Set(["table","td","th"]);function oi(e){return li.has(Jt(e))}const ni=[":popover-open",":modal"];function ai(e){return ni.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const ri=["transform","translate","scale","rotate","perspective"],si=["transform","translate","scale","rotate","perspective","filter"],ci=["paint","layout","strict","content"];function hi(e){const t=di(),i=Gt(e)?ui(e):e;return ri.some((e=>!!i[e]&&"none"!==i[e]))||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||si.some((e=>(i.willChange||"").includes(e)))||ci.some((e=>(i.contain||"").includes(e)))}function di(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const vi=new Set(["html","body","#document"]);function pi(e){return vi.has(Jt(e))}function ui(e){return Kt(e).getComputedStyle(e)}function gi(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wi(e){if("html"===Jt(e))return e;const t=e.assignedSlot||e.parentNode||ei(e)&&e.host||Yt(e);return ei(t)?t.host:t}function fi(e){const t=wi(e);return pi(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qt(t)&&ii(t)?t:fi(t)}function mi(e,t,i){var l;void 0===t&&(t=[]),void 0===i&&(i=!0);const o=fi(e),n=o===(null==(l=e.ownerDocument)?void 0:l.body),a=Kt(o);if(n){const e=xi(a);return t.concat(a,a.visualViewport||[],ii(o)?o:[],e&&i?mi(e):[])}return t.concat(o,mi(o,[],i))}function xi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yi(e){const t=ui(e);let i=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const o=Qt(e),n=o?e.offsetWidth:i,a=o?e.offsetHeight:l,r=yt(i)!==n||yt(l)!==a;return r&&(i=n,l=a),{width:i,height:l,$:r}}function Ci(e){return Gt(e)?e:e.contextElement}function Zi(e){const t=Ci(e);if(!Qt(t))return Zt(1);const i=t.getBoundingClientRect(),{width:l,height:o,$:n}=yi(t);let a=(n?yt(i.width):i.width)/l,r=(n?yt(i.height):i.height)/o;return a&&Number.isFinite(a)||(a=1),r&&Number.isFinite(r)||(r=1),{x:a,y:r}}const bi=Zt(0);function _i(e){const t=Kt(e);return di()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bi}function Mi(e,t,i,l){void 0===t&&(t=!1),void 0===i&&(i=!1);const o=e.getBoundingClientRect(),n=Ci(e);let a=Zt(1);t&&(l?Gt(l)&&(a=Zi(l)):a=Zi(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Kt(e))&&t}(n,i,l)?_i(n):Zt(0);let s=(o.left+r.x)/a.x,c=(o.top+r.y)/a.y,h=o.width/a.x,d=o.height/a.y;if(n){const e=Kt(n),t=l&&Gt(l)?Kt(l):l;let i=e,o=xi(i);for(;o&&l&&t!==i;){const e=Zi(o),t=o.getBoundingClientRect(),l=ui(o),n=t.left+(o.clientLeft+parseFloat(l.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(l.paddingTop))*e.y;s*=e.x,c*=e.y,h*=e.x,d*=e.y,s+=n,c+=a,i=Kt(o),o=xi(i)}}return It({width:h,height:d,x:s,y:c})}function Hi(e,t){const i=gi(e).scrollLeft;return t?t.left+i:Mi(Yt(e)).left+i}function Vi(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-Hi(e,i),y:i.top+t.scrollTop}}const Si=25;const $i=new Set(["absolute","fixed"]);function Bi(e,t,i){let l;if("viewport"===t)l=function(e,t){const i=Kt(e),l=Yt(e),o=i.visualViewport;let n=l.clientWidth,a=l.clientHeight,r=0,s=0;if(o){n=o.width,a=o.height;const e=di();(!e||e&&"fixed"===t)&&(r=o.offsetLeft,s=o.offsetTop)}const c=Hi(l);if(c<=0){const e=l.ownerDocument,t=e.body,i=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,a=Math.abs(l.clientWidth-t.clientWidth-o);a<=Si&&(n-=a)}else c<=Si&&(n+=c);return{width:n,height:a,x:r,y:s}}(e,i);else if("document"===t)l=function(e){const t=Yt(e),i=gi(e),l=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),n=xt(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let a=-i.scrollLeft+Hi(e);const r=-i.scrollTop;return"rtl"===ui(l).direction&&(a+=xt(t.clientWidth,l.clientWidth)-o),{width:o,height:n,x:a,y:r}}(Yt(e));else if(Gt(t))l=function(e,t){const i=Mi(e,!0,"fixed"===t),l=i.top+e.clientTop,o=i.left+e.clientLeft,n=Qt(e)?Zi(e):Zt(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:o*n.x,y:l*n.y}}(t,i);else{const i=_i(e);l={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return It(l)}function Pi(e,t){const i=wi(e);return!(i===t||!Gt(i)||pi(i))&&("fixed"===ui(i).position||Pi(i,t))}function Ai(e,t,i){const l=Qt(t),o=Yt(t),n="fixed"===i,a=Mi(e,!0,n,t);let r={scrollLeft:0,scrollTop:0};const s=Zt(0);function c(){s.x=Hi(o)}if(l||!l&&!n)if(("body"!==Jt(t)||ii(o))&&(r=gi(t)),l){const e=Mi(t,!0,n,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&c();n&&!l&&o&&c();const h=!o||l||n?Zt(0):Vi(o,r);return{x:a.left+r.scrollLeft-s.x-h.x,y:a.top+r.scrollTop-s.y-h.y,width:a.width,height:a.height}}function Li(e){return"static"===ui(e).position}function ki(e,t){if(!Qt(e)||"fixed"===ui(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Yt(e)===i&&(i=i.ownerDocument.body),i}function Ei(e,t){const i=Kt(e);if(ai(e))return i;if(!Qt(e)){let t=wi(e);for(;t&&!pi(t);){if(Gt(t)&&!Li(t))return t;t=wi(t)}return i}let l=ki(e,t);for(;l&&oi(l)&&Li(l);)l=ki(l,t);return l&&pi(l)&&Li(l)&&!hi(l)?i:l||function(e){let t=wi(e);for(;Qt(t)&&!pi(t);){if(hi(t))return t;if(ai(t))return null;t=wi(t)}return null}(e)||i}const Ti={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:l,strategy:o}=e;const n="fixed"===o,a=Yt(l),r=!!t&&ai(t.floating);if(l===a||r&&n)return i;let s={scrollLeft:0,scrollTop:0},c=Zt(1);const h=Zt(0),d=Qt(l);if((d||!d&&!n)&&(("body"!==Jt(l)||ii(a))&&(s=gi(l)),Qt(l))){const e=Mi(l);c=Zi(l),h.x=e.x+l.clientLeft,h.y=e.y+l.clientTop}const v=!a||d||n?Zt(0):Vi(a,s);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-s.scrollLeft*c.x+h.x+v.x,y:i.y*c.y-s.scrollTop*c.y+h.y+v.y}},getDocumentElement:Yt,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:l,strategy:o}=e;const n=[..."clippingAncestors"===i?ai(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let l=mi(e,[],!1).filter((e=>Gt(e)&&"body"!==Jt(e))),o=null;const n="fixed"===ui(e).position;let a=n?wi(e):e;for(;Gt(a)&&!pi(a);){const t=ui(a),i=hi(a);i||"fixed"!==t.position||(o=null),(n?!i&&!o:!i&&"static"===t.position&&o&&$i.has(o.position)||ii(a)&&!i&&Pi(e,a))?l=l.filter((e=>e!==a)):o=t,a=wi(a)}return t.set(e,l),l}(t,this._c):[].concat(i),l],a=n[0],r=n.reduce(((e,i)=>{const l=Bi(t,i,o);return e.top=xt(l.top,e.top),e.right=mt(l.right,e.right),e.bottom=mt(l.bottom,e.bottom),e.left=xt(l.left,e.left),e}),Bi(t,a,o));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:Ei,getElementRects:async function(e){const t=this.getOffsetParent||Ei,i=this.getDimensions,l=await i(e.floating);return{reference:Ai(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=yi(e);return{width:t,height:i}},getScale:Zi,isElement:Gt,isRTL:function(e){return"rtl"===ui(e).direction}};function Oi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ri(e,t,i,l){void 0===l&&(l={});const{ancestorScroll:o=!0,ancestorResize:n=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:s=!1}=l,c=Ci(e),h=o||n?[...c?mi(c):[],...mi(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",i,{passive:!0}),n&&e.addEventListener("resize",i)}));const d=c&&r?function(e,t){let i,l=null;const o=Yt(e);function n(){var e;clearTimeout(i),null==(e=l)||e.disconnect(),l=null}return function a(r,s){void 0===r&&(r=!1),void 0===s&&(s=1),n();const c=e.getBoundingClientRect(),{left:h,top:d,width:v,height:p}=c;if(r||t(),!v||!p)return;const u={rootMargin:-Ct(d)+"px "+-Ct(o.clientWidth-(h+v))+"px "+-Ct(o.clientHeight-(d+p))+"px "+-Ct(h)+"px",threshold:xt(0,mt(1,s))||1};let g=!0;function w(t){const l=t[0].intersectionRatio;if(l!==s){if(!g)return a();l?a(!1,l):i=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==l||Oi(c,e.getBoundingClientRect())||a(),g=!1}try{l=new IntersectionObserver(w,{...u,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(w,u)}l.observe(e)}(!0),n}(c,i):null;let v,p=-1,u=null;a&&(u=new ResizeObserver((e=>{let[l]=e;l&&l.target===c&&u&&(u.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=u)||e.observe(t)}))),i()})),c&&!s&&u.observe(c),u.observe(t));let g=s?Mi(e):null;return s&&function t(){const l=Mi(e);g&&!Oi(g,l)&&i();g=l,v=requestAnimationFrame(t)}(),i(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",i),n&&e.removeEventListener("resize",i)})),null==d||d(),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(v)}}const Ui=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,l;const{x:o,y:n,placement:a,middlewareData:r}=t,s=await async function(e,t){const{placement:i,platform:l,elements:o}=e,n=await(null==l.isRTL?void 0:l.isRTL(o.floating)),a=Vt(i),r=St(i),s="y"===At(i),c=jt.has(a)?-1:1,h=n&&s?-1:1,d=Ht(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:u}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return r&&"number"==typeof u&&(p="end"===r?-1*u:u),s?{x:p*h,y:v*c}:{x:v*c,y:p*h}}(t,e);return a===(null==(i=r.offset)?void 0:i.placement)&&null!=(l=r.arrow)&&l.alignmentOffset?{}:{x:o+s.x,y:n+s.y,data:{...s,placement:a}}}}},zi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:l,placement:o}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:r={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...s}=Ht(e,t),c={x:i,y:l},h=await Ft(t,s),d=At(Vt(o)),v=$t(d);let p=c[v],u=c[d];if(n){const e="y"===v?"bottom":"right";p=Mt(p+h["y"===v?"top":"left"],p,p-h[e])}if(a){const e="y"===d?"bottom":"right";u=Mt(u+h["y"===d?"top":"left"],u,u-h[e])}const g=r.fn({...t,[v]:p,[d]:u});return{...g,data:{x:g.x-i,y:g.y-l,enabled:{[v]:n,[d]:a}}}}}},Ni=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,l;const{placement:o,middlewareData:n,rects:a,initialPlacement:r,platform:s,elements:c}=t,{mainAxis:h=!0,crossAxis:d=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:g=!0,...w}=Ht(e,t);if(null!=(i=n.arrow)&&i.alignmentOffset)return{};const f=Vt(o),m=At(r),x=Vt(r)===r,y=await(null==s.isRTL?void 0:s.isRTL(c.floating)),C=v||(x||!g?[Nt(r)]:function(e){const t=Nt(e);return[Et(e),t,Et(t)]}(r)),Z="none"!==u;!v&&Z&&C.push(...zt(r,g,u,y));const b=[r,...C],_=await Ft(t,w),M=[];let H=(null==(l=n.flip)?void 0:l.overflows)||[];if(h&&M.push(_[f]),d){const e=kt(o,a,y);M.push(_[e[0]],_[e[1]])}if(H=[...H,{placement:o,overflows:M}],!M.every((e=>e<=0))){var V,S;const e=((null==(V=n.flip)?void 0:V.index)||0)+1,t=b[e];if(t){if(!("alignment"===d&&m!==At(t))||H.every((e=>At(e.placement)!==m||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}}}let i=null==(S=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var $;const e=null==($=H.filter((e=>{if(Z){const t=At(e.placement);return t===m||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(i=e);break}case"initialPlacement":i=r}if(o!==i)return{reset:{placement:i}}}return{}}}},Di=(e,t,i)=>{const l=new Map,o={platform:Ti,...i},n={...o.platform,_c:l};return(async(e,t,i)=>{const{placement:l="bottom",strategy:o="absolute",middleware:n=[],platform:a}=i,r=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:d}=Wt(c,l,s),v=l,p={},u=0;for(let i=0;i<r.length;i++){const{name:n,fn:g}=r[i],{x:w,y:f,data:m,reset:x}=await g({x:h,y:d,initialPlacement:l,placement:v,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});h=null!=w?w:h,d=null!=f?f:d,p={...p,[n]:{...p[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(v=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:h,y:d}=Wt(c,v,s))),i=-1)}return{x:h,y:d,placement:v,strategy:o,middlewareData:p}})(e,t,{...o,platform:n})};class Ii extends tt{constructor(){super(...arguments),this.myDropdown=ut(),this.dropdownMenuId=function(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=ut(),this._handleKeyboardMenuEvent=e=>{if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}},this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu())}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&this.updateFloatingPosition()}async showMenu(){this.disabled||this.menuIsOpen||(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this.emit("sgds-after-show"),this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=Ri(this.myDropdown.value,this.menuRef.value,(()=>this.updateFloatingPosition()))))}async hideMenu(){this.menuIsOpen&&(this.emit("sgds-hide"),this.menuIsOpen=!1,setTimeout((()=>this.emit("sgds-after-hide")),0),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0))}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}mergeMiddleware(e,t){const i=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},l=t.map(i),o=e.map((e=>{const o=i(e),n=l.indexOf(o);return-1!==n?t[n]:e})).concat(t.filter((t=>!e.some((e=>i(e)===i(t))))));return o}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[Ui(8),this.noFlip?void 0:Ni(),zi()].filter(Boolean);let i=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(i=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const l=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:i}),{x:o,y:n,strategy:a,placement:r}=await Di(this.myDropdown.value,this.menuRef.value,l);this.menuRef.value.setAttribute("data-placement",r),Object.assign(this.menuRef.value.style,{position:a,left:`${o}px`,top:`${n}px`})}}e([Ye({type:Boolean,state:!0})],Ii.prototype,"noFlip",void 0),e([Ye({type:Boolean,reflect:!0,state:!0})],Ii.prototype,"menuAlignRight",void 0),e([Ye({type:String,reflect:!0,state:!0})],Ii.prototype,"drop",void 0),e([Ye({type:Object})],Ii.prototype,"floatingOpts",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"menuIsOpen",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"disabled",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"readonly",void 0);class Wi extends Ii{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),i=t.indexOf(e.target);this.nextDropdownItemNo=i+1,this.prevDropdownItemNo=i<=0?t.length-1:i-1;e.target.disabled||(this.emit("sgds-select"),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach((e=>{var t;const i=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");i&&i.removeAttribute("tabindex")}))}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Enter":t.includes(e.target)&&this.handleSelectSlot(e)}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter((e=>!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden")))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter((e=>!e.disabled&&!e.hidden))}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const i=(e%t.length+t.length)%t.length,l=t[i];this.emit("i-sgds-option-focus",{detail:{option:l}}),this.nextDropdownItemNo=(i+1)%t.length,this.prevDropdownItemNo=(i-1+t.length)%t.length,t.forEach((e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===l?"0":"-1"),e===l&&t.focus()}))}}var Fi,ji;Wi.styles=Ii.styles,e([(Fi="ul.dropdown-menu",(e,t,i)=>{const l=e=>{const i=e.renderRoot?.querySelector(Fi)??null;if(null===i&&ji&&!e.hasUpdated){const e="object"==typeof t?t.name:t;Qe("",`@query'd field ${JSON.stringify(String(e))} with the 'cache' flag set for selector '${Fi}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return i};if(ji){const{get:o,set:n}="object"==typeof t?e:i??(()=>{const e=Symbol(`${String(t)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Ge(e,t,{get(){let e=o.call(this);return void 0===e&&(e=l(this),(null!==e||this.hasUpdated)&&n.call(this,e)),e}})}return Ge(e,t,{get(){return l(this)}})})],Wi.prototype,"menu",void 0),e([Xe()],Wi.prototype,"nextDropdownItemNo",void 0),e([Xe()],Wi.prototype,"prevDropdownItemNo",void 0),e([Ye({type:Boolean,reflect:!0})],Wi.prototype,"hidden",void 0);var qi=Ze`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:576px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:992px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1200px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1400px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ji=Ze`.dropdown{display:flex;height:inherit;position:relative}`;class Ki extends Wi{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.menuRef=ft()}async _handleClick(){this.disabled||this.toggleMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.showMenu(),this._handleDisabled()}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return G`
80
+ */const ut=()=>new gt;class gt{}const wt=new WeakMap;const ft=nt(class extends pt{render(e){return te}update(e,[t]){const i=t!==this._ref;return i&&void 0!==this._ref&&this._updateRefValue(void 0),(i||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),te}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let i=wt.get(t);void 0===i&&(i=new WeakMap,wt.set(t,i)),void 0!==i.get(this._ref)&&this._ref.call(this._context,void 0),i.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?wt.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),mt=Math.min,xt=Math.max,yt=Math.round,Ct=Math.floor,Zt=e=>({x:e,y:e}),bt={left:"right",right:"left",bottom:"top",top:"bottom"},_t={start:"end",end:"start"};function Mt(e,t,i){return xt(e,mt(t,i))}function Ht(e,t){return"function"==typeof e?e(t):e}function Vt(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function $t(e){return"x"===e?"y":"x"}function Bt(e){return"y"===e?"height":"width"}const Pt=new Set(["top","bottom"]);function At(e){return Pt.has(Vt(e))?"y":"x"}function Lt(e){return $t(At(e))}function kt(e,t,i){void 0===i&&(i=!1);const l=St(e),o=Lt(e),n=Bt(o);let a="x"===o?l===(i?"end":"start")?"right":"left":"start"===l?"bottom":"top";return t.reference[n]>t.floating[n]&&(a=Nt(a)),[a,Nt(a)]}function Et(e){return e.replace(/start|end/g,(e=>_t[e]))}const Tt=["left","right"],Ot=["right","left"],Rt=["top","bottom"],Ut=["bottom","top"];function zt(e,t,i,l){const o=St(e);let n=function(e,t,i){switch(e){case"top":case"bottom":return i?t?Ot:Tt:t?Tt:Ot;case"left":case"right":return t?Rt:Ut;default:return[]}}(Vt(e),"start"===i,l);return o&&(n=n.map((e=>e+"-"+o)),t&&(n=n.concat(n.map(Et)))),n}function Nt(e){return e.replace(/left|right|bottom|top/g,(e=>bt[e]))}function Dt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function It(e){const{x:t,y:i,width:l,height:o}=e;return{width:l,height:o,top:i,left:t,right:t+l,bottom:i+o,x:t,y:i}}function Wt(e,t,i){let{reference:l,floating:o}=e;const n=At(t),a=Lt(t),r=Bt(a),s=Vt(t),c="y"===n,h=l.x+l.width/2-o.width/2,d=l.y+l.height/2-o.height/2,v=l[r]/2-o[r]/2;let p;switch(s){case"top":p={x:h,y:l.y-o.height};break;case"bottom":p={x:h,y:l.y+l.height};break;case"right":p={x:l.x+l.width,y:d};break;case"left":p={x:l.x-o.width,y:d};break;default:p={x:l.x,y:l.y}}switch(St(t)){case"start":p[a]-=v*(i&&c?-1:1);break;case"end":p[a]+=v*(i&&c?-1:1)}return p}async function Ft(e,t){var i;void 0===t&&(t={});const{x:l,y:o,platform:n,rects:a,elements:r,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:v=!1,padding:p=0}=Ht(t,e),u=Dt(p),g=r[v?"floating"===d?"reference":"floating":d],w=It(await n.getClippingRect({element:null==(i=await(null==n.isElement?void 0:n.isElement(g)))||i?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(r.floating)),boundary:c,rootBoundary:h,strategy:s})),f="floating"===d?{x:l,y:o,width:a.floating.width,height:a.floating.height}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(r.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},y=It(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:f,offsetParent:m,strategy:s}):f);return{top:(w.top-y.top+u.top)/x.y,bottom:(y.bottom-w.bottom+u.bottom)/x.y,left:(w.left-y.left+u.left)/x.x,right:(y.right-w.right+u.right)/x.x}}const jt=new Set(["left","top"]);function qt(){return"undefined"!=typeof window}function Jt(e){return Xt(e)?(e.nodeName||"").toLowerCase():"#document"}function Kt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yt(e){var t;return null==(t=(Xt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Xt(e){return!!qt()&&(e instanceof Node||e instanceof Kt(e).Node)}function Gt(e){return!!qt()&&(e instanceof Element||e instanceof Kt(e).Element)}function Qt(e){return!!qt()&&(e instanceof HTMLElement||e instanceof Kt(e).HTMLElement)}function ei(e){return!(!qt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Kt(e).ShadowRoot)}const ti=new Set(["inline","contents"]);function ii(e){const{overflow:t,overflowX:i,overflowY:l,display:o}=ui(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+i)&&!ti.has(o)}const li=new Set(["table","td","th"]);function oi(e){return li.has(Jt(e))}const ni=[":popover-open",":modal"];function ai(e){return ni.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const ri=["transform","translate","scale","rotate","perspective"],si=["transform","translate","scale","rotate","perspective","filter"],ci=["paint","layout","strict","content"];function hi(e){const t=di(),i=Gt(e)?ui(e):e;return ri.some((e=>!!i[e]&&"none"!==i[e]))||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||si.some((e=>(i.willChange||"").includes(e)))||ci.some((e=>(i.contain||"").includes(e)))}function di(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const vi=new Set(["html","body","#document"]);function pi(e){return vi.has(Jt(e))}function ui(e){return Kt(e).getComputedStyle(e)}function gi(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wi(e){if("html"===Jt(e))return e;const t=e.assignedSlot||e.parentNode||ei(e)&&e.host||Yt(e);return ei(t)?t.host:t}function fi(e){const t=wi(e);return pi(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qt(t)&&ii(t)?t:fi(t)}function mi(e,t,i){var l;void 0===t&&(t=[]),void 0===i&&(i=!0);const o=fi(e),n=o===(null==(l=e.ownerDocument)?void 0:l.body),a=Kt(o);if(n){const e=xi(a);return t.concat(a,a.visualViewport||[],ii(o)?o:[],e&&i?mi(e):[])}return t.concat(o,mi(o,[],i))}function xi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yi(e){const t=ui(e);let i=parseFloat(t.width)||0,l=parseFloat(t.height)||0;const o=Qt(e),n=o?e.offsetWidth:i,a=o?e.offsetHeight:l,r=yt(i)!==n||yt(l)!==a;return r&&(i=n,l=a),{width:i,height:l,$:r}}function Ci(e){return Gt(e)?e:e.contextElement}function Zi(e){const t=Ci(e);if(!Qt(t))return Zt(1);const i=t.getBoundingClientRect(),{width:l,height:o,$:n}=yi(t);let a=(n?yt(i.width):i.width)/l,r=(n?yt(i.height):i.height)/o;return a&&Number.isFinite(a)||(a=1),r&&Number.isFinite(r)||(r=1),{x:a,y:r}}const bi=Zt(0);function _i(e){const t=Kt(e);return di()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bi}function Mi(e,t,i,l){void 0===t&&(t=!1),void 0===i&&(i=!1);const o=e.getBoundingClientRect(),n=Ci(e);let a=Zt(1);t&&(l?Gt(l)&&(a=Zi(l)):a=Zi(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Kt(e))&&t}(n,i,l)?_i(n):Zt(0);let s=(o.left+r.x)/a.x,c=(o.top+r.y)/a.y,h=o.width/a.x,d=o.height/a.y;if(n){const e=Kt(n),t=l&&Gt(l)?Kt(l):l;let i=e,o=xi(i);for(;o&&l&&t!==i;){const e=Zi(o),t=o.getBoundingClientRect(),l=ui(o),n=t.left+(o.clientLeft+parseFloat(l.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(l.paddingTop))*e.y;s*=e.x,c*=e.y,h*=e.x,d*=e.y,s+=n,c+=a,i=Kt(o),o=xi(i)}}return It({width:h,height:d,x:s,y:c})}function Hi(e,t){const i=gi(e).scrollLeft;return t?t.left+i:Mi(Yt(e)).left+i}function Vi(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-Hi(e,i),y:i.top+t.scrollTop}}const Si=25;const $i=new Set(["absolute","fixed"]);function Bi(e,t,i){let l;if("viewport"===t)l=function(e,t){const i=Kt(e),l=Yt(e),o=i.visualViewport;let n=l.clientWidth,a=l.clientHeight,r=0,s=0;if(o){n=o.width,a=o.height;const e=di();(!e||e&&"fixed"===t)&&(r=o.offsetLeft,s=o.offsetTop)}const c=Hi(l);if(c<=0){const e=l.ownerDocument,t=e.body,i=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,a=Math.abs(l.clientWidth-t.clientWidth-o);a<=Si&&(n-=a)}else c<=Si&&(n+=c);return{width:n,height:a,x:r,y:s}}(e,i);else if("document"===t)l=function(e){const t=Yt(e),i=gi(e),l=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),n=xt(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight);let a=-i.scrollLeft+Hi(e);const r=-i.scrollTop;return"rtl"===ui(l).direction&&(a+=xt(t.clientWidth,l.clientWidth)-o),{width:o,height:n,x:a,y:r}}(Yt(e));else if(Gt(t))l=function(e,t){const i=Mi(e,!0,"fixed"===t),l=i.top+e.clientTop,o=i.left+e.clientLeft,n=Qt(e)?Zi(e):Zt(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:o*n.x,y:l*n.y}}(t,i);else{const i=_i(e);l={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return It(l)}function Pi(e,t){const i=wi(e);return!(i===t||!Gt(i)||pi(i))&&("fixed"===ui(i).position||Pi(i,t))}function Ai(e,t,i){const l=Qt(t),o=Yt(t),n="fixed"===i,a=Mi(e,!0,n,t);let r={scrollLeft:0,scrollTop:0};const s=Zt(0);function c(){s.x=Hi(o)}if(l||!l&&!n)if(("body"!==Jt(t)||ii(o))&&(r=gi(t)),l){const e=Mi(t,!0,n,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&c();n&&!l&&o&&c();const h=!o||l||n?Zt(0):Vi(o,r);return{x:a.left+r.scrollLeft-s.x-h.x,y:a.top+r.scrollTop-s.y-h.y,width:a.width,height:a.height}}function Li(e){return"static"===ui(e).position}function ki(e,t){if(!Qt(e)||"fixed"===ui(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Yt(e)===i&&(i=i.ownerDocument.body),i}function Ei(e,t){const i=Kt(e);if(ai(e))return i;if(!Qt(e)){let t=wi(e);for(;t&&!pi(t);){if(Gt(t)&&!Li(t))return t;t=wi(t)}return i}let l=ki(e,t);for(;l&&oi(l)&&Li(l);)l=ki(l,t);return l&&pi(l)&&Li(l)&&!hi(l)?i:l||function(e){let t=wi(e);for(;Qt(t)&&!pi(t);){if(hi(t))return t;if(ai(t))return null;t=wi(t)}return null}(e)||i}const Ti={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:l,strategy:o}=e;const n="fixed"===o,a=Yt(l),r=!!t&&ai(t.floating);if(l===a||r&&n)return i;let s={scrollLeft:0,scrollTop:0},c=Zt(1);const h=Zt(0),d=Qt(l);if((d||!d&&!n)&&(("body"!==Jt(l)||ii(a))&&(s=gi(l)),Qt(l))){const e=Mi(l);c=Zi(l),h.x=e.x+l.clientLeft,h.y=e.y+l.clientTop}const v=!a||d||n?Zt(0):Vi(a,s);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-s.scrollLeft*c.x+h.x+v.x,y:i.y*c.y-s.scrollTop*c.y+h.y+v.y}},getDocumentElement:Yt,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:l,strategy:o}=e;const n=[..."clippingAncestors"===i?ai(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let l=mi(e,[],!1).filter((e=>Gt(e)&&"body"!==Jt(e))),o=null;const n="fixed"===ui(e).position;let a=n?wi(e):e;for(;Gt(a)&&!pi(a);){const t=ui(a),i=hi(a);i||"fixed"!==t.position||(o=null),(n?!i&&!o:!i&&"static"===t.position&&o&&$i.has(o.position)||ii(a)&&!i&&Pi(e,a))?l=l.filter((e=>e!==a)):o=t,a=wi(a)}return t.set(e,l),l}(t,this._c):[].concat(i),l],a=n[0],r=n.reduce(((e,i)=>{const l=Bi(t,i,o);return e.top=xt(l.top,e.top),e.right=mt(l.right,e.right),e.bottom=mt(l.bottom,e.bottom),e.left=xt(l.left,e.left),e}),Bi(t,a,o));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:Ei,getElementRects:async function(e){const t=this.getOffsetParent||Ei,i=this.getDimensions,l=await i(e.floating);return{reference:Ai(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=yi(e);return{width:t,height:i}},getScale:Zi,isElement:Gt,isRTL:function(e){return"rtl"===ui(e).direction}};function Oi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ri(e,t,i,l){void 0===l&&(l={});const{ancestorScroll:o=!0,ancestorResize:n=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:s=!1}=l,c=Ci(e),h=o||n?[...c?mi(c):[],...mi(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",i,{passive:!0}),n&&e.addEventListener("resize",i)}));const d=c&&r?function(e,t){let i,l=null;const o=Yt(e);function n(){var e;clearTimeout(i),null==(e=l)||e.disconnect(),l=null}return function a(r,s){void 0===r&&(r=!1),void 0===s&&(s=1),n();const c=e.getBoundingClientRect(),{left:h,top:d,width:v,height:p}=c;if(r||t(),!v||!p)return;const u={rootMargin:-Ct(d)+"px "+-Ct(o.clientWidth-(h+v))+"px "+-Ct(o.clientHeight-(d+p))+"px "+-Ct(h)+"px",threshold:xt(0,mt(1,s))||1};let g=!0;function w(t){const l=t[0].intersectionRatio;if(l!==s){if(!g)return a();l?a(!1,l):i=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==l||Oi(c,e.getBoundingClientRect())||a(),g=!1}try{l=new IntersectionObserver(w,{...u,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(w,u)}l.observe(e)}(!0),n}(c,i):null;let v,p=-1,u=null;a&&(u=new ResizeObserver((e=>{let[l]=e;l&&l.target===c&&u&&(u.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=u)||e.observe(t)}))),i()})),c&&!s&&u.observe(c),u.observe(t));let g=s?Mi(e):null;return s&&function t(){const l=Mi(e);g&&!Oi(g,l)&&i();g=l,v=requestAnimationFrame(t)}(),i(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",i),n&&e.removeEventListener("resize",i)})),null==d||d(),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(v)}}const Ui=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,l;const{x:o,y:n,placement:a,middlewareData:r}=t,s=await async function(e,t){const{placement:i,platform:l,elements:o}=e,n=await(null==l.isRTL?void 0:l.isRTL(o.floating)),a=Vt(i),r=St(i),s="y"===At(i),c=jt.has(a)?-1:1,h=n&&s?-1:1,d=Ht(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:u}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return r&&"number"==typeof u&&(p="end"===r?-1*u:u),s?{x:p*h,y:v*c}:{x:v*c,y:p*h}}(t,e);return a===(null==(i=r.offset)?void 0:i.placement)&&null!=(l=r.arrow)&&l.alignmentOffset?{}:{x:o+s.x,y:n+s.y,data:{...s,placement:a}}}}},zi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:l,placement:o}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:r={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...s}=Ht(e,t),c={x:i,y:l},h=await Ft(t,s),d=At(Vt(o)),v=$t(d);let p=c[v],u=c[d];if(n){const e="y"===v?"bottom":"right";p=Mt(p+h["y"===v?"top":"left"],p,p-h[e])}if(a){const e="y"===d?"bottom":"right";u=Mt(u+h["y"===d?"top":"left"],u,u-h[e])}const g=r.fn({...t,[v]:p,[d]:u});return{...g,data:{x:g.x-i,y:g.y-l,enabled:{[v]:n,[d]:a}}}}}},Ni=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,l;const{placement:o,middlewareData:n,rects:a,initialPlacement:r,platform:s,elements:c}=t,{mainAxis:h=!0,crossAxis:d=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:g=!0,...w}=Ht(e,t);if(null!=(i=n.arrow)&&i.alignmentOffset)return{};const f=Vt(o),m=At(r),x=Vt(r)===r,y=await(null==s.isRTL?void 0:s.isRTL(c.floating)),C=v||(x||!g?[Nt(r)]:function(e){const t=Nt(e);return[Et(e),t,Et(t)]}(r)),Z="none"!==u;!v&&Z&&C.push(...zt(r,g,u,y));const b=[r,...C],_=await Ft(t,w),M=[];let H=(null==(l=n.flip)?void 0:l.overflows)||[];if(h&&M.push(_[f]),d){const e=kt(o,a,y);M.push(_[e[0]],_[e[1]])}if(H=[...H,{placement:o,overflows:M}],!M.every((e=>e<=0))){var V,S;const e=((null==(V=n.flip)?void 0:V.index)||0)+1,t=b[e];if(t){if(!("alignment"===d&&m!==At(t))||H.every((e=>At(e.placement)!==m||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}}}let i=null==(S=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var $;const e=null==($=H.filter((e=>{if(Z){const t=At(e.placement);return t===m||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(i=e);break}case"initialPlacement":i=r}if(o!==i)return{reset:{placement:i}}}return{}}}},Di=(e,t,i)=>{const l=new Map,o={platform:Ti,...i},n={...o.platform,_c:l};return(async(e,t,i)=>{const{placement:l="bottom",strategy:o="absolute",middleware:n=[],platform:a}=i,r=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:d}=Wt(c,l,s),v=l,p={},u=0;for(let i=0;i<r.length;i++){const{name:n,fn:g}=r[i],{x:w,y:f,data:m,reset:x}=await g({x:h,y:d,initialPlacement:l,placement:v,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});h=null!=w?w:h,d=null!=f?f:d,p={...p,[n]:{...p[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(v=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),({x:h,y:d}=Wt(c,v,s))),i=-1)}return{x:h,y:d,placement:v,strategy:o,middlewareData:p}})(e,t,{...o,platform:n})};class Ii extends tt{constructor(){super(...arguments),this.myDropdown=ut(),this.dropdownMenuId=function(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=ut(),this._handleKeyboardMenuEvent=e=>{if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}},this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu())}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&this.updateFloatingPosition()}async showMenu(){this.disabled||this.menuIsOpen||(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this.emit("sgds-after-show"),this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=Ri(this.myDropdown.value,this.menuRef.value,(()=>this.updateFloatingPosition()))))}async hideMenu(){this.menuIsOpen&&(this.emit("sgds-hide"),this.menuIsOpen=!1,setTimeout((()=>this.emit("sgds-after-hide")),0),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0))}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}mergeMiddleware(e,t){const i=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},l=t.map(i),o=e.map((e=>{const o=i(e),n=l.indexOf(o);return-1!==n?t[n]:e})).concat(t.filter((t=>!e.some((e=>i(e)===i(t))))));return o}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[Ui(8),this.noFlip?void 0:Ni(),zi()].filter(Boolean);let i=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(i=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const l=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:i}),{x:o,y:n,strategy:a,placement:r}=await Di(this.myDropdown.value,this.menuRef.value,l);this.menuRef.value.setAttribute("data-placement",r),Object.assign(this.menuRef.value.style,{position:a,left:`${o}px`,top:`${n}px`})}}e([Ye({type:Boolean,state:!0})],Ii.prototype,"noFlip",void 0),e([Ye({type:Boolean,reflect:!0,state:!0})],Ii.prototype,"menuAlignRight",void 0),e([Ye({type:String,reflect:!0,state:!0})],Ii.prototype,"drop",void 0),e([Ye({type:Object})],Ii.prototype,"floatingOpts",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"menuIsOpen",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"disabled",void 0),e([Ye({type:Boolean,reflect:!0})],Ii.prototype,"readonly",void 0);class Wi extends Ii{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),i=t.indexOf(e.target);this.nextDropdownItemNo=i+1,this.prevDropdownItemNo=i<=0?t.length-1:i-1;e.target.disabled||(this.emit("sgds-select"),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach((e=>{var t;const i=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");i&&i.removeAttribute("tabindex")}))}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Enter":t.includes(e.target)&&this.handleSelectSlot(e)}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter((e=>!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden")))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter((e=>!e.disabled&&!e.hidden))}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const i=(e%t.length+t.length)%t.length,l=t[i];this.emit("i-sgds-option-focus",{detail:{option:l}}),this.nextDropdownItemNo=(i+1)%t.length,this.prevDropdownItemNo=(i-1+t.length)%t.length,t.forEach((e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===l?"0":"-1"),e===l&&t.focus()}))}}var Fi,ji;Wi.styles=Ii.styles,e([(Fi="ul.dropdown-menu",(e,t,i)=>{const l=e=>{const i=e.renderRoot?.querySelector(Fi)??null;if(null===i&&ji&&!e.hasUpdated){const e="object"==typeof t?t.name:t;Qe("",`@query'd field ${JSON.stringify(String(e))} with the 'cache' flag set for selector '${Fi}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return i};if(ji){const{get:o,set:n}="object"==typeof t?e:i??(()=>{const e=Symbol(`${String(t)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Ge(e,t,{get(){let e=o.call(this);return void 0===e&&(e=l(this),(null!==e||this.hasUpdated)&&n.call(this,e)),e}})}return Ge(e,t,{get(){return l(this)}})})],Wi.prototype,"menu",void 0),e([Xe()],Wi.prototype,"nextDropdownItemNo",void 0),e([Xe()],Wi.prototype,"prevDropdownItemNo",void 0),e([Ye({type:Boolean,reflect:!0})],Wi.prototype,"hidden",void 0);var qi=Ze`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ji=Ze`.dropdown{display:flex;height:inherit;position:relative}`;class Ki extends Wi{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.menuRef=ft()}async _handleClick(){this.disabled||this.toggleMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.showMenu(),this._handleDisabled()}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return G`
81
81
  <div class="dropdown">
82
82
  <div
83
83
  class="toggler-container"