var(--hide-story-background);
        }
        msn-hide-story-card.ad-feedback-confirmation fluent-button {
            width: 150px;
            text-align: center;
            display: block;
            margin: 54px auto 8px;
        }
        msn-hide-story-card.ad-feedback-confirmation fluent-button::part(control) {
            width: 100%;
        }
        msn-hide-story-card.ad-feedback-confirmation fluent-button:hover {
            background: var(--button-hover-color);
        }
        msn-hide-story-card.ad-feedback-confirmation::part(content-region) {
            margin: 0 auto;
            text-align: center;
            padding: 110px 16px 0px 16px;
        }
        msn-hide-story-card.ad-feedback-confirmation::part(action-region) {
            display: block;
            position: static;
            margin: 0;
            padding: 0px 16px 16px;
        }
    </style>
    <msn-hide-story-card 
        hideStoryTitle=${e=>e.adFeedbackProps.localizedStrings.confirmationText}
        class="ad-feedback-confirmation"
    >    
        <fluent-button
            slot="actions"
            autofocus
            appearance="neutral"
            aria-label=${e=>e.adFeedbackProps.localizedStrings.undoText}
            role="button"
            title=${e=>e.adFeedbackProps.localizedStrings.undoText}
            id="Undo"
            @click=${e=>e.undoHideButtonCallback&&e.undoHideButtonCallback()}
        >
            ${e=>e.adFeedbackProps.localizedStrings.undoText}
        </fluent-button>
    </msn-hide-story-card> 
`},64302:function(e,t,i){"use strict";i.d(t,{V:function(){return s}});var a=i(39181),o=i(13988),n=i(76859),r=i(74045);i(74553).N;const s=a.d`
    <style>
        msn-hide-story-card.hide-feedback {
            --heading-line-height: var(--type-ramp-plus-1-line-height);
            --heading-font-size: var(--type-ramp-plus-1-font-size);
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback {
            --heading-line-height: var(--type-ramp-base-line-height, 20px);
            --heading-font-size: var(--type-ramp-base-font-size, 14px);
        }
        msn-hide-story-card[card-size="_1x_1y"] fluent-menu-item#Report {  
            display: none;
        } 
        msn-hide-story-card.hide-feedback fluent-menu-item {
            width: 236px;
            text-align: center;
            display: block;
            border-radius: 20px;
            margin: 0 auto 8px;
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback:not(.hide-confirm)::part(content-region) {
            padding-top: 20px;
            padding-inline: 20px;
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback fluent-menu-item#Undo {
            width: 18px;
            margin-inline-end: 10px;
            margin-top: 11px;
            color: var(--neutral-foreground-rest);
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback fluent-menu-item#Undo:hover > svg > path {
            transition: all 0.5s ease 0s;
            d: path(var(--undo-filled-path));
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback fluent-menu-item#Undo svg {
            transform: translate(3px, 3px);
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback fluent-menu-item#Undo.stealth-button:hover,
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback fluent-menu-item#Undo:focus {
            background: transparent;
        }
        msn-hide-story-card[card-size="_1x_1y"] .menu-item-text {
            margin-top: 1px;
        }
        msn-hide-story-card fluent-menu-item::part(control) {
            width: 236px;
        }
        msn-hide-story-card.hide-feedback::part(content-region) {
            width: 236px;
            margin: 0 auto;
            text-align: center;
            justify-content: center;
            --content-region-padding-top: 38px;
        }
        msn-hide-story-card.hide-feedback.has-subtitle::part(content-region) {
            --content-region-padding-top: 24px;
        }
        msn-hide-story-card::part(heading) {
            -webkit-line-clamp: var(--heading-max-lines, 3)
        }
        msn-hide-story-card::part(action-region) {
            display: block;
            position: static;
            margin: auto;
        }
        .menu-item-text {
            margin-top: 5px;
            padding: 0 8px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    </style>
    <msn-hide-story-card
        class="hide-feedback ${e=>e.enableInstantHide?"instant-hide":""} ${e=>e.hideStorySubtitle?"has-subtitle":""} "
        hideStoryTitle=${e=>e.hideStoryTitleData.text}
        hideStorySubtitle=${e=>e.hideStorySubtitle}
        data-text=${e=>e.hideStoryTitleData.dataTag}
        card-size=${e=>e.cardSize}
        data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.hideStoryCard)||void 0===i?void 0:i.getMetadataTag()}}"
        role="menu"
    >
        <span class="heading" part="heading" role="alert" slot="heading">${e=>e.hideStoryTitleData.text}</span>
        ${(0,o.g)((e=>e.dislikeButtonText&&!e.enableHideTopics),a.d`
            <fluent-menu-item
                tabindex="0"
                aria-label=${e=>e.dislikeButtonText}
                title=${e=>e.dislikeButtonText}
                id="DislikeTopic"
                @change=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus&r.O7.showFewer?e.cardActionStatus^r.O7.hidden:e.cardActionStatus^r.O7.showFewer^r.O7.hidden,"ShowFewer",!0,e.cardActionClickHandler,null,!1)}
                slot="actions"
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.dislikeButton)||void 0===i?void 0:i.getMetadataTag()}}"
            >
                <div class="menu-item-text">${e=>e.dislikeButtonText}</div>
            </fluent-menu-item>
        `)}
        ${(0,o.g)((e=>e.notInterestedInNamedTopicText),a.d`
            <fluent-menu-item
                tabindex="0"
                aria-label=${e=>e.notInterestedInNamedTopicText}
                title=${e=>e.notInterestedInNamedTopicText}
                id="HideNamedTopic"
                @change=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^r.O7.hidden^r.O7.hideTopic,"HideTopic",!0,null,e.associatedTopic.feedId,!1)}
                slot="actions"
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.hideNamedTopicButton)||void 0===i?void 0:i.getMetadataTag()}}"
            >
                <div class="menu-item-text">${e=>e.notInterestedInNamedTopicText}</div>
            </fluent-menu-item>
        `)}
        <fluent-menu-item
            tabindex="0"
            aria-label=${e=>e.mutePublisherButtonText}
            title=${e=>e.mutePublisherButtonText}
            id="MutePublisher"
            @change=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus&e.cardActionStatus^r.O7.mute^r.O7.hidden,"Mute",!0,e.cardActionClickHandler,e.providerId)}
            slot="actions"
            data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.mutePublisherButton)||void 0===i?void 0:i.getMetadataTag()}}"
        >
            <div class="menu-item-text">${e=>e.mutePublisherButtonText}</div>
        </fluent-menu-item>
        <fluent-menu-item
            tabindex="0"
            aria-label=${e=>e.reportButtonText}
            title=${e=>e.reportButtonText}
            id="Report"
            @change=${e=>e.openReportDialog&&e.openReportDialog(e.currentCardData)}
            slot="actions"
            data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.reportButton)||void 0===i?void 0:i.getMetadataTag()}}"
        >
            <div class="menu-item-text">${e=>e.reportButtonText}</div>
        </fluent-menu-item>
        <fluent-menu-item
            tabindex="0" 
            class="stealth-button"
            aria-label=${e=>e.enableInstantHide&&!e.enableHideTopics?e.hideFeedbackCancelText:e.undoHideButtonText}
            title=${e=>e.enableInstantHide&&!e.enableHideTopics?e.hideFeedbackCancelText:e.undoHideButtonText}
            id="Undo"
            @change=${e=>e.undoHideButtonCallback&&e.undoHideButtonCallback()}
            slot="actions"
            data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.cancelButton)||void 0===i?void 0:i.getMetadataTag()}}"
            style="--undo-filled-path:'M-0.000976562 0.75C-0.000976562 0.335786 0.334809 0 0.749023 0C1.16324 0 1.49902 0.335786 1.49902 0.75V3.84461L4.17206 1.17157C5.73416 -0.390524 8.26682 -0.390524 9.82891 1.17157C11.391 2.73367 11.391 5.26633 9.82891 6.82843L4.87896 11.7784C4.58607 12.0713 4.1112 12.0713 3.8183 11.7784C3.52541 11.4855 3.52541 11.0106 3.8183 10.7177L8.76825 5.76777C9.74456 4.79146 9.74456 3.20854 8.76825 2.23223C7.79194 1.25592 6.20903 1.25592 5.23272 2.23223L2.96495 4.5H5.24902C5.66324 4.5 5.99902 4.83579 5.99902 5.25C5.99902 5.66421 5.66324 6 5.24902 6H0.849023C0.379581 6 -0.000976562 5.61944 -0.000976562 5.15V0.75Z'";
        >
            ${(0,o.g)((e=>e.cardSize!=n.Nv._1x_1y),a.d`
                <div class="menu-item-text">${e=>e.enableInstantHide&&!e.enableHideTopics?e.hideFeedbackCancelText:e.undoHideButtonText}</div>
            `)}
            ${(0,o.g)((e=>e.cardSize==n.Nv._1x_1y),a.d`
                <svg width="11" height="12" viewBox="0 0 15 16" xmlns="http://www.w3.org/2000/svg">
                    <path d="M0.000976562 0.5C0.000976562 0.223858 0.224834 0 0.500977 0C0.77712 0 1.00098 0.223858 1.00098 0.5V4.34262L4.17202 1.17157C5.73412 -0.390524 8.26678 -0.390524 9.82888 1.17157C11.391 2.73367 11.391 5.26633 9.82888 6.82843L4.80375 11.8536C4.60849 12.0488 4.2919 12.0488 4.09664 11.8536C3.90138 11.6583 3.90138 11.3417 4.09664 11.1464L9.12177 6.12132C10.2933 4.94975 10.2933 3.05025 9.12177 1.87868C7.9502 0.707107 6.0507 0.707107 4.87913 1.87868L1.75781 5H5.50098C5.77712 5 6.00098 5.22386 6.00098 5.5C6.00098 5.77614 5.77712 6 5.50098 6H0.600977C0.269607 6 0.000976562 5.73137 0.000976562 5.4V0.5Z"/>
                </svg>
            `)}
        </fluent-menu-item>
    </msn-hide-story-card> 
`},70345:function(e,t,i){"use strict";i.d(t,{c:function(){return T}});var a=i(39181),o=i(13988),n=i(74045),r=i(61436),s=i(33940),d=i(89346),l=i(65620);class c extends d.H{constructor(){super(...arguments),this.preText="",this.postText=""}connectedCallback(){super.connectedCallback(),this.spinnerCompleteTimer=setTimeout((()=>{this.spinnerCompletedCallback&&this.spinnerCompletedCallback()}),3e3)}disconnectedCallback(){clearTimeout(this.spinnerCompleteTimer),this.spinnerCompleteTimer=void 0}}(0,s.gn)([(0,l.Lj)({attribute:"pre-text"})],c.prototype,"preText",void 0),(0,s.gn)([(0,l.Lj)({attribute:"post-text"})],c.prototype,"postText",void 0);var h=i(32804),g=i(53046),u=i(16859);const p=g.i`
    .spinner-background {
        stroke: rgba(0, 0, 0, 0.07);
    }

    .meter {
        stroke: ${h.goi};
    }

    .checkmark-background {
        fill: ${h.goi};
    }

    .checkmark {
        fill: white;
    }
`,m=g.i`
    .spinner-background {
        stroke: rgba(255, 255, 255, 0.54);
    }

    .meter {
        stroke: white;
    }

    .checkmark-background {
        fill: white;
    }

    .checkmark {
        fill: black;
    }
`,v=g.i`
    :host {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    :host([card-size="_1x_1y"]) .text {
        display: none;
    }

    :host([card-size="_1x_1y"]) svg {
        height: 30px;
        width: 30px;
    }

    :host(.check-icon[card-size="_1x_1y"]) {
        padding-top: 0;
        padding-bottom: 11px;
    }

    svg {
        height: 48px;
        margin: auto;
        width: 48px;
    }
      
    .spinner-background {
        fill: none;
        stroke-width: 2.5px;
    }

    .meter {
        animation: spinner 3s linear;
        fill: none;
        stroke-dasharray: 150;
        stroke-dashoffset: 0;
        stroke-linecap: round;
        stroke-width: 2.5px;
        transform: rotate(-90deg);
        transform-origin: 50% 50%; 
    }

    @keyframes spinner {
        from {
            stroke-dashoffset: 150;
        }
        to {
            stroke-dashoffset: 0;
        }
    }

    .checkmark-background {
        animation: checkmark-background 4s linear;
        transform-origin: 50% 50%; 
    }

    @keyframes checkmark-background {
        0%, 75% {
            fill-opacity: 0;
        }
        78% {
            fill-opacity: 1;
        }
    }

    .checkmark {
        animation: checkmark 4s linear;
        animation-fill-mode: both;
        transform: translate(8px, 8px);
        transform-origin: 50% 50%;
    }

    @keyframes checkmark {
        0%, 75% {
            transform: scale(0) translate(8px, 8px);
        }
        85% {
            transform: scale(1.25) translate(8px, 8px);
        }
        100% {
            transform: scale(1) translate(8px, 8px);
        }
    }

    span {
        display: block;
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
        overflow: hidden;
        position: absolute;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 236px;
    }

    .text {
        height: 20px;
        padding-top: 8px;
        width: 236px;
    }

    .pre-text {
        animation: fadeout 1s;
        animation-delay: 3s;
        animation-fill-mode: both;
    }

    .post-text {
        animation: fadein 1s;
        animation-delay: 3s;
        animation-fill-mode: both;
    }

    @keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    @keyframes fadeout {
        from { opacity: 1; }
        to   { opacity: 0; }
    }
`.withBehaviors(new u.Y(p,m)),f=a.d`
    <svg viewBox="0 0 48 48">
        <circle class="spinner-background" cx="24" cy="24" r="21.5" />
        <circle class="meter" cx="24" cy="24" r="21.5" />
        <circle class="checkmark-background" cx="24" cy="24" r="24"/>
        <path class="checkmark" d="M11.3333 22.1144L6.27614 17.0572C5.75544 16.5365 4.91122 16.5365 4.39052 17.0572C3.86983 17.5779 3.86983 18.4221 4.39052 18.9428L10.3905 24.9428C10.9112 25.4635 11.7554 25.4635 12.2761 24.9428L26.9428 10.2761C27.4635 9.75545 27.4635 8.91122 26.9428 8.39052C26.4221 7.86983 25.5779 7.86983 25.0572 8.39052L11.3333 22.1144Z"/>
    </svg>
    <div class="text">
        <span class="pre-text" role="alert">${e=>e.preText}</span>
        <span class="post-text">${e=>e.postText}</span>
    </div>
`;var b=i(63070),y=i(12306),x=i(39391),C=i(57905);let $=class extends c{};$=(0,s.gn)([(0,d.M)({name:"msn-animated-done-spinner",template:f,styles:v})],$),(0,b.z)().withShadowRootMode("closed").withElementDisambiguation((()=>C.h.ignoreDuplicate)).register((0,y.k)(),(0,x.xg)());var w=i(74553),k=i(76859);w.N;const T=a.d`
    <style>
        ${(0,o.g)((e=>e.enableInstantHide),a.d`
            msn-animated-done-spinner[card-size="_1x_1y"].check-icon {
                padding-top: 0;
                padding-bottom: 16px;
            }
            msn-hide-story-card[card-size="_1x_1y"].instant-hide fluent-button:first-of-type{
                margin-inline-end: 8px;
            }
            msn-hide-story-card[card-size="_1x_1y"].instant-hide fluent-button {
                width: 130px;
                display: inline-flex;
                margin: 0;
                box-sizing: border-box;
                -webkit-box-sizing: border-box;
            }
            msn-hide-story-card[card-size="_1x_1y"].hide-feedback.instant-hide::part(content-region) {
                padding-top: 12px;
            }
            msn-hide-story-card.instant-hide::part(content-region) {
                padding-top: 46px;
            }
            msn-hide-story-card .check-icon.instant-hide {
                padding-bottom: 32px;
                align-items: center;
                flex-direction: column;
            }
            msn-hide-story-card .personalize-text {
                font-size: var(--type-ramp-base-font-size, 14px);
                line-height: var(--type-ramp-base-line-height, 20px);
                margin-top: 20px;
                text-align: center;
                padding: 0 20px;
            }
            msn-hide-story-card .personalize {
                color: var(--stealth-button-text-color)
            }
        `)}
        msn-hide-story-card[card-size="_1x_1y"].hide-confirm {
            --heading-line-height: var(--type-ramp-base-line-height, 20px);
            --heading-font-size: var(--type-ramp-base-font-size, 14px);
        }
        msn-hide-story-card[card-size="_1x_1y"].hide-feedback.hide-confirm::part(content-region) {
            padding-top: 16px;
        }
        msn-hide-story-card.hide-confirm {
            --heading-line-height: var(--type-ramp-plus-1-line-height);
            --heading-font-size: var(--type-ramp-plus-1-font-size);
        }
        msn-hide-story-card.hide-confirm fluent-button {
            width: 236px;
            text-align: center;
            display: block;
            border-radius: 20px;
            margin: 0 auto 8px;
        }
        msn-hide-story-card.hide-confirm fluent-button::part(control):focus-visible {
            border: none;
            box-shadow: none;
        }   
        msn-hide-story-card fluent-button::part(control) {  
            width: 236px; 
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
        }   
        msn-hide-story-card.hide-confirm::part(content-region) {
            width: 236px;
            margin: 0 auto;
            text-align: center;
            padding-top: 38px;
        }
        msn-hide-story-card::part(heading) {
            -webkit-line-clamp: var(--heading-max-lines, 3)
        }
        msn-hide-story-card::part(action-region) {
            display: block;
            position: static;
            margin: auto;
            text-align: center;
        }
        .check-icon {
            display: flex;
            justify-content: center;
            fill: var(--neutral-foreground-rest);
            padding-bottom: 36px;
        }
        msn-animated-done-spinner.check-icon {
            padding-top: 20px;
            padding-bottom: 26px;
        }
    </style>
    <msn-hide-story-card 
        class="hide-feedback hide-confirm ${e=>e.enableInstantHide?"instant-hide":""}"
        hideStoryTitle=${e=>e.hideStoryTitleData.text}
        data-text=${e=>e.hideStoryTitleData.dataTag}
        card-size=${e=>e.cardSize}
        data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.hideStoryCard)||void 0===i?void 0:i.getMetadataTag()}}"
    >
        <span class="heading" part="heading" role="alert" slot="heading">${e=>e.hideStoryTitleData.text}</span>
        ${(0,o.g)((e=>!e.enableInstantHide&&e.cardSize!=k.Nv._1x_1y),a.d`
            <div slot="actions" class="check-icon">
                ${a.d`
                    <svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
                        <path d="M19.9999 0C31.0456 0 39.9999 8.9543 39.9999 20C39.9999 31.0457 31.0456 40 19.9999 40C8.95424 40 -6.10352e-05 31.0457 -6.10352e-05 20C-6.10352e-05 8.9543 8.95424 0 19.9999 0ZM28.6338 13.6161C28.1782 13.1605 27.4584 13.1301 26.9676 13.525L26.8661 13.6161L16.7499 23.7322L13.1338 20.1161C12.6457 19.628 11.8542 19.628 11.3661 20.1161C10.9104 20.5717 10.8801 21.2915 11.2749 21.7824L11.3661 21.8839L15.8661 26.3839C16.3217 26.8395 17.0415 26.8699 17.5323 26.475L17.6338 26.3839L28.6338 15.3839C29.122 14.8957 29.122 14.1043 28.6338 13.6161Z"/>
                    </svg>
                `}
            </div>
        `)}
        ${(0,o.g)((e=>e.enableInstantHide),a.d`
            <msn-animated-done-spinner
                slot="actions"
                class="check-icon"
                pre-text="${e=>e.hideConfirmationUpdatingFeedText}"
                post-text="${e=>e.hideConfirmationDoneText}"
                card-size=${e=>e.cardSize}
                :spinnerCompletedCallback="${e=>e.cardActionDismissCallback}">
            </msn-animated-done-spinner>
        `)}
        ${(0,o.g)((e=>!e.enableInstantHide),a.d`
            <fluent-button
                slot="actions"
                aria-label=${e=>e.refreshFeedButtonText}
                role="button"
                title=${e=>e.refreshFeedButtonText}
                id="Refresh"
                @click=${e=>e.refreshFeedCallback&&e.refreshFeedCallback()}
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.refreshFeedButton)||void 0===i?void 0:i.getMetadataTag()}}"
            >
                ${e=>e.refreshFeedButtonText}
            </fluent-button>
            <fluent-button 
                slot="actions"
                class="stealth-button"
                aria-label=${e=>e.personalizeButtonTextData.text}
                role="button"
                title=${e=>e.personalizeButtonTextData.text}
                data-text=${e=>e.personalizeButtonTextData.dataTag}
                id="Personalize"
                @click=${(e,t)=>e.personalizeButtonCallback&&e.personalizeButtonCallback(S(e.cardActionStatus),t.event)}
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.confirmButton)||void 0===i?void 0:i.getMetadataTag()}}"
                data-customhandled="true"
            >
                ${e=>e.personalizeButtonTextData.text}
            </fluent-button>
        `)}
        ${(0,o.g)((e=>e.enableInstantHide),a.d`
            <fluent-button
                slot="actions"
                class="instant-hide"
                aria-label=${e=>e.personalizeButtonTextData.text}
                role="button"
                title=${e=>e.personalizeButtonTextData.text}
                data-text=${e=>e.personalizeButtonTextData.dataTag}
                id="Personalize"
                @click=${(e,t)=>e.personalizeButtonCallback&&e.personalizeButtonCallback(S(e.cardActionStatus),t.event)}
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.confirmButton)||void 0===i?void 0:i.getMetadataTag()}}"
                data-customhandled="true"
                >
                ${e=>e.personalizeButtonTextData.text}
            </fluent-button>
            <fluent-button
                slot="actions"
                class="stealth-button instant-hide"
                aria-label=${e=>e.undoHideButtonText}
                role="button"
                title=${e=>e.undoHideButtonText}
                tabindex="0" 
                id="Undo"
                @click=${e=>e.undoHideButtonCallback&&e.undoHideButtonCallback()}
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.confirmationUndoButton)||void 0===i?void 0:i.getMetadataTag()}}"
            >
                ${e=>e.undoHideButtonText}
            </fluent-button>
        `)}
    </msn-hide-story-card> 
`,S=e=>e&n.O7.mute?r.S.sectionIds.mutedPublishers:r.S.sectionIds.discoverInterests},9431:function(e,t,i){"use strict";i.d(t,{H:function(){return n}});var a=i(39181),o=i(18864);i(74553).N;const n=a.d`
    <style>
        msn-hide-story-card.report-ad {
            background: var(--hide-story-background);
            z-index: 3;
        }
        msn-hide-story-card.report-ad::part(content-region) {
            flex-direction: row;
            margin: 0;
            text-align: left;
            padding: 16px 16px 0px 24px;
        }
        msn-hide-story-card.report-ad::part(action-region) {
            display: block;
            position: static;
            margin: 26px 0px 0px 0px;
            padding: 0px 16px 16px 24px;
        }
        msn-hide-story-card.report-ad fluent-radio-group {
            padding: 0 4px;
            height: 144px;
            overflow-y: auto;
        }
        msn-hide-story-card.report-ad fluent-button {
            width: 45%;
            display: inline-block;
            margin: 34px 5px 8px;
            text-align: center;
        }
        msn-hide-story-card.report-ad fluent-radio {
            padding: 8px 0px 8px 0px;
            margin: 0;
            display: flex;
        }
        msn-hide-story-card.report-ad fluent-button::part(content) {
            text-overflow: ellipsis;
            overflow: hidden;
        }
        msn-hide-story-card.report-ad fluent-button::part(control) {
            width: 100%;
        }
    </style>
    <msn-hide-story-card 
        hideStoryTitle=${e=>e.adFeedbackProps.localizedStrings.reportIssueTitleText}
        class="report-ad"
    >
        <fluent-radio-group
            slot="actions"
            value="${e=>e.adFeedbackProps.selectedFeedbackType}"
            @change=${(e,t)=>e.adFeedbackProps.chooseFeedbackOption(t.event)}
            orientation="vertical"
        >
            ${(0,o.rx)((e=>e.adFeedbackProps.feedbackTypes),a.d`
                <fluent-radio
                    value=${e=>e.value}
                    id=${e=>e.value}
                    aria-label=${e=>e.text}
                    title=${e=>e.text}
                    class=${(e,t)=>t.parent.adFeedbackProps.selectedFeedbackType===e.value?"checked":""}
                >
                    ${e=>e.text}
                </fluent-radio>
            `)}
        </fluent-radio-group>
        <fluent-button
            appearance="accent"
            class="submit"
            slot="actions"
            ?disabled=${e=>e.adFeedbackProps.disableSubmitButton}
            aria-label=${e=>e.adFeedbackProps.localizedStrings.saveButtonText}
            role="button"
            title=${e=>e.adFeedbackProps.localizedStrings.saveButtonText}
            @click=${e=>e.adFeedbackProps.submitFeedback()}
        >
            ${e=>e.adFeedbackProps.localizedStrings.saveButtonText}
        </fluent-button>
        <fluent-button
            appearance="neutral"
            slot="actions"
            aria-label=${e=>e.adFeedbackProps.localizedStrings.cancelText}
            role="button"
            title=${e=>e.adFeedbackProps.localizedStrings.cancelText}
            @click=${e=>e.undoHideButtonCallback&&e.undoHideButtonCallback()}
        >
            ${e=>e.adFeedbackProps.localizedStrings.cancelText}
        </fluent-button>
    </msn-hide-story-card> 
`},34491:function(e,t,i){"use strict";i.d(t,{r:function(){return r}});var a=i(6218),o=i(33390),n=i(9739);function r(e,t,i,r,s,d){return l=>{const c=(0,a.DO)(e,l),h=(0,n.Yc)(l)?-1:1,g=(0,n.Ce)(o.Cz)(c)(n.Tq)((()=>h))((0,n.iC)((0,a.DO)(t,l)))(l),u=(0,n.Ik)(e,g)(l),p=(0,a.DO)(i,l),m=(0,a.DO)(r,l),v=(0,a.DO)(s,l),f=(0,a.DO)(d,l);return function(e,t,i,a,o,r,s){const d=e+i*Math.abs(a-o),l=1===i?a<o:i*a>i*o,c=l?e:d,h=l?d:e,g=c+i*r,u=c+i*s;return{rest:(0,n.qZ)(c,t),hover:(0,n.qZ)(h,t),active:(0,n.qZ)(g,t),focus:(0,n.qZ)(u,t)}}(u,c,h,p,m,v,f)}}},17533:function(e,t,i){"use strict";i.d(t,{Qp:function(){return l},jq:function(){return d},sG:function(){return c}});var a=i(33390),o=i(8340),n=i(9739);const r=(0,o.K2)(a.MY,a.jW,a.hD,a.VQ,a.qD,a.fq,a.gs,a.IU);function s(e){return t=>{const i=(0,n.BD)(t),o=i>=r(t)?-1:1;return(0,n.qZ)(i+o*e(t),(0,a.yv)(t))}}const d=(0,o.vm)(s(a.qD)),l=(0,o.vm)(s(a.fq)),c=(0,o.vm)(s(a.gs)),h=(0,o.vm)(s(a.IU)),g=(0,o.vm)(s(a.Uy));(0,o.vm)((e=>({rest:d(e),hover:l(e),active:c(e),focus:h(e),selected:g(e)})))},89967:function(e,t,i){"use strict";i.d(t,{Gy:function(){return c},Xi:function(){return l},wF:function(){return d}});var a=i(33390),o=i(8340),n=i(9739);const r=(0,o.K2)(a.MY,a.jW,a.hD,a.VQ);function s(e){return t=>{const i=(0,n.BD)(t),o=i>=r(t)?-1:1;return(0,n.qZ)(i+o*e(t),(0,a.yv)(t))}}const d=(0,o.vm)(s(a.MY)),l=(0,o.vm)(s(a.jW)),c=(0,o.vm)(s(a.hD)),h=(0,o.vm)(s(a.VQ)),g=(0,o.vm)(s(a.y$));(0,o.vm)((e=>({rest:d(e),hover:l(e),active:c(e),focus:h(e),selected:g(e)})))},34339:function(e,t,i){"use strict";i.d(t,{Q:function(){return s}});var a=i(33390),o=i(8340),n=i(34491);function r(e){return(0,n.r)(a.yv,e,0,0,0,0)}const s=(0,o.mq)(o.lB.rest,(0,o.vm)(r(4.5)));(0,o.mq)(o.lB.rest,(0,o.vm)(r(3)))},16859:function(e,t,i){"use strict";i.d(t,{Y:function(){return d}});var a=i(32804),o=i(78125),n=i(97186),r=i(60279);const s=(0,i(9791).Z)((e=>{let t=(0,n.in)(e);if(null!==t)return t;if(t=(0,n.hg)(e),null!==t)return t;throw new Error(`${e} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class d{constructor(e,t){this.cache=new WeakMap,this.light=e,this.dark=t}bind(e){this.attach(e)}unbind(e){const t=this.cache.get(e);t&&a.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new l(this.light,this.dark,e),i=a.IfY.getValueFor(e);a.IfY.subscribe(t,e),t.attach(i),this.cache.set(e,t)}}class l{constructor(e,t,i){this.light=e,this.dark=t,this.source=i,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){const t=(i=e.toColorString(),(0,r.hM)(s(i))<=o.h.DarkMode?"dark":"light");var i;this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}},74553:function(e,t,i){"use strict";i.d(t,{N:function(){return O}});var a=i(33940),o=i(63070),n=i(7511),r=i(65033),s=i(38247),d=i(12249),l=i(57905),c=i(89346),h=i(65620),g=i(87697);class u extends c.H{constructor(){super(...arguments),this.actionAlignment="horizontal"}actionsSlottedNodesChanged(){var e;null===(e=this.actionsSlottedNodes[0])||void 0===e||e.focus()}}(0,a.gn)([(0,h.Lj)({attribute:"align-actions"})],u.prototype,"actionAlignment",void 0),(0,a.gn)([h.Lj],u.prototype,"hideStoryTitle",void 0),(0,a.gn)([h.Lj],u.prototype,"hideStorySubtitle",void 0),(0,a.gn)([g.LO],u.prototype,"actionsSlottedNodes",void 0);var p=i(67020),m=i(40082),v=i(32804),f=i(22674),b=i(16859),y=i(18544),x=i(33442),C=i(6218),$=i(89967),w=i(17533),k=i(34339),T=i(53046),S=i(16517),_=i(64893),z=i(15933);const L=T.i`
    :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
        right: 0;
    }
`,I=T.i`
    :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
        left: 0;
    }
`,A=T.i`
    :host {
        --hide-story-background: ${(0,x.A4)((()=>y.dw))(C.ZP)};
        --button-color: ${(0,$.wF)((0,x.A4)((()=>y.dw)))(C.ZP)};
        --button-hover-color: ${(0,$.Xi)((0,x.A4)((()=>y.dw)))(C.ZP)};
        --stealth-button-color: ${(0,w.jq)((0,x.A4)((()=>y.dw)))(C.ZP)};
        --stealth-button-text-color: ${(0,k.Q)((0,x.A4)((()=>y.dw)))(C.ZP)};
    }

    :host(.hide-feedback.instant-hide) {
        ${(0,_.cN)(S.jG.CurrentMarket)?"--hide-story-background: linear-gradient(-90deg, #F6FAFF 2%, #F7FCFF 31.46%, #EAF6FF 97.33%);":"--hide-story-background: linear-gradient(90deg, #F6FAFF 2%, #F7FCFF 31.46%, #EAF6FF 97.33%);"}
    }
`,H=T.i`
    :host {
        --hide-story-background: ${(0,x.l$)((()=>y.m0))(C.ZP)};
        --button-color: ${(0,$.wF)((0,x.l$)((()=>y.m0)))(C.ZP)};
        --button-hover-color: ${(0,$.Xi)((0,x.l$)((()=>y.m0)))(C.ZP)};
        --stealth-button-color: ${(0,w.jq)((0,x.l$)((()=>y.m0)))(C.ZP)};
        --stealth-button-text-color: ${(0,k.Q)((0,x.l$)((()=>y.m0)))(C.ZP)};
    }
`,P=T.i`
    :host {
        forced-color-adjust: auto;
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item) {
        border-color: ${z.H.ButtonText};
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item:hover),
    :host(.hide-feedback) ::slotted(fluent-menu-item:focus) {
        background-color: ${z.H.Highlight};
        color: ${z.H.HighlightText};
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item:focus),
    :host(.hide-feedback) ::slotted(fluent-button:focus) {
        border-color: ${z.H.ButtonText};
        box-shadow: 0 0 0 calc((var(--focus-stroke-width) - var(--stroke-width)) * 1px) ${z.H.ButtonText};
    }

    :host(.hide-feedback) ::slotted(.stealth-button:hover),
    :host(.hide-feedback) ::slotted(.stealth-button:focus) {
        color: var(--stealth-button-text-color);
    }
`,D=T.i`
        ${(0,p.j)("flex")} :host {
            --action-region-padding-top: 0;
            --content-region-padding-top: 16px;
            --content-region-width: 236px;
            box-sizing: border-box;
            flex-direction: column;
            height: 100%;
            position: relative;
            width: 100%;
        }

        :host(.hide-confirm[card-size="_1x_1y"]) .content-region {
            margin-inline: 28px;
        }

        :host(.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button:hover),
        :host(.hide-feedback.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button.stealth-button:hover){
            background: var(--button-hover-color);
        }

        :host(.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button),
        :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item),
        :host(.hide-feedback.instant-hide[card-size="_1x_1y"]) ::slotted(fluent-button.stealth-button) {
            height: 24px;
            font-size: var(--type-ramp-minus-1-font-size, 12px);
            color: var(--neutral-foreground-rest);
            background: var(--button-color);
        }

        :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
            position: absolute;
            height: 18px;
            width: 18px;
            top: 0;
            margin-inline-end: 8px;
            margin-top: 8px;
            min-width: 18px;
        }

        :host([card-size="_1x_1y"]) .content-region {
            padding-top: 20px;
            height: 40px;
            width: 232px;
        }

        :host([card-size="_1x_1y"]) ::slotted(fluent-menu-item) {  
            height: 24px;
        }

        :host([card-size="_1x_1y"]) .action-region {
            padding-top: 10px;
            padding-bottom: 14px;
        }

        .action-region {
            display: flex;
            position: absolute;
            padding: 0 16px 16px;
            padding-top: var(--action-region-padding-top);
            justify-content: space-around;
            bottom: 0;
            width: 100%;
            box-sizing: border-box;
            align-items: center;
        }

        :host([align-actions="vertical"]) .action-region {
            display: block;
            margin: auto;
            position: static;
        }

        .content-region {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            padding: 16px 16px 0 16px;
            padding-top: var(--content-region-padding-top);
            cursor: default;
        }

        :host([align-actions="vertical"]) .content-region {
            display: block;
            margin: auto;
            text-align: center;
            width: var(--content-region-width);
        }

        .heading,
        ::slotted(.heading) {
            text-decoration: none;
            color: ${v.CHi};
            font-size: var(--heading-font-size, ${v.PwC});
            line-height: var(--heading-line-height, ${v.b3W});
            font-weight: 600;
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--heading-max-lines, 2);
        }

        .subheading {
            font-size: var(--subheading-font-size, ${v.cSu});
            line-height: var(--subheading-line-height, ${v.RUt});
            color: var(--stealth-button-text-color);
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--heading-max-lines, 2);
        }

        ::slotted(fluent-button) {
            margin-bottom: 8px;
            width: 48%;
        }

        :host(.hide-feedback) {
            background: var(--hide-story-background);
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item),
        :host(.hide-confirm) ::slotted(fluent-button) {
            background: var(--button-color);
            border: calc(var(--stroke-width) * 1px) solid transparent;
        }

        :host(.hide-feedback) ::slotted(.stealth-button) {
            background: var(--stealth-button-color);
            color: var(--stealth-button-text-color);
        }

        :host(.hide-feedback.instant-hide) ::slotted(.stealth-button) {
            background: transparent;
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item:hover),
        :host(.hide-confirm) ::slotted(fluent-button:hover),
        :host(.hide-feedback.hide-confirm) ::slotted(.stealth-button:hover) {
            background: var(--button-hover-color);
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item:focus),
        :host(.hide-feedback) ::slotted(fluent-button:focus) {
            border: calc(var(--stroke-width) * 1px) solid var(--focus-stroke-outer);
            box-shadow: 0 0 0 calc((var(--focus-stroke-width) - var(--stroke-width)) * 1px) var(--focus-stroke-outer);
        }

        :host(.hide-feedback) ::slotted(.stealth-button:hover),
        :host(.hide-feedback) ::slotted(.stealth-button:focus) {
            background: var(--stealth-button-color);
        }
    `.withBehaviors(new f.O(L,I),(0,m.vF)(P),new b.Y(A,H));var F=i(39181),M=i(13988),B=i(90960),R=i(74009);const N=F.d`
    <div class="content-region" part="content-region">
        <slot name="heading">
            <span class="heading" part="heading">${e=>e.hideStoryTitle}</span>
        </slot>
        ${(0,M.g)((e=>e.hideStorySubtitle),F.d`
            <span class="subheading" part="subheading">${e=>e.hideStorySubtitle}</span>
        `)}
    </div>
    <div class="action-region" part="action-region">
        <slot name="actions" ${(0,B.Q)({property:"actionsSlottedNodes",filter:(0,R.R)("fluent-radio, fluent-button, fluent-anchor, fluent-menu-item")})}></slot>
    </div>
`;let O=class extends u{};O=(0,a.gn)([(0,c.M)({name:"msn-hide-story-card",template:N,styles:D,shadowOptions:{delegatesFocus:!0}})],O),(0,o.z)().withShadowRootMode("closed").withElementDisambiguation((()=>l.h.ignoreDuplicate)).register((0,n.hb)(),(0,r.d$)(),(0,s.QT)(),(0,d.H5)())},53212:function(e,t,i){"use strict";i.d(t,{lq:function(){return x}});var a=i(33940),o=i(67479),n=i(12968),r=i(36159),s=i(18769),d=i(18536),l=i(21616),c=i(16517),h=i(91254),g=i(33294),u=i(81183);const p="ClickedBeaconAttached",m="ViewedBeaconAttached",v="UserActionBeaconAttached",f=new WeakSet;class b extends o.m0{constructor(e,t=!0,i=!0,a=!1){super(),this.binding=e,this.shouldCallClickBeacon=t,this.shouldCallVisibilityBeacon=i,this.shouldWatchCustomEvent=a}createBehavior(e){return new y(e,this.binding,this.shouldCallClickBeacon,this.shouldCallVisibilityBeacon,this.shouldWatchCustomEvent)}createPlaceholder(e){return n.SO.createCustomAttributePlaceholder("ad-beacon",e)}}class y{constructor(e,t,i=!0,a=!0,o=!1,n=!1){var s,h;this.target=e,this.binding=t,this.shouldCallClickBeacon=i,this.shouldCallVisibilityBeacon=a,this.shouldWatchCustomEvent=o,this.isClarityEnabled=n,this.beaconService=null,this.nativeAdBeaconsSetAttribute="nab",this.adsFlights="",this.onClick=(e,t)=>i=>{var a,o;if(i.target===i.currentTarget)return this.fireClickedBeacon(),void this.handleClickUserAction(i);if(!this.isTelemetryWc(i.currentTarget))return;const n=this.getImmediateChildFromTelemetryWc(i.currentTarget);i.target===n&&(i.currentTarget.clickedBeacon&&(this.fireTelemetryWcClickedBeacon(i),null===(o=(a=this.userActionLog).fireClickLog)||void 0===o||o.call(a,e,t,i)),i.currentTarget.clickedUserAction&&this.handleClickUserAction(i),i.currentTarget.clickedTelemetry&&this.handleClickTelemetry(i))},this.fireTelemetryWcClickedBeacon=e=>{const t=e.composedPath();let i=!1;for(let a=t.length-1;a>=0;a--)if(e.currentTarget!==t[a]){if(i&&this.isTelemetryWc(t[a]))return}else i=!0;this.fireClickedBeacon()},this.fireClickedBeacon=()=>{this.beaconService.fireClickTrackingCall(this.clickBeacons,this.beaconsJson),this.isClarityEnabled&&u.V.writeCustomTag("NativeAdHasBeenClicked",!0)},this.getImmediateChildFromTelemetryWc=e=>{if(this.isTelemetryWc(e)&&e.children.length>0)return e.children[0]},this.getUserActionBeacons=e=>{const t=JSON.parse(e),i=t&&t.trb;if(this.userActionBeacons=new Array,i)for(let e=0;e<i.length;e++)if(i[e].includes("srtb.msn.com")){const t=new URL(i[e]);t.pathname=t.pathname.replace("served","useraction"),this.userActionBeacons.push(t)}},this.onUserActionEvt=e=>{e.stopPropagation();const{eventType:t,dur:i,message:a,element:o}=e.detail;this.onUserActionCore(t,i,a,o)},this.onUserActionCore=(e,t,i,a)=>{if(this.userActionBeacons)for(let o=0;o<this.userActionBeacons.length;o++){for(const e of Object.values(r.Cw))this.userActionBeacons[o].searchParams.delete(e);if(e){this.userActionBeacons[o].searchParams.set(r.Cw.EventType,e),this.userActionBeacons[o].searchParams.set(r.Cw.Timestamp,(this.start?(new Date).getTime()-this.start:0).toString()),this.userActionBeacons[o].searchParams.set(r.Cw.Duration,t||0);const n={m:i,f:this.adsFlights};this.userActionBeacons[o].searchParams.set(r.Cw.Message,JSON.stringify(n)),this.userActionBeacons[o].searchParams.set(r.Cw.Element,a||"")}this.beaconService.fireUserActionBeacon(this.userActionBeacons[o].href)}},this.isTelemetryWc=e=>e.tagName&&"msn-native-ad-telemetry"===e.tagName.toLowerCase(),this.handleClickUserAction=e=>{var t,i,a;const o=this.getClickTarget(e),n=[];(null===(t=null==o?void 0:o.tagName)||void 0===t?void 0:t.toLowerCase)&&n.push(null==o?void 0:o.tagName.toLowerCase()),(null===(i=null==o?void 0:o.className)||void 0===i?void 0:i.toLowerCase)&&n.push(null==o?void 0:o.className.toLowerCase()),(null===(a=null==o?void 0:o.id)||void 0===a?void 0:a.toLowerCase)&&n.push(null==o?void 0:o.id.toLowerCase())},this.handleClickTelemetry=e=>{const t=this.getClickTarget(e);e.currentTarget.dataset.t&&(t.dataset.t=e.currentTarget.dataset.t,delete e.currentTarget.dataset.t,d.u.addElement(t))},this.getBindingSource=e=>{var t;return e instanceof HTMLElement?["native-ad-wc","msn-native-ad-title-mask"].includes(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLocaleLowerCase())?e.adData:e.data:e},Array.isArray(null===(s=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===s?void 0:s.pageExperiments)&&(this.adsFlights=(0,g.Z)(l.N,null===(h=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===h?void 0:h.pageExperiments).join(";"))}bind(e,t){const i=this.getBindingSource(e),{beaconsJson:a,adBeaconServiceConfig:o,clickBeacons:n,geminiViewabilityDataJson:r,bingTrackerUrls:d,items:l,videoViewabilityData:c,isClarityEnabled:h}=this.binding?this.binding(i,t):i;if(a&&n&&(this.start=(new Date).getTime(),this.isClarityEnabled=h,this.beaconsJson=a,this.clickBeacons=n,this.geminiViewabilityDataJson=r,this.beaconService=new s.A(o),this.shouldCallClickBeacon&&(this.target.addEventListener("click",this.onClick(e,t)),this.target[p]=!0),this.shouldWatchCustomEvent&&(this.getUserActionBeacons(a),this.target.addEventListener("NativeAdUserAction",this.onUserActionEvt),this.target[v]=!0),this.shouldCallVisibilityBeacon)){if(c){if(f.has(this.target))return;f.add(this.target)}this.beaconService.elementVisibilityObserver(this.target,a,r,l&&l[0]?l[0].uniqueId:void 0,d,c,e,t),this.target[m]=!0}}unbind(){}getClickTarget(e){if("adChoice"===e.currentTarget.telemetryMetadata&&e.composedPath&&"function"==typeof e.composedPath){const t=e.composedPath();for(let e=0;e<t.length;++e){const i=t[e];if(i.tagName&&"a"===i.tagName.toLowerCase()&&"native-ad-ad-choice"===i.className.toLowerCase())return i}}if(!e.composedPath||"function"!=typeof e.composedPath)return e.target;{const t=e.composedPath();if(t.length>0)return t[0]}}}function x(e=!0,t=!0,i=!1,a){return new b(a,e,t,i)}(0,a.gn)([(0,h.f3)(r.Km)],y.prototype,"userActionLog",void 0)},81183:function(e,t,i){"use strict";i.d(t,{V:function(){return o}});const a={adCarousel:"NativeAdCarouselEnabled",allowedAssets:"NativeAdAllowedAssets",animatedImage:"NativeAdAnimatedImageType",landscapeOverlay:"NativeAdLandscapeOverlayEnabled",progressiveDisplay:"NativeAdProgressiveDisplayEnabled",templateType:"NativeAdTemplateType"},o=new class{constructor(){this.loggedTags={}}writeCustomTag(e,t){if(window.clarity&&null!=t){const i=t.toString();this.loggedTags[e]&&this.loggedTags[e][i]||(window.clarity("set",e,i),this.loggedTags[e]=this.loggedTags[e]||{},this.loggedTags[e][i]=!0)}}logAdTemplateConfig(e){e&&Object.keys(a).forEach((t=>{this.writeCustomTag(a[t],e[t])}))}}},6932:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});const a=i(53046).i`
`},12576:function(e,t,i){"use strict";i.d(t,{g:function(){return n}});var a=i(39181),o=i(13988);const n=a.d` ${(0,o.g)((e=>e.attribution),a.d`<cs-attribution slot="attribution"><span class="ad-attribution" style="unicode-bidi: embed;">${e=>e.attribution}</span></cs-attribution>`)}`},6359:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var a=i(32804);const o=i(53046).i` .ad-choice{margin-inline-start:10px}.ad-footer{align-items:center;display:flex;flex-direction:row}.disclaimer{cursor:pointer;margin-inline-end:2px}.disclaimer .container{display:none}.disclaimer .popup-arrow{bottom:36px;position:absolute}.disclaimer .popup-offset{background:${a.IfY};
        border-radius: 2px;
        bottom: 48px;
        color: ${a.CHi};
        font-size: ${a.sNp};margin-inline:-120px;max-width:152px;max-height:48px;padding:8px;position:absolute;width:152px;z-index:1}.disclaimer .popup-text{display:-webkit-box;overflow:hidden;white-space:normal;text-align:center;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.disclaimer path{fill:${a.CHi}}.disclaimer rect{fill:${a.IfY}}.disclaimer:hover .container{display:block}`},51701:function(e,t,i){"use strict";i.d(t,{z:function(){return c}});var a=i(39181),o=i(13988),n=i(62449),r=i(53212);const s=a.d`<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 15C6.80729 15 6.14323 14.9115 5.50781 14.7344C4.8724 14.5573 4.27344 14.3073 3.71094 13.9844C3.14844 13.6615 2.64323 13.2708 2.19531 12.8125C1.7474 12.3542 1.35677 11.8464 1.02344 11.2891C0.690104 10.7318 0.4375 10.1354 0.265625 9.5C0.09375 8.86458 0.00520833 8.19792 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.8724 0.692708 4.27344 1.01562 3.71094C1.33854 3.14844 1.72917 2.64323 2.1875 2.19531C2.64583 1.7474 3.15365 1.35677 3.71094 1.02344C4.26823 0.690104 4.86458 0.4375 5.5 0.265625C6.13542 0.09375 6.80208 0.00520833 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1276 0.442708 10.7266 0.692708 11.2891 1.01562C11.8516 1.33854 12.3568 1.72917 12.8047 2.1875C13.2526 2.64583 13.6432 3.15365 13.9766 3.71094C14.3099 4.26823 14.5625 4.86458 14.7344 5.5C14.9062 6.13542 14.9948 6.80208 15 7.5C15 8.19271 14.9115 8.85677 14.7344 9.49219C14.5573 10.1276 14.3073 10.7266 13.9844 11.2891C13.6615 11.8516 13.2708 12.3568 12.8125 12.8047C12.3542 13.2526 11.8464 13.6432 11.2891 13.9766C10.7318 14.3099 10.1354 14.5625 9.5 14.7344C8.86458 14.9062 8.19792 14.9948 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70573 1.60938 4.22656 1.89062C3.7474 2.17188 3.30729 2.51042 2.90625 2.90625C2.50521 3.30208 2.16667 3.73958 1.89062 4.21875C1.61458 4.69792 1.39583 5.21615 1.23438 5.77344C1.07292 6.33073 0.994792 6.90625 1 7.5C1 8.09375 1.07812 8.66667 1.23438 9.21875C1.39062 9.77083 1.60938 10.2891 1.89062 10.7734C2.17188 11.2578 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.69792 13.3906 5.21615 13.6094 5.77344 13.7656C6.33073 13.9219 6.90625 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77083 13.6094 10.2891 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.3021 13.6094 9.78385 13.7656 9.22656C13.9219 8.66927 14 8.09375 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22917 13.3906 4.71094 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2604 2.17188 10.7812 1.89062C10.3021 1.60938 9.78385 1.39062 9.22656 1.23438C8.66927 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z"/></svg>`,d=a.d`<svg width="15" height="15" viewBox="0 0 23 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="12" width="16" height="16" transform="rotate(-45 0 12)"/></svg>`,l=a.d`<div class="container"><div class="popup"><div class="popup-offset"><span class="popup-text">${e=>e.assets&&e.assets.disclaimer}</span></div><div class="popup-arrow">${d}</div></div></div>`,c=a.d`<div class="ad-footer" slot="footer-end">${(0,o.g)((e=>e.assets&&e.assets.disclaimer),a.d`<a class="disclaimer" href="${e=>e.destinationUrl}" target="${n.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdDisclaimerText}" ${(0,r.lq)(!0,!1)} data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.destination)||void 0===i?void 0:i.getMetadataTag()}}">${s} ${l}</a>`)} ${(0,o.g)((e=>{var t;return!(null===(t=e.template)||void 0===t?void 0:t.enableNewAdChoice)}),a.d`<a class="ad-choice" href="${e=>e.privacyUrl}" target="${n.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdAdChoiceText}" data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.adChoice)||void 0===i?void 0:i.getMetadataTag()}}"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.3845 -1.21037e-07C2.22828 -1.94803e-07 2.819 0.40029 3.40971 0.719747C3.91584 0.959663 4.42266 1.27977 5.01337 1.51968C7.71388 2.87964 10.4144 4.31978 13.1142 5.75992C13.958 6.16021 15.0548 6.55986 15.6455 7.28025C15.814 7.52017 16.0678 7.84027 15.9832 8.24056C15.7301 9.12068 14.5487 9.44079 13.7895 9.84043C11.9328 10.8007 9.99215 11.8406 8.13543 12.8003C7.46013 13.2005 6.44787 13.9203 5.60409 13.3603C5.26644 13.2005 5.09795 13.0402 5.01337 12.8003C4.92879 12.4802 5.01337 12.0805 5.01337 11.7604L5.01337 9.20023C5.01337 8.48048 4.92879 7.92046 5.4356 7.60035C5.60409 7.52017 5.94173 7.44063 6.1948 7.52017C7.03858 7.84027 6.78552 9.28041 6.78552 10.4005L6.78552 11.2799C8.22001 10.5602 9.6545 9.83979 11.089 9.20022C11.5951 8.96031 12.4389 8.72039 12.6081 8.08019C12.7766 7.36044 11.1736 6.80042 10.6675 6.55986L4.84489 3.43966C4.42266 3.19974 3.32581 2.3998 2.6512 2.63972C2.39813 2.71991 2.22897 2.95982 2.22897 3.11955C2.14438 3.43966 2.14438 3.91949 2.14438 4.31978L2.14438 6.87996L2.14438 11.1997C2.14438 11.8399 2.0598 12.6399 2.31287 13.0395C2.90358 13.8395 4.25349 12.3993 4.67572 13.6797C4.76031 13.9998 4.59114 14.3199 4.42266 14.4797C4.08501 14.9601 2.56593 15.6799 1.97522 15.8403C1.80674 15.9198 1.3845 16 1.13144 16C-0.303057 15.7601 0.0345918 13.6002 0.0345916 11.9997L0.0345909 4.07986C0.0345908 2.87964 -0.133892 1.27977 0.372239 0.560019C0.625305 0.159727 0.878371 0.159728 1.3845 -1.21037e-07ZM5.77257 5.1999C7.03858 5.1999 7.12248 6.72023 5.94105 6.96015C5.26576 7.04034 4.75962 6.40013 4.92811 5.84011C5.09727 5.43982 5.35034 5.35963 5.77257 5.1999Z" fill="#00AECD"></path></svg></a>`)}<div>`},84548:function(e,t,i){"use strict";i.d(t,{s:function(){return n}});var a=i(64799),o=i(32804);const n=i(53046).i` .ad-slug{align-items:center;color:${o.CHi};
        display: flex;
        flex-direction: row;
        line-height: ${o.vgC};
        max-width: calc(${a.$f} * 1px - 100px);opacity:0.8;overflow:hidden}.ad-slug .ad-label{align-items:center;border:0.5px solid rgba(26,26,26,.3);border-radius:4px;box-sizing:border-box;font-size:11px;height:16px;margin-inline-end:6px;min-width:22px;padding:0px 4px 1px}.ad-slug .ad-label-text{color:inherit;outline:none;pointer-events:auto;position:relative;text-decoration:none;top:-1px}.ad-slug .ad-provider{flex:4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ad-slug .ad-provider-text{color:inherit;font-size:${o.sNp};text-decoration:none;text-overflow:ellipsis;vertical-align:bottom}[size="_2x_2y"] .ad-slug{max-width:calc(${a.$f} * 2px - 100px)}@media (prefers-color-scheme:dark){.ad-slug .ad-label{border:0.5px solid rgba(255,255,255,.3);opacity:0.9}}`},47497:function(e,t,i){"use strict";i.d(t,{K:function(){return s}});var a=i(39181),o=i(13988),n=i(62449),r=i(53212);const s=a.d`<div class="ad-slug" slot="footer-start">${(0,o.g)((e=>e.showAdLabel),a.d`<div class="ad-label"><a class="ad-label-text" href="${e=>e.privacyUrl}" target="${n.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdAdLabelText}" data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.adLabel)||void 0===i?void 0:i.getMetadataTag()}}">${e=>e.adLabelText}</a></div>`)}<div class="ad-provider"><a class="ad-provider-text" href="${e=>e.destinationUrl}" target="${n.P._blank}" title="${e=>e.providerName}" ${(0,r.lq)(!0,!1)} data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.destination)||void 0===i?void 0:i.getMetadataTag()}}">${e=>e.providerName}</a></div></div>`},90768:function(e,t,i){"use strict";i.d(t,{b:function(){return a}});const a=i(53046).i` .card-action{height:25px;padding-inline-start:2px}[size="_2x_2y"] .card-action{margin-bottom:1px;margin-top:-7px}`},65468:function(e,t,i){"use strict";i.d(t,{Q:function(){return d}});var a=i(39181),o=i(13988),n=i(76859),r=i(16517),s=i(82128);const d=a.d`<div class="card-action" slot="footer-start">${(0,o.g)((e=>!e.optedOutOfReactions&&e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId),a.d`<social-bar-wc config-instance-src=${e=>e.socialBarWCConfigInfo&&(0,s.g)(e.socialBarWCConfigInfo)} instance-id=${e=>e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId} config-shared-ns=${e=>e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.configRef&&e.socialBarWCConfigInfo.configRef.sharedNs} :contentId=${e=>e.id} :canShowOneLineComments=${e=>!e.isInfopane&&e.cardSize===n.Nv._2x_2y} :destinationUrl=${e=>e.destinationUrl} :locale=${e=>r.jG.CurrentMarket||e.locale} :rootTelemetryObject=${e=>e.telemetryContext&&(e.telemetryContext.contentCardTelemetryObject||e.telemetryContext.contentCard)} :getReplacementCardsInlineCallback=${e=>e.getReplacementCardsInlineCallback} :socialMetadata=${e=>Object.assign(Object.assign({},e.metadata),{imageData:e.imageData,providerData:e.providerData,title:e.title})} />`)} ${(0,o.g)((e=>e.optedOutOfReactions),((e,t)=>t.parent&&e.optedOutOfReactions&&t.parent.optOutReactionTemplate))}</div>`},38956:function(e,t,i){"use strict";i.d(t,{T:function(){return o}});var a=i(32804);const o=i(53046).i`
[size="_2x_2y"] [media-type="image"] cs-attribution{color:#FFFFFF}cs-attribution svg{fill:${a.CHi};margin:0px 2px;vertical-align:bottom}cs-attribution img.svgLogo{margin-inline-end:calc(${a._5n} * 1px);
}
`},77691:function(e,t,i){"use strict";i.d(t,{Q:function(){return c}});var a=i(76859),o=i(37429),n=i(39181),r=i(13988),s=i(16446),d=i.n(s);function l(e,t){return e.providerData?t.size==a.Nv._2x_2y?e.providerData.immersiveCardSvgLogo:e.providerData.svgLogo:void 0}const c=n.d`<cs-attribution slot="attribution">${(0,r.g)(((e,t)=>l(e,t.parent)),n.d`<img slot="image" class="${e=>e.isWebContent?"":"svgLogo"}" width="${(e,t)=>l(e,t.parent).width}" height="${(e,t)=>l(e,t.parent).height}" src="${(e,t)=>l(e,t.parent).url}" alt="${e=>e.providerData.name}" @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback(o.u.VP,o.w.provider)}/>`)} ${(0,r.g)(((e,t)=>!l(e,t.parent)),n.d` ${(0,r.g)((e=>e.providerData&&e.providerData.logoImage),n.d`<img slot="image" src="${e=>e.providerData.logoImage}" alt="${e=>e.providerData.name}" @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback(o.u.VP,o.w.provider)}/>`)} ${(0,r.g)((e=>e.providerData&&e.providerData.name),n.d`<span style="unicode-bidi: embed;">${e=>e.providerData.name}</span>`)} `)} ${(0,r.g)((e=>e.isWebContent),n.d`${d()}`)} ${(0,r.g)(((e,t)=>{return i=e,a=t.parent,(l(i,a)||i.providerData&&i.providerData.name)&&i.publishedDateTime;var i,a}),n.d` · `)} ${(0,r.g)((e=>e.publishedDateTime),n.d`<span style="unicode-bidi: embed;">${e=>e.publishedDateTime}</span>`)}</cs-attribution>`},74983:function(e,t,i){"use strict";i.d(t,{j:function(){return o}});var a=i(32804);const o=i(53046).i` .content-badge{align-items:center;background:${a._Bj};
        border-radius: 6px;
        color: ${a.CHi};display:inline-flex;height:20px;padding:0 6px;pointer-events:none;position:absolute;right:16px;top:calc(50% - 20px/2)}.icon-container svg{margin-inline-end:3.5px;height:10.5px;width:10.5px}.icon-container svg path{fill:${a.CHi};
        stroke: ${a.CHi}}.label-container{font-family:${a.SVJ};
        font-size: ${a.sNp};
        height: 16px;
        line-height: ${a.vgC};overflow:hidden;white-space:nowrap}.icon-container{display:flex}`},77864:function(e,t,i){"use strict";i.d(t,{j:function(){return g}});var a=i(39181),o=i(13988),n=i(39725),r=i(79844),s=i(36764),d=i.n(s),l=i(80709),c=i(27035),h=i(90652);const g=a.d` ${(0,o.g)((e=>e.badge),a.d`<div class="content-badge" slot="footer-end"><span class="icon-container" aria-hidden="true">${e=>function(e){switch(e.toLowerCase()){case"trending":return a.d`<slot name="icon">${c.Z}</slot>`;case"hot":return a.d`<slot name="icon">${n.Z}</slot>`;case"views":return a.d`<slot name="icon">${h.Z}</slot>`;case"local":return a.d`<slot name="icon">${r.Z}</slot>`;case"explicitlike":return a.d`<slot name="icon">${l.Z}</slot>`;case"followed":case"followedtopic":case"followedpublisher":return a.d`<slot name="icon">${d()}</slot>`;default:return""}}(e.badge.type)||""}</span><span class="label-container">${e=>e.badge.localizedLabel||e.badge.value||""}</span></div>`)}`},58474:function(e,t,i){"use strict";i.d(t,{_:function(){return a}});const a=i(53046).i` .card-hide{height:32px;margin-top:-8px;width:32px}`},31464:function(e,t,i){"use strict";i.d(t,{T:function(){return o}});var a=i(74045);const o=i(39181).d`<button slot="hide-story" class="card-hide" aria-label="${e=>e.cardActionsTooltips&&e.cardActionsTooltips.hide}" title="${e=>e.cardActionsTooltips&&e.cardActionsTooltips.hide}" @click=${(e,t)=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^a.O7.hide,"Hide",!0,null,null,null,t.event)} @keypress=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^a.O7.hide,"Hide",!0)} data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.hide)||void 0===i?void 0:i.getMetadataTag()}}">${'<svg width="16" height="16"><path d="m10.12 10.83 4.03 4.02a.5.5 0 0 0 .7-.7l-13-13a.5.5 0 1 0-.7.7l3.23 3.23a6.7 6.7 0 0 0-2.3 3.08l-.05.15-.01.06s-.08.5.35.61a.5.5 0 0 0 .61-.35L3 8.6a3.02 3.02 0 0 1 .2-.52c.16-.34.4-.8.78-1.26.3-.36.66-.72 1.13-1.02l1.57 1.58a2.5 2.5 0 1 0 3.45 3.45Zm-.74-.74a1.5 1.5 0 1 1-1.97-1.97l1.97 1.97Zm-3.06-5.9.85.86C7.43 5.02 7.71 5 8 5c2.04 0 3.29.91 4.03 1.82A5.7 5.7 0 0 1 13 8.6v.02a.5.5 0 0 0 .97-.25v-.02a2.3 2.3 0 0 0-.06-.18 6.7 6.7 0 0 0-1.12-1.98A5.95 5.95 0 0 0 8 4a6.9 6.9 0 0 0-1.68.2Z"/></svg>'}</button>`},1057:function(e,t,i){"use strict";i.d(t,{W:function(){return o}});var a=i(9339);const o=i(53046).i`
    ${a.V}
`},9339:function(e,t,i){"use strict";i.d(t,{V:function(){return a}});const a=i(53046).i` .card-see-more{height:32px;margin-top:-8px;margin-inline:4px -8px;width:32px}.card-see-more svg{fill:inherit}`},85078:function(e,t,i){"use strict";i.d(t,{j:function(){return o}});var a=i(82479);const o=i(39181).d`<button slot="hide-story" class="card-see-more" title=${e=>e.cardActionsTooltips&&e.cardActionsTooltips.seeMore} @click=${(e,t)=>e.toggleCardActionMenu&&e.toggleCardActionMenu(e,t.event)} data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.seeMore)||void 0===i?void 0:i.getMetadataTag()}}">${a.Z}</button>`},61521:function(e,t,i){"use strict";i.d(t,{D:function(){return a}});const a=i(53046).i`
`},31540:function(e,t,i){"use strict";i.d(t,{o:function(){return a}});const a=i(39181).d`<span class="card-title">${e=>e.title}</span>`},57719:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var a=i(37429),o=i(39181),n=i(13988),r=i(18864),s=i(62449);const d=(e,t)=>{var i,a,d,c,h;return o.d`${(0,n.g)((e=>e.data),o.d`${(0,r.rx)((e=>[e.data]),o.d`<cs-card class="card-outer" card-fill-color="${e=>e.cardFillColor}" card-secondary-color="${e=>e.cardSecondaryColor}" gradient-angle="${e=>e.gradientAngle}" size="${e=>e.cardSize}" card-title-size="${e=>e.doubleWideArticleCardTitleSize}"><cs-content-card class="card-content" id="contentcard_${e=>e.id}" href="${e=>e.destinationUrl}" media-type="${e=>e.mediaType}" size="${e=>e.cardSize}" title="${e=>e.disableCardTitleTooltip?"":e.title}" target="${e=>e.openLinksInNewTab?s.P._blank:e.defaultAnchorTarget||s.P._self}" ?immersive-card="${e=>e.immersiveCard}" :anchorTelemetryTag="${e=>e.telemetryContext&&e.telemetryContext.destination&&e.telemetryContext.destination.getMetadataTag()}" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.contentCard)||void 0===i?void 0:i.getMetadataTag()}}" @mouseenter="${(e,t)=>e.setDisplacementAndTitleOnHover&&e.setDisplacementAndTitleOnHover(t,e.dir,e.title,e.disableCardTitleTooltip,e.enableTitleForTruncate)}" t-image-ratio="${e=>e.imageRatio?e.imageRatio:""}">${(0,n.g)((e=>e.mediaType),o.d`<img altText="${e=>e.imageData&&e.imageData.altText}" class="card-image ${e=>e.useLightShadow?"lightShadow":""}" slot="media" src="${e=>e.imageData&&e.imageData.source}" @load="${e=>l(e)}" @error="${e=>l(e)}" />`)} ${e=>{!e.imageData&&e.visualReadinessCallback&&e.visualReadinessCallback()}} ${(0,n.g)((e=>e.abstract),o.d`<div slot="abstract">${e=>e.abstract}</div>`)} ${t.title instanceof Function?t.title(e,t):null!==(i=t.title)&&void 0!==i?i:""} ${t.attribution instanceof Function?t.attribution(e,t):null!==(a=t.attribution)&&void 0!==a?a:""} ${(0,n.g)((e=>!e.hideActionTray),o.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(d=t.footerStart)&&void 0!==d?d:""}`)} ${(0,n.g)((e=>!e.hideActionTray),o.d`${t.footerEnd instanceof Function?t.footerEnd(e,t):null!==(c=t.footerEnd)&&void 0!==c?c:""}`)} ${(0,n.g)((e=>e.cardActionsTooltips&&e.cardActionClickHandler),o.d`${t.hideStory instanceof Function?t.hideStory(e,t):null!==(h=t.hideStory)&&void 0!==h?h:""}`)}</cs-content-card></cs-card>`)} `)}`};function l(e){e&&e.visualReadinessCallback?e.visualReadinessCallback(a.u.ALL,a.w.image):e&&e.imageData&&e.imageData.visualReadinessCallback&&e.imageData.visualReadinessCallback(a.u.ALL,a.w.image)}},41384:function(e,t,i){"use strict";i.d(t,{E:function(){return x}});var a=i(57905),o=i(77691),n=i(65468),r=i(77864),s=i(85078),d=i(31540),l=i(43552),c=i(39181),h=i(99393),g=i(53046),u=i(1057);var p=i(57719);const m=l.T.compose({baseName:"article-card-no-hide-story",styles:(e,t)=>g.i`
    ${(0,h.e)(e,t)}
    ${u.W}
`,template:p.m,attribution:c.d`${o.Q}`,footerStart:c.d`${n.Q}`,footerEnd:c.d`${r.j}`,hideStory:c.d`${s.j}`,title:c.d`${d.o}`});var v=i(42208),f=i(38880),b=i(68714),y=i(77615);const x=()=>{(0,y.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,v.Gp)(),(0,f.u0)(),(0,b.$j)(),m())}},43552:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var a=i(33940),o=i(87697),n=i(39432);class r extends n.u{}(0,a.gn)([o.LO],r.prototype,"data",void 0);class s extends r{dataChanged(){return(0,a.mG)(this,void 0,void 0,(function*(){if(!this.data.optedOutOfReactions||this.optOutReactionTemplate)return;const e=yield i.e("web-components_super-cards_dist_cards_sub-components_card-action-tray_OptedOutReactionTemplate_js").then(i.bind(i,50687));this.optOutReactionTemplate=e&&e.OptedOutReactionTemplate}))}}(0,a.gn)([o.LO],s.prototype,"optOutReactionTemplate",void 0)},99393:function(e,t,i){"use strict";i.d(t,{Z:function(){return g},e:function(){return u}});var a=i(90768),o=i(38956),n=i(74983),r=i(58474),s=i(9339),d=i(61521),l=i(53046),c=i(64799),h=i(32804);const g=l.i` :host{border-radius:8px;width:calc((${c.$f} * 1px) + 2px)}:host([size="_1x_2y"]) .card-image{border-radius:8px 0 0}:host([size="_2x_2y"]){width:calc(((${c.$f} * 2px) + (${c.RR} * 1px)) + 2px)}:host(:hover){box-shadow:0px 4px 24px rgba(0,0,0,0.14)}:host(:hover) .card-image{filter:brightness(0.6)}:host(:hover) .card-image.lightShadow{filter:brightness(0.8)}cs-card{border-radius:8px}.card-image{border-radius:8px}[size="_2x_2y"].card-outer{background:var(--card-stroke-color);border-radius:8px}[size="_1x_1y"] .card-title,[size="_1x_2y"] .card-title{font-size:${h.mWK};line-height:22px}[size="_2x_2y"] .card-title{font-size:22px;line-height:26px}[size="_2x_2y"][card-title-size="24"] .card-title{font-size:24px;line-height:28px}[size="_2x_2y"][card-title-size="26"] .card-title{font-size:26px;line-height:30px}@media (prefers-color-scheme:dark){:host(:hover){box-shadow:0px 4px 24px rgba(0,0,0,0.26)}}:host([size="_2x_1y"]) cs-card cs-content-card div[slot="abstract"]{display:-webkit-box;--abstract-max-lines:1}:host([size="_2x_1y"]) cs-card cs-content-card{--content-card-heading-font-size:20px;--content-card-heading-line-height:22px}`,u=(e,t)=>l.i`
    ${a.b}
    ${o.T}
    ${n.j}
    ${r._}
    ${s.V}
    ${d.D}
    ${g}
`},16206:function(e,t,i){"use strict";i.d(t,{V:function(){return y}});var a=i(57905),o=i(77691),n=i(65468),r=i(77864),s=i(31464),d=i(85078),l=i(31540),c=i(43552),h=i(39181),g=i(99393),u=i(57719);const p=c.T.compose({baseName:"article-card",styles:g.e,template:u.m,attribution:h.d`${o.Q}`,footerStart:h.d`${n.Q}`,footerEnd:h.d`${r.j}`,hideStory:h.d`${s.T}${d.j}`,title:h.d`${l.o}`});var m=i(42208),v=i(38880),f=i(68714),b=i(77615);const y=()=>{(0,b.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,m.Gp)(),(0,v.u0)(),(0,f.$j)(),p())}},21406:function(e,t,i){"use strict";i.d(t,{y:function(){return U}});var a,o=i(57905),n=i(33940),r=i(49176),s=i(53046);!function(e){e[e.alt=18]="alt",e[e.arrowDown=40]="arrowDown",e[e.arrowLeft=37]="arrowLeft",e[e.arrowRight=39]="arrowRight",e[e.arrowUp=38]="arrowUp",e[e.back=8]="back",e[e.backSlash=220]="backSlash",e[e.break=19]="break",e[e.capsLock=20]="capsLock",e[e.closeBracket=221]="closeBracket",e[e.colon=186]="colon",e[e.colon2=59]="colon2",e[e.comma=188]="comma",e[e.ctrl=17]="ctrl",e[e.delete=46]="delete",e[e.end=35]="end",e[e.enter=13]="enter",e[e.equals=187]="equals",e[e.equals2=61]="equals2",e[e.equals3=107]="equals3",e[e.escape=27]="escape",e[e.forwardSlash=191]="forwardSlash",e[e.function1=112]="function1",e[e.function10=121]="function10",e[e.function11=122]="function11",e[e.function12=123]="function12",e[e.function2=113]="function2",e[e.function3=114]="function3",e[e.function4=115]="function4",e[e.function5=116]="function5",e[e.function6=117]="function6",e[e.function7=118]="function7",e[e.function8=119]="function8",e[e.function9=120]="function9",e[e.home=36]="home",e[e.insert=45]="insert",e[e.menu=93]="menu",e[e.minus=189]="minus",e[e.minus2=109]="minus2",e[e.numLock=144]="numLock",e[e.numPad0=96]="numPad0",e[e.numPad1=97]="numPad1",e[e.numPad2=98]="numPad2",e[e.numPad3=99]="numPad3",e[e.numPad4=100]="numPad4",e[e.numPad5=101]="numPad5",e[e.numPad6=102]="numPad6",e[e.numPad7=103]="numPad7",e[e.numPad8=104]="numPad8",e[e.numPad9=105]="numPad9",e[e.numPadDivide=111]="numPadDivide",e[e.numPadDot=110]="numPadDot",e[e.numPadMinus=109]="numPadMinus",e[e.numPadMultiply=106]="numPadMultiply",e[e.numPadPlus=107]="numPadPlus",e[e.openBracket=219]="openBracket",e[e.pageDown=34]="pageDown",e[e.pageUp=33]="pageUp",e[e.period=190]="period",e[e.print=44]="print",e[e.quote=222]="quote",e[e.scrollLock=145]="scrollLock",e[e.shift=16]="shift",e[e.space=32]="space",e[e.tab=9]="tab",e[e.tilde=192]="tilde",e[e.windowsLeft=91]="windowsLeft",e[e.windowsOpera=219]="windowsOpera",e[e.windowsRight=92]="windowsRight"}(a||(a={}));const d="ArrowLeft",l="ArrowRight";var c=i(65620),h=i(87697);class g extends r.m{constructor(){super(...arguments),this.duration=3,this.hasSlideShow=!0,this.hasMediaControls=this.hasSlideShow,this.tabCount=5,this.disableHoverPause=!1,this.tabs=[],this.tabpanels=[],this.activeindicator=!1,this.hasNavigation=!1,this.navigationPosition="top",this.hoverSuspended=!1,this.play=!0}durationChanged(e,t){this.$fastController.addStyles(s.i`
                .playing div.tab[aria-selected="true"] div {
                    animation: loading ${t}s linear;
                }
            `),this.playChanged(!this.play,this.play)}tabCountChanged(){this.activeid&&this.activeidChanged("0",this.activeid)}hasSlideShowChanged(){this.playChanged(!this.play,this.play)}diabledHoverPauseChanged(){this.hoverSuspended=this.disableHoverPause}activeIndexChanged(e,t){this.tabs&&this.activeid&&null!==this.activeIndex&&void 0!==this.activeIndex&&(this.activeid=this.tabs[Math.min(Math.max(0,this.activeIndex),this.tabs.length-1)].id)}tabsChanged(){super.tabsChanged(),this.tabs.length>0&&(this.tabs.forEach((e=>e._focus=e.focus)),this.setTabClasses(-1,0),this.activeid=this.activeid??this.tabs[0]?.id,this.activeIndexChanged(-1,this.activeIndex))}tabpanelsChanged(e,t=[]){t&&t.length&&!t.every((t=>e?.includes(t)))&&(this.tabpanels=t.reduce(((e,t)=>e.concat(t instanceof HTMLSlotElement?Array.from(t.assignedNodes()):t)),[])),this.hasNavigation=this.tabpanels.length>1,this.hasNavigation||(this.tabs=[]),super.tabpanelsChanged()}activeidChanged(e,t){super.activeidChanged(e,t);const i=e=>this.tabs.findIndex((t=>t.id===e)),a=e?i(e):0,o=i(t),n=o>=a?"left":"right";e&&(this.activeIndex=o),this.tabpanels.forEach(((e,t)=>{e.classList.remove("unload-left","unload-right"),t===o?(e.classList.add(`load-${n}`),e.classList.remove("load-left","load-right")):t===a?e.classList.add(`unload-${n}`):t<o?e.classList.add("load-right"):e.classList.remove("load-right")})),this.setTabClasses(a,o)}setTabClasses(e,t){const{tabs:i}=this,{length:a}=i,o=void 0===e||e===a-1&&0===t||e<t&&(t!==a-1||0!==e);if(a>this.tabCount){const e=Math.floor(this.tabCount/2),n=o?2+Math.min(t,e):this.tabCount-Math.min(a-t,3),r=this.tabCount-n+1;i.forEach(((e,i)=>{const a=t-n,o=t+r;e.classList.remove("hide","small","smaller"),i<a||i>o?e.classList.add("hide"):i===a||i===o?e.classList.add("smaller"):i!==a+1&&i!==o-1||e.classList.add("small")}))}}playChanged(e,t){clearInterval(this.slideshowHandler),this.play&&this.hasSlideShow&&(this.adjustWithoutFocus(),this.animationTiming=Date.now(),this.slideshowHandler=setInterval(this.adjustWithoutFocus.bind(this),1e3*(this.duration||1))),this.$emit(this.play?"play":"pause")}adjust(e){const t=this.tabs.findIndex((e=>e.id===this.activeid)),i=(a=0,o=this.tabs.length-1,(n=t+e)<a?o:n>o?a:n);var a,o,n;const r=this.tabs[i];r&&(this.activeid=r.id,this.activeid=this.tabs[i].id,r.focus(),this.$emit("change",r))}adjustWithoutFocus(e=1){this.tabs&&this.tabs.length>0&&(this.animationTiming=Date.now(),this.tabs.forEach((e=>{e.focus=()=>!1})),this.adjust(e),this.activetab.children[0].style.animationPlayState="running",this.tabs.forEach((e=>e.focus=e._focus)))}togglePlay(){this.hoverSuspended=!0,this.play=!this.play}resume(){const{duration:e,animationTiming:t=0}=this;this.activetab.children[0].style.animationPlayState="running",this.slideshowHandler=setTimeout(this.playChanged.bind(this,!1,!0),1e3*(e-t)),this.animationTiming=Date.now()-1e3*(this.animationTiming||0)}handleKeydown(e){return e.key!==d&&e.key!==l||!this.tabs.find((t=>t===e.composedPath()[0]))?(" "===e.key&&this.togglePlay(),!0):(e.preventDefault(),this.play=!1,!1)}handleClick(e){return e.composedPath().find((e=>e.classList?.contains("media-control")))||(this.play=!1,clearInterval(this.slideshowHandler)),this.activetab.focus(),!0}handleContentClick(e){return this.$emit("link-invoked",e),!0}handleMouseEnter(){this.hoverSuspended||(clearInterval(this.slideshowHandler),this.animationTiming=this.animationTiming?(Date.now()-this.animationTiming)/1e3:0,this.activetab.children[0].style.animationPlayState="paused")}handleMouseLeave(){this.hoverSuspended||void 0===this.slideshowHandler||this.resume(),this.hoverSuspended=this.disableHoverPause}disconnectedCallback(){super.disconnectedCallback(),this.slideshowHandler&&clearInterval(this.slideshowHandler)}}(0,n.gn)([c.Lj,(0,n.w6)("design:type",Number)],g.prototype,"duration",void 0),(0,n.gn)([(0,c.Lj)({attribute:"slide-show",converter:c.bw}),(0,n.w6)("design:type",Boolean)],g.prototype,"hasSlideShow",void 0),(0,n.gn)([(0,c.Lj)({attribute:"media-controls",converter:c.bw}),(0,n.w6)("design:type",Boolean)],g.prototype,"hasMediaControls",void 0),(0,n.gn)([(0,c.Lj)({attribute:"tab-count"}),(0,n.w6)("design:type",Number)],g.prototype,"tabCount",void 0),(0,n.gn)([(0,c.Lj)({attribute:"play-telemetry"}),(0,n.w6)("design:type",String)],g.prototype,"playTelemetry",void 0),(0,n.gn)([(0,c.Lj)({attribute:"pause-telemetry"}),(0,n.w6)("design:type",String)],g.prototype,"pauseTelemetry",void 0),(0,n.gn)([(0,c.Lj)({attribute:"tab-telemetry"}),(0,n.w6)("design:type",String)],g.prototype,"tabTelemetry",void 0),(0,n.gn)([c.Lj,(0,n.w6)("design:type",String)],g.prototype,"href",void 0),(0,n.gn)([c.Lj,(0,n.w6)("design:type",String)],g.prototype,"target",void 0),(0,n.gn)([c.Lj,(0,n.w6)("design:type",String)],g.prototype,"telemetry",void 0),(0,n.gn)([(0,c.Lj)({attribute:"disable-hover-pause",converter:c.bw}),(0,n.w6)("design:type",Boolean)],g.prototype,"disableHoverPause",void 0),(0,n.gn)([h.LO,(0,n.w6)("design:type",Array)],g.prototype,"tabs",void 0),(0,n.gn)([h.LO,(0,n.w6)("design:type",Array)],g.prototype,"tabpanels",void 0),(0,n.gn)([(0,c.Lj)({attribute:"active-index"}),(0,n.w6)("design:type",Number)],g.prototype,"activeIndex",void 0),(0,n.gn)([h.LO,(0,n.w6)("design:type",Boolean)],g.prototype,"hasNavigation",void 0),(0,n.gn)([(0,c.Lj)({attribute:"navigation-position"}),(0,n.w6)("design:type",String)],g.prototype,"navigationPosition",void 0),(0,n.gn)([(0,c.Lj)({converter:c.bw}),(0,n.w6)("design:type",Boolean)],g.prototype,"play",void 0);var u=i(39181),p=i(90960),m=i(74009),v=i(13988),f=i(81422),b=i(18864);const y=u.d`
    <slot
        class="panels"
        part="panels"
        ${(0,p.Q)({property:"tabpanels",filter:(0,m.R)()})}
    ></slot>
`;var x=i(32804),C=i(22674);const $=g.compose({baseName:"info-pane",styles:(e,t)=>s.i`
        :host {
            align-items: center;
            display: inline-block;
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 100%;
            --dot-active-hover-size: 3px;
            --dot-hover-size: 5px;
            --dot-selected-height: 6px;
            --dot-selected-width: 16px;
            --dot-size: 4px;
            --dot-small-size: 3px;
            --dot-smaller-size: 2px;
        }

        .navigation {
            align-items: center;
            display: inline-flex;
            gap: calc(${x.Han} * 1px);
            left: 50%;
            position: absolute;
            top: calc(${x._5n} * 2px);
            transform: translateX(-50%);
            z-index: calc(var(--sloppy-click-z-index, 2) + 1);
        }

        .navigation.bottom {
            bottom: calc(${x._5n} * 3px);
            top: auto;
        }

        .tablist {
            background: rgba(0, 0, 0, 0.72);
            border-radius: 9px;
            min-height: 14px;
            padding: 0 6px;
            font-size: 0;
            min-width: 52px;
        }

        .with-controls .tablist {
            border-radius: 0;
            border-end-start-radius: 9px;
            border-start-start-radius: 9px;
        }

        .tab,
        .trail-start + .tab ~ .tab {
            cursor: pointer;
            display: inline-block;
            height: 14px;
            position: relative;
            transition: width 0.3s ease-in-out;
            width: 8px;
        }

        .tab:focus-visible {
            outline: none;
        }

        .dot {
            background: rgba(255, 255, 255, 0.42);
            border-radius: 3px;
            display: inline-block;
            height: var(--dot-size);
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
            width: var(--dot-size);
        }

        .tab:hover .dot,
        .tab[aria-selected="true"] .dot {
            background: rgba(255, 255, 255, 0.786);
        }

        .small .dot {
            height: var(--dot-small-size);
            width: var(--dot-small-size);
        }

        .smaller .dot {
            height: var(--dot-smaller-size);
            width: var(--dot-smaller-size);
        }

        .tab[aria-selected="false"]:hover .dot {
            height: var(--dot-hover-size);
            width: var(--dot-hover-size);
        }

        .tab[aria-selected="false"]:active:hover .dot {
            height: var(--dot-active-hover-size);
            width: var(--dot-active-hover-size);
        }

        .hide,
        .hide .dot {
            height: 0;
            width: 0;
            transition: none;
        }

        .tab[aria-selected="true"] {
            width: 20px;
        }

        .tab[aria-selected="true"] .dot {
            height: var(--dot-selected-height);
            width: var(--dot-selected-width);
        }

        .link {
            display: inline-block;
        }

        .playing .tab[aria-selected="true"] .dot {
            animation: loading 3s linear;
            background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.42) 50%);
            background-size: 200% 100%;
        }

        .media-control {
            background: rgba(0, 0, 0, 0.72);
            border-end-end-radius: 9px;
            border-start-end-radius: 9px;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            fill: #fff;
            font-family: "Segoe UI Symbol", monospace;
            font-size: ${x.G8g};
            height: 14px;
            line-height: 13px;
            text-align: center;
            user-select: none;
            width: 14px;
        }

        .media-control:hover {
            background: rgba(0, 0, 0, 0.92);
        }

        :host slot.panels::slotted([id^="panel"]) {
            left: 0;
            position: relative;
            transition: left 0.3s ease-out;
        }

        :host slot.panels::slotted([hidden]) {
            display: inline-block;
            position: absolute;
            top: 0;
        }

        .previous-flipper,
        .next-flipper {
            display: block;
            opacity: 0;
            position: absolute;
            right: 2px;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
            transition: opacity linear 0.3s;
            width: 16px;
            z-index: calc(var(--sloppy-click-z-index, 2) + 1);
        }

        .previous-flipper::before,
        .next-flipper::before {
            border-radius: calc(${x.UWU} * 1px);
        }

        :host(:hover) .previous-flipper,
        :host(:hover) .next-flipper {
            opacity: 1;
        }
    `.withBehaviors(new C.O(s.i`
                .previous-flipper {
                    left: 2px;
                    right: auto;
                }

                :host slot.panels::slotted([hidden]) {
                    left: 100%;
                }

                :host slot.panels::slotted(.unload-left),
                :host slot.panels::slotted(.load-right) {
                    left: -100%;
                }

                :host slot.panels::slotted(.unload-right) {
                    left: 100%;
                }

                @keyframes loading {
                    0% {
                        background-position: 100% 0;
                    }
                    100% {
                        background-position: 0 0;
                    }
                }
            `,s.i`
                .next-flipper {
                    left: 1px;
                    right: auto;
                }

                :host slot.panels::slotted([hidden]) {
                    left: -100%;
                }

                :host slot.panels::slotted(.unload-left),
                :host slot.panels::slotted(.load-right) {
                    left: 100%;
                }

                :host slot.panels::slotted(.unload-right) {
                    left: -100%;
                }

                @keyframes loading {
                    0% {
                        background-position: -100% 0;
                    }
                    100% {
                        background-position: 0 0;
                    }
                }
            `)),template:(e,t)=>u.d`
    <template
        @keydown="${(e,t)=>e.handleKeydown(t.event)}"
        @click="${(e,t)=>e.handleClick(t.event)}"
        @mouseenter="${e=>e.handleMouseEnter()}"
        @mouseleave="${e=>e.handleMouseLeave()}"
    >
        ${(0,v.g)((e=>e.href),u.d`
                <a
                    class="link"
                    part="link"
                    href="${e=>e.href}"
                    target="${e=>e.target}"
                    @click="${(e,t)=>e.handleContentClick(t.event)}"
                    data-t="${e=>e.telemetry}"
                >
                    ${y}
                </a>
            `)}
        ${(0,v.g)((e=>!e.href),y)}
        ${(0,v.g)((e=>e.hasNavigation),u.d`
                <div
                    class="navigation ${e=>e.hasSlideShow&&e.hasMediaControls?"with-controls":""} ${e=>e.play&&e.hasSlideShow?"playing":""}
                        ${e=>e.navigationPosition}"
                    part="navigation"
                >
                    <div
                        class="tablist"
                        part="tablist"
                        role="tablist"
                        ${(0,f.p)({property:"tabs",filter:(0,m.R)()})}
                    >
                        ${(0,b.rx)((e=>e.tabpanels),u.d`
                                <div
                                    class="tab"
                                    part="tab"
                                    slot="tab"
                                    role="tab"
                                    data-t="${e=>e.tabTelemetry}"
                                >
                                    <div class="dot" part="dot"></div>
                                </div>
                            `,{positioning:!0})}
                    </div>
                    ${(0,v.g)((e=>!!e.hasSlideShow&&!!e.hasMediaControls),u.d`
                            <div
                                class="media-control"
                                part="media-control"
                                @click="${e=>e.togglePlay()}"
                            >
                                ${(0,v.g)((e=>!!e.play),u.d`
                                        <slot
                                            name="pause-icon"
                                            data-t="${e=>e.pauseTelemetry}"
                                        >
                                            ⏸&#xFE0E;
                                        </slot>
                                    `)}
                                ${(0,v.g)((e=>!e.play),u.d`
                                        <slot
                                            name="play-icon"
                                            data-t="${e=>e.playTelemetry}"
                                        >
                                            ⏵&#xFE0E;
                                        </slot>
                                    `)}
                            </div>
                        `)}
                </div>
                <slot
                    name="previous-flipper"
                    class="previous-flipper"
                    part="previous-flipper"
                    @click="${e=>e.adjust(-1)}"
                ></slot>
                <slot
                    name="next-flipper"
                    class="next-flipper"
                    part="next-flipper"
                    direction="next"
                    @click="${e=>e.adjust(1)}"
                ></slot>
            `)}
    </template>
`});var w=i(64062);class k extends g{}(0,n.gn)([h.LO],k.prototype,"data",void 0);var T=i(16370),S=i.n(T);const _=u.d`<cs-flipper class="previousFlipper" slot="previous-flipper" direction="previous" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.previousSlideArrow)||void 0===i?void 0:i.getMetadataTag()}}"><span slot="previous">${S()}</span></cs-flipper>`;var z=i(91578),L=i.n(z);const I=u.d`<cs-flipper class="nextFlipper" slot="next-flipper" direction="next" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.nextSlideArrow)||void 0===i?void 0:i.getMetadataTag()}}"><span slot="next">${L()}</span></cs-flipper>`;var A=i(24277),H=i(9431),P=i(70345),D=i(64302),F=i(74045);const M=(e,t,i,a)=>{const o=0!=(e.cardActionStatus&F.O7.hide)||!!e.enableHideStoryFeedback&&(0!=(e.cardActionStatus&F.O7.showFewer)||0!=(e.cardActionStatus&F.O7.hidden));return"dense-card"==e.card_template_type?B("cs-dense-card"):e.isNativeAd?u.d` ${(0,b.rx)((e=>e.nativeAds&&e.nativeAds.slice(0,3)),u.d`${(e,t)=>B(t.parentContext.parent.nativeAdTag)}`)} `:e.showAdFeedback?R(e):o?N(e):B(i)},B=e=>u.d`<${e} :data= ${e=>e}></${e}>`,R=e=>e.cardActionStatus&F.O7.adFeedbackSubmitted?u.d`<div class="infopane-report-ad">${A.X}</div>`:u.d`<div class="infopane-report-ad">${H.H}</div>`,N=e=>e.cardActionStatus&F.O7.hidden?u.d`<div class="infopane-hide-story">${P.c}<div>`:u.d`<div class="infopane-hide-story">${D.V}</div>`;var O=i(64799);const j=s.i` cs-info-pane::part(next-flipper){right:10px}`,E=s.i` cs-info-pane::part(next-flipper){right:-8px}`,V=k.compose({baseName:"infopane-card",template:(e,t)=>u.d`${(0,v.g)((e=>e.data),u.d`${(0,b.rx)((e=>[e.data]),u.d`<cs-card class="infopaneCardWrapper" size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" gradient-angle="${e=>e.gradientAngle}"><cs-info-pane class="infopane ${e=>e.enableSlideShow?"":"slide-show-disabled"}" play="${e=>e.autoRotate}" duration="${e=>e.rotationDuration}" media-controls="${e=>e.enablePlayPauseButton}" navigation-position="${e=>e.navPosition}" slide-show="${e=>e.enableSlideShow}" size="${e=>e.cardSize}" tab-count=${e=>e.tabCount} data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.infopane)||void 0===i?void 0:i.getMetadataTag()}}" play-telemetry="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.playTransitionButton)||void 0===i?void 0:i.getMetadataTag()}}" pause-telemetry="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.pauseTransitionButton)||void 0===i?void 0:i.getMetadataTag()}}">${(0,b.rx)((e=>e.slideContentData),u.d`${(e,t)=>M(e,t,t.parent.articleTag,t.parent.nativeAdTag)}`)} ${_} ${I}</cs-info-pane></cs-card>`)} `)}`,styles:(e,t)=>s.i` :host([size="_2x_2y"]){width:calc(((${O.$f} * 2px) + (${O.RR} * 1px)) + 2px)}.infopane{position:static}.nextFlipper,.previousFlipper{height:48px;width:24px}.infopaneCardWrapper{border:none}:host .navigation{left:0}.hide{height:14px;width:8px}.hide::before,.small::before,.smaller::before{height:4px;width:4px}:host .infopane-hide-story,:host .infopane-report-ad{height:calc(((${O.di} * 2px) + (${O.RR} * 1px)) + 2px);
    }
`.withBehaviors(new C.O(j,E))});var G=i(77615);const U=()=>{(0,G.D)().withShadowRootMode("open").withElementDisambiguation((()=>o.h.ignoreDuplicate)).withPrefix("cs").register($(),(0,w.f)(),V())}},15825:function(e,t,i){"use strict";i.d(t,{e:function(){return r}});var a=i(33940),o=i(48839),n=i(87697);class r extends o.I{}(0,a.gn)([n.LO],r.prototype,"data",void 0)},24867:function(e,t,i){"use strict";i.d(t,{$:function(){return l}});var a=i(37429),o=i(39181),n=i(13988),r=i(18864),s=i(62449),d=i(53212);const l=(e,t)=>{var i,a,l,h,g;return o.d`${(0,n.g)((e=>e.data),o.d`${(0,r.rx)((e=>[e.data]),o.d`<cs-card class="card-outer" card-fill-color="${e=>e.cardFillColor}" card-secondary-color="${e=>e.cardSecondaryColor}" gradient-angle="${e=>e.gradientAngle}" id="native_ad_${e=>e.id}" size="${e=>e.cardSize}"><cs-content-card class="card-content" id="${e=>e.id}" href="${e=>e.destinationUrl}" media-type="${e=>e.mediaType}" size="${e=>e.cardSize}" title="${e=>e.disableCardTitleTooltip?"":e.title}" target="${s.P._blank}" ?immersive-card="${e=>e.immersiveCard}" :anchorTelemetryTag="${e=>e.adTelemetryContext&&e.adTelemetryContext.destination&&e.adTelemetryContext.destination.getMetadataTag()}" data-t="${e=>{var t,i;return e.id?null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.nativeAdCard)||void 0===i?void 0:i.getMetadataTag():""}}" ${(0,d.lq)()} @mouseenter="${(e,t)=>e.setDisplacementAndTitleOnHover&&e.setDisplacementAndTitleOnHover(t,e.dir,e.title,e.disableCardTitleTooltip,e.enableTitleForTruncate)}">${(0,n.g)((e=>e.mediaType),o.d`<img altText="${e=>e.imageData&&e.imageData.altText}" class="card-image ${e=>e.useLightShadow?"lightShadow":""}" slot="media" src="${e=>e.imageData&&e.imageData.source}" @load="${e=>c(e)}" @error="${e=>function(e){c(e)}(e)}" />`)} ${e=>{!e.imageData&&e.visualReadinessCallback&&e.visualReadinessCallback()}} ${t.attribution instanceof Function?t.attribution(e,t):null!==(i=t.attribution)&&void 0!==i?i:""} ${t.title instanceof Function?t.title(e,t):null!==(a=t.title)&&void 0!==a?a:""} ${(0,n.g)((e=>e.title),o.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(l=t.footerStart)&&void 0!==l?l:""}`)} ${(0,n.g)((e=>e.title),o.d`${t.footerEnd instanceof Function?t.footerEnd(e,t):null!==(h=t.footerEnd)&&void 0!==h?h:""}`)} ${t.hideStory instanceof Function?t.hideStory(e,t):null!==(g=t.hideStory)&&void 0!==g?g:""}</cs-content-card></cs-card>`)}
`)}`};function c(e){e&&e.visualReadinessCallback&&e.visualReadinessCallback(a.u.ALL,a.w.image)}},90394:function(e,t,i){"use strict";i.d(t,{j:function(){return p}});var a=i(84548),o=i(6359),n=i(6932),r=i(90768),s=i(38956),d=i(74983),l=i(58474),c=i(9339),h=i(61521),g=i(53046),u=i(99393);const p=(e,t)=>g.i`
    ${a.s}
    ${o.i}
    ${n.K}
    ${r.b}
    ${s.T}
    ${d.j}
    ${l._}
    ${c.V}
    ${h.D}
    ${u.Z}
`},30097:function(e,t,i){"use strict";i.d(t,{s:function(){return u},x:function(){return g}});var a=i(51701),o=i(47497),n=i(85078),r=i(31540),s=i(12576),d=i(15825),l=i(39181),c=i(90394),h=i(24867);class g extends d.e{}const u=g.compose({baseName:"native-ad-card",styles:c.j,template:h.$,footerEnd:l.d`${a.z}`,footerStart:l.d`${o.K}`,hideStory:l.d`${n.j}`,title:l.d`${r.o}`,attribution:l.d`${s.g}`})},5627:function(e,t,i){"use strict";i.d(t,{T:function(){return l}});var a=i(57905),o=i(42208),n=i(38880),r=i(68714),s=i(30097),d=i(77615);const l=()=>(0,d.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,o.Gp)(),(0,n.u0)(),(0,r.$j)(),(0,s.s)())},9418:function(e,t,i){"use strict";i.d(t,{n:function(){return j}});var a=i(57905),o=i(33940),n=i(48839),r=i(65620),s=i(87697);const d="C4";class l extends n.I{constructor(){super(...arguments),this.layout=d,this.childrenLayout=[]}layoutChanged(){this.updateLayout()}childTemplateMapChanged(){this.updateLayout()}dataChanged(){this.updateLayout()}layoutStylesChanged(e,t){e&&this.$fastController.removeStyles(e),this.$fastController.addStyles(t)}selectTemplate(e){if(e.childTemplateType)return this.childTemplateMap?.[e.childTemplateType]}updateLayout(){if(void 0===this.data)return;const e=this.data[this.layout];this.childrenLayout=this.data.defaultLayout.map((t=>({...t,...e?.find((e=>e.id===t.id))}))).sort(((e,t)=>e.childDOMOrder&&t.childDOMOrder?e.childDOMOrder-t.childDOMOrder:0))}handleKeyDown(e){const t=!!["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageUp","PageDown"].find((t=>t===e.key));if(e.defaultPrevented||!t)return!0;const i=Array.from(this.getRootNode().querySelectorAll(this.tagName)).reduce(((e,t)=>e.concat(Array.from(t.shadowRoot?.children||[]))),[]).filter((e=>e.offsetWidth>0&&e.offsetHeight>0)),a=i.reduce(((e,t,i)=>{const{offsetLeft:a,offsetHeight:o,offsetTop:n,offsetWidth:r}=t;return e.push({x:a,y:n,x2:a+r,y2:n+o,index:i}),e}),[]),o=i.findIndex((t=>e.composedPath().find((e=>e===t))))??0,n=e=>{const t=e.currentTarget;t&&(t.removeAttribute("tabindex"),t.removeEventListener("blur",n))},r=a.reduce(((e,t,i)=>{const n=a[o||0],r={x:["ArrowLeft","ArrowRight"],y:["ArrowUp","ArrowDown"]},s=e=>Math.min(t[`${e}2`],n[`${e}2`])-Math.max(t[e],n[e]),d=e=>Math.abs(t[e]>=n[`${e}2`]?t[e]-n[`${e}2`]:n[e]-t[`${e}2`]);for(const a in r){const l=a,c=s("x"===l?"y":"x"),h=d(l);if(c>0){const a=t[l]>=n[`${l}2`]?1:0,s=r[l][a];i!==o&&(void 0===e[s]||(e[s]?.distance||0)>h)&&(e[s]=Object.assign({},t,{overlap:c,distance:h})),"y"===l&&("ArrowUp"===s?(!e.PageUp||e.PageUp.y>t.y)&&(e.PageUp=t):(!e.PageDown||e.PageDown.y2<t.y2)&&(e.PageDown=t))}}return(!e.Home||e.Home.x>t.x||e.Home.y>t.y)&&(e.Home=t),(!e.End||e.End.x<t.x||e.End.y<t.y)&&(e.End=t),e}),{})[e.key];var s;return void 0!==r&&(s=r.index,i&&i.length>s&&(i[s].setAttribute("tabindex","0"),i[s].addEventListener("blur",n),i[s].focus())),!0}}(0,o.gn)([r.Lj,(0,o.w6)("design:type",String)],l.prototype,"layout",void 0),(0,o.gn)([s.LO,(0,o.w6)("design:type",Array)],l.prototype,"childrenLayout",void 0),(0,o.gn)([s.LO,(0,o.w6)("design:type",Object)],l.prototype,"childTemplateMap",void 0),(0,o.gn)([s.LO,(0,o.w6)("design:type",Object)],l.prototype,"data",void 0),(0,o.gn)([s.LO,(0,o.w6)("design:type",Object)],l.prototype,"layoutStyles",void 0);var c=i(64799),h=i(32804),g=i(53046),u=i(67020);var p=i(18864),m=i(39181);const v=l.compose({baseName:"feed-layout",styles:(e,t)=>g.i`
    ${(0,u.j)("grid")}

    :host {
        font-family: ${h.SVJ};
        width: auto;
        grid-auto-columns: calc(${c.$f} * 1px);
        grid-auto-row: calc(${c.di} * 1px);
        grid-gap: calc(${c.RR} * 1px);
    }
`,template:(e,t)=>m.d`
    <template @keydown="${(e,t)=>e.handleKeyDown(t.event)}">
        ${(0,p.rx)((e=>e.childrenLayout),m.d`
                ${(e,t)=>t.parent.selectTemplate(e)}
            `)}
    </template>
`});var f=i(94192);class b extends n.I{}(0,o.gn)([f.G],b.prototype,"configProvider",void 0),(0,o.gn)([s.LO],b.prototype,"feedLayouts",void 0),(0,o.gn)([s.LO],b.prototype,"layout",void 0);var y=i(68250),x=i(62449),C=i(58958);function $(e,t){const i=e;return function(e,t){e.imageData&&e.imageData.source&&(e.mediaType="video"===e.contentType?x.D.video:x.D.image)}(i),function(e,t){e.immersiveCard=e.cardSize===y.Id._2x_2y}(i),i}function w(e,t){var i;if(e.immersiveCard&&e.mediaType)return void(e.cardFillColor="#333");const a=null===(i=e.colorSamples)||void 0===i?void 0:i.find((e=>e.isDarkMode===(0,C.Y)()));if(!a||!a.hexColor&&!a.secHexColor&&!a.gradientAngle)return e.cardFillColor=(0,C.Y)()?"#565656":"#FFFFFF",e.cardSecondaryColor=(0,C.Y)()?"#272727":"#E1E1E1",void(e.gradientAngle="112.05deg");e.cardFillColor=null==a?void 0:a.hexColor,e.cardSecondaryColor=null==a?void 0:a.secHexColor,e.gradientAngle=null==a?void 0:a.gradientAngle}function k(e,t){t&&t.config&&t.config.enableFeedSuperCardsSolidColor&&(e.immersiveCard||"#000000"===e.cardFillColor||(e.cardFillColor=(0,C.Y)()?"#333":"#FFF",e.cardSecondaryColor=void 0,e.gradientAngle=void 0))}function T(e,t){const i=$(e);return w(i),i.openLinksInNewTab=i.openLinksInNewTab||i.openArticleInNewTab,k(i,t),i}function S(e,t){const i=$(e);return w(i),k(i,t),i}class _{static getViewTemplate(e,t){const i=t&&t.getSuperCardsTemplatesMap(),a=i&&i[e.childTemplateType];return a?m.d`
                    <${a}
                        class="card-container"
                        :data=${e=>class{static createViewModel(e,t){switch(e&&e.childTemplateType){case"article-card":case"content-card":case"web-content-card":case"video-card":return T(e,t);case"native-ad-card":return S(e,t);case"super-sd-card":case"super-list-card":return $(e);case"infopane-card":return function(e,t){const i=$(e);i.cardData=e,i.cardFillColor=(0,C.Y)()?"#333":"#FFFFFF",e.slideContentData.forEach(((e,i)=>{e.isNativeAd&&e.nativeAds.length>0?e.nativeAds.forEach((e=>{S(e,t)})):T(e,t)})),i.cardData.autoRotate=!0,i.enableSlideShow=!0;const a=t.config;return i.enablePlayPauseButton=!a.disableInfopanePlayPauseButton,i.rotationDuration=i.cardData.autoRotateIntervalMs?i.cardData.autoRotateIntervalMs/1e3:3,a.enableInfopaneFontSize24?(i.articleTag="cs-article-card-24",i.nativeAdTag="cs-native-ad-card-24"):(i.articleTag="cs-article-card",i.nativeAdTag="cs-native-ad-card"),a.enableBottomNav&&(i.navPosition="bottom"),i.tabCount=a.enableMaxInfopaneSlider?99:5,i}(e,t);case"carousel":return function(e,t){return $(e)}(e);default:return null}}}.createViewModel(e,t)}
                        style="grid-area:${e=>e.gridArea}"
                        size="${e=>e.cardSize}"
                        config-instance-src="default"
                    >
                    </${a}>
                `:null}}const z=g.i``,L=g.i`
    ${z}

    :host {
        display: grid;
        flex-flow: row wrap;
        gap: 12px;
        justify-content: center;
        --layer-corner-radius: 6;
    }

    cs-feed-layout {
        grid-auto-rows: 146px;
    }
`;var I=i(13988);const A=m.d`
    <cs-feed-layout
        layout="${(e,t)=>t.parent.layout}"
        :data="${e=>e.feedData}"
        :childTemplateMap="${(e,t)=>t.parent.configProvider.getCardTemplatesMap()}"
        :layoutStyles="${(e,t)=>t.parent.configProvider.getLayoutTemplatesMap()[e.templateId].styles}"
    >
    </cs-feed-layout>
`,H=m.d` ${(0,I.g)((e=>e.feedLayouts&&e.feedLayouts.length),m.d`
        ${(0,p.rx)((e=>e.feedLayouts),A)}
    `)}`,P=class extends b{constructor(){super(...arguments),this.lastFeedLayoutPosition=-1}feedLayoutsChanged(){var e;if(!(null===(e=this.feedLayouts)||void 0===e?void 0:e.length))return;const t=this.configProvider.getCardTemplatesMap(),i=this.configProvider.getSuperCardsTemplatesMap();for(let e=this.lastFeedLayoutPosition+1;e<this.feedLayouts.length;e++){this.feedLayouts[e].feedData.defaultLayout.forEach((e=>{if(i[e.childTemplateType]){const i=_.getViewTemplate(e,this.configProvider);i&&(t[e.childTemplateType]=i)}}))}this.lastFeedLayoutPosition=this.feedLayouts.length-1}}.compose({baseName:"personalized-feed",styles:L,template:H});var D=i(52965);class F extends n.I{feedLayoutsChanged(){var e;(null===(e=this.feedLayouts)||void 0===e?void 0:e.length)&&this.feedLayouts.forEach((e=>{const t=this.configProvider.getCardTemplatesMap();t["native-ad-card-video"]||(t["native-ad-card-video"]=(0,D.Z)(t["native-ad-card"]));const i=e.feedData;i.defaultLayout=e.feedData.cards,i.defaultLayout.forEach(((e,a)=>{const o=i[this.layout]&&i[this.layout].find((t=>t.id===e.id));o&&"video-card"===o.card_template_type?e.childTemplateType="video-card":e.childTemplateType=e.card_template_type,this.updateTemplateForNotSupportedScenario(e,t),e.gridArea=e.grid_area}))}))}updateTemplateForNotSupportedScenario(e,t){if(!(e&&"native-ad-card"===e.card_template_type&&e.videoProps))return;const i=e.card_template_type+"-v1";t[i]||(t[i]=t["native-ad-card-video"]),e.childTemplateType=i}}(0,o.gn)([f.G],F.prototype,"configProvider",void 0),(0,o.gn)([s.LO],F.prototype,"feedLayouts",void 0),(0,o.gn)([s.LO],F.prototype,"layout",void 0);const M=g.i``,B=m.d`
    <cs-personalized-feed 
        :feedLayouts=${e=>e.feedLayouts} 
        :layout="${e=>e.layout}">
    </cs-personalized-feed>`,R=m.d`
    ${(0,I.g)((e=>{var t;return null===(t=e.feedLayouts)||void 0===t?void 0:t.length}),B)}
`,N=F.compose({baseName:"super-container",styles:M,template:R});var O=i(77615);const j=()=>(0,O.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register(v(),P(),N())},94192:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});const a=i(91254).DI.createInterface()},41722:function(e,t,i){"use strict";var a=i(57905),o=i(77691),n=i(65468),r=i(77864),s=i(31464),d=i(85078),l=i(31540),c=i(43552),h=i(39181),g=i(99393),u=i(32804),p=i(53046);const m=p.i` [size="_2x_2y"] .card-title{font-size:${u.ipv}}[size="_2x_2y"].article-card cs-attribution{margin-top:0}`;var v=i(57719);const f=c.T.compose({baseName:"article-card-24",styles:(e,t)=>p.i`
    ${(0,g.e)(e,t)}
    ${m}
`,template:v.m,attribution:h.d`${o.Q}`,footerStart:h.d`${n.Q}`,footerEnd:h.d`${r.j}`,hideStory:h.d`${s.T}${d.j}`,title:h.d`${l.o}`});var b=i(42208),y=i(38880),x=i(68714),C=i(77615);var $=i(51701),w=i(47497),k=i(30097),T=i(90394);var S=i(24867);const _=k.x.compose({baseName:"native-ad-card-24",styles:(e,t)=>p.i`
    ${(0,T.j)(e,t)}
    ${m}
`,template:S.$,footerEnd:h.d`${$.z}`,footerStart:h.d`${w.K}`,hideStory:h.d`${d.j}`,title:h.d`${l.o}`});var z=i(21406),L=i(16206),I=i(5627),A=i(41384),H=i(9418);(0,z.y)(),(0,C.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,b.Gp)(),(0,y.u0)(),(0,x.$j)(),f()),(0,C.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,b.Gp)(),(0,y.u0)(),(0,x.$j)(),_()),(0,L.V)(),(0,I.T)(),(0,A.E)(),(0,H.n)()},16370:function(e){e.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15 17.9a1.25 1.25 0 01-2.07.94l-6.31-5.52c-.8-.7-.8-1.94 0-2.64l6.3-5.52c.82-.7 2.08-.13 2.08.94v11.8z"></path></svg>'},91578:function(e){e.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 17.9a1.25 1.25 0 002.07.94l6.31-5.52c.8-.7.8-1.94 0-2.64l-6.3-5.52C10.25 4.46 9 5.03 9 6.1v11.8z"></path></svg>'},16446:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 14A6 6 0 108 2a6 6 0 000 12zM8 3c.37 0 .88.36 1.31 1.32.1.2.18.43.26.68H6.43c.08-.25.16-.47.26-.68C7.12 3.36 7.63 3 8 3zm-2.22.9c-.15.34-.29.7-.4 1.1H4a5.02 5.02 0 012.04-1.6c-.1.16-.18.33-.26.5zM5.16 6a12.06 12.06 0 000 4H3.42a4.98 4.98 0 010-4h1.74zm.22 5a7.53 7.53 0 00.66 1.6A5.02 5.02 0 014 11h1.38zm1.05 0h3.14a6.2 6.2 0 01-.26.68C8.88 12.64 8.37 13 8 13c-.37 0-.88-.36-1.31-1.32a6.2 6.2 0 01-.26-.68zm3.4-1H6.17a10.94 10.94 0 010-4h3.64a10.94 10.94 0 010 4zm.79 1H12a5.02 5.02 0 01-2.04 1.6c.1-.16.18-.33.26-.5.15-.34.29-.7.4-1.1zm1.96-1h-1.74a12.05 12.05 0 000-4h1.74a4.98 4.98 0 010 4zM9.96 3.4c.81.35 1.52.9 2.04 1.6h-1.38a7.53 7.53 0 00-.66-1.6z"></path></svg>'},36764:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.2 2.1a.9.9 0 011.6 0l1.53 3.08 3.4.5a.9.9 0 01.5 1.53l-2.46 2.4.58 3.39a.9.9 0 01-1.3.95L8 12.35l-3.04 1.6a.9.9 0 01-1.3-.95l.57-3.39-2.46-2.4a.9.9 0 01.5-1.53l3.4-.5L7.2 2.1z"></path></svg>'},42208:function(e,t,i){"use strict";i.d(t,{Gp:function(){return h}});var a=i(48839);class o extends a.I{}var n=i(32804),r=i(53046),s=i(67020),d=i(40082),l=i(87839);var c=i(39181);const h=o.compose({baseName:"attribution",template:(e,t)=>c.d`
    <slot name="image"></slot>
    <span part="content" class="content">
        <slot></slot>
    </span>
`,styles:(e,t)=>r.i`
        ${(0,s.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${n.SVJ};
            font-size: ${n.sNp};
            font-weight: 400;
            line-height: ${n.vgC};
            align-items: center;
            color: ${n.CHi};
            min-height: 16px;
        }

        .content {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            align-self: baseline;
        }

        ::slotted([slot="image"]) {
            display: flex;
            margin-inline-end: calc(${n._5n} * 2px);
        }
    `.withBehaviors((0,d.vF)(r.i`
                :host,
                .content {
                    color: ${l.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},68231:function(e,t,i){"use strict";i.d(t,{N:function(){return u}});var a=i(33940),o=i(32804),n=i(42355),r=i(42255),s=i(97186),d=i(53046),l=i(87697),c=i(22680),h=i(65620),g=i(27447);class u extends g.Z{constructor(){super(...arguments),this.gradientAngle="112.05deg",this.gradientColor=this.cardFillColor,this.gradientVariables=null}cardFillColorChanged(e,t){if(!t)return;if(super.cardFillColorChanged(e,t),!(0,s.pJ)(t))return this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),o.IfY.deleteValueFor(this),void o.yvm.deleteValueFor(this);const i=(0,s.in)(t);i&&(this.neutralPaletteSource=t,o.IfY.setValueFor(this,n.w.create(i.r,i.g,i.b)))}neutralPaletteSourceChanged(e,t){if(t){const e=(0,s.in)(t);if(!e)return;const i=n.w.create(e.r,e.g,e.b);o.yvm.setValueFor(this,r.v.create(i))}}cardSecondaryColorChanged(){this.handleChange()}gradientAngleChanged(){this.handleChange()}generateGradientVariables(e,t,i){return d.i`
            :host {
                --gradient-angle: ${e};
                --gradient-start-color: ${t};
                --gradient-end-color: ${i};
            }
        `}connectedCallback(){super.connectedCallback(),l.y$.getNotifier(this).subscribe(this,"cardFillColor"),this.handleChange()}handleChange(){const e=(0,c.T)(this);this.cardSecondaryColor&&(!this.cardFillColor&&e?this.gradientColor=o.IfY.getValueFor(e).toColorString():this.gradientColor=this.cardFillColor,this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),this.gradientVariables=this.generateGradientVariables(this.gradientAngle,this.gradientColor??"",this.cardSecondaryColor),this.$fastController.addStyles(this.gradientVariables))}}(0,a.gn)([(0,h.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,a.w6)("design:type",String)],u.prototype,"neutralPaletteSource",void 0),(0,a.gn)([(0,h.Lj)({attribute:"card-secondary-color",mode:"fromView"}),(0,a.w6)("design:type",Object)],u.prototype,"cardSecondaryColor",void 0),(0,a.gn)([(0,h.Lj)({attribute:"gradient-angle",mode:"fromView"}),(0,a.w6)("design:type",String)],u.prototype,"gradientAngle",void 0)},27447:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var a=i(33940),o=i(32804),n=i(78125),r=i(33978),s=i(65130),d=i(65620),l=i(68250);class c extends s.Z{constructor(){super(...arguments),this.size=l.Id._1x_2y}cardFillColorChanged(e,t){this.isDarkCardGradient()?o.q2d.setValueFor(this,n.h.DarkMode):this.isLightCardGradient()?o.q2d.setValueFor(this,n.h.LightMode):o.q2d.deleteValueFor(this)}isDarkCardGradient(){return Object.values(l.Gi).includes(this.cardFillColor)}isLightCardGradient(){return Object.values(l.iV).includes(this.cardFillColor)}isNamedGradientFillColor(){return this.isLightCardGradient()||this.isDarkCardGradient()}connectedCallback(){super.connectedCallback(),o.Ats.setValueFor(this,{evaluate:(e,t)=>(0,r.P)(o.yvm.getValueFor(e),t||o.IfY.getValueFor(e),-1,1,0,0,void 0,2,3,1,2,void 0)})}}(0,a.gn)([(0,d.Lj)({attribute:"card-fill-color"}),(0,a.w6)("design:type",Object)],c.prototype,"cardFillColor",void 0),(0,a.gn)([d.Lj,(0,a.w6)("design:type",String)],c.prototype,"size",void 0)},68250:function(e,t,i){"use strict";i.d(t,{Gi:function(){return o},Id:function(){return a},iV:function(){return n}});const a={_1x_1y:"_1x_1y",_1x_2y:"_1x_2y",_2x_2y:"_2x_2y",_2x_1y:"_2x_1y"},o={DarkPlum:"dark-plum",DarkDesert:"dark-desert",DarkDawn:"dark-dawn",DarkSea:"dark-sea",DarkOrange:"dark-orange",DarkTropic:"dark-tropic",DarkMerlot:"dark-merlot",DarkPurple:"dark-purple",DarkGreen:"dark-green"},n={LightBlue:"light-blue",LightPurple:"light-purple",LightSky:"light-sky",LightPink:"light-pink",LightYellow:"light-yellow",LightBluebird:"light-bluebird",LightOrange:"light-orange",LightAqua:"light-aqua",LightGreen:"light-green"}},64799:function(e,t,i){"use strict";i.d(t,{$f:function(){return h},F:function(){return f},RR:function(){return g},di:function(){return c},hl:function(){return v},sQ:function(){return m},yp:function(){return p}});var a=i(32804),o=i(78125),n=i(98648),r=i(53046),s=i(67020),d=i(40082),l=i(87839);const c=n.L.create("card-base-height").withDefault(146),h=n.L.create("card-base-width").withDefault(300),g=n.L.create("card-base-gap").withDefault(12),u=n.L.create("card-stroke-color");u.withDefault((e=>a.q2d.getValueFor(e)===o.h.DarkMode?"rgba(0,0,0,0.1)":"rgba(0,0,0,0.0578)"));const p=r.i`
    :host([size][card-fill-color="light-blue"]) {
        background: linear-gradient(140.53deg, #f0e1f7 9.32%, #cddfff 58.45%);
    }

    :host([size][card-fill-color="light-purple"]) {
        background: linear-gradient(139.03deg, #ffe9e1 5.05%, #f0e1f7 51.71%);
    }

    :host([size][card-fill-color="light-sky"]) {
        background: linear-gradient(140.53deg, #f5f7e1 9.32%, #cdf0ff 58.45%);
    }

    :host([size][card-fill-color="light-pink"]) {
        background: linear-gradient(139.03deg, #fff1cd 5.05%, #ffe8ed 51.71%);
    }

    :host([size][card-fill-color="light-yellow"]) {
        background: linear-gradient(140.53deg, #fffedc 9.32%, #fff4d7 58.45%);
    }

    :host([size][card-fill-color="light-bluebird"]) {
        background: linear-gradient(139.03deg, #e1e6f8 5.05%, #ebfefb 51.71%);
    }

    :host([size][card-fill-color="light-orange"]) {
        background: linear-gradient(140.56deg, #f0e1f7 5.42%, #ffe9e1 51.68%);
    }

    :host([size][card-fill-color="light-aqua"]) {
        background: linear-gradient(140.56deg, #cef9ff 5.42%, #e3f9f3 51.68%);
    }

    :host([size][card-fill-color="light-green"]) {
        background: linear-gradient(140.56deg, #fffee9 5.42%, #d0f0e1 51.68%);
    }

    :host([size][card-fill-color="dark-plum"]) {
        background: linear-gradient(138.52deg, #512c2c -1.32%, #252c4e 85.77%);
    }

    :host([size][card-fill-color="dark-desert"]) {
        background: linear-gradient(138.25deg, #553f2b -1.2%, #372d54 84.27%);
    }

    :host([size][card-fill-color="dark-dawn"]) {
        background: linear-gradient(140.02deg, #58314f -2.33%, #29203c 84.75%);
    }

    :host([size][card-fill-color="dark-sea"]) {
        background: linear-gradient(138.52deg, #264b50 0.44%, #292448 85.15%);
    }

    :host([size][card-fill-color="dark-orange"]) {
        background: linear-gradient(140.69deg, #514c28 -7.13%, #482b24 87.33%);
    }

    :host([size][card-fill-color="dark-tropic"]) {
        background: linear-gradient(140.08deg, #0b4b4f 1.27%, #39371e 85.21%);
    }

    :host([size][card-fill-color="dark-merlot"]) {
        background: linear-gradient(140.02deg, #5c452f -2.33%, #3a1b26 84.75%);
    }

    :host([size][card-fill-color="dark-purple"]) {
        background: linear-gradient(140.02deg, #283266 -2.33%, #351740 84.75%);
    }

    :host([size][card-fill-color="dark-green"]) {
        background: linear-gradient(138.44deg, #57511f 0.35%, #17352f 83.81%);
    }
`,m=r.i`
    ${(0,s.j)("flex")} :host {
        background: ${a.IfY};
        border: calc(${a.Han} * 1px) solid ${u};
        background-clip: padding-box;
        border-radius: calc(${a.rSr} * 1px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        color: ${a.CHi};
        contain: content;
        content-visibility: auto;
        outline-offset: 1px;
    }

    :host(:hover) {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.14);
    }

    @media (prefers-color-scheme: dark) {
        :host(:hover) {
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.26);
        }
    }

    :host([size="_1x_1y"]) {
        width: calc((${h} * 1px) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    :host([size="_1x_2y"]) {
        width: calc((${h} * 1px) + 2px);
        height: calc(((${c} * 2px) + (${g} * 1px)) + 2px);
    }

    :host([size="_2x_2y"]) {
        width: calc(((${h} * 2px) + (${g} * 1px)) + 2px);
        height: calc(((${c} * 2px) + (${g} * 1px)) + 2px);
    }

    :host([size="_2x_1y"]) {
        width: calc(((${h} * 2px) + (${g} * 1px)) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    ::slotted(*) {
        color: inherit;
    }
`,v=(0,d.vF)(r.i`
            :host {
                background: ${l.H.Canvas};
                color: ${l.H.CanvasText};
            }
        `),f=(e,t)=>r.i`
        ${m}
        ${p}

        :host([card-secondary-color]) {
            background: linear-gradient(
                var(--gradient-angle),
                var(--gradient-start-color) 35.59%,
                var(--gradient-end-color) 100%
            );
            background-clip: padding-box;
        }
    `.withBehaviors(v)},38880:function(e,t,i){"use strict";i.d(t,{u0:function(){return r}});var a=i(68231),o=i(64799),n=i(39181);const r=a.N.compose({baseName:"card",styles:o.F,template:(e,t)=>n.d`
    <slot></slot>
`})},39432:function(e,t,i){"use strict";i.d(t,{u:function(){return m}});var a=i(33940),o=i(68231),n=i(68250),r=i(32804),s=i(48839),d=i(2696),l=i(53046),c=i(22680),h=i(87697),g=i(97186),u=i(65620),p=i(62449);class m extends s.I{constructor(){super(...arguments),this.headingLevel=2,this.immersiveCard=!1,this.animateVideo=!1,this.subscribed=!1,this.target=p.P._blank,this.mediaSlot=[],this.loaded=!1,this.gradientVariables=null,this.cardSize=()=>this.size?this.size:this.parent&&this.parent instanceof o.N?this.parent.size:n.Id._1x_2y,this.colorSwatch=()=>{if(this.parent&&this.parent instanceof o.N)return this.parent.cardFillColor??r.IfY.getValueFor(this.parent).toColorString()}}animateVideoChanged(){this.loaded=!0}isColorSampled(){return!!(this.parent&&this.parent instanceof o.N)&&!!this.parent.cardSecondaryColor}generateGradientVariables(e){let t,i;return this.isColorSampled()?(t=new d.h(e.r,e.g,e.b,0).toStringWebRGBA(),i=new d.h(e.r,e.g,e.b,.8).toStringWebRGBA()):(t=new d.h(0,0,0,0).toStringWebRGBA(),i=new d.h(0,0,0,.54).toStringWebRGBA()),l.i`
            :host {
                --image-gradient-overlay-start-color: ${t};
                --image-gradient-overlay-end-color: ${i};
            }
        `}handleContentCardLinkClick(e){return this.$emit("link-invoked",e),!0}connectedCallback(){super.connectedCallback(),this.parent=(0,c.T)(this),!this.parent||this.parent instanceof o.N||(this.parent=(0,c.T)(this.parent)),this.parent&&(this.handleChange(),h.y$.getNotifier(this.parent).subscribe(this,"cardFillColor"),h.y$.getNotifier(this.parent).subscribe(this,"cardSecondaryColor"),h.y$.getNotifier(this.parent).subscribe(this,"size"))}handleChange(){if(this.size=this.cardSize(),this.cardColor=this.colorSwatch(),this.cardColor){const e=(0,g.in)(this.cardColor);this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),e&&(this.gradientVariables=this.generateGradientVariables(e),this.$fastController.addStyles(this.gradientVariables))}}}(0,a.gn)([(0,u.Lj)({attribute:"heading-level",mode:"fromView",converter:u.Id}),(0,a.w6)("design:type",Number)],m.prototype,"headingLevel",void 0),(0,a.gn)([u.Lj,(0,a.w6)("design:type",String)],m.prototype,"size",void 0),(0,a.gn)([(0,u.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],m.prototype,"immersiveCard",void 0),(0,a.gn)([(0,u.Lj)({attribute:"media-type"}),(0,a.w6)("design:type",Object)],m.prototype,"mediaType",void 0),(0,a.gn)([(0,u.Lj)({attribute:"animate-video",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],m.prototype,"animateVideo",void 0),(0,a.gn)([(0,u.Lj)({attribute:"subscribed",mode:"boolean"}),(0,a.w6)("design:type",