x;
        padding: 16px 0px 10px 16px;
        height: inherit;
        position: absolute;
        z-index: 1;
        width: 284px;
    }

    .card-title {
        font-size: 12px;
        line-height: 16px;
        text-transform: uppercase;
        letter-spacing: 0.7px;
        cursor: pointer;
        font-weight: 600;
    }

    .card-title h5 {
        font-size: inherit;
        margin: inherit;
        font-weight: inherit;
        display: inherit;
    }

    .card-title:hover, .card-title:focus {
        text-decoration: underline;
    }

    .image-container {
        position: relative;
        height: 304px;
        justify-content: flex-end;
        background-size: contain;
        width: 300px;
        background-repeat: no-repeat;
        cursor: pointer;
        text-decoration: none;
    }

    .image-container-blur {
        backdrop-filter: blur(80px);
        background-color: rgba(0,0,0,0.2);
        position: absolute;
        top: 0;
        width: 100%;
        height: 220px;
        display: flex;
    }

    .card-text-1 {
        font-size: 24px;
        line-height: 36px;
        padding-top: 64px;
    }
    .card-text-2 {
        font-size: 16px;
        line-height: 22px;
        opacity: 0.55;
        padding-top: 12px;
        width: 90%;
    }
    .card-text-1, .card-text-2 {
        padding-left: 20px;
    }
    .suprise-me:hover .card-text-1, a:focus .card-text-1, .suprise-me:hover .card-text-2, a:focus .card-text-2 {
        text-decoration: underline;
    }    
    .cta-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-top: 40px;
    }
    .cta-button {
        padding: 10px;
        font-size: 20px;
        line-height: 26px;
        background: #006CBE;
        color: white;
        border-radius: 4px;
    }
`,Y=G.d`
<div class="suprise-me ${e=>e.isDarkDominantGradient()?"darkBackground":"lightBackground"}">
    <div class="card-header">
        <a href=${e=>(0,y.B8)(e.data.TravelGuideUrl)} data-t="${e=>e.headingTelemetryTag}" target="_blank" class="card-title">
            <h5>${e=>e.strings.cardTitle}</h5>
        </a>
    </div>
    <a target="_blank" href="${e=>(0,y.B8)(e.data.TravelGuideUrl)}" data-t="${e=>e.telemetrytag}"
        class="image-container column" style="background-image:url(${e=>(0,y.Ks)(e.getImage(),304,300)});
        ${y.gJ.DominantColorRgb}:${e=>e.getDominantColor()}"/>
    <a target="_blank" href="${e=>(0,y.B8)(e.data.TravelGuideUrl)}" data-t="${e=>e.telemetrytag}" aria-live="polite">
        <div class="image-container-blur column">
            <div class="card-text-1">${e=>e.strings.cardText1}</div>
            <div class="card-text-2">${e=>e.strings.cardText2}</div>
            <div class="cta-container">
                <div class="cta-button">
                    ${e=>e.strings.ctaButtonText}
                </div>
            </div>
        </div>
    </a>
</div>
`;let K=class extends J{};K=(0,m.gn)([(0,V.M)({name:"surprise-me-item",template:Y,styles:Z,shadowOptions:{delegatesFocus:!0}})],K);var X=i(38418);class Q extends V.H{constructor(){super(...arguments),this.multiimage=!1,this.useLargerImageContainer=!1,this.dominantGradient=!1}connectedCallback(){var e,t;super.connectedCallback(),this.multiimage&&(null===(t=null===(e=this.data)||void 0===e?void 0:e.Images)||void 0===t?void 0:t.length)&&this.lazyLoadloadImages()}lazyLoadloadImages(){let e=0;const t=this.data.Images;t.forEach((i=>{const n=new Image;n.src=this.getBingImageUrl(i),n.onload=i=>{var n;if(e++,t.length===e){const e=null===(n=this.shadowRoot)||void 0===n?void 0:n.firstElementChild,t=document.createElement("style");t.innerHTML=this.getImageAnimation(),e.prepend(t),null==e||e.classList.add("image-animation")}}}))}getImageAnimation(){const e=this.data.Images;if((null==e?void 0:e.length)>1){let t="";return e.forEach(((i,n)=>{t+=`${Math.floor(100*n/e.length)}% {background-image: url('${this.getBingImageUrl(i)}');}`})),`@keyframes imageAnimation {${t} 100% {background-image: url('${this.getBingImageUrl(e[0])}');}}`}return""}getDestinationTags(){var e;return null===(e=this.data.Attraction)||void 0===e?void 0:e.join(" • ")}getBingImageUrl(e){const t=this.getBackgroundImageDimension();return(0,y.Ks)(e,t.height,t.width)}getWeathersvg(){return X.x.getWeatherGlyph(this.data.Weather.SkyCode)}getDominantColor(){var e,t;let i=null;return this.dominantGradient&&(null===(t=null===(e=this.data)||void 0===e?void 0:e.Images)||void 0===t?void 0:t.length)&&(i=this.data.Images[0]),(0,y.iP)(i,"17,17,17")}convertTemperature(e,t){return t===y.kU.Fahrenheit?9*e/5+32:5*(e-32)/9}getTemperatureString(e,t){return e.toFixed(0)+(t===y.kU.Celsius?"°C":"°F")}getTemperature(){var e;const t=null===(e=this.data)||void 0===e?void 0:e.Weather;if(!(null==t?void 0:t.ActualTemperature))return"";if(null===this.temperatureUnit||void 0===this.temperatureUnit||this.temperatureUnit===t.TemperatureUnit)return this.getTemperatureString(t.ActualTemperature,t.TemperatureUnit);{const e=this.convertTemperature(t.ActualTemperature,this.temperatureUnit);return this.getTemperatureString(e,this.temperatureUnit)}}getSlideType(){var e;return null!==(e=this.richContentSlideType)&&void 0!==e?e:y.fZ.Destination}getClickThroughUrl(){const e=this.getSlideType();return e==y.fZ.RichContentPanorama?this.data.Panoramas[0].ClickUrl:e==y.fZ.RichContentVideos?this.data.Videos360[0].ClickUrl:e==y.fZ.RichContentTimelapse?this.data.Timelapses[0].ClickUrl:this.data.TravelGuideUrl}getBackgroundImageDimension(){var e,t;const i=this.getSlideType();return i==y.fZ.RichContentPanorama||i==y.fZ.RichContentVideos?{height:212,width:1340}:i==y.fZ.RichContentTimelapse||(null===(e=this.config)||void 0===e?void 0:e.showCenteredImageVariant)?{height:212,width:268}:(null===(t=this.config)||void 0===t?void 0:t.showDestinationPackage)?{height:274,width:300}:{height:304,width:300}}TryGetFirstImage(e){return Array.isArray(e)&&!(0,S.Z)(e)?e[0]:null}getBackgroundImage(){var e;const t=this.getSlideType();let i=null;return this.config.useBannerImagesForRichContentSlides||(t==y.fZ.RichContentPanorama?i=this.TryGetFirstImage(this.data.Panoramas[0].Images):t==y.fZ.RichContentTimelapse?i=this.TryGetFirstImage(this.data.Timelapses[0].Images):t==y.fZ.RichContentVideos&&(i=this.TryGetFirstImage(this.data.Videos360[0].Images))),null!=i?i:this.TryGetFirstImage(null===(e=this.data)||void 0===e?void 0:e.Images)}}(0,m.gn)([L.LO],Q.prototype,"data",void 0),(0,m.gn)([L.LO],Q.prototype,"destinationListMetadata",void 0),(0,m.gn)([L.LO],Q.prototype,"config",void 0),(0,m.gn)([L.LO],Q.prototype,"strings",void 0),(0,m.gn)([L.LO],Q.prototype,"multiimage",void 0),(0,m.gn)([L.LO],Q.prototype,"useLargerImageContainer",void 0),(0,m.gn)([L.LO],Q.prototype,"dominantGradient",void 0),(0,m.gn)([L.LO],Q.prototype,"telemetrytag",void 0),(0,m.gn)([L.LO],Q.prototype,"headingTelemetryTag",void 0),(0,m.gn)([L.LO],Q.prototype,"temperatureUnit",void 0),(0,m.gn)([L.LO],Q.prototype,"slideIndex",void 0),(0,m.gn)([L.LO],Q.prototype,"richContentSlideType",void 0);var ee=i(22674);const te=q.i`
    .radial-gradient {
        background: linear-gradient(
            347.86deg
            , rgba(var(${y.gJ.DominantColorRgb}), 0) 0%, rgba(var(${y.gJ.DominantColorRgb}), 0) 70.41%, rgba(var(${y.gJ.DominantColorRgb}), 0.5) 100%);
    }
`,ie=q.i`
    .radial-gradient {
        background: linear-gradient(
            20.86deg
            , rgba(var(${y.gJ.DominantColorRgb}), 0) 0%, rgba(var(${y.gJ.DominantColorRgb}), 0) 70.41%, rgba(var(${y.gJ.DominantColorRgb}), 0.5) 100%);
    }
`,ne=q.i`
    a {
        text-decoration: none;
        color: inherit;
    }
    
    .column {
        display: flex;
        flex-direction: column;
    }

    .card-header {
        display: flex;
        padding: 16px 0px 10px 16px;
        background: linear-gradient(347deg,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 50%,
            rgba(var(${y.gJ.DominantColorRgb}), 0.6) 100%);
        position: absolute;
        z-index: 1;
        width: 284px;
    }

    .card-title {
        font-size: 12px;
        line-height: 16px;
        text-transform: uppercase;
        letter-spacing: 0.7px; 
        cursor: pointer;
    }

    .title-icon {
        padding-right: 5px;
        height: 12px;
    }

    .card-title:hover, .card-title:focus {
        text-decoration: underline;
    }

    .card-title h5 {
        font-size: inherit;
        margin: inherit;
        font-weight: inherit;
        display: flex;
        align-items: center;
    }

    .image-container {
        position: relative;
        height: 264px;
        width: 300px;
        justify-content: flex-end;
        background-size: cover;
        background-repeat: no-repeat;
        background-image: var(--bg-img);
        cursor: pointer;
        text-decoration: none;
    }

    .full-height {
        height: 100%;
        background-size: cover;
    }
    .image-container:hover .full-bleed-destination-name, .image-container:focus .full-bleed-destination-name {
        text-decoration: underline;
    }
    
    .image-animation.image-container {
        animation-name: imageAnimation;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-duration: 10s;
        animation-delay: 1s;
    }
    
    .image-animation.image-container+.image-back-container {
        visibility: none;
        animation-name: imageAnimation;
        animation-iteration-count: infinite;
        animation-duration: .1s;
    }

    .radial-gradient {
        height: 240px;
        position: absolute;
        top: 0px;
        width: 100%;
    }

    .full-bleed-destination-title {
        padding: 16px 16px 0px;
        justify-content: flex-end;
        background-image: linear-gradient(180deg, rgba(var(${y.gJ.DominantColorRgb}), 0) 0%, rgba(var(${y.gJ.DominantColorRgb}), 0.7) 34.38%, rgb(var(${y.gJ.DominantColorRgb})) 100%);
    }

    .full-bleed-destination-title.hideFooter {
        background: linear-gradient(180deg, rgba(var(${y.gJ.DominantColorRgb}), 0) 0%, rgba(var(${y.gJ.DominantColorRgb}), 0.9) 47.38%, rgb(var(${y.gJ.DominantColorRgb})) 50%)
    }

    .full-bleed-destination-name {
        font-size: 32px;
        line-height: 40px;
    }

    .text-clamp {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        overflow-wrap: break-word;
        text-overflow: ellipsis;
    }

    .destination-tags {
        font-size: 12px;
        line-height: 16px;
        margin-top: 4px;
    }

    .destination-package {
        font-size: 16px;
        line-height: 22px;
        justify-content: flex-start;
        display: flex;
    }
    
    .destination-package-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-inline-end: 24px;
    }
    
    .icon {
        height: 28px;
        width: 28px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-inline-end: 4px;
    }

    .footer {
        padding: 8px 16px;
        background: rgb(var(${y.gJ.DominantColorRgb}));
    }
    .dst-slide-Destination {
        height:100%;
    }
    .centered-image-variant .card-title {
        font-weight: 600;
        color: black;
    }
    .centered-image-variant .card-header {
        position: relative;
        padding: 16px;
        background: rgba(255, 255, 255, 0.96);
    }
    .centered-image-variant .image-container {
        margin: 0px 16px;
        height: 212px;
        width: auto;
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 55.21%, rgba(0, 0, 0, 0.8) 100%), var(--bg-img);
        border-radius: 6px;
        overflow: hidden;
    }
    .centered-image-variant.dst-slide-Destination {
        height:auto;
    }
    .centered-image-variant.dst-slide-Destination .image-container {
        background-size: 100%;
        background-position: center;
    }

    .centered-image-variant.dst-slide-Destination .image-container:hover, .centered-image-variant.dst-slide-Destination .image-container:focus {
        background-size: 110%;
        transition: background-size 0.5s ease-in-out;
    }

    .dst-slide-RichContentPanorama .image-container, .dst-slide-RichContentTimelapse .image-container,
    .dst-slide-RichContentVideos .image-container {
        display: flex;
        justify-content: space-between;
        background-image: var(--bg-img);
    }
    .dst-slide-RichContentPanorama .image-container, .dst-slide-RichContentTimelapse .image-container,
    .dst-slide-RichContentVideos .image-container {
        background-size: cover;
    }

    .centered-image-variant.dst-slide-RichContentVideos:hover .image-container, .centered-image-variant.dst-slide-RichContentVideos:focus .image-container,
    .centered-image-variant.dst-slide-RichContentPanorama:hover .image-container, .centered-image-variant.dst-slide-RichContentPanorama:focus .image-container {
        animation: moveBackground 30s infinite;
        animation-timing-function: linear;
    }

    .dst-slide-RichContentTimelapse:hover .image-container, .dst-slide-RichContentTimelapse:focus .image-container {
        animation: flipBackground 5s infinite;
        animation-timing-function: linear;
    }

    .centered-image-variant .full-bleed-destination-title {
        background: none;
        padding: 8px;
    }
    .centered-image-variant .full-bleed-destination-name {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        color: white;
    }
    .centered-image-variant .image-container:hover .full-bleed-destination-name,
    .centered-image-variant .image-container:focus .full-bleed-destination-name {
        text-decoration: underline;
    }

    .centered-image-variant .destination-tags, .centered-image-variant .image-container .footer {
        display: none;
    }
    .rich-content-icon-container {
        display: none;
    }
    .dst-slide-RichContentPanorama .rich-content-icon-container, .dst-slide-RichContentTimelapse .rich-content-icon-container,
    .dst-slide-RichContentVideos .rich-content-icon-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .centered-image-variant .image-container:hover .rich-content-icon-container,
    .centered-image-variant .image-container:focus .rich-content-icon-container {
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .dst-slide-RichContentPanorama .full-bleed-destination-title, .dst-slide-RichContentTimelapse .full-bleed-destination-title,
    .dst-slide-RichContentVideos .full-bleed-destination-title {
        padding: 30px 8px 8px 8px;
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    }
    
    .rich-content-timelapse-hidden {
        background-image: var(--bg-img-2);
    }

    @keyframes moveBackground {
        0%,100% { background-position-x: 0px; }
        50% { background-position-x: var(--rotate-offset); }
    }

    @keyframes flipBackground {
        0%, 100% { background-image: var(--bg-img); }
        45%, 50% { background-image: var(--bg-img-2); }
    }

    .centered-image-variant .rich-content-icon {
        width: 64px;
        height: 64px;
        margin-top: calc(26%);
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(40px);
        border-radius: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .centered-image-variant .rich-content-icon svg {
        height: 27px;
        width: 32px;
    }
    
`.withBehaviors(new ee.O(te,ie)),ae=G.d`
    <svg
        width="14"
        height="14"
        viewBox="0 0 512 512"
        xmlns="http://www.w3.org/2000/svg">
            <path
                d="M132.677 449.677L326.03 256.323L132.677 62.97L159.323 36.3233L379.323 256.323L159.323 476.323L132.677 449.677Z"
            />
    </svg>
`,re=G.d`
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
    <rect y="0.591797" width="24" height="24" rx="12" fill="#036AC4"/>
    <path d="M7.5 12.5918C7.5 12.3157 7.72386 12.0918 8 12.0918L14.7929 12.0918L12.1464 9.44535C11.9512 9.25009 11.9512 8.93351 12.1464 8.73824C12.3417 8.54298 12.6583 8.54298 12.8536 8.73824L16.3536 12.2382C16.5488 12.4335 16.5488 12.7501 16.3536 12.9453L12.8536 16.4454C12.6583 16.6406 12.3417 16.6406 12.1464 16.4454C11.9512 16.2501 11.9512 15.9335 12.1464 15.7382L14.7929 13.0918L8 13.0918C7.72386 13.0918 7.5 12.8679 7.5 12.5918Z" fill="white"/>
</svg>
`,oe=(G.d`
    <svg width="28" height="20" viewBox="0 0 28 20" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M-3.0962e-07 3.64259L-1.42119e-06 16.3574C-1.46342e-06 16.8405 0.0957016 17.2962 0.287108 17.7246C0.478514 18.153 0.733722 18.5313 1.05273 18.8594C1.37174 19.1875 1.75 19.4427 2.1875 19.625C2.625 19.8073 3.08528 19.903 3.56836 19.9121C3.67773 19.9121 3.78711 19.9076 3.89648 19.8984C4.00586 19.8893 4.11979 19.8711 4.23828 19.8438C5.07682 19.707 5.91081 19.5749 6.74023 19.4473C7.56966 19.3197 8.4082 19.2012 9.25586 19.0918C10.0488 18.9915 10.8372 18.9095 11.6211 18.8457C12.4049 18.7819 13.1979 18.75 14 18.75C14.8021 18.75 15.5951 18.7819 16.3789 18.8457C17.1628 18.9095 17.9557 18.9915 18.7578 19.0918C19.6055 19.2012 20.4395 19.3197 21.2598 19.4473C22.0801 19.5749 22.9141 19.707 23.7617 19.8438C23.9896 19.8893 24.2038 19.9121 24.4043 19.9121C24.8965 19.9121 25.3568 19.821 25.7852 19.6387C26.2135 19.4564 26.5964 19.2012 26.9336 18.8731C27.2708 18.5449 27.5306 18.1712 27.7129 17.752C27.8952 17.3327 27.9909 16.8679 28 16.3574L28 3.64259C28 3.1504 27.9043 2.69012 27.7129 2.26173C27.5215 1.83334 27.2617 1.45965 26.9336 1.14064C26.6055 0.821626 26.2272 0.566417 25.7988 0.375011C25.3704 0.183605 24.9056 0.0924587 24.4043 0.101573C24.2949 0.101573 24.1901 0.106131 24.0898 0.115245C23.9896 0.12436 23.8802 0.138032 23.7617 0.156261C22.9232 0.302094 22.0937 0.438813 21.2734 0.566417C20.4531 0.694021 19.6146 0.81251 18.7578 0.921885C17.9648 1.02215 17.1764 1.09962 16.3926 1.15431C15.6087 1.20899 14.8112 1.2409 14 1.25001C13.1979 1.25001 12.4049 1.22267 11.6211 1.16798C10.8372 1.11329 10.0488 1.03126 9.25586 0.921885C8.4082 0.812509 7.56966 0.69402 6.74023 0.566416C5.91081 0.438811 5.07682 0.302092 4.23828 0.156259C4.12891 0.13803 4.01953 0.124358 3.91016 0.115243C3.80078 0.106129 3.69141 0.101571 3.58203 0.101571C3.08984 0.101571 2.62956 0.192717 2.20117 0.375009C1.77279 0.5573 1.39453 0.807952 1.06641 1.12696C0.738281 1.44597 0.478515 1.82423 0.287109 2.26173C0.0957029 2.69923 -2.67388e-07 3.15951 -3.0962e-07 3.64259ZM1.75 3.64259C1.75 3.39649 1.79557 3.16407 1.88672 2.94532C1.97786 2.72657 2.11003 2.53517 2.2832 2.3711C2.45638 2.20704 2.65234 2.07944 2.87109 1.98829C3.08984 1.89714 3.32682 1.84701 3.58203 1.8379C3.69141 1.8379 3.80534 1.85157 3.92383 1.87892C5.58268 2.1797 7.25521 2.43946 8.94141 2.65821C10.6276 2.87696 12.3138 2.9909 14 3.00001C15.6862 3.00001 17.3724 2.89064 19.0586 2.67189C20.7448 2.45314 22.4173 2.18881 24.0762 1.87892L24.2402 1.85157C24.2949 1.84246 24.3496 1.8379 24.4043 1.8379C24.6504 1.8379 24.8828 1.88347 25.1016 1.97462C25.3203 2.06577 25.5163 2.19337 25.6895 2.35743C25.8626 2.5215 25.9993 2.7129 26.0996 2.93165C26.1999 3.1504 26.25 3.38738 26.25 3.64259L26.25 16.3574C26.25 16.7402 26.1406 17.0866 25.9219 17.3965C25.7031 17.7064 25.4069 17.9251 25.0332 18.0527L16.1055 10.752C15.8138 10.515 15.4857 10.3373 15.1211 10.2188C14.7565 10.1003 14.3828 10.0365 14 10.0274C13.6081 10.0274 13.2344 10.0866 12.8789 10.2051C12.5234 10.3236 12.1953 10.5059 11.8945 10.752L2.95312 18.0527C2.59765 17.8978 2.31055 17.679 2.0918 17.3965C1.87305 17.1139 1.75911 16.7676 1.75 16.3574L1.75 3.64259ZM5.25 7.37501C5.25 7.73048 5.31836 8.06772 5.45508 8.38673C5.5918 8.70574 5.77865 8.98373 6.01562 9.22071C6.2526 9.45769 6.53516 9.6491 6.86328 9.79493C7.19141 9.94077 7.52864 10.0091 7.875 10C8.23047 10 8.56771 9.93165 8.88672 9.79493C9.20573 9.65821 9.48372 9.47136 9.7207 9.23439C9.95768 8.99741 10.1491 8.71485 10.2949 8.38673C10.4408 8.0586 10.5091 7.72136 10.5 7.37501C10.5 7.01954 10.4316 6.6823 10.2949 6.36329C10.1582 6.04428 9.97135 5.76629 9.73437 5.52931C9.4974 5.29233 9.21484 5.10092 8.88672 4.95509C8.55859 4.80925 8.22135 4.74089 7.875 4.75001C7.51953 4.75001 7.18229 4.81837 6.86328 4.95509C6.54427 5.09181 6.26628 5.27866 6.0293 5.51563C5.79232 5.75261 5.60091 6.03517 5.45508 6.36329C5.30924 6.69142 5.24088 7.02866 5.25 7.37501ZM7 7.37501C7 7.13803 7.08659 6.93295 7.25977 6.75978C7.43294 6.5866 7.63802 6.50001 7.875 6.50001C8.11198 6.50001 8.31706 6.5866 8.49023 6.75978C8.66341 6.93295 8.75 7.13803 8.75 7.37501C8.75 7.61199 8.66341 7.81707 8.49023 7.99024C8.31706 8.16342 8.11198 8.25001 7.875 8.25001C7.63802 8.25001 7.43294 8.16342 7.25976 7.99024C7.08659 7.81707 7 7.61199 7 7.37501ZM21.916 17.7656C20.6035 17.5651 19.291 17.3874 17.9785 17.2324C16.666 17.0775 15.3398 17 14 17C12.6693 17 11.3431 17.0775 10.0215 17.2324C8.69987 17.3874 7.38281 17.5651 6.07031 17.7656L13.002 12.1055C13.2936 11.8685 13.6263 11.75 14 11.75C14.3737 11.75 14.7064 11.8685 14.998 12.1055L21.916 17.7656Z" fill="white"/>
    </svg>
`,G.d`
    <svg width="22" height="25" viewBox="0 0 22 25" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M10.8984 3.20513C16.9174 3.20513 21.7969 8.08408 21.7969 14.1026C21.7969 20.121 16.9174 25 10.8984 25C4.8794 25 0 20.121 0 14.1026C0 8.08408 4.8794 3.20513 10.8984 3.20513ZM10.8984 5.12821C5.94158 5.12821 1.92325 9.14617 1.92325 14.1026C1.92325 19.059 5.94158 23.0769 10.8984 23.0769C15.8553 23.0769 19.8736 19.059 19.8736 14.1026C19.8736 9.14617 15.8553 5.12821 10.8984 5.12821ZM10.8984 7.05128C11.3853 7.05128 11.7876 7.41301 11.8513 7.88235L11.8601 8.01282V13.7821C11.8601 14.3131 11.4295 14.7436 10.8984 14.7436C10.4116 14.7436 10.0093 14.3818 9.94553 13.9126L9.93681 13.7821V8.01282C9.93681 7.48178 10.3674 7.05128 10.8984 7.05128ZM20.0624 3.35091L20.1683 3.42763L21.6535 4.66376C22.0618 5.00349 22.1172 5.60977 21.7775 6.01792C21.4659 6.39206 20.9305 6.46986 20.5291 6.21855L20.4232 6.14183L18.9379 4.9057C18.5296 4.56597 18.4743 3.95969 18.8139 3.55154C19.1255 3.1774 19.6609 3.0996 20.0624 3.35091ZM13.7833 0C14.3144 0 14.7449 0.4305 14.7449 0.961538C14.7449 1.44833 14.3831 1.85063 13.9138 1.91429L13.7833 1.92308H8.01356C7.48247 1.92308 7.05193 1.49258 7.05193 0.961538C7.05193 0.474744 7.41369 0.0724487 7.88307 0.00878206L8.01356 0H13.7833Z" fill="white"/>
    </svg>
`),se=G.d`
    <svg width="32" height="28" viewBox="0 0 28 24" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M13.7402 15.8049L17.8555 19.9024L13.7402 24L12.5098 22.7748L14.5195 20.7737H14C13.0339 20.7737 12.0723 20.7374 11.1152 20.6648C10.1582 20.5922 9.19661 20.4606 8.23047 20.27C7.78385 20.1883 7.27344 20.0749 6.69922 19.9297C6.125 19.7845 5.52799 19.5984 4.9082 19.3715C4.28841 19.1446 3.69141 18.8815 3.11719 18.582C2.54297 18.2825 2.01888 17.9421 1.54492 17.561C1.07096 17.1798 0.697266 16.7487 0.423828 16.2677C0.150391 15.7867 0.00911458 15.2558 0 14.675C0 14.3664 0.0455729 14.0669 0.136719 13.7765C0.227865 13.4861 0.355469 13.2138 0.519531 12.9597C0.683594 12.7056 0.870443 12.4697 1.08008 12.2518C1.28971 12.034 1.51302 11.8298 1.75 11.6393V14.675C1.75 15.0108 1.85482 15.3148 2.06445 15.5871C2.27409 15.8593 2.50195 16.0998 2.74805 16.3086C3.17643 16.6625 3.67773 16.9756 4.25195 17.2479C4.82617 17.5201 5.44141 17.7561 6.09766 17.9558C6.75391 18.1554 7.43294 18.3279 8.13477 18.4731C8.83659 18.6183 9.5293 18.7272 10.2129 18.7998C10.8965 18.8724 11.5664 18.9314 12.2227 18.9767C12.8789 19.0221 13.4714 19.0403 14 19.0312H14.5059L12.5098 17.0301L13.7402 15.8049ZM26.25 11.6393C26.487 11.8298 26.7103 12.034 26.9199 12.2518C27.1296 12.4697 27.3118 12.7102 27.4668 12.9733C27.6217 13.2365 27.7493 13.5043 27.8496 13.7765C27.9499 14.0488 28 14.3483 28 14.675C28 15.2286 27.8724 15.7368 27.6172 16.1997C27.362 16.6625 27.0156 17.08 26.5781 17.4521C26.1406 17.8242 25.653 18.16 25.1152 18.4594C24.5775 18.7589 24.0215 19.0176 23.4473 19.2354C22.873 19.4532 22.3125 19.6347 21.7656 19.7799C21.2188 19.9251 20.7311 20.0476 20.3027 20.1475L19.9473 18.4458C20.2025 18.3914 20.5352 18.3097 20.9453 18.2008C21.3555 18.0919 21.7975 17.9603 22.2715 17.806C22.7454 17.6517 23.2148 17.4657 23.6797 17.2479C24.1445 17.0301 24.5729 16.7896 24.9648 16.5264C25.3568 16.2632 25.6667 15.9773 25.8945 15.6687C26.1224 15.3602 26.2409 15.0289 26.25 14.675V11.6393ZM8.75 10.768C8.75 11.2581 8.65885 11.6892 8.47656 12.0613C8.29427 12.4334 8.05273 12.751 7.75195 13.0142C7.45117 13.2774 7.09115 13.4725 6.67188 13.5995C6.2526 13.7266 5.81055 13.7947 5.3457 13.8037C4.96289 13.8037 4.58008 13.7674 4.19727 13.6948C3.81445 13.6222 3.45898 13.477 3.13086 13.2592V12.0204C3.79622 12.5559 4.54818 12.8236 5.38672 12.8236C5.6875 12.8236 5.97005 12.7828 6.23438 12.7011C6.4987 12.6194 6.73568 12.4969 6.94531 12.3335C7.15495 12.1702 7.31901 11.9705 7.4375 11.7345C7.55599 11.4986 7.61523 11.2127 7.61523 10.8769C7.61523 10.3959 7.51497 10.0238 7.31445 9.76064C7.11393 9.49745 6.85417 9.29779 6.53516 9.16166C6.21615 9.02553 5.86068 8.94838 5.46875 8.93023C5.07682 8.91208 4.69857 8.89847 4.33398 8.88939H4.10156V7.90925H4.2793C4.62565 7.90925 4.97656 7.90017 5.33203 7.88202C5.6875 7.86387 6.00651 7.79127 6.28906 7.66421C6.57161 7.53715 6.80404 7.35111 6.98633 7.10607C7.16862 6.86103 7.25977 6.50709 7.25977 6.04424C7.25977 5.44526 7.10482 5.00964 6.79492 4.73738C6.48503 4.46512 6.03385 4.32898 5.44141 4.32898C5.08594 4.32898 4.74414 4.39251 4.41602 4.51957C4.08789 4.64663 3.78711 4.8236 3.51367 5.05048V3.92059C3.8418 3.71185 4.19271 3.56665 4.56641 3.48497C4.9401 3.40329 5.32292 3.35791 5.71484 3.34884C6.07943 3.34884 6.42122 3.39875 6.74023 3.49858C7.05924 3.59841 7.34635 3.75269 7.60156 3.96143C7.85677 4.17016 8.04818 4.42428 8.17578 4.72377C8.30339 5.02326 8.3763 5.36812 8.39453 5.75837C8.39453 7.08338 7.75195 7.95009 6.4668 8.35848C6.79492 8.38571 7.0957 8.46285 7.36914 8.5899C7.64258 8.71696 7.88411 8.88939 8.09375 9.1072C8.30339 9.32501 8.46289 9.57005 8.57227 9.84231C8.68164 10.1146 8.74089 10.4231 8.75 10.768ZM14.0273 13.8037C13.4076 13.8037 12.8971 13.6585 12.4961 13.3681C12.0951 13.0777 11.7806 12.7011 11.5527 12.2382C11.3249 11.7754 11.1608 11.2762 11.0605 10.7408C10.9603 10.2053 10.9147 9.68349 10.9238 9.17527C10.9238 8.76688 10.9512 8.34033 11.0059 7.89563C11.0605 7.45094 11.1471 7.01532 11.2656 6.58877C11.3841 6.16222 11.5482 5.74929 11.7578 5.34997C11.9674 4.95065 12.2135 4.61032 12.4961 4.32898C12.7786 4.04765 13.1204 3.81168 13.5215 3.6211C13.9225 3.43052 14.3737 3.33976 14.875 3.34884C15.1484 3.34884 15.4219 3.36699 15.6953 3.40329C15.9688 3.43959 16.2331 3.51673 16.4883 3.63471V4.73738C16.2422 4.61032 15.987 4.51049 15.7227 4.43789C15.4583 4.36529 15.1849 4.32898 14.9023 4.32898C14.3646 4.32898 13.918 4.46058 13.5625 4.72377C13.207 4.98695 12.9199 5.32275 12.7012 5.73114C12.4824 6.13953 12.3275 6.58423 12.2363 7.06523C12.1452 7.54623 12.0996 8.00908 12.0996 8.45377V8.56268C12.3366 8.12706 12.6419 7.80942 13.0156 7.60976C13.3893 7.4101 13.8223 7.31027 14.3145 7.31027C14.7702 7.31027 15.1712 7.39195 15.5176 7.5553C15.8639 7.71866 16.151 7.94101 16.3789 8.22235C16.6068 8.50369 16.7799 8.83494 16.8984 9.21611C17.0169 9.59728 17.0762 9.9966 17.0762 10.4141C17.0762 10.8678 17.0078 11.2989 16.8711 11.7073C16.7344 12.1157 16.5384 12.4742 16.2832 12.7828C16.028 13.0913 15.709 13.3364 15.3262 13.5179C14.9434 13.6994 14.5104 13.7947 14.0273 13.8037ZM14.0547 8.2768C13.7721 8.2768 13.5124 8.33125 13.2754 8.44016C13.0384 8.54906 12.8379 8.69881 12.6738 8.88939C12.5098 9.07998 12.3776 9.29779 12.2773 9.54282C12.1771 9.78786 12.1315 10.0465 12.1406 10.3188C12.1406 10.6092 12.1771 10.8996 12.25 11.19C12.3229 11.4804 12.4414 11.7482 12.6055 11.9932C12.7695 12.2382 12.9746 12.4379 13.2207 12.5922C13.4668 12.7465 13.7539 12.8236 14.082 12.8236C14.3919 12.8236 14.6654 12.7601 14.9023 12.633C15.1393 12.506 15.3307 12.3335 15.4766 12.1157C15.6224 11.8979 15.7363 11.6574 15.8184 11.3942C15.9004 11.131 15.9414 10.8542 15.9414 10.5638C15.9414 10.2643 15.9095 9.97845 15.8457 9.70618C15.7819 9.43392 15.6725 9.18888 15.5176 8.97107C15.3626 8.75326 15.1667 8.58537 14.9297 8.46739C14.6927 8.3494 14.401 8.28588 14.0547 8.2768ZM21.7793 13.8037C21.36 13.8037 20.9954 13.7266 20.6855 13.5723C20.3757 13.418 20.1113 13.2048 19.8926 12.9325C19.6738 12.6602 19.4915 12.3517 19.3457 12.0068C19.1999 11.6619 19.0905 11.3035 19.0176 10.9314C18.9447 10.5593 18.89 10.1872 18.8535 9.81509C18.8171 9.443 18.8034 9.09813 18.8125 8.78049C18.8125 8.42655 18.8262 8.04992 18.8535 7.6506C18.8809 7.25128 18.9355 6.84742 19.0176 6.43902C19.0996 6.03063 19.2135 5.64492 19.3594 5.28191C19.5052 4.91889 19.6921 4.59217 19.9199 4.30176C20.1478 4.01134 20.4349 3.77992 20.7812 3.60749C21.1276 3.43505 21.5286 3.34884 21.9844 3.34884C22.6497 3.34884 23.1784 3.52581 23.5703 3.87975C23.9622 4.23369 24.2585 4.67385 24.459 5.20023C24.6595 5.7266 24.7871 6.28928 24.8418 6.88826C24.8965 7.48724 24.9284 8.0363 24.9375 8.53545C24.9375 8.87124 24.9238 9.23426 24.8965 9.6245C24.8691 10.0147 24.8099 10.4095 24.7188 10.8088C24.6276 11.2082 24.5091 11.5803 24.3633 11.9251C24.2174 12.27 24.026 12.5876 23.7891 12.878C23.5521 13.1685 23.2695 13.3908 22.9414 13.5451C22.6133 13.6994 22.2259 13.7856 21.7793 13.8037ZM21.9297 4.32898C21.6107 4.32898 21.3418 4.40613 21.123 4.56041C20.9043 4.71469 20.7174 4.91889 20.5625 5.173C20.4076 5.42711 20.2891 5.71299 20.207 6.03063C20.125 6.34827 20.0612 6.67045 20.0156 6.99716C19.9701 7.32388 19.9427 7.63698 19.9336 7.93647C19.9245 8.23596 19.9199 8.49915 19.9199 8.72604C19.9199 8.94385 19.9245 9.19342 19.9336 9.47476C19.9427 9.7561 19.9701 10.051 20.0156 10.3596C20.0612 10.6682 20.125 10.9677 20.207 11.2581C20.2891 11.5485 20.403 11.8117 20.5488 12.0476C20.6947 12.2836 20.877 12.4697 21.0957 12.6058C21.3145 12.7419 21.5788 12.8145 21.8887 12.8236C22.1986 12.8236 22.4583 12.751 22.668 12.6058C22.8776 12.4606 23.0599 12.2655 23.2148 12.0204C23.3698 11.7754 23.4837 11.5077 23.5566 11.2172C23.6296 10.9268 23.6888 10.6183 23.7344 10.2915C23.7799 9.96483 23.8073 9.66534 23.8164 9.39308C23.8255 9.12082 23.8301 8.87124 23.8301 8.64436C23.8301 8.4447 23.8255 8.19966 23.8164 7.90925C23.8073 7.61883 23.7845 7.31027 23.748 6.98355C23.7116 6.65684 23.6523 6.33919 23.5703 6.03063C23.4883 5.72206 23.3789 5.43619 23.2422 5.173C23.1055 4.90981 22.9277 4.70562 22.709 4.56041C22.4902 4.4152 22.2305 4.33806 21.9297 4.32898ZM26.25 3.21271C26.0312 3.21271 25.8262 3.17187 25.6348 3.09019C25.4434 3.00851 25.2702 2.89053 25.1152 2.73625C24.9603 2.58196 24.8464 2.41407 24.7734 2.23256C24.7005 2.05105 24.6549 1.84231 24.6367 1.60635C24.6367 1.38854 24.6777 1.18434 24.7598 0.993761C24.8418 0.803176 24.9603 0.630743 25.1152 0.476461C25.2702 0.322178 25.4388 0.208735 25.6211 0.136132C25.8034 0.0635281 26.013 0.0181509 26.25 0C26.4688 0 26.6738 0.0408395 26.8652 0.122518C27.0566 0.204197 27.2298 0.322178 27.3848 0.476461C27.5397 0.630743 27.6536 0.798639 27.7266 0.980147C27.7995 1.16166 27.8451 1.37039 27.8633 1.60635C27.8633 1.82416 27.8223 2.02836 27.7402 2.21895C27.6582 2.40953 27.5397 2.58196 27.3848 2.73625C27.2298 2.89053 27.0612 3.00397 26.8789 3.07657C26.6966 3.14918 26.487 3.19455 26.25 3.21271ZM26.25 0.694271C25.9948 0.694271 25.7806 0.780488 25.6074 0.952921C25.4342 1.12535 25.3431 1.34317 25.334 1.60635C25.334 1.86047 25.4206 2.07374 25.5938 2.24617C25.7669 2.4186 25.9857 2.50936 26.25 2.51843C26.5052 2.51843 26.7194 2.43222 26.8926 2.25978C27.0658 2.08735 27.1569 1.86954 27.166 1.60635C27.166 1.35224 27.0794 1.13897 26.9062 0.966534C26.7331 0.794101 26.5143 0.703347 26.25 0.694271Z" fill="white"/>
    </svg>
`,de=G.d`
    <svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M10.7824 0.219651L15.2774 4.71441C15.5435 4.98047 15.5679 5.39676 15.3505 5.69038L15.278 5.77451L10.783 10.2794C10.4904 10.5726 10.0155 10.5731 9.7223 10.2805C9.4558 10.0145 9.4311 9.5979 9.6486 9.3041L9.7212 9.2199L12.938 5.997L1.24219 5.99766C0.862487 5.99766 0.548698 5.71551 0.499028 5.34943L0.492188 5.24766C0.492188 4.86797 0.774338 4.55417 1.14042 4.50451L1.24219 4.49766L12.94 4.497L9.7218 1.28035C9.4555 1.01409 9.4313 0.597431 9.6491 0.303811L9.7217 0.219691C9.988 -0.046589 10.4047 -0.0708092 10.6983 0.147041L10.7824 0.219651L15.2774 4.71441L10.7824 0.219651ZM15.5002 14.6491L15.507 14.7509C15.507 15.1306 15.2249 15.4444 14.8588 15.494L14.757 15.5009L3.06103 15.5L6.2822 18.7194C6.5486 18.9856 6.5729 19.4023 6.3552 19.696L6.2826 19.7801C6.0165 20.0465 5.59982 20.0709 5.30612 19.8531L5.22197 19.7806L0.721968 15.2843C0.455588 15.0182 0.431208 14.6015 0.648938 14.3078L0.721528 14.2237L5.22153 9.7199C5.5143 9.4269 5.98917 9.4267 6.2822 9.7194C6.5486 9.9856 6.5729 10.4023 6.3552 10.696L6.2826 10.7801L3.06503 14L14.757 14.0009C15.1367 14.0009 15.4505 14.283 15.5002 14.6491L15.507 14.7509L15.5002 14.6491Z" fill="#212121"/>
    </svg>
`,le=G.d`
    <svg width="20" height="20" viewBox="0 2 20 20" fill="none" style="transform: rotate(90deg);" xmlns="http://www.w3.org/2000/svg">
        <path d="M6.71965 8.71474L11.2144 4.21969C11.4805 3.95361 11.8968 3.9292 12.1904 4.14661L12.2745 4.21909L16.7794 8.71415C17.0726 9.00672 17.0731 9.4816 16.7805 9.77481C16.5145 10.0414 16.0979 10.066 15.8041 9.84849L15.7199 9.77596L12.497 6.55911L12.4977 19.2549C12.4977 19.6346 12.2155 19.9484 11.8494 19.9981L11.7477 20.0049C11.368 20.0049 11.0542 19.7228 11.0045 19.3567L10.9977 19.2549L10.997 6.55711L7.78035 9.77537C7.51409 10.0416 7.09743 10.0659 6.80381 9.84802L6.71969 9.7754C6.45341 9.50914 6.42919 9.09248 6.64704 8.79886L6.71965 8.71474L11.2144 4.21969L6.71965 8.71474Z" fill="#212121" />
    </svg>
`,ce=G.d`
    <svg width="9" height="10" viewBox="0 0 9 10" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M6.87729 6.0001C7.49829 6.0001 8.00169 6.5035 8.00169 7.12455V7.58375C8.00169 7.87045 7.91209 8.14995 7.74539 8.3832C6.97249 9.4648 5.71034 10.0007 4.00019 10.0007C2.2897 10.0007 1.02822 9.4646 0.257138 8.3824C0.0911532 8.14945 0.00195312 7.87055 0.00195312 7.5845V7.12455C0.00195312 6.5035 0.505378 6.0001 1.12639 6.0001H6.87729ZM4.00019 0.00244141C5.38089 0.00244141 6.50019 1.12173 6.50019 2.50244C6.50019 3.88316 5.38089 5.00245 4.00019 5.00245C2.61947 5.00245 1.50018 3.88316 1.50018 2.50244C1.50018 1.12173 2.61947 0.00244141 4.00019 0.00244141Z" fill="#212121"/>
    </svg>
`,ue=G.d`
    <svg width="9" height="11" viewBox="0 0 9 11" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M5.29598 1.75521H5.29736H5.29598ZM5.55036 4.67502C5.71398 4.83933 5.88173 4.99952 6.0543 5.15421C6.32655 5.4134 6.54311 5.7159 6.69161 6.04108C6.83255 6.35665 6.90542 6.7059 6.90267 7.05102V7.07852C6.90405 7.36315 6.8463 7.63883 6.72942 7.90077C6.61048 8.16821 6.44273 8.4054 6.23648 8.60271C5.77311 9.03996 5.16673 9.28127 4.52873 9.28127H4.47305C3.83436 9.28127 3.22798 9.03996 2.76942 8.60615C2.57142 8.41708 2.41192 8.19708 2.29367 7.9489L2.59342 7.96402H2.62161C3.00867 7.96402 3.38611 7.89115 3.74017 7.74677C4.0963 7.60308 4.4153 7.39477 4.68136 7.1349C4.9488 6.87708 5.16261 6.57596 5.31798 6.23702C5.48848 5.86852 5.57717 5.46015 5.5758 5.05452C5.57648 4.92733 5.56823 4.80083 5.55036 4.67502ZM2.20361 6.40133H2.20498H2.20361ZM4.64836 0.228271C4.55005 0.228271 4.44967 0.255771 4.35686 0.315584L4.34792 0.321771C3.81511 0.591959 3.4033 1.05258 3.19498 1.6129C3.06986 1.92433 3.00661 2.25708 3.00867 2.59258C3.00455 2.8889 3.05473 3.18383 3.15717 3.46227C3.26511 3.77508 3.41361 4.07208 3.59923 4.3464C3.6783 4.44815 3.74223 4.5609 3.78898 4.68052C3.83505 4.80083 3.85842 4.9294 3.85773 5.05796C3.85911 5.21677 3.82473 5.37421 3.75736 5.51858C3.69273 5.6609 3.60198 5.78946 3.48992 5.8974C3.37717 6.0074 3.2438 6.09402 3.09736 6.15315C2.94611 6.21433 2.78455 6.24527 2.6223 6.24527H2.59342C2.42155 6.24527 2.25173 6.20815 2.09498 6.13665C1.92586 6.05896 1.76773 5.95515 1.62886 5.82933L1.49892 5.67671C1.38892 5.54746 1.23905 5.48696 1.09055 5.48696C0.869859 5.48696 0.651922 5.62102 0.572172 5.86096L0.524047 6.0184C0.428484 6.3594 0.379672 6.71208 0.378984 7.06615C0.375547 7.59415 0.485547 8.11733 0.701422 8.59927C0.911109 9.06952 1.21086 9.4944 1.58348 9.84983C2.36448 10.5889 3.39848 11 4.47305 11H4.52873C5.60261 11 6.63592 10.5889 7.41692 9.85121C7.78955 9.49577 8.0893 9.0709 8.29898 8.60065C8.51486 8.11802 8.62486 7.59552 8.62142 7.06683C8.62692 6.47215 8.50386 5.88296 8.26117 5.33983C8.01092 4.79327 7.65617 4.30102 7.21824 3.88921C6.62767 3.3619 6.10036 2.7679 5.64592 2.1189C5.24511 1.4754 5.18255 1.11033 5.18255 0.754209C5.18255 0.444146 4.92473 0.228271 4.64836 0.228271Z" fill="white"/>
    </svg>
`,he=G.d`
    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path d="M21.9889 11.9463C21.9889 13.0461 21.0974 13.9376 19.9976 13.9376C19.9782 13.9376 19.9588 13.9373 19.9394 13.9367L15.2006 13.7972L11.7473 20.9398C11.4695 21.5144 10.8875 21.8794 10.2493 21.8794C9.73792 21.8794 9.32333 21.4648 9.32333 20.9534C9.32333 20.9166 9.32553 20.8798 9.32992 20.8432L10.1921 13.6505L6.42657 13.5406L5.93654 14.8813C5.7507 15.3896 5.26709 15.7277 4.72584 15.7277C4.2281 15.7277 3.8246 15.3242 3.8246 14.8265L3.8253 13.3498L3.01454 13.181C2.42989 13.059 2.01099 12.5436 2.01099 11.9463C2.01099 11.3492 2.43007 10.834 3.01471 10.7124L3.8253 10.5437L3.8246 9.06617C3.8246 8.60672 4.16841 8.22756 4.61279 8.17195L4.72584 8.16493C5.26709 8.16493 5.7507 8.50304 5.93654 9.01138L6.42765 10.3518L10.1792 10.2418L9.32992 3.15735C9.32773 3.13906 9.32608 3.12071 9.32498 3.10233L9.32333 3.04711C9.32333 2.53568 9.73792 2.12109 10.2493 2.12109C10.8344 2.12109 11.3721 2.42784 11.6716 2.92154L11.7473 3.06073L15.1499 10.0963L19.9394 9.95613C21.0386 9.92385 21.9558 10.7887 21.9881 11.8879L21.9889 11.9463Z" fill="#212121" />
    </svg>
`,ge=G.d`
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
    <g clip-path="url(#clip0_301_30)">
    <path d="M21 18H3C1.34315 18 0 19.3431 0 21C0 22.6569 1.34315 24 3 24H21C22.6569 24 24 22.6569 24 21C24 19.3431 22.6569 18 21 18Z" fill="url(#paint0_linear_301_30)"/>
    <path d="M10.2441 18.0234C10.2441 15.0586 12.6442 12.655 15.6047 12.655C18.5652 12.655 20.9652 15.0586 20.9652 18.0234" fill="#FF9D00"/>
    <path d="M3 18C3 18 4.5 3.74994 12.9375 2.64453C12.9375 2.64453 6.75002 4.49994 7.5 18H3Z" fill="url(#paint1_linear_301_30)"/>
    <path d="M11.2497 2.24984C11.2497 2.24984 10.9944 9.60276 18.7493 9.75482C18.7493 9.75482 19.7973 1.84308 11.2497 2.24984Z" fill="url(#paint2_linear_301_30)"/>
    <path d="M12 2.5C12 2.5 6.57477 -3.42883 0.00195312 2.83216C0.00195312 2.83216 5.22832 9.87908 12 2.5Z" fill="url(#paint3_linear_301_30)"/>
    <path d="M12.0103 2.4743C12.0103 2.4743 5.29924 6.5606 9.8772 13.2349C9.8772 13.2349 17.5434 9.4819 12.0103 2.4743Z" fill="url(#paint4_linear_301_30)"/>
    </g>
    <defs>
        <linearGradient id="paint0_linear_301_30" x1="12" y1="18" x2="12" y2="24" gradientUnits="userSpaceOnUse">
            <stop stop-color="#00C2FF"/><stop offset="1" stop-color="#0098FF"/>
        </linearGradient>
        <linearGradient id="paint1_linear_301_30" x1="3.22968" y1="12.3255" x2="6.57694" y2="14.6041" gradientUnits="userSpaceOnUse">
            <stop stop-color="#92511C"/><stop offset="1" stop-color="#CA8349"/>
        </linearGradient>
        <linearGradient id="paint2_linear_301_30" x1="12.7102" y1="7.02141" x2="16.7133" y2="3.87433" gradientUnits="userSpaceOnUse">
            <stop stop-color="#338200"/><stop offset="1" stop-color="#50CC00"/>
        </linearGradient>
        <linearGradient id="paint3_linear_301_30" x1="-0.000976629" y1="2.99988" x2="8.78981" y2="-2.50238" gradientUnits="userSpaceOnUse">
            <stop stop-color="#338200"/><stop offset="1" stop-color="#50CC00"/>
        </linearGradient>
        <linearGradient id="paint4_linear_301_30" x1="9.46734" y1="9.65223" x2="13.9542" y2="9.55217" gradientUnits="userSpaceOnUse">
            <stop stop-color="#338200"/><stop offset="1" stop-color="#50CC00"/>
        </linearGradient>
        <clipPath id="clip0_301_30"><rect width="24" height="24" fill="white"/></clipPath>
    </defs>
</svg>

`,pe=G.d`
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
    <g clip-path="url(#clip0_307_2)">
        <rect x="6" y="20" width="3" height="4" rx="1.5" fill="#0C59A4"/>
        <rect x="15" y="20" width="3" height="4" rx="1.5" fill="#0C59A4"/>
        <rect x="8.625" y="1.125" width="6.75" height="7.5" rx="0.5" stroke="#0669BC" stroke-width="1.125"/>
        <rect x="8.625" y="1.125" width="6.75" height="7.5" rx="0.5" stroke="url(#paint0_linear_307_2)" stroke-opacity="0.2" stroke-width="1.125"/>
        <path d="M4.5 6.5C4.5 6.22386 4.72386 6 5 6H19C19.2761 6 19.5 6.22386 19.5 6.5V22C19.5 22.2761 19.2761 22.5 19 22.5H5C4.72386 22.5 4.5 22.2761 4.5 22V6.5Z" fill="url(#paint1_linear_307_2)"/>
        <rect x="12" y="9.62109" width="3" height="5" rx="0.5" transform="rotate(-45 12 9.62109)" fill="#D3F9FF"/>
    </g>
    <defs>
        <linearGradient id="paint0_linear_307_2" x1="12" y1="1.125" x2="12" y2="8.625" gradientUnits="userSpaceOnUse">
            <stop stop-opacity="0"/>
            <stop offset="0.5"/>
        </linearGradient>
        <linearGradient id="paint1_linear_307_2" x1="10.4028" y1="6" x2="13.2847" y2="22.5" gradientUnits="userSpaceOnUse">
            <stop stop-color="#28AFEA"/>
            <stop offset="1" stop-color="#1493DF"/>
        </linearGradient>
            <clipPath id="clip0_307_2">
            <rect width="24" height="24" fill="white"/>
        </clipPath>
    </defs>
</svg>
`,ve=G.d`
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M16 7.95632C16 8.84692 15.2859 9.56884 14.4052 9.56884C14.3897 9.56884 14.3741 9.5686 14.3586 9.56811L10.5634 9.45515L7.7976 15.2391C7.57519 15.7044 7.10908 16 6.59795 16C6.18837 16 5.85633 15.6643 5.85633 15.2501C5.85633 15.2203 5.85809 15.1905 5.86161 15.1609L6.55214 9.33635L3.53636 9.24736L3.14391 10.333C2.99507 10.7447 2.60776 11.0184 2.17429 11.0184C1.77565 11.0184 1.45249 10.6917 1.45249 10.2887L1.45305 9.09285L0.803734 8.95616C0.33549 8.85736 0 8.44 0 7.95632C0 7.47279 0.335634 7.05559 0.803862 6.95712L1.45305 6.82051L1.45249 5.62403C1.45249 5.25197 1.72784 4.94493 2.08375 4.8999L2.17429 4.89422C2.60776 4.89422 2.99507 5.16801 3.14391 5.57966L3.53723 6.66511L6.54173 6.57604L5.86161 0.839149C5.85985 0.824338 5.85853 0.809478 5.85765 0.794594L5.85633 0.749878C5.85633 0.335729 6.18837 0 6.59795 0C7.06647 0 7.49718 0.248402 7.73705 0.648193L7.7976 0.760907L10.5228 6.45821L14.3586 6.3447C15.2388 6.31856 15.9734 7.01891 15.9993 7.90902L16 7.95632Z" fill="#F7F7F7"/>
</svg>
`,fe=G.d`
<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M13.8 5.76471C14.97 5.76471 15.9267 6.70493 15.996 7.89147L16 8.02941V13.3824C16 13.7235 15.7314 14 15.4 14C15.0962 14 14.8452 13.7676 14.8054 13.4662L14.8 13.3824V11.5294H1.2V13.3824C1.2 13.695 0.97428 13.9535 0.681416 13.9944L0.6 14C0.29624 14 0.045208 13.7676 0.00548 13.4662L0 13.3824V8.02941C0 6.825 0.91336 5.84014 2.06598 5.76882L2.2 5.76471H13.8ZM3.8 0H12.2C13.37 0 14.3267 0.940223 14.396 2.12675L14.4 2.26471V4.94118H12L11.9946 4.84514C11.952 4.46707 11.6606 4.1671 11.2933 4.12319L11.2 4.11765H9.6C9.18976 4.11765 8.8516 4.43556 8.80536 4.84514L8.8 4.94118H7.2L7.19464 4.84514C7.15192 4.46707 6.86056 4.1671 6.49328 4.12319L6.4 4.11765H4.8C4.38973 4.11765 4.05159 4.43556 4.00538 4.84514L4 4.94118H1.6V2.26471C1.6 1.06027 2.51336 0.0754354 3.66598 0.00413423L3.8 0Z" fill="#F7F7F7"/>
</svg>
`;function me(e){var t,i;const n=e.getSlideType();return[y.fZ.RichContentPanorama,y.fZ.RichContentTimelapse,y.fZ.RichContentVideos].includes(n)?null===(t=e.strings)||void 0===t?void 0:t.sdCardTitleRichContent:null===(i=e.destinationListMetadata)||void 0===i?void 0:i.SDCardTitleText}const ye=G.d`
${(0,j.g)((e=>{var t,i;return null===(i=null===(t=e.data)||void 0===t?void 0:t.Images)||void 0===i?void 0:i.length}),G.d`
<div class="${e=>{var t;return((null===(t=e.config)||void 0===t?void 0:t.showCenteredImageVariant)?"centered-image-variant":"")+" dst-slide-"+e.getSlideType()}}">
    ${(0,j.g)((e=>me(e)),G.d`
        <a href="${e=>{var t;return(0,y.B8)(null===(t=e.destinationListMetadata)||void 0===t?void 0:t.SDCardTitleUrl)}}"
            data-t="${e=>e.headingTelemetryTag}" target="_blank" class="card-header">
            <div class="card-title">
                <h5>${(0,j.g)((e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.showTravelTitleIcon}),G.d`
                    <span class="title-icon">
                        ${e=>{var t;return(null===(t=e.config)||void 0===t?void 0:t.useTravelTrolleyTitleIcon)?pe:ge}}
                    </span>
                `)} ${e=>me(e)}</h5>
            </div>
        </a>
    `)}
    <a target="_blank" href=${e=>(0,y.B8)(e.getClickThroughUrl())}
        data-t="${e=>e.telemetrytag}" aria-live="polite"
    >
        <div 
            class="image-container column ${e=>e.useLargerImageContainer?"full-height":""}"
            style="${e=>function(e){const t=e.getSlideType(),i=e.getBackgroundImageDimension(),n=e.getBackgroundImage();if(!n)return"";let a="--bg-img:url('"+(0,y.Ks)(n,i.height,i.width)+"');";return t==y.fZ.RichContentTimelapse&&Array.isArray(e.data.Timelapses[0].Images)&&e.data.Timelapses[0].Images.length>1&&(a+="--bg-img-2:url('"+(0,y.Ks)(e.data.Timelapses[0].Images[1],i.height,i.width)+"');"),a+="--img-height:"+i.height+"px; --img-width:"+i.width+"px; --rotate-offset:-1080px;",a}(e)} ${y.gJ.DominantColorRgb}:${e=>e.getDominantColor()}"
        >
            ${(0,j.g)((e=>e.getSlideType()==y.fZ.RichContentTimelapse),G.d`
                <div class="rich-content-timelapse-hidden"></div>
            `)}
            <div class="rich-content-icon-container">
                <div class="rich-content-icon">${e=>function(e){const t=e.getSlideType();return t==y.fZ.RichContentPanorama?se:t==y.fZ.RichContentTimelapse?oe:t==y.fZ.RichContentVideos?se:""}(e)}</div>
            </div>
            <div class="column full-bleed-destination-title ${e=>{var t,i,n,a;return(null===(i=null===(t=e.data.Flight)||void 0===t?void 0:t.Price)||void 0===i?void 0:i.Value)||(null===(a=null===(n=e.data.Hotel)||void 0===n?void 0:n.Price)||void 0===a?void 0:a.Value)?"":"hideFooter"}}">
                <span class="bold full-bleed-destination-name">
                    ${e=>e.data.Name}
                </aspan>
                <span class="destination-tags text-clamp">
                    ${e=>e.getDestinationTags()}
                </span>
            </div>
            <div class="column footer">
                ${(0,j.g)((e=>e.config.showDestinationPackage),G.d`
                    <div class="destination-package">
                    ${(0,j.g)((e=>e.data.Weather&&e.getTemperature()),G.d`
                        <span class="destination-package-item">
                            <img class="icon" src=${e=>e.getWeathersvg()}>
                            <span>${e=>e.getTemperature()}</span>
                        </span>
                    `)}
                    ${(0,j.g)((e=>{var t,i;return null===(i=null===(t=e.data.Flight)||void 0===t?void 0:t.Price)||void 0===i?void 0:i.Value}),G.d`
                        <span class="destination-package-item">
                            <span class="icon">${ve}</span>    
                            <span>${e=>(0,y.$2)(e.data.Flight.Price)}</span>
                        </span>
                    `)}
                    ${(0,j.g)((e=>{var t,i;return null===(i=null===(t=e.data.Hotel)||void 0===t?void 0:t.Price)||void 0===i?void 0:i.Value}),G.d`
                        <span class="destination-package-item">
                            <span class="icon">${fe}</span>
                            <span>${e=>(0,y.$2)(e.data.Hotel.Price)}</span>
                        </span>
                    `)}
                    </div>
                `)}
            </div>
        </div>
    </a>
    <div class="image-back-container"></div>
</div>
`)}`;let Ce=class extends Q{};Ce=(0,m.gn)([(0,V.M)({name:"travel-card-carousel-item",template:ye,styles:ne,shadowOptions:{delegatesFocus:!0}})],Ce);class be extends V.H{isLowestPrice(e){var t,i,n;if(!M(null===(i=null===(t=this.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.FlightSummaries))return!1;const a=this.flightPriceTrendsCard.FlightResults.FlightSummaries[0].Price;return!(!a||!a.Value)&&a.Value==(null===(n=null==e?void 0:e.Price)||void 0===n?void 0:n.Value)}getPriceInfoForValue(e,t){var i,n;const a=null===(n=null===(i=this.flightPriceTrendsCard)||void 0===i?void 0:i.FlightResults)||void 0===n?void 0:n.FlightSummaries;if(!M(a))return null;const r={};for(let e=0;e<a.length;e++){const t=a[e].Price;r[null==t?void 0:t.CurrencyShortName]=null==t?void 0:t.CurrencySymbol}return(0,y.$2)({Value:e,CurrencySymbol:r[t]})}getFlightLabel(e,t=!1){var i,n,a,r,o;if(!M(null==e?void 0:e.FlightDetails))return"";const s=e.FlightDetails[0];let d=s.Airline.AirlineName;if(t&&(null===(i=null==s?void 0:s.Airline)||void 0===i?void 0:i.AirlineCode)&&(null==s?void 0:s.FlightNumber)&&(d+=" ("+(null===(n=null==s?void 0:s.Airline)||void 0===n?void 0:n.AirlineCode)+" "+(null==s?void 0:s.FlightNumber)+")"),e.FlightDetails.length>1)if(t)for(let i=1;i<e.FlightDetails.length;i++){const n=e.FlightDetails[i];(null===(a=null==n?void 0:n.Airline)||void 0===a?void 0:a.AirlineName)&&(d+=", "+n.Airline.AirlineName,t&&(null===(r=null==n?void 0:n.Airline)||void 0===r?void 0:r.AirlineCode)&&(null==n?void 0:n.FlightNumber)&&(d+=" ("+(null===(o=null==n?void 0:n.Airline)||void 0===o?void 0:o.AirlineCode)+" "+(null==n?void 0:n.FlightNumber)+")"))}else d+=", +"+(e.FlightDetails.length-1);return d}getFlightTime(e){const t=e=>String(null!=e?e:0).padStart(2,"0");return e.DepartureTime&&e.ArrivalTime?t(e.DepartureTime.Hour)+":"+t(e.DepartureTime.Minute)+" - "+t(e.ArrivalTime.Hour)+":"+t(e.ArrivalTime.Minute):""}showPriceTrendsGraph(){var e,t,i;return(null===(e=this.config)||void 0===e?void 0:e.showPriceTrendsGraph)&&(null===(i=null===(t=this.flightPriceTrendsCard)||void 0===t?void 0:t.PriceTrends)||void 0===i?void 0:i.GraphData)}showTypicalPriceTag(){var e,t,i,n,a,r,o;const s=null===(t=null===(e=this.flightPriceTrendsCard)||void 0===e?void 0:e.FlightResults)||void 0===t?void 0:t.FlightSummaries;if(!M(s))return!1;const d=null===(i=s[0].Price)||void 0===i?void 0:i.Value,l=null===(a=null===(n=this.flightPriceTrendsCard)||void 0===n?void 0:n.PriceTrends)||void 0===a?void 0:a.Bounds[10],c=null===(o=null===(r=this.flightPriceTrendsCard)||void 0===r?void 0:r.PriceTrends)||void 0===o?void 0:o.Bounds[90];return!!(d&&l&&c)&&(d>c&&d<l)}showCheapeatTag(){var e,t,i,n,a,r;if(null===(e=this.config)||void 0===e?void 0:e.showPriceTrendsGraph){const e=null===(i=null===(t=this.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.FlightSummaries;if(!M(e))return!1;const o=null===(n=e[0].Price)||void 0===n?void 0:n.Value,s=null===(r=null===(a=this.flightPriceTrendsCard)||void 0===a?void 0:a.PriceTrends)||void 0===r?void 0:r.Bounds[90];return!(!o||!s)&&o<=s}return!0}connectedCallback(){super.connectedCallback()}}(0,m.gn)([L.LO],be.prototype,"flightPriceTrendsCard",void 0),(0,m.gn)([L.LO],be.prototype,"config",void 0),(0,m.gn)([L.LO],be.prototype,"strings",void 0),(0,m.gn)([L.LO],be.prototype,"telemetrytag",void 0),(0,m.gn)([L.LO],be.prototype,"flightL2LinkTelemetryTag",void 0),(0,m.gn)([L.LO],be.prototype,"flightPriceGraphTelemetryTag",void 0);const xe=q.i`
    a {
        text-decoration: none;
        color: inherit;
    }

    .column {
        display: flex;
        flex-direction: column;
    }

    .flex-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .card-container {
        display: block;
        width: 300px;
        height: 304px;
        background: linear-gradient(124.29deg, #EDFCFF -35.14%, #EFE2FF 46.34%, #CBE3FF 144.09%);
        box-shadow: 0px 30px 20px -20px rgb(38 0 118 / 12%);
        border-radius: 6px;
        box-shadow: 0px 30px 20px -20px rgba(38, 0, 118, 0.12);
    }

    .card-header {
        display: flex;
        padding: 16px 16px 12px 16px;
        z-index: 1;
        cursor: pointer;
    }

    .card-title {
        display: flex;
        font-size: 12px;
        line-height: 16px;
        font-weight: 400;
        letter-spacing: 0.7px;
        text-transform: capitalize;
        color: #1A1A1A;
    }

    .card-title svg {
        width: 16px;
        height: 16px;
        padding-right: 8px;
    }

    .title-icon {
        padding-right: 5px;
        height: 12px;
    }

    .card-title:hover, .card-title:focus {
        text-decoration: underline;
    }

    .card-title h5 {
        font-size: inherit;
        margin: inherit;
        font-weight: inherit;
        display: flex;
        align-items: center;
    }

    .flight-locations .airport {
        font-weight: 600;
        font-size: 20px;
        line-height: 26px;
        text-transform: uppercase;
        color: #1A1A1A;
    }

    .flight-query, .card-footer {
        padding: 0px 16px;
    }

    .flight-summaries {
        padding: 12px 16px 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .with-price-trends-graph .flight-summaries {
        padding: 0px 16px 12px;
        gap: 2px;
    }

    .flight-locations {
        display: flex;
        align-items: center;
    }

    .round-trip-icon {
        height: 20px;
        padding: 0px 8px;
    }

    .flight-times {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #1A1A1A;
    }

    .passenger-count {
        padding-left: 12px;
    }

    .passenger-count, .flight-trip-type {
        color: #605E5C;
    }

    .passenger-icon path {
        fill: #605E5C;
    }

    .passenger-icon {
        padding-right: 4px;
    }

    .flight-query-tag, .flight-price-tag {
        font-weight: 600;
        font-size: 10px;
        line-height: 14px;
    }

    .flight-query-tag.typical {
        color: #1A1A1A;
        background: #FFC80A;
        border-radius: 50px;
        padding: 2px 8px;
    }

    .flight-query-tag.cheapest {
        color: #FFFFFF;
        background: linear-gradient(90deg, #D64E14 4.62%, #D6AB14 115.38%);
        box-shadow: 0px 0.6px 1.8px rgb(0 0 0 / 10%), 0px 3.2px 7.2px rgb(0 0 0 / 13%);
        border-radius: 3px;
        padding: 2px 4px;
    }

    .flight-query-tag, .flight-price-tag {
        display: flex;
    }

    .flight-query-tag svg, .flight-price-tag svg {
        padding: 2px 4px;
    }

    .price-trends {
        height: 56px;
        margin-top: 12px;
    }

    .pt-graph {
        height: 42px;
    }

    .price-trends svg polyline {
        filter: drop-shadow(rgba(0, 85, 255, 0.4) -12px 12px 5px);
    }

    .pt-lines {
        position: relative;
        top: -58px;
        display: flex;
        flex-direction: column;
    }

    .pt-lines .x-labels {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
        padding: 0px 16px;
        font-weight: 400;
        font-size: 10px;
        line-height: 14px;
        color: #605E5C;
    }

    .pt-lines .mid-line {
        height: var(--yMax);
        border-left: 1px dashed #605E5C;
        margin-left: var(--xMid);
        margin-bottom: 3px;
    }

    .flight-summary {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        overflow: hidden;
    }

    .flight-summary:hover, .flight-summary:focus {
        background: rgba(255, 255, 255, 0.4);
    }

    .airline-block, flight-price-block {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 210px;
    }

    img.airline-icon {
        border-radius: 4px 0px 0px 4px;
        background-color: #FFFFFF;
    }
    .with-price-trends-graph img.airline-icon {
        margin: 4px;
    }

    .airline-name {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
        word-wrap: break-word;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #1A1A1A;
        padding-left: 8px;
        width: 45%;
    }

    .airline-time {
        flex-shrink: 0;
        flex-grow: 0;
        width: 70px;
        padding-left: 10px;
        padding-top: 2px;
        color: #605E5C;
    }

    .flight-price {
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        color: #1A1A1A;
        padding: 6px 8px 6px 12px;
    }

    .card-footer {
        justify-content: center;
    }

    .cta-button {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #111111;
        padding: 4px 20px;
        background: rgba(17, 17, 17, 0.07);
        border-radius: 20px;
    }

    .cta-button:hover, .cta-button:focus {
        background: rgba(17, 17, 17, 0.14);
    }

    .price-trends-chart-layover {
        position: relative;
        top: -50px;
        width: 268px;
        display: flex;
        height: 50px;
        flex-direction: row;
        flex-grow: 1;
        padding: 0px 16px;
    }

    .price-hover-group {
        position: relative;
        height: 50px;
        flex-grow: var(--flexGrow);
    }

    .price-trends-chart-layover .price-hover-group:first-child,
    .price-trends-chart-layover .price-hover-group:nth-last-child(1) {
        flex-grow: 1;
    }

    .price-pop-up {
        position: absolute;
        left: var(--x);
        top: var(--y);
        margin-left: -37px;
        margin-top: 10px;
        display: none;
        opacity: 0;
        transform: translate3d(0, -50%, 0);
        box-shadow: -1px 1px 1px rgb(0 0 0 / 25%), -10px 10px 10px rgb(0 41 255 / 10%);
        background: #FFFFFF;
        border-radius: 6px;
        width: 75px;
        height: 42px;
        flex-direction: column;
        align-items: center;
    }

    .price-pop-up:after {
        content: "";
        width: 6px;
        height: 6px;
        transform: rotate(-45deg);
        background: rgb(255, 255, 255);
        position: absolute;
        box-shadow: -1px 1px 1px rgb(0 0 0 / 25%), -10px 10px 10px rgb(0 41 255 / 10%);
        z-index: -1;
        bottom: -2px;
        left: calc(50% - 4px);
        border: none;
    }

    .price-pop-up:before {
        content: "";
        width: 9px;
        height: 9px;
        background: #0055FF;
        position: absolute;
        z-index: -1;
        bottom: -10px;
        left: calc(50% - 5px);
        border-radius: 50%;
    }

    .price-pop-up:hover {
        display: flex;
        opacity: 1;
    }

    .price-trends:hover svg polyline, .price-trends:focus svg polyline {
        stroke: url(#linear2);
        transition: stroke 0.2s ease-in-out 0s;
    }

    .price-trends text {
        font-weight: 400;
        font-size: 10px;
        line-height: 14px;
        fill: rgba(0, 0, 0, 0.3);    
    }

    .price-trends line {
        stroke: rgba(0, 0, 0, 0.3);
        stroke-width: 1px;
    }

    .price-hover-group:hover + .price-pop-up, .price-hover-group:focus + .price-pop-up {
        display: flex;
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
    }

    .price-pop-up .price {
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        color: #1A1A1A;
        margin-top: 2px;
    }

    .price-pop-up .days {
        font-weight: 400;
        font-size: 10px;
        line-height: 14px;
        color: #1A1A1A;
    }
`;var Te=i(16517);function we(e){var t,i;if(!(null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.PriceTrends)||void 0===i?void 0:i.GraphData))return null;const n=e.flightPriceTrendsCard.PriceTrends.GraphData;return{graphWidth:268,graphHeight:33,padding:16,xMin:F(Object.keys(n)),xMax:R(Object.keys(n)),yMin:F(Object.values(n)),yMax:R(Object.values(n))}}function Se(e){const t={},i=we(e);if(!i)return[];const n=function(e){const t={};for(const i in e){const n=e[i];t[(0,P.Z)(i)]=n}return t}(e.flightPriceTrendsCard.PriceTrends.GraphData);for(let e=i.xMin;e<=i.xMax;e++)if(e in n){const a=i.graphWidth-(e-i.xMin)*i.graphWidth/(i.xMax-i.xMin)+i.padding,r=(n[e]-i.yMin)*i.graphHeight/(i.yMax-i.yMin)-4;t[e]={x:Math.round(a),y:Math.round(i.graphHeight-r),price:n[e],days:e}}return t}function ke(e){if(!(e&&e.Day&&e.Month))return"";const t=new Date(e.Year,e.Month-1,e.Day);return t.toLocaleDateString(null===Te.jG||void 0===Te.jG?void 0:Te.jG.CurrentMarket,{day:"numeric"})+" "+t.toLocaleDateString(null===Te.jG||void 0===Te.jG?void 0:Te.jG.CurrentMarket,{month:"short"})}const Le=G.d`
${(0,j.g)((e=>{var t;return null===(t=null==e?void 0:e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults}),G.d`
    <a
        class="card-container"
        data-t="${e=>e.telemetrytag}" 
        href="${e=>{var t,i;return null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.RedirectionUrl}}"
        target="_blank"
    >
        <div class="card-header">
            <div class="card-title" tabIndex="0">
                ${he}<h5>${e=>{var t,i;return null!==(i=null===(t=e.strings)||void 0===t?void 0:t.flightsTo)&&void 0!==i?i:"Flights to"}} ${e=>{var t,i,n;return null===(n=null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.ArrivalAirport)||void 0===n?void 0:n.City}}</h5>
            </div>
        </div>
        <div class="card-content ${e=>e.showPriceTrendsGraph()?"with-price-trends-graph":""}" aria-live="polite">
            <div class="flight-query">
                <div class="flex-row">
                    <div class="flight-locations">
                        <span class="airport">${e=>{var t,i,n;return null===(n=null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.DepartureAirport)||void 0===n?void 0:n.Code}}</span>
                        <span class="round-trip-icon">
                            ${e=>{var t,i;return(null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.TripType)==y.tD.RoundTrip?de:le}}
                        </span>
                        <span class="airport">${e=>{var t,i,n;return null===(n=null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.ArrivalAirport)||void 0===n?void 0:n.Code}}</span>
                    </div>
                    <div class="flight-query-tags">
                        ${(0,j.g)((e=>e.showTypicalPriceTag()),G.d`
                            <span class="flight-query-tag typical">${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.typicalPrice}}</span>
                        `)}
                    </div>
                </div>
                <div class="flex-row">
                    <div class="flight-selection flex-row">
                        <div class="flight-times">
                            <span class="flight-date">${e=>{var t,i;return ke(null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.DepartureDate)}}</span>
                            ${(0,j.g)((e=>{var t,i;return(null===(i=null===(t=null==e?void 0:e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.TripType)==y.tD.RoundTrip}),G.d`
                                -
                                <span class="flight-date">${e=>{var t,i;return ke(null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.ArrivalDate)}}</span>
                            `)}
                        </div>
                        <div class="passenger-count">${1}<span class="passenger-icon">${ce}</span></div>
                        <div class="flight-trip-type">${e=>function(e){var t,i;return(null===(i=null===(t=null==e?void 0:e.flightPriceTrendsCard)||void 0===t?void 0:t.FlightResults)||void 0===i?void 0:i.TripType)==y.tD.RoundTrip?e.strings.roundtrip:e.strings.oneway}(e)}</div>
                    </div>
                    ${(0,j.g)((e=>e.showCheapeatTag()),G.d`
                        <div class="flight-query-tag cheapest">${ue}${e=>{var t,i;return null!==(i=null===(t=e.strings)||void 0===t?void 0:t.cheapest)&&void 0!==i?i:"Cheapest"}}</div>
                    `)}
                </div>
            </div>
            ${(0,j.g)((e=>{var t;return e.showPriceTrendsGraph()&&(null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.PriceTrends)}),G.d`
                <div class="price-trends" data-t=${e=>e.flightPriceGraphTelemetryTag}>
                    <div class="pt-graph">
                        <svg viewBox="0 0 300 56" class="chart">
                            <defs>
                                <linearGradient id="linear1" x1="0%" y1="0%" x2="100%" y2="0%">
                                    <stop offset="0%" stop-color="#CBE3FF"></stop>
                                    <stop offset="50%" stop-color="#0055FF"></stop>
                                    <stop offset="100%" stop-color="#CBE3FF"></stop>
                                </linearGradient>
                                <linearGradient id="linear2" x1="0%" y1="0%" x2="100%" y2="0%">
                                    <stop offset="0%" stop-color="#CBE3FF"></stop>
                                    <stop offset="25%" stop-color="#0055FF"></stop>
                                    <stop offset="75%" stop-color="#0055FF"></stop>
                                    <stop offset="100%" stop-color="#CBE3FF"></stop>
                                </linearGradient>
                            </defs>
                            <polyline
                                fill="none"
                                stroke="url(#linear1)"
                                stroke-width="2"
                                points="${e=>function(e){let t="";const i=we(e),n=Se(e);for(let e=i.xMax;e>=i.xMin;e--)n[e]&&(t+=n[e].x+","+n[e].y+" ");return t}(e)}"></polyline>
                        </svg>
                        ${e=>function(e){var t,i;const n=we(e),a=Se(e),r=(n.xMin+n.xMax)/2,o=null!==(i=null!==(t=a[Math.round(r)])&&void 0!==t?t:a[Math.round(r-1)])&&void 0!==i?i:a[Math.round(r+1)],s=a[n.xMin],d=a[n.xMax];return o?G.d`
        <div class="pt-lines">
            <div class="mid-line" style="--xMid:${o.x}px; --yMin:0px; --yMax:${n.graphHeight}px"></div>
            <div class="x-labels">
                <div>${d.days}D</div>
                <div>${o.days}D</div>
                <div>${s.days}D</div>
            </div>
        </div>
    `:""}(e)}
                    </div>
                    ${e=>function(e){var t,i,n,a;const r=we(e),o=Se(e);let s="",d=1;for(let l=r.xMax;l>=r.xMin;l--){let c="";o[l]?(c='             <div class="price-pop-up" style="--x: '+o[l].x+"px; --y:"+(o[l].y-28)+'px">                 <div class="price">'+e.getPriceInfoForValue(o[l].price,null===(i=null===(t=e.flightPriceTrendsCard)||void 0===t?void 0:t.PriceTrends)||void 0===i?void 0:i.CurrencyCode)+'</div>                 <div class="days">'+o[l].days+" "+(null!==(a=null===(n=e.strings)||void 0===n?void 0:n.daysAgo)&&void 0!==a?a:"days ago")+"</div>             </div>",s+='<div class="price-hover-group '+(o[l]?"enable-popup":"")+'" style="--flexGrow:'+d+'"></div>'+c,d=l+1==r.xMax?1:2):d+=2}return G.d`
        <div class="price-trends-chart-layover">
            ${s}
        </div>
    `}(e)}
                </div>
            `)}
            <div class="flight-summaries">
                ${(0,N.rx)(((e,t)=>{var i,n;return null===(n=null===(i=e.flightPriceTrendsCard)||void 0===i?void 0:i.FlightResults)||void 0===n?void 0:n.FlightSummaries}),G.d`
                    <a href="${e=>e.TravelHubUrl}"
                        target="_blank"
                        data-t="${(e,t)=>{var i;return null===(i=t.parent)||void 0===i?void 0:i.flightL2LinkTelemetryTag}}"
                        aria-live="polite"
                    >
                        <div class="flight-summary flex-row">
                            <div class="airline-block flex-row" title="${(e,t)=>{var i;return null===(i=t.parent)||void 0===i?void 0:i.getFlightLabel(e,!0)}}" aria-label="${(e,t)=>{var i;return null===(i=t.parent)||void 0===i?void 0:i.getFlightLabel(e,!0)}}"}">
                                <img class="airline-icon" src="${(e,t)=>function(e,t){let i=46;return t.showPriceTrendsGraph()&&(i=24),(0,y.Ks)(e.Logo,i,i)}(e,t.parent)}"/>
                                <div class="airline-name">${(e,t)=>{var i;return null===(i=t.parent)||void 0===i?void 0:i.getFlightLabel(e)}}</div>
                                <div class="airline-time">${(e,t)=>{var i;return null===(i=t.parent)||void 0===i?void 0:i.getFlightTime(e)}}</div>
                            </div>
                            <div class="flight-price-block flex-row">
                                <div class="flight-price-tags"></div>
                                <div class="flight-price">${e=>(0,y.$2)(e.Price)}</div>
                            </div>
                        </div>
                    </a>
                `,{positioning:!0})}
            </div>
        </div>
        <div class="card-footer flex-row">
            <div class="cta-button">${e=>{var t,i;return null!==(i=null===(t=e.strings)||void 0===t?void 0:t.seeMoreFlights)&&void 0!==i?i:"See more flights"}}</div>
        </div>
    </a>
`)}
`;let $e=class extends be{};$e=(0,m.gn)([(0,V.M)({name:"travel-flight-price-trends",template:Le,styles:xe,shadowOptions:{delegatesFocus:!0}})],$e);class De extends V.H{connectedCallback(){super.connectedCallback()}getDominantColor(){return"17,17,17"}getFontColor(){return"#FFFFFF"}}(0,m.gn)([L.LO],De.prototype,"data",void 0),(0,m.gn)([L.LO],De.prototype,"config",void 0),(0,m.gn)([L.LO],De.prototype,"telemetrytag",void 0),(0,m.gn)([L.LO],De.prototype,"headingTelemetryTag",void 0);var Ae=i(32804),Ie=i(56201);const Oe=q.i`

a {
    text-decoration: none;
    color: inherit;
}

.card-header {
    display: flex;
    padding: 16px 0px 10px 16px;
    height: inherit;
    background: rgba(51,51,51);
}

.card-title {
    font-size: 12px;
    color: var(--font-color);
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.title-icon {
    padding-right: 5px;
    height: 12px;
}

.card-title:hover, .card-title:focus {
    text-decoration: underline;
}

.card-title h5 {
    font-size: inherit;
    margin: inherit;
    font-weight: inherit;
    display: flex;
    align-items: center;
}

.seeall-slide {
    width: 100%;
    height: 216px;
    color: var(--font-color);
    border-radius: initial;
    background: linear-gradient(180deg, 
        rgba(51,51,51) 0%,
        rgba(var(${y.gJ.DominantColorRgb})) 100%);
}

.seeall-slide:focus,
.seeall-slide:focus-within,
.seeall-slide:hover, .seeall-slide:focus,
.seeall-slide:${Ie.b} {
    text-decoration: underline;
    outline: none;
}

.seeall-arrow-container {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background: ${Ae.goi};
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.seeall-arrow-container svg {
    height: 50%;
    width: 50%;
    fill: white;
}

.seeall-slide-text {
    padding: 10px;
    max-width: 265px;
    white-space: initial;
    font-size: ${Ae.cSu};
    line-height: ${Ae.RUt};
}

.centered-image-variant .card-title {
    font-weight: 600;
    color: black;
}

.centered-image-variant .card-header {
    position: relative;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.centered-image-variant .seeall-slide {
    margin: 0px 16px;
    height: 212px;
    width: auto;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
    color: black;
    text-align: center;
    padding: 0px 32px;
}

.centered-image-variant .seeall-slide-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    padding: 0px 32px;
}

.centered-image-variant .seeall-arrow-container {
    background: none;
}

.centered-image-variant .seeall-arrow-container svg {
    height: initial;
    width: initial;
}
`,Pe=G.d`
    ${(0,j.g)((e=>e.data),G.d`
        <div class="${e=>e.config.showCenteredImageVariant?"centered-image-variant":""}">
            <div class="card-header">
                <a href="${e=>(0,y.B8)(e.data.Metadata.SDCardTitleUrl)}"
                    data-t="${e=>e.headingTelemetryTag}" target="_blank" class="card-title">
                    <h5>${(0,j.g)((e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.showTravelTitleIcon}),G.d`
                        <span class="title-icon">${e=>{var t;return(null===(t=e.config)||void 0===t?void 0:t.useTravelTrolleyTitleIcon)?pe:ge}}</span>
                    `)} ${e=>e.data.Metadata.SDCardTitleText}</h5>
                </a>
            </div>
            <div style="${e=>(e=>`\n    ${y.gJ.DominantColorRgb}:${e.getDominantColor()};\n    --font-color:${e.getFontColor()}\n`)(e)}">
                <fluent-anchor class="seeall-slide column" target="_blank" href="${e=>{var t;return(0,y.B8)(null===(t=e.data)||void 0===t?void 0:t.Metadata.SeeAllUrl)}}" aria-live="polite"
                    data-t="${e=>e.telemetrytag}">
                    <div class="seeall-arrow-container">${e=>e.config.showCenteredImageVariant?re:ae}</div>
                    <div class="seeall-slide-text">${e=>e.data.Metadata.SeeAllCardText}</div>
                </fluent-anchor>
        </div>
    `)}
`;let Me=class extends De{};Me=(0,m.gn)([(0,V.M)({name:"travel-see-all-item",template:Pe,styles:Oe,shadowOptions:{delegatesFocus:!0}})],Me);class Fe extends V.H{connectedCallback(){super.connectedCallback()}getImage(){var e,t;return(null===(t=null===(e=this.data)||void 0===e?void 0:e.Images)||void 0===t?void 0:t.length)?this.data.Images[0]:null}getDominantColor(){return(0,y.iP)(this.getImage(),"17,17,17")}isDarkDominantGradient(){var e;const t=this.getImage();return!t||"#ffffff"==(null===(e=t.TextColor)||void 0===e?void 0:e.toLowerCase())}get strings(){return{cardTitle:"GET INSPIRED",cardText1:"Ready for a vacation?",cardText2:"Explore the world's top destinations on Bing Travel",ctaButtonText:"Let's go!"}}}(0,m.gn)([L.LO],Fe.prototype,"data",void 0),(0,m.gn)([L.LO],Fe.prototype,"telemetrytag",void 0),(0,m.gn)([L.LO],Fe.prototype,"headingTelemetryTag",void 0);const Re=q.i`

a {
    text-decoration: none;
    color: inherit;
}

.column {
    display: flex;
    flex-direction: column;
}

.see-all-v2-container {
    color: var(${y.gJ.DominantTextColorHex});
}

.card-header {
    display: flex;
    padding: 16px 0px 10px 16px;
    height: inherit;
    position: absolute;
    z-index: 1;
    width: 284px;
    background: linear-gradient(348deg,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 50%,
            rgba(var(${y.gJ.DominantColorRgb}), 0.4) 65%,
            rgba(var(${y.gJ.DominantColorRgb}), 1) 90%,
            rgba(var(${y.gJ.DominantColorRgb}), 1) 100%)
}

.card-title {
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    cursor: pointer;
    font-weight: 600;
}

.card-title:hover, .card-title:focus {
    text-decoration: underline;
}

.card-title h5 {
    font-size: inherit;
    margin: inherit;
    font-weight: inherit;
    display: inherit;
}

.image-container {
    position: relative;
    height: 304px;
    justify-content: flex-end;
    background-size: contain;
    width: 300px;
    background-repeat: no-repeat;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(180deg,
            rgba(var(${y.gJ.DominantColorRgb}),0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}),0.3) 50%,
            rgba(var(${y.gJ.DominantColorRgb}),0.7) 60%,
            rgba(var(${y.gJ.DominantColorRgb})) 70%),
            var(--background-image);
}

.card-content {
    position: absolute;
    top: 25px;
    width: 100%;
    height: 279px;
    display: flex;
    justify-content: flex-end;
}

.card-text-1 {
    font-size: 24px;
    line-height: 32px;
    padding-top: 34px;
}
.card-text-2 {
    font-size: 16px;
    line-height: 22px;
    opacity: 0.55;
    padding-top: 8px;
    width: 90%;
}
.card-text-1, .card-text-2 {
    padding-left: 20px;
}

a:hover .card-text-1, a:hover .card-text-2, a:focus .card-text-1, a:focus .card-text-2 {
    text-decoration: underline;
}

.cta-container {
    display: flex;
    align-items: center;
}
.cta-button {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    height: unset;
    padding: 4px 20px;
    border-radius: 20px;
    align-self: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(var(${y.gJ.DominantTextColorRgb}), 0.09);
    margin: 12px auto 12px;
    cursor: pointer;
    z-index: 2;
}
.cta-button:hover {
    background: rgba(var(${y.gJ.DominantTextColorRgb}), 0.3);
}
`,Ee=G.d`
    ${(0,j.g)((e=>e.data),G.d`
        <div class="see-all-v2-container" style="${e=>(0,y.rf)(e.getImage(),"#000000","#ffffff")}">
            <div class="card-header">
                <a href="${e=>(0,y.B8)(e.data.SeeAllUrl)}"
                    data-t="${e=>e.headingTelemetryTag}" target="_blank" class="card-title">
                    <h5>${e=>e.strings.cardTitle}</h5>
                </a>
            </div>
            <div class="image-container column" style="--background-image: url(${e=>(0,y.Ks)(e.getImage(),222,300)})">
            </div>
            <a target="_blank" href="${e=>(0,y.B8)(e.data.SeeAllUrl)}" data-t="${e=>e.telemetrytag}">
                <div class="card-content column" aria-live="polite">
                    <div class="card-text-1">${e=>e.strings.cardText1}</div>
                    <div class="card-text-2">${e=>e.strings.cardText2}</div>
                    <div class="cta-container">
                        <div class="cta-button">
                            ${e=>e.strings.ctaButtonText}
                        </div>
                    </div>
                </div>
            </a>
        </div>
    `)}
`;let Ue=class extends Fe{};Ue=(0,m.gn)([(0,V.M)({name:"travel-see-all-v2-item",template:Ee,styles:Re,shadowOptions:{delegatesFocus:!0}})],Ue);class He extends V.H{connectedCallback(){super.connectedCallback()}getBackgroundImageDimension(){var e;return(null===(e=this.config)||void 0===e?void 0:e.showCenteredImageVariant)?{height:212,width:268}:this.isHalfCard?{height:146,width:201}:{height:222,width:300}}}(0,m.gn)([L.LO],He.prototype,"isHalfCard",void 0),(0,m.gn)([L.LO],He.prototype,"data",void 0),(0,m.gn)([L.LO],He.prototype,"config",void 0),(0,m.gn)([L.LO],He.prototype,"telemetrytag",void 0);const _e=q.i`
.card-container {
    text-decoration: none;
    overflow: hidden;
    font-weight:600;
    width: 100%;
    height: 264px;
    display: flex;
    cursor: pointer;
    color: var(${y.gJ.DominantTextColorHex});
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,
            rgba(var(${y.gJ.DominantColorRgb}),0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}),0) 55%,
            rgba(var(${y.gJ.DominantColorRgb}),0.7) 70%,
            rgba(var(${y.gJ.DominantColorRgb})) 90%),
            var(--background-image);
}
.card-container:hover, .card-container:focus {
    background: linear-gradient(180deg,
            rgba(var(${y.gJ.DominantColorRgb}),0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}),0.3) 55%,
            rgba(var(${y.gJ.DominantColorRgb}),0.7) 70%,
            rgba(var(${y.gJ.DominantColorRgb})) 90%), 
            var(--background-image);
}

.card-container:hover .card-text, .card-container:focus .card-text {
    text-decoration: underline;
}

.card-container .half-card {
    background:
        radial-gradient(50% 207% at
            -4% 0%, var(${y.gJ.DominantColorHex}) 0%,
            rgba(var(${y.gJ.DominantColorRgb}), 0.6) 57.56%,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 100%),
        linear-gradient(180deg, 
            rgba(var(${y.gJ.DominantColorRgb}),0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}),0) 50%,
            rgba(var(${y.gJ.DominantColorRgb}),0.7) 64%,
            rgba(var(${y.gJ.DominantColorRgb})) 90%), 
            var(--background-image);
}

.card-container:hover .half-card, .card-container:focus .half-card {
    background:
        radial-gradient(50% 207% at
            -4% 0%, var(${y.gJ.DominantColorHex}) 0%,
            rgba(var(${y.gJ.DominantColorRgb}), 0.6) 57.56%,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 100%),
        linear-gradient(180deg, 
            rgba(var(${y.gJ.DominantColorRgb}),0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}),0.3) 50%,
            rgba(var(${y.gJ.DominantColorRgb}),0.7) 64%,
            rgba(var(${y.gJ.DominantColorRgb})) 90%), 
        var(--background-image);
}

.card-header {
    display: flex;
    padding: 16px 0px 10px 16px;
    height: inherit;
    background: linear-gradient(348deg,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 0%,
            rgba(var(${y.gJ.DominantColorRgb}), 0) 50%,
            rgba(var(${y.gJ.DominantColorRgb}), 0.4) 65%,
            rgba(var(${y.gJ.DominantColorRgb}), 1) 90%,
            rgba(var(${y.gJ.DominantColorRgb}), 1) 100%)
}

.card-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.title-icon {
    padding-right: 5px;
    height: 12px;
}

.card-title h5 {
    font-size: inherit;
    margin: inherit;
    font-weight: inherit;
    display: flex;
    align-items: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: left;
}

.card-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
}

.card-text {
    font-size: 22px;
    line-height: 28px;
    width: auto;
    padding: 5px 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}



.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 16px 5px 16px;
}
.card-icon-background {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-button {
    font-size: 12px;
    border-radius: 16px;
    padding: 0px 20px;
    background: rgba(255,255,255, 0.5);
}

.footer-button:hover, .footer-button:focus {
    background: rgba(255,255,255, 0.6);
}

.half-card.card-container {
    height: 146px;
    background-image: linear-gradient(90deg,
                rgba(var(--dominant-color-rgb),1) 33%,
                rgba(var(--dominant-color-rgb),0.5) 55%,
                rgba(var(--dominant-color-rgb),0) 70%),
                var(--background-image);
    background-position: right;
    background-repeat: no-repeat;
}

.half-card.card-container:hover, .half-card.card-container:focus {
    height: 146px;
    background-image: linear-gradient(90deg,
                rgba(var(--dominant-color-rgb),1) 33%,
                rgba(var(--dominant-color-rgb),0.5) 55%,
                rgba(var(--dominant-color-rgb),0) 70%),
                var(--background-image);
    background-position: right;
    background-repeat: no-repeat;
}

.half-card .card-content {
    width: 55%;
    margin-bottom: 40px;
    justify-content: center;
    flex-grow: 1;
}
.half-card .card-header {
    padding: 16px 0px 4px 16px;
    background: none;
}

.half-card .card-text {
    font-size: 14px;
    line-height: 20px;
    padding: 4px 16px;
}
.half-card .card-icon {
    display: none;
}

.card-container.centered-image-variant {
    background: none;
    height: auto;
}
.centered-image-variant .card-title {
    font-weight: 600;
    color: black;
}

.centered-image-variant .card-header {
    position: relative;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}
.centered-image-variant .card-content {
    margin: 0px 16px;
    height: 212px;
    width: auto;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 55.21%, rgba(0, 0, 0, 0.8) 100%), var(--background-image);
    background-size: 100%;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
}
.centered-image-variant .card-icon {
    display: none;
}
.centered-image-variant .card-text {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    padding: 7px 8px;
    color: white;
    -webkit-line-clamp: 2;
}
.card-container.centered-image-variant:hover .card-text, .card-container.centered-image-variant:focus .card-text {
    text-decoration: none;
}
.card-container.centered-image-variant:hover .card-content, .card-container.centered-image-variant:focus .card-content {
    background-size: 110%;
    transition: background-size 0.5s ease-in-out;
}
`,Ge=G.d`
${(0,j.g)((e=>e.data),G.d`
    <a 
        class="card-container ${e=>{var t;return(e.isHalfCard?"half-card":"")+((null===(t=e.config)||void 0===t?void 0:t.showCenteredImageVariant)?" centered-image-variant":"")}}"
        data-t="${e=>e.telemetrytag}" 
        href="${e=>{var t;return(0,y.B8)(null===(t=e.data)||void 0===t?void 0:t.ClickThroughUrl)}}"
        target="_blank"
        style="${e=>(e=>{const t=e.getBackgroundImageDimension();return(0,y.rf)(e.data.BackgroundImage,"#000000","#ffffff")+`--background-image: url("${(0,y.Ks)(e.data.BackgroundImage,t.height,t.width)}");`})(e)}"
        title="${e=>e.data.CardText}"
    >
        <div class="card-header">
            <div class="card-title" tabIndex="0">
                <h5>${(0,j.g)((e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.showTravelTitleIcon}),G.d`
                    <span class="title-icon">${e=>{var t;return(null===(t=e.config)||void 0===t?void 0:t.useTravelTrolleyTitleIcon)?pe:ge}}</span>
                `)} ${e=>{var t;return null===(t=e.data.Theme)||void 0===t?void 0:t.Name}}</h5>
            </div>
        </div>
        <div class="card-content" aria-live="polite">
            ${(0,j.g)((e=>!e.config.useCarouselChevron),G.d`
                <div class="card-icon">
                    <div class="card-icon-background">
                        <svg fill="#ffffff" viewBox="0 0 16 16" height="28" width="28" xmlns="http://www.w3.org/2000/svg">
                            <path xmlns="http://www.w3.org/2000/svg" d="M6.586 7.656a2 2 0 0 1-.329-.456 2 2 0 0 0 .329.456zm1.414-7.393a6 6 0 0 1 6 6 6 6 0 0 0-12 0 6 6 0 0 1 6-6zm1.743 6.937a2 2 0 0 1-.328.451 2 2 0 0 0 .328-.451zm-1.743-2.959a2 2 0 0 1 2 2 2 2 0 0 0-4 0 2 2 0 0 1 2-2zm.545 11.135c.342-.382.789-.889 1.2-1.385.6-.722 1.3-1.638 1.976-2.609-.672.971-1.38 1.887-1.976 2.609-.411.495-.858 1.003-1.2 1.385zm-6.51-8.766a7.418 7.418 0 0 0 .881 2.57c.189.361.409.725.633 1.088-.224-.368-.449-.728-.633-1.088a7.415 7.415 0 0 1-.881-2.57zm6.2 9.061a.492.492 0 0 1-.235.066.492.492 0 0 0 .233-.066zm-2.435-2.246c-.5-.625-1.026-1.325-1.545-2.077.523.752 1.051 1.452 1.545 2.077zm1.591 1.881l.24.267a.5.5 0 0 0 .369.164.5.5 0 0 1-.369-.164zm-5.356-8.696a7.415 7.415 0 0 0 .881 2.57c.189.361.409.725.633 1.088s.463.724.709 1.08c.52.752 1.042 1.452 1.542 2.077l.454.567c.382.463.8.94 1.134 1.314l.24.267a.476.476 0 0 0 .6.1.482.482 0 0 0 .136-.1l.176-.2c.342-.382.789-.89 1.2-1.386.6-.722 1.3-1.637 1.976-2.609a21.612 21.612 0 0 0 1.365-2.2 6.724 6.724 0 0 0 .919-2.916 6 6 0 0 0-12 0zm5.965-2.369a2 2 0 0 1 2 2 2 2 0 0 1-4 0 2 2 0 0 1 2-2z" />
                        </svg>
                    </div>
                </div>
            `)}
            <div class="card-text">${e=>e.data.CardText}</div>
        </div>
    </a>
`)}
`;let je=class extends He{};je=(0,m.gn)([(0,V.M)({name:"travel-theme-carousel-item",template:Ge,styles:_e,shadowOptions:{delegatesFocus:!0}})],je);var Ne=i(81563);z.S,B.Z,W.a;const Be=G.d`
    ${e=>(0,Ne.O)(e.config.childExperienceReferences.sdCardMaskWC,{properties:{cardType:"Travel",isHalfCard:e.isHalfCard,feedbackTexts:[e.strings.feedbackOption1,e.strings.feedbackOption2,e.strings.feedbackOption3]}})}
`,ze=G.d`
    ${e=>{var t,i;return(0,_.J)(null===(t=e.superSDSetting)||void 0===t?void 0:t.actionsMenuButtonElement,null===(i=e.superSDSetting)||void 0===i?void 0:i.menuItems)}}
`,We=G.d`
    ${(e,t)=>(0,_.D)((()=>{var i;return null===(i=e.superSDSetting)||void 0===i?void 0:i.toggleActionMenu(!e.superSDSetting.isActionMenuOpen,t.event)}),e.optionsTelemetryTags,e.strings.moreOptionsTooltip,"toggle-button")}
`;const Ve=G.d`
<svg xmlns="http://www.w3.org/2000/svg" width="5" height="8" viewBox="0 0 5 8">
    <path d="M0.646447 0.146447C0.451184 0.341709 0.451184 0.658291 0.646447 0.853553L3.79289 4L0.646447 7.14645C0.451185 7.34171 0.451185 7.65829 0.646447 7.85355C0.841709 8.04882 1.15829 8.04882 1.35355 7.85355L4.85355 4.35355C5.04882 4.15829 5.04882 3.84171 4.85355 3.64645L1.35355 0.146447C1.15829 -0.0488155 0.841709 -0.0488155 0.646447 0.146447Z"/>
</svg>
`,Je=G.d`
<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg">
    <path transform="translate(4.5, 3)" d="M0.646447 0.146447C0.451184 0.341709 0.451184 0.658291 0.646447 0.853553L3.79289 4L0.646447 7.14645C0.451185 7.34171 0.451185 7.65829 0.646447 7.85355C0.841709 8.04882 1.15829 8.04882 1.35355 7.85355L4.85355 4.35355C5.04882 4.15829 5.04882 3.84171 4.85355 3.64645L1.35355 0.146447C1.15829 -0.0488155 0.841709 -0.0488155 0.646447 0.146447Z"/>
</svg>
`,qe=G.d`
<svg width="7" height="12" viewBox="0 0 7 12"  xmlns="http://www.w3.org/2000/svg">
    <path d="M0.528512 0.861886C0.268165 1.12224 0.268165 1.54435 0.528512 1.8047L4.72379 5.99996L0.528512 10.1952C0.268165 10.4556 0.268165 10.8777 0.528512 11.138C0.788865 11.3984 1.21097 11.3984 1.47133 11.138L6.13799 6.47136C6.39832 6.21103 6.39832 5.78889 6.13799 5.52856L1.47133 0.861886C1.21097 0.601539 0.788865 0.601539 0.528512 0.861886Z"></path>
</svg>
`,Ze=G.d`
${(0,j.g)((e=>{var t;return(null===(t=e.destinationsData)||void 0===t?void 0:t.DestinationData)&&!(0,S.Z)(e.destinationsData.DestinationData)}),G.d`
    ${(0,j.g)((e=>{var t;return null===(t=e.superSDSetting)||void 0===t?void 0:t.isActionMenuOpen}),ze)}
    <div style="${e=>y.gJ.DominantColorRgb+":"+e.getDominantColor()}"
            class="full-bleed-container
                    ${e=>e.isDarkDominantGradient()?"darkBackground":"lightBackground"}
                    ${e=>e.isHalfCard?"half-card":""}
                    ${e=>e.hideFooter?"hide-footer":""}
                    slide-${e=>E[e.slideType]}
                    ${e=>e.config.showCenteredImageVariant?"centered-image-variant":""}"
            @mouseover=${e=>e.stopAutoRotate()} @mouseout=${e=>e.startAutoRotate()}
            id="travel-destination-card" data-t="${e=>e.travelTelemetryParentTag}">
        <div class="more-actions">
            ${(0,j.g)((e=>e.showMoreActions),We)}   
        </div>
        ${(0,j.g)((e=>e.config.useCarouselChevron),G.d`
            ${(0,j.g)((e=>!(e.config.use1dPagination&&1==e.activeIndex)),G.d`
                <button class="chevron left-chevron ${e=>e.config.autoRotateSlides?"crsl-auto-rotate":""}"
                    data-t="${e=>e.previousArrowTelemetryTag}"
                    @click=${(e,t)=>e.changeSlide(-1,t.event.target)}>${Je}</button>
            `)}
            ${(0,j.g)((e=>!(e.config.use1dPagination&&e.activeIndex==e.paginationCount)),G.d`
                <button class="chevron right-chevron ${e=>e.config.autoRotateSlides?"crsl-auto-rotate":""}"
                    data-t="${e=>e.nextArrowingTelemetryTag}"
                    @click=${(e,t)=>e.changeSlide(1,t.event.target)}>${Je}</button>
            `)}
        `)}
        <div class="full-bleed-item">
            ${(0,j.g)((e=>e.slideType==E.Destination),G.d`
                <travel-card-carousel-item
                    :temperatureUnit=${e=>e.temperatureUnit}
                    :multiimage=${e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.multiImage}}
                    :dominantGradient=${e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.dominantGradient}}
                    :telemetrytag=${e=>e.slideTelemetry}
                    :headingTelemetryTag=${e=>e.travelHeadingTelemetryTag}
                    :data=${e=>e.activeDestinationData}
                    :destinationListMetadata=${e=>{var t;return null===(t=e.destinationsData)||void 0===t?void 0:t.Metadata}}
                    :config=${e=>e.config}
                    :strings=${e=>e.strings}
                    :slideIndex=${e=>e.activeIndex}
                    :richContentSlideType=${e=>e.richContentSlideType}
                    :useLargerImageContainer=${e=>e.hideFooter}>
                </travel-card-carousel-item>
            `)}
            ${(0,j.g)((e=>e.slideType==E.Theme),G.d`
                <travel-theme-carousel-item 
                    :data=${e=>e.activeDestinationData}
                    :config=${e=>e.config}
                    :telemetrytag=${e=>e.slideTelemetry}
                    :isHalfCard=${e=>e.isHalfCard}>
                </travel-theme-carousel-item>
            `)}
            ${(0,j.g)((e=>e.slideType==E.SurpriseMe),G.d`
                <surprise-me-item
                    :data=${e=>e.activeDestinationData}
                    :telemetrytag=${e=>e.surpriseMeTelemetryTag}
                    :headingTelemetryTag=${e=>e.travelHeadingTelemetryTag}>
                </surprise-me-item>
            `)}
            ${(0,j.g)((e=>e.slideType==E.SeeAll),G.d`
                <travel-see-all-item
                    :data=${e=>e.destinationsData}
                    :config=${e=>e.config}
                    :telemetrytag=${e=>e.slideTelemetry}
                    :headingTelemetryTag=${e=>e.travelHeadingTelemetryTag}>
                </travel-see-all-item>
            `)}
            ${(0,j.g)((e=>e.slideType==E.SeeAllV2),G.d`
                <travel-see-all-v2-item
                    :data=${e=>e.activeDestinationData}
                    :telemetrytag=${e=>e.seeAllTelemetryTag}
                    :headingTelemetryTag=${e=>e.travelHeadingTelemetryTag}>
                </travel-see-all-v2-item>
            `)}
            </div>
            ${(0,j.g)((e=>!e.hideFooter),G.d`
                <div class="travel-guide-container ${e=>{var t,i;return 1==(null===(i=null===(t=e.destinationsData)||void 0===t?void 0:t.DestinationData)||void 0===i?void 0:i.length)?"single-destination":""}} ${e=>e.config.useCarouselChevron?"crsl-pagination":""}">
                    ${(0,j.g)((e=>{var t,i;return(null===(i=null===(t=e.destinationsData)||void 0===t?void 0:t.DestinationData)||void 0===i?void 0:i.length)>1&&!e.config.useCarouselChevron}),G.d`
                        <div class="row pagination-container">
                            <button class="left-chevron pagination-icon" data-t="${e=>e.previousArrowTelemetryTag}" aria-label="${e=>e.strings.prevSlideButtonLabel}"
                                @click=${(e,t)=>e.changeSlide(-1,t.event.target)}>${Ve}</button>
                            <span id="pagination-text" class="pagination-text">${e=>e.activeIndex+"/"+e.paginationCount}</span>
                            <button class="pagination-icon"  data-t="${e=>e.nextArrowingTelemetryTag}" aria-label="${e=>e.strings.nextSlideButtonLabel}"
                                @click=${(e,t)=>e.changeSlide(1,t.event.target)}>${Ve}</button>
                        </div>
                    `)}
                    ${(0,j.g)((e=>!(0,S.Z)(e.travelGuideUrl)),G.d`
                        <a data-t="${e=>e.travelGuideTelemetryTag}"
                            href=${e=>(0,y.B8)(e.travelGuideUrl)} target="_blank" class="explore-button">
                            ${e=>function(e){const t=e.richContentSlideType;let i="";return i=[y.fZ.RichContentPanorama,y.fZ.RichContentTimelapse,y.fZ.RichContentVideos].includes(t)?e.strings.seeMoreTextRichContent:e.config.showCenteredImageVariant?e.strings.seeMoreText:e.strings.buttonText,null!=i?i:"See more"}(e)}
                            <span class="cta-arrow">
                                ${(0,j.g)((e=>e.config.showCenteredImageVariant),re)}
                                ${(0,j.g)((e=>e.config.showCtaRightArrow),qe)}
                            </span>
                        </a>
                    `)}
                    ${(0,j.g)((e=>e.config.useCarouselChevron),G.d`
                        <div class="carousel-indicator">
                            ${(0,N.rx)((e=>{var t;return null===(t=e.destinationsData)||void 0===t?void 0:t.DestinationData}),G.d`
                                <button class="carousel-indicator-dot ${(e,t)=>t.parent.activeIndex==t.index+1?" active":""}"
                                    @click=${(e,t)=>{var i;return t.parent.moveToSlide(t.index+1,null===(i=t.event)||void 0===i?void 0:i.target)}} aria-label="${e=>e.strings.prevSlideButtonLabel}"></button>
                            `,{positioning:!0})}
                            ${(0,j.g)((e=>e.shouldShowSeeAllSlide()),G.d`
                                <button class="carousel-indicator-dot ${(e,t)=>e.activeIndex==e.paginationCount?" active":""}"
                                    @click=${(e,t)=>{var i;return e.moveToSlide(e.paginationCount,null===(i=t.event)||void 0===i?void 0:i.target)}} aria-label="${e=>e.strings.nextSlideButtonLabel}"></button>
                            `)}
                        </div>
                    `)}
                </div>
            `)}
    </div>
    ${(0,j.g)((e=>e.isGA&&e.config&&e.config.childExperienceReferences&&e.config.childExperienceReferences.sdCardMaskWC),Be)}
`)}
${(0,j.g)((e=>{var t;return null===(t=e.destinationsData)||void 0===t?void 0:t.FlightPriceTrendsCard}),G.d`
    ${(0,j.g)((e=>{var t;return null===(t=e.superSDSetting)||void 0===t?void 0:t.isActionMenuOpen}),ze)}
    <div class="travel-destination-card flight-price-trends" id="travel-destination-card" data-t="${e=>e.travelTelemetryParentTag}">
        <div class="more-actions">
            ${(0,j.g)((e=>e.showMoreActions),We)}   
        </div>
        <travel-flight-price-trends
            :flightPriceTrendsCard=${e=>{var t;return null===(t=e.destinationsData)||void 0===t?void 0:t.FlightPriceTrendsCard}}
            :config=${e=>e.config}
            :strings=${e=>e.strings}
            :telemetrytag=${e=>e.slideTelemetry}
            :flightL2LinkTelemetryTag=${e=>e.flightL2LinkTelemetryTag}
            :flightPriceGraphTelemetryTag=${e=>e.flightPriceGraphTelemetryTag}
        ></travel-flight-price-trends>
    </div>
    ${(0,j.g)((e=>e.isGA&&e.config&&e.config.childExperienceReferences&&e.config.childExperienceReferences.sdCardMaskWC),Be)}
`)}
`,Ye=q.i`
    .row.pagination-container {
        flex-direction:  row;
    }
`,Ke=q.i`
    .row.pagination-container {
        flex-direction:  row-reverse;
    }
`,Xe=q.i`
:host {
    width: auto;
    height: 100%;
    box-sizing: border-box;
    font-family: ${Ae.SVJ};
    overflow: hidden;
    outline: none;
    font-size: 12px;
    line-height: 16px;
    color: ${Ae.Q5n};
}

a {
    text-decoration: none;
    color: inherit;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bold {
    font-weight: 600;
}

.full-bleed-container {
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.darkBackground {
    color: white;
}

.lightBackground {
    color: black;
}

.full-bleed-container::after{
    content: "";
    position: absolute;
    background: ${Ae.IfY};
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: none;
    pointer-events: none;
    z-index: 3;
    transition: opacity cubic-bezier(0, 0, 0, 1) 1s;
}

.full-bleed-container.animate::after {
    opacity: 1;
    transition: opacity cubic-bezier(0, 0, 0, 1) 250ms;
}

.underline:hover, .underline:focus {
    text-decoration: underline;
}

.radial-gradient-container {
    padding: 12px 16px 0;
    position: absolute;
    width: 268px;
}

.destination-header {
    max-height: 24px;
    align-items: center;
}

.image-info-pane {
    border-radius: 0px;
    --scroll-item-spacing: 0px;
}

.title {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    z-index: 2;
}

.more-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 24px;
    height: 24px;
    z-index: 2;
    position: absolute;
    right: 16px;
    top: 12px;
}

.toggle-button {
    border-radius: 16px;
    height: 24px;
    min-width: 24px;
    width: 24px;
    background: rgba(var(${y.gJ.DominantColorRgb}), 0.4);
}

.toggle-button:hover, .toggle-button:focus {
    background: rgba(var(${y.gJ.DominantColorRgb}), 0.5);
}

.flight-price-trends {
    position: relative;
}

.flight-price-trends .more-actions {
    height: 28px;
    min-width: 28px;
    right: 12px;
    top: 10px;
}

.flight-price-trends .toggle-button {
    height: 100%;
    min-width: 100%;
}

.flight-price-trends .toggle-button:hover, .flight-price-trends .toggle-button:focus {
    background: rgba(0, 0, 0, 0.07);
}

.flight-price-trends .toggle-button path {
    fill: #1A1A1A;
}

.flight-price-trends .toggle-button:hover path, .flight-price-trends .toggle-button:focus path {
    stroke: rgba(17, 17, 17, 0.54);
    stroke-width: 0.5px;
}

.pagination-icon {
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pagination-text {
    margin: 0px 8px
}

.left-chevron {
    transform: rotate(180deg);
}

.chevron {
    position: absolute;
    top: 133px;
    width: 13px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
    border: 0px;
    padding: 0px;
}
.full-bleed-container.lightBackground .chevron.crsl-auto-rotate, .full-bleed-container.darkBackground .chevron.crsl-auto-rotate {
    background: rgba(0, 0, 0, 0);
}
.full-bleed-container.lightBackground .chevron {
    background: rgba(0, 0, 0, 0.7);
}
.full-bleed-container.darkBackground .chevron {
    background: rgba(255, 255, 255, 0.7);
}
.chevron.left-chevron {
    left: 0px;
}
.chevron.right-chevron {
    right: 0px;
}
.full-bleed-container.lightBackground:hover .chevron.crsl-auto-rotate,
.full-bleed-container.lightBackground .chevron.crsl-auto-rotate:focus {
    background: rgba(0, 0, 0, 0.5);
}
.full-bleed-container.darkBackground:hover .chevron.crsl-auto-rotate,
.full-bleed-container.darkBackground .chevron.crsl-auto-rotate:focus {
    background: rgba(255, 255, 255, 0.5);
}
.lightBackground .chevron svg {
    fill: white;
}
.darkBackground .chevron svg {
    fill: black;
}

.pagination-container {
    margin-bottom: 8px;
    margin-inline-start: 12px;
    align-items: center;
}

.explore-button {
    font-size: 12px;
    line-height: 16px;
    height: unset;
    padding: 4px 16px;
    border-radius: 20px;
    align-self: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 2px auto 12px;
    cursor: pointer;
    z-index: 2;
}

.crsl-pagination {
    flex-direction: column;
}
.crsl-pagination .explore-button {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 1px;
    padding: 3px 15px;
}
.crsl-pagination .explore-button svg {
    position: relative;
    top: 2px;
    left: 1px;
}
.darkBackground .crsl-pagination .explore-button {
    color: black;
    background: rgba(255, 255, 255, 0.5);
}
.darkBackground .crsl-pagination .explore-button:hover,
.darkBackground .crsl-pagination .explore-button:focus {
    background: rgba(255, 255, 255, 0.7);
}
.lightBackground .crsl-pagination .explore-button {
    color: white;
    background: rgba(0, 0, 0, 0.5);
}
.lightBackground .crsl-pagination .explore-button:hover,
.lightBackground .crsl-pagination .explore-button:focus {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-indicator {
    display: flex;
    justify-content: center;
    margin: 4px 0px;
}
.carousel-indicator-dot {
    cursor: pointer;
    padding: 2px 2px;
    margin: 2px 3px;
    border-radius: 2px;
    border: 0px;
}
.carousel-indicator-dot.active {
    padding: 3px 3px;
    margin: 1px 2px;
    border-radius: 3px;
}
.darkBackground .carousel-indicator-dot {
    background: rgba(255, 255, 255, 0.4);
}
.darkBackground .carousel-indicator-dot.active {
    background: rgba(255, 255, 255, 1);
}
.lightBackground .carousel-indicator-dot {
    background: rgba(0, 0, 0, 0.4);
}
.lightBackground .carousel-indicator-dot.active {
    background: rgba(0, 0, 0, 1);
}

.pagination-container+.explore-button {
    margin-inline-end: 12px;
}

.darkBackground .explore-button, .darkBackground .pagination-icon {
    background: rgba(255, 255, 255, 0.09);
}
.darkBackground .explore-button:hover, .darkBackground .pagination-icon:hover,
.darkBackground .explore-button:focus, .darkBackground .pagination-icon:focus {
    background: rgba(255, 255, 255, 0.3);
}
.lightBackground .explore-button, .lightBackground .pagination-icon {
    background: rgba(0, 0, 0, 0.09);
}
.lightBackground .explore-button:hover, .lightBackground .pagination-icon:hover,
.lightBackground .explore-button:focus, .lightBackground .pagination-icon:focus {
    background: rgba(0, 0, 0, 0.3);
}

.darkBackground svg {
    fill: white;
}
.lightBackground svg {
    fill: black;
}

.travel-guide-container {
    background: rgb(var(${y.gJ.DominantColorRgb}));
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
}
.hide-footer > .full-bleed-item {
    height: 100%;
}
.explore-button::part(control) {
    padding: 0;
    border: none;
}

.slide-SurpriseMe .chevron, .slide-SeeAllV2 .chevron, .slide-Destination .chevron, .slide-Theme .chevron, .slide-SeeAll .chevron {
    z-index: 1;
}
.slide-SeeAll .carousel-indicator {
    margin-top: 36px;
}

.crsl-pagination .cta-button {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.half-card .pagination-icon {
    height: 24px;
    width: 24px;
}
.half-card .travel-guide-container {
    position: absolute;
    bottom: 8px;
    background: none;
    width: 100%;
}
.half-card .pagination-container {
    margin-bottom: 0px;
}

.half-card .explore-button {
    padding: 3px 16px;
    margin: 0px 12px;
    background: rgba(var(--dominant-color-rgb), 0.4);
}

.half-card .explore-button:hover, .half-card .explore-button:focus {
    background: rgba(var(--dominant-color-rgb), 0.55);
}

.full-bleed-container.centered-image-variant {
    background: rgba(255,255,255,0.96);
}
.centered-image-variant .toggle-button {
    background: white;
}
.centered-image-variant .toggle-button svg {
    fill: black;
}
.centered-image-variant .travel-guide-container {
    background: none;
    color: black;
}
.centered-image-variant .travel-guide-container svg {
    fill: black;
}
.centered-image-variant .pagination-container {
    margin: 0px 16px;
}
.centered-image-variant.darkBackground .pagination-icon, .centered-image-variant.lightBackground .pagination-icon,
.centered-image-variant.darkBackground .explore-button, .centered-image-variant.lightBackground .explore-button {
    background: white;
}
.centered-image-variant .explore-button {
    display: flex;
    align-items: center;
    margin: 0px 16px;
    padding: 0px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    border: none;
}
.centered-image-variant .cta-arrow {
    padding: 4px 0px 0px 8px;
}

`.withBehaviors(new ee.O(Ye,Ke)),Qe={experienceConfigSchema:f};(0,n.z)().withShadowRootMode("closed").withElementDisambiguation((()=>d.h.ignoreDuplicate)).register((0,a.hb)(),(0,r.QT)(),(0,o.gn)(),(0,s.ok)())},76859:function(e,t,i){i.d(t,{C7:function(){return o},Nv:function(){return n},OO:function(){return s},X9:function(){return d},sn:function(){return r}});var n,a=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"}(n||(n={}));const r=146,o=300,s=12,d=(0,a.Z)((e=>Array(e).fill(r)))},9601:function(e,t,i){i.d(t,{ye:function(){return a}});const n=[];function a(e){for(const t of n)t(e)}},93637:function(e,t,i){i.d(t,{L:function(){return p}});var n=i(33940),a=i(791),r=i(68364),o=i(26415),s=i(54804),d=i(16517),l=i(46336),c=i(4596),u=i(29422),h=i(9601);var g;!function(e){e[e.AutoDetectLoc=1]="AutoDetectLoc",e[e.SpecifyLoc=2]="SpecifyLoc"}(g||(g={}));class p{constructor(){this.instance=a.N}getUserDefaultLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){let t,i;try{const i=yield this.instance.getUserDefaultLocation(e);if(null==i)throw"Location response returned null or undefined";t=yield i.json()}catch(i){(0,r.OO)(i,o.WiH,`User's default location fetch request failed. Autodetect forced: ${!0===e}`),t=null}return t&&t.length&&t[0]&&(i={latitude:`${t[0].latitude}`,longitude:`${t[0].longitude}`,isDetected:e,locality:t[0].city,region:c.abbreviateUSState(t[0].state,s.Al.Locale,t[0].countryCode),country:t[0].country,isoCode:t[0].countryCode,language:d.jG.CurrentMarket},i.displayName=u.getDisplayName(i)),i}))}getGeoLocation(){const e=u.headLocation();return u.isValid(e)?e:((0,r.H)(o.Hx8,"Failed to get valid user geo location from PCS head data"),null)}updateUserSettings(e,t,i={},a){return(0,n.mG)(this,void 0,void 0,(function*(){let n=!1;try{n=yield this.instance.updateWeatherSettings(e,t,i,a)}catch(e){(0,r.OO)(e,o.DyR,"error in library [location-service],Weather or location user settings update failed"),n=!1}return n}))}setHomeLocation(e,t={},i){return(0,n.mG)(this,void 0,void 0,(function*(){let n=!1;try{n=yield this.instance.updatePdpHomeLocation(p.buildMetaData(e),`${e.latitude},${e.longitude}`,t,i)}catch(e){(0,r.OO)(e,o.G1Z,"error in library [location-service],Home Location Update Failed"),n=!1}return n&&(0,h.ye)(e),n}))}setSpecifyLocationMode(){return(0,n.mG)(this,void 0,void 0,(function*(){let e=!1;try{e=yield this.instance.updateWeatherSettings(null,`${g.SpecifyLoc}`)}catch(t){(0,r.OO)(t,o.DyR,"error in library [location-service],Weather user settings update failed"),e=!1}return e}))}addFavoriteLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=`${e.latitude},${e.longitude}`;return yield this.instance.addToFavoriteLocation(p.buildMetaData(e),t)}))}removeFavoriteLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=e.definitionName||`${e.latitude},${e.longitude}`,i=yield this.instance.removeFavoriteLocation(t);return i&&(e.definitionName=null),i}))}removeLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=e.definitionName||`${e.latitude},${e.longitude}`,i=yield this.instance.removeLocation(t);return i&&(e.definitionName=null),i}))}static buildMetaData(e){const t=e.language||s.Al.Locale||"";return JSON.parse(JSON.stringify({geoCoordinates:{latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)},addressLine:e.addressLine,subRegion:e.subRegion,readLink:e.readLink,city:e.locality,state:e.region,countryRegion:e.country,postalCode:e.postalCode,isoCode:e.isoCode,locationType:"number"==typeof e.locationType?e.locationType||1:(0,l.hh)(""+e.locationType,1),locationTypeId:[e.locality,e.region,e.country].filter((e=>!!e)).join(","),language:t||void 0}))}}},30113:function(e,t,i){var n;i.d(t,{m:function(){return n}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(n||(n={}))},11708:function(e,t,i){var n;i.d(t,{f:function(){return n}}),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"}(n||(n={}))},83152:function(e,t,i){var n;i.d(t,{L:function(){return n}}),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"}(n||(n={}))},791:function(e,t,i){i.d(t,{N:function(){return C}});var n=i(33940),a=i(33954),r=i(26415),o=i(68364),s=i(33799),d=i(16517),l=i(94788),c=i(67267),u=i(63535),h=i(87298),g=i(83152),p=i(11708),v=i(30113),f=i(65135),m=i(33379),y=i(51671);const C=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,n.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},i=(0,u.PH)(this.locationsServiceEndPoint);let a;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{a=yield(0,h.w)((()=>(0,n.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 a}return a}))}addToFavoriteLocation(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){const i="Location",a="Follow",r={method:"POST",body:JSON.stringify({actionType:a,targetType:i,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},o=(0,u.PH)(this.pdpServiceEndpoint);let l;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));try{l=yield(0,h.w)((()=>(0,n.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: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(g.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(g.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,i={},a){return(0,n.mG)(this,void 0,void 0,(function*(){const r=g.L.Location,o="Follow",l=yield this.getRequestInit({method:"POST"},i);l.body=JSON.stringify({actionType:o,targetType:r,definitionName:t,degree:"DefaultLocation",metaData:e});const p=(0,u.PH)(this.pdpServiceEndpoint);return((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)})),yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,l);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${r}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(r),!0}))}updateTrafficMyRoutes(e,t,i,r,o,s){return(0,n.mG)(this,void 0,void 0,(function*(){const d=i.replace(/[^a-zA-Z0-9\-.,_]/g,""),l=g.L.Traffic,u="Follow",p={method:"POST",body:JSON.stringify({actionType:u,targetType:l,targetId:d,degree:e,definitionName:t,metadata:r,createdDateTime:s}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},v=yield this.getTrafficPdpUrl(null,null,o);try{yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(v.href,p);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${l}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(l)}catch(e){return a.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,i){return(0,n.mG)(this,void 0,void 0,(function*(){const a={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},r=yield this.getTrafficPdpUrl(e,t,i);try{yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,a);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${g.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(g.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var i;return(0,n.mG)(this,void 0,void 0,(function*(){const a={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},r=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,a);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${g.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,n.mG)(this,void 0,void 0,(function*(){const n=(0,u.PH)(this.pdpServiceEndpoint),a=(yield(0,y.XJ)())===s.Hy.SignedIn,r=(0,d.Yq)().UserId,o=a?c.$.getOneServiceParamsWithAuth(r,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(r,this.ocid,!this.ocidOverride);if(e||t){const i=`targetType eq '${g.L.Traffic}'`,a=e?`degree eq '${e}'`:"",r=t?`definitionName eq '${t}'`:"";n.searchParams.set("$filter",`actionType eq 'Follow' and (${i})${a?` and (${a})`:""}${r?` and (${r})`:""}`)}return[...o,...i||[]].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)})),n}))}addToWatchList(e,t=0,i={},a={}){return(0,n.mG)(this,void 0,void 0,(function*(){const r=g.L.Finance,o="Follow",l={method:"POST",body:JSON.stringify({actionType:o,targetType:r,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},a)}),headers:yield this.getOneserviceHeaders(i),credentials:"include"},p=(0,u.PH)(this.pdpServiceEndpoint),v="zh-cn"!==(0,d.Yq)().CurrentMarket;let f;((yield(0,y.XJ)())===s.Hy.SignedIn&&v?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));try{f=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,l);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}))}addListToWatchList(e,t={},i={}){return(0,n.mG)(this,void 0,void 0,(function*(){const a=g.L.Finance,r="Follow",o={method:"POST",body:JSON.stringify(e.map((e=>({actionType:r,targetType:a,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},i)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},l=(0,u.PH)(this.pdpServiceEndpoint),p="zh-cn"!==(0,d.Yq)().CurrentMarket;let v;((yield(0,y.XJ)())===s.Hy.SignedIn&&p?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&l.searchParams.set(e.key,e.value)}));try{v=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(l.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${a}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(a)}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,n.mG)(this,void 0,void 0,(function*(){const a=g.L.Finance,r="Follow",o=yield C.readPdpWithTargetType(g.L.Finance,!0,200,t),l=o&&(null===(i=o.value)||void 0===i?void 0:i.filter((e=>e.actionType===r&&e.targetId)));if(!l||l.length<e.length)return!1;const p={};let v=e.length;l.forEach((t=>{let i=e.findIndex((e=>e===t.targetId));i<0&&(i=v,v++),p[t.targetId]=JSON.stringify({actionType:r,targetId:t.targetId,targetType:a,rank:i,metadata:t.metadata})}));const f={method:"PUT",body:JSON.stringify(p),headers:yield this.getOneserviceHeaders(t),credentials:"include"},m=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&m.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,n.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: ${a}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(g.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,i,r={},o){return(0,n.mG)(this,void 0,void 0,(function*(){const t=g.L.Weather,n={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:i}}}}),headers:yield this.getOneserviceHeaders(r),credentials:"include"},l=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=o?o:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=o?o:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&l.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(l.href,n);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 a.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,i={},a){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let n="";n=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const r=yield this.getRequestInit({method:"POST"},i);r.body=n;const o=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));const l=yield this.fetchImpl(o.href,r);if(l.status>=400){const e=`OneService returned error response. Status: ${l.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},i=JSON.stringify(t),n=yield this.getRequestInit({method:"POST"});n.body=i;const a=(0,u.PH)(this.userUpdateEndpoint),r="zh-cn"!==(0,d.Yq)().CurrentMarket;((yield(0,y.XJ)())===s.Hy.SignedIn&&r?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));const o=yield this.fetchImpl(a.href,n);if(o.status>=400){const e=`OneService returned error response. Status: ${o.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},i){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const n=[];let r;for(r in e)null!=e[r]&&n.push('"'+r+'": '+JSON.stringify(e[r]));const o='{"userSettings":{'+n.join(", ")+"}}",l=yield this.getRequestInit({method:"POST"},t);l.body=o;const h=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=i?i:(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,d.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,l);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 a.k.logError(e.message),!1}return!0}))}getPdpUserPreference(e,t={},i){return(0,n.mG)(this,void 0,void 0,(function*(){const r=yield this.getRequestInit({method:"GET"},t),o=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(i||(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(i||(0,d.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&o.searchParams.set(e.key,e.value)}));try{const e=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,r);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(a.k.logError(t.message),e)throw Error(t.message);return null}}))}updatePdpLayoutPreference(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.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 a.k.logError(e.message),!1}return!0}))}updateSegmentCardsEnableStatus(e,t=null){return(0,n.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 n=e.map((e=>e.cardType!=p.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),a=i.length>0?'{"segmentCardSettings":"{'+n+'}","userSettings":{'+i.join(", ")+"}}":'{"segmentCardSettings":"{'+n+'}"}';return this.updateUserPreference(a)}))}updateProductivityCardsEnableStatus(e){return(0,n.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,n.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,n.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,n.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const n=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:g.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(n),appError:i})}))}muteWidget(e,t={},i){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const n=e.map((e=>({actionType:"Mute",targetId:e,targetType:g.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(n),appError:i})}))}disableSpotlightCard(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i={actionType:"Disabled",definitionName:e,targetType:g.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:t})}))}enableSpotlightCard(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(g.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,n.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:i,endpoint:a,method:r,payload:o,appError:l}=e;if(!a||!r)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),l),!1;const g=(0,u.PH)(a);let p;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),i&&i.forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{JSON.parse(o),p=o}catch(e){p=JSON.stringify(o)}const v={method:r,body:p,headers:yield this.getOneserviceHeaders(t),credentials:"include"},f="GET"==r;try{return yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,v);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${o}`;throw new Error(t)}return!f||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,l),!1}}))}getUserActions(e){return(0,n.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,n.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,n.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,n.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const n=yield this.fetchImpl(i.href,t);if(n.status>=400){const t=`OneService returned error response while updating user preference. Status: ${n.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,a={},o=!0,s=[]){return(0,n.mG)(this,void 0,void 0,(function*(){if(o){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,a,s)));const n=this.bulkGraphActionResultCache.get(e);if(n)return{value:n}}else f.M0.sendAppErrorEvent(Object.assign(Object.assign({},r.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 n=(yield this.fetchPdpWithTargetTypes([e],t,i,a,s)).get(e);if(n)return{value:n}}))}deleteFromPdp(e,t,i,a={},r,o="Follow",l,g=[]){return(0,n.mG)(this,void 0,void 0,(function*(){const p={method:"DELETE",headers:yield this.getOneserviceHeaders(a),credentials:"include"},v=(0,u.PH)(this.pdpServiceEndpoint),m=(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),C=`targetType eq '${e}'`,b=i.map((e=>`${t} eq '${e}'`)).join(" or ");let x=`actionType eq '${o}' and (${b}) and (${C})`;r&&(x+=` and (degree eq '${r}')`),v.searchParams.set("$filter",x),[...m,...g].forEach((e=>{e.value&&v.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(v.href,p);if(t.status>=400){const i=`OneService returned error response. Status: ${t.status} for actionType: ${o}, targetType: ${e}`;throw new Error(i)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return l&&f.M0.sendAppErrorEvent(Object.assign(Object.assign({},l),{pb:Object.assign(Object.assign({},l.pb),{actionType:o,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,i,a={},r=[]){return(0,n.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const o=e.map((e=>`targetType eq '${e}'`)).join(" or "),l=[{key:"$top",value:`${i=i||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${o})`}],g=yield this.getRequestInit({method:"GET"},a);!0===t&&(g.cache="no-store");const p=(0,u.PH)(this.pdpServiceEndpoint);[...l,...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),...r].forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));const v=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,g);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,n.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.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 a.k.logError(e.message),!1}}))}getFromWebWorker(e){return(0,n.mG)(this,void 0,void 0,(function*(){let t=null;if(l.yb){const i=this.maptoWebWorkerId(e);if(i&&i.trim()){const i=yield(0,l.ot)({id:this.maptoWebWorkerId(e)});i.fetched&&(t=i.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case g.L.Location:return"weatherpdp";case g.L.League:return"sportsleaguepdp";case g.L.Player:return"sportsplayerpdp";case g.L.Team:return"sportsteampdp";case g.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,n.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,n.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.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,n.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,o.OO)(null,r.G9t,"Error get followed list")}return i}))),"getFollowedLists");return i.ok||(0,o.OO)(null,r.G9t,"Error get followed list"),yield i.json()}catch(e){return a.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=g.L.Finance,i={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},a=(0,u.PH)(this.userUpdateEndpoint);let r;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{r=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.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,n.mG)(this,void 0,void 0,(function*(){const t=g.L.Finance,i={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},a=(0,u.PH)(this.userUpdateEndpoint);let r;[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{r=yield(0,h.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.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})})):a.k.logError(e.message)}}{constructor(){super((0,m.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===d.jG.AppType||"newsAndInterests"===d.jG.AppType||"winWidgets"===d.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===d.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===d.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===d.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===d.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},27422:function(e,t,i){i.d(t,{M:function(){return g}});var n=i(33940),a=i(44833),r=i(53813),o=i(44979),s=i(47224),d=i(26415),l=i(65135),c=i(68651),u=i(87697),h=i(791);class g{constructor(e,t,i,a,r,o,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,n.mG)(this,void 0,void 0,(function*(){this.toggleActionMenu(!1,null),this.goToPersonalizeSettingsCallback&&this.goToPersonalizeSettingsCallback()})),this.hideSettingAction=()=>(0,n.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 l.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.M2Y.SuperSDHideCardError),{message:`Fail to hide ${this.segmentSdCardType} Card .`,pb:Object.assign(Object.assign({},d.M2Y.SuperSDHideCardError.pb),{customMessage:`Failed with exception : ${e}`})})),!1}})),this.currentSDClass=e,this.isDynamicFeed=t,this.sdCardDynamicFeedConfig=a,this.settingMenuConfig=r,this.goToPersonalizeSettingsCallback=o,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 o.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:r.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:a.Z,title:e.title,id:"dataProvider",onClick:e.onClick,telemetryTag:e.telemetryTag})}if(this.settingMenuConfig.hideSetting){const e=this.settingMenuConfig.hideSetting;i.push({glyph:r.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,n.gn)([u.LO],g.prototype,"menuItems",void 0),(0,n.gn)([u.LO],g.prototype,"isActionMenuOpen",void 0)},6551:function(e,t,i){i.d(t,{D:function(){return o},J:function(){return s}});var n=i(53271),a=i(33763),r=i(39181);a.S;const o=(e,t,i,a,o="more-actions",s=!1)=>r.d`
        <fluent-button
            slot="${o}"
            appearance="neutral"
            class=${null!=a?a:""}
            @click=${e}
            data-t=${e=>t}
            title="${i}"
            aria-label="${i}"
            aria-expanded="${s}"
            role="button"
        >
            ${n.Z}
        </fluent-button>
    `,s=(e,t,i,n="end")=>r.d`
        <msn-actions-menu 
            :referrerButton=${t=>e}
            :menuItems=${e=>t}
            :useFastAnchoredRegion=${e=>!0!==i}
            defaultHorizontalPosition=${n}
        />
    `},18166:function(e,t,i){i.d(t,{mI:function(){return $},tD:function(){return x},$2:function(){return p},iP:function(){return s},rf:function(){return r},Ks:function(){return a},fZ:function(){return l},kU:function(){return h},uE:function(){return _},Yz:function(){return ee},gJ:function(){return n},B8:function(){return b}});const n={DominantColorHex:"--dominant-color-hex",DominantColorRgb:"--dominant-color-rgb",DominantTextColorHex:"--dominant-text-color-hex",DominantTextColorRgb:"--dominant-text-color-rgb"};function a(e,t,i,n=1){if(!e||!e.ThumbnailId||0===e.ThumbnailId.length)return null;let a="https://bing.com/th?id="+e.ThumbnailId;return t&&(a=a+"&h="+t),i&&(a=a+"&w="+i),a+="&c="+n,a+="&p=0",a}function r(e,t="#000000",i="#ffffff"){const a=function(e,t="#000000"){if(!e||!e.DominantColor||7!=e.DominantColor.length)return t;return e.DominantColor}(e,t),r=function(e,t="#000000"){if(!e||!e.TextColor||0===e.TextColor.length)return t;return e.TextColor}(e,i),s=o(a),d=o(r);return`\n        ${n.DominantColorHex}: ${a};\n        ${n.DominantColorRgb}: ${s};\n        ${n.DominantTextColorHex}: ${r};\n        ${n.DominantTextColorRgb}: ${d};\n    `}function o(e){if(!e)return e;{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(t){return parseInt(t[1],16)+","+parseInt(t[2],16)+","+parseInt(t[3],16)}}}function s(e,t="0,0,0"){var i;return e&&e.DominantColor&&7==e.DominantColor.length&&null!==(i=o(e.DominantColor))&&void 0!==i?i:t}var d,l;function c(e){if(!e||!e.length)return null;try{return JSON.parse(e)}catch(e){return null}}function u(e){if(!e||!e.dataType)return null;try{switch(e.dataType){case l.TravelDataCard:case l.TravelDataCardList:case l.Destination:case l.DestinationList:case l.ThemeInspiration:case l.ThemeCardList:case l.ThemeCard:case l.ActivityList:return c(e.data);default:return null}}catch(e){return null}}!function(e){e.TravelDestinationCard="TravelDestinationCard",e.TravelDestinationCarouselCard="TravelDestinationCarouselCard",e.TravelArticlePageDestinationCarousel="TravelArticlePageDestinationCarousel",e.SimilarDestinationCarousel="SimilarDestinationCarousel",e.DestinationFeed="DestinationFeed",e.NewsArticles="NewsArticles",e.BannerDestinationCarousel="BannerDestinationCarousel",e.BannerDestination="BannerDestination",e.BannerCollection="BannerCollection",e.TravelCollections="TravelCollections",e.TravelInspirations="TravelInspirations",e.DestinationDetails="DestinationDetails",e.TravelErrorCard="TravelErrorCard",e.MetadataCard="MetadataCard",e.PackagesCarousel="PackagesCarousel",e.GetYourGuideCarousel="GetYourGuideCarousel",e.CheapestFlightsCarousel="CheapestFlightsCarousel",e.PopularFlightsCarousel="PopularFlightsCarousel",e.TravelStoriesCarousel="TravelStoriesCarousel",e.RichContentCarousel="RichContentCarousel",e.MidPageBannerCollection="MidPageBannerCollection",e.UserActions="UserActions",e.SavedDestinationsCarousel="SavedDestinationsCarousel",e.RecommendedPlacesCarousel="RecommendedPlacesCarousel",e.TopPillCard="TopPillCard",e.AutoSuggestResult="AutoSuggestResult"}(d||(d={})),function(e){e.Destination="Destination",e.Weather="Weather",e.DestinationList="DestinationList",e.ThemeInspiration="ThemeInspiration",e.ThemeCardList="ThemeCardList",e.NewsArticles="NewsArticles",e.ThemeCard="ThemeCard",e.Attraction="Attraction",e.FlightDetails="FlightDetails",e.Flights="Flights",e.FlightPriceTrends="FlightPriceTrends",e.Packages="Packages",e.SegmentCardList="SegmentCardList",e.WhatToBuy="WhatToBuy",e.WhatToEat="WhatToEat",e.TravelDataCardList="TravelDataCardList",e.TravelDataCard="TravelDataCard",e.SurpriseMeCard="SurpriseMeCard",e.SeeAllCard="SeeAllCard",e.Metadata="Metadata",e.RichContentPanorama="RichContentPanorama",e.RichContentVideos="RichContentVideos",e.RichContentTimelapse="RichContentTimelapse",e.Activity="Activity",e.ActivityList="ActivityList",e.Story="Story",e.StoryList="StoryList"}(l||(l={}));var h,g=i(16517);function p(e,t=!1,i=0){if(!e||!e.Value||!e.CurrencySymbol)return"";const n={maximumFractionDigits:i},a=new Intl.NumberFormat(g.jG.CurrentMarket,n);return e.CurrencySymbol+(t?" ":"")+a.format(e.Value)}!function(e){e[e.Default=0]="Default",e[e.Celsius=1]="Celsius",e[e.Fahrenheit=2]="Fahrenheit",e[e.Kelvin=3]="Kelvin"}(h||(h={}));i(85857);var v;!function(e){e.None="None",e.Adventure="Adventure",e.ArtAndCulture="ArtAndCulture",e.Beaches="Beaches",e.Budget="Budget",e.Christmas="Christmas",e.Family="Family",e.FoodAndDrink="FoodAndDrink",e.Honeymoon="Honeymoon",e.Island="Island",e.NationalParks="NationalParks",e.NatureAndWildlife="NatureAndWildlife",e.NewYear="NewYear",e.Romantic="Romantic",e.Ski="Ski",e.Summer="Summer",e.Winter="Winter",e.RelaxAndRetreat="RelaxAndRetreat",e.SoloTraveller="SoloTraveller",e.VibrantAndEvents="VibrantAndEvents",e.Nearby="Nearby",e.HistoryAndMonuments="HistoryAndMonuments",e.Mountains="Mountains",e.NightLife="NightLife",e.Shopping="Shopping",e.ParksAndGardens="ParksAndGardens",e.All="All",e.High_Jan="High_Jan",e.High_Feb="High_Feb",e.High_Mar="High_Mar",e.High_Apr="High_Apr",e.High_May="High_May",e.High_Jun="High_Jun",e.High_Jul="High_Jul",e.High_Aug="High_Aug",e.High_Sep="High_Sep",e.High_Oct="High_Oct",e.High_Nov="High_Nov",e.High_Dec="High_Dec",e.Offbeat_Jan="Offbeat_Jan",e.Offbeat_Feb="Offbeat_Feb",e.Offbeat_Mar="Offbeat_Mar",e.Offbeat_Apr="Offbeat_Apr",e.Offbeat_May="Offbeat_May",e.Offbeat_Jun="Offbeat_Jun",e.Offbeat_Jul="Offbeat_Jul",e.Offbeat_Aug="Offbeat_Aug",e.Offbeat_Sep="Offbeat_Sep",e.Offbeat_Oct="Offbeat_Oct",e.Offbeat_Nov="Offbeat_Nov",e.Offbeat_Dec="Offbeat_Dec",e.Shoulder_Jan="Shoulder_Jan",e.Shoulder_Feb="Shoulder_Feb",e.Shoulder_Mar="Shoulder_Mar",e.Shoulder_Apr="Shoulder_Apr",e.Shoulder_May="Shoulder_May",e.Shoulder_Jun="Shoulder_Jun",e.Shoulder_Jul="Shoulder_Jul",e.Shoulder_Aug="Shoulder_Aug",e.Shoulder_Sep="Shoulder_Sep",e.Shoulder_Oct="Shoulder_Oct",e.Shoulder_Nov="Shoulder_Nov",e.Shoulder_Dec="Shoulder_Dec",e.Trending="Trending"}(v||(v={}));var f=i(12884),m=i(9375);function y(e,t,i=!1){var n;const a=new URLSearchParams((0,f.zp)()),r=new URLSearchParams;(i?["ocid","item"]:["ocid","item","src"]).forEach((t=>{var i;const n=a.getAll(t),o=null!==(i=null==e?void 0:e.getAll(t))&&void 0!==i?i:[],s=new Set;n.forEach((e=>{s.add(e)})),o.forEach((e=>{s.add(e)}));for(const e of s)r.append(t,e);null==e||e.delete(t)}));const o=(0,m.ku)();t&&!r.get("ocid")&&o&&r.append("ocid",o);const s=decodeURIComponent(r.toString()),d=null!==(n=null==e?void 0:e.toString())&&void 0!==n?n:"";return d?`${d}`+(s?`&${s}`:""):s}function C(e){if(!e)return e;const t=e.indexOf("?");return-1===t?e:e.slice(0,t)+"?"+e.slice(t+1).replace(/\?/g,"%3F")}function b(e){if(!e)return e;const t=!!((i=e)&&i.indexOf("bing.com")>-1);var i;e=C(e);try{if(e.startsWith("/")){const[i,n]=e.split("?");return`${i}?${y(new URLSearchParams(n),!0,t)}`}{const i=new URL(e);return`${i.origin}${i.pathname}?${y(i.searchParams,!0,t)}`}}catch(t){return e}}var x,T,w,S,k,L;!function(e){e[e.OneWay=1]="OneWay",e[e.RoundTrip=2]="RoundTrip"}(x||(x={})),function(e){e[e.None=0]="None",e[e.SelfDriveCarRental=1]="SelfDriveCarRental"}(T||(T={})),function(e){e[e.Unknown=0]="Unknown",e[e.PriceNotAvailable=1]="PriceNotAvailable",e[e.PriceAvailable=2]="PriceAvailable",e[e.EstimatedPriceAvailable=3]="EstimatedPriceAvailable"}(w||(w={})),function(e){e.Destination="Destination"}(S||(S={})),function(e){e.Save="Save",e.Unsave="Unsave"}(k||(k={})),function(e){e.HalfCard="HalfCard",e.FullCard="FullCard"}(L||(L={}));const $={MultiDestination:"DestinationList",SingleDestination:"TravelDestinationCard",ThemeCardList:"ThemeCardList",PackageList:"Packages",FlightList:"Flights",TravelDataCardList:"TravelDataCardList",RichContentTimelapse:"RichContentTimelapse",RichContentVideos:"RichContentVideos",RichContentPanorama:"RichContentPanorama"};var D,A,I,O,P,M,F,R;!function(e){e[e.SingleDestination=0]="SingleDestination",e[e.MultiDestinationCarousel=1]="MultiDestinationCarousel",e[e.CollectionsCarousel=2]="CollectionsCarousel"}(D||(D={})),function(e){e.ReplaceTopicsForYou="ReplaceTopicsForYou",e.AboveTopicsForYou="AboveTopicsForYou",e.BelowTopicsForYou="BelowTopicsForYou"}(A||(A={})),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._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"}(I||(I={})),function(e){e.Stripe="Stripe",e.Vertical="Vertical"}(O||(O={})),function(e){e[e.Clickout=0]="Clickout",e[e.LoadMore=1]="LoadMore",e[e.None=2]="None"}(P||(P={})),function(e){e.HalfCard="HalfCard",e.FullCard="FullCard"}(M||(M={})),function(e){e.Location="Location",e.Food="Food",e.Attraction="Attraction",e.Shopping="Shopping",e.Panorama="Panorama"}(F||(F={})),function(e){e.Icon="Icon",e.Button="Button"}(R||(R={}));var E;!function(e){e.HalfCard="HalfCard",e.FullCard="FullCard"}(E||(E={}));var U=i(68364),H=i(26415);const _={parseDestinationDataString:e=>{let t=!1;const i=(e,i)=>{e||(t=!0,(0,U.H)(H.vYO,i))};i(e,"No feed meta data"),i(e.data,"No card data"),i(e.dataType,"No card data type");const n={Type:e.dataType,DestinationData:[],Metadata:{}};if(t)return n;let a;try{a=JSON.parse(e.data)}catch(t){return i(null,`JSON parse error data = ${e.data}`),n}const r=e=>{var t;const i=[];return e.Attractions&&Array.isArray(e.Attractions.Attractions)&&e.Attractions.Attractions.forEach((e=>{e&&e.Name&&i.push(e.Name)})),{Name:e.Name,Country:null===(t=e.Location)||void 0===t?void 0:t.Country,TravelGuideUrl:e.TravelGuideUrl,Weather:e.Weather,Images:e.Images,Flight:Array.isArray(e.Flights)&&e.Flights.length>0?e.Flights[0]:void 0,Hotel:Array.isArray(e.Hotels)&&e.Hotels.length>0?e.Hotels[0]:void 0,Attraction:i,SatoriId:e.SatoriId,MetaData:e.MetaData,Telemetry:e.Telemetry,InterestTypes:e.InterestTypes,Type:e.Type,Panoramas:e.Panoramas,Timelapses:e.Timelapses,Videos360:e.Videos360}},o=e=>{var t;return{ClickThroughUrl:e.ClickUrl,BackgroundImage:(null===(t=e.Images)||void 0===t?void 0:t.length)?e.Images[0]:void 0,CardTitle:e.Title,CardText:e.Title,Telemetry:e.Telemetry,Theme:e.Theme,Type:e.Type,Region:e.Region,Icon:{ShowIcon:!1}}};try{switch(e.dataType){case $.ThemeCardList:{const e=a;if(e.ThemeCards&&Array.isArray(e.ThemeCards)){const t=[];e.ThemeCards.forEach((e=>t.push(o(e)))),n.DestinationData=t,n.Metadata=e.MetaData,n.Telemetry=e.Telemetry}break}case $.MultiDestination:{const e=a;if(e.Destinations&&Array.isArray(e.Destinations)){const t=[];e.Destinations.forEach((e=>t.push(r(e)))),n.DestinationData=t,n.Metadata=e.MetaData||{},n.Telemetry=e.Telemetry}break}case $.PackageList:{const e=a;n.DestinationData=e.Packages||[],n.Metadata=e.MetaData||{},n.Telemetry=e.Telemetry;break}case $.FlightList:{const e=a;n.DestinationData=e.Flights||[],n.Metadata=e.MetaData||{},n.Telemetry=e.Telemetry||{};break}case l.FlightPriceTrends:(null==a?void 0:a.FlightResults)&&(n.FlightPriceTrendsCard={FlightResults:a.FlightResults,PriceTrends:a.PriceTrends},n.Telemetry=a.Telemetry),n.Metadata=a.MetaData||{},n.Telemetry=a.Telemetry||{};break;case $.TravelDataCardList:{const e=a;if((null==e?void 0:e.Cards)&&Array.isArray(e.Cards)){n.DestinationData=e.Cards;const t=[];e.Cards.forEach((e=>{e.Type==l.ThemeCard?t.push(o(e)):e.Type==l.Destination?t.push(r(e)):t.push(e)})),n.DestinationData=t,n.Metadata=e.MetaData||{},n.Telemetry=e.Telemetry}break}default:{const e=a,t=[];t.push(r(e)),n.DestinationData=t,n.Metadata=e.MetaData||{},n.Telemetry=e.Telemetry}}}catch(t){i(null,`Error in mapping data = ${e.data}`)}return n}};var G,j,N=i(33940);!function(e){e.SatoriId="sid",e.SatoriIds="sids",e.PageType="pt",e.CollectionId="cid",e.Scenario="s",e.TitleId="tid",e.Tags="tags",e.Count="c",e.Region="r",e.Query="q",e.UserActionType="uat",e.UserActionEntityType="uaet",e.UserActionEntityId="uaei"}(G||(G={})),function(e){e.ContentId="tapcid",e.SatoriIds="tapsids",e.Scenario="taps"}(j||(j={}));const B="isOperationSuccessful",z="msn-travel-article-pill-scenario",W="msn-article-eoab";var V,J=i(13578),q=i(65135),Z=i(23401),Y=i(67267),K=i(87298),X=i(82855);!function(e){e.AppType="tat",e.Ntp="tntp",e.ArticleTopPill="tatp",e.ArticleEoab="taeoab"}(V||(V={}));function Q(e){return!(!e||!Array.isArray(e)||0===e.length)}new class extends class{constructor(){var e,t;this.oneServiceTimeout=1e4,this.ocid="travel-verthp-feeds",this.apiKey="8RwD77wJgNQmmVBdGmZsK6vvPCrG58iRCQRoPsE4JJ",this.currentMarket=null!==(e=null===g.jG||void 0===g.jG?void 0:g.jG.CurrentMarket)&&void 0!==e?e:Z.I.ENUS,this.baseUrl=`https://assets.msn.${this.currentMarket===Z.I.ZHCN?"cn":"com"}/service/news/feed/segments/travel`,this.clientScenarioKey="tcs",this.commonSearchParams=new URLSearchParams,this.commonSearchParams.set("ocid",this.ocid),this.commonSearchParams.set("apikey",this.apiKey),this.commonSearchParams.set("timeOut",this.oneServiceTimeout.toString()),this.commonSearchParams.set("market",this.currentMarket);const i=(null===(t=null===g.jG||void 0===g.jG?void 0:g.jG.CurrentRequestTargetScope)||void 0===t?void 0:t.pageExperiments)||[],n=i&&i.join(),a=(0,X.rU)(n,g.jG.HasFlightsOverriden);a&&this.commonSearchParams.set("fdhead",a),g.jG.UserId&&this.commonSearchParams.set("user",g.jG.UserId),this.commonSearchParams.set("activityId",g.jG.ActivityId)}makeRequest(e,t,i,n,a){return(0,N.mG)(this,void 0,void 0,(function*(){n[this.clientScenarioKey]=a;const r=this.buildTravelGrowth1SUrl(e,t,i,n);try{return yield this.fetchFrom1S(r)}catch(e){return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi),{pb:Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi.pb),{customMessage:"Request to travel api failed",error:JSON.stringify(e)})})),[]}}))}fetchFrom1S(e){return(0,N.mG)(this,void 0,void 0,(function*(){const t={credentials:"include",headers:yield Y.$.getOneServiceHeaders(),method:"GET"};try{const i=yield(0,K.O)(e,t,this.oneServiceTimeout);if(!(null==i?void 0:i.ok))throw q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi),{pb:Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi.pb),{customMessage:"Non 200 response from 1S api.",statusCode:null==i?void 0:i.status,response:JSON.stringify(i)})})),"Did not get a 200 from aggregate feed api request";return yield i.json()}catch(e){return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi),{pb:Object.assign(Object.assign({},H.UPS.ErrorResultFromTravelApi.pb),{customMessage:"Request to travel api failed",error:JSON.stringify(e)})})),[]}}))}getPageLevelSearchParameters(){var e;const t=new URLSearchParams((0,f.zp)()),i={};t.forEach(((e,t,n)=>{i[t]=e}));const n=i.themeid;n&&(i[G.CollectionId]=n,delete i[G.SatoriId]),i[G.TitleId]=i.titleid,i[G.Region]=i.region,i[G.Count]=i.count,i[G.Tags]=i.tags;const a=null===(e=null===g.jG||void 0===g.jG?void 0:g.jG.CurrentRequestTargetScope)||void 0===e?void 0:e.pageType;return"string"==typeof a?i[G.PageType]=a:a&&"string"==typeof a.exact&&(i[G.PageType]=a.exact),i}buildTravelGrowth1SUrl(e,t,i,n){const a=this.getFilterParameterAsString(n);let r=`${this.baseUrl}?${this.commonSearchParams}&${a}`;return Number.isNaN(e)||(r+=`&$skip=${e}`),Number.isNaN(t)||(r+=`&$top=${t}`),i&&(r+=`&$select=${i}`),r}getFilterParameterAsString(e){const t=[];if(e)for(const i in e){const n=e[i];n&&t.push(`${i}:${n}`)}return t.length>0?"$filter="+t.join("|"):""}}{GetDestinationDetails(e){var t;return(0,N.mG)(this,void 0,void 0,(function*(){if((0,J.Z)(e))return[];const i={};i[e.length>1?G.SatoriIds:G.SatoriId]=e.join(",");try{const n=yield this.makeRequest(NaN,NaN,d.DestinationDetails,i,V.AppType);if(Q(n)){const e=n[0];if(e&&e.type===d.DestinationDetails){if(e.dataType===l.Destination){return[u(n[0])]}{const e=u(n[0]);return null!==(t=null==e?void 0:e.Destinations)&&void 0!==t?t:[]}}}return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.InvalidResponseForDestinationDetails),{pb:Object.assign(Object.assign({},H.UPS.InvalidResponseForDestinationDetails.pb),{customMessage:"Invalid response to get destination details for multiple destinations",satoriIds:e,response:JSON.stringify(n)})})),null}catch(t){q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToFetchDestinationDetails),{pb:Object.assign(Object.assign({},H.UPS.FailedToFetchDestinationDetails.pb),{customMessage:"Failed to get destination details for multiple destinations",satoriIds:e,error:JSON.stringify(t)})}))}return null}))}GetTravelArticlePillData(e,t){return(0,N.mG)(this,void 0,void 0,(function*(){if(!e)return null;const i={};i[j.ContentId]=e,t&&t.length>0&&(i[j.SatoriIds]=t.join(",")),i[j.Scenario]=z;try{const n=yield this.makeRequest(NaN,NaN,"",i,V.ArticleTopPill);return Q(n)?n:(q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.InvalidResponseForTravelArticlePillData),{pb:Object.assign(Object.assign({},H.UPS.InvalidResponseForTravelArticlePillData.pb),{customMessage:"Invalid response to get Travel Article Pill Data",contentId:e,satoriIds:t,response:Object.assign({},n)})})),null)}catch(i){q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArticlePillData),{pb:Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArticlePillData.pb),{customMessage:"Failed to get Travel Article Pill Data",contentId:e,satoriIds:t,error:JSON.stringify(i)})}))}return null}))}GetTravelEoabData(){return(0,N.mG)(this,void 0,void 0,(function*(){const e={};e[G.Scenario]=W;try{const t=yield this.makeRequest(NaN,NaN,"",e,V.ArticleEoab);if(Q(t)){const e={dataType:t[0].dataType,data:t[0].data};return _.parseDestinationDataString(e)}return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.InvalidResponseForTravelArticleEoabData),{pb:Object.assign(Object.assign({},H.UPS.InvalidResponseForTravelArticleEoabData.pb),{customMessage:"Invalid response to get Travel Article Eaob Data",response:Object.assign({},t)})})),null}catch(e){q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArticleEoabData),{pb:Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArticleEoabData.pb),{customMessage:"Failed to get Travel Article Eoab Data",error:JSON.stringify(e)})}))}return null}))}GetTravelArticles(e,t){return(0,N.mG)(this,void 0,void 0,(function*(){try{const i=yield fetch(this.buildTravelArticleRequestUrl(e,t)),n=yield i.json();return n.value[0].subCards}catch(t){return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArtciles),{pb:Object.assign(Object.assign({},H.UPS.FailedToFetchTravelArtciles.pb),{customMessage:"Request to get travel articles failed for feed",travelArticleFeedId:e,error:JSON.stringify(t)})})),[]}}))}GetModuleData(e,t,i,n,a,r){return(0,N.mG)(this,void 0,void 0,(function*(){let o={};if(a){const e=this.getPageLevelSearchParameters();o=Object.assign({},e)}o=Object.assign(Object.assign({},o),n);const s=r?3:1;for(let n=0;n<s;n++){const a=yield this.makeRequest(t,i,e,o,V.AppType);if(Q(a))return a;{const e=r?H.UPS.RetriedErrorFromTravelApi:H.UPS.ErrorResultFromTravelApi;q.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{pb:Object.assign(Object.assign({},e.pb),{attempt:n,customMessage:"Request to travel api failed",error:JSON.stringify(e)})}))}}return[]}))}GetTravelLandingPageModules(e,t,i){return(0,N.mG)(this,void 0,void 0,(function*(){return this.GetModuleData("",e,t,{},!0,i)}))}UserAction(e,t,i){return(0,N.mG)(this,void 0,void 0,(function*(){if(!e||!t||!i)return!1;const n={};n[G.UserActionType]=e,n[G.UserActionEntityType]=t,n[G.UserActionEntityId]=i;try{const a=yield this.makeRequest(NaN,NaN,d.UserActions,n,V.AppType);if(Q(a)){const e=a[0];if(e&&e.type===d.MetadataCard&&e.metadata&&e.metadata[B])return"true"===e.metadata[B]}return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.InvalidResponseForUserActions),{pb:Object.assign(Object.assign({},H.UPS.InvalidResponseForUserActions.pb),{customMessage:"Invalid response to execute user actions",actionType:e,entityType:t,entityId:i,response:JSON.stringify(a)})})),!1}catch(n){q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToExecuteUserActions),{pb:Object.assign(Object.assign({},H.UPS.FailedToExecuteUserActions.pb),{customMessage:"Failed to execute user action",actionType:e,entityType:t,entityId:i,error:JSON.stringify(n)})}))}return!1}))}GetSearchResults(e){return(0,N.mG)(this,void 0,void 0,(function*(){if(!e)return null;const t={};t[G.Query]=e;try{const i=yield this.GetModuleData(`${d.AutoSuggestResult}`,0,5,t,!1,!1);if(Q(i)){const e=i[0];if(e&&e.type===d.AutoSuggestResult){const e=u(i[0]);return Array.isArray(null==e?void 0:e.Destinations)&&e.Destinations.length>0?e.Destinations:[]}}return q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.InvalidResponseForAutoSuggest),{pb:Object.assign(Object.assign({},H.UPS.InvalidResponseForAutoSuggest.pb),{customMessage:"Invalid response to get autosuggest for "+e})})),null}catch(t){q.M0.sendAppErrorEvent(Object.assign(Object.assign({},H.UPS.FailedToFetchAutoSuggest),{pb:Object.assign(Object.assign({},H.UPS.FailedToFetchAutoSuggest.pb),{customMessage:"Failed to get autosuggest for "+e})}))}return null}))}buildTravelArticleRequestUrl(e,t){var i;return`https://api.msn.${null!==(i=null===g.jG||void 0===g.jG?void 0:g.jG.IsChinaCompliance)&&void 0!==i&&i?"cn":"com"}/news/feed?query=Travel&market=${this.currentMarket}&ocid=windows-windowshp-feeds&apikey=0QfOX3Vn51YCzitbLaRkTTBadtWpgTN8NZLW0C1SEM&ids=${e}&$skip=${t}`}};const ee={IsPersonalized:"psn",CardPosition:"cp",SatoriId:"sid",FullBleed:"fb",CategoryTagsEnabled:"ct"}},803:function(e,t,i){i.d(t,{v:function(){return x}});var n=i(33940),a=i(16517),r=i(65337),o=i(65135),s=i(30854);var d=i(68742),l=i(93637),c=i(29422),u=i(4596),h=i(83152),g=i(11708),p=i(791),v=i(68364),f=i(26415),m=i(54804),y=i(46336);function C(e){return!!e&&"null"!==e&&"undefined"!==e&&"false"!==e}function b(e,t){return new Date(t.updatedDateTime).valueOf()-new Date(e.updatedDateTime).valueOf()}class x{constructor(){this.PdpDefaultLocation="DefaultLocation",this.PdpFavoriteLocation="FavoriteLocation",this.locationPdpClient=new l.L,this.instance=p.N}read(e={},t=!0){return(0,n.mG)(this,void 0,void 0,(function*(){if(!navigator.cookieEnabled)return{};!function(){const e=(0,a.Yq)().UserId;let t=[];try{t=JSON.parse((0,r.$o)().getItem(s.n6)||"[]")}catch(e){t=[]}t.length&&e!==t[t.length-1]?(t.push(e),(0,r.$o)().setItem(s.n6,JSON.stringify(t)),null===o.M0||void 0===o.M0||o.M0.sendClientLogEvent({message:`Met unfamiliar MUID. Current MUID array is ${t}`,type:"information"})):0===t.length?(t.push(e),(0,r.$o)().setItem(s.n6,JSON.stringify(t))):null===o.M0||void 0===o.M0||o.M0.sendClientLogEvent({message:`MUID not churn. Current MUID array is ${t}`,type:"information"})}();let i=null;try{const n=yield this.instance.readPdpWithTargetType(h.L.Location,!1,void 0,e,t),{value:a=[]}=n||{value:[]};i=this.convertPdpDataToPdpResponse(a)}catch(e){(0,v.OO)(e,f._lB,"error in library [weather-data-connector],Weather Profile graph action location Read Failed")}if(!i)try{const t=yield this.instance.getPdpUserPreference(!0,e),{value:n=[]}=t||{value:[]};i=this.parseUserProfileFromPdpData(n)}catch(e){(0,v.OO)(e,f.AYT,"error in library [weather-data-connector],Weather Profile User Read Failed")}return i||{}}))}setDisplayUnit(e,t={}){return(0,n.mG)(this,void 0,void 0,(function*(){let i=!1;try{i=yield this.instance.updateWeatherSettings(e.toString(),null,t)}catch(e){(0,v.OO)(e,f.nTL,"error in library [weather-data-connector],Display unit Update failed."),i=!1}return i}))}setEplantStatus(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.instance.updateUserSettings({eplantGameJoined:e.toString()})}))}getBLISLocation(){return(0,n.mG)(this,void 0,void 0,(function*(){return this.locationPdpClient.getUserDefaultLocation(!0)}))}updateUserSettings(e,t,i={},a){return(0,n.mG)(this,void 0,void 0,(function*(){return this.locationPdpClient.updateUserSettings(e,t,i,a)}))}disableWeatherCardNotification(e,t,i){return(0,n.mG)(this,void 0,void 0,(function*(){let n=!1;try{n=yield this.instance.updateWeatherInterests(e,t,i)}catch(e){(0,v.OO)(e,f.DyR,"error in library [weather-data-connector],"+(t?"Hide":"Show")+" weather hide notification card failed"),n=!1}return n}))}enableDisableWeatherCard(e){return(0,n.mG)(this,void 0,void 0,(function*(){let t=!1;try{t=yield this.instance.updateSegmentCardsEnableStatus([{cardType:g.f.WeatherCard,enabled:e}])}catch(i){(0,v.OO)(i,f.DyR,"error in library [weather-data-connector],"+(e?"Enable":"Disable")+" weather segment card failed"),t=!1}return t}))}setHomeLocation(e,t={},i){return(0,n.mG)(this,void 0,void 0,(function*(){return this.locationPdpClient.setHomeLocation(e,t,i)}))}addFavoriteLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.locationPdpClient.addFavoriteLocation(e)}))}removeFavoriteLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.locationPdpClient.removeFavoriteLocation(e)}))}removeHomeLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return yield this.locationPdpClient.removeLocation(e)}))}removeLocation(e){return(0,n.mG)(this,void 0,void 0,(function*(){return yield this.locationPdpClient.removeLocation(e)}))}convertPdpDataToPdpResponse(e){if(e&&e[0]){const t=e.filter((e=>e.degree===this.PdpDefaultLocation)).sort(b)[0],i=x.parseLocationFromPdpValue(t);return i&&(i.from=2,i.displayName=c.getDisplayName(i)),Object.assign(Object.assign({},x.parseUnitAndMode(t)),{home:i,favorites:e.filter((e=>e.degree===this.PdpFavoriteLocation)).map(x.parseLocationFromPdpValue).filter((e=>!!e)),followedLocations:e.map(x.parseLocationFromPdpValue).filter((e=>!!e)),recents:void 0})}return null}parseUserProfileFromPdpData(e){if(e&&e[0]){const t=e.find((e=>e.weatherDisplayUnit));if(!(t&&(t.weatherDisplayUnit||t.userSettings&&t.userSettings.weatherLocationSettingMode)))return null;let i,n;return t.weatherDisplayUnit&&(i="2"===t.weatherDisplayUnit?d.a.Celsius:d.a.Fahrenheit),t.userSettings&&t.userSettings.weatherLocationSettingMode&&(n="2"===t.userSettings.weatherLocationSettingMode?2:1),{home:void 0,unit:i,locationMode:n,favorites:void 0,recents:void 0}}return null}static buildMetaData(e){return l.L.buildMetaData(e)}static parseUnitAndMode(e){let t=0,i=0;return e&&e.metadata&&("2"!==e.metadata.displayunit&&"1"!==e.metadata.displayunit||(t="2"===e.metadata.displayunit?d.a.Celsius:d.a.Fahrenheit),"1"!==e.metadata.locationSettingMode&&"2"!==e.metadata.locationSettingMode||(i="1"===e.metadata.locationSettingMode?1:2)),{unit:t,locationMode:i}}static parseLocationFromPdpValue(e){let t=null;if(e&&e.definitionName&&e.metadata){t={latitude:e.definitionName.split(",")[0],longitude:e.definitionName.split(",")[1],addressLine:C(e.metadata.addressLine)?e.metadata.addressLine:void 0,locality:C(e.metadata.city)?e.metadata.city:void 0,subRegion:C(e.metadata.subRegion)?e.metadata.subRegion:void 0,region:C(e.metadata.state)?e.metadata.state:void 0,country:C(e.metadata.countryRegion)?e.metadata.countryRegion:void 0,displayName:"",isoCode:C(e.metadata.isoCode)?e.metadata.isoCode:void 0,locationTypeId:e.metadata.locationTypeId,postalCode:e.metadata.postalCode,language:(e.metadata.language||c.extractLanguageTag(e.metadata.locationTypeId)||m.Al.Locale).toLocaleLowerCase(),definitionName:e.definitionName,readLink:C(e.metadata.readLink)?e.metadata.readLink:void 0},t.region=u.abbreviateUSState(t.region,t.language,t.isoCode),t.locationType=1,"number"!=typeof e.metadata.locationType&&void 0!==e.metadata.locationType||(t.locationType=e.metadata.locationType||1),"string"==typeof e.metadata.locationType&&C(e.metadata.locationType)&&(t.locationType=(0,y.hh)(""+e.metadata.locationType,1));const i=e.metadata.geoCoordinates;!i||0===i.latitude&&0===i.longitude||(t.latitude=""+i.latitude,t.longitude=""+i.longitude),t.addressLine||t.locality||t.region||(t=null),t&&!c.isValid(t)&&(t=null),t&&"0"===t.latitude&&"0"===t.longitude&&(e.metadata.name||e.metadata.countryRegion||e.metadata.city||e.metadata.state||(t=null))}return t}}},68742:function(e,t,i){var n,a;i.d(t,{a:function(){return n}}),function(e){e[e.Fahrenheit=1]="Fahrenheit",e[e.Celsius=2]="Celsius"}(n||(n={})),function(e){e.MPH="mph",e.KMH="km/h",e.MS="m/s",e.BFT="bft",e.MILE="mi",e.METER="m",e.MB="mb",e.HPA="hPa",e.IN="in"}(a||(a={}))},75736:function(e,t,i){i.d(t,{qz:function(){return o},h2:function(){return r}});const n=["1","2","3","4","6","7","8","9","10","13","17","19","20","24","28","29","30","31","32","34","35","37","40","41","42","44","47","51","80","15","25","26","59","22","23","79","11","69","71","14","27","67","81","75","77","83","85","38","70","72","54","68","52","53","60","46","49","50","82","76","78","84","86","33","61","62","87","88","93","94","95","96","12","18","21","36","39","45","48","63","64","89","90"],a={23:"RainShowersDay",26:"SnowShowersDay",6:"BlowingHail",5:"Cloudy",20:"LightSnow",91:"Windy",27:"Thunderstorms",10:"FreezingRain",77:"RainSnowDay",12:"HazeSmoke",39:"HazeSmokeNightV2_106",24:"RainSnow",78:"RainSnowShowersNight",9:"Fog",3:"PartlyCloudyDay",43:"HailNight",16:"HailDay",8:"LightRain",15:"HeavySnow",28:"ClearNight",30:"PartlyCloudyNight",14:"ModerateRain",1:"SunnyDay",7:"BlowingSnow",50:"RainShowersNight",82:"SnowShowersNight",2:"MostlySunnyDay",29:"MostlyClearNight",4:"MostlyCloudy",31:"MostlyCloudy",19:"LightRainV3",17:"LightRainShowerDay",44:"LightRainShowerNight"},r={17:"17",31:"31",49:"14",41:"14",35:"8",4:"4",19:"19",22:"14",23:"23",40:"8",25:"15",34:"7",47:"20",52:"15",53:"26",57:"7",58:"7",59:"7",60:"7",81:"26",11:"10",37:"10",38:"10",51:"24",65:"16",66:"43",69:"10",70:"10",71:"10",72:"10",73:"16",74:"43",89:"12",92:"91",32:"5",2:"2",101:"1",42:"15",33:"6",61:"6",62:"6",87:"6",88:"6",93:"6",94:"6",95:"6",96:"6",54:"27",67:"27",68:"27",90:"39",18:"9",21:"9",36:"9",45:"9",48:"9",63:"9",64:"9",29:"29",102:"28",44:"44",46:"19",79:"23",80:"50",76:"24",75:"24",83:"77",84:"78",85:"24",86:"24",39:"39",13:"8"};class o{static getWeatherGlyphCode(e){const t=Object.prototype.hasOwnProperty.call(r,e)?r[e]:e;return a[t]}static getWeatherNormalizedSkyCode(e,t=!1){return t&&n.includes(e)?e:Object.prototype.hasOwnProperty.call(r,e)?r[e]:e}}},30854:function(e,t,i){var n;i.d(t,{Br:function(){return l},JG:function(){return h},SU:function(){return o},Uh:function(){return g},YV:function(){return n},aj:function(){return f},bT:function(){return p},jF:function(){return v},n3:function(){return c},n6:function(){return u},pt:function(){return r},s8:function(){return d},tk:function(){return a}}),function(e){e.layerActivated="ActivatedOn",e.overviewRequestStart="OverviewRequest.start",e.overviewRequestDuration="OverviewRequest.duration",e.overviewRequestInternal="OverviewRequest.internal",e.overviewRequestNetwork="OverviewRequest.network",e.overviewRequestPathHash="OverviewRequest.pathHash",e.pdpRequestStart="pdpRequest.start",e.pdpRequestDuration="pdpRequest.duration"}(n||(n={}));const a="WeatherCondition";var r,o,s,d;!function(e){e[e.normal=0]="normal",e[e.alert=1]="alert",e[e.nowcast=2]="nowcast"}(r||(r={})),function(e){e[e.Start=1]="Start",e[e.WCComplete=2]="WCComplete"}(o||(o={})),function(e){e[e.Unknown=0]="Unknown",e[e.Joined=1]="Joined",e[e.Muted=2]="Muted"}(s||(s={})),function(e){e[e.RainThreshold=11.9]="RainThreshold"}(d||(d={}));const l="weaRecentLocation",c="weaRecentForMobileLocation",u="weaMUIDs",h="isWeaLastLocationFromDetect";var g,p,v,f;!function(e){e[e.setHomeFail=1]="setHomeFail",e[e.exceedPinLocationLimit=2]="exceedPinLocationLimit"}(g||(g={})),function(e){e[e.Hurricane=1]="Hurricane",e[e.NormalWeather=2]="NormalWeather",e[e.Nowcast=3]="Nowcast",e[e.SevereWeather=4]="SevereWeather",e[e["SevereWeather#Spotlight"]=5]="SevereWeather#Spotlight",e[e.GoodWeatherWeekend=6]="GoodWeatherWeekend",e[e["GoodWeatherWeekend#HalfCard"]=7]="GoodWeatherWeekend#HalfCard",e[e.Holiday=8]="Holiday",e[e.NewsHalfCard=9]="NewsHalfCard",e[e.InterestHalfCard=10]="InterestHalfCard",e[e.TomorrowV0=11]="TomorrowV0",e[e.HourlyTrend=12]="HourlyTrend",e[e.LifeIndex=13]="LifeIndex",e[e.LifeSolarTerm=14]="LifeSolarTerm",e[e.LifeHolidayPromotion=15]="LifeHolidayPromotion",e[e.CustomEditorial=16]="CustomEditorial",e[e.AlertNowcast=17]="AlertNowcast",e[e.AQICard=18]="AQICard",e[e.TeaserCard=19]="TeaserCard",e[e.JwaPollen=20]="JwaPollen",e[e.WildFirePointCard=21]="WildFirePointCard",e[e.WildFirePointFullCard=22]="WildFirePointFullCard",e[e.TeaserCardV2=23]="TeaserCardV2",e[e.HurricaneAround=24]="HurricaneAround",e[e.HrcnEvent=25]="HrcnEvent"}(p||(p={})),function(e){e.ImageContent="ImageContent"}(v||(v={})),function(e){e.L1Minimap="L1Minimap",e.CardMinimap="CardMinimap"}(f||(f={}))},29422:function(e,t,i){i.r(t),i.d(t,{AUTOSUGGEST_SUBTYPE:function(){return c},AUTOSUGGEST_TYPE:function(){return l},addLocation:function(){return R},addLocationForMobileWC:function(){return F},contains:function(){return W},dedup:function(){return V},distance:function(){return y},extractLanguageTag:function(){return H},formatLocation:function(){return M},getAutoSuggestLocationFirstLine:function(){return O},getAutoSuggestLocationSecondLine:function(){return P},getAutoSuggestionName:function(){return D},getDisplayName:function(){return z},getHyperlocalType:function(){return g},headLocation:function(){return _},hyperlocalLabeled:function(){return h},isAbnormalLatLon:function(){return S},isCurrentLocaleName:function(){return U},isHyperlocal:function(){return u},isSameLocationName:function(){return v},isSameLocationPoint:function(){return p},isValid:function(){return T},isValidLatLon:function(){return w},isValidLocationNameStructure:function(){return A},isValidLocationToSuggest:function(){return k},normalizeLatLong:function(){return $},parseDetailShortInfo:function(){return b},removeLocation:function(){return E},reset:function(){return x},resolveNameFromLocalityRegionCountry:function(){return N},shouldIgnoreSubRegion:function(){return m},showReverseName:function(){return B},toDebugString:function(){return L},toDetailShortInfo:function(){return C},toLatLong:function(){return G},transformToClientLocation:function(){return j},truncateFloatTo3Decimal:function(){return f}});var n=i(16517),a=i(54804),r=i(4596),o=i(38573);new Set(["CN","JP","TW"]);const s=new Set(["河北省","山西省","辽宁省","吉林省","黑龙江省","江苏省","浙江省","安徽省","福建省","江西省","山东省","河南省","湖北省","湖南省","广东省","海南省","四川省","贵州省","云南省","陕西省","甘肃省","青海省","台湾省","内蒙古自治区","广西壮族自治区","西藏自治区","宁夏回族自治区","新疆维吾尔自治区"]);var d;!function(e){e[e.HYPERLOCAL=101]="HYPERLOCAL",e[e.NONHYPERLOCAL=102]="NONHYPERLOCAL",e[e.UNKNOWN=103]="UNKNOWN"}(d||(d={}));const l={PLACE:"Place",LOCAL_BUSINESS:"LocalBusiness",ADDRESS:"PostalAddress"},c={ADDRESS:"Address",ROAD:"Road"};function u(e){return e.locationType===d.HYPERLOCAL||e.locationType===d.UNKNOWN}function h(e){return!!(null==e?void 0:e.locationType)&&(e.locationType===d.HYPERLOCAL||e.locationType===d.NONHYPERLOCAL||e.locationType===d.UNKNOWN)}function g(e,t){switch(e){case l.PLACE:return d.NONHYPERLOCAL;case l.LOCAL_BUSINESS:return d.HYPERLOCAL;case l.ADDRESS:return t===c.ADDRESS?d.HYPERLOCAL:t===c.ROAD?d.NONHYPERLOCAL:d.UNKNOWN;default:return d.UNKNOWN}}function p(e,t,i=!1){if(e&&t){let n=""+(e[0]||e.latitude),a=""+(t[0]||t.latitude),r=""+(e[1]||e.longitude),o=""+(t[1]||t.longitude);return i&&(n=f(n).toString(),r=f(r).toString(),a=f(a).toString(),o=f(o).toString()),n===a&&r==o}return!1}function v(e,t){return!(!e||!t)&&z(e)===z(t)}function f(e){const t="number"==typeof e?e:parseFloat(e);return Math.trunc(1e3*t)/1e3}function m(e){return(0,o.vt)(e)}function y(e,t){function i(e){const t=Math.sin(e/2);return t*t}function n(e){return e*Math.PI/180}t=t||{};const a=[n(+(e=e||{}).latitude),n(+e.longitude)],r=[n(+t.latitude),n(+t.longitude)],o=i(Math.abs(a[0]-r[0]))+Math.cos(a[0])*Math.cos(r[0])*i(Math.abs(a[1]-r[1]));return 12742*Math.asin(Math.sqrt(o))}function C(e,t=!1){return(0,o.gl)(e,t)}function b(e,t=!1){return(0,o.$i)(e,t)}function x(e){const t=e||{};Object.keys(t).forEach((e=>{t[e]=null}))}function T(e){return(0,o.JY)(e)}function w(e){return(0,o.JY)(e)}function S(e){return(void 0!==e.latitude||void 0!==e.longitude)&&(!w(e)||""+e.latitude=="-1"&&""+e.longitude=="-1")}function k(e){var t;if("zh-cn"===(null===(t=null==e?void 0:e.language)||void 0===t?void 0:t.toLowerCase())){if(!(null==e?void 0:e.country))return!1;if(null==e?void 0:e.addressLine){if(!(null==e?void 0:e.locality)&&!(null==e?void 0:e.subRegion)&&!(null==e?void 0:e.region)&&s.has(e.addressLine))return!1}else if(!(null==e?void 0:e.subRegion)&&!(null==e?void 0:e.region)&&s.has(null==e?void 0:e.locality))return!1}return!(!e||!e.addressLine&&!e.locality)}function L(e){if(e)return e.el?`el=[${e.el}]`:`lat=${e.latitude},long=${e.longitude}`}function $(e,t){return(0,o.br)(e,t)}function D(e){if(e){if(e.autoSuggestionName)return e.autoSuggestionName;return N(e,{enforceSmallLocaleFirst:!0})}}function A(e){const t=n.jG.AppType;return["windowsShell","windows","newsAndInterests","windowsNewsPlus","winWidgets"].indexOf(t)>=0?!(!e||!(e.addressLine||e.locality||e.region)):"zh-cn"===e.language||"CN"===e.isoCode?!(!e||!(e.addressLine||e.locality||e.subRegion||e.addressLine)):!(!e||!e.locality&&!e.addressLine)}function I(e,t){var i;const a=null===(i=null===n.jG||void 0===n.jG?void 0:n.jG.LocaleContentMarket)||void 0===i?void 0:i.market,r=(e.isoCode||"").toUpperCase(),o=r&&a&&a.substr(-r.length).toUpperCase()===r,s=[e.addressLine,e.locality,!m(e.isoCode)&&e.subRegion,!(null==t?void 0:t.skipRegionAndCountry)&&e.region,!(null==t?void 0:t.skipRegionAndCountry)&&!o&&e.country].filter((e=>!!e));return s.filter(((e,t)=>e!==s[t+1]))}function O(e){return I(e)[0]}function P(e){return I(e).slice(1).join(", ")}function M(e,t){const i=I(e,t);return B(e.language)&&i.reverse(),i.join(", ")}function F(e,t){if(!t)return e;if(!e||!e.length)return[t];e=e||[];const i=t.isDetected?[t,...e]:[e[0],t,...e.slice(1)],n={},a=[];for(let e=0;e<i.length;++e){const t=z(i[e]),r=`${i[e].latitude},${i[e].longitude}`;n[t]||n[r]||(0!=e&&(i[e].isDetected=!1),a.push(i[e]),n[t]=e+1,n[r]=e+1)}return a}function R(e,t){if(!t)return e;e=e||[];const i=[Object.assign({},t),...e],n={},a=[];for(let e=0;e<i.length;++e){const t=z(i[e]),r=`${i[e].latitude},${i[e].longitude}`;n[t]||n[r]||(a.push(i[e]),n[t]=e+1,n[r]=e+1)}return a}function E(e,t){if(!e||!t)return e;for(let i=0;i<e.length;++i)if(z(e[i])===z(t)||e[i].latitude===t.latitude&&e[i].longitude===t.longitude){e.splice(i,1);break}return e}function U(e){const t=a.Al.Locale;return e&&e.language&&(e.language===t||/en-/i.test(e.language)&&/en-/i.test(t))}function H(e){return(/,g=([a-z]+-[a-z]+)$/i.exec(e)||[])[1]}function _(){if(a.Al.ClientSettings&&a.Al.ClientSettings.geo_lat&&a.Al.ClientSettings.geo_long&&""!==a.Al.ClientSettings.geo_lat&&""!==a.Al.ClientSettings.geo_long){const e={latitude:a.Al.ClientSettings.geo_lat,longitude:a.Al.ClientSettings.geo_long,locality:a.Al.ClientSettings.geo_city,region:a.Al.ClientSettings.geo_subdivision,country:a.Al.ClientSettings.geo_countryname,isoCode:a.Al.ClientSettings.geo_country,isDetected:!0,language:"en-us"};return e.region=(0,r.abbreviateUSState)(e.region,e.language,e.isoCode),e.displayName=z(e),e}return null}function G(e){return`${e.latitude},${e.longitude}`}function j(e){return e?{country:e.Country,region:e.State,addressLine:e.AddressLine,locality:e.City,subRegion:e.SubRegion,postalCode:e.PostalCode,isoCode:e.CountryCode,latitude:e.Latitude,longitude:e.Longitude,displayName:void 0,language:e.Language||a.Al.Locale}:{}}function N(e,t){return(0,o.zl)(e,t)}function B(e){return(0,o.EC)(e)}function z(e,t){return(0,o.Gf)(e,t)}function W(e,t){if(!e)return!1;for(const i of e)if(p(i,t))return!0;return!1}function V(e){if(!e)return[];const t=new Set,i=[];for(const n of e){const e=z(n);t.has(e)||(t.add(e),i.push(n))}return i}},4596:function(e,t,i){i.r(t),i.d(t,{abbreviateUSState:function(){return a},toCamelCase:function(){return r}});const n={Alabama:"AL",Alaska:"AK",Arizona:"AZ",Arkansas:"AR",California:"CA",Colorado:"CO",Connecticut:"CT",Delaware:"DE",Florida:"FL",Georgia:"GA",Hawaii:"HI",Idaho:"ID",Illinois:"IL",Indiana:"IN",Iowa:"IA",Kansas:"KS",Kentucky:"KY",Louisiana:"LA",Maine:"ME",Maryland:"MD",Massachusetts:"MA",Michigan:"MI",Minnesota:"MN",Mississippi:"MS",Missouri:"MO",Montana:"MT",Nebraska:"NE",Nevada:"NV","New Hampshire":"NH","New Jersey":"NJ","New Mexico":"NM","New York":"NY","North Carolina":"NC","North Dakota":"ND",Ohio:"OH",Oklahoma:"OK",Oregon:"OR",Pennsylvania:"PA","Rhode Island":"RI","South Carolina":"SC","South Dakota":"SD",Tennessee:"TN",Texas:"TX",Utah:"UT",Vermont:"VT",Virginia:"VA",Washington:"WA","West Virginia":"WV",Wisconsin:"WI",Wyoming:"WY","American Samoa":"AS","District of Columbia":"DC",Guam:"GU","Marshall Islands":"MH","Northern Mariana Island":"MP","Puerto Rico":"PR","Virgin Islands":"VI"};function a(e,t,i){return"US"!==i&&"us"!==i||"en-us"!==t?e:n[e]||e}function r(e,t){return e&&JSON.parse(JSON.stringify(e,(function(e,i){if(i&&"object"==typeof i&&!Array.isArray(i)){const e={};for(const n in i)if(Object.hasOwnProperty.call(i,n)){e[t&&t[n]||n&&n.charAt(0).toLowerCase()+n.substring(1)]=i[n]}return e}return i})))}},38573:function(e,t,i){i.d(t,{$i:function(){return C},DF:function(){return c},EC:function(){return u},Gf:function(){return o},JY:function(){return f},XA:function(){return b},aQ:function(){return d},br:function(){return y},gl:function(){return g},mH:function(){return s},vt:function(){return v},zl:function(){return l}});var n=i(16517),a=i(65135),r=i(26415);function o(e,t){if(e)return e.displayName?e.displayName:l(e,t)}function s(e,t){const i=e&&e.displayName,n=c(e,{enforceOnlySmallLocal:!0}),o=n.length>0?n[0]:i;return o||a.M0.sendAppErrorEvent(Object.assign(Object.assign({},r.s$v),{message:`ShortlocationNameArr: ${n}.\n             CurrentLocation: ${JSON.stringify(e)}. \n             Error: Short location name in ${t} is empty.`})),o}function d(e){return`${e.latitude},${e.longitude}`}function l(e,t){return c(e,t).join(", ")}function c(e,t){const i=!t||!t.skipLocale,a=!(null==t?void 0:t.skipAddressLine),r=n.jG&&n.jG.LocaleContentMarket&&n.jG.LocaleContentMarket.market,o=(e.isoCode||"").toUpperCase(),s=o&&r&&r.substr(-o.length).toUpperCase()===o,d=v(e.isoCode)?null:e.subRegion,l=[a&&e.addressLine,i?e.locality:"",d,e.region,e.country].filter((e=>!!e));let c=0;for(;l[c+1];)l[c+1]===l[c]?l.splice(c+1,1):c++;const h="CN"==(null==r?void 0:r.toUpperCase())?1:2;if(e.country&&s&&l.length>h&&l.splice(-1,1),t&&t.enforceOnlySmallLocal&&l.length>0){return[/,/.test(l[0])?l[0].split(",")[0]:l[0]]}return t&&t.enforceSmallLocaleFirst||u(e.language)&&l.reverse(),l}function u(e){return e&&h.has(e.toUpperCase())}const h=new Set(["ZH-CN","KO-KR","JA-JP"]);function g(e,t=!1){const i={a:e.addressLine,l:e.locality,r:e.region,r2:e.subRegion,c:e.country,i:e.isoCode,t:e.locationType,g:e.language,x:t?e.longitude:void 0,y:t?e.latitude:void 0,n:n.jG.isMiniProgram?e.displayName:void 0},a=JSON.stringify(i,((e,t)=>null!=t&&""!==t?t:void 0));return"{}"!==a?a:void 0}const p=new Set(["CN","JP","TW"]);function v(e){return!p.has((e||"").toUpperCase())}function f(e){const t=parseFloat(null==e?void 0:e.latitude),i=parseFloat(null==e?void 0:e.longitude);return m(t,-85,85)&&m(i,-180,180)&&(0!==t||0!==i)}function m(e,t,i){return!isNaN(e)&&e>=t&&e<=i}function y(e,t){return{latitude:""+parseFloat(e),longitude:""+parseFloat(t)}}function C(e,t=!1){if(e)try{const i=JSON.parse(e),a={};return a.addressLine=i.a,a.locality=i.l,a.region=i.r,a.subRegion=i.r2,a.country=i.c,a.isoCode=i.i,a.locationType=i.t,a.language=i.g,t&&(a.latitude=i.y,a.longitude=i.x),n.jG.isMiniProgram&&(a.displayName=i.n),a}catch(e){return}}function b(e,t){return x(null==e?void 0:e.longitude,null==t?void 0:t.longitude)&&x(null==e?void 0:e.latitude,null==t?void 0:t.latitude)}function x(e,t){return!(!e||!t)&&T(e)===T(t)}function T(e){const t=parseFloat(e),i=Math.pow(10,6);return Math.round(t*i)/i}},38418:function(e,t,i){i.d(t,{x:function(){return c}});var n=i(16517),a=i(54804),r=i(33379);function o(e){if((0,r.N)()){return((null===a.Al||void 0===a.Al?void 0:a.Al.CurrentFlights)||"").includes(e)}if((n.Vh.getInstance().CurrentRequestTargetScope.pageExperiments||[]).some((t=>t.startsWith(e))))return!0;return!1}var s=i(75736);const d={23:"RainShowersDayV2",26:"SnowShowersDayV2",6:"BlowingHailV2",5:"CloudyV3",20:"LightSnowV2",91:"WindyV2",27:"ThunderstormsV2",10:"FreezingRainV2",77:"RainSnowV2",12:"HazySmokeV2",39:"HazeSmokeNightV2_106",24:"RainSnowV2",78:"RainSnowShowersNightV2",9:"FogV2",3:"PartlyCloudyDayV3",43:"HailNightV2",16:"HailDayV2",8:"LightRainV2",15:"HeavySnowV2",28:"ClearNightV3",30:"PartlyCloudyNightV2",14:"ModerateRainV2",1:"SunnyDayV3",7:"BlowingSnowV2",50:"RainShowersNightV2",82:"SnowShowersNightV2",2:"MostlySunnyDay",29:"MostlyClearNight",4:"MostlyCloudyDayV2",31:"MostlyCloudyNightV2",19:"LightRainV3",17:"LightRainShowerDay",44:"LightRainShowerNight"},l={23:"HeavyDrizzle",40:"HeavyDrizzle",26:"SnowShowersDayV2",6:"BlowingHailV2",5:"CloudyV3",20:"LightSnowV2",91:"WindyV2",27:"ThunderstormsV2",10:"FreezingRainV2",77:"RainSnowV2",12:"Haze",13:"HeavyDrizzle",39:"Fair",24:"RainSnowV2",78:"RainSnowShowersNightV2",9:"FogV2",3:"PartlyCloudyDayV3",43:"IcePelletsV2",16:"IcePellets",8:"LightRainV2",15:"HeavySnowV2",28:"ClearNightV3",30:"PartlyCloudyNightV2",14:"ModerateRainV2",1:"SunnyDayV3",7:"BlowingSnowV2",50:"RainShowersNightV2",82:"LightSnowShowersNight",81:"LightSnowShowersDay",2:"MostlySunnyDay",29:"MostlyClearNight",4:"MostlyCloudyDayV2",31:"MostlyCloudyNightV2",19:"LightRainV3",17:"LightRainShowerDay",52:"Snow",25:"Snow",44:"LightRainShowerNight"};class c{static getWeatherGlyph(e,t){const i=function(e){return Object.prototype.hasOwnProperty.call(s.h2,e)?s.h2[e]:e}(e);let a,r=d[i]||"";return t?a=t:o("prg-1sw-p1v5")||o("prg-1sw-ntpv5")||o("prg-1sw-whpv5")||o("prg-1sw-p2v5")?a="weathermapdata/1/static/svg/72/v5_2/card_fix_partlysunny/":o("prg-1sw-p1v6")||o("prg-1sw-ntpv6")||o("prg-1sw-whpv6")||o("prg-1sw-p2v6")?(r=l[i]||"",a="weathermapdata/1/static/svg/72/v6/card/"):a="weathermapdata/1/static/svg/72/v2/card_fix_partlysunny/",r?`https://assets.msn.${n.jG.IsChinaCompliance?"cn":"com"}/${a}${r}.svg`:""}}},16339:function(e,t,i){i.d(t,{Iq:function(){return d},MD:function(){return o},gL:function(){return s}});var n=i(59049),a=i(14675);const r=new n.v("WidgetLoadTracker");function o(e){r.has(e)||("hidden"!==document.visibilityState?(0,a.c)((()=>r.set(e,!0))):r.set(e,!0))}const s=new n.v("WidgetAppState");var d;!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"}(d||(d={}))},68651:function(e,t,i){i.d(t,{B$:function(){return v},f3:function(){return y},US:function(){return m},aS:function(){return p},gK:function(){return C}});var n=i(38156),a=i(16339),r='<svg width="4" height="4" viewBox="0 0 4 4"><rect width="4" height="4" rx="2" fill-opacity=".9"/></svg>',o=i(19456),s=i(53813),d=i(94522),l=i(60483),c=i(64434);let u,h,g;function p(e,t,i,l,c,p){const m=[];let y=0,C=!1;if(!e||!e.length)return;const b=a.gL.get(a.Iq.ActionMenuStrings),x=e.includes(v.Unpin);return g=x?"pinned":"feed",u=i||{},h=l,e.forEach((e=>{switch(e){case v.Small:y++,u.height=146,m.push({id:"small",glyph:c===e?r:void 0,title:b.small||"Small",ariaLabel:b.small||"Small",telemetryTag:f(`size_${v.Small}`,b.small,n.wu.Customize)});break;case v.Medium:y++,u.height=304,m.push({id:"medium",glyph:c===e?r:void 0,title:b.medium||"Medium",ariaLabel:b.medium||"Medium",telemetryTag:f(`size_${v.Medium}`,b.medium,n.wu.Customize)});break;case v.Large:y++,u.height=462,m.push({id:"large",glyph:c===e?r:void 0,title:b.large||"Large",ariaLabel:b.large||"Large",telemetryTag:f(`size_${v.Large}`,b.large,n.wu.Customize)});break;case v.Pin:m.push({id:"pinCard",glyph:d.Z,title:b.pinCard||"Pin widget",ariaLabel:b.pinCard||"Pin widget",telemetryTag:f("pinwidget",b.pinCard,n.wu.Pin)});break;case v.Customize:C=!0,y>1&&m.push({isDivider:!0}),m.push({id:"customize",glyph:o.Z,title:b.customize||"Customize widget",ariaLabel:b.customize||"Customize widget",onClick:()=>p("onShowSettingsEnd"),telemetryTag:f("editwidget",b.customize,n.wu.Customize)});break;case v.Unpin:!C&&y>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:b.unpinCard||"Unpin widget",ariaLabel:b.unpinCard||"Unpin widget",telemetryTag:f("unpinwidget",b.unpinCard,n.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:b.hideWidget,ariaLabel:b.hideWidget,telemetryTag:f("removewidget",b.hideWidget,n.wu.Hide)})}})),m}var v;function f(e,t,i){return new l.D({name:`${h}>customization_${e}`,type:n.c9.ActionButton,action:n.Aw.Click,behavior:i,zone:g,content:{headline:t,type:n.uH.StructuredData,vertical:h,category:h},destinationUrl:location.href,ext:u}).getMetadataTag()}function m(e){switch(e){case"_1x_1y":case"half":return"small";case"_1x_3y":case"tall":return"large";default:return"medium"}}function y(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 C(e,t,i,n){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){function n(e,t,i){return i<e?t:i>t?e:i}i.d(t,{w:function(){return n}})},77758:function(e,t,i){i.d(t,{gn:function(){return l}});var n=i(13626),a=i(61291),r=i(53046),o=i(67020),s=i(22658);class d extends a.x{}const l=d.compose({baseName:"carousel-card-sequence-indicator",template:n.O,styles:(e,t)=>r.i`
    ${(0,s.o)(e,t)}
    ${(0,o.j)("inline-flex")} :host {
        min-height: 4px;
        height: 4px;
        width: 4px;
        min-width: 4px;
        margin: 0;
        transition: transform 0.2s ease-in-out;
    }

    :host([aria-selected="true"]) {
        z-index: 2;
        opacity: 1;
        min-height: 6px;
        min-width: 6px;
        height: 6px;
        width: 6px;
    }
`})},70590:function(e,t,i){i.d(t,{ok:function(){return b}});var n=i(33940),a=i(65620),r=i(4069),o=i(49176),s=i(51208),d=i(39181),l=i(90960),c=i(13988),u=i(58952),h=i(26007);const g=()=>e=>e.orientation!==o.G.vertical?d.d`
            <svg
                slot="previous"
                width="7"
                height="9"
                viewBox="0 0 7 9"
                xmlns="http://www.w3.org/2000/svg"
            >
                <path
                    d="M0.5 4.5C0.5 4.25781 0.557292 4.02865 0.671875 3.8125C0.786458 3.59635 0.94401 3.41927 1.14453 3.28125L4.92969 0.679687C5.09896 0.559896 5.28906 0.5 5.5 0.5C5.66406 0.5 5.82031 0.539062 5.96875 0.617187C6.13281 0.703125 6.26172 0.824219 6.35547 0.980469C6.45182 1.13672 6.5 1.30729 6.5 1.49219L6.5 7.51172C6.5 7.69401 6.45182 7.86328 6.35547 8.01953C6.26172 8.17578 6.13281 8.29818 5.96875 8.38672C5.81771 8.46224 5.66276 8.5 5.50391 8.5C5.29036 8.5 5.09896 8.4401 4.92969 8.32031L1.14453 5.71875C0.94401 5.58073 0.786458 5.40365 0.671875 5.1875C0.557291 4.97135 0.5 4.74219 0.5 4.5Z"
                />
            </svg>
            <svg
                slot="next"
                width="7"
                height="9"
                viewBox="0 0 7 9"
                xmlns="http://www.w3.org/2000/svg"
            >
                <path
                    d="M0.5 1.49219C0.5 1.30729 0.546875 1.13672 0.640625 0.980468C0.736979 0.824218 0.86849 0.703125 1.03516 0.617187C1.18099 0.539062 1.33594 0.5 1.5 0.5C1.71094 0.5 1.90104 0.559896 2.07031 0.679687L5.85547 3.28125C6.05078 3.41667 6.20052 3.59245 6.30469 3.80859C6.40885 4.02474 6.46094 4.25521 6.46094 4.5C6.46094 4.74219 6.40885 4.97135 6.30469 5.1875C6.20052 5.40625 6.05078 5.58333 5.85547 5.71875L2.07031 8.32031C1.90104 8.4401 1.71094 8.5 1.5 8.5C1.34115 8.5 1.1862 8.46224 1.03516 8.38672C0.868489 8.29818 0.736979 8.17578 0.640625 8.01953C0.546875 7.86328 0.5 7.69401 0.5 7.51172L0.5 1.49219Z"
                />
            </svg>
        `:d.d`
            <svg
                slot="previous"
                width="9"
                height="7"
                viewBox="0 0 9 7"
                xmlns="http://www.w3.org/2000/svg"
            >
                <path
                    d="M1.00192 6.60547C0.194077 6.60547 -0.28047 5.6973 0.180865 5.0341L2.81398 1.24898C3.41087 0.390957 4.68026 0.390967 5.27715 1.24899L7.91028 5.0341C8.37156 5.6973 7.89707 6.60547 7.08922 6.60547H1.00192Z"
                />
            </svg>
            <svg
                slot="next"
                width="9"
                height="7"
                viewBox="0 0 9 7"
                xmlns="http://www.w3.org/2000/svg"
            >
                <path
                    d="M1.00192 0.605469C0.194077 0.605469 -0.280471 1.51367 0.180865 2.17683L2.81398 5.96196C3.41087 6.82002 4.68027 6.81992 5.27716 5.96196L7.91029 2.17682C8.37157 1.51367 7.89709 0.605469 7.08924 0.605469H1.00192Z"
                />
            </svg>
        `;var p=i(32804),v=i(53046),f=i(67020),m=i(40082),y=i(28726);class C extends r.EI{}(0,n.gn)([(0,a.Lj)({attribute:"previous-flipper-title"})],C.prototype,"previousFlipperTitle",void 0),(0,n.gn)([(0,a.Lj)({attribute:"next-flipper-title"})],C.prototype,"nextFlipperTitle",void 0);const b=C.compose({baseName:"carousel-card-wrapper",template:(e,t)=>d.d`
    <template
        @mouseover="${(e,t)=>e.handleMouseOver(t.event)}"
        @mouseout="${(e,t)=>e.handleMouseOut(t.event)}"
        @focusin="${(e,t)=>e.handleFocusIn(t.event)}"
        @focusout="${(e,t)=>e.handleFocusOut(t.event)}"
    >
        <slot name="previous-flipper">
            <fluent-flipper
                part="previous-flipper"
                class="previous-flipper"
                title="${e=>e.previousFlipperTitle}"
                direction="${e=>e.direction===h.N.rtl?"next":"previous"}"
                @keypress="${(e,t)=>e.slideKeyPressHandler(t.event,-1)}"
                @click="${(e,t)=>e.slideKeyPressHandler(t.event,-1)}"
                data-t="${e=>e.previousFlipperTelemetryTag}"
            >
                ${g()}
            </fluent-flipper>
        </slot>
        ${s.hX}
        <div class="tablist" part="tablist" role="tablist">
            <slot class="tab" name="tab" part="tab" ${(0,l.Q)("tabs")}></slot>

            ${(0,c.g)((e=>e.activeindicator),d.d`
                    <div
                        ${(0,u.i)("activeIndicatorRef")}
                        class="activeIndicator"
                        part="activeIndicator"
                    ></div>
                `)}
        </div>
        <slot name="next-flipper">
            <fluent-flipper
                part="next-flipper"
                class="next-flipper"
                title="${e=>e.nextFlipperTitle}"
                direction="${e=>e.direction===h.N.rtl?"previous":"next"}"
                @keypress="${(e,t)=>e.slideKeyPressHandler(t.event,1)}"
                @click="${(e,t)=>e.slideKeyPressHandler(t.event,1)}"
                data-t="${e=>e.nextFlipperTelemetryTag}"
            >
                ${g()}
            </fluent-flipper>
        </slot>

        ${s.zq}
        <div class="tabpanel">
            <slot name="tabpanel" part="tabpanel" ${(0,l.Q)("tabpanels")}></slot>
        </div>
    </template>
`,styles:(e,t)=>v.i`
        ${(0,y.o)(e,t)}

        ${(0,f.j)("grid")} :host {
            background: none;
            border-radius: 0;
            box-shadow: none;
            grid-template-rows: 1fr auto;
        }

        ::slotted([slot="previous-flipper"]),
        .previous-flipper {
            margin: 0;
            height: 38px;
            width: 16px;
        }

        ::slotted([slot="next-flipper"]),
        .next-flipper {
            margin: 0;
            height: 38px;
            width: 16px;
        }

        .next-flipper::before,
        .previous-flipper::before {
            border-radius: 3px;
            border: calc(${p.Han} * 1px) solid transparent;
            background: ${p.jql};
        }

        .next-flipper:hover::before,
        .previous-flipper:hover::before {
            background: ${p.QpD};
        }

        .next-flipper:active::before,
        .previous-flipper:active::before {
            background: ${p.sG3};
        }

        .next-flipper::part(previous),
        .next-flipper::part(next),
        .previous-flipper::part(previous),
        .previous-flipper::part(next) {
            width: auto;
            height: auto;
            display: flex;
            align-items: center;
        }

        .tablist {
            grid-row: 2;
            grid-gap: 6px;
            padding: var(--sequence-indicator-padding, 10px);
            align-items: center;
            justify-items: center;
            grid-template-rows: auto;
        }

        .tabpanel {
            grid-row: 1 / span 3;
            grid-column: 1 / span 3;
            position: relative;
        }

        :host([orientation="vertical"]) {
            grid-template-rows: 1fr auto 1fr;
            grid-template-columns: 1fr auto;
        }

        :host([orientation="vertical"]) .tabpanel {
            grid-row: 1/3;
            grid-column-start: 1;
            grid-column-end: 4;
        }

        :host([orientation="vertical"]) .tablist {
            grid-row-start: 2;
            grid-row-end: 2;
            grid-column: 2;
            grid-template-rows: auto;
            padding: 20px 0;
            justify-self: center;
        }

        :host([orientation="vertical"]) .tabpanel {
            grid-column: 1 / span 2;
            grid-row-start: 1;
            grid-row-end: 4;
        }

        :host([orientation="vertical"]) .previous-flipper {
            grid-column: 2;
            grid-row: 1;
            align-self: flex-end;
            height: 16px;
            width: 20px;
            margin: 0 2px;
        }

        :host([orientation="vertical"]) .next-flipper {
            grid-column: 2;
            grid-row: 3;
            align-self: flex-start;
            height: 16px;
            width: 20px;
            margin: 0 2px;
        }
    `.withBehaviors((0,m.vF)(v.i`
                :host {
                    forced-color-adjust: auto;
                }
            `))})},61291:function(e,t,i){i.d(t,{x:function(){return a}});var n=i(26899);class a extends n.O{}},22658:function(e,t,i){i.d(t,{o:function(){return l}});var n=i(53046),a=i(15933),r=i(67020),o=i(56201),s=i(40082),d=i(32804);const l=(e,t)=>n.i`
    ${(0,r.j)("inline-flex")} :host {
        box-sizing: border-box;
        font-family: ${d.SVJ};
        min-height: 6px;
        min-width: 6px;
        background-color: ${d.CHi};
        border-radius: 20px;
        opacity: 0.4;
        grid-row: 1;
        z-index: 1;
        margin: 10px 2px;
        border: calc(${d.Han} * 1px) solid transparent;
    }

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

    :host(:hover),
    :host(:active) {
        background: ${d.CHi};
        opacity: 1;
    }

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

    :host(:focus) {
        outline: none;
    }
`.withBehaviors((0,s.vF)(n.i`
            :host {
                forced-color-adjust: none;
                background: ${a.H.ButtonText};
                opacity: 1;
            }
            :host(:hover),
            :host([aria-selected="true"]:hover),
            :host([aria-selected="true"]) {
                background: ${a.H.Highlight};
            }
            :host(:${o.b}) {
                border-color: ${a.H.ButtonFace};
                box-shadow: 0 0 0 calc((${d.vxp} - ${d.Han}) * 1px)
                rgba(0,0,0,1), 0 0 0 calc((${d.vxp} + ${d.Han}) * 1px)
                ${a.H.ButtonText};
            }
        `))},4069:function(e,t,i){i.d(t,{EI:function(){return h}});var n,a,r=i(33940),o=i(65620),s=i(87697),d=i(33832),l=i(94731),c=i(32804),u=i(48839);!function(e){e._1_column="1_column",e._2_column="2_column"}(n||(n={})),function(e){e.vertical="vertical",e.horizontal="horizontal"}(a||(a={}));class h extends u.I{constructor(){super(...arguments),this.slideKeyPressHandler=(e,t)=>{this.adjust(t)},this.layout=n._2_column,this.orientation=a.horizontal,this.activeindicator=!1,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.isHovered=!1,this.isFocused=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach(((t,i)=>{if("tab"===t.slot&&this.isFocusableElement(t)){this.activeindicator&&(this.showActiveIndicator=!0);const e=this.tabIds[i],n=this.tabpanelIds[i];t.setAttribute("id","string"!=typeof e?`tab-${i+1}`:e),t.setAttribute("aria-selected",this.activeTabIndex===i?"true":"false"),t.setAttribute("aria-controls","string"!=typeof n?`panel-${i+1}`:n),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",this.activeTabIndex===i?"0":"-1"),this.activeTabIndex===i&&(this.activetab=t)}else this.showActiveIndicator=!1;t.style[e]=`${i+1}`,this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.tabpanels.forEach(((e,t)=>{const i=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id","string"!=typeof n?`panel-${t+1}`:n),e.setAttribute("aria-labelledby","string"!=typeof i?`tab-${t+1}`:i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent()),e.preventDefault()},this.handleTabKeyDown=e=>{const t=e.keyCode;if(this.isHorizontal())switch(t){case d.BJ:e.preventDefault(),this.adjustBackward(e);break;case d.ho:e.preventDefault(),this.adjustForward(e)}else switch(t){case d.$Y:e.preventDefault(),this.adjustBackward(e);break;case d.Q6:e.preventDefault(),this.adjustForward(e)}switch(t){case d.wn:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case d.$B:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}},this.adjustBackward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}i-1<0?i=t.length-1:i-=1}},this.moveToTabByIndex=(e,t)=>{const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}}autoScrollChanged(){this.$fastController.isConnected&&this.updateAutoScroll()}autoScrollIntervalMsChanged(){this.$fastController.isConnected&&this.updateAutoScroll()}handleChange(){this.direction=c.o7V.getValueFor(this)}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex(),this.direction=c.o7V.getValueFor(this),c.o7V.subscribe(this),this.activeindicator||(this.activeindicator=!1),this.updateAutoScroll()}disconnectedCallback(){c.o7V.unsubscribe(this),window.clearTimeout(this.autoScrollTimer)}activeidChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition(),this.$emit("tabpanels-changed",this.tabpanels))}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return void 0===this.tabs?[null]:this.tabs.map((e=>e.getAttribute("id")))}getTabPanelIds(){return void 0===this.tabpanels?[null]:this.tabpanels.map((e=>e.getAttribute("id")))}setComponent(e){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.change(),this.setTabs(),this.handleActiveIndicatorPosition(),this.setTabPanels(),e||this.focusTab(),this.change())}isHorizontal(){return this.orientation===a.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const e=this.isHorizontal()?"gridColumn":"gridRow",t=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",n=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`;const a=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.prevActiveTabIndex+1}`;const r=a-n;this.activeIndicatorRef.style.transform=`${t}(${r}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e,t){void 0!==this.tabs&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(0,l.w)(0,this.tabs.length-1,this.activeTabIndex+e),this.setComponent(t))}focusTab(){this.tabs[this.activeTabIndex].focus()}handleFocusIn(e){this.isFocused=!0,this.updateAutoScroll()}handleFocusOut(e){null!==e.relatedTarget&&this.contains(e.relatedTarget)||(this.isFocused=!1,this.updateAutoScroll())}handleMouseOver(e){this.isHovered=!0,this.updateAutoScroll()}handleMouseOut(e){this.isHovered=!1,this.updateAutoScroll()}updateAutoScroll(){let e=!1;this.isHovered||this.isFocused||!this.autoScroll||(e=!0),e&&void 0===this.autoScrollTimer&&(this.autoScrollTimer=window.setTimeout((()=>{this.autoScrollDelayMs&&(this.autoScrollDelayMs=0),this.adjust(1,!0),this.autoScrollTimer=void 0,this.updateAutoScroll()}),(this.autoScrollDelayMs||0)+(this.autoScrollIntervalMs||6e3))),e||void 0===this.autoScrollTimer||(window.clearTimeout(this.autoScrollTimer),this.autoScrollTimer=void 0)}}(0,r.gn)([o.Lj],h.prototype,"layout",void 0),(0,r.gn)([(0,o.Lj)({attribute:"auto-scroll",mode:"boolean"})],h.prototype,"autoScroll",void 0),(0,r.gn)([(0,o.Lj)({attribute:"auto-scroll-interval-ms",converter:o.Id})],h.prototype,"autoScrollIntervalMs",void 0),(0,r.gn)([(0,o.Lj)({attribute:"auto-scroll-delay-ms",converter:o.Id})],h.prototype,"autoScrollDelayMs",void 0),(0,r.gn)([s.LO],h.prototype,"nextFlipperTelemetryTag",void 0),(0,r.gn)([s.LO],h.prototype,"previousFlipperTelemetryTag",void 0),(0,r.gn)([s.LO],h.prototype,"direction",void 0),(0,r.gn)([o.Lj],h.prototype,"orientation",void 0),(0,r.gn)([o.Lj],h.prototype,"activeid",void 0),(0,r.gn)([s.LO],h.prototype,"tabs",void 0),(0,r.gn)([s.LO],h.prototype,"tabpanels",void 0),(0,r.gn)([(0,o.Lj)({mode:"boolean"})],h.prototype,"activeindicator",void 0),(0,r.gn)([s.LO],h.prototype,"activeIndicatorRef",void 0),(0,r.gn)([s.LO],h.prototype,"showActiveIndicator",void 0)},28726:function(e,t,i){i.d(t,{o:function(){return l}});var n=i(53046),a=i(15933),r=i(67020),o=i(40082),s=i(32804),d=i(62734);const l=(e,t)=>n.i`
        ${(0,r.j)("grid")} :host {
            --elevation: 4;
            box-sizing: border-box;
            font-family: ${s.SVJ};
            font-size: ${s.cSu};
            line-height: ${s.RUt};
            color: ${s.CHi};
            background: ${s.$Bw};
            border-radius: calc(${s.rSr} * 1px);
            ${d.XC};
            overflow: hidden;
            height: 100%;
            grid-template-columns: auto 1fr auto;
            grid-template-rows: auto 1fr;
            width: 100%;
        }

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

        .tablist {
            display: grid;
            grid-template-rows: auto auto;
            grid-template-columns: auto;
            position: relative;
            width: max-content;
            align-self: center;
            justify-self: center;
            grid-row: 1;
            grid-column: 1 / span 3;
            z-index: 3;
            cursor: pointer;
        }

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

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

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

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

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

        .tabpanel {
            grid-row: 1/3;
            grid-column-start: 1;
            grid-column-end: 4;
            position: relative;
        }
    `.withBehaviors((0,o.vF)(n.i`
                .activeIndicator {
                    forced-color-adjust: none;
                    background: ${a.H.Highlight};
                }
                .tablist {
                    background: ${a.H.Canvas};
                }
            `))},38247:function(e,t,i){i.d(t,{QT:function(){return u}});var n=i(33940),a=i(28090),r=i(65620),o=i(45169),s=i(53046),d=i(45597),l=i(82636);class c extends a.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,n.gn)([r.Lj,(0,n.w6)("design:type",String)],c.prototype,"appearance",void 0);const u=c.compose({baseName:"anchor",baseClass:a.e,template:o.g,styles:(e,t)=>s.i`
        ${(0,d.vN)(e,t)}
    `.withBehaviors((0,l.H)("accent",d.jQ),(0,l.H)("hypertext",d.Xu),(0,l.H)("lightweight",d.vt),(0,l.H)("outline",d.O8),(0,l.H)("stealth",d.cg)),shadowOptions:{delegatesFocus:!0}})},28090:function(e,t,i){i.d(t,{e:function(){return c},m:function(){return u}});var n=i(20005),a=i(65620),r=i(87697),o=i(48839),s=i(7775),d=i(51208),l=i(86076);class c extends o.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,n.gn)([a.Lj],c.prototype,"download",void 0),(0,n.gn)([a.Lj],c.prototype,"href",void 0),(0,n.gn)([a.Lj],c.prototype,"hreflang",void 0),(0,n.gn)([a.Lj],c.prototype,"ping",void 0),(0,n.gn)([a.Lj],c.prototype,"referrerpolicy",void 0),(0,n.gn)([a.Lj],c.prototype,"rel",void 0),(0,n.gn)([a.Lj],c.prototype,"target",void 0),(0,n.gn)([a.Lj],c.prototype,"type",void 0),(0,n.gn)([r.LO],c.prototype,"defaultSlottedContent",void 0);class u{}(0,n.gn)([(0,a.Lj)({attribute:"aria-expanded"})],u.prototype,"ariaExpanded",void 0),(0,l.e)(u,s.v),(0,l.e)(c,d.hW,u)},45169:function(e,t,i){i.d(t,{g:function(){return s}});var n=i(39181),a=i(58952),r=i(90960),o=i(51208);const s=(e,t)=>n.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,a.i)("control")}
    >
        ${(0,o.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,r.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,o.LC)(e,t)}
    </a>
`},26899:function(e,t,i){i.d(t,{O:function(){return o}});var n=i(20005),a=i(65620),r=i(48839);class o extends r.I{}(0,n.gn)([(0,a.Lj)({mode:"boolean"})],o.prototype,"disabled",void 0)},13626:function(e,t,i){i.d(t,{O:function(){return a}});var n=i(39181);const a=(e,t)=>n.d`
    <template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">
        <slot></slot>
    </template>
`},49176:function(e,t,i){i.d(t,{G:function(){return h},m:function(){return g}});var n=i(20005),a=i(65620),r=i(87697),o=i(36153),s=i(11673),d=i(78945),l=i(51208),c=i(86076),u=i(48839);const h={vertical:"vertical",horizontal:"horizontal"};class g extends u.I{constructor(){super(...arguments),this.orientation=h.horizontal,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e="gridColumn",t="gridRow",i=this.isHorizontal()?e:t;this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((e,t)=>{if("tab"===e.slot){const i=this.activeTabIndex===t&&this.isFocusableElement(e);this.activeindicator&&this.isFocusableElement(e)&&(this.showActiveIndicator=!0);const n=this.tabIds[t],a=this.tabpanelIds[t];e.setAttribute("id",n),e.setAttribute("aria-selected",i?"true":"false"),e.setAttribute("aria-controls",a),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",i?"0":"-1"),i&&(this.activetab=e)}e.style.gridColumn="",e.style.gridRow="",e.style[i]=`${t+1}`,this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabpanels.forEach(((e,t)=>{const i=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id",n),e.setAttribute("aria-labelledby",i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case o.BE:e.preventDefault(),this.adjustBackward(e);break;case o.mr:e.preventDefault(),this.adjustForward(e)}else switch(e.key){case o.SB:e.preventDefault(),this.adjustBackward(e);break;case o.iF:e.preventDefault(),this.adjustForward(e)}switch(e.key){case o.tU:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case o.Kh:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}},this.adjustBackward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}i-1<0?i=t.length-1:i-=1}},this.moveToTabByIndex=(e,t)=>{const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((t=>t.id===e)),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`tab-${(0,s.EL)()}`}))}getTabPanelIds(){return this.tabpanels.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`panel-${(0,s.EL)()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===h.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const e=this.isHorizontal()?"gridColumn":"gridRow",t=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",n=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`;const a=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.prevActiveTabIndex+1}`;const r=a-n;this.activeIndicatorRef.style.transform=`${t}(${r}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(0,d.wt)(0,this.tabs.length-1,this.activeTabIndex+e),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}(0,n.gn)([a.Lj],g.prototype,"orientation",void 0),(0,n.gn)([a.Lj],g.prototype,"activeid",void 0),(0,n.gn)([r.LO],g.prototype,"tabs",void 0),(0,n.gn)([r.LO],g.prototype,"tabpanels",void 0),(0,n.gn)([(0,a.Lj)({mode:"boolean"})],g.prototype,"activeindicator",void 0),(0,n.gn)([r.LO],g.prototype,"activeIndicatorRef",void 0),(0,n.gn)([r.LO],g.prototype,"showActiveIndicator",void 0),(0,c.e)(g,l.hW)},78945:function(e,t,i){function n(e,t,i){return i<e?t:i>t?e:i}function a(e,t,i){return Math.min(Math.max(i,e),t)}function r(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return r},b9:function(){return a},wt:function(){return n}})},11673:function(e,t,i){i.d(t,{EL:function(){return a}});let n=0;function a(e=""){return`${e}${n++}`}},85857:function(e,t){t.Z=function(e){return null==e}}}]);A
Eo