{
        right: 16px;
        left: auto;
    }
    .sports-wc-st-suggest-icon {
        float: left;
    }
`,qt=H.i`
    .more-actions {
        left: 16px;
        right: auto;
    }
    .sports-wc-st-suggest-icon {
        float: right;
    }
`,Jt=H.i`
    .lb-header,
    .lb-data,
    .lb-content,
    .lb-game-list,
    .lb-content-list {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-decoration: none;
        color: ${U.CHi};
    }
    .lb-data {
        box-sizing: border-box;
        flex-direction: column;
        height: 100%;
    }

    .lb-content {
        margin: 4px 16px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.54);
        width: calc(100% - 32px);
    }

    .lb-content:hover,
    .lb-content:active,
    .lb-content:${G.b},
    .lb-race:hover,
    .lb-game:active,
    .lb-game:${G.b} {
        background: rgba(255, 255, 255, 0.7);
    }
    
    .lb-header {
        color: ${U.CHi};
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
        text-align: center;
    }
    .lb-sports-liveicon {
        padding-left: 180px
    }
    
    .lb-header span {
        margin: 0 2px;
    }
    .lb-header svg {
        padding-top: 4px;
    }
    
    .lb-header-title {
        font-weight: bold;
    }

    .lb-line {
        display: flex;
        padding: 6px 6px 6px 12px;
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
    }
    .lb-line span {
        padding: 0 4px;
    }
    .lb-line > svg {
        fill: ${U.CHi};
        padding: 6px 0;
    }

    .lb-winner {
        color: ${U.CHi};
    }

    .lb-real {
        color: #C80000;
    }

    .lb-participant {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .lb-participant-no {
        font-style: italic;
        font-size: 14px;
        line-height: 20px;
        font-weight: 900;
        text-align: left;
        color: #FFFFFF;
        text-shadow: -1px -1px 1.25px rgba(0, 0, 0, 0.83),
                    1px -1px 1.25px rgba(0, 0, 0, 0.83),
                    -1px 1px 1.25px rgba(0, 0, 0, 0.83),
                    1px 1px 1.25px rgba(0, 0, 0, 0.83);
    }

    .lb-score {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 60px;
        margin-left: auto;
        margin-right: 4px;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: end;
    }

    .lb-game-list {
        flex-direction: column;
        align-items: stretch;
        width:100%;
    }

    .lb-game {
        display: flex;
        padding: 8px;
        margin: 4px 16px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.3);
        color: ${U.CHi};
        text-decoration: none;
    }

    .lb-game-icon {
        width: 28px;
        height: 28px;
        margin: auto 8px auto 0px;
    }
    :host([colormode="dark"]) .formular1-data .lb-game-icon {
        -webkit-filter: invert(1);
        filter: invert(1);
    }
    :host([colormode="dark"]) .lb-content,
    :host([colormode="dark"]) .lb-game {
        background: rgba(255, 255, 255, 0.09);
    }

    .lb-rank{
        width: 15px;
    }

    .lb-country-flag {
        width: 22px;
        height: 20px;
        margin: auto 8px auto 0px;
    }

    .lb-game-info {
        width: 158px;
    }

    .lb-game-subheader,
    .lb-game-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
    }

    .lb-game-name {
        font-weight: 500;
    }

    .lb-game-detail {
        text-align: center;
        color: ${U.CHi};
        float: right;
        width: 64px;
        margin: auto;
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
    }
    .lb-game-detail > div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .lb-game-time,
    .lb-winner {
        font-weight: bold;
    }

    :host([colormode="dark"]) .lb-content,
    :host([colormode="dark"]) .lb-game {
        background: rgba(255, 255, 255, 0.09);
    }
    :host([colormode="dark"]) .formular1-data .lb-game-icon {
        -webkit-filter: invert(1);
        filter: invert(1);
    }
    `.withBehaviors(new N.O(Vt,qt),(0,R.vF)(H.i`
                :host: 
                    forced-color-adjust: auto;
                }
            `));var Zt=a(53039);const Xt=O.d`${t=>t.getLiveGameLogo()}`,Yt=O.d`${t=>t.getNonLiveGameLogo()}`,Kt=O.d`
    <img class="lb-country-flag" role="presentation" 
        src="${(t,e)=>e.parent.getCountryFlagForParticipant(t)}"
    />
`,Qt=O.d`
    <span class="lb-participant-no ${(t,e)=>e.parent.isWinner(t)?"lb-winner":""}" 
        title=${(t,e)=>e.parent.getIdentifier(t)}>${(t,e)=>`#${e.parent.getIdentifier(t)}`}
    </span>
`,te=O.d`
    <span>-</span>
    <span class="lb-date">
        ${t=>t.getGameDate(t.sportMatchData[0])}
    </span>
`,ee=O.d`
    <span>
        ${(0,J.g)((t=>t.isGameLive(t.sportMatchData[0])),Xt)}
        ${(0,J.g)((t=>!t.isGameLive(t.sportMatchData[0])),Yt)}
    </span>
`,ae=O.d`
    <span class="lb-sports-liveicon">
        ${Xt}
    </span>
`,ie=O.d`
    <div class="lb-header">
        ${(0,J.g)((t=>!t.displayGenericLiveGameIcon(t.sportMatchData[0])),ee)}
        <span class="lb-header-title">
            ${t=>t.isPostGame(t.sportMatchData[0])?t.getGameStateFinalText():t.getGameProgress()}
        </span>
        ${(0,J.g)((t=>t.displayGenericLiveGameIcon(t.sportMatchData[0])),ae)}
        ${(0,J.g)((t=>t.displayGameDate()),te)}
    </div>
`,re=O.d`
    <span 
        class="lb-rank">${(t,e)=>e.parent.getParticipantRank(t)}
    </span>
`,se=O.d`
    <div class="lb-line" key=${(t,e)=>e.parent.getIdentifier(t)}>
        ${(0,J.g)(((t,e)=>!e.parent.isPreGame(e.parent.sportMatchData[0])),re)}
        ${(0,J.g)(((t,e)=>e.parent.displayParticpantCountryFlag()),Kt)}
        <span class="lb-participant ${(t,e)=>e.parent.isWinner(t)?"lb-winner":""}" title=${(t,e)=>e.parent.getParticipantName(t)}>
            ${(t,e)=>e.parent.getParticipantName(t)}
        </span>
        ${(0,J.g)(((t,e)=>e.parent.displayParticpantScoreTag()),Qt)}
        <span class="lb-score ${(t,e)=>e.parent.isWinner(t)?"lb-winner":""}" title=${(t,e)=>e.parent.getParticipantScore(e.parent.sportMatchData[0],t)}>
            ${(t,e)=>e.parent.getParticipantScore(e.parent.sportMatchData[0],t)}
        </span>
        ${(0,J.g)(((t,e)=>e.parent.isWinner(t,e.parent.sportMatchData[0])&&0===e.index),O.d`${Zt.Z}`)}
    </div>
`,ne=O.d`
    <a class="lb-game"
        href=${(t,e)=>e.parent.getGameClickThrough(t)?e.parent.getGameClickThrough(t):void 0}
        target=${(t,e)=>e.parent.linkTarget}
        data-t="${(t,e)=>{var a;return e.parent.telemetryContext&&e.parent.telemetryContext.games&&t.gameId?null===(a=e.parent.telemetryContext.games.get(t.gameId))||void 0===a?void 0:a.getMetadataTag():""}}"
    >
        <img class="lb-game-icon"
            role="presentation"
            src="${(t,e)=>e.parent.getGameImageUrl(t)}"
        />
        <div class="lb-game-info">
            <div class="lb-game-name" title="${(t,e)=>e.parent.getGameName(t)}">
                ${(t,e)=>e.parent.getGameName(t)}
            </div>
            <div class="lb-game-subheader ${(t,e)=>e.parent.isGameSubheaderBold(t)?"lb-winner":""}" title="${(t,e)=>e.parent.getGameSubheader(t)}">
                ${(t,e)=>e.parent.getGameSubheader(t)}
            </div>
        </div>
        <div class="lb-game-detail">
            <div class="lb-game-time ${(t,e)=>e.parent.isGameLive(t)?"lb-real":""}">
                ${(t,e)=>e.parent.getGameDetails(t).timeOrState}
            </div>
            <div class="lb-game-state">
                ${(t,e)=>e.parent.getGameDetails(t).channelOrDate}
            </div>
        </div>
    </a>
`,oe=O.d`
    <div class="lb-game-list">
        ${(0,Z.rx)((t=>t.sportMatchData),ne)}
    </div>
`,le=O.d`
    <a
        class="lb-content"
        href=${t=>t.getGameClickThrough(t.sportMatchData[0])?t.getGameClickThrough(t.sportMatchData[0]):void 0}
        target=${t=>t.linkTarget}
        data-t="${t=>{var e;return t.telemetryContext&&t.telemetryContext.games&&t.getGameId(t.sportMatchData[0])?null===(e=t.telemetryContext.games.get(t.getGameId(t.sportMatchData[0])))||void 0===e?void 0:e.getMetadataTag():""}}"
    >
        ${(0,Z.rx)((t=>t.getParticipants(t.sportMatchData[0])),se)}
    </a>
`,de=O.d`
    ${(0,J.g)((t=>t.sportMatchData&&t.sportMatchData.length>0),O.d`
        <div class="${t=>t.getDataClassName()}">
            ${(0,J.g)((t=>t.isLeaderBoard()),ie)}
            ${(0,J.g)((t=>t.isLeaderBoard()),le)}
            ${(0,J.g)((t=>!t.isLeaderBoard()),oe)}
        </div>`)}
`;let ce=class extends jt{};ce=(0,u.gn)([(0,_t.M)({name:"sports-leaderboardsports",template:de,styles:Jt,shadowOptions:{delegatesFocus:!0}})],ce);var pe=a(33763),he=a(94522),ue=a(52468),ge='<svg width="20" height="20" viewBox="0 0 20 20"><path d="M8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"/></svg>',me='<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.77 4.01c-.3-.3-.8-.3-1.1 0l-1.28 1.3a.45.45 0 0 1-.65 0L8.31.76a1.7 1.7 0 0 0-2.4 0L3.97 2.72c-.3.3-.3.8 0 1.1.3.29.8.29 1.1 0L7 1.87c.06-.06.15-.06.2 0l1.34 1.34-1.32 1.3a1.37 1.37 0 0 0 1.94 1.94l1.28-1.29 1.2 1.22a2 2 0 0 0 2.84 0l1.28-1.3c.32-.29.32-.78.01-1.08ZM6.35 6.54a.82.82 0 0 0-.91-.17.82.82 0 0 0-.5.79L5 10.92H.83a.83.83 0 0 0-.83.84c0 .46.37.83.83.83h4.52c.36 0 .7-.14.96-.4.25-.25.38-.59.38-.94l-.05-2.08 2.29 2.26-3.16 3.15a.84.84 0 0 0 0 1.18c.17.17.38.24.58.24.2 0 .43-.08.59-.24l3.75-3.75a.85.85 0 0 0 .25-.6c0-.22-.1-.44-.25-.6L6.35 6.55Z" fill="#7B61FF"/><path d="M12.23 3.26a1.63 1.63 0 1 0 0-3.26 1.63 1.63 0 0 0 0 3.26Z" fill="#7B61FF"/></svg>',ve=a(15933);const fe=H.i`
    .sports-header-icon {
        padding: 0 8px 0 0;
    }
    .sports-header-title {
        margin: 0 8px 0 0;
    }
    .sports-nav-tick {
        margin-left: auto;
    }
`,ye=H.i`
    .sports-reminder-link {
        text-align: right;
    }
    .sports-header-icon {
        padding: 0 0 0 8px;
    }
    .sports-header-title {
        margin: 0 0 0 8px;
    }
    .sports-header-nav {
        padding-right: 4px;
        margin-right: -4px;
    }
    .sports-nav-list {
        margin: 26px -4px 0 16px;
    }
    .sports-nav-tick {
        margin-right: auto;
    }
    .pinned-icon {
        margin-left: calc(50% - 8px);
    }
    .sports-reminder-text {
        margin-left: 14px;
    }
    .sports-nav-content[cardlayout="_1x_1y"],
    .sports-nav-list[cardlayout="_1x_1y"] {
        margin: 24px -4px 0 16px;
    }
    .sports-nav-content,
    .sports-nav-list {
        margin: 26px -4px 0 16px;
    }
`,we=H.i`
    .matchup-neutral-background {
        background: rgba(255, 255, 255, 0.5);
    }
    .matchup-neutral-background:hover,
    .matchup-neutral-background:${G.b} {
        background: rgba(255, 255, 255, 0.8);
    }

    :host([colormode="dark"]) .matchup-neutral-background {
        background: rgba(255, 255, 255, 0.09);
    }
    :host([colormode="dark"]) .matchup-neutral-background:hover,
    :host([colormode="dark"]) .transparent-matchup-container:hover,
    :host([colormode="dark"]) .matchup-neutral-background:${G.b}
    :host([colormode="dark"]) .transparent-matchup-container:${G.b} {
        background: rgba(255, 255, 255, 0.13);
    }
`,be=H.i`
:host {
    --footer-link-background: #E8EBF7;
    --footer-link-hover-background: #DDE2F3;
    --sports-card-bg-color: linear-gradient(160deg, rgba(104,125,202,0.2), rgba(104,125,202,0.6)), #FFFFFF;
    --sd-sports-card-bg-color: linear-gradient(160deg, rgba(104,125,202,0.2), rgba(104,125,202,0.6)), #FFFFFF;
    padding: 0;
    --content-padding: 16px 0;
    --title-padding: 0 16px;
}

msft-structured-data-card {
    --grid-gap: 12;
    --example-card-height: 146;
    --example-card-width: 300;
    background: var(--sd-sports-card-bg-color);
    --pinned-cursor-style: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Layer_2' data-name='Layer 2' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M15.985,4.365c-.822,0-1.371.585-1.489,1.559V3.444c0-1.188-.6-1.956-1.536-1.956-.822,0-1.354.563-1.472,1.529V2.3c0-1.08-.565-1.7-1.55-1.7-.965,0-1.455.572-1.455,1.7V3.8A1.429,1.429,0,0,0,6.992,2.456c-.555,0-1.486.236-1.486,1.813L5.469,14.387a9.6,9.6,0,0,0-2.822-1.882,1.486,1.486,0,0,0-.7-.088A1.6,1.6,0,0,0,.536,14.176a1.544,1.544,0,0,0,.591,1.056v0a71.374,71.374,0,0,1,4.388,5.738l.07.083C6.943,22.343,8.353,23.5,10.653,23.5A6.877,6.877,0,0,0,17.5,16.3V6.32C17.5,5.114,16.919,4.365,15.985,4.365Z' style='fill:%23fff'/%3E%3Cpath d='M9.938,1.1c.754,0,1.05.442,1.05,1.2v8.1c0,.3.256.833.553.833s.422-.537.422-.833V3.444c0-.757.239-1.456,1-1.456S14,2.687,14,3.444v7.489a.537.537,0,0,0,.535.536c.294,0,.438-.493.441-.785V6.312c0-.754.258-1.447,1.013-1.447S17,5.562,17,6.32V16.3A6.348,6.348,0,0,1,10.654,23c-2.075,0-3.329-.985-4.724-2.308a71.652,71.652,0,0,0-4.423-5.785c-.009-.009-.01-.019-.022-.029a1.077,1.077,0,0,1-.452-.758,1.1,1.1,0,0,1,.972-1.207.977.977,0,0,1,.108-.006,1.064,1.064,0,0,1,.364.068c.769.157,2.5,1.682,3.488,2.449L6.006,4.271c0-.761.23-1.315.985-1.315s1.026.554,1.026,1.315l-.011,6.373s.022.6.509.6a.513.513,0,0,0,.469-.567V2.3c0-.758.2-1.2.954-1.2m0-1A1.87,1.87,0,0,0,7.985,2.194a2.111,2.111,0,0,0-.994-.238c-.465,0-1.985.167-1.985,2.315l-.033,9.082a6.931,6.931,0,0,0-2.221-1.341,2.065,2.065,0,0,0-.639-.105,1.894,1.894,0,0,0-.224.013A2.083,2.083,0,0,0,.782,15.6c2.254,2.614,4.3,5.625,4.321,5.655l.06.09.079.074C6.676,22.778,8.169,24,10.654,24A7.366,7.366,0,0,0,18,16.3V6.32c0-1.812-1.086-2.455-2.015-2.455A1.947,1.947,0,0,0,15,4.13V3.444C15,1.975,14.178.988,12.96.988a1.9,1.9,0,0,0-1.124.359A1.912,1.912,0,0,0,9.938.1Z' style='fill:%23121527'/%3E%3C/svg%3E") 8 8, grab;
    --hover-dropdown-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='sp_dy_hd_da' width='14' height='15' fill='%23192140' viewBox='0 0 12 8'%3E%3Cpath d='M11.25 0.791992L11.7773 1.31934L5.88867 7.20801L0 1.31934L0.527344 0.791992L5.88867 6.15332L11.25 0.791992Z'%3E%3C/path%3E%3C/svg%3E");
}
msft-structured-data-card::part(title-content) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.sd-card-template-nav::part(title-link) {
    z-index: 2;
    grid-template-columns: auto 1fr auto;
}
.sd-card-template-nav.nav-showing::part(title-link)::after,
.sd-card-template-nav::part(title-link)::after {
    position: absolute;
    content: var(--hover-dropdown-icon);
    inset: 0;
    padding: 6px 2px 0;
    border-radius: 4px;
    position: relative;
}

.sd-card-template-nav.nav-showing::part(title-link),
.sd-card-template-nav::part(title-link):hover {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.sd-card-template .sports-match-card {
    background: transparent !important;
    padding: 0 0 6px;
}

.sd-card-template .sports-match-card::after {
    content: '';
    inset: calc(100% - 16px) 0 0;
    width: 100%;
    height: 16px;
    position: absolute;
}
.sd-card-template .sports-match-card::before {
    content: '';
    inset: 0px;
    width: 100%;
    height: 40px;
    position: absolute;
}
msft-structured-data-card::part(title-link) {
    z-index: 1;
}

msft-structured-data-card[pinned] .sports-match-card::before {
    cursor: var(--pinned-cursor-style);
}

.sd-card-template._1x_1y .sports-match-card {
    height: 100px;
}
.sd-card-template .sports-match-card.with-pagination {
    padding: 0;
}
.sd-card-template sports-carousel {
    z-index: 2;
}
.sd-card-template,
.sd-card-template-setting {
    border-radius: calc(${U.rSr} * 2px);
}
.sd-card-template-setting._1x_1y {
    height: 146px;
}
.sd-card-template .sports-seemore-link {
    padding: 0 24px;
    margin: 0;
    line-height: ${U.vgC};
    vertical-align: baseline;
}
.sd-card-template-setting {
    background: #FFFFFF;
}
.sd-card-template-setting .sports-search {
    width: 300px;
}
.sd-card-template-setting._1x_1y .sports-search {
    padding: 0;
    margin: 0;
}
:host([colormode="dark"]) .sd-card-template-setting {
    background: #2C2C2C;
}
.dynamic-feed-actions {
    background: transparent;
}
.dynamic-feed-actions:hover,
.dynamic-feed-actions:active,
.dynamic-feed-actions:${G.b} {
    background: ${U.wFS};
}

.sports-wc,
.sports-search {
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
}

.sports-match-card {
    box-sizing: border-box;
    border-radius: 6px;
    padding: 12px 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(160deg, rgba(232,235,247,0), rgba(232,235,247,1)), #FFFFFF;
    overflow: hidden;
}
.sports-match-card.light-background {
    background: linear-gradient(160deg, rgba(232,235,247,0), rgba(232,235,247,1)), #FFFFFF !important;
}

.sports-match-card.with-pagination {
    padding: 16px 0 0 0;
    justify-content: normal;
}

.sports-match-card.sports-cold-start {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.sports-match-card-t1 {
    background: var(--sports-card-bg-color);
}
.sports-card-content {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
}
.sports-superbowl .more-actions {
    opacity: 0.6;
}
.cardless-styles fluent-button.more-actions.neutral {
    background: rgba(0, 0, 0, 0.07);
}

.sports-footer-see-more.cardless-styles  {
    background: rgba(0, 0, 0, 0.07) !important;
}

.sports-header-container {
    display: flex;
    flex-direction: row;
    width: calc(100% - 32px);
}
.sports-header {
    display: flex;
    flex-direction: row;
    flex: 1;
    width: 234px;
    min-height: 28px;
    max-height: 28px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-top: -4px;
}

.sports-header-icon {
    width: 24px;
    height: 24px;
    margin-top: -4px;
    padding: 0 8px 0 0;
}

.sports-header-title {
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: ${U.CHi};
}

.sports-header-title:hover,
.sports-header-title:active,
.sports-header-title:${G.b} {
    text-decoration: underline;
    outline: none;
}

.sports-widget-content[cardlayout="_1x_1y"] {
    padding-top: 48px;
}
.sports-widget-content[cardlayout="_1x_2y"] {
    padding-top: 24px;
}
.sports-widget-content[cardlayout="_1x_3y"] {
    padding-top: 32px;
}

.sports-footer-container {
    align-items: center;
    height: 24px;
}

:host([uxstyle="article"]) .sports-footer-container {
    margin-top: 10px;
}

sports-carousel {
    width: 100%;
    overflow: hidden;
    height: 100%;
}

.sports-footer-see-more {
    background: ${U.wFS};
    color: ${U.CHi};
    font-size: var(--type-ramp-minus-1-font-size);
    line-height: var(--type-ramp-minus-1-line-height);
    border-radius: 20px;
    padding: 0 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.sports-footer-see-more:hover,
.sports-footer-see-more:active,
.sports-footer-see-more:${G.b} {
    background: ${U.Gy2};
}

.sports-footer-see-more.widget-footer {
    color: #003e92;
    background: ${U.wFS};
}
.sports-footer-see-more.widget-footer:hover,
.sports-footer-see-more.widget-footer:active,
.sports-footer-see-more.widget-footer:${G.b} {
    background: ${U.Gy2};
}
.with-background-image. sports-footer-see-more {
    background: rgba(255, 255, 255, 0.09);
}
.sports-footer-see-more-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.sports-seemore-link {
    height: auto;
    line-height: 1em;
    padding: 4px 24px;
    margin-right: auto;
    margin-left: auto;
    font-size: ${U.cSu}; 
    border-radius: 20px;
    vertical-align: middle;
    text-align: center;
    margin-bottom: var(--sequence-indicator-padding);     
    letter-spacing: 0.3px;
    color: ${U.goi};
    text-decoration: none;
}
.sports-seemore-link:hover,
.sports-seemore-link:active,
.sports-seemore-link:${G.b} {
    text-decoration: underline;
}

.no-background,
.cardless-styles  {
    background: transparent !important;
}

.more-actions {
    margin-top: -4px;
    --control-corner-radius: 16;
    min-width: 24px;
    width: 24px;
    height: 24px;
    z-index: 9;
}
.widget-more-actions {
    height: 30px;
    width: 30px;
    background-color: transparent;
}
.widget-more-actions:hover {
    border-radius: 3px;
    background: ${U.wFS};
}

.sports-follow-reminder {
    margin-top: -82px;
    margin-left: 16px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 236px;
    padding: 13px 16px 14px;
    border-radius: 6px;
    background: #3B3B3B;
    text-decoration: none;
    z-index: 22;
    color: ${U.jql};
    font-size: ${U.sNp};
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sports-follow-reminder.personalization-reminder {
    margin-left: 32px;
    padding: 13px 0 0;
    color: ${U.CHi}
}
.sports-reminder-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.sports-reminder-content.personalization-reminder {
    margin-bottom: 13px;
}
.sports-reminder-text {
    width: 204px;
    white-space: normal;
    word-break: break-word;
    margin-right: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.sports-reminder-text.personalization-reminder {
    padding-left: 16px;
    color: #FFF;
}
.sports-reminder-close {
    width: 18px;
    height: 18px;
    padding: 3px;
    font-size: ${U.sNp};
    align-self: flex-start;
    border: none;
    background: transparent;
    cursor: pointer;
    fill: ${U.jql};
}
.sports-reminder-close.personalization-reminder {
    margin-right: 16px;
}
.sports-reminder-link {
    margin-top: 6px;
    color: #63ADE5;
    cursor: pointer;
    text-align: left;
    height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: underline;
}
.sports-reminder-link.personalization-reminder {
    margin-top: 0;
    background: #333333;
    height: 26px;
    padding-left: 16px;
    padding-top: 4px;
}

::slotted([slot="more-actions"]) {
    --control-corner-radius: 20;
}

.sports-header-nav {
    display: flex;
    padding-left: 4px;
    margin-left: -4px;
    border-radius: 4px;
    padding-top: 4px;
}
.sports-header-title-nav {
    border-radius: 4px;
    display: flex;
    max-width: 206px;
}
.title-nav-hover {
    background: rgba(255, 255, 255, 0.7);
}

.sports-nav-button {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
}
.sports-nav-arrow > svg {
    fill: ${U.CHi};
}
.sports-nav-content[cardlayout="_1x_1y"],
.sports-nav-list[cardlayout="_1x_1y"] {
    margin: 24px 16px 0 -4px;
}
.sports-nav-content,
.sports-nav-list {
    position: absolute;
    margin: 26px 16px 0 -4px;
    min-height: 40px;
    background: #FFFFFF;
    outline: none;
    border: none;
    outline-color: ${U.yGg};
    cursor: pointer;
    display: inline;
    padding: calc(4px - var(--stroke-width) * 1px);
    border: calc(var(--stroke-width) * 1px) solid transparent;
    z-index: 105;
    list-style-type: none;
    border-radius: 4px;
    width: 268px;
}
.nav-list-scroll,
.sports-nav-content {
    max-height: 248px;
}
.sports-nav-content .sports-nav-item {
    width: 244px;
}
.nav-content-list {
    margin: 0;
    padding: 4px 12px;
    width: 234px;
}
.followed-list {
    border-bottom: 1px solid ${U.dtw};
}
.nav-list-scroll {
    overflow-y: scroll;
}
.nav-list-scroll::-webkit-scrollbar {
    width: 10px;
}
.nav-list-title {
    font-style: italic;
    color: ${U.CHi};
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    padding: 6px 12px;
    cursor: default;
}

.nav-list-scroll::-webkit-scrollbar-thumb {
    border-radius: 20px;
    height: 82px;
    -webkit-box-shadow: inset 0 0 5px #eee;
    background: #D6D6D6;
}

.sports-nav-item {
    width: 260px;
    height: 32px;
    display: flex;
    grid-column-gap: 8px;
    grid-template-columns: 95% 5%;
    align-items: center;
    border-radius: 4px;
}
.sports-nav-footer:hover,
.sports-nav-item:hover {
    background: rgba(0, 0, 0, 0.1);
}
.nav-with-follow-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-with-follow-icon.nav-active {
    background: #F3F3F3;
}
.nav-footer-with-follow-icon:hover,
.sports-nav-item.nav-with-follow-icon:hover {
    background: #E8E8E8;
}

.nav-active {
    font-weight: 600;
}
.sports-nav-icon {
    width: 26px;
    height: 26px;
}
.sports-nav-item-title {
    padding: 4px 0;
    height: 24px;
    color: ${U.CHi};
    font-size: ${U.cSu};
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-with-follow-icon .sports-nav-item-title {
    width: 178px;
}
.sports-nav-item-padding > span {
    padding: 0 16px;
}

.sports-nav-tick {
    padding: 11px 4px 12px;
    margin-left: auto;
}
.sports-nav-tick > svg {
    float: left;
    fill: #0078D4;
}

.sports-live {
    display: inline-block;
    background: linear-gradient(104.92deg, #FF3D13 0%, #cc0000 100%);
    color: rgba(255, 255, 255, 0.83);
    height: 12px;
    padding: 2px 4px;
    margin: 6px 2px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    white-space: nowrap;
}
.nav-list-seemore-top .sports-nav-footer {
    width: auto;
    border-bottom: 1px solid ${U.dtw};
}

.sports-nav-footer {
    height: 32px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    fill: currentColor;
    border-radius: 4px;
}
.sports-nav-footer svg {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}
.sports-nav-add {
    color: ${U.CHi};
    font-size: ${U.cSu};
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 212px;
    padding: 0 4px;
}

.with-background-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    mix-blend-mode: normal;
}
.event-specific-footer {
    background: #ffffff;
}
sports-hidepopup {
    z-index: 900;
    position: absolute;
}
sports-hidereminder {
    z-index: 900;
    background: #ffffff;
    position: absolute;
    border-radius: 6px;
    width: 300px;
}
:host([colormode="dark"]) sports-hidereminder {
    background: #3B3B3B;
}

.pinned-icon {
    background: transparent;
    margin-top: 2px;
    margin-right: calc(50% - 8px);
    fill: ${U.CHi};
}

.sd-more-actions {
    z-index: 2;
    display: flex;
    width: 40px;
    justify-content: end;
}

:host([colormode="dark"]) .sports-superbowl-footer {
    background: #303B62;
}
:host([colormode="dark"]) {
    --menu-z-index: 700;
    --footer-link-background: #2E3A65;
    --footer-link-hover-background: #354271;
    --sports-card-bg-color: linear-gradient(160deg, rgba(40,51,90,0), rgba(40,51,90,1)), #242424;
    --sd-sports-card-bg-color: linear-gradient(136.48deg, rgba(32, 57, 116, 0.24) 9.98%, rgba(32, 57, 116, 0.8) 94.87%);
}
:host([colormode="dark"]) .sports-match-card {
    background: linear-gradient(160deg, rgba(46,58,101,0), rgba(46,58,101,1)), #2B2B2B;
}
:host([colormode="dark"]) .sports-footer-see-more.widget-footer {
    color: #99ebff;
}
:host([colormode="dark"]) .sports-wc-search-input {
    margin-left: 8px;
}
:host([colormode="dark"]) .cardless-styles fluent-button.more-actions.neutral {
    background: rgba(255, 255, 255, 0.09);
}
:host([colormode="dark"]) .with-background-image .more-actions,
:host([colormode="dark"]) .with-background-image .sports-footer-see-more {
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 255);
}
:host([colormode="dark"]) .sports-nav-tick > svg {
    fill: #63ADE5;
}
:host([colormode="dark"]) .sports-nav-content,
:host([colormode="dark"]) .sports-nav-list {
    background: #4A4A4A;
}
:host([colormode="dark"]) .title-nav-hover {
    background: rgba(255, 255, 255, 0.13);
}
:host([colormode="dark"]) .followed-list {
    border-bottom: 1px solid #EBEBEB;
}
:host([colormode="dark"]) .sports-nav-footer:hover,
:host([colormode="dark"]) .sports-nav-item:hover {
    background: #828282;
}
:host([colormode="dark"]) msft-structured-data-card {
    --hover-dropdown-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='sp_dy_hd_da' width='14' height='15' fill='%23f2f3fa' viewBox='0 0 12 8'%3E%3Cpath d='M11.25 0.791992L11.7773 1.31934L5.88867 7.20801L0 1.31934L0.527344 0.791992L5.88867 6.15332L11.25 0.791992Z'%3E%3C/path%3E%3C/svg%3E");
}
:host([colormode="dark"]) .sd-card-template-nav.nav-showing::part(title-link),
:host([colormode="dark"]) .sd-card-template-nav::part(title-link):hover {
    background: rgba(255, 255, 255, 0.13);
}
:host([colormode="dark"]) .nav-with-follow-icon.nav-active {
    background: #666666;
}
:host([colormode="dark"]) .nav-list-scroll::-webkit-scrollbar-thumb {
    background: #FBFBFB;
}
:host([colormode="dark"]) sports-hidereminder {
    background: #3B3B3B;
}
:host([colormode="dark"]) .sports-seemore-link {
    color: #99EBFF; /* the same color as in weather card */
}

:host([colormode="dark"]) .nav-footer-with-follow-icon:hover,
:host([colormode="dark"]) .sports-nav-item.nav-with-follow-icon:hover {
    background: #888888;
}
:host([colormode="dark"]) .sports-follow-reminder {
    background: #FBFBFB;
}
`.withBehaviors(new N.O(fe,ye),(0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
                .sports-nav-item.nav-active,
                .sports-nav-item:hover,
                .sports-nav-item:focus,
                .sports-nav-footer:hover,
                .sports-nav-footer:focus,
                .nav-footer-with-follow-icon:hover,
                .sports-nav-item.nav-with-follow-icon:hover {
                    background: ${ve.H.Highlight};
                }
                .sports-nav-tick > svg,
                .sports-nav-footer svg,
                .sports-reminder-close svg {
                    fill: ${ve.H.ButtonText};
                }
                .sports-seemore-link,
                .sports-footer-see-more {
                    color: ${ve.H.LinkText};
                    border: 1px solid ${ve.H.LinkText};
                }
                .nav-list-scroll::-webkit-scrollbar-thumb {
                    background: ${ve.H.CanvasText};
                }
                .sports-match-card {
                    background: transparent !important;
                }
                .sports-follow-reminder {
                    border: 1px solid;
                }
            }
        `)),Se=H.i`
        ${we}
        sports-article,
        .article-item {
            text-decoration: none;
            color: currentColor;
        }

        .article-header {
            display: grid;
            align-items: center;
            justify-content: center;
            column-gap: 12px;
            color: ${U.CHi};
            grid-template-columns: 66px 190px;
            margin: 0 16px;
            border-radius: 6px;
        }
        :host([cardlayout="_1x_2y"]) .article-header {
            grid-template-columns: 56px 200px;
        }
        .header-title {
            font-size: 24px;
            line-height: 24px;
            font-weight: 700;
        }
        .header-description {
            font-size: ${U.cSu};
            line-height: 20px;
            padding-top: 4px;
        }
        .state-base {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            background: rgba(0, 0, 0, 0.54);
            color: #FFFFFF;
            height: 20px;
            padding: 2px 8px;
            border-radius: 4px;
            max-width: 80px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .state-today {
            background: #1281C4;
        }
        .state-live {
            background: #C42B1C;
        }
        .article-list {
            background: rgba(255, 255, 255, 0.13);
            border-radius: 6px;
            padding: 8px 12px;
            margin: 4px 16px;
            display: grid;
            row-gap: 16px;
        }
        .article-list.list-small-gap {
            padding: 0;
            margin: 2px 16px;
            background: transparent;
        }
        :host([cardlayout="_1x_3y"]) .article-list.list-small-gap {
            margin: 4px 16px;
            row-gap: 12px;
        }
        .article-item:hover .article-title {
            text-decoration: underline;
        }
        .article-item {
            display: grid;
            column-gap: 8px;
            color: ${U.CHi};
            grid-template-columns: 244px;
        }
        .list-small-gap .article-item.with-image {
            grid-template-columns: auto 62px;
        }
        .article-item.with-image {
            grid-template-columns: 174px 62px;
        }
        .article-item.with-publisher {
            align-items: start;
            grid-template-columns: 20px 240px;
        }
        .article-item.with-image.with-publisher {
            align-items: start;
            grid-template-columns: 20px auto 62px;
        }
        .article-content-revert {
            transform: scaleX(-1);
        }
        .article-publisher {
            color: rgba(0, 0, 0, 0.55);
            font-size: ${U.sNp};
            line-height: ${U.vgC};
        }
        .list-small-gap .article-publisher {
            padding-top: 4px;
        }
        .publisher-icon {
            width: 16px;
            height: 16px;
        }
        .with-publisher .publisher-icon {
            padding-top: 3px;
        }
        .publisher-name,
        .publish-time {
            max-width: 108px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            display: inline-block;
        }
        .publisher-name.name-short {
            max-width: 108px;
        }
        .publisher-name {
            max-width: 170px;
        }
        .publish-time {
            max-width: 108px;
        }
        .publisher-name:after {
            content: " · ";
        }
        .article-title {
            white-space: break-spaces;
            word-break: break-word;
            font-size: ${U.cSu};
            line-height: ${U.RUt};
            text-overflow: ellipsis;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            font-weight: 600;
        }
        .article-image {
            width: 62px;
            height: 62px;
            border-radius: 6px;
        }
        .article-header-1u {
            text-align: center;
            color: ${U.CHi};
        }
        .article-header-1u .header-icon {
            width: 120px;
            height: 115px;
        }
        .article-header-1u .header-title {
            font-weight: 700;
            font-size: 32px;
            line-height: 40px;
        }
        .article-header-1u .header-description {
            font-weight: 400;
            font-size: 16px;
            line-height: 22px;
        }
        .article-header-1u state-live {
            font-weight: 600;
            font-size: 12px;
            line-height: 16px;
        }

        :host([colormode="dark"]) .article-list {
            background: rgba(255, 255, 255, 0.13);
        }
        :host([colormode="dark"]) .article-list.list-small-gap {
            background: transparent;
        }
        :host([colormode="dark"]) .article-publisher {
            color: rgba(255, 255, 255, 0.54);
        }
        :host([colormode="dark"]) .state-base {
            background: #FFFFFF;
            color: rgba(0, 0, 0, 0.83);
        }
`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
                .state-base {
                    border: 1px solid;
                }
            }
        }`)),xe=H.i`
        .match-overview {
            display: grid;
            align-items: center;
            justify-content: center;
            column-gap: 12px;
            color: ${U.CHi};
            margin: 0 16px;
            border-radius: 6px;
            text-decoration: none;
            color: currentColor;
            outline-offset: -2px;
        }
        .match-overview.match-final {
            padding-bottom: 10px;
        }
        .match-overview.match-final.overview-inrow {
            grid-template-columns: auto auto;
            column-gap: 6px;
            padding-top: 5px;
        }
        .match-overview.match-final.overview-inpale {
            padding-top: 6px;
        }
        .overview-inpale {
            text-align: center;
            justify-items: center;
            color: ${U.CHi};
        }
        .overview-inpale .overview-icon {
            height: 115px;
            min-width: 120px;
        }
        .match-final.overview-inpale .overview-icon {
            height: 138px;
        }
        .match-overview.match-final.overview-inpale.big-logo {
            padding-top: 16px;
        }
        .match-final.overview-inpale.big-logo .overview-icon {
            height: 121px;
        }
        .match-final.overview-inrow .overview-icon {
            height: 46px;
        }
        .overview-content {
            color: ${U.CHi};
        }
        .overview-inpale .overview-content {
            padding-top: 5px;
        }
        .match-final.overview-inpale .overview-content {
            padding-top: 15px;
        }
        .overview-inpale .overview-title {
            font-weight: 700;
            font-size: 32px;
            line-height: 40px;
        }
        .overview-inpale .overview-description {
            font-weight: 400;
            font-size: 16px;
            line-height: 22px;
        }
        .overview-inpale .state-live {
            font-weight: 600;
            font-size: 12px;
            line-height: 16px;
            height: 16px;
        }
        .overview-inrow {
            grid-template-columns: 66px 190px;
        }
        :host([cardlayout="_1x_2y"]) .overview-inrow {
            grid-template-columns: 56px 200px;
        }
        :host([cardlayout="_1x_2y"]) .match-final.overview-inrow {
            grid-template-columns: auto auto;
        }
        .overview-title {
            font-size: 24px;
            line-height: 24px;
            font-weight: 700;
            max-width: 290px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-transform: capitalize;
        }
        .match-final.overview-inpale .overview-title,
        .match-final.overview-inrow .overview-title {
            font-size: 20px;
            line-height: 24px;
            font-weight: 600;
        }
        .match-final.overview-inpale .overview-title {
            max-width: 276px;
        }
        .match-final.overview-inrow .overview-title {
            max-width: 190px;
        }
        .overview-description,
        .match-final.overview-inpale .overview-description {
            font-size: ${U.cSu};
            line-height: 20px;
            padding-top: 4px;
        }
        .match-final .overview-description {
            padding-top: 2px;
            font-weight: 400;
        }
        .center-align {
            display: flex;
            column-gap: 6px;
            align-items: center;
            justify-content: center;
        }
        .state-base {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            background: rgba(0, 0, 0, 0.54);
            color: #FFFFFF;
            height: 20px;
            padding: 2px 8px;
            border-radius: 4px;
            max-width: 80px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-align: center;
        }
        .match-final.overview-inrow .state-base {
            height: 16px;
        }
        .state-today {
            background: #1281C4;
        }
        .state-live {
            background: #C42B1C;
        }
        
        :host([colormode="dark"]) .state-base {
            background: #FFFFFF;
            color: rgba(0, 0, 0, 0.83);
        }
        :host([colormode="dark"]) .state-base.state-live {
            color: #FFFFFF;
            background: #C42B1C;
        }

`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
                .state-base {
                    border: 1px solid;
                }
            }
        }`)),Ce=O.d`
    <a class="${t=>t.getOverviewClassName()}"
        href="${t=>{var e;return(null===(e=t.cardData)||void 0===e?void 0:e.cardTitleClickthroughUrl)?t.cardData.cardTitleClickthroughUrl:void 0}}"
        target="${t=>t.linkTarget}"
        tabindex="0"
        title="${t=>t.overviewTitle||t.description}"
        data-t="${t=>t.getContentViewTelemetryTag({behavior:ut.wu.Navigate})||""}">
        <img class="overview-icon" role="presentation" src="${t=>t.logoUrl}" />
        <div class="overview-content">
            <div class="overview-title" title="${t=>t.overviewTitle}">${t=>t.overviewTitle}</div>
            <div class="${t=>t.getDescriptionClassName()}">
                <span class="description-text">${t=>t.description}</span>
                ${(0,J.g)((t=>!(0,X.TF)(t.stateStrings)),O.d`<span class="${t=>t.stateClassName}">${t=>t.stateStrings}</span>`)}
            </div>
        </div>
    </a>
    `;class $e extends at.Dc{constructor(){super(...arguments),this.initializeData=()=>{switch(this.matchUXType){case m.mW.NBAFinals:case m.mW.NHLFinals:this.getSeriesFinalsData();break;case m.mW.NFLDraft:this.getNFLDraftData()}},this.getOverviewClassName=()=>{let t="match-overview";return this.matchUXType==m.mW.NBAFinals?t+=" match-final":this.matchUXType==m.mW.NHLFinals&&(t+=" match-final big-logo"),t+=this.overviewType==at.df.largeInPale?" overview-inpale":" overview-inrow",t},this.getDescriptionClassName=()=>this.matchUXType==m.mW.NFLDraft?"overview-description":"overview-description center-align",this.colorSchemeChangeHandler=()=>{switch(this.colormode=(0,yt.Y)()?at.wF.dark:at.wF.light,this.matchUXType){case m.mW.NBAFinals:this.logoUrl=(0,f.fj)("dark"==this.colormode,this.overviewType==at.df.largeInPale);break;case m.mW.NHLFinals:this.logoUrl=(0,f.ob)("dark"==this.colormode,this.overviewType==at.df.largeInPale);break;case m.mW.NFLDraft:this.getNFLDraftLogo(this.data)}},this.getSeriesFinalsData=()=>{const t=this.data,e=t&&t.some((t=>t.sportsMatchData.gameStateCatetory==m.w_.inprogressGame)),a=this.cardlayout==m.J4.Medium&&this.overviewType==at.df.smallInRow;this.matchUXType==m.mW.NBAFinals?(this.overviewTitle=this.strings.nbaFinals&&(0,X.WU)(this.strings.nbaFinals,(new Date).getFullYear().toString()),this.overviewTitle=this.overviewType==at.df.largeInPale?this.overviewTitle.toUpperCase():this.overviewTitle,this.logoUrl=(0,f.fj)("dark"==this.colormode,this.overviewType==at.df.largeInPale)):this.matchUXType==m.mW.NHLFinals&&(this.overviewTitle=this.overviewType==at.df.largeInPale?this.strings.nhlFinalsTitle.toUpperCase():this.strings.nhlFinalsCup,this.logoUrl=(0,f.ob)("dark"==this.colormode,this.overviewType==at.df.largeInPale)),this.description=this.getSeriesFinalsDescription(t,e,a),this.stateStrings=e&&!a&&this.strings.sportsLive.toUpperCase(),this.stateClassName=e&&!a&&"state-base state-live"},this.getSeriesFinalsDescription=(t,e,a)=>{if(!t||t.length<1){const t=(new Date).getFullYear();return(0,X.WU)(this.strings.season,`${t-1}-${t%100}`)}const i=t[0].sportsMatchData;if(e&&!a)return(0,X.WU)(this.strings.gameNumber,(i.gameNumber||1).toString());const r=i.participantOne.seriesWins,s=i.participantTwo.seriesWins;if(e||r>0||s>0){if(r==s)return(0,X.WU)(this.strings.seriesTied,r.toString(),s.toString());const t=this.matchUXType==m.mW.NHLFinals&&this.overviewType==at.df.smallInRow&&this.strings.teamWon?this.strings.teamWon:this.strings.teamChampions;return r>s?r>=4?(this.overviewTitle=t?(0,X.WU)(t,i.participantOne.name):`${i.participantOne.name} ${this.strings.champions}`,(0,X.WU)(this.strings.wonSeries,i.participantOne.teamAlias,r.toString(),s.toString())):(0,X.WU)(this.strings.seriesLead,i.participantOne.teamAlias,r.toString(),s.toString()):s>=4?(this.overviewTitle=t?(0,X.WU)(t,i.participantTwo.name):`${i.participantTwo.name} ${this.strings.champions}`,(0,X.WU)(this.strings.wonSeries,i.participantTwo.teamAlias,s.toString(),r.toString())):(0,X.WU)(this.strings.seriesLead,i.participantTwo.teamAlias,s.toString(),r.toString())}return this.daysToStart=(0,f.mI)(new Date(Number(i.gameStartDateTime)),null),this.daysToStart>1?(0,X.WU)(this.strings.startInDays,this.daysToStart.toString()):1==this.daysToStart?(0,X.WU)(this.strings.startInDay,"1"):0==this.daysToStart?this.strings.today.toUpperCase():""},this.getNFLDraftData=()=>{var t;const e=this.data||{};this.overviewTitle=null===(t=e.draft)||void 0===t?void 0:t.title,this.getNFLDraftLogo(e),this.daysToStart=e.draft&&(0,f.uF)(e.draft.startDateTime,e.draft.endDateTime),this.isEnded=e.draft&&(0,f.t0)(e.draft.endDateTime),this.description=this.getDateTimeString(e),this.stateStrings=this.getNFLDraftStateString(e),this.stateClassName=this.getNFLDraftStateClassName(e)},this.getNFLDraftLogo=t=>{this.logoUrl=this.cardlayout==m.J4.Medium?(0,ft.Sb)(f.KK,56,54):f.KK,this.cardlayout==m.J4.Small||!this.config.enableNFLDraftOpt2&&t.articles&&0!=t.articles.length||(this.logoUrl=(0,ft.Sb)(f.KK,120,115))},this.getDateTimeString=t=>{if(t&&t.draft)return(0,f.u9)(t.draft.startDateTime,t.draft.endDateTime,(0,T.Yq)().CurrentMarket)||""},this.getNFLDraftStateString=t=>{if(t&&t.draft)return t.draft.isLive?this.strings.sportsLive.toUpperCase():0==this.daysToStart?this.strings.today.toUpperCase():this.daysToStart>0?(0,X.WU)(1==this.daysToStart?this.strings.inDay:this.strings.inDays,this.daysToStart.toString()).toUpperCase():""},this.getNFLDraftStateClassName=t=>t.draft.isLive?"state-base state-live":this.isEnded||this.daysToStart<0?"":this.daysToStart>0?"state-base":"state-base state-today"}connectedCallback(){this.initializeData(),super.connectedCallback(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",this.colorSchemeChangeHandler)}}(0,u.gn)([F.LO],$e.prototype,"logoUrl",void 0),(0,u.gn)([F.LO],$e.prototype,"showOverview",void 0),(0,u.gn)([F.LO],$e.prototype,"overviewTitle",void 0),(0,u.gn)([F.LO],$e.prototype,"description",void 0);let ke=class extends $e{};ke=(0,u.gn)([(0,_t.M)({name:"sports-match-overview",template:Ce,styles:xe,shadowOptions:{delegatesFocus:!0}})],ke);const Te=O.d`
    <sports-match-overview
        uxstyle="${t=>t.uxstyle}"
        cardlayout="${t=>t.cardlayout}"
        colormode=${t=>t.colormode}
        :config=${t=>t.config}
        :strings=${t=>t.strings}
        :telemetryContext=${t=>t.telemetryContext}
        :matchUXType="${t=>t.matchUXType}"
        :overviewType="${t=>t.cardlayout==m.J4.Small||t.cardlayout!=m.J4.Large&&!t.config.enableNFLDraftOpt2&&t.articleData.articles&&0!=t.articleData.articles.length?at.df.smallInRow:at.df.largeInPale}"
        :cardData="${t=>t.cardData}"
        :data="${t=>t.getOverviewData()}"
    >
    </sports-match-overview>
`,De=O.d`
    <div class="article-content">
        <div class="article-title" title="${t=>t.title}">${t=>t.title}</div>
        <div class="article-publisher">
            <span class="${t=>t.imageUrl?"publisher-name name-short":"publisher-name"}" title="${t=>t.provider&&t.provider.name}">
                ${t=>t.provider&&t.provider.name||""}
            </span>
            <span class="publish-time" title="${(t,e)=>e.parent.getFriendlyPublishTime(t.publishTime)}">
                ${(t,e)=>e.parent.getFriendlyPublishTime(t.publishTime)}
            </span>
        </div>
    </div>
`,Me=O.d`
    <div class="article-content">
        <div class="article-title" title="${t=>t.title}">${t=>t.title}</div>
        <div class="article-publisher">
            <img class="publisher-icon" role="presentation" src="${t=>t.provider&&t.provider.logoUrl}" />
            <span class="${t=>t.imageUrl?"publisher-name name-short":"publisher-name"}" title="${t=>t.provider&&t.provider.name}">
                ${t=>t.provider&&t.provider.name||""}
            </span>
            <span class="publish-time" title="${(t,e)=>e.parent.getFriendlyPublishTime(t.publishTime)}">
                ${(t,e)=>e.parent.getFriendlyPublishTime(t.publishTime)}
            </span>
        </div>
    </div>
`,Ie=O.d`
    <a class="${t=>t.imageUrl?"article-item with-image":"article-item"}${(t,e)=>e.parent.showPublisherOnBottom?"":" with-publisher"}"
        href="${t=>t.articleUrl}"
        target="${(t,e)=>e.parent.linkTarget}"
        data-t="${(t,e)=>e.parent.getArticleTelemetry(t.articleId)}"
    >
        ${(0,J.g)(((t,e)=>!e.parent.showPublisherOnBottom),O.d`<img class="publisher-icon" role="presentation" src="${t=>t.provider&&t.provider.logoUrl}" />`)}
        ${(0,J.g)(((t,e)=>!e.parent.showPublisherOnBottom),De)}
        ${(0,J.g)(((t,e)=>e.parent.showPublisherOnBottom),Me)}
        ${(0,J.g)((t=>t.imageUrl),O.d`<img class="article-image" role="presentation" src="${t=>t.imageUrl}" />`)}
    </a>
`,Le=O.d`
    <div class="article-list${t=>t.showPublisherOnBottom?"":" list-small-gap"}">
        ${(0,Z.rx)((t=>t.articles),Ie)}
    </div>
`,Fe=O.d`
    <div>  
        ${(0,J.g)((t=>t.articleData&&t.showOverview),Te)}
        ${(0,J.g)((t=>!t.config.enableNFLDraftOpt2&&t.articles&&t.articles.length>0&&t.dataIsReady),Le)}
    </div>
    `;class Oe extends at.Dc{constructor(){super(...arguments),this.getArticleTelemetry=t=>{const e=this.articleTelemetryContext&&this.articleTelemetryContext.articles&&this.articleTelemetryContext.articles.get(t);return e&&e.getMetadataTag()},this.getArticleClassName=()=>this.cardlayout==m.J4.Small?"article-content":this.articleData&&this.articleData.articles&&this.articleData.articles.length>0?"article-content-list-1u":"article-content-1u",this.getOverviewData=()=>this.matchUXType==m.mW.NFLDraft?this.articleData:this.matchData,this.getArticleViewTelemetryTag=()=>{var t,e;return this.telemetryContext&&(null===(e=(0,m.KN)(this.telemetryContext.componentRoot,this.cardData,m.mW.Articles,null===(t=this.telemetryContext.sportsCard)||void 0===t?void 0:t.contract.ext,{zone:this.telemetryContext.sportsCard.contract.zone}))||void 0===e?void 0:e.getMetadataTag())},this.getFriendlyPublishTime=t=>(0,ft.IO)(t,(0,T.Yq)().CurrentMarket,this.strings)}connectedCallback(){var t;if(this.articleData&&this.articleData.articles&&this.articleData.articles.length>0){let t=1;this.cardlayout==m.J4.Medium?t=this.showOverview?2:3:this.cardlayout==m.J4.Large&&(t=this.showOverview?2:this.uxstyle==at.n9.widget?4:5),this.articles=Array.from(this.articleData.articles.slice(0,t)),this.dataIsReady=!0}this.articleTelemetryContext=this.telemetryContext&&(0,m.sl)(this.telemetryContext.componentRoot,{sportsMatchupCardData:this.cardData,articleData:this.articleData},null===(t=this.telemetryContext.sportsCard)||void 0===t?void 0:t.contract.ext,{zone:this.telemetryContext.sportsCard.contract.zone}),super.connectedCallback()}}(0,u.gn)([F.LO],Oe.prototype,"articleTelemetryContext",void 0),(0,u.gn)([F.LO],Oe.prototype,"articleData",void 0),(0,u.gn)([F.LO],Oe.prototype,"dataIsReady",void 0),(0,u.gn)([F.LO],Oe.prototype,"matchData",void 0),(0,u.gn)([F.LO],Oe.prototype,"showOverview",void 0),(0,u.gn)([F.LO],Oe.prototype,"articles",void 0);let Pe=class extends Oe{};Pe=(0,u.gn)([(0,_t.M)({name:"sports-article",template:Fe,styles:Se,shadowOptions:{delegatesFocus:!0}})],Pe);class Ae extends at.Dc{constructor(){super(...arguments),this.initialCarouselVariable=()=>{var t,e;if(this.paginationType===at.Qi.verticalBullets)if(this.carouselmode==m.xI.fullFill){let t=parseInt(this.carouselItemHeight);if(!t){const e=this.shadowRoot.querySelector(".carousel-item");t=(null==e?void 0:e.getBoundingClientRect().height)||0}this.itemHeight=t,this.pageCount=this.carouselContents.length}else this.itemHeight=(null===(t=this.carouselContainer)||void 0===t?void 0:t.getBoundingClientRect().height)||0,this.pageCount=this.itemHeight>0?((null===(e=this.carouselWrapper)||void 0===e?void 0:e.getBoundingClientRect().height)||0)/this.itemHeight:0;else{this.itemWidth=parseInt(this.carouselItemWidth||"");const t=parseInt(this.firstCarouselItemWidth||""),e=!isNaN(this.itemWidth)&&!isNaN(t)&&this.itemWidth>0&&t>=0?Math.floor(t/this.itemWidth):1,a=this.getParentContainerWidth();this.pageCount=Math.ceil((this.carouselContents.length+e-1)*this.itemWidth/(a-a%this.itemWidth))}},this.paginateCallback=(t,e,a)=>{if(t){t.preventDefault(),t.stopPropagation();let e="keydown"===t.type||"keypress"===t.type||"keyup"===t.type?ut.Aw.KeyPress:ut.Aw.Click;e="mousewheel"===t.type?ut.Aw.Wheel:e,ht.M0.sendActionEvent(t.currentTarget,e,ut.wu.Paginate)}this.lastScrollTime=(new Date).getTime(),this.paginationType===at.Qi.bullets?this.bulletsPaginateCallback(t,e,a):this.paginationType===at.Qi.verticalBullets?this.verticalBulletsPaginateCallback(t,e,a):this.fractionPaginateCallback(t,e),this.updateContentTabIndex()},this.fractionPaginateCallback=(t,e)=>{this.currentPageIndex=e?(this.currentPageIndex+1)%this.pageCount:0==this.currentPageIndex?this.pageCount-1:this.currentPageIndex-1,this.carouselStyle=this.getCarouselContainerStyle()},this.bulletsPaginateCallback=(t,e,a)=>{null==e?(this.currentPageIndex=a%this.pageCount,this.carouselStyle=this.getCarouselContainerStyle()):this.fractionPaginateCallback(t,e)},this.verticalBulletsPaginateCallback=(t,e,a)=>{null==e?(this.currentPageIndex=a%this.pageCount,this.carouselStyle=this.getVerticalCarouselContainerStyle()):this.fractionPaginateCallback(t,e)},this.bulletPaginationKeydown=(t,e)=>!t||(t.stopPropagation(),"Enter"!==t.key)||(t.preventDefault(),this.paginateCallback(t,null,e),!1),this.verticalCarouselMouseWheelCallback=t=>{if(this.paginationType!=at.Qi.verticalBullets)return!0;if(t){const e=t.deltaY;if(!e||this.lastScrollTime&&Date.now()-this.lastScrollTime<300)return;if(t.preventDefault(),t.stopPropagation(),e>0)return void this.paginateCallback(t,null,this.currentPageIndex+1);if(e<0){const e=0===this.currentPageIndex?this.pageCount-1:this.currentPageIndex-1;return void this.paginateCallback(t,null,e)}}},this.updateContentTabIndex=()=>{this.updateTabIndexTimer&&clearTimeout(this.updateTabIndexTimer);let t=this.carouselWrapper,e=0;try{e=1e3*window.parseFloat(window.getComputedStyle(t).transitionDuration)+50,e<=50&&(e=1e3)}catch(t){e=1e3}this.updateTabIndexTimer=setTimeout((()=>{t=t||this.shadowRoot.querySelector(".carousel-wrapper");const e=t&&t.querySelectorAll("sports-side-by-side");e&&e.forEach((t=>{t&&t.updateTabIndex()}))}),e)},this.getCarouselItemTabIndex=t=>t===this.currentPageIndex&&this.cardlayout===m.J4.Small?"0":"-1",this.handleCarouselFocusBlur=(t,e,a)=>{if(t&&t.currentTarget){t.preventDefault(),t.stopPropagation();const i=t.currentTarget.getElementsByTagName("sports-side-by-side");i&&i.length>0&&i[0].onFocusBlur(t,e,a)}},this.getParentContainerWidth=()=>{var t;return this.config.isDynamicFeed?300:(null===(t=this.parentElement)||void 0===t?void 0:t.getBoundingClientRect().width)||300},this.getCarouselContainerStyle=()=>{this.getSeemore();const t=this.getParentContainerWidth(),e=this.carouselmode==m.xI.fullFill?this.currentPageIndex*t:this.currentPageIndex*(t-t%this.itemWidth);let a="";return a="rtl"===this.rtl?`margin-right: -${e}px; padding-right: ${this.initialHorizontalOffset||0}px;`:`margin-left: -${e}px; padding-left: ${this.initialHorizontalOffset||0}px;`,this.config.isDynamicFeed?a+` max-height: ${this.cardlayout==m.J4.Large?378:220}px;`:a},this.getVerticalCarouselContainerStyle=()=>{this.getSeemore();return`margin-top: -${this.currentPageIndex*this.itemHeight}px;`},this.getSeemore=()=>{if(this.carouselContents&&this.carouselContents.length>this.currentPageIndex&&this.carouselContents[this.currentPageIndex].seemoreText)this.seeMoreText=this.carouselContents[this.currentPageIndex].seemoreText,this.seeMoreClickthroughUrl=this.carouselContents[this.currentPageIndex].seemoreUrl||this.seeMoreLeagueClickthroughUrl;else{if(this.config.enableLiveDetailClick3&&this.matchData&&this.matchData.length>this.currentPageIndex&&this.matchData[this.currentPageIndex]&&this.matchData[this.currentPageIndex].gameStateCatetory==m.w_.inprogressGame)return this.seeMoreText=this.strings.seeLiveScore||this.seeMoreLeagueText,void(this.seeMoreClickthroughUrl=this.matchData[this.currentPageIndex].matchClickthroughUrl||this.seeMoreLeagueClickthroughUrl);this.seeMoreText=this.seeMoreLeagueText,this.seeMoreClickthroughUrl=this.seeMoreLeagueClickthroughUrl}},this.shouldRenderSeeMoreItem=()=>this.cardlayout===m.J4.Small&&this.paginationType!==at.Qi.bullets&&this.paginationType!==at.Qi.verticalBullets,this.getCarouselClassNames=()=>{let t="";return this.paginationType===at.Qi.bullets?t+=" carousel-with-bfooter":this.paginationType===at.Qi.verticalBullets&&(t+=" vertical-carousel"),t},this.getCarouselPaginationType=()=>{let t=at.Qi.fraction;return this.config.enableBulletsPagination?t=at.Qi.bullets:this.config.enableVerticalBulletsPagination&&(t=at.Qi.verticalBullets),t}}connectedCallback(){this.currentPageIndex=this.currentPageIndex&&this.currentPageIndex>=0&&this.currentPageIndex<this.carouselContents.length?this.currentPageIndex:0,this.paginationType=this.getCarouselPaginationType(),this.setAutoScroll(),this.setIntersectionObserver(),this.carouselmode==m.xI.fullFill&&this.paginationType!==at.Qi.verticalBullets?(this.pageCount=this.shouldRenderSeeMoreItem()?this.carouselContents.length+1:this.carouselContents.length,this.carouselStyle=this.getCarouselContainerStyle(),this.updateContentTabIndex()):setTimeout((()=>{this.initialCarouselVariable(),this.carouselStyle=this.config.enableVerticalBulletsPagination?this.getVerticalCarouselContainerStyle():this.getCarouselContainerStyle(),this.updateContentTabIndex()}),20),super.connectedCallback()}currentPageIndexChanged(t,e){null!=this.oldPageIndex&&(this.currentPageIndex=this.oldPageIndex,this.oldPageIndex=void 0)}disconnectedCallback(){window.clearTimeout(this.autoScrollTimer),window.clearTimeout(this.updateTabIndexTimer),this.unsetIntersectionObserver(),this.oldPageIndex=this.currentPageIndex}setIntersectionObserver(){if(this.intersectionObserver)return;this.intersectionObserver=new IntersectionObserver((t=>{this.isInViewport=t[0].intersectionRatio>0}),{threshold:[0]}),this.intersectionObserver.observe(this)}unsetIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0)}setAutoScroll(){if(this.autoScrollTimer&&window.clearTimeout(this.autoScrollTimer),this.config.enableMatchAutoScroll){this.onholdAutoScroll=!1;const t=this.config.autoScrollIntervalInMs||6e3;this.autoScrollTimer=setInterval((()=>{"visible"===document.visibilityState&&this.isInViewport&&!this.onholdAutoScroll&&this.paginateCallback(null,!0,this.currentPageIndex+1)}),t)}}onMouseEnter(t){this.onholdAutoScroll=!0}onMouseLeave(t){this.onholdAutoScroll=!1}isPageDataValid(){return this.carouselContents&&this.carouselContents.length>0}}(0,u.gn)([L.Lj],Ae.prototype,"carouselmode",void 0),(0,u.gn)([F.LO],Ae.prototype,"carouselItemWidth",void 0),(0,u.gn)([F.LO],Ae.prototype,"firstCarouselItemWidth",void 0),(0,u.gn)([F.LO],Ae.prototype,"initialHorizontalOffset",void 0),(0,u.gn)([F.LO],Ae.prototype,"carouselItemHeight",void 0),(0,u.gn)([F.LO],Ae.prototype,"currentPageIndex",void 0),(0,u.gn)([F.LO],Ae.prototype,"pageCount",void 0),(0,u.gn)([F.LO],Ae.prototype,"carouselContents",void 0),(0,u.gn)([F.LO],Ae.prototype,"rtl",void 0),(0,u.gn)([F.LO],Ae.prototype,"carouselStyle",void 0),(0,u.gn)([F.LO],Ae.prototype,"carouselFooterButton",void 0),(0,u.gn)([F.LO],Ae.prototype,"matchData",void 0),(0,u.gn)([F.LO],Ae.prototype,"seeMoreText",void 0),(0,u.gn)([F.LO],Ae.prototype,"seeMoreClickthroughUrl",void 0);const Ee=H.i`
`,Ue=H.i`
.see-more-arrow  > svg {
    float: right;
}
.carousel-seemore-content > svg {
    transform: rotateY(180deg);
}

.see-more-arrow {
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

.flipper.previous {
    transform: none;
}

.flipper.next {
    transform: rotateY(180deg);
}

.vertical-carousel .bullets-container {
    left: 5px;
    right: auto;
}

.carousel-with-bfooter .flipper.previous {
    left: auto;
    right: 0;
}

.carousel-with-bfooter .flipper.previous::after {
    left: 5px;
    right: auto;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.4458);
}

.carousel-with-bfooter .flipper.next {
    left: 0;
    right: auto;
}

.carousel-with-bfooter .flipper.next::after {
    right: 5px;
    left: auto;
    border-color: transparent rgba(0, 0, 0, 0.4458) transparent transparent;
}
`,Ne=H.i`
button {
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
}

.flipper {
    width: 20px;
    height: 20px;
}

.flipper:${G.b} {
    outline: ${U.CHi} auto 1px;
}
.flipper:hover > svg > path {
    fill: rgba(0, 0, 0, 0.83);
}
.flipper.previous {
    transform: rotateY(180deg);
}

.flipper > svg > path {
    fill: rgba(0, 0, 0, 0.55);
}

.flipper.noBackplate > svg > rect {
    fill: rgba(255, 255, 255, 0);
}

.flipper.backplate > svg > rect {
    fill: rgba(0, 0, 0, 0.07);
}
.flipper.noBackplate:hover > svg > rect {
    fill: rgba(0, 0, 0, 0.05);
}
.flipper.backplate:hover > svg > rect {
    fill: rgba(255, 255, 255, 0.54);
}

.flipper-content {
    height: 14px;
    padding: 3px 0px;
    color: ${U.CHi};
    text-align: center;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
}
.flipper-content:hover,
.flipper-content:active,
.flipper-content:${G.b} {
    color: ${U.D9J};
    text-decoration: underline;
}

.carousel-with-bfooter .flipper {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 38px;
    margin-top: -19px;
    border-radius: 3px;
    background: transparent;
    overflow: hidden;
}

.carousel-with-bfooter .flipper:hover,
.carousel-with-bfooter .flipper:${G.b} {
    background: rgba(0, 0, 0, 0.2);
}

.carousel-with-bfooter .flipper:hover > svg > path,
.carousel-with-bfooter .flipper:${G.b} > svg > path {
    fill: rgba(0, 0, 0, 0.6063);
}

.carousel-with-bfooter .flipper.previous {
    left: 0;
    right: auto;
    transform: none;
}

.carousel-with-bfooter .flipper > svg > path {
    fill: rgba(0, 0, 0, 0.4458);
}

.carousel-with-bfooter .flipper.next {
    left: auto;
    right: 0;
    transform: none;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-with-bfooter .carousel-container {
    margin-top: 12px;
}

.vertical-carousel .carousel-container {
    margin-top: 4px;
}

.carousel-wrapper {
    width: auto;
    white-space: nowrap;
    padding-inline-start: 0;
    transition-duration: 700ms;
    margin: 0;
    padding: 0;
    list-style: none;
    word-spacing: -4px;
}

.carousel-item {
    display: inline-block;
    height: 100%;
    vertical-align: top;
    word-spacing: 0px;
}
:host([carouselmode="fullwidth"]) .carousel-item {
    width: 300px;
}
:host([carouselmode="fullwidth"]) .vertical-carousel .carousel-container,
:host([carouselmode="fullwidth"]) .vertical-carousel .carousel-item {
    height: 72px;
}
:host([carouselmode="fullwidth"][pinned="true"]) .carousel-item {
    width: 268px;
}
:host([cardlayout="_1x_2y"][carouselmode="fullwidth"]) .vertical-carousel .carousel-container,
:host([cardlayout="_1x_2y"][carouselmode="fullwidth"]) .carousel-item {
    height: 226px;
}
:host([cardlayout="_1x_3y"][carouselmode="fullwidth"]) .vertical-carousel .carousel-container,
:host([cardlayout="_1x_3y"][carouselmode="fullwidth"]) .carousel-item {
    height: 370px;
}

.vertical-carousel .carousel-item {
    display: block;
}

.carousel-item-content {
    display: block;
}
.carousel-item-content:${G.b} {
    outline-offset: -2px;
}

.carousel-footer {
    display: grid;
    grid-template-columns: 75px auto;
    justify-content: space-between;
    width: 268px;
    padding: 4px 16px 0;
}

:host([uxstyle="article"]) .carousel-footer {
    margin-top: 10px;
}

.carousel-with-bfooter .carousel-footer {
    display: grid;
    padding: 0;
    margin: 0;
    grid-template-columns: auto;
    justify-content: center;
    align-items: center;
}

.pagination-container {
    width: 67px; 
    height: 20px; 
    padding: 2px 0; 
    display: grid; 
    grid-template-columns: 20px 27px 20px; 
    align-items: center;
}

.bullets-container {
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    display: grid;
    justify-content: center;
    align-items: center;
}

.vertical-carousel .bullets-container {
    top: 0;
    bottom: auto;
    left: auto;
    right: 5px;
    width: 8px;
    height: 100%;
}

.bullets-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 6px;
}

.vertical-carousel .bullets-wrapper {
    grid-auto-flow: row;
}

.pagination-bullet {
    position: relative;
    width: 8px;
    height: 8px;
    color: rgba(0,0,0,.4458);
    cursor: pointer;
}
.pagination-bullet::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,.4458);
    outline: 1px solid transparent;
}
:host([colormode="dark"]) .pagination-bullet {
    color: rgba(255, 255, 255, 0.54);
}
:host([colormode="dark"]) .pagination-bullet::after {
    background: rgba(255, 255, 255, 0.54);
}

.pagination-bullet:hover::after,
.pagination-bullet.active::after {
    outline-color: inherit;
}

.see-more-button {
    position: absolute;
    left: 50%;
    bottom: 10px;
    max-width: 268px;
    line-height: 20px;
    transform: translateX(-50%);
    font-size: 14px;
    color: #003E92;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    text-overflow: ellipsis;
}

.see-more-button:hover {
    text-decoration: underline;
}

.see-more {
    padding: 0 0px;
    align-items: end;
    display: flex;
    flex-direction: row;
    flex: 1;
    min-width: 0;
    margin-top: 2px;
    justify-content: center;
    text-decoration: none;
    margin-left: auto;
    outline-offset: -1px;
}
.see-more:${G.b} {
    outline: 2px solid;
}

.see-more-with-arrow {
    width: 193px;
    display: grid;
    text-decoration: none;
    grid-template-columns: 161px 24px;
    grid-column-gap: 8px;
    align-items: center;
    outline-offset: -1px;
}

.see-more-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 20px;
    padding: 0 24px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    color: ${U.CHi};
    background: ${U.jql};
    margin-top: -4px;
    border: solid 1px;
    border-color: ${U.goi};
    max-width: 156px;
}
.see-more-text:hover,
.see-more-text:active,
.see-more-text:${G.b} {
    border-color: ${U.D9J};
    background: ${U.QpD};
    text-decoration: underline;
}

.see-more-text.with-arrow {
    text-align: right;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.see-more-text.with-arrow:hover,
.see-more-text.with-arrow:${G.b} {
    text-decoration: underline;
    color: ${U.D9J};
}

.see-more-text.with-arrow:active {
    color: ${U.D9J};
}
.see-more-text-with-arrow {
    max-width: 156px;
    justify-content: flex-end;
    display: flex;
}
.see-more-text-with-arrow.see-more-text {
    max-width: auto;
}
.see-more-arrow {
    width: 24px;
    height: 24px;
}

.see-more-arrow  > svg {
    float: left;
}

.see-more-arrow  > svg > rect {
    fill: ${U.Avx};
}

.see-more-arrow  > svg > rect:hover {
    fill: ${U.OCG};
}

.see-more-arrow  > svg > path {
    fill: #FFFFFF;
}

.carousel-seemore {
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.carousel-seemore-text {
    font-size: 12px;
}

.carousel-seemore-content {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 268px;
    height: 66px;
    border-radius: 6px;
    margin: 0px 14px 6px;
    background: rgba(255, 255, 255, 0.55);
    color: #0078D4;
}
:host([cardlayout="_1x_2y"]) .carousel-seemore-content,
:host([cardlayout="_1x_3y"]) .carousel-seemore-content {
    height: 218px;
}
.carousel-seemore-content:hover {
    background: rgba(255, 255, 255, 0.75);
}
.carousel-seemore-content > svg {
    transform: none;
}
.carousel-seemore-content > svg > path {
    fill: #0078D4;
}
.carousel-seemore-content > svg > rect {
    fill: none;
    stroke: #0078D4;
}
.coldstart-done-button {
    background: #0078D4;
    display: flex;
    flex-direction: row;
    padding: 4px 8px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    max-width: 64px;
}
.coldstart-done-button > span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 16px;
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    margin-right: 6px;
    color: #ffffff;
}
.coldstart-introduce {
    width: 100%;
    height: 64px;
    display: table-cell;
    vertical-align: middle;
}
.coldstart-introduce > span {
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    white-space: break-spaces;
    word-break: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: currentColor;
}

:host([colormode="dark"]) .flipper.backplate > svg > rect {
    fill: rgba(255, 255, 255, 0.09);
}
:host([colormode="dark"]) .flipper.backplate > svg > path {
    fill: rgba(255, 255, 255, 0.54);
}
:host([colormode="dark"]) .carousel-seemore-content > svg > path {
    fill: #7DBAE9;
}
:host([colormode="dark"]) .carousel-seemore-content > svg > rect {
    fill: none;
    stroke: #7DBAE9;
}
:host([colormode="dark"]) .carousel-seemore-content {
    background: rgba(255, 255, 255, 0.09);
    color: #7DBAE9;
}
:host([colormode="dark"]) .carousel-seemore-content:hover {
    background: rgba(255, 255, 255, 0.13);
}
:host([colormode="dark"]) .carousel-item-content:${G.b} {
    outline-offset: -3px;
}

:host([colormode="dark"]) .pagination-bullet {
    color: rgba(255, 255, 255, 0.5442);
}
:host([colormode="dark"]) .pagination-bullet::after {
    background: rgba(255, 255, 255, 0.5442);
}
:host([colormode="dark"]) .carousel-with-bfooter .flipper > svg > path {
    fill: rgba(255, 255, 255, 0.54);
}
:host([colormode="dark"]) .carousel-with-bfooter .flipper:hover,
:host([colormode="dark"]) .carousel-with-bfooter .flipper:${G.b} {
    background: rgba(255, 255, 255, 0.15);
}
:host([colormode="dark"]) .carousel-with-bfooter .flipper:hover > svg > path,
:host([colormode="dark"]) .carousel-with-bfooter .flipper:${G.b} > svg > path {
    fill: rgba(255, 255, 255, 0.786);
}
:host([colormode="dark"]) .flipper.backplate:hover > svg > rect {
    fill: rgba(255, 255, 255, 0.54);
}
:host([colormode="dark"]) .flipper.backplate:hover > svg > path {
    fill: rgba(0, 0, 0, 0.83);
}
:host([colormode="dark"]) .flipper.noBackplate:hover > svg > rect {
    fill: rgba(255, 255, 255, 0.78);
}
:host([colormode="dark"]) .flipper.noBackplate:hover > svg > path {
    fill: #ffffff;
}
:host([colormode="dark"]) .see-more-button {
    color: #60CDFF;
}
`.withBehaviors(new N.O(Ee,Ue),(0,R.vF)(H.i`
                :host {
                    forced-color-adjust: auto;
                }
                .pagination-bullet:hover::after,
                .pagination-bullet.active::after {
                    outline-width: 2px;
                }
            `));var He=a(79826),Ge=a(99123),Re=a(86758),Be=a(97881),ze=a(7092);const We=O.d`
    <li class="carousel-item" key="${(t,e)=>e.index}">
        <div class="carousel-item-content"
            style="width: ${(t,e)=>0==e.index&&e.parent.firstCarouselItemWidth?e.parent.firstCarouselItemWidth:e.parent.carouselItemWidth}; ${(t,e)=>e.index===e.parent.currentPageIndex||e.parent.carouselmode!=m.xI.fullFill?"":"display: none;"}"
            tabindex="${(t,e)=>e.parent.getCarouselItemTabIndex(e.index)}"
            @focus="${(t,e)=>e.parent.handleCarouselFocusBlur(e.event,e.index,!0)}"
            @blur="${(t,e)=>e.parent.handleCarouselFocusBlur(e.event,e.index,!1)}"
        >
            ${t=>t}
        </div>
    </li>
`,je=O.d`
    <a class="carousel-seemore"
        tabindex="${t=>t.currentPageIndex==t.pageCount-1?"0":"-1"}"
        href=${t=>t.seeMoreSportsClickthroughUrl||void 0}
        target="${t=>t.linkTarget}"
        data-t="${t=>{var e,a;return(null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.seeMoreSports)||void 0===a?void 0:a.getMetadataTag())||""}}"
    >
        <div class="carousel-seemore-content">
            ${Ge.Z}
            <span class="carousel-seemore-text">${t=>t.strings.sportsCTA}</span>
        </div>
    </a>
`,_e=O.d`
    <div
        class="carousel-container"
        key="sports-carousel"
        tabindex="-1"
        ${(0,Bt.i)("carouselContainer")}
        @mousewheel=${(t,e)=>t.verticalCarouselMouseWheelCallback(e.event)}
        href=${t=>t.seeMoreClickthroughUrl}
        data-t="${t=>{var e,a;return(null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsCarousel)||void 0===a?void 0:a.getMetadataTag())||""}}"
    >
        <ul class="carousel-wrapper" style="${t=>t.carouselStyle}" tabindex="-1" ${(0,Bt.i)("carouselWrapper")}>
            ${(0,Z.rx)((t=>t.carouselContents.map((t=>t.contentView))),We,{positioning:!0})}
            ${(0,J.g)((t=>t.shouldRenderSeeMoreItem()),O.d`
            <li class="carousel-item" key="car-seemore">
                <div class="carousel-item-content" style="width: ${t=>t.carouselItemWidth}" tabindex="-1">
                    ${je}
                </div>
            </li>`)}
        </ul>
    </div>
`,Ve=O.d`
    <a
        class="${t=>t.config.enablePaginationLink?"see-more-with-arrow":"see-more"}"
        title="${t=>t.seeMoreText}"
        aria-label="${t=>t.seeMoreText}"
        href=${t=>t.seeMoreClickthroughUrl}
        target="${t=>t.linkTarget}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.seeMoreLeague)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        <div class="${t=>t.config.enablePaginationLink?"see-more-text-with-arrow":""}">
            <span class="${t=>t.config.enablePaginationLink?"see-more-text with-arrow":"see-more-text"}">
                ${t=>t.seeMoreText}
            </span>
        </div>
        ${(0,J.g)((t=>t.config.enablePaginationLink),O.d`
            <span class="see-more-arrow">
                ${Re.Z}
            </span>
        `)}
    </a>
`,qe=O.d`
    <a
        class="see-more-button"
        title="${t=>t.seeMoreText}"
        aria-label="${t=>t.seeMoreText}"
        href=${t=>t.seeMoreClickthroughUrl}
        target="${t=>t.linkTarget}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.seeMoreLeague)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${t=>t.seeMoreText}
    </a>
`,Je=O.d`
    <button title="${t=>t.strings.sportsPreviousMatch}" class="flipper previous${t=>t.config.enablePaginationBackplate?" backplate":" noBackplate"}"
        tabindex="0"
        @click="${(t,e)=>t.paginateCallback(e.event,!1)}"
        @keypress="${(t,e)=>e&&e.event&&"Enter"===e.event.key?t.paginateCallback(e.event,!1):null}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.previousMatch)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${(0,J.g)((t=>t.paginationType===at.Qi.fraction),O.d`${He.Z}`)}
        ${(0,J.g)((t=>t.paginationType===at.Qi.bullets||t.paginationType===at.Qi.verticalBullets),(t=>"rtl"===t.rtl?O.d`${ze.Z}`:O.d`${Be.Z}`))}
    </button>
`,Ze=O.d`
    <button title="${t=>t.strings.sportsNextMatch}" class="flipper next${t=>t.config.enablePaginationBackplate?" backplate":" noBackplate"}"
        tabindex="0"
        @click="${(t,e)=>t.paginateCallback(e.event,!0)}"
        @keypress="${(t,e)=>t.paginateCallback(e.event,!0)}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.nextMatch)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${(0,J.g)((t=>t.paginationType===at.Qi.fraction),O.d`${He.Z}`)}
        ${(0,J.g)((t=>t.paginationType===at.Qi.bullets||t.paginationType===at.Qi.verticalBullets),(t=>"rtl"===t.rtl?O.d`${Be.Z}`:O.d`${ze.Z}`))}
    </button>
`,Xe=O.d`
    <span
        key="${(t,e)=>e.index}"
        tabindex="0"
        role="button"
        class="pagination-bullet${(t,e)=>e.parent.currentPageIndex===e.index?" active":""}"
        aria-current="${(t,e)=>e.parent.currentPageIndex===e.index}"
        title="${(t,e)=>e.parent.strings&&e.parent.strings.goToPageX?(0,X.WU)(e.parent.strings.goToPageX,String(e.index+1)):""}"
        aria-label="${(t,e)=>e.parent.strings&&e.parent.strings.goToPageX?(0,X.WU)(e.parent.strings.goToPageX,String(e.index+1)):""}"
        @click=${(t,e)=>e.parent.paginateCallback(e.event,null,e.index)}
        @keydown=${(t,e)=>e.parent.bulletPaginationKeydown(e.event,e.index)}
        data-t="${(t,e)=>{var a,i,r;return null===(r=null===(i=null===(a=e.parent)||void 0===a?void 0:a.telemetryContext)||void 0===i?void 0:i.clickCarouselDot)||void 0===r?void 0:r.getMetadataTag()}}"
    ><span>
`,Ye=O.d`
    <div class="bullets-container">
        <div class="bullets-wrapper">
            ${(0,Z.rx)((t=>t.carouselContents),Xe,{positioning:!0})}
        </div>
    </div>
`,Ke=O.d`
    <div class="flipper-content" tabindex="-1">
        ${t=>t.pageCount>0?t.currentPageIndex+1+"/"+t.pageCount:""}
    </div>
`,Qe=O.d`
    <div class="pagination-container">
        ${Je}
        ${Ke}
        ${Ze}
    </div>
    ${t=>t.carouselFooterButton||Ve}
`,ta=O.d`
    ${Je}
    ${Ze}
    ${Ye}
`,ea=O.d`
    ${Ye}
    ${t=>t.carouselFooterButton||qe}
`,aa=O.d`
    <div class="carousel-footer">
        ${(0,J.g)((t=>t.paginationType===at.Qi.fraction),Qe)}
        ${(0,J.g)((t=>t.paginationType===at.Qi.bullets),ta)}
        ${(0,J.g)((t=>t.paginationType===at.Qi.verticalBullets),ea)}
    </div>
`,ia=O.d`
    ${(0,J.g)((t=>t.isPageDataValid()),O.d`
    <div
        class="${t=>t.getCarouselClassNames()}"
        @focusin=${(t,e)=>t.onMouseEnter(e.event)}
        @focusout=${(t,e)=>t.onMouseLeave(e.event)}
        @mouseenter=${(t,e)=>t.onMouseEnter(e.event)}
        @mouseleave=${(t,e)=>t.onMouseLeave(e.event)}>
        ${_e}
        ${(0,J.g)((t=>t.isPageDataValid()),aa)}
    </div>
    `)}
`;let ra=class extends Ae{};ra=(0,u.gn)([(0,_t.M)({name:"sports-carousel",styles:Ne,template:ia,shadowOptions:{delegatesFocus:!0}})],ra);const sa=H.i`
    .icon-selected,
    .icon-add {
        z-index: 2;
    }
    .icon-add .blue-style > svg > g {
        opacity: 1;
    }
    .icon-add .blue-style > svg > g > path,
    .icon-selected .blue-style > svg > path {
        fill: #FFFFFF;
    }
    .icon-add .blue-style > svg > g > rect,
    .icon-selected .blue-style > svg > rect {
        fill: ${U.Avx};
    }
    .icon-hide {
        width: 0;
        opacity: 0;
        overflow: hidden;
    }

    .gray-style {
        fill: #878787;
    }
    
    .gray-style:hover {
        fill: ${U.Avx};
    }

    .icon-add .gray-style:hover svg {
        width: 24px;
        height: 24px;
    }

    :host([colormode="dark"]) .gray-style {
        fill: #FFFFFF;
    }
`.withBehaviors((0,R.vF)(H.i`
                :host: 
                    forced-color-adjust: auto;
                }
                .icon-add .blue-style > svg > g > path,
                .icon-selected .blue-style > svg > path {
                    fill: ${ve.H.LinkText};
                }
                .icon-add .blue-style > svg > g > rect,
                .icon-selected .blue-style > svg > rect {
                    fill: #000000;
                    stroke: ${ve.H.LinkText};
                }
            `));var na=a(55908),oa=a(61870),la=a(83281),da=a(32172);const ca=O.d`
    ${t=>t.grayStyle?O.d`${la.Z}`:O.d`${na.Z}`}
`,pa=O.d`
    ${t=>t.grayStyle?O.d`${da.Z}`:O.d`${oa.Z}`}
`,ha=O.d`
    <div class="${t=>t.isFollowedState?"icon-selected":"icon-add"} ${t=>t.shouldShowFollowIcon?"":"icon-hide"}"
        role="button"
        tabindex="${t=>t.tabIndex}"
        title="${t=>t.getFollowIconTitle()}"
        @click="${(t,e)=>t.handleClickAddIcon(e.event)}"
        @keyup="${(t,e)=>e&&e.event&&"Enter"===e.event.key?t.handleClickAddIcon(e.event):null}"
        @focus="${(t,e)=>t.handleFocus(e.event)}"
        @blur="${(t,e)=>t.handleBlur(e.event)}"
        data-t="${t=>t.getTelemetryTag()}"
    >
        <div class="${t=>t.grayStyle?"gray-style":"blue-style"}"> ${t=>t.isFollowedState?pa:ca}</div>
    </div>
`;class ua extends at.Dc{constructor(){super(...arguments),this.handleClickAddIcon=t=>{const e=!this.isFollowedState;if(this.clickCallback)return this.clickCallback(t,this.sportsEntity,e),void this.updateFollowState();if(t&&t.currentTarget){t.preventDefault(),t.stopPropagation();const a="keydown"===t.type||"keypress"===t.type||"keyup"===t.type;ht.M0.sendActionEvent(t.currentTarget,a?ut.Aw.KeyPress:ut.Aw.Click,e?ut.wu.Follow:ut.wu.Unfollow)}e?this.followSportsCallback&&this.followSportsCallback(this.sportsEntity):this.unfollowSportsCallback&&this.unfollowSportsCallback(this.sportsEntity,!1),this.updateFollowState()},this.handleFocus=t=>{this.focusCallback&&this.focusCallback(t,this.index)},this.handleBlur=t=>{this.blurCallback&&this.blurCallback(t)},this.getFollowIconTitle=()=>this.strings?this.strings.followSports&&this.strings.followSports.includes("{0}")?(0,X.WU)(this.isFollowedState?this.strings.haveFollowed:this.strings.followSports,this.sportsEntity.name):this.isFollowedState?this.strings.haveFollowed&&(0,X.WU)(this.strings.haveFollowed,this.sportsEntity.name):this.strings.followSports:"",this.getTelemetryTag=()=>{if(this.isHoverFollow){const t=this.telemetryContext&&this.telemetryContext.teams.get(this.sportsEntity.id);if(t&&t.followTeam)return t.followTeam.getMetadataTag()}const t=(0,m.FJ)(this.telemetryObject,this.sportsEntity,this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract.content.brandId,this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract.ext,!0,{zone:this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract.zone});return this.isFollowedState?null==t?void 0:t.unFollowEntity.getMetadataTag():null==t?void 0:t.followEntity.getMetadataTag()},this.updateFollowState=()=>(0,u.mG)(this,void 0,void 0,(function*(){setTimeout((()=>{this.isFollowedState=this.isSportsFollowed?this.isSportsFollowed(this.sportsEntity.id,this.sportsEntity.yId):this.isFollowedState}),1e3)}))}connectedCallback(){super.connectedCallback()}}(0,u.gn)([F.LO],ua.prototype,"tabIndex",void 0),(0,u.gn)([F.LO],ua.prototype,"telemetryObject",void 0),(0,u.gn)([F.LO],ua.prototype,"shouldShowFollowIcon",void 0),(0,u.gn)([F.LO],ua.prototype,"isFollowedState",void 0);let ga=class extends ua{};ga=(0,u.gn)([(0,_t.M)({name:"sports-follow-icon",template:ha,styles:sa})],ga);const ma=H.i`
        ${we}
        sports-marchmadness,
        .match-data {
            text-decoration: none;
        }

        .marchmadness-header,
        .marchmadness-champion-header {
            display: flex;
            align-items: center;
            justify-content: center;
            column-gap: 4px;
            color: ${U.CHi};
        }
        .tournament-name {
            font-size: ${U.cSu};
            line-height: ${U.RUt};
            font-weight: 700;
        }
        .tournament-icon {
            width: 22px;
            height: 18px;
        }
        .tournament-phase {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
        }
        .quarterfinal-icon,
        .semifinal-icon {
            width: 28px;
            height: 30px;
        }
        .quarterfinal-name {
            font: italic 900 16px/20px Arial, Segoe, sans-serif;
        }
        .semifinal-name {
            color: #00906E;
            font: italic 900 18px/24px Arial, Segoe, sans-serif;
        }
        .icon-right {
            transform: scale(-1);
        }
        .final-header {
            height: 36px;
            padding-top: 18px;
        }
        .marchmadness-champion-header {
            flex-direction: column;
            font-weight: 700;
            text-align: center;
        }
        .marchmadness-icon {
            width: 36px;
            height: 52px;
            padding: 18px 0 2px;
        }
        .marchmadness-winner-icon {
            width: 70px;
            height: 70px;
            padding: 2px 0;
        }
        .marchmadness-championship {
            color: #00906E;
            text-align: center;
            font: italic 900 24px/26px Arial, Segoe, sans-serif;
        }
        .marchmadness-winner {
            font-size: 36px;
            line-height: 40px;
            font-family: Arial, Segoe, sans-serif;
        }
        .marchmadness-winner-description {
            font: italic 900 14px/18px Arial, Segoe, sans-serif;
        }

        :host([colormode="dark"]) .game-in-progress-text {
            color: #E98F6D;
        }
        :host([colormode="dark"]) .semifinal-name {
            color: #FFFFFF;
        }
        :host([colormode="dark"]) .marchmadness-championship {
            color: #FFFFFF;
        }
`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
        `)),va=H.i`
    .participant-icon {
        margin-left: 20px;
    }
    .detail-right-margin {
        margin-right: 4px;
    }
`,fa=H.i`
    .participant-icon {
        margin-right: 20px;
    }
    .detail-right-margin {
        margin-left: 4px;
    }
    .side-by-side-matchup-content {
        flex-direction: row-reverse;
    }
`,ya=H.i`
        .side-by-side-matchup-container {
            padding: 4px 16px;
            text-decoration: none;
            display: grid;
            row-gap: 14px;
            border-radius: 6px;
        }
        :host([carouselmode][cardlayout="_1x_2y"]) .side-by-side-matchup-container {
            padding: 4px 16px;
        }
        .side-by-side-matchup-container.superbowl-half-u {
            padding: 6px 16px;
        }
        .transparent-matchup-container {
            background: transparent;
            padding: 6px 16px 0;
        }
        .side-by-side-matchup-container:${G.b} {
            outline: none;
        }
        .side-by-side-matchup-container:${G.b} .side-by-side-matchup-content {
            outline: ${U.CHi} solid 2px;
        }

        .transparent-matchup-container:hover .side-by-side-matchup-content,
        .transparent-matchup-container:${G.b} .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.54);
        }
        .side-by-side-matchup-content {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            position: relative;
            border-radius: 6px;
        }
        .superbowl-half-u .side-by-side-matchup-content {
            padding: 0;
        }

        side-by-side-matchup-content-notification {
            padding: 4px 0;
        }

        .matchup-neutral-background .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.5);
        }
        .matchup-neutral-background:hover .side-by-side-matchup-content,
        .matchup-neutral-background:${G.b} .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.8);
        }

        .side-by-side-gradient-container {
            height: 35px;
            width: 268px;
            border-radius: 6px 6px 0px 0px;
            margin-top: -33px;
        }

        .side-by-side-gradient-container + div{
            margin-left: -268px;
        }
        .side-by-side-hover-canvas {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 3;
            font-size: 14px;
            font-weight: bolder;
            background: rgba(255, 255, 255, 0);
            color: rgba(0, 0, 0, 0);
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .side-by-side-hover-canvas:hover {
            border-radius: 6px;
            border: 1.6px solid #6581CA;
            background: rgba(255, 255, 255, 0.85);
            color: ${U.CHi};
        }
        .video-indicator {
            display: none;
        }

        .middle-game-detail {
            font-weight: 600;
            color: ${U.CHi};
            display: flex;
            flex-direction: row;
            white-space: nowrap;
            justify-content: space-around;
            text-align: center;
            align-items: center;
        }
        .middle-notification-game-detail {
            align-items: center;
        }
        .loser {
            font-weight: normal;
        }
        .winner {
            font-weight: 700;
        }
        .non-winner-loser {
            font-weight: 600;
        }
        .bottom-game-detail {
            color: ${U.Q5n};
            font-size: ${U.G8g};
            line-height: 14px;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            max-width: 100px;
        }
        .bottom-notification-container {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            max-height: 28px;
            white-space: normal;
            text-align: center;
        }
        .notification-message {
            max-width: 100px;
            font-weight: 400;
            color: ${U.CHi};
        }
        .underline-text {
            text-decoration: underline;
        }
        .superbowl-1-u .bottom-game-detail,
        .superbowl-half-u .bottom-game-detail {
            color: ${U.CHi};
        }
        .foreground-rest-text-color {
            color: ${U.CHi};
        }
        .top-game-detail {
            color: ${U.Q5n};
            font-size: ${U.G8g};
            line-height: 14px;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            max-width: 140px;
        }
        .finals-match .top-game-detail,
        .finals-match .bottom-game-detail {
            color: ${U.CHi};
        }
        .super-bowl {
            font-weight: 700;
            text-transform: uppercase;
            color: ${U.CHi};
        }
        .game-details {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100px;
        }
        .participant-container {
            display: flex;
            align-items: center;     
            flex-direction: column;
            width: 84px;
            color: ${U.CHi};
            z-index: 0;
        }

        .participant-container img {
            width: 40px;
            height: 40px;
        }

        .participant-icon {
            display: flex;
            border: none;
            background: transparent;
            cursor: pointer;
            width: 60px;
            height: 40px;
        }
        .participant-icon.participant-icon-large {
            width: 70px;
            height: 50px;
        }

        .participant-container .participant-icon-large img {
            width: 50px;
            height: 50px;
        }

        .icon-selected,
        .icon-add {
            z-index: 2;
        }
        .icon-add > svg > g {
            opacity: 1;
        }
        .icon-add > svg > g > path,
        .icon-selected > svg > path {
            fill: #FFFFFF;
        }
        .icon-add > svg > g > rect,
        .icon-selected > svg > rect {
            fill: ${U.Avx};
        }
        .icon-hide {
            width: 0;
            opacity: 0;
            overflow: hidden;
        }

        .game-in-progress-text {
            color: #C42B1C;
            font-weight: bold;
        }
        .participant-name-style {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            max-width: 80px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .game-time-text-style {
            font-size: ${U.mWK};
            line-height: ${U.I7_};
            max-width: 100px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .game-time-notification-text-style {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            max-width: 100px;
        }
        .game-score-notification-text-style {
            font-size: ${U.mWK};
            line-height: ${U.I7_};
        }
        .game-score-text-style {
            color: ${U.CHi};
            line-height: ${U.yGZ};
            font-size: ${U.ipv};
            margin: 0px 10px;
        }
        :host([cardlayout="_1x_1y"]) .match-data {
            padding: 0 16px 6px 16px;
        }
        :host([cardlayout="_1x_1y"]) .match-data.with-pagination.no-vertical-padding {
            padding: 0px 16px;
        }
        .match-data.with-pagination {
            padding: 0px 16px 6px;
        }
        :host([cardlayout="_1x_1y"]) .match-data.with-pagination.no-vertical-padding {
            padding: 0px 16px;
        }
        .match-data.with-pagination > .side-by-side-matchup-container,
        :host([cardlayout="_1x_1y"]) .side-by-side-matchup-container {
            padding: 0;
        }
        .match-data.with-pagination > .side-by-side-matchup-container > .side-by-side-matchup-content,
        .match-data.dynamic-bld-pagination > .side-by-side-matchup-container > .side-by-side-matchup-content {
            padding: 6px 0 4px;
        }

        .detail-live-animation {
            height: 2px;
            background: #cc0000;
            transform: translateZ(0);
            animation: liveAnimation 1.6s ease-out infinite 1.0s alternate;
        }
        @keyframes liveAnimation {
            0% {
                width: 50px;
            }
            100% {
                width: 2px;
            }
        }

        :host([uxstyle="widget"][colormode="dark"]) .game-in-progress-text {
            color: #E98F6D;
        }

        .video-detail,
        .top-detail {
            display: flex;
            align-items: center;
            height: 14px;
            margin-bottom: -4px;
        }
        .top-detail {
            max-height: 40px;
        }

        .video-detail > span {
            height: 14px;
            color: ${U.CHi};
            font-size: ${U.G8g};
            line-height: 14px;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            max-width: 64px;
        }

        .top-detail > span {
            font-size: ${U.G8g};
            line-height: ${U.MwG};
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            color: ${U.CHi};
        }
        .game-winner-team,
        .game-winner-description {
            text-align: center;
            font-size: ${U.cSu};
            line-height: ${U.RUt};
            font-weight: 900;
            color: ${U.CHi};
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            font-family: Arial, Segoe, sans-serif;
        }
        .game-winner-description {
            margin-top: -4px;
        }
        .click-for-detail {
            font-weight: 700;
            display: inline-block;
            background: #D92C2C;
            color: rgba(255, 255, 255, 0.83);
            font-size: ${U.cSu};
            line-height: ${U.RUt};
            height: 16px;
            padding: 3px 6px 6px;
            margin: 2px;
            border-radius: 4px;
            font-weight: 600;
            animation: gradbg 3s infinite;
            -webkit-animation: gradbg ease 3s infinite;
            max-width: 80px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        @keyframes gradbg {
            0% { background-position: 10% 0% }
            50% { background-position: 91% 100% }
            100% { background-position: 10% 0% }
        }
        .detail-live-score {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            font-weight: 600;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            color: ${U.Avx};
            text-decoration: none;
        }
        .detail-live-score:hover,
        .detail-live-score:${G.b} {
            text-decoration: underline;
            cursor: pointer;
        }

        :host([colormode="dark"]) .game-in-progress-text {
            color: #E98F6D;
        }
        :host([colormode="dark"]) .transparent-matchup-container:hover .side-by-side-matchup-content,
        :host([colormode="dark"]) .transparent-matchup-container:${G.b} .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.13);
        }
        :host([colormode="dark"]) .side-by-side-hover-canvas:hover {
            background: rgba(0, 0, 0, 0.6);
        }
    
        :host([colormode="dark"]) .matchup-neutral-background .side-by-side-matchup-content,
        :host([colormode="dark"]) .matchup-neutral-background .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.09);
        }
        :host([colormode="dark"]) .matchup-neutral-background:hover .side-by-side-matchup-content,
        :host([colormode="dark"]) .matchup-neutral-background:${G.b} .side-by-side-matchup-content,
        :host([colormode="dark"]) .matchup-neutral-background:hover .side-by-side-matchup-content,
        :host([colormode="dark"]) .matchup-neutral-background:${G.b} .side-by-side-matchup-content {
            background: rgba(255, 255, 255, 0.13);
        }
    }

`.withBehaviors(new N.O(va,fa),(0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
                .super-bowl,
                .participant-container,
                .top-game-detail,
                .middle-game-detail,
                .bottom-game-detail,
                .top-detail > span,
                .game-score-text-style,
                .game-in-progress-text,
                .video-detail,
                .game-winner-description {
                    color: ${ve.H.CanvasText};
                }
                .icon-add > svg > g > path,
                .icon-selected > svg > path {
                    fill: ${ve.H.LinkText};
                }
                .icon-add > svg > g > rect,
                .icon-selected > svg > rect {
                    fill: #000000;
                    stroke: ${ve.H.LinkText};
                }
                .click-for-detail {
                    border: 1px solid;
                    background-color: ${ve.H.LinkText}
                }
                .detail-live-animation {
                    background-color: ${ve.H.LinkText}
                }
            }
        `));var wa=a(4253);const ba=O.d`
    <div class="game-details">
        ${(0,J.g)(((t,e)=>!e.parent.topDetail&&e.parent.useSuperBowlFallbackHeader(t)),((t,e)=>O.d`<div class="top-game-detail super-bowl">${e.parent.strings.superBowlHeader}</div>`))}
        ${(0,J.g)(((t,e)=>e.parent.topDetail),((t,e)=>e.parent.topDetail))}
        ${(0,J.g)(((t,e)=>e.parent.showGameNumberTopDetail()),O.d`<div class="top-game-detail">${(t,e)=>(0,X.WU)(e.parent.strings.gameNumber,(t.gameNumber||1).toString())}</div>`)}
        ${(t,e)=>((t,e,a=!1,i=null,r=null)=>{switch(t.gameStateCatetory){case m.w_.preGame:return null==i?Ca():$a(i);case m.w_.inprogressGame:return a?Ia():Ma();case m.w_.postGame:return e?Da():null==r?ka():Ta(r);default:return Ca()}})(t,e.parent.shouldShowChampionPostgame(),e.parent.showLiveDetail(),e.parent.getPreGameNotificationMessage(t),e.parent.getPostGameNotificationMessage(t))}
    </div>
`,Sa=(t,e,a,i,r,s)=>O.d`
    <sports-follow-icon
        role="button"
        colormode=${(t,e)=>e.parent.colormode}
        :config=${(t,e)=>e.parent.config}
        :strings=${(t,e)=>e.parent.strings}
        :telemetryContext=${(t,e)=>e.parent.telemetryContext}
        :isFollowedState=${(a,i)=>i.parent.isSportsFollowed(t,e)}
        :shouldShowFollowIcon=${(a,i)=>i.parent.shouldShowFollowIcon(t,e,s)}
        :followSportsCallback=${(t,e)=>e.parent.navigationListFollowSports}
        :unfollowSportsCallback=${(t,e)=>e.parent.navigationListUnfollowSports}
        :isSportsFollowed=${(t,e)=>e.parent.isSportsFollowed}
        :clickCallback=${(t,e)=>e.parent.handleClickTeamAddIcon}
        :focusCallback=${(t,e)=>e.parent.handleSideBySideFocus}
        :blurCallback=${(t,e)=>e.parent.handleSideBySideBlur}
        :sportsEntity=${(i,s)=>{var n,o;return Object.create({id:t,yId:e,name:a,type:m.fs.Team,webSearchUrl:r,sportType:null===(n=s.parent.cardData)||void 0===n?void 0:n.sportType,leagueId:null===(o=s.parent.cardData)||void 0===o?void 0:o.leagueId})}}
        :index=${t=>s}
        :tabIndex="${(t,e)=>e.parent.tabIndex}"
        :isHoverFollow=${t=>!0}
    >
    </sports-follow-icon>
`,xa=O.d`
    ${(0,J.g)((t=>t.matchData&&t.matchData.length>0),O.d`
        <div class="match-data${t=>t.config.enableMatchNeutral?" match-neutral":""} ${t=>t.paginationStyle?t.paginationStyle:""}">
            ${(0,Z.rx)((t=>t.matchData),(t=>{return e=t.config,O.d`
    <a class="${(t,e)=>e.parent.getMatchContainerClassName()}"
        tabindex="${(t,e)=>e.parent.getSideBySideItemTabIndex()}"
        href="${t=>t.matchClickthroughUrl?t.matchClickthroughUrl:void 0}"
        target="${(t,e)=>e.parent.linkTarget}"
        data-t="${(t,e)=>e.parent.telemetryContext&&e.parent.telemetryContext.destinations&&t.matchClickthroughUrl?e.parent.telemetryContext.destinations.get(t.matchClickthroughUrl):""}"
        @mouseenter="${(t,e)=>e.parent.handleMatchMouseEnter(e.event,e.index)}"
        @mouseleave="${(t,e)=>e.parent.handleMatchMouseLeave(e.event)}"
        @keyup="${(t,e)=>e.parent.handleSideBySideFocus(e.event,e.index)}"
        @blur="${(t,e)=>e.parent.handleSideBySideBlur(e.event)}"
    >
        <div class="side-by-side-matchup-content" style="${(t,e)=>e.parent.overrideStyleForMatch} ${(t,e)=>e.parent.getMatchupContentNotificationStyleIfNecessary(t)}">
            ${(0,J.g)(((t,a)=>e.enableMatchHoverGuide),O.d`
                <div class="side-by-side-hover-canvas">
                    <div class="video-indicator">
                        ${wa.Z}
                    </div>
                    ${(t,e)=>e.parent.strings.hoverNavigationMessage}
                </div>
            `)}
            <div role="presentation" class="side-by-side-gradient-container" style="${(t,e)=>`background-image: ${e.parent.getBackgroundGradient(t)};`}" ></div>
            <div class="participant-container ${(t,e)=>e.parent.shouldDisplayT4()?"":" participant-one-alignment"}">
                <div class="participant-icon ${(t,e)=>e.parent.useLargeTeamIcon()?" participant-icon-large":""}">
                    <img
                        role="presentation"
                        src="${(t,e)=>e.parent.getTeamIconUrl(t.participantOne.imageUrl)}"
                    />
                    ${(t,e)=>Sa(t.participantOne.satoriId,t.participantOne.yId,t.participantOne.name,e.parent.isTeamFollowed(t.participantOne.satoriId,t.participantOne.yId),t.participantOne.scheduleUrl,e.index)}
                </div>
                <div class="${(t,e)=>`participant-name-style ${e.parent.getWinnerClassName(t.participantOne.isWinner,t.gameStateCatetory)}`}" title="${t=>t.participantOne.name}">
                    ${t=>t.participantOne.name||""}
                </div>
            </div>
            ${ba}
            <div class="participant-container ${(t,e)=>e.parent.shouldDisplayT4()?"":" participant-two-alignment"}">
                <div class="participant-icon ${(t,e)=>e.parent.useLargeTeamIcon()?" participant-icon-large":""}">
                    <img
                        role="presentation"
                        src="${(t,e)=>e.parent.getTeamIconUrl(t.participantTwo.imageUrl)}"
                    />
                    ${(t,e)=>Sa(t.participantTwo.satoriId,t.participantTwo.yId,t.participantTwo.name,e.parent.isTeamFollowed(t.participantTwo.satoriId,t.participantTwo.yId),t.participantTwo.scheduleUrl,e.index)}
                </div>
                <div class="${(t,e)=>`participant-name-style ${e.parent.getWinnerClassName(t.participantTwo.isWinner,t.gameStateCatetory)}`}" title="${t=>t.participantTwo.name}">
                    ${t=>t.participantTwo.name||""}
                </div>
            </div>
        </div>
    </a>
`;var e}),{positioning:!0})}
        </div>`)}
`,Ca=()=>O.d`
    <div class="middle-game-detail" title="${t=>t.gameStartTime}">
        <span class="game-time-text-style" >
            ${t=>t.gameStartTime||""}
        </span>
    </div>
    <div class="${(t,e)=>e.parent.shouldDisplayT4()?"bottom-game-detail":"bottom-game-detail foreground-rest-text-color"}" title="${t=>t.tvChannel?`${t.gameDate} - ${t.tvChannel}`:t.gameDate}">
        <span>${t=>t.gameDate||""}</span>
            ${t=>t.tvChannel&&t.gameDate?m.I8:""}
        <span>${t=>t.tvChannel||""}</span>
    </div>
`,$a=t=>O.d`
    <div class="middle-game-detail" title="${t=>t.gameStartTime+"-"+t.gameDate}">
        <span class="game-time-text-style game-time-notification-text-style">
            ${t=>`${t.gameStartTime||""}`}
        </span>
        &nbsp;
        <span class="game-time-text-style game-time-notification-text-style">
            ${t=>""+(t.gameStartTime?"-":"")}
        </span>
        &nbsp;
        <span class="game-time-text-style game-time-notification-text-style">
            ${t=>`${t.gameDate}`}
        </span>
    </div>
    <div class="${"bottom-game-detail bottom-notification-container"}" title="${t}">
        <span class=${(t,e)=>e.parent.shouldUnderlineNotificationMessage(e.index)?"notification-message underline-text":"notification-message"}>
            ${t}
        </span>
    </div>
`,ka=()=>O.d`
    <div class="middle-game-detail">
        <span class="${(t,e)=>`game-score-text-style ${e.parent.getWinnerClassName(t.participantOne.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantOne.score)&&void 0!==e?e:""}}
        </span>
        ${t=>(0,X.TF)(t.participantOne.score)||(0,X.TF)(t.participantTwo.score)?"":m.I8}
        <span class="${(t,e)=>`game-score-text-style ${e.parent.getWinnerClassName(t.participantTwo.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantTwo.score)&&void 0!==e?e:""}}
        </span>
    </div>
    <div class="${(t,e)=>e.parent.shouldDisplayT4()?"bottom-game-detail":"bottom-game-detail foreground-rest-text-color"}" title="${t=>t.gameState?`${t.gameDate} - ${t.gameState}`:t.gameDate}">
        <span>${t=>t.gameDate||""}</span>
        ${t=>t.gameDate&&t.gameState?m.I8:""}
        <span>${t=>t.gameState||""}</span>
    </div>
`,Ta=t=>O.d`
    <div class="middle-game-detail middle-notification-game-detail">
        <span class="${(t,e)=>`game-score-text-style game-score-notification-text-style ${e.parent.getWinnerClassName(t.participantOne.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantOne.score)&&void 0!==e?e:""}}
        </span>
        <span class="bottom-game-detail foreground-rest-text-color">${t=>t.gameState||""}</span>
        <span class="${(t,e)=>`game-score-text-style game-score-notification-text-style ${e.parent.getWinnerClassName(t.participantTwo.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantTwo.score)&&void 0!==e?e:""}}
        </span>
    </div>
    <div class="${"bottom-game-detail bottom-notification-container"}" title="${t}">
        <span class=${(t,e)=>e.parent.shouldUnderlineNotificationMessage(e.index)?"notification-message underline-text":"notification-message"}>
            ${t}
        </span>
    </div>
`,Da=()=>O.d`
    <div class="top-game-detail superbowl-top">
        <div class="game-winner-team">
            ${(t,e)=>e.parent.getWinnerTeam()}
        </div>
        <div class="game-winner-description" title="${(t,e)=>e.parent.strings&&e.parent.strings.champions||""}">
            ${(t,e)=>e.parent.strings&&e.parent.strings.champions&&e.parent.strings.champions.toUpperCase()||f.TM}
        </div>
    </div>
    <div class="middle-game-detail">
        <span class="${(t,e)=>`game-score-text-style ${e.parent.getWinnerClassName(t.participantOne.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantOne.score)&&void 0!==e?e:""}}
        </span>
        ${t=>(0,X.TF)(t.participantOne.score)||(0,X.TF)(t.participantTwo.score)?"":m.I8}
        <span class="${(t,e)=>`game-score-text-style ${e.parent.getWinnerClassName(t.participantTwo.isWinner,t.gameStateCatetory)}`}">
            ${t=>{var e;return null!==(e=t.participantTwo.score)&&void 0!==e?e:""}}
        </span>
    </div>
`,Ma=()=>O.d`
    <div class="middle-game-detail">
        <span class="game-score-text-style" title="${t=>t.participantOne.score}">
            ${t=>t.participantOne.score||""}
        </span>
        ${t=>(0,X.TF)(t.participantOne.score)||(0,X.TF)(t.participantTwo.score)?"":m.I8}
        <span class="game-score-text-style" title="${t=>t.participantTwo.score}">
            ${t=>t.participantTwo.score||""}
        </span>
    </div>
    ${(0,J.g)(((t,e)=>e.parent.config.enableAnimatedLive),O.d`<div class="detail-live-animation"></div>`)}
    <div class="bottom-game-detail" title="${t=>t.tvChannel?`${t.gamePeriodAndClock} - ${t.tvChannel}`:t.gamePeriodAndClock}">
        <span class="game-in-progress-text" title="${t=>t.gamePeriodAndClock}">
            ${t=>t.gamePeriodAndClock||""}
        </span>
        ${t=>t.gamePeriodAndClock&&t.tvChannel?m.I8:""}
        <span title="${t=>t.tvChannel}">${t=>t.tvChannel||""}</span>
    </div>
`,Ia=()=>O.d`
    <div class="middle-game-detail">
        <span class="click-for-detail" title="${(t,e)=>e.parent.strings.clickForDetail||""}">
            ${(t,e)=>(e.parent.strings.sportsLive||"LIVE").toLocaleUpperCase()}
            ${(0,J.g)(((t,e)=>e.parent.config.enableLiveDetailClick),O.d`${t=>t.gamePeriodAndClock}`)}
        </span>
    </div>
    ${(0,J.g)(((t,e)=>!e.parent.config.enableLiveDetailClick),O.d`
        <div class="bottom-game-detail" title="${t=>t.tvChannel?`${t.gamePeriodAndClock} - ${t.tvChannel}`:t.gamePeriodAndClock}">
            <span class="game-in-progress-text" title="${t=>t.gamePeriodAndClock}">
                ${t=>t.gamePeriodAndClock||""}
            </span>
            ${t=>t.gamePeriodAndClock&&t.tvChannel?m.I8:""}
            <span title="${t=>t.tvChannel}">${t=>t.tvChannel||""}</span>
        </div>
    `)}
`;var La=a(26007);function Fa(t){let e,a=t;const i=t.getBoundingClientRect();for(;!e;){if(a.parentElement)a=a.parentElement;else{if(!a.getRootNode().host)return;a=a.getRootNode().host}const t=a.getBoundingClientRect();t.width>=i.width&&t.height>=i.height&&(e=a)}return e}function Oa(t,e=this){const a={};const i=function t(e){var i;return e&&e!==window&&e!==document?e instanceof ShadowRoot?t(null===(i=e.getRootNode())||void 0===i?void 0:i.host):(a[e.tagName]||(a[e.tagName]=e),t(e=e.parentNode),a):a}(e);for(let e=0;e<t.length;e++)if(i[t[e]])return i[t[e]];return null}class Pa extends at.Dc{constructor(){super(...arguments),this.getBackgroundGradient=t=>{if(this.shouldDisplayT4()||!t)return null;const e=t.participantOne&&t.participantOne.primaryColor||"#C4C4C4",a=t.participantTwo&&t.participantTwo.primaryColor||"#E4E4E4";return`linear-gradient(\n                        ${this.isRTLDirection()?"-60deg":"120deg"},\n                        ${(0,ft.a7)(e,1)} 0%,\n                        ${(0,ft.a7)(e,1)} 10.75%,\n                        ${(0,ft.a7)(e,.35)} 11%,\n                        ${(0,ft.a7)(e,.35)} 14.75%,\n                        transparent 15%,\n                        transparent 85%,\n                        ${(0,ft.a7)(a,.35)} 85.25%,\n                        ${(0,ft.a7)(a,.35)} 89%,\n                        ${(0,ft.a7)(a,1)} 89.25%,\n                        ${(0,ft.a7)(a,1)} 100%)`},this.getWinnerClassName=(t,e)=>{let a="non-winner-loser";return 1==t&&e==m.w_.postGame&&(a="winner"),0==t&&e==m.w_.postGame&&(a="loser"),a},this.shouldDisplayT4=()=>!!this.config.enableTeamColorGradientBackground&&(this.matchUXType!=m.mW.Default&&this.matchUXType!=m.mW.SideBySide||(!this.config.enableTeamColorStripes||(!this.showLiveDetail()||!this.matchData.some((t=>t&&t.gameStateCatetory==m.w_.inprogressGame)))&&this.cardlayout!==m.J4.Small)),this.shouldShowChampionPostgame=()=>(this.matchUXType==m.mW.SuperDesign||1==this.isChampionFinalResult)&&this.cardlayout==m.J4.Small,this.showGameNumberTopDetail=()=>this.matchUXType==m.mW.NBAFinals||this.matchUXType==m.mW.NHLFinals,this.showLiveDetail=()=>(this.config.enableLiveDetailClick||this.config.enableLiveDetailClick2||this.config.enableLiveDetailClick3)&&!this.config.enableAnimatedLive,this.onFocusBlur=(t,e,a)=>{this.shadowRoot.querySelectorAll(".side-by-side-matchup-content").forEach((i=>{if(i)return a?this.handleSideBySideFocus(t,e):this.handleSideBySideBlur(t),!1}))},this.handleSideBySideFocus=(t,e)=>{if(t&&t instanceof KeyboardEvent)return this.handleMatchMouseEnter(t,this.paginationStyle&&this.cardlayout===m.J4.Small?0:e)},this.handleSideBySideBlur=t=>{t&&this.handleMatchMouseLeave(t)},this.handleMatchMouseEnter=(t,e)=>{this.showParticipantAddIcon&&this.hoverMatchIndex==e||(this.showParticipantAddIcon=!0,this.hoverMatchIndex=e,t&&t.target&&ht.M0.sendActionEvent(t.target,ut.Aw.Hover,ut.wu.Show))},this.handleMatchMouseLeave=t=>{(this.showParticipantAddIcon||-1!=this.hoverMatchIndex)&&(this.showParticipantAddIcon=!1,this.hoverMatchIndex=-1,t&&t.target&&ht.M0.sendActionEvent(t.target,ut.Aw.MouseLeave,ut.wu.Close))},this.handleClickTeamAddIcon=(t,e,a)=>{t&&t.target&&(t.preventDefault(),t.stopPropagation(),ht.M0.sendActionEvent(t.target,ut.Aw.Click,a?ut.wu.Follow:ut.wu.Unfollow)),a?this.followSportsCallback&&this.followSportsCallback(e):this.unfollowSportsCallback&&this.unfollowSportsCallback(e,!1)},this.isTeamFollowed=(t,e)=>this.isSportsFollowed&&this.isSportsFollowed(t,e),this.shouldShowFollowIcon=(t,e,a)=>t&&this.showParticipantAddIcon&&this.hoverMatchIndex==a,this.shouldUnderlineNotificationMessage=t=>this.hoverMatchIndex==t,this.getMatchupContentNotificationStyleIfNecessary=t=>this.isNotificationEnabledAndAvailable(t)?"side-by-side-matchup-content-notification":"",this.isNotificationEnabledAndAvailable=t=>{const e=this.getPreGameNotificationMessage(t),a=this.getPostGameNotificationMessage(t);return null!=e||null!=a},this.getPreGameNotificationMessage=t=>{var e,a,i,r;if(this.config.enableInCardNotifications&&null!=t&&t.gameStateCatetory==m.w_.preGame){let s=0;if(this.config.enableInjuryNotification&&1==(null===(e=t.gameInCardNotificationDetails)||void 0===e?void 0:e.isInjuryNotificationEnabled)&&this.config.enablePreviousMatchupNotification&&1==(null===(a=t.gameInCardNotificationDetails)||void 0===a?void 0:a.isPreviousMatchupNotificationEnabled)&&(s=Math.floor(2*Math.random()+1)),0==s&&this.config.enableInjuryNotification&&1==(null===(i=t.gameInCardNotificationDetails)||void 0===i?void 0:i.isInjuryNotificationEnabled))return this.strings.injuryReportAvailable;if(0==s&&this.config.enablePreviousMatchupNotification&&1==(null===(r=t.gameInCardNotificationDetails)||void 0===r?void 0:r.isPreviousMatchupNotificationEnabled))return this.strings.previousMatchupAvailable;if(1==s)return this.strings.injuryReportAvailable;if(2==s)return this.strings.previousMatchupAvailable}return null},this.getPostGameNotificationMessage=t=>{var e,a,i,r;if(this.config.enableInCardNotifications&&null!=t&&t.gameStateCatetory==m.w_.postGame){let s=0;if(this.config.enableGameStatsNotification&&1==(null===(e=t.gameInCardNotificationDetails)||void 0===e?void 0:e.isGameStatNotificationEnabled)&&this.config.enableVideoNotification&&1==(null===(a=t.gameInCardNotificationDetails)||void 0===a?void 0:a.isVideoNotificationEnabled)&&(s=Math.floor(2*Math.random()+1)),0==s&&this.config.enableGameStatsNotification&&1==(null===(i=t.gameInCardNotificationDetails)||void 0===i?void 0:i.isGameStatNotificationEnabled))return this.strings.gameStatsAvailable;if(0==s&&this.config.enableVideoNotification&&1==(null===(r=t.gameInCardNotificationDetails)||void 0===r?void 0:r.isVideoNotificationEnabled))return this.strings.videoAvailable;if(1==s)return this.strings.gameStatsAvailable;if(2==s)return this.strings.videoAvailable}return null},this.getMatchContainerClassName=()=>{if(this.matchUXType==m.mW.SuperDesign||this.matchUXType==m.mW.Video)return this.cardlayout==m.J4.Small?"side-by-side-matchup-container superbowl-half-u":"side-by-side-matchup-container superbowl-1-u";let t="";return this.matchUXType!=m.mW.NBAFinals&&this.matchUXType!=m.mW.NHLFinals||(t="finals-match "),this.shouldDisplayT4()?t+"side-by-side-matchup-container transparent-matchup-container":t+"side-by-side-matchup-container matchup-neutral-background"},this.getTeamIconUrl=t=>this.matchUXType==m.mW.SuperDesign?(0,ft.Sb)(t,50,50,!0):(0,ft.Sb)(t,40,40,!0),this.useLargeTeamIcon=()=>this.matchUXType==m.mW.SuperDesign,this.getFollowIconTitle=(t,e)=>{if(this.strings)return this.strings.followSports&&this.strings.followSports.includes("{0}")?(0,X.WU)(t?this.strings.haveFollowed:this.strings.followSports,e):t?this.strings.haveFollowed&&(0,X.WU)(this.strings.haveFollowed,e):this.strings.followSports},this.getWinnerTeam=()=>{if(this.matchData&&this.matchData[0].gameStateCatetory==m.w_.postGame){let t=1==this.matchData[0].participantOne.isWinner?this.matchData[0].participantOne.name.toUpperCase():null;return t||(t=1==this.matchData[0].participantTwo.isWinner?this.matchData[0].participantTwo.name.toUpperCase():null),t||""}return""},this.isRTLDirection=()=>document.dir===La.N.rtl,this.updateTabIndex=()=>{this.paginationStyle&&this.carouselContainer?this.tabIndex=this.isElementInViewport(this,this.carouselContainer,5)?0:-1:this.tabIndex=0},this.getSideBySideItemTabIndex=()=>(0,X.TF)(this.paginationStyle)||this.cardlayout!==m.J4.Small&&this.tabIndex>-1?0:-1,this.isElementInViewport=(t,e,a=0)=>{if(!t||!e)return!1;const i=e.getBoundingClientRect(),r=t.getBoundingClientRect();return r.top>=i.top-a&&r.left>=i.left-a&&r.width<=i.width+a&&r.height<=i.height+a}}connectedCallback(){super.connectedCallback(),this.carouselContainer=Oa(["SPORTS-CAROUSEL"],this),this.updateTabIndex()}useSuperBowlFallbackHeader(t){return this.matchUXType!=m.mW.SuperDesign&&t&&!(0,Nt.isNullOrUndefined)(v._.getSuperDesignMatchData([{sportsMatchData:t}]))&&!(0,X.TF)(this.strings.superBowlHeader)}}(0,u.gn)([F.LO],Pa.prototype,"matchData",void 0),(0,u.gn)([F.LO],Pa.prototype,"topDetail",void 0),(0,u.gn)([F.LO],Pa.prototype,"showParticipantAddIcon",void 0),(0,u.gn)([F.LO],Pa.prototype,"hoverSatoriId",void 0),(0,u.gn)([F.LO],Pa.prototype,"hoverMatchIndex",void 0),(0,u.gn)([F.LO],Pa.prototype,"tabIndex",void 0);let Aa=class extends Pa{};Aa=(0,u.gn)([(0,_t.M)({name:"sports-side-by-side",template:xa,styles:ya,shadowOptions:{delegatesFocus:!0}})],Aa);const Ea=O.d`
    <sports-side-by-side class="${t=>"widget"==t.uxstyle?"sports-widget-content":"sports-match-content"}"
        style="width: 100%; height: 100%; margin: 0;"
        uxstyle="${t=>t.uxstyle}"
        cardlayout="${t=>t.cardlayout}"
        colormode="${t=>t.colormode}"
        :config=${t=>t.config}
        :strings=${t=>t.strings}
        :telemetryContext=${t=>t.telemetryContext}
        :linkTarget="${t=>t.linkTarget}"
        :cardData="${t=>t.cardData}"
        :matchData="${t=>t.getMatchData()}"
        :matchUXType="${t=>m.mW.MarchMadness}"
        :isChampionFinalResult=${t=>t.marchMadnessUXType==f.FP.champion}
        :overrideStyleForMatch="${t=>t.overrideStyleForMatch}"
        :topDetail=${t=>{return t.marchMadnessUXType!=f.FP.champion?(e=t.topDetailText)?O.d`
    <div class="top-detail">
        <span title="${e}">${e}</span>
    </div>`:null:null;var e}}
        :followSportsCallback=${t=>t.followSportsCallback}
        :unfollowSportsCallback=${t=>t.unfollowSportsCallback}
        :isSportsFollowed=${t=>t.isSportsFollowed}
    >
    </sports-side-by-side>
`,Ua=O.d`
    <div class="marchmadness-header">
        <span class="tournament-name">
            ${t=>t.getMarchMadnessTitle()}
        </span>
        <span class="tournament-icon">
            <img role="presentation" src="${t=>t.bracketIconUrl}" />
        </span>
        <span class="tournament-phase">
            ${t=>t.getBracketPhaseDisplayName()}
        </span>
    </div>
    ${Ea}
`,Na=O.d`
    <div class="marchmadness-header final-header">
        <div class="quarterfinal-icon">
            <img role="presentation" src="${t=>t.bracketIconUrl}" />
        </div>
        <div class="quarterfinal-name">
            ${t=>t.getMarchMadnessTitle()}
        </div>
        <div class="quarterfinal-icon icon-right">
            <img role="presentation" src="${t=>t.bracketIconUrl}" />
        </div>
    </div>
    ${Ea}
`,Ha=O.d`
    <div class="marchmadness-header final-header">
        <div class="semifinal-icon">
            <img role="presentation" src="${t=>t.bracketIconUrl}" />
        </div>
        <div class="semifinal-name">
            ${t=>t.getMarchMadnessTitle()}
        </div>
        <div class="semifinal-icon icon-right">
            <img role="presentation" src="${t=>t.bracketIconUrl}" />
        </div>
    </div>
    ${Ea}
`,Ga=O.d`
    <a class="match-data match-neutral"
        href="${t=>t.matchData[0].matchClickthroughUrl?t.matchData[0].matchClickthroughUrl:void 0}"
        target="${t=>t.linkTarget}"
    >  
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small),O.d`
            <div class="marchmadness-champion-header">
                <div class="${t=>t.getMarchMadnessIconClassName()}">
                    ${t=>t.getMarchMadnessIcon()}
                </div>
                <div class="marchmadness-champion">
                    ${t=>t.getMarchMadnessChampion()}
                </div>
            </div>
        `)}
        ${Ea}
    </a>
`,Ra=O.d`
    <div>  
        ${(0,J.g)((t=>t.matchData&&t.cardlayout===m.J4.Small),O.d`${Ea}`)}
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small&&t.marchMadnessUXType===f.FP.tournament),O.d`${Ua}`)}
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small&&t.marchMadnessUXType===f.FP.quarterFinal),O.d`${Na}`)}
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small&&t.marchMadnessUXType===f.FP.semiFinal),O.d`${Ha}`)}
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small&&(t.marchMadnessUXType===f.FP.championship||t.marchMadnessUXType===f.FP.champion)),O.d`${Ga}`)}
    </div>
    `;class Ba extends at.Dc{constructor(){super(...arguments),this.getMatchData=()=>{const t=this.matchData&&this.matchData.map((t=>Object.assign(Object.assign({},t),{participantOne:(0,f.kW)(this.replaceTeamNameWithCityName(t.participantOne)),participantTwo:(0,f.kW)(this.replaceTeamNameWithCityName(t.participantTwo))})));return this.cardlayout==m.J4.Small||this.marchMadnessUXType!=f.FP.championship&&this.marchMadnessUXType!=f.FP.champion||(this.overrideStyleForMatch="padding-top: 16px;"),this.cardlayout===m.J4.Small||this.marchMadnessUXType==f.FP.championship||this.marchMadnessUXType==f.FP.champion?t&&t.slice(0,1):this.marchMadnessUXType==f.FP.tournament?(this.overrideStyleForMatch="padding: 3px 0;",t&&t.slice(0,3)):this.marchMadnessUXType==f.FP.quarterFinal||this.marchMadnessUXType==f.FP.semiFinal?(this.overrideStyleForMatch="padding: 8px 0;",t&&t.slice(0,2)):t},this.getMarchMadnessTitle=()=>(0,f.eo)(this.marchMadnessUXType,this.isMarchmadnessWomens),this.getBracketPhaseDisplayName=()=>(0,f._e)(this.cardData.bracketPhase),this.showTopDetail=()=>this.cardlayout===m.J4.Small&&this.matchData[0].gameStateCatetory!=m.w_.postGame,this.getMarchMadnessIconClassName=()=>this.matchData[0].gameStateCatetory==m.w_.postGame?"marchmadness-winner-icon":"marchmadness-icon",this.getMarchMadnessIcon=()=>{let t=null,e=null;return this.matchData[0].gameStateCatetory==m.w_.postGame&&(t=1==this.matchData[0].participantOne.isWinner?this.matchData[0].participantOne.imageUrl:null,e=1==this.matchData[0].participantOne.isWinner?this.matchData[0].participantOne.imageAltText:null,t||(t=1==this.matchData[0].participantTwo.isWinner?this.matchData[0].participantTwo.imageUrl:null,e=1==this.matchData[0].participantTwo.isWinner?this.matchData[0].participantTwo.imageAltText:null),t&&(t=(0,ft.Sb)(t,70,70))),t||(t=this.isSportsCardDarkMode?f.bW:f.BL),O.d`<img role="presentation" src="${()=>t}" />`},this.getMarchMadnessChampion=()=>{const t=(0,f.eo)(this.marchMadnessUXType,this.isMarchmadnessWomens);if(this.matchData[0].gameStateCatetory!=m.w_.postGame)return O.d`<div class="marchmadness-championship" title="${t}">${(t||"").toUpperCase()}</div>`;{let e=1==this.matchData[0].participantOne.isWinner?this.matchData[0].participantOne.name:null;if(e||(e=1==this.matchData[0].participantTwo.isWinner?this.matchData[0].participantTwo.name:null),e)return O.d`<div class="marchmadness-winner" title="${e}">${e.toUpperCase()}</div>
                            <div class="marchmadness-winner-description" title="${t}">${(t||"").toUpperCase()}</div>`}},this.getMarchMadnessUXType=()=>{const t=this.matchData[0]&&this.matchData[0].gameStateCatetory||m.w_.preGame;return(0,f.Tl)(this.cardData.bracketPhase,t)}}connectedCallback(){this.initData(),super.connectedCallback()}initData(){this.isMarchmadnessWomens=(0,f.Pu)(this.cardData.leagueSatoriId),this.marchMadnessUXType=this.getMarchMadnessUXType(),this.bracketIconUrl=(0,f.$m)(this.marchMadnessUXType,this.isSportsCardDarkMode),this.cardlayout!==m.J4.Small&&this.marchMadnessUXType!=f.FP.championship&&this.marchMadnessUXType!=f.FP.champion||(this.topDetailText=this.marchMadnessUXType==f.FP.tournament?this.getBracketPhaseDisplayName():this.marchMadnessUXType),this.marchMadnessUXType!=f.FP.championship&&this.marchMadnessUXType!=f.FP.champion||!this.matchData||(0,f.XX)(this.matchData[0],this.colormode==at.wF.dark)}replaceTeamNameWithCityName(t){return t?Object.assign(Object.assign({},t),{name:t.city||t.name}):{}}}(0,u.gn)([F.LO],Ba.prototype,"matchData",void 0),(0,u.gn)([F.LO],Ba.prototype,"isSportsCardDarkMode",void 0),(0,u.gn)([F.LO],Ba.prototype,"marchMadnessUXType",void 0),(0,u.gn)([F.LO],Ba.prototype,"isMarchmadnessWomens",void 0),(0,u.gn)([F.LO],Ba.prototype,"overrideStyleForMatch",void 0),(0,u.gn)([F.LO],Ba.prototype,"topDetailText",void 0),(0,u.gn)([F.LO],Ba.prototype,"bracketIconUrl",void 0);let za=class extends Ba{};za=(0,u.gn)([(0,_t.M)({name:"sports-marchmadness",template:Ra,styles:ma,shadowOptions:{delegatesFocus:!0}})],za);const Wa=H.i`
    .more-actions {
        right: 16px;
        left: auto;
    }
    .score-container {
        flex-direction: row;
    }
`,ja=H.i`
    .more-actions {
        left: 16px;
        right: auto;
    }
    .score-container {
        flex-direction: row-reverse;
    }
`,_a=H.i`
    .match-data {
        display: flex;
        align-items: center;
        width: 100%";
        text-decoration: none;
        color: ${U.CHi};
    }
    .match-data {
        box-sizing: border-box;
        flex-direction: column;
        display: grid;
        row-gap: 14px;
        padding-top: 12px;
    }
    .match-data.match-neutral {
        row-gap: 4px;
        padding-top: 4px;
    }

    ${we}

    .match-link {
        color: ${U.CHi};
        text-decoration: none;
        z-index: 2;
        overflow: hidden;
        margin: 0 16px;
        border-radius: 6px;
    }

    .cricket-match-link {
        color: ${U.CHi};
        text-decoration: none;
        z-index: 2;
        overflow: hidden;
        margin: 0 16px 5px;
        border-radius: 6px;
    }

    .match-link a::after {
        position: absolute;
        content: "";
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
    }

    .match-link:hover,
    .match-link:${G.b} {
        background: ${U.QpD};
        border-radius: 6px;
        overflow: hidden;
    }

    .match-link.match-neutral-link:hover,
    .match-link.match-neutral-link:${G.b} {
        background: inherit;
    }

    .sports-match {
        align-items: center;
        display: flex;
        flex-direction: row;
        padding: 0 6px;
    }

    .match-netural-bg {
        border-radius: 6px;
        margin: 0 12px;
        padding: 4px;
    }

    .match-participants {
        display: flex;
        flex-direction: column;
        padding: 2px 0;
        width: 204px;
        min-width: 204px;
        gap: 4px;
    }

    .cricket-match-participants {
        display: flex;
        flex-direction: column;
        padding: 2px 0;
        width: 204px;
        min-width: 204px;
    }

    .participant {
        align-items: center;
        display: flex;
        flex-direction: row;
        height: 28px;
    }

    .participant-image {
        height: 28px;
        padding-inline-end: 8px;
        width: 28px;
    }

    .cricket-participant-image {
        height: 20px;
        padding-inline-end: 8px;
        width: 20px;
        padding-left: 4px;
    }

    .participant-image img {
        width: 100%;
    }

    .participant-name {
        flex: 1;
        font-size: ${U.cSu};
        line-height: ${U.RUt};
        overflow: hidden;
        padding-inline-end: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .score-container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .participant-score {
        font-size: ${U.cSu};
        line-height: ${U.RUt};
        overflow: hidden;
        padding-inline-end: 4px;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .participant-name.winner,
    .participant-score.winner,
    .game-time {
        font-weight: bold;
    }

    .long-score .participant-name {
        font-size: ${U.sNp};
        line-height: ${U.vgC};
        margin-left: 4px;
    }

    .long-score .participant-score {
        font-size: ${U.sNp};
        line-height: ${U.vgC};
        left: -4px;
        position: relative;
    }

    .long-score .participant-name.winner,
    .long-score .participant-score.winner {
        font-weight: 600;
    }

    .participant-winner-tag {
        padding-inline-end: 4px;
        width: 5px;
        height: 24px;
    }

    .participant-winner-tag > svg > path {
        fill: currentColor;
    }

    .participant-name.loser,
    .participant-score.loser {
        color: ${U.CHi};
    }

    .participant-name.semibold,
    .participant-score.semibold {
        font-weight: 600;
    }

    .match-details {
        font-size: ${U.sNp};
        line-height: ${U.vgC};
        width: 64px;
        color: ${U.CHi};
    }
    
    .cricket-match-details {
        font-size: ${U.sNp};
        line-height: ${U.vgC};
        width: 64px;
        color: ${U.CHi};
        height: 60px;
    }
    
    .detail-attributes {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        align-items: center;
    }

    .cricket-detail-attributes {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        align-items: center;
        margin-bottom: 40px;
    }

    .cricket-vertical-seperator {
        height: 38px;
        margin-top: 2px;
        position: relative;
        top: -18px;
        border-left: 1px solid rgb(204, 204, 204);
    }

    .cricket-detail-attributes-LargeCard {
        margin-left: 8px;
    }

    .cricket-participantOne-header {
        position: relative;
        top: 2px;
    }

    .cricket-vertical-seperator-singlecard {
        height: 38px;
        margin-top: 2px;
        position: relative;
        margin-right: 11px;
        border-left: 1px solid rgb(204, 204, 204);
    }

    .cricket-detail-attributes-singlecard {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
        align-items: center;
    }
    
    .match-extended-details {
        font-size: 12px;
        color: ${U.CHi};
        padding-left: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 400;
        line-height: 16px;
    }

    :host([uxstyle="widget"][colormode="dark"]) .match-extended-details {
        color: #FFFFFF;
    }

    .line-seperator{
        width: 249px;
        margin-top: 5px;
        margin-left: 4px;
        padding-top: 2px;
        border-right: none;
        border-bottom: none;
        border-left: none;
        border-image: initial;
        margin-block-end: auto;
        border-top: 1px solid rgba(102, 102, 102, 0.3);
    }

    :host([uxstyle="widget"][colormode="dark"]) .line-seperator {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .predict-the-winner-header {
        padding-bottom: 6px;
        padding-top: 6px;
        padding-left: 8px;
        display: inline-flex;
        align-items: center;
        left: 8px;
        font-family: 'Segoe UI';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
    }
    
	.team-style {
        padding-left: 142px;
        padding-right: 5px;
        width: 20px;
        height: 20px;
        display: inline-flex;
    }
    
	.sports-team-image-style {
        width: 9%;
    }
	
	.vote-percent-style {
        padding-right: 5px;
        padding-left: 4px;
    }

    .game-clock,
    .game-state,
    .game-date,
    .game-time,
    .game-tv-channel {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        color: ${U.CHi};
        font-size: 12px;
    }

    .inprogress-game .game-clock {
        color: #cc0000;
        font-weight: bold;
    }

    .cricket-detail-attributes.post-game {
        margin-left: 8px;
    }

    .cricket-detail-attributes.inprogress-game{
        margin-left: 8px;
    }

    .winner-tag {
        padding-inline-end: 4px;
        width: 5px;
        height: 24px;
        position: relative;
        left: -4px;
    }

    .winner-tag > svg > path {
        fill: currentColor;
    }

    :host([colormode="dark"]) .line-seperator {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    :host([colormode="dark"]) .match-extended-details {
        color: #FFFFFF
    }
    :host([colormode="dark"]) .cricket-vertical-seperator {
        border-left: 1px solid rgb(255, 255, 255);
    }
`.withBehaviors(new N.O(Wa,ja),(0,R.vF)(H.i`
                :host { 
                    forced-color-adjust: auto;
                }
                @media screen and (-ms-high-contrast: active) {
                    .inprogress-game {
                        color: ${ve.H.LinkText}
                    }
                }
            `));var Va=a(38965);const qa="default",Ja="redesign",Za="superappDefault",Xa="superappCarouselCard",Ya="superappListCard",Ka="topStories",Qa="noBackPlate",ti="noPaddingTeamButton",ei="noBackPlateHoverNoPadding";class ai extends _t.H{constructor(){super(...arguments),this.reactionMenuPositionFixed=!0,this.myReaction=null,this.reactionMenuCloseTimer=null,this.reactionMenuOpenTimer=null,this.hoverOnReaction=!1,this.hoverOnSelect=!1,this.tabOnReaction=!1,this.shouldLabelRenderBelow=!1,this.accessReactionPanelFocus=!1,this.shouldShowPickTheWinnerButton=!1,this.pickTheWinnerButtonShowWhenHover=!1,this.enablePickTheWinnerButton=!1,this.hideOptionsMenu=!1,this.showPickTheWinnerButton=!0,this.reactionMenuVisible=!1,this.showAccessibilityButton=!1,this.enableFilledIconOnHover=!1,this.reactionsBreakdownDialogEnabled=!1,this.theme=qa,this.isBlockedReactions=()=>this.renderInfo&&this.renderInfo.reactionRenderInfo&&!this.renderInfo.reactionRenderInfo.renderStatus,this.shouldHideReactions=()=>this.hideOptionsMenu||this.pickTheWinnerData&&this.pickTheWinnerData.pickOptedOut,this.onReactionClickHandler=(t,e,a)=>{this.onReactionClick(t,e,a)},this.onReactionClick=(t,e,a)=>(0,u.mG)(this,void 0,void 0,(function*(){this.hideReactionMenu(),a&&!a.isTrusted&&this.reactionPanelAccessButton&&setTimeout((()=>{this.reactionPanelAccessButton.focus()}),75);const i=e.PollId,r=e.Options[t].OptionId;yield g.d.postActionRecordPollRequest(r,i).then((t=>{t?(this.myReaction=r,this.matchData.pollResponsePayload.Options.Option1.OptionId==r?this.matchData.pollResponsePayload.Options.Option1.IsUserVoted="true":this.matchData.pollResponsePayload.Options.Option2.IsUserVoted="true"):this.myReaction=null}))})),this.reactionMenuTriggerMouseEnterHandler=(t,e=!0)=>{this.triggerShowReactionMenu(e)},this.showReactionMenu=()=>{this.reactionMenuVisible||(this.reactionMenuPositionFixed=!1,this.shouldLabelRenderBelow=!1,this.watchReactionMenu(),setTimeout((()=>{const t=this.shadowRoot.querySelector(".reaction-menu-container");t&&(this.shouldLabelRenderBelow=function(t,e){if(!t)return;const a=t.getBoundingClientRect(),i=e.elementFromPoint(a.left+32,a.top-19);return i!==t&&!t.contains(i)}(t,this.shadowRoot))}),50),this.$emit("show-menu"),this.reactionMenuVisible=!0)},this.triggerMoveLabel=t=>{const e=this.teamButtons.filter((t=>"BUTTON"==t.nodeName));e[t]&&function(t,e){if(!t)return;if(!Fa(e))return;const a=t.getBoundingClientRect(),i=e.getBoundingClientRect(),r=Fa(e).getBoundingClientRect(),s=a.left-i.left,n=a.right-i.right;if(r.left>a.left||r.right<a.right){const e=(s<0?s:0)+(n>0?n:0);if(0==Math.round(e))return;t.style.transform=`translateX(${-e}px)`}}(e[t].getElementsByClassName("emoji-label")[0],this.teamMenu)},this.emojiFocused=t=>{this.focusedEmojiKey=t},this.handleHoverOnReaction=(t=!0)=>{this.pickTheWinnerButtonShowWhenHover&&(this.enableFilledIconOnHover&&t&&(this.shouldShowPickTheWinnerButton=!0),this.hoverOnReaction=t,this.updateState())},this.handleHoverOnSelect=(t=!0)=>{this.hoverOnSelect=t},this.triggerShowReactionMenu=(t=!1)=>{this.reactionMenuCloseTimer&&clearTimeout(this.reactionMenuCloseTimer),t?this.reactionMenuOpenTimer=setTimeout((()=>this.showReactionMenu()),450):this.showReactionMenu()},this.hideReactionMenu=(t=!1)=>{this.emojiFocused(null),this.reactionMenuOpenTimer&&clearTimeout(this.reactionMenuOpenTimer),t?this.reactionMenuCloseTimer=setTimeout((()=>this.reactionMenuVisible=!1),200):this.reactionMenuVisible=!1}}enablePickTheWinnerButtonChanged(){this.updateState()}overwriteShowLikeButtonChanged(){this.updateState()}updateState(){this.pickTheWinnerData&&(this.myReaction=this.pickTheWinnerData.myPickWinnerId,this.showPickTheWinnerButton=!0)}getMatchData(){return this.matchData}watchReactionMenu(t=20){if(!this.reactionMenuPositionFixed)if(this.teamMenu)this.reactionMenuPositionFixed=!0,function(t){if(!t)return;const e=t.getBoundingClientRect();if(!Fa(t))return void t.setAttribute("data-show","true");const a=Fa(t).getBoundingClientRect();if(a.width>=e.width&&a.height>=e.height){const i=e.left-a.left,r=e.right-a.right,s=(i<0?i:0)+(r>0?r:0);t.style.transform=`translateX(${-s}px)`}t.setAttribute("data-show","true"),t.style.marginLeft="155px"}(this.teamMenu);else{if(t<1)return;setTimeout((()=>this.watchReactionMenu(--t)),25)}}connectedCallback(){var t,e;super.connectedCallback(),this.parentComponent=Oa(ai.parentTags,this),this.parentComponent||(this.parentComponent=this),null===(t=this.parentComponent)||void 0===t||t.addEventListener("mouseenter",this.handleSocialMouseEnter),null===(e=this.parentComponent)||void 0===e||e.addEventListener("mouseleave",this.handleSocialMouseLeave)}disconnectedCallback(){var t,e;super.disconnectedCallback(),null===(t=this.parentComponent)||void 0===t||t.removeEventListener("mouseenter",this.handleSocialMouseEnter),null===(e=this.parentComponent)||void 0===e||e.removeEventListener("mouseleave",this.handleSocialMouseLeave)}hideLikeAndAccess(){this.shouldShowPickTheWinnerButton=!1,this.showAccessibilityButton=!1,this.tabOnReaction=!1,this.updateState()}showLikeButtonHideAccess(){this.shouldShowPickTheWinnerButton=!0,this.showAccessibilityButton=!1,this.updateState()}handleSocialMouseEnter(){null==this||this.showLikeButtonHideAccess()}handleSocialMouseLeave(){null==this||this.hideLikeAndAccess()}}ai.parentFunctionMap=new Map,ai.parentTags=["MSFT-INFO-PANE-SLIDE","MSFT-CONTENT-CARD","MSFT-ARTICLE-CARD","MSFT-ARTICLE"],(0,u.gn)([F.LO],ai.prototype,"matchData",void 0),(0,u.gn)([F.LO],ai.prototype,"pickTheWinnerData",void 0),(0,u.gn)([F.LO],ai.prototype,"renderInfo",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"reactionMenuPositionFixed",void 0),(0,u.gn)([L.Lj],ai.prototype,"myReaction",void 0),(0,u.gn)([L.Lj],ai.prototype,"reactionMenuCloseTimer",void 0),(0,u.gn)([L.Lj],ai.prototype,"reactionMenuOpenTimer",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"hoverOnReaction",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"hoverOnSelect",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"tabOnReaction",void 0),(0,u.gn)([L.Lj],ai.prototype,"focusedEmojiKey",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"shouldLabelRenderBelow",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"accessReactionPanelFocus",void 0),(0,u.gn)([F.LO],ai.prototype,"teamButtons",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"pickTheWinnerButtonShowWhenHover",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"enablePickTheWinnerButton",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"hideOptionsMenu",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"showPickTheWinnerButton",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"reactionMenuVisible",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"showAccessibilityButton",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"enableFilledIconOnHover",void 0),(0,u.gn)([(0,L.Lj)({mode:"boolean"})],ai.prototype,"reactionsBreakdownDialogEnabled",void 0),(0,u.gn)([L.Lj],ai.prototype,"theme",void 0);const ii="0px 3.2px 7.2px rgba(0, 0, 0, 0.13), 0px 0.6px 1.8px rgba(0, 0, 0, 0.1)",ri=H.i`
    .predict-the-winner-header {
        color: #FFFFFF;
    }
    .button-bg > svg > path {
        fill: white;
    }
    .button-bg > svg > circle {
        fill: #111111;
    }
    .vote-percent-style {
        color: #FFFFFF;
    }
`,si=(0,R.Uu)(ri),ni=H.i`
    .pickthewinner-bar-root {
        padding-left: 5px;
    }
    .pick-button, 
    .team-emoji-button {
        margin-left: -200px;
    }
    .icon-label {
        padding-left: 5px;
    }
    .icon-label.has-plus {
        padding-right: 5px;
    }
    .team-menu-container {
        margin-left: 20px;
    }
    .teams-count-tool-tip-container {
        left: -8px;
    }
    .width-transition-enter {
        margin-left: 0;
    }
    .cwt-icon-vector +.cwt-icon-vector + .icon-label {
        padding-left: 2px;
    }
    .button-bg:first-of-type {
        border-top-left-radius: var(--pickthewinner-button-radius, 4px);
        border-bottom-left-radius: var(--pickthewinner-button-radius, 4px);
    }
    .button-bg-last-of-type {
        border-top-right-radius: var(--pickthewinner-button-radius, 4px);
        border-bottom-right-radius: var(--pickthewinner-button-radius, 4px);
    }

    .button-container.pick-visible{
        overflow: visible;
    }
    .button-container.active-team-visible{
        margin-left: -4px;
    }
    .teams-count-button {
        margin-right: 4px;
    }
    /* THEME: NO PADDING team BUTTON */
    .pickthewinner-bar.${ti} .team-menu-container {
        left: -12px;
    },
    
    /* THEME: SUPERAPP ListCard / CarouselCard */
    .pickthewinner-bar.${Xa} .button-container.pick-visible ~ .teams-count-button:before,
    .pickthewinner-bar.${Ya} .button-container.pick-visible ~ .teams-count-button:before {
        margin-left: -10px;
    }

    /* THEME: TOP STORIES */
    .pickthewinner-bar.${Ka} .teams-count-button:last-child {
        margin-right: 0;
        padding-right: 4px;
    }
    .pickthewinner-bar.${Ka} .button-container.active-team-visible ~ .teams-count-button {
        margin-left: 14px;
    }
`,oi=H.i`
    .pickthewinner-bar-root {
        padding-right: 5px;
    }
    .pick-button, 
    .team-emoji-button {
        margin-right: -200px;
    }
    .icon-label {
        padding-right: 5px;
    }
    .icon-label.has-plus {
        padding-left: 5px;
    }
    .team-menu-container {
        right: 0;
    }
    .teams-count-tool-tip-container {
        right: -8px;
    }
    .width-transition-enter {
        margin-right: 0;
    }
    .cwt-icon-vector +.cwt-icon-vector + .icon-label {
        padding-right: 2px;
    }
    .button-bg:first-of-type {
        border-top-right-radius: var(--pickthewinner-button-radius, 4px);
        border-bottom-right-radius: var(--pickthewinner-button-radius, 4px);
    }
    .button-bg-last-of-type {
        border-top-left-radius: var(--pickthewinner-button-radius, 4px);
        border-bottom-left-radius: var(--pickthewinner-button-radius, 4px);
    }

    .button-container.pick-visible{
        margin-left: 220px;
        overflow: visible;
    }
    .button-container.active-team-visible{
        margin-right: -4px;
    }
    .teams-count-button {
        margin-left: 4px;
    }
    /* THEME: NO PADDING team BUTTON */
    .pickthewinner-bar.${ti} .team-menu-container {
        right: -12px;
    }

    /* THEME: SUPERAPP ListCard / CarouselCard */
    .pickthewinner-bar.${Xa} .button-container.pick-visible ~ .teams-count-button:before,
    .pickthewinner-bar.${Ya} .button-container.pick-visible ~ .teams-count-button:before {
        margin-right: -10px;
    }

    /* THEME: TOP STORIES */
    .pickthewinner-bar.${Ka} .teams-count-button:last-child {
        margin-left: 0;
        padding-left: 4px;
    }
    .pickthewinner-bar.${Ka} .button-container.active-team-visible ~ .teams-count-button {
        margin-right: 14px;
    }
`,li="28px",di=1e3,ci=H.i`
    .pickthewinner-bar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        font-family: "Segoe UI Bold", "Segoe WP Bold", "Segoe WP", "Segoe UI", Arial, Sans-Serif;
    }
    .pickthewinner-bar *:focus-visible {
        outline: 2px solid ${U.CHi};
        z-index: 2;
    }
    .button-container {
        display: inline-flex;
        overflow: hidden;
        padding: 4px;
        margin: -4px;
        transition: all .2s;
    }
    .button-bg {
        background: none;
    }
    
    .no-mr, .icon-button.no-mr {
        margin: 0;
    }
    .icon-button {
        font-weight: normal;
        cursor: pointer;
        margin: 0;
        border: none;
        outline: none;
        display: flex;
        align-items: flex-start;
        height: ${"24px"};
        font-size: 16px;
        padding: ${"8px 8px 0"};
        box-sizing: border-box;
        text-decoration: none;
        transition: all .2s;
        border-radius: var(--pickthewinner-button-radius, 4px);
    }
    .icon-label {
        white-space: nowrap;
        font-size: 12px;   
        font-family: "Segoe UI Bold", "Segoe WP Bold", "Segoe WP", "Segoe UI", Arial, Sans-Serif;
        line-height: 1.4;
    }
    a.icon-button .icon-label {
        text-decoration: none;
        line-height: 1.4;
    }
    .pick-button {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        opacity: 0;
        transition: all .2s;
    }
    .active-team-button {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        font-weight: 600;
    }
    .cwt-icon-vector {
        font-size: inherit;
        width: 16px;
        color: inherit;
        margin: 0;
    }
    .pick-button {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        opacity: 0;
        transition: all .2s;
    }
    .teams-count-button {
        padding-right: 0;
        padding-left: 0;
        position: relative;
    }
    
    .predict-the-winner-header {
        padding-bottom: 8px;
        padding-left: 8px;
        display: inline-flex;
        align-items: center;
        left: 8px;
        font-family: 'Segoe UI';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
    }

    :host([uxstyle="widget"][colormode="dark"]) .predict-the-winner-header {
        color: #FFFFFF;
    }

    :host([uxstyle="widget"][colormode="dark"]) .button-bg > svg > path {
        fill: white;
    }

    :host([uxstyle="widget"][colormode="dark"]) .button-bg > svg > circle {
        fill: #111111;
    }

    :host([uxstyle="widget"][colormode="dark"]) .vote-percent-style {
        color: #FFFFFF;
    }
    
	.team-style {
        padding-left: 142px;
        padding-right: 5px;
        width: 20px;
        height: 20px;
        display: inline-flex;
    }
    
	.sports-team-image-style {
        width: 9%;
    }
	
	.vote-percent-style {
        padding-right: 5px;
        padding-left: 4px;
    }
    
    .team-menu-container {
        position: absolute;
        top: -30px;
        z-index: ${999..toString()}; 
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin-left: 380px;
        padding: 1px 13px 0;
        height: calc(${li} + 5px);
        background: ${U.RJY};
        border-radius: ${li};
        -webkit-box-shadow: ${ii};
        -moz-box-shadow: ${ii};
        box-shadow: ${ii};
        opacity: 0;
    }
    .team-menu-emoji-button {
        cursor: pointer;
        background: none;
        border: none;
        outline: none;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(${li} + 8px);
        margin: 0 0;
        padding: 4px 5px;
        font-size: ${li};
        transition: ease .2s; 
    }
    
    .team-menu-emoji-button > .emoji-icon{
        transition: ease .2s; 
    }
    .team-menu-emoji-button[data-faded] {
        opacity: .4;
    }
    .team-menu-emoji-button:hover {
        opacity: 1;
    }
    .team-menu-container[data-show] {
        opacity: 1;
    }
    @keyframes teamMenuFadeInOpacity {
        0% {
            opacity: 0;
            top: -47px;
        }
        100% {
            opacity: 1;
            top: -49px;
        }
    }
    .emoji-label {
        position: absolute;
        z-index: ${di.toString()};
        top: -28px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        height: 18px;
        padding: 0 8px 1px;
        font-size: 12px;
        background: ${U.CHi};
        color: ${U.RJY};
        border-radius: 11px;
        opacity: 0;
    }

    .emoji-label-bottom {
        top: 45px;
        pointer-events: none;
    }

    .team-menu-emoji-button:hover .emoji-label,
    .team-menu-emoji-button:focus .emoji-label,
    .team-menu-emoji-button.touchFocused .emoji-label{
        opacity: 1;
    }
    .team-menu-emoji-button:hover .emoji-icon,
    .team-menu-emoji-button.touchFocused .emoji-icon{
        transform: scale(1.285) translateY(-4px);
    }
    .width-transition-enter {
        opacity: 1;
    }
    .width-transition-enter > * {
        opacity: 1;
    }
    .no-select {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }
    .pickthewinner-bar:not(.accessibility-visible) .button-container .button-bg.accessibility-button {
        display: none;
        margin: 0;
        padding: 0;
        width: 0;
        overflow: hidden;
    }
    .pickthewinner-bar.accessibility-visible .button-container .button-bg.accessibility-visible {
        height: 32px;
        padding: 2px 5px 0;
        margin: 0 1px;
        color: ${U.CHi};
        fill: ${U.CHi};
        border: none;
        align-items: center;
        width: auto;
    }
    .pickthewinner-bar.accessibility-visible .button-bg.accessibility-visible {
        margin-top: 2px;
        padding: 4px;
        height: 24px;
    }
    .cwt-hide {
        display: none;
    }

    .teams-count-tool-tip-container {
        pointer-events: none;
        position: absolute;
        bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        z-index: ${999..toString()};
        padding: 6px 8px;        
        background: ${U.RJY};
        -webkit-box-shadow: ${ii};
        -moz-box-shadow: ${ii};
        box-shadow: ${ii};
    }
    .teams-count-tool-tip-emoji-button {
        display: flex;
        align-items: center;
        font-size: 12px;
        color: ${U.CHi};
    }
    .teams-count-tool-tip-emoji-button > .emoji-icon: {
        transition: "none";
    }
    .tool-tip-icon-count {
        font-size: 12px;
        margin: 4px 4px;
    }

    /* Top-Stories *****/
    .pickthewinner-bar.no-select.${Ka} {
        background-color: ${U.QpD};
    }

    /* THEMES *****/
    .pickthewinner-bar.${qa}{}

    /* THEME: REDESIGN */
    .pickthewinner-bar.${Ja} .button-bg{
        --pickthewinner-button-radius: 64px;
        color: unset;
        background-color: ${U.QpD};
        padding-right: 16px;
        padding-left: 16px;
    }

    .pickthewinner-bar.${Ja} .team-emoji-button {
        padding: 8px 6px;
        align-items: center;
    }

    .pickthewinner-bar.${Ja} {
        --pickthewinner-button-radius: 64px;
    }
    
    /* THEME: NO BACKPLATE ON REST*/
    .pickthewinner-bar.${Qa} {
        --pickthewinner-button-radius: 64px;
    }
    .pickthewinner-bar.${Qa} .button-bg {
        --pickthewinner-button-radius: 64px;
        color: unset;
        padding-right: 16px;
        padding-left: 16px;
    }

    /* THEME: NO BACKPLATE ON HOVER + NO PADDING team BUTTON */
    .pickthewinner-bar.${ei} .button-bg, 
    .pickthewinner-bar.${ei} .button-bg:hover, 
    .pickthewinner-bar.${ei}{
        background-color: transparent;
    }

    .pickthewinner-bar.${ei} .button-bg.pick-button, 
    .pickthewinner-bar.${ei} .button-bg.pick-button:hover,
    .pickthewinner-bar.${ei} .button-bg.active-team-button, 
    .pickthewinner-bar.${ei} .button-bg.active-team-button:hover {
        margin-inline-start: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .pickthewinner-bar.${ei} .button-bg.team-emoji-button, 
    .pickthewinner-bar.${ei} .button-bg.team-emoji-button:hover {
        margin-inline-start: -8px;
        margin-inline-end: 4px;
        padding-top: 6px;
    }

    .pickthewinner-bar.${ei} .button-container {
        overflow: visible;
        margin-inline-end: 0;
        padding-inline-end: 0;
    }

    /* THEME: NO PADDING team BUTTON */
    .pickthewinner-bar.${ti} .button-bg, 
    .pickthewinner-bar.${ti} .button-bg:hover, 
    .pickthewinner-bar.${ti}{
        --pickthewinner-button-radius: 64px;
    }

    .pickthewinner-bar.${ti} .button-bg.pick-button, 
    .pickthewinner-bar.${ti} .button-bg.pick-button:hover,
    .pickthewinner-bar.${ti} .button-bg.active-team-button, 
    .pickthewinner-bar.${ti} .button-bg.active-team-button:hover {
        padding-right: 12px;
        padding-left: 12px;
        margin-inline-start: -12px;
    }

    .pickthewinner-bar.${ti} .button-bg.team-emoji-button, 
    .pickthewinner-bar.${ti} .button-bg.team-emoji-button:hover {
        margin-inline-start: -10px;
    }

    .pickthewinner-bar.${ti} .button-container {
        overflow: visible;
    }

    /* THEME: SUPERAPP ARTICLE CARD */
    .pickthewinner-bar.${Za} .button-bg{
        --pickthewinner-button-radius: 64px;
        color: unset;
        background-color: ${U.QpD};
        padding-right: 16px;
        padding-left: 16px;
    }

    .pickthewinner-bar.${Za} .team-emoji-button {
        padding: 8px 6px;
        align-items: center;
    }

    /* THEME: SUPERAPP ListCard / CarouselCard */
    .pickthewinner-bar.${Xa} *:focus-visible,
    .pickthewinner-bar.${Ya} *:focus-visible {
        outline: none;
    }
    .pickthewinner-bar.${Xa} .button-bg,
    .pickthewinner-bar.${Ya} .button-bg {
        background: none;
        padding-left: unset;
        padding-right: unset;
    }
    .pickthewinner-bar.${Xa} .button-container.pick-visible ~ .teams-count-button:before,
    .pickthewinner-bar.${Ya} .button-container.pick-visible ~ .teams-count-button:before {
        content: "|";
        display: inline-block;
        margin-top: -1px;
        padding: 0 10px;
        font-size: 12px;
        color: ${U.CHi};
        opacity: .8;
    }
    .pickthewinner-bar.${Xa} .button-container .button-bg:not,
    .pickthewinner-bar.${Ya} .button-container .button-bg:not {
        background: none;
        padding-left: 0;
        padding-right: 0;
    }
`.withBehaviors(new N.O(ni,oi),(0,R.vF)(H.i`
            :host: 
                forced-color-adjust: auto;
            }
        `),si);var pi=a(81422);const hi=O.d`<svg width="26" height="26" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.9996 5C14.6611 5 15.2058 5.52514 15.2767 6.20026L16.0007 6.2C16.5249 6.2 16.955 6.62427 16.9967 7.16388L17 7.25V9.05C17 10.0898 16.2254 10.9395 15.2494 10.9969L15.1293 11.0004C14.7479 12.2545 13.7026 13.1969 12.4276 13.371L12.4273 14.3H13.4286C14.4182 14.3 15.227 15.1139 15.2816 16.1394L15.2845 16.25V16.55C15.2845 16.7778 15.1234 16.9661 14.9144 16.9959L14.8562 17H9.14399C8.92716 17 8.74797 16.8307 8.71961 16.6111L8.7157 16.55V16.25C8.7157 15.2102 9.49031 14.3605 10.4663 14.3031L10.5716 14.3H11.5707L11.5709 13.3708C10.2967 13.1961 9.2521 12.254 8.87091 11.0004L8.85591 11C7.83092 11 7 10.1269 7 9.05V7.25C7 6.6701 7.44742 6.2 7.99934 6.2L8.72352 6.20026C8.79442 5.52514 9.33912 5 10.0006 5H13.9996ZM13.4286 15.2H10.5716C10.0978 15.2 9.70097 15.5465 9.59817 16.0115L9.5824 16.1H14.4178C14.3526 15.6211 13.9798 15.2464 13.5165 15.204L13.4286 15.2ZM13.9996 5.9H10.0006C9.76403 5.9 9.57227 6.10147 9.57227 6.35V9.9491C9.57227 11.3579 10.6593 12.5 12.0001 12.5C13.3409 12.5 14.4279 11.3579 14.4279 9.9491V6.35C14.4279 6.10147 14.2362 5.9 13.9996 5.9ZM16.0007 7.1H15.2845V10.0897C15.7414 10.0222 16.0991 9.6301 16.1396 9.14249L16.1434 9.05V7.25C16.1434 7.17899 16.0964 7.11951 16.0334 7.10396L16.0007 7.1ZM8.7157 7.1H7.99934C7.92049 7.1 7.85658 7.16716 7.85658 7.25V9.05C7.85658 9.5799 8.23016 10.0181 8.7157 10.0897V7.1Z" fill="#444444" fill-opacity="0.8"/>
<path d="M16.5 12C18.433 12 20 13.567 20 15.5C20 17.433 18.433 19 16.5 19C14.567 19 13 17.433 13 15.5C13 13.567 14.567 12 16.5 12ZM16.5 13.75C16.3671 13.75 16.2573 13.8488 16.2399 13.9769L16.2375 14.0125V15.2375H15.0125C14.8675 15.2375 14.75 15.355 14.75 15.5C14.75 15.6329 14.8488 15.7427 14.9769 15.7601L15.0125 15.7625H16.2375V16.9875C16.2375 17.1325 16.355 17.25 16.5 17.25C16.6329 17.25 16.7427 17.1512 16.7601 17.0231L16.7625 16.9875V15.7625H17.9875C18.1325 15.7625 18.25 15.645 18.25 15.5C18.25 15.3671 18.1512 15.2573 18.0231 15.2399L17.9875 15.2375H16.7625V14.0125C16.7625 13.8675 16.645 13.75 16.5 13.75Z" fill="#666666"/>
</svg>
`,ui=O.d`<svg width="26" height="26" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="12" fill="#D6DCEA" fill-opacity="0.3"/>
<path d="M13.9996 6C14.6611 6 15.2058 6.52514 15.2767 7.20026L16.0007 7.2C16.5249 7.2 16.955 7.62427 16.9967 8.16388L17 8.25V10.05C17 11.0898 16.2254 11.9395 15.2494 11.9969L15.1293 12.0004C14.7479 13.2545 13.7026 14.1969 12.4276 14.371L12.4273 15.3H13.4286C14.4182 15.3 15.227 16.1139 15.2816 17.1394L15.2845 17.25V17.55C15.2845 17.7778 15.1234 17.9661 14.9144 17.9959L14.8562 18H9.14399C8.92716 18 8.74797 17.8307 8.71961 17.6111L8.7157 17.55V17.25C8.7157 16.2102 9.49031 15.3605 10.4663 15.3031L10.5716 15.3H11.5707L11.5709 14.3708C10.2967 14.1961 9.2521 13.254 8.87091 12.0004L8.85591 12C7.83092 12 7 11.1269 7 10.05V8.25C7 7.6701 7.44742 7.2 7.99934 7.2L8.72352 7.20026C8.79442 6.52514 9.33912 6 10.0006 6H13.9996ZM13.4286 16.2H10.5716C10.0978 16.2 9.70097 16.5465 9.59817 17.0115L9.5824 17.1H14.4178C14.3526 16.6211 13.9798 16.2464 13.5165 16.204L13.4286 16.2ZM13.9996 6.9H10.0006C9.76403 6.9 9.57227 7.10147 9.57227 7.35V10.9491C9.57227 12.3579 10.6593 13.5 12.0001 13.5C13.3409 13.5 14.4279 12.3579 14.4279 10.9491V7.35C14.4279 7.10147 14.2362 6.9 13.9996 6.9ZM16.0007 8.1H15.2845V11.0897C15.7414 11.0222 16.0991 10.6301 16.1396 10.1425L16.1434 10.05V8.25C16.1434 8.17899 16.0964 8.11951 16.0334 8.10396L16.0007 8.1ZM8.7157 8.1H7.99934C7.92049 8.1 7.85658 8.16716 7.85658 8.25V10.05C7.85658 10.5799 8.23016 11.0181 8.7157 11.0897V8.1Z" fill="#666666" fill-opacity="0.8"/>
<path d="M16.5 13C18.433 13 20 14.567 20 16.5C20 18.433 18.433 20 16.5 20C14.567 20 13 18.433 13 16.5C13 14.567 14.567 13 16.5 13ZM16.5 14.75C16.3671 14.75 16.2573 14.8488 16.2399 14.9769L16.2375 15.0125V16.2375H15.0125C14.8675 16.2375 14.75 16.355 14.75 16.5C14.75 16.6329 14.8488 16.7427 14.9769 16.7601L15.0125 16.7625H16.2375V17.9875C16.2375 18.1325 16.355 18.25 16.5 18.25C16.6329 18.25 16.7427 18.1512 16.7601 18.0231L16.7625 17.9875V16.7625H17.9875C18.1325 16.7625 18.25 16.645 18.25 16.5C18.25 16.3671 18.1512 16.2573 18.0231 16.2399L17.9875 16.2375H16.7625V15.0125C16.7625 14.8675 16.645 14.75 16.5 14.75Z" fill="#666666"/>
</svg>
`;function gi(t,e){let a=0,i=0;Object.entries(e.Options).forEach((([r,s])=>{a+=Number(e.Options[r].VoteCount),t===e.Options[r].OptionId&&(i=Number(e.Options[r].VoteCount))}));return parseFloat((i/a*100).toString()).toFixed(1)}const mi=O.d`
    <span style="height: 20px; padding-top: 6px; padding-bottom: 6px;">
        <pickthewinner-tag 
            :pickTheWinnerData=${{}}
            :showPickTheWinnerButton=${!0}
            :enablePickTheWinnerButton=${!0}
            :enableFilledIconOnHover=${!0}
            :matchData=${t=>t}
        />
    </span>
`,vi=O.d`
    <div class="predict-the-winner-header">${"Predicted"} <div class="team-style">${t=>"true"==t.pollResponsePayload.Options.Option1.IsUserVoted?Ci(t.pollResponsePayload.Options.Option1.ImageURL,26,26,"sports-team-image-style"):Ci(t.pollResponsePayload.Options.Option2.ImageURL,26,26,"sports-team-image-style")}
    <div class="vote-percent-style">${t=>"true"==t.pollResponsePayload.Options.Option1.IsUserVoted?gi(t.pollResponsePayload.Options.Option1.OptionId,t.pollResponsePayload):gi(t.pollResponsePayload.Options.Option2.OptionId,t.pollResponsePayload)}%</div></div></div>
`,fi=O.d`
    <div class="predict-the-winner-header">${"No prediction by you"}</div>
`,yi=O.d`
    <div class="predict-the-winner-header">${"Prediction correct"}</div>
`,wi=O.d`
    <div class="predict-the-winner-header">${"Prediction incorrect"}</div>
`,bi=O.d`
    ${(0,J.g)((t=>"false"==t.pollResponsePayload.Options.Option1.IsUserVoted&&"false"==t.pollResponsePayload.Options.Option2.IsUserVoted),mi)}
    ${(0,J.g)((t=>"true"==t.pollResponsePayload.Options.Option1.IsUserVoted||"true"==t.pollResponsePayload.Options.Option2.IsUserVoted),vi)}
`,Si=O.d`
    ${(0,J.g)((t=>"false"==t.pollResponsePayload.Options.Option1.IsUserVoted&&"false"==t.pollResponsePayload.Options.Option2.IsUserVoted),fi)}
    ${(0,J.g)((t=>t.gameStateCatetory!=m.w_.postGame&&("true"==t.pollResponsePayload.Options.Option1.IsUserVoted||"true"==t.pollResponsePayload.Options.Option2.IsUserVoted)),vi)}
    ${(0,J.g)((t=>t.gameStateCatetory==m.w_.postGame&&("true"==t.pollResponsePayload.Options.Option1.IsUserVoted&&t.participantOne.isWinner||"true"==t.pollResponsePayload.Options.Option2.IsUserVoted&&t.participantTwo.isWinner)),yi)}
    ${(0,J.g)((t=>t.gameStateCatetory==m.w_.postGame&&("true"==t.pollResponsePayload.Options.Option1.IsUserVoted&&!t.participantOne.isWinner||"true"==t.pollResponsePayload.Options.Option2.IsUserVoted&&!t.participantTwo.isWinner)),wi)}
`,xi=O.d`
    <hr class="line-seperator">
    ${(0,J.g)((t=>t.gameStateCatetory==m.w_.preGame),bi)}
    ${(0,J.g)((t=>t.gameStateCatetory!=m.w_.preGame),Si)}
`;function Ci(t,e=40,a=40,i){return O.d`<img className=${i} role="presentation" src=${(0,ft.Sb)(t,e,a)}></img>`}const $i=O.d`
<div class="predict-the-winner-header">${"Predict the winner"}
    <span class="button-container" ${t=>t.showPickTheWinnerButton?"pick-visible":""}" part="pick-button-container" )}>
        <button
            part="button-bg"
            style="margin-left:120px; margin-bottom:14px;"
            tab-index=0
            title=""
            aria-pressed="false"
            aria-label="${t=>"reaction"}"
            class="icon-button button-bg"
            @click=${(t,e)=>t.enablePickTheWinnerButton?t.triggerShowReactionMenu():t.onReactionClickHandler("click","",e.event)}
            @mouseenter=${(t,e)=>{e.event&&t.reactionMenuTriggerMouseEnterHandler(e.event.currentTarget),t.handleHoverOnSelect()}}
            @mouseleave=${(t,e)=>{t.hideReactionMenu(!0),t.handleHoverOnSelect(!1)}}
            data-customhandled="1"
        >
            ${t=>t.hoverOnSelect?ui:hi}
            ${(0,J.g)((t=>!t.enablePickTheWinnerButton),O.d`<span class="icon-label"></span>`)}
        </button>
    </span>
    </div>
`,ki=O.d` 
${(0,Z.rx)(((t,e)=>Object.keys(t.getMatchData().pollResponsePayload.Options).filter((e=>{var a,i,r;return!(null===(r=null===(i=null===(a=t.renderInfo)||void 0===a?void 0:a.reactionRenderInfo)||void 0===i?void 0:i.blockedReactions)||void 0===r?void 0:r.includes(e))}))),O.d`<button
                title=""
                tab-index=0
                aria-pressed="${(t,e)=>e.parent.myReaction==t}"
                class="team-menu-emoji-button accessibility-outline"
                @click=${(t,e)=>e.parent.onReactionClick(t,e.parent.getMatchData().pollResponsePayload,null==e?void 0:e.event)}
                @mouseenter=${(t,e)=>{document.activeElement.blur(),e.parent.triggerMoveLabel(e.index),e.parent.emojiFocused(t)}}
                @mouseleave=${(t,e)=>{e.parent.emojiFocused(null)}}
                data-faded="${(t,e)=>e.parent.focusedEmojiKey&&e.parent.focusedEmojiKey!=t}"
            >
                ${(t,e)=>function(t,e){const a=e[t].ImageURL;return O.d`<img className="emoji-icon" role="presentation" src=${a}></img>`}(t,e.parent.getMatchData().pollResponsePayload.Options)}
            </button>`,{positioning:!0})}
        </div>
`,Ti=O.d`<div ${(0,Bt.i)("teamMenu")} ${(0,pi.p)("teamButtons")}
        part="team-menu-container"
        class="team-menu-container"
        title = ""
        @mouseenter=${(t,e)=>t.triggerShowReactionMenu()}
        @mouseleave=${(t,e)=>t.hideReactionMenu(!0)}
        role="toolbar"
    >
    ${ki}
`,Di=O.d`
    <div class="predict-the-winner-header">Predicted <div class="team-style">${t=>"true"==t.getMatchData().pollResponsePayload.Options.Option1.IsUserVoted||t.myReaction==t.getMatchData().pollResponsePayload.Options.Option1.OptionId?Ci(t.getMatchData().pollResponsePayload.Options.Option1.ImageURL,26,26,"sports-team-image-style"):Ci(t.getMatchData().pollResponsePayload.Options.Option2.ImageURL,26,26,"sports-team-image-style")}
    <div class="vote-percent-style">${t=>"true"==t.getMatchData().pollResponsePayload.Options.Option1.IsUserVoted||t.myReaction==t.getMatchData().pollResponsePayload.Options.Option1.OptionId?gi(t.getMatchData().pollResponsePayload.Options.Option1.OptionId,t.getMatchData().pollResponsePayload):gi(t.getMatchData().pollResponsePayload.Options.Option2.OptionId,t.getMatchData().pollResponsePayload)}%</div></div></div>
`,Mi=O.d`<div
        class="pickthewinner-bar no-select ${t=>t.showAccessibilityButton?"accessibility-visible":""} ${t=>t.theme||""}"
        part="pickthewinner-bar"
        style="width:300px; height: 20px; padding-top:6px; padding-bottom: 6px;"
        @mouseenter=${(t,e)=>t.handleHoverOnReaction()}
        @mouseleave=${(t,e)=>t.handleHoverOnReaction(!1)}
    >
        ${(0,J.g)((t=>!t.shouldHideReactions()&&!t.isBlockedReactions()&&!t.myReaction),$i)}
        ${(0,J.g)((t=>!t.shouldHideReactions()&&!t.isBlockedReactions()&&t.reactionMenuVisible&&!t.myReaction),Ti)}
        ${(0,J.g)((t=>!t.shouldHideReactions()&&!t.isBlockedReactions()&&t.myReaction),Di)}
    </div>
`;let Ii=class extends ai{};Ii=(0,u.gn)([(0,_t.M)({name:"pickthewinner-tag",template:Mi,styles:ci,shadowOptions:{delegatesFocus:!0}})],Ii);const Li=(t,e)=>t?e?"cricket-detail-attributes":"cricket-detail-attributes-singlecard":"detail-attributes",Fi=O.d`
    <div class="${(t,e)=>e.parent.getVerticalSeperatorStyleClassName()}"></div>
`,Oi=(t,e,a,i,r,s)=>O.d`
    <div class="participant ${(t,e)=>(0,ft.wj)(e.parent.cardData.dataType)?"cricket-participantOne-header":""}">
        ${(0,J.g)((e=>t&&!(0,X.TF)(t)),O.d`
        <div class="${(t,e)=>(0,ft.wj)(e.parent.cardData.dataType)?"cricket-participant-image":"participant-image"}" >
            <img role="presentation"
                src="${t}"
            />
        </div>`)}
        <div class="participant-name ${(t,e)=>e.parent.getParticipantNameClass(a,i)}">
            ${t=>r}
        </div>
        <div class="score-container">
        ${(0,J.g)((t=>i!=m.w_.preGame),O.d`
            <div class="participant-score ${(t,e)=>e.parent.getParticipantNameClass(a,i)}">
                ${(t,e)=>e.parent.computeScore(s+"")}
            </div>
            <div class="winner-tag">
            ${(0,J.g)((t=>1==a&&i==m.w_.postGame),O.d`
                ${Zt.Z}
            `)}
            </div>
        `)}
        </div>
    </div>
`,Pi=O.d`
    <a class="${(t,e)=>e.parent.getMatchClassName()}"
        href=${t=>t.matchClickthroughUrl?t.matchClickthroughUrl:void 0}
        target=${(t,e)=>e.parent.linkTarget}
        data-t="${(t,e)=>e.parent.telemetryContext&&e.parent.telemetryContext.destinations&&t.matchClickthroughUrl?e.parent.telemetryContext.destinations.get(t.matchClickthroughUrl):""}"
    >
        <div class="sports-match ${(t,e)=>e.parent.getMatchClassNameByDataType()}" style="background-image: ${(t,e)=>e.parent.getMatchBackground(t)};">
            <div class="${(t,e)=>(0,ft.wj)(e.parent.cardData.dataType)?"cricket-match-participants":"match-participants"}">
                ${t=>{var e,a,i,r,s;return Oi(null===(e=t.participantOne)||void 0===e?void 0:e.imageUrl,null===(a=t.participantOne)||void 0===a||a.imageAltText,null===(i=t.participantOne)||void 0===i?void 0:i.isWinner,t.gameStateCatetory,null===(r=t.participantOne)||void 0===r?void 0:r.name,null===(s=t.participantOne)||void 0===s?void 0:s.score)}}
                ${t=>{var e,a,i,r,s;return Oi(null===(e=t.participantTwo)||void 0===e?void 0:e.imageUrl,null===(a=t.participantTwo)||void 0===a||a.imageAltText,null===(i=t.participantTwo)||void 0===i?void 0:i.isWinner,t.gameStateCatetory,null===(r=t.participantTwo)||void 0===r?void 0:r.name,null===(s=t.participantTwo)||void 0===s?void 0:s.score)}}
                ${(0,J.g)(((t,e)=>t.enablePickTheWinner&&e.parent.enabledCricketMatchSummaryInfo()),xi)}
                ${(0,J.g)(((t,e)=>!t.enablePickTheWinner&&e.parent.enabledCricketMatchSummaryInfo()&&(0,ft.wj)(e.parent.cardData.dataType)),Va.AN)}
            </div>
            ${(0,J.g)(((t,e)=>t.gameStateCatetory!=m.w_.preGame&&(0,ft.wj)(e.parent.cardData.dataType)),Fi)}
            <div class="${(t,e)=>(0,ft.wj)(e.parent.cardData.dataType)?"":"match-details"}">
                ${(0,J.g)((t=>t.gameStateCatetory&&t.gameStateCatetory==m.w_.preGame),O.d`
                    <div class="${(t,e)=>Li((0,ft.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())} pre-game">
                        <div class="game-date">
                            ${(t,e)=>e.parent.isGameToday(t.gameDate)}
                        </div>
                        <div class="game-time">
                            ${t=>t.gameStartTime}
                        </div>
                        <div class="game-channel">
                            ${t=>t.tvChannel}
                        </div>
                    </div>
                `)}
                ${(0,J.g)(((t,e)=>t.gameStateCatetory&&t.gameStateCatetory==m.w_.inprogressGame&&!(0,ft.wj)(e.parent.cardData.dataType)),O.d`
                    <div class="${(t,e)=>Li((0,ft.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())} inprogress-game">
                        <div class="game-clock">
                            ${t=>t.gamePeriodAndClock}
                        </div>
                        <div class="game-channel">
                            ${t=>t.tvChannel}
                        </div>
                    </div>
                `)}
                ${(0,J.g)((t=>t.gameStateCatetory&&t.gameStateCatetory==m.w_.postGame),O.d`
                    <div class="${(t,e)=>Li((0,ft.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())} post-game">
                        <div class="game-state">
                            ${t=>t.gameState}
                        </div>
                        <div class="game-date">
                            ${t=>t.gameDate}
                        </div>
                    </div>
                `)}
            </div>
            ${(0,J.g)(((t,e)=>(0,ft.wj)(e.parent.cardData.dataType)),Va.TJ)}
        </div>
    </a>
`,Ai=O.d`
    ${(0,J.g)((t=>t.matchData.length>0),O.d`
        <div class="match-data match-neutral">
            ${(0,Z.rx)((t=>t.matchData),Pi)}
        </div>`)}
`;class Ei extends at.Dc{constructor(){super(...arguments),this.computeScore=t=>{if(t){if("tennis"===this.cardData.dataType.toLowerCase()){const e=t.split(", "),a=/\((.*?)\)/i;let i,r="";return e.forEach((t=>{t.includes("(")?(r+=t.charAt(0),i=t.match(a),null!=i&&i.length>1&&(r+=i[1].sup()+"  ")):r+=t+"  "})),O.d` ${r.trim()} `}return t}},this.getMatchClassNameByDataType=()=>(0,ft.jY)(this.cardData.dataType)?"long-score matchup-neutral-background":"matchup-neutral-background",this.getMatchBackground=t=>{var e,a;if(!this.config.enableTeamColorStripes||!t)return"";if(!(0,at.$t)(this.cardData.dataType,this.cardData.sportType,this.cardData.leagueId,at.QU.Stacked))return"";let i=null===(e=t.participantOne)||void 0===e?void 0:e.primaryColor;i||(i="#C4C4C4");let r=null===(a=t.participantTwo)||void 0===a?void 0:a.primaryColor;r||(r="#E4E4E4");return`linear-gradient(${document.dir==La.N.rtl?"-125deg":"125deg"}, ${i} 0%, ${i} 9.75%, ${r} 10%, ${r} 14.75%, transparent 15%, transparent 100%)`},this.getParticipantNameClass=(t,e)=>1==t&&e==m.w_.postGame?"winner":0==t&&e==m.w_.postGame?"loser":e!=m.w_.postGame&&(0,at.$t)(this.cardData.dataType,this.cardData.sportType,this.cardData.leagueId,at.QU.Stacked)?"semibold":"",this.getMatchClassName=()=>(0,ft.wj)(this.cardData.dataType)?"cricket-match-link match-neutral-link":"match-link match-neutral-link",this.isValidText=t=>!(0,X.TF)(t),this.displayMatchSummary=t=>t!=m.w_.preGame&&(t==m.w_.postGame||t==m.w_.inprogressGame),this.enabledCricketMatchSummaryInfo=()=>"small"!=this.cardSize,this.isGameToday=t=>(new Date).getDate()===new Date(t).getDate()?this.strings.today:t,this.getVerticalSeperatorStyleClassName=()=>"small"!=this.cardSize?"cricket-vertical-seperator":"cricket-vertical-seperator-singlecard"}connectedCallback(){super.connectedCallback()}}(0,u.gn)([L.Lj],Ei.prototype,"cardSize",void 0),(0,u.gn)([L.Lj],Ei.prototype,"paginationStyle",void 0),(0,u.gn)([F.LO],Ei.prototype,"matchData",void 0);let Ui=class extends Ei{};Ui=(0,u.gn)([(0,_t.M)({name:"sports-match",template:Ai,styles:_a,shadowOptions:{delegatesFocus:!0}})],Ui);const Ni=H.i`
        ${we}
        .match-video-1u {
            display: flex;
            align-items: center;
            flex-direction: column;
            padding-bottom: 8px;
            text-decoration: none;
        }
        .match-content-1u {
            width: 268px;
            height: 144px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            border-radius: 6px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
        }
        .play-icon {
            height: 144px;
            margin-left: calc(50% - 20px);
            margin-top: 52px;
        }
        .match-video-title {
            width: 268px;
            max-height: 46px;
            background: rgb(0, 0, 0, 0.7);
            border-radius: 0 0 6px 6px;
        }
        .match-video-title > span {
            white-space: break-spaces;
            word-break: break-word;
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            text-overflow: ellipsis;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            margin: 6px 12px;
            color: #ffffff;
        }

        :host([colormode="dark"]) .game-in-progress-text {
            color: #E98F6D;
        }
`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
        `));const Hi=O.d`
    <sports-side-by-side class="${(t,e)=>"widget"==e.parent.uxstyle?"sports-widget-content":"sports-match-content"}" tabindex="-1"
        style="width: 100%; height: 100%; margin: 0;"
        uxstyle="${(t,e)=>e.parent.uxstyle}"
        cardlayout="${(t,e)=>e.parent.cardlayout}"
        colormode="${(t,e)=>e.parent.colormode}"
        :config=${(t,e)=>e.parent.config}
        :paginationStyle=${(t,e)=>e.parent.paginationStyle?"with-pagination":""}
        :followSportsCallback=${(t,e)=>e.parent.followSportsCallback}
        :unfollowSportsCallback=${(t,e)=>e.parent.unfollowSportsCallback}
        :isSportsFollowed=${(t,e)=>e.parent.isSportsFollowed}
        :strings=${(t,e)=>e.parent.strings}
        :telemetryContext=${(t,e)=>e.parent.telemetryContext}
        :linkTarget="${(t,e)=>e.parent.linkTarget}"
        :matchUXType="${(t,e)=>m.mW.Video}"
        :cardData="${(t,e)=>e.parent.cardData}"
        :matchData="${(t,e)=>e.parent.matchData}"
        :topDetail=${(t,e)=>{var a,i,r,s,n;return e.parent.cardlayout===m.J4.Small?(i=e.parent.strings[t.videoLocKey]||"",r=e.parent.telemetryContext&&e.parent.telemetryContext.videos&&(null===(a=e.parent.telemetryContext.videos.get(t.gameId))||void 0===a?void 0:a.getMetadataTag())||"",s=t.matchClickthroughUrl,n=e.parent.linkTarget,O.d`
        <div class="video-detail" role="button" tabindex="-1"
            @click="${(t,e)=>{(0,ft.h2)(e.event,s,null,"_self"===n)}}"
            data-t="${t=>r}">
            <div class="detail-right-margin">${'<svg width="12" height="12" viewBox="0 0 12 12" fill="none"><rect width="12" height="12" rx="6" fill="#000" fill-opacity=".55"/><path d="M5 3.33a.67.67 0 0 0-1 .58v4.18c0 .51.55.84 1 .58l3.66-2.1a.67.67 0 0 0 0-1.15L5 3.32Z" fill="#fff"/></svg>'}</div>
            <span>${i}</span>
        </div>
`):null}}
    >
    </sports-side-by-side>
`,Gi=O.d`
    ${Hi}
    <a class="match-video-1u" tabindex="-1"
        href="${t=>t.matchClickthroughUrl?t.matchClickthroughUrl:void 0}"
        target="${(t,e)=>e.parent.linkTarget}"
        data-t="${(t,e)=>{var a;return e.parent.telemetryContext&&e.parent.telemetryContext.videos&&t.gameId?null===(a=e.parent.telemetryContext.videos.get(t.gameId))||void 0===a?void 0:a.getMetadataTag():""}}">
        <div class="match-content-1u" style="${(t,e)=>`background-image: url("${e.parent.getVideoUrl(t.videoImageUrl)}");`}" >
            <div class="play-icon">
                ${'<svg width="40" height="40" viewBox="0 0 40 40" fill="none"><rect x=".5" y=".5" width="39" height="39" rx="19.5" fill="url(#paint0_linear_1454:59066)"/><g filter="url(#filter0_dd_1454:59066)"><path d="M27.22 18.68a1.5 1.5 0 0 1 0 2.63l-10 5.5A1.5 1.5 0 0 1 15 25.5v-11a1.5 1.5 0 0 1 2.22-1.31l10 5.5Z" fill="#fff"/></g><rect x=".5" y=".5" width="39" height="39" rx="19.5" stroke="url(#paint1_linear_1454:59066)"/><defs><linearGradient id="paint0_linear_1454:59066" x1="1" y1="1" x2="39" y2="39" gradientUnits="userSpaceOnUse"><stop stop-opacity=".5"/><stop offset="1" stop-opacity=".7"/></linearGradient><linearGradient id="paint1_linear_1454:59066" x1="20" y1="1" x2="20" y2="39" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".4"/><stop offset="1" stop-color="#fff" stop-opacity=".2"/></linearGradient><filter id="filter0_dd_1454:59066" x="2.8" y="6" width="34.4" height="34.4" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="1.9"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1454:59066"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="3.2"/><feGaussianBlur stdDeviation="3.6"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/><feBlend in2="effect1_dropShadow_1454:59066" result="effect2_dropShadow_1454:59066"/><feBlend in="SourceGraphic" in2="effect2_dropShadow_1454:59066" result="shape"/></filter></defs></svg>'}
            </div>
            <div class="match-video-title" title="${t=>t.videoTitle}">
                <span>${t=>t.videoTitle||""}</span>
            </div>
        </div>
    </a>
`,Ri=O.d`
    <div class="match-data match-neutral ${t=>t.paginationStyle}">  
        ${(0,J.g)((t=>t.matchData.length>0&&t.cardlayout===m.J4.Small),O.d`
            ${(0,Z.rx)((t=>t.matchData),(t=>Hi))}`)}
        ${(0,J.g)((t=>t.matchData.length>0&&t.cardlayout!=m.J4.Small),O.d`
            ${(0,Z.rx)((t=>t.matchData),(t=>Gi))}`)}
    </div>
`;class Bi extends at.Dc{constructor(){super(...arguments),this.getVideoUrl=t=>(0,ft.Sb)(t,144,268)}connectedCallback(){super.connectedCallback()}}(0,u.gn)([F.LO],Bi.prototype,"matchData",void 0);let zi=class extends Bi{};zi=(0,u.gn)([(0,_t.M)({name:"sports-match-video",template:Ri,styles:Ni,shadowOptions:{delegatesFocus:!0}})],zi);const Wi=H.i`
    .more-actions {
        right: 16px;
        left: auto;
    }
    .sports-wc-st-suggest-icon {
        float: left;
    }
    .sports-wc-search-input {
        margin-right: 8px;
    }
`,ji=H.i`
    .more-actions {
        left: 16px;
        right: auto;
    }
    .sports-wc-st-suggest-icon {
        float: right;
    }
    .sports-wc-search-input {
        margin-left: 8px;
    }
`,_i=H.i`
.sports-wc-settings {
    height: 100%;
    padding: 48px 16px 16px 16px;
    outline: none;
}
.sports-wc-settings.dynamic-setting {
    padding: 16px;
}
:host([cardlayout="_1x_2y"]).sports-wc-settings.dynamic-setting {
    padding: 8px 16px;
}

.personalization-navigate-container {
    position: absolute;
    right: 10px;
    bottom: 15px;
    font-size: 14px;
}

.personalization-navigate-container a {
    text-decoration: none;
}

:host([colormode="dark"]) .personalization-navigate-container a {
    color: #fff;
}

.personalization-navigate-container svg {
    position: relative;
    top: 19px;
}

.sports-wc-settings:${G.b},
.sports-wc-search:${G.b} {
    outline: none;
}

.sports-wc-st-inputcon {
    height: 32px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid ${U.Gy2};
    box-shadow: 0 1px 1px ${U.Gy2};
}
.sports-wc-st-inputcon > svg {
    fill: ${U.CHi};
    margin: 6px;
}

.sports-wc-inputcon {
    padding: 12px 12px 0 12px;
    height: 33px;
    display: flex;
}
.sports-wc-search .sports-wc-st-inputcon {
    margin-bottom: 0;
    padding: 16px 16px 0;
    border: none;
    box-shadow: none;
}
.sports-wc-search .sports-wc-st-inputcon .sports-wc-search-input {
    grid-template-columns: auto 26px;
    align-items: center;
}
.sports-wc-search .sports-wc-st-inputcon .sports-wc-search-input > svg {
    fill: ${U.CHi};
}
.sports-wc-search .sports-wc-st-suggest-list.sports-wc-search-list {
    background: inherit;
}
.sports-wc-search {
    width: 100%;
    height: 100%;
    margin: 0;
    outline: none;
    border-radius: 6px;
    background: inherit;
    position: relative;
}
:host([colormode="light"]) .sports-wc-search {
    background: #FFFFFF;
}
:host([colormode="dark"]) .sports-wc-search {
    background: #2C2C2C;
}
:host([colormode="dark"]) .with-scroll .sports-wc-autosuggest {
    background: #2C2C2C;
}

.sports-wc-search-input {
    display: grid;
    grid-template-columns: 32px auto;
    margin-right: 8px;
    height: 32px;
    outline-width: 1px;
    outline-style: solid;
    outline-color: ${U.dtw};
}

.sports-wc-search-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
}

.sports-wc-autosuggest {
    margin: 4px 12px;
    border-radius: 6px;
    z-index: 9;
    display: block;
    position: absolute;
    width: 274px;
    background: inherit;
}
.with-scroll .sports-wc-autosuggest {
    width: 276px;
    background: #FFFFFF;
    box-shadow: 0 0 10px  ${U.c1L};
}

.sports-wc-dafult-suggest {
    padding: 0;
    margin: 0;
}

.sports-wc-suggest-list {
    margin: 0;
    padding: 0 8px;
}

.sports-wc-st-search-icon {
    margin: 6px;
    fill: currentcolor;
}

.sports-wc-cancel-button {
    border: none;
    background: transparent;
    color:${U.goi};
    cursor: pointer;
}

.sports-wc-st-input {
    height: calc(100% - 4px);
    margin: 2px 1px;
    flex: 1 0 0px;
    background: transparent;
    min-width: inherit;
    width: auto;
    padding: 0 5px;
    border: none;
    outline: none;
    box-sizing: border-box;
    color: ${U.CHi};
    text-overflow: ellipsis !important;
    white-space: nowrap;
    overflow: hidden;
}

.sports-wc-st-input:disabled {
    background: ${U.wFS};
    opacity: var(--disabled-opacity);
}

.sports-wc-suggested {
    display: flex;
    color: ${U.CHi};
}

.sports-wc-line {
    border-bottom: 1px solid ${U.dtw};
    height: 10px;
    flex-grow: 1;
    flex-basis: 0;
}
.sports-wc-st-selected {
    margin-bottom: 12px;
}
.sports-wc-search .sports-wc-st-selected {
    margin-bottom: 0;
}
.sports-wc-settings.dynamic-setting .sports-wc-st-suggest-list {
    background: transparent;
}
.sports-wc-st-suggest-list {
    top: 82px;
    bottom: 44px;
    display: block;
    position: absolute;
    list-style: none;
    border: 1px solid;
    border-radius: 4px;
    margin: 0;
    padding: 0;
    z-index: 99;
    outline: none;
    border-color: ${U.dtw};
    background: ${U.jql};
}
.sports-wc-st-suggest-list.sports-wc-search-list {
    position: inherit;
    max-height: 224px;
    box-shadow: 0 0 10px ${U.c1L};
}
.with-scroll .sports-wc-st-suggest-list {
    overflow-y: scroll;
    max-height: 234px;
}
.with-scroll .sports-wc-st-suggest-list.sports-wc-search-list {
    box-shadow: none;
    border: none;
    max-height: 234px;
}
.sports-wc-settings.with-scroll .sports-wc-st-suggest-list {
    max-height: 172px;
    border-radius: 4px;
    box-shadow: 0 0 10px ${U.c1L};
}
:host([cardlayout="_1x_3y"]) .with-scroll .sports-wc-st-suggest-list {
    max-height: 314px;
    border-radius: 4px;
    box-shadow: 0 0 10px ${U.c1L};
}

.without-scroll .sports-wc-st-suggest-list::-webkit-scrollbar {
    display: none;
}
.with-scroll .sports-wc-st-suggest-list::-webkit-scrollbar {
    width: 6px;
}
.with-scroll .sports-wc-st-suggest-list::-webkit-scrollbar-thumb {
    border-radius: 20px;
    height: 52px;
    -webkit-box-shadow: inset 0 0 5px #eee;
    background: #D6D6D6;
}

.sports-wc-st-suggest-item {
    display: flex;
    padding: 3px 12px;
    gap: 4px;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}
.sports-wc-search-list .sports-wc-st-suggest-item {
    border-top: 1px solid ${U.dtw};
}
.sports-wc-st-suggest-icon {
    float: left;
    padding-inline-end: 8px
}
.sports-wc-st-suggest-img {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}
.sports-wc-st-suggest-content {
    width: calc(100% - 20px);
    text-decoration: none;
    text-align: start;
}
.sports-wc-st-suggest-list .sports-wc-st-suggest-content {
    width: calc(100% - 60px);
}
.sports-wc-st-suggest-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 20px;
    max-width: 160px;
    font-size: ${U.cSu};
    line-height: ${U.RUt};
    color: ${U.CHi}
}

.sports-wc-st-suggest-noret {
    text-align: center;
}

.sports-wc-st-suggest-item:hover {
    background: ${U.XiB};
}

.sports-wc-st-suggest-description {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 16px;
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    color: ${U.yGg};
}
.sports-wc-st-suggest-add {
    display: flex;
    align-items: center;
    width: 20px;
    fill: ${U.yGg};
    cursor: pointer;
}

.sports-wc-st-suggest-add:hover path {
    fill: ${U.Avx};
}

:host([colormode="dark"]) .sports-wc-st-suggest-add svg {
    fill: #FFFFFF;
}

.sports-wc-st-recom {
    color: ${U.CHi};
    font-size: ${U.sNp};
    line-height: ${U.vgC};
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 50%;
}
.setting-action-button {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sports-wc-st-done {
    width: 118px;
    align-self: center;
    height: 30px;
    border-radius: 4px;
    font-size: ${U.sNp};
    line-height: ${U.vgC};
}

`.withBehaviors(new N.O(Wi,ji),(0,R.vF)(H.i`
                :host {
                    forced-color-adjust: auto;
                }
                @media screen and (-ms-high-contrast: active) {
                    .sports-wc-st-suggest-item {
                        border: 1px solid transparent;
                    }
                    .sports-wc-st-suggest-item + .sports-wc-st-suggest-item {
                        margin-top: -1px;
                    }
                    .sports-wc-st-suggest-item:hover,
                    .sports-wc-st-suggest-item:focus-visible {
                        background: ${ve.H.Highlight};
                    }
                    .sports-wc-st-suggest-item:hover svg path,
                    .sports-wc-st-suggest-item:focus-visible svg path {
                        fill: ${ve.H.ButtonText};
                    }
                    .with-scroll::-webkit-scrollbar-thumb {
                        background: ${ve.H.CanvasText};
                    }
                }
            `));const Vi=O.d`
    <li
        class="${(t,e)=>e.index==e.parent.activeSuggestIndex?"sports-wc-st-suggest-item sports-wc-st-suggest-item-h":"sports-wc-st-suggest-item"}"
        role="button"
        tabindex="0"
        title="${(t,e)=>t.selected?t.displayText:(0,X.WU)(e.parent.strings.followSports,t.displayText||t.name)}"
        aria-label="${(t,e)=>t.selected?t.displayText:(0,X.WU)(e.parent.strings.followSports,t.displayText||t.name)}"
        aria-selected="${(t,e)=>e.index==e.parent.activeSuggestIndex}"
        @click="${(t,e)=>e.parent.handleClickSuggestionItem(e.event,t)}"
        @focus="${(t,e)=>e.parent.handleFocusSuggestionItem(e.event)}"
        data-t="${t=>t.selected?t.telemetryContext&&t.telemetryContext.unFollowEntity&&t.telemetryContext.unFollowEntity.getMetadataTag():t.telemetryContext&&t.telemetryContext.followEntity&&t.telemetryContext.followEntity.getMetadataTag()}"
    >
        <div class="sports-wc-st-suggest-icon" tabindex="-1">
            ${(0,J.g)((t=>t.imageUrl),O.d`
                <img class="sports-wc-st-suggest-img"
                    role="presentation"
                    src="${t=>(0,ft.Sb)(t.imageUrl,28,28,!0)}"
                />`)}
        </div>
        <div class="sports-wc-st-suggest-content" tabindex="-1">
            <div class="sports-wc-st-suggest-text">${t=>t.displayText||t.name}</div>
            <div class="sports-wc-st-suggest-description">${(t,e)=>e.parent.getTranslatedType(t.typeDisplayHint)}</div>
        </div>
        <div class="sports-wc-st-suggest-add"
            tabindex="0"
            title="${(t,e)=>(0,X.WU)(t.selected?e.parent.strings.haveFollowed:e.parent.strings.followSports,t.displayText||t.name)}"
            aria-label="${(t,e)=>(0,X.WU)(t.selected?e.parent.strings.haveFollowed:e.parent.strings.followSports,t.displayText||t.name)}"
            @click="${(t,e)=>e.parent.handleClickSuggestionItemFollowButton(e.event,t)}"
            @keydown="${(t,e)=>e.parent.handleKeydownSuggestionItemFollowButton(e.event,t)}"
            data-t="${t=>{var e,a,i,r;return t.selected?null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.unFollowEntity)||void 0===a?void 0:a.getMetadataTag():null===(r=null===(i=t.telemetryContext)||void 0===i?void 0:i.followEntity)||void 0===r?void 0:r.getMetadataTag()}}"
        >
            ${(0,J.g)((t=>t.selected),O.d`${da.Z}`)}
            ${(0,J.g)((t=>!t.selected),O.d`${la.Z}`)}
        </div>
    </li>
`,qi=O.d`
    <div class="sports-wc-suggest-list" aria-expanded="true">
        <ul
            class="sports-wc-dafult-suggest"
            @keydown="${(t,e)=>t.handleKeydownDefaultSuggestionList(e.event)}"
        >
            ${(0,Z.rx)((t=>t.defaultSuggestions),Vi,{positioning:!0})}
        </ul>
    </div>
`,Ji=O.d`
    <div
        class="sports-wc-st-suggest"
        id="sports_suggestion_list"
        aria-expanded="${t=>0!=t.showSuggests}"
        aria-label="${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchPlaceholder}"
        aria-labelledby="sports-wc-st-input"
        aria-live="polite"
        tabindex="-1"
    >
        <ul
            class="sports-wc-st-suggest-list sports-wc-search-list"
            @keydown="${(t,e)=>t.handleKeydownSuggestionList(e.event)}"
            ${(0,Bt.i)("suggestListControl")}
        >
            ${(0,J.g)((t=>t.sportsSuggestions&&t.sportsSuggestions.length>0),O.d`
                ${(0,Z.rx)((t=>t.sportsSuggestions),Vi,{positioning:!0})}
            `)}
            ${(0,J.g)((t=>t.noSuggestResult),O.d`<li
                    role="option"
                    aria-label="${t=>t.strings.noSearchResult}"
                    title="${t=>t.strings.noSearchResult}"
                    class="sports-wc-st-suggest-text sports-wc-st-suggest-noret"
                    tabindex="0"
                >
                    ${t=>t.strings.noSearchResult}
                </li>
            `)}
        </ul>
    </div>
`,Zi=O.d`
    <div class="personalization-navigate-container">
        <a target="_blank" href="${t=>(0,D.rP)()}">
            ${t=>t.strings.sportsPersonalizationLinkDisplayText}
            ${'<svg width="44" height="44" viewBox="0 0 44 44" fill="none"><g filter="url(#filter0_dd_804_9526)"><rect x="10" y="8" width="24" height="24" rx="12" fill="#0078D4"/><path d="M17.5 20c0-.28.22-.5.5-.5h6.8l-2.65-2.65a.5.5 0 0 1 .7-.7l3.5 3.5c.2.2.2.5 0 .7l-3.5 3.5a.5.5 0 0 1-.7-.7l2.64-2.65H18a.5.5 0 0 1-.5-.5Z" fill="#fff"/></g><defs><filter id="filter0_dd_804_9526" x="0" y="0" width="44" height="44" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="2"/><feGaussianBlur stdDeviation="5"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_804_9526"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation=".4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/><feBlend in2="effect1_dropShadow_804_9526" result="effect2_dropShadow_804_9526"/><feBlend in="SourceGraphic" in2="effect2_dropShadow_804_9526" result="shape"/></filter></defs></svg>'}
        </a>
    </div>
`,Xi=O.d`
    <div class="${t=>t.uxstyle==at.n9.widget?"sports-wc-settings":"sports-wc-settings dynamic-setting"} ${t=>t.config.enableSearchSuggestionScroll?"with-scroll":"without-scroll"}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.editSports)||void 0===a?void 0:a.getMetadataTag()}}">
        <div class="sports-wc-st-inputcon">
            <input
                class="sports-wc-st-input"
                id="sports-wc-st-input"
                placeholder="${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchPlaceholder}"
                @input="${(t,e)=>t.handleInputForSuggestions(e.event)}"
                @click="${(t,e)=>t.handleClickForSuggestions(e.event)}"
                @keydown="${(t,e)=>t.handleKeydownForSuggestions(e.event)}"
                type="text"
                value=""
                autofocus="autofocus"
                autocomplete="off"
                aria-controls="sports_suggestion_list"
                aria-expanded="${t=>t.showSuggests}"
                aria-autocomplete="both"
                aria-activedescendant=${t=>null!=t.activeSuggestIndex&&t.activeSuggestIndex>=0?"sp_wc_sg_"+t.activeSuggestIndex:null}
                aria-owns="sports_suggestion_list"
                ${(0,Bt.i)("inputControl")}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsInput)||void 0===a?void 0:a.getMetadataTag()}}"
            />
            ${ge}
        </div>
        ${(0,J.g)((t=>t.defaultSuggestions&&!t.showSuggests),qi)}
        <div class="setting-action-button">
            <fluent-button
                class="sports-wc-st-done sd-action"
                appearance="accent"
                aria-label="${t=>t.strings.saveSettings}"
                role="button"
                @click="${(t,e)=>t.cancelSetting(e.event)}"
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.saveSetting)||void 0===a?void 0:a.getMetadataTag()}}"
            >
                ${t=>t.strings.done}
            </fluent-button>
        </div>
        ${(0,J.g)((t=>0!=t.showSuggests&&t.sportsSuggestions),Ji)}
    </div>
`,Yi=O.d`
    <div class="sports-wc-st-inputcon">
        <div class="sports-wc-search-input">
            <input
                class="sports-wc-st-input"
                id="sports-wc-st-input"
                placeholder="${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchPlaceholder}"
                @input="${(t,e)=>t.handleInputForSuggestions(e.event)}"
                @click="${(t,e)=>t.handleClickForSuggestions(e.event)}"
                @keydown="${(t,e)=>t.handleKeydownForSuggestions(e.event)}"
                type="text"
                value=""
                autofocus="autofocus"
                autocomplete="off"
                aria-controls="sports_suggestion_list"
                aria-expanded="${t=>t.showSuggests}"
                aria-autocomplete="both"
                aria-activedescendant=${t=>null!=t.activeSuggestIndex&&t.activeSuggestIndex>=0?"sp_wc_sg_"+t.activeSuggestIndex:null}
                aria-owns="sports_suggestion_list"
                ${(0,Bt.i)("inputControl")}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsInput)||void 0===a?void 0:a.getMetadataTag()}}"
            />
            ${ge}
        </div>
        <button
            class="sports-wc-cancel-button"
            tabindex="0"
            aria-label="${t=>t.strings.cancel}"
            title="${t=>t.strings.cancel}"
            @click="${(t,e)=>t.cancelSetting(e.event)}"
            data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.cancelSetting)||void 0===a?void 0:a.getMetadataTag()}}"
        >
        ${t=>t.strings.cancel}
        </button>
    </div>
`,Ki=O.d`
    <div class="sports-wc-inputcon">
        <div class="sports-wc-search-input">
            <div class="sports-wc-search-icon">
                ${'<svg type="search-button" width="16" height="16" viewBox="0 0 16 16"><path d="M10.5 0a5.43 5.43 0 0 1 4.75 2.73 5.43 5.43 0 0 1 0 5.54A5.6 5.6 0 0 1 10.5 11a5.42 5.42 0 0 1-3.52-1.27L.85 15.85c-.1.1-.21.15-.35.15a.48.48 0 0 1-.35-.15.48.48 0 0 1-.15-.35c0-.14.05-.25.15-.35l6.12-6.13A5.63 5.63 0 0 1 5 5.5 5.43 5.43 0 0 1 7.73.75 5.43 5.43 0 0 1 10.5 0Zm0 10a4.4 4.4 0 0 0 3.18-1.32 4.52 4.52 0 0 0-1.43-7.32 4.31 4.31 0 0 0-3.5 0 4.51 4.51 0 0 0-2.4 5.89 4.62 4.62 0 0 0 2.4 2.4 4.4 4.4 0 0 0 1.75.35Z" fill="#0078D4"/></svg>'}
            </div>
            <input
                class="sports-wc-st-input"
                id="sports-wc-st-input"
                placeholder="${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchPlaceholder}"
                @input="${(t,e)=>t.handleInputForSuggestions(e.event)}"
                @click="${(t,e)=>t.handleClickForSuggestions(e.event)}"
                @keydown="${(t,e)=>t.handleKeydownForSuggestions(e.event)}"
                type="text"
                value=""
                autofocus="autofocus"
                autocomplete="off"
                aria-controls="sports_suggestion_list"
                aria-expanded="${t=>t.showSuggests}"
                aria-autocomplete="both"
                aria-activedescendant=${t=>null!=t.activeSuggestIndex&&t.activeSuggestIndex>=0?"sp_wc_sg_"+t.activeSuggestIndex:null}
                aria-owns="sports_suggestion_list"
                ${(0,Bt.i)("inputControl")}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsInput)||void 0===a?void 0:a.getMetadataTag()}}"
            />
        </div>
        <button
            class="sports-wc-cancel-button"
            tabindex="0"
            aria-label="${t=>t.strings.cancel}"
            title="${t=>t.strings.cancel}"
            @click="${(t,e)=>t.cancelSetting(e.event)}"
            data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.cancelSetting)||void 0===a?void 0:a.getMetadataTag()}}"
        >
        ${t=>t.strings.cancel}
        </button>
    </div>
`,Qi=O.d`
    <div class="sports-wc-search ${t=>t.config.enableSearchSuggestionScroll?"with-scroll":"without-scroll"}" data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.editSports)||void 0===a?void 0:a.getMetadataTag()}}">
        ${(0,J.g)((t=>t.uxstyle==at.n9.widget||t.config.isDynamicFeed),Yi)}
        ${(0,J.g)((t=>t.uxstyle!=at.n9.widget&&!t.config.isDynamicFeed),Ki)}
        <div class="sports-wc-autosuggest">
            ${(0,J.g)((t=>t.defaultSuggestions&&!1===t.showSuggests),qi)}
            ${(0,J.g)((t=>0!=t.showSuggests&&t.sportsSuggestions),Ji)}
        </div>
        ${(0,J.g)((t=>t.cardlayout!=m.J4.Small&&t.config.showPersonalizeEntryPoint),Zi)}
    </div>
`,tr=O.d`
    ${t=>t.uxstyle==at.n9.widget||t.config.isDynamicFeed&&t.cardlayout!=m.J4.Small?Xi:Qi}
`;var er=a(36934);class ar extends at.Dc{constructor(){super(...arguments),this.fetchSuggestions=(0,er.Z)((t=>(0,u.mG)(this,void 0,void 0,(function*(){var e;const a=(0,X.WU)(this.config.fetchSearchSuggestionUrl,t,(0,T.Yq)().CurrentMarket||"en-us");this.noSuggestResult=!1;const i=yield g.d.fetchSuggestions(t,a,this.config.ocid);i&&i.length?this.sportsSuggestions=i.map((t=>Object.assign(Object.assign({},t),{selected:this.isSelected(t),telemetryContext:(0,m.FJ)(this.telemetryObject,t,this.selectedEntityId||"",this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract.ext,!0,{zone:this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract.zone})}))):(this.noSuggestResult=!0,this.sportsSuggestions=[]),this.showSuggests=!(0,X.TF)(null===(e=this.inputControl)||void 0===e?void 0:e.value)}))),200),this.isSelected=t=>this.selectedEntityId===t.id&&this.uxstyle==at.n9.widget||this.isFollowed(t),this.isFollowed=t=>{var e;return null===(e=this.followedSports)||void 0===e?void 0:e.some((e=>e.id&&e.id===t.id||e.yId&&e.yId===t.yId))},this.getTranslatedType=t=>{const e=t&&"team"===t.toLowerCase(),a=t&&"league"===t.toLowerCase();return e&&this.strings.team?this.strings.team:a&&this.strings.league?this.strings.league:t},this.getFollowAriaLabel=(t,e)=>(0,X.WU)(e?this.strings.haveFollowed:this.strings.followSportsAriaLabel||this.strings.followSports,t),this.handleFocusSuggestionItem=t=>{if(t&&t.target){const e=t.target;if("LI"===e.nodeName){const t=e.parentElement.querySelectorAll("li");t&&t.length>0&&(e===t[0]?this.activeSuggestIndex=0:e===t[t.length-1]&&(this.activeSuggestIndex=t.length-1))}}},this.followSports=t=>(0,u.mG)(this,void 0,void 0,(function*(){this.followSportsCallback&&this.followSportsCallback(t,!0),this.resetSportsSuggestions()})),this.handleKeydownDefaultSuggestionList=t=>{if(t&&t.target){const e=t.target;if("LI"===e.nodeName&&("Enter"===t.key||"Tab"===t.key)){const a=e.parentElement.querySelectorAll("li");if(a&&a.length>0){let i=0;const r=a.length;for(;i<r&&a[i]!==e;)i++;if("Enter"===t.key)return this.handleClickSuggestionItem(t,this.defaultSuggestions[i]),!1;"Tab"===t.key&&(t.shiftKey&&this.activeSuggestIndex>0&&(this.activeSuggestIndex=i-1),!t.shiftKey&&this.activeSuggestIndex<r-1&&(this.activeSuggestIndex=i+1))}}}return!0},this.handleKeydownSuggestionList=t=>{if(!t||this.suggestListControl&&!this.suggestListControl.contains(t.target))return!0;switch(t.key){case"Tab":return t.shiftKey?0===this.activeSuggestIndex?this.activeSuggestIndex=-1:void 0===this.activeSuggestIndex||this.activeSuggestIndex<0?this.activeSuggestIndex=this.sportsSuggestions.length-1:this.activeSuggestIndex-=1:this.activeSuggestIndex===this.sportsSuggestions.length-1?this.activeSuggestIndex=-1:void 0===this.activeSuggestIndex||this.activeSuggestIndex<0?this.activeSuggestIndex=0:this.activeSuggestIndex+=1,!0;case"ArrowDown":return t.preventDefault(),null==this.activeSuggestIndex||this.activeSuggestIndex<0||this.activeSuggestIndex>=this.sportsSuggestions.length-1?this.activeSuggestIndex=0:this.activeSuggestIndex=this.activeSuggestIndex+1,this.focusSuggestion(),!1;case"ArrowUp":return t.preventDefault(),null==!this.activeSuggestIndex||this.activeSuggestIndex<=0||this.activeSuggestIndex>this.sportsSuggestions.length-1?this.activeSuggestIndex=this.sportsSuggestions.length-1:this.activeSuggestIndex=this.activeSuggestIndex-1,this.focusSuggestion(),!1;case"Enter":return t.preventDefault(),null!=this.activeSuggestIndex&&this.activeSuggestIndex>=0&&this.activeSuggestIndex<this.sportsSuggestions.length&&(this.handleClickSuggestionItem(t,this.sportsSuggestions[this.activeSuggestIndex]),this.activeSuggestIndex=-1),!1;case"Escape":return t.preventDefault(),this.resetSportsSuggestions(),this.inputControl.focus(),!1;default:return!0}},this.focusSuggestion=()=>{this.suggestListControl.querySelectorAll("li").forEach(((t,e)=>{if(e===this.activeSuggestIndex){t.focus()}}))},this.getCurrenMarket=()=>(0,T.Yq)().CurrentMarket,this.handleClick=t=>{t&&t.target&&this.suggestListControl&&!this.suggestListControl.contains(t.target)&&(this.showSuggests=!1)}}connectedCallback(){const t=this.getMaxSuggestionCount();if(!this.recommendations||this.recommendations.length<=t)this.defaultSuggestions=this.recommendations||[];else{const e=this.recommendations.filter((t=>{var e;return!(null===(e=this.followedSports)||void 0===e?void 0:e.some((e=>e.id&&e.id===t.id||e.yId&&e.yId===t.yId)))}));if(e.length>=t)this.defaultSuggestions=e.slice(0,t);else{const a=this.recommendations.filter((t=>!e.some((e=>e.id&&e.id===t.id||e.yId&&e.yId===t.yId))));this.defaultSuggestions=e.concat(a).slice(0,t)}}this.defaultSuggestions=this.defaultSuggestions.map((t=>Object.assign(Object.assign({},t),{selected:this.isSelected(t)}))),this.showSuggests=!1,this.focus(),this.inputControl&&(this.inputControl.value="",this.inputControl.focus()),super.connectedCallback(),document.addEventListener("click",this.handleClick)}allRecommendationsChanged(t,e){this.recommendations=e&&e.map((t=>Object.assign(Object.assign({},t),{sportType:"FromRecommendedSuggestion"})))||[]}eventPreventDefaults(t){t&&(t.preventDefault(),t.stopPropagation())}resetSportsSuggestions(){this.showSuggests=!1,this.noSuggestResult=!1,this.sportsSuggestions=[],this.activeSuggestIndex=-1,this.inputControl.value=""}getMaxSuggestionCount(){switch(this.cardlayout){case m.J4.Large:return this.config.isDynamicFeed||this.uxstyle==at.n9.widget?8:9;case m.J4.Medium:return this.config.isDynamicFeed||this.uxstyle==at.n9.widget?4:6;default:return 2}}handleClickForSuggestions(t){var e,a,i;if(null===(e=this.recommendations)||void 0===e?void 0:e.length){if(t){this.eventPreventDefaults(t);const e=t.currentTarget;e&&ht.M0.sendActionEvent(e,ut.Aw.Click)}null===(a=this.inputControl)||void 0===a||a.focus(),(0,X.TF)(null===(i=this.inputControl)||void 0===i?void 0:i.value)||this.showSuggests||(this.showSuggests=!0)}}handleInputForSuggestions(t){var e,a,i;const r=null===(e=this.inputControl)||void 0===e?void 0:e.value;if(t){this.eventPreventDefaults(t);const e=t.currentTarget;if(e){const t=this.telemetryContext&&this.telemetryContext.sportsCard&&this.telemetryContext.sportsCard.contract;if(!(0,X.TF)(r)&&t){const s=(0,m.N_)(this.telemetryObject,r,null===(a=t.content)||void 0===a?void 0:a.headline,null===(i=t.content)||void 0===i?void 0:i.brandId,t.ext,{zone:t.zone});s&&e.setAttribute("data-t",s.getMetadataTag())}ht.M0.sendActionEvent(e,ut.Aw.Submit)}}this.inputControl&&!(0,X.TF)(this.config.fetchSearchSuggestionUrl)&&(this.activeSuggestIndex=-1,(0,X.TF)(r)?this.showSuggests=!1:this.fetchSuggestions(r))}handleKeydownForSuggestions(t){return!t||!this.showSuggests||"Escape"!==t.key||(this.eventPreventDefaults(t),this.resetSportsSuggestions(),!1)}handleSelectSuggest(t,e){if(t){this.eventPreventDefaults(t);const e=t.currentTarget;e&&ht.M0.sendActionEvent(e,ut.Aw.Click)}this.activeSuggestIndex=this.recommendations.indexOf(e),this.defaultSuggestions=this.defaultSuggestions.map((t=>t.id==e.id?Object.assign(Object.assign({},t),{selected:!0}):t)),this.followSports(e)}handleUnselectSuggest(t,e){if(t){this.eventPreventDefaults(t);const e=t.currentTarget;e&&ht.M0.sendActionEvent(e,ut.Aw.Click)}this.defaultSuggestions=this.defaultSuggestions.map((t=>t.id==e.id?Object.assign(Object.assign({},t),{selected:!1}):t)),this.unfollowSportsCallback&&this.unfollowSportsCallback(e)}handleClickSuggestionItem(t,e){t&&(this.eventPreventDefaults(t),e.selected||0==this.config.navClickWithFollow?this.refreshCardCallback&&this.refreshCardCallback(e.id,!0):this.handleSelectSuggest(t,e))}handleClickSuggestionItemFollowButton(t,e){t&&(this.eventPreventDefaults(t),e.selected?this.handleUnselectSuggest(t,e):this.handleSelectSuggest(t,e))}handleKeydownSuggestionItemFollowButton(t,e){if(!t||"Enter"!==t.key)return!0;this.eventPreventDefaults(t),this.handleClickSuggestionItemFollowButton(t,e)}cancelSetting(t){t&&(this.eventPreventDefaults(t),ht.M0.sendActionEvent(t.currentTarget,ut.Aw.Click)),this.resetSportsSuggestions(),this.cancelCallback&&this.cancelCallback()}}(0,u.gn)([F.LO],ar.prototype,"telemetryObject",void 0),(0,u.gn)([F.LO],ar.prototype,"sportsSuggestions",void 0),(0,u.gn)([F.LO],ar.prototype,"activeSuggestIndex",void 0),(0,u.gn)([F.LO],ar.prototype,"allRecommendations",void 0),(0,u.gn)([F.LO],ar.prototype,"defaultSuggestions",void 0),(0,u.gn)([F.LO],ar.prototype,"followedSports",void 0),(0,u.gn)([F.LO],ar.prototype,"showSuggests",void 0),(0,u.gn)([F.LO],ar.prototype,"noSuggestResult",void 0),(0,u.gn)([F.LO],ar.prototype,"selectedEntityId",void 0);let ir=class extends ar{};ir=(0,u.gn)([(0,_t.M)({name:"sports-search",template:tr,styles:_i,shadowOptions:{delegatesFocus:!0}})],ir);const rr=H.i`
        ${we}
        sports-article,
        .article-item {
            text-decoration: none;
            color: currentColor;
        }
        .article-header {
            display: grid;
            align-items: center;
            justify-content: center;
            column-gap: 12px;
            color: ${U.CHi};
            grid-template-columns: 66px 190px;
            margin: 0 16px;
            border-radius: 6px;
        }
        :host([cardlayout="_1x_2y"]) .article-header {
            grid-template-columns: 56px 200px;
        }
        .header-title {
            font-size: 24px;
            line-height: 24px;
            font-weight: 700;
        }
        .header-description {
            font-size: ${U.cSu};
            line-height: 20px;
            padding-top: 4px;
        }
        .state-base {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            background: rgba(0, 0, 0, 0.54);
            color: #FFFFFF;
            height: 20px;
            padding: 2px 8px;
            border-radius: 4px;
            max-width: 80px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .state-today {
            background: #1281C4;
        }
        .state-live {
            background: #C42B1C;
        }
        .article-list {
            background: rgba(255, 255, 255, 0.13);
            border-radius: 6px;
            padding: 8px 12px;
            margin: 4px 16px;
            display: grid;
            row-gap: 16px;
        }
        .article-item:hover .article-title {
            text-decoration: underline;
        }
        .article-item {
            display: grid;
            align-items: center;
            justify-content: center;
            column-gap: 8px;
            color: ${U.CHi};
            grid-template-columns: 244px;
        }
        .article-item.with-image {
            grid-template-columns: 174px 62px;
        }
        .article-publisher {
            color: rgba(0, 0, 0, 0.55);
            font-size: ${U.sNp};
            line-height: ${U.vgC};
        }
        .publisher-icon {
            width: 16px;
            height: 16px;
        }
        .publisher-name,
        .publish-time {
            max-width: 108px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            display: inline-block;
        }
        .publisher-name.name-short {
            max-width: 108px;
        }
        .publisher-name {
            max-width: 170px;
        }
        .publish-time {
            max-width: 108px;
        }
        .publisher-name:after {
            content: " · ";
        }
        .article-title {
            white-space: break-spaces;
            word-break: break-word;
            font-size: ${U.cSu};
            line-height: ${U.RUt};
            text-overflow: ellipsis;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            font-weight: 600;
        }
        .article-image {
            width: 62px;
            height: 62px;
            border-radius: 6px;
        }
        .article-header-1u {
            text-align: center;
            color: ${U.CHi};
        }
        .article-header-1u .header-icon {
            width: 120px;
            height: 115px;
        }
        .article-header-1u .header-title {
            font-weight: 700;
            font-size: 32px;
            line-height: 40px;
        }
        .article-header-1u .header-description {
            font-weight: 400;
            font-size: 16px;
            line-height: 22px;
        }
        .article-header-1u state-live {
            font-weight: 600;
            font-size: 12px;
            line-height: 16px;
        }

        :host([colormode="dark"]) .article-list {
            background: rgba(255, 255, 255, 0.13);
        }
        :host([colormode="dark"]) .article-publisher {
            color: rgba(255, 255, 255, 0.54);
        }
        :host([colormode="dark"]) .state-base {
            background: #FFFFFF;
        }

`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
                .state-base {
                    border: 1px solid;
                }
            }
        }`)),sr=O.d`
    <sports-match-overview
        uxstyle="${t=>t.uxstyle}"
        cardlayout="${t=>t.cardlayout}"
        colormode="${t=>t.colormode}"
        :config=${t=>t.config}
        :strings=${t=>t.strings}
        :linkTarget="${t=>t.linkTarget}"
        :telemetryContext=${t=>t.telemetryContext}
        :matchUXType="${t=>t.matchUXType}"
        :paginationStyle="${t=>t.getMatchPaginationStyle()}"
        :overviewType="${t=>t.cardlayout!=m.J4.Large?at.df.smallInRow:at.df.largeInPale}"
        :cardData="${t=>t.cardData}"
        :data="${t=>t.matchData}"
    >
    </sports-match-overview>
`,nr=O.d`
    <div class="nba-finals-matches">
        <sports-side-by-side class="${t=>"widget"==t.uxstyle?"sports-widget-content":"sports-match-content"}"
            style="width: 100%; height: 100%; margin: 0;"
            uxstyle="${t=>t.uxstyle}"
            cardlayout="${t=>t.cardlayout}"
            colormode="${t=>t.colormode}"
            :config=${t=>t.config}
            :strings=${t=>t.strings}
            :telemetryContext=${t=>t.telemetryContext}
            :linkTarget="${t=>t.linkTarget}"
            :cardData="${t=>t.cardData}"
            :matchData="${t=>t.getMatchData()}"
            :matchUXType="${t=>t.matchUXType}"
            :paginationStyle="${t=>t.getMatchPaginationStyle()}"
            :followSportsCallback=${t=>t.followSportsCallback}
            :unfollowSportsCallback=${t=>t.unfollowSportsCallback}
            :isSportsFollowed=${t=>t.isSportsFollowed}
        >
        </sports-side-by-side>
    </div>
`,or=O.d`
    <div>  
        ${(0,J.g)((t=>t.cardlayout!=m.J4.Small&&t.matchData),sr)}
        ${(0,J.g)((t=>t.matchData),nr)}
    </div>
    `;class lr extends at.Dc{constructor(){super(...arguments),this.getMatchData=()=>{if(!this.matchData)return null;if(this.cardlayout==m.J4.Small){const t=(0,at._8)(this.matchData);return this.matchData.slice(t,t+1)}return(0,m.gW)(this.matchData&&this.matchData.slice(0,this.cardlayout==m.J4.Small?1:2)).map((t=>t.sportsMatchData))},this.getMatchPaginationStyle=()=>this.cardlayout==m.J4.Small?this.uxstyle!=at.n9.widget?"with-pagination finals-match no-vertical-padding":"with-pagination finals-match":""}connectedCallback(){super.connectedCallback()}}(0,u.gn)([F.LO],lr.prototype,"matchData",void 0);let dr=class extends lr{};dr=(0,u.gn)([(0,_t.M)({name:"sports-series-finals",template:or,styles:rr,shadowOptions:{delegatesFocus:!0}})],dr);const cr=H.i`
    .sports-standings {
        text-decoration: none;
    }
    .conference-list {
        margin: 12px 16px -32px;
    }
    .conference-name {
        background-color: ${U.Avx};
        color: #fff;
        border-radius: 16px;
        display: inline-block;
        font-size: ${U.cSu};
        line-height: ${U.RUt};
        padding: 2px 12px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 120px;
        text-align: center;
    }
`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
            }
        }`)),pr=H.i`
    .sports-table {
        text-decoration: none;
        cursor: pointer;
        padding: 2px 16px;
        box-sizing: border-box;
    }
    .table-data {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .table-data {
        flex-direction: column;
    }
    .table-title,
    .table-line {
        display: inline-grid;
        align-items: center;
        padding: 6px 0px;
        width: 100%;
        grid-gap: 4px;
        text-decoration: none;
        color: var(--neutral-foreground-rest);
    }
    .table-title {
        padding: 0 0 6px 0;
        font-weight: 600;
    }
    .item-image {
        width: 20px;
        height: 20px;
    }
    .item-text {
        font-size: ${U.cSu};
        line-height: ${U.RUt};
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
            @media screen and (-ms-high-contrast: active) {
            }
        }`)),hr=O.d`
    ${(0,J.g)((t=>!t.isImage),O.d`<span class="table-item item-text" title="${t=>t.value}" style="${t=>t.inlineStyle}">${t=>t.value}</span>`)}
    ${(0,J.g)((t=>t.isImage),O.d`<img class="table-item item-image" role="presentation" style="${t=>t.inlineStyle}" src="${t=>t.value}" />`)}
`,ur=O.d`
    <a class="table-line" style="${(t,e)=>e.parent.tableRowStyle}"
        href="${t=>t.url?t.url:void 0}"
        target=${(t,e)=>e.parent.linktarget}
        data-t="${t=>t.telemetryTag}"
    >
        ${(0,Z.rx)(((t,e)=>e.parent.getContentData(t)),hr)}
    </a>
`,gr=O.d`
    <a class="table-title"
        href="${t=>t.url?t.url:void 0}"
        target=${t=>t.linktarget}
        style="${t=>t.tableRowStyle}"
        data-t="${t=>t.telemetryObject&&t.telemetryObject.getMetadataTag()}"
    >
        ${(0,Z.rx)((t=>t.data&&t.data.titleData),hr)}
    </a>
`,mr=O.d`
    <div class="table-data">
        ${(0,Z.rx)((t=>t.data&&t.data.tableData),ur)}
    </div>
`,vr=O.d`
    <div class="sports-table">
        ${(0,J.g)((t=>t.data&&t.data.titleData),gr)}
        ${(0,J.g)((t=>t.data&&t.data.tableData),mr)}
    </div>
`;class fr extends P.I{constructor(){super(...arguments),this.getContentData=t=>{if(t&&this.data.titleData){const e=[];return this.data.titleData.forEach((a=>{if(a.key){const i=t.data.find((t=>t.key==a.key));e.push({key:a.key,value:null==i?void 0:i.value,isImage:null==i?void 0:i.isImage})}})),e}}}}let yr=class extends fr{};yr=(0,u.gn)([(0,_t.M)({name:"sports-table",template:vr,styles:pr,shadowOptions:{delegatesFocus:!0}})],yr);const wr=O.d`
    <div class="conference-name" title="${(t,e)=>t.displayName||t.nameLocKey&&e.parent.strings[t.nameLocKey]||t.name}">${(t,e)=>t.displayName||t.nameLocKey&&e.parent.strings[t.nameLocKey]||t.name}</div>
`,br=O.d`
    <a class="sports-standings"
        href="${t=>{var e;return null===(e=t.cardData)||void 0===e?void 0:e.sportsStandingsUrl}}"
        target="${t=>t.linkTarget}"
        data-t="${t=>t.getContentViewTelemetryTag()}"
    >  
        <div class="conference-list">
            ${(0,Z.rx)((t=>t.standingsData.conferences),wr)}
        </div>
        <sports-table
            class="standings-list"
            :data="${t=>t.getCurrentStandingsData()}"
            :linktarget="${t=>t.linkTarget}"
            :tableRowStyle="${t=>"grid-template-columns: 14px 30px 90px 40px 40px 40px;"}"
        >
        </sports-table>
    </a>
    `;class Sr extends at.Dc{constructor(){super(...arguments),this.standingsMaxCount=0,this.currentConferenceIndex=0,this.getStandingsTelemetry=t=>{const e=this.standingsTelemetryContext&&this.standingsTelemetryContext.standings&&this.standingsTelemetryContext.standings.get(t);return e&&e.getMetadataTag()},this.getCurrentStandingsData=()=>{var t;if(this.standingsData&&this.standingsData.conferences&&this.standingsData.conferences.length>this.currentConferenceIndex&&this.standingsData.header){const e=this.standingsData.conferences[this.currentConferenceIndex],a=e&&e.groups&&e.groups.slice(0,this.standingsMaxCount),i=[],r=[];return a&&a.forEach((t=>{(null==t?void 0:t.standings)&&t.standings.sort(((t,e)=>parseInt(t.rank)-parseInt(e.rank))).forEach((t=>{const e=[];this.standingsData.header.forEach(((a,i)=>{e.push({key:i,value:t[i]})})),e.unshift({key:"name",value:t.name}),e.unshift({key:"imageUrl",value:t.imageUrl,isImage:!0}),e.unshift({key:"rank",value:t.rank}),i.push({url:t.url,telemetryTag:this.getStandingsTelemetry(t.satoriId),data:e})}))})),null===(t=this.standingsData.header)||void 0===t||t.forEach(((t,e)=>{r.push({key:e,value:this.strings[t]})})),r.unshift({key:"name",value:""}),r.unshift({key:"imageUrl",value:""}),r.unshift({key:"rank",value:""}),{titleData:r,tableData:i}}},this.getStandingsCount=()=>{switch(this.cardlayout){case m.J4.Small:return 1;case m.J4.Medium:return 4;case m.J4.Large:return this.uxstyle==at.n9.widget?5:7;default:return 1}}}connectedCallback(){this.standingsData&&(this.standingsMaxCount=this.getStandingsCount()),super.connectedCallback()}}(0,u.gn)([F.LO],Sr.prototype,"standingsTelemetryContext",void 0),(0,u.gn)([F.LO],Sr.prototype,"standingsData",void 0),(0,u.gn)([F.LO],Sr.prototype,"standingsMaxCount",void 0),(0,u.gn)([F.LO],Sr.prototype,"currentConferenceIndex",void 0);let xr=class extends Sr{};xr=(0,u.gn)([(0,_t.M)({name:"sports-standings",template:br,styles:cr,shadowOptions:{delegatesFocus:!0}})],xr);const Cr=H.i`
        ${we}
        .match-data {
            text-decoration: none;
        }
        .match-superbowl-1u {
            display: flex;
            align-items: center;
            flex-direction: column;
            padding-bottom: 12px;
            text-decoration: none;
        }
        .match-superbowl-1u.match-superbowl-1u-winner {
            padding-bottom: 0;
        }
        .match-content-1u {
            width: 268px;
            height: 144px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            border-radius: 6px;
        }
        .superbowl-detail {
            width: 268px;
            max-height: 20px;
            background: rgb(0, 0, 0, 0.7);
            border-radius: 0 0 6px 6px;
        }
        .superbowl-text {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            color: #242424;
        }
        .superbowl-text {
            font-size: ${U.sNp};
            line-height: ${U.vgC};
            padding-top: 10px;
        }
        .superbowl-icon {
            width: 128px;
            height: 100px;
            text-align: center;
            align-items: center;
        }
        .superbowl-winner-icon {
            width: 90px;
            height: 90px;
            text-align: center;
            align-items: center;
        }

        .superbowl-winner {
            font-size: 36px;
            line-height: 36px;
            height: 40px;
            text-align: center;
            font-weight: 900;
            color: ${U.CHi};
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            max-width: 280px;
            font-family: Arial, Segoe, sans-serif;
        }

        .superbowl-winner-description {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            color: ${U.CHi};
            font-size: 20px;
            line-height: 20px;
            text-align: center;
            max-width: 280px;
        }
        :host([colormode="dark"]) .game-in-progress-text {
            color: #E98F6D;
        }
`.withBehaviors((0,R.vF)(H.i`
            :host {
                forced-color-adjust: auto;
            }
        `)),$r=O.d`
    <sports-side-by-side class="${t=>"widget"==t.uxstyle?"sports-widget-content":"sports-match-content"}"
        style="width: 100%; height: 100%; margin: 0;"
        uxstyle="${t=>t.uxstyle}"
        cardlayout="${t=>t.cardlayout}"
        colormode="${t=>t.colormode}"
        :config=${t=>t.config}
        :strings=${t=>t.strings}
        :telemetryContext=${t=>t.telemetryContext}
        :linkTarget="${t=>t.linkTarget}"
        :cardData="${t=>t.cardData}"
        :matchData="${t=>[t.matchData]}"
        :topDetail=${t=>t.showTopDetail()?O.d`
        <div class="top-detail">
            <img role="presentation" src="${f.fy}" />
        </div>
    `:null}
        :useSuperDesign=${t=>!0}
        :matchUXType="${(t,e)=>m.mW.SuperDesign}"
        :followSportsCallback=${t=>t.followSportsCallback}
        :unfollowSportsCallback=${t=>t.unfollowSportsCallback}
        :isSportsFollowed=${t=>t.isSportsFollowed}
    >
    </sports-side-by-side>
`,kr=O.d`
    <div class="match-superbowl-1u ${t=>t.showTopDetail()?"":" match-superbowl-1u-winner"}">
        <div class="${t=>t.getSuperDesignIconClassName()}">
            ${t=>t.getSuperDesignIcon()}
        </div>
        <div class="superbowl-champion">
            ${t=>t.getSuperBowlChampion()}
        </div>
    </div>
    ${$r}
`,Tr=O.d`
    <a class="match-data match-neutral"
        href="${t=>t.matchData.matchClickthroughUrl?t.matchData.matchClickthroughUrl:void 0}"
        target="${t=>t.linkTarget}"
        data-t="${t=>t.getContentViewTelemetryTag()}">  
        ${(0,J.g)((t=>t.matchData&&t.cardlayout===m.J4.Small),O.d`${$r}`)}
        ${(0,J.g)((t=>t.matchData&&t.cardlayout!=m.J4.Small),O.d`${kr}`)}
    </a>
`;class Dr extends at.Dc{constructor(){super(...arguments),this.showTopDetail=()=>this.cardlayout===m.J4.Small&&this.matchData.gameStateCatetory!=m.w_.postGame,this.getSuperDesignIconClassName=()=>this.matchData.gameStateCatetory==m.w_.postGame?"superbowl-winner-icon":"superbowl-icon",this.getSuperDesignIcon=()=>{let t=null;return this.matchData.gameStateCatetory==m.w_.postGame&&(t=1==this.matchData.participantOne.isWinner?this.matchData.participantOne.imageUrl:null,t||(t=1==this.matchData.participantTwo.isWinner?this.matchData.participantTwo.imageUrl:null),t&&(t=(0,ft.Sb)(t,90,90))),O.d`<img role="presentation" src="${()=>t||f._}" />`},this.getSuperBowlChampion=()=>{if(this.matchData.gameStateCatetory==m.w_.postGame){let t=1==this.matchData.participantOne.isWinner?this.matchData.participantOne.name:null;if(t||(t=1==this.matchData.participantTwo.isWinner?this.matchData.participantTwo.name:null),t)return O.d`<div class="superbowl-winner" title="${t}">${t.toUpperCase()}</div>
                            <div class="superbowl-winner-description" title="${this.strings.superbowlChampions}">${this.strings.superbowlChampions&&this.strings.superbowlChampions.toUpperCase()||""}</div>`}return null}}connectedCallback(){super.connectedCallback()}}(0,u.gn)([F.LO],Dr.prototype,"matchData",void 0);let Mr=class extends Dr{};Mr=(0,u.gn)([(0,_t.M)({name:"sports-superbowl",template:Tr,styles:Cr,shadowOptions:{delegatesFocus:!0}})],Mr);var Ir=a(11626),Lr=a(81563);pe.S,ue.a;const Fr=O.d`
    ${t=>(0,Lr.O)(t.config.childExperienceReferences.sdCardMaskWC,{properties:{cardType:"Sports",isHalfCard:"_1x_1y"===t.cardLayout,feedbackTexts:[t.strings.feedbackOption1,t.strings.feedbackOption2,t.strings.feedbackOption3]}})}
`,Or=O.d`
    <msn-actions-menu
        :referrerButton=${t=>t.actionButtonControl}
        :menuItems=${t=>t.actionMenuItems}
        :useFastAnchoredRegion=${t=>"winWidgets"!=T.jG.AppType}
    />
`,Pr=O.d`
    <fluent-button
        class=${t=>t.config.isDynamicFeed?"dynamic-feed-actions":"more-actions"}
        appearance="${t=>t.config.isDynamicFeed?"stealth":"neutral"}"
        slot="more-actions"
        tabindex="0"
        style="${t=>t.getMoreActionsStyles()}"
        @click="${(t,e)=>t.actionButtonClickHandler(e.event)}"
        @keypress="${(t,e)=>t.actionButtonClickHandler(e.event)}"
        @keyup="${(t,e)=>t.actionButtonKeyUpHandler(e.event)}"
        title="${t=>t.strings.sportsActionButton}"
        aria-label="${t=>t.strings.sportsActionButton}"
        role="button"
        ${(0,Bt.i)("actionButton")}
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.actionButton)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${Wt.Z}
    </fluent-button>
`,Ar=O.d`
    <sports-follow-icon
        role="button"
        colormode=${(t,e)=>e.parent.colormode}
        :config=${(t,e)=>e.parent.config}
        :strings=${(t,e)=>e.parent.strings}
        :telemetryObject=${(t,e)=>e.parent.telemetryObject}
        :telemetryContext=${(t,e)=>e.parent.telemetryContext}
        :followSportsCallback=${(t,e)=>e.parent.navigationListFollowSports}
        :unfollowSportsCallback=${(t,e)=>e.parent.navigationListUnfollowSports}
        :isFollowedState=${(t,e)=>e.parent.isSportsFollowed(t.id,t.yId)}
        :sportsEntity="${t=>t}"
        :index=${t=>0}
        :tabIndex=${t=>0}
        :shouldShowFollowIcon=${t=>!0}
        :grayStyle=${t=>!0}
    >
    </sports-follow-icon>
`,Er=O.d`
    <li class="${(t,e)=>e.parent.getHoverNavItemClassName(t.id)}"
        key="${t=>t.id}"
        title="${t=>t.name}"
        tabIndex="0" role="button"
        @click="${(t,e)=>e.parent.handleSportsEntityClick(e.event,t)}"
        @keyup="${(t,e)=>e.event&&"Enter"===e.event.key?e.parent.handleSportsEntityClick(e.event,t):null}"
        @keydown="${(t,e)=>e.parent.handleSportsEntityKeyDown(e.event,e)}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.navToEntity)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${(0,J.g)(((t,e)=>!(0,X.TF)(t.imageUrl)),O.d`
            <img class="sports-nav-icon"
                role="presentation"
                src="${t=>t.imageUrl}"
            />
        `)}
        <div class="sports-nav-item-title" title=${t=>t.name}>
            <span>${t=>t.name}</span>
        </div>
        ${(0,J.g)(((t,e)=>1==t.isLive),O.d`<div class="sports-live">${(t,e)=>e.parent.getLiveText()}</div>`)}
        ${(0,J.g)(((t,e)=>t.id==e.parent.selectedNavEntityId&&!e.parent.showFollowIconForHoverNav()),O.d`<div class="sports-nav-tick">${Ir.Z}</div>`)}
        ${(0,J.g)(((t,e)=>e.parent.showFollowIconForHoverNav()),Ar)}
    </li>
`,Ur=O.d`
    <li class=${t=>t.showFollowIconForHoverNav()?"sports-nav-footer nav-footer-with-follow-icon":"sports-nav-footer"}
        tabIndex="0" role="button"
        title="${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchTeamsAndLeagues}"
        ${(0,Bt.i)("sportsNavFooter")}
        @click="${(t,e)=>t.handleClickDropdownSeeMore(e.event)}"
        @keyup="${(t,e)=>e&&e.event&&"Enter"===e.event.key?t.handleClickDropdownSeeMore(e.event):null}"
        @keydown="${(t,e)=>t.handleKeydownDropdownSeeMore(e.event)}}"
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsNavSearchButton)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${ge}
        <span class="sports-nav-add">${t=>t.strings.searchSportsLeaguesAndTeams||t.strings.searchTeamsAndLeagues}</span>
    </li>
`,Nr=O.d`
    <div class="nav-list-title" title="${t=>t.strings.yourTeamsLeagues}" @click=${(t,e)=>t.ignoreClickHandler(e.event)}>${t=>t.strings.yourTeamsLeagues}</div>
    <ul class="nav-content-list followed-list">
        ${(0,Z.rx)((t=>t.getExplicitInterests()),Er)}
        ${(0,J.g)((t=>0==t.getPopularLeagues().length&&!t.config.dropDownSeeMoreOnTop),Ur)}
    </ul>
`,Hr=O.d`
    <div class="nav-list-title" title="${t=>t.strings.moreLeagues||t.strings.popularLeagues}" @click=${(t,e)=>t.ignoreClickHandler(e.event)}>${t=>t.strings.moreLeagues||t.strings.popularLeagues}</div>
    <ul class="nav-content-list popular-list">
        ${(0,Z.rx)((t=>t.getPopularLeagues()),Er)}
        ${(0,J.g)((t=>!t.config.dropDownSeeMoreOnTop),Ur)}
    </ul>
`,Gr=O.d`
    <div class="sports-nav-content" role="button" style="${t=>t.navigationListStyle}"
        @mouseenter="${(t,e)=>t.handleEntityListMouseEnter(e.event)}"
        @mouseleave="${(t,e)=>t.handleEntityListMouseLeave(e.event)}"
    >
        <div class="nav-list-scroll${t=>t.config.dropDownSeeMoreOnTop?" nav-list-seemore-top":""}" role="button" ${(0,Bt.i)("navigationList")}>
            ${(0,J.g)((t=>t.config.dropDownSeeMoreOnTop),Ur)}
            ${(0,J.g)((t=>t.getExplicitInterests().length>0),Nr)}
            ${(0,J.g)((t=>t.getPopularLeagues().length>0),Hr)}
            ${(0,J.g)((t=>0==t.getPopularLeagues().length&&0==t.getExplicitInterests().length&&!t.config.dropDownSeeMoreOnTop),Hr)}
        </div>
    </div>
`,Rr=O.d`
    ${(0,J.g)((t=>t.config.isDynamicFeed&&t.isPinned),O.d`<div slot="pin" role="img" aria-label="${t=>t.strings.pinnedWidgetText||"pinned widget"}">${he.Z}</div>`)}
`,Br=O.d`
    <div class="sports-header-container">
        <a
            class="sports-header"
            tabIndex="0"
            aria-label="${t=>t.getCardTitle()}"
            href=${t=>t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData&&t.currentSportsMatchupData.sportsMatchupCardData.cardTitleClickthroughUrl}
            target=${t=>t.getLinkClickTarget()}
            ${(0,Bt.i)("sportsHeader")}
            @keyup="${(t,e)=>t.handleSportsHeaderKeyUp(e.event)}"
            data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.header)||void 0===a?void 0:a.getMetadataTag()}}"
        >
            <div class="${t=>t.showNavList?"sports-header-nav title-nav-hover":"sports-header-nav"}"
                @mouseenter="${(t,e)=>t.handleNavigationMouseEnter(e.event)}"
                @mouseleave="${(t,e)=>t.handleNavigationMouseLeave(e.event)}"
                @focus="${(t,e)=>t.handleNavigationFocus(e.event)}"
            >
                ${(0,J.g)((t=>t.shouldShowHeaderIcon()),O.d`
                    <img class="sports-header-icon"
                        role="presentation"
                        src="${t=>t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData.cardTitleImageUrl}"
                    />
                `)}
                <div class="sports-header-title-nav">
                    <div class="${t=>t.shouldShowHeaderIcon()?"sports-header-title header-with-icon":"sports-header-title"}" title=${t=>"widget"==t.uxstyle?"":t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData&&t.currentSportsMatchupData.sportsMatchupCardData.cardTitle}>
                        ${t=>"widget"==t.uxstyle?"":t.getCardTitle()}
                    </div>
                    <div class="sports-nav-button" role="button" tabIndex="0" aria-label="${t=>t.strings.dropDownArrow||""}"
                        ${(0,Bt.i)("navigationButton")}
                        @click="${(t,e)=>t.handleNavigationClick(e.event)}"
                        @keydown="${(t,e)=>t.handleNavigationClick(e.event)}"
                        data-t="${t=>{var e;return t.telemetryContext&&(null===(e=t.telemetryContext.sportsNavButton)||void 0===e?void 0:e.getMetadataTag())}}"
                    >
                        <span class="sports-nav-arrow">${zt.Z}</span>
                    </div>
                </div>
            </div>
        </a>
        ${(0,J.g)((t=>t.showNavList),Gr)}
        ${Rr}
        ${(0,J.g)((t=>t.config.enableCardAction),Pr)}
    </div>
`,zr=O.d`
    <div class="sports-header-container">
        <a
            class="sports-header"
            target=${t=>t.getLinkClickTarget()}
            data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.header)||void 0===a?void 0:a.getMetadataTag()}}"
        >
            <div class="sports-header-title" title=${t=>t.strings.coldStartTitle}>
                ${t=>t.strings.coldStartTitle.toLocaleUpperCase()}
            </div>
        </a>
        ${(0,J.g)((t=>t.config.enableCardAction),Pr)}
    </div>
`,Wr=O.d`
    ${(0,J.g)((t=>!(t.config.enablePaginationLink&&t.enableSportsCarousel)),O.d`
        <a
            class="${t=>"widget"==t.uxStyle?"sports-footer-see-more widget-footer":"sports-footer-see-more"}
                ${t=>t.config.enableCardlessStyles?" cardless-styles":""}
                ${t=>t.useSuperDesign?" event-specific-footer":""}"
                style="${t=>t.isLeaderBoardSportsCard()?"background:":""}"
                href=${t=>t.getSeemoreUrl()}
                target=${t=>t.getLinkClickTarget()}
                title=${t=>t.getSeemoreText()}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.seeMoreLeague)||void 0===a?void 0:a.getMetadataTag()}}"
            >
                <div class="sports-footer-see-more-text
                    ${t=>t.enableSportsCarousel?" with-pagination":""}">
                    ${t=>t.getSeemoreText()}
                </div>
        </a>
    `)}
`,jr=O.d`
    ${(0,J.g)((t=>!(t.config.enablePaginationLink&&t.enableSportsCarousel)),O.d`
        <a
            class="sports-seemore-link sd-action"
            part="sd-action"
            href=${t=>t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData&&t.currentSportsMatchupData.sportsMatchupCardData.seeMoreLeagueClickthroughUrl}
            target=${t=>t.getLinkClickTarget()}
            title=${t=>t.getSeemoreText()}
            data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.seeMoreLeague)||void 0===a?void 0:a.getMetadataTag()}}"
        >
            <span class="sports-footer-see-more-text">
                ${t=>t.getSeemoreText()}
            </span>
        </a>
    `)}
`,_r=O.d`
    <div class="sports-footer-container">
        ${(0,J.g)((t=>!t.config.isDynamicFeed&&"widget"!=t.uxstyle),Wr)}
        ${(0,J.g)((t=>t.config.isDynamicFeed||"widget"==t.uxstyle),jr)}
    </div>
`,Vr=O.d`
    <div class="sports-card-content" data-t="${t=>{var e;return null===(e=t.getSportsCardContentTelemetryTag())||void 0===e?void 0:e.getMetadataTag()}}">
        ${(0,J.g)((t=>t.showCardHeader),Br)}
        ${t=>t.matchContent}
        ${(0,J.g)((t=>!t.enableSportsCarousel),_r)}
    </div>
`,qr=O.d`
    <div class=${t=>t.config.showPersonalizeEntryPoint?"sports-follow-reminder personalization-reminder":"sports-follow-reminder"}>
        <div class=${t=>t.config.showPersonalizeEntryPoint?"sports-reminder-content personalization-reminder":"sports-reminder-content"}>
            <span class=${t=>t.config.showPersonalizeEntryPoint?"sports-reminder-text personalization-reminder":"sports-reminder-text"}
                title=${t=>t.getFollowReminderText()}>
                ${t=>t.getFollowReminderText()}
            </span>
            <button class=${t=>t.config.showPersonalizeEntryPoint?"sports-reminder-close personalization-reminder":"sports-reminder-close"}
                @click=${(t,e)=>t.closeReminder(e.event)}
                @keypress="${(t,e)=>t.closeReminder(e.event)}"
                title=${t=>t.strings.closeButton}
                aria-label=${t=>t.strings.closeButton}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.reminderClose)||void 0===a?void 0:a.getMetadataTag()}}"
            >
            <svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
                <path d="M0.588591 0.715694L0.646447 0.646447C0.820013 0.47288 1.08944 0.453595 1.28431 0.588591L1.35355 0.646447L6 5.293L10.6464 0.646447C10.8417 0.451185 11.1583 0.451185 11.3536 0.646447C11.5488 0.841709 11.5488 1.15829 11.3536 1.35355L6.707 6L11.3536 10.6464C11.5271 10.82 11.5464 11.0894 11.4114 11.2843L11.3536 11.3536C11.18 11.5271 10.9106 11.5464 10.7157 11.4114L10.6464 11.3536L6 6.707L1.35355 11.3536C1.15829 11.5488 0.841709 11.5488 0.646447 11.3536C0.451185 11.1583 0.451185 10.8417 0.646447 10.6464L5.293 6L0.646447 1.35355C0.47288 1.17999 0.453595 0.910563 0.588591 0.715694L0.646447 0.646447L0.588591 0.715694Z" />
            </svg>
            </button>
        </div>
        ${(0,J.g)((t=>!t.config.showPersonalizeEntryPoint&&t.followedSuggest),O.d`
            <a class="sports-reminder-link"
                target="_blank"
                href=${t=>{var e,a;return t.followedSuggest&&t.followedSuggest.webSearchUrl||(null===(a=null===(e=t.currentSportsMatchupData)||void 0===e?void 0:e.sportsMatchupCardData)||void 0===a?void 0:a.seeMoreSportsClickthroughUrl)}}
                data-t="${t=>t.getFollowReminderTelemetry()}">
                ${t=>t.followedSuggest&&t.followedSuggest.webSearchUrl?(0,X.WU)(t.strings.seeMoreSports,t.followedSuggest.displayText||t.followedSuggest.name):t.strings.sportsCTA}
            </a>
        `)}
        ${(0,J.g)((t=>!t.config.showPersonalizeEntryPoint&&t.unfollowedSuggest),O.d`
            <span class="sports-reminder-link"
                role="button"
                tabindex="0"
                title="${t=>t.getRevertFollowTitle()}"
                aria-label="${t=>t.getRevertFollowTitle()}"
                @click=${(t,e)=>t.unfollowToastClick(e.event)}
                @keyup="${(t,e)=>e&&e.event&&"Enter"===e.event.key?t.unfollowToastClick(e.event):null}"
                data-t="${t=>t.getRevertFollowTelemetry()}">
                ${t=>t.getRevertFollowTitle()}
            </span>
        `)}
        ${(0,J.g)((t=>t.config.showPersonalizeEntryPoint),O.d`
            <a class="sports-reminder-link personalization-reminder"
                target="_blank"
                href=${t=>(0,D.rP)()}
                data-t="${t=>t.getFollowReminderTelemetry()}">
                ${t=>t.strings.sportsPersonalizationLinkDisplayText}
            </a>
        `)}
    </div>
`,Jr=O.d`
    <div class="sports-follow-reminder">
        <div class="sports-reminder-content">
            <span class="sports-reminder-text" title=${t=>t.selectedEntity&&t.strings.fetchSportsDataError&&(0,X.WU)(t.strings.fetchSportsDataError,t.selectedEntity.name||"")}>${t=>t.selectedEntity&&t.strings.fetchSportsDataError&&(0,X.WU)(t.strings.fetchSportsDataError,t.selectedEntity.name||"")}</span>
            <button class="sports-reminder-close"
                @click=${(t,e)=>t.closeErrorReminder(e.event)}
                @keypress="${(t,e)=>t.closeErrorReminder(e.event)}"
                title=${t=>t.strings.closeButton}
                aria-label=${t=>t.strings.closeButton}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.reminderClose)||void 0===a?void 0:a.getMetadataTag()}}"
            >
                <svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
                    <path d="M0.588591 0.715694L0.646447 0.646447C0.820013 0.47288 1.08944 0.453595 1.28431 0.588591L1.35355 0.646447L6 5.293L10.6464 0.646447C10.8417 0.451185 11.1583 0.451185 11.3536 0.646447C11.5488 0.841709 11.5488 1.15829 11.3536 1.35355L6.707 6L11.3536 10.6464C11.5271 10.82 11.5464 11.0894 11.4114 11.2843L11.3536 11.3536C11.18 11.5271 10.9106 11.5464 10.7157 11.4114L10.6464 11.3536L6 6.707L1.35355 11.3536C1.15829 11.5488 0.841709 11.5488 0.646447 11.3536C0.451185 11.1583 0.451185 10.8417 0.646447 10.6464L5.293 6L0.646447 1.35355C0.47288 1.17999 0.453595 0.910563 0.588591 0.715694L0.646447 0.646447L0.588591 0.715694Z" />
                </svg>
            </button>
        </div>
    </div>
`,Zr=O.d`
    ${(0,J.g)((t=>t.sportsViewMode==at._4.Settings),O.d`
        <fluent-design-system-provider
            style="padding: 0; width: 100%; height: 100%; margin: 0;"
            fill-color=${t=>t.isDarkMode?"#242424":null}
        >
            <div class="sports-wc">
                ${t=>t.searchSuggestion}
            </div>
        </fluent-design-system-provider>
    `)}
    ${(0,J.g)((t=>t.sportsViewMode==at._4.Default),O.d`
        <fluent-design-system-provider
            neutral-base-color="${t=>t.neutralBaseColor}"
            style="padding: 0; width: 100%; height: 100%; margin: 0;"
            fill-color=${t=>t.isDarkMode?"#242424":null}
        >
            <div class="${t=>t.getSportsCardClassName()}"
                style="${t=>t.teamColorGradientBackgrdStyle}"
                href=${t=>t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData&&t.currentSportsMatchupData.sportsMatchupCardData.cardTitleClickthroughUrl}
                @click="${(t,e)=>t.cardClickHandler&&t.cardClickHandler(e.event)}"
                @keypress="${(t,e)=>t.cardKeydownHandler&&t.cardKeydownHandler(e.event)}"
                target=${t=>t.getLinkClickTarget()}
                data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsCard)||void 0===a?void 0:a.getMetadataTag()}}"
            >
                ${(0,J.g)((t=>!t.sportsViewMode||t.sportsViewMode==at._4.Default),O.d`
                    ${Vr}
                `)}
            </div>
            ${(0,J.g)((t=>t.isGA&&t.config&&t.config.childExperienceReferences&&t.config.childExperienceReferences.sdCardMaskWC),Fr)}
            ${(0,J.g)((t=>t.isShowReminder&&!(0,X.TF)(t.getFollowReminderText())),qr)}
            ${(0,J.g)((t=>t.isShowDataErrorReminder),Jr)}
            ${(0,J.g)((t=>t.showHideReminder&&!t.showHidePopup),(t=>t.hideReminderView))}
        </fluent-design-system-provider>
    `)}
    ${(0,J.g)((t=>t.sportsViewMode==at._4.ColdStart),O.d`
        <div class="sports-match-card with-pagination sports-cold-start" data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.freExperience)||void 0===a?void 0:a.getMetadataTag()}}">
            ${zr}
            ${t=>t.coldStartView}
        </div>
    `)}
    ${(0,J.g)((t=>t.isActionMenuOpen),(t=>t.actionMenu))}
    ${(0,J.g)((t=>t.showHidePopup&&!t.showHideReminder),(t=>t.hidePopupView))}
    ${(0,J.g)((t=>t.showFeedback),(t=>t.feedbackView))}
`,Xr=O.d`
    <div class="${t=>t.getSportsCardClassName()}"
        style="${t=>t.config.isDynamicFeed?"":t.teamColorGradientBackgrdStyle}"
        @click="${(t,e)=>t.cardClickHandler&&t.cardClickHandler(e.event)}"
        @keypress="${(t,e)=>t.cardKeydownHandler&&t.cardKeydownHandler(e.event)}"
        target=${t=>t.getLinkClickTarget()}
        data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.sportsCard)||void 0===a?void 0:a.getMetadataTag()}}"
    >
        ${(0,J.g)((t=>!t.sportsViewMode||t.sportsViewMode==at._4.Default),O.d`
            ${Vr}
        `)}
    </div>
    ${(0,J.g)((t=>t.isGA&&t.config&&t.config.childExperienceReferences&&t.config.childExperienceReferences.sdCardMaskWC),Fr)}
    ${(0,J.g)((t=>t.isActionMenuOpen),(t=>t.actionMenu))}
`,Yr=O.d`
    ${(0,J.g)((t=>t.sportsViewMode==at._4.ColdStart),O.d`
        <div class="sports-match-card with-pagination" data-t="${t=>{var e,a;return null===(a=null===(e=t.telemetryContext)||void 0===e?void 0:e.freExperience)||void 0===a?void 0:a.getMetadataTag()}}">
            ${zr}
            ${t=>t.coldStartView}
        </div>
    `)}
    ${(0,J.g)((t=>t.isActionMenuOpen),Or)}
`,Kr=O.d`
    ${(0,J.g)((t=>t.sportsViewMode==at._4.Default),O.d`
        <fluent-design-system-provider
            id="SportsCardSD"
            neutral-base-color="${t=>t.neutralBaseColor}"
            style="padding: 0; width: 100%; height: 100%; margin: 0;"
        >
            <msft-structured-data-card
                class="${t=>t.sdTemplateClassName}"
                target=${t=>t.getLinkClickTarget()}
                ?pinned="${t=>t.isPinned}"
                :data=${t=>t.sdCardData}
                :headerTelemetryTag=${t=>t.telemetryContext&&t.telemetryContext.header.getMetadataTag()}
                :seeMoreTelemetryTag=${t=>t.telemetryContext&&t.telemetryContext.seeMoreLeague.getMetadataTag()}
                style="${t=>t.teamColorGradientBackgrdStyle}"
            >
                ${(0,J.g)((t=>t.shouldShowHeaderIcon()),O.d`
                    <div slot="title-icon">
                        <img role="presentation"
                            src="${t=>(0,ft.Sb)(t.currentSportsMatchupData&&t.currentSportsMatchupData.sportsMatchupCardData.cardTitleImageUrl,16,16)}"
                        />
                    </div>
                `)}
                ${(0,J.g)((t=>!t.shouldShowHeaderIcon()),O.d`<div slot="title-icon">${me}</div>`)}
                ${(0,J.g)((t=>t.config.enableCardAction),O.d`
                    ${Rr}
                    ${Pr}
                `)}
                ${(0,J.g)((t=>t.showNavList),Gr)}
                ${Xr}
            </msft-structured-data-card>
            ${(0,J.g)((t=>t.isShowReminder),qr)}
            ${(0,J.g)((t=>t.isShowDataErrorReminder),Jr)}
        </fluent-design-system-provider>
    `)}
    ${(0,J.g)((t=>t.sportsViewMode==at._4.ColdStart),O.d`
        <msft-structured-data-card
            class="sd-card-template ${t=>t.sportsCardLayout}"
            target=${t=>t.getLinkClickTarget()}
            ?pinned="${t=>t.isPinned}"
            :data=${t=>t.sdCardData}
            :headerTelemetryTag=${t=>t.telemetryContext&&t.telemetryContext.header.getMetadataTag()}
            :seeMoreTelemetryTag=${t=>t.telemetryContext&&t.telemetryContext.seeMoreLeague.getMetadataTag()}
        >
            ${(0,J.g)((t=>t.config.enableCardAction),O.d`
                ${Pr}
            `)}
            ${Yr}
        </msft-structured-data-card>
    `)}
    ${(0,J.g)((t=>t.sportsViewMode==at._4.Settings),O.d`
        ${(0,J.g)((t=>t.sportsCardLayout==m.J4.Small),O.d`
            <div class="sd-card-template-setting ${t=>t.sportsCardLayout}">
                ${t=>t.searchSuggestion}
            </div>
        `)}
        ${(0,J.g)((t=>t.sportsCardLayout!=m.J4.Small),O.d`
            <msft-structured-data-card
                class="sd-card-template-setting ${t=>t.sportsCardLayout}"
                ?pinned="${t=>t.isPinned}"
                :data=${t=>t.sdCardData}
            >
                <div slot="title-icon">${me}</div>
                ${Rr}
                ${(0,J.g)((t=>t.config.enableCardAction),O.d`
                    ${Pr}
                `)}
                ${t=>t.searchSuggestion}
            </msft-structured-data-card>
        `)}
    `)}
`,Qr=O.d`
    ${(0,J.g)((t=>t.config.isDynamicFeed),Kr)}
    ${(0,J.g)((t=>!t.config.isDynamicFeed),Zr)}
`,ts={experienceConfigSchema:d}},93698:function(t,e,a){"use strict";a.d(e,{$:function(){return d}});var i=a(33940),r=a(33954),s=a(21050),n=a(12884),o=a(33379),l=a(58155);class d{constructor(){this.idb=(0,n.bs)()}get supported(){return!!this.idb||((0,o.N)()&&r.k&&r.k.log("window.indexedDB is not supported."),!1)}get isCachingAllowed(){const t=(0,n.zp)();if(t){const e=l.c.getQueryParameterByName("enableIndexedDbOperation",t);if(e)return"true"===e.toLocaleLowerCase()}return!0}get isGetAllAllowed(){const t=(0,n.zp)();if(t){const e=l.c.getQueryParameterByName("allowGetAllOverCursor",t);if(e)return"true"===e.toLocaleLowerCase()}return!(!IDBObjectStore.prototype||!IDBObjectStore.prototype.getAll)}_setIndexedDb(t){this.idb=t}_getIdbPromise(){return this.idbPromise}getObject(t){return(0,i.mG)(this,void 0,void 0,(function*(){let e;return yield this.withIdbStore("readonly","getObject",(a=>{e=a.get(t)})),e.result}))}getAll(){return(0,i.mG)(this,void 0,void 0,(function*(){let t;return yield this.withIdbStore("readonly","getAll",(e=>{t=e.getAll()})),t.result}))}getAllObjects(){return(0,i.mG)(this,void 0,void 0,(function*(){if(this.isGetAllAllowed)return this.getAll();const t=[];return yield this.withIdbStore("readonly","getAllObjects",(e=>{e.openCursor().onsuccess=function(e){const a=e.target&&e.target.result?e.target.result:void 0;a&&a.value&&(t.push(a.value),a.continue())}})),t}))}setObject(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.withIdbStore("readwrite","setObject",(a=>{a.put(e,t)}))}))}removeObject(t){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.withIdbStore("readwrite","removeObject",(e=>{e.delete(t)}))}))}clearObjects(){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.withIdbStore("readwrite","clearObjects",(t=>{t.clear()}))}))}initializeIndexedDb(t=1,e="Default",a="MicrosoftNews",r=null){return(0,i.mG)(this,void 0,void 0,(function*(){this.storeName=e,this.perfTimeline=(0,s.oA)(`IndexedDB-${e}`,e),this.idbPromise=r||new Promise(((i,r)=>{const s=this.perfTimeline&&this.perfTimeline.startMeasure("open").endMeasure,n=this.idb.open(a,t);n.onerror=()=>{s&&s("error"),r(n.error)},n.onsuccess=()=>{s&&s(),i(n.result)},n.onupgradeneeded=()=>{n.result.createObjectStore(e)}}))}))}withIdbStore(t,e,a){return(0,i.mG)(this,void 0,void 0,(function*(){return this.idbPromise.then((i=>new Promise(((r,s)=>{const n=this.perfTimeline&&this.perfTimeline.startMeasure(e).endMeasure,o=i.transaction(this.storeName,t);o.oncomplete=()=>{n&&n(),r()},o.onabort=o.onerror=()=>s(o.error),a(o.objectStore(this.storeName))}))))}))}}},79703:function(t,e,a){"use strict";a.d(e,{$:function(){return s}});var i,r=a(19628);!function(t){t[t.Default=0]="Default",t[t.Medium=1]="Medium",t[t.MonthDate=2]="MonthDate",t[t.Weekday=3]="Weekday",t[t.Time=4]="Time"}(i||(i={}));class s{constructor(){this.dateFormatOptionsMap=new Map,this.setSupportsLocaleSpecifiers(),this.dateFormatOptionsMap.set(i.Medium,{year:"numeric",month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(i.MonthDate,{month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(i.Weekday,{weekday:"short"}),this.dateFormatOptionsMap.set(i.Time,{hour:"numeric",minute:"numeric"})}overrideDateFormat(t,e){t&&e&&this.dateFormatOptionsMap.set(t,e)}localizedDateString(t,e){return this.formatDate(t,i.Default,e)}localizedDateStringMedium(t,e){return this.formatDate(t,i.Medium,e)}localizedMonthDate(t,e){return this.formatDate(t,i.MonthDate,e)}localizedWeekday(t,e){return this.formatDate(t,i.Weekday,e)}formatTimeFromDate(t,e){return this.supportsLocaleSpecifiers&&this.dateFormatOptionsMap?t.toLocaleTimeString(e,this.dateFormatOptionsMap.get(i.Time)):t.toTimeString()}format(t,...e){return t?r.Ld.Format(t,...e):""}localizedNumberString(t,e){return this.supportsLocaleSpecifiers?t.toLocaleString(e):t.toString()}formatDate(t,e,a){let r=null;if(this.supportsLocaleSpecifiers)if(e===i.Default)r=t.toLocaleDateString(a);else if(this.dateFormatOptionsMap){const i=this.dateFormatOptionsMap.get(e);r=t.toLocaleDateString(a,i)}return null===r&&(r=t.toDateString()),null!==r?r.replace(/\u200E/g,"").replace(/\u200F/g,""):r}setSupportsLocaleSpecifiers(){this.supportsLocaleSpecifiers=(()=>{try{(0).toLocaleString("i")}catch(t){return"RangeError"===t.name}return!1})()}}},49088:function(t,e,a){"use strict";function i(t){return!t||!function(t){if(!t)return t;if(t.trim)return t.trim();return t.replace(/^\s+|\s+$/g,"")}(t)}a.d(e,{T:function(){return i}})},30113:function(t,e,a){"use strict";var i;a.d(e,{m:function(){return i}}),function(t){t.small="OneByOne",t.medium="OneByTwo",t.large="OneByThree"}(i||(i={}))},11708:function(t,e,a){"use strict";var i;a.d(e,{f:function(){return i}}),function(t){t.AiCharacter="aicharacterCardEnabled",t.AutosMarketplaceCard="autosmarketplaceCardEnabled",t.HoroscopeCard="horoscopeCardEnabled",t.WeatherCard="weatherCardEnabled",t.SportsCard="sportsCardEnabled",t.MoneyCard="moneyCardEnabled",t.FinanceCard="financeCardEnabled",t.OnThisDayCard="onthisdayCardEnabled",t.ShoppingCard="shoppingCardEnabled",t.ShoppingEventCard="eventSDCardShoppingEnabled",t.TrafficCard="trafficCardEnabled",t.EsportsCard="esportsCardEnabled",t.EsportsStreamsCard="esportsStreamsCardEnabled",t.ElectionsCard="genericelectionCardEnabled",t.LotteryCard="lotteryCardEnabled",t.QnaCard="qnaCardEnabled",t.RecipesCard="recipeCardEnabled",t.InspirationCard="inspirationCardEnabled",t.TravelCard="travelCardEnabled",t.HealthCard="healthCardEnabled",t.TopStoriesCard="topstoriesCardEnabled",t.TrendingTopics="TrendingTopicsUpsellEnabled",t.LocalGuideCard="localGuideCardEnabled",t.GroceryCard="groceryCardEnabled",t.RewardsCard="rewardsCardEnabled",t.RecommendedSearchesCard="recommendedSearchesCardEnabled",t.PersonalizedOffersCard="personalizedoffersCardEnabled",t.PollsCard="pollsCardEnabled",t.MarketPlaceCard="marketplaceCardEnabled",t.QuizCard="quizCardEnabled",t.CasualGamesCard="esportsCardEnabled",t.CommuteCard="commuteCardEnabled",t.Crypto="CryptoCard",t.MarketBrief="MarketBriefCard"}(i||(i={}))},83152:function(t,e,a){"use strict";var i;a.d(e,{L:function(){return i}}),function(t){t.Location="Location",t.Weather="Weather",t.Finance="Finance",t.Team="Team",t.League="League",t.Player="Player",t.Traffic="Traffic",t.Widget="Widget",t.TopicFeed="TopicFeed"}(i||(i={}))},791:function(t,e,a){"use strict";a.d(e,{N:function(){return w}});var i=a(33940),r=a(33954),s=a(26415),n=a(68364),o=a(33799),l=a(16517),d=a(94788),c=a(67267),p=a(63535),h=a(87298),u=a(83152),g=a(11708),m=a(30113),v=a(65135),f=a(33379),y=a(51671);const w=new class extends class{constructor(t){this.fetchImpl=t,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},a=(0,p.PH)(this.locationsServiceEndPoint);let r;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:t&&`${t}`}].forEach((t=>{t.value&&a.searchParams.set(t.key,t.value)}));try{r=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(a.href,e);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: getUserDefaultLocation}`;throw new Error(e)}return t}))),"getUserDefaultLocation")}catch(t){return r}return r}))}addToFavoriteLocation(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){const a="Location",r="Follow",s={method:"POST",body:JSON.stringify({actionType:r,targetType:a,definitionName:e,degree:"FavoriteLocation",metaData:t}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,p.PH)(this.pdpServiceEndpoint);let d;((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&n.searchParams.set(t.key,t.value)}));try{d=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(n.href,s);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: Location`;throw new Error(e)}return t.json()}))),"addToFavoriteLocation")}catch(t){return!1}return!0}))}removeFavoriteLocation(t){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(u.L.Location,"definitionName",[t])}))}removeLocation(t){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(u.L.Location,"definitionName",[t])}))}updatePdpHomeLocation(t,e,a={},r){return(0,i.mG)(this,void 0,void 0,(function*(){const s=u.L.Location,n="Follow",d=yield this.getRequestInit({method:"POST"},a);d.body=JSON.stringify({actionType:n,targetType:s,definitionName:e,degree:"DefaultLocation",metaData:t});const g=(0,p.PH)(this.pdpServiceEndpoint);return((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&g.searchParams.set(t.key,t.value)})),yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(g.href,d);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${s}`;throw new Error(e)}return t}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(s),!0}))}updateTrafficMyRoutes(t,e,a,s,n,o){return(0,i.mG)(this,void 0,void 0,(function*(){const l=a.replace(/[^a-zA-Z0-9\-.,_]/g,""),d=u.L.Traffic,p="Follow",g={method:"POST",body:JSON.stringify({actionType:p,targetType:d,targetId:l,degree:t,definitionName:e,metadata:s,createdDateTime:o}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},m=yield this.getTrafficPdpUrl(null,null,n);try{yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(m.href,g);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${d}`;throw new Error(e)}return t.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(d)}catch(t){return r.k.logError(t.message),!1}return!0}))}deleteTrafficMyRoutes(t,e,a){return(0,i.mG)(this,void 0,void 0,(function*(){const r={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},s=yield this.getTrafficPdpUrl(t,e,a);try{yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(s.href,r);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${u.L.Traffic}`;throw new Error(e)}return t}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(u.L.Traffic)}catch(t){return!1}return!0}))}getTrafficMyRoutes(t,e){var a;return(0,i.mG)(this,void 0,void 0,(function*(){const r={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},s=yield this.getTrafficPdpUrl(t,null,e);try{const t=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(s.href,r);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${u.L.Traffic}`;throw new Error(e)}return t}))),"getTrafficFromPdp");return null===(a=yield t.json())||void 0===a?void 0:a.value}catch(t){return null}}))}getTrafficPdpUrl(t,e,a){return(0,i.mG)(this,void 0,void 0,(function*(){const i=(0,p.PH)(this.pdpServiceEndpoint),r=(yield(0,y.XJ)())===o.Hy.SignedIn,s=(0,l.Yq)().UserId,n=r?c.$.getOneServiceParamsWithAuth(s,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(s,this.ocid,!this.ocidOverride);if(t||e){const a=`targetType eq '${u.L.Traffic}'`,r=t?`degree eq '${t}'`:"",s=e?`definitionName eq '${e}'`:"";i.searchParams.set("$filter",`actionType eq 'Follow' and (${a})${r?` and (${r})`:""}${s?` and (${s})`:""}`)}return[...n,...a||[]].forEach((t=>{t.value&&i.searchParams.set(t.key,t.value)})),i}))}addToWatchList(t,e=0,a={},r={}){return(0,i.mG)(this,void 0,void 0,(function*(){const s=u.L.Finance,n="Follow",d={method:"POST",body:JSON.stringify({actionType:n,targetType:s,targetId:t,metadata:Object.assign({securityType:e,tickerId:this.generateUUID()},r)}),headers:yield this.getOneserviceHeaders(a),credentials:"include"},g=(0,p.PH)(this.pdpServiceEndpoint),m="zh-cn"!==(0,l.Yq)().CurrentMarket;let v;((yield(0,y.XJ)())===o.Hy.SignedIn&&m?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&g.searchParams.set(t.key,t.value)}));try{v=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(g.href,d);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${s}`;throw new Error(e)}return t.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(s)}catch(t){return!1}return!0}))}addListToWatchList(t,e={},a={}){return(0,i.mG)(this,void 0,void 0,(function*(){const r=u.L.Finance,s="Follow",n={method:"POST",body:JSON.stringify(t.map((t=>({actionType:s,targetType:r,targetId:t.key,metadata:Object.assign({securityType:t.value,tickerId:this.generateUUID()},a)})))),headers:yield this.getOneserviceHeaders(e),credentials:"include"},d=(0,p.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,l.Yq)().CurrentMarket;let m;((yield(0,y.XJ)())===o.Hy.SignedIn&&g?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&d.searchParams.set(t.key,t.value)}));try{m=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(d.href,n);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${r}`;throw new Error(e)}return t.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(r)}catch(t){return!1}return!0}))}generateUUID(){let t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const a=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?a:3&a|8).toString(16)}))}sortWatchList(t,e={}){var a;return(0,i.mG)(this,void 0,void 0,(function*(){const r=u.L.Finance,s="Follow",n=yield w.readPdpWithTargetType(u.L.Finance,!0,200,e),d=n&&(null===(a=n.value)||void 0===a?void 0:a.filter((t=>t.actionType===s&&t.targetId)));if(!d||d.length<t.length)return!1;const g={};let m=t.length;d.forEach((e=>{let a=t.findIndex((t=>t===e.targetId));a<0&&(a=m,m++),g[e.targetId]=JSON.stringify({actionType:s,targetId:e.targetId,targetType:r,rank:a,metadata:e.metadata})}));const v={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(e),credentials:"include"},f=(0,p.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&f.searchParams.set(t.key,t.value)}));try{yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(f.href,v);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for actionType: Follow, targetType: ${r}`;throw new Error(e)}return t.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(u.L.Finance)}catch(t){return!1}return!0}))}updateWeatherInterests(t,e,a,s={},n){return(0,i.mG)(this,void 0,void 0,(function*(){const e=u.L.Weather,i={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:e,targetId:t,metadata:{UserAction:{0:{UpdateTime:new Date,Location:a}}}}),headers:yield this.getOneserviceHeaders(s),credentials:"include"},d=(0,p.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&d.searchParams.set(t.key,t.value)}));try{const t=yield this.fetchImpl(d.href,i);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for update weather interests call`;throw new Error(e)}}catch(t){return r.k.logError(t.message),!1}return!0}))}updateWeatherSettings(t,e,a={},r){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t&&!e)return!0;let i="";i=t&&!e?'{"weatherDisplayUnit":"'+t+'"}':!t&&e?'{"userSettings":{"weatherLocationSettingMode":"'+e+'"}}':'{"weatherDisplayUnit":"'+t+'","userSettings":{"weatherLocationSettingMode":"'+e+'"}}';const s=yield this.getRequestInit({method:"POST"},a);s.body=i;const n=(0,p.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&n.searchParams.set(t.key,t.value)}));const d=yield this.fetchImpl(n.href,s);if(d.status>=400){const t=`OneService returned error response. Status: ${d.status} for update weather setting call`;throw new Error(t)}return!0}))}updateFinanceInterests(t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t)return!1;const e={financeInterests:t},a=JSON.stringify(e),i=yield this.getRequestInit({method:"POST"});i.body=a;const r=(0,p.PH)(this.userUpdateEndpoint),s="zh-cn"!==(0,l.Yq)().CurrentMarket;((yield(0,y.XJ)())===o.Hy.SignedIn&&s?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&r.searchParams.set(t.key,t.value)}));const n=yield this.fetchImpl(r.href,i);if(n.status>=400){const t=`OneService returned error response. Status: ${n.status} for update finance interests call`;throw new Error(t)}return!0}))}updateUserSettings(t,e={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t)return!0;const i=[];let s;for(s in t)null!=t[s]&&i.push('"'+s+'": '+JSON.stringify(t[s]));const n='{"userSettings":{'+i.join(", ")+"}}",d=yield this.getRequestInit({method:"POST"},e);d.body=n;const h=(0,p.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&h.searchParams.set(t.key,t.value)}));try{const t=yield this.fetchImpl(h.href,d);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for update weather setting call`;throw new Error(e)}}catch(t){return r.k.logError(t.message),!1}return!0}))}getPdpUserPreference(t,e={},a){return(0,i.mG)(this,void 0,void 0,(function*(){const s=yield this.getRequestInit({method:"GET"},e),n=(0,p.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(a||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(a||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((t=>{t.value&&n.searchParams.set(t.key,t.value)}));try{const t=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(n.href,s);if(!t.ok){if(t.status>=400&&t.status<500&&408!=t.status)return t;throw Error(t.statusText)}return t}))),"readPDPData");if(!t.ok&&404!=t.status)throw Error(`code=${t.status}, ${t.statusText}`);return Object.assign(Object.assign({},yield t.json()),{is404:404==t.status})}catch(e){if(r.k.logError(e.message),t)throw Error(e.message);return null}}))}updatePdpLayoutPreference(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:t}})},a=(0,p.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&a.searchParams.set(t.key,t.value)}));try{const t=yield this.fetchImpl(a.href,e);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for update layout preference setting call`;throw new Error(e)}}catch(t){return r.k.logError(t.message),!1}return!0}))}updateSegmentCardsEnableStatus(t,e=null){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t&&!t.length)return!0;const a=[];if(e){let t;for(t in e)null!=e[t]&&a.push('"'+t+'": '+JSON.stringify(e[t]))}const i=t.map((t=>t.cardType!=g.f.TopStoriesCard?`\\"${t.cardType}\\":${t.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),r=a.length>0?'{"segmentCardSettings":"{'+i+'}","userSettings":{'+a.join(", ")+"}}":'{"segmentCardSettings":"{'+i+'}"}';return this.updateUserPreference(r)}))}updateProductivityCardsEnableStatus(t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t&&!t.length)return!0;const e=`{userSettings:{enterpriseCardsEnabled:"{${t.map((t=>`\\"is${t.cardType}Enabled\\":${t.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(e)}))}updateGamingCardsEnableStatus(t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t&&!t.length)return!0;const e=`{userSettings:{gamingCards:"{${t.map((t=>`\\"is${t.cardType}Enabled\\":${t.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(e)}))}updateCommunitySettingsOptOutStatus(t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t&&!t.length)return!0;const e={};t.forEach((t=>{e[t.settingType]=t.optedOut?"1":"0"}));const a={communitySettings:e};return this.updateUserPreference(JSON.stringify(a))}))}updateWidgetSettings(t,e={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t)return!1;const i=t.map((t=>({actionType:"Follow",targetId:t.cardType,targetType:u.L.Widget,metadata:{prongsv2:{region:t.region,size:m.m[t.size],position:t.position}}})));return this.sendGenericActionRequest({additionalHeaders:e,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:a})}))}muteWidget(t,e={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t||!t.length)return!1;const i=t.map((t=>({actionType:"Mute",targetId:t,targetType:u.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:e,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:a})}))}disableSpotlightCard(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t)return!1;const a={actionType:"Disabled",definitionName:t,targetType:u.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:e})}))}enableSpotlightCard(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){return!!t&&(yield this.deleteFromPdp(u.L.TopicFeed,"definitionName",[t],{},void 0,"Disabled",e))}))}sendGenericActionRequest(t){return(0,i.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:e,additionalParams:a,endpoint:r,method:s,payload:n,appError:d}=t;if(!r||!s)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),d),!1;const u=(0,p.PH)(r);let g;((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&u.searchParams.set(t.key,t.value)})),a&&a.forEach((t=>{t.value&&u.searchParams.set(t.key,t.value)}));try{JSON.parse(n),g=n}catch(t){g=JSON.stringify(n)}const m={method:s,body:g,headers:yield this.getOneserviceHeaders(e),credentials:"include"},v="GET"==s;try{return yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(u.href,m);if(t.status>=400){const e=`OneService returned error response. Status: ${t.status} for payload: ${n}`;throw new Error(e)}return!v||(yield t.json())}))),"sendActions")}catch(t){return this.logError(t,d),!1}}))}getUserActions(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e=[{key:"actionType",value:t}],a=yield this.sendGenericActionRequest({additionalParams:e,endpoint:this.userActionServiceEndPoint,method:"GET"});return a&&a.value}))}setUserAction(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){return!!(yield this.sendGenericActionRequest({endpoint:this.userActionServiceEndPoint,method:"POST",payload:Object.assign({actionType:t},e)}))}))}deleteUserAction(t,e){return(0,i.mG)(this,void 0,void 0,(function*(){const a=[{key:"actionType",value:t},{key:"targetId",value:e.targetId},{key:"definitionName",value:e.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:a,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"POST"});e.body=t;const a=(0,p.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&a.searchParams.set(t.key,t.value)}));try{const i=yield this.fetchImpl(a.href,e);if(i.status>=400){const e=`OneService returned error response while updating user preference. Status: ${i.status}, payload: ${t}`;throw new Error(e)}}catch(t){return!1}return!0}))}setPdpTargetTypesForBulkLoad(t){t&&t.length&&!this.bulkGraphActionTargetTypes&&(this.bulkGraphActionTargetTypes=t)}readPdpWithTargetType(t,e=!1,a,r={},n=!0,o=[]){return(0,i.mG)(this,void 0,void 0,(function*(){if(n){const e=yield this.getFromWebWorker(t);if(e)return e}if(this.bulkGraphActionTargetTypes&&this.bulkGraphActionTargetTypes.length)if(this.bulkGraphActionTargetTypes.indexOf(t)>=0){this.bulkGraphActionResultCache=this.bulkGraphActionResultCache||(yield this.bulkGraphActionPromise||(this.bulkGraphActionPromise=this.fetchPdpWithTargetTypes(this.bulkGraphActionTargetTypes,e,a,r,o)));const i=this.bulkGraphActionResultCache.get(t);if(i)return{value:i}}else v.M0.sendAppErrorEvent(Object.assign(Object.assign({},s.srQ),{message:`Received an unknown target type "${t}" that was not in the bulk graph action target types list "${this.bulkGraphActionTargetTypes}". Falling back to new network call. Please update the EntryPoint config's "graphActionsToBulkLoad" property to include this type.`}));const i=(yield this.fetchPdpWithTargetTypes([t],e,a,r,o)).get(t);if(i)return{value:i}}))}deleteFromPdp(t,e,a,r={},s,n="Follow",d,u=[]){return(0,i.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(r),credentials:"include"},m=(0,p.PH)(this.pdpServiceEndpoint),f=(yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),w=`targetType eq '${t}'`,b=a.map((t=>`${e} eq '${t}'`)).join(" or ");let S=`actionType eq '${n}' and (${b}) and (${w})`;s&&(S+=` and (degree eq '${s}')`),m.searchParams.set("$filter",S),[...f,...u].forEach((t=>{t.value&&m.searchParams.set(t.key,t.value)}));try{yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(m.href,g);if(e.status>=400){const a=`OneService returned error response. Status: ${e.status} for actionType: ${n}, targetType: ${t}`;throw new Error(a)}return e}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(t)}catch(t){return d&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},d),{pb:Object.assign(Object.assign({},d.pb),{actionType:n,error:t.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(t){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(t)}fetchPdpWithTargetTypes(t,e=!1,a,r={},s=[]){return(0,i.mG)(this,void 0,void 0,(function*(){if(!t.length)return new Map;const n=t.map((t=>`targetType eq '${t}'`)).join(" or "),d=[{key:"$top",value:`${a=a||10*t.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${n})`}],u=yield this.getRequestInit({method:"GET"},r);!0===e&&(u.cache="no-store");const g=(0,p.PH)(this.pdpServiceEndpoint);[...d,...(yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...s].forEach((t=>{t.value&&g.searchParams.set(t.key,t.value)}));const m=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(g.href,u);if(!t.ok){if(t.status>=400&&t.status<500&&408!=t.status)return t;throw Error(t.statusText)}return t}))),"readPDPData");if(!m.ok)throw Error(`code=${m.status}, ${m.statusText}`);const v=new Map,f=yield m.json();if(!f)return v;if(f.value)for(const t of f.value){let e=v.get(t.targetType);e||v.set(t.targetType,e=[]),e.push(t)}for(const e of t)v.get(e)||v.set(e,[]);return v}))}updateMarketPreference(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:t}})},a=(0,p.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&a.searchParams.set(t.key,t.value)}));try{const t=yield this.fetchImpl(a.href,e);if(!t.ok)throw new Error(`Failed to update market preference: Status: ${t.status}`);return!0}catch(t){return r.k.logError(t.message),!1}}))}getFromWebWorker(t){return(0,i.mG)(this,void 0,void 0,(function*(){let e=null;if(d.yb){const a=this.maptoWebWorkerId(t);if(a&&a.trim()){const a=yield(0,d.ot)({id:this.maptoWebWorkerId(t)});a.fetched&&(e=a.payload)}}return e}))}maptoWebWorkerId(t){switch(t){case u.L.Location:return"weatherpdp";case u.L.League:return"sportsleaguepdp";case u.L.Player:return"sportsplayerpdp";case u.L.Team:return"sportsteampdp";case u.L.Finance:return"moneypdp";default:return""}}getRequestInit(t={method:"GET"},e={}){return(0,i.mG)(this,void 0,void 0,(function*(){const a=yield c.$.getOneServiceHeaders();return t.headers=Object.assign(Object.assign({},a),e),t.credentials="include",t}))}getOneserviceHeaders(t={}){return(0,i.mG)(this,void 0,void 0,(function*(){const e=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},e),t)}))}getFollowedLists(){return(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"GET"}),e=(0,p.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((t=>{t.value&&e.searchParams.set(t.key,t.value)}));try{const a=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const a=yield this.fetchImpl(e.href,t);if(!a.ok){if(a.status>=400&&a.status<500&&408!=a.status)return a;(0,n.OO)(null,s.G9t,"Error get followed list")}return a}))),"getFollowedLists");return a.ok||(0,n.OO)(null,s.G9t,"Error get followed list"),yield a.json()}catch(t){return r.k.logError(t.message),null}}))}addToFollowedLists(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e=u.L.Finance,a={method:"POST",body:JSON.stringify({financeListIds:t}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},r=(0,p.PH)(this.userUpdateEndpoint);let s;((yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((t=>{t.value&&r.searchParams.set(t.key,t.value)}));try{s=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(r.href,a);if(t.status>=400){const a=`OneService returned error response. Status: ${t.status} for actionType: FollowList, targetType: ${e}`;throw new Error(a)}return t.json()}))),"addToFollowedLists")}catch(t){return!1}return!0}))}deleteFromFollowedLists(t){return(0,i.mG)(this,void 0,void 0,(function*(){const e=u.L.Finance,a={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},r=(0,p.PH)(this.userUpdateEndpoint);let s;[...(yield(0,y.XJ)())===o.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:t.toString()}]].forEach((t=>{t.value&&r.searchParams.set(t.key,t.value)}));try{s=yield(0,h.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(r.href,a);if(t.status>=400){const a=`OneService returned error response. Status: ${t.status} for actionType: UnFollowList, targetType: ${e}`;throw new Error(a)}return t.json()}))),"deleteFromFollowedLists")}catch(t){return!1}return!0}))}logError(t,e){e?v.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{pb:Object.assign(Object.assign({},e.pb),{error:t.message})})):r.k.logError(t.message)}}{constructor(){super((0,f.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===l.jG.AppType||"newsAndInterests"===l.jG.AppType||"winWidgets"===l.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===l.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===l.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===l.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===l.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},96345:function(t,e,a){"use strict";a.d(e,{$x:function(){return s},Ef:function(){return l},Ei:function(){return h},FM:function(){return o},SP:function(){return u},_k:function(){return p},_u:function(){return n},c6:function(){return m},dP:function(){return f},gR:function(){return c},o9:function(){return d},pQ:function(){return v},v_:function(){return g}});var i=a(17157);function r(t,e){(0,i.dw)("navigate",t,e)}function s(t){return new Promise(((e,a)=>{r(t,(t=>{e(t)}))}))}function n(t,e){r(t,e)}function o(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("getHttp",t,e)}(t,(t=>{e(t)}))}))}function l(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("postHttp",t,e)}(t,(t=>{e(t)}))}))}function d(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("deleteHttp",t,e)}(t,(t=>{e(t)}))}))}function c(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("logEvent",t,e)}(t,(t=>{e(t)}))}))}function p(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("logError",t,e)}(t,(t=>{e(t)}))}))}function h(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("getDeviceInfo",t,e)}(t,(t=>{e(t)}))}))}function u(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("getLocationInfo",t,e)}(t,(t=>{e(t)}))}))}function g(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("getNetworkInfo",t,e)}(t,(t=>{e(t)}))}))}function m(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("getUserInfo",t,e)}(t,(t=>{e(t)}))}))}function v(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("requestSnackBar",t,e)}(t,(t=>{e(t)}))}))}function f(t){return new Promise(((e,a)=>{!function(t,e){(0,i.dw)("requestCustom",t,e)}(t,(t=>{e(t)}))}))}},17157:function(t,e,a){"use strict";a.d(e,{dw:function(){return o},wq:function(){return r}});a(83648);const i={};function r(){var t,e,a,i;const r=null===(t=window.sapphireWebViewBridge)||void 0===t?void 0:t.send,s=null===(i=null===(a=null===(e=window.webkit)||void 0===e?void 0:e.messageHandlers)||void 0===a?void 0:a.send)||void 0===i?void 0:i.postMessage;return r||s}let s;function n(t,e){var a,i,r,n,o,l,d;console.log(t,e);const c="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})),p={scenario:t,data:{data:e},id:c};s&&!p.data.data.appId&&(p.data.data.appId=s);const h=JSON.stringify(p);return(null===(r=null===(i=null===(a=window.webkit)||void 0===a?void 0:a.messageHandlers)||void 0===i?void 0:i.send)||void 0===r?void 0:r.postMessage)&&(null===(l=null===(o=null===(n=window.webkit)||void 0===n?void 0:n.messageHandlers)||void 0===o?void 0:o.send)||void 0===l||l.postMessage(h)),(null===(d=window.sapphireWebViewBridge)||void 0===d?void 0:d.send)&&window.sapphireWebViewBridge.send(h),c}function o(t,e,a){const r=n(t,e);a&&function(t,e){i[t]?i[t].push(e):i[t]=[e]}(r,a)}},59207:function(t,e,a){"use strict";a.d(e,{hP:function(){return y},_4:function(){return f}});var i,r=a(33940);!function(t){t.Android="Android",t.iOS="iOS"}(i||(i={}));var s=a(96345),n=a(54433),o=a(9344),l=a(58155);let d,c,p,h,u,g,m;const v={};function f(){return h}function y(t){return(0,r.mG)(this,void 0,void 0,(function*(){if(d.isSignedIn&&"AAD"===d.accountType){const t=yield(0,s.c6)({refresh:!0,accountType:"AAD"});try{const e=JSON.parse(t);if(e.accessToken&&e.accessToken.length>0)return`Bearer ${e.accessToken}`}catch(t){b(t,"SapphireUserConfig.getAccessToken: Failed to parse AAD access token")}}if(d.isSignedIn&&"MSA"===d.accountType){const e=yield(0,s.c6)({refresh:!0,accountType:"MSA",type:"AccessToken",scope:t});try{const t=JSON.parse(e);if(t.succeed)return t.accessToken}catch(t){b(t,"SapphireUserConfig.getAccessToken: Failed to parse MSA access token")}}return null}))}function w(){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield(0,s.Ei)({});try{return JSON.parse(t)}catch(t){b(t,"SapphireUserConfig.getDeviceInformation: Failed to parse response")}}))}function b(t,e){(0,s._k)({type:"Failure",name:"HP_WEBVIEW_APP_ERROR",error:e,data:{error:t,customMessage:e}})}function S(t){if(!t)return"en-us";const e=t.toLowerCase();return"en-id"===e?"en-xl":e}function x(t){"ru-ru"===t.market&&t.detectedCountry&&"RU"!==t.detectedCountry&&(t.market="en-xl");const e=t.market.split("-");e&&2==e.length&&(t.language=e[0],t.countryCode=e[1])}function C(t,e){v[e]||(v[e]=function(t){const e={},a=function(t,e=!1){if(!t)return null;return function(t,e=!1){const a=[];t&&t.startsWith("?")&&(t=t.substring(1));if(t){const i=(t=t.split("#")[0]).split("&");for(let t=0;t<i.length;t++){const r=i[t].split("=");let s=r[0],o=r[1];e&&(s=$(s),o&&(o=$(o)));const l={key:s,value:o},d=(0,n.Z)(a,(t=>t.key===l.key));-1===d?a.push(l):a[d]=l}}return a}((t||"").split("?")[1],e)}(t,!0);a&&a.length&&a.forEach((t=>e[t.key]=t.value));return e}(e));const a=v[e][t];return void 0!==a?a:null}function $(t){return t=t.replace(/\+/g," "),t=decodeURIComponent(t)}function k(){return b(new Error("SapphireUserConfig.uuidv4: Recieved empty activityId"),"Empty activityId"),"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(t=>{const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}!function(t){g=t}((function(t){return(0,r.mG)(this,void 0,void 0,(function*(){h={},window.performance.mark("HP-initUserConfigForOthers-DeviceInformation-Start"),c=yield w(),window.performance.mark("HP-initUserConfigForOthers-DeviceInformation-End"),window.performance.measure("HP-initUserConfigForOthers-DeviceInformation","HP-initUserConfigForOthers-DeviceInformation-Start","HP-initUserConfigForOthers-DeviceInformation-End"),c&&(h.muid=`m-${c.sapphireId}`,h.sapphireId=c.sapphireId,h.anid=c.ANID,h.adid=c.ADID,h.market=S(c.market),h.features=c.expFeatures,h.activityId=c.expActivityId?c.expActivityId:k(),h.isDarkMode=c.isDarkMode,h.platform=c.platform,h.bridgeVersionInt=c.bridgeVersionInt,h.fontSize=c.fontSize,h.isChinaBuild=c.isChinaBuild,h.clientVersion=c.clientVersion,h.packageName=c.packageName,h.installSource=c.installSource,h.detectedCountry=c.detectedCountry?c.detectedCountry:"",h.isEdge=void 0!==c.isEdge&&c.isEdge,h.isEos=void 0!==c.isEos&&c.isEos,h.screenWidth=c.screenWidth,h.screenWidthPx=c.screenWidthPx,h.screenHeight=c.screenHeight,h.screenHeightPx=c.screenHeightPx,h.isBingApp=c.isBingApp,h.isNewsApp=c.isNewsApp,h.adjustCampaign=c.adjustCampaign,h.isFirstSession=c.isFirstSession,x(h)),window.performance.mark("HP-initUserConfigForOthers-UserInformation-Start"),yield function(){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield(0,s.c6)({});try{d=JSON.parse(t)}catch(t){b(t,"SapphireUserConfig.getUserInformationInternal: Failed to parse response")}}))}(),window.performance.mark("HP-initUserConfigForOthers-UserInformation-End"),window.performance.measure("HP-initUserConfigForOthers-UserInformation","HP-initUserConfigForOthers-UserInformation-Start","HP-initUserConfigForOthers-UserInformation-End"),d&&(h.accountType=d.accountType,h.isSignedIn=d.isSignedIn),window.performance.mark("HP-initUserConfigForOthers-LocationInformation-Start"),yield function(){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield(0,s.SP)({fallbackRevIP:!1});try{p=JSON.parse(t)}catch(t){b(t,"SapphireUserConfig.getLocationInformationInternal: Failed to parse response")}}))}(),window.performance.mark("HP-initUserConfigForOthers-LocationInformation-End"),window.performance.measure("HP-initUserConfigForOthers-LocationInformation","HP-initUserConfigForOthers-LocationInformation-Start","HP-initUserConfigForOthers-LocationInformation-End"),p&&(h.latitude=p.lat,h.longitude=p.lng,h.clientLocationProvider=p.provider,h.clientLocationAccuracy=p.accuracy,h.clientLocationTimeStamp=p.time),window.performance.mark("HP-initUserConfigForOthers-NetworkInformation-Start"),yield function(){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield(0,s.v_)({});try{u=JSON.parse(t)}catch(t){b(t,"SapphireUserConfig.getNetworkInformation: Failed to parse response")}}))}(),window.performance.mark("HP-initUserConfigForOthers-NetworkInformation-End"),window.performance.measure("HP-initUserConfigForOthers-NetworkInformation","HP-initUserConfigForOthers-NetworkInformation-Start","HP-initUserConfigForOthers-NetworkInformation-End"),u&&(h.networkInfoType=u.type);const e=new URLSearchParams(window.location.search);h.isPageRefresh=!(!e||!e.get("isPageRefresh"))&&"1"===e.get("isPageRefresh"),t&&(t.muid&&(h.muid=t.muid),h.activityId=t.activityId,h.features=t.expFeatures)}))})),function(t){m=t}((function(){return(0,r.mG)(this,void 0,void 0,(function*(){h={};const t=window.location.href;let e;e=null!==l.c.getQueryParameterByName("edge",t)?(0,o.jG)():C("muid",t),h.sapphireId=null!==e?e:"",h.muid=null!==e?`m-${e}`:"";const a=C("adid",t);h.adid=null!==a?a:"";const r=C("market",t);h.market=S(r),x(h);const n=C("features",t);h.features=null!==n?n:"";const c=C("activityId",t);h.activityId=c||k();const u=C("platform",t);h.platform=null!==u?i[u]:"",h.bridgeVersionInt=1;const g=C("bridgeVersionInt",t);g&&(h.bridgeVersionInt=parseInt(g,10));const m=C("isDarkMode",t);h.isDarkMode="true"===m;const v=C("isSignedIn",t);h.isSignedIn="true"===v;const f=C("accountType",t);h.accountType=null!==f?f:"";const y=C("isPageRefresh",t);h.isPageRefresh=null!==y&&"1"===y;const $=C("isChinaBuild",t);h.isChinaBuild="true"===$;const T=C("kids",t);h.isKidsMode=null!==T&&"1"===T;const D=C("fontSize",t);h.fontSize=parseInt(D,10);const M=C("latitude",t);h.latitude=null!==M?M:"";const I=C("longitude",t);h.longitude=null!==I?I:"";const L=C("anid",t);h.anid=null!==L?L:"",d={isSignedIn:h.isSignedIn,accountType:h.accountType},p={lat:M,lng:I};const F=C("clientVersion",t);if(null!==F){h.clientVersion=null!==F?F:"";const e=C("packageName",t);h.packageName=null!==e?e:""}else window.performance.mark("HP-initUserConfigForSuperAppAndroid-DeviceInformation-Start"),w().then((t=>{console.log("getDeviceInfomation Bridge call complete"),window.performance.mark("HP-initUserConfigForSuperAppAndroid-DeviceInformation-End"),window.performance.measure("HP-initUserConfigForSuperAppAndroid-DeviceInformation","HP-initUserConfigForSuperAppAndroid-DeviceInformation-Start","HP-initUserConfigForSuperAppAndroid-DeviceInformation-End"),h.clientVersion=t.clientVersion,h.packageName=t.packageName}));window.performance.mark("HP-initUserConfigForSuperAppAndroid-LocationInformation-Start");const O=C("provider",t);if(null!==O){h.clientLocationProvider=null!==O?O:"";const e=C("accuracy",t);h.clientLocationAccuracy=null!==e?e:"";const a=C("time",t);h.clientLocationTimeStamp=null!==a?a:""}else(0,s.SP)({fallbackRevIP:!1}).then((t=>{console.log("getLocationInfo Bridge call complete"),window.performance.mark("HP-initUserConfigForSuperAppAndroid-LocationInformation-End"),window.performance.measure("HP-initUserConfigForSuperAppAndroid-LocationInformation","HP-initUserConfigForSuperAppAndroid-LocationInformation-Start","HP-initUserConfigForSuperAppAndroid-LocationInformation-End");try{p=JSON.parse(t),console.log("locInfo:",p),p&&(h.latitude=p.lat,h.longitude=p.lng,h.clientLocationProvider=p.provider,h.clientLocationAccuracy=p.accuracy,p.time&&(h.clientLocationTimeStamp=new Date(p.time).toISOString()))}catch(t){b(t,"SapphireUserConfig.initUserConfigForSuperAppAndroid: Failed to parse location response")}}));w().then((t=>{console.log("deviceInfo:",t),h.installSource=t.installSource,h.detectedCountry=t.detectedCountry?t.detectedCountry:"",h.screenWidth=t.screenWidth,h.screenWidthPx=t.screenWidthPx,h.screenHeight=t.screenHeight,h.screenHeightPx=t.screenHeightPx,h.isBingApp=t.isBingApp,h.isNewsApp=t.isNewsApp,h.adjustCampaign=t.adjustCampaign,h.isFirstSession=t.isFirstSession,x(h)}))}))}))},2314:function(t,e,a){"use strict";a.d(e,{Ai:function(){return Z},Am:function(){return P},D8:function(){return y},FJ:function(){return R},Fd:function(){return N},H9:function(){return Q},HN:function(){return d},I4:function(){return F},I8:function(){return n},J4:function(){return D},K8:function(){return B},KN:function(){return A},N_:function(){return G},O7:function(){return m},Ou:function(){return f},P0:function(){return L},Pe:function(){return O},Rf:function(){return W},TV:function(){return k},UN:function(){return $},Us:function(){return b},Xk:function(){return s},Zt:function(){return x},bj:function(){return z},ck:function(){return q},d:function(){return H},eD:function(){return T},fs:function(){return w},gW:function(){return Y},mW:function(){return C},o1:function(){return J},q$:function(){return c},qD:function(){return l},rI:function(){return u},sl:function(){return _},tY:function(){return v},tm:function(){return p},uj:function(){return j},wF:function(){return I},w_:function(){return o},x5:function(){return K},xI:function(){return M},xR:function(){return V},x_:function(){return h},zL:function(){return S},zw:function(){return g}});var i=a(38156),r=a(99478);const s="https://go.microsoft.com/fwlink/?LinkId=521839",n=" - ";var o,l,d,c;!function(t){t.preGame="pre-game",t.inprogressGame="inprogress-game",t.postGame="post-game",t.nonlive="non-live"}(o||(o={})),function(t){t.toss="Toss",t.dinner="Dinner",t.drinks="Drinks",t.fog="Fog",t.innings="Innings",t.lunch="Lunch",t.stumps="Stumps",t.tea="Tea",t.break="Break"}(l||(l={})),function(t){t.singleparticipant="single",t.dualparticipants="dual"}(d||(d={})),function(t){t.unknown="Unknown",t.football="Football",t.baseball="Baseball",t.basketball="Basketball",t.basketball3x3="Basketball3x3",t.cricket="Cricket",t.icehockey="IceHockey",t.fieldhockey="FieldHockey",t["auto racing"]="Racing",t.racing="Racing",t.tennis="Tennis",t.soccer="Soccer",t.golf="Golf",t.australianrules="AustralianRules",t.rugbyunion="RugbyUnion",t.rugbyleague="RugbyLeague",t.archery="Archery",t.athletics="Athletics",t.badminton="Badminton",t.cycling="Cycling",t.boxing="Boxing",t.canoeing="Canoeing",t.climbing="Climbing",t.equestrianism="Equestrianism",t.fencing="Fencing",t.gymnasticsartistic="GymnasticsArtistic",t.gymnasticsrhytmic="GymnasticsRhytmic",t.gymnasticstrampoline="GymnasticsTrampoline",t.handball="Handball",t.judo="Judo",t.karate="Karate",t.summerolympics="SummerOlympics",t.paralympics="Paralympics",t.pentathlon="Pentathlon",t.swimmingartistic="SwimmingArtistic",t.swimming="Swimming",t.diving="Diving",t.waterpolo="WaterPolo",t.rowing="Rowing",t.sailing="Sailing",t.shooting="Shooting",t.skateboarding="Skateboarding",t.surfing="Surfing",t.taekwondo="Taekwondo",t.triathlon="Triathlon",t.tabletennis="TableTennis",t.volleyballteam="VolleyballTeam",t.volleyballbeach="VolleyballBeach",t.weightlifting="Weightlifting",t.wrestling="Wrestling",t.softball="Softball",t.trackandfield="TrackAndField",t.mma="MMA",t.netball="Netball",t.boccia="Boccia"}(c||(c={}));const p=new Map([[c.soccer,new Set(["*"])],[c.football,new Set(["Football_NFL","Football_CollegeFootball"])],[c.baseball,new Set(["Baseball_MLB"])],[c.icehockey,new Set(["*"])],[c.basketball,new Set(["*"])]]);var h,u;!function(t){t.singleRace="MotorSportsSingleRace",t.raceList="MotorSportsRaceList"}(h||(h={}));!function(t){t[t.MotorSports=0]="MotorSports",t[t.GolfSports=1]="GolfSports",t[t.NFLDraft=2]="NFLDraft",t[t.Default=3]="Default"}(u||(u={}));const g={TeamStandings:"MotorSportsTeamStandings",DriverStandings:"MotorSportsDriverStandings"};var m;!function(t){t.scheduledTournaments="GolfSchedule",t.leaderboard="GolfLeaderBoard"}(m||(m={}));const v={Badge:"Badge",Preview:"PreviewCard"},f={SportsCard:"SportsCard",SportsPreview:"SportsPreview",SportsSptlgt:"SportsSptlgt",Badge:"SportsBadge",TaskbarRotation:"SportsTBR"};var y;!function(t){t.SportsCard="SportsCard",t.Homepage="homepage",t.Game="sports_game",t.Header="sports_header",t.SeeMore="seemore",t.SeeMoreSports="seemore_sportsvertical",t.Customization="sportscard_customization",t.MoreSettings="sportscard_customization_moresettings",t.Vertical="sports",t.DislikeSports="HideSport",t.HideSportsCard="HideSportsCard",t.SaveSetting="done",t.CancelSetting="Cancel",t.SportsInput="searchsports",t.SportsSuggest="suggestresult",t.SportsSuggestUrl="suggesturl",t.ConfidenceScoreKey="cs",t.PreviousMatch="PreviousSlideArrow",t.NextMatch="NextSlideArrow",t.AddSports="FollowWizard",t.AddSportsMenu="FollowTeamOrLeague",t.FollowSports="Follow",t.UnFollowSports="Unfollow",t.GoBack="Goback",t.EditSports="FollowWizard",t.ClickCarouselDot="CarouselDotClick",t.MotorSports="Motorsports",t.MotorRace="sing",t.MotorRaceTime="sports_gametime",t.MotorRaceScore="sports_gamescore",t.GolfSports="Golfsports",t.GolfParticipantScore="sports_participantscore",t.GolfParticipantTeeTime="sports_participantteetime",t.SportsVideo="sports_video",t.SportsNavButton="sports_header",t.SportsNavList="sports_header",t.SportsNavSearchButton="sports_nav_search",t.ReminderLink="FollowReminderLink",t.ReminderClose="FollowReminderClose",t.FREDone="done",t.FRESeemore="fre_seemore",t.SportsFRE="freexperience",t.SportsItem="sportsitem",t.HoverTeam="hover_team",t.FollowTeam="follow_team",t.SuperBowlCard="SuperBowlCard",t.SportsFeedback="SportsFeedback",t.ChangeLeagueTeam="ChangeLeagueTeam",t.Feedback="Feedback",t.PopupHideSport="PopupHideSport",t.PopupHide="popup_hide",t.PopupCancel="popup_cancel",t.PopupClose="popup_close",t.SendFeedback="feedback_send",t.CancelFeedback="feedback_cancel",t.CloseFeedback="feedback_close",t.HideReminder="SportsHideReminder",t.HideReminderSetting="reminder_settings",t.HideReminderManageCard="reminder_managecard",t.HideReminderRefreshFeed="reminder_refreshfeed",t.MarchMadnessCard="MarchMadnessCard",t.NFLDraft="NFLDraft",t.SportsArticle="sports_article",t.NBAFinals="NBAFinals",t.NHLFinals="NHLFinals",t.Articles="Articles",t.Standings="Standings",t.SportsCarousel="SportsCarousel",t.RevertFollow="RevertFollow"}(y||(y={}));const w={League:"League",Team:"Team"},b={Dislike:"Dislike",Follow:"Follow"},S={TeamVsTeam:"TeamVsTeam",ColdStart:"ColdStart"},x={SportsMatches:"SportsMatches",Standings:"Standings",Articles:"Articles"};var C;!function(t){t.SuperDesign="SuperDesign",t.MarchMadness="MarchMadness",t.NFLDraft="NFLDraft",t.NBAFinals="NBAFinals",t.NHLFinals="NHLFinals",t.SeriesFinals="SeriesFinals",t.Articles="Articles",t.Standings="Standings",t.SideBySide="SideBySide",t.LeaderBoard="LeaderBoard",t.Formular1="Formular1",t.Video="Video",t.Default="Default",t.Combined="Combined"}(C||(C={}));const $={NBA:"Basketball_NBA",NHL:"IceHockey_NHL"},k=new Set(["Basketball_NBA","IceHockey_NHL"]),T="b7a76276-375a-718b-52d9-49eae9b263a4";var D,M;!function(t){t.Small="_1x_1y",t.Medium="_1x_2y",t.Large="_1x_3y"}(D||(D={})),function(t){t.fullFill="fullwidth",t.continuous="continuous"}(M||(M={}));const I={dark:"dark",light:"light"},L=3,F="#",O=t=>{const e={video:"video",highlight:"videoHighlight",preview:"videoPreview"};return t&&e[t.toLowerCase()]||e.video};const P=(t,e,a,r,s)=>{var n;if(!t)return;const o=s&&s.zone,l=e||[],d=a||{},p=d.leagueName||y.SportsFRE,h=d.leagueId||y.SportsFRE,u=d.sportType||c.unknown,g=d.cardTitleClickthroughUrl,m=null!==(n=d.primaryEntityId)&&void 0!==n?n:h,v=d.seeMoreLeagueClickthroughUrl,f=d.seeMoreSportsClickthroughUrl,w=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:o}),b=w.addOrUpdateChild({name:y.SportsCard,behavior:i.wu.Navigate,destinationUrl:g,overrideDestinationUrl:g,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),S=w.addOrUpdateChild({name:y.Header,behavior:i.wu.Navigate,destinationUrl:g,overrideDestinationUrl:g,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),x=w.addOrUpdateChild({name:y.Customization,behavior:i.wu.More,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.Customization,type:i.uH.StructuredData,id:h,brandId:m},type:i.c9.Interaction,ext:r,zone:o}),C=w.addOrUpdateChild({name:y.SeeMore,behavior:i.wu.Navigate,destinationUrl:v||f,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),$=w.addOrUpdateChild({name:y.SeeMoreSports,behavior:i.wu.Navigate,destinationUrl:f||v,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),k=w.addOrUpdateChild({name:y.MoreSettings,behavior:i.wu.Navigate,overrideDestinationUrl:`${window.location.origin||""}/personalize`,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},type:i.c9.ActionButton,ext:r,zone:o}),T=w.addOrUpdateChild({name:y.DislikeSports,behavior:i.wu.Dislike,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.DislikeSports,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.ActionButton,ext:r,zone:o}),D=w.addOrUpdateChild({name:y.HideSportsCard,behavior:i.wu.Hide,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.HideSportsCard,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.ActionButton,ext:r,zone:o}),M=w.addOrUpdateChild({name:y.Feedback,behavior:i.wu.Report,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.ActionButton,ext:r,zone:o}),I=new Map,L=new Map,F=new Map,O=new Map;l.length>0&&l.forEach((t=>{if(!t||!t.sportsMatchData)return;const e=t.sportsMatchData.gameId,a=w.addOrUpdateChild({name:y.Game,behavior:i.wu.Navigate,destinationUrl:t.sportsMatchData.matchClickthroughUrl||g,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o});if(I.set(t.sportsMatchData.matchClickthroughUrl,null==a?void 0:a.getMetadataTag()),L.set(e,a),t.sportsMatchData.videoImageUrl){const a=w.addOrUpdateChild({name:y.SportsVideo,behavior:i.wu.Navigate,destinationUrl:t.sportsMatchData.matchClickthroughUrl||g,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o});O.set(e,a)}t.sportsMatchData.participantOne&&t.sportsMatchData.participantOne.satoriId&&F.set(t.sportsMatchData.participantOne.satoriId,{hoverTeam:w.addOrUpdateChild({name:y.HoverTeam,behavior:i.wu.Show,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.HoverTeam,type:i.uH.StructuredData,id:t.sportsMatchData.participantOne.satoriId,brandId:m},ext:r,zone:o}),followTeam:w.addOrUpdateChild({name:y.FollowTeam,behavior:i.wu.Follow,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.FollowTeam,type:i.uH.StructuredData,id:t.sportsMatchData.participantOne.satoriId,brandId:m},ext:r,zone:o})}),t.sportsMatchData.participantTwo&&t.sportsMatchData.participantTwo.satoriId&&F.set(t.sportsMatchData.participantTwo.satoriId,{hoverTeam:w.addOrUpdateChild({name:y.HoverTeam,behavior:i.wu.Show,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.HoverTeam,type:i.uH.StructuredData,id:t.sportsMatchData.participantTwo.satoriId,brandId:m},ext:r,zone:o}),followTeam:w.addOrUpdateChild({name:y.FollowTeam,behavior:i.wu.Follow,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.FollowTeam,type:i.uH.StructuredData,id:t.sportsMatchData.participantTwo.satoriId,brandId:m},ext:r,zone:o})})}));const P=w.addOrUpdateChild({name:y.SaveSetting,behavior:i.wu.Save,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.SaveSetting,type:i.uH.StructuredData,id:m,brandId:m},ext:r,zone:o}),A=w.addOrUpdateChild({name:y.CancelSetting,behavior:i.wu.Cancel,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.CancelSetting,type:i.uH.StructuredData,id:m,brandId:m},ext:r,zone:o}),E=w.addOrUpdateChild({name:y.SportsInput,behavior:i.wu.TextSearch,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.SportsInput,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.InputBox,ext:r,zone:o}),U=w.addOrUpdateChild({name:y.PreviousMatch.toLowerCase(),behavior:i.wu.Paginate,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.PreviousMatch,type:i.uH.StructuredData,id:m,brandId:m},ext:r,zone:o}),N=w.addOrUpdateChild({name:y.NextMatch.toLowerCase(),behavior:i.wu.Paginate,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.NextMatch,type:i.uH.StructuredData,id:m,brandId:m},ext:r,zone:o}),H=w.addOrUpdateChild({name:y.AddSports,action:i.Aw.View,behavior:i.wu.Customize,destinationUrl:"",content:{vertical:y.Vertical,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.Module,ext:r,zone:o}),G=w.addOrUpdateChild({name:y.AddSportsMenu,behavior:i.wu.Open,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.AddSportsMenu,type:i.uH.StructuredData,id:m,brandId:m},type:i.c9.ActionButton,ext:r,zone:o}),R=w.addOrUpdateChild({name:y.SportsItem,behavior:i.wu.Follow,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.SportsItem,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),B=w.addOrUpdateChild({name:y.GoBack,behavior:i.wu.Paginate,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.GoBack,type:i.uH.StructuredData,id:h,brandId:m},type:i.c9.Interaction,ext:r,zone:o}),z=w.addOrUpdateChild({name:y.EditSports,behavior:i.wu.Customize,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:y.EditSports,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),W=w.addOrUpdateChild({name:y.SportsCarousel,behavior:i.wu.View,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),j=w.addOrUpdateChild({name:y.ClickCarouselDot,behavior:i.wu.Paginate,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),_=w.addOrUpdateChild({name:y.SportsNavButton,behavior:i.wu.Show,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),V=w.addOrUpdateChild({name:y.SportsNavList,behavior:i.wu.View,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),q=w.addOrUpdateChild({name:y.ReminderClose,behavior:i.wu.Close,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),J=w.addOrUpdateChild({name:y.SportsFRE,behavior:i.wu.View,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),Z=w.addOrUpdateChild({name:y.FREDone,behavior:i.wu.Complete,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o}),X=w.addOrUpdateChild({name:y.SportsNavSearchButton,behavior:i.wu.Customize,destinationUrl:"",content:{vertical:y.Vertical,category:p,headline:p,type:i.uH.StructuredData,id:h,brandId:m},ext:r,zone:o});return{componentRoot:t,sportsCard:b,destinations:I,games:L,header:S,actionButton:x,seeMoreLeague:C,seeMoreSports:$,menuMoreSettings:k,menuHideSportsCard:D,menuDislikeSport:T,saveSetting:P,cancelSetting:A,sportsInput:E,previousMatch:U,nextMatch:N,addSports:H,menuAddSports:G,followSports:R,goBack:B,editSports:z,sportsCarousel:W,clickCarouselDot:j,videos:O,sportsNavButton:_,sportsNavList:V,sportsNavSearchButton:X,reminderClose:q,freExperience:J,freDone:Z,teams:F,menuFeedback:M}},A=(t,e,a,r,s)=>{if(!t||!e)return null;const n=s&&s.zone,o=s&&s.behavior,l=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:n}),d=e.primaryEntityId,p=e.leagueName,h=e.leagueId,u=e.sportType||c.unknown;let g;switch(a){case C.SuperDesign:g=y.SuperBowlCard;break;case C.MarchMadness:g=y.MarchMadnessCard;break;case C.NFLDraft:g=y.NFLDraft;break;case C.NBAFinals:g=y.NBAFinals;break;case C.NHLFinals:g=y.NHLFinals;break;case C.Articles:g=y.Articles;break;case C.Standings:g=y.Standings;break;default:return null}return l.addOrUpdateChild({name:g,behavior:o||i.wu.View,destinationUrl:e.cardTitleClickthroughUrl,content:{vertical:y.Vertical,category:p,headline:u,type:i.uH.StructuredData,id:h,brandId:d},ext:r,zone:n})};function E(t){const e=null==t?void 0:t.dataType;return e==m.leaderboard||e==m.scheduledTournaments?y.GolfSports:e==h.raceList||e==h.singleRace?y.MotorSports:y.SportsCard}function U(t,e,a){switch(null==t?void 0:t.dataType){case m.leaderboard:return y.GolfParticipantScore;case m.scheduledTournaments:return E(t);case h.singleRace:return e?y.MotorRaceTime:y.MotorRaceScore;case h.raceList:return E(t)}return y.SportsCard}const N=(t,e,a,r,s)=>{if(!t||!e)return null;const n=null!=a?a:"",o=s&&s.zone;return t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:o}).addOrUpdateChild({name:y.ReminderLink,behavior:i.wu.Navigate,content:{headline:e.sportType||c.unknown,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.leagueId,brandId:n},overrideDestinationUrl:e.webSearchUrl||(null==s?void 0:s.fallbackUrl),ext:r,zone:o})},H=(t,e,a,r,s)=>{if(!t||!e)return null;const n=null!=a?a:"",o=s&&s.zone;return t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:o}).addOrUpdateChild({name:y.RevertFollow,behavior:i.wu.Follow,content:{headline:e.name,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.id,brandId:n},destinationUrl:"",ext:r,zone:o})},G=(t,e,a,r,s,n)=>{if(!t)return null;const o=n&&n.zone;return t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:o}).addOrUpdateChild({name:y.SportsInput,behavior:i.wu.TextSearch,destinationUrl:"",content:{vertical:y.Vertical,category:a,subcategory:e,headline:y.SportsInput,type:i.uH.StructuredData,id:r,brandId:r},type:i.c9.InputBox,ext:s,zone:o})},R=(t,e,a,r,s=!1,n)=>{if(!t||!e)return null;const o=null!=a?a:"",l=n&&n.zone,d=e.sportType||c.unknown,p=t.addOrUpdateChild({name:s?y.AddSports:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:l});return{componentRoot:t,webSearchUrl:p.addOrUpdateChild({name:y.SportsSuggestUrl,behavior:i.wu.Navigate,content:{headline:d,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.leagueId,brandId:o},overrideDestinationUrl:e.webSearchUrl||(null==n?void 0:n.fallbackUrl),ext:r,zone:l}),followEntity:p.addOrUpdateChild({name:s?y.FollowSports:y.SportsItem,behavior:i.wu.Follow,content:{headline:e.name,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.id,brandId:o},destinationUrl:"",ext:r,zone:l}),unFollowEntity:p.addOrUpdateChild({name:s?y.UnFollowSports:y.SportsItem,behavior:i.wu.Unfollow,content:{headline:e.name,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.id,brandId:o},destinationUrl:"",ext:r,zone:l}),navToEntity:p.addOrUpdateChild({name:y.SportsItem,behavior:i.wu.Refresh,content:{headline:e.name,vertical:y.Vertical,category:e.name,type:i.uH.StructuredData,id:e.id,brandId:o},overrideDestinationUrl:e.webSearchUrl,ext:r,zone:l})}},B=(t,e,a,r,s)=>{var n,l,d,p;if(!t||!e)return null;const h=s&&s.zone,u=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,ext:r,zone:h}),g=P(t,e,a,r);null===(n=g.games)||void 0===n||n.clear();const m=e||[],v=null!==(l=a.primaryEntityId)&&void 0!==l?l:"",f=e.sportType||c.unknown;if((null==e?void 0:e.length)>0&&e[0]&&(null===(d=e[0].sportsMatchData)||void 0===d?void 0:d.gameStateCatetory)===o.preGame&&m.forEach((t=>{const e=u.addOrUpdateChild({name:U(a,!1),behavior:i.wu.Navigate,content:{vertical:y.Vertical,category:E(a),subcategory:a.leagueName,headline:f,type:i.uH.StructuredData,id:t.sportsMatchData.gameId,brandId:v},overrideDestinationUrl:t.sportsMatchData.matchClickthroughUrl||a.headerClickThroughUrl,ext:r,zone:h});g.games.set(t.sportsMatchData.gameId,e)})),(null==e?void 0:e.length)>0&&e[0]&&e[0].sportsMatchData&&(null===(p=e[0].sportsMatchData)||void 0===p?void 0:p.gameStateCatetory)!==o.preGame&&m.length>0){const t=u.addOrUpdateChild({name:m[0].sportsMatchData.gameStateCatetory===o.inprogressGame?U(a,!0):U(a,!1),behavior:i.wu.Navigate,content:{vertical:y.Vertical,category:E(a),headline:f,subcategory:a.leagueName,type:i.uH.StructuredData,id:m[0].sportsMatchData.gameId,brandId:v},overrideDestinationUrl:m[0].sportsMatchData.matchClickthroughUrl||a.headerClickThroughUrl,ext:r,zone:h});g.games.set(m[0].sportsMatchData.gameId,t)}return g},z=(t,e,a,r)=>{if(!t)return null;const s=r&&r.zone,n=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:s}),o=e&&e.sportsMatchupCardData.primaryEntityId,l=e&&e.sportsMatchupCardData.primaryEntityName,d=e&&e.sportsMatchupCardData.leagueName,c=y.PopupHideSport;return{componentRoot:t,hidePopupView:n.addOrUpdateChild({name:y.PopupHideSport,behavior:i.wu.View,content:{headline:y.PopupHideSport,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),changeLeagueTeam:n.addOrUpdateChild({name:y.ChangeLeagueTeam,behavior:i.wu.Customize,content:{headline:y.ChangeLeagueTeam,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),feedback:n.addOrUpdateChild({name:y.Feedback,behavior:i.wu.Paginate,content:{headline:y.Feedback,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),popupHideSport:n.addOrUpdateChild({name:y.PopupHide,behavior:i.wu.Hide,content:{headline:y.PopupHide,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),popupCancel:n.addOrUpdateChild({name:y.PopupCancel,behavior:i.wu.Cancel,content:{headline:y.PopupCancel,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),popupClose:n.addOrUpdateChild({name:y.PopupClose,behavior:i.wu.Close,content:{headline:y.PopupClose,vertical:y.Vertical,category:c,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),menuDislikeSport:n.addOrUpdateChild({name:y.DislikeSports,behavior:i.wu.Dislike,destinationUrl:"",content:{vertical:y.Vertical,category:d,headline:y.DislikeSports,type:i.uH.StructuredData,id:o,brandId:o},type:i.c9.ActionButton,ext:a,zone:s})}},W=(t,e,a,r)=>{if(!t)return null;const s=r&&r.zone,n=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:s}),o=e&&e.sportsMatchupCardData.primaryEntityId,l=e&&e.sportsMatchupCardData.primaryEntityName,d=y.HideReminder;return{componentRoot:t,reminderView:n.addOrUpdateChild({name:y.HideReminder,behavior:i.wu.View,content:{headline:y.HideReminder,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),reminderSetting:n.addOrUpdateChild({name:y.HideReminderSetting,behavior:i.wu.Paginate,content:{headline:y.HideReminderSetting,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),reminderManageCard:n.addOrUpdateChild({name:y.HideReminderManageCard,behavior:i.wu.Paginate,content:{headline:y.HideReminderManageCard,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),reminderRefreshFeed:n.addOrUpdateChild({name:y.HideReminderRefreshFeed,behavior:i.wu.Refresh,content:{headline:y.HideReminderRefreshFeed,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s})}},j=(t,e,a,r)=>{if(!t)return null;const s=r&&r.zone,n=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:s}),o=e&&e.sportsMatchupCardData.primaryEntityId,l=e&&e.sportsMatchupCardData.primaryEntityName,d=y.SportsFeedback;return{componentRoot:t,feedbackView:n.addOrUpdateChild({name:y.SportsFeedback,behavior:i.wu.View,content:{headline:y.SportsFeedback,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),sendFeedback:n.addOrUpdateChild({name:y.SendFeedback,behavior:i.wu.Report,content:{headline:y.SendFeedback,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),cancelFeedback:n.addOrUpdateChild({name:y.CancelFeedback,behavior:i.wu.Cancel,content:{headline:y.CancelFeedback,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s}),closeFeedback:n.addOrUpdateChild({name:y.CloseFeedback,behavior:i.wu.Close,content:{headline:y.CloseFeedback,vertical:y.Vertical,category:d,type:i.uH.StructuredData,id:l,brandId:o},ext:a,zone:s})}},_=(t,e,a,r)=>{if(!t||!e||!e.sportsMatchupCardData)return null;const s=r&&r.zone,n=t.addOrUpdateChild({name:y.SportsCard,action:i.Aw.View,type:i.c9.Module,zone:s}),o=e.sportsMatchupCardData,l=o.primaryEntityId,d=o.leagueName||y.SportsFRE,p=o.leagueId||y.SportsFRE,h=o.sportType||c.unknown,u=new Map;e.articleData&&e.articleData.articles&&e.articleData.articles.length>0&&e.articleData.articles.forEach((t=>{if(!t||!t.articleId)return;const e=n.addOrUpdateChild({name:y.SportsArticle,behavior:i.wu.Navigate,destinationUrl:t.articleUrl,overrideDestinationUrl:t.articleUrl,content:{vertical:y.Vertical,category:d,headline:h,type:i.uH.StructuredData,id:p,brandId:l},ext:a,zone:s});u.set(t.articleId,e)}));return{componentRoot:t,articles:u}};function V(t){return!!t&&("cricket"===t.toLowerCase()||"tennis"===t.toLowerCase())}function q(t){return t===T}function J(t,e=2){if(!t||t.length<2)return t;let a=t.filter((t=>t.sportsMatchData.gameStateCatetory==o.inprogressGame)),i=t.filter((t=>t.sportsMatchData.gameStateCatetory==o.preGame)),r=t.filter((t=>t.sportsMatchData.gameStateCatetory!=o.inprogressGame&&t.sportsMatchData.gameStateCatetory!=o.preGame));const s=(new Date).getTime();a=a&&a.sort(((t,e)=>s-t.sportsMatchData.gameStartDateTime-(s-e.sportsMatchData.gameStartDateTime)))||[],i=i&&i.sort(((t,e)=>t.sportsMatchData.gameStartDateTime-e.sportsMatchData.gameStartDateTime))||[],r=r&&r.sort(((t,e)=>e.sportsMatchData.gameStartDateTime-t.sportsMatchData.gameStartDateTime))||[];const n=a.length,l=i.length,d=r.length;switch(n){case 0:return 0==l?r:1==l?i.concat(r):d>0?i.slice(0,e).concat(r).concat(i.slice(e)):i;case 1:return 0==l?a.concat(r):1==l?i.concat(a).concat(r):d>0?i.slice(0,1).concat(a).concat(r).concat(i.slice(1)):i.slice(0,e).concat(a).concat(i.slice(e));case 2:return 0==l?a.concat(r):d>0?i.slice(0,1).concat(a).concat(r).concat(i.slice(1)):i.slice(0,1).concat(a).concat(i.slice(1));default:return a.concat(i).concat(r)}}function Z(t){if(!t||t.length<2)return{todayMatches:t||[],preGameMatches:[],finalMatches:[]};const e=(new Date).getTime(),a=t.filter((t=>t.sportsMatchData.gameStateCatetory==o.inprogressGame||!t.sportsMatchData.gameStateCatetory&&t.sportsMatchData.cricketGameCategory))||[];let i=t.filter((t=>t.sportsMatchData.gameStateCatetory&&t.sportsMatchData.gameStateCatetory!=o.inprogressGame&&X(e,t.sportsMatchData.gameStartDateTime)));i=(null==i?void 0:i.sort(((t,e)=>t.sportsMatchData.gameStateCatetory==o.preGame&&e.sportsMatchData.gameStateCatetory==o.preGame?t.sportsMatchData.gameStartDateTime-e.sportsMatchData.gameStartDateTime:t.sportsMatchData.gameStateCatetory==o.preGame||e.sportsMatchData.gameStateCatetory==o.preGame?t.sportsMatchData.gameStateCatetory==o.preGame?-1:1:e.sportsMatchData.gameStartDateTime-t.sportsMatchData.gameStartDateTime)))||[];const r=a.concat(i);let s=t.filter((t=>t.sportsMatchData.gameStateCatetory==o.preGame&&!X(e,t.sportsMatchData.gameStartDateTime)));s=(null==s?void 0:s.sort(((t,e)=>t.sportsMatchData.gameStartDateTime-e.sportsMatchData.gameStartDateTime)))||[];let n=t.filter((t=>t.sportsMatchData.gameStateCatetory&&t.sportsMatchData.gameStateCatetory!=o.inprogressGame&&t.sportsMatchData.gameStateCatetory!=o.preGame&&!X(e,t.sportsMatchData.gameStartDateTime)));return n=(null==n?void 0:n.sort(((t,e)=>e.sportsMatchData.gameStartDateTime-t.sportsMatchData.gameStartDateTime)))||[],{todayMatches:r,preGameMatches:s,finalMatches:n}}function X(t,e){return new Date(t).getDate()===new Date(e).getDate()&&Math.abs(t-e)<864e5}function Y(t){return t.sort(((t,e)=>t.sportsMatchData.gameStartDateTime-e.sportsMatchData.gameStartDateTime))}function K(t){return(0,r.TF)(t)?c.unknown:Q(t.split("_")[0])}function Q(t){if(!t)return c.unknown;const e=c[t.toLowerCase()];return e||c.unknown}},15448:function(t,e,a){"use strict";a.d(e,{_:function(){return i}});var i,r=a(2314),s=a(62584),n=a(68364),o=a(26415),l=a(36068),d=a(53909),c=a(79703),p=a(44772),h=a(19628),u=a(85663),g=a(99478);!function(t){d.D3.PNG;const e={width:44,height:44,enableDpiScaling:!1,format:d.D3.PNG},a={width:60,height:60,enableDpiScaling:!1,format:d.D3.PNG};function i(e,i=5,s=null){var d,c,p;if(e.Model.DataType==r.zL.ColdStart)return function(t){if(t&&t.Model&&t.Model.FreCards&&t.Model.FreCards.length>0){const e=[];return t.Model.FreCards.forEach((t=>{t&&t.SatoriId&&t.LocalizedName&&e.push({id:t.SatoriId,name:t.LocalizedName,imageUrl:(0,l.xx)(t.CMSImageId,a),primaryColor:`#${t.PrimaryColor}`})})),{sportsFREData:e,sportsMatchupCardData:{dataType:r.zL.ColdStart}}}return(0,n.H)(o.eBj,"Sports FRE Card has no entries.",` Market=${(0,l.pc)()} FREData=${t&&t.Model&&t.Model.FreCards}`),null}(e);const h=(0,l.pc)(),g=function(t){if(t.Model.DataType&&t.Model.DataType===r.x_.raceList||t.Model.DataType===r.x_.singleRace)return r.rI.MotorSports;if(t.Model.DataType&&(t.Model.DataType===r.O7.scheduledTournaments||t.Model.DataType===r.O7.leaderboard))return r.rI.GolfSports;if(t.Model.DataType&&t.Model.DataType===r.rI[r.rI.NFLDraft])return r.rI.NFLDraft;return r.rI.Default}(e);let y=null;if(e.Model.LogMessage)try{y=JSON.parse(e.Model.LogMessage)}catch(t){(0,n.H)(o.l$l,"Sports card LogMessage Json parsing error.",` LogMessage=${e.Model.LogMessage} Error thrown=${t}`)}const w=x(e.Model);let b;if(e.Model&&e.Model.Tabs&&e.Model.Tabs.length>0)if(b=function(e,a,i,s=5,d=null){if(e&&e.Model&&e.Model.Tabs){let c=null;try{c=JSON.parse(e.Model.Tabs)}catch(t){return void(0,n.H)(o.wAt,"Sports card Tabs Json parsing error.",` LogMessage=${e.Model.Tabs} Error thrown=${t}`)}let p,h={};const g=new Map,v=parseInt(e.Model.DefaultTabFocus||"0");let y=0;return c&&c.forEach(((c,w)=>{var b;let S=!0;if(c){let x=null;try{x=JSON.parse(c.TabContent)}catch(t){x=null}if(!x)return void(w<=v&&y++);switch(c.TabType){case r.Zt.SportsMatches:{h.sportsMatchupCardData||(p=m(h,e,x,a,i,d));const t=f(e,x,a,i,null==p?void 0:p.sportsMatchupCardData,p.sportsLeagueInfo,p.cardClickBaseUrl,p.isCardClickBlocked,s);h=Object.assign(Object.assign({},h),t),S=(0,u.isNullOrUndefined)(t.sportsMatchOverallData)||!(null===(b=t.sportsMatchOverallData)||void 0===b?void 0:b.length),!S&&g.set(r.Zt.SportsMatches,t.sportsMatchOverallData);break}case r.Zt.Standings:{let s;switch(h.sportsMatchupCardData||(p=m(h,e,x,a,i,d)),e.Model.DataType){case r.zw.TeamStandings:case r.zw.DriverStandings:s=function(e,a,i,s,d){if(!(e&&e.Model&&a&&e.Trans&&s&&a.Standings))return null;if(0==a.Standings.length)return void(0,n.H)(o.bfG,"Sports motor standings has no value.",` LeagueId=${d.id} Market=${i} modelData=${a}`);const c=[],p=e.Model.DataType==r.zw.TeamStandings;return a.Standings.forEach((a=>{if(a){const r=p?a.TeamName:a.PlayerName;c.push({countryFlagImage:a.CountryFlagImage,points:a.Points,position:a.Position,id:p?a.TeamId:a.PlayerId,imageUrl:(0,l.xx)(p?a.TeamImage:a.PlayerImage,t.teamImageInfoEnhanced),name:r,displayName:(0,l.Sz)(a.Loc,i,e.Trans)||r})}})),c.length>0?{type:e.Model.DataType,standings:c}:null}(e,e.Model,i,null==p?void 0:p.sportsMatchupCardData,p.sportsLeagueInfo);break;default:s=function(e,a,i,r,s,d){if(!(e&&e.Model&&a&&e.Trans&&r&&a.Conferences))return null;if(0==a.Conferences.length)return void(0,n.H)(o.bfG,"Sports standings conferences has no value.",` LeagueId=${s.id} Market=${i} modelData=${a}`);const c=[],p=new Map;return a.Header&&a.Header.forEach((t=>{t&&p.set(t.Title,t.TitleLocKey)})),a.Conferences.forEach((a=>{if(a){const r=[];a.Groups&&a.Groups.forEach((a=>{var n;if(a){const o=[];null===(n=a.StandingsTable)||void 0===n||n.forEach((e=>{if(o){const a=e.GameCenterUrlSegment&&`${d}/${e.GameCenterUrlSegment}/${s.urlSegmentGameCenter}/sp-tid-${e.TriggeringId}`,i={url:(0,l.UP)(a),imageUrl:e.ImageId&&(0,l.xx)(e.ImageId,t.teamImageInfoEnhanced),name:e.Name,rank:e.Rank,satoriId:e.SatoriId,isHighlighted:e.IsHighlighted&&(0,l.z3)(e.IsHighlighted)};p.forEach(((t,a)=>{i[a]=e[a]})),o.push(i)}})),r.push({groupName:a.GroupName,groupNameLocKey:a.GroupNameLoc,groupDisplayName:(0,l.Sz)(a.GroupNameLoc,i,e.Trans),standings:o})}})),c.push({name:a.ConferenceName,nameLocKey:a.ConferenceLoc,displayName:(0,l.Sz)(a.ConferenceLoc,i,e.Trans),groups:r})}})),c.length>0?{conferences:c,header:p}:null}(e,x.League,i,null==p?void 0:p.sportsMatchupCardData,p.sportsLeagueInfo,p.cardClickBaseUrl)}S=(0,u.isNullOrUndefined)(s),!S&&g.set(r.Zt.Standings,s);break}case r.Zt.Articles:{h.sportsMatchupCardData||(p=m(h,e,x,a,i,d));const t=k(x,p.sportsLeagueInfo.id,i);S=(0,u.isNullOrUndefined)(t)||!(null==t?void 0:t.length),!S&&g.set(r.Zt.Articles,{articles:t});break}}}S&&w<=v&&y++})),g.size>0?Object.assign(Object.assign({},h),{sportsTabData:g,defaultTabFocus:v-y}):null}}(e,g,h,i,s),b){if(b.sportsMatchupCardData&&(null===(c=b.sportsMatchOverallData)||void 0===c?void 0:c.length))return Object.assign(Object.assign({},b),{logMessage:y,notifications:w})}else(0,n.H)(o.wAt,"Sports card Tabs data error.",` Tabs=${e.Model.Tabs} League=${(null===(d=e.Model.League)||void 0===d?void 0:d.Id)||e.Model.Id}`);const C=function(t,e){switch(t){case r.rI.GolfSports:return e.Tournaments;case r.rI.MotorSports:return e.Races;case r.rI.NFLDraft:return e.Articles||{}}return e.SportsMatches}(g,e.Model),$=v(e,C,g,h,s);if(!$)return void(0,n.H)(o.NvH,"Sports Card data error.",` Model=${e.Model} League=${(null===(p=e.Model.League)||void 0===p?void 0:p.Id)||e.Model.Id}`);const T=Object.assign(Object.assign({},b),{sportsFREData:$.leagueTeams,sportsMatchupCardData:$.sportsMatchupCardData,sportsSkinnyData:S(e.Model,$.sportsLeagueInfo.id,h),logMessage:y,notifications:w}),D=f(e,C,g,h,$.sportsMatchupCardData,$.sportsLeagueInfo,$.cardClickBaseUrl,$.isCardClickBlocked,i);return Object.assign(Object.assign({},T),D)}function m(t,e,a,i,r,s=null){const n=v(e,a,i,r,s);if(n)return t.sportsFREData=n.leagueTeams,t.sportsMatchupCardData=n.sportsMatchupCardData,t.sportsSkinnyData=S(e.Model,n.sportsLeagueInfo.id,r),n}function v(a,i,s,d,c=null){var p,h,u,m,v,f;if(!a||!a.Model||!a.Trans)return null;const y=c&&c.segmentList,b=a.Model.SportsMatches||i||{},S=function(e,a,i,s=null){var n,o,d,c,p;if(!e||!e.Trans)return null;const h=e.Trans,u=a&&(null===(n=a.League)||void 0===n?void 0:n.Id)||e.Model.Id,g=a&&(null===(o=a.League)||void 0===o?void 0:o.SatoriId),m=a&&(null===(d=a.League)||void 0===d?void 0:d.LeagueStartDateTime),v=`DisplayText_${u}`,f=`UrlSegment_${u}`,y="UrlSegment_gamecenter",w="UrlSegment_schedule",b="UrlSegment_standings",S="UrlSegment_score",x="UrlSegment_verticalname_sports",C=s&&s.find((t=>t.market.toLowerCase()===i.toLowerCase())),$="UrlSegment_RaceResults",k="UrlSegment_RaceCalendar",T="UrlSegment_Racing",D=(0,l.Sz)(T,i,h),M=D?D+"/"+(0,l.Sz)(f,i,h):(0,l.Sz)(f,i,h),I=C&&C.leagueSegment?C.leagueSegment:M,L=C&&C.sportsVertical?C.sportsVertical:(0,l.Sz)(x,i,h),F=(0,l.Sz)(y,i,h)||(0,l.Sz)($,i,h),O=(0,l.Sz)(w,i,h)||(0,l.Sz)(k,i,h),P=[],A=`https://${(0,l.FD)(i)}/${i}/${L}/${I}`;return a&&a.League&&(null===(c=a.League.LeagueTeams)||void 0===c||c.forEach((a=>{if(a&&a.SatoriId||a.FeedId){const s=(0,l.Sz)(a.Loc,i,h)||a.Name,n=a.TeamTriggeringId;P.push({id:a.SatoriId,yId:(0,l.Sz)(a.FeedId,i,h)||a.FeedId,name:s,type:r.fs.Team,sportType:e.Model.Sport,leagueId:u,displayText:s,imageUrl:(0,l.xx)(a.ImageId,t.teamImageInfoEnhanced),triggeringId:n,webSearchUrl:n?`${A}/${O}/sp-tid-${n}`:A})}}))),{id:u,satoriId:g,yId:(0,l.Sz)(a&&(null===(p=a.League)||void 0===p?void 0:p.LeagueFeedId),i,h),name:(0,l.Sz)(v,i,h),startDateTime:parseInt(m||"0"),urlSegment:I,urlSegmentGameCenter:F,urlSegmentSchedule:O,urlSegmentSports:L,urlSegmentStandings:(0,l.Sz)(b,i,h),urlSegmentScores:(0,l.Sz)(S,i,h),leagueTeams:P}}(a,b,d,y);if(!S)return null;(0,g.TF)(S.name)&&(0,n.H)(o.hnd,"Sports card title(league name) has no value.",`LeagueId=${S.id} LeagueSatoriId=${S.satoriId}  FeedId=${a.Model.FeedId} primaryEntityId=${a.Model.PrimaryEntityId} Market=${d}`);const x=c&&c.disableMatchClickThroughBySport,C=c&&c.teamImageSize;C&&(C.width&&(t.teamImageInfo.width=C.width),C.height&&(t.teamImageInfo.height=C.height));const $=a.Model.Sport||(null==b?void 0:b.Sport)||"",k=x&&$&&x.filter((t=>t.toLowerCase()==$.toLowerCase())).length>0,T=`https://${(0,l.FD)(d)}/${d}/${S.urlSegmentSports}/${S.urlSegment}`,D=`https://${(0,l.FD)(d)}/${d}/${S.urlSegmentSports}`;let M,I,L=(0,g.TF)(S.urlSegmentSports)||(0,g.TF)(S.urlSegment)||(0,g.TF)(S.urlSegmentSchedule)?null:`${T}/${S.urlSegmentSchedule}`,F=null===(p=S.name)||void 0===p?void 0:p.toLocaleUpperCase();const O=(0,g.TF)(S.urlSegmentStandings)?null:`${T}/${S.urlSegmentStandings}`,P=(0,g.TF)(S.urlSegmentScores)?null:`${T}/${S.urlSegmentScores}`;switch(s){case r.rI.MotorSports:if(M=r.HN.singleparticipant,I=a.Model.PrimaryEntityImage,a.Model.DataType===r.x_.singleRace){const t=a.Model.Races[0]&&(null===(h=a.Model.Races[0].RaceName)||void 0===h?void 0:h.toUpperCase())||"";L=w(a.Model.Races[0],S,T,k)||L,F=t?`${F} : ${t}`:F}L=L||T;break;case r.rI.GolfSports:if(M=r.HN.singleparticipant,I=a.Model.PrimaryEntityImage,L=L||T,a.Model.DataType===r.O7.leaderboard){const t=(null===(m=null===(u=a.Model)||void 0===u?void 0:u.Tournaments)||void 0===m?void 0:m.length)>0&&(null===(f=null===(v=a.Model.Tournaments[0])||void 0===v?void 0:v.TournamentName)||void 0===f?void 0:f.toUpperCase())||"",e=t?`${F} : ${t}`:F;(null==e?void 0:e.length)<30&&(F=e)}break;case r.rI.NFLDraft:I=a.Model.PrimaryEntityImage;break;default:M=r.HN.dualparticipants,I=b.League.ImageId}return{sportsMatchupCardData:{cardTitle:F,cardTitleClickthroughUrl:(0,l.UP)(L),cardTitleImageUrl:(0,l.xx)(I,e),particiapntFormat:M,seeMoreLeagueClickthroughUrl:(0,l.UP)((0,g.TF)(S.urlSegmentSports)||(0,g.TF)(S.urlSegment)?null:T),seeMoreSportsClickthroughUrl:(0,l.UP)((0,g.TF)(S.urlSegmentSports)?null:`https://${(0,l.FD)(d)}/${d}/${S.urlSegmentSports}`),dataType:a.Model.DataType,sportType:(0,r.H9)($),leagueId:S.id,leagueSatoriId:S.satoriId,leagueYId:S.yId,leagueName:S.name,primaryEntityId:a.Model.PrimaryEntityId,primaryEntityName:(0,l.Sz)(a.Model.PrimaryEntityLoc,d,a.Trans),primaryEntityType:a.Model.PrimaryEntityType,useSuperDesign:(0,l.z3)(a.Model.UseSuperDesign),isMarchMadnessTournament:(0,l.z3)(a.Model.IsMarchMadnessTournament),bracketPhase:a.Model.BracketPhase,msnSportsUrl:(0,l.UP)(D),sportsStandingsUrl:O,sportsScoresUrl:P,startDateTime:S.startDateTime},sportsLeagueInfo:S,cardClickBaseUrl:T,isCardClickBlocked:k,leagueTeams:S.leagueTeams}}function f(e,a,i,s,d,c,p,h,u){if(!(e&&e.Model&&a&&e.Trans&&d))return null;let m,v,f;switch(i){case r.rI.GolfSports:m=function(e,a,i,s,d,c){if((0,l.n$)(e))return null;if(!Array.isArray(e))return(0,n.H)(o.NvH,"Sports matches error getTournamentData",`matches=${JSON.stringify(e)} league=${JSON.stringify(a)}`),null;if(!e.length)return null;const p=[];return e.some((e=>{if(e){const n=function(e,a,i,s,n){const o=(0,l.pc)(),d=e.TournamentState?e.TournamentState:null,c=e.StartDateTime?new Date(parseInt(e.StartDateTime)):new Date,p=e.EndDateTime?new Date(parseInt(e.EndDateTime)):new Date,h=T(d),u=!e.StartDateTime&&h===r.w_.preGame,m=n||(0,g.TF)(a.urlSegmentSports)||(0,g.TF)(a.urlSegment)||(0,g.TF)(e.TournamentId)?null:`${i}`,v=(0,g.TF)(e.ImageId),f=e.Participants&&e.Participants.map((a=>({name:a.Name,isWinner:a.IsWinner,total:a.Points,rank:a.Rank,teetime:null==a.TeeTime||"-"==a.TeeTime?"-":M(new Date(parseInt(a.TeeTime)),o),countryFlagImageId:(0,g.TF)(a.ImageId)?(0,l.xx)(e.ImageId,t.teamImageInfo,v):(0,l.xx)(a.ImageId,t.teamImageInfo,v)})));return{sportsMatchData:{matchClickthroughUrl:(0,l.UP)(m),locationName:e.TournamentLocation,gameStateCatetory:h,name:e.TournamentName,gameId:e.TournamentId,gameDate:D(c,o),gameStartTime:u?null:M(c,o),startDateTime:D(c,o),endDateTime:D(p,o),currentDateTime:D(new Date,o),round:e.TournamentRound,tournamentImageUrl:(0,l.xx)(e.TournamentImageId,t.teamImageInfo,v),participants:f||[]}}}(e,a,i,0,c);if(n&&(p.push(n),p.length>=s))return!0}})),p}(a,c,p,u,e.Trans,h);break;case r.rI.MotorSports:m=function(e,a,i,s,d,c){if((0,l.n$)(e))return null;if(!Array.isArray(e))return(0,n.H)(o.NvH,"Sports matches error getRaceData",`matches=${JSON.stringify(e)} league=${JSON.stringify(a)}`),null;if(!e.length)return null;const p=[];return e.some((e=>{if(e){const s=function(e,a,i,s,n){const o=(0,l.pc)(),d=e.RaceState?e.RaceState:null,c=new Date(parseInt(e.RaceDateTime)),p=T(d),h=!e.RaceDateTime&&p===r.w_.preGame,u=w(e,a,i,n),m=(0,g.TF)(e.ImageId),v=e.Participants&&e.Participants.map((e=>({driverName:e.DriverName,driverNumber:e.DriverNumber,isWinner:e.IsWinner,lapsCompleted:e.LapsCompleted,points:e.Points,rank:e.Rank,timeDifferenceFromLeader:e.TimeDifferenceFromLeader,bestTime:e.BestTime,countryFlagImage:e.CountryFlagImage,teamImage:(0,l.xx)(e.TeamImage,t.teamImageInfo,!1)})));return{sportsMatchData:{laps:e.Laps,matchClickthroughUrl:(0,l.UP)(u),locationName:e.LocationName,gameStateCatetory:p,raceName:e.RaceName,raceImageUrl:(0,l.xx)(e.ImageId,t.teamImageInfo,m),gameId:e.RaceId,gameDate:D(c,o),gameStartTime:h?null:M(c,o),gameStartDateTime:e.RaceDateTime,participants:v||[]}}}(e,a,i,0,c);s&&p.push(s)}})),(0,r.o1)(p).slice(0,s)}(a,c,p,u,e.Trans,h);break;case r.rI.NFLDraft:if(f=e.Model&&e.Model.Draft,f&&(v={draft:{startDateTime:new Date(parseInt(f.StartDateTime)),endDateTime:new Date(parseInt(f.EndDateTime)),location:f.Location,title:f.Title,isLive:(0,l.z3)(f.IsLive),seeMoreUrl:f.SeeMoreUrl},articles:$(a,c.id,s)},!(0,g.TF)(f.SeeMoreUrl))){const t=(0,l.UP)(f.SeeMoreUrl);d.cardTitleClickthroughUrl=t,d.seeMoreLeagueClickthroughUrl=t,d.seeMoreSportsClickthroughUrl=t}break;default:m=function(t,e,a,i,s,d,c=!0){if((0,l.n$)(t))return null;if(!Array.isArray(t))return(0,n.H)(o.NvH,"Sports matches error getMatchData",`matches=${JSON.stringify(t)} league=${JSON.stringify(e)}`),null;if(!t.length)return null;if((0,l.wj)(d))return function(t,e,a,i,s,d){if((0,l.n$)(t))return null;if(!Array.isArray(t))return(0,n.H)(o.NvH,"Sports matches error getMatchDataForCricket",`matches=${JSON.stringify(t)} league=${JSON.stringify(e)}`),null;if(!t.length)return null;const c=[];return t.some((t=>{if(t){const n=b(t,e,a,i,s,d);if((0,l.wj)(d)){const e=t.GameFormat?t.GameFormat:null,a=t.GameSummaryInfo?t.GameSummaryInfo:null,i=t.GameState&&t.GameState.DetailedGameState?t.GameState.DetailedGameState:null,s=t.GameState.State?function(t,e){const a=function(t){switch(t){case"InProgressGame":case"InProgress":return r.w_.inprogressGame;case"Drinks":return r.qD.drinks;case"Dinner":return r.qD.dinner;case"Tea":return r.qD.tea;case"Lunch":return r.qD.lunch;case"Fog":return r.qD.fog;case"Innings":return r.qD.innings;case"Stumps":return r.qD.stumps;case"InningsBreak":return r.qD.break;default:return r.w_.nonlive}}(e);if(a!=r.w_.nonlive)return a;switch(t){case"PreGame":return r.w_.preGame;case"Final":case"PostGame":return r.w_.postGame;default:return r.w_.nonlive}}(t.GameState.State,i):null,o=t&&t.GameState&&t.GameState.GamePeriod?t.GameState.GamePeriod:null;let l=null;s==r.w_.preGame?l=r.w_.preGame:s==r.w_.postGame?l=r.w_.postGame:s==r.w_.inprogressGame&&(l=r.w_.inprogressGame);const d=t.TossInfo?t.TossInfo:null,c=t.VenueInfo?t.VenueInfo:null,p=t.GameState&&t.GameState.GameClock?t.GameState.GameClock:"";n&&(n.sportsMatchData.gameFormat=e,n.sportsMatchData.gameSummaryInfo=a,n.sportsMatchData.detailedGameState=i,n.sportsMatchData.gamePeriod=o,n.sportsMatchData.gameState=s,n.sportsMatchData.tossInfo=d,n.sportsMatchData.venueInfo=c,n.sportsMatchData.gamePeriodAndClock=o+" "+p,n.sportsMatchData.cricketGameCategory=s,n.sportsMatchData.gameStateCatetory=l)}n&&c.push(n)}})),(0,r.o1)(c,1)}(t,e,a,i,s,d);const p=[];return t.some((t=>{if(t){const r=b(t,e,a,i,s,d);r&&p.push(r)}})),c?(0,r.o1)(p):p}(a.League.Matches,c,p,e.Trans,h,e.Model.DataType,!d.isMarchMadnessTournament)}if(m&&0!=m.length||(m=[],(0,n.H)(o.bfG,"Sports card league match has no value.",` LeagueId=${c.id} Market=${s} DataType=${e.Model.DataType} SportType=${d.sportType}`)),d.isMarchMadnessTournament&&!d.bracketPhase){const t=m.find((t=>!(0,g.TF)(t.sportsMatchData.bracketPhase)));d.bracketPhase=t&&t.sportsMatchData.bracketPhase}const y=m.filter((t=>!(0,g.TF)(t.sportsMatchData.videoImageUrl))).slice(0,u);return{sportsMatchOverallData:m.slice(0,u),sportsMatchWithVideoData:y.length>=r.P0?y:null,articleData:v}}function y(t,e,a=!1){var i;if(a&&t.sportsSeeMoreOnMsn)return t.sportsSeeMoreOnMsn;const r=t.sportsSeeMore||t.seeMoreTooltip||(null===(i=t.cardActionsTooltips)||void 0===i?void 0:i.seeMore)||"";return a||(0,g.TF)(e)||(0,g.TF)(t.seeMoreSports)?r:h.Ld.Format(t.seeMoreSports,e)}function w(t,e,a,i){return i||(0,g.TF)(e.urlSegmentSports)||(0,g.TF)(e.urlSegment)||(0,g.TF)(e.urlSegmentGameCenter)||(0,g.TF)(t.RaceId)||!t||!a?null:`${a}/${e.urlSegmentGameCenter}/sp-id-${t.RaceId}`}function b(e,a,i,s,n,o){if(!e||!a)return null;const d=(0,l.pc)(),c=e.GameState&&e.GameState.State?e.GameState.State:null,p=e.GameNotificationDetails,h=new Date(parseInt(e.GameStartDateTime)),u=e.GameState&&e.GameState.GamePeriod?e.GameState.GamePeriod:"",m=e.GameState&&e.GameState.GameClock?e.GameState.GameClock:"",v=(0,l.wj)(o)?null:T(c),f=e.ParticipantOne.Score,y=e.ParticipantTwo.Score,w=e.ParticipantOne.TeamTriggeringId,b=e.ParticipantTwo.TeamTriggeringId,S=v===r.w_.postGame&&f&&y;let x=!1,$=t.teamImageInfoEnhanced;(0,l.wj)(o)&&(t.teamImageInfo.width=20,t.teamImageInfo.height=20,$=t.teamImageInfo),e.ParticipantOne.IsWinner?x=(0,l.z3)(e.ParticipantOne.IsWinner.toString()):(0,r.xR)(o)||(x=S?parseInt(f)>parseInt(y):null);let k=!1;e.ParticipantTwo.IsWinner?k=(0,l.z3)(e.ParticipantTwo.IsWinner.toString()):(0,r.xR)(o)||(k=S?parseInt(y)>parseInt(f):null);const I=n||(0,g.TF)(a.urlSegmentSports)||(0,g.TF)(a.urlSegment)||(0,g.TF)(a.urlSegmentGameCenter)||(0,g.TF)(e.GameId)?null:`${i}/${a.urlSegmentGameCenter}/sp-id-${e.GameId}`,L=!((0,g.TF)(e.ParticipantOne.ImageId)&&(0,g.TF)(e.ParticipantTwo.ImageId)),F=e.GameStartDateTimeIsToBeAnnounced&&v===r.w_.preGame,O=e.Video&&e.Video.Markets&&Object.values(e.Video.Markets)&&Object.values(e.Video.Markets).filter((t=>t&&t.toString().toLowerCase()===d.toLowerCase())).length>0,P=(0,g.TF)(w)||(0,g.TF)(a.urlSegmentSchedule)?null:`${i}/${a.urlSegmentSchedule}/sp-tid-${w.trim()}`,A=(0,g.TF)(b)||(0,g.TF)(a.urlSegmentSchedule)?null:`${i}/${a.urlSegmentSchedule}/sp-tid-${b.trim()}`,E=function(t,e,a){if(!t)return null;const i=e==r.w_.postGame,s=e==r.w_.preGame,n=!(!s||!t.IsPreGameInjuryEnabled||"true"!=t.IsPreGameInjuryEnabled)||null,o=!(!i||!t.IsPostGameStatsAvailable||"true"!=t.IsPostGameStatsAvailable)||null,l=!(!s||!t.IsPreGamePreviousMatchupEnabled||"true"!=t.IsPreGamePreviousMatchupEnabled)||null;return{isGameStatNotificationEnabled:o,isInjuryNotificationEnabled:n,isVideoNotificationEnabled:i&&a,isPreviousMatchupNotificationEnabled:l}}(p,v,O),U={};if(null!=e.PollResponse&&null!=e.PollResponse.Options&&2==Object.keys(e.PollResponse.Options).length){U.Options={},U.Title=e.PollResponse.Title,U.PollId=e.PollResponse.PollId;const a="<<UserVotedOption1>>",i="<<UserVotedOption2>>";Object.entries(e.PollResponse.Options).forEach((([a,i])=>{const r=i.Text==e.ParticipantOne.Name?e.ParticipantOne:e.ParticipantTwo;U.Options[a]={},U.Options[a].IsUserVoted=i.IsUserVoted,U.Options[a].Text=r.Name,U.Options[a].VoteCount=i.VoteCount,U.Options[a].OptionId=i.OptionId,U.Options[a].ImageURL=(0,l.xx)(r.ImageId,t.teamImageInfo,L)})),e.enablePickTheWinner=U.Options.Option1.IsUserVoted!=a&&U.Options.Option2.IsUserVoted!=i}return{sportsMatchData:{participantOne:{imageUrl:(0,l.xx)(e.ParticipantOne.ImageId,$,L),imageAltText:e.ParticipantOne.Name,name:(0,l.Sz)(e.ParticipantOne.Loc,d,s)||e.ParticipantOne.Name,score:f||"",isWinner:x,primaryColor:C(e.ParticipantOne.PrimaryColorHex),satoriId:e.ParticipantOne.TeamSatoriId,yId:(0,l.Sz)(e.ParticipantOne.FeedId,d,s),city:e.ParticipantOne.City,teamTriggeringId:w,scheduleUrl:P&&(0,l.UP)(P),seriesWins:e.ParticipantOne.SeriesWins&&parseInt(e.ParticipantOne.SeriesWins),teamAlias:e.ParticipantOne.TeamAlias},participantTwo:{imageUrl:(0,l.xx)(e.ParticipantTwo.ImageId,$,L),imageAltText:e.ParticipantTwo.Name,name:(0,l.Sz)(e.ParticipantTwo.Loc,d,s)||e.ParticipantTwo.Name,score:y||"",isWinner:k,primaryColor:C(e.ParticipantTwo.PrimaryColorHex),satoriId:e.ParticipantTwo.TeamSatoriId,yId:(0,l.Sz)(e.ParticipantTwo.FeedId,d,s),city:e.ParticipantTwo.City,teamTriggeringId:b,scheduleUrl:A&&(0,l.UP)(A),seriesWins:e.ParticipantTwo.SeriesWins&&parseInt(e.ParticipantTwo.SeriesWins),teamAlias:e.ParticipantTwo.TeamAlias},matchClickthroughUrl:(0,l.UP)(I),matchScheduleUrl:(0,l.UP)(I),gameStateCatetory:v,gameDate:D(h,d),gameStartTime:F?null:M(h,d),gamePeriodAndClock:u+" "+m,tvChannel:e.TvChannel,gameId:e.GameId,gameStartDateTime:e.GameStartDateTime,isAdaptiveCardAvailable:(0,l.z3)(e.IsAdaptiveCardAvailable),videoImageUrl:O&&e.Video&&e.Video.VideoThumbnail&&(0,l.xx)(e.Video.VideoThumbnail,t.videoThumbnailInfo,L),videoTitle:O&&e.Video&&e.Video.VideoTitle,videoLocKey:O&&e.Video&&(0,r.Pe)(e.Video.VideoType),namedGames:e.NamedGames&&Object.values(e.NamedGames),pollResponsePayload:U,bracketPhase:e.BracketPhase,gameNumber:e.GameNumber&&parseInt(e.GameNumber),stageInfo:e.StageInfo,gameFormat:e.GameFormat,enablePickTheWinner:e.enablePickTheWinner,gameInCardNotificationDetails:E}}}function S(e,a,i){if(!e)return null;if(e.SkinnyRanking){let r,s=null;try{r=JSON.parse(e.SkinnyRanking)}catch(t){s=t&&t.message,r=null}if(!r||!r.length)return(0,n.H)(o.uSd,"transformSportsSkinnyData SkinnyRanking has no value.",` RawData=${e.SkinnyRanking} LeagueId=${a} Market=${i} error=${s}`),null;const d=[];return r.forEach((e=>{e&&e.SatoriId&&e.LocalizedName&&d.push({id:e.SatoriId,yId:e.FeedId,name:e.LocalizedName,sportType:"FromHoverDropdown",leagueId:a,displayText:e.LocalizedName,type:e.EntityType,typeDisplayHint:(0,g.TF)(e.Subtitle)?null:e.Subtitle,imageUrl:(0,l.xx)(e.ImageId,t.suggestionImageInfo,!0),isLive:e.IsLive,useSuperDesign:(0,g.TF)(e.UseSuperDesign)?null:(0,l.z3)(e.UseSuperDesign),hasExplicitInterest:e.HasExplicitInterest,webSearchUrl:e.ClickThroughUrl})})),d}return null}function x(t){if(!t||!t.Notifications||!t.Notifications.length)return null;const e=[];return t.Notifications.forEach((t=>{t&&e.push({gameId:t.GameId,gameState:t.State,type:t.Type,signature:t.Signature})})),e}function C(t){return t?t.startsWith("#")?t:`#${t}`:t}function $(t,e,a){let i;try{i=JSON.parse(t)}catch(i){return(0,n.H)(o.oYh,"transformSportsArticlesData JSON.parse(modelData) exception.",` RawData=${t} LeagueId=${e} Market=${a} error=${i&&i.message}`),null}return k(i,e,a)}function k(t,e,a){if(!t)return null;const i=[];if(t&&t.Articles&&t.Articles.JsonResponse){let r,s=null;try{r=JSON.parse(t.Articles.JsonResponse)}catch(t){s=t&&t.message,r=null}(!r||!r.subCards||r.subCards.length<=0)&&(0,n.H)(o.oYh,"transformSportsArticlesData has no article value.",` RawData=${t.Articles} LeagueId=${e} Market=${a} error=${s}`),r&&r.subCards&&r.subCards.forEach((t=>{if(t&&t.title&&t.url){const e=t.images&&t.images.length&&t.images[0].url||"";i.push({provider:{id:t.provider&&t.provider.id,name:t.provider&&t.provider.name,logoUrl:t.provider&&t.provider.logoUrl},publishTime:t.publishedDateTime,imageUrl:e&&`${e}?w=82&h=82&q=120&m=6&f=png&u=t`,title:t.title,articleAbstract:t.abstract,articleUrl:(0,l.UP)(t.url),articleId:t.id,isLocalContent:t.isLocalContent})}}))}return i}function T(t){switch(t){case"PreGame":default:return r.w_.preGame;case"InProgressGame":case"InProgress":return r.w_.inprogressGame;case"Final":case"PostGame":return r.w_.postGame}}function D(t,e){const a=new c.$;try{return a.localizedMonthDate(t,e)}catch(a){(0,n.H)(o.HkJ,"Sports card LocalizationUtility.localizedMonthDate exception.",`date=${t} market=${e} error=${a&&a.message}`);let i=t.toLocaleDateString("en-us",{month:"short",day:"numeric"});return i||(i=t.toDateString()),i?i.replace(/\u200E/g,"").replace(/\u200F/g,""):i}}function M(t,e){const a=new c.$;try{return a.formatTimeFromDate(t,e)}catch(a){return(0,n.H)(o.HkJ,"Sports card LocalizationUtility.formatTimeFromDate exception.",`date=${t} market=${e} error=${a&&a.message}`),t.toTimeString()}}t.teamImageInfo={width:26,height:26,enableDpiScaling:!1,format:d.D3.PNG},t.teamImageInfoEnhanced={width:46,height:46,enableDpiScaling:!1,format:d.D3.PNG},t.suggestionImageInfo={width:52,height:52,enableDpiScaling:!1,format:d.D3.PNG},t.videoThumbnailInfo={width:268,height:144,enableDpiScaling:!1,format:d.D3.PNG},t.mapSubCardToSportsMatchData=function(t,e=5,a=null){if(!t||!t.data)return null;let r;try{r=JSON.parse(t.data)}catch(e){(0,n.OO)(e,o.NvH,"Sports card parse exception.",`CardId=${t.id} data=${t.data} dataType=${t.dataType} error=${e&&e.message}`)}if(!r)return(0,n.H)(o.PTG,"Sports card data has no value.",`dataType=${t.dataType} cardId=${t.id}`),null;if(t.type===p.PL.SportsMatch)try{return i(r,e,a)}catch(e){return(0,n.OO)(e,o.NvH,"Sports card transformSportsMatchDataWithTrans exception.",`CardId=${t.id} data=${t.data} dataType=${t.dataType} error=${e&&e.message}`),null}return(0,n.H)(o.NvH,"Sports card unknown type",` value: type=${t.type} cardId=${t.id} dataType=${t.dataType}`),null},t.transformSportsMatchDataWithTrans=i,t.updateSportsCardDataTexts=function(t,e,a=!1,i=null,n=!1){if(!e||!t)return;if(t.dataType==r.rI[r.rI.NFLDraft])return t.seeMoreLeagueText=s.cK,void(t.seeMoreSportsText=s.cK);if(a){const r=i||y(e,"",a);return t.seeMoreLeagueText=r,t.seeMoreSportsText=r,t.seeMoreLeagueClickthroughUrl=t.msnSportsUrl,void(t.seeMoreSportsClickthroughUrl=t.msnSportsUrl)}const o=t.leagueId||"",l=o!=r.UN.NBA&&o!=r.UN.NHL&&t.useSuperDesign||!1,d=s.wn||t.leagueName;if(t.seeMoreLeagueText=y(e,l?d:t.leagueName,a),t.seeMoreSportsText=e.sportsCTA||y(e,""),n){const e=t.cardTitleClickthroughUrl;t.cardTitleClickthroughUrl=t.seeMoreLeagueClickthroughUrl,t.seeMoreLeagueClickthroughUrl=e,t.seeMoreSportsClickthroughUrl=e}},t.updateSportsMatchDataTexts=function(t,e){if(!e||!t)return t;t.forEach((t=>{t&&t.sportsMatchData&&(t.sportsMatchData.gameStartTime=t.sportsMatchData.gameStartTime||e.sportsTBA,t.sportsMatchData.gameState=function(t,e){if(t===r.w_.postGame)return e.sportsStateFinal;return""}(t.sportsMatchData.gameStateCatetory,e))}))},t.getSuperDesignMatchData=function(t){if(t){const e=t.find((t=>t.sportsMatchData.namedGames&&t.sportsMatchData.namedGames.find((t=>t&&t.toLowerCase()===s.Uf.SuperBowl.toLowerCase()))));if(e){if(e.sportsMatchData.participantOne.satoriId!=s.ls){const t=Object.assign(Object.assign({},e.sportsMatchData),{participantOne:e.sportsMatchData.participantTwo,participantTwo:e.sportsMatchData.participantOne});return Object.assign(Object.assign({},e),{sportsMatchData:t})}return e}}return null},t.getSportsNotificationsData=x}(i||(i={}))},62584:function(t,e,a){"use strict";a.d(e,{$m:function(){return N},BL:function(){return x},FP:function(){return F},KK:function(){return f},Nm:function(){return q},O_:function(){return n},Pp:function(){return Z},Pu:function(){return O},Q5:function(){return K},S2:function(){return Q},TM:function(){return z},Tl:function(){return A},Uf:function(){return R},XX:function(){return H},Xz:function(){return tt},_:function(){return j},_e:function(){return P},_y:function(){return c},au:function(){return U},bW:function(){return C},cK:function(){return v},eo:function(){return E},fN:function(){return J},fj:function(){return u},fy:function(){return W},ic:function(){return g},kW:function(){return G},ls:function(){return _},mI:function(){return m},ob:function(){return d},t0:function(){return S},u9:function(){return w},uF:function(){return b},wn:function(){return B},zJ:function(){return Y},zV:function(){return X}});var i=a(99478),r=a(2314);const s="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/{0}.img?w={1}&h={2}&q=60&m=6&f=png&u=t",n=t=>{let e=146;return t==r.J4.Medium?e=304:t==r.J4.Large&&(e=462),`https://img-s-msn-com.akamaized.net/tenant/amp/entityid/{0}.img?w=300&h=${e}&q=60&m=6&f=png&u=t`},o={_1x_1y:{true:"AAXuDjK",false:"AAXu3hb"},_1x_2y:{true:"AAXuyi4",false:"AAXuekj"},_1x_3y:{true:"AAXuhdC",false:"AAXuEHD"}},l={true:"AAYi0BL",false:"AAYhZK9"},d=(t,e)=>(0,i.WU)(s,l[t.toString()],e?"316":"138",e?"151":"66"),c=(t,e)=>(0,i.WU)(n(e),o[e][t.toString()]),p={_1x_1y:{true:"AAXo88W",false:"AAXobLS"},_1x_2y:{true:"AAXo5JX",false:"AAXocWW"},_1x_3y:{true:"AAXqQEY",false:"AAXqBPS"}},h={true:{true:"AAXOcKt",false:"AAXO2qQ"},false:{true:"AAXOec2",false:"AAXOcKs"}},u=(t,e)=>(0,i.WU)(s,h[t.toString()][e.toString()],e?"302":"129",e?"184":"78"),g=(t,e)=>(0,i.WU)(n(e),p[e][t.toString()]),m=(t,e=null)=>{if(t){const a=new Date(t.getTime()),i=new Date;if(a.getUTCFullYear()==i.getUTCFullYear()&&a.getUTCMonth()==i.getUTCMonth()){const t=a.getDate(),r=i.getDate();if(t==r)return 0;if(t>r)return t-r;if(e){const a=new Date(e.getTime()).getDate();if(t<=r&&r<=a)return 0}}const r=(t.getTime()-i.getTime())/864e5;return r<0?Math.floor(r):Math.ceil(r)}return-1},v="See NFL Draft news",f="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAWjKSk.img?w=66&h=64&q=60&m=6&f=png&u=t",y=t=>n(t?r.J4.Small:r.J4.Medium),w=(t,e,a)=>{if(t&&e){const i=t.toLocaleDateString(a,{day:"numeric",month:"short",timeZone:"UTC"});if(t.getMonth()==e.getMonth())return`${i} - ${e.getUTCDate()}`;return`${i} - ${e.toLocaleDateString(a,{day:"numeric",month:"short",timeZone:"UTC"})}`}},b=(t,e)=>m(t,e),S=t=>{if(t){const e=new Date;return t.getTime()<e.getTime()&&t.getUTCDate()!=e.getUTCDate()}return!1},x="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAUKalD.img?w=34&h=50&q=60&m=6&f=png&u=t",C="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAUKdr8.img?w=34&h=50&q=60&m=6&f=png&u=t",$={"15ba21cd-598d-91bf-72e1-dae4d9e36e5f":{imageId:"AAVHo0k"},"7f19b489-2322-57a1-d1a5-8ab8ad507673":{imageId:"AAVGx8U"},"96a276c8-b977-b698-7a2d-c1ab7eb2dadc":{imageId:"AAVH08j"},"5fb08c6e-394d-4155-5187-34dad331da93":{dark:"AAVHsPO",imageId:"AAVHnXV"},"a0ce1157-38fa-0c59-ca1f-013a36282db4":{imageId:"AAVHnZI"},"061c5d93-3932-e6cc-895f-d497f6d772aa":{imageId:"AAVH2Na"},"0748c244-890e-e42e-16e1-8055fd8e6a06":{imageId:"AAVHfGY"},"909f6f78-8360-6bc3-38b9-115f606ed104":{imageId:"AAVHo05"}},k="FirstRound",T="SecondRound",D="Sweet16",M="EliteEight",I="FinalFour",L="NationalChampionship",F={tournament:"Tournament",quarterFinal:"Quarterfinal",semiFinal:"SemiFinal",championship:"Championship",champion:"Champion"},O=t=>"713c382f-6073-4bb2-8af8-3cb285f303ad"==t||"651280b7-1fa5-b801-2dbc-bfe364804e51"==t,P=t=>{switch(t){case k:return"Round of 64";case T:return"Round of 32";case D:return"Round of 16";case M:return"Quarterfinal";case I:return"Semifinal";case L:return"Championship";default:return null}},A=(t,e)=>{switch(t){case k:case T:case D:return F.tournament;case M:return F.quarterFinal;case I:return F.semiFinal;case L:return e==r.w_.postGame?F.champion:F.championship;default:return F.tournament}},E=(t,e)=>{switch(t){case F.tournament:return e?"WOMEN'S TOURNAMENT":"MEN'S TOURNAMENT";case F.quarterFinal:return e?"WOMEN'S QUARTERFINAL":"MEN'S QUARTERFINAL";case F.semiFinal:return e?"WOMEN'S SEMIFINAL":"MEN'S SEMIFINAL";case F.championship:return e?"WOMEN'S NATIONAL CHAMPIONSHIP":"MEN'S NATIONAL CHAMPIONSHIP";case F.champion:return e?"WOMEN'S CHAMPIONS":"MEN'S CHAMPIONS";default:return null}},U=(t,e,a,r)=>{const s=y(a);let n;switch(t){case F.tournament:case F.quarterFinal:n=e?r?a?"AAUK5oy":"AAUKeoP":a?"AAUKaty":"AAUKau6":r?a?"AAUKeop":"AAUKhIN":a?"AAUKhIl":"AAUJZWd";break;case F.semiFinal:n=e?r?a?"AAUKhGE":"AAUJPMJ":a?"AAUKenc":"AAUK7dQ":r?a?"AAUJZTB":"AAUJPMI":a?"AAUKend":"AAUJZUv";break;case F.championship:n=e?r?a?"AAUJZRV":"AAUKaqM":a?"AAUKhFs":"AAUJZSw":r?a?"AAUKemb":"AAUJPLT":a?"AAUJPLk":"AAUK7cA";break;case F.champion:n=e?a?"AAUXaAD":"AAUXjLE":a?"AAUXpyK":"AAUXmoO";break;default:return null}return(0,i.WU)(s,n)},N=(t,e)=>{let a=null,r="28",n="30";switch(t){case F.tournament:a=e?"AAUNpA2":"AAUNpA3",r="22",n="18";break;case F.quarterFinal:a=e?"AAUNg36":"AAUMLqV";break;case F.semiFinal:a=e?"AAUXdcZ":"AAUXpwx"}return(0,i.WU)(s,a,r,n)},H=(t,e)=>{if(t){if(t.participantOne&&t.participantOne.satoriId){const a=e&&$[t.participantOne.satoriId].dark||$[t.participantOne.satoriId].imageId;t.participantOne.imageUrl=a&&(0,i.WU)(s,a,"40","36")||t.participantOne.imageUrl,G(t.participantOne)}if(t.participantTwo&&t.participantTwo.satoriId){const a=e&&$[t.participantTwo.satoriId].dark||$[t.participantTwo.satoriId].imageId;t.participantTwo.imageUrl=a&&(0,i.WU)(s,a,"40","36")||t.participantTwo.imageUrl,G(t.participantTwo)}}},G=t=>("7f19b489-2322-57a1-d1a5-8ab8ad507673"==t.satoriId&&(t.name="N. Carolina"),"0748c244-890e-e42e-16e1-8055fd8e6a06"==t.satoriId&&(t.name="S. Carolina"),t),R={SuperBowl:"SuperBowl"},B="Super Bowl",z="CHAMPIONS",W="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD7c6.img?w=40&h=32&q=60&m=6&f=png&u=t",j="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD7c6.img?w=128&h=100&q=60&m=6&f=png&u=t",_="7cbf542f-6a08-45e0-af5f-60fe01d243c5",V="ca6a16b0-ceff-fe7f-89f2-319216ae6788",q=new Map([[_,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD9DU.img?w=300&h=300&q=60&m=6&f=png&u=t"],[V,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATCUXv.img?w=300&h=300&q=60&m=6&f=png&u=t"]]),J=new Map([[_,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATCNYg.img?w=300&h=300&q=60&m=6&f=png&u=t"],[V,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD0tb.img?w=300&h=300&q=60&m=6&f=png&u=t"]]),Z=new Map([[_,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATCYhm.img?w=300&h=146&q=60&m=6&f=png&u=t"],[V,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD7f5.img?w=300&h=146&q=60&m=6&f=png&u=t"]]),X=new Map([[_,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATIHbt.img?w=300&h=146&q=60&m=6&f=png&u=t"],[V,"https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATIvVa.img?w=300&h=146&q=60&m=6&f=png&u=t"]]),Y="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATIxHK.img?w=300&h=300&q=60&m=6&f=png&u=t",K="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATD2AA.img?w=300&h=300&q=60&m=6&f=png&u=t",Q="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATIt4x.img?w=300&h=146&q=60&m=6&f=png&u=t",tt="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AATIvQ8.img?w=300&h=146&q=60&m=6&f=png&u=t"},22938:function(t,e,a){"use strict";a.d(e,{d:function(){return i}});var i,r=a(33940),s=a(2314),n=a(36803),o=a(9375),l=a(16517),d=a(58155),c=a(46336),p=a(54804),h=a(67267),u=a(87298),g=a(63535),m=a(26415),v=a(68364),f=a(36068),y=a(17157),w=a(59207),b=a(96345),S=a(53909),x=a(11708),C=a(33799),$=a(65135),k=a(51671),T=a(85663),D=a(99478),M=a(95378),I=a(791);!function(t){t.sportsApi="https://api.sports.microsoft.com/SportsReco/v1/SportsRecommendation?apikey=be5b9e52150e49f1b58fafff97d11487",t.recordPollApi="https://api.msn.com/sports/RecordPollRequest/";const e="graph/actions",a="Peregrine",i={width:32,height:32,enableDpiScaling:!1,format:S.D3.PNG};let L,F;const O=t=>JSON.stringify((0,M.Z)(t,"Authorization"));function P(t,a,i,n,d=null,c=!1,p=null){return(0,r.mG)(this,void 0,void 0,(function*(){if((0,D.TF)(t))return null;const v=i===s.Us.Follow?`sid:${t}`:t,f={Title:a,Sid:t},y={method:"POST",body:JSON.stringify({actionType:i,targetId:v,targetType:i===s.Us.Follow?null:n,metadata:f}),headers:yield h.$.getOneServiceHeaders()};N()&&(y.credentials="include");const w=(0,g.PH)(e);let b;(yield U(d,c)).forEach((t=>t.value&&w.searchParams.set(t.key,t.value))),p&&p.forEach((t=>t.value&&w.searchParams.set(t.key,t.value)));try{return b=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield fetch(w.href,y);if(!t||t.status>=400){const e=`POST action error. Status: ${null==t?void 0:t.status} for actionType: ${i}, targetId: ${v}, targetType: ${n}.`;if(400==(null==t?void 0:t.status)){const t=(null==y?void 0:y.headers)&&(0,o.GI)(y.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.tFh),{message:"POST action 400 error",pb:Object.assign(Object.assign({},m.tFh.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:w.href,requestHeaders:t&&O(t)},customMessage:e})}))}throw new Error(e)}return null==t?void 0:t.json()}))),`postCardAction${i}`),yield b}catch(t){const e=(null==y?void 0:y.headers)&&(0,o.GI)(y.headers);return $.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.yOL),{message:"Error while POST action for card interest",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:w.href,requestHeaders:e&&O(e)},customMessage:`Error while POST action for card interest: URL: ${w.href} Params: ${y.body} Error: ${t&&t.message}`})})),null}return b}))}function A(t=null,a=null,i=null){return(0,r.mG)(this,void 0,void 0,(function*(){const n=yield function(t=null,a=null,i=null){return(0,r.mG)(this,void 0,void 0,(function*(){const s={method:"GET",headers:yield h.$.getOneServiceHeaders()};N()&&(s.credentials="include");const n=(0,g.PH)(e);(yield U(t,(0,T.isNullOrUndefined)(t))).forEach((t=>t.value&&n.searchParams.set(t.key,t.value))),i&&i.forEach((t=>t.value&&n.searchParams.set(t.key,t.value))),n.searchParams.set("$top","100");const d=a?`${n.href}&$filter=actionType+eq+'${a}'`:n.href;let c;try{return c=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield fetch(d,s);if(!t||t.status>=400){const e=`getActionRequest OneService returned error response. Status: ${null==t?void 0:t.status}`;throw new Error(e)}return null==t?void 0:t.json()}))),"getCardAction"),yield c}catch(t){const e=(null==s?void 0:s.headers)&&(0,o.GI)(s.headers);return $.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.yOL),{message:"Error while GET action for card interest",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:d,requestHeaders:e&&O(e)},customMessage:`Error while GET action for card interest: URL: ${d} Params: ${s.body} Error: ${t&&t.message}`})})),null}}))}(t,a,i);n&&n.value&&n.value.length?function(t){if(!t)return;L=[],F=[];const e=t.filter((t=>null!=t&&0===t.actionType.localeCompare(s.Us.Dislike,void 0,{sensitivity:"accent"})&&(0===t.targetType.localeCompare(s.fs.League,void 0,{sensitivity:"accent"})||0===t.targetType.localeCompare(s.fs.Team,void 0,{sensitivity:"accent"})))),a=t.filter((t=>{var e;return null!=t&&0===t.actionType.localeCompare(s.Us.Follow,void 0,{sensitivity:"accent"})&&((null===(e=t.targetId)||void 0===e?void 0:e.startsWith("Y_"))||"TagBase"==t.targetType)}));e.length>0&&e.forEach((t=>{t.metadata&&t.metadata.Title&&L.push({id:t.targetId,name:t.metadata.Title,type:t.targetType})}));a.length>0&&a.slice(0,200).forEach((t=>{var e,a;F.push({id:(null===(e=t.metadata)||void 0===e?void 0:e.Sid)||"",yId:t.targetId,name:null===(a=t.metadata)||void 0===a?void 0:a.Title,type:t.targetType,feedId:t.targetId})}))}(n.value):n&&(L=[],F=[])}))}function E(t,a,i,s=null,n=!1){return(0,r.mG)(this,void 0,void 0,(function*(){if((0,D.TF)(t))return null;const d=t,c={method:"DELETE",headers:yield h.$.getOneServiceHeaders()};N()&&(c.credentials="include");const p=(0,g.PH)(e);(yield U(s,n)).forEach((t=>t.value&&p.searchParams.set(t.key,t.value)));const v=`${p.href}&$filter=actionType+eq+'${a}'+and+targetId+eq+'${d}'+and+targetType+eq+'${i}'`;let f;try{return f=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield fetch(v,c);if(t.status>=400){const e=`DELETE action error. Status: ${t.status} for actionType: ${a}, targetId: ${d}, targetType: ${i}.`;if(400==t.status){const t=(null==c?void 0:c.headers)&&(0,o.GI)(c.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.tFh),{message:"DELETE action 400 error",pb:Object.assign(Object.assign({},m.tFh.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:p.href,requestHeaders:t&&O(t)},customMessage:e})}))}throw new Error(e)}return t}))),`deleteCardAction${a}`),yield f}catch(t){const e=(null==c?void 0:c.headers)&&(0,o.GI)(c.headers);return $.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.yOL),{message:"Error while DELETE action for card interest",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:p.href,requestHeaders:e&&O(e)},customMessage:`Error while DELETE action for card interest: URL: ${v} Params: ${c.body} Error: ${t&&t.message}`})})),null}return f}))}function U(t=null,e=!0){return(0,r.mG)(this,void 0,void 0,(function*(){return N()?h.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId||(0,l.Yq)().ActivityId,t||a,e):h.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId||(0,l.Yq)().ActivityId,t||a,e)}))}function N(){return(0,r.mG)(this,void 0,void 0,(function*(){return!!p.Al.UserIsSignedIn||(yield(0,k.XJ)())===C.Hy.SignedIn}))}function H(t){const e="undefined"!=typeof window&&(0,y.wq)()&&(0,w._4)(),a=e?e.market||"en-us":(0,l.Yq)().CurrentMarket||"en-us",i=e?e.anid:(0,l.Yq)().UserId,r=e?e.latitude:(0,l.Yq)().Latitude,s=e?e.longitude:(0,l.Yq)().Longitude;t.set("market",a),(0,D.TF)(i)||t.set("user",i),r&&s&&(t.set("lat",r),t.set("long",s))}t.fetchSports=function(){return(0,r.mG)(this,void 0,void 0,(function*(){const e=t.sportsApi;if((0,n.R)(e)){const t=new URL(e),a=yield h.$.getBaseRequestData("GET");H(t.searchParams);try{const e=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield fetch(decodeURIComponent(t.href),a);if(!e||!e.ok){const i=(null==a?void 0:a.headers)&&(0,o.GI)(a.headers);throw $.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.v3e),{message:"Error while calling fetch for sports data ",pb:Object.assign(Object.assign({},m.v3e.pb),{fetchNetworkResponse:{statusCode:null==e?void 0:e.status,statusText:null==e?void 0:e.statusText,activityId:(0,l.Yq)().ActivityId,requestUrl:t.href,requestHeaders:i&&O(i)},customMessage:`URL: ${t.href}, responseMessage: ${JSON.stringify(e)}`})})),Error(e.statusText)}return e}))),"FetchSports");return yield null==e?void 0:e.json()}catch(e){const i=(null==a?void 0:a.headers)&&(0,o.GI)(a.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.zl4),{message:"Error while request sports data with exception.",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:t.href,requestHeaders:i&&O(i)},customMessage:`Error: ${e&&e.message} URL: ${t.href}`})}))}}}))},t.fetchSportsFeed=function(t=null,e=null,a=!1,i=!0,s=!1,n=null){return(0,r.mG)(this,void 0,void 0,(function*(){const p=t;if(!(0,D.TF)(p)){let t,g;try{if(t=new URL(p),!t||!d.c.isValidUrl(t.href,!0))return}catch(t){return void $.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.zl4),{message:"Error while request sports feed data with URL exception.",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:p},customMessage:`Error while request sports feed data with URL exception: ${t&&t.message} URL: ${p}`})}))}if(i){g=yield h.$.getBaseRequestData("GET"),H(t.searchParams);(yield U(e,a)).forEach((e=>e.value&&t.searchParams.set(e.key,e.value)))}if(n&&n.length&&n.forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)})),s){const e="undefined"!=typeof window&&(0,y.wq)()&&(0,w._4)(),a=(e?e.market:(0,l.Yq)().CurrentMarket)||(0,l.Yq)().CurrentMarket;t.searchParams.set("market",a||"en-us")}try{const e=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){if((0,y.wq)()){const e=yield(0,b.FM)({url:decodeURIComponent(t.href),refresh:!0,processError:!0});try{return{json:()=>(0,c.dW)(e)}}catch(a){const i=(null==g?void 0:g.headers)&&(0,o.GI)(g.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.v3e),{message:"Error while calling fetch sports feed data from super app bridge",pb:Object.assign(Object.assign({},m.v3e.pb),{fetchBridgeResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:t.href,requestHeaders:i&&O(i)},customMessage:`Error while calling fetch sports feed data from super app bridge: URL: ${t.href}, responseMessage: ${JSON.stringify(e)}`})}))}}const e=yield fetch(decodeURIComponent(t.href),i?g:null);if(e&&e.ok)return e;{const a=(null==g?void 0:g.headers)&&(0,o.GI)(g.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.v3e),{message:"Error while calling fetch sports feed data.",pb:Object.assign(Object.assign({},m.v3e.pb),{fetchNetworkResponse:{statusCode:null==e?void 0:e.status,statusText:null==e?void 0:e.statusText,activityId:(0,l.Yq)().ActivityId,requestUrl:t.href,requestHeaders:a&&O(a)},customMessage:`Error while calling fetch sports feed data: URL: ${t.href}, responseMessage: ${e&&JSON.stringify(e)}`})}))}}))),"FetchSportsFeed");return yield null==e?void 0:e.json()}catch(e){const a=(null==g?void 0:g.headers)&&(0,o.GI)(g.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.zl4),{message:"Error while request sports feed data with exception.",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:t.href,requestHeaders:a&&O(a)},customMessage:`Error while request sports feed data with exception: ${e&&e.message} URL: ${t.href}`})}))}}}))},t.hideSportsCard=function(){return(0,r.mG)(this,void 0,void 0,(function*(){try{return yield I.N.updateSegmentCardsEnableStatus([{cardType:x.f.SportsCard,enabled:!1}]),!0}catch(t){return(0,v.OO)(t,m.TmC,"Sports card settings save failed while hide sports card."),!1}}))},t.notInterestedSportsCard=function(t,e=null,a=!1){return(0,r.mG)(this,void 0,void 0,(function*(){if(!t||(0,D.TF)(t.id))return!1;try{return null!=(yield P(t.id,t.name,s.Us.Dislike,t.type||"",e,a))}catch(e){return(0,v.OO)(e,m.TmC,"Sports card settings save failed while remove dislike",`sports card id: ${t.id}, type: ${t.type}`),!1}}))},t.removeDislikeSportsCard=function(t,e=null,a=!1){return(0,r.mG)(this,void 0,void 0,(function*(){if(!t||(0,D.TF)(t.id))return!1;try{const i=yield E(t.id,s.Us.Dislike,t.type||s.fs.League,e,a);return L=null,F=null,null!=i}catch(e){return(0,v.OO)(e,m.TmC,"Sports card settings save failed while remove dislike",`sports card id: ${t.id}, type: ${t.type}`),!1}}))},t.getDislikeSportsEntities=function(t,e=null){A(e,s.Us.Dislike).then((()=>{L&&t(L)}))},t.getFollowSportsEntities=function(t,e=null,a){A(t,s.Us.Follow,e).then((()=>{F&&a(F)}))},t.fetchSuggestions=function(e,a,n=null,o=!1){return(0,r.mG)(this,void 0,void 0,(function*(){const r=a.replace("{searchText}",e),d=(0,l.Yq)().CurrentMarket||"en-us",c=[];return yield t.fetchSportsFeed(r,n,o,!1,!0).then((t=>t?t.length||t.suggestionGroups&&t.suggestionGroups.length&&t.suggestionGroups[0].searchSuggestions&&t.suggestionGroups[0].searchSuggestions.length?void(t&&!t.suggestionGroups?function(t,e,a){let r=0;for(let n=0;n<t.length;n++){const o=t[n];if(o){let t=o.requery;t=t&&(t.startsWith("/")?t:`/${t}`);const n=o.thumbnailId;let l=(0,f.nB)(n,i,!0);l=l&&l.startsWith("//")?`https:${l}`:l,e.push({index:r++,id:o.satoriId,yId:o.yId,name:o.originalName,type:o.dataType,sportType:(0,s.x5)(o.sportWithLeagueId),leagueId:o.sportWithLeagueId,displayText:o.displayText,typeDisplayHint:o.dataType,webSearchUrl:t&&`https://${(0,f.FD)(a)}/${a}${t}`,imageUrl:l})}}}(t,c,d):function(t,e,a){let r=0;t.forEach((t=>{var n,o,l,d;if((null===(o=null===(n=t.entityPresentationInfo)||void 0===n?void 0:n.formattedFacts)||void 0===o?void 0:o.length)&&(null===(d=null===(l=t.entityPresentationInfo)||void 0===l?void 0:l.formattedFacts[0].items)||void 0===d?void 0:d.length)&&t.contractualRules.length){let n=t.richContent&&t.richContent.length&&t.richContent[0].webSearchUrl;n=n&&(n.startsWith("/")?n:`/${n}`);const o=t.richContent&&t.richContent.length&&t.richContent[0].screenshot&&t.richContent[0].screenshot.imageId;let l=(0,f.nB)(o,i,!0);l=l&&l.startsWith("//")?`https:${l}`:l;const d=t.entityPresentationInfo.formattedFacts,c=d&&d.length||0;e.push({index:r++,id:c>0?d[0].items&&d[0].items[0].text:null,yId:c>1?d[1].items&&d[1].items[0].text:null,name:t.displayText,type:t.contractualRules[0].targetPropertyName,sportType:(0,s.x5)(t.sportWithLeagueId),leagueId:t.sportWithLeagueId,displayText:t.displayText,typeDisplayHint:t.entityPresentationInfo.entityTypeDisplayHint,webSearchUrl:n&&`https://${(0,f.FD)(a)}/${a}${n}`,imageUrl:l})}}))}(t.suggestionGroups[0].searchSuggestions,c,d)):((0,v.H)(m.L9E,"Fetch sports suggestion get empty groups.",`market=${d}, input:${e}, searchUrl:${r}`),c):((0,v.H)(m.L9E,"Fetch sports suggestion get null response.",`market=${d}, input:${e}, searchUrl:${r}`),c))),c}))},t.postActionRecordPollRequest=function(e,a,i=null,s=null,n=null,d=!1,c=null){return(0,r.mG)(this,void 0,void 0,(function*(){if((0,D.TF)(e)||(0,T.isNullOrUndefined)(a))return null;const p=new URL(t.recordPollApi),g=(0,l.Yq)().UserId,v={};v.UserId=g.split("-")[1],g.startsWith("m-")?v.UserType="MUID":v.UserType="ANID";const f={method:"POST",body:JSON.stringify({Market:"EN-IN",PartnerName:"BingSports",PollID:a,OptionId:e,User:v}),headers:yield h.$.getOneServiceHeaders()};N()&&(f.credentials="include");let y;(yield U(n,d)).forEach((t=>t.value&&p.searchParams.set(t.key,t.value))),c&&c.forEach((t=>t.value&&p.searchParams.set(t.key,t.value)));try{return y=yield(0,u.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield fetch(p.href,f);if(!t||t.status>=400){const e=`POST action error. Status: ${null==t?void 0:t.status} for actionType: ${i}, targetType: ${s}.`;if(400==(null==t?void 0:t.status)){const t=(null==f?void 0:f.headers)&&(0,o.GI)(f.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.tFh),{message:"POST action 400 error",pb:Object.assign(Object.assign({},m.tFh.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:p.href,requestHeaders:t&&O(t)},customMessage:e})}))}throw new Error(e)}return null==t?void 0:t.json()}))),`postCardAction${i}`),yield y}catch(t){const e=(null==f?void 0:f.headers)&&(0,o.GI)(f.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.yOL),{message:"Error while POST action for card interest",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:p.href,requestHeaders:e&&O(e)},customMessage:`Error while POST action for card interest: URL: ${p.href} Params: ${f.body} Error: ${t&&t.message}`})}))}return y}))},t.postActionRequest=P,t.deleteActionRequest=E,t.updateUserSettings=function(t,e=null,a=null,i=!1){return(0,r.mG)(this,void 0,void 0,(function*(){if(t){const r=(0,g.PH)("msn/user"),s={method:"POST",body:JSON.stringify(t),headers:yield h.$.getOneServiceHeaders()};N()&&(s.credentials="include");(yield U(a,i)).forEach((t=>t.value&&r.searchParams.set(t.key,t.value))),e&&e.forEach((t=>t.value&&r.searchParams.set(t.key,t.value)));try{const t=yield fetch(r.href,s);if(t.status>=400){const e=`OneService returned error response for Update user settings. Status: ${t.status}`;throw new Error(e)}}catch(e){const a=(null==s?void 0:s.headers)&&(0,o.GI)(s.headers);$.M0.sendAppErrorEvent(Object.assign(Object.assign({},m.TmC),{message:"Update user settings error",pb:Object.assign(Object.assign({},m.zl4.pb),{fetchNetworkResponse:{activityId:(0,l.Yq)().ActivityId,requestUrl:r.href,requestHeaders:a&&O(a)},customMessage:`Update user settings error: URL: ${r.href} Params: ${s.body} UserSettings: ${JSON.stringify(t)} Error:${e&&e.message}`})}))}}}))}}(i||(i={}))},36068:function(t,e,a){"use strict";a.d(e,{FD:function(){return v},IO:function(){return T},Sb:function(){return b},Sz:function(){return u},UP:function(){return g},Uq:function(){return x},Xy:function(){return w},a7:function(){return C},h2:function(){return m},iq:function(){return D},jY:function(){return S},n$:function(){return M},nB:function(){return y},pc:function(){return h},wj:function(){return k},xx:function(){return f},z3:function(){return $}});var i=a(53909),r=a(16517),s=a(9375),n=a(17157),o=a(59207),l=a(99478),d=a(65135),c=a(38156);const p="BB1dV8FG";function h(){let t,e=null;return(0,n.wq)()&&(e=(0,o._4)()),t=e?e.market:r.jG.CurrentMarket,t||"en-us"}function u(t,e,a){if(!(a&&t&&e&&a[t]))return null;if(e in a[t])return a[t][e];const i=e?e.substr(0,2):"en";return a[t][i]?a[t][i]:a[t].en}function g(t){if(!t||!t.length||t.includes("ocid="))return t;const e=(0,s.ku)();return e?t+`?ocid=${e}`:t}const m=(t,e,a=null,i=!1,r=!0,s=!0)=>{if(e){let n=r?g(e):e;if(n=s?function(t){if(!t||!t.length)return t;try{const e=new RegExp("cvid=([^&]?)+").exec(t);if(e&&"cvid="!==e[0])return t;const a=new URL(t),i=d.M0.getRequestId();return i&&a.searchParams.set("cvid",i),a.toString()}catch(e){return t}}(n):n,t){t.preventDefault(),t.stopPropagation();const e=a||t.currentTarget,i="keydown"===t.type||"keypress"===t.type||"keyup"===t.type?c.Aw.KeyPress:c.Aw.Click;d.M0.sendActionEvent(e,i,c.wu.Navigate,n)}window.open(n,i?"_self":"_blank")}};function v(t){return"zh-cn"===t?"www.msn.cn":"www.msn.com"}function f(t,e,a=!1){return(0,l.TF)(t)?a?(0,i.zz)(p,e):null:t.indexOf(".")>0?(0,i.mL)(`${i.q3}?id=${t}&pid=MSports`,e):(0,i.zz)(t,e)}function y(t,e,a=!1){return(0,l.TF)(t)?a?(0,i.zz)(p,e):null:(0,i.mL)(`${i.q3}?id=${t}&pid=MSports`,e)}function w(t,e,a=!1){return(0,l.TF)(t)?a?(0,i.zz)(p,e):null:(0,i.mL)(t,e)}function b(t="",e=40,a=40,i=!1){return t?t.replace(/w=([\d]*)?&h=([\d]*)?/,`w=${i?a+20:a}&h=${i?e+20:e}`):null}function S(t){return!!t&&("cricket"===t.toLowerCase()||"tennis"===t.toLowerCase())}function x(t,e=""){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:e}const C=(t,e=1)=>{const[a,i,r]=t.match(/\w\w/g).map((t=>parseInt(t,16)));return`rgba(${a},${i},${r},${e})`};function $(t){if("string"==typeof t){if(t&&!(0,l.TF)(t)){return/^\s*(true|1)\s*$/i.test(t.toLowerCase())}return!1}return"boolean"==typeof t&&t}function k(t){return!!t&&"cricket"===t.toLowerCase()}function T(t,e,a){if((0,l.TF)(t)||!a||(0,l.TF)(a.secondAgo)||(0,l.TF)(a.minuteAgo)||(0,l.TF)(a.hourAgo)||(0,l.TF)(a.dayAgo))return t;const i=Date.parse(t);if(isNaN(i))return t;const r=Date.now(),s=Math.trunc((r-i)/1e3);if(s>0&&s<60)return 1===s?`${s} ${a.secondAgo}`:`${s} ${a.secondsAgo}`;const n=Math.trunc(s/60);if(n>0&&n<60)return 1===n?`${n} ${a.minuteAgo}`:`${n} ${a.minutesAgo}`;const o=Math.trunc(n/60);if(o>0&&o<24)return 1===o?`${o} ${a.hourAgo}`:`${o} ${a.hoursAgo}`;const d=Math.trunc(o/24);return d>0&&d<7?1===d?`${d} ${a.dayAgo}`:`${d} ${a.daysAgo}`:new Date(t).toLocaleDateString(e)}function D(t){const e=Date.now();if(t<=e)return{days:0,hours:0,minutes:0,seconds:0};const a=t-e;return{days:Math.floor(a/864e5),hours:Math.floor(a%864e5/36e5),minutes:Math.floor(a%36e5/6e4),seconds:Math.floor(a%6e4/1e3)}}function M(t){return!t||"object"==typeof t&&0===Object.keys(t).length}},38965:function(t,e,a){"use strict";a.d(e,{AN:function(){return o},Jb:function(){return c},TJ:function(){return p}});var i=a(2314),r=a(39181),s=a(13988),n=a(36068);const o=r.d`
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.w_.preGame&&e.parent.isValidText(t.venueInfo)),(t=>d(t.venueInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.toss&&e.parent.isValidText(t.tossInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.w_.inprogressGame&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.w_.inprogressGame&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.dinner&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.dinner&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.tea&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.tea&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.drinks&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.drinks&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.lunch&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.lunch&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.stumps&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.stumps&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.break&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.break&&e.parent.isValidText(t.tossInfo)&&!e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.tossInfo)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.w_.nonlive&&e.parent.isValidText(t.detailedGameState)),(t=>d(t.detailedGameState)))}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.w_.postGame&&e.parent.isValidText(t.gameSummaryInfo)),(t=>d(t.gameSummaryInfo)))}
`,l=(t,e)=>t?e?"cricket-detail-attributes  cricket-detail-attributes-LargeCard":"cricket-detail-attributes-singlecard":"detail-attributes",d=t=>r.d`
    <div>
        ${(0,s.g)(((t,e)=>e.parent.showFooterLine),r.d`<hr class="line-seperator">`)}
        <div class="match-extended-details" title="${t}">
            ${t}
        </div>
    </div>
`,c=r.d`
    <div class="cricket-live-detail">
        ${(0,s.g)((t=>{return(e=t.cricketGameCategory)!=i.w_.nonlive&&e!=i.w_.preGame&&e!=i.w_.postGame;var e}),r.d`
            <div class="cricket-live-tag">
                <span class="live-text">${(t,e)=>{var a,r,s;return r=t.cricketGameCategory,s=null===(a=e.parent.strings)||void 0===a?void 0:a.sportsLive,r==i.w_.inprogressGame?s:r}}</span>
                ${(0,s.g)((t=>{return(e=t.cricketGameCategory)==i.w_.inprogressGame||e==i.qD.toss;var e}),r.d`<div class="detail-live-animation"></div>`)}
            </div>
        `)}
    </div>
`,p=r.d`
<div>
    ${(0,s.g)((t=>t.cricketGameCategory==i.w_.inprogressGame),r.d`
    	<div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())} inprogress-game">
        	<div class="game-clock">
                ${t=>t.gamePeriodAndClock}
            </div>
        	<div class="detail-live-animation"></div>
            <div class="game-channel">
            	${t=>t.tvChannel}
            </div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.dinner),r.d`
    	<div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
        	<div class="game-clock">
            	${i.qD.dinner}
        	</div>
        	<div class="game-channel">
            	${t=>t.tvChannel}
        	</div>
    	</div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.drinks),r.d`
    	<div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
        	<div class="game-state">
                ${i.qD.drinks}
            </div>
            <div class="game-channel">
                ${t=>t.tvChannel}
        	</div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.fog),r.d`
        <div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
        	<div class="game-state">
                ${i.qD.fog}
            </div>
        	<div class="game-state">
                ${t=>t.tvChannel}
            </div>
        </div>
	`)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.lunch),r.d`
        <div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
        	<div class="game-state">
                ${i.qD.lunch}
            </div>
        	<div class="game-channel">
                ${t=>t.tvChannel}
            </div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.stumps),r.d`
        <div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
            <div class="game-state">
            	${i.qD.stumps}
            </div>
            <div class="game-channel">
                ${t=>t.tvChannel}
            </div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.tea),r.d`
        <div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
            <div class="game-state">
                ${i.qD.tea}
            </div>
            <div class="game-channel">
                ${t=>t.tvChannel}
            </div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.toss),r.d`
    	<div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
            <div class="game-state">
                ${i.qD.toss}
            </div>
            <div class="game-channel">
                ${t=>t.tvChannel}
            </div>
        </div>
    `)}
    ${(0,s.g)(((t,e)=>t.cricketGameCategory==i.qD.break),r.d`
        <div class="${(t,e)=>l((0,n.wj)(e.parent.cardData.dataType),e.parent.enabledCricketMatchSummaryInfo())}">
            <div class="game-state">
            	${i.qD.break}
            </div>
            <div class="game-channel">
                ${t=>t.tvChannel}
            </div>
        </div>
    `)}
</div>
`},53909:function(t,e,a){"use strict";a.d(e,{D3:function(){return n},KL:function(){return c},mL:function(){return u},pG:function(){return l},q3:function(){return d},vc:function(){return o},zz:function(){return p}});var i=a(12697),r=a(80983);let s;var n,o;!function(t){t.JPG="jpg",t.PNG="png"}(n||(n={})),function(t){t[t.None=0]="None",t[t.Letterbox=1]="Letterbox",t[t.Scale=2]="Scale",t[t.Stretch=3]="Stretch",t[t.Crop=4]="Crop",t[t.FocalCrop=5]="FocalCrop",t[t.FacialCrop=6]="FacialCrop"}(o||(o={}));const l=90,d="www.bing.com/th",c=new RegExp(/bing\.(com|net)\/th/);function p(t,e){return u(((0,r.P)()?"//img-s.msn.cn/tenant/amp/entityid/":"//img-s-msn-com.akamaized.net/tenant/amp/entityid/")+t,e)}const h=Math.ceil(4*Math.random())||4;function u(t,e){if(t&&c.test(t))return function(t,e){try{return g(new URL(t),e).href}catch(a){const i=g(new URL(`https://${t}`),e);return`//${i.host}${i.pathname}${i.search}`}}(t,e);const{focalRegion:a,backgroundColor:r}=e;let{width:o=0,height:l=0,format:d=n.JPG}=e,p="";if(a){const t=v(a.x1,a.x2),e=v(a.y1,a.y2);null!=t&&null!=e&&(p+=`&x=${t}&y=${e}`)}r&&(p+=`&b=${r}`);const h=null==e.mode?6:e.mode;if(6===h&&(p+="&u=t"),e.enableDpiScaling){if(!e.devicePixelRatio)throw new Error("A valid devicePixelRatio value must be provided when DPI scaling is enabled");const t=function(t){if(m()&&s)return s;if(t<1)return null;let e=t;(0,i.Z)(4*e)||(e=Math.ceil(10*e)/10);e>3&&(e=3);m()&&(s=e);return e}(e.devicePixelRatio);t&&(o=Math.round(o*t),l=Math.round(l*t))}return`${t}?w=${o}&h=${l}&q=${e.quality||60}&m=${h}&f=${d}${p}`}function g(t,e){(0,r.P)()&&(t.hostname=`ts${h}.cn.mm.bing.net`);const{width:a=0,height:i=0}=e,s=e.quality||l,n=e.crop||1;return t.searchParams.set("w",`${a}`),t.searchParams.set("h",`${i}`),t.searchParams.set("qlt",`${s}`),t.searchParams.set("c",`${n}`),t.searchParams.set("rs","1"),e.enableDpiScaling&&(t.searchParams.set("dpr",`${e.devicePixelRatio}`),t.searchParams.set("p","0")),t}function m(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function v(t,e){if(null!=t&&null!=e)return Math.floor((t+e)/2)}},16339:function(t,e,a){"use strict";a.d(e,{Iq:function(){return l},MD:function(){return n},gL:function(){return o}});var i=a(59049),r=a(14675);const s=new i.v("WidgetLoadTracker");function n(t){s.has(t)||("hidden"!==document.visibilityState?(0,r.c)((()=>s.set(t,!0))):s.set(t,!0))}const o=new i.v("WidgetAppState");var l;!function(t){t[t.IsDarkMode=1]="IsDarkMode",t[t.IsDashboardVisible=2]="IsDashboardVisible",t[t.ActionMenuStrings=3]="ActionMenuStrings",t[t.IsDynamicFeed=4]="IsDynamicFeed",t[t.SessionId=5]="SessionId",t[t.NonPeregrineWidgetTelemetryObject=6]="NonPeregrineWidgetTelemetryObject",t[t.FeedRegionWidgets=7]="FeedRegionWidgets",t[t.DefaultPreviewType=8]="DefaultPreviewType",t[t.IsReauthRequired=9]="IsReauthRequired"}(l||(l={}))},68651:function(t,e,a){"use strict";a.d(e,{B$:function(){return m},f3:function(){return y},US:function(){return f},aS:function(){return g},gK:function(){return w}});var i=a(38156),r=a(16339),s='<svg width="4" height="4" viewBox="0 0 4 4"><rect width="4" height="4" rx="2" fill-opacity=".9"/></svg>',n=a(19456),o=a(53813),l=a(94522),d=a(60483),c=a(64434);let p,h,u;function g(t,e,a,d,c,g){const f=[];let y=0,w=!1;if(!t||!t.length)return;const b=r.gL.get(r.Iq.ActionMenuStrings),S=t.includes(m.Unpin);return u=S?"pinned":"feed",p=a||{},h=d,t.forEach((t=>{switch(t){case m.Small:y++,p.height=146,f.push({id:"small",glyph:c===t?s:void 0,title:b.small||"Small",ariaLabel:b.small||"Small",telemetryTag:v(`size_${m.Small}`,b.small,i.wu.Customize)});break;case m.Medium:y++,p.height=304,f.push({id:"medium",glyph:c===t?s:void 0,title:b.medium||"Medium",ariaLabel:b.medium||"Medium",telemetryTag:v(`size_${m.Medium}`,b.medium,i.wu.Customize)});break;case m.Large:y++,p.height=462,f.push({id:"large",glyph:c===t?s:void 0,title:b.large||"Large",ariaLabel:b.large||"Large",telemetryTag:v(`size_${m.Large}`,b.large,i.wu.Customize)});break;case m.Pin:f.push({id:"pinCard",glyph:l.Z,title:b.pinCard||"Pin widget",ariaLabel:b.pinCard||"Pin widget",telemetryTag:v("pinwidget",b.pinCard,i.wu.Pin)});break;case m.Customize:w=!0,y>1&&f.push({isDivider:!0}),f.push({id:"customize",glyph:n.Z,title:b.customize||"Customize widget",ariaLabel:b.customize||"Customize widget",onClick:()=>g("onShowSettingsEnd"),telemetryTag:v("editwidget",b.customize,i.wu.Customize)});break;case m.Unpin:!w&&y>1&&f.push({isDivider:!0}),f.push({id:"unpinCard",glyph:'<svg width="16" height="20" viewBox="0 0 17 16" fill="none"><path d="M16 15.5c0 .14-.04.25-.14.35-.1.1-.22.15-.35.15a.49.49 0 0 1-.36-.15l-5.03-5.02-1.14 3.81a.5.5 0 0 1-.18.26.46.46 0 0 1-.3.1.48.48 0 0 1-.35-.15L5 11.7.7 16H0v-.71L4.3 11 1.15 7.85A.49.49 0 0 1 1 7.5c0-.1.03-.2.09-.27a.55.55 0 0 1 .22-.18L4.9 5.6.15.85A.48.48 0 0 1 0 .5C0 .36.05.24.15.15A.5.5 0 0 1 .5 0c.13 0 .25.05.35.15l15 15c.1.1.15.21.15.35ZM7.24 5.1l-.75-.75 1.47-3.24A1.48 1.48 0 0 1 9.89.34c.18.08.34.18.48.32L15.3 5.6c.14.14.24.3.32.5a1.49 1.49 0 0 1-.8 1.95L11.52 9.4l-.76-.77 3.66-1.53a.5.5 0 0 0 .3-.46.48.48 0 0 0-.14-.35L9.66 1.38a.46.46 0 0 0-.16-.1.45.45 0 0 0-.19-.05c-.1 0-.19.03-.27.08a.5.5 0 0 0-.18.21L7.23 5.1ZM2.39 7.68l5.87 5.87 1.06-3.53-3.66-3.65L2.4 7.68Z"/></svg>',title:b.unpinCard||"Unpin widget",ariaLabel:b.unpinCard||"Unpin widget",telemetryTag:v("unpinwidget",b.unpinCard,i.wu.Unpin)});break;case m.PoweredBy:f.push({isDivider:!0}),f.push({id:"poweredBy",isText:!0,title:e||"Powered by Microsoft",ariaLabel:e||"Powered by Microsoft"});break;case m.RemoveWidget:f.push({id:m.RemoveWidget,glyph:o.Z,title:b.hideWidget,ariaLabel:b.hideWidget,telemetryTag:v("removewidget",b.hideWidget,i.wu.Hide)})}})),f}var m;function v(t,e,a){return new d.D({name:`${h}>customization_${t}`,type:i.c9.ActionButton,action:i.Aw.Click,behavior:a,zone:u,content:{headline:e,type:i.uH.StructuredData,vertical:h,category:h},destinationUrl:location.href,ext:p}).getMetadataTag()}function f(t){switch(t){case"_1x_1y":case"half":return"small";case"_1x_3y":case"tall":return"large";default:return"medium"}}function y(t,e,a){t&&a&&e&&(e(new CustomEvent("CardResized",{detail:{cardType:a,size:"medium"}})),t.style.zIndex=c.K.Above.toString(),t.style.height="304px")}function w(t,e,a,i){t&&a&&e&&(e(new CustomEvent("CardResized",{detail:{cardType:a,size:"small"}})),!1,t.style.zIndex="",t.style.height="")}!function(t){t.Small="small",t.Medium="medium",t.Large="large",t.Customize="customize",t.Pin="pin",t.Unpin="unpin",t.PoweredBy="poweredBy",t.RemoveWidget="removeWidget"}(m||(m={}))},63051:function(t,e,a){"use strict";a.d(e,{Yn:function(){return o},h1:function(){return l}});var i=a(26415),r=a(59049),s=a(30113),n=a(44772);const o=new r.v("PinnedWidgetSettings"),l={[n.PL.MoneyInfo]:{widgetId:"com.msn.money",isWebXT:!0,isPeregrine:!0,experienceName:"MoneyInfoCardWC",vertical:"finance"},[n.PL.SportsMatch]:{widgetId:"com.msn.sports",isWebXT:!0,isPeregrine:!0,experienceName:"SportsCardWC",vertical:"sports"},[n.PL.TrafficDelays]:{widgetId:"com.msn.traffic",isWebXT:!0,isPeregrine:!0,experienceName:"TrafficCardWC",vertical:"traffic"},[n.PL.WeatherSummary]:{widgetId:"com.msn.weather",isWebXT:!0,isPeregrine:!0,experienceName:"WeatherCardWC",vertical:"weather"},[n.PL.EsportsMatch]:{widgetId:"com.msn.esports",isWebXT:!0,isPeregrine:!0,experienceName:"EsportsCard",vertical:"esports"},[n.PL.EsportsCasualGames]:{widgetId:"com.msn.casualgames",isWebXT:!0,isPeregrine:!0,experienceName:"CasualGamesCard",vertical:"casualgames"},[n.PL.Entertainment]:{widgetId:"com.microsoft.entertainment",isWebXT:!1,isPeregrine:!0,experienceName:"EntertainmentCard",vertical:"entertainmentwidget"},[n.PL.Photos]:{widgetId:"com.msn.photos",isWebXT:!1,isPeregrine:!0,experienceName:"PhotoCard",vertical:"photos"},[n.PL.Family]:{widgetId:"com.microsoft.family",isWebXT:!1,isPeregrine:!0,experienceName:"FamilyCard",vertical:"family"},[n.PL.Calendar]:{widgetId:"com.microsoft.calendar",isWebXT:!1,isPeregrine:!1,experienceName:"Calendar"},[n.PL.ToDo]:{widgetId:"com.microsoft.todo",isWebXT:!1,isPeregrine:!1,experienceName:"ToDo"},[n.PL.Tips]:{widgetId:"com.microsoft.tips",isWebXT:!1,isPeregrine:!0,experienceName:"TipsCard",vertical:"tips"},[n.PL.M365]:{widgetId:"com.microsoft.microsoft365",isWebXT:!1,isPeregrine:!0,experienceName:"WindowsOfficeFeed",vertical:"office"},[n.PL.XboxGamePass]:{widgetId:"com.microsoft.gamepass",isWebXT:!1,isPeregrine:!1,experienceName:"XboxGamePass"}};Object.keys(l),n.PL.WeatherSummary,n.PL.MoneyInfo,n.PL.SportsMatch,n.PL.Photos,n.PL.WeatherSummary,n.PL.MoneyInfo,n.PL.SportsMatch,n.PL.Calendar,s.m.small,s.m.medium,s.m.large,l[n.PL.WeatherSummary].widgetId,i.e8l,l[n.PL.SportsMatch].widgetId,i.nDr,l[n.PL.MoneyInfo].widgetId,i.sg4,l[n.PL.TrafficDelays].widgetId,i.Vl,l[n.PL.EsportsMatch].widgetId,i.OrY,l[n.PL.Calendar].widgetId,i.j0J,l[n.PL.ToDo].widgetId,i.Ijl,l[n.PL.Tips].widgetId,i.Uqx,l[n.PL.Family].widgetId,i.m3w,l[n.PL.Photos].widgetId,i.B0A,l[n.PL.Entertainment].widgetId,i.uBh,l[n.PL.M365].widgetId,i.Q3R,l[n.PL.XboxGamePass].widgetId,i.nFE,l[n.PL.EsportsCasualGames].widgetId,i.Rdf,i.ILq,i.Kdk},75361:function(t,e,a){"use strict";a.d(e,{ss:function(){return M},FK:function(){return k},ZC:function(){return D},l1:function(){return C}});var i=a(26415),r=a(89696),s=a(51223),n=a(65135),o=a(9344),l=a(2040),d=a(16339),c=a(42821),p=a(33954);const h=window.__com_microsoft_dsh_widgetModelApiFactory,u=h&&h.tryGetApi("velocity",1,1);function g(){if(v("Feature_MultiAccount"))return h.tryGetApi("authenticator",1,1)}function m(t,e){e?n.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{pb:Object.assign(Object.assign({},e.pb),{error:t.message,isAuthV2:!0})})):p.k.logError(t.message)}function v(t){return!(!u||!u.isFeatureEnabled(t))}const f="00000000400F9D16",y="service::www.msn.com::MBI_SSL",w="https://www.api.msn.com/",b="3a4d129e-7f50-4e0d-a7fd-033add0a29f4",S="User.Read Userinfo.ReadWrite",x="https://enterprisenews.microsoft.com/",C=1;let $;async function k(t){const e=Object.assign(Object.assign({},i.Rln),{message:"Exception fetching ProviderAuthority",pb:Object.assign(Object.assign({},i.Rln.pb),{widgetId:t&&t.widgetId,widgetInstanceId:t&&t.instanceId,widgetState:t&&t.widgetState})});try{const a=g();if(a)return await async function(t,e){try{if(!t)throw Error("IAuthenticator is null");const e=(0,c.Yb)("GetAccountType_V2"),a=await t.getDefaultAccountIdAsync();return await t.isMSAAccountAsync(a)?(e(),"consumers"):await t.isAADAccountAsync(a)?(e(),"organizations"):(e(),null)}catch(t){return m(t,e),null}}(a,e);if(!t)throw Error("Widget instance is null");const i=I("GetAccountType"),r=t.tryGetApi("authenticator",C,C),s=await r.getProperty("ProviderAuthority");return i(),s}catch(t){return(0,s.Z0)()||n.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{pb:Object.assign(Object.assign({},e.pb),{error:t})})),null}}async function T(t,e,a,r,o=""){const l=Object.assign(Object.assign({},i.Rln),{message:"Exception calling GetToken",pb:Object.assign(Object.assign({},i.Rln.pb),{widgetId:t&&t.widgetId,widgetInstanceId:t&&t.instanceId,widgetState:t&&t.widgetState})});try{const i=g();if(i)return await async function(t,e,a,i,r="",s,n){try{if(!t)throw Error("IAuthenticator is null");const n=(0,c.Yb)("GetToken_V2"),o=await t.getDefaultAccountIdAsync(),l=await t.getAccountTokenAsync(o,e,a,i,r,s||"com.msn.desktopfeed");return n(),l}catch(t){return m(t,n),null}}(i,e,a,r,o,t&&t.widgetId,l);if(!t)throw Error("Widget instance is null");const s=I("GetToken"),n=t.tryGetApi("authenticator",C,C),d=await n.getToken(e,a,r,o);return s(),{token:d,errorResult:0,interactionRequired:!1}}catch(t){return(0,s.Z0)()||n.M0.sendAppErrorEvent(Object.assign(Object.assign({},l),{pb:Object.assign(Object.assign({},l.pb),{error:t})})),null}}async function D(t){const e=I("GetMuid"),a=await async function(t,e){const a=Object.assign(Object.assign({},i.Rln),{message:`Exception calling getProperty api for property: ${e}`,pb:Object.assign(Object.assign({},i.Rln.pb),{widgetId:t&&t.widgetId,widgetInstanceId:t&&t.instanceId,widgetState:t&&t.widgetState,property:`property: ${e}`})});try{const i=g();if(i)return await async function(t,e,a){try{if(!e)throw Error("Property is null");if(!t)throw Error("IAuthenticator is null");const a=(0,c.Yb)("GetProperty_V2"),i=await t.getDefaultAccountIdAsync(),r=await t.getAccountPropertyAsync(i,e);return a(),r}catch(t){return m(t,a),null}}(i,e,a);if(!t)throw Error("Widget instance is null");if(!e)throw Error("Property is null");const r=t.tryGetApi("authenticator",C,C);return await r.getProperty(e)}catch(t){return(0,s.Z0)()||n.M0.sendAppErrorEvent(Object.assign(Object.assign({},a),{pb:Object.assign(Object.assign({},a.pb),{error:t})})),null}}(t,"MUID");return e(),a}async function M(t,e=!1,a){const r={};if(!t)return(0,s.Z0)()||n.M0.sendAppErrorEvent(Object.assign(Object.assign({},i.Zj1),{message:"Failed to retrieve user auth token and MUID from WDX client due to undefined widget instance",pb:Object.assign(Object.assign({},i.Zj1.pb),{windowsSessionId:d.gL.get(d.Iq.SessionId)})})),r;const c=await k(t),p="organizations"===c,h="consumers"===c,u=p&&(e||d.gL.get(d.Iq.IsDynamicFeed));if(h||u){const e=await T(t,p?b:f,p?S:y,p?x:w),s=e&&e.token;if(s)u?r[l.Yu.entAuthorization]=s:h&&(r[l.Yu.rpsToken]=s);else{const e=await async function(){if(!v("Feature_ReauthRequiredUser"))return!1;try{const t=g();return!!t&&await t.getReauthRequiredStatusAsync()}catch(t){return n.M0.sendAppErrorEvent(Object.assign(Object.assign({},i.u4l),{message:"Exception fetching getReauthRequiredStatusAsync",pb:Object.assign(Object.assign({},i.u4l.pb),{error:t})})),!1}}();e&&a&&a("reauthrequiredstatuschanged"),!e&&d.gL.get(d.Iq.IsDashboardVisible)&&h&&n.M0.sendAppErrorEvent(Object.assign(Object.assign({},i.ZSB),{message:"WDX Client failed to return user auth token",pb:Object.assign(Object.assign({},i.ZSB.pb),{widgetId:t.widgetId,widgetInstanceId:t.instanceId,windowsSessionId:d.gL.get(d.Iq.SessionId),widgetState:t.widgetState,isMsaUser:h,isBackgroundRefresh:!d.gL.get(d.Iq.IsDashboardVisible)})}))}}$||($=await D(t));const m=(0,o.jG)();return $?(r[l.Yu.muid]=$,$!==m&&(0,s.nc)($)):m&&(r[l.Yu.muid]=m),r}const I=t=>(0,r.F)(`WidgetApi.${t}`,{logDuration:!0,firstTimeOnly:!0})},20490:function(t,e,a){"use strict";a.d(e,{j:function(){return o}});var i=a(63051);let r,s,n=!1;function o(t){if(!t||!n)return;const{name:e,oneServiceCardType:a,clickType:r,trigger:d}=t;if("WidgetLayoutUpdateCompleted"===e&&"InitialLayout"===d)return void function(t){const{trigger:e,succeeded:a,name:r,ttvrReportedMarkers:n}=t||{};if("InitialLayout"!==e)return;const d=s&&s.filter((t=>t.isInitiallyRendered))||[],c=[];d.forEach((t=>{const a=i.Yn.has(t.oneServiceMetadataType),r=i.h1[t.oneServiceMetadataType]&&i.h1[t.oneServiceMetadataType].isPeregrine,s=n.includes(t.oneServiceMetadataType);s||o({name:"WidgetStateUpdated",oneServiceCardType:t.oneServiceMetadataType,succeeded:!1,state:"Error"}),c.push({widgetId:t.widgetId,widgetInstanceId:t.instanceId&&t.instanceId.toString(),isPinned:a,isPeregrine:r,widgetState:s?"Normal":"Error",widgetStateReason:e})})),l(r,{trigger:e,widgetList:c,layoutUpdateSucceeded:a})}(t);const c=s.findIndex((t=>t.oneServiceMetadataType===a));if(-1===c)return;const p=void 0!==t.isPinned?t.isPinned:i.Yn.has(a),h=i.h1[a]&&i.h1[a].isPeregrine||!1,{widgetId:u,instanceId:g,isInitiallyRendered:m}=s[c],v=g&&g.toString();switch(e){case"OnWidgetClick":l(e,{widgetItem:{widgetId:u,widgetInstanceId:v},clickAction:{clickType:r}});break;case"OnSettingsInteracted":!function(t,e,a,i,r){const{trigger:s,state:n,name:o}=t||{};l(o,{widgetItem:{isPeregrine:i,isPinned:r,widgetId:e,widgetInstanceId:a,widgetState:n,widgetStateReason:s},clickAction:2,settingsAction:Object.assign({},t.settingsAction)})}(t,u,v,h,p);break;case"WidgetStateUpdated":m&&function(t,e,a,i,r){const{trigger:s,state:n,name:o}=t||{};l(o,{widgetId:e,widgetInstanceId:a,isPeregrine:i,isPinned:r,widgetState:n,widgetStateReason:s})}(t,u,v,h,p);break;case"WidgetLayoutUpdateCompleted":!function(t,e,a,i,r){const{trigger:s,succeeded:n,state:o,name:d}=t||{};if("InitialLayout"===s)return;l(d,{trigger:s,widgetList:{widgetItems:[{widgetId:e,widgetInstanceId:a,isPeregrine:i,isPinned:r,widgetState:o,widgetStateReason:s}]},layoutUpdateSucceeded:n})}(t,u,v,h,p)}}function l(t,e){e&&r.sendSignal({name:t,signalType:"WebXT",payload:JSON.stringify(e)})}},27019:function(t,e,a){"use strict";a.d(e,{$x:function(){return p},D7:function(){return c},TU:function(){return l},eH:function(){return d},gd:function(){return o},vh:function(){return n}});var i=a(38156),r=a(75559),s=a(60483);function n(t,e){const a=new s.D({name:`${t}_customization`,type:i.c9.ActionButton,content:{headline:`${t}_customization`,type:i.uH.StructuredData,vertical:e||t}}),n=document.createElement("button");return n.setAttribute(r.qP,a.getMetadataTag()),n}function o(t,e,a,n){const o=new s.D({name:`${t}_header`,type:i.c9.ActionButton,content:{headline:a,type:i.uH.StructuredData,vertical:n||t}}),l=document.createElement("a");return l.href=e,l.setAttribute(r.qP,o.getMetadataTag()),l}function l(t,e){const a=new s.D({name:`${t}_customization_size${e}`,type:i.c9.ActionButton,content:{headline:`${e}`,type:i.uH.StructuredData,vertical:t}}),r=document.createElement("button");return r.setAttribute("data-t",a.getMetadataTag()),r}function d(t){const e=new s.D({name:`${t}_setting}`,type:i.c9.ActionButton,content:{headline:"setting",type:i.uH.StructuredData,vertical:t}}),a=document.createElement("button");return a.setAttribute("data-t",e.getMetadataTag()),a}function c(t){const e=new s.D({name:`${t}_removeWidget`,type:i.c9.ActionButton,content:{headline:"removeWidget",type:i.uH.StructuredData,vertical:t}}),a=document.createElement("button");return a.setAttribute("data-t",e.getMetadataTag()),a}function p(t,e,a){return{width:300,height:h(t),row:e,col:u(a)}}function h(t){return"large"===t?412:"medium"===t?304:"small"===t?146:void 0}function u(t){return"primary"===t?1:"secondary"===t?2:void 0}},51223:function(t,e,a){"use strict";a.d(e,{Z0:function(){return g},nc:function(){return u}});var i,r,s,n,o=a(21712),l=a(76668),d=a(16517),c=a(54804),p=a(76323),h=a(9344);function u(t){var e;const a=d.jG.IsChinaCompliance||"zh-cn"===(null===(e=null===c.Al||void 0===c.Al?void 0:c.Al.Locale)||void 0===e?void 0:e.toLowerCase());t&&(0,h.sq)(o.pA,t,365,a?".msn.cn":".msn.com","/",!0,l.f.None)}!function(t){t[t.none=0]="none",t[t.bgTask=1]="bgTask",t[t.badge=2]="badge",t[t.rotationalPreview=4]="rotationalPreview",t[t.expandedView=8]="expandedView",t[t.fullWv=16]="fullWv",t[t.reauthRequiredUser=32]="reauthRequiredUser"}(i||(i={})),function(t){t[t.header=0]="header",t[t.content=1]="content",t[t.moreOptions=2]="moreOptions"}(r||(r={})),function(t){t[t.resize=0]="resize",t[t.customize=1]="customize",t[t.unpin=2]="unpin",t[t.hide=3]="hide",t[t.pin=4]="pin",t[t.other=5]="other"}(s||(s={})),function(t){t[t.ProfileClicked=0]="ProfileClicked",t[t.AddButtonClicked=1]="AddButtonClicked"}(n||(n={}));const g=(0,p.p)((()=>document.getElementById("widgetGroup-testpage")&&("winWidgets"===d.jG.AppType||"windowsNewsPlus"===d.jG.AppType)));var m;!function(t){t[t.Alert=0]="Alert",t[t.NoAlert=1]="NoAlert",t[t.HighImpact=2]="HighImpact",t[t.Critical=3]="Critical"}(m||(m={}))},99478:function(t,e,a){"use strict";function i(t,...e){return t.replace(/{(\d+)}/g,(function(t,a){if(a>=e.length)return t;const i=e[a];return"number"==typeof i||i?i:""}))}function r(t){return!t||!t.trim()}a.d(e,{TF:function(){return r},WU:function(){return i}})},83648:function(t,e,a){var i,r;r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==a.g?a.g:this,t.exports=function(a){"use strict";var r,s=(a=a||{}).Base64,n="2.6.4",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(t){for(var e={},a=0,i=t.length;a<i;a++)e[t.charAt(a)]=a;return e}(o),d=String.fromCharCode,c=function(t){if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?d(192|e>>>6)+d(128|63&e):d(224|e>>>12&15)+d(128|e>>>6&63)+d(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return d(240|e>>>18&7)+d(128|e>>>12&63)+d(128|e>>>6&63)+d(128|63&e)},p=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(t){return t.replace(p,c)},u=function(t){var e=[0,2,1][t.length%3],a=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[o.charAt(a>>>18),o.charAt(a>>>12&63),e>=2?"=":o.charAt(a>>>6&63),e>=1?"=":o.charAt(63&a)].join("")},g=a.btoa&&"function"==typeof a.btoa?function(t){return a.btoa(t)}:function(t){if(t.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return t.replace(/[\s\S]{1,3}/g,u)},m=function(t){return g(h(String(t)))},v=function(t){return t.replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"})).replace(/=/g,"")},f=function(t,e){return e?v(m(t)):m(t)},y=function(t){return f(t,!0)};a.Uint8Array&&(r=function(t,e){for(var a="",i=0,r=t.length;i<r;i+=3){var s=t[i],n=t[i+1],l=t[i+2],d=s<<16|n<<8|l;a+=o.charAt(d>>>18)+o.charAt(d>>>12&63)+(void 0!==n?o.charAt(d>>>6&63):"=")+(void 0!==l?o.charAt(63&d):"=")}return e?v(a):a});var w,b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S=function(t){switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return d(55296+(e>>>10))+d(56320+(1023&e));case 3:return d((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return d((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},x=function(t){return t.replace(b,S)},C=function(t){var e=t.length,a=e%4,i=(e>0?l[t.charAt(0)]<<18:0)|(e>1?l[t.charAt(1)]<<12:0)|(e>2?l[t.charAt(2)]<<6:0)|(e>3?l[t.charAt(3)]:0),r=[d(i>>>16),d(i>>>8&255),d(255&i)];return r.length-=[0,0,2,1][a],r.join("")},$=a.atob&&"function"==typeof a.atob?function(t){return a.atob(t)}:function(t){return t.replace(/\S{1,4}/g,C)},k=function(t){return $(String(t).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(t){return x($(t))},D=function(t){return String(t).replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},M=function(t){return T(D(t))};a.Uint8Array&&(w=function(t){return Uint8Array.from(k(D(t)),(function(t){return t.charCodeAt(0)}))});var I=function(){var t=a.Base64;return a.Base64=s,t};if(a.Base64={VERSION:n,atob:k,btoa:g,fromBase64:M,toBase64:f,utob:h,encode:f,encodeURI:y,btou:x,decode:M,noConflict:I,fromUint8Array:r,toUint8Array:w},"function"==typeof Object.defineProperty){var L=function(t){return{value:t,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",L((function(){return M(this)}))),Object.defineProperty(String.prototype,"toBase64",L((function(t){return f(this,t)}))),Object.defineProperty(String.prototype,"toBase64URI",L((function(){return f(this,!0)})))}}return a.Meteor&&(Base64=a.Base64),t.exports?t.exports.Base64=a.Base64:void 0===(i=function(){return a.Base64}.apply(e,[]))||(t.exports=i),{Base64:a.Base64}}(r)},19628:function(t,e){"use strict";var a=function(){function t(){}return t.IsNullOrWhiteSpace=function(t){try{return null==t||"undefined"==t||t.toString().replace(/\s/g,"").length<1}catch(t){return console.log(t),!1}},t.Join=function(e){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];try{var r=a[0];if(Array.isArray(r)||r instanceof Array){for(var s=t.Empty,n=0;n<r.length;n++){var o=r[n];n<r.length-1?s+=o+e:s+=o}return s}if("object"==typeof r){var l=t.Empty,d=r;return Object.keys(r).forEach((function(t){l+=d[t]+e})),l=l.slice(0,l.length-e.length)}var c=a;return t.join.apply(t,[e].concat(c))}catch(e){return console.log(e),t.Empty}},t.Format=function(e){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];try{return e.match(t.regexNumber)?t.format(t.regexNumber,e,a):e.match(t.regexObject)?t.format(t.regexObject,e,a,!0):t.Empty}catch(e){return console.log(e),t.Empty}},t.format=function(e,a,i,r){return void 0===r&&(r=!1),a.replace(e,(function(e,a){var s,n=e.split(":");return n.length>1&&(a=n[0].replace("{",""),e=n[1].replace("}","")),null==(s=r?i[0][a]:i[a])||null==s||e.match(/{\d+}/)||void 0!==(s=t.parsePattern(e,s))&&null!=s?s:t.Empty}))},t.parsePattern=function(e,a){switch(e){case"L":return a.toLowerCase();case"U":return a.toUpperCase();case"d":if("string"==typeof a)return t.getDisplayDateFromString(a);if(a instanceof Date)return t.Format("{0:00}.{1:00}.{2:0000}",a.getDate(),a.getMonth(),a.getFullYear());break;case"s":if("string"==typeof a)return t.getSortableDateFromString(a);if(a instanceof Date)return t.Format("{0:0000}-{1:00}-{2:00}",a.getFullYear(),a.getMonth(),a.getDate());break;case"n":"string"!=typeof a&&(a=a.toString());var i=a.replace(/,/g,".");if(isNaN(parseFloat(i))||i.length<=3)break;var r=i.split(/[^0-9]+/g),s=r;r.length>1&&(s=[t.join.apply(t,[""].concat(r.splice(0,r.length-1))),r[r.length-1]]);var n=s[0],o=n.length%3,l=o>0?n.substring(0,o):t.Empty,d=n.substring(o).match(/.{3}/g);return(l=l+"."+t.Join(".",d))+(s.length>1?","+s[1]:"")}return"number"!=typeof a&&isNaN(a)||isNaN(+e)||t.IsNullOrWhiteSpace(a)?a:t.formatNumber(a,e)},t.getDisplayDateFromString=function(t){var e;if((e=t.split("-")).length<=1)return t;var a=e[e.length-1],i=e[e.length-2],r=e[e.length-3];return(a=(a=a.split("T")[0]).split(" ")[0])+"."+i+"."+r},t.getSortableDateFromString=function(e){var a=e.replace(",","").split(".");if(a.length<=1)return e;var i=a[a.length-1].split(" "),r=t.Empty;i.length>1&&(r=i[i.length-1]);var s=a[a.length-1].split(" ")[0]+"-"+a[a.length-2]+"-"+a[a.length-3];return!t.IsNullOrWhiteSpace(r)&&r.length>1?s+="T"+r:s+="T00:00:00",s},t.formatNumber=function(t,e){var a=e.length,i=t.toString();if(a<=i.length)return i;var r=a-i.length;return new Array(r+=1).join("0")+i},t.join=function(e){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];for(var r=t.Empty,s=0;s<a.length;s++)if(!("string"==typeof a[s]&&t.IsNullOrWhiteSpace(a[s])||"number"!=typeof a[s]&&"string"!=typeof a[s])){r+=""+a[s];for(var n=s+1;n<a.length;n++)if(!t.IsNullOrWhiteSpace(a[n])){r+=e,s=n-1;break}}return r},t.regexNumber=/{(\d+(:\w*)?)}/g,t.regexObject=/{(\w+(:\w*)?)}/g,t.Empty="",t}();e.Ld=a;var i=function(){function t(t){void 0===t&&(t=a.Empty),this.Values=[],this.Values=new Array(t)}return t.prototype.ToString=function(){return this.Values.join("")},t.prototype.Append=function(t){this.Values.push(t)},t.prototype.AppendFormat=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.Values.push(a.Format.apply(a,[t].concat(e)))},t.prototype.Clear=function(){this.Values=[]},t}()},16590:function(t,e,a){"use strict";a.d(e,{xb:function(){return v}});var i=a(33940),r=a(65620),s=a(87697),n=a(48839);class o extends n.I{constructor(){super(...arguments),this.pinned=!1}}(0,i.gn)([r.Lj],o.prototype,"target",void 0),(0,i.gn)([(0,r.Lj)({mode:"boolean"})],o.prototype,"pinned",void 0),(0,i.gn)([s.LO],o.prototype,"data",void 0),(0,i.gn)([s.LO],o.prototype,"headerTelemetryTag",void 0),(0,i.gn)([s.LO],o.prototype,"seeMoreTelemetryTag",void 0);var l=a(67020),d=a(56201),c=a(40082),p=a(53046),h=a(15933),u=a(32804);var g=a(39181),m=a(13988);const v=o.compose({baseName:"structured-data-card",template:(t,e)=>g.d`
    <div class="title" part="title">
        ${(0,m.g)((t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.titleContent}),g.d`
                <a
                    class="title-link"
                    part="title-link"
                    href="${t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.link}}"
                    target=${t=>t.target}
                    title="${t=>{var e,a,i;return null!==(a=null===(e=t.data)||void 0===e?void 0:e.titleContentHint)&&void 0!==a?a:null===(i=t.data)||void 0===i?void 0:i.titleContent}}"
                    data-t="${t=>t.headerTelemetryTag}"
                >
                    <slot name="title-icon"></slot>
                    <div class="title-content" part="title-content">
                        ${t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.titleContent}}
                    </div>
                    <slot name="weather-pen-btn"></slot>
                    <slot name="weather-map-btn"></slot>
                </a>
            `)}
        <slot name="pin"></slot>
        <slot name="more-actions"></slot>
    </div>
    <slot></slot>
    <div class="footer" part="footer">
        <slot name="footer-start"></slot>
        ${(0,m.g)((t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.footerContent}),g.d`
                <fluent-anchor
                    class="sd-action"
                    part="sd-action"
                    appearance="${t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.actionAppearance}}"
                    href="${t=>{var e,a,i;return(null===(e=t.data)||void 0===e?void 0:e.footerLink)?null===(a=t.data)||void 0===a?void 0:a.footerLink:null===(i=t.data)||void 0===i?void 0:i.link}}"
                    target=${t=>t.target}
                    data-t="${t=>t.seeMoreTelemetryTag}"
                >
                    ${t=>{var e;return null===(e=t.data)||void 0===e?void 0:e.footerContent}}
                </fluent-anchor>
            `)}
        <slot name="footer-end"></slot>
    </div>
`,styles:(t,e)=>p.i`
    ${(0,l.j)("grid")}:host {
        position: relative;
        width: auto;
        height: 100%;
        box-sizing: border-box;
        font-family: ${u.SVJ};
        grid-template-rows: auto 1fr auto;
        padding: var(--content-padding, 16px 0);
        outline: none;
    }

    :host([pinned]) {
        /* with this change, we are remove top padding from the card to support the grab handle extending from the title */
        padding: var(--content-padding, 0 16px 16px 16px);
    }

    :host([pinned]) .title-link {
        cursor: pointer;
    }

    :host([pinned]) .title {
        cursor: var(--cursor-styles);
        /* with this, we are only adding top padding to the title to support the grab handle in Prong 2 and removing from the card */
        padding: var(--title-padding, 16px 0 0);
    }

    .footer {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: var(--footer-padding, 0 16px);
    }

    .title {
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-gap: 8px;
        padding: var(--title-padding, 0 16px);
        overflow: visible;
        align-items: center;
    }

    .title-link {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-gap: 8px;
        color: ${u.CHi};
        font-size: ${u.sNp};
        justify-content: flex-start;
        line-height: ${u.vgC};
        outline: none;
        cursor: pointer;
        text-decoration: none;
        margin-inline-end: auto;
    }

    .title-link:hover,
    .title-link:active,
    .title-link:${d.b} {
        text-decoration: underline;
    }

    .title-content {
        font-size: ${u.sNp};
        line-height: ${u.vgC};
        margin-top: 4px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: var(--title-max-lines, 1);
    }

    ::slotted([slot="title-icon"]) {
        margin-top: 4px;
    }

    .sd-action {
        --control-corner-radius: 16;
        grid-column: 2;
        z-index: 1;
    }

    .sd-action:not([appearance="lightweight"]) {
        font-size: ${u.sNp};
        line-height: ${u.vgC};
    }

    .sd-action::part(control) {
        width: 100%;
        padding: var(--sd-action-padding, 0px 24px);
    }

    .sd-action::part(content) {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    ::slotted([slot="more-actions"]) {
        min-width: var(--more-actions-size, 24px);
        width: var(--more-actions-size, 24px);
        height: var(--more-actions-size, 24px);
        --control-corner-radius: var(--more-actions-corner-radius, 16);
        z-index: 1;
        grid-column: 3;
        background-color: transparent;
    }

    ::slotted([slot="more-actions"]:hover) {
        background-color: ${u.QpD};
     }
     
     ::slotted([slot="more-actions"]:active) {
        background-color: ${u.sG3};
     }

    ::slotted([slot="pin"]) {
        fill: ${u.CHi};
        margin-inline-end: 6px;
    }
`.withBehaviors((0,c.vF)(p.i`
                .title-link {
                    color: ${h.H.CanvasText};
                }
                a[href] {
                    color: ${h.H.LinkText};
                }
            `))})},95263:function(t,e,a){"use strict";a.d(e,{Sf:function(){return d},w_:function(){return l},UT:function(){return c},IY:function(){return p},A4:function(){return g}});var i=a(98648),r=a(42355),s=a(32804),n=a(65390);const{create:o}=i.L,l=o("gradient-white-fill").withDefault((t=>(0,n.Y)(.8,1,r.w.create(1,1,1),s.wFS.getValueFor(t)))),d=o("gradient-background-fill").withDefault((t=>(0,n.Y)(0,1,null,s.wFS.getValueFor(t)))),c=o("neutral-fill-bubble-on-rest").withDefault((t=>function(t,e){const a=t.closestIndexOf(e);return t.get(a-5)}(s.yvm.getValueFor(t),s.wFS.getValueFor(t)))),p=o("neutral-foreground-hint-on-bubble-on-rest").withDefault((t=>s.axZ.getValueFor(t).evaluate(t,c.getValueFor(t))));function h(t,e,a){return t.get(t.closestIndexOf((i=e,r.w.create(i,i,i)))-a);var i}const u=o({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:t=>h(s.yvm.getValueFor(t),s.q2d.getValueFor(t),s.YL4.getValueFor(t))}),g=o("neutral-layer-card").withDefault((t=>u.getValueFor(t).evaluate(t)))},13543:function(t,e,a){"use strict";a.d(e,{U:function(){return s},W:function(){return r}});var i=a(53046);const r=i.i`
    .line-clamp {
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--heading-max-lines, 3);
    }
`,s=i.i`
    .sd-action:not([appearance="lightweight"]) {
        --control-corner-radius: 999;
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
    }

    .sd-action::part(control) {
        width: 100%;
    }

    .sd-action::part(content) {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        overflow: hidden;
    }
`},65390:function(t,e,a){"use strict";a.d(e,{Y:function(){return s}});var i=a(97186),r=a(2696);function s(t=0,e=1,a,s){const n=s.toColorString(),{r:o,g:l,b:d}=(0,i.in)(n),c=`linear-gradient(160deg, ${new r.h(o,l,d,t).toStringWebRGBA()}, ${new r.h(o,l,d,e).toStringWebRGBA()})`;if(a){return[c,null==a?void 0:a.toColorString()].join()}return c}},16859:function(t,e,a){"use strict";a.d(e,{Y:function(){return l}});var i=a(32804),r=a(78125),s=a(97186),n=a(60279);const o=(0,a(9791).Z)((t=>{let e=(0,s.in)(t);if(null!==e)return e;if(e=(0,s.hg)(t),null!==e)return e;throw new Error(`${t} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class l{constructor(t,e){this.cache=new WeakMap,this.light=t,this.dark=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t);e&&i.IfY.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new d(this.light,this.dark,t),a=i.IfY.getValueFor(t);i.IfY.subscribe(e,t),e.attach(a),this.cache.set(t,e)}}class d{constructor(t,e,a){this.light=t,this.dark=e,this.source=a,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){const e=(a=t.toColorString(),(0,n.hM)(o(a))<=r.h.DarkMode?"dark":"light");var a;this.attached!==this[e]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[e],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}},40340:function(t){t.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2.5a.5.5 0 00-1 0V9H2.5a.5.5 0 000 1H9v6.5a.5.5 0 001 0V10h6.5a.5.5 0 000-1H10V2.5z"></path></svg>'},26785:function(t){t.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.85 2.15a.5.5 0 10-.7.7l3.5 3.5a8.1 8.1 0 00-3.37 5.05.5.5 0 10.98.2 7.09 7.09 0 013.1-4.53l1.6 1.59a3.5 3.5 0 104.88 4.89l4.3 4.3a.5.5 0 00.71-.7l-15-15zm9.27 10.68a2.5 2.5 0 11-3.45-3.45l3.45 3.45zm-2-4.83l3.38 3.38A3.5 3.5 0 0010.12 8zM10 6c-.57 0-1.13.07-1.67.21l-.8-.8A7.65 7.65 0 0110 5c3.7 0 6.94 2.67 7.72 6.4a.5.5 0 01-.98.2A6.97 6.97 0 0010 6z"></path></svg>'},56993:function(t){t.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 13h11a.5.5 0 00.42-.78L13.1 8l2.82-4.22A.5.5 0 0015.5 3H4a.5.5 0 00-.5.5v14a.5.5 0 001 0V13zm0-1V4h10.07l-2.49 3.72a.5.5 0 000 .56L14.57 12H4.5z"></path></svg>'},55096:function(t){t.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.91 7.38A8.5 8.5 0 013.69 4.3a.5.5 0 01.54-.13l1.92.68a1 1 0 001.32-.76l.36-2a.5.5 0 01.4-.4 8.53 8.53 0 013.55 0c.2.04.35.2.38.4l.37 2a1 1 0 001.32.76l1.92-.68a.5.5 0 01.54.13 8.5 8.5 0 011.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 000 1.52l1.56 1.32a.5.5 0 01.15.54 8.5 8.5 0 01-1.78 3.08.5.5 0 01-.54.13l-1.92-.68a1 1 0 00-1.32.76l-.37 2a.5.5 0 01-.38.4 8.53 8.53 0 01-3.56 0 .5.5 0 01-.39-.4l-.36-2a1 1 0 00-1.32-.76l-1.92.68a.5.5 0 01-.54-.13 8.5 8.5 0 01-1.78-3.08.5.5 0 01.15-.54l1.56-1.32a1 1 0 000-1.52L2.06 7.92a.5.5 0 01-.15-.54zm1.06 0l1.3 1.1a2 2 0 010 3.04l-1.3 1.1c.3.79.71 1.51 1.25 2.16l1.6-.58a2 2 0 012.63 1.53l.3 1.67a7.56 7.56 0 002.5 0l.3-1.67a2 2 0 012.64-1.53l1.6.58a7.5 7.5 0 001.24-2.16l-1.3-1.1a2 2 0 010-3.04l1.3-1.1a7.5 7.5 0 00-1.25-2.16l-1.6.58a2 2 0 01-2.63-1.53l-.3-1.67a7.55 7.55 0 00-2.5 0l-.3 1.67A2 2 0 015.81 5.8l-1.6-.58a7.5 7.5 0 00-1.24 2.16zM7.5 10a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0zm1 0a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0z"></path></svg>'},69298:function(t,e,a){"use strict";a.d(e,{Zb:function(){return w},F:function(){return S},ay:function(){return b}});var i=a(33940),r=a(65130),s=a(97186),n=a(22680),o=a(87697),l=a(65620),d=a(48657),c=a(32804),p=a(42355),h=a(42255),u=a(53046),g=a(67020),m=a(40082),v=a(87839),f=a(62734);const y=(t,e)=>u.i`
        ${(0,g.j)("block")} :host {
            --elevation: 4;
            display: block;
            contain: content;
            height: var(--card-height, 100%);
            width: var(--card-width, 100%);
            box-sizing: border-box;
            background: ${c.IfY};
            color: ${c.CHi};
            border-radius: calc(${c.rSr} * 1px);
            ${f.XC}
        }

        :host(:hover) {
            --elevation: 8;
        }

        :host(:focus-within) {
            --elevation: 8;
        }

        :host {
            content-visibility: auto;
        }
    `.withBehaviors((0,m.vF)(u.i`
                :host {
                    forced-color-adjust: none;
                    background: ${v.H.Canvas};
                    box-shadow: 0 0 0 1px ${v.H.CanvasText};
                }
            `));class w extends r.Z{cardFillColorChanged(t,e){if(e){const t=(0,s.in)(e);null!==t&&(this.neutralPaletteSource=e,c.IfY.setValueFor(this,p.w.create(t.r,t.g,t.b)))}}neutralPaletteSourceChanged(t,e){if(e){const t=(0,s.in)(e),a=p.w.create(t.r,t.g,t.b);c.yvm.setValueFor(this,h.v.create(a))}}handleChange(t,e){this.cardFillColor||c.IfY.setValueFor(this,(e=>c.abR.getValueFor(e).evaluate(e,c.IfY.getValueFor(t))))}connectedCallback(){super.connectedCallback();const t=(0,n.T)(this);if(t){const e=o.y$.getNotifier(t);e.subscribe(this,"fillColor"),e.subscribe(this,"neutralPalette"),this.handleChange(t,"fillColor")}}}(0,i.gn)([(0,l.Lj)({attribute:"card-fill-color",mode:"fromView"}),(0,i.w6)("design:type",String)],w.prototype,"cardFillColor",void 0),(0,i.gn)([(0,l.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,i.w6)("design:type",String)],w.prototype,"neutralPaletteSource",void 0);const b=w.compose({baseName:"card",baseClass:r.Z,template:d.O,styles:y}),S=y},1393:function(t,e,a){"use strict";a.d(e,{EK:function(){return u}});var i=a(91281),r=a(30569),s=a(53046),n=a(67020),o=a(37139),l=a(56201),d=a(40082),c=a(87839),p=a(2658),h=a(32804);const u=i.U.compose({baseName:"flipper",template:r._,styles:(t,e)=>s.i`
        ${(0,n.j)("inline-flex")} :host {
            width: calc(${p.i} * 1px);
            height: calc(${p.i} * 1px);
            justify-content: center;
            align-items: center;
            margin: 0;
            position: relative;
            fill: currentcolor;
            color: ${h.CHi};
            background: transparent;
            border: none;
            outline: none;
            padding: 0;
        }

        :host::before {
            content: "";
            opacity: 0.8;
            background: ${h.jql};
            border: calc(${h.Han} * 1px) solid ${h.akT};
            border-radius: 50%;
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            transition: all 0.1s ease-in-out;
        }

        .next,
        .previous {
            position: relative;
            ${""} width: 16px;
            height: 16px;
        }

        :host(.disabled) {
            opacity: ${h.VFZ};
            cursor: ${o.H};
        }

        :host(:hover) {
            cursor: pointer;
        }

        :host(:hover)::before {
            background: ${h.QpD};
            border-color: ${h.QPc};
        }

        :host(:${l.b}) {
            outline: none;
        }

        :host(:${l.b})::before {
            box-shadow: 0 0 0 1px ${h.yGg} inset;
            border-color: ${h.yGg};
        }

        :host(:active)::before {
            background: ${h.sG3};
            border-color: ${h.c1L};
        }

        :host::-moz-focus-inner {
            border: 0;
        }
    `.withBehaviors((0,d.vF)(s.i`
                :host {
                    background: ${c.H.Canvas};
                }
                :host .next,
                :host .previous {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
                :host::before {
                    background: ${c.H.Canvas};
                    border-color: ${c.H.ButtonText};
                }
                :host(:hover)::before {
                    forced-color-adjust: none;
                    background: ${c.H.Highlight};
                    border-color: ${c.H.ButtonText};
                    opacity: 1;
                }
                :host(:hover) .next,
                :host(:hover) .previous {
                    forced-color-adjust: none;
                    color: ${c.H.HighlightText};
                    fill: currentcolor;
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled)::before,
                :host(.disabled:hover)::before,
                :host(.disabled) .next,
                :host(.disabled) .previous,
                :host(.disabled:hover) .next,
                :host(.disabled:hover) .previous {
                    forced-color-adjust: none;
                    background: ${c.H.Canvas};
                    border-color: ${c.H.GrayText};
                    color: ${c.H.GrayText};
                    fill: ${c.H.GrayText};
                }
                :host(:${l.b})::before {
                    forced-color-adjust: none;
                    border-color: ${c.H.Highlight};
                    box-shadow: 0 0 0 2px ${c.H.Field},
                        0 0 0 4px ${c.H.FieldText};
                }
            `)),next:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n        />\n    </svg>\n  ',previous:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"\n        />\n    </svg>\n  '})},65130:function(t,e,a){"use strict";a.d(e,{Z:function(){return r}});var i=a(48839);class r extends i.I{}},48657:function(t,e,a){"use strict";a.d(e,{O:function(){return r}});var i=a(39181);const r=(t,e)=>i.d`
    <slot></slot>
`},91281:function(t,e,a){"use strict";a.d(e,{U:function(){return o}});var i=a(20005),r=a(65620),s=a(48839),n=a(16882);class o extends s.I{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=n.L.next}keyupHandler(t){if(!this.hiddenFromAT){const e=t.key;"Enter"!==e&&"Space"!==e||this.$emit("click",t),"Escape"===e&&this.blur()}}}(0,i.gn)([(0,r.Lj)({mode:"boolean"})],o.prototype,"disabled",void 0),(0,i.gn)([(0,r.Lj)({attribute:"aria-hidden",converter:r.bw})],o.prototype,"hiddenFromAT",void 0),(0,i.gn)([r.Lj],o.prototype,"direction",void 0)},16882:function(t,e,a){"use strict";a.d(e,{L:function(){return i}});const i={next:"next",previous:"previous"}},30569:function(t,e,a){"use strict";a.d(e,{_:function(){return n}});var i=a(39181),r=a(13988),s=a(16882);const n=(t,e)=>i.d`
    <template
        role="button"
        aria-disabled="${t=>!!t.disabled||void 0}"
        tabindex="${t=>t.hiddenFromAT?-1:0}"
        class="${t=>t.direction} ${t=>t.disabled?"disabled":""}"
        @keyup="${(t,e)=>t.keyupHandler(e.event)}"
    >
        ${(0,r.g)((t=>t.direction===s.L.next),i.d`
                <span part="next" class="next">
                    <slot name="next">
                        ${e.next||""}
                    </slot>
                </span>
            `)}
        ${(0,r.g)((t=>t.direction===s.L.previous),i.d`
                <span part="previous" class="previous">
                    <slot name="previous">
                        ${e.previous||""}
                    </slot>
                </span>
            `)}
    </template>
`},12697:function(t,e,a){"use strict";var i=a(84708);e.Z=function(t){return"number"==typeof t&&t==(0,i.Z)(t)}},81492:function(t,e){"use strict";e.Z=function(t){return void 0===t}}}]);A
Eo