5 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",Pe=Ie.i`
    .previous-flipper-ntp.windows:hover > svg > path,
    .previous-flipper-ntp.windows:focus-visible > svg > path {
        d: path("${Fe}");
    }

    .next-flipper-ntp.windows:hover > svg > path,
    .next-flipper-ntp.windows:focus-visible > svg > path {
        d: path("${Ee}");
    }

    .previous-flipper-img.windows:hover > svg > path,
    .previous-flipper-img.windows:focus-visible > svg > path {
        d: path("${Fe}");
    }

    .next-flipper-img.windows:hover > svg > path,
    .next-flipper-img.windows:focus-visible > svg > path {
        d: path("${Ee}");
    }
`,He=Ie.i`
    .previous-flipper-ntp.windows:hover > svg > path,
    .previous-flipper-ntp.windows:focus-visible > svg > path {
        d: path("${Ee}");
    }

    .next-flipper-ntp.windows:hover > svg > path,
    .next-flipper-ntp.windows:focus-visible > svg > path {
        d: path("${Fe}");
    }

    .previous-flipper-img.windows:hover > svg > path,
    .previous-flipper-img.windows:focus-visible > svg > path {
        d: path("${Ee}");
    }

    .next-flipper-img.windows:hover > svg > path,
    .next-flipper-img.windows:focus-visible > svg > path {
        d: path("${Fe}");
    }
`,Ue=Ie.i`
    ${(0,Se.j)("grid")} :host {
        --elevation: 4;
        box-sizing: border-box;
        font-family: ${Ce.SVJ};
        font-size: ${Ce.cSu};
        line-height: ${Ce.RUt};
        color: ${Ce.CHi};
        background: ${De.A4};
        border-radius: calc(${Ce.rSr} * 1px);
        ${Te.XC};
        overflow: hidden;
        height: 100%;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto 1fr;
        width: 100%;
        background-color: white;
    }

    .previous-flipper-ntp.windows,
    .next-flipper-ntp.windows {
        margin: 0 8px;
        width: 32px;
        height: 32px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0px;
        --elevation: 8;
        ${Te.XC};
        background: ${Ce.CHi};
        fill: ${Ce.jql};
    }

    ::slotted([slot="previous-flipper-ntp"]),
    .previous-flipper-ntp:not(.windows) {
        width: 24px;
        height: 24px;
        position: relative;
        top: 80px;
        left: 86px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        background: transparent;
        border-radius: 999px;
    }

    ::slotted([slot="next-flipper-ntp"]),
    .next-flipper-ntp:not(.windows) {
        width: 24px;
        height: 24px;
        position: relative;
        top: 80px;
        left: -86px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        background: transparent;
        border-radius: 999px;
    }

    ::slotted([slot="previous-flipper-ntp"]),
    .previous-flipper-ntp {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        z-index: 2;
        opacity: 1;
    }

    ::slotted([slot="next-flipper-ntp"]),
    .next-flipper-ntp {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        z-index: 2;
        opacity: 1;
    }

    .previous-flipper-img.windows,
    .next-flipper-img.windows {
        margin: 0 8px;
        width: 32px;
        height: 32px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0px;
        --elevation: 8;
        ${Te.XC};
        background: ${Ce.CHi};
        fill: ${Ce.jql};
    }

    ::slotted([slot="previous-flipper-img"]),
    .previous-flipper-img:not(.windows) {
        width: 24px;
        height: 24px;
        position: relative;
        top: 70px;
        left: 86px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        background: transparent;
        border-radius: 999px;
    }

    ::slotted([slot="next-flipper-img"]),
    .next-flipper-img:not(.windows) {
        width: 24px;
        height: 24px;
        position: relative;
        top: 70px;
        left: -86px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        background: transparent;
        border-radius: 999px;
    }

    ::slotted([slot="previous-flipper-img"]),
    .previous-flipper-img {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        z-index: 2;
        opacity: 1;
    }

    ::slotted([slot="next-flipper-img"]),
    .next-flipper-img {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        z-index: 2;
        opacity: 1;
    }

    .previous-flipper-show,
    .next-flipper-show {
        opacity: 1;
    }

    .next {
        transform: scale(0.6);
    }
    
    .previous {
        transform: scale(0.6);
    }

    ::slotted([slot="previous-flipper-img"])::before,
    .previous-flipper-img:not(.windows)::before,
    ::slotted([slot="next-flipper-img"])::before,
    .next-flipper-img:not(.windows)::before {
        border-radius: 999px;
        content: "";
        opacity: 0.3;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        transition: all 0.1s ease-in-out;
    }

    ::slotted([slot="previous-flipper-ntp"])::before,
    .previous-flipper-ntp:not(.windows)::before,
    ::slotted([slot="next-flipper-ntp"])::before,
    .next-flipper-ntp:not(.windows)::before {
        border-radius: 999px;
        content: "";
        opacity: 0.3;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        transition: all 0.1s ease-in-out;
    }

    .next-flipper-prong2 {
        width: 16px;
        height: 38px;
        position: relative;
        left: 283px;
        top: -152px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        opacity: 0;
    }

    .previous-flipper-prong2 {
        width: 16px;
        height: 38px;
        position: relative;
        left: 0px;
        top: -112px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        border: none;
        padding: 0;
        opacity: 0;
    }

    .next-flipper-prong2:hover,
    .previous-flipper-prong2:hover {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
        opacity: 1;
    }
    
    .next,
    .previous {
        position: relative;
        ${""} width: 16px;
        height: 16px;
        top: 1px;
    }

    ::slotted([slot="previous-flipper-ntp"]:${Me.b}),
    .previous-flipper-ntp:${Me.b},
    ::slotted([slot="next-flipper-ntp"]:${Me.b}),
    .next-flipper-ntp:${Me.b}{
        opacity: 1;
    }

    ::slotted([slot="previous-flipper-ntp"]:${Me.b})::before,
    .previous-flipper-ntp:${Me.b}::before,
    ::slotted([slot="next-flipper-ntp"]:${Me.b})::before,
    .next-flipper-ntp:${Me.b}::before {
        background: rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

    ::slotted([slot="previous-flipper-img"]:${Me.b}),
    .previous-flipper-img:${Me.b},
    ::slotted([slot="next-flipper-img"]:${Me.b}),
    .next-flipper-img:${Me.b}{
        opacity: 1;
    }

    ::slotted([slot="previous-flipper-img"]:${Me.b})::before,
    .previous-flipper-img:${Me.b}::before,
    ::slotted([slot="next-flipper-img"]:${Me.b})::before,
    .next-flipper-img:${Me.b}::before {
        background: rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

    :host([layout="1-column"]) {
        --heading-font-size: ${Ce.cSu};
        --heading-line-height: ${Ce.RUt};
    }

    .activeIndicator {
        grid-row: 2;
        grid-column: 1;
        width: 20px;
        height: 3px;
        border-radius: calc(${Ce.UWU} * 1px);
        justify-self: center;
        background: ${Ce.Avx};
    }

    .activeIndicatorTransition {
        transition: transform 0.2s ease-in-out;
    }

    .tabpanel {
        grid-row: 1/3;
        grid-column-start: 1;
        grid-column-end: 4;
        position: relative;
    }

    .bottom-container {
        grid-row: 1/3;
        grid-column-start: 1;
        grid-column-end: 4;
        display: flex;
        position: relative;
        top: 260px;
        width: 40px;
    }
    
    .index-container {
        color: rgba(0, 0, 0, 0.83);
        width: 25px;
        left: 44.5px;
        height: 16px;
        top: 10px;
        z-index: 99;
        position: relative;
        font-family: Segoe UI;
        font-size: 12px;
        line-height: 16px;
        align-items: center;
        text-align: center;  
    }

    ::slotted([slot="previous-flipper-ntp"]:hover)::before,
    .previous-flipper-ntp:hover::before,
    ::slotted([slot="next-flipper-ntp"]:hover)::before,
    .next-flipper-ntp:hover::before {
        background: rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

    ::slotted([slot="previous-flipper-img"]:hover)::before,
    .previous-flipper-img:hover::before,
    ::slotted([slot="next-flipper-img"]:hover)::before,
    .next-flipper-img:hover::before {
        background: rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

    .tablist {
        margin: auto auto 6px;
    }

    .index-container a{
        coloer: rgba(0, 0, 0, 0.83);
    }
`.withBehaviors(new Le.w("showTab",!1,Ie.i`
        .tablist {
            display: none;
        }
        `),new Le.w("showIndex",!0,Ie.i`
            .next-flipper-ntp:not(.windows) {
                top: 126px;
                left: -202px;
            }

            .previous-flipper-ntp:not(.windows) {
                top: 126px;
                left: 16px;
            }
            
            ::slotted([slot="previous-flipper-ntp"]:hover),
            .previous-flipper-ntp:hover,
            ::slotted([slot="next-flipper-ntp"]:hover),
            .next-flipper:hover {
                cursor: pointer;
            }

            ::slotted([slot="previous-flipper-ntp"])::before,
            .previous-flipper-ntp:not(.windows)::before,
            ::slotted([slot="next-flipper-ntp"])::before,
            .next-flipper-ntp:not(.windows)::before {
                background: ${Ce.jql};
            }
            `),new Le.w("isTwoNum",!0,Ie.i`
        .index-container {
            width: 20px;
        }`),new Le.w("prong2",!0,Ie.i`
        .tablist {
            margin: auto;
            overflow: hidden;
            position: relative;
            left: -112px;
            top: 43px;
        }

        :host([aria-selected="true"]) {
            z-index: 2;
            min-height: 6px;
            min-width: 6px;
            opacity: 0.99;
            background: rgba(0, 0, 0, 0.447);
        }

        :host {
            background: transparent;
        }
        `),new Le.w("isTwoNumL",!0,Ie.i`
        .index-container {
            left: 41px;
        }`),new Le.w("newFlipper",!0,Ie.i`
        ::slotted([slot="previous-flipper-ntp"]), 
        .previous-flipper-ntp:not(.windows) {
            width: 16px;
            height: 48px;
            top: -12px;
            left: 0px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0px;
            border: none;
            padding: 0px;
            background: transparent;
            border-radius: 0px;
        }
        
        ::slotted([slot="next-flipper-ntp"]), 
        .next-flipper-ntp:not(.windows) {
            width: 16px;
            height: 48px;
            top: -12px;
            left: 0px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0px;
            border: none;
            padding: 0px;
            background: transparent;
            border-radius: 0px;
        }
        `),new Le.w("newFlipperBack",!0,Ie.i`
        ::slotted([slot="previous-flipper-ntp"]), 
        .previous-flipper-ntp:not(.windows),
        ::slotted([slot="next-flipper-ntp"]), 
        .next-flipper-ntp:not(.windows) {
            background: lightgrey;
        }
        `),new Le.w("isHalfCard",!0,Ie.i`
        :host([aria-selected="true"]) {
            background-color: rgba(0, 0, 0, 0.4458);
        }

        :host {
            background-color: rgba(0, 0, 0, 0.447);
        }

        .previous-flipper-prong2 {
            top: -20px;
        }

        .next-flipper-prong2 {
            top: -60px;
        }
        `),new ke.O(Pe,He),(0,Ae.Uu)(Ie.i`
            ::slotted([slot="previous-flipper-ntp"]),
            .previous-flipper-ntp:not(.windows),
            ::slotted([slot="next-flipper-ntp"]),
            .next-flipper-ntp:not(.windows) {
                fill: ${Ce.jql};
                color: ${Ce.jql};
            }

            ::slotted([slot="previous-flipper-ntp"])::before,
            .previous-flipper-ntp:not(.windows)::before,
            ::slotted([slot="next-flipper-ntp"])::before,
            .next-flipper-ntp:not(.windows)::before {
                background: ${Ce.CHi};
            }


            .previous-flipper-ntp.windows,
            .next-flipper-ntp.windows {
                fill: ${Ce.CHi};
                background: ${De.A4}
            }

            :host(:hover) ::slotted([slot="previous-flipper-ntp"]),
            :host(:hover) .previous-flipper-ntp,
            :host(:hover) ::slotted([slot="next-flipper-ntp"]),
            :host(:hover) .next-flipper-ntp {
                opacity: 1;
                transition: opacity 0.2s ease-in-out;
            }

            .index-container {
                color: white;
            }

            .arrow-previous svg path {
                fill: white;
            }
        
            .arrow-next svg path {
                fill: white;
            }
        `),new Le.w("isMSNHP",!0,Ie.i`
        .index-container {
            color: black;
        }

        ::slotted([slot="previous-flipper-ntp"]),
        .previous-flipper-ntp:not(.windows),
        ::slotted([slot="next-flipper-ntp"]),
        .next-flipper-ntp:not(.windows) {
            fill: black;
            color: black;
        }

        .previous-flipper-ntp.windows,
        .next-flipper-ntp.windows {
            fill: black;
            background: black;
        }
        `),(0,Ae.vF)(Ie.i`
            .activeIndicator {
                forced-color-adjust: none;
                background: ${Oe.H.Highlight};
            }

            .previous-flipper-ntp.windows,
            .next-flipper-ntp.windows {
                background: ${Oe.H.ButtonFace};
            }

        `));var je=i(51208),Be=i(39181),ze=i(90960),Ne=i(13988),_e=i(58952),Ge=i(60577),qe=i(34550),Ze=i(26007);const Ve=Be.d`
<span part="next" class="next">
    <slot name="next" class="arrow-next">
        <svg width="12" height="12" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M-4.33699e-08 0.992187C-3.73368e-08 0.854166 0.0260416 0.72526 0.078125 0.605468C0.132812 0.485677 0.204427 0.380208 0.292969 0.289062C0.384115 0.200521 0.489583 0.130208 0.609375 0.0781247C0.731771 0.0260414 0.861979 -2.68301e-07 1 -2.62268e-07C1.10938 -2.57487e-07 1.20964 0.0143227 1.30078 0.0429685C1.39193 0.0742185 1.48177 0.119791 1.57031 0.179687L5.35547 2.78125C5.45443 2.84896 5.54167 2.92839 5.61719 3.01953C5.69271 3.11068 5.75521 3.20833 5.80469 3.3125C5.85677 3.41927 5.89583 3.53125 5.92187 3.64844C5.94792 3.76562 5.96094 3.88281 5.96094 4C5.96094 4.11719 5.94792 4.23437 5.92187 4.35156C5.89583 4.46875 5.85677 4.57943 5.80469 4.68359C5.75521 4.79036 5.69271 4.88932 5.61719 4.98047C5.54167 5.07161 5.45443 5.15104 5.35547 5.21875L1.57031 7.82031C1.48177 7.88021 1.39193 7.92448 1.30078 7.95312C1.20964 7.98437 1.10937 8 1 8C0.861979 8 0.73177 7.97396 0.609375 7.92187C0.489583 7.86979 0.384114 7.79948 0.292968 7.71094C0.204427 7.6224 0.132812 7.51693 0.0781247 7.39453C0.0260413 7.27474 -3.12411e-07 7.14714 -3.06492e-07 7.01172L-4.33699e-08 0.992187Z" fill="white" fill-opacity="0.5442"/>
        </svg>
    </slot>
</span>`,Re=Be.d`
<span part="previous" class="previous">
    <slot name="previous" class="arrow-previous">
        <svg width="12" height="12" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M6 7.00781C6 7.14583 5.97396 7.27474 5.92188 7.39453C5.86719 7.51432 5.79557 7.61979 5.70703 7.71094C5.61589 7.79948 5.51042 7.86979 5.39063 7.92188C5.26823 7.97396 5.13802 8 5 8C4.89062 8 4.79036 7.98568 4.69922 7.95703C4.60807 7.92578 4.51823 7.88021 4.42969 7.82031L0.644531 5.21875C0.545573 5.15104 0.458333 5.07161 0.382813 4.98047C0.307292 4.88932 0.244792 4.79167 0.195313 4.6875C0.143229 4.58073 0.104167 4.46875 0.078125 4.35156C0.0520834 4.23438 0.0390625 4.11719 0.0390625 4C0.0390625 3.88281 0.0520834 3.76563 0.0781251 3.64844C0.104167 3.53125 0.143229 3.42057 0.195313 3.31641C0.244792 3.20964 0.307292 3.11068 0.382813 3.01953C0.458333 2.92839 0.545573 2.84896 0.644531 2.78125L4.42969 0.179688C4.51823 0.119792 4.60807 0.0755209 4.69922 0.0468751C4.79036 0.0156251 4.89063 7.0245e-08 5 7.15493e-08C5.13802 7.31952e-08 5.26823 0.0260417 5.39063 0.0781251C5.51042 0.130208 5.61589 0.200521 5.70703 0.289063C5.79557 0.377604 5.86719 0.483073 5.92188 0.605469C5.97396 0.72526 6 0.852865 6 0.988281L6 7.00781Z" fill="white" fill-opacity="0.5442"/>
        </svg>
    </slot>
</span>`,We=Be.d`
<span part="next" class="next">
    <slot name="next" class="arrow-next">
        <svg width="14" height="14" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M-4.33699e-08 0.992187C-3.73368e-08 0.854166 0.0260416 0.72526 0.078125 0.605468C0.132812 0.485677 0.204427 0.380208 0.292969 0.289062C0.384115 0.200521 0.489583 0.130208 0.609375 0.0781247C0.731771 0.0260414 0.861979 -2.68301e-07 1 -2.62268e-07C1.10938 -2.57487e-07 1.20964 0.0143227 1.30078 0.0429685C1.39193 0.0742185 1.48177 0.119791 1.57031 0.179687L5.35547 2.78125C5.45443 2.84896 5.54167 2.92839 5.61719 3.01953C5.69271 3.11068 5.75521 3.20833 5.80469 3.3125C5.85677 3.41927 5.89583 3.53125 5.92187 3.64844C5.94792 3.76562 5.96094 3.88281 5.96094 4C5.96094 4.11719 5.94792 4.23437 5.92187 4.35156C5.89583 4.46875 5.85677 4.57943 5.80469 4.68359C5.75521 4.79036 5.69271 4.88932 5.61719 4.98047C5.54167 5.07161 5.45443 5.15104 5.35547 5.21875L1.57031 7.82031C1.48177 7.88021 1.39193 7.92448 1.30078 7.95312C1.20964 7.98437 1.10937 8 1 8C0.861979 8 0.73177 7.97396 0.609375 7.92187C0.489583 7.86979 0.384114 7.79948 0.292968 7.71094C0.204427 7.6224 0.132812 7.51693 0.0781247 7.39453C0.0260413 7.27474 -3.12411e-07 7.14714 -3.06492e-07 7.01172L-4.33699e-08 0.992187Z" fill="black" fill-opacity="0.5442"/>
        </svg>
    </slot>
</span>`,Ye=Be.d`
<span part="previous" class="previous">
    <slot name="previous" class="arrow-previous">
        <svg width="14" height="14" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M6 7.00781C6 7.14583 5.97396 7.27474 5.92188 7.39453C5.86719 7.51432 5.79557 7.61979 5.70703 7.71094C5.61589 7.79948 5.51042 7.86979 5.39063 7.92188C5.26823 7.97396 5.13802 8 5 8C4.89062 8 4.79036 7.98568 4.69922 7.95703C4.60807 7.92578 4.51823 7.88021 4.42969 7.82031L0.644531 5.21875C0.545573 5.15104 0.458333 5.07161 0.382813 4.98047C0.307292 4.88932 0.244792 4.79167 0.195313 4.6875C0.143229 4.58073 0.104167 4.46875 0.078125 4.35156C0.0520834 4.23438 0.0390625 4.11719 0.0390625 4C0.0390625 3.88281 0.0520834 3.76563 0.0781251 3.64844C0.104167 3.53125 0.143229 3.42057 0.195313 3.31641C0.244792 3.20964 0.307292 3.11068 0.382813 3.01953C0.458333 2.92839 0.545573 2.84896 0.644531 2.78125L4.42969 0.179688C4.51823 0.119792 4.60807 0.0755209 4.69922 0.0468751C4.79036 0.0156251 4.89063 7.0245e-08 5 7.15493e-08C5.13802 7.31952e-08 5.26823 0.0260417 5.39063 0.0781251C5.51042 0.130208 5.61589 0.200521 5.70703 0.289063C5.79557 0.377604 5.86719 0.483073 5.92188 0.605469C5.97396 0.72526 6 0.852865 6 0.988281L6 7.00781Z" fill="black" fill-opacity="0.5442"/>
        </svg>
    </slot>
</span>`,Je=Be.d`
<span part="next" class="next">
    <slot name="next" class="arrow-next">
        <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
            <path
                d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"
            />
        </svg>
    </slot>
</span>`,Xe=Be.d`
<span part="previous" class="previous">
    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
        <path
            d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"
        />
    </svg>
</span>`,Qe=Be.d`
    <div class="tabpanel">
        <slot name="tabpanel" part="tabpanel" ${(0,ze.Q)("tabpanels")}></slot>
    </div>

    <slot name="previous-flipper-${e=>e.canvas}">
        <button
            title="${e=>e.previousFlipperTitle}"
            part="previous-flipper-${e=>e.canvas}"
            aria-label="previous-flipper-${e=>e.canvas}"
            class="previous-flipper-${e=>e.canvas} ${e=>e.alwaysShowFlippers?"previous-flipper-show":""} ${e=>e.useWindowsStyles?"windows":""}"
            @keypress="${(e,t)=>e.slideKeyPressHandler(t.event,-1)}"
            @click="${(e,t)=>e.slideKeyPressHandler(t.event,-1)}"
            data-t="${e=>e.previousFlipperTelemetryTag}">
            ${(0,Ne.g)((e=>e.direction===Ze.N.rtl),Be.d`
                ${(0,Ne.g)((e=>e.showIndex&&!e.newFlipper&&!e.prong2),Je)}
                ${(0,Ne.g)((e=>e.useWindowsStyles&&!e.showIndex&&!e.newFlipper&&!e.prong2),Be.d`${qe.Z}`)}
                ${(0,Ne.g)((e=>!(e.useWindowsStyles||e.showIndex||e.newFlipper||e.prong2)),Ve)}
                ${(0,Ne.g)((e=>e.newFlipper||e.prong2),We)}
            `)}
            ${(0,Ne.g)((e=>e.direction===Ze.N.ltr),Be.d`
                ${(0,Ne.g)((e=>e.showIndex&&!e.newFlipper&&!e.prong2),Xe)}
                ${(0,Ne.g)((e=>e.useWindowsStyles&&!e.showIndex&&!e.newFlipper&&!e.prong2),Be.d`${Ge.Z}`)}
                ${(0,Ne.g)((e=>!(e.useWindowsStyles||e.showIndex||e.newFlipper||e.prong2)),Re)}
                ${(0,Ne.g)((e=>e.newFlipper||e.prong2),Ye)}
            `)}
        </button>
    </slot>
    
    ${je.hX}
    <div class="tablist ${e=>e.useWindowsStyles?"windows":""}" part="tablist" role="tablist">
        <slot class="tab" name="tab" part="tab" ${(0,ze.Q)("tabs")}></slot>

        ${(0,Ne.g)((e=>e.activeindicator),Be.d`
                <div
                    ${(0,_e.i)("activeIndicatorRef")}
                    class="activeIndicator"
                    part="activeIndicator"
                ></div>
            `)}
    </div>

    <slot name="next-flipper-${e=>e.canvas}">
        <button
            title="${e=>e.nextFlipperTitle}"
            part="next-flipper-${e=>e.canvas}"
            aria-label="next-flipper-${e=>e.canvas}"
            class="next-flipper-${e=>e.canvas} ${e=>e.alwaysShowFlippers?"next-flipper-show":""} ${e=>e.useWindowsStyles?"windows":""}"
            @keypress="${(e,t)=>e.slideKeyPressHandler(t.event,1)}"
            @click="${(e,t)=>e.slideKeyPressHandler(t.event,1)}"
            data-t="${e=>e.nextFlipperTelemetryTag}">
            ${(0,Ne.g)((e=>e.direction===Ze.N.rtl),Be.d`
                ${(0,Ne.g)((e=>e.showIndex&&!e.newFlipper&&!e.prong2),Xe)}
                ${(0,Ne.g)((e=>e.useWindowsStyles&&!e.showIndex&&!e.newFlipper&&!e.prong2),Be.d`${Ge.Z}`)}
                ${(0,Ne.g)((e=>!(e.useWindowsStyles||e.showIndex||e.newFlipper||e.prong2)),Re)}
                ${(0,Ne.g)((e=>e.newFlipper||e.prong2),Ye)}
            `)}
            ${(0,Ne.g)((e=>e.direction===Ze.N.ltr),Be.d`
                ${(0,Ne.g)((e=>e.showIndex&&!e.newFlipper&&!e.prong2),Je)}
                ${(0,Ne.g)((e=>e.useWindowsStyles&&!e.showIndex&&!e.newFlipper&&!e.prong2),Be.d`${qe.Z}`)}
                ${(0,Ne.g)((e=>!(e.useWindowsStyles||e.showIndex||e.newFlipper||e.prong2)),Ve)}
                ${(0,Ne.g)((e=>e.newFlipper||e.prong2),We)}
            `)}
        </button>
    </slot>

    ${je.zq}

    ${(0,Ne.g)((e=>e.showIndex),Be.d`
        <div class="bottom-container">
            <span class="index-container">
                ${e=>e.showTabIndex+1+"/"+e.getTabIds().length}
            </span>
        </div>
    `)}


`;class Ke extends xe.H{constructor(){super(...arguments),this.data="",this.type=J.Qna}connectedCallback(){const e=oe.get(this.type);null!=e&&(this.cardData=e(this.data).items),super.connectedCallback()}}(0,d.gn)([j.LO],Ke.prototype,"card",void 0),(0,d.gn)([j.LO],Ke.prototype,"isHalfCard",void 0),(0,d.gn)([j.LO],Ke.prototype,"data",void 0),(0,d.gn)([j.LO],Ke.prototype,"type",void 0),(0,d.gn)([j.LO],Ke.prototype,"formCode",void 0),(0,d.gn)([j.LO],Ke.prototype,"telemetryTag",void 0);const et="Segoe UI",tt=Ie.i`
    .qna-contanier {
        width: 248px;
    }

    .qna-list {
        position: relative;
        height: 220px;
        width: 268px;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .qna-domain:hover,
    .qna-topic-item:hover,
    .qna-question:hover {
        text-decoration: underline;
    }

    .qna-li:hover {
        transform: scale(1.05);
    }

    .qna-icon svg{
        transform: scale(0.85);
        position: relative;
        top: 4px;
    }

    .qna-li {
        position: relative;
        background: aliceblue;
        margin: 8px;
        border-radius: 6px;
        width: 248px;
        height: 100px;
        overflow: hidden;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.5);
    }

    .qna-question {
        position: relative;
        top: 4px;
        font-family: ${et};
        font-weight: ${"600"};
        font-size: 16px;
        left: 12px;
        width: 230px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        text-decoration: none;
        line-height: 20px;
        -webkit-line-clamp: 2;
        margin: 0;
        outline: 0;
    }

    .qna-domain {
        position: relative;
        top: 6px;
        font-family: ${et};
        font-size: 8px;
        left: 12px;
    }

    div.qna-li:hover > div.qna-question {
        -webkit-line-clamp: 4;
    }

    div.qna-li:hover > div.qna-domain,
    div.qna-li:hover > div.qna-topics {
        display: none;
    }
    
    .qna-topics {
        position: relative;
        top: 10px;
        font-family: ${et};
        font-size: 8px;
        left: 12px;
    }

    .qna-topic-item {
        font-family: ${et};
        font-size: 8px;
        background: white;
        margin: 0px 5px 5px 0px;
        color: black;
        border-radius: 3px;
        padding: 2px;
        opacity: 1;
    }

    .qna-list::-webkit-scrollbar {
        width: 4px;
    }

    .qna-list::-webkit-scrollbar-thumb {
        border-radius: 20px;
        height: 160px;
        -webkit-box-shadow: inset 0 0 5px #eee;
        background: ${Ce.Q5n};
    }

    a {
        font-family: ${et};
        text-decoration:none;
        color: rgba(0, 0, 0, 0.83);
    }
    `.withBehaviors((0,Ae.Uu)(Ie.i`
            .qna-topic-item,
            .qna-domain,
            .qna-question {
                color: white;
            }
            
            .qna-icon svg path {
                stroke: white;
                fill: white;
                opacity: 1;
            }

            .qna-li {
                background: rgb(255,255,255,0.09);
            }

            .qna-topic-item {
                background: rgb(255,255,255,0.15);
            }
        `),new Le.w("isHalfCard",!0,Ie.i`
        
        `));var it=i(18864),at='<svg width="22" height="19" viewBox="0 0 22 19" fill="#212121" focusable="false"><path d="M7.14 3.3a2.83 2.83 0 0 1 3 .28c.5.42.86 1.07.86 1.92 0 .97-.69 1.5-1.08 1.8l-.08.07c-.43.33-.59.51-.59.88a.75.75 0 0 1-1.5 0c0-1.13.71-1.7 1.16-2.06.51-.4.59-.5.59-.69 0-.4-.15-.62-.32-.76-.2-.16-.46-.24-.68-.24-.3 0-.5.05-.65.13-.14.08-.3.21-.44.48a.75.75 0 1 1-1.32-.71c.26-.49.61-.86 1.05-1.1ZM8.5 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-12a7.5 7.5 0 0 0-6.8 10.67l-.72 2.84c-.23.92.59 1.75 1.5 1.53l2.93-.7A7.5 7.5 0 1 0 8.5 0Zm-6 7.5a6 6 0 1 1 3.33 5.37l-.24-.12-.27.07-2.79.66.7-2.7.06-.28-.13-.25A5.97 5.97 0 0 1 2.5 7.5Zm11 10.5a7.47 7.47 0 0 1-5.1-2 8.28 8.28 0 0 0 2.18-.26 5.97 5.97 0 0 0 5.59.13l.24-.12.27.07c.92.22 1.96.44 2.74.6a142 142 0 0 0-.64-2.64l-.07-.28.13-.25a5.97 5.97 0 0 0-2.09-7.8 8.44 8.44 0 0 0-.8-2.04 7.5 7.5 0 0 1 4.35 10.26l.67 2.8c.2.9-.58 1.7-1.47 1.5-.73-.15-1.87-.39-2.91-.63-.94.42-1.99.66-3.09.66Z"/></svg>';const rt=Be.d`
    <div class="qna-list">
        ${(0,it.rx)((e=>e.cardData),Be.d`
            <a href=${(e,t)=>(0,ne.fR)(e.redirectUrl,t.parent.formCode)} class="qna-contanier" target="_blank" data-t="${(e,t)=>t.parent.telemetryTag}">
                <div class="qna-li">
                    <div class="qna-question">
                        <span class="qna-icon">
                            ${at}
                        </span>
                        ${e=>e.question}
                    </div>
                    <div class="qna-domain">
                        ${e=>e.domain}
                    </div>
                    <div class="qna-topics">
                        ${(0,it.rx)((e=>e.topics.slice(0,3)),Be.d`
                        <span class="qna-topic-item">
                            ${e=>e}
                        </span>
                        `)}
                    </div>
                </div>
            </a>
        `,{positioning:!0})}
    </div>
`;class ot extends xe.H{constructor(){super(...arguments),this.data="",this.type=J.EntityRanking}connectedCallback(){const e=oe.get(this.type);null!=e&&(this.cardData=e(this.data).rankingList),super.connectedCallback()}}(0,d.gn)([j.LO],ot.prototype,"isHalfCard",void 0),(0,d.gn)([j.LO],ot.prototype,"data",void 0),(0,d.gn)([j.LO],ot.prototype,"type",void 0),(0,d.gn)([j.LO],ot.prototype,"formCode",void 0),(0,d.gn)([j.LO],ot.prototype,"seeCarsNearYou",void 0),(0,d.gn)([j.LO],ot.prototype,"telemetryTag",void 0);const nt="Segoe UI",st=Ie.i`
    .ranking-image-list {
        position: relative;
        height: 92%;
        width: 268px;
        overflow-y: scroll;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
    }

    .ranking-image {
        border-radius: 40%;
    }

    .ranking-popular-0 {
        position: absolute;
        margin: auto;
        left: 200px;
        top: 20px;
    }

    .ranking-popular-1 {
        position: absolute;
        margin: auto;
        left: 210px;
        top: 20px;
    }

    .ranking-popular-2 {
        position: absolute;
        margin: auto;
        left: 220px;
        top: 20px;
    }

    .ranking-popular-3 {
        position: absolute;
        margin: auto;
        left: 230px;
        top: 20px;
    }

    .ranking-li:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    }

    .ranking-image:hover {
        transform: scale(1.1);
    }
    
    .ranking-li {
        position: relative;
        background: rgba(255, 255, 255, 0.5);
        margin: 4px;
        border-radius: 2px;
        width: 248px;
        height: 64px;
        box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, calc(0.11 * (2 - var(--background-luminance, 1)))), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, calc(0.13 * (2 - var(--background-luminance, 1))));
    }

    .ranking-image {
        width: 60px;
        position: relative;
        top: 12px;
        left: 12px;
    }

    .ranking-index {
        font-family: ${nt};
        font-weight: ${"600"};
        font-size: 10px;
        position: relative;
        left: 12px;
    }

    .number-of-listing-count {
        position: absolute;
        top: 30px;
        left: 89px;
        font-size: 10px;
        font-family: ${nt};
        font-weight: 400;
    }

    .ranking-title {
        position: relative;
        left: 16px;
        top: -12px;
        font-size: 10px;
        font-family: ${nt};
        font-weight: ${"600"};
    }

    .ranking-image-list::-webkit-scrollbar {
        width: 4px;
    }

    .ranking-image-list::-webkit-scrollbar-thumb {
        border-radius: 20px;
        height: 160px;
        -webkit-box-shadow: inset 0 0 5px #eee;
        background: ${Ce.Q5n};
    }

    a {
        font-family: ${nt};
        text-decoration:none;
        color: rgba(0, 0, 0, 0.83);
    }
    `.withBehaviors((0,Ae.Uu)(Ie.i`
            .number-of-listing-count,
            .ranking-title,
            .ranking-index {
                color: #FFFFFF;
            }
        `),new Le.w("isHalfCard",!0,Ie.i`
        
        `)),lt=Be.d`
    <div class="ranking-image-list">
        ${(0,it.rx)((e=>e.cardData),Be.d`
            <a href=${(e,t)=>(0,ne.fR)(e.entity.url,t.parent.formCode)}  class="ranking-contanier" target="_blank" data-t="${(e,t)=>t.parent.telemetryTag}">
                <div class="ranking-li">
                    <span class="ranking-index" id="ranking-index-${(e,t)=>t.index+1}">
                        ${(e,t)=>t.index+1}
                    </span>
                    <img class="ranking-image" src=${e=>e.entity.thumbnail}>
                    ${(0,Ne.g)((e=>e.entity.year),Be.d`
                        <span class="ranking-title">
                            ${e=>`       ${e.entity.year} ${e.entity.make} ${e.entity.model}`}
                        </span>
                    `)}
                    ${(0,Ne.g)((e=>!e.entity.year),Be.d`
                        <span class="ranking-title">
                            ${e=>`       ${e.entity.make} ${e.entity.model}`}
                        </span>
                    `)}
                    ${(0,Ne.g)((e=>e.entity.numberOfListingsCount),Be.d`
                        <span class="number-of-listing-count">
                            ${(e,t)=>t.parent.seeCarsNearYou.replace("{0}",e.entity.numberOfListingsCount)}
                        </span>
                    `)}
                </div>
            </a>
        `,{positioning:!0})}
    </div>
`;class dt extends xe.H{constructor(){super(...arguments),this.seeMoreCarsUrl="https://www.msn.com/en-us/autos/marketplace/search?sortby=relevance&form=ANMAE2&orderby=asc&r=50&qf=c3RhdGVvZnZlaGljbGU6JTVCJTIyVXNlZCUyMiU1RA==",this.sellYourCarsUrl="https://www.msn.com/en-us/autos/marketplace/sellyourcar?form=ANMAE2",this.qnaUrl="https://www.msn.com/en-us/autos/marketplace/qna?page=1&form=ANMAE2",this.couponsAndDealsUrl="https://www.msn.com/en-us/autos/marketplace/coupons?page=1&sortby=geolocation&orderby=asc&r=50&form=ANMAE2"}}(0,d.gn)([j.LO],dt.prototype,"isHalfCard",void 0),(0,d.gn)([j.LO],dt.prototype,"isMSNHP",void 0),(0,d.gn)([j.LO],dt.prototype,"seeMoreFormCode",void 0),(0,d.gn)([j.LO],dt.prototype,"seeMoreCarsString",void 0),(0,d.gn)([j.LO],dt.prototype,"sellYourCarsString",void 0),(0,d.gn)([j.LO],dt.prototype,"qnaString",void 0),(0,d.gn)([j.LO],dt.prototype,"couponsAndDealsString",void 0),(0,d.gn)([j.LO],dt.prototype,"telemetryTag",void 0);const ct=Ie.i`
    .see-more-string {
        position: relative;
        top: -6px;
        color: rgba(0, 0, 0, 0.83);
    }

    .see-more-container {
        position: relative;
        left: 20px;
    }

    .see-more-container-1 {
        position: relative;
        left: 20px;
        top: 40px;
    }

    .see-more-container-2 {
        position: relative;
        left: 22px;
        top: 110px;
    }
    
    .icon-2 {
        position: relative;
        left: 44px;
    }

    .icon-4 {
        position: relative;
        left: 74px;
    }

    a {
        font-family: ${"Segoe UI"};
        text-decoration:none;
        color: rgba(0, 0, 0, 0.83);
        font-size: 10px;
    }
    `.withBehaviors((0,Ae.Uu)(Ie.i`
            .see-more-string {
                color: #FFFFFF;
            }

            .icon-1 svg path,
            .icon-2 svg path,
            .icon-3 svg path,
            .icon-4 svg path {
                stroke: white;
                fill: white;
                opacity: 1;
            }
        `),new Le.w("isHalfCard",!0,Ie.i`
            .see-more-container-1 {
                top: 0px;
            }
        
            .see-more-container-2 {
                top: 10px;
            }
        `),new Le.w("isMSNHP",!0,Ie.i`
        .see-more-string {
            color: black;
        }

        .icon-1 svg path,
        .icon-2 svg path,
        .icon-3 svg path,
        .icon-4 svg path {
            stroke: black;
            fill: black;
            opacity: 1;
        }
    `));const pt=Be.d`
    <div class="see-more-container-1" >
        <span class="icon-1">
            <a href=${e=>e.seeMoreCarsUrl} target="_blank" data-t="${e=>e.telemetryTag}">
                ${'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" focusable="false"><path d="M7.5 11.25a.94.94 0 1 1-1.87 0 .94.94 0 0 1 1.87 0Zm5.94.94a.94.94 0 1 0 0-1.88.94.94 0 0 0 0 1.88Zm-9.65-4.6.01-.09h-.67a.62.62 0 1 1 0-1.25h.84l.2-1.57A2.5 2.5 0 0 1 6.65 2.5h6.7a2.5 2.5 0 0 1 2.48 2.18l.2 1.57h.84a.62.62 0 1 1 0 1.25h-.68l.01.09c.75.24 1.3.95 1.3 1.79v3.74c0 1.04-.84 1.88-1.88 1.88v1.56a.94.94 0 1 1-1.87 0V15h-7.5v1.56a.94.94 0 1 1-1.88 0V15a1.88 1.88 0 0 1-1.87-1.88V9.38c0-.84.54-1.54 1.3-1.79Zm1.62-2.75L5.07 7.5h9.86l-.34-2.66a1.25 1.25 0 0 0-1.24-1.09h-6.7c-.63 0-1.16.47-1.24 1.09Zm10.21 8.91c.35 0 .63-.28.63-.63V9.38a.62.62 0 0 0-.63-.63H4.38a.62.62 0 0 0-.63.63v3.74c0 .35.28.63.63.63h11.25Z" fill="#212121"/></svg>'}
                <span class=see-more-string>
                    ${e=>e.seeMoreCarsString}
                </span>
            </a>
        </span>

        <span class="icon-2">
            <a href=${e=>e.sellYourCarsUrl} target="_blank" data-t="${e=>e.telemetryTag}">
                ${'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" focusable="false"><path d="M13.75 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z" fill="#212121"/><path d="M9.38 15v-.63h1.24c.35 0 .63-.27.63-.62V12.5h1.25a5 5 0 1 0-4.8-3.59l-4.83 4.84c-.24.23-.37.55-.37.88v1.62c0 .69.56 1.25 1.25 1.25h2.5c.69 0 1.25-.56 1.25-1.25v-.63h1.25c.35 0 .63-.27.63-.62Zm-.63-7.5a3.75 3.75 0 1 1 3.75 3.75h-1.88a.62.62 0 0 0-.62.63v1.24H8.75a.62.62 0 0 0-.63.63v.63H6.88a.62.62 0 0 0-.63.62v1.25h-2.5v-1.62l5.11-5.1A.62.62 0 0 0 9 8.84a3.74 3.74 0 0 1-.25-1.35Z" fill="#212121"/></svg>'}  
                <span class=see-more-string>
                    ${e=>e.sellYourCarsString}
                </span>
            </a>
        </span>
    </div>

    <div class="see-more-container-2">
        <span class="icon-3">
            <a href=${e=>e.qnaUrl} target="_blank" data-t="${e=>e.telemetryTag}">
                ${at}
                <span class=see-more-string>
                    ${e=>e.qnaString}
                </span>
            </a>
        </span>

        <span class="icon-4">
            <a href=${e=>e.couponsAndDealsUrl} target="_blank" data-t="${e=>e.telemetryTag}">
                ${'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" focusable="false"><path d="M10.83 5.08c.38.37.99.37 1.37 0a.95.95 0 0 0 0-1.36.97.97 0 0 0-1.37 0 .95.95 0 0 0 0 1.36ZM1.17 7.16a2.49 2.49 0 0 0 0 3.54l4.14 4.11c.98.98 2.57.98 3.56 0L14.73 9c.46-.47.73-1.1.73-1.75l.03-4.22A2.5 2.5 0 0 0 12.97.5L8.89.52c-.67 0-1.3.26-1.77.73L1.17 7.16Zm.89 2.65c-.5-.48-.5-1.28 0-1.76L8 2.13c.23-.23.55-.36.88-.36l4.08-.02c.7 0 1.27.56 1.27 1.26l-.03 4.22c0 .32-.14.64-.37.87l-5.86 5.83c-.5.48-1.3.48-1.78 0L2.06 9.8Z" fill="#212121"/></svg>'}  
                <span class=see-more-string>
                    ${e=>e.couponsAndDealsString} 
                </span>
            </a>
        </span>
    </div>
`;var ht=i(69298),ut=i(1393),gt=i(39391);class vt extends xe.H{constructor(){super(),this.imageAutoScroll=!1,(0,ge.z)().withShadowRootMode("closed").withElementDisambiguation((()=>P.h.ignoreDuplicate)).register((0,ht.ay)(),(0,fe.hb)(),(0,ut.EK)(),(0,gt.xg)())}connectedCallback(){super.connectedCallback(),!this.isProng2&&this.cardFormat?(this.card=this.cards[this.currentCardIndex],this.type=this.card.type,this.variant=this.card.variant):this.isProng2||this.cardFormat||(this.autosEntity=this.autosEntities[this.currentCardIndex]),this.card?this.mapDataFromCardV2():this.autosEntity&&this.mapDataFromCardV1()}currentCardIndexChanged(){!this.isProng2&&this.cardFormat?(this.card=this.cards[this.currentCardIndex],this.type=this.card.type,this.variant=this.card.variant):this.isProng2||this.cardFormat||(this.autosEntity=this.autosEntities[this.currentCardIndex]),this.card||this.isProng2?this.mapDataFromCardV2():this.autosEntity&&this.mapDataFromCardV1()}mapDataFromCardV1(){this.priceInfo=this.autosEntity.price.currency+(0,ne.U3)(this.autosEntity.price.msrpMin),this.mileageInfo=(0,ne.lH)(this.autosEntity),this.imageUrl=this.autosEntity.detail.imageUrl,this.autosEntity.detail.imageUrlList&&(this.imageUrlList=this.autosEntity.detail.imageUrlList.slice(0,5),this.imageUrlList[0]=this.imageUrl),this.detailPageUrl=(0,ne.fR)(this.autosEntity.detail.detailPageUrl,this.formCode),this.carTitleText=(0,ne.SL)(this.autosEntity,70),this.getAutosBadgeV1()}getAutosBadgeV1(){this.autosEntity.isPopular?this.showBadge="Popular":this.autosEntity.hasPriceDrop?this.showBadge="PriceDrop":this.autosEntity.dealRating?this.showBadge="GreatDeal":this.showBadge="Null",this.accidentsIconUrl=this.autosEntity.accidentsIconUrl,this.carfaxReportIconUrl=this.autosEntity.carfaxReportIconUrl,this.hasAccident=this.autosEntity.hasAccident,this.hasCarfax=this.autosEntity.hasCarfax,this.enableAccident||(this.hasAccident=!0),this.enableCarfax||(this.hasCarfax=!1),this.enableCarfax&&!this.hasAccident&&(this.hasCarfax=!1)}mapDataFromCardV2(){const e=oe.get(this.card.type);if(null!=e&&(this.cardData=e(this.card.data)),this.card.type==J.Entity||this.card.type==J.Listing){if(this.variant!=X.PriceDrop||this.useDefaultListing)this.type==J.Entity?this.priceRangeText=(0,ne.J6)(this.cardData):(this.priceInfo=this.cardData.price.currency+(0,ne.U3)(this.cardData.price.msrpMin),this.mileageInfo=(0,ne.lH)(this.cardData));else{if(this.priceString=(0,ne.LY)(this.cardData),this.priceString.length>0){const e=this.priceString.split(".",2);this.priceUnit=e[0].slice(0,1),this.priceIntergerPartString=(0,ne.U3)(Number(e[0])),this.priceDecimalPartString=e[1]}this.mileageInfo=(0,ne.lH)(this.cardData)}this.imageUrl=this.cardData.detail.imageUrl,this.cardData.detail.imageUrlList&&(this.imageUrlList=this.cardData.detail.imageUrlList.slice(0,5),this.imageUrlList[0]=this.imageUrl),this.detailPageUrl=(0,ne.fR)(this.cardData.detail.detailPageUrl,this.formCode),this.carTitleText=(0,ne.SL)(this.cardData,70),this.getAutosBadgeV2()}}getAutosBadgeV2(){this.cardData.autosBadge&&(this.showBadge=this.cardData.autosBadge.showBadge,this.accidentsIconUrl=this.cardData.autosBadge.accidentsIconUrl,this.carfaxReportIconUrl=this.cardData.autosBadge.carfaxReportIconUrl,this.hasAccident=this.cardData.autosBadge.hasAccident,this.hasCarfax=this.cardData.autosBadge.hasCarfax,this.enableAccident||(this.hasAccident=!0),this.enableCarfax||(this.hasCarfax=!1),this.enableCarfax&&!this.hasAccident&&(this.hasCarfax=!1))}}(0,d.gn)([j.LO],vt.prototype,"card",void 0),(0,d.gn)([j.LO],vt.prototype,"autosEntity",void 0),(0,d.gn)([j.LO],vt.prototype,"currentCardIndex",void 0),(0,d.gn)([j.LO],vt.prototype,"cardFormat",void 0),(0,d.gn)([j.LO],vt.prototype,"cardData",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"isProng2",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"isMSNHP",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"priceInsight",void 0),(0,d.gn)([j.LO],vt.prototype,"price",void 0),(0,d.gn)([j.LO],vt.prototype,"type",void 0),(0,d.gn)([j.LO],vt.prototype,"variant",void 0),(0,d.gn)([j.LO],vt.prototype,"imageUrl",void 0),(0,d.gn)([j.LO],vt.prototype,"imageUrlList",void 0),(0,d.gn)([j.LO],vt.prototype,"index",void 0),(0,d.gn)([j.LO],vt.prototype,"detailPageUrl",void 0),(0,d.gn)([j.LO],vt.prototype,"showBadge",void 0),(0,d.gn)([j.LO],vt.prototype,"hasAccident",void 0),(0,d.gn)([j.LO],vt.prototype,"hasCarfax",void 0),(0,d.gn)([j.LO],vt.prototype,"priceUnit",void 0),(0,d.gn)([j.LO],vt.prototype,"priceIntergerPartString",void 0),(0,d.gn)([j.LO],vt.prototype,"priceDecimalPartString",void 0),(0,d.gn)([j.LO],vt.prototype,"priceBeforeDropString",void 0),(0,d.gn)([j.LO],vt.prototype,"priceInsightString",void 0),(0,d.gn)([j.LO],vt.prototype,"accidentsIconUrl",void 0),(0,d.gn)([j.LO],vt.prototype,"carfaxReportIconUrl",void 0),(0,d.gn)([j.LO],vt.prototype,"priceInfo",void 0),(0,d.gn)([j.LO],vt.prototype,"mileageInfo",void 0),(0,d.gn)([j.LO],vt.prototype,"carTitleText",void 0),(0,d.gn)([j.LO],vt.prototype,"priceRangeText",void 0),(0,d.gn)([B.Lj],vt.prototype,"useDefaultListing",void 0),(0,d.gn)([B.Lj],vt.prototype,"isHalfCard",void 0),(0,d.gn)([B.Lj],vt.prototype,"useNewAccident",void 0),(0,d.gn)([B.Lj],vt.prototype,"imageAutoScroll",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"enableZoomIn",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"enableMultiImage",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"enableNewBadge",void 0),(0,d.gn)([(0,B.Lj)({mode:"boolean"})],vt.prototype,"alwaysShowFlippers",void 0),(0,d.gn)([B.Lj],vt.prototype,"imageAutoScrollInternalMs",void 0),(0,d.gn)([B.Lj],vt.prototype,"enableAccident",void 0),(0,d.gn)([B.Lj],vt.prototype,"enableCarfax",void 0),(0,d.gn)([j.LO],vt.prototype,"telemetryTag",void 0),(0,d.gn)([j.LO],vt.prototype,"nextImageFlipperTelemetryTag",void 0),(0,d.gn)([j.LO],vt.prototype,"previousImageFlipperTelemetryTag",void 0);const ft="Segoe UI",mt=Ie.i`
    .badge-good,
    .badge-great, 
    .badge-new-great, 
    .badge-popular,
    .badge-priceDrop {
        left: 6px;
    }
`,bt=Ie.i`
    .badge-good,
    .badge-great, 
    .badge-new-great, 
    .badge-popular, 
    .badge-priceDrop {
        left: -6px;
    }
`,yt=Ie.i`
    .single-autos-container a{
        display: flex;
        flex-direction: column;
    }

    .badge-info {
        margin-left: 8px;
    }

    .multi-image-wrapper,
    .image-wrapper,
    .image {
        height: 140px;
        width: 270px;
        overflow: hidden;
    }

    .image {
        object-fit: cover;
    }
    
    .multi-image-carousel {
        width: 270px;
        height: 140px;
    }
    
    .multi-image {
        position: relative;
        width: 270px;
        box-shadow: 0px 0px;
        height: 140px;
        object-fit: cover;
    }
    
    .image-carousel {
        box-shadow: 0px 0px;
        height: 168px;
    }

    .image {
        border-radius: 4px;
        object-fit: cover;
        transition: 0.7s;
    }
     
    .image-list {
        height: 130px;
        width: 248px;
        border-radius: 4px;
        object-fit: cover;
    }

    .content-title {
        margin-top: 8px;
        display: flex;
        justify-content: space-between;
    }

    .car-price {
        font-weight: ${"700"};
    }

    .car-title {
        width: 200px;
    }

    .car-price,
    .car-title {
        margin-top: 2px;
        height: 22px;
        color: rgba(0, 0, 0, 0.83);
        font-family: "Segoe UI";
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .price-origin {
        font-family: ${Ce.SVJ};
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 14px;
        text-decoration-line: line-through;
        color: #6C6C6C;
    }

    .price-text-small-upper {
        font-family: ${Ce.SVJ};
        font-style: normal;
        font-weight: 600;
        font-size: 10px;
        line-height: 14px;
        height: 22px;
        padding-top: 2px;
        box-sizing: border-box;
    }
    
    .price-text-normal-middle {
        font-family: ${Ce.SVJ};
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
    }

    .content-info-price {
        display: flex;
        flex-direction: row;
        gap: 4px;
        align-items: center;
    }
      
    .content-info-price-current-wrapper {
        display: flex;
        flex-direction: row;
    }
      
    .price-current {
        color: #DE3700;
    }

    .great-deal-icon {
        inset-inline-start:-71px;
        top: -4px;
        position: relative;
    }

    .popular-icon {
        inset-inline-start:-58px;
        top: -4px;
        position: relative;
    }

    .new-popular-icon {
        position: relative;
        top: -5px;
        left: -57px;
    }

    .new-great-deal-icon {
        position: relative;
        top: -4px;
        left: -71px;
    }
    
    .content-detail {
        line-height: 20px;
        margin-top: 2px;
        color: rgba(0, 0, 0, 0.83);
        font-family: ${ft};
        font-size: 14px;
        font-weight: 400;
        display: flex;
        justify-content: space-between;
    }

    .no-accident-string {
        vertical-align: bottom;
        font-size: 14px;
        margin-left: 2px;
        margin-bottom: 4px;
        font-weight: 400;
        vertical-align: top;
    }

    .carfax-report-decoration {
        line-height: 16px;
    }

    .carfax-decoration {
        width: 50px;
    }

    .badge-new-great,
    .badge-priceDrop,
    .badge-popular, 
    .badge-priceDrop {
        top: -131px;
        width: 85px;
        height: 20px;
        position: relative;
        z-index: 100;
        height: 20px;
        border-radius: 4px;
        padding: 2px, 8px, 2px, 8px;
    }

    a {
        font-family: ${ft};
        text-decoration:none;
        color: rgba(0, 0, 0, 0.83);
    }
`.withBehaviors(new ke.O(mt,bt),new Le.w("isSingleLineTitle",!1,Ie.i`
            .content-title {
                line-height: 21px;
            }
            .content-detail {
                line-height: 14px;
            }
        `),new Le.w("isSingleLineTitle",!0,Ie.i`
            .content-title {
                line-height: 27px;
            }
            .content-detail {
                line-height: 19px;
            }
        `),new Le.w("enableMultiImage",!1,Ie.i`
            .badge-new-great,
            .badge-priceDrop,
            .badge-popular, 
            .badge-priceDrop {
                top: -164px;
            }
        `),new Le.w("enableZoomIn",!0,Ie.i`
            .multi-image:hover,
            .image:hover {
                transform:scale(1.05);
                transition: all 0.5s ease-out;
            }
         `),new Le.w("useNewAccident",!0,Ie.i`
        .content-detail {
            justify-content: flex-start;
        }
      `),new Le.w("isProng2",!0,Ie.i`
        .image, .image-wrapper {
            height: 151px;
        }

        .car-price,
        .car-title {
            font-size: 16px;
            line-height: 22px;
        }

        .car-title {
            font-weight: 400;
        }

        .detail-info,
        .no-accident-string {
            font-weight: 400;
            font-size: 14px;
        }

        .badge-new-great,
        .badge-priceDrop,
        .badge-popular, 
        .badge-priceDrop {
            top: -150px;
        }
    `),new Le.w("isHalfCard",!0,Ie.i`
            .image,
            .image-wrapper {
                height: 56px;
                width: 99.56px;
            }

            .detail-info {
                font-size: 14px;
                font-weight: 400;
            }

            .single-autos-container a {
                display: flex;
                flex-direction: row;
            }

            .content-detail {
                margin-top: 0px;
                font-size: 12px;
                line-height: 14px;
            }

            .car-price,
            .car-title {
                margin-top: 0px;
                font-size: 14px;
            }

            .detail-info ,
            .no-accident-string {
                font-size: 12px;
            }

            .carfax-report-decoration {
                margin-left: 4px;
            }

            .content-info {
                width: 59%;
            }

            .badge-new-great,
            .badge-priceDrop,
            .badge-popular, 
            .badge-priceDrop {
                top: 4px;
                left: 12px;
            }
        `),(0,Ae.Uu)(Ie.i`
            .car-price,
            .car-title,
            .no-accident-string,
            .detail-info,
            .content-title {
                color: #FFFFFF;
                opacity: 1;
            }
            
            .content-detail {
                color: #FFFFFF;
                opacity: 1;
            }

            .accident-decoration svg path,
            .detail-info svg path {
                stroke: white;
                fill: white;
                opacity: 1;
            }
        `),new Le.w("isMSNHP",!0,Ie.i`
            .car-price,
            .car-title,
            .no-accident-string,
            .detail-info,
            .content-title {
                color: rgba(0, 0, 0, 0.83);
            }

            .content-detail {
                color: rgba(0, 0, 0, 0.83);
            }

            .accident-decoration svg path,
            .detail-info svg path {
                stroke: black;
                fill: black;
                opacity: 1;
            }

      `)),xt=Be.d`
    <div class="single-autos-container" >
        <a href=${e=>e.detailPageUrl} target="_blank" data-t="${e=>e.telemetryTag}" >
            <div class="image-wrapper">
                <img class="image" src=${e=>e.imageUrl}>
            </div>
            <div class="content-title">
                ${e=>e.carTitleText}
            </div>
            <div class="content-detail">
                ${e=>`${e.priceRangeText} `}
            </div>
        </a>
    </div>
`,wt=Be.d`
    <div class="single-autos-container" >
        <a href=${e=>e.detailPageUrl} target="_blank" data-t="${e=>e.telemetryTag}" >
            <div class="image-wrapper">
                <img class="image" src=${e=>e.imageUrl}>
            </div>
            <div class="content-title">
                ${e=>e.carTitleText}
            </div>
            <div class="content-detail">
                ${e=>`${e.priceRangeText} `}
            </div>
        </a>
    </div>
`;const Ct=Be.d`
    <div class=carfax-report-decoration>
        ${(0,Ne.g)((e=>!e.hasAccident),Be.d`
            ${(0,Ne.g)((e=>e.useNewAccident),Be.d`
                <span class="accident-decoration">
                    ${'<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1.05a5.95 5.95 0 1 0 0 11.9 5.95 5.95 0 0 0 0-11.9Zm-.88 6.96 3.13-3.13a.52.52 0 0 1 .8.68l-.05.06-3.5 3.5a.53.53 0 0 1-.69.05l-.06-.05L4 7.37a.52.52 0 0 1 .69-.8l.06.06L6.13 8l3.12-3.13L6.12 8Z" fill="#1A1A1A"/></svg>'}
                </span>
            `)}
            <span class="no-accident-string">
                ${e=>e.noAccident}
            </span>
            ${(0,Ne.g)((e=>!e.useNewAccident),Be.d`
                <img class="accident-decoration" src=${e=>e.accidentsIconUrl}>
            `)}
        `)}
        ${(0,Ne.g)((e=>e.hasCarfax),Be.d`
            ${(0,Ne.g)((e=>!e.isHalfCard),Be.d`
                <img class="carfax-decoration" src=${e=>e.carfaxReportIconUrl}>
            `)}
        `)}
    </div>
`,$t=Be.d`
    <span class=carfax-report-decoration>
        ${(0,Ne.g)((e=>!e.hasAccident),Be.d`
            ${(0,Ne.g)((e=>e.useNewAccident),Be.d`
                <span class="accident-decoration">
                    ${'<svg width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M6 .29A5.71 5.71 0 1 1 6 11.7 5.71 5.71 0 0 1 6 .3Zm0 .85a4.86 4.86 0 1 0 0 9.72 4.86 4.86 0 0 0 0-9.72Zm-.71 5.68 2.55-2.55a.43.43 0 0 1 .65.56l-.04.04-2.86 2.86a.43.43 0 0 1-.56.04l-.05-.04L3.55 6.3a.43.43 0 0 1 .56-.64l.05.04 1.13 1.12 2.55-2.55-2.55 2.55Z" fill="#1A1A1A"/></svg>'}
                </span>
            `)}
            <span class="no-accident-string">
                ${e=>e.noAccident}
            </span>
            ${(0,Ne.g)((e=>!e.useNewAccident),Be.d`
                <img class="accident-decoration" src=${e=>e.accidentsIconUrl}>
            `)}
        `)}
        ${(0,Ne.g)((e=>e.hasCarfax),Be.d`
            ${(0,Ne.g)((e=>!e.isHalfCard),Be.d`
                <img class="carfax-decoration" src=${e=>e.carfaxReportIconUrl}>
            `)}
        `)}
    </span>
`;var Tt;!function(e){e.GreatDeal="GreatDeal",e.PriceDrop="PriceDrop",e.Popular="Popular"}(Tt||(Tt={}));var kt='<svg width="71" height="20" viewBox="0 0 71 20" fill="none"><path d="M0 4a4 4 0 0 1 4-4h63a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z" fill="#fff"/><path d="M24.33 14.02c-.73.4-1.54.6-2.44.6a3.4 3.4 0 0 1-2.51-.97 3.47 3.47 0 0 1-.96-2.56 3.6 3.6 0 0 1 3.72-3.7c.78 0 1.43.1 1.96.33v1.2a3.38 3.38 0 0 0-1.92-.54c-.74 0-1.35.25-1.83.74-.48.5-.71 1.13-.71 1.9 0 .81.2 1.45.61 1.9.41.47.97.7 1.67.7.48 0 .9-.1 1.25-.28v-1.67H21.7v-.97h2.63v3.32Zm4.28-3.44a.94.94 0 0 0-.59-.16c-.34 0-.62.15-.84.45-.22.3-.34.72-.34 1.24v2.39h-1.13v-5h1.13v1.03h.02c.11-.35.28-.62.51-.82.23-.2.49-.3.77-.3.2 0 .36.03.47.1v1.07Zm4.95 1.73h-3.41c.01.46.15.82.42 1.07.28.25.65.37 1.13.37.53 0 1.02-.16 1.47-.48v.92c-.46.28-1.06.43-1.81.43-.74 0-1.31-.23-1.73-.68a2.74 2.74 0 0 1-.63-1.92c0-.78.23-1.41.69-1.9.46-.5 1.03-.74 1.72-.74.68 0 1.21.22 1.59.66.37.44.56 1.05.56 1.83v.44Zm-1.1-.8c0-.41-.1-.73-.29-.95a.96.96 0 0 0-.78-.34c-.32 0-.6.12-.83.35-.22.24-.36.55-.41.94h2.31Zm6.01 2.99h-1.1v-.78h-.01c-.35.6-.86.9-1.52.9-.5 0-.88-.14-1.16-.4a1.4 1.4 0 0 1-.42-1.06c0-.95.55-1.5 1.64-1.65l1.48-.21c0-.72-.34-1.07-1.02-1.07-.6 0-1.13.2-1.6.61v-.99a3.51 3.51 0 0 1 1.82-.47c1.26 0 1.9.62 1.9 1.87v3.25Zm-1.09-2.46-1.05.15c-.33.04-.57.12-.74.24-.16.11-.24.32-.24.6 0 .22.07.4.22.53.16.13.36.2.61.2.35 0 .63-.12.86-.36.23-.25.34-.55.34-.92v-.44Zm5.12 2.4c-.22.12-.52.17-.88.17-.97 0-1.45-.46-1.45-1.4V10.4h-.84V9.5h.84V8.34l1.13-.32V9.5h1.2v.89h-1.2v2.5c0 .3.05.5.16.63.1.13.29.2.54.2.2 0 .36-.06.5-.17v.9Zm8.27.06h-1.13v-.85h-.02a1.8 1.8 0 0 1-1.68.97c-.62 0-1.11-.23-1.48-.67a2.8 2.8 0 0 1-.55-1.83c0-.83.2-1.5.6-1.99.42-.5.96-.75 1.64-.75.68 0 1.17.27 1.47.81h.02V7.1h1.13v7.41Zm-1.11-2.29v-.65c0-.35-.12-.66-.35-.9a1.16 1.16 0 0 0-.89-.37c-.42 0-.75.15-1 .47-.24.32-.36.75-.36 1.31 0 .51.12.91.35 1.2.23.3.55.45.94.45.39 0 .7-.14.94-.43.24-.28.37-.64.37-1.08Zm6.83.1h-3.41c.01.46.15.82.42 1.07.28.25.65.37 1.13.37.53 0 1.02-.16 1.47-.48v.92c-.46.28-1.06.43-1.81.43-.74 0-1.31-.23-1.73-.68a2.74 2.74 0 0 1-.63-1.92c0-.78.23-1.41.69-1.9.46-.5 1.03-.74 1.72-.74.68 0 1.21.22 1.58.66.38.44.57 1.05.57 1.83v.44Zm-1.1-.8c0-.41-.1-.73-.29-.95a.96.96 0 0 0-.78-.34c-.32 0-.6.12-.83.35-.22.24-.36.55-.41.94h2.31Zm6.01 2.99h-1.1v-.78h-.01c-.35.6-.86.9-1.52.9-.5 0-.88-.14-1.16-.4a1.4 1.4 0 0 1-.42-1.06c0-.95.55-1.5 1.64-1.65l1.48-.21c0-.72-.34-1.07-1.02-1.07-.6 0-1.13.2-1.6.61v-.99a3.51 3.51 0 0 1 1.82-.47c1.26 0 1.9.62 1.9 1.87v3.25Zm-1.09-2.46-1.05.15c-.33.04-.57.12-.74.24-.16.11-.24.32-.24.6 0 .22.07.4.22.53.16.13.36.2.61.2.35 0 .63-.12.86-.36.23-.25.34-.55.34-.92v-.44Zm3.62 2.46h-1.14V7.1h1.14v7.4Z" fill="#1A1A1A"/><path d="M4 4h12v12H4z"/></svg>',St='<svg width="59" height="20" viewBox="0 0 59 20" fill="none"><path d="M0 4a4 4 0 0 1 4-4h51a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z" fill="#fff"/><path d="M20.02 11.96v2.54h-1.16v-7H21c.8 0 1.43.19 1.87.56.44.37.66.9.66 1.58s-.23 1.24-.7 1.67c-.45.43-1.08.65-1.87.65h-.93Zm0-3.5V11h.75c.5 0 .88-.11 1.14-.34.26-.23.4-.56.4-.98 0-.82-.49-1.23-1.44-1.23h-.85Zm6.44 6.16a2.5 2.5 0 0 1-1.85-.7 2.54 2.54 0 0 1-.69-1.86c0-.84.24-1.5.72-1.97s1.13-.7 1.94-.7c.79 0 1.4.22 1.83.68.44.46.65 1.1.65 1.91 0 .8-.23 1.44-.7 1.92s-1.1.72-1.9.72Zm.06-4.33c-.45 0-.8.15-1.05.46-.26.3-.39.74-.39 1.28 0 .52.13.94.4 1.24.25.3.6.45 1.04.45.44 0 .78-.15 1.02-.45.24-.3.36-.71.36-1.26s-.12-.98-.36-1.27c-.24-.3-.58-.45-1.02-.45Zm4.85 3.47h-.02v3.04h-1.13V9.5h1.13v.88h.02c.4-.67.96-1 1.7-1 .64 0 1.13.23 1.49.67.35.45.53 1.05.53 1.8 0 .83-.2 1.5-.6 2-.4.5-.95.75-1.64.75-.64 0-1.13-.28-1.48-.84Zm-.03-1.97v.62c0 .36.12.67.35.93.24.25.53.38.89.38.42 0 .75-.16.99-.49.24-.33.36-.79.36-1.37 0-.5-.11-.88-.34-1.15a1.09 1.09 0 0 0-.9-.42c-.4 0-.73.14-.98.43a1.6 1.6 0 0 0-.37 1.07Zm9.27 2.71h-1.14v-.8h-.01c-.33.61-.84.92-1.54.92-1.18 0-1.77-.71-1.77-2.13V9.5h1.13v2.87c0 .9.35 1.35 1.04 1.35.34 0 .61-.12.83-.37.22-.25.32-.57.32-.97V9.5h1.14v5Zm2.61 0H42.1V7.1h1.13v7.4Zm5.32 0h-1.1v-.78h-.02c-.34.6-.85.9-1.51.9-.5 0-.88-.14-1.16-.4a1.4 1.4 0 0 1-.42-1.06c0-.95.55-1.5 1.63-1.65l1.49-.21c0-.72-.34-1.07-1.02-1.07-.6 0-1.13.2-1.6.61v-.99a3.51 3.51 0 0 1 1.82-.47c1.26 0 1.9.62 1.9 1.87v3.25Zm-1.1-2.46-1.04.15c-.33.04-.57.12-.74.24-.16.11-.24.32-.24.6 0 .22.07.4.22.53s.36.2.61.2c.35 0 .63-.12.86-.36.22-.25.34-.55.34-.92v-.44Zm5.39-1.46a.94.94 0 0 0-.6-.16c-.33 0-.6.15-.83.45-.23.3-.34.72-.34 1.24v2.39h-1.13v-5h1.13v1.03h.02c.11-.35.28-.62.5-.82.24-.2.5-.3.78-.3.2 0 .36.03.47.1v1.07Z" fill="#1A1A1A"/></svg>';const Lt=Be.d`
    <span class="badge-new-great" aria-label="${e=>e.greatDeal}">
        ${kt}
        <img class="great-deal-icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFWSURBVHgBjZA9T8JQGIXPvb3A1RYLqdU0cUBjHNyMi6NuxkX+Av9AFzcjk7Nubpo4sTg4G9HZAVcGBJVEIxH56Bct9FoGjTUdOMPNfT+enJMXiFHrZmdFVPKZuBn936hfH+TVRKuKOf4wEZCwa0vMI8DQWZ4IYMLkkELAc+L2Qf4Wb6X1LVX2r6bUbMb3+2BqsgHNAGHKKVm4PIk4PJe2j7SsczuliYxwXHSrXaBn54jVzMGs5yKRyuUimybeYYKFhkwHAhUsxUHSMqAYwIyx+xt5/Oit9obkmxK8FGBz+J8urA+CdE2C9PWOIC0rEcC3vKYXJCFMBjIioOGfKwKSLgHzBiins5FIa4Wzhmmpd3YnBdGjCAYJeH0O90Vg+GTBf6UXEYex+m29QE33XOGDTYoRBNUgyQw0dBKp3n3sWceq7BUzXMZqyCSZ7IIptLO4f/z4M/8G+wp0yiew7nQAAAAASUVORK5CYII=">
        <img> 
    </span>
`,At=Be.d`
    <span class="badge-new-great" aria-label="${e=>e.greatDeal}">
        ${kt}
        <span class="new-great-deal-icon">
            <svg width="10" height="12" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M6.5278 4.5018C6.7582 3.78829 6.87455 3.16371 6.87455 2.62517C6.87455 1.42583 6.405 0.501465 5.62455 0.501465C5.20115 0.501465 5.0701 0.753585 4.90615 1.37488C4.91475 1.34241 4.8247 1.69185 4.7984 1.78548C4.7479 1.96485 4.66 2.27022 4.53485 2.70098C4.5315 2.71252 4.5266 2.7234 4.52015 2.73344L3.0868 4.97627C2.74777 5.50675 2.24754 5.9145 1.6596 6.1396L1.03098 6.3803C0.634295 6.53215 0.403985 6.947 0.48484 7.364L0.82792 9.13335C0.91149 9.56435 1.23815 9.90735 1.66455 10.0119L5.7893 11.0228C7.0549 11.333 8.3341 10.5655 8.65605 9.30285L9.443 6.21655C9.6306 5.4807 9.18615 4.73206 8.45035 4.54444C8.3393 4.51613 8.2252 4.5018 8.1106 4.5018H6.5278Z" fill="#006CBE"/>
            </svg>
        </span>
    </span>
`,Ot=Be.d`
    <span class="badge-popular" aria-label="${e=>e.popular}">
        ${St}
        <img class="popular-icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFXSURBVHgBfZAxT8JQEMf/7avQWoFqQBwIqVETN0P8Ah2MMzFhZzUushicKJ9AEgcXB76Bxk0HP4GjRkeig5NSqLwWCn0eAypSvbx7l9zdL/+7AyJMWJYhrKIRVZOjksGKfgLVuxWl0sK/gNjf3RZnVZN7bUtovICEf/onIKpFcxiKO+/h/iZgAxN6APKyONo7jATClF7rBByO+7YhqQJQQ2CByjpqwv7e5wvgXXeHsxDuwIVs9CFlCVhSCJAMJOLlKUBc2MZADHNd30Msp4Clh0CWVHJ9IEYe51sTQBl//lPL6Pk+5CQDS7nQFim9rBFEUeLAe8ycUtCOmy3+4TlKIkQyJTCXjgOZGGB4FElNHrUxe9ZkXQtU6Iya2fj8tAMcegwY6VczwOb5dWO+t1aX+TrgEtShcV7zDp5XK9LBZXPSJ+GXCdtWkHELUEIfj/kXqVFxftY/AbrAeCCwcsTWAAAAAElFTkSuQmCC">
        <img> 
    </span>
`,It=Be.d`
    <span class="badge-popular" aria-label="${e=>e.popular}">
        ${St}
        <span class="new-popular-icon">
            <svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M4.13748 0C4.04622 0 3.95303 0.0255297 3.86687 0.0810569L3.85857 0.0868011C3.36393 0.337631 2.98163 0.765254 2.78824 1.28542C2.67208 1.57455 2.61336 1.88346 2.61527 2.19492C2.61144 2.47 2.65804 2.74381 2.75313 3.0023C2.85334 3.2927 2.9912 3.56842 3.16352 3.82308C3.23692 3.91754 3.29628 4.02221 3.33968 4.13327C3.38244 4.24496 3.40414 4.36431 3.4035 4.48366C3.40478 4.6311 3.37287 4.77725 3.31032 4.91128C3.25033 5.0434 3.16608 5.16275 3.06204 5.26296C2.95737 5.36508 2.83355 5.44549 2.69761 5.50038C2.55719 5.55719 2.40721 5.58591 2.25658 5.58591H2.22977C2.07021 5.58591 1.91257 5.55144 1.76705 5.48506C1.61004 5.41294 1.46324 5.31657 1.33432 5.19977L1.21369 5.05808C1.11157 4.93809 0.972435 4.88193 0.834574 4.88193C0.629698 4.88193 0.427375 5.00638 0.353339 5.22913L0.308662 5.37529C0.219946 5.69186 0.17463 6.01928 0.173992 6.34797C0.170801 6.83814 0.27292 7.32385 0.473328 7.77125C0.667993 8.20781 0.946267 8.60225 1.29219 8.93222C2.01724 9.61833 2.97716 10 3.97473 10H4.02643C5.02337 10 5.98265 9.61833 6.70769 8.9335C7.05362 8.60352 7.33189 8.20909 7.52656 7.77253C7.72697 7.32448 7.82909 6.83942 7.82589 6.34861C7.831 5.79653 7.71675 5.24955 7.49145 4.74534C7.25913 4.23794 6.9298 3.78096 6.52324 3.39865C5.97499 2.90911 5.48546 2.35767 5.06358 1.75517C4.69148 1.15777 4.6334 0.818866 4.6334 0.488256C4.6334 0.200408 4.39406 0 4.13748 0Z" fill="#D13438"/>
            </svg>
        </span>
    </span>
`,Mt=Be.d`
    <span class="badge-priceDrop" aria-label="${e=>e.priceDrop}">
        ${'<svg width="86" height="20" viewBox="0 0 86 20" fill="none"><rect width="86" height="20" rx="6" fill="#F7F7F7"/><path d="M17.8 13a.45.45 0 0 1-.42.28h-3.32a.45.45 0 0 1 0-.9h2.22L13.3 9.38l-1.19 1.2a.45.45 0 0 1-.64 0L8.31 7.4a.45.45 0 0 1 .64-.64l2.84 2.85L13 8.43a.45.45 0 0 1 .63 0l3.3 3.3V9.51a.45.45 0 0 1 .9 0v3.31c0 .07 0 .12-.03.18Z" fill="#036AC4"/><path d="M25.68 11.92V15h-.98V6.6H27c.9 0 1.6.22 2.1.67.49.45.74 1.07.74 1.88 0 .81-.28 1.47-.83 2a3.1 3.1 0 0 1-2.22.77h-1.1Zm0-4.43v3.54h1.03c.68 0 1.2-.16 1.56-.48.36-.32.54-.77.54-1.35 0-.57-.17-1-.5-1.28-.32-.29-.82-.43-1.47-.43h-1.16Zm8.57 2.41a1.75 1.75 0 0 0-.66-.14c-.43 0-.78.2-1.05.61s-.4.93-.4 1.57V15h-.96V9h.96v1.1h.02c.14-.38.35-.67.63-.88.28-.22.6-.33.94-.33.16 0 .3.02.44.05.13.02.27.07.44.15l-.36.81Zm1.8-2.25a.66.66 0 0 1-.5-.2.7.7 0 0 1-.2-.5c0-.19.07-.35.2-.49.12-.14.3-.2.5-.2s.37.06.5.2.2.3.2.49a.7.7 0 0 1-.2.5c-.13.13-.3.2-.5.2Zm.47 7.35h-.96V9h.96v6Zm6.68-.9a2.4 2.4 0 0 1-.97.79c-.38.16-.8.24-1.23.24-.97 0-1.73-.27-2.27-.83-.54-.56-.81-1.3-.81-2.22 0-1 .28-1.79.84-2.36a2.9 2.9 0 0 1 2.17-.86c.46 0 .9.09 1.28.26.4.17.72.44.99.79l-.72.53a2.05 2.05 0 0 0-.74-.58c-.25-.11-.53-.17-.85-.17-.58 0-1.06.22-1.43.65-.37.42-.56.98-.56 1.67 0 .7.19 1.25.56 1.67a2 2 0 0 0 1.56.62c.26 0 .52-.05.78-.16.26-.1.49-.3.69-.57l.71.53Zm6.24-1.93h-4.33c0 .74.18 1.29.53 1.63.36.34.78.5 1.27.5.36 0 .69-.08.96-.24.28-.18.52-.43.7-.77l.79.4c-.22.43-.53.78-.96 1.05-.42.27-.94.4-1.56.4-.8 0-1.45-.26-1.96-.79-.5-.53-.76-1.3-.76-2.33 0-.9.26-1.66.77-2.26a2.5 2.5 0 0 1 1.98-.9c.82 0 1.45.25 1.9.74.45.5.67 1.18.67 2.07v.5Zm-.98-.8c0-.52-.14-.93-.43-1.23-.28-.3-.68-.45-1.18-.45-.48 0-.88.16-1.19.48-.3.32-.48.72-.54 1.2h3.34Zm9.37 2.75c-.22.33-.51.59-.86.76-.34.17-.72.26-1.15.26-.84 0-1.49-.27-1.95-.8a3.29 3.29 0 0 1-.68-2.2c0-1.02.26-1.82.78-2.4.52-.59 1.2-.88 2.03-.88.4 0 .77.07 1.08.22.31.15.56.35.75.61h.02V6.12h.96V15h-.96v-.88h-.02Zm-3.66-2.03c0 .68.16 1.22.47 1.62.32.4.75.6 1.3.6.6 0 1.06-.2 1.4-.58.34-.38.51-.86.51-1.44v-.89a1.72 1.72 0 0 0-1.78-1.71c-.58 0-1.04.2-1.38.62-.35.4-.52 1-.52 1.78Zm9.54-2.19a1.74 1.74 0 0 0-.66-.14c-.43 0-.78.2-1.05.61s-.4.93-.4 1.57V15h-.96V9h.96v1.1h.02c.14-.38.35-.67.63-.88.28-.22.6-.33.95-.33.16 0 .3.02.43.05.13.02.27.07.44.15l-.36.81Zm3.86 5.24c-.93 0-1.66-.28-2.19-.83-.53-.56-.79-1.3-.79-2.24 0-.96.3-1.74.88-2.33a2.97 2.97 0 0 1 2.2-.88c.9 0 1.6.29 2.13.86.53.57.79 1.32.79 2.26 0 .9-.27 1.65-.81 2.26-.54.6-1.28.9-2.2.9Zm.06-.83c.6 0 1.08-.2 1.44-.6.36-.41.54-.98.54-1.7a2.5 2.5 0 0 0-.54-1.67 1.77 1.77 0 0 0-1.44-.64c-.61 0-1.1.21-1.49.65-.38.43-.57.99-.57 1.69 0 .73.2 1.29.57 1.68.39.4.88.59 1.48.59Zm5.36-.04h-.02v3.49H72V9h.96v.91h.02c.25-.35.55-.61.9-.79.34-.17.73-.26 1.16-.26.82 0 1.45.27 1.9.8.45.54.67 1.28.67 2.22 0 .97-.24 1.75-.73 2.36-.49.6-1.16.9-2 .9-.4 0-.77-.07-1.08-.22-.3-.14-.58-.36-.82-.65Zm-.02-2.56v.84c0 .49.17.9.5 1.25.35.34.78.5 1.3.5a1.6 1.6 0 0 0 1.37-.65c.33-.44.5-1.02.5-1.73 0-.74-.16-1.3-.47-1.67-.3-.37-.72-.56-1.25-.56-.59 0-1.06.2-1.42.58-.35.38-.53.86-.53 1.44Z" fill="#1A1A1A"/></svg>'}
    </span>
`,Dt=e=>{switch(e){case Tt.GreatDeal:return Lt;case Tt.PriceDrop:return Mt;case Tt.Popular:return Ot;default:return null}},Ft=e=>{switch(e){case Tt.GreatDeal:return At;case Tt.PriceDrop:return Mt;case Tt.Popular:return It;default:return null}};var Et=i(43504);class Pt extends Et.x{}var Ht=i(49944);const Ut=Ie.i`
    ${(0,Se.j)("flex")} :host {
        box-sizing: border-box;
        font-family: ${Ce.SVJ};
        font-size: ${Ce.sNp};
        line-height: ${Ce.vgC};
        height: 100%;
    }
`,jt=Pt.compose({baseName:"autos-carousel-panel",template:Ht.o,styles:Ut});var Bt=i(26899);class zt extends Bt.O{}var Nt=i(13626);const _t=Ie.i`
    ${(0,Se.j)("inline-flex")} :host {
        box-sizing: border-box;
        font-family: ${Ce.SVJ};
        min-height: 4px;
        min-width: 4px;
        border-radius: 20px;
        grid-row: 1;
        z-index: 1;
        margin: 0px 2px;
        opacity: 0.6;
        background: white;
    }

    :host([canvas="prong2Light"]) {
        background: rgba(0, 0, 0, 0.6063);
        margin: 2px 4px;
    }

    :host([canvas="prong2Dark"]) {
        background: rgba(158, 158, 158, 0.4458);
        margin: 2px 4px;
    }

    :host([aria-selected="true"]) {
        z-index: 2;
        min-height: 6px;
        min-width: 6px;
        opacity: 0.99;
    }

    :host(:hover),
    :host(:active) {
        opacity: 0.99;
    }

    :host(:${Me.b}) {
        outline: none;
        box-shadow: 0 0 0 calc((${Ce.vxp} - ${Ce.Han}) * 1px)
            rgba(0,0,0,1), 0 0 0 calc((${Ce.vxp} + ${Ce.Han}) * 1px)
            ${Ce.yGg};
    }

    :host(:focus) {
        outline: none;
    }
`.withBehaviors((0,Ae.vF)(Ie.i`
            :host {
                forced-color-adjust: none;
                border-color: transparent;
                color: ${Oe.H.ButtonText};
                fill: ${Oe.H.ButtonText};
            }
            :host(:hover),
            :host([aria-selected="true"]:hover) {
                color: ${Oe.H.HighlightText};
                fill: ${Oe.H.HighlightText};
            }
            :host([aria-selected="true"]) {
                background: ${Oe.H.HighlightText};
                color: ${Oe.H.Highlight};
                fill: ${Oe.H.Highlight};
            }
            :host(:${Me.b}) {
                border-color: ${Oe.H.ButtonText};
                box-shadow: none;
            }
        `),(0,Ae.Uu)(Ie.i`
            :host([canvas="prong2Light"]) {
                background: #9E9E9E;
                margin: 2px 4px;
            }
        `)),Gt=zt.compose({baseName:"autos-carousel-tab",template:Nt.O,styles:_t});let qt=class extends $e{};qt=(0,d.gn)([(0,xe.M)({name:"msn-autos-carousel",template:Qe,styles:Ue})],qt),P.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>P.h.ignoreDuplicate)).withPrefix("msn").register(jt(),Gt());var Zt='<svg width="14" height="9" viewBox="0 0 14 9" fill="none"><path d="M.63 4.66C1.64 1.96 3.89 0 7 0c.8 0 1.53.13 2.2.36l-.14.17-.35.51C8.3.92 7.86.84 7.41.81V2.8a.4.4 0 0 1-.8 0V.81c-1.8.12-3.25.99-4.25 2.32a.4.4 0 0 1 .08.05l1.2.9a.4.4 0 0 1-.48.64l-1.2-.9a.4.4 0 0 1-.04-.03c-.2.36-.4.74-.54 1.15a.4.4 0 1 1-.75-.28ZM11.18 1.6c.02-.03.03-.06.03-.1a7.6 7.6 0 0 1 2.17 3.15.4.4 0 1 1-.75.28c-.16-.4-.34-.8-.55-1.15a.42.42 0 0 1-.04.03l-1.2.9a.4.4 0 1 1-.48-.64l1.2-.9a.4.4 0 0 1 .09-.05 6.22 6.22 0 0 0-.72-.8l.25-.72Zm-.96-.75c.18.09.26.3.2.48L8.3 7.37c-.1.28-.25.55-.44.78-.87 1.1-2.59.14-2.15-1.17.08-.24.2-.46.33-.67L9.71 1a.4.4 0 0 1 .51-.13ZM8.67 3.9 6.7 6.76c-.1.15-.17.3-.23.47-.16.48.46.8.77.42.13-.16.23-.35.3-.54l1.12-3.2Z" fill="#1A1A1A"/></svg>';const Vt=Be.d`
    <div class="content-info">
        <div class="car-title">
            ${e=>e.carTitleText}
        </div>
        ${(0,Ne.g)((e=>e.isProng2),Be.d`
            <div class="car-price">
                ${e=>e.priceInfo}
            </div>
        `)}
        <div class="content-detail">
            ${(0,Ne.g)((e=>!e.isProng2),Be.d`
                <span class="detail-info">
                    ${e=>`${e.priceInfo} ·`} ${Zt} ${e=>e.mileageInfo}
                </span>
            `)}
            ${(0,Ne.g)((e=>e.isProng2),Be.d`
                <span class="detail-info">
                    ${Zt} ${e=>e.mileageInfo}
                </span>
                ${$t}
            `)}
        </div>
        ${(0,Ne.g)((e=>!e.isProng2),Be.d`
            <div class="badge-info">
                ${Ct}

                ${(0,Ne.g)((e=>!e.enableNewBadge),Be.d`
                    ${e=>Dt(e.showBadge)}
                `)}
                ${(0,Ne.g)((e=>e.enableNewBadge),Be.d`
                    ${e=>Ft(e.showBadge)}
                `)}
            </div>
        `)}
    </div>
`,Rt=Be.d`
    <div class="content-title">
        ${e=>e.carTitleText}
    </div>
    
    <div class="content-detail">
        <div class="content-info-wrapper">
            <div class="content-info-price" aria-label=${e=>`Price is ${e.priceString}`}>
                <div class="content-info-price-current-wrapper">
                    <div class="price-current price-text-small-upper">${e=>e.priceUnit}</div>
                    <div class="price-current price-text-normal-middle">${e=>e.priceIntergerPartString}</div>
                    <div class="price-current price-text-small-upper">${e=>e.priceDecimalPartString}</div>
                </div>
                <div class="price-origin">${e=>e.priceBeforeDropString}</div>
                ${Zt}
                ${e=>` · ${e.mileageInfo}`}
            </div>
        </div>
        ${$t}
    </div>
`,Wt=Be.d`

`,Yt=Be.d`
    <div class="single-autos-container" >
        <a href=${e=>e.detailPageUrl} target="_blank" data-t="${e=>e.telemetryTag}" >
            ${e=>(e=>{switch(e){case X.Default:return Vt;case X.PriceDrop:return Rt;case X.PriceInsight:return Wt;default:return Vt}})(e.variant)}
            <div class="image-wrapper">
                <img class="image" src=${e=>e.imageUrl} @error=${(e,t)=>t.event.target.setAttribute("src","https://marketplaceassets.azureedge.net/publicassets/misc/imageplaceholderlight.webp")}>
            </div>
        </a>
    </div>
`;var Jt=i(36678);const Xt=Be.d`
    <msn-autos-carousel
        class="multi-image-carousel"
        auto-scroll=${e=>e.imageAutoScroll}
        always-show-flippers=${e=>e.alwaysShowFlippers}
        auto-scroll-interval-ms=${e=>e.imageAutoScrollInternalMs}
        :next-flipper-telemetry-tag=${e=>e.nextImageFlipperTelemetryTag}
        :previous-flipper-telemetry-tag=${e=>e.previousImageFlipperTelemetryTag}
        show-tab=true
        canvas="img"
    >
        ${(0,it.rx)((e=>e.imageUrlList),Be.d`
            <msn-autos-carousel-tab id=${(e,t)=>t.index}> </msn-autos-carousel-tab>
            <msn-autos-carousel-panel>
                <msn-autos-carousel-slide>
                    <div class="multi-image-li">
                        <img class="multi-image" src=${e=>e} @error=${(e,t)=>t.event.target.setAttribute("src","https://marketplaceassets.azureedge.net/publicassets/misc/imageplaceholderlight.webp")}>
                    </div>
                </msn-autos-carousel-slide>
            </msn-autos-carousel-panel>
            </msn-autos-carousel-tab>
        `,{positioning:!0})}
    <msn-autos-carousel>
`,Qt=Be.d`
    <div class="content-title">
        <span class="car-title">
            ${e=>e.carTitleText}
        </span>

        ${(0,Ne.g)((e=>!e.isProng2),Be.d`
            <span class="car-price">
                ${e=>e.priceInfo}
            </span>
        `)}
    </div>

    ${(0,Ne.g)((e=>e.isProng2),Be.d`
    <div class="car-price">
        ${e=>e.priceInfo}
    </div>
    `)}

    <div class="content-detail">
        ${(0,Ne.g)((e=>!e.isProng2),Be.d`
            <span class="detail-info">
                ${Jt.Z} ${e=>e.mileageInfo}
            </span>
        `)}
        ${(0,Ne.g)((e=>e.isProng2),Be.d`
            <span class="detail-info">
                ${Jt.Z} ${e=>e.mileageInfo}
            </span>
        `)}
        <div class="badge-info">
            ${(0,Ne.g)((e=>e.isHalfCard),Be.d`
                ${(0,Ne.g)((e=>!e.enableNewBadge),Be.d`
                    ${e=>Dt(e.showBadge)}
                `)}
                ${(0,Ne.g)((e=>e.enableNewBadge),Be.d`
                    ${e=>Ft(e.showBadge)}
                `)}
            `)}
        </div>
    </div>

    ${Ct}
`,Kt=Be.d`
    <div class="content-title">
        ${e=>e.carTitleText}
    </div>
    
    <div class="content-detail">
        <div class="content-info-wrapper">
            <div class="content-info-price" aria-label=${e=>`Price is ${e.priceString}`}>
                <div class="content-info-price-current-wrapper">
                    <div class="price-current price-text-small-upper">${e=>e.priceUnit}</div>
                    <div class="price-current price-text-normal-middle">${e=>e.priceIntergerPartString}</div>
                    <div class="price-current price-text-small-upper">${e=>e.priceDecimalPartString}</div>
                </div>
                <div class="price-origin">${e=>e.priceBeforeDropString}</div>
                ${Jt.Z}
                ${e=>` · ${e.mileageInfo}`}
            </div>
        </div>
        ${Ct}
    </div>
`,ei=Be.d`
`,ti=Be.d`
    <div class="single-autos-container" >
        <a href=${e=>e.detailPageUrl} target="_blank" data-t="${e=>e.telemetryTag}" >
            ${(0,Ne.g)((e=>!e.enableMultiImage),Be.d`
                <div class="image-wrapper">
                    <img class="image" src=${e=>e.imageUrl} @error=${(e,t)=>t.event.target.setAttribute("src","https://marketplaceassets.azureedge.net/publicassets/misc/imageplaceholderlight.webp")}>
                    ${(0,Ne.g)((e=>!e.isHalfCard),Be.d`
                        ${(0,Ne.g)((e=>!e.enableNewBadge),Be.d`
                            ${e=>Dt(e.showBadge)}
                        `)}
                        ${(0,Ne.g)((e=>e.enableNewBadge),Be.d`
                            ${e=>Ft(e.showBadge)}
                        `)}
                    `)}
                </div>
            `)}
            ${(0,Ne.g)((e=>e.enableMultiImage),Be.d`
                <div class="multi-image-wrapper">
                    ${Xt}
                    ${(0,Ne.g)((e=>!e.enableNewBadge),Be.d`
                        ${e=>Dt(e.showBadge)}
                    `)}
                    ${(0,Ne.g)((e=>e.enableNewBadge),Be.d`
                        ${e=>Ft(e.showBadge)}
                    `)}
                </div>
            `)}
            ${(0,Ne.g)((e=>e.useDefaultListing),Be.d`
                ${Qt}
            `)}
            ${(0,Ne.g)((e=>!e.useDefaultListing),Be.d`
                ${e=>(e=>{switch(e){case X.Default:return Qt;case X.PriceDrop:return Kt;case X.PriceInsight:return ei;default:return Qt}})(e.variant)}
        `)}
        </a>
    </div>
`,ii=Be.d`
    ${(0,Ne.g)((e=>!e.isHalfCard),Be.d`
        <span class="full-card">
            ${e=>(e=>{switch(e){case J.Listing:return ti;case J.Entity:return xt;default:return ti}})(e.type)}
        </span>
    `)}
    ${(0,Ne.g)((e=>e.isHalfCard),Be.d`
        <span class="half-card">
            ${e=>(e=>{switch(e){case J.Listing:return Yt;case J.Entity:return wt;default:return Yt}})(e.type)}
        </span>
`)}
`;let ai=class extends vt{};ai=(0,d.gn)([(0,xe.M)({name:"msn-autos-card",template:ii,styles:yt,shadowOptions:{delegatesFocus:!0}})],ai);let ri=class extends dt{};ri=(0,d.gn)([(0,xe.M)({name:"msn-autos-see-more",template:pt,styles:ct,shadowOptions:{delegatesFocus:!0}})],ri);let oi=class extends Ke{};oi=(0,d.gn)([(0,xe.M)({name:"msn-autos-qna",template:rt,styles:tt,shadowOptions:{delegatesFocus:!0}})],oi);let ni=class extends ot{};ni=(0,d.gn)([(0,xe.M)({name:"msn-autos-ranker",template:lt,styles:st,shadowOptions:{delegatesFocus:!0}})],ni);let si=class extends $e{};si=(0,d.gn)([(0,xe.M)({name:"msn-autos-carousel",template:Qe,styles:Ue,shadowOptions:{delegatesFocus:!0}})],si),P.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>P.h.ignoreDuplicate)).withPrefix("msn"),(0,ge.z)().withShadowRootMode("closed").withElementDisambiguation((()=>P.h.ignoreDuplicate)).register((0,ve.Ad)(),(0,fe.hb)(),(0,me.aV)());var li=i(6551);const di=Be.d`
    ${e=>{var t,i;return(0,li.J)(null===(t=e.superSDSetting)||void 0===t?void 0:t.actionsMenuButtonElement,null===(i=e.superSDSetting)||void 0===i?void 0:i.menuItems)}}
`,ci=Be.d`
    ${(e,t)=>(0,li.D)((()=>{var e;return null===(e=t.parent.superSDSetting)||void 0===e?void 0:e.toggleActionMenu(!t.parent.superSDSetting.isActionMenuOpen,t.event)}),t.parent.customizeTelemetryTag,t.parent.strings.moreOptionsTooltip,"toggle-button")}
`,pi=Be.d`
    <msn-autos-card class="autos-card-body|Prong2|Listing|${(e,t)=>t.index}"
        :card="${e=>e}"
        :variant="Prong2"
        :isProng2="${(e,t)=>t.parent.config.isProng2}"
        :imageAutoScroll=${(e,t)=>t.parent.config.imageAutoScroll}
        :enableZoomIn=${(e,t)=>t.parent.config.enableZoomIn}
        :alwaysShowFlippers=${(e,t)=>t.parent.alwaysShowFlippers}
        :imageAutoScrollInternalMs=${(e,t)=>t.parent.config.imageAutoScrollInternalMs}
        :enableMultiImage=${(e,t)=>t.parent.config.enableMultiImage}
        :enableNewBadge=${(e,t)=>t.parent.config.enableNewBadge}
        :enableCarfax=${(e,t)=>t.parent.config.enableCarfax}
        :enableAccident=${(e,t)=>t.parent.config.enableAccident}
        :greatDeal=${(e,t)=>t.parent.config.greatDeal}
        :popular=${(e,t)=>t.parent.strings.popular}
        :priceDrop=${(e,t)=>t.parent.strings.priceDrop}
        :formCode=${(e,t)=>t.parent.config.formCode}
        :noAccident=${(e,t)=>t.parent.strings.noAccident}
        :useNewAccident=${(e,t)=>t.parent.config.useNewAccident}
        :isHalfCard=${(e,t)=>t.parent.isHalfCard}
        :nextImageFlipperTelemetryTag=${(e,t)=>t.parent.nextImageFlipperTelemetryTag}
        :previousImageFlipperTelemetryTag=${(e,t)=>t.parent.previousImageFlipperTelemetryTag}
        :telemetryTag=${(e,t)=>t.parent.getAutosTelemetry("Listing",t.index)}
        >
    </msn-autos-card>
`,hi=Be.d`
    <span class="title">
        <a title=${(e,t)=>t.parent.mapCardTitle(t.parent.config.cardTitleKey)}  href=${(e,t)=>(0,ne.fR)(e.landingPageUrl,t.parent.config.formCode)} target="_blank" data-t="${(e,t)=>t.parent.titleTelemetryTag}"> 
            <img class="image" src=${(e,t)=>t.parent.config.titleIconUrl}>
            <span class="head-string">
                ${(e,t)=>t.parent.mapCardTitle(t.parent.config.cardTitleKey)} 
            </span>
        </a>
    </span>
    ${(0,Ne.g)(((e,t)=>!t.parent.config.isWidget),Be.d`<span class="more-actions">
        ${ci}
    </span>`)}
`,ui=Be.d`
    <msn-autos-card class="autos-card-body|${e=>e.cardType}|${e=>e.currentCardIndex}"
        :cards=${e=>e.cards}
        :autosEntities=${e=>e.autosEntities}
        :cardFormat=${e=>e.cardFormat}
        :useDefaultListing=${e=>e.config.useProd}
        :currentCardIndex=${e=>e.currentCardIndex}
        :isProng2="${e=>e.config.isProng2}"
        :imageAutoScroll=${e=>e.config.imageAutoScroll}
        :enableZoomIn=${e=>e.config.enableZoomIn}
        :alwaysShowFlippers=${e=>e.config.alwaysShowFlippers}
        :imageAutoScrollInternalMs=${e=>e.config.imageAutoScrollInternalMs}
        :enableMultiImage=${e=>e.config.enableMultiImage}
        :enableAccident=${e=>e.config.enableAccident}
        :enableNewBadge=${e=>e.config.enableNewBadge}
        :greatDeal=${e=>e.config.greatDeal}
        :popular=${e=>e.strings.popular}
        :priceDrop=${e=>e.strings.priceDrop}
        :formCode=${e=>e.config.formCode}
        :noAccident=${e=>e.strings.noAccident}
        :useNewAccident=${e=>e.config.useNewAccident}
        :isHalfCard=${e=>e.isHalfCard}
        :nextImageFlipperTelemetryTag=${e=>e.nextImageFlipperTelemetryTag}
        :previousImageFlipperTelemetryTag=${e=>e.previousImageFlipperTelemetryTag}
        :telemetryTag=${e=>e.getAutosTelemetry(e.cardType,e.currentCardIndex)}
        >
    </msn-autos-card>
`,gi=Be.d`
    <msn-autos-qna class="autos-card-body|${e=>e.type}|${e=>e.index}"
        :cards=${e=>e.cards}
        :currentCardIndex=${e=>e.currentCardIndex}
        :formCode=${e=>e.config.formCode}
        :telemetryTag=${e=>e.getAutosTelemetry(e.type,e.index)}
        :isHalfCard=${e=>e.isHalfCard}
        >
    </msn-autos-qna>
`,vi=Be.d`
    <msn-autos-ranker class="autos-card-body|${e=>e.type}|${e=>e.index}"
        :cards=${e=>e.cards}
        :currentCardIndex=${e=>e.currentCardIndex}
        :formCode=${e=>e.config.formCode}
        :seeCarsNearYou=${e=>e.strings.seeListingNearYou}
        :telemetryTag=${e=>e.getAutosTelemetry(e.type,e.index)}
        :isHalfCard=${e=>e.isHalfCard}
        >
    </msn-autos-ranker>
`,fi=Be.d`
    <msn-autos-see-more class="autos-card-body|seeMore|${e=>e.currentCardIndex}"
        :telemetryTag=${e=>e.getAutosTelemetry(e.type,e.index)}
        :seeMoreCarsString=${e=>e.strings.seeMoreCarsString}
        :sellYourCarsString=${e=>e.strings.sellYourCarsString}
        :qnaString=${e=>e.strings.qnaString}
        :couponsAndDealsString=${e=>e.strings.couponsAndDealsString}
        :isHalfCard=${e=>e.isHalfCard}
        >
    </msn-autos-see-more>
`,mi=Be.d`
    <fluent-card class="card-container">
            <msn-autos-carousel
                class="auto-carousel-prong2"
                auto-scroll=${e=>e.config.autoScroll}
                always-show-flippers=${e=>e.config.alwaysShowFlippers}
                auto-scroll-interval-ms=${e=>e.config.autoScrollInternalMs}
                next-flipper-telemetry-tag=${e=>e.nextSlideTelemetryTag}
                previous-flipper-telemetry-tag=${e=>e.previousSlideTelemetryTag}
                show-tab=${e=>!e.config.withoutCTA}
                show-index=${e=>!e.config.isProng2}
                prong2=${e=>e.config.isProng2}
                is-half-card=${e=>e.isHalfCard}
                canvas="prong2"
            >
                ${(0,it.rx)((e=>e.cards),Be.d`
                    <msn-autos-carousel-tab id=Tab_${(e,t)=>t.index}> </msn-autos-carousel-tab>
                    <msn-autos-carousel-panel>
                        <msn-autos-carousel-slide>
                            <div class="head-wrapper">
                                ${hi}
                            </div>
                            <div class="body">
                                ${pi}
                            </div>
                        </msn-autos-carousel-slide>
                    </msn-autos-carousel-panel>
                `,{positioning:!0,recycle:!1})}
                </msn-autos-carousel>
    </fluent-card>
    `,bi=Be.d`
    <cs-core-sd-card class="super-card-container"
        :data="${e=>e.currentSuperCardData}"
        :telemetryContext="${e=>e.telemetryContext}">
            <div slot="content" class="autos-content" size="${e=>e.cardSize}">
                <div class="super-card-body">
                    ${e=>(e=>{switch(e){case J.Listing:case J.Entity:return ui;case J.EntityRanking:return vi;case J.Qna:return gi;case J.SeeMore:return fi;default:return ui}})(e.cardType)}
                </div>
            </div>
    </cs-core-sd>
`,yi=Be.d`
        <div class="Autos-Card" data-t="${e=>e.autosMarketplaceCardTelemetryTag}">
            ${(0,Ne.g)((e=>e.config.useProd),bi)}
            ${(0,Ne.g)((e=>e.isProng2&&!e.config.useProd),mi)}
            ${(0,Ne.g)((e=>{var t;return null===(t=e.superSDSetting)||void 0===t?void 0:t.isActionMenuOpen}),di)}
        </div>
`;var xi=i(97186),wi=i(60279),Ci=i(78125);const $i=(0,i(9791).Z)((e=>{let t=(0,xi.in)(e);if(null!==t)return t;if(t=(0,xi.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 Ti{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,wi.hM)($i(i))<=Ci.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))}}const ki="Segoe UI",Si=Ie.i`
    .footer-prong2 a {
        color: white;
    }

    :host {
        background: transparent;
    }

    .auto-carousel-prong2 {
        background: transparent;
    }

    .autos-card {
        background: rgba(66, 66, 66, 1);
    }

    .see-more-title a,
    .footer-title,
    .title a {
        color: #FFFFFF;
    }

    .toggle-button svg path {
        fill: white;
        opacity: 1;
    }
`,Li=Ie.i`
    .footer-prong2 a {
        color: #003E92;
    }
    
    .auto-carousel-prong2 {
        background: linear-gradient(124.33deg, rgba(255, 255, 255, 0) -20.01%, #E1FAFF 96.49%);
    }

    .autos-card {
        background: ${De.A4};
    }

    .toggle-button {
        background: transparent;
    }

    .see-more-title a,
    .footer-title,
    .title a {
        color: rgba(0, 0, 0, 0.83);
    }

    .toggle-button svg path {
        fill: black;
        opacity: 1;
    }

    .footer-title-see-more,
    .footer {
        color: rgba(255, 255, 255, 1);
    }
`,Ai=Ie.i`
:host {
    box-sizing: border-box;
    display: block;
    height: 100%;
    background: aliceblue;
}

.auto-carousel {
    background: radial-gradient(182.77% 177.99% at 100% 100%, rgba(0, 69, 172, 0.2) 0%, rgba(0, 69, 172, 0) 100%);
}

.card-container {
    width: 100%;
    height: 100%;
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.body {
    margin: 18px 16px 18px 16px;
}

.super-card-body {
    height: 220px;
}

.title {
    width: 80%;
}

.title a {
    display: flex;
    font-weight: 400;
}

.footer-prong2 a {
    font-size: 14px;
    color: #003E92;
    font-weight: 400;
}

.head-wrapper {
    display: flex;
    margin-top: 6px;
    width: 300px;
}

.footer {
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-arrow {
    position: relative;
    top: 4px;
    margin-right: 6px;
}

.footer-prong2 {
    width: 100%;
    position: relative;
    bottom: 0px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-string {
    margin-left: 10px;
}

.Autos-Card {
    width: 100%;
    height: 100%;
}

.single-autos-container {
    position: relative;
    left: 16px;
    top: 20px;
}

.autos-content {
    width: 268px;
    overflow: hidden;
}

.autos-card {
    background: ${De.A4};
    height: 100%;
    position: relative;
    width: 100%;
    padding: 16px 16px 12px 16px;
    display: block;
    box-shadow: 0px 0px;
    border-radius: 0px;
 }

 .title a {
    width: 300px;
}

 .more-actions {
    position: relative;
    left: 16px;
 }

.autos-icon-image{
    width: 16px;
    height: 16px;
 }

.toggle-button {
    position: relative;
    top: 4px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    height: 24px;
    min-width: 24px;
    width: 24px;
    border: black;
}

.toggle-button:hover {
    opacity: 0.7;
}

.more-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 3;
    margin-left: 4px;
}

.title {
    left: 16px;
    top: 4px;
    align-items: center;
    display: flex;
    text-transform: uppercase;
    position: relative;
}

.bottom-container {
    display: flex;
    position: relative;
    top: -80px;
}


.card-list-item {
    width: 224px;
    height: 80px;
}


.footer-title {
    font-family: ${ki};
    font-size: 12px;
    color: rgba(0, 0, 0, 0.83);
}

.toggle-button svg path{
    fill: black;
}

a {
    color: rgba(0, 0, 0, 0.83);
    font-family: ${ki};
    font-size: 12px;
    font-weight: ${"600"};
    line-height: 16px;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.head-icon {
    transform: scale(0.9);
}

`.withBehaviors(new Le.w("enableColorBackground",!0,Ie.i`
        .auto-carousel {
            background: radial-gradient(182.77% 177.99% at 100% 100%, rgba(0, 69, 172, 0.2) 0%, rgba(0, 69, 172, 0) 100%);
        }
        `),new Le.w("useFallback",!0,Ie.i`
        #autos-marketplace-card {
            width: 300px;
            height: 304px;
            color: white;
        }
        `),new Le.w("enableTest",!0,Ie.i`
        .Autos-Card {
            width: 300px;
            height: 304px;
        }`),new Le.w("enableColorBackground",!1,Ie.i`
        .autos-card {
            background: ${De.A4};
        }`),new Le.w("isHalfCard",!0,Ie.i`
        .autos-content {
            height: 60px;
        }

        .Autos-Card {
            width: 300px;
            height: 146px;
        }

        .body {
            margin: 18px 0px 0px 18px;
            width: 280px;
        }
        `),new Le.w("newFlipperTemplate",!0,Ie.i`
        .footer {
            display: flex;
            justify-content: center;
        }
        `),(0,Ae.Uu)(Ie.i`
        .footer-prong2 a {
            color: white;
        }

        :host {
            background: transparent;
        }

        .auto-carousel-prong2 {
            background: transparent;
        }
        
        .autos-card {
            background: rgba(66, 66, 66, 1);
        }

        .see-more-title a,
        .footer-title,
        .title a {
            color: #FFFFFF;
        }
        
        .toggle-button svg path {
            fill: white;
            opacity: 1;
        }
        
        .footer-title-see-more,
        .footer {
            color: rgba(255, 255, 255, 1);
        }
        `),new class{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&&Ce.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new Ti(this.light,this.dark,e),i=Ce.IfY.getValueFor(e);Ce.IfY.subscribe(t,e),t.attach(i),this.cache.set(e,t)}}(Li,Si),new Le.w("isWidget",!0,Ie.i`
        .Autos-Card {
            width: 100%;
            height: 100%;
        }
        .head-wrapper {
            height: 24px;
        }
        `),new Le.w("isProng2",!0,Ie.i`
        .auto-carousel-prong2 {
            background: linear-gradient(124.33deg, rgba(255, 255, 255, 0) -20.01%, #E1FAFF 96.49%);
        }

        .toggle-button {
            background: transparent;
        }

        .card-container {
            border-radius: 8px;
        }

        .title {
            text-transform: capitalize;
        }
        `),new Le.w("isMSNHP",!0,Ie.i`
        .autos-card {
            background: ${De.A4};
        }
    
        .toggle-button {
            background: transparent;
        }
    
        .see-more-title a,
        .footer-title,
        .title a {
            color: rgba(0, 0, 0, 0.83);
        }
    
        .toggle-button svg path {
            fill: black;
            opacity: 1;
        }
    
        .footer-title-see-more,
        .footer {
            color: rgba(255, 255, 255, 1);
        }
        `)),Oi={experienceConfigSchema:l}},4509:function(e,t,i){"use strict";function a(e,t){const i=e.detail.year?e.detail.year:0,a=e.detail.make?e.detail.make:"",r=e.detail.model?e.detail.model:"";let o="";i>0&&(o=i.toString());let n=`${o} ${a} ${r}`;return n.length>t&&(n=n.substring(0,t)),n}function r(e){const t=l(e.price.msrpMin);return`${null==e.price.currency?"$":e.price.currency}${t}`}function o(e,t){const i=new URL("",e);return i.searchParams.set("form",t),i.toString()}function n(e){if(null!=e.price.msrpMax&&0!=e.price.msrpMax){const t=l(e.price.msrpMax),i=l(e.price.msrpMin),a=null==e.price.currency?"$":e.price.currency;return`Price: ${a}${i} - ${a}${t}`}{const t=l(e.price.msrpMin);return`Priced from ${null==e.price.currency?"$":e.price.currency}${t}`}}function s(e){const t=e.detail.mileage?e.detail.mileage:0,i=e.detail.mileageUnit?e.detail.mileageUnit:"mi";return`${l(t)} ${i}`}function l(e){return(e||0).toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,")}i.d(t,{J6:function(){return n},LY:function(){return r},SL:function(){return a},U3:function(){return l},fR:function(){return o},lH:function(){return s}})},76859:function(e,t,i){"use strict";i.d(t,{C7:function(){return n},Nv:function(){return a},OO:function(){return s},X9:function(){return l},sn:function(){return o}});var a,r=i(9791);!function(e){e._1x_1y="_1x_1y",e._1x_2y="_1x_2y",e._1x_3y="_1x_3y",e._1x_4y="_1x_4y",e._1x_5y="_1x_5y",e._2x_1y="_2x_1y",e._2x_2y="_2x_2y",e._2x_3y="_2x_3y",e._2x_4y="_2x_4y",e._2x_6y="_2x_6y",e._3x_1y="_3x_1y",e._3x_2y="_3x_2y",e._4x_1y="_4x_1y",e._4x_2y="_4x_2y",e._5x_1y="_5x_1y",e._5x_2y="_5x_2y"}(a||(a={}));const o=146,n=300,s=12,l=(0,r.Z)((e=>Array(e).fill(o)))},30113:function(e,t,i){"use strict";var a;i.d(t,{m:function(){return a}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(a||(a={}))},11708:function(e,t,i){"use strict";var a;i.d(t,{f:function(){return a}}),function(e){e.AiCharacter="aicharacterCardEnabled",e.AutosMarketplaceCard="autosmarketplaceCardEnabled",e.HoroscopeCard="horoscopeCardEnabled",e.WeatherCard="weatherCardEnabled",e.SportsCard="sportsCardEnabled",e.MoneyCard="moneyCardEnabled",e.FinanceCard="financeCardEnabled",e.OnThisDayCard="onthisdayCardEnabled",e.ShoppingCard="shoppingCardEnabled",e.ShoppingEventCard="eventSDCardShoppingEnabled",e.TrafficCard="trafficCardEnabled",e.EsportsCard="esportsCardEnabled",e.EsportsStreamsCard="esportsStreamsCardEnabled",e.ElectionsCard="genericelectionCardEnabled",e.LotteryCard="lotteryCardEnabled",e.QnaCard="qnaCardEnabled",e.RecipesCard="recipeCardEnabled",e.InspirationCard="inspirationCardEnabled",e.TravelCard="travelCardEnabled",e.HealthCard="healthCardEnabled",e.TopStoriesCard="topstoriesCardEnabled",e.TrendingTopics="TrendingTopicsUpsellEnabled",e.LocalGuideCard="localGuideCardEnabled",e.GroceryCard="groceryCardEnabled",e.RewardsCard="rewardsCardEnabled",e.RecommendedSearchesCard="recommendedSearchesCardEnabled",e.PersonalizedOffersCard="personalizedoffersCardEnabled",e.PollsCard="pollsCardEnabled",e.MarketPlaceCard="marketplaceCardEnabled",e.QuizCard="quizCardEnabled",e.CasualGamesCard="esportsCardEnabled",e.CommuteCard="commuteCardEnabled",e.Crypto="CryptoCard",e.MarketBrief="MarketBriefCard"}(a||(a={}))},83152:function(e,t,i){"use strict";var a;i.d(t,{L:function(){return a}}),function(e){e.Location="Location",e.Weather="Weather",e.Finance="Finance",e.Team="Team",e.League="League",e.Player="Player",e.Traffic="Traffic",e.Widget="Widget",e.TopicFeed="TopicFeed"}(a||(a={}))},791:function(e,t,i){"use strict";i.d(t,{N:function(){return y}});var a=i(33940),r=i(33954),o=i(26415),n=i(68364),s=i(33799),l=i(16517),d=i(94788),c=i(67267),p=i(63535),h=i(87298),u=i(83152),g=i(11708),v=i(30113),f=i(65135),m=i(33379),b=i(51671);const y=new class extends class{constructor(e){this.fetchImpl=e,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},i=(0,p.PH)(this.locationsServiceEndPoint);let r;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{r=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(i.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: getUserDefaultLocation}`;throw new Error(t)}return e}))),"getUserDefaultLocation")}catch(e){return r}return r}))}addToFavoriteLocation(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){const i="Location",r="Follow",o={method:"POST",body:JSON.stringify({actionType:r,targetType:i,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,p.PH)(this.pdpServiceEndpoint);let d;((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{d=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(u.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,a.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(u.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,i={},r){return(0,a.mG)(this,void 0,void 0,(function*(){const o=u.L.Location,n="Follow",d=yield this.getRequestInit({method:"POST"},i);d.body=JSON.stringify({actionType:n,targetType:o,definitionName:t,degree:"DefaultLocation",metaData:e});const g=(0,p.PH)(this.pdpServiceEndpoint);return((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(o),!0}))}updateTrafficMyRoutes(e,t,i,o,n,s){return(0,a.mG)(this,void 0,void 0,(function*(){const l=i.replace(/[^a-zA-Z0-9\-.,_]/g,""),d=u.L.Traffic,p="Follow",g={method:"POST",body:JSON.stringify({actionType:p,targetType:d,targetId:l,degree:e,definitionName:t,metadata:o,createdDateTime:s}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},v=yield this.getTrafficPdpUrl(null,null,n);try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(v.href,g);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${d}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(d)}catch(e){return r.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,i){return(0,a.mG)(this,void 0,void 0,(function*(){const r={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,t,i);try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${u.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(u.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var i;return(0,a.mG)(this,void 0,void 0,(function*(){const r={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${u.L.Traffic}`;throw new Error(t)}return e}))),"getTrafficFromPdp");return null===(i=yield e.json())||void 0===i?void 0:i.value}catch(e){return null}}))}getTrafficPdpUrl(e,t,i){return(0,a.mG)(this,void 0,void 0,(function*(){const a=(0,p.PH)(this.pdpServiceEndpoint),r=(yield(0,b.XJ)())===s.Hy.SignedIn,o=(0,l.Yq)().UserId,n=r?c.$.getOneServiceParamsWithAuth(o,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(o,this.ocid,!this.ocidOverride);if(e||t){const i=`targetType eq '${u.L.Traffic}'`,r=e?`degree eq '${e}'`:"",o=t?`definitionName eq '${t}'`:"";a.searchParams.set("$filter",`actionType eq 'Follow' and (${i})${r?` and (${r})`:""}${o?` and (${o})`:""}`)}return[...n,...i||[]].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)})),a}))}addToWatchList(e,t=0,i={},r={}){return(0,a.mG)(this,void 0,void 0,(function*(){const o=u.L.Finance,n="Follow",d={method:"POST",body:JSON.stringify({actionType:n,targetType:o,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},r)}),headers:yield this.getOneserviceHeaders(i),credentials:"include"},g=(0,p.PH)(this.pdpServiceEndpoint),v="zh-cn"!==(0,l.Yq)().CurrentMarket;let f;((yield(0,b.XJ)())===s.Hy.SignedIn&&v?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{f=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(o)}catch(e){return!1}return!0}))}addListToWatchList(e,t={},i={}){return(0,a.mG)(this,void 0,void 0,(function*(){const r=u.L.Finance,o="Follow",n={method:"POST",body:JSON.stringify(e.map((e=>({actionType:o,targetType:r,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},i)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},d=(0,p.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,l.Yq)().CurrentMarket;let v;((yield(0,b.XJ)())===s.Hy.SignedIn&&g?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{v=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(d.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${r}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(r)}catch(e){return!1}return!0}))}generateUUID(){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const i=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?i:3&i|8).toString(16)}))}sortWatchList(e,t={}){var i;return(0,a.mG)(this,void 0,void 0,(function*(){const r=u.L.Finance,o="Follow",n=yield y.readPdpWithTargetType(u.L.Finance,!0,200,t),d=n&&(null===(i=n.value)||void 0===i?void 0:i.filter((e=>e.actionType===o&&e.targetId)));if(!d||d.length<e.length)return!1;const g={};let v=e.length;d.forEach((t=>{let i=e.findIndex((e=>e===t.targetId));i<0&&(i=v,v++),g[t.targetId]=JSON.stringify({actionType:o,targetId:t.targetId,targetType:r,rank:i,metadata:t.metadata})}));const f={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(t),credentials:"include"},m=(0,p.PH)(this.pdpServiceEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&m.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(m.href,f);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${r}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(u.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,i,o={},n){return(0,a.mG)(this,void 0,void 0,(function*(){const t=u.L.Weather,a={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:i}}}}),headers:yield this.getOneserviceHeaders(o),credentials:"include"},d=(0,p.PH)(this.pdpServiceEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(d.href,a);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather interests call`;throw new Error(t)}}catch(e){return r.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,i={},r){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let a="";a=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const o=yield this.getRequestInit({method:"POST"},i);o.body=a;const n=(0,p.PH)(this.userUpdateEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));const d=yield this.fetchImpl(n.href,o);if(d.status>=400){const e=`OneService returned error response. Status: ${d.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},i=JSON.stringify(t),a=yield this.getRequestInit({method:"POST"});a.body=i;const r=(0,p.PH)(this.userUpdateEndpoint),o="zh-cn"!==(0,l.Yq)().CurrentMarket;((yield(0,b.XJ)())===s.Hy.SignedIn&&o?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));const n=yield this.fetchImpl(r.href,a);if(n.status>=400){const e=`OneService returned error response. Status: ${n.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const a=[];let o;for(o in e)null!=e[o]&&a.push('"'+o+'": '+JSON.stringify(e[o]));const n='{"userSettings":{'+a.join(", ")+"}}",d=yield this.getRequestInit({method:"POST"},t);d.body=n;const h=(0,p.PH)(this.userUpdateEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&h.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(h.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather setting call`;throw new Error(t)}}catch(e){return r.k.logError(e.message),!1}return!0}))}getPdpUserPreference(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){const o=yield this.getRequestInit({method:"GET"},t),n=(0,p.PH)(this.userUpdateEndpoint);[...(yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{const e=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,o);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!e.ok&&404!=e.status)throw Error(`code=${e.status}, ${e.statusText}`);return Object.assign(Object.assign({},yield e.json()),{is404:404==e.status})}catch(t){if(r.k.logError(t.message),e)throw Error(t.message);return null}}))}updatePdpLayoutPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},i=(0,p.PH)(this.userUpdateEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update layout preference setting call`;throw new Error(t)}}catch(e){return r.k.logError(e.message),!1}return!0}))}updateSegmentCardsEnableStatus(e,t=null){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const i=[];if(t){let e;for(e in t)null!=t[e]&&i.push('"'+e+'": '+JSON.stringify(t[e]))}const a=e.map((e=>e.cardType!=g.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),r=i.length>0?'{"segmentCardSettings":"{'+a+'}","userSettings":{'+i.join(", ")+"}}":'{"segmentCardSettings":"{'+a+'}"}';return this.updateUserPreference(r)}))}updateProductivityCardsEnableStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{enterpriseCardsEnabled:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateGamingCardsEnableStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{gamingCards:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateCommunitySettingsOptOutStatus(e){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t={};e.forEach((e=>{t[e.settingType]=e.optedOut?"1":"0"}));const i={communitySettings:t};return this.updateUserPreference(JSON.stringify(i))}))}updateWidgetSettings(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const a=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:u.L.Widget,metadata:{prongsv2:{region:e.region,size:v.m[e.size],position:e.position}}})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:i})}))}muteWidget(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const a=e.map((e=>({actionType:"Mute",targetId:e,targetType:u.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:i})}))}disableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i={actionType:"Disabled",definitionName:e,targetType:u.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:t})}))}enableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(u.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,a.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:i,endpoint:r,method:o,payload:n,appError:d}=e;if(!r||!o)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),d),!1;const u=(0,p.PH)(r);let g;((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&u.searchParams.set(e.key,e.value)})),i&&i.forEach((e=>{e.value&&u.searchParams.set(e.key,e.value)}));try{JSON.parse(n),g=n}catch(e){g=JSON.stringify(n)}const v={method:o,body:g,headers:yield this.getOneserviceHeaders(t),credentials:"include"},f="GET"==o;try{return yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(u.href,v);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${n}`;throw new Error(t)}return!f||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,d),!1}}))}getUserActions(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=[{key:"actionType",value:e}],i=yield this.sendGenericActionRequest({additionalParams:t,endpoint:this.userActionServiceEndPoint,method:"GET"});return i&&i.value}))}setUserAction(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){return!!(yield this.sendGenericActionRequest({endpoint:this.userActionServiceEndPoint,method:"POST",payload:Object.assign({actionType:e},t)}))}))}deleteUserAction(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){const i=[{key:"actionType",value:e},{key:"targetId",value:t.targetId},{key:"definitionName",value:t.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:i,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const i=(0,p.PH)(this.userUpdateEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const a=yield this.fetchImpl(i.href,t);if(a.status>=400){const t=`OneService returned error response while updating user preference. Status: ${a.status}, payload: ${e}`;throw new Error(t)}}catch(e){return!1}return!0}))}setPdpTargetTypesForBulkLoad(e){e&&e.length&&!this.bulkGraphActionTargetTypes&&(this.bulkGraphActionTargetTypes=e)}readPdpWithTargetType(e,t=!1,i,r={},n=!0,s=[]){return(0,a.mG)(this,void 0,void 0,(function*(){if(n){const t=yield this.getFromWebWorker(e);if(t)return t}if(this.bulkGraphActionTargetTypes&&this.bulkGraphActionTargetTypes.length)if(this.bulkGraphActionTargetTypes.indexOf(e)>=0){this.bulkGraphActionResultCache=this.bulkGraphActionResultCache||(yield this.bulkGraphActionPromise||(this.bulkGraphActionPromise=this.fetchPdpWithTargetTypes(this.bulkGraphActionTargetTypes,t,i,r,s)));const a=this.bulkGraphActionResultCache.get(e);if(a)return{value:a}}else f.M0.sendAppErrorEvent(Object.assign(Object.assign({},o.srQ),{message:`Received an unknown target type "${e}" that was not in the bulk graph action target types list "${this.bulkGraphActionTargetTypes}". Falling back to new network call. Please update the EntryPoint config's "graphActionsToBulkLoad" property to include this type.`}));const a=(yield this.fetchPdpWithTargetTypes([e],t,i,r,s)).get(e);if(a)return{value:a}}))}deleteFromPdp(e,t,i,r={},o,n="Follow",d,u=[]){return(0,a.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(r),credentials:"include"},v=(0,p.PH)(this.pdpServiceEndpoint),m=(yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),y=`targetType eq '${e}'`,x=i.map((e=>`${t} eq '${e}'`)).join(" or ");let w=`actionType eq '${n}' and (${x}) and (${y})`;o&&(w+=` and (degree eq '${o}')`),v.searchParams.set("$filter",w),[...m,...u].forEach((e=>{e.value&&v.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(v.href,g);if(t.status>=400){const i=`OneService returned error response. Status: ${t.status} for actionType: ${n}, targetType: ${e}`;throw new Error(i)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return d&&f.M0.sendAppErrorEvent(Object.assign(Object.assign({},d),{pb:Object.assign(Object.assign({},d.pb),{actionType:n,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,i,r={},o=[]){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const n=e.map((e=>`targetType eq '${e}'`)).join(" or "),d=[{key:"$top",value:`${i=i||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${n})`}],u=yield this.getRequestInit({method:"GET"},r);!0===t&&(u.cache="no-store");const g=(0,p.PH)(this.pdpServiceEndpoint);[...d,...(yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...o].forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));const v=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,u);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!v.ok)throw Error(`code=${v.status}, ${v.statusText}`);const f=new Map,m=yield v.json();if(!m)return f;if(m.value)for(const e of m.value){let t=f.get(e.targetType);t||f.set(e.targetType,t=[]),t.push(e)}for(const t of e)f.get(t)||f.set(t,[]);return f}))}updateMarketPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},i=(0,p.PH)(this.userUpdateEndpoint);((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.href,t);if(!e.ok)throw new Error(`Failed to update market preference: Status: ${e.status}`);return!0}catch(e){return r.k.logError(e.message),!1}}))}getFromWebWorker(e){return(0,a.mG)(this,void 0,void 0,(function*(){let t=null;if(d.yb){const i=this.maptoWebWorkerId(e);if(i&&i.trim()){const i=yield(0,d.ot)({id:this.maptoWebWorkerId(e)});i.fetched&&(t=i.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case u.L.Location:return"weatherpdp";case u.L.League:return"sportsleaguepdp";case u.L.Player:return"sportsplayerpdp";case u.L.Team:return"sportsteampdp";case u.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,a.mG)(this,void 0,void 0,(function*(){const i=yield c.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},i),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,p.PH)(this.userUpdateEndpoint);[...(yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const i=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const i=yield this.fetchImpl(t.href,e);if(!i.ok){if(i.status>=400&&i.status<500&&408!=i.status)return i;(0,n.OO)(null,o.G9t,"Error get followed list")}return i}))),"getFollowedLists");return i.ok||(0,n.OO)(null,o.G9t,"Error get followed list"),yield i.json()}catch(e){return r.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=u.L.Finance,i={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},r=(0,p.PH)(this.userUpdateEndpoint);let o;((yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));try{o=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: FollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"addToFollowedLists")}catch(e){return!1}return!0}))}deleteFromFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=u.L.Finance,i={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},r=(0,p.PH)(this.userUpdateEndpoint);let o;[...(yield(0,b.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));try{o=yield(0,h.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: UnFollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"deleteFromFollowedLists")}catch(e){return!1}return!0}))}logError(e,t){t?f.M0.sendAppErrorEvent(Object.assign(Object.assign({},t),{pb:Object.assign(Object.assign({},t.pb),{error:e.message})})):r.k.logError(e.message)}}{constructor(){super((0,m.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===l.jG.AppType||"newsAndInterests"===l.jG.AppType||"winWidgets"===l.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===l.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===l.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===l.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===l.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},27422:function(e,t,i){"use strict";i.d(t,{M:function(){return u}});var a=i(33940),r=i(44833),o=i(53813),n=i(44979),s=i(47224),l=i(26415),d=i(65135),c=i(68651),p=i(87697),h=i(791);class u{constructor(e,t,i,r,o,n,s){this.menuItems=[],this.isActionMenuOpen=!1,this.actionsMenuButtonElement=null,this.onOutsideClick=e=>{var t;const i=e.composedPath()&&e.composedPath()[0];e.target instanceof this.currentSDClass||(null===(t=this.actionsMenuButtonElement)||void 0===t?void 0:t.contains(i))||this.toggleActionMenu(!1,null)},this.onKeydown=e=>{"Escape"===e.code&&this.toggleActionMenu(!1,null)},this.moreSettingAction=()=>(0,a.mG)(this,void 0,void 0,(function*(){this.toggleActionMenu(!1,null),this.goToPersonalizeSettingsCallback&&this.goToPersonalizeSettingsCallback()})),this.hideSettingAction=()=>(0,a.mG)(this,void 0,void 0,(function*(){if(!this.segmentSdCardType)return!1;try{const e=yield h.N.updateSegmentCardsEnableStatus([{cardType:this.segmentSdCardType,enabled:!1}]);return e&&this.refreshSDCardSection&&this.refreshSDCardSection(),this.toggleActionMenu(!1,null),e}catch(e){return d.M0.sendAppErrorEvent(Object.assign(Object.assign({},l.M2Y.SuperSDHideCardError),{message:`Fail to hide ${this.segmentSdCardType} Card .`,pb:Object.assign(Object.assign({},l.M2Y.SuperSDHideCardError.pb),{customMessage:`Failed with exception : ${e}`})})),!1}})),this.currentSDClass=e,this.isDynamicFeed=t,this.sdCardDynamicFeedConfig=r,this.settingMenuConfig=o,this.goToPersonalizeSettingsCallback=n,this.refreshSDCardSection=s,this.menuItems=this.getBaseActionMenuItems(),this.segmentSdCardType=i}updateMenuItems(e,t){this.menuItems=t?this.menuItems.concat(e):e.concat(this.menuItems)}toggleActionMenu(e,t){this.isDynamicFeed&&this.sdCardDynamicFeedConfig?this.toggleCardActionsForDynamicFeed(t):(this.isActionMenuOpen=e,e?(this.actionsMenuButtonElement=t&&t.currentTarget,this.setAriaExpanded(e),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.onKeydown)):(this.setAriaExpanded(e),this.actionsMenuButtonElement=null,document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.onKeydown)))}setAriaExpanded(e){this.actionsMenuButtonElement&&(this.actionsMenuButtonElement.ariaExpanded=String(e))}toggleCardActionsForDynamicFeed(e){const t=this.sdCardDynamicFeedConfig;if(e&&t){const i={menuItems:(0,c.aS)(t.supportedSdCardActionMenuItems,t.poweredName,void 0,t.feedLayoutCardType,t.cardSize,t.settingsHandler),referrerButton:e.currentTarget,requestContext:new n.fH};t.sdCardActionClickHandler(i,t.feedLayoutCardType)}}getBaseActionMenuItems(){var e,t;if(!this.settingMenuConfig)return[];const i=[];if(null===(e=this.settingMenuConfig.interestSetting)||void 0===e?void 0:e.onClick){const e=this.settingMenuConfig.interestSetting;i.push({glyph:o.Z,title:e.title,id:"dislike",onClick:e.onClick,telemetryTag:e.telemetryTag})}if(null===(t=this.settingMenuConfig.dataProviderSetting)||void 0===t?void 0:t.onClick){const e=this.settingMenuConfig.dataProviderSetting;i.push({glyph:r.Z,title:e.title,id:"dataProvider",onClick:e.onClick,telemetryTag:e.telemetryTag})}if(this.settingMenuConfig.hideSetting){const e=this.settingMenuConfig.hideSetting;i.push({glyph:o.Z,title:e.title,id:"hide",onClick:e.onClick?e.onClick:()=>this.hideSettingAction(),telemetryTag:e.telemetryTag})}if(this.settingMenuConfig.moreSetting){const e=this.settingMenuConfig.moreSetting;i.push({glyph:s.Z,ariaLabel:e.ariaLabel,title:e.title,id:"more",onClick:e.onClick?e.onClick:()=>this.moreSettingAction(),telemetryTag:e.telemetryTag})}return i}}(0,a.gn)([p.LO],u.prototype,"menuItems",void 0),(0,a.gn)([p.LO],u.prototype,"isActionMenuOpen",void 0)},6551:function(e,t,i){"use strict";i.d(t,{D:function(){return n},J:function(){return s}});var a=i(53271),r=i(33763),o=i(39181);r.S;const n=(e,t,i,r,n="more-actions",s=!1)=>o.d`
        <fluent-button
            slot="${n}"
            appearance="neutral"
            class=${null!=r?r:""}
            @click=${e}
            data-t=${e=>t}
            title="${i}"
            aria-label="${i}"
            aria-expanded="${s}"
            role="button"
        >
            ${a.Z}
        </fluent-button>
    `,s=(e,t,i,a="end")=>o.d`
        <msn-actions-menu 
            :referrerButton=${t=>e}
            :menuItems=${e=>t}
            :useFastAnchoredRegion=${e=>!0!==i}
            defaultHorizontalPosition=${a}
        />
    `},16339:function(e,t,i){"use strict";i.d(t,{Iq:function(){return l},MD:function(){return n},gL:function(){return s}});var a=i(59049),r=i(14675);const o=new a.v("WidgetLoadTracker");function n(e){o.has(e)||("hidden"!==document.visibilityState?(0,r.c)((()=>o.set(e,!0))):o.set(e,!0))}const s=new a.v("WidgetAppState");var l;!function(e){e[e.IsDarkMode=1]="IsDarkMode",e[e.IsDashboardVisible=2]="IsDashboardVisible",e[e.ActionMenuStrings=3]="ActionMenuStrings",e[e.IsDynamicFeed=4]="IsDynamicFeed",e[e.SessionId=5]="SessionId",e[e.NonPeregrineWidgetTelemetryObject=6]="NonPeregrineWidgetTelemetryObject",e[e.FeedRegionWidgets=7]="FeedRegionWidgets",e[e.DefaultPreviewType=8]="DefaultPreviewType",e[e.IsReauthRequired=9]="IsReauthRequired"}(l||(l={}))},68651:function(e,t,i){"use strict";i.d(t,{B$:function(){return v},f3:function(){return b},US:function(){return m},aS:function(){return g},gK:function(){return y}});var a=i(38156),r=i(16339),o='<svg width="4" height="4" viewBox="0 0 4 4"><rect width="4" height="4" rx="2" fill-opacity=".9"/></svg>',n=i(19456),s=i(53813),l=i(94522),d=i(60483),c=i(64434);let p,h,u;function g(e,t,i,d,c,g){const m=[];let b=0,y=!1;if(!e||!e.length)return;const x=r.gL.get(r.Iq.ActionMenuStrings),w=e.includes(v.Unpin);return u=w?"pinned":"feed",p=i||{},h=d,e.forEach((e=>{switch(e){case v.Small:b++,p.height=146,m.push({id:"small",glyph:c===e?o:void 0,title:x.small||"Small",ariaLabel:x.small||"Small",telemetryTag:f(`size_${v.Small}`,x.small,a.wu.Customize)});break;case v.Medium:b++,p.height=304,m.push({id:"medium",glyph:c===e?o:void 0,title:x.medium||"Medium",ariaLabel:x.medium||"Medium",telemetryTag:f(`size_${v.Medium}`,x.medium,a.wu.Customize)});break;case v.Large:b++,p.height=462,m.push({id:"large",glyph:c===e?o:void 0,title:x.large||"Large",ariaLabel:x.large||"Large",telemetryTag:f(`size_${v.Large}`,x.large,a.wu.Customize)});break;case v.Pin:m.push({id:"pinCard",glyph:l.Z,title:x.pinCard||"Pin widget",ariaLabel:x.pinCard||"Pin widget",telemetryTag:f("pinwidget",x.pinCard,a.wu.Pin)});break;case v.Customize:y=!0,b>1&&m.push({isDivider:!0}),m.push({id:"customize",glyph:n.Z,title:x.customize||"Customize widget",ariaLabel:x.customize||"Customize widget",onClick:()=>g("onShowSettingsEnd"),telemetryTag:f("editwidget",x.customize,a.wu.Customize)});break;case v.Unpin:!y&&b>1&&m.push({isDivider:!0}),m.push({id:"unpinCard",glyph:'<svg width="16" height="20" viewBox="0 0 17 16" fill="none"><path d="M16 15.5c0 .14-.04.25-.14.35-.1.1-.22.15-.35.15a.49.49 0 0 1-.36-.15l-5.03-5.02-1.14 3.81a.5.5 0 0 1-.18.26.46.46 0 0 1-.3.1.48.48 0 0 1-.35-.15L5 11.7.7 16H0v-.71L4.3 11 1.15 7.85A.49.49 0 0 1 1 7.5c0-.1.03-.2.09-.27a.55.55 0 0 1 .22-.18L4.9 5.6.15.85A.48.48 0 0 1 0 .5C0 .36.05.24.15.15A.5.5 0 0 1 .5 0c.13 0 .25.05.35.15l15 15c.1.1.15.21.15.35ZM7.24 5.1l-.75-.75 1.47-3.24A1.48 1.48 0 0 1 9.89.34c.18.08.34.18.48.32L15.3 5.6c.14.14.24.3.32.5a1.49 1.49 0 0 1-.8 1.95L11.52 9.4l-.76-.77 3.66-1.53a.5.5 0 0 0 .3-.46.48.48 0 0 0-.14-.35L9.66 1.38a.46.46 0 0 0-.16-.1.45.45 0 0 0-.19-.05c-.1 0-.19.03-.27.08a.5.5 0 0 0-.18.21L7.23 5.1ZM2.39 7.68l5.87 5.87 1.06-3.53-3.66-3.65L2.4 7.68Z"/></svg>',title:x.unpinCard||"Unpin widget",ariaLabel:x.unpinCard||"Unpin widget",telemetryTag:f("unpinwidget",x.unpinCard,a.wu.Unpin)});break;case v.PoweredBy:m.push({isDivider:!0}),m.push({id:"poweredBy",isText:!0,title:t||"Powered by Microsoft",ariaLabel:t||"Powered by Microsoft"});break;case v.RemoveWidget:m.push({id:v.RemoveWidget,glyph:s.Z,title:x.hideWidget,ariaLabel:x.hideWidget,telemetryTag:f("removewidget",x.hideWidget,a.wu.Hide)})}})),m}var v;function f(e,t,i){return new d.D({name:`${h}>customization_${e}`,type:a.c9.ActionButton,action:a.Aw.Click,behavior:i,zone:u,content:{headline:t,type:a.uH.StructuredData,vertical:h,category:h},destinationUrl:location.href,ext:p}).getMetadataTag()}function m(e){switch(e){case"_1x_1y":case"half":return"small";case"_1x_3y":case"tall":return"large";default:return"medium"}}function b(e,t,i){e&&i&&t&&(t(new CustomEvent("CardResized",{detail:{cardType:i,size:"medium"}})),e.style.zIndex=c.K.Above.toString(),e.style.height="304px")}function y(e,t,i,a){e&&i&&t&&(t(new CustomEvent("CardResized",{detail:{cardType:i,size:"small"}})),!1,e.style.zIndex="",e.style.height="")}!function(e){e.Small="small",e.Medium="medium",e.Large="large",e.Customize="customize",e.Pin="pin",e.Unpin="unpin",e.PoweredBy="poweredBy",e.RemoveWidget="removeWidget"}(v||(v={}))},94731:function(e,t,i){"use strict";function a(e,t,i){return i<e?t:i>t?e:i}i.d(t,{w:function(){return a}})},95263:function(e,t,i){"use strict";i.d(t,{Sf:function(){return d},w_:function(){return l},UT:function(){return c},IY:function(){return p},A4:function(){return g}});var a=i(98648),r=i(42355),o=i(32804),n=i(65390);const{create:s}=a.L,l=s("gradient-white-fill").withDefault((e=>(0,n.Y)(.8,1,r.w.create(1,1,1),o.wFS.getValueFor(e)))),d=s("gradient-background-fill").withDefault((e=>(0,n.Y)(0,1,null,o.wFS.getValueFor(e)))),c=s("neutral-fill-bubble-on-rest").withDefault((e=>function(e,t){const i=e.closestIndexOf(t);return e.get(i-5)}(o.yvm.getValueFor(e),o.wFS.getValueFor(e)))),p=s("neutral-foreground-hint-on-bubble-on-rest").withDefault((e=>o.axZ.getValueFor(e).evaluate(e,c.getValueFor(e))));function h(e,t,i){return e.get(e.closestIndexOf((a=t,r.w.create(a,a,a)))-i);var a}const u=s({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>h(o.yvm.getValueFor(e),o.q2d.getValueFor(e),o.YL4.getValueFor(e))}),g=s("neutral-layer-card").withDefault((e=>u.getValueFor(e).evaluate(e)))},65390:function(e,t,i){"use strict";i.d(t,{Y:function(){return o}});var a=i(97186),r=i(2696);function o(e=0,t=1,i,o){const n=o.toColorString(),{r:s,g:l,b:d}=(0,a.in)(n),c=`linear-gradient(160deg, ${new r.h(s,l,d,e).toStringWebRGBA()}, ${new r.h(s,l,d,t).toStringWebRGBA()})`;if(i){return[c,null==i?void 0:i.toColorString()].join()}return c}},30980:function(e,t,i){"use strict";i.d(t,{g:function(){return v}});var a=i(33940),r=i(38156),o=i(26785),n=i.n(o),s=i(81707),l=i(55096),d=i.n(l),c=i(87055),p=i.n(c),h=i(72653),u=i.n(h),g=i(87697);class v extends s.m{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.isShowingEntityList=!1,this.showNavList=!1,this.actionMenuItems=[],this.keyDownHandler=e=>("Escape"===e.code?(this.interestMenuButtonElement&&this.interestMenuButtonElement.focus(),this.showNavList=!1):"Tab"===e.code&&this.customTabEventHandler&&this.customTabEventHandler(this,e),!0),this.showInfoButtonTemplate=()=>{},this.handleInterestMenuMouseEnter=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!0,this.isActionMenuOpen=!1,this.headerData=Object.assign(Object.assign({},this.headerData),{isShowingEntityList:!0})},this.handleInterestMenuMouseLeave=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!1,this.showNavList=!1},this.handleNavigationMouseEnter=e=>{this.showNavList=!0,this.isActionMenuOpen&&this.toggleActionMenu(null)},this.handleNavigationMouseLeave=e=>{setTimeout((()=>{this.isShowingEntityList||(this.showNavList=!1)}),100)},this.interestMenuItemClick=(e,t)=>{this.showNavList=!1,t.onClick(e,t)},this.followInterestsButtonClick=e=>{this.showNavList=!1,this.headerData&&this.headerData.interestMenuData&&this.headerData.interestMenuData.footerMenuItem.onClick(e)},this.getInterestMenuItemTelemetryTag=e=>{var t;return null===(t=this.interestMenuTelemetryTag)||void 0===t?void 0:t.addOrUpdateChild({name:"interest",action:r.Aw.Click,behavior:r.wu.Refresh,type:r.c9.Entity,content:{headline:e.title}}).getMetadataTag()},this.handleClickForActionMenu=e=>{var t;e&&(e.target instanceof v||this.actionsMenuButtonElement&&this.actionsMenuButtonElement.contains((e.path||(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)))[0]))||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code||this.toggleActionMenu(!1,null)},this.actionMenuItemClick=e=>{if(this.headerData.actionMenuData)switch(this.toggleActionMenu(!1,null),e){case 0:return this.headerData.actionMenuData.followInterestsCallback&&this.headerData.actionMenuData.followInterestsCallback();case 1:return this.headerData.actionMenuData.manageInterestsCallback&&this.headerData.actionMenuData.manageInterestsCallback();case 2:return this.headerData.actionMenuData.hideCardCallback&&this.headerData.actionMenuData.hideCardCallback();case 3:return this.headerData.actionMenuData.moreSettingsPersonalizeCallback&&this.headerData.actionMenuData.moreSettingsPersonalizeCallback()}},this.initTelemetry=()=>{var e,t,i,a,o,n,s,l,d,c,p,h;if(!this.headerData)return;const u=this.headerData.telemetryContext;this.headerTelemetryContext=null!==(e=null==u?void 0:u.headerTelemetryObject)&&void 0!==e?e:null===(t=this.parentTelemetryObject)||void 0===t?void 0:t.addOrUpdateChild({name:"header",action:r.Aw.Click,behavior:r.wu.Navigate,content:{headline:this.headerData.title}}),this.actionMenuTelemetryTag=null!==(i=null==u?void 0:u.actionMenuTelemetryTag)&&void 0!==i?i:null===(a=this.headerTelemetryContext)||void 0===a?void 0:a.addOrUpdateChild({name:"cardactionellipsis",action:r.Aw.Click,behavior:r.wu.Open,type:r.c9.ActionButton}),this.interestMenuTelemetryTag=null!==(o=null==u?void 0:u.interestMenuTelemetryTag)&&void 0!==o?o:null===(n=this.parentTelemetryObject)||void 0===n?void 0:n.addOrUpdateChild({name:"interestmenu"}),this.interestMenuButtonTelemetryTag=null!==(l=null===(s=null==u?void 0:u.interestMenuButtonTelemetryTag)||void 0===s?void 0:s.getMetadataTag())&&void 0!==l?l:null===(d=this.parentTelemetryObject)||void 0===d?void 0:d.addOrUpdateChild({name:"interestmenu",action:r.Aw.Hover,behavior:r.wu.Open,type:r.c9.Entity}).getMetadataTag(),this.interestMenuFollowTelemetryTag=null!==(p=null===(c=null==u?void 0:u.interestMenuFollowButtonTelemetryTag)||void 0===c?void 0:c.getMetadataTag())&&void 0!==p?p:null===(h=this.parentTelemetryObject)||void 0===h?void 0:h.addOrUpdateChild({name:"followinterests",action:r.Aw.Click,behavior:r.wu.Refresh,type:r.c9.Entity}).getMetadataTag()}}connectedCallback(){var e,t;if(super.connectedCallback(),this.initTelemetry(),null===(t=null===(e=this.interestMenu)||void 0===e?void 0:e.children)||void 0===t?void 0:t.length){const e=this.interestMenu.children[0].children[1],t=null==e?void 0:e.children[0];setTimeout((()=>{t.focus()}),100)}this.actionMenuItems=this.getBaseActionMenuItems()}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.actionsMenuButtonElement=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.actionsMenuButtonElement=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}getBaseActionMenuItems(){var e,t,i,o,s,l,c,h,g,v,f,m,b,y,x,w,C,$,T,k,S,L,A,O,I,M;if(!this.headerData)return;let D=[];const F=this.headerData.telemetryContext;if(this.headerData.interestMenuData){const n=null!==(t=null===(e=null==F?void 0:F.followInterests)||void 0===e?void 0:e.getMetadataTag())&&void 0!==t?t:null===(i=this.parentTelemetryObject)||void 0===i?void 0:i.addOrUpdateChild({name:"followinterests",action:r.Aw.Click,behavior:r.wu.Follow,type:r.c9.ActionButton}).getMetadataTag(),d=null!==(s=null===(o=null==F?void 0:F.manageInterests)||void 0===o?void 0:o.getMetadataTag())&&void 0!==s?s:null===(l=this.parentTelemetryObject)||void 0===l?void 0:l.addOrUpdateChild({name:"manageinterests",action:r.Aw.Click,behavior:r.wu.Navigate,type:r.c9.ActionButton}).getMetadataTag();D.push({id:"follow",glyph:p(),title:null!==(g=null===(h=null===(c=this.headerData.actionMenuData)||void 0===c?void 0:c.strings)||void 0===h?void 0:h.followInterestsTitle)&&void 0!==g?g:"Follow interests",ariaLabel:"follow interests",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(0)})),telemetryTag:n},{id:"manage",glyph:u(),title:null!==(m=null===(f=null===(v=this.headerData.actionMenuData)||void 0===v?void 0:v.strings)||void 0===f?void 0:f.manageInterestsTitle)&&void 0!==m?m:"Manage interests",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(1)})),telemetryTag:d})}(null===(y=null===(b=this.headerData.actionMenuData)||void 0===b?void 0:b.items)||void 0===y?void 0:y.length)>0&&(D=[...D,...this.headerData.actionMenuData.items],D.length>0&&D.push({isDivider:!0}));const E=null!==(w=null===(x=null==F?void 0:F.hideCard)||void 0===x?void 0:x.getMetadataTag())&&void 0!==w?w:null===(C=this.parentTelemetryObject)||void 0===C?void 0:C.addOrUpdateChild({name:"hidecard",action:r.Aw.Click,behavior:r.wu.Hide,type:r.c9.ActionButton}).getMetadataTag(),P=null!==(T=null===($=null==F?void 0:F.moreSettings)||void 0===$?void 0:$.getMetadataTag())&&void 0!==T?T:null===(k=this.parentTelemetryObject)||void 0===k?void 0:k.addOrUpdateChild({name:"moresettings",action:r.Aw.Click,behavior:r.wu.Navigate,type:r.c9.ActionButton}).getMetadataTag();return D.push({id:"hide",glyph:n(),title:null!==(A=null===(L=null===(S=this.headerData.actionMenuData)||void 0===S?void 0:S.strings)||void 0===L?void 0:L.hideCardTitle)&&void 0!==A?A:"Hide card",ariaLabel:"hide-card",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(2)})),telemetryTag:E},{id:"more",glyph:d(),title:null!==(M=null===(I=null===(O=this.headerData.actionMenuData)||void 0===O?void 0:O.strings)||void 0===I?void 0:I.moreSettingsTitle)&&void 0!==M?M:"More settings",onClick:()=>(0,a.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(3)})),telemetryTag:P}),D}}(0,a.gn)([g.LO],v.prototype,"headerData",void 0),(0,a.gn)([g.LO],v.prototype,"isActionMenuOpen",void 0),(0,a.gn)([g.LO],v.prototype,"isShowingEntityList",void 0),(0,a.gn)([g.LO],v.prototype,"showNavList",void 0),(0,a.gn)([g.LO],v.prototype,"actionMenuItems",void 0),(0,a.gn)([g.LO],v.prototype,"actionMenuTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"headerTelemetryContext",void 0),(0,a.gn)([g.LO],v.prototype,"infoButtonTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"interestMenuButtonTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"interestMenuFollowTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"interestMenuItemTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"interestMenuTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"parentTelemetryObject",void 0),(0,a.gn)([g.LO],v.prototype,"titleTelemetryTag",void 0),(0,a.gn)([g.LO],v.prototype,"interestMenu",void 0)},61671:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var a=i(32804),r=i(22144);const o=i(53046).i`
    ${r.e} cs-sd-card-header{font-size:var(--sd-card-title-font-size,${a.sNp});
        line-height: var(--sd-card-title-line-height, ${a.vgC});font-weight:var(--sd-card-title-font-weight,normal)}fluent-button:hover{background:rgba(0,0,0,0.04)}.header-icon,.header-icon img{width:var(--sd-header-icon-width,16px);height:var(--sd-header-icon-height,16px)}.interest-menu-button svg{width:12px;height:12px}.nav-list-scroll{overflow-y:scroll}.nav-list-scroll::-webkit-scrollbar{width:6px}.nav-list-scroll::-webkit-scrollbar-thumb{height:82px;background:rgba(0,0,0,0.58);border:1px solid #767676;border-radius:20px}.title-link{color:${a.CHi};text-decoration:none}.topic-menu-nav-content{box-sizing:border-box;display:flex;position:absolute;top:36px;left:20px;padding-top:6px;min-height:40px;max-height:245px;width:276px;border-radius:4px;border:1px solid ${a.akT};
        box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.14);
        background-color: ${a.s55};
        z-index: 3;
        
        overflow-y: auto;
        overflow-x: hidden;
    }
`},8567:function(e,t,i){"use strict";i.d(t,{J:function(){return x}});var a=i(30980),r=i(61671),o=i(39181),n=i(58952),s=i(13988),l=i(11310),d=i.n(l),c=i(9555),p=i.n(c),h=i(50367),u=i.n(h);i(33763).S;const g=o.d`<fluent-button appearance="stealth" slot="more-actions" class="stealth" @click=${(e,t)=>e.toggleActionMenu(t.event,!e.isActionMenuOpen)} title="${e=>{var t,i;return null===(i=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===i?void 0:i.actionMenuToolTip}}" aria-label="${e=>{var t,i;return null===(i=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===i?void 0:i.actionMenuToolTip}}" data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}">${d()}</fluent-button>`,v=o.d`<div data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><msn-actions-menu :referrerButton=${e=>e.actionsMenuButtonElement} :menuItems=${e=>e.actionMenuItems} defaultHorizontalPosition=${e=>{var t;return(null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.horizontalPosition)||"end"}} /></div>`,f=o.d`<fluent-button ${(0,n.i)("interestMenuButtonElement")} appearance="stealth" slot="menu-button" class="stealth interest-menu-button" title="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" aria-label="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" data-t="${e=>e.interestMenuButtonTelemetryTag}" @mouseenter="${(e,t)=>e.handleNavigationMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleNavigationMouseLeave(t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.handleNavigationMouseEnter(t.event):null}">${p()}</fluent-button>`,m=o.d`<div class="topic-menu-nav-content" @mouseenter="${(e,t)=>e.handleInterestMenuMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleInterestMenuMouseLeave(t.event)}" data-t="${e=>{var t;return null===(t=e.interestMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><div class="nav-list-scroll"><cs-interest-menu :data=${e=>e.headerData.interestMenuData} :headerData=${e=>e.headerData}></cs-interest-menu></div></div>`,b=o.d`<fluent-button slot="more-actions" appearance="neutral" @click=${(e,t)=>e.showInfoButtonTemplate()} data-t="${e=>e.infoButtonTelemetryTag}">${u()}</fluent-button>`,y=o.d` ${(0,s.g)((e=>e.headerData),o.d`<cs-sd-card-header slot="header" data-t="${e=>{var t;return null===(t=e.headerTelemetryContext)||void 0===t?void 0:t.getMetadataTag()}}" href="${e=>e.headerData.titleNavigationLink}" target="_blank">${(0,s.g)((e=>e.headerData.headerLogo),o.d`<div slot="icon" class="header-icon">${e=>e.headerData.isEventCard?o.d`<img src="${e.headerData.headerLogo}">`:o.d`${e.headerData.headerLogo}`}</div>`)} ${e=>e.headerData.title} ${(0,s.g)((e=>e.headerData.interestMenuData),f)} ${(0,s.g)((e=>e.showNavList&&!1!==e.headerData.isShowingEntityList),m)} ${(0,s.g)((e=>e.headerData.infoButtonText),b)} ${g} ${(0,s.g)((e=>e.isActionMenuOpen),v)}</cs-sd-card-header>`)}
`,x=a.g.compose({baseName:"sd-header",styles:r.x,template:y})},22144:function(e,t,i){"use strict";i.d(t,{e:function(){return r}});var a=i(32804);const r=i(53046).i` fluent-divider{border-top:1px solid ${a.akT}}fluent-menu{padding-bottom:0px;padding-top:0px;box-shadow:none}fluent-menu-item::part(checkbox-indicator){width:10px;height:10px}.footer-menu{padding-top:0px}.footer-menu-item{grid-template-columns:20px 20px 0 auto;padding-inline-start:12px;margin:0px 2px;color:${a.Avx};
        fill: ${a.Avx}}.footer-menu-item:hover svg{fill:currentColor}.interest-menu{min-width:262px}.interest-menu fluent-menu-item{grid-template-columns:20px 20px 1fr 0 auto;padding-inline-start:12px;margin:0 2px}.interest-menu .menu-item-badge{margin-inline-start:0;font-size:10px;margin-inline-end:0}.menu-item-icon{display:flex}.nav-list-title{height:20px;display:flex;align-items:center;color:#7A7A7A;margin-inline-start:16px;flex:none;flex-grow:0}.recommended-interest-menu{padding-top:6px}@media (prefers-color-scheme:dark){.nav-list-title{color:rgba(255,255,255,0.7)}}`},18573:function(e,t,i){"use strict";i.d(t,{G:function(){return O}});var a=i(38156);var r=i(39181),o=i(13988),n=i(3181),s=i.n(n),l=i(24201),d=i.n(l);const c=r.d`<fluent-button class="flipper previous" title="${e=>e.footerData.paginationData.previousFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!1,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!1,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(o=null===(r=null==i?void 0:i.telemetryContext)||void 0===r?void 0:r.previousFlipper)||void 0===o?void 0:o.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"previousslidearrow",action:a.Aw.Click,behavior:a.wu.Paginate,type:a.c9.ActionButton}).getMetadataTag();var t,i,r,o,n}}">${s()}</fluent-button>`,p=r.d`<fluent-button class="flipper next" title="${e=>e.footerData.paginationData.nextFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!0,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!0,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(o=null===(r=null==i?void 0:i.telemetryContext)||void 0===r?void 0:r.previousFlipper)||void 0===o?void 0:o.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"nextslidearrow",action:a.Aw.Click,behavior:a.wu.Paginate,type:a.c9.ActionButton}).getMetadataTag();var t,i,r,o,n}}">${d()}</fluent-button>`,h=r.d`<div class="flipper-content" tabindex="-1">${e=>e.footerData.paginationData.pageCount>1?e.footerData.paginationData.currentPageIndex+"/"+e.footerData.paginationData.pageCount:""}</div>`,u=r.d`<fluent-anchor class="footer-link" appearance=${e=>e.cardFillColor?"stealth":"lightweight"} aria-label=${e=>e.footerData.footerLink.text} href=${e=>e.footerData.footerLink.navigationUrl} target="_blank" title=${e=>e.footerData.footerLink.text} data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(o=null===(r=null==i?void 0:i.telemetryContext)||void 0===r?void 0:r.footerLink)||void 0===o?void 0:o.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"seemorelink",action:a.Aw.Click,behavior:a.wu.Navigate,type:a.c9.Footer}).getMetadataTag();var t,i,r,o,n}}">${e=>e.footerData.footerLink.text}</fluent-anchor>`,g=r.d`<fluent-button part="footer-button" class="footer" appearance="neutral" aria-label=${e=>e.footerData.footerButton.text} @click=${e=>e.footerData.footerButton.ctaClick&&e.footerData.footerButton.ctaClick()} title=${e=>e.footerData.footerButton.text} data-t="${e=>{return t=e.parentTelemetryObject,i=e.footerData,null!==(n=null===(o=null===(r=null==i?void 0:i.telemetryContext)||void 0===r?void 0:r.footerButton)||void 0===o?void 0:o.getMetadataTag())&&void 0!==n?n:null==t?void 0:t.addOrUpdateChild({name:"actionbutton",action:a.Aw.Click,behavior:a.wu.Click,type:a.c9.ActionButton}).getMetadataTag();var t,i,r,o,n}}">${e=>e.footerData.footerButton.text}</fluent-button>`,v=r.d` ${(0,o.g)((e=>e.footerData),r.d`<cs-sd-card-footer slot="footer" data-t="${e=>{return null==(t=e.parentTelemetryObject)?void 0:t.addOrUpdateChild({name:"footer"}).getMetadataTag();var t}}">${(0,o.g)((e=>e.footerData.paginationData),r.d`<div slot="pagination" class="pagination-container" part="pagination-container">${c} ${h} ${p}</div>`)} ${(0,o.g)((e=>e.footerData.footerLink),u)} ${(0,o.g)((e=>e.footerData.footerButton),g)}</cs-sd-card-footer>`)}`;var f=i(33940),m=i(80598),b=i(87697);class y extends m.E{connectedCallback(){super.connectedCallback(),this.setPartAttributes()}setPartAttributes(){this.sdCard=this.shadowRoot.querySelector("cs-sd-card"),this.sdCard&&(this.sdCardHeader=this.sdCard.querySelector("cs-sd-header").shadowRoot.querySelector("cs-sd-card-header"),this.sdCard.addEventListener("mouseover",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("focus",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("mouseout",(()=>{this.sdCardHeader.showMenuButton=!1})))}}(0,f.gn)([b.LO],y.prototype,"cardClickTelemetryTag",void 0),(0,f.gn)([b.LO],y.prototype,"contentCardTelemetryTag",void 0),(0,f.gn)([b.LO],y.prototype,"sdCardTelemetryContext",void 0),(0,f.gn)([b.LO],y.prototype,"data",void 0);var x=i(61671),w=i(22674),C=i(53046);const $=C.i``,T=C.i` .flipper{transform:rotateY(180deg)}`,k=C.i` .flipper{background:transparent;min-width:auto;height:24px;border-radius:100%}.flipper:hover{background:rgba(0,0,0,0.04)}.flipper-content{padding-left:4px;padding-right:4px}.flipper svg{height:12px;width:12px}.footer-link{background:transparent}.footer-link::part(control){padding:0}.pagination-container{display:grid;grid-template-columns:24px auto 24px;align-items:center}`.withBehaviors(new w.O($,T));var S=i(32804);const L=C.i` :host{--layer-corner-radius:8}${x.x}
    ${k} .card-link{text-decoration:none}:host{position:relative;display:grid;width:calc((var(--card-base-width) * 1px) + 2px);height:calc(((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px)) + 2px)}cs-interest-manager{position:absolute;top:0;z-index:3}cs-sd-card{border-radius:var(--sd-card-border-radius,calc(${S.rSr} * 1px))}cs-sd-card::part(content){z-index:2}cs-sd-card[size="_1x_3y"]{height:calc(((var(--card-base-height) * 3px) + (var(--card-base-gap) * 1px)) + 2px)}::slotted([slot="content"]){height:100%}`;var A=i(18864);const O=y.compose({baseName:"core-sd-card",styles:L,template:(e,t)=>{var i,n;return r.d`${(0,o.g)((e=>e.data),r.d`${(0,A.rx)((e=>[e.data]),r.d`<div data-t="${e=>((e,t)=>{var i,r;return null!==(r=null===(i=null==t?void 0:t.contentCard)||void 0===i?void 0:i.getMetadataTag())&&void 0!==r?r:null==e?void 0:e.addOrUpdateChild({name:"SuperSDCard",type:a.c9.ContentCard}).getMetadataTag()})(e.parentTelemetryObject,e.telemetryContext)}"><cs-sd-card size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" ?immersive-card="${e=>e.immersiveCard}" target=${e=>{var t,i;return null!==(t=e.target)&&void 0!==t?t:null===(i=e.headerData)||void 0===i?void 0:i.titleNavigationLink}} tabindex="0" part="cs-sd-card">${(0,o.g)((e=>e.immersiveCard&&e.imageData),r.d`<img slot="image" alt=${e=>e.imageData.altText} src=${e=>e.imageData.source}/>`)} ${t.header instanceof Function?t.header(e,t):null!==(i=t.header)&&void 0!==i?i:""}<slot name="content"></slot>${t.footer instanceof Function?t.footer(e,t):null!==(n=t.footer)&&void 0!==n?n:""}</cs-sd-card>${(0,o.g)((e=>e.interestManagerData),r.d`<cs-interest-manager :interestManagerData="${e=>e.interestManagerData}" :parentTelemetryObject=${e=>e.parentTelemetryObject}></cs-interest-manager>`)}</div>`)}
`)}`},header:r.d`<cs-sd-header
                    slot="header"                 
                    :headerData="${e=>e.headerData}"
                    :parentTelemetryObject="${e=>e.parentTelemetryObject}"
                ></cs-sd-header>`,footer:r.d`${v}`})},9555:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M2.15 4.65c.2-.2.5-.2.7 0L6 7.79l3.15-3.14a.5.5 0 11.7.7l-3.5 3.5a.5.5 0 01-.7 0l-3.5-3.5a.5.5 0 010-.7z"></path></svg>'},3181:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M7.35 2.15c.2.2.2.5 0 .7L4.21 6l3.14 3.15a.5.5 0 11-.7.7l-3.5-3.5a.5.5 0 010-.7l3.5-3.5c.2-.2.5-.2.7 0z"></path></svg>'},24201:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>'},26785:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.85 2.15a.5.5 0 10-.7.7l3.5 3.5a8.1 8.1 0 00-3.37 5.05.5.5 0 10.98.2 7.09 7.09 0 013.1-4.53l1.6 1.59a3.5 3.5 0 104.88 4.89l4.3 4.3a.5.5 0 00.71-.7l-15-15zm9.27 10.68a2.5 2.5 0 11-3.45-3.45l3.45 3.45zm-2-4.83l3.38 3.38A3.5 3.5 0 0010.12 8zM10 6c-.57 0-1.13.07-1.67.21l-.8-.8A7.65 7.65 0 0110 5c3.7 0 6.94 2.67 7.72 6.4a.5.5 0 01-.98.2A6.97 6.97 0 0010 6z"></path></svg>'},50367:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 7c.28 0 .5.22.5.5v3a.5.5 0 01-1 0v-3c0-.28.22-.5.5-.5zm0-.75a.75.75 0 100-1.5.75.75 0 000 1.5zM2 8a6 6 0 1112 0A6 6 0 012 8zm6-5a5 5 0 100 10A5 5 0 008 3z"></path></svg>'},55096:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.91 7.38A8.5 8.5 0 013.69 4.3a.5.5 0 01.54-.13l1.92.68a1 1 0 001.32-.76l.36-2a.5.5 0 01.4-.4 8.53 8.53 0 013.55 0c.2.04.35.2.38.4l.37 2a1 1 0 001.32.76l1.92-.68a.5.5 0 01.54.13 8.5 8.5 0 011.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 000 1.52l1.56 1.32a.5.5 0 01.15.54 8.5 8.5 0 01-1.78 3.08.5.5 0 01-.54.13l-1.92-.68a1 1 0 00-1.32.76l-.37 2a.5.5 0 01-.38.4 8.53 8.53 0 01-3.56 0 .5.5 0 01-.39-.4l-.36-2a1 1 0 00-1.32-.76l-1.92.68a.5.5 0 01-.54-.13 8.5 8.5 0 01-1.78-3.08.5.5 0 01.15-.54l1.56-1.32a1 1 0 000-1.52L2.06 7.92a.5.5 0 01-.15-.54zm1.06 0l1.3 1.1a2 2 0 010 3.04l-1.3 1.1c.3.79.71 1.51 1.25 2.16l1.6-.58a2 2 0 012.63 1.53l.3 1.67a7.56 7.56 0 002.5 0l.3-1.67a2 2 0 012.64-1.53l1.6.58a7.5 7.5 0 001.24-2.16l-1.3-1.1a2 2 0 010-3.04l1.3-1.1a7.5 7.5 0 00-1.25-2.16l-1.6.58a2 2 0 01-2.63-1.53l-.3-1.67a7.55 7.55 0 00-2.5 0l-.3 1.67A2 2 0 015.81 5.8l-1.6-.58a7.5 7.5 0 00-1.24 2.16zM7.5 10a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0zm1 0a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0z"></path></svg>'},87055:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.1 2.9a1 1 0 011.8 0l1.93 3.91 4.31.63a1 1 0 01.56 1.7l-.55.54a5.46 5.46 0 00-1-.43l.85-.82-4.32-.63a1 1 0 01-.75-.55L10 3.35l-1.93 3.9a1 1 0 01-.75.55L3 8.43l3.12 3.04a1 1 0 01.3.89l-.75 4.3 3.35-1.76c.02.36.08.7.17 1.04l-3.05 1.6a1 1 0 01-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 01.56-1.7l4.31-.63L9.1 2.9zM19 14.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-4-2a.5.5 0 00-1 0V14h-1.5a.5.5 0 100 1H14v1.5a.5.5 0 101 0V15h1.5a.5.5 0 100-1H15v-1.5z"></path></svg>'},72653:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.9 2.9a1 1 0 00-1.8 0L7.17 6.8l-4.31.63a1 1 0 00-.56 1.7l3.13 3.05-.74 4.3a1 1 0 001.45 1.05l3.05-1.6a5.49 5.49 0 01-.18-1.04l-3.34 1.76.74-4.3a1 1 0 00-.29-.89L3 8.43l4.32-.63a1 1 0 00.75-.55L10 3.35l1.93 3.9c.15.3.43.5.75.55l4.32.63-.85.82c.35.11.69.26 1 .43l.55-.54a1 1 0 00-.56-1.7l-4.31-.63L10.9 2.9zm-.27 11.02a2 2 0 001.44-2.48l-.16-.55c.25-.2.53-.37.82-.5l.34.36a2 2 0 002.9 0l.33-.35c.3.14.58.32.84.52l-.13.42a2 2 0 001.46 2.52l.35.09a4.7 4.7 0 010 1.01l-.45.12a2 2 0 00-1.43 2.48l.15.55c-.25.2-.53.37-.82.5l-.34-.36a2 2 0 00-2.9 0l-.33.35c-.3-.14-.58-.32-.84-.52l.13-.42a2 2 0 00-1.46-2.52l-.35-.09a4.71 4.71 0 010-1.01l.45-.12zm4.87.58a1 1 0 10-2 0 1 1 0 002 0z"></path></svg>'},27447:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var a=i(33940),r=i(32804),o=i(78125),n=i(33978),s=i(65130),l=i(65620),d=i(68250);class c extends s.Z{constructor(){super(...arguments),this.size=d.Id._1x_2y}cardFillColorChanged(e,t){this.isDarkCardGradient()?r.q2d.setValueFor(this,o.h.DarkMode):this.isLightCardGradient()?r.q2d.setValueFor(this,o.h.LightMode):r.q2d.deleteValueFor(this)}isDarkCardGradient(){return Object.values(d.Gi).includes(this.cardFillColor)}isLightCardGradient(){return Object.values(d.iV).includes(this.cardFillColor)}isNamedGradientFillColor(){return this.isLightCardGradient()||this.isDarkCardGradient()}connectedCallback(){super.connectedCallback(),r.Ats.setValueFor(this,{evaluate:(e,t)=>(0,n.P)(r.yvm.getValueFor(e),t||r.IfY.getValueFor(e),-1,1,0,0,void 0,2,3,1,2,void 0)})}}(0,a.gn)([(0,l.Lj)({attribute:"card-fill-color"}),(0,a.w6)("design:type",Object)],c.prototype,"cardFillColor",void 0),(0,a.gn)([l.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 r},Id:function(){return a},iV:function(){return o}});const a={_1x_1y:"_1x_1y",_1x_2y:"_1x_2y",_2x_2y:"_2x_2y",_2x_1y:"_2x_1y"},r={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"},o={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 p},F:function(){return m},RR:function(){return h},di:function(){return c},hl:function(){return f},sQ:function(){return v},yp:function(){return g}});var a=i(32804),r=i(78125),o=i(98648),n=i(53046),s=i(67020),l=i(40082),d=i(87839);const c=o.L.create("card-base-height").withDefault(146),p=o.L.create("card-base-width").withDefault(300),h=o.L.create("card-base-gap").withDefault(12),u=o.L.create("card-stroke-color");u.withDefault((e=>a.q2d.getValueFor(e)===r.h.DarkMode?"rgba(0,0,0,0.1)":"rgba(0,0,0,0.0578)"));const g=n.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%);
    }
`,v=n.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((${p} * 1px) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

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

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

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

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

        :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(f)},69298:function(e,t,i){"use strict";i.d(t,{Zb:function(){return y},F:function(){return w},ay:function(){return x}});var a=i(33940),r=i(65130),o=i(97186),n=i(22680),s=i(87697),l=i(65620),d=i(48657),c=i(32804),p=i(42355),h=i(42255),u=i(53046),g=i(67020),v=i(40082),f=i(87839),m=i(62734);const b=(e,t)=>u.i`
        ${(0,g.j)("block")} :host {
            --elevation: 4;
            display: block;
            contain: content;
            height: var(--card-height, 100%);
            width: var(--card-width, 100%);
            box-sizing: border-box;
            background: ${c.IfY};
            color: ${c.CHi};
            border-radius: calc(${c.rSr} * 1px);
            ${m.XC}
        }

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

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

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

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

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

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

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

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

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

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

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

        :host::-moz-focus-inner {
            border: 0;
        }
    `.withBehaviors((0,d.vF)(o.i`
                :host {
                    background: ${c.H.Canvas};
                }
                :host .next,
                :host .previous {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
                :host::before {
                    background: ${c.H.Canvas};
                    border-color: ${c.H.ButtonText};
                }
                :host(:hover)::before {
                    forced-color-adjust: none;
                    background: ${c.H.Highlight};
                    border-color: ${c.H.ButtonText};
                    opacity: 1;
                }
                :host(:hover) .next,
                :host(:hover) .previous {
                    forced-color-adjust: none;
                    color: ${c.H.HighlightText};
                    fill: currentcolor;
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled)::before,
                :host(.disabled:hover)::before,
                :host(.disabled) .next,
                :host(.disabled) .previous,
                :host(.disabled:hover) .next,
                :host(.disabled:hover) .previous {
                    forced-color-adjust: none;
                    background: ${c.H.Canvas};
                    border-color: ${c.H.GrayText};
                    color: ${c.H.GrayText};
                    fill: ${c.H.GrayText};
                }
                :host(:${l.b})::before {
                    forced-color-adjust: none;
                    border-color: ${c.H.Highlight};
                    box-shadow: 0 0 0 2px ${c.H.Field},
                        0 0 0 4px ${c.H.FieldText};
                }
            `)),next:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n        />\n    </svg>\n  ',previous:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"\n        />\n    </svg>\n  '})},56448:function(e,t,i){"use strict";i.d(t,{aV:function(){return h}});var a=i(20005),r=i(65620),o=i(48839);class n extends o.I{constructor(){super(...arguments),this.shape="rect"}}(0,a.gn)([r.Lj],n.prototype,"fill",void 0),(0,a.gn)([r.Lj],n.prototype,"shape",void 0),(0,a.gn)([r.Lj],n.prototype,"pattern",void 0),(0,a.gn)([(0,r.Lj)({mode:"boolean"})],n.prototype,"shimmer",void 0);var s=i(39181),l=i(13988);var d=i(53046),c=i(67020),p=i(32804);const h=n.compose({baseName:"skeleton",template:(e,t)=>s.d`
    <template
        class="${e=>"circle"===e.shape?"circle":"rect"}"
        pattern="${e=>e.pattern}"
        ?shimmer="${e=>e.shimmer}"
    >
        ${(0,l.g)((e=>!0===e.shimmer),s.d`
                <span class="shimmer"></span>
            `)}
        <object type="image/svg+xml" data="${e=>e.pattern}" role="presentation">
            <img class="pattern" src="${e=>e.pattern}" />
        </object>
        <slot></slot>
    </template>
`,styles:(e,t)=>d.i`
        ${(0,c.j)("block")} :host {
            --skeleton-fill-default: #e1dfdd;
            overflow: hidden;
            width: 100%;
            position: relative;
            background-color: var(--skeleton-fill, var(--skeleton-fill-default));
            --skeleton-animation-gradient-default: linear-gradient(
                270deg,
                var(--skeleton-fill, var(--skeleton-fill-default)) 0%,
                #f3f2f1 51.13%,
                var(--skeleton-fill, var(--skeleton-fill-default)) 100%
            );
            --skeleton-animation-timing-default: ease-in-out;
        }

        :host(.rect) {
            border-radius: calc(${p.UWU} * 1px);
        }

        :host(.circle) {
            border-radius: 100%;
            overflow: hidden;
        }

        object {
            position: absolute;
            width: 100%;
            height: auto;
            z-index: 2;
        }

        object img {
            width: 100%;
            height: auto;
        }

        ${(0,c.j)("block")} span.shimmer {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: var(
                --skeleton-animation-gradient,
                var(--skeleton-animation-gradient-default)
            );
            background-size: 0px 0px / 90% 100%;
            background-repeat: no-repeat;
            background-color: var(--skeleton-animation-fill, ${p.wFS});
            animation: shimmer 2s infinite;
            animation-timing-function: var(
                --skeleton-animation-timing,
                var(--skeleton-timing-default)
            );
            animation-direction: normal;
            z-index: 1;
        }

        ::slotted(svg) {
            z-index: 2;
        }

        ::slotted(.pattern) {
            width: 100%;
            height: 100%;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }
    `})},39391:function(e,t,i){"use strict";i.d(t,{xg:function(){return $}});var a=i(20005),r=i(65620),o=i(87697),n=i(36153),s=i(82500),l=i(48839);class d extends l.I{}class c extends((0,s.V2)(d)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class p extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{switch(e.key){case n.kL:case n.BI:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}(0,a.gn)([(0,r.Lj)({attribute:"readonly",mode:"boolean"})],p.prototype,"readOnly",void 0),(0,a.gn)([o.LO],p.prototype,"defaultSlottedNodes",void 0);var h=i(39181),u=i(90960);var g=i(53046),v=i(67020),f=i(37139),m=i(56201),b=i(40082),y=i(87839),x=i(2658),w=i(22674),C=i(32804);const $=p.compose({baseName:"switch",template:(e,t)=>h.d`
    <template
        role="switch"
        aria-checked="${e=>e.checked}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.checked?"checked":""}"
    >
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,u.Q)("defaultSlottedNodes")}></slot>
        </label>
        <div part="switch" class="switch">
            <slot name="switch">${t.switch||""}</slot>
        </div>
        <span class="status-message" part="status-message">
            <span class="checked-message" part="checked-message">
                <slot name="checked-message"></slot>
            </span>
            <span class="unchecked-message" part="unchecked-message">
                <slot name="unchecked-message"></slot>
            </span>
        </span>
    </template>
`,styles:(e,t)=>g.i`
        :host([hidden]) {
            display: none;
        }

        ${(0,v.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            font-family: ${C.SVJ};
            margin: calc(${C._5n} * 1px) 0;
            ${""} user-select: none;
        }

        :host(.disabled) {
            opacity: ${C.VFZ};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .switch,
        :host(.disabled) .switch {
            cursor: ${f.H};
        }

        .switch {
            position: relative;
            outline: none;
            box-sizing: border-box;
            width: calc(((${x.i} / 2) + ${C._5n}) * 2px);
            height: calc(((${x.i} / 2) + ${C._5n}) * 1px);
            background: ${C._Bj};
            border-radius: calc(${x.i} * 1px);
            border: calc(${C.Han} * 1px) solid ${C.rU8};
        }

        :host(:enabled) .switch:hover {
            background: ${C.Tm7};
            border-color: ${C.gKw};
            cursor: pointer;
        }

        :host(:enabled) .switch:active {
            background: ${C.Ium};
            border-color: ${C.ekh};
        }

        :host(:${m.b}) .switch {
            box-shadow: 0 0 0 2px ${C.IfY}, 0 0 0 4px ${C.yGg};
            border-color: ${C.yGg};
        }

        .checked-indicator {
            position: absolute;
            height: calc((${x.i} - (${C._5n} * 5.5)) * 1px);
            width: calc((${x.i} - (${C._5n} * 5.5)) * 1px);
            top: calc(${C._5n} * 1px);
            background: ${C.CHi};
            border-radius: 50%;
            transition: all 0.2s ease-in-out;
        }

        .status-message {
            color: ${C.CHi};
            cursor: pointer;
            font-size: ${C.cSu};
            line-height: ${C.RUt};
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            color: ${C.CHi};
            font-size: ${C.cSu};
            line-height: ${C.RUt};
            margin-inline-end: calc(${C._5n} * 2px + 2px);
            cursor: pointer;
        }

        ::slotted(*) {
            ${""} margin-inline-start: calc(${C._5n} * 2px + 2px);
        }

        :host([aria-checked="true"]) .checked-indicator {
            background: ${C.w41};
        }

        :host([aria-checked="true"]) .switch {
            background: ${C.Avx};
        }

        :host([aria-checked="true"]:enabled) .switch:hover {
            background: ${C.OCG};
        }

        :host([aria-checked="true"]:enabled) .switch:hover .checked-indicator {
            background: ${C.lJV};
        }

        :host([aria-checked="true"]:enabled) .switch:active {
            background: ${C.UEO};
        }

        :host([aria-checked="true"]:enabled) .switch:active .checked-indicator {
            background: ${C.PpH};
        }

        :host([aria-checked="true"]:${m.b}:enabled) .switch {
            box-shadow: 0 0 0 2px ${C.IfY}, 0 0 0 4px ${C.yGg};
            border-color: transparent;
        }

        .unchecked-message {
            display: block;
        }

        .checked-message {
            display: none;
        }

        :host([aria-checked="true"]) .unchecked-message {
            display: none;
        }

        :host([aria-checked="true"]) .checked-message {
            display: block;
        }
    `.withBehaviors(new w.O(g.i`
                .checked-indicator {
                    left: calc(${C._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    left: calc(
                        (((${x.i} / 2) + ${C._5n}) + ${C._5n}) * 1px
                    );
                }
            `,g.i`
                .checked-indicator {
                    right: calc(${C._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    right: calc(
                        (((${x.i} / 2) + ${C._5n}) + ${C._5n}) * 1px
                    );
                }
            `),(0,b.vF)(g.i`
                .checked-indicator,
                :host(:enabled) .switch:active .checked-indicator {
                    forced-color-adjust: none;
                    background: ${y.H.FieldText};
                }
                .switch {
                    forced-color-adjust: none;
                    background: ${y.H.Field};
                    border-color: ${y.H.FieldText};
                }
                :host(:enabled) .switch:hover {
                    background: ${y.H.HighlightText};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked) .switch {
                    background: ${y.H.Highlight};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked:enabled) .switch:hover,
                :host(:enabled) .switch:active {
                    background: ${y.H.HighlightText};
                    border-color: ${y.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${y.H.HighlightText};
                }
                :host(.checked:enabled) .switch:hover .checked-indicator {
                    background: ${y.H.Highlight};
                }
                :host(:${m.b}) .switch {
                    border-color: ${y.H.Highlight};
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.checked:${m.b}:enabled) .switch {
                    box-shadow: 0 0 0 2px ${y.H.Field},
                        0 0 0 4px ${y.H.FieldText};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .checked-indicator {
                    background: ${y.H.GrayText};
                }
                :host(.disabled) .switch {
                    background: ${y.H.Field};
                    border-color: ${y.H.GrayText};
                }
                .status-message,
                .label {
                    color: ${y.H.FieldText};
                }
            `)),switch:'\n    <span class="checked-indicator" part="checked-indicator"></span>\n  '})},77615:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});var a=i(57905);function r(e){return a.K.getOrCreate(e).withPrefix("cs")}},46631:function(e,t,i){"use strict";i.d(t,{QZ:function(){return h}});var a=i(48839);class r extends a.I{}var o=i(39181);var n=i(32804),s=i(2658),l=i(53046),d=i(67020),c=i(40082),p=i(87839);const h=r.compose({baseName:"sd-card-footer",template:(e,t)=>o.d`
    <slot name="pagination">
        ${t.pagination instanceof Function?t.pagination(e,t):t.pagination??""}
    </slot>
    <slot></slot>
`,styles:(e,t)=>l.i`
        ${(0,d.j)("flex")} :host {
            padding: 0 16px;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            font-family: ${n.SVJ};
            font-size: ${n.sNp};
            line-height: ${n.vgC};
            color: ${n.CHi};
            height: calc(${s.i} * 1px);
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button) {
            font-size: ${n.sNp};
            line-height: ${n.vgC};
            height: calc((${s.i} - 8) * 1px);
            min-height: calc((${s.i} - 8) * 1px);
            --control-corner-radius: 14;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${n.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${n.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${n.c1L};
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button),
        ::slotted([slot="pagination"]) {
            z-index: ${n.kcg};
        }

        ::slotted([slot="pagination"]) {
            margin-inline-end: auto;
        }
    `.withBehaviors((0,c.vF)(l.i`
                :host {
                    color: ${p.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},10326:function(e,t,i){"use strict";i.d(t,{RM:function(){return p}});var a=i(81707),r=i(39181);var o=i(32804),n=i(2658),s=i(53046),l=i(67020),d=i(40082),c=i(87839);const p=a.m.compose({baseName:"sd-card-header",template:(e,t)=>r.d`
    <slot name="icon">
        ${t.icon instanceof Function?t.icon(e,t):t.icon??""}
    </slot>
    <a
        id="title"
        class="title"
        part="title"
        href="${e=>e.href?e.href:void 0}"
        target="${e=>e.target?e.target:void 0}"
        data-t="${e=>e.anchorTelemetryTag}"
        @click=${(e,t)=>e.handleSDCardLinkClick(t.event)}
    >
        <slot></slot>
    </a>
    <slot name="menu-button">
        ${t.menuButton instanceof Function?t.menuButton(e,t):t.menuButton??""}
    </slot>
    <div part="more-actions" class="more-actions">
        <slot name="more-actions">
            ${t.moreActions instanceof Function?t.moreActions(e,t):t.moreActions??""}
        </slot>
    </div>
`,styles:(e,t)=>s.i`
        ${(0,l.j)("grid")} :host {
            align-items: center;
            box-sizing: border-box;
            font-family: ${o.SVJ};
            font-size: ${o.sNp};
            line-height: ${o.vgC};
            color: ${o.CHi};
            height: calc((${n.i} + 16) * 1px);
            padding: 0 var(--sd-card-header-padding-inline, 16px);
            grid-template-columns: auto auto 1fr auto;
        }

        ::slotted([slot="icon"]) {
            margin-inline-end: 8px;
        }

        .title {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: ${o.CHi};
            outline: 0;
            fill: currentcolor;
            text-decoration: none;
        }

        .title:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: ${o.lr};
        }

        ::slotted([slot="menu-button"]) {
            height: calc((${n.i} - 8) * 1px);
            min-height: calc((${n.i} - 8) * 1px);
            min-width: var(--sd-card-header-menu-button-width, 20px);
            width: var(--sd-card-header-menu-button-width, 20px);
            opacity: 0;
            display: none;
            margin-inline-start: 4px;
            ${""}
            --control-corner-radius: 4;
            background-color: transparent;
        }

        :host([show-menu-button]) ::slotted([slot="menu-button"]) {
            opacity: 1;
            display: flex;
        }

        .more-actions {
            margin-inline-start: auto;
            display: grid;
            grid-gap: 4px;
            grid-auto-flow: column;
            padding-inline-start: 12px;
        }

        ::slotted([slot="menu-button"]),
        ::slotted([slot="more-actions"]) {
            z-index: ${o.kcg};
        }

        ::slotted([slot="more-actions"]) {
            font-size: ${o.sNp};
            line-height: ${o.vgC};
            height: calc((${n.i} - 4) * 1px);
            min-height: calc((${n.i} - 4) * 1px);
            min-width: calc((${n.i} - 4) * 1px);
            --control-corner-radius: 999;
            background: transparent;
        }

        ::slotted([slot="more-actions"]:hover),
        ::slotted([slot="menu-button"]:hover) {
            background-color: ${o.QpD};
        }

        ::slotted([slot="more-actions"]:active),
        ::slotted([slot="menu-button"]:active) {
            background-color: ${o.sG3};
        }
    `.withBehaviors((0,d.vF)(s.i`
                :host {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},81707:function(e,t,i){"use strict";i.d(t,{m:function(){return s}});var a=i(33940),r=i(48839),o=i(65620),n=i(87697);class s extends r.I{constructor(){super(...arguments),this.showMenuButton=!1,this.target="_blank"}handleSDCardLinkClick(e){return this.$emit("link-invoked",e),!0}}(0,a.gn)([(0,o.Lj)({attribute:"show-menu-button",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],s.prototype,"showMenuButton",void 0),(0,a.gn)([o.Lj,(0,a.w6)("design:type",Object)],s.prototype,"href",void 0),(0,a.gn)([o.Lj,(0,a.w6)("design:type",String)],s.prototype,"target",void 0),(0,a.gn)([n.LO,(0,a.w6)("design:type",String)],s.prototype,"anchorTelemetryTag",void 0)},73323:function(e,t,i){"use strict";i.d(t,{l7:function(){return n}});var a=i(80598),r=i(39181);var o=i(95201);const n=a.E.compose({baseName:"sd-card",template:(e,t)=>r.d`
    <slot name="image"></slot>
    <div part="header-overlay" class="header-overlay"></div>
    <slot name="header">
        ${t.header instanceof Function?t.header(e,t):t.header??""}
    </slot>
    <div part="gradient" class="gradient"></div>
    <div part="content" class="content">
        <slot></slot>
    </div>
    <div part="footer-overlay" class="footer-overlay"></div>
    <slot name="footer">
        ${t.footer instanceof Function?t.footer(e,t):t.footer??""}
    </slot>
`,styles:o.Q})},80598:function(e,t,i){"use strict";i.d(t,{E:function(){return n}});var a=i(33940),r=i(27447),o=i(65620);class n extends r.Z{constructor(){super(...arguments),this.immersiveCard=!1}}(0,a.gn)([(0,o.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],n.prototype,"immersiveCard",void 0)},95201:function(e,t,i){"use strict";i.d(t,{Q:function(){return l},U:function(){return s}});var a=i(53046),r=i(67020),o=i(64799),n=i(32804);const s=a.j`position: relative; z-index: ${n.kcg};`,l=(e,t)=>a.i`
        ${o.sQ}
        ${o.yp}

        ${(0,r.j)("grid")} :host {
            grid-template-rows: auto 1fr minMax(16px, auto);
            ${s}
        }

        .content {
            padding: 0 var(--sd-card-content-padding-inline, 16px);
        }

        ::slotted([slot="header"]) {
            grid-row: 1;
        }
        ::slotted([slot="footer"]) {
            grid-row: 3;
        }

        ::slotted([slot="image"]) {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${n.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${n.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${n.c1L};
        }

        .header-overlay,
        .footer-overlay {
            position: absolute;
            background: rgba(255, 255, 255, 0.46);
            height: 100%;
            width: 100%;
            opacity: 0;
        }

        .header-overlay {
            grid-row: 1 / span 1;
        }

        .footer-overlay {
            grid-row: 3 / span 1;
        }

        .gradient {
            position: absolute;
            grid-row: 2 / span 1;
            height: 100%;
            width: 100%;
            opacity: 0;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.46) 0%,
                rgba(255, 255, 255, 0) 22%,
                rgba(255, 255, 255, 0) 86%,
                rgba(255, 255, 255, 0.46) 100%
            );
        }

        @media (prefers-color-scheme: dark) {
            .header-overlay,
            .footer-overlay {
                background: rgba(0, 0, 0, 0.54);
            }

            .gradient {
                background: linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.54) 0%,
                    rgba(0, 0, 0, 0) 22%,
                    rgba(0, 0, 0, 0) 86%,
                    rgba(0, 0, 0, 0.54) 100%
                );
            }
        }

        :host([immersive-card]) .header-overlay,
        :host([immersive-card]) .footer-overlay,
        :host([immersive-card]) .gradient {
            opacity: 1;
        }
    `.withBehaviors(o.hl)},65130:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var a=i(48839);class r extends a.I{}},48657:function(e,t,i){"use strict";i.d(t,{O:function(){return r}});var a=i(39181);const r=(e,t)=>a.d`
    <slot></slot>
`},91281:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var a=i(20005),r=i(65620),o=i(48839),n=i(16882);class s extends o.I{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=n.L.next}keyupHandler(e){if(!this.hiddenFromAT){const t=e.key;"Enter"!==t&&"Space"!==t||this.$emit("click",e),"Escape"===t&&this.blur()}}}(0,a.gn)([(0,r.Lj)({mode:"boolean"})],s.prototype,"disabled",void 0),(0,a.gn)([(0,r.Lj)({attribute:"aria-hidden",converter:r.bw})],s.prototype,"hiddenFromAT",void 0),(0,a.gn)([r.Lj],s.prototype,"direction",void 0)},16882:function(e,t,i){"use strict";i.d(t,{L:function(){return a}});const a={next:"next",previous:"previous"}},30569:function(e,t,i){"use strict";i.d(t,{_:function(){return n}});var a=i(39181),r=i(13988),o=i(16882);const n=(e,t)=>a.d`
    <template
        role="button"
        aria-disabled="${e=>!!e.disabled||void 0}"
        tabindex="${e=>e.hiddenFromAT?-1:0}"
        class="${e=>e.direction} ${e=>e.disabled?"disabled":""}"
        @keyup="${(e,t)=>e.keyupHandler(t.event)}"
    >
        ${(0,r.g)((e=>e.direction===o.L.next),a.d`
                <span part="next" class="next">
                    <slot name="next">
                        ${t.next||""}
                    </slot>
                </span>
            `)}
        ${(0,r.g)((e=>e.direction===o.L.previous),a.d`
                <span part="previous" class="previous">
                    <slot name="previous">
                        ${t.previous||""}
                    </slot>
                </span>
            `)}
    </template>
`},43504:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var a=i(48839);class r extends a.I{}},49944:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});var a=i(39181);const r=(e,t)=>a.d`
    <template slot="tabpanel" role="tabpanel">
        <slot></slot>
    </template>
`},26899:function(e,t,i){"use strict";i.d(t,{O:function(){return n}});var a=i(20005),r=i(65620),o=i(48839);class n extends o.I{}(0,a.gn)([(0,r.Lj)({mode:"boolean"})],n.prototype,"disabled",void 0)},13626:function(e,t,i){"use strict";i.d(t,{O:function(){return r}});var a=i(39181);const r=(e,t)=>a.d`
    <template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">
        <slot></slot>
    </template>
`}}]);A
Eo