)((e=>{var n;return null===(n=e.config)||void 0===n?void 0:n.enableTrendingTitle}),R.d`<span class="news-headline-title ${e=>e.isOnImage?"news-headline-onimg":""}">${e=>{var n;return null===(n=e.strings)||void 0===n?void 0:n.title}}</span>`)}
        ${(0,U.g)((e=>{var n;return null===(n=e.config)||void 0===n?void 0:n.enableTrendingIcon}),R.d`<span  title=${e=>{var n;return null===(n=e.strings)||void 0===n?void 0:n.title}} aria-label=${e=>{var n;return null===(n=e.strings)||void 0===n?void 0:n.title}} class="news-headline-icon ${e=>e.isOnImage?"news-headline-onimg":""}">${q()}</span>`)}
        <div class="news-headline-list">
            ${(0,Z.rx)((e=>e.trendingNowListTermsData),Y)}
        </div>
        ${ee}
        ${(0,U.g)((e=>e.config.enableSettingButton),te)}
        ${(0,U.g)((e=>e.config.enableSettingButton&&e.isActionMenuOpen),ne)}
    </div>`)}`;var oe=t(53046),re=t(32804),ae=t(56201),se=t(40082),le=t(14989);const de=oe.i`
${(0,le.vW)(null,le.K$.c1)}{
    .news-headline-container:not(.newsbar-toggle-suggestions) {
        width: 264px;
    }
}

${(0,le.vW)(null,le.K$.c2)}{
    .news-headline-container:not(.newsbar-toggle-suggestions) {
        width: 368px;
    }
}

${(0,le.eH)(le.K$.c3)}{
    .news-headline-container:not(.newsbar-toggle-suggestions) {
        width: 495px;
    }
}

${(0,le.vW)(le.K$.c4,null)}{
    .news-headline-container:not(.newsbar-toggle-suggestions) {
        width: 728px;
    }
}

.news-headline-container.newsbar-toggle-suggestions {
    width: 100%;
}

.news-headline-container {
    display: flex;
    position: relative;
    height: 16px;
    padding: 8px 16px;
    align-items: flex-start;
    font-size: 12px;
    text-shadow: 0px 1.5px 3px rgba(0, 0, 0, 0.09);
    line-height: 16px;
}

.news-headline-title {
    margin-inline-end: 4px;
    user-select: none;
    white-space: nowrap;
    font-weight: 700;
}

.news-headline-icon {
    fill: ${re.CHi};
    margin-inline-end: 4px;
    margin-top: 1px;
}

.news-headline-list, .news-headline-item {
    display: flex;
    overflow: hidden;
    text-decoration: none;
    color: ${re.CHi};
}

.news-headline-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.news-headline-link {
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
    margin-inline-end: 4px;
    color: #036AC4;
    fill: #036AC4;
    display: flex;    
    text-decoration: none;
}

.news-headline-link svg {
    margin-inline-start: 4px;
    height: 16px;
    margin-top: 1px;
}

.news-headline-container:hover .news-headline-item, .news-headline-item:hover, .news-headline-item:focus, .news-headline-link:hover, .news-headline-link:focus {
    outline: none;
    text-decoration: underline;
}

.news-headline-item span:${ae.b}, .news-headline-link:${ae.b} {
    border-color: ${re.yGg};
}

.news-headline-item {
    box-sizing: border-box;
    margin-inline-end: 4px;
}

.news-headline-item img {
    width: 12px;
    height: 12px;
    margin-top: 2px;
    margin-inline-end: 4px;
}

.news-headline-moreoptions {
    visibility: hidden;
    margin-inline-start: auto;
    margin-top: -3px;
    white-space: nowrap;
    max-width: 200px;
    display: block;
    text-overflow: ellipsis;
    overflow: initial;
    text-decoration: none;
    height: 32px;
    width: 32px;
    align-self: center;
    color: ${re.CHi};
    background: none;
    box-sizing: border-box;
}

.news-headline-container:hover .news-headline-moreoptions {
    visibility: visible;
}

.news-headline-moreoptions:hover, .news-headline-moreoptions:focus {
    outline: none;
    text-decoration: underline;
    background: none !important;
}

.news-headline-moreoptions > span > svg {
    vertical-align: middle;
}

fluent-button::part(control) {
    padding: 7px;
}

msn-actions-menu::part(menu-item) {
    font-size: 12px;
}

msn-actions-menu::part(menu) {
    min-width: 210px;
}

.news-headline-onimg {
    color: #FFFFFF; 
    fill: #FFFFFF;
}`.withBehaviors((0,se.Uu)(oe.i`
            .news-headline-link {
                color: #60C9FC;
                fill: #60C9FC;
            }
            .news-headline-onimg {
                color: #FFFFFF; 
                fill: #FFFFFF;
            }
            `)),ce={experienceConfigSchema:l}},80368:function(e,n,t){"use strict";function i(e){let n;if(e instanceof URL)n=e.searchParams;else if(e instanceof URLSearchParams)n=e;else if("string"==typeof e)try{n=new URL(e).searchParams}catch(e){n=void 0}return o(n,"ocid")}function o(e,n,t){if(e&&n){const i={value:e.get(n)||void 0};if(!i.value&&t&&t.length>0)for(let n=0;n<t.length&&(i.value=e.get(t[n])||void 0,!i.value);++n);if(!i.value){const t=n.toLowerCase();e.forEach((function(e,n){!i.value&&n.toLowerCase()===t&&e&&(i.value=e)}))}return i.value}}function r(e,n){if(!e)return null;let t;try{t=new URL(e instanceof URL?e.href:e)}catch(e){return null}return t&&n&&n.length&&n.forEach((e=>{t.searchParams.delete(e)})),t.href}function a(e){const n=new RegExp("^.*/([Aa][Rr]||[Ss]{2}||[Vv][Ii]||[Vv][Pp])-(?<contentId>[a-zA-Z0-9]{6,8})(([?].*)||#.*)?$");return null!==e.match(n)}t.d(n,{ku:function(){return i},Ol:function(){return o},jI:function(){return a},Pv:function(){return l},jC:function(){return r}});const s=new Set(["msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]);function l(e){return!!function(e){if("string"==typeof e)try{e=new URL(e)}catch(n){e=null}const n={};if(e){let t="";e.searchParams.forEach((function(e,n){!t&&"ocid"===n.toLowerCase()&&e&&(t=e.toLowerCase())})),t&&(("win"===t.substr(0,3)||s.has(t))&&(n.isWindows=!0),"weather-app-win"===t&&(n.isWinApp=!0))}return n}(e).isWindows}t(76148)},53909:function(e,n,t){"use strict";t.d(n,{D3:function(){return a},KL:function(){return c},mL:function(){return g},pG:function(){return l},q3:function(){return d},vc:function(){return s},zz:function(){return u}});var i=t(12697),o=t(80983);let r;var a,s;!function(e){e.JPG="jpg",e.PNG="png"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Letterbox=1]="Letterbox",e[e.Scale=2]="Scale",e[e.Stretch=3]="Stretch",e[e.Crop=4]="Crop",e[e.FocalCrop=5]="FocalCrop",e[e.FacialCrop=6]="FacialCrop"}(s||(s={}));const l=90,d="www.bing.com/th",c=new RegExp(/bing\.(com|net)\/th/);function u(e,n){return g(((0,o.P)()?"//img-s.msn.cn/tenant/amp/entityid/":"//img-s-msn-com.akamaized.net/tenant/amp/entityid/")+e,n)}const h=Math.ceil(4*Math.random())||4;function g(e,n){if(e&&c.test(e))return function(e,n){try{return w(new URL(e),n).href}catch(t){const i=w(new URL(`https://${e}`),n);return`//${i.host}${i.pathname}${i.search}`}}(e,n);const{focalRegion:t,backgroundColor:o}=n;let{width:s=0,height:l=0,format:d=a.JPG}=n,u="";if(t){const e=m(t.x1,t.x2),n=m(t.y1,t.y2);null!=e&&null!=n&&(u+=`&x=${e}&y=${n}`)}o&&(u+=`&b=${o}`);const h=null==n.mode?6:n.mode;if(6===h&&(u+="&u=t"),n.enableDpiScaling){if(!n.devicePixelRatio)throw new Error("A valid devicePixelRatio value must be provided when DPI scaling is enabled");const e=function(e){if(p()&&r)return r;if(e<1)return null;let n=e;(0,i.Z)(4*n)||(n=Math.ceil(10*n)/10);n>3&&(n=3);p()&&(r=n);return n}(n.devicePixelRatio);e&&(s=Math.round(s*e),l=Math.round(l*e))}return`${e}?w=${s}&h=${l}&q=${n.quality||60}&m=${h}&f=${d}${u}`}function w(e,n){(0,o.P)()&&(e.hostname=`ts${h}.cn.mm.bing.net`);const{width:t=0,height:i=0}=n,r=n.quality||l,a=n.crop||1;return e.searchParams.set("w",`${t}`),e.searchParams.set("h",`${i}`),e.searchParams.set("qlt",`${r}`),e.searchParams.set("c",`${a}`),e.searchParams.set("rs","1"),n.enableDpiScaling&&(e.searchParams.set("dpr",`${n.devicePixelRatio}`),e.searchParams.set("p","0")),e}function p(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function m(e,n){if(null!=e&&null!=n)return Math.floor((e+n)/2)}},84795:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.instanceOf=n.select=n.not=n.when=void 0;const i=t(16969);n.when=e=>({[i.PatternKind]:i.Guard,[i.Guard]:e});n.not=e=>({[i.PatternKind]:i.Not,[i.Not]:e}),n.select=function(e){return void 0===e?{[i.PatternKind]:i.Select,[i.Select]:i.AnonymousSelectKey}:{[i.PatternKind]:i.Select,[i.Select]:e}};n.instanceOf=e=>(0,n.when)(function(e){return n=>n instanceof e}(e))},76148:function(e,n,t){"use strict";n.EQ=n.gx=void 0;const i=t(16969),o=t(84795);Object.defineProperty(n,"gx",{enumerable:!0,get:function(){return o.when}});const r=t(87972);n.EQ=e=>a(e,[]);const a=(e,n)=>{const t=()=>{const t=n.find((({test:n})=>n(e)));if(!t){let n;try{n=JSON.stringify(e)}catch(t){n=e}throw new Error(`Pattern matching error: no pattern matches value ${n}`)}return t.handler(t.select(e),e)};return{with(...t){const o=t[t.length-1],r=[],s=[];for(let e=0;e<t.length-1;e++){const n=t[e];"function"==typeof n?s.push(n):r.push(n)}let d={};return a(e,n.concat([{test:e=>Boolean(r.some((n=>l(n,e,((e,n)=>{d[e]=n}))))&&s.every((n=>n(e)))),handler:o,select:e=>Object.keys(d).length?i.AnonymousSelectKey in d?d[i.AnonymousSelectKey]:d:e}]))},when:(t,i)=>a(e,n.concat([{test:t,handler:i,select:e=>e}])),otherwise:t=>a(e,n.concat([{test:()=>!0,handler:t,select:e=>e}])).run(),exhaustive:()=>t(),run:t}},s=e=>Boolean(e&&"object"==typeof e),l=(e,n,t)=>{if(s(e)){if((o=e)&&o[i.PatternKind]===i.Guard)return Boolean(e[i.Guard](n));if((e=>e&&e[i.PatternKind]===i.Select)(e))return t(e[i.Select],n),!0;if((e=>e&&e[i.PatternKind]===i.Not)(e))return!l(e[i.Not],n,t);if(!s(n))return!1;if(Array.isArray(e)){if(!Array.isArray(n))return!1;if(1===e.length){const i={},o=(e,n)=>{i[e]=(i[e]||[]).concat([n])},r=n.every((n=>l(e[0],n,o)));return r&&Object.keys(i).forEach((e=>t(e,i[e]))),r}return e.length===n.length&&e.every(((e,i)=>l(e,n[i],t)))}if(e instanceof Map)return n instanceof Map&&[...e.keys()].every((i=>l(e.get(i),n.get(i),t)));if(e instanceof Set){if(!(n instanceof Set))return!1;if(0===e.size)return 0===n.size;if(1===e.size){const[i]=[...e.values()];return Object.values(r.__).includes(i)?l([i],[...n.values()],t):n.has(i)}return[...e.values()].every((e=>n.has(e)))}return Object.keys(e).every((i=>i in n&&l(e[i],n[i],t)))}var o;return n===e}},16969:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.AnonymousSelectKey=n.Select=n.Not=n.Guard=n.PatternKind=void 0,n.PatternKind=Symbol("@ts-pattern/pattern-kind"),n.Guard=Symbol("@ts-pattern/guard"),n.Not=Symbol("@ts-pattern/not"),n.Select=Symbol("@ts-pattern/select"),n.AnonymousSelectKey="@ts-pattern/__anonymous-select-key"},87972:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.__=void 0;const i=t(84795);const o=(0,i.when)((function(e){return!0})),r=(0,i.when)((function(e){return"string"==typeof e})),a=(0,i.when)((function(e){return"number"==typeof e})),s=(0,i.when)((function(e){return Number.isNaN(e)})),l=(0,i.when)((function(e){return"boolean"==typeof e})),d=(0,i.when)((function(e){return null==e}));n.__=Object.assign(o,{string:r,number:a,NaN:s,boolean:l,nullish:d})},41189:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8.75 4h4.55l.1.02.12.03.1.05.04.02.05.03.07.07.09.1.06.1.04.1.02.1.01.13v4.5a.75.75 0 01-1.5.1V6.57l-4.22 4.22a.75.75 0 01-.98.08l-.08-.08-1.47-1.47-2.47 2.47a.75.75 0 01-1.13-.98l.07-.08 3-3c.26-.27.68-.3.98-.07l.08.07 1.47 1.47 3.7-3.69h-2.7a.75.75 0 01-.74-.65L8 4.75c0-.41.34-.75.75-.75z"></path></svg>'},65758:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M4.47 2.22c-.3.3-.3.77 0 1.06L7.19 6 4.47 8.72a.75.75 0 001.06 1.06l3.25-3.25c.3-.3.3-.77 0-1.06L5.53 2.22a.75.75 0 00-1.06 0z"></path></svg>'},12697:function(e,n,t){"use strict";var i=t(84708);n.Z=function(e){return"number"==typeof e&&e==(0,i.Z)(e)}}}]);A
Eo