i part="list-item" class="${(e,t)=>e.id===t.parent.showPipeSeparatorId&&"pipe"}">
        <cs-super-nav-horizontal-item
            active=${(e,t)=>e.id===t.parent.activeId||null}
            data-t="${e=>e.telemetryMetadata}"
            href="${e=>e.href}"
            id="${e=>e.id}"
            @click="${(e,t)=>t.parent.onNavItemClick(e)}"
            @keypress="${(e,t)=>t.parent.onNavItemKeyPress(t.event,e)}"
        >
            ${(0,y.g)((e=>e.glyph),w.d`
                    <span slot="start">
                        ${e=>w.d`${e.glyph}`}
                    </span>
                `)}
            ${e=>e.display}
        </cs-super-nav-horizontal-item>
    </li>
`,S=w.d`
    <div
        class=${e=>e.isOverflowing?"overflowContainer":"overflowContainer hidden"}
    >
        <fluent-button
            appearance="stealth"
            aria-expanded="${e=>e.showMenu?"true":null}"
            aria-haspopup="true"
            aria-label="${e=>e.localizedStrings.overflowButtonTooltip||null}"
            class="overflowButton ${e=>e.useTranslucentStyles?"translucent":""}"
            data-t="${e=>e.overflowTelemetryTag}"
            id="${L}"
            title="${e=>e.localizedStrings.overflowButtonTooltip||null}"
            type="button"
            @click=${(e,t)=>e.toggleOverflowMenu(t.event)}
        >
            ${$()}
        </fluent-button>
        <ul
            aria-labelledby="${L}"
            class="${e=>e.showMenu?"overflowMenu":"hidden"} ${e=>e.overflowDropDownAbove?"overflowUp":""}"
            ${(0,b.i)("navOverflow")}
        >
            ${(0,x.rx)((e=>e.overflowItems),O)}
        </ul>
    </div>
`,T=w.d`
    <template role="navigation">
        <ul
            class="list ${e=>e.useTranslucentStyles?"translucent":""}"
            part="list"
            ${(0,b.i)("navContainer")}
        >
            ${(0,x.rx)((e=>e.navItemData),O)}
        </ul>
        ${S}
    </template>
`,M=c.compose({baseName:"super-nav-horizontal",template:T,styles:(e,t)=>h.i`
    ${(0,v.j)("flex")} :host {
        align-items: center;
        colormargin: ${g.CHi};
        fill: ${g.CHi};
    }
    .active .control {
        border-bottom-color: ${g.XiB};
        color: ${g.CHi};
        fill: ${g.CHi};
        font-weight: 600;
    }
    .active .control:hover {
        border-bottom-color: ${g.XiB};
    }
    .active .control:active {
        border-bottom-color: ${g.XiB};
    }
    .control {
        align-items: center;
        border-bottom: 2px solid transparent;
        box-sizing: border-box;
        color: ${g.CHi};
        cursor: pointer;
        fill: ${g.CHi};
        font-size: ${g.cSu};
        justify-content: center;
        line-height: ${g.RUt};
        outline: none;
        text-decoration: none;
        white-space: nowrap;
    }
    .control:hover {
        border-bottom-color: ${g.XiB};
    }
    .control:active {
        border-bottom-color: ${g.CHi};
    }
    .control::-moz-focus-inner {
        border: 0;
    }
    fluent-anchor {
        border-radius: calc(${g.UWU} * 1px);
        border-radius: calc(${g.UWU} * 1px);
        border: calc(${g.vxp} * 1px) solid transparent;
        border: calc(${g.vxp} * 1px) solid transparent;
        font-family: ${g.SVJ};
        font-family: ${g.SVJ};
        outline: none;
        outline: none;
    }
    fluent-anchor([active]:${u.b}),
    fluent-anchor(:${u.b}) {
        border-color: ${g.yGg};
    }
    fluent-anchor(.disabled) {
        opacity: var(--disabled-opacity);
    }
    fluent-anchor::slotted([slot="start"]) {
        vertical-align: middle;
    }
    .hidden {
        visibility: hidden;
    }
    li {
        display: flex;
        list-style: none;
        padding: 0 16px;
    }
    li:first-child {
        padding-inline-start: 0;
    }
    li:last-child,
    li.pipe {
        padding-inline-end: 0;
    }
    .list {
        align-items: center;
        display: inline-flex;
        height: auto;
        list-style: none;
        margin: 0;
        overflow: hidden;
        padding-inline: 0 15px;
    }
    .overflowContainer {
        position: relative;
    }
    .overflowContainer fluent-button svg {
        vertical-align: middle;
    }
    .overflowContainer .hidden {
        display: none;
    }
    .overflowContainer ul li {
        margin: 0 calc((10 + (var(--design-unit) * 2 * var(--density))) * 1px);
        padding: 5px 0;
    }
    .overflowButton {
        --neutral-fill-stealth-rest: transparent;
    }
    .overflowMenu {
        --elevation: 11;
        ${m.XC}
        background: ${g.s55};
        border-radius: ${g.rSr};
        border: calc(${g.Han} * 1px) solid transparent;
        inset-inline-end: 0;
        margin: 0;
        max-width: 368px;
        min-width: 100px;
        padding: 0;
        position: absolute;
    }
    .overflowUp {
        bottom: 30px;
    }
    .pipe::after {
        align-self: center;
        border-inline-end: 1px solid #cecece;
        content: "";
        height: 14px;
        padding-inline-start: 18px;
    }
    .translucent {
        --neutral-fill-stealth-active: rgb(64, 64, 64);
        --neutral-fill-stealth-hover: rgb(64, 64, 64);
        --neutral-layer-floating: rgb(64, 64, 64);
        --neutral-fill-stealth-rest: transparent;
        --neutral-foreground-active: white;
        --neutral-foreground-rest: white;
    }
    `.withBehaviors((0,p.vF)(h.i`
                .active .control {
                    border-bottom-color: ${f.H.LinkText};
                    color: ${f.H.LinkText};
                    fill: currentColor;
                }

                .control {
                    border-bottom-color: ${f.H.ButtonFace};
                    color: ${f.H.LinkText};
                    fill: currentColor;
                }
            `)),shadowOptions:{delegatesFocus:!0}});var k=n(51208);const H=w.d`
    <a
        aria-current="${e=>e.active?"page":"false"}"
        class="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        role=${e=>e.href?void 0:"link"}
        tabindex="0"
        target="${e=>e.target}"
        type="${e=>e.type}"
    >
        ${k.m9}
        <span class="content" part="content">
            <slot></slot>
        </span>
    </a>
`,B=C.compose({baseName:"super-nav-horizontal-item",template:H,styles:(e,t)=>h.i`
    ${(0,v.j)("flex")} :host {
        border-radius: calc(${g.UWU} * 1px);
        border: calc(${g.vxp} * 1px) solid transparent;
        font-family: ${g.SVJ};
        outline: none;
    }
    :host([active]) .control {
        font-weight: 700;
    }
    :host([active]) .control:hover {
        border-bottom-color: ${g.XiB};
    }
    :host([active]) .control:active {
        border-bottom-color: ${g.XiB};
    }
    :host([active]:${u.b}),
    :host(:${u.b}) {
        border-color: ${g.yGg};
    }
    :host(.disabled) {
        opacity: ${g.VFZ};
    }
    ::slotted([slot="start"]) {
        display: inline-flex;
        vertical-align: sub;
    }
    .control {
        align-items: center;
        border-bottom: 2px solid transparent;
        box-sizing: border-box;
        color: ${g.CHi};
        cursor: pointer;
        fill: ${g.CHi};
        font-size: ${g.cSu};
        justify-content: center;
        line-height: ${g.RUt};
        outline: none;
        text-decoration: none;
        white-space: nowrap;
    }
    .control:hover {
        border-bottom-color: ${g.XiB};
    }
    .control:active {
        border-bottom-color: ${g.CHi};
    }
    .control::-moz-focus-inner {
        border: 0;
    }
    .control:${u.b} {
        border-bottom-color: ${g.yGg};

    }
    `.withBehaviors((0,p.vF)(h.i`
                .control {
                    border-bottom-color: ${f.H.ButtonFace};
                    color: ${f.H.LinkText};
                    fill: currentColor;
                }

                :host([active]) .control {
                    border-bottom-color: ${f.H.LinkText};
                    color: ${f.H.LinkText};
                    fill: currentColor;
                }
            `)),shadowOptions:{delegatesFocus:!0}});var F=n(12968),D=n(31702);class E extends l.I{constructor(){super(...arguments),this.closeButtonTelemetryTag="",this.closeButtonTooltip="",this.flattenedNavItems=[],this.forceOpenMenu=!1,this.hamburgerMenuButtonTelemetryTag="",this.isMenuVisible=!1,this.menuButtonTooltip="",this.navItems=[],this.selectedNavId="",this.useMobileStyles=!1,this.useTranslucentStyles=!1,this.verticalNavTelemetryTag="",this.handleDocumentKeydown=e=>{e.defaultPrevented||"Escape"!==e.code||this.closeMenu()},this.onMenuFocusout=e=>{this.menuRef.contains(e.relatedTarget)||this.closeMenu()},this.onOverlayClick=e=>{const t=e.target&&e.target.getAttribute("class");t&&t.includes("overlay")&&this.closeMenu()},this.onSelectedChange=e=>{if(e.stopPropagation(),!e.target||!this.flattenedNavItems.length)return;if(!(0,D.t)(e.target))return;if(!e.target.selected||!e.target.id)return;const t=e.target.id,n=this.flattenedNavItems.find((e=>e.id===t));n&&(this.$emit("change",{selectedNav:n}),this.selectedNavId=t,this.closeMenu())}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),(0,a.N6)("navBar",(e=>{this.useTranslucentStyles="translucentBackground"===e}))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown)}navItemsChanged(e,t){t&&(this.flattenedNavItems=[...t],t.forEach((e=>{e.children&&this.flattenedNavItems.push(...e.children)})))}closeMenu(){this.isMenuVisible=!1,(0,s.Gg)(s.tk.hamburgerMenu,!1),this.menuOverlay&&this.menuOverlay.removeEventListener("click",this.onOverlayClick),this.menuButton&&this.menuButton.focus()}openMenu(){this.isMenuVisible=!0,(0,s.Gg)(s.tk.hamburgerMenu,!0),F.SO.queueUpdate((()=>{this.closeButton&&this.closeButton.focus(),this.menuOverlay&&this.menuOverlay.addEventListener("click",this.onOverlayClick)}))}}(0,o.gn)([r.LO],E.prototype,"closeButtonTelemetryTag",void 0),(0,o.gn)([(0,z.Lj)({attribute:"close-button-tooltip"})],E.prototype,"closeButtonTooltip",void 0),(0,o.gn)([(0,z.Lj)({mode:"boolean"})],E.prototype,"forceOpenMenu",void 0),(0,o.gn)([r.LO],E.prototype,"hamburgerMenuButtonTelemetryTag",void 0),(0,o.gn)([r.LO],E.prototype,"isMenuVisible",void 0),(0,o.gn)([(0,z.Lj)({attribute:"menu-button-tooltip"})],E.prototype,"menuButtonTooltip",void 0),(0,o.gn)([r.LO],E.prototype,"navItems",void 0),(0,o.gn)([r.LO],E.prototype,"selectedNavId",void 0),(0,o.gn)([(0,z.Lj)({attribute:"use-mobile-styles",mode:"boolean"})],E.prototype,"useMobileStyles",void 0),(0,o.gn)([r.LO],E.prototype,"useTranslucentStyles",void 0),(0,o.gn)([r.LO],E.prototype,"verticalNavTelemetryTag",void 0);var V=n(63070),A=n(98593),P=n(2658);var j=n(41067),U=n.n(j),R=n(2850),G=n.n(R);const Z=w.d`
    <cs-super-nav-vertical-item
        data-t="${e=>e.telemetryMetadata}"
        id=${e=>e.id}
        nested
        :selected="${(e,t)=>e.id===t.parentContext.parent.selectedNavId}"
    >
        ${e=>e.display}
        ${(0,y.g)((e=>e.glyph),w.d`
            <div slot="start" :innerHTML=${e=>e.glyph}></div>
        `)}
    </cs-super-nav-vertical-item>
`,_=w.d`
    <cs-super-nav-vertical-item
        data-t="${e=>e.telemetryMetadata}"
        id=${e=>e.id}
        :selected="${(e,t)=>e.id===t.parent.selectedNavId}"
    >
        ${e=>e.display}
        ${(0,y.g)((e=>e.glyph),w.d`
            <div slot="start" :innerHTML=${e=>e.glyph}></div>
        `)}
        ${(0,y.g)((e=>e.children),w.d`
            ${(0,x.rx)((e=>e.children||[]),Z)}
        `)}
    </cs-super-nav-vertical-item>
    ${(0,y.g)((e=>e.showDivider),w.d`
        <fluent-divider class="separator" role="presentation"></fluent-divider>
    `)}
`,W=w.d`
    <div class="menu-header">
        <slot name="logo">
            <span class="logo">
                ${'<svg width="106" height="22" viewBox="0 0 106 22"><path d="M45.2 4.4v13.2h-2.28V7.24h-.03L38.82 17.6H37.3L33.13 7.24h-.03V17.6H31V4.4h3.28l3.78 9.78h.06L42.1 4.4h3.1Zm1.89 1c0-.36.12-.66.4-.9.27-.25.57-.37.94-.37.4 0 .73.12.97.4.24.24.4.54.4.9 0 .38-.13.68-.4.93-.28.24-.58.36-.97.36-.4 0-.7-.12-.95-.36-.24-.31-.4-.62-.4-.95Zm2.46 2.73v9.47h-2.22V8.13h2.22Zm6.72 7.85c.34 0 .7-.1 1.1-.24.4-.16.76-.37 1.1-.61v2.07c-.37.22-.77.37-1.23.46-.45.1-.94.15-1.49.15a4.46 4.46 0 0 1-4.68-4.67 5.4 5.4 0 0 1 1.34-3.76c.88-.98 2.13-1.47 3.77-1.47.43 0 .82.07 1.25.16a6 6 0 0 1 1 .36v2.14A4.4 4.4 0 0 0 57.4 10a2.8 2.8 0 0 0-1.1-.21c-.88 0-1.58.27-2.13.85a3.23 3.23 0 0 0-.82 2.33c0 .94.25 1.7.76 2.23.58.52 1.28.8 2.16.8Zm8.49-8a2.45 2.45 0 0 1 .85.12v2.26c-.12-.1-.28-.15-.52-.25-.21-.09-.49-.12-.82-.12-.55 0-1 .25-1.37.7-.36.46-.58 1.17-.58 2.14v4.77H60.1V8.13h2.22v1.5h.03c.22-.52.52-.92.92-1.23.42-.27.9-.42 1.49-.42Zm.97 5.04c0-1.56.42-2.81 1.3-3.73a4.85 4.85 0 0 1 3.69-1.38c1.46 0 2.61.43 3.43 1.32a5.06 5.06 0 0 1 1.25 3.57c0 1.53-.43 2.75-1.3 3.67a4.73 4.73 0 0 1-3.6 1.37 4.67 4.67 0 0 1-3.46-1.28 4.81 4.81 0 0 1-1.31-3.54Zm2.31-.1c0 .98.21 1.75.67 2.27.46.52 1.1.8 1.92.8.82 0 1.42-.28 1.85-.8.43-.52.64-1.29.64-2.33 0-1-.21-1.77-.67-2.29-.43-.52-1.03-.76-1.82-.76-.83 0-1.43.27-1.89.82-.49.52-.7 1.29-.7 2.3Zm10.64-2.29c0 .3.1.58.3.77.22.18.65.4 1.35.67.88.37 1.52.76 1.85 1.2.37.45.55.97.55 1.61 0 .89-.34 1.62-1.04 2.14-.66.55-1.6.82-2.76.82a7.17 7.17 0 0 1-2.53-.51v-2.2c.4.27.85.51 1.31.67.46.15.88.24 1.28.24.48 0 .88-.06 1.1-.21.24-.15.36-.37.36-.7 0-.31-.12-.59-.37-.77a5.6 5.6 0 0 0-1.4-.73 4.18 4.18 0 0 1-1.73-1.16 2.6 2.6 0 0 1-.52-1.65c0-.86.34-1.56 1-2.11a4 4 0 0 1 2.62-.83c.34 0 .7.03 1.1.13.4.06.76.18 1.03.27v2.1c-.3-.17-.64-.36-1.03-.51a3.2 3.2 0 0 0-1.16-.21c-.42 0-.76.09-.97.24a.98.98 0 0 0-.34.73Zm5 2.39c0-1.56.42-2.81 1.3-3.73a4.85 4.85 0 0 1 3.68-1.38c1.46 0 2.61.43 3.44 1.32a5.06 5.06 0 0 1 1.24 3.57c0 1.53-.42 2.75-1.3 3.67a4.73 4.73 0 0 1-3.6 1.37 4.67 4.67 0 0 1-3.46-1.28 4.94 4.94 0 0 1-1.3-3.54Zm2.3-.1c0 .98.22 1.75.67 2.27.46.52 1.1.8 1.92.8.82 0 1.43-.28 1.85-.8.43-.52.64-1.29.64-2.33 0-1-.21-1.77-.67-2.29-.42-.52-1.03-.76-1.82-.76-.82 0-1.43.27-1.89.82-.45.52-.7 1.29-.7 2.3Zm14.72-2.96H97.4v7.64h-2.25V9.96h-1.59V8.13h1.59V6.8c0-1 .33-1.8.97-2.44a3.31 3.31 0 0 1 2.46-.95c.28 0 .52 0 .73.03.22.03.4.06.55.13V5.5c-.06-.03-.21-.1-.4-.15-.18-.06-.4-.1-.63-.1-.46 0-.83.16-1.07.43-.24.3-.36.74-.36 1.29V8.1h3.31V5.96l2.22-.67v2.8h2.25v1.84h-2.25v4.43c0 .58.1 1.01.3 1.22.22.25.55.37 1 .37.13 0 .28-.03.47-.1.18-.05.33-.11.48-.2v1.83a5.24 5.24 0 0 1-1.67.3c-.94 0-1.64-.24-2.1-.76-.46-.49-.7-1.25-.7-2.26v-4.8Z"/><path d="M10.4 0H0v10.45h10.4V0Z" fill="#F25022"/><path d="M21.9 0H11.5v10.45h10.4V0Z" fill="#7FBA00"/><path d="M10.4 11.55H0V22h10.4V11.55Z" fill="#00A4EF"/><path d="M21.9 11.55H11.5V22h10.4V11.55Z" fill="#FFB900"/></svg>'}
            </span>
        </slot>
        <fluent-button
            appearance="stealth"
            aria-label="${e=>e.closeButtonTooltip}"
            class="close-button"
            data-t="${e=>e.closeButtonTelemetryTag}"
            tabindex="0"
            title="${e=>e.closeButtonTooltip}"
            @click="${e=>e.closeMenu()}"
            ${(0,b.i)("closeButton")}
        >
            ${U()}
        </fluent-button>
    </div>
`,K=w.d`
    <div class="menu-header">
        <span class="mobile-header">
            <slot name="mobile-header"></slot>
        </span>
    </div>
    <fluent-divider class="separator" role="presentation"></fluent-divider>
`,X=w.d`
    <div
        class="overlay ${e=>e.useMobileStyles?"mobile":""}"
        part="overlay"
        ${(0,b.i)("menuOverlay")}
    >
        <div
            class="menu"
            data-t="${e=>e.verticalNavTelemetryTag}"
            part="menu"
            @focusout="${(e,t)=>e.onMenuFocusout(t.event)}"
            ${(0,b.i)("menuRef")}
        >
            ${(0,y.g)((e=>e.useMobileStyles),K)}
            ${(0,y.g)((e=>!e.useMobileStyles),W)}
            <div class="menu-content" part="menu-content">
                <fluent-tree-view
                    @selected-change="${(e,t)=>e.onSelectedChange(t.event)}"
                    ${(0,b.i)("treeView")}
                    part="tree-view"
                >
                    ${(0,x.rx)((e=>e.navItems),_)}
                </fluent-tree-view>
            </div>
        </div>
    </div>
`,q=w.d`
    <template role="navigation">
        <fluent-button
            appearance="stealth"
            aria-label="${e=>e.menuButtonTooltip}"
            class="menu-button ${e=>e.useTranslucentStyles?"translucent":""}"
            data-t="${e=>e.hamburgerMenuButtonTelemetryTag}"
            part="menu-button"
            title="${e=>e.menuButtonTooltip}"
            @click="${e=>e.openMenu()}"
            ${(0,b.i)("menuButton")}
        >
            ${G()}
        </fluent-button>
        ${(0,y.g)((e=>e.isMenuVisible||e.forceOpenMenu),X)}
    </template>
`;(0,V.z)().withShadowRootMode("closed").withElementDisambiguation((()=>i.h.ignoreDuplicate)).register((0,A.wF)());const Y=E.compose({baseName:"super-nav-vertical",template:q,styles:(e,t)=>h.i`
    ${(0,v.j)("flex")}
    :host {
        --elevation: 11;
        width: fit-content
    }
    .button-glyph {
        fill: ${g.CHi};
        height: 16px;
        width: 16px;
    }
    .close-button {
        align-items: center;
        background: ${g.s55};
        display: flex;
        justify-content: center;
        justify-self: end;
    }
    .close-button:hover {
        background: ${g.QpD};
    }
    fluent-button {
        height: calc(${P.i} * 1px);
        width: calc(${P.i} * 1px);
    }
    .hidden {
        display: none;
    }
    .logo {
        margin-inline-start: 24px;
        fill: ${g.CHi};
    }
    .menu {
        ${m.XC}
        background: ${g.s55};
        display: flex;
        flex-direction: column;
        height: 100%;
        min-width: 300px;
        top: 0;
        width: fit-content;
    }
    .menu-button {
        --neutral-fill-stealth-rest: transparent;
        align-items: center;
        justify-content: center;
    }
    .menu-content {
        align-self: flex-start;
        overflow-y: auto;
        width: 100%;
    }
    .menu-header {
        align-items: center;
        display: grid;
        grid-template-columns: auto auto;
        justify-content: stretch;
        padding: 20px;
    }
    .mobile {
        justify-content: flex-end;
    }
    .overlay {
        align-items: flex-start;
        background-color: transparent;
        display: flex;
        flex-direction: row;
        height: 100%;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
    }
    .separator {
        margin: calc(${g._5n} * 1px) 24px;
    }
    .translucent {
        --neutral-fill-stealth-active: rgb(64, 64, 64);
        --neutral-fill-stealth-hover: rgb(64, 64, 64);
        --neutral-layer-floating: rgb(64, 64, 64);
        --neutral-fill-stealth-rest: transparent;
        --neutral-foreground-active: white;
        --neutral-foreground-rest: white;
    }
    .tree-view[hidden] {
        display: none;
    }
    .tree-view {
        align-items: stretch;
        flex-direction: column;
        font-size: 0;
        min-width: fit-content;
    }
    .tree-view:focus-visible {
        outline: none;
    }
`.withBehaviors((0,p.vF)(h.i`
                .button-glyph {
                    fill: ${f.H.ButtonText};
                }
                .menu-button:hover .button-glyph,
                .menu-button:focus .button-glyph,
                .close-button:hover .button-glyph,
                .close-button:focus .button-glyph {
                    fill: ${f.H.HighlightText};
                }
            `)),shadowOptions:{delegatesFocus:!0}});var J=n(1550);class Q extends D.k{constructor(){super(...arguments),this.id="",this.handleClick=e=>{if(!e.defaultPrevented&&!this.disabled){return e.composedPath().find((e=>e instanceof HTMLElement&&(0,D.t)(e)))===this&&this.handleMenuItemSelection(e),!0}}}handleMenuItemSelection(e){this.selected||(this.selected=!this.selected,this.$emit("selected-change",e))}}(0,o.gn)([(0,z.Lj)()],Q.prototype,"id",void 0);var ee=n(22674),te=n(37139);const ne=Q.compose({baseName:"super-nav-vertical-item",template:J.W,styles:(e,t)=>h.i`
    ${(0,v.j)("block")} :host {
        background: ${g.s55};
        color: ${g.CHi};
        contain: content;
        cursor: pointer;
        font-family: ${g.SVJ};
        outline: none;
        position: relative;
        --expand-collapse-button-size: calc(${P.i} * 1px);
        --tree-item-nested-width: 0;
    }
    :host([disabled]) .content-region {
        cursor: ${te.H};
        opacity: ${g.VFZ};
    }
    :host([expanded]) > .items {
        display: block;
    }
    :host(:focus) .content-region {
        outline: none;
    }
    :host(:focus) > .positioning-region {
        outline: none;
    }
    :host(:${u.b}) .positioning-region {
        border: ${g.yGg} 1px solid;
        border-radius: calc(${g.UWU} * 1px);
        color: ${g.CHi};
    }
    :host([nested]) .content-region {
        font-size: ${g.cSu};
        font-weight: 400;
        line-height: ${g.RUt};
        margin-inline-start: var(--expand-collapse-button-size);
        position: relative;
    }
    :host([nested]) .expand-collapse-button {
        position: absolute;
    }
    :host([selected])::after {
        background: ${g.goi};
        border-radius: calc(${g.UWU} * 1px);
        content: "";
        display: block;
        height: 25px;
        position: absolute;
        top: 12px;
        width: 3px;
    }
    :host([selected]) .positioning-region {
        background: ${g.wFS};
    }
    .content-region {
        align-items: center;
        display: flex;
        font-size: ${g.PwC};
        font-weight: 600;
        height: calc(${P.i} * 1px);
        line-height: ${g.b3W};
        margin-inline-end: 20px;
        margin-inline-start: calc(${g._5n} * 2px + 2px);
        width: 100%;
        white-space: nowrap;
    }
    .content-region .start:first-child {
        margin-inline-start: 32px;
        width: 16px;
    }
    .content-region span:first-child {
        width: 58px;
    }
    .end {
        margin-inline-start: calc(${g._5n} * 2px + 2px);
    }
    .expand-collapse-button {
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        height: var(--expand-collapse-button-size);
        justify-content: center;
        outline: none;
        padding: 0;
        width: var(--expand-collapse-button-size);
    }
    .expand-collapse-glyph {
        fill: ${g.CHi};
        height: 16px;
        pointer-events: none;
        transition: transform 0.1s linear;
        width: 16px;
    }
    .items {
        display: none;
        font-size: calc(1em + ${g.cSu});
    }
    .positioning-region {
        align-items: center;
        border: transparent 1px solid;
        box-sizing: border-box;
        display: flex;
        height: 50px;
        position: relative;
    }
    .positioning-region::before {
        content: "";
        display: block;
        flex-shrink: 0;
        width: var(--tree-item-nested-width);
    }
    .positioning-region:hover {
        background: ${g.QpD};
    }
    .positioning-region:active {
        background: ${g.sG3};
    }
    .start, .end {
        fill: ${g.CHi};
        height: 16px;
        width: 16px;
    }
    .start {
        margin-inline-end: calc(${g._5n} * 2px + 2px);
    }
    ::slotted(fluent-tree-item) {
        --expand-collapse-button-nested-width: calc(${P.i} * -1px);
        --tree-item-nested-width: 1em;
    }
`.withBehaviors(new ee.O(h.i`
    .expand-collapse-glyph {
        transform: rotate(0deg);
    }
    :host(.nested) .expand-collapse-button {
        left: var(--expand-collapse-button-nested-width, calc(${P.i} * -1px));
    }
    :host([selected])::after {
        left: calc(${g.vxp} * 1px);
    }
    :host(.expanded) > .positioning-region .expand-collapse-glyph {
        transform: rotate(45deg);
    }
`,h.i`
    .expand-collapse-glyph {
        transform: rotate(180deg);
    }
    :host(.nested) .expand-collapse-button {
        right: var(--expand-collapse-button-nested-width, calc(${P.i} * -1px));
    }
    :host([selected])::after {
        right: calc(${g.vxp} * 1px);
    }
    :host(.expanded) > .positioning-region .expand-collapse-glyph {
        transform: rotate(135deg);
    }
`),(0,p.vF)(h.i`
        :host {
            background: ${f.H.Field};
            border-color: transparent;
            forced-color-adjust: none;
        }
        :host .content-region {
            color: ${f.H.FieldText};
        }
        :host .content-region .expand-collapse-glyph,
        :host .content-region .start,
        :host .content-region .end {
            fill: ${f.H.FieldText};
        }
        :host .positioning-region:hover,
        :host([selected]) .positioning-region {
            background: ${f.H.Highlight};
        }
        :host .positioning-region:hover .content-region,
        :host([selected]) .positioning-region .content-region {
            color: ${f.H.HighlightText};
        }
        :host .positioning-region:hover .content-region .expand-collapse-glyph,
        :host .positioning-region:hover .content-region .start,
        :host .positioning-region:hover .content-region .end,
        :host([selected]) .content-region .expand-collapse-glyph,
        :host([selected]) .content-region .start,
        :host([selected]) .content-region .end {
            fill: ${f.H.HighlightText};
        }
        :host([selected])::after {
            background: ${f.H.Field}
        }
        :host(:${u.b}) .positioning-region {
            border-color: ${f.H.FieldText};
            box-shadow: 0 0 0 2px inset ${f.H.Field};
        }
        :host([disabled]) .content-region,
        :host([disabled]) .positioning-region:hover .content-region {
            color: ${f.H.GrayText};
            opacity: 1;
        }
        :host([disabled]) .content-region .expand-collapse-glyph,
        :host([disabled]) .content-region .start,
        :host([disabled]) .content-region .end,
        :host([disabled]) .positioning-region:hover .content-region .expand-collapse-glyph,
        :host([disabled]) .positioning-region:hover .content-region .start,
        :host([disabled]) .positioning-region:hover .content-region .end {
            fill: ${f.H.GrayText};
        }
        :host([disabled]) .positioning-region:hover {
            background: ${f.H.Field};
        }
        `)),expandCollapseGlyph:'\n        <svg\n            class="expand-collapse-glyph"\n            viewBox="0 0 16 16"\n            xmlns="http://www.w3.org/2000/svg"\n        >\n            <path\n                d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z"\n            />\n        </svg>\n    '});const ie=(0,n(64690).e)("SuperNav","Super Nav Experience",{});var oe=n(86076);class ae extends l.I{constructor(){super(...arguments),this.linear=!1}}(0,o.gn)([(0,z.Lj)({mode:"boolean"})],ae.prototype,"linear",void 0),(0,oe.e)(ae,k.hW);var se=n(9879),le=n(14989);const re=ae.compose({baseName:"super-nav-bar",template:(e,t)=>w.d`
    <div class="nav-bar">
        ${(0,k.m9)(e,t)}
        <span class="content ${e=>e.linear?"content-linear":""}" part="content">
            <slot name="content"></slot>
        </span>
        ${(0,k.LC)(e,t)}
    </div>
`,styles:(e,t)=>h.i`
    ::slotted([slot="end"]) {
        display: flex;
        gap: 8px;
    }
    .content {
        flex-grow: 1;
        min-width: 0;
    }
    .content-linear ::slotted([slot="content"]) {
        width: ${se.R6.toString()}px;
    }
    .nav-bar {
        align-items: center;
        display: flex;
        width: 100%;
    }
    ${(0,le.vW)(null,le.K$.c1)} {
        ::slotted([slot="end"]) {
            display: none;
        }
    }
    @media (max-width: ${se.Cy.toString()}px) {
        .content-linear ::slotted([slot="content"]) {
            width: 100%;
        }
    }
    `.withBehaviors(new ee.O(h.i`
    .content-linear ::slotted([slot="content"]) {
        margin-left: auto;
    }
    .end {
        padding: 0 0 0 16px;
    }
    .start {
        padding: 0 16px 0 0;
    }
`,h.i`
    .content-linear ::slotted([slot="content"]) {
        margin-right: auto;
    }
    .end {
        padding: 0 16px 0 0;
    }
    .start {
        padding: 0 0 0 16px;
    }
`)),shadowOptions:{delegatesFocus:!0}});var de=n(83216),ce=n(65337),he=n(2040),ve=n(31293),ue=n(58155),pe=n(82891),ge=n(16517),me=n(83227),fe=n(53076),we=n(91470),ye=n(38349),be=n(76868),xe=n(62661),Ie=n(65135),$e=n(38156),ze=n(60483),Ne=n(18536),Ce=n(17752),Le=n(9533),Oe=n(81555),Se=n(82423),Te=n(12884),Me=n(8073),ke=n(54536),He=n.n(ke),Be=n(12426);const Fe={microsoftDark:Me.Z,sun:He(),usFlag:Be.Z};var De=n(26415),Ee=n(19388),Ve=n(68364),Ae=n(53899),Pe=n(32758),je=n(9610),Ue=n(85663);class Re extends je.l{constructor(){super(...arguments),this.enableGaming=!1,this.enablePlay=!1,this.enableEnterprise=!1,this.enableVerticalNav=!0,this.eventLocalStorage=new de.Q,this.followedTopicsNavigationItems=[],this.horizontalNavItems=[],this.onTranslucentBackground=!1,this.renderDelayLoadedElements=!1,this.selectedNavItemId="myFeed",this.showEvent=!1,this.showPersonalizeButton=!0,this.telemetryTags={},this.verticalNavItems=[],this.onPersonalizeClick=e=>{e&&Ie.M0.sendActionEvent(e.target);const t=Object.assign(Object.assign({},this.navItemData&&this.navItemData.myInterests),{children:void 0,id:"myInterests",display:""});this.onNavItemClick({detail:{selectedNav:t}})}}experienceConnected(){if(this.navItemData=this.config.navItemData,this.config.event&&this.config.event.cmsContentUrl&&(this.showEvent=this.eventLocalStorage.shouldShowEvent("CMS",me.x.superNav,["CMS"],!1,this.config.event.cmsContentUrl,De.huY),this.showEvent)){const e=this.eventLocalStorage.getCMSContent("CMS",me.x.superNav,["CMS"],De.huY);if(!(0,Ue.isNullOrUndefined)(e)&&"cms_event"!==this.config.horizontalNav.navItemOrder[0]){this.config.horizontalNav.navItemOrder.unshift("cms_event"),this.config.verticalNav.navItemOrder.unshift("cms_event");const t={horizontalNavIconId:e.iconId,renderInfo:{renderType:3,externalUrl:e.url},verticalNavIconId:e.iconId};this.navItemData&&this.config.event&&(this.navItemData.cms_event=t,this.config.event.displayString=e.display)}}if(this.renderDelayLoadedElements=!!this.config.eagerLoadNavExperiences&&this.config.eagerLoadNavExperiences,this.enableEnterprise=!(0,Ue.isNullOrUndefined)(this.config.horizontalNav.homenavItemOrder.concat(this.config.horizontalNav.navItemOrder).find((e=>"productivityHub"===e))),this.enableGaming=!(0,Ue.isNullOrUndefined)(this.config.horizontalNav.homenavItemOrder.concat(this.config.horizontalNav.navItemOrder).find((e=>"gaming"===e))),this.enablePlay=!(0,Ue.isNullOrUndefined)(this.config.horizontalNav.homenavItemOrder.concat(this.config.horizontalNav.navItemOrder).find((e=>"play"===e))),!this.enableGaming&&this.config.isGamingNtpReverseFlight){"gaming"===(0,ce.$o)().getItem(he.pv)&&(0,ve.Pz)();"gaming"===(0,ce.$o)().getItem(he.Kj)&&(0,ve.cD)()}this.createNavTelemetryTags(),this.getAdminDataSettings(),this.initializeHorizontalNav(),this.config.verticalNav.enableVerticalNav?(0,Ee.b1)().then((()=>{(0,o.mG)(void 0,void 0,void 0,(function*(){const e=n(54348),t=n(67707),i=n(83404),o=n(60134),a=n(50338),s=n(4935),l=n(20367),r=n(46146),d=n(54536),c=n(50443),h=n(9547),v=n(84630),u=n(18520);return yield Promise.all([e,t,i,o,a,s,Me.Z,l,r,d,c,h,v,u]),{autos:h,clouds:u,globe:o,health:a,home:s,microsoftDark:Me.Z,money:e,news:l,qna:i,shopping:c,sports:r,sun:d,traffic:v,travel:t,usFlag:Be.Z}})).then((e=>{this.verticalNavIcons=e,this.initializeVerticalNav()}))})):this.enableVerticalNav=!1,this.pivotManager=this.showLinearFeed?(0,xe.l)("PivotsNavSingleColumn"):(0,xe.l)(),this.executePivotSwitch(this.selectedNavItemId,!1),(0,a.N6)("navBar",(e=>{this.onTranslucentBackground="translucentBackground"===e}))}shadowDomPopulated(){var e,t,n,i,o,a,s,l;this.renderDelayLoadedElements=!0,(0,Le.FY)(Oe._.myFeed,null===(t=null===(e=this.horizontalNav)||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.getElementById("myFeed")),this.enableEnterprise?(0,Le.FY)(Oe._.office365,null===(i=null===(n=this.horizontalNav)||void 0===n?void 0:n.shadowRoot)||void 0===i?void 0:i.getElementById("productivityHub")):this.enableGaming?(0,Le.FY)(Oe._.gaming,null===(a=null===(o=this.horizontalNav)||void 0===o?void 0:o.shadowRoot)||void 0===a?void 0:a.getElementById("gaming")):this.enablePlay&&(0,Le.FY)(Oe._.gaming,null===(l=null===(s=this.horizontalNav)||void 0===s?void 0:s.shadowRoot)||void 0===l?void 0:l.getElementById("play"))}getExperienceType(){return me.x.superNav}createNavTelemetryTags(){if(this.telemetryObject=new ze.D({type:$e.c9.Header,name:"PivotsNav",content:{}}),!this.telemetryObject)return;const e=this.telemetryObject.addOrUpdateChild({name:"Hamburger",type:$e.c9.ActionButton,behavior:$e.wu.Navigate,content:{type:$e.uH.Feed,headline:"Hamburger"}}),t=this.telemetryObject.addOrUpdateChild({name:"InterestsNavOptions",action:$e.Aw.Click,behavior:$e.wu.Show,content:{headline:"Interests Nav Options"}}),n=new URL((0,Te.l4)());this.telemetryTags.horizontalNavOverflowButton=this.telemetryObject.addOrUpdateChild({name:"TopNavEllipsis",action:$e.Aw.Click,type:$e.c9.ActionButton,behavior:$e.wu.More}).getMetadataTag(),this.telemetryTags.personalizeButton=this.telemetryObject.addOrUpdateChild({name:"Personalize",action:$e.Aw.Click,type:$e.c9.ActionButton,behavior:$e.wu.Navigate,overrideDestinationUrl:ue.c.appendSearchParam(n,"filter","Personalize").toString()}).getMetadataTag(),this.telemetryTags.verticalNav=new ze.D({type:$e.c9.Header,name:"Hamburger",content:{}}).getMetadataTag(),this.telemetryTags.verticalNavButton=this.telemetryObject.addOrUpdateChild({name:"Hamburger",type:$e.c9.ActionButton,behavior:$e.wu.Show,content:{headline:"Hamburger"}}).getMetadataTag(),this.telemetryTags.verticalNavCloseButton=e.addOrUpdateChild({name:"CloseHamburger",action:$e.Aw.Click,type:$e.c9.ActionButton,behavior:$e.wu.Close,content:{headline:"Close"}}).getMetadataTag(),this.telemetryTags.vericalNavExpandedChange=e=>{const n=e.detail;n&&Ie.M0&&(Ne.u.setAttribute(n,{name:"InterestsNavOptions"},t),Ie.M0.sendActionEvent(n,$e.Aw.Click,$e.wu.Show))}}executePivotSwitch(e,t,n){var i,o,a,s,l,r,d,c,h;const v=this.navItemData&&this.navItemData[e]?this.navItemData[e]:this.followedTopicsNavigationItems.find((t=>t.id===e));(0,ve.kJ)(e);const u={configIndexRef:null===(i=null==v?void 0:v.renderInfo)||void 0===i?void 0:i.experienceConfigRef,context:n,display:v?this.config.localizedStrings&&this.config.localizedStrings[e]:null==n?void 0:n.display,pivotId:e.toLowerCase()};if(this.showLinearFeed){const e=null===(a=null===(o=null==v?void 0:v.renderInfo)||void 0===o?void 0:o.experienceConfigRef)||void 0===a?void 0:a.instanceId;"GamingGridViewFeed"!==e&&"GamingLinearViewFeed"!==e&&((null==e?void 0:e.includes("GridViewFeed"))||(null==e?void 0:e.includes("LinearViewFeed")))?u.configIndexRef={instanceId:"LinearViewFeed",configRef:{experienceType:"LinearViewFeed",instanceSrc:"default"}}:(null==e?void 0:e.includes("XfeedWC"))&&(u.configIndexRef={instanceId:"XfeedWC",configRef:{experienceType:"XfeedWC",instanceSrc:"index_SingleColumnXfeed"}})}const p=null===(l=null===(s=u.configIndexRef)||void 0===s?void 0:s.configRef)||void 0===l?void 0:l.experienceType;p!==me.x.xfeedWC&&p!==me.x.interestsWC||u.configIndexRef&&(u.configIndexRef.instanceId=`${p}_${u.pivotId}`),this.selectedNavItemId=e;const g=null===(d=null===(r=this.pivotManager)||void 0===r?void 0:r.getSelectedPivot())||void 0===d?void 0:d.pivotId,m=u.pivotId!==g;if((m||Pe.D.isPivotManagerSwitched)&&(g&&"gaming"===u.pivotId&&(u.context=Object.assign(Object.assign({},u.context),{gamingPivotSwitched:!0}),u.telemetryPivotCategory="gaming",u.telemetryVertical="gaming"),null===(c=this.pivotManager)||void 0===c||c.switchPivot(u)),t&&(null===(h=this.pivotManager)||void 0===h||h.clickPivot(m,u),this.config.horizontalNav.homenavItemOrder.indexOf(e)>=0||"gaming"===e)){const t=(0,ve.$z)();(0,Ue.isNullOrUndefined)(t)||t===e||(0,ye.yV)(be.y.PivotSwitch),(0,ve.cf)(e)}}fetchFollowedTopics(){return(0,o.mG)(this,void 0,void 0,(function*(){if(!this.config.verticalNav.enableDynamicInterests)return;if(this.topicsDataConnector=yield(0,Se.oU)(fe.z.TopicData),!this.topicsDataConnector)return;yield this.topicsDataConnector.getFollowedTopics();const e=this.topicsDataConnector.getCurrentState();if(!e)return;const{followedTopicIds:t,topicMap:n}=e;if(!t||!t.length||!n)return;const i=t.filter((e=>{var t,i;const o=n[e];return(null===(t=this.adminSettings)||void 0===t?void 0:t.isShowCompanyAndIndustry)&&(null===(i=o.apiSource)||void 0===i?void 0:i.id)===Ce.A.work||!o.isInferred}));i&&i.length&&(this.followedTopicsNavigationItems=i.map((e=>{var t;const i=n[e],o={display:i.name,id:e,isActive:e===this.selectedNavItemId,renderInfo:{renderType:0,experienceConfigRef:{instanceId:"XfeedWC",configRef:{experienceType:"XfeedWC",instanceSrc:"default"}},routePath:`interest/${n[e].name}/${e}`,usePathNameAsIs:!0,context:{feedId:e,feedSource:null===(t=i.apiSource)||void 0===t?void 0:t.id},openInNewTab:!1}};return Object.assign(Object.assign({},o),{telemetryMetadata:this.mapNavigationItemTelemetryProps(o,o.id)})})))}))}formatUrlOnClick(e){var t;const n=(e=(0,pe.h_)(e))&&new URL(e);if(!n||!n.searchParams)return"";if(!n.searchParams.has("ocid")){const e="dhp"===(null===(t=null===ge.jG||void 0===ge.jG?void 0:ge.jG.CurrentRequestTargetScope)||void 0===t?void 0:t.pageType)?"msedgdhphdr":"msedgntphdr";n.searchParams.set("ocid",e)}return n.searchParams.has("cvid")||n.searchParams.set("cvid",Ie.M0.getRequestId()),decodeURIComponent(n.toString())}getAdminDataSettings(){if(!this.enableEnterprise)return;let e=!0;(0,ge.Yq)().IsChinaCompliance&&(e=!1,(0,ve.Pz)());const t=(0,Se.K0)(fe.z.AdminPortalData),n=t&&t.getCurrentState();this.adminSettings=n&&n.settings||{isOfficeContentEnabled:e,isShowCompanyAndIndustry:!0}}getContextualHorizontalNavItems(){var e;if(!this.selectedNavItemId)return;const t=this.navItemData&&this.navItemData.myInterests;if("myInterests"===this.selectedNavItemId||(null===(e=null==t?void 0:t.children)||void 0===e?void 0:e.includes(this.selectedNavItemId))?this.showPersonalizeButton=!1:this.showPersonalizeButton=!0,this.config.horizontalNav.homenavItemOrder.includes(this.selectedNavItemId))return void this.updateHorizontalNavItems(this.config.horizontalNav.homenavItemOrder.concat(this.config.horizontalNav.navItemOrder));const n=this.navItemData&&this.navItemData[this.selectedNavItemId]&&this.navItemData[this.selectedNavItemId].children;if(n&&n.length>0)return void this.updateHorizontalNavItems(this.config.horizontalNav.homenavItemOrder.concat([this.selectedNavItemId],n),!0);const i=this.selectedNavItemId.substring(0,this.selectedNavItemId.indexOf("_")),o=this.navItemData&&this.navItemData[i]&&this.navItemData[i].children;o&&o.length>0&&this.updateHorizontalNavItems(this.config.horizontalNav.homenavItemOrder.concat([i],o),!0)}getSavedNavItem(){var e,t;if(!this.enableEnterprise&&!this.enableGaming&&!this.enablePlay)return"myFeed";let n=(0,ve.$z)();if(!n||"myfeed"===n.toLocaleLowerCase())return"myFeed";if(this.enableEnterprise){(null===(e=this.adminSettings)||void 0===e?void 0:e.isOfficeContentEnabled)&&!(null===(t=this.adminSettings)||void 0===t?void 0:t.isShowCompanyAndIndustry)&&(n="productivityHub");const i={myfeed:Ae.iz.MicrosoftNews,productivityHub:Ae.iz.Office365},o=(0,we.f)(i);if((0,Ue.isNullOrUndefined)(o))n="myFeed";else if(o===Ae.iz.Office365)n="productivityHub";else n="myFeed"}return n||"myFeed"}initializeHorizontalNav(){var e,t;if(this.enableEnterprise){if(!(null===(e=this.adminSettings)||void 0===e?void 0:e.isOfficeContentEnabled)){const e=this.config.horizontalNav.homenavItemOrder.indexOf("productivityHub");this.config.horizontalNav.homenavItemOrder.splice(e,1)}if(!(null===(t=this.adminSettings)||void 0===t?void 0:t.isShowCompanyAndIndustry)){const e=this.config.horizontalNav.homenavItemOrder.indexOf("myFeed");this.config.horizontalNav.homenavItemOrder.splice(e,1)}}else if(this.enableGaming){const e=new URLSearchParams((0,Te.zp)()).get("pivotId");if(e){const t=e.toLowerCase();"myFeed"===t?this.selectedNavItemId="myFeed":"gaming"===t&&(this.selectedNavItemId="gaming")}}this.selectedNavItemId=this.enableEnterprise||this.enableGaming||this.enablePlay?this.getSavedNavItem():this.config.horizontalNav.homenavItemOrder[0],this.updateHorizontalNavItems(this.config.horizontalNav.homenavItemOrder.concat(this.config.horizontalNav.navItemOrder))}initializeVerticalNav(){var e;if(!this.config.verticalNav)return null;if(this.enableEnterprise&&!(null===(e=this.adminSettings)||void 0===e?void 0:e.isOfficeContentEnabled)){const e=this.config.verticalNav.homenavItemOrder.indexOf("productivityHub");this.config.verticalNav.homenavItemOrder.splice(e,1)}this.updateVerticalNavItems(this.config.verticalNav.homenavItemOrder.concat(this.config.verticalNav.navItemOrder),!0).then((e=>{this.verticalNavItems=e}))}mapNavigationItemTelemetryProps(e,t){var n,i,o,a;if(!this.telemetryObject||!e)return"";const s=this.config.localizedStrings&&this.config.localizedStrings[t]?this.config.localizedStrings[t]:t;let l=ue.c.appendSearchParam(new URL((0,Te.l4)()),"filter",t).toString();return 0!=(null===(n=e.renderInfo)||void 0===n?void 0:n.renderType)&&(l=(null===(i=e.renderInfo)||void 0===i?void 0:i.externalUrl)?(0,pe.h_)(e.renderInfo.externalUrl):l),this.telemetryObject.addOrUpdateChild({action:$e.Aw.Click,behavior:$e.wu.Navigate,content:{headline:s,type:null===(a=null===(o=this.telemetryObject.contract)||void 0===o?void 0:o.content)||void 0===a?void 0:a.type},feed:{id:t,layout:this.showLinearFeed?"singlecol":"multicol",name:s,type:"category filter"},destinationUrl:l,name:s||"",overrideDestinationUrl:l}).getMetadataTag()}onNavItemClick(e){var t,n,i,o,a,s,l,r,d,c,h;const v=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.selectedNav;if(!v||v.id===this.selectedNavItemId)return;this.selectedNavItemId=v.id;const u=e.currentTarget;if(u&&Ie.M0){const e="#"+v.id,t=null==u?void 0:u.shadowRoot,i=null==t?void 0:t.querySelector("msn-nav-bar"),o=i?null===(n=i.shadowRoot)||void 0===n?void 0:n.querySelector(e):null==t?void 0:t.querySelector(e);o&&(Ie.M0.sendActionEvent(o,$e.Aw.Click,$e.wu.Navigate),o.setAttribute("data-customhandled","true"))}if(0!==(null===(i=v.renderInfo)||void 0===i?void 0:i.renderType)){const e=this.formatUrlOnClick(null===(o=v.renderInfo)||void 0===o?void 0:o.externalUrl);e&&window.open(e,(null===(a=v.renderInfo)||void 0===a?void 0:a.openInNewTab)?"_blank":"_self")}else{this.getContextualHorizontalNavItems();const e=null===(l=null===(s=v.renderInfo)||void 0===s?void 0:s.context)||void 0===l?void 0:l.pageType;"MyInterests"===e||"MySaves"===e||"History"===e||"Setting"===e||"Notification"===e?this.executePivotSwitch(v.id,!0,{pageType:e}):this.executePivotSwitch(v.id,!0,{feedId:null===(d=null===(r=v.renderInfo)||void 0===r?void 0:r.context)||void 0===d?void 0:d.feedId,feedSource:null===(h=null===(c=v.renderInfo)||void 0===c?void 0:c.context)||void 0===h?void 0:h.feedSource})}}get displayLayoutToggle(){return"gaming"!==this.selectedNavItemId&&"play"!==this.selectedNavItemId&&"productivityHub"!==this.selectedNavItemId}updateHorizontalNavItems(e,t=!1){let n=!1;this.horizontalNavItems=e.filter((e=>{var t,n;const i=this.navItemData&&this.navItemData[e],o=(null===(t=this.config.event)||void 0===t?void 0:t.cmsContentUrl)&&"cms_event"===e?null===(n=this.config.event)||void 0===n?void 0:n.displayString:this.config.localizedStrings[e];return o||(0,Ve.H)(De.hy5,"Missing loc string for "+e),!(null==i?void 0:i.hideNavItem)&&o})).map(((e,i)=>{var o,a;const s=this.navItemData&&this.navItemData[e];t&&(n=i===this.config.horizontalNav.homenavItemOrder.length-1);return Object.assign(Object.assign({},s),{children:void 0,display:(null===(o=this.config.event)||void 0===o?void 0:o.cmsContentUrl)&&"cms_event"===e?null===(a=this.config.event)||void 0===a?void 0:a.displayString:this.config.localizedStrings[e],glyph:(null==s?void 0:s.horizontalNavIconId)?Fe[s.horizontalNavIconId]:void 0,id:e,isActive:e===this.selectedNavItemId,showDivider:n,telemetryMetadata:s?this.mapNavigationItemTelemetryProps(s,e):void 0})}))}updateVerticalNavItems(e,t=!1){return(0,o.mG)(this,void 0,void 0,(function*(){const n=e.filter((e=>{var t,n;const i=this.navItemData&&this.navItemData[e],o=(null===(t=this.config.event)||void 0===t?void 0:t.cmsContentUrl)&&"cms_event"===e?null===(n=this.config.event)||void 0===n?void 0:n.displayString:this.config.localizedStrings[e];return o||(0,Ve.H)(De.hy5,"Missing loc string for "+e),!(null==i?void 0:i.hideNavItem)&&o})).map(((e,n)=>(0,o.mG)(this,void 0,void 0,(function*(){var i,o;const a=this.navItemData&&this.navItemData[e];let s,l=!1;if(t&&(l=n===this.config.verticalNav.homenavItemOrder.length-1),"myInterests"===e)yield this.fetchFollowedTopics(),s=this.followedTopicsNavigationItems;else{const t=this.navItemData&&this.navItemData[e]&&this.navItemData[e].children;s=t&&t.length>0?yield this.updateVerticalNavItems(t):void 0}return Object.assign(Object.assign({},a),{children:s,display:(null===(i=this.config.event)||void 0===i?void 0:i.cmsContentUrl)&&"cms_event"===e?null===(o=this.config.event)||void 0===o?void 0:o.displayString:this.config.localizedStrings[e],glyph:(null==a?void 0:a.verticalNavIconId)?this.verticalNavIcons&&this.verticalNavIcons[a.verticalNavIconId]:void 0,id:e,isActive:e===this.selectedNavItemId,showDivider:l,telemetryMetadata:a?this.mapNavigationItemTelemetryProps(a,e):void 0})}))));return yield Promise.all(n)}))}}(0,o.gn)([r.LO],Re.prototype,"enableVerticalNav",void 0),(0,o.gn)([r.LO],Re.prototype,"followedTopicsNavigationItems",void 0),(0,o.gn)([r.LO],Re.prototype,"horizontalNavItems",void 0),(0,o.gn)([r.LO],Re.prototype,"onTranslucentBackground",void 0),(0,o.gn)([r.LO],Re.prototype,"renderDelayLoadedElements",void 0),(0,o.gn)([r.LO],Re.prototype,"selectedNavItemId",void 0),(0,o.gn)([r.LO],Re.prototype,"showPersonalizeButton",void 0),(0,o.gn)([r.LO],Re.prototype,"verticalNavItems",void 0);const Ge=h.i`
:host {
    width: inherit;
}
.end {
    width: min-content;
}
.endLinear {
    width: 325px;
}
.settings-link {
    border-radius: 16px;
    border: 1px solid ${g.akT};
    color: ${g.CHi};
    cursor: pointer;
    fill: ${g.CHi};
    height: 30px;
    min-width: min-content;
    --neutral-fill-stealth-rest: transparent;
}
.settings-link svg {
    display: block;
}
.translucent-nav {
    --neutral-fill-stealth-active: rgb(64, 64, 64);
    --neutral-fill-stealth-hover: rgb(64, 64, 64);
    --neutral-fill-stealth-rest: transparent;
    --neutral-foreground-active: white;
    --neutral-foreground-rest: white;
    --neutral-layer-floating: rgb(64, 64, 64);
}
`;var Ze=n(95706),_e=n.n(Ze),We=n(81563);const Ke=w.d`
    <cs-super-nav-bar
        ?linear=${e=>e.showLinearFeed}
        data-t="${e=>{var t;return null===(t=e.telemetryObject)||void 0===t?void 0:t.getMetadataTag()}}"
        >
        ${(0,y.g)((e=>e.enableVerticalNav&&!e.showLinearFeed),w.d`
            <cs-super-nav-vertical
                slot="start"
                use-mobile-styles="false"
                :closeButtonTelemetryTag=${e=>e.telemetryTags.verticalNavCloseButton}
                :hamburgerMenuButtonTelemetryTag=${e=>e.telemetryTags.verticalNavButton}
                :navItems=${e=>e.verticalNavItems}
                :selectedNavId=${e=>e.selectedNavItemId||""}
                :verticalNavTelemetryTag=${e=>e.telemetryTags.verticalNav}
                @change=${(e,t)=>e.onNavItemClick(t.event)}
                @expanded-change=${(e,t)=>e.telemetryTags.vericalNavExpandedChange&&e.telemetryTags.vericalNavExpandedChange(t.event)}
            ></cs-super-nav-vertical>
        `)}
        <cs-super-nav-horizontal
            id="nav"
            slot="content"
            :localizedStrings=${e=>{var t;return{overflowButtonTooltip:null===(t=e.config.localizedStrings)||void 0===t?void 0:t.accessibility.overflowButtonTooltip}}}
            :navItemData=${e=>e.horizontalNavItems}
            :overflowTelemetryTag=${e=>e.telemetryTags.horizontalNavOverflowButton}
            :selectedNavItem=${e=>e.navItemData&&e.navItemData[e.selectedNavItemId]}
            @change=${(e,t)=>e.onNavItemClick(t.event)}
            ${(0,b.i)("horizontalNav")}
        ></cs-super-nav-horizontal>
        <div
            class=${e=>e.showLinearFeed?"endLinear":"end"}
            slot="end"
        >
            ${(0,y.g)((e=>{var t,n;return e.renderDelayLoadedElements&&(null===(n=null===(t=e.config)||void 0===t?void 0:t.childExperienceReferencesWC)||void 0===n?void 0:n.locationMarker)}),w.d`${e=>(0,We.O)(e.config.childExperienceReferencesWC.locationMarker)}`)}
            ${(0,y.g)((e=>{var t;return e.renderDelayLoadedElements&&(null===(t=e.config.horizontalNav)||void 0===t?void 0:t.enablePersonalizeButton)&&!e.showLinearFeed&&e.showPersonalizeButton}),w.d`
                <fluent-button
                    appearance="stealth"
                    aria-label="Personalize button"
                    class="settings-link ${e=>e.onTranslucentBackground?"translucent-nav":""}"
                    data-customhandled=${!0}
                    id="myInterests"
                    part="personalize-button"
                    role="button"
                    @click=${(e,t)=>e.onPersonalizeClick(t.event)}
                    data-t="${e=>e.telemetryTags.personalizeButton}"
                >
                    ${e=>e.config.localizedStrings.personalizeButtonText}
                    <span slot="start">${_e()}</span>
                </fluent-button>
            `)}
            ${(0,y.g)((e=>{var t,n;return e.renderDelayLoadedElements&&(null===(n=null===(t=e.config)||void 0===t?void 0:t.childExperienceReferencesWC)||void 0===n?void 0:n.feedToggle)}),w.d`${e=>(0,We.O)(e.config.childExperienceReferencesWC.feedToggle)}`)}
            ${(0,y.g)((e=>{var t,n;return e.renderDelayLoadedElements&&(null===(n=null===(t=e.config)||void 0===t?void 0:t.childExperienceReferencesWC)||void 0===n?void 0:n.layoutToggle)&&e.displayLayoutToggle}),w.d`${e=>(0,We.O)(e.config.childExperienceReferencesWC.layoutToggle)}`)}
        </div>
    </cs-super-nav-bar>
`,Xe={experienceConfigSchema:ie};i.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>i.h.ignoreDuplicate)).withPrefix("cs").register(re(),M(),B(),Y(),ne())},17752:function(e,t,n){"use strict";var i;n.d(t,{A:function(){return i}}),function(e){e.consumer="consumer",e.work="work"}(i||(i={}))},54348:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 2a.5.5 0 000 1h1.8l-4.8 4.8-2.65-2.65a.5.5 0 00-.7 0l-5 5a.5.5 0 00.7.7L8.5 6.21l2.65 2.64c.2.2.5.2.7 0L17 3.71V5.5a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3zm1 7a.5.5 0 00-.5.5v8a.5.5 0 001 0v-8a.5.5 0 00-.5-.5zm-8 2a.5.5 0 00-.5.5v6a.5.5 0 001 0v-6a.5.5 0 00-.5-.5zm3.5 2.5a.5.5 0 011 0v4a.5.5 0 01-1 0v-4zm-8 1a.5.5 0 011 0v3a.5.5 0 01-1 0v-3z"></path></svg>'},67707:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.26 4.6a5.21 5.21 0 019.03 5.22l-.2.34a.5.5 0 01-.67.19l-3.47-2-1.93 3.38c1.34.4 2.5 1.33 3.31 2.52h-.09c-.34 0-.66.11-.92.31A4.9 4.9 0 009.5 12.5a4.9 4.9 0 00-3.82 2.06 1.5 1.5 0 00-1.01-.3 5.94 5.94 0 015.31-2.74l2.1-3.68-3.83-2.2a.5.5 0 01-.18-.7l.2-.33zm.92.42l1.7.98.02-.02a8.08 8.08 0 013.27-2.74 4.22 4.22 0 00-4.99 1.78zM14 7.8c.47-.82.7-1.46.77-2.09a5.8 5.8 0 00-.06-1.62 6.96 6.96 0 00-2.95 2.41L14 7.8zm.87.5l1.61.93a4.22 4.22 0 00-.74-5.02c.07.56.09 1.1.02 1.63-.1.79-.38 1.56-.89 2.46zm-9.63 7.3a.5.5 0 00-.96.03c-.17.7-.5 1.08-.86 1.3-.38.23-.87.32-1.42.32a.5.5 0 000 1c.64 0 1.33-.1 1.94-.47.34-.2.64-.5.88-.87a2.96 2.96 0 004.68-.01 2.96 2.96 0 004.74-.06c.64.9 1.7 1.41 2.76 1.41a.5.5 0 100-1c-.98 0-1.96-.64-2.29-1.65a.5.5 0 00-.95 0 1.98 1.98 0 01-3.79.07.5.5 0 00-.94 0 1.98 1.98 0 01-3.8-.08z"></path></svg>'},83404:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 4.9c-.37.07-.76.3-1.07.85a.5.5 0 11-.86-.5A2.57 2.57 0 018.3 3.92c.65-.13 1.3.04 1.8.36.48.32.87.84.88 1.47.01.66-.39 1.25-1.12 1.68-.5.3-.7.5-.77.63-.07.11-.09.21-.09.44a.5.5 0 01-1 0c0-.27.01-.61.24-.97.2-.34.57-.64 1.11-.96.54-.32.63-.62.63-.8 0-.2-.14-.46-.44-.65-.29-.2-.67-.3-1.05-.22zm.25 6.6a.75.75 0 100-1.5.75.75 0 000 1.5zM8.5 1a6.5 6.5 0 00-5.67 9.67l-.8 2.08a1 1 0 001.2 1.32l2.5-.7A6.5 6.5 0 108.5 1zM3 7.5a5.5 5.5 0 113 4.9l-.18-.09-2.86.8.97-2.53-.13-.21A5.47 5.47 0 013 7.5zm8.46 9.5a6.49 6.49 0 01-4.92-2.26A7.5 7.5 0 008.3 15a5.47 5.47 0 005.66.4l.18-.09 2.86.8-.97-2.53.13-.21A5.47 5.47 0 0016 7.39c0-.6-.1-1.2-.24-1.76a6.48 6.48 0 011.38 8.04l.8 2.08a1 1 0 01-1.21 1.32l-2.49-.7c-.84.4-1.78.63-2.78.63z"></path></svg>'},41067:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.09 4.22l.06-.07a.5.5 0 01.63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 01.63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 01-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 01-.63.06l-.07-.06a.5.5 0 01-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 01-.06-.63l.06-.07-.06.07z"></path></svg>'},60134:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18a8 8 0 100-16 8 8 0 000 16zm0-15c.66 0 1.4.59 2.02 1.9.22.47.4 1.01.56 1.6H7.42c.15-.59.34-1.13.56-1.6C8.59 3.6 9.34 3 10 3zM7.07 4.49c-.27.59-.5 1.27-.68 2.01H3.94A7.02 7.02 0 017.7 3.38c-.24.33-.45.7-.64 1.1zM6.2 7.5a15.97 15.97 0 000 5H3.46a6.98 6.98 0 010-5h2.73zm.2 6c.17.74.4 1.42.68 2.01.19.4.4.78.64 1.1a7.02 7.02 0 01-3.77-3.11h2.45zm1.03 0h5.16a9.25 9.25 0 01-.56 1.6C11.41 16.4 10.66 17 10 17c-.66 0-1.4-.59-2.02-1.9-.22-.47-.4-1.01-.56-1.6zm5.37-1H7.21a14.87 14.87 0 010-5h5.58a14.86 14.86 0 010 5zm.82 1h2.45a7.02 7.02 0 01-3.77 3.12c.24-.33.45-.7.64-1.1.27-.6.5-1.28.68-2.02zm2.93-1h-2.73a15.97 15.97 0 000-5h2.73a6.98 6.98 0 010 5zm-4.25-9.12a7.02 7.02 0 013.77 3.12h-2.45a10.5 10.5 0 00-.68-2.01c-.19-.4-.4-.78-.64-1.1z"></path></svg>'},50338:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 16.8l4.75-4.8h-1a1.5 1.5 0 01-.36-.04l-3.86 3.9-3.87-3.9a1.5 1.5 0 01-.36.04h-1l4.75 4.8c.26.27.69.27.95 0zm6.22-12.49a4.42 4.42 0 01.98 4.7L17.5 9h-.89c.67-1.28.48-2.9-.6-3.98A3.3 3.3 0 0011.3 5l-.95.96a.5.5 0 01-.71 0L8.68 5a3.3 3.3 0 00-4.7-.01A3.4 3.4 0 003.41 9H2.5l-.18.01a4.4 4.4 0 01.94-4.74 4.3 4.3 0 016.13.02l.6.61.6-.6.1-.1a4.3 4.3 0 016.03.11zm-8.76 2a.5.5 0 00-.92 0L5.47 10H2.5a.5.5 0 000 1h3.3a.5.5 0 00.46-.3L7.5 7.79l2.04 4.9a.5.5 0 00.88.08l2.15-3.43 1.3 1.49c.1.1.24.17.38.17h3.25a.5.5 0 000-1h-3.02l-1.6-1.83a.5.5 0 00-.8.06l-2 3.18-2.12-5.1z"></path></svg>'},4935:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 2.39a1.5 1.5 0 012 0l5.5 4.94c.32.28.5.69.5 1.12v7.05c0 .83-.67 1.5-1.5 1.5H13a1.5 1.5 0 01-1.5-1.5V12a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5v3.5c0 .83-.67 1.5-1.5 1.5H4.5A1.5 1.5 0 013 15.5V8.45c0-.43.18-.84.5-1.12L9 2.39zm1.33.74a.5.5 0 00-.66 0l-5.5 4.94a.5.5 0 00-.17.38v7.05c0 .28.22.5.5.5H7a.5.5 0 00.5-.5V12c0-.83.67-1.5 1.5-1.5h2c.83 0 1.5.67 1.5 1.5v3.5c0 .28.22.5.5.5h2.5a.5.5 0 00.5-.5V8.45a.5.5 0 00-.17-.38l-5.5-4.94z"></path></svg>'},3893:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.25 10a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm5 0a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zM15 11.25a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z"></path></svg>'},2850:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5c0-.28.22-.5.5-.5h15a.5.5 0 010 1h-15a.5.5 0 01-.5-.5zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 010 1h-15a.5.5 0 01-.5-.5zm.5 4.5a.5.5 0 000 1h15a.5.5 0 000-1h-15z"></path></svg>'},20367:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 6.5c0-.28.22-.5.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM10.5 9a.5.5 0 000 1h2a.5.5 0 000-1h-2zm-.5 3.5c0-.28.22-.5.5-.5h2a.5.5 0 010 1h-2a.5.5 0 01-.5-.5zM5.5 9a.5.5 0 00-.5.5v3c0 .28.22.5.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5h-3zm.5 3v-2h2v2H6zM2 5c0-1.1.9-2 2-2h10a2 2 0 012 2v1a2 2 0 012 2v5.5a2.5 2.5 0 01-2.5 2.5h-11A2.5 2.5 0 012 13.5V5zm13 0a1 1 0 00-1-1H4a1 1 0 00-1 1v8.5c0 .83.67 1.5 1.5 1.5h11c.83 0 1.5-.67 1.5-1.5V8a1 1 0 00-1-1v6.5a.5.5 0 01-1 0V5z"></path></svg>'},46146:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.44 5.75c-.08.2-.15.38-.2.58.3.1.63.2.95.32.18-.65.5-1.27.94-1.81L11.29 8l-.6.6a7.16 7.16 0 01.72.7l.59-.6 3.16 3.17c-.54.44-1.15.76-1.79.94.12.32.22.64.32.95a5.97 5.97 0 004.1-7.32 6.01 6.01 0 00-11.35-.69zm10.2.38a2 2 0 01-2.12.06l1.35-1.35c.33.4.58.83.77 1.3zm-2.84.78a3 3 0 003.12.21 5 5 0 01-1.05 4.04L12.71 8l1.09-1.09zm-.71-.7L12 7.28 8.84 4.13a5 5 0 014.04-1.05 3 3 0 00.21 3.12zm.72-.73a2 2 0 01.06-2.12c.46.19.9.44 1.3.77L13.8 5.48zm-7.66 5.67c.2-.2.5-.2.7 0l2 2a.5.5 0 01-.7.7l-2-2a.5.5 0 010-.7zm-4.1-2.27a1.7 1.7 0 012.03-2.07c.91.19 2.07.49 3.2.94a9.3 9.3 0 013.1 1.91 9.2 9.2 0 011.9 3.1c.45 1.14.75 2.29.93 3.2a1.7 1.7 0 01-2.07 2.02c-1.75-.4-4.53-1.23-6.19-2.89-1.65-1.65-2.5-4.44-2.9-6.2zm1.82-1.1a.7.7 0 00-.85.88c.4 1.76 1.2 4.29 2.64 5.72 1.44 1.44 3.96 2.23 5.7 2.63a.7.7 0 00.87-.85c-.18-.88-.45-1.97-.87-3.02a8.21 8.21 0 00-1.69-2.77c-.7-.7-1.7-1.26-2.77-1.69a18.53 18.53 0 00-3.03-.9z"></path></svg>'},54536:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.1 2.9a1 1 0 011.8 0l1.93 3.91 4.31.63a1 1 0 01.56 1.7l-3.12 3.05.73 4.3a1 1 0 01-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 01-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 01.56-1.7l4.31-.63L9.1 2.9zm.9.44L8.07 7.25a1 1 0 01-.75.55L3 8.43l3.12 3.04a1 1 0 01.3.89l-.75 4.3 3.87-2.03a1 1 0 01.93 0l3.86 2.03-.74-4.3a1 1 0 01.29-.89L17 8.43l-4.32-.63a1 1 0 01-.75-.55L10 3.35z"></path></svg>'},95706:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.9 2.9a1 1 0 00-1.8 0L7.17 6.8l-4.31.63a1 1 0 00-.56 1.7l3.13 3.05-.74 4.3a1 1 0 001.45 1.05l3.43-1.8c.16-.4.4-.76.7-1.07l.1-.09a1 1 0 00-.83.05l-3.87 2.03.74-4.3a1 1 0 00-.29-.89L3 8.43l4.32-.63a1 1 0 00.75-.55L10 3.35l1.93 3.9c.15.3.43.5.75.55l4.32.63-.72.7c.48-.15 1-.17 1.49-.06a1 1 0 00-.63-1.63l-4.31-.63L10.9 2.9zm4.9 7.65l-4.82 4.83a2.2 2.2 0 00-.58 1.02l-.37 1.5a.89.89 0 001.08 1.07l1.5-.37c.38-.1.73-.3 1.01-.58l4.83-4.83a1.87 1.87 0 00-2.64-2.64z"></path></svg>'},50443:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14 7a1 1 0 100-2 1 1 0 000 2zm-2.87-5a2 2 0 00-1.43.58L3.02 9.25a2 2 0 000 2.83l4.95 4.95a2 2 0 002.83 0l6.63-6.63A2 2 0 0018 8.98V4.03a2 2 0 00-1.99-2L11.12 2zm-.72 1.3a1 1 0 01.71-.3l4.9.03a1 1 0 01.99 1v4.95a1 1 0 01-.29.7l-6.63 6.64a1 1 0 01-1.41 0l-4.95-4.95a1 1 0 010-1.41l6.68-6.67z"></path></svg>'},9547:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13.86 3c1.2 0 2.22.84 2.45 2.01l.2.99h.74c.38 0 .7.28.74.65l.01.1c0 .38-.28.7-.65.74l-.1.01h-.44l.11.56A1.5 1.5 0 0118 9.5v5c0 .83-.67 1.5-1.5 1.5H16v1a1 1 0 11-2 0v-1H6v1a1 1 0 11-2 0v-1h-.5A1.5 1.5 0 012 14.5v-5c0-.68.46-1.26 1.08-1.44l.11-.56h-.44a.75.75 0 010-1.5h.74l.2-.99A2.5 2.5 0 016.14 3h7.72zm2.64 6h-13a.5.5 0 00-.5.5v5c0 .28.22.5.5.5h13a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5zM6 11a1 1 0 110 2 1 1 0 010-2zm8 0a1 1 0 110 2 1 1 0 010-2zm-.14-7H6.14c-.72 0-1.33.5-1.47 1.2L4.1 8h11.78l-.56-2.8A1.5 1.5 0 0013.86 4z"></path></svg>'},84630:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.52 6.03L4.86 8H8V5H6.94a1.5 1.5 0 00-1.42 1.03zM4.52 9l-.26.08-.12.03A1.5 1.5 0 003 10.56v1.69c0 .16.05.31.14.43a2.5 2.5 0 014.81.32h4.1a2.5 2.5 0 014.81-.32.75.75 0 00.14-.43v-1.21a1.5 1.5 0 00-1.11-1.45L13.69 9H4.52zm8.35-1l-1.24-2.23a1.5 1.5 0 00-1.3-.77H9v3h3.87zM18 12.25c0 .7-.42 1.32-1.02 1.6a2.5 2.5 0 01-4.93.15h-4.1a2.5 2.5 0 01-4.93-.16A1.75 1.75 0 012 12.25v-1.69c0-1.1.71-2.06 1.75-2.38l.82-2.47A2.5 2.5 0 016.94 4h3.38c.91 0 1.75.5 2.19 1.29l1.54 2.77 2.1.56A2.5 2.5 0 0118 11.04v1.21zM5.5 12a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm9 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"></path></svg>'},18520:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 7c2.46 0 3.86 1.57 4.07 3.47h.06A2.82 2.82 0 0118 13.24 2.82 2.82 0 0115.13 16H6.87A2.82 2.82 0 014 13.24a2.82 2.82 0 012.87-2.77h.06C7.13 8.57 8.53 7 11 7zm0 1a3.04 3.04 0 00-3.09 3.02c0 .28-.25.5-.54.5h-.55c-1 0-1.82.78-1.82 1.74S5.81 15 6.82 15h8.36c1 0 1.82-.78 1.82-1.74s-.81-1.74-1.82-1.74h-.55c-.29 0-.54-.22-.54-.5A3.02 3.02 0 0011 8zM3.8 9.7a.5.5 0 01-.22.6l-.09.04-.8.27a.5.5 0 01-.4-.9l.08-.04.8-.28a.5.5 0 01.63.31zm5.12-4.2c.33.16.62.37.87.62-.4.08-.78.21-1.13.37a2.28 2.28 0 00-3.01 3.3c-.33.1-.64.25-.93.43a3.28 3.28 0 014.2-4.72zm-6 .17L3 5.7l.76.37a.5.5 0 01-.35.93l-.09-.03-.76-.37a.5.5 0 01.36-.93zM9.99 3.3c.22.1.33.35.26.58l-.03.08-.37.77a.5.5 0 01-.93-.36l.03-.08.37-.76a.5.5 0 01.67-.23zm-3.8-.04l.05.09.27.8a.5.5 0 01-.9.4l-.04-.08-.28-.8a.5.5 0 01.9-.4z"></path></svg>'},98593:function(e,t,n){"use strict";n.d(t,{wF:function(){return f}});var i=n(20005),o=n(12968),a=n(65620),s=n(87697),l=n(36153),r=n(67846),d=n(31702),c=n(48839);class h extends c.I{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=e=>{if(!(this.slottedTreeItems.length<1))return e.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&d.k.focusItem(this.currentFocused))):void(this.contains(e.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=e.target))},this.handleBlur=e=>{e.target instanceof HTMLElement&&(null===e.relatedTarget||!this.contains(e.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=e=>{if(e.defaultPrevented)return;if(this.slottedTreeItems.length<1)return!0;const t=this.getVisibleNodes();switch(e.key){case l.tU:return void(t.length&&d.k.focusItem(t[0]));case l.Kh:return void(t.length&&d.k.focusItem(t[t.length-1]));case l.BE:if(e.target&&this.isFocusableElement(e.target)){const t=e.target;t instanceof d.k&&t.childItemLength()>0&&t.expanded?t.expanded=!1:t instanceof d.k&&t.parentElement instanceof d.k&&d.k.focusItem(t.parentElement)}return!1;case l.mr:if(e.target&&this.isFocusableElement(e.target)){const t=e.target;t instanceof d.k&&t.childItemLength()>0&&!t.expanded?t.expanded=!0:t instanceof d.k&&t.childItemLength()>0&&this.focusNextNode(1,e.target)}return;case l.iF:return void(e.target&&this.isFocusableElement(e.target)&&this.focusNextNode(1,e.target));case l.SB:return void(e.target&&this.isFocusableElement(e.target)&&this.focusNextNode(-1,e.target));case l.kL:return void this.handleClick(e)}return!0},this.handleSelectedChange=e=>{if(e.defaultPrevented)return;if(!(e.target instanceof Element&&(0,d.t)(e.target)))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&(this.currentSelected.selected=!1),this.currentSelected=t):t.selected||this.currentSelected!==t||(this.currentSelected=null)},this.setItems=()=>{const e=this.treeView.querySelector("[aria-selected='true']");this.currentSelected=e,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems();this.getVisibleNodes().forEach((e=>{(0,d.t)(e)&&(e.nested=this.nested)}))},this.isFocusableElement=e=>(0,d.t)(e),this.isSelectedElement=e=>e.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),o.SO.queueUpdate((()=>{this.setItems()}))}handleClick(e){if(e.defaultPrevented)return;if(!(e.target instanceof Element&&(0,d.t)(e.target)))return!0;const t=e.target;t.disabled||(t.selected=!t.selected)}focusNextNode(e,t){const n=this.getVisibleNodes();if(!n)return;const i=n[n.indexOf(t)+e];(0,r.Re)(i)&&d.k.focusItem(i)}getValidFocusableItem(){const e=this.getVisibleNodes();let t=e.findIndex(this.isSelectedElement);return-1===t&&(t=e.findIndex(this.isFocusableElement)),-1!==t?e[t]:null}checkForNestedItems(){return this.slottedTreeItems.some((e=>(0,d.t)(e)&&e.querySelector("[role='treeitem']")))}getVisibleNodes(){return(0,r.UM)(this,"[role='treeitem']")||[]}}(0,i.gn)([(0,a.Lj)({attribute:"render-collapsed-nodes"})],h.prototype,"renderCollapsedNodes",void 0),(0,i.gn)([s.LO],h.prototype,"currentSelected",void 0),(0,i.gn)([s.LO],h.prototype,"slottedTreeItems",void 0);var v=n(39181),u=n(58952),p=n(90960);var g=n(53046),m=n(67020);const f=h.compose({baseName:"tree-view",template:(e,t)=>v.d`
    <template
        role="tree"
        ${(0,u.i)("treeView")}
        @keydown="${(e,t)=>e.handleKeyDown(t.event)}"
        @focusin="${(e,t)=>e.handleFocus(t.event)}"
        @focusout="${(e,t)=>e.handleBlur(t.event)}"
        @click="${(e,t)=>e.handleClick(t.event)}"
        @selected-change="${(e,t)=>e.handleSelectedChange(t.event)}"
    >
        <slot ${(0,p.Q)("slottedTreeItems")}></slot>
    </template>
`,styles:(e,t)=>g.i`
    :host([hidden]) {
        display: none;
    }

    ${(0,m.j)("flex")} :host {
        flex-direction: column;
        align-items: stretch;
        min-width: fit-content;
        font-size: 0;
    }

    :host:focus-visible {
        outline: none;
    }
`})},28090:function(e,t,n){"use strict";n.d(t,{e:function(){return c},m:function(){return h}});var i=n(20005),o=n(65620),a=n(87697),s=n(48839),l=n(7775),r=n(51208),d=n(86076);class c extends s.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,i.gn)([o.Lj],c.prototype,"download",void 0),(0,i.gn)([o.Lj],c.prototype,"href",void 0),(0,i.gn)([o.Lj],c.prototype,"hreflang",void 0),(0,i.gn)([o.Lj],c.prototype,"ping",void 0),(0,i.gn)([o.Lj],c.prototype,"referrerpolicy",void 0),(0,i.gn)([o.Lj],c.prototype,"rel",void 0),(0,i.gn)([o.Lj],c.prototype,"target",void 0),(0,i.gn)([o.Lj],c.prototype,"type",void 0),(0,i.gn)([a.LO],c.prototype,"defaultSlottedContent",void 0);class h{}(0,i.gn)([(0,o.Lj)({attribute:"aria-expanded"})],h.prototype,"ariaExpanded",void 0),(0,d.e)(h,l.v),(0,d.e)(c,r.hW,h)},31702:function(e,t,n){"use strict";n.d(t,{k:function(){return h},t:function(){return c}});var i=n(20005),o=n(65620),a=n(87697),s=n(67846),l=n(51208),r=n(86076),d=n(48839);function c(e){return(0,s.Re)(e)&&"treeitem"===e.getAttribute("role")}class h extends d.I{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>c(this.parentElement),this.handleExpandCollapseButtonClick=e=>{this.disabled||e.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=e=>{this.setAttribute("tabindex","0")},this.handleBlur=e=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(e,t){this.$fastController.isConnected&&this.items.forEach((e=>{c(e)&&(e.nested=!0)}))}static focusItem(e){e.focusable=!0,e.focus()}childItemLength(){const e=this.childItems.filter((e=>c(e)));return e?e.length:0}}(0,i.gn)([(0,o.Lj)({mode:"boolean"})],h.prototype,"expanded",void 0),(0,i.gn)([(0,o.Lj)({mode:"boolean"})],h.prototype,"selected",void 0),(0,i.gn)([(0,o.Lj)({mode:"boolean"})],h.prototype,"disabled",void 0),(0,i.gn)([a.LO],h.prototype,"focusable",void 0),(0,i.gn)([a.LO],h.prototype,"childItems",void 0),(0,i.gn)([a.LO],h.prototype,"items",void 0),(0,i.gn)([a.LO],h.prototype,"nested",void 0),(0,i.gn)([a.LO],h.prototype,"renderCollapsedChildren",void 0),(0,r.e)(h,l.hW)},1550:function(e,t,n){"use strict";n.d(t,{W:function(){return c}});var i=n(39181),o=n(81422),a=n(74009),s=n(13988),l=n(58952),r=n(90960),d=n(51208);const c=(e,t)=>i.d`
    <template
        role="treeitem"
        slot="${e=>e.isNestedItem()?"item":void 0}"
        tabindex="-1"
        class="${e=>e.expanded?"expanded":""} ${e=>e.selected?"selected":""} ${e=>e.nested?"nested":""}
            ${e=>e.disabled?"disabled":""}"
        aria-expanded="${e=>e.childItems&&e.childItemLength()>0?e.expanded:void 0}"
        aria-selected="${e=>e.selected}"
        aria-disabled="${e=>e.disabled}"
        @focusin="${(e,t)=>e.handleFocus(t.event)}"
        @focusout="${(e,t)=>e.handleBlur(t.event)}"
        ${(0,o.p)({property:"childItems",filter:(0,a.R)()})}
    >
        <div class="positioning-region" part="positioning-region">
            <div class="content-region" part="content-region">
                ${(0,s.g)((e=>e.childItems&&e.childItemLength()>0),i.d`
                        <div
                            aria-hidden="true"
                            class="expand-collapse-button"
                            part="expand-collapse-button"
                            @click="${(e,t)=>e.handleExpandCollapseButtonClick(t.event)}"
                            ${(0,l.i)("expandCollapseButton")}
                        >
                            <slot name="expand-collapse-glyph">
                                ${t.expandCollapseGlyph||""}
                            </slot>
                        </div>
                    `)}
                ${(0,d.m9)(e,t)}
                <slot></slot>
                ${(0,d.LC)(e,t)}
            </div>
        </div>
        ${(0,s.g)((e=>e.childItems&&e.childItemLength()>0&&(e.expanded||e.renderCollapsedChildren)),i.d`
                <div role="group" class="items" part="items">
                    <slot name="item" ${(0,r.Q)("items")}></slot>
                </div>
            `)}
    </template>
`}}]);A
Eo