ass="trending-link" ${(0,L.X)((t=>t.telemetry))}>${t=>t.title}</a>
    </div>
    </li>
`,y.d`
    <li class="item-list">
        <a class="bubble-link" href="${t=>t.href}" target="_blank" ${(0,L.X)((t=>t.telemetry))}>
            ${(0,T.g)((t=>""!==t.imgUrl),y.d`<img class="topic-img" src="${t=>t.imgUrl}" alt="${t=>t.imgTitle}">`)}
            <span class="item-title">${t=>t.title}</span>
        </a>
    </li>
`),C=y.d`
<div class="container ${t=>t.config.background}" part="container">
    ${H}
    ${(0,T.g)((t=>t.trendingTopicsListData&&t.trendingTopicsListData.length>0),y.d`
        <ul class="trending-ul" part="list">
            ${(0,$.rx)((t=>t.trendingTopicsListData),M,{positioning:!0})}
        </ul>
    `)}
</div>
`;var z=i(76298),P=i(8994),j=i(67845);const D=z.i`
:host {
    border-radius: 6px;
    box-sizing: border-box;
    display: block;
    height: var(--card-height, 100%);
    position: relative;
    width: var(--card-width, 100%);
}

:host(:${j.b}) {
    outline: none;
    text-decoration: underline;
}

a {
    border-bottom: none;
    color: ${P.goi};
    display: inline-block;
    font-size: var(--type-ramp-minus-1-font-size);
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    width: 100%;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: ${P.goi};
}

li {
    display: flex;
    padding: 4px 0;
    text-align: -webkit-match-parent;
    white-space: nowrap;
}

ul {
    margin: 0;
    overflow: hidden;
    padding-inline-start: 0;
    position: inherit;
}

.link-divider {
    margin: 0 8px;
    opacity: 0.2;
    width: 1px;
    background: ${P.dtw};
}

.container {
    padding: 0 16px;
    height: inherit;
    border-radius: 6px;
}

.container.pink {
    background: linear-gradient(345.79deg, #F2D9DE 0%, rgba(242, 217, 222, 0.4) 100%), #FFFFFF;
}

.container.green {
    background: linear-gradient(350.79deg, #C8DFCE 1.32%, rgba(200, 223, 206, 0.4) 100%);
}

.trending-title-container {
    flex-direction: row;
    padding-top: 16px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.trending-title-container a {
    height: 16px;
    font-weight: bold;
    font-size: var(--type-ramp-minus-1-font-size);
    line-height: var(--type-ramp-base-line-height);
    display: flex;
    align-items: center;
    color: ${P.CHi};
    text-transform: uppercase;
}

.trending-title-container svg {
    display: inline;
    height: 10px;
    margin-inline-start: 4px;
}

.title-chevron path {
    fill: ${P.CHi};
}

.title-chevron {
    vertical-align: middle;
    background-color: transparent;
  }


.serendipity-button-div {
    height: 24px;
    width: 32px;
    display: inline-flex;
    align-content: center;
    justify-content: center;
}

::slotted([slot="serendipity-button-slot"]) {
    align-items: center;
    color: ${P.CHi};
    border-radius: 999px;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    margin: 0 4px;
    min-width: 24px;
    padding: 0;
    position: static;
    width: 24px;
}

::slotted([slot="serendipity-button-slot"]:hover) {
    background: ${P.XiB};
}

.trending-list {
    align-self: stretch;
    margin: 18px 0 0;
    padding: 0;
    position: static;
}

.trending-ul {
    overflow-y: scroll;
    height: calc(100% - 32px);
    margin-right: -6px;
}

.trending-ul::-webkit-scrollbar {
    width: 4px;
}

.trending-ul::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px #eee;
    background: ${P.Q5n};
}

div.trending-item {
    align-content: center;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    max-width: 268px;
}

.topic-img {
    border-radius: 50%;
    height: 28px;
    margin: 2px 6px;
    object-fit: cover;
    position: static;
    width: 28px;
}

.pulse-icon,
.topic-icon {
    width: 22px;
    height: 22px;
    object-fit: cover;
    position: static;
}

.index-label {
    font-size: 20px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 600;
    width: 18px;
}

a.trending-link {
    height: 22px;
    color: var(--neutral-foreground-rest);
    font-size: var(--type-ramp-plus-1-font-size);
    line-height: 22px;
    margin-inline: 0px 12px;
    margin-left: 8px;
    font-weight: 600;
}

a.bubble-link {
    color: var(--neutral-foreground-rest);
    font-size: var(--type-ramp-plus-1-font-size);
    font-weight: 600;
    grid-template-columns: 40px auto;
    display: grid;
    padding: 4px 0px;
}

.item-title {
    line-height: 32px;
}

.item-list:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px;
    padding: 8px 0px !important;
    margin-right: 6px;
}

.item-list:hover .topic-img {
    height: 64px !important;
    width: 64px !important;
}

.item-list:hover .bubble-link {
    grid-template-columns: 80px auto !important;
}

.item-list:hover .item-title {
    font-size: 18px !important;
    line-height: 64px !important;
}

.item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100%);
}

.trending-ul > li:first-child {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 8px 0px;
    margin-right: 6px;
}

.trending-ul > li:first-child .item-title {
    font-size: 18px;
    line-height: 64px;
}

.trending-ul > li:first-child .bubble-link {
    grid-template-columns: 80px auto;
}

.trending-ul > li:first-child .topic-img {
    height: 64px;
    width: 64px;
}

.trending-ul:hover > li:first-child {
    background: none;
    padding: 0px 0px;
}

.trending-ul:hover > li:first-child .item-title {
    font-size: 16px;
    line-height: 32px;
}

.trending-ul:hover > li:first-child .topic-img {
    height: 28px;
    width: 28px;
}

.trending-ul:hover > li:first-child .bubble-link {
    grid-template-columns: 40px auto;
}
`.withBehaviors(),B={experienceConfigSchema:s}},53909:function(t,e,i){i.d(e,{D3:function(){return a},mL:function(){return p},pG:function(){return l},q3:function(){return s},vc:function(){return o},zz:function(){return d}});var n=i(12697);let r;var a,o;!function(t){t.JPG="jpg",t.PNG="png"}(a||(a={})),function(t){t[t.None=0]="None",t[t.Letterbox=1]="Letterbox",t[t.Scale=2]="Scale",t[t.Stretch=3]="Stretch",t[t.Crop=4]="Crop",t[t.FocalCrop=5]="FocalCrop",t[t.FacialCrop=6]="FacialCrop"}(o||(o={}));const l=90,s="www.bing.com/th",c=new RegExp(/bing.(com|net)\/th/);function d(t,e){return p("//img-s-msn-com.akamaized.net/tenant/amp/entityid/"+t,e)}function p(t,e){if(t&&c.test(t))return function(t,e){try{return g(new URL(t),e).href}catch(i){const n=g(new URL(`https://${t}`),e);return`//${n.host}${n.pathname}${n.search}`}}(t,e);const{focalRegion:i,backgroundColor:o}=e;let{width:l=0,height:s=0,format:d=a.JPG}=e,p="";if(i){const t=u(i.x1,i.x2),e=u(i.y1,i.y2);null!=t&&null!=e&&(p+=`&x=${t}&y=${e}`)}o&&(p+=`&b=${o}`);const f=null==e.mode?6:e.mode;if(6===f&&(p+="&u=t"),e.enableDpiScaling){if(!e.devicePixelRatio)throw new Error("A valid devicePixelRatio value must be provided when DPI scaling is enabled");const t=function(t){if(h()&&r)return r;if(t<1)return null;let e=t;(0,n.Z)(4*e)||(e=Math.ceil(10*e)/10);e>3&&(e=3);h()&&(r=e);return e}(e.devicePixelRatio);t&&(l=Math.round(l*t),s=Math.round(s*t))}return`${t}?w=${l}&h=${s}&q=${e.quality||60}&m=${f}&f=${d}${p}`}function g(t,e){const{width:i=0,height:n=0}=e,r=e.quality||l;return t.searchParams.set("w",`${i}`),t.searchParams.set("h",`${n}`),t.searchParams.set("qlt",`${r}`),t.searchParams.set("c","1"),t.searchParams.set("rs","1"),e.enableDpiScaling&&(t.searchParams.set("dpr",`${e.devicePixelRatio}`),t.searchParams.set("p","0")),t}function h(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function u(t,e){if(null!=t&&null!=e)return Math.floor((t+e)/2)}},12697:function(t,e,i){var n=i(84708);e.Z=function(t){return"number"==typeof t&&t==(0,n.Z)(t)}}}]);A
Eo