@carbon/ibmdotcom-web-components 1.35.0-rc.0 → 1.35.0-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.
- package/dist/{20-272800c6.js → 20-0e55e58a.js} +2 -2
- package/dist/{20-7d46ae0a.js → 20-32fc9139.js} +2 -2
- package/dist/{20-f7c8a513.js → 20-64df23d5.js} +2 -2
- package/dist/{20-e7af84e8.js → 20-7fcb24c0.js} +2 -2
- package/dist/cloud-masthead.js +3 -3
- package/dist/cloud-masthead.min.js +2 -2
- package/dist/cloud-masthead.rtl.js +3 -3
- package/dist/cloud-masthead.rtl.min.js +2 -2
- package/dist/dotcom-shell.js +3 -3
- package/dist/dotcom-shell.min.js +2 -2
- package/dist/dotcom-shell.rtl.js +3 -3
- package/dist/dotcom-shell.rtl.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.js +3 -3
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +3 -3
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +2 -2
- package/dist/{left-nav-menu-55d17df1.js → left-nav-menu-27d3f1f6.js} +2 -2
- package/dist/{left-nav-menu-8def4dc8.js → left-nav-menu-5cbd0c1f.js} +2 -2
- package/dist/{left-nav-menu-774169ec.js → left-nav-menu-87c4c9df.js} +2 -2
- package/dist/{left-nav-menu-eb9c1806.js → left-nav-menu-99e5c861.js} +2 -2
- package/dist/{left-nav-menu-category-heading-0e0e8ef8.js → left-nav-menu-category-heading-78c5034e.js} +2 -2
- package/dist/{left-nav-menu-category-heading-2caf71a7.js → left-nav-menu-category-heading-85bb4fb2.js} +2 -2
- package/dist/{left-nav-menu-category-heading-c954aa18.js → left-nav-menu-category-heading-d30e08e6.js} +2 -2
- package/dist/{left-nav-menu-category-heading-88f10ad2.js → left-nav-menu-category-heading-ff2395af.js} +2 -2
- package/dist/{left-nav-menu-item-246a007a.js → left-nav-menu-item-02e533b9.js} +2 -2
- package/dist/{left-nav-menu-item-6ba85277.js → left-nav-menu-item-0eae70fc.js} +2 -2
- package/dist/{left-nav-menu-item-b603525c.js → left-nav-menu-item-5089ab3f.js} +2 -2
- package/dist/{left-nav-menu-item-fac27fea.js → left-nav-menu-item-d3685d8f.js} +2 -2
- package/dist/{left-nav-menu-section-082bb9c6.js → left-nav-menu-section-2e4a0bad.js} +3 -3
- package/dist/{left-nav-menu-section-b9456f77.js → left-nav-menu-section-afec55e6.js} +2 -2
- package/dist/{left-nav-menu-section-8b1c4855.js → left-nav-menu-section-e8d4f3fb.js} +3 -3
- package/dist/{left-nav-menu-section-f66f4fb7.js → left-nav-menu-section-fdc1ca98.js} +3 -3
- package/dist/{left-nav-overlay-17e6baad.js → left-nav-overlay-73a790f4.js} +2 -2
- package/dist/{left-nav-overlay-edafbfc2.js → left-nav-overlay-758c856a.js} +2 -2
- package/dist/{left-nav-overlay-7e1d06cc.js → left-nav-overlay-cf77ea2f.js} +2 -2
- package/dist/{left-nav-overlay-95fefdaf.js → left-nav-overlay-edd1a502.js} +2 -2
- package/dist/{masthead-composite-686722b6.js → masthead-composite-0b43cc15.js} +4 -4
- package/dist/{masthead-composite-ea8a715a.js → masthead-composite-0c2120c5.js} +20 -15
- package/dist/{masthead-composite-5394ccd3.js → masthead-composite-11c83ceb.js} +20 -15
- package/dist/{masthead-composite-817bda0f.js → masthead-composite-40cb81a2.js} +4 -4
- package/dist/{megamenu-category-group-0fe736e0.js → megamenu-category-group-18644df3.js} +2 -2
- package/dist/{megamenu-category-group-48c301f5.js → megamenu-category-group-93c69341.js} +2 -2
- package/dist/{megamenu-category-group-96a99718.js → megamenu-category-group-9802468f.js} +2 -2
- package/dist/{megamenu-category-group-12c9ac32.js → megamenu-category-group-9f5f0e1e.js} +2 -2
- package/dist/{megamenu-category-group-copy-931ffb45.js → megamenu-category-group-copy-01bd230a.js} +2 -2
- package/dist/{megamenu-category-group-copy-002af31e.js → megamenu-category-group-copy-26a99754.js} +2 -2
- package/dist/{megamenu-category-group-copy-bcecb6fd.js → megamenu-category-group-copy-b4b2595a.js} +2 -2
- package/dist/{megamenu-category-group-copy-81ab23b2.js → megamenu-category-group-copy-eda989be.js} +2 -2
- package/dist/{megamenu-category-link-23d9e92e.js → megamenu-category-link-43713f24.js} +2 -2
- package/dist/{megamenu-category-link-46e49c8d.js → megamenu-category-link-5381047d.js} +2 -2
- package/dist/{megamenu-category-link-fcc7460d.js → megamenu-category-link-a78f17da.js} +2 -2
- package/dist/{megamenu-category-link-40d5ccb3.js → megamenu-category-link-e078aee5.js} +2 -2
- package/dist/{megamenu-left-navigation-4c50a6e0.js → megamenu-left-navigation-06f26d16.js} +2 -2
- package/dist/{megamenu-left-navigation-8e28af7e.js → megamenu-left-navigation-584743c3.js} +2 -2
- package/dist/{megamenu-left-navigation-4d5d1e70.js → megamenu-left-navigation-d2df80e9.js} +2 -2
- package/dist/{megamenu-left-navigation-845cebb0.js → megamenu-left-navigation-d9d20c5c.js} +2 -2
- package/dist/{megamenu-overlay-27a45175.js → megamenu-overlay-102fd0ee.js} +2 -2
- package/dist/{megamenu-overlay-caaf1903.js → megamenu-overlay-94d39915.js} +2 -2
- package/dist/{megamenu-overlay-045cf41b.js → megamenu-overlay-b22559ec.js} +2 -2
- package/dist/{megamenu-overlay-9c01b16f.js → megamenu-overlay-bb984578.js} +2 -2
- package/es/components/content-item-horizontal/content-item-horizontal-media.css.js +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-media.rtl.css.js +1 -1
- package/es/components/notice-choice/notice-choice.d.ts +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +9 -4
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +9 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +9 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +9 -4
- package/package.json +7 -7
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
*
|
|
63
63
|
* https://www.npmjs.com/package/redux
|
|
64
64
|
* https://www.npmjs.com/package/lodash-es
|
|
65
|
-
* https://www.npmjs.com/package/window-or-global
|
|
66
65
|
* https://www.npmjs.com/package/redux-thunk
|
|
66
|
+
* https://www.npmjs.com/package/window-or-global
|
|
67
67
|
* https://www.npmjs.com/package/redux-logger
|
|
68
68
|
* https://www.npmjs.com/package/axios
|
|
69
69
|
*/
|
|
@@ -606,7 +606,7 @@ var Sd=rs(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,b
|
|
|
606
606
|
*
|
|
607
607
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
608
608
|
* LICENSE file in the root directory of this source tree.
|
|
609
|
-
*/;var $d=rs(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans','Helvetica Neue',Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono',Menlo,'DejaVu Sans Mono','Bitstream Vera Sans Mono',Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);line-height:var(--cds-productive-heading-06-line-height,1.199);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);line-height:var(--cds-productive-heading-05-line-height,1.25);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);line-height:var(--cds-productive-heading-04-line-height,1.28572);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);line-height:var(--cds-productive-heading-03-line-height,1.4);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);line-height:var(--cds-productive-heading-02-line-height,1.375);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);line-height:var(--cds-productive-heading-01-line-height,1.28572);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);line-height:var(--cds-body-long-02-line-height,1.5);letter-spacing:var(--cds-body-long-02-letter-spacing,0)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--link{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);display:inline-flex;color:var(--cds-link-01,#0f62fe);outline:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9)}.bx--link *,.bx--link ::after,.bx--link ::before{box-sizing:inherit}.bx--link:hover{color:var(--cds-hover-primary-text,#0043ce);text-decoration:underline}.bx--link:active,.bx--link:active:visited,.bx--link:active:visited:hover{color:var(--cds-text-01,#161616);text-decoration:underline}.bx--link:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.bx--link:focus{outline-style:dotted}}.bx--link:visited{color:var(--cds-link-01,#0f62fe)}.bx--link:visited:hover{color:var(--cds-hover-primary-text,#0043ce)}.bx--link--disabled,.bx--link--disabled:hover{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed;font-weight:400;text-decoration:none}.bx--link--disabled *,.bx--link--disabled ::after,.bx--link--disabled ::before,.bx--link--disabled:hover *,.bx--link--disabled:hover ::after,.bx--link--disabled:hover ::before{box-sizing:inherit}.bx--link.bx--link--visited:visited{color:var(--cds-visited-link,#8a3ffc)}.bx--link.bx--link--visited:visited:hover{color:var(--cds-hover-primary-text,#0043ce)}.bx--link.bx--link--inline{text-decoration:underline}.bx--link.bx--link--inline:focus,.bx--link.bx--link--inline:visited{text-decoration:none}.bx--link--disabled.bx--link--inline{text-decoration:underline}.bx--link--sm{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px)}.bx--link--lg{font-size:var(--cds-body-short-02-font-size,1rem);font-weight:var(--cds-body-short-02-font-weight,400);line-height:var(--cds-body-short-02-line-height,1.375);letter-spacing:var(--cds-body-short-02-letter-spacing,0)}.bx--link__icon{display:inline-flex;align-self:center;margin-left:var(--cds-spacing-03,.5rem)}:host(bx-link){outline:0}:host(bx-link) .bx--link--disabled{color:var(--cds-disabled-02,#c6c6c6)}:host(bx-link) .bx--link__icon[hidden]{display:none}"]);let jd,Ld,Nd,Md=e=>e;const{prefix:qd}=Hs;let Ud;!function(e){e.REGULAR="",e.SMALL="sm",e.LARGE="lg"}(Ud||(Ud={}));let Bd=id([Xs(`${qd}-link`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_hasIcon",value:()=>!1},{kind:"method",key:"_handleSlotChange",value:function({target:e}){const{name:t}=e,i=e.assignedNodes().some((e=>e.nodeType!==Node.TEXT_NODE||e.textContent.trim()));this["icon"===t?"_hasIcon":""]=i,this.requestUpdate()}},{kind:"field",decorators:[Ka("#link")],key:"_linkNode",value:void 0},{kind:"get",key:"_classes",value:function(){const{disabled:e,size:t}=this;return Fs({[`${qd}--link`]:!0,[`${qd}--link--disabled`]:e,[`${qd}--link--${t}`]:t})}},{kind:"method",key:"_handleClick",value:function(e){}},{kind:"method",key:"_renderInner",value:function(){const{_hasIcon:e,_handleSlotChange:t}=this;return $a(jd||(jd=Md` <slot @slotchange="${0}"></slot> <div ?hidden="${0}" class="${0}--link__icon"> <slot name="icon" @slotchange="${0}"></slot> </div> `),t,!e,qd,t)}},{kind:"method",key:"_renderDisabledLink",value:function(){const{_classes:e}=this;return $a(Ld||(Ld=Md` <p id="link" part="link" class="${0}">${0}</p> `),e,this._renderInner())}},{kind:"method",key:"_renderLink",value:function(){const{download:e,href:t,hreflang:i,linkRole:o,ping:r,rel:n,target:a,type:s,_classes:d,_handleClick:l}=this;return $a(Nd||(Nd=Md` <a id="link" role="${0}" class="${0}" part="link" download="${0}" href="${0}" hreflang="${0}" ping="${0}" rel="${0}" target="${0}" type="${0}" @click="${0}"> ${0} </a> `),ls(o),d,ls(e),ls(t),ls(i),ls(r),ls(n),ls(a),ls(s),l,this._renderInner())}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[Qa({reflect:!0})],key:"download",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"href",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"hreflang",value:void 0},{kind:"field",decorators:[Qa({attribute:"link-role"})],key:"linkRole",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"ping",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"rel",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"size",value:()=>Ud.REGULAR},{kind:"field",decorators:[Qa({reflect:!0})],key:"target",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"type",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{disabled:e}=this;return e?this._renderDisabledLink():this._renderLink()}},{kind:"field",static:!0,key:"styles",value:()=>$d}]}}),pd(as));function Fd(e){return Fd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fd(e)}function Hd(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,n=void 0,n=function(e,t){if("object"!==Fd(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!==Fd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===Fd(n)?n:String(n)),o)}var r,n}var Gd=Hs.prefix,Vd=t.stablePrefix,Wd=16*parseFloat(Os.lg.width),Xd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.ownerDocument=a.document,this._banner=void 0,this._cumulativeHeight=0,this._hasBanner=!1,this._lastScrollPosition=0,this._leadspaceWithSearch=void 0,this._leadspaceSearchBar=void 0,this._leadspaceWithSearchStickyThreshold=0,this._localeModal=void 0,this._masthead=void 0,this._mastheadL0=void 0,this._mastheadL1=void 0,this._tableOfContents=void 0,this._tableOfContentsInnerBar=void 0,this._tableOfContentsLayout=void 0,this._throttled=!1,this._resizeObserver=new ResizeObserver(this._handleResize.bind(this)),a.addEventListener("scroll",this._throttledHandler.bind(this))}var t,i,o;return t=e,o=[{key:"global",get:function(){return Object.prototype.hasOwnProperty.call(a,"stickyHeader")||(a.stickyHeader=new e),a.stickyHeader}},{key:"customPropertyName",get:function(){return"--".concat(Vd,"-sticky-header-height")}}],(i=[{key:"height",get:function(){return this._cumulativeHeight}},{key:"_validateComponent",value:function(e,t){var i=e.tagName.toLowerCase();if(i!==t)throw new TypeError("".concat(t," expected, ").concat(i," provided"));return!0}},{key:"_tableOfContentsStickyUpdate",value:function(){var e=this._tableOfContents,t=e.shadowRoot,i=".".concat(Vd,"-ce--table-of-contents__items-container");window.innerWidth>Wd?"horizontal"===e.layout?(this._tableOfContentsInnerBar=t.querySelector(".".concat(Gd,"--tableofcontents__navbar")),this._tableOfContentsLayout="horizontal"):this._tableOfContentsInnerBar=t.querySelector(i):this._tableOfContentsInnerBar=t.querySelector(".".concat(Gd,"--tableofcontents__sidebar"))}},{key:"banner",set:function(e){this._validateComponent(e,"".concat(Vd,"-universal-banner"))&&(this._banner=e,this.hasBanner=!0,this._masthead&&this._masthead.setAttribute("with-banner",""))}},{key:"leadspaceWithSearch",set:function(e){if(this._validateComponent(e,"".concat(Vd,"-leadspace-with-search"))){this._leadspaceWithSearch=e;var t=e.shadowRoot.querySelector(".".concat(Gd,"--search-container"));this._leadspaceSearchBar=t,this._leadspaceWithSearchInput=e.querySelector("".concat(Vd,"-search-with-typeahead")),this._leadspaceWithSearchStickyThreshold=parseInt(window.getComputedStyle(t).paddingBottom)-16}}},{key:"localeModal",set:function(e){this._validateComponent(e,"".concat(Vd,"-locale-modal"))&&(this._localeModal=e)}},{key:"masthead",set:function(e){this._validateComponent(e,"".concat(Vd,"-masthead"))&&(this._masthead=e,this._banner&&this._masthead.setAttribute("with-banner",""),this._mastheadL0=e.shadowRoot.querySelector(".".concat(Gd,"--masthead__l0")),this._mastheadL1=e.querySelector("".concat(Vd,"-masthead-l1")))}},{key:"tableOfContents",set:function(e){this._validateComponent(e,"".concat(Vd,"-table-of-contents"))&&(this._tableOfContents=e,this._tableOfContentsStickyUpdate(),this._resizeObserver.observe(this._tableOfContents))}},{key:"_throttledHandler",value:function(){var e=this;this._throttled||(this._throttled=!0,this._handleScroll(),setTimeout((function(){e._throttled=!1}),20))}},{key:"_handleResize",value:function(){var e=this._hasBanner,t=this._masthead,i=this._tableOfContents,o=this._tableOfContentsLayout,r=this._leadspaceSearchBar;if(i&&t){if(this._tableOfContentsStickyUpdate(),window.innerWidth>=Wd&&"horizontal"!==o&&!e)t.style.top="0";else{var n=this._tableOfContentsInnerBar;0===t.offsetTop&&(n.style.top="".concat(t.offsetHeight,"px"))}this._handleScroll()}r&&(this._leadspaceWithSearchStickyThreshold=parseInt(window.getComputedStyle(r).paddingBottom)-16)}},{key:"_handleScroll",value:function(){var t=e.global,i=t._lastScrollPosition,o=t._banner,r=t._masthead,n=t._mastheadL0,s=t._mastheadL1,d=t._localeModal,l=t._tableOfContents,c=t._tableOfContentsInnerBar,b=t._leadspaceWithSearch,h=t._leadspaceSearchBar,p=t._leadspaceWithSearchInput,x=t._leadspaceWithSearchStickyThreshold,f=this.constructor.customPropertyName;if(!d||!d.hasAttribute("open")){var u=window.scrollY;this._lastScrollPosition=u;var g=0,m=!1,v=!1;if(c&&(m=c.getBoundingClientRect().top<=(r?r.offsetTop+r.offsetHeight:0)+1,v="horizontal"===l.layout||window.innerWidth<Wd,r&&m&&(v||s)?(g+=r.offsetHeight,s&&!v&&(g-=s.offsetHeight)):n&&s&&(g+=n.offsetHeight)),!c&&h){var _=h.getBoundingClientRect().top<=(r?r.offsetTop+r.offsetHeight:0)+1;r&&_&&(g+=r.offsetHeight)}var y=Math.max(Math.min((r?r.offsetTop:0)+i-u,0),-1*g);if(o&&(y+=Math.max(o.offsetHeight-u,0)),r&&(r.style.transition="none",r.style.top="".concat(y,"px"),y+=r.offsetHeight),c){c.style.transition="none",c.style.top="".concat(y,"px"),v="horizontal"===l.layout||window.innerWidth<Wd;var w=Math.round(c.getBoundingClientRect().top)<=y+1;v&&w&&(y+=c.offsetHeight)}if(!c&&h){var k=b.getBoundingClientRect().bottom<=x,E=b.hasAttribute("sticky-search");k&&(E||(b.style.paddingBottom="".concat(h.offsetHeight,"px"),b.setAttribute("sticky-search",""),p.setAttribute("large",""),window.requestAnimationFrame((function(){h.style.transitionDuration="110ms",h.style.transform="translateY(0)"}))),h.style.top="".concat(y,"px"),y+=h.offsetHeight),!k&&E&&(b.removeAttribute("sticky-search"),b.style.paddingBottom="",h.style.top="",h.style.transitionDuration="",h.style.transform="",p.removeAttribute("large"))}this._cumulativeHeight=y,a.document.documentElement.style.setProperty(f,"".concat(this._cumulativeHeight,"px"))}}}])&&Hd(t.prototype,i),o&&Hd(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Yd=/\s/;var Qd=/^\s+/;function Zd(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Yd.test(e.charAt(t)););return t}(e)+1).replace(Qd,""):e}var Kd=NaN,Jd=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,tl=/^0o[0-7]+$/i,il=parseInt;function ol(e){if("number"==typeof e)return e;if(pi(e))return Kd;if(ee(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ee(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zd(e);var i=el.test(e);return i||tl.test(e)?il(e.slice(2),i?2:8):Jd.test(e)?Kd:+e}
|
|
609
|
+
*/;var $d=rs(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans','Helvetica Neue',Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono',Menlo,'DejaVu Sans Mono','Bitstream Vera Sans Mono',Courier,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-productive-heading-06-font-size,2.625rem);font-weight:var(--cds-productive-heading-06-font-weight,300);line-height:var(--cds-productive-heading-06-line-height,1.199);letter-spacing:var(--cds-productive-heading-06-letter-spacing,0)}h2{font-size:var(--cds-productive-heading-05-font-size,2rem);font-weight:var(--cds-productive-heading-05-font-weight,300);line-height:var(--cds-productive-heading-05-line-height,1.25);letter-spacing:var(--cds-productive-heading-05-letter-spacing,0)}h3{font-size:var(--cds-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-productive-heading-04-font-weight,400);line-height:var(--cds-productive-heading-04-line-height,1.28572);letter-spacing:var(--cds-productive-heading-04-letter-spacing,0)}h4{font-size:var(--cds-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-productive-heading-03-font-weight,400);line-height:var(--cds-productive-heading-03-line-height,1.4);letter-spacing:var(--cds-productive-heading-03-letter-spacing,0)}h5{font-size:var(--cds-productive-heading-02-font-size,1rem);font-weight:var(--cds-productive-heading-02-font-weight,600);line-height:var(--cds-productive-heading-02-line-height,1.375);letter-spacing:var(--cds-productive-heading-02-letter-spacing,0)}h6{font-size:var(--cds-productive-heading-01-font-size,.875rem);font-weight:var(--cds-productive-heading-01-font-weight,600);line-height:var(--cds-productive-heading-01-line-height,1.28572);letter-spacing:var(--cds-productive-heading-01-letter-spacing,.16px)}p{font-size:var(--cds-body-long-02-font-size,1rem);font-weight:var(--cds-body-long-02-font-weight,400);line-height:var(--cds-body-long-02-line-height,1.5);letter-spacing:var(--cds-body-long-02-letter-spacing,0)}a{color:#0f62fe}em{font-style:italic}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.bx--link{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);display:inline-flex;color:var(--cds-link-01,#0f62fe);outline:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9)}.bx--link *,.bx--link ::after,.bx--link ::before{box-sizing:inherit}.bx--link:hover{color:var(--cds-hover-primary-text,#0043ce);text-decoration:underline}.bx--link:active,.bx--link:active:visited,.bx--link:active:visited:hover{color:var(--cds-text-01,#161616);text-decoration:underline}.bx--link:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.bx--link:focus{outline-style:dotted}}.bx--link:visited{color:var(--cds-link-01,#0f62fe)}.bx--link:visited:hover{color:var(--cds-hover-primary-text,#0043ce)}.bx--link--disabled,.bx--link--disabled:hover{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-short-01-font-size,.875rem);font-weight:var(--cds-body-short-01-font-weight,400);line-height:var(--cds-body-short-01-line-height,1.28572);letter-spacing:var(--cds-body-short-01-letter-spacing,.16px);color:var(--cds-disabled-02,#c6c6c6);cursor:not-allowed;font-weight:400;text-decoration:none}.bx--link--disabled *,.bx--link--disabled ::after,.bx--link--disabled ::before,.bx--link--disabled:hover *,.bx--link--disabled:hover ::after,.bx--link--disabled:hover ::before{box-sizing:inherit}.bx--link.bx--link--visited:visited{color:var(--cds-visited-link,#8a3ffc)}.bx--link.bx--link--visited:visited:hover{color:var(--cds-hover-primary-text,#0043ce)}.bx--link.bx--link--inline{text-decoration:underline}.bx--link.bx--link--inline:focus,.bx--link.bx--link--inline:visited{text-decoration:none}.bx--link--disabled.bx--link--inline{text-decoration:underline}.bx--link--sm{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px)}.bx--link--lg{font-size:var(--cds-body-short-02-font-size,1rem);font-weight:var(--cds-body-short-02-font-weight,400);line-height:var(--cds-body-short-02-line-height,1.375);letter-spacing:var(--cds-body-short-02-letter-spacing,0)}.bx--link__icon{display:inline-flex;align-self:center;margin-left:var(--cds-spacing-03,.5rem)}:host(bx-link){outline:0}:host(bx-link) .bx--link--disabled{color:var(--cds-disabled-02,#c6c6c6)}:host(bx-link) .bx--link__icon[hidden]{display:none}"]);let jd,Ld,Nd,Md=e=>e;const{prefix:qd}=Hs;let Ud;!function(e){e.REGULAR="",e.SMALL="sm",e.LARGE="lg"}(Ud||(Ud={}));let Bd=id([Xs(`${qd}-link`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_hasIcon",value:()=>!1},{kind:"method",key:"_handleSlotChange",value:function({target:e}){const{name:t}=e,i=e.assignedNodes().some((e=>e.nodeType!==Node.TEXT_NODE||e.textContent.trim()));this["icon"===t?"_hasIcon":""]=i,this.requestUpdate()}},{kind:"field",decorators:[Ka("#link")],key:"_linkNode",value:void 0},{kind:"get",key:"_classes",value:function(){const{disabled:e,size:t}=this;return Fs({[`${qd}--link`]:!0,[`${qd}--link--disabled`]:e,[`${qd}--link--${t}`]:t})}},{kind:"method",key:"_handleClick",value:function(e){}},{kind:"method",key:"_renderInner",value:function(){const{_hasIcon:e,_handleSlotChange:t}=this;return $a(jd||(jd=Md` <slot @slotchange="${0}"></slot> <div ?hidden="${0}" class="${0}--link__icon"> <slot name="icon" @slotchange="${0}"></slot> </div> `),t,!e,qd,t)}},{kind:"method",key:"_renderDisabledLink",value:function(){const{_classes:e}=this;return $a(Ld||(Ld=Md` <p id="link" part="link" class="${0}">${0}</p> `),e,this._renderInner())}},{kind:"method",key:"_renderLink",value:function(){const{download:e,href:t,hreflang:i,linkRole:o,ping:r,rel:n,target:a,type:s,_classes:d,_handleClick:l}=this;return $a(Nd||(Nd=Md` <a id="link" role="${0}" class="${0}" part="link" download="${0}" href="${0}" hreflang="${0}" ping="${0}" rel="${0}" target="${0}" type="${0}" @click="${0}"> ${0} </a> `),ls(o),d,ls(e),ls(t),ls(i),ls(r),ls(n),ls(a),ls(s),l,this._renderInner())}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[Qa({reflect:!0})],key:"download",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"href",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"hreflang",value:void 0},{kind:"field",decorators:[Qa({attribute:"link-role"})],key:"linkRole",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"ping",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"rel",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"size",value:()=>Ud.REGULAR},{kind:"field",decorators:[Qa({reflect:!0})],key:"target",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"type",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{disabled:e}=this;return e?this._renderDisabledLink():this._renderLink()}},{kind:"field",static:!0,key:"styles",value:()=>$d}]}}),pd(as));function Fd(e){return Fd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fd(e)}function Hd(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,n=void 0,n=function(e,t){if("object"!==Fd(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!==Fd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===Fd(n)?n:String(n)),o)}var r,n}var Gd=Hs.prefix,Vd=t.stablePrefix,Wd=16*parseFloat(Os.lg.width),Xd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.ownerDocument=a.document,this._banner=void 0,this._cumulativeHeight=0,this._hasBanner=!1,this._lastScrollPosition=0,this._leadspaceWithSearch=void 0,this._leadspaceSearchBar=void 0,this._leadspaceWithSearchStickyThreshold=0,this._localeModal=void 0,this._masthead=void 0,this._mastheadL0=void 0,this._mastheadL1=void 0,this._tableOfContents=void 0,this._tableOfContentsInnerBar=void 0,this._tableOfContentsLayout=void 0,this._throttled=!1,this._resizeObserver=new ResizeObserver(this._handleResize.bind(this)),a.addEventListener("scroll",this._throttledHandler.bind(this))}var t,i,o;return t=e,o=[{key:"global",get:function(){return Object.prototype.hasOwnProperty.call(a,"stickyHeader")||(a.stickyHeader=new e),a.stickyHeader}},{key:"customPropertyName",get:function(){return"--".concat(Vd,"-sticky-header-height")}}],(i=[{key:"height",get:function(){return this._cumulativeHeight}},{key:"_validateComponent",value:function(e,t){var i=e.tagName.toLowerCase();if(i!==t)throw new TypeError("".concat(t," expected, ").concat(i," provided"));return!0}},{key:"_tableOfContentsStickyUpdate",value:function(){var e=this._tableOfContents,t=e.shadowRoot,i=".".concat(Vd,"-ce--table-of-contents__items-container");window.innerWidth>Wd?"horizontal"===e.layout?(this._tableOfContentsInnerBar=t.querySelector(".".concat(Gd,"--tableofcontents__navbar")),this._tableOfContentsLayout="horizontal"):this._tableOfContentsInnerBar=t.querySelector(i):this._tableOfContentsInnerBar=t.querySelector(".".concat(Gd,"--tableofcontents__sidebar"))}},{key:"banner",set:function(e){this._validateComponent(e,"".concat(Vd,"-universal-banner"))&&(this._banner=e,this.hasBanner=!0,this._masthead&&this._masthead.setAttribute("with-banner",""),this._calculateCumulativeHeight())}},{key:"leadspaceWithSearch",set:function(e){if(this._validateComponent(e,"".concat(Vd,"-leadspace-with-search"))){this._leadspaceWithSearch=e;var t=e.shadowRoot.querySelector(".".concat(Gd,"--search-container"));this._leadspaceSearchBar=t,this._leadspaceWithSearchInput=e.querySelector("".concat(Vd,"-search-with-typeahead")),this._leadspaceWithSearchStickyThreshold=parseInt(window.getComputedStyle(t).paddingBottom)-16,this._calculateCumulativeHeight()}}},{key:"localeModal",set:function(e){this._validateComponent(e,"".concat(Vd,"-locale-modal"))&&(this._localeModal=e,this._calculateCumulativeHeight())}},{key:"masthead",set:function(e){this._validateComponent(e,"".concat(Vd,"-masthead"))&&(this._masthead=e,this._banner&&this._masthead.setAttribute("with-banner",""),this._mastheadL0=e.shadowRoot.querySelector(".".concat(Gd,"--masthead__l0")),this._mastheadL1=e.querySelector("".concat(Vd,"-masthead-l1")),this._calculateCumulativeHeight())}},{key:"tableOfContents",set:function(e){this._validateComponent(e,"".concat(Vd,"-table-of-contents"))&&(this._tableOfContents=e,this._tableOfContentsStickyUpdate(),this._resizeObserver.observe(this._tableOfContents),this._calculateCumulativeHeight())}},{key:"_throttledHandler",value:function(){var e=this;this._throttled||(this._throttled=!0,this._calculateCumulativeHeight(),setTimeout((function(){e._throttled=!1}),20))}},{key:"_handleResize",value:function(){var e=this._hasBanner,t=this._masthead,i=this._tableOfContents,o=this._tableOfContentsLayout,r=this._leadspaceSearchBar;if(i&&t){if(this._tableOfContentsStickyUpdate(),window.innerWidth>=Wd&&"horizontal"!==o&&!e)t.style.top="0";else{var n=this._tableOfContentsInnerBar;0===t.offsetTop&&(n.style.top="".concat(t.offsetHeight,"px"))}this._calculateCumulativeHeight()}r&&(this._leadspaceWithSearchStickyThreshold=parseInt(window.getComputedStyle(r).paddingBottom)-16)}},{key:"_calculateCumulativeHeight",value:function(){var t=e.global,i=t._lastScrollPosition,o=t._banner,r=t._masthead,n=t._mastheadL0,s=t._mastheadL1,d=t._localeModal,l=t._tableOfContents,c=t._tableOfContentsInnerBar,b=t._leadspaceWithSearch,h=t._leadspaceSearchBar,p=t._leadspaceWithSearchInput,x=t._leadspaceWithSearchStickyThreshold,f=this.constructor.customPropertyName;if(!d||!d.hasAttribute("open")){var u=window.scrollY;this._lastScrollPosition=u;var g=0,m=!1,v=!1;if(c&&(m=c.getBoundingClientRect().top<=(r?r.offsetTop+r.offsetHeight:0)+1,v="horizontal"===l.layout||window.innerWidth<Wd,r&&m&&(v||s)?(g+=r.offsetHeight,s&&!v&&(g-=s.offsetHeight)):n&&s&&(g+=n.offsetHeight)),!c&&h){var _=h.getBoundingClientRect().top<=(r?r.offsetTop+r.offsetHeight:0)+1;r&&_&&(g+=r.offsetHeight)}var y=Math.max(Math.min((r?r.offsetTop:0)+i-u,0),-1*g);if(o&&(y+=Math.max(o.offsetHeight-u,0)),r&&(r.style.transition="none",r.style.top="".concat(y,"px"),y+=r.offsetHeight),c){c.style.transition="none",c.style.top="".concat(y,"px"),v="horizontal"===l.layout||window.innerWidth<Wd;var w=Math.round(c.getBoundingClientRect().top)<=y+1;v&&w&&(y+=c.offsetHeight)}if(!c&&h){var k=b.getBoundingClientRect().bottom<=x,E=b.hasAttribute("sticky-search");k&&(E||(b.style.paddingBottom="".concat(h.offsetHeight,"px"),b.setAttribute("sticky-search",""),p.setAttribute("large",""),window.requestAnimationFrame((function(){h.style.transitionDuration="110ms",h.style.transform="translateY(0)"}))),h.style.top="".concat(y,"px"),y+=h.offsetHeight),!k&&E&&(b.removeAttribute("sticky-search"),b.style.paddingBottom="",h.style.top="",h.style.transitionDuration="",h.style.transform="",p.removeAttribute("large"))}this._cumulativeHeight=y,a.document.documentElement.style.setProperty(f,"".concat(this._cumulativeHeight,"px"))}}}])&&Hd(t.prototype,i),o&&Hd(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Yd=/\s/;var Qd=/^\s+/;function Zd(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Yd.test(e.charAt(t)););return t}(e)+1).replace(Qd,""):e}var Kd=NaN,Jd=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,tl=/^0o[0-7]+$/i,il=parseInt;function ol(e){if("number"==typeof e)return e;if(pi(e))return Kd;if(ee(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ee(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zd(e);var i=el.test(e);return i||tl.test(e)?il(e.slice(2),i?2:8):Jd.test(e)?Kd:+e}
|
|
610
610
|
/**
|
|
611
611
|
* @license
|
|
612
612
|
*
|
|
@@ -704,7 +704,7 @@ var Gc=rs(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,b
|
|
|
704
704
|
*
|
|
705
705
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
706
706
|
* LICENSE file in the root directory of this source tree.
|
|
707
|
-
*/;let Db,Rb=e=>e;function Ib(){Ib=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Lb(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ub(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ub(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=qb(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Mb(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Mb(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function $b(e){var t,i=qb(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function jb(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Lb(e){return e.decorators&&e.decorators.length}function Nb(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Mb(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function qb(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ub(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:Bb}=Hs,{stablePrefix:Fb}=t;let Hb,Gb=function(e,t,i,o){var r=Ib();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Nb(n.descriptor)||Nb(r.descriptor)){if(Lb(n)||Lb(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Lb(n)){if(Lb(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}jb(n,r)}else t.push(n)}return t}(a.d.map($b)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Fb}-masthead-profile`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Ka("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[bs("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydown",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"authenticated",value:()=>!1},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"field",decorators:[Qa({attribute:"trigger-label"})],key:"triggerLabel",value:()=>"User profile"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{authenticated:e,expanded:t,menuLabel:i,triggerLabel:o,_handleClick:r}=this;return $a(Db||(Db=Rb` <a role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-expanded="${0}" aria-label="${0}" @click="${0}"> ${0} </a> <ul class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),Bb,Bb,String(Boolean(t)),ds(o),r,e?(({children:e,...t}={})=>ja`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${Qs(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<circle cx="26" cy="16" r="4"></circle><path d="M22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z"></path></svg>`)():Ob(),Bb,ds(i))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Fb}--masthead-profile`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),xs(pd(Vs(as)))),Vb=e=>e;const{prefix:Wb}=Hs;let Xb=id([Xs(`${Wb}-header-nav-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Qa()],key:"href",value:void 0},{kind:"field",decorators:[Qa()],key:"title",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"role",value:()=>"listitem"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,title:t}=this;return $a(Hb||(Hb=Vb` <a part="link" class="${0}--header__menu-item" tabindex="0" href="${0}"> <span part="title" class="${0}--text-truncate--end"><slot>${0}</slot></span> </a> `),Wb,ds(e),Wb,t)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),pd(as));const{prefix:Yb}=Hs;let Qb=id([Xs(`${Yb}-header-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[]}}),Xb);function Zb(){Zb=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!eh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return rh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?rh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=oh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ih(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=ih(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Kb(e){var t,i=oh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Jb(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function eh(e){return e.decorators&&e.decorators.length}function th(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ih(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function oh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function rh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:nh}=t;!function(e,t,i,o){var r=Zb();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(th(n.descriptor)||th(r.descriptor)){if(eh(n)||eh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(eh(n)){if(eh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Jb(n,r)}else t.push(n)}return t}(a.d.map(Kb)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${nh}-masthead-profile-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>fl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),Qb);let ah,sh=e=>e;function dh(){dh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!bh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return fh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?fh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=xh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ph(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=ph(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function lh(e){var t,i=xh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ch(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function bh(e){return e.decorators&&e.decorators.length}function hh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ph(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function xh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function fh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:uh}=Hs,{stablePrefix:gh}=t;let mh,vh=function(e,t,i,o){var r=dh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(hh(n.descriptor)||hh(r.descriptor)){if(bh(n)||bh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(bh(n)){if(bh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ch(n,r)}else t.push(n)}return t}(a.d.map(lh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${gh}-megamenu`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(){return $a(ah||(ah=sh` <div class="${0}--masthead__megamenu__container"> <div class="${0}--masthead__megamenu__container--row"> <slot></slot> </div> </div> `),uh,uh)}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${gh}--masthead__megamenu`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(as)),_h=e=>e;const{prefix:yh}=Hs;let wh=id([Xs(`${yh}-header-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka('[part="trigger"]')],key:"_topMenuItem",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydownTrigger",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._topMenuItem.focus()}},{kind:"method",decorators:[bs("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"trigger-content"})],key:"triggerContent",value:()=>""},{kind:"field",decorators:[Qa({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","listitem"),sl(al(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("expanded")){const{selectorItem:e}=this.constructor,{expanded:t}=this;vd(this.querySelectorAll(e),(e=>{e.tabIndex=t?0:-1}))}}},{kind:"method",key:"render",value:function(){const{expanded:e,triggerContent:t,menuLabel:i,_handleClick:o}=this;return $a(mh||(mh=_h` <a part="trigger" role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-haspopup="menu" aria-expanded="${0}" @click="${0}"> ${0}${0} </a> <ul part="menu-body" class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),yh,yh,String(Boolean(e)),o,t,ld({part:"trigger-icon",class:`${yh}--header__menu-arrow`}),yh,ds(i))}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${yh}-header-menu-item`}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),xs(pd(as)));function kh(){kh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!zh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ch(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ch(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ph(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Ah(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Ah(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Eh(e){var t,i=Ph(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Sh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function zh(e){return e.decorators&&e.decorators.length}function Th(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ah(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ph(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ch(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Oh(){return Oh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Dh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Oh.apply(this,arguments)}function Dh(e){return Dh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dh(e)}const{stablePrefix:Rh}=t;let Ih=function(e,t,i,o){var r=kh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Th(n.descriptor)||Th(r.descriptor)){if(zh(n)||zh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(zh(n)){if(zh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Sh(n,r)}else t.push(n)}return t}(a.d.map(Eh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Rh}-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){var t;if(Oh(Dh(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_topMenuItem:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}},{kind:"method",key:"connectedCallback",value:function(){Oh(Dh(i.prototype),"connectedCallback",this).call(this),this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),wh);function $h(){$h=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Nh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Bh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Uh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:qh(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=qh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function jh(e){var t,i=Uh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Lh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nh(e){return e.decorators&&e.decorators.length}function Mh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function qh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Uh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Fh(){return Fh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Fh.apply(this,arguments)}function Hh(e){return Hh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hh(e)}const{prefix:Gh}=Hs,{stablePrefix:Vh}=t;!function(e,t,i,o){var r=$h();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Mh(n.descriptor)||Mh(r.descriptor)){if(Nh(n)||Nh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Nh(n)){if(Nh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Lh(n,r)}else t.push(n)}return t}(a.d.map(jh)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Vh}-megamenu-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa()],key:"megaMenu",value:void 0},{kind:"field",decorators:[Ka(`.${Gh}--header__menu`)],key:"_menuNode",value:void 0},{kind:"field",decorators:[Za()],key:"_scrollBarWidth",value(){return this.ownerDocument.defaultView.innerWidth-this.ownerDocument.body.offsetWidth}},{kind:"field",key:"_observerResizeRoot",value:()=>null},{kind:"method",key:"_cleanAndCreateObserverResize",value:function({create:e}={}){this._observerResizeRoot&&(this._observerResizeRoot.disconnect(),this._observerResizeRoot=null),e&&(this._observerResizeRoot=new ResizeObserver(this._observeResizeRoot),this._observerResizeRoot.observe(this.ownerDocument.documentElement))}},{kind:"field",key:"_observeResizeRoot",value(){return e=>{const{contentRect:t}=e[e.length-1],{customPropertyViewportWidth:i}=this.constructor;this.style.setProperty(i,`${t.width}px`)}}},{kind:"method",key:"_requestMegaMenuRenderUpdate",value:async function(){return new Promise((e=>{this.dispatchEvent(new CustomEvent("dds-megamenu-top-nav-menu-toggle",{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:e}})),setTimeout((()=>{e()}),5e3)}))}},{kind:"method",key:"connectedCallback",value:function(){Fh(Hh(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateObserverResize({create:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateObserverResize(),Fh(Hh(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(){this._menuNode.removeAttribute("role"),this._cleanAndCreateObserverResize({create:!0}),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"method",key:"updated",value:async function(e){if(Fh(Hh(i.prototype),"updated",this).call(this,e),e.has("expanded")){var t;const i=this.getRootNode();Ks(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const o=i.querySelector("dds-masthead"),r=null===(t=i.querySelector("dds-cloud-masthead-container"))||void 0===t?void 0:t.querySelector("dds-masthead");this.expanded?(this.parentElement.importedMegamenu||(await import("./megamenu-left-navigation-4d5d1e70.js"),await import("./megamenu-category-link-fcc7460d.js"),await import("./megamenu-category-group-0fe736e0.js"),await import("./megamenu-category-group-copy-931ffb45.js"),await Promise.resolve().then((function(){return Cl})),await import("./megamenu-overlay-9c01b16f.js"),this.parentElement.importedMegamenu=!0),await this._requestMegaMenuRenderUpdate(),document.body.style.marginInlineStart=`${this._scrollBarWidth}px`,document.body.style.overflow="hidden",Ks(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded})),r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd=`${this._scrollBarWidth}px`):o&&(o.style.marginInlineEnd=`${this._scrollBarWidth}px`)):(document.body.style.marginInlineStart="0px",document.body.style.overflow="",r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd="0px"):o&&(o.style.marginInlineEnd="0px"),!1===e.get("expanded")&&setTimeout((()=>{const{activeElement:e}=document;null!==e&&"body"!==e.tagName.toLowerCase()||this._topMenuItem.focus()}),0),setTimeout((()=>{this._requestMegaMenuRenderUpdate()}),500))}}},{kind:"get",static:!0,key:"customPropertyViewportWidth",value:function(){return`--${Vh}-ce--viewport-width`}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${Vh}-megamenu-overlay`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Ih);
|
|
707
|
+
*/;let Db,Rb=e=>e;function Ib(){Ib=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Lb(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ub(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ub(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=qb(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Mb(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Mb(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function $b(e){var t,i=qb(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function jb(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Lb(e){return e.decorators&&e.decorators.length}function Nb(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Mb(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function qb(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ub(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:Bb}=Hs,{stablePrefix:Fb}=t;let Hb,Gb=function(e,t,i,o){var r=Ib();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Nb(n.descriptor)||Nb(r.descriptor)){if(Lb(n)||Lb(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Lb(n)){if(Lb(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}jb(n,r)}else t.push(n)}return t}(a.d.map($b)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Fb}-masthead-profile`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Ka("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[bs("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydown",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"authenticated",value:()=>!1},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"field",decorators:[Qa({attribute:"trigger-label"})],key:"triggerLabel",value:()=>"User profile"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{authenticated:e,expanded:t,menuLabel:i,triggerLabel:o,_handleClick:r}=this;return $a(Db||(Db=Rb` <a role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-expanded="${0}" aria-label="${0}" @click="${0}"> ${0} </a> <ul class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),Bb,Bb,String(Boolean(t)),ds(o),r,e?(({children:e,...t}={})=>ja`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${Qs(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<circle cx="26" cy="16" r="4"></circle><path d="M22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z"></path></svg>`)():Ob(),Bb,ds(i))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Fb}--masthead-profile`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),xs(pd(Vs(as)))),Vb=e=>e;const{prefix:Wb}=Hs;let Xb=id([Xs(`${Wb}-header-nav-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Qa()],key:"href",value:void 0},{kind:"field",decorators:[Qa()],key:"title",value:void 0},{kind:"field",decorators:[Qa({reflect:!0})],key:"role",value:()=>"listitem"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,title:t}=this;return $a(Hb||(Hb=Vb` <a part="link" class="${0}--header__menu-item" tabindex="0" href="${0}"> <span part="title" class="${0}--text-truncate--end"><slot>${0}</slot></span> </a> `),Wb,ds(e),Wb,t)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),pd(as));const{prefix:Yb}=Hs;let Qb=id([Xs(`${Yb}-header-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[]}}),Xb);function Zb(){Zb=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!eh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return rh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?rh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=oh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ih(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=ih(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Kb(e){var t,i=oh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Jb(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function eh(e){return e.decorators&&e.decorators.length}function th(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ih(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function oh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function rh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:nh}=t;!function(e,t,i,o){var r=Zb();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(th(n.descriptor)||th(r.descriptor)){if(eh(n)||eh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(eh(n)){if(eh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Jb(n,r)}else t.push(n)}return t}(a.d.map(Kb)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${nh}-masthead-profile-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>fl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),Qb);let ah,sh=e=>e;function dh(){dh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!bh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return fh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?fh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=xh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ph(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=ph(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function lh(e){var t,i=xh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ch(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function bh(e){return e.decorators&&e.decorators.length}function hh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ph(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function xh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function fh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:uh}=Hs,{stablePrefix:gh}=t;let mh,vh=function(e,t,i,o){var r=dh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(hh(n.descriptor)||hh(r.descriptor)){if(bh(n)||bh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(bh(n)){if(bh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ch(n,r)}else t.push(n)}return t}(a.d.map(lh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${gh}-megamenu`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(){return $a(ah||(ah=sh` <div class="${0}--masthead__megamenu__container"> <div class="${0}--masthead__megamenu__container--row"> <slot></slot> </div> </div> `),uh,uh)}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${gh}--masthead__megamenu`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(as)),_h=e=>e;const{prefix:yh}=Hs;let wh=id([Xs(`${yh}-header-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka('[part="trigger"]')],key:"_topMenuItem",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydownTrigger",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._topMenuItem.focus()}},{kind:"method",decorators:[bs("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"trigger-content"})],key:"triggerContent",value:()=>""},{kind:"field",decorators:[Qa({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","listitem"),sl(al(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("expanded")){const{selectorItem:e}=this.constructor,{expanded:t}=this;vd(this.querySelectorAll(e),(e=>{e.tabIndex=t?0:-1}))}}},{kind:"method",key:"render",value:function(){const{expanded:e,triggerContent:t,menuLabel:i,_handleClick:o}=this;return $a(mh||(mh=_h` <a part="trigger" role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-haspopup="menu" aria-expanded="${0}" @click="${0}"> ${0}${0} </a> <ul part="menu-body" class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),yh,yh,String(Boolean(e)),o,t,ld({part:"trigger-icon",class:`${yh}--header__menu-arrow`}),yh,ds(i))}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${yh}-header-menu-item`}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),xs(pd(as)));function kh(){kh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!zh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ch(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ch(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ph(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Ah(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Ah(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Eh(e){var t,i=Ph(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Sh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function zh(e){return e.decorators&&e.decorators.length}function Th(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ah(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ph(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ch(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Oh(){return Oh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Dh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Oh.apply(this,arguments)}function Dh(e){return Dh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dh(e)}const{stablePrefix:Rh}=t;let Ih=function(e,t,i,o){var r=kh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Th(n.descriptor)||Th(r.descriptor)){if(zh(n)||zh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(zh(n)){if(zh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Sh(n,r)}else t.push(n)}return t}(a.d.map(Eh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Rh}-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){var t;if(Oh(Dh(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_topMenuItem:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}},{kind:"method",key:"connectedCallback",value:function(){Oh(Dh(i.prototype),"connectedCallback",this).call(this),this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),wh);function $h(){$h=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Nh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Bh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bh(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Uh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:qh(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=qh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function jh(e){var t,i=Uh(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Lh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nh(e){return e.decorators&&e.decorators.length}function Mh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function qh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Uh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Fh(){return Fh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Fh.apply(this,arguments)}function Hh(e){return Hh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hh(e)}const{prefix:Gh}=Hs,{stablePrefix:Vh}=t;!function(e,t,i,o){var r=$h();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Mh(n.descriptor)||Mh(r.descriptor)){if(Nh(n)||Nh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Nh(n)){if(Nh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Lh(n,r)}else t.push(n)}return t}(a.d.map(jh)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Vh}-megamenu-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa()],key:"megaMenu",value:void 0},{kind:"field",decorators:[Ka(`.${Gh}--header__menu`)],key:"_menuNode",value:void 0},{kind:"field",decorators:[Za()],key:"_scrollBarWidth",value(){return this.ownerDocument.defaultView.innerWidth-this.ownerDocument.body.offsetWidth}},{kind:"field",key:"_observerResizeRoot",value:()=>null},{kind:"method",key:"_cleanAndCreateObserverResize",value:function({create:e}={}){this._observerResizeRoot&&(this._observerResizeRoot.disconnect(),this._observerResizeRoot=null),e&&(this._observerResizeRoot=new ResizeObserver(this._observeResizeRoot),this._observerResizeRoot.observe(this.ownerDocument.documentElement))}},{kind:"field",key:"_observeResizeRoot",value(){return e=>{const{contentRect:t}=e[e.length-1],{customPropertyViewportWidth:i}=this.constructor;this.style.setProperty(i,`${t.width}px`)}}},{kind:"method",key:"_requestMegaMenuRenderUpdate",value:async function(){return new Promise((e=>{this.dispatchEvent(new CustomEvent("dds-megamenu-top-nav-menu-toggle",{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:e}})),setTimeout((()=>{e()}),5e3)}))}},{kind:"method",key:"connectedCallback",value:function(){Fh(Hh(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateObserverResize({create:!0})}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateObserverResize(),Fh(Hh(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(){this._menuNode.removeAttribute("role"),this._cleanAndCreateObserverResize({create:!0}),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"method",key:"updated",value:async function(e){if(Fh(Hh(i.prototype),"updated",this).call(this,e),e.has("expanded")){var t;const i=this.getRootNode();Ks(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const o=i.querySelector("dds-masthead"),r=null===(t=i.querySelector("dds-cloud-masthead-container"))||void 0===t?void 0:t.querySelector("dds-masthead");this.expanded?(this.parentElement.importedMegamenu||(await import("./megamenu-left-navigation-d9d20c5c.js"),await import("./megamenu-category-link-a78f17da.js"),await import("./megamenu-category-group-18644df3.js"),await import("./megamenu-category-group-copy-01bd230a.js"),await Promise.resolve().then((function(){return Cl})),await import("./megamenu-overlay-b22559ec.js"),this.parentElement.importedMegamenu=!0),await this._requestMegaMenuRenderUpdate(),document.body.style.marginInlineStart=`${this._scrollBarWidth}px`,document.body.style.overflow="hidden",Ks(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded})),r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd=`${this._scrollBarWidth}px`):o&&(o.style.marginInlineEnd=`${this._scrollBarWidth}px`)):(document.body.style.marginInlineStart="0px",document.body.style.overflow="",r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd="0px"):o&&(o.style.marginInlineEnd="0px"),!1===e.get("expanded")&&setTimeout((()=>{const{activeElement:e}=document;null!==e&&"body"!==e.tagName.toLowerCase()||this._topMenuItem.focus()}),0),setTimeout((()=>{this._requestMegaMenuRenderUpdate()}),500))}}},{kind:"get",static:!0,key:"customPropertyViewportWidth",value:function(){return`--${Vh}-ce--viewport-width`}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${Vh}-megamenu-overlay`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Ih);
|
|
708
708
|
/**
|
|
709
709
|
* @license
|
|
710
710
|
*
|
|
@@ -730,7 +730,7 @@ const sp=({children:e,...t}={})=>ja`<svg focusable="false" preserveAspectRatio="
|
|
|
730
730
|
*
|
|
731
731
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
732
732
|
* LICENSE file in the root directory of this source tree.
|
|
733
|
-
*/,dp=({children:e,...t}={})=>ja`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${Qs(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<path d="M12 8L22 16 12 24z"></path></svg>`;let lp,cp=e=>e;const{prefix:bp}=Hs;let hp,pp,xp,fp=id([Xs(`${bp}-header-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({attribute:"menu-bar-label"})],key:"menuBarLabel",value:void 0},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","navigation"),sl(al(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{menuBarLabel:e}=this;return $a(lp||(lp=cp` <div part="divider" class="${0}-ce--header__divider"></div> <ul part="menu-body" class="${0}--header__menu-bar" aria-label="${0}"> <slot></slot> </ul> `),bp,bp,e)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),as),up=e=>e;function gp(){gp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!_p(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ep(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ep(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=kp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:wp(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=wp(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function mp(e){var t,i=kp(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function vp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function _p(e){return e.decorators&&e.decorators.length}function yp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function wp(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function kp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ep(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Sp(){return Sp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Sp.apply(this,arguments)}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zp(e)}const{prefix:Tp}=Hs,{stablePrefix:Ap}=t;let Pp=function(e,t,i,o){var r=gp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(yp(n.descriptor)||yp(r.descriptor)){if(_p(n)||_p(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(_p(n)){if(_p(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}vp(n,r)}else t.push(n)}return t}(a.d.map(mp)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Ap}-top-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka(`.${Tp}--header__nav-caret-left`)],key:"_caretLeftNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav-caret-right`)],key:"_caretRightNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav`)],key:"_navNode",value:void 0},{kind:"field",decorators:[Ka(`.${Ap}-ce--header__nav-content-container`)],key:"_contentContainerNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav-content`)],key:"_contentNode",value:void 0},{kind:"field",decorators:[Za()],key:"_currentScrollPosition",value:()=>0},{kind:"field",decorators:[Ka(`.${Tp}--sub-content-left`)],key:"_intersectionLeftSentinelNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--sub-content-right`)],key:"_intersectionRightSentinelNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"hideNav",value:()=>!1},{kind:"field",decorators:[Qa({type:Boolean})],key:"importedMegamenu",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"selected-menu-item"})],key:"selectedMenuItem",value:void 0},{kind:"field",key:"_childItems",value:()=>[]},{kind:"field",decorators:[Za()],key:"_isIntersectionLeftTrackerInContent",value:()=>!0},{kind:"field",decorators:[Za()],key:"_isIntersectionRightTrackerInContent",value:()=>!0},{kind:"field",key:"_observerIntersection",value:()=>null},{kind:"field",decorators:[Za()],key:"_pageIsRTL",value(){return"rtl"===this.ownerDocument.documentElement.dir}},{kind:"field",decorators:[Ka("slot")],key:"_slotNode",value:void 0},{kind:"method",key:"_cleanAndCreateIntersectionObserverContainer",value:function({create:e}={}){const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;this._observerIntersection&&(this._observerIntersection.disconnect(),this._observerIntersection=null),e&&(this._observerIntersection=new IntersectionObserver(this._observeIntersectionContainer,{root:this,threshold:0}),t&&this._observerIntersection.observe(t),i&&this._observerIntersection.observe(i))}},{kind:"method",key:"_handleSlotChange",value:function(e){this._childItems=e.target.assignedNodes().filter((e=>{var t,i;return null===(t=(i=e).matches)||void 0===t?void 0:t.call(i,"dds-megamenu-top-nav-menu")})),this._paginateRight({onLoad:!0})}},{kind:"field",key:"_observeIntersectionContainer",value(){return e=>{const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;e.forEach((({isIntersecting:e,target:o})=>{o===t&&(this._isIntersectionLeftTrackerInContent=e),o===i&&(this._isIntersectionRightTrackerInContent=e)}))}}},{kind:"method",key:"_paginateLeft",value:function(){const{_caretLeftNode:e,_caretRightNode:t,_contentContainerNode:i,_currentScrollPosition:o,_isIntersectionRightTrackerInContent:r,_navNode:n,_pageIsRTL:a,_slotNode:s}=this,d=null==s?void 0:s.assignedElements();if(d)if(a){const r=this._isIntersectionLeftTrackerInContent?e.offsetWidth:0,a=n.getBoundingClientRect().right,s=d.findIndex((e=>e.getBoundingClientRect().left<a-o-t.offsetWidth));s>=0&&(this._currentScrollPosition=Math.max(a-d[s].getBoundingClientRect().left-i.offsetWidth+r+t.offsetWidth+8,0))}else{const a=r?t.offsetWidth+8:8,s=this._isIntersectionLeftTrackerInContent?e.offsetWidth+8:0,l=n.getBoundingClientRect().left,c=function(e,t,i){for(let o=e.length-1;o>=0;--o)if(t(e[o],o,i))return o;return-1}(d,(e=>e.getBoundingClientRect().left-l<o));if(c>=0){const t=d[c].getBoundingClientRect().right-l-(i.offsetWidth+s-a);this._currentScrollPosition=t<=e.offsetWidth?0:t}}}},{kind:"method",key:"_paginateRight",value:async function({onLoad:e}={}){const{_caretLeftNode:t,_caretRightNode:i,_contentContainerNode:o,_contentNode:r,_currentScrollPosition:n,_isIntersectionLeftTrackerInContent:a,_isIntersectionRightTrackerInContent:s,_navNode:d,_pageIsRTL:l,_slotNode:c}=this;await this.updateComplete;const b=(null==c?void 0:c.assignedElements())||this._childItems;if(b&&o){const c=n+o.offsetWidth;if(l){const i=a?t.offsetWidth:0,n=d.getBoundingClientRect().right,s=e?b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8&&e.hasAttribute("active"))):b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8));if(s>0){const e=Math.abs(b[s].getBoundingClientRect().right-n+t.offsetWidth+8),a=r.scrollWidth-o.offsetWidth+i;this._currentScrollPosition=Math.min(e,a)}}else{const n=a?0:t.offsetWidth,l=s?i.offsetWidth:0,h=d.getBoundingClientRect().left,p=e?b.findIndex((e=>e.getBoundingClientRect().right-h>c&&e.hasAttribute("active"))):b.findIndex((e=>e.getBoundingClientRect().right-h>c));if(p>0){const e=b[p].getBoundingClientRect().left-h-8,t=r.scrollWidth-(o.offsetWidth-l+n);this._currentScrollPosition=Math.min(e,t)}}}}},{kind:"method",key:"_handleOnKeyDown",value:function(e){const t=e.target,{_pageIsRTL:i,_navNode:o,_currentScrollPosition:r,_contentContainerNode:n,_caretRightNode:a}=this;t&&(i?"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&a&&t.previousElementSibling.getBoundingClientRect().right+r>o.getBoundingClientRect().right-a.offsetWidth&&this._paginateLeft():t.nextElementSibling&&a&&o.getBoundingClientRect().right-t.nextElementSibling.getBoundingClientRect().left>r+n.offsetWidth-a.offsetWidth&&this._paginateRight()):"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&t.previousElementSibling.getBoundingClientRect().left-o.getBoundingClientRect().left<r&&this._paginateLeft():t.nextElementSibling&&Math.floor(t.nextElementSibling.getBoundingClientRect().right-o.getBoundingClientRect().left)>r+n.offsetWidth&&this._paginateRight()))}},{kind:"field",decorators:[bs("parentRoot:eventToggleSearch")],key:"_handleSearchToggle",value(){return e=>{void 0!==e.detail.active&&(this.hideNav=e.detail.active)}}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"method",key:"connectedCallback",value:function(){Sp(zp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateIntersectionObserverContainer({create:!0}),this.removeAttribute("role")}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateIntersectionObserverContainer(),Sp(zp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(e){e.has("selectedMenuItem")&&this._paginateRight({onLoad:!0})}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer(),!0}},{kind:"method",key:"updated",value:function(e){e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer({create:!0}),e.has("_currentScrollPosition")&&this._contentNode&&(this._contentNode.style.insetInlineStart=`-${this._currentScrollPosition}px`)}},{kind:"method",key:"render",value:function(){const{_isIntersectionLeftTrackerInContent:e,_isIntersectionRightTrackerInContent:t,_handleSlotChange:i,_paginateLeft:o,_paginateRight:r,_pageIsRTL:n,_handleOnKeyDown:a}=this,s=Fs({[`${Tp}--header__nav-caret-left-container`]:!0,[`${Ap}-ce--header__nav-caret-container--hidden`]:e}),d=Fs({[`${Tp}--header__nav-caret-right-container`]:!0,[`${Ap}-ce--header__nav-caret-container--hidden`]:t});return this.hideNav?void 0:$a(hp||(hp=up` ${0} `),n?$a(pp||(pp=up` <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-right"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-left"></div> </nav> </div> </div> <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> `),d,Tp,Tp,r,sp(),Ap,Tp,Tp,Tp,Tp,ls(this.menuBarLabel),i,a,Tp,s,Tp,o,dp(),Tp):$a(xp||(xp=up` <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-left"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-right"></div> </nav> </div> </div> <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> `),s,Tp,o,sp(),Tp,Ap,Tp,Tp,Tp,Tp,ls(this.menuBarLabel),i,a,Tp,d,Tp,Tp,r,dp()))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Ap}--masthead__l0-nav`}},{kind:"get",static:!0,key:"eventToggleSearch",value:function(){return`${Ap}-search-with-typeahead-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(xs(fp)));function Cp(){Cp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Rp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Lp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Lp(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=jp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:$p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=$p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Op(e){var t,i=jp(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Dp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Rp(e){return e.decorators&&e.decorators.length}function Ip(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $p(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function jp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Lp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:Np}=t;!function(e,t,i,o){var r=Cp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Ip(n.descriptor)||Ip(r.descriptor)){if(Rp(n)||Rp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Rp(n)){if(Rp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Dp(n,r)}else t.push(n)}return t}(a.d.map(Op)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Np}-top-nav-l1`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_handleSearchToggle",value:()=>()=>{}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!0},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Np}--masthead__l1-nav`}}]}}),Pp);let Mp,qp,Up=e=>e;const{prefix:Bp}=Hs;let Fp=id([Xs(`${Bp}-header-name`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Qa()],key:"href",value:void 0},{kind:"field",decorators:[Qa()],key:"prefix",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(Mp||(Mp=Up` <span part="prefix" class="${0}--header__name--prefix">${0}</span> `),Bp,t):void 0;return $a(qp||(qp=Up` <a part="link" class="${0}--header__name" href="${0}">${0} <slot></slot></a> `),Bp,ds(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),pd(as));var Hp=1/0,Gp=17976931348623157e292;function Vp(e){var t=function(e){return e?(e=ol(e))===Hp||e===-Hp?(e<0?-1:1)*Gp:e==e?e:0:0===e?e:0}(e),i=t%1;return t==t?i?t-i:t:0}var Wp=Math.max,Xp=Math.min;var Yp,Qp=(Yp=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return void 0!==i&&(r=Vp(i),r=i<0?Wp(o+r,0):Xp(r,o-1)),function(e,t,i,o){for(var r=e.length,n=i+(o?1:-1);o?n--:++n<r;)if(t(e[n],n,e))return n;return-1}(e,Ni(t),r,!0)},function(e,t,i){var o=Object(e);if(!Rt(e)){var r=Ni(t);e=It(e),t=function(e){return r(o[e],e,o)}}var n=Yp(e,t,i);return n>-1?o[r?e[n]:n]:void 0});let Zp,Kp,Jp=e=>e;function ex(){ex=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!ox(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return sx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=ax(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:nx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=nx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tx(e){var t,i=ax(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ix(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function ox(e){return e.decorators&&e.decorators.length}function rx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ax(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function sx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function dx(){return dx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},dx.apply(this,arguments)}function lx(e){return lx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lx(e)}const{prefix:cx}=Hs,{stablePrefix:bx}=t,hx=Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,px=Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY;let xx,fx,ux=function(e,t,i,o){var r=ex();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rx(n.descriptor)||rx(r.descriptor)){if(ox(n)||ox(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ox(n)){if(ox(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ix(n,r)}else t.push(n)}return t}(a.d.map(tx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${bx}-left-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",key:"_hFocusWrap",value:()=>null},{kind:"field",decorators:[Ka("#start-sentinel")],key:"_startSentinelNode",value:void 0},{kind:"field",decorators:[Ka("#end-sentinel")],key:"_endSentinelNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean})],key:"_importedSideNav",value:()=>!1},{kind:"field",decorators:[bs("document:dds-request-focus-wrap")],key:"_handleRequestMenuButtonFocusWrap",value(){return e=>{var t,i;const{selectorButtonToggle:o}=this.constructor;if(e.target===this){const e=this.getRootNode().querySelector(o);e&&e.focus()}else if(null!==(t=(i=e.target).matches)&&void 0!==t&&t.call(i,o)){const{comparisonResult:t}=e.detail,{selectorExpandedMenuSection:i,selectorTabbable:o}=this.constructor,d=this.querySelector(i);if(-1===t){const e=(n=this.querySelectorAll(o),a=e=>Boolean(e.offsetParent),Array.prototype.find.call(n,a,s));e&&e.focus()}else if(t&hx){const e=Qp(null==d?void 0:d.querySelectorAll(o),(e=>Boolean(e.offsetParent)));e&&e.focus()}else if(t&px){var r;const e=[...Array.from((null==d||null===(r=d.shadowRoot)||void 0===r?void 0:r.querySelectorAll(o))||[]),...Array.from((null==d?void 0:d.querySelectorAll(o))||[])];e.length&&e[0].focus()}}var n,a,s}}},{kind:"method",key:"_handleClickOut",value:function(e){const{target:t}=e,{selectorButtonToggle:i}=this.constructor,o=this.getRootNode().querySelector(i);this.expanded&&t instanceof Element&&null===t.closest(i)&&null===t.closest(this.tagName)&&(this.expanded=!1,null==o||o.focus())}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydown",value:function(e){const{selectorButtonToggle:t}=this.constructor,i=this.getRootNode().querySelector(t);"Escape"===e.key&&(this.expanded=!1,null==i||i.focus())}},{kind:"field",decorators:[bs("parentRoot:eventToggle")],key:"_handleContentStateChangeDocument",value(){return e=>{const{selectorMenuSections:t}=this.constructor,{panelId:i}=e.detail,o=Array.from(this.querySelectorAll(t)),r=o.filter((e=>e.matches("[expanded]"))).shift(),n=o.filter((e=>e.matches(`[section-id="${i}"]`))).shift();if(void 0!==r&&void 0!==n&&r!==n){const e=i.split(", ");n.expanded=!0,n.ariaHidden="false",n.transition=!1,r.expanded=!1,r.ariaHidden="true","-1"===e[0]||"-1"===e[1]||n.matches('[section-id*=" -1"]')||(r.transition=!0)}}}},{kind:"field",decorators:[Qa({reflect:!0,attribute:"usage-mode"})],key:"usageMode",value:()=>Hc.HEADER_NAV},{kind:"method",key:"connectedCallback",value:function(){dx(lx(i.prototype),"connectedCallback",this).call(this),document.addEventListener("click",this._handleClickOut.bind(this))}},{kind:"method",key:"updated",value:function(e){dx(lx(i.prototype),"updated",this).call(this,e);const{usageMode:t}=this;if(e.has("usageMode")&&t!==Hc.HEADER_NAV&&console.warn("dds-left-nav supports only `header-nav` for its `usage-mode` attribute or `usageMode` property. The value is ignored:",t),e.has("expanded")){var o;const e=this.getRootNode();Ks(e.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const{expanded:t,_startSentinelNode:i,_endSentinelNode:r}=this,n=null==e||null===(o=e.querySelector(`${bx}-cloud-masthead-container,\n ${bx}-cloud-masthead-composite,\n ${bx}-masthead-container,\n ${bx}-masthead-composite`))||void 0===o?void 0:o.querySelector(`${bx}-masthead`);if(t&&!this._importedSideNav&&(Promise.resolve().then((function(){return Ox})),import("./left-nav-menu-8def4dc8.js"),import("./left-nav-menu-section-f66f4fb7.js"),import("./left-nav-menu-item-246a007a.js"),import("./left-nav-menu-category-heading-88f10ad2.js"),import("./left-nav-overlay-17e6baad.js"),this._importedSideNav=!0),t&&n)this._hFocusWrap=ob(this.shadowRoot,[i,r]),document.body.style.overflow="hidden",n.style.position="fixed";else{const{selectorMenuSections:e,selectorFirstMenuSection:t}=this.constructor;n&&(document.body.style.overflow="auto",n.style.position=""),this.querySelectorAll(e).forEach((e=>{e.expanded=!1,e.transition=!1})),this.querySelectorAll(t).forEach((e=>{e.expanded=!0})),this._hFocusWrap&&(this._hFocusWrap=this._hFocusWrap.release())}}}},{kind:"field",key:"_renderSentinel",value:()=>e=>$a(Zp||(Zp=Jp` <button id="${0}-sentinel" type="button" class="${0}--visually-hidden"></button> `),e,cx)},{kind:"method",key:"render",value:function(){const{_renderSentinel:e}=this;return $a(Kp||(Kp=Jp` <div class="${0}--side-nav__wrapper"> ${0} <div class="${0}--side-nav__platform-name"> <slot name="platform-id"></slot> </div> <div class="${0}--side-nav__menu-sections"> <slot></slot> </div> ${0} </div> `),cx,e("start"),cx,cx,e("end"))}},{kind:"get",static:!0,key:"selectorButtonToggle",value:function(){return`${bx}-masthead-menu-button`}},{kind:"get",static:!0,key:"selectorNavItems",value:function(){return[`${bx}-left-nav-item`,`${bx}-left-nav-menu`,`${bx}-left-nav-menu-item`,`${bx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorMenuSections",value:function(){return`${bx}-left-nav-menu-section`}},{kind:"get",static:!0,key:"selectorExpandedMenuSection",value:function(){return`${bx}-left-nav-menu-section[expanded]`}},{kind:"get",static:!0,key:"selectorFirstMenuSection",value:function(){return`${bx}-left-nav-menu-section[section-id='-1, -1']`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return[hd,`${bx}-left-nav-item`,`${bx}-left-nav-menu`,`${bx}-left-nav-menu-item`,`${bx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${bx}-left-nav-overlay`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${bx}--masthead__l0-sidenav`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${bx}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(Yc)),gx=e=>e;function mx(){mx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!yx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Sx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Sx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ex(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:kx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=kx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function vx(e){var t,i=Ex(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function _x(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function yx(e){return e.decorators&&e.decorators.length}function wx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function kx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ex(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Sx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function zx(){return zx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Tx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},zx.apply(this,arguments)}function Tx(e){return Tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tx(e)}const{prefix:Ax}=Hs,{stablePrefix:Px}=t;let Cx=function(e,t,i,o){var r=mx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(wx(n.descriptor)||wx(r.descriptor)){if(yx(n)||yx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(yx(n)){if(yx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}_x(n,r)}else t.push(n)}return t}(a.d.map(vx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Px}-left-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({type:String,attribute:"slot",reflect:!0})],key:"slot",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){zx(Tx(i.prototype),"connectedCallback",this).call(this),this.parentElement instanceof ux&&(this.slot="platform-id")}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(xx||(xx=gx` <span class="${0}--header__name--prefix">${0}</span> `),Ax,t):void 0;return $a(fx||(fx=gx` <a class="${0}--side-nav__submenu ${0}--side-nav__submenu-platform" href="${0}"> ${0} <slot></slot> </a> `),Ax,Ax,ls(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Fp);var Ox=Object.freeze({__proto__:null,default:Cx});let Dx,Rx,Ix=e=>e;function $x(){$x=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Nx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Bx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ux(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:qx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=qx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function jx(e){var t,i=Ux(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Lx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nx(e){return e.decorators&&e.decorators.length}function Mx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function qx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ux(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Bx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Fx(){return Fx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Fx.apply(this,arguments)}function Hx(e){return Hx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hx(e)}const{prefix:Gx}=Hs,{stablePrefix:Vx}=t;let Wx=function(e,t,i,o){var r=$x();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Mx(n.descriptor)||Mx(r.descriptor)){if(Nx(n)||Nx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Nx(n)){if(Nx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Lx(n,r)}else t.push(n)}return t}(a.d.map(jx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Vx}-top-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"method",key:"connectedCallback",value:function(){Fx(Hx(i.prototype),"connectedCallback",this).call(this);const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!0)}},{kind:"method",key:"disconnectedCallback",value:function(){const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!1),Fx(Hx(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(Dx||(Dx=Ix` <span class="${0}--header__name--prefix">${0}</span> `),Gx,t):void 0;return $a(Rx||(Rx=Ix` <a class="${0}--header__name" href="${0}">${0}<slot></slot></a> `),Gx,ls(e),i)}},{kind:"get",static:!0,key:"selectorTopNav",value:function(){return`${Vx}-top-nav`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Vx}--masthead__platform-name`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Cx);function Xx(){Xx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Zx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return tf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?tf(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=ef(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Jx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Jx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Yx(e){var t,i=ef(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Qx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Zx(e){return e.decorators&&e.decorators.length}function Kx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Jx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ef(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function tf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function of(){return of="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=rf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},of.apply(this,arguments)}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rf(e)}const{stablePrefix:nf}=t;function af(){af=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!lf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return pf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?pf(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=hf(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:bf(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=bf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function sf(e){var t,i=hf(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function df(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function lf(e){return e.decorators&&e.decorators.length}function cf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function bf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function hf(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function pf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}!function(e,t,i,o){var r=Xx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Kx(n.descriptor)||Kx(r.descriptor)){if(Zx(n)||Zx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Zx(n)){if(Zx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Qx(n,r)}else t.push(n)}return t}(a.d.map(Yx)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${nf}-top-nav-item`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka('[part="link"]')],key:"_linkNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){if(of(rf(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_linkNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}}},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role"))),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Xb);const{stablePrefix:xf}=t;!function(e,t,i,o){var r=af();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(cf(n.descriptor)||cf(r.descriptor)){if(lf(n)||lf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(lf(n)){if(lf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}df(n,r)}else t.push(n)}return t}(a.d.map(sf)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${xf}-top-nav-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>fl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),Qb);
|
|
733
|
+
*/,dp=({children:e,...t}={})=>ja`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${Qs(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<path d="M12 8L22 16 12 24z"></path></svg>`;let lp,cp=e=>e;const{prefix:bp}=Hs;let hp,pp,xp,fp=id([Xs(`${bp}-header-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({attribute:"menu-bar-label"})],key:"menuBarLabel",value:void 0},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","navigation"),sl(al(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{menuBarLabel:e}=this;return $a(lp||(lp=cp` <div part="divider" class="${0}-ce--header__divider"></div> <ul part="menu-body" class="${0}--header__menu-bar" aria-label="${0}"> <slot></slot> </ul> `),bp,bp,e)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),as),up=e=>e;function gp(){gp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!_p(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ep(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ep(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=kp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:wp(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=wp(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function mp(e){var t,i=kp(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function vp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function _p(e){return e.decorators&&e.decorators.length}function yp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function wp(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function kp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Ep(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Sp(){return Sp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Sp.apply(this,arguments)}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zp(e)}const{prefix:Tp}=Hs,{stablePrefix:Ap}=t;let Pp=function(e,t,i,o){var r=gp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(yp(n.descriptor)||yp(r.descriptor)){if(_p(n)||_p(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(_p(n)){if(_p(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}vp(n,r)}else t.push(n)}return t}(a.d.map(mp)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Ap}-top-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka(`.${Tp}--header__nav-caret-left`)],key:"_caretLeftNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav-caret-right`)],key:"_caretRightNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav`)],key:"_navNode",value:void 0},{kind:"field",decorators:[Ka(`.${Ap}-ce--header__nav-content-container`)],key:"_contentContainerNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--header__nav-content`)],key:"_contentNode",value:void 0},{kind:"field",decorators:[Za()],key:"_currentScrollPosition",value:()=>0},{kind:"field",decorators:[Ka(`.${Tp}--sub-content-left`)],key:"_intersectionLeftSentinelNode",value:void 0},{kind:"field",decorators:[Ka(`.${Tp}--sub-content-right`)],key:"_intersectionRightSentinelNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"hideNav",value:()=>!1},{kind:"field",decorators:[Qa({type:Boolean})],key:"importedMegamenu",value:()=>!1},{kind:"field",decorators:[Qa({attribute:"selected-menu-item"})],key:"selectedMenuItem",value:void 0},{kind:"field",key:"_childItems",value:()=>[]},{kind:"field",decorators:[Za()],key:"_isIntersectionLeftTrackerInContent",value:()=>!0},{kind:"field",decorators:[Za()],key:"_isIntersectionRightTrackerInContent",value:()=>!0},{kind:"field",key:"_observerIntersection",value:()=>null},{kind:"field",decorators:[Za()],key:"_pageIsRTL",value(){return"rtl"===this.ownerDocument.documentElement.dir}},{kind:"field",decorators:[Ka("slot")],key:"_slotNode",value:void 0},{kind:"method",key:"_cleanAndCreateIntersectionObserverContainer",value:function({create:e}={}){const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;this._observerIntersection&&(this._observerIntersection.disconnect(),this._observerIntersection=null),e&&(this._observerIntersection=new IntersectionObserver(this._observeIntersectionContainer,{root:this,threshold:0}),t&&this._observerIntersection.observe(t),i&&this._observerIntersection.observe(i))}},{kind:"method",key:"_handleSlotChange",value:function(e){this._childItems=e.target.assignedNodes().filter((e=>{var t,i;return null===(t=(i=e).matches)||void 0===t?void 0:t.call(i,"dds-megamenu-top-nav-menu")})),this._paginateRight({onLoad:!0})}},{kind:"field",key:"_observeIntersectionContainer",value(){return e=>{const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;e.forEach((({isIntersecting:e,target:o})=>{o===t&&(this._isIntersectionLeftTrackerInContent=e),o===i&&(this._isIntersectionRightTrackerInContent=e)}))}}},{kind:"method",key:"_paginateLeft",value:function(){const{_caretLeftNode:e,_caretRightNode:t,_contentContainerNode:i,_currentScrollPosition:o,_isIntersectionRightTrackerInContent:r,_navNode:n,_pageIsRTL:a,_slotNode:s}=this,d=null==s?void 0:s.assignedElements();if(d)if(a){const r=this._isIntersectionLeftTrackerInContent?e.offsetWidth:0,a=n.getBoundingClientRect().right,s=d.findIndex((e=>e.getBoundingClientRect().left<a-o-t.offsetWidth));s>=0&&(this._currentScrollPosition=Math.max(a-d[s].getBoundingClientRect().left-i.offsetWidth+r+t.offsetWidth+8,0))}else{const a=r?t.offsetWidth+8:8,s=this._isIntersectionLeftTrackerInContent?e.offsetWidth+8:0,l=n.getBoundingClientRect().left,c=function(e,t,i){for(let o=e.length-1;o>=0;--o)if(t(e[o],o,i))return o;return-1}(d,(e=>e.getBoundingClientRect().left-l<o));if(c>=0){const t=d[c].getBoundingClientRect().right-l-(i.offsetWidth+s-a);this._currentScrollPosition=t<=e.offsetWidth?0:t}}}},{kind:"method",key:"_paginateRight",value:async function({onLoad:e}={}){const{_caretLeftNode:t,_caretRightNode:i,_contentContainerNode:o,_contentNode:r,_currentScrollPosition:n,_isIntersectionLeftTrackerInContent:a,_isIntersectionRightTrackerInContent:s,_navNode:d,_pageIsRTL:l,_slotNode:c}=this;await this.updateComplete;const b=(null==c?void 0:c.assignedElements())||this._childItems;if(b&&o){const c=n+o.offsetWidth;if(l){const i=a?t.offsetWidth:0,n=d.getBoundingClientRect().right,s=e?b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8&&e.hasAttribute("active"))):b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8));if(s>0){const e=Math.abs(b[s].getBoundingClientRect().right-n+t.offsetWidth+8),a=r.scrollWidth-o.offsetWidth+i;this._currentScrollPosition=Math.min(e,a)}}else{const n=a?0:t.offsetWidth,l=s?i.offsetWidth:0,h=d.getBoundingClientRect().left,p=e?b.findIndex((e=>e.getBoundingClientRect().right-h>c&&e.hasAttribute("active"))):b.findIndex((e=>e.getBoundingClientRect().right-h>c));if(p>0){const e=b[p].getBoundingClientRect().left-h-8,t=r.scrollWidth-(o.offsetWidth-l+n);this._currentScrollPosition=Math.min(e,t)}}}}},{kind:"method",key:"_handleOnKeyDown",value:function(e){const t=e.target,{_pageIsRTL:i,_navNode:o,_currentScrollPosition:r,_contentContainerNode:n,_caretRightNode:a}=this;t&&(i?"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&a&&t.previousElementSibling.getBoundingClientRect().right+r>o.getBoundingClientRect().right-a.offsetWidth&&this._paginateLeft():t.nextElementSibling&&a&&o.getBoundingClientRect().right-t.nextElementSibling.getBoundingClientRect().left>r+n.offsetWidth-a.offsetWidth&&this._paginateRight()):"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&t.previousElementSibling.getBoundingClientRect().left-o.getBoundingClientRect().left<r&&this._paginateLeft():t.nextElementSibling&&Math.floor(t.nextElementSibling.getBoundingClientRect().right-o.getBoundingClientRect().left)>r+n.offsetWidth&&this._paginateRight()))}},{kind:"field",decorators:[bs("parentRoot:eventToggleSearch")],key:"_handleSearchToggle",value(){return e=>{void 0!==e.detail.active&&(this.hideNav=e.detail.active)}}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"method",key:"connectedCallback",value:function(){Sp(zp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateIntersectionObserverContainer({create:!0}),this.removeAttribute("role")}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateIntersectionObserverContainer(),Sp(zp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(e){e.has("selectedMenuItem")&&this._paginateRight({onLoad:!0})}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer(),!0}},{kind:"method",key:"updated",value:function(e){e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer({create:!0}),e.has("_currentScrollPosition")&&this._contentNode&&(this._contentNode.style.insetInlineStart=`-${this._currentScrollPosition}px`)}},{kind:"method",key:"render",value:function(){const{_isIntersectionLeftTrackerInContent:e,_isIntersectionRightTrackerInContent:t,_handleSlotChange:i,_paginateLeft:o,_paginateRight:r,_pageIsRTL:n,_handleOnKeyDown:a}=this,s=Fs({[`${Tp}--header__nav-caret-left-container`]:!0,[`${Ap}-ce--header__nav-caret-container--hidden`]:e}),d=Fs({[`${Tp}--header__nav-caret-right-container`]:!0,[`${Ap}-ce--header__nav-caret-container--hidden`]:t});return this.hideNav?void 0:$a(hp||(hp=up` ${0} `),n?$a(pp||(pp=up` <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-right"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-left"></div> </nav> </div> </div> <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> `),d,Tp,Tp,r,sp(),Ap,Tp,Tp,Tp,Tp,ls(this.menuBarLabel),i,a,Tp,s,Tp,o,dp(),Tp):$a(xp||(xp=up` <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-left"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-right"></div> </nav> </div> </div> <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> `),s,Tp,o,sp(),Tp,Ap,Tp,Tp,Tp,Tp,ls(this.menuBarLabel),i,a,Tp,d,Tp,Tp,r,dp()))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Ap}--masthead__l0-nav`}},{kind:"get",static:!0,key:"eventToggleSearch",value:function(){return`${Ap}-search-with-typeahead-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(xs(fp)));function Cp(){Cp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Rp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Lp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Lp(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=jp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:$p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=$p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Op(e){var t,i=jp(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Dp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Rp(e){return e.decorators&&e.decorators.length}function Ip(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $p(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function jp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Lp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:Np}=t;!function(e,t,i,o){var r=Cp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Ip(n.descriptor)||Ip(r.descriptor)){if(Rp(n)||Rp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Rp(n)){if(Rp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Dp(n,r)}else t.push(n)}return t}(a.d.map(Op)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Np}-top-nav-l1`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_handleSearchToggle",value:()=>()=>{}},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!0},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Np}--masthead__l1-nav`}}]}}),Pp);let Mp,qp,Up=e=>e;const{prefix:Bp}=Hs;let Fp=id([Xs(`${Bp}-header-name`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[Qa()],key:"href",value:void 0},{kind:"field",decorators:[Qa()],key:"prefix",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(Mp||(Mp=Up` <span part="prefix" class="${0}--header__name--prefix">${0}</span> `),Bp,t):void 0;return $a(qp||(qp=Up` <a part="link" class="${0}--header__name" href="${0}">${0} <slot></slot></a> `),Bp,ds(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>Qc}]}}),pd(as));var Hp=1/0,Gp=17976931348623157e292;function Vp(e){var t=function(e){return e?(e=ol(e))===Hp||e===-Hp?(e<0?-1:1)*Gp:e==e?e:0:0===e?e:0}(e),i=t%1;return t==t?i?t-i:t:0}var Wp=Math.max,Xp=Math.min;var Yp,Qp=(Yp=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return void 0!==i&&(r=Vp(i),r=i<0?Wp(o+r,0):Xp(r,o-1)),function(e,t,i,o){for(var r=e.length,n=i+(o?1:-1);o?n--:++n<r;)if(t(e[n],n,e))return n;return-1}(e,Ni(t),r,!0)},function(e,t,i){var o=Object(e);if(!Rt(e)){var r=Ni(t);e=It(e),t=function(e){return r(o[e],e,o)}}var n=Yp(e,t,i);return n>-1?o[r?e[n]:n]:void 0});let Zp,Kp,Jp=e=>e;function ex(){ex=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!ox(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return sx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=ax(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:nx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=nx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tx(e){var t,i=ax(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ix(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function ox(e){return e.decorators&&e.decorators.length}function rx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ax(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function sx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function dx(){return dx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},dx.apply(this,arguments)}function lx(e){return lx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lx(e)}const{prefix:cx}=Hs,{stablePrefix:bx}=t,hx=Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,px=Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY;let xx,fx,ux=function(e,t,i,o){var r=ex();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rx(n.descriptor)||rx(r.descriptor)){if(ox(n)||ox(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ox(n)){if(ox(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ix(n,r)}else t.push(n)}return t}(a.d.map(tx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${bx}-left-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",key:"_hFocusWrap",value:()=>null},{kind:"field",decorators:[Ka("#start-sentinel")],key:"_startSentinelNode",value:void 0},{kind:"field",decorators:[Ka("#end-sentinel")],key:"_endSentinelNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean})],key:"_importedSideNav",value:()=>!1},{kind:"field",decorators:[bs("document:dds-request-focus-wrap")],key:"_handleRequestMenuButtonFocusWrap",value(){return e=>{var t,i;const{selectorButtonToggle:o}=this.constructor;if(e.target===this){const e=this.getRootNode().querySelector(o);e&&e.focus()}else if(null!==(t=(i=e.target).matches)&&void 0!==t&&t.call(i,o)){const{comparisonResult:t}=e.detail,{selectorExpandedMenuSection:i,selectorTabbable:o}=this.constructor,d=this.querySelector(i);if(-1===t){const e=(n=this.querySelectorAll(o),a=e=>Boolean(e.offsetParent),Array.prototype.find.call(n,a,s));e&&e.focus()}else if(t&hx){const e=Qp(null==d?void 0:d.querySelectorAll(o),(e=>Boolean(e.offsetParent)));e&&e.focus()}else if(t&px){var r;const e=[...Array.from((null==d||null===(r=d.shadowRoot)||void 0===r?void 0:r.querySelectorAll(o))||[]),...Array.from((null==d?void 0:d.querySelectorAll(o))||[])];e.length&&e[0].focus()}}var n,a,s}}},{kind:"method",key:"_handleClickOut",value:function(e){const{target:t}=e,{selectorButtonToggle:i}=this.constructor,o=this.getRootNode().querySelector(i);this.expanded&&t instanceof Element&&null===t.closest(i)&&null===t.closest(this.tagName)&&(this.expanded=!1,null==o||o.focus())}},{kind:"method",decorators:[bs("keydown")],key:"_handleKeydown",value:function(e){const{selectorButtonToggle:t}=this.constructor,i=this.getRootNode().querySelector(t);"Escape"===e.key&&(this.expanded=!1,null==i||i.focus())}},{kind:"field",decorators:[bs("parentRoot:eventToggle")],key:"_handleContentStateChangeDocument",value(){return e=>{const{selectorMenuSections:t}=this.constructor,{panelId:i}=e.detail,o=Array.from(this.querySelectorAll(t)),r=o.filter((e=>e.matches("[expanded]"))).shift(),n=o.filter((e=>e.matches(`[section-id="${i}"]`))).shift();if(void 0!==r&&void 0!==n&&r!==n){const e=i.split(", ");n.expanded=!0,n.ariaHidden="false",n.transition=!1,r.expanded=!1,r.ariaHidden="true","-1"===e[0]||"-1"===e[1]||n.matches('[section-id*=" -1"]')||(r.transition=!0)}}}},{kind:"field",decorators:[Qa({reflect:!0,attribute:"usage-mode"})],key:"usageMode",value:()=>Hc.HEADER_NAV},{kind:"method",key:"connectedCallback",value:function(){dx(lx(i.prototype),"connectedCallback",this).call(this),document.addEventListener("click",this._handleClickOut.bind(this))}},{kind:"method",key:"updated",value:function(e){dx(lx(i.prototype),"updated",this).call(this,e);const{usageMode:t}=this;if(e.has("usageMode")&&t!==Hc.HEADER_NAV&&console.warn("dds-left-nav supports only `header-nav` for its `usage-mode` attribute or `usageMode` property. The value is ignored:",t),e.has("expanded")){var o;const e=this.getRootNode();Ks(e.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const{expanded:t,_startSentinelNode:i,_endSentinelNode:r}=this,n=null==e||null===(o=e.querySelector(`${bx}-cloud-masthead-container,\n ${bx}-cloud-masthead-composite,\n ${bx}-masthead-container,\n ${bx}-masthead-composite`))||void 0===o?void 0:o.querySelector(`${bx}-masthead`);if(t&&!this._importedSideNav&&(Promise.resolve().then((function(){return Ox})),import("./left-nav-menu-5cbd0c1f.js"),import("./left-nav-menu-section-fdc1ca98.js"),import("./left-nav-menu-item-0eae70fc.js"),import("./left-nav-menu-category-heading-ff2395af.js"),import("./left-nav-overlay-73a790f4.js"),this._importedSideNav=!0),t&&n)this._hFocusWrap=ob(this.shadowRoot,[i,r]),document.body.style.overflow="hidden",n.style.position="fixed";else{const{selectorMenuSections:e,selectorFirstMenuSection:t}=this.constructor;n&&(document.body.style.overflow="auto",n.style.position=""),this.querySelectorAll(e).forEach((e=>{e.expanded=!1,e.transition=!1})),this.querySelectorAll(t).forEach((e=>{e.expanded=!0})),this._hFocusWrap&&(this._hFocusWrap=this._hFocusWrap.release())}}}},{kind:"field",key:"_renderSentinel",value:()=>e=>$a(Zp||(Zp=Jp` <button id="${0}-sentinel" type="button" class="${0}--visually-hidden"></button> `),e,cx)},{kind:"method",key:"render",value:function(){const{_renderSentinel:e}=this;return $a(Kp||(Kp=Jp` <div class="${0}--side-nav__wrapper"> ${0} <div class="${0}--side-nav__platform-name"> <slot name="platform-id"></slot> </div> <div class="${0}--side-nav__menu-sections"> <slot></slot> </div> ${0} </div> `),cx,e("start"),cx,cx,e("end"))}},{kind:"get",static:!0,key:"selectorButtonToggle",value:function(){return`${bx}-masthead-menu-button`}},{kind:"get",static:!0,key:"selectorNavItems",value:function(){return[`${bx}-left-nav-item`,`${bx}-left-nav-menu`,`${bx}-left-nav-menu-item`,`${bx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorMenuSections",value:function(){return`${bx}-left-nav-menu-section`}},{kind:"get",static:!0,key:"selectorExpandedMenuSection",value:function(){return`${bx}-left-nav-menu-section[expanded]`}},{kind:"get",static:!0,key:"selectorFirstMenuSection",value:function(){return`${bx}-left-nav-menu-section[section-id='-1, -1']`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return[hd,`${bx}-left-nav-item`,`${bx}-left-nav-menu`,`${bx}-left-nav-menu-item`,`${bx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${bx}-left-nav-overlay`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${bx}--masthead__l0-sidenav`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${bx}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Vs(Yc)),gx=e=>e;function mx(){mx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!yx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Sx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Sx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ex(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:kx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=kx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function vx(e){var t,i=Ex(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function _x(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function yx(e){return e.decorators&&e.decorators.length}function wx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function kx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ex(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Sx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function zx(){return zx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Tx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},zx.apply(this,arguments)}function Tx(e){return Tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tx(e)}const{prefix:Ax}=Hs,{stablePrefix:Px}=t;let Cx=function(e,t,i,o){var r=mx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(wx(n.descriptor)||wx(r.descriptor)){if(yx(n)||yx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(yx(n)){if(yx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}_x(n,r)}else t.push(n)}return t}(a.d.map(vx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Px}-left-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Qa({type:String,attribute:"slot",reflect:!0})],key:"slot",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){zx(Tx(i.prototype),"connectedCallback",this).call(this),this.parentElement instanceof ux&&(this.slot="platform-id")}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(xx||(xx=gx` <span class="${0}--header__name--prefix">${0}</span> `),Ax,t):void 0;return $a(fx||(fx=gx` <a class="${0}--side-nav__submenu ${0}--side-nav__submenu-platform" href="${0}"> ${0} <slot></slot> </a> `),Ax,Ax,ls(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Fp);var Ox=Object.freeze({__proto__:null,default:Cx});let Dx,Rx,Ix=e=>e;function $x(){$x=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Nx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Bx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bx(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=Ux(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:qx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=qx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function jx(e){var t,i=Ux(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Lx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Nx(e){return e.decorators&&e.decorators.length}function Mx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function qx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Ux(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function Bx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Fx(){return Fx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Fx.apply(this,arguments)}function Hx(e){return Hx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hx(e)}const{prefix:Gx}=Hs,{stablePrefix:Vx}=t;let Wx=function(e,t,i,o){var r=$x();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Mx(n.descriptor)||Mx(r.descriptor)){if(Nx(n)||Nx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Nx(n)){if(Nx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Lx(n,r)}else t.push(n)}return t}(a.d.map(jx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${Vx}-top-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"method",key:"connectedCallback",value:function(){Fx(Hx(i.prototype),"connectedCallback",this).call(this);const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!0)}},{kind:"method",key:"disconnectedCallback",value:function(){const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!1),Fx(Hx(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?$a(Dx||(Dx=Ix` <span class="${0}--header__name--prefix">${0}</span> `),Gx,t):void 0;return $a(Rx||(Rx=Ix` <a class="${0}--header__name" href="${0}">${0}<slot></slot></a> `),Gx,ls(e),i)}},{kind:"get",static:!0,key:"selectorTopNav",value:function(){return`${Vx}-top-nav`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Vx}--masthead__platform-name`}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Cx);function Xx(){Xx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Zx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return tf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?tf(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=ef(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Jx(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=Jx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Yx(e){var t,i=ef(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Qx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Zx(e){return e.decorators&&e.decorators.length}function Kx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Jx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ef(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function tf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function of(){return of="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=rf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},of.apply(this,arguments)}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rf(e)}const{stablePrefix:nf}=t;function af(){af=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!lf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return pf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?pf(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var i=hf(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:bf(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var i=bf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function sf(e){var t,i=hf(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function df(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function lf(e){return e.decorators&&e.decorators.length}function cf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function bf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function hf(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function pf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}!function(e,t,i,o){var r=Xx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Kx(n.descriptor)||Kx(r.descriptor)){if(Zx(n)||Zx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Zx(n)){if(Zx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Qx(n,r)}else t.push(n)}return t}(a.d.map(Yx)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${nf}-top-nav-item`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[Ka('[part="link"]')],key:"_linkNode",value:void 0},{kind:"field",decorators:[Qa({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){if(of(rf(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_linkNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}}},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role"))),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>fl}]}}),Xb);const{stablePrefix:xf}=t;!function(e,t,i,o){var r=af();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(cf(n.descriptor)||cf(r.descriptor)){if(lf(n)||lf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(lf(n)){if(lf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}df(n,r)}else t.push(n)}return t}(a.d.map(sf)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([Xs(`${xf}-top-nav-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>fl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),Qb);
|
|
734
734
|
/**
|
|
735
735
|
* @license
|
|
736
736
|
*
|