????

Your IP : 216.73.216.188


Current Path : C:/Windows/SystemApps/Microsoft.Windows.Search_cw5n1h2txyewy/cache/Desktop/
Upload File :
Current File : C:/Windows/SystemApps/Microsoft.Windows.Search_cw5n1h2txyewy/cache/Desktop/2.txt

<!DOCTYPE html><html lang="ru" xml:lang="ru" xmlns="http://www.w3.org/1999/xhtml" xmlns:Web="http://schemas.live.com/Web/" manifest="/manifest/threshold.appcache"><script type="text/javascript" >//<![CDATA[
si_ST=new Date
//]]></script><head><!--pc--><title>Bing</title><meta content="text/html; charset=utf-8" http-equiv="content-type" /><meta name="viewport" content="width=device-width, user-scalable=no" /><script type="text/javascript">//<![CDATA[
_G={ST:(si_ST?si_ST:new Date),Mkt:"ru-RU",RTL:false,Ver:"16",IG:"0988BFA8A4A94FCC86F1D74571FFEB29",EventID:"056FD277AE9B46EFB40ECDAC0E03B520",V:"web",P:"autosuggest",DA:"CO4",CID:"37F5041D720E6FBD37500AB173D26E8B",SUIH:"G7ZmxTRczE9DlSp-kYg-8A",adc:"b_ad",gpUrl:"\/fd\/ls\/GLinkPing.aspx?" }; _G.lsUrl="/fd/ls/l?IG="+_G.IG+"&CID="+_G.CID ;curUrl="https:\/\/www.bing.com\/AS\/API\/WindowsCortanaPane\/V2\/Init";_G.XLS="\/threshold\/xls.aspx";;var logMetaError=function(n){(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.MetaError","FID":"CI","Name":"MetaJSError","Text":"'+escape(n)+'"}]'},getHref=function(){return location.href},regexEscape;try{regexEscape=function(n){return n.replace(/([.?*+^$&[\]\\(){}|<>-])/g,"\\$1")};function jsErrorHandler(n){var s,r,y,p,u,f,w,e,h,c,o;try{if(s="ERC",r=window[s],r=r?r+1:1,r===16&&(n=new Error("max errors reached")),r>16)return;window[s]=r;var l=n.error||n,b='"noMessage"',k=n.filename,d=n.lineno,g=n.colno,nt=n.extra,a=l.severity||"Error",tt=l.message||b,i=l.stack,t='"'+escape(tt.replace(/"/g,""))+'"',it=new RegExp(regexEscape(getHref()),"g");if(i){for(y=/\(([^\)]+):[0-9]+:[0-9]+\)/g,u={};(p=y.exec(i))!==null;)f=p[1],u[f]?u[f]++:u[f]=1;e=0;for(h in u)u[h]>1&&(c=regexEscape(h),w=new RegExp(c,"g"),i=i.replace(w,e),i+="#"+e+"="+c,e++);i=i.replace(it,"self").replace(/"/g,"");t+=',"Stack":"'+(escape(i)+'"')}if(k&&(t+=',"Meta":"'+escape(k.replace(it,"self"))+'"'),d&&(t+=',"Line":"'+d+'"'),g&&(t+=',"Char":"'+g+'"'),nt&&(t+=',"ExtraInfo":"'+nt+'"'),tt===b)if(a="Warning",t+=',"ObjectToString":"'+n.toString()+'"',JSON&&JSON.stringify)t+=',"JSON":"'+escape(JSON.stringify(n))+'"';else for(o in n)n.hasOwnProperty(o)&&(t+=',"'+o+'":"'+n[o]+'"');var rt=(new Date).getTime(),ut='"T":"CI.'+a+'","FID":"CI","Name":"JS'+a+'","Text":'+t+"",ft="<E><T>Event.ClientInst<\/T><IG>"+_G.IG+"<\/IG><TS>"+rt+"<\/TS><D><![CDATA[[{"+ut+"}]]\]><\/D><\/E>",et="<ClientInstRequest><Events>"+ft+"<\/Events><STS>"+rt+"<\/STS><\/ClientInstRequest>",v=new XMLHttpRequest;v.open("POST","/fd/ls/lsp.aspx?",!0);v.setRequestHeader("Content-Type","text/xml");v.send(et);typeof sj_evt!="undefined"&&sj_evt.fire("ErrorInstrumentation",t)}catch(ot){logMetaError("Failed to execute error handler. "+ot.message)}}window.addEventListener&&window.addEventListener("error",jsErrorHandler,!1);window.addEventListener||window.onerror||(window.onerror=function(n,t,i,r,u){var f="",e;typeof n=="object"&&n.srcElement&&n.srcElement.src?f="\"ScriptSrc = '"+escape(n.srcElement.src.replace(/'/g,""))+"'\"":(n=""+n,f='"'+escape(n.replace(/"/g,""))+'","Meta":"'+escape(t)+'","Line":'+i+',"Char": '+r,u&&u.stack&&(e=new RegExp(regexEscape(getHref()),"g"),f+=',"Stack":"'+escape(u.stack.replace(e,"self").replace(/"/g,"")+'"')));(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.GetError","FID":"CI","Name":"JSGetError","Text":'+f+"}]";typeof sj_evt!="undefined"&&sj_evt.fire("ErrorInstrumentation",f)})}catch(e){logMetaError("Failed to bind error handler "+e.message)};_G.ServerIG = "0988BFA8A4A94FCC86F1D74571FFEB29";;var AutoSuggest;(function(n){var t;(function(t){function e(n){u=n}function o(i){if(t.config&&t.config.disableBundleFallback?n.log("[FATAL] "+String(i)):document.body&&(document.body.style.display="none"),SearchAppWrapper.CortanaApp.isBingEnabled){var u=setTimeout(function(){return f()},5e3);r.instrumentFallbackImpression(String(i),function(){f();clearTimeout(u)})}else f()}function s(n,t){r.instrumentInitImpression(n,t)}function h(n,t){r.instrumentFallbackImpression(n,t)}var r,i,u,f;(function(n){function r(n){return n?(n^Math.random()*16>>n/4).toString(16):"10000000100040008000100000000000".replace(/[018]/g,r)}function e(n){var f=window.location,e;return u||(u=r()),e=f.protocol+"//"+f.host+"/QF_KEYSTROKE_VIRTUAL_URL?cvid="+u,typeof _G!=i&&_G.ServerIG&&(e+="&ASInitIG="+encodeURIComponent(_G.ServerIG)),{CurUrl:f.href,Pivot:"QF",IsNonSuggestion:!0,EnrichedClientInfo:{FDPartnerEntry:"autosuggest",ImpressionUrl:e,qfMode:t.RuntimeConfig?""+t.RuntimeConfig.QfMode:undefined},TS:n,UTS:n,UxClassification:{client:"windows"}}}function o(n,t,u){var o=typeof _G!=i&&_G.XLS||"/fd/ls/lsp.aspx",s=r(),e=typeof _G!=i&&_G.CID||typeof sj_cook!=i&&sj_cook.get("MUID","MUID");if(!e){u&&u();return}var h="<CID>"+e+"<\/CID>",c="<M><IG>"+s+'<\/IG><DS><![CDATA[[{"T":"D.Aggregator","Service":"AutoSuggest","Scenario":"Aggregator","AppNS":"SmartSearch","DS":[]}]]\]><\/DS><D><![CDATA['+JSON.stringify(t)+"]\]><\/D><Page><Name>Page.SmartSearch.AS.Suggestions<\/Name><L><![CDATA[[]]\]><\/L><\/Page><TS>"+n+'<\/TS><Ovr><requestInfo key="RawQuery" value=""/><requestInfo key="IsQuery" value="false"/><requestInfo key="Form" value=""/><userInfo key="AppName" value="SmartSearch"/><\/Ovr><\/M>',l="<ClientInstRequest>"+h+"<Group>"+c+"<\/Group><\/ClientInstRequest>",f;try{f=sj_gx()}catch(a){f=new XMLHttpRequest}f.open("POST",o,!0);f.setRequestHeader("Content-Type","text/xml");u&&(f.onreadystatechange=function(){f.readyState==4&&(f.onreadystatechange=function(){},u())});f.send(l)}function s(n,t){var i=(new Date).getTime(),r=e(i);r.EnrichedClientInfo.fallbackData={errorText:n||"Error"};o(i,r,t)}function h(n,t){if(f){t&&t();return}var i=(new Date).getTime(),r=e(i);r.EnrichedClientInfo.tag=n;o(i,r,t);f=!0}var f=!1;n.instrumentFallbackImpression=s;n.instrumentInitImpression=h})(r||(r={}));i="undefined";f=function(){if(t.config&&t.config.disableBundleFallback){n.log("[FATAL] executeFallback invoked!!!");return}t.config&&t.config.appCacheFallback?SearchAppWrapper.CortanaApp.repopulateAppCacheAsync().done():SearchAppWrapper.CortanaApp.navigateWebViewAsync("ms-appx-web:///cache/local/desktop/2.html").done()};t.updateErrorHandlingCVID=e;t.fallbackToPrepopulatedBundle=o;t.instrumentInitImpression=s;t.instrumentFallbackImpression=h;window.onerror=function(n,t,r,u){typeof SharedLogHelper!=i&&SharedLogHelper.LogError("window.onerror",t,n,r,u)}})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));1;
//]]></script><style type="text/css">html,body{-ms-content-zooming:none}html.b_trans,html.b_trans.peek,html.b_trans body,html.b_trans.peek body{background-color:transparent}.b_trans:not(.b_theme) #b_content{background-color:#fff}a{z:1}.siz12{width:12px;height:12px}.siz16{width:16px;height:16px}.siz20{width:20px;height:20px}.siz24{width:24px;height:24px}.siz28{width:28px;height:28px}.siz48{width:48px;height:48px}:root{--htmlbk:whitesmoke;--canvasbk:#f9f9f9;--canvasbk2:white;--canvasbk3:whitesmoke;--cardsbk:whitesmoke;--cardsbk2:white;--promtxt:#111;--primtxt:#444;--regtxt:#404040;--sectxt:#767676;--opttxt:#919191;--distxt:#ccc;--tealcol:#00809d;--brtealcol:#0c8484;--actbrdcol:#ccc;--brdcol:#ddd;--secbrdcol:#ececec;--alinkcol:#003dbf;--alinkvcol:#600090;--greencol:#006d21;--citcol:#0b6a0b;--redcol:#c80000;--alrtcol:#d90026;--poscol:#10893e;--negcol:#c80000}</style><link rel="stylesheet" href="/rb/16/cir2,ortl,cc,nc/_ae0cB8fPDMkfSJUO5xUuczSt7E.css?bu=CeMFmwPbAvoG8wXDBcQET08" type="text/css"/><link rel="stylesheet" href="/rb/16/cir2,ortl,cc,nc/Hu8MBE8y7NKpwOOef5LWpmMBdXQ.css?bu=CE829AFgT09PwAI" type="text/css"/><style type="text/css">@media screen and (-ms-high-contrast:active){*[role=button],a:visited[role=button],#b_results li a[role=button],#b_results li a[role=button]:visited{color:ButtonText;border-color:ButtonText}.c_tlbxTrg .sw_ddgn::after{content:"▼";position:static}.c_tlbxTrg .sw_ddgn{display:inline}}.b_accentColor, .b_accentColor strong, strong.b_accentColor, strong .b_accentColor, .qcard a, #sb_feedback, .b_anno, .appifyCaptionAccent, #b_results a.b_accentColor, #b_results a.b_accentColor:visited { color:#f90; } .b_accentColorStroke { stroke:#f90; } .b_accentColorFill { fill:#f90; } input[type="text"]:focus { border-color:#f90; box-shadow: none; -webkit-box-shadow: none; } .b_accentColorBackground, select:active, .cbtn.b_highlighted input.b_accentColorBackground, .cbtn.b_highlighted a.b_accentColorBackground, .cbtn.b_highlighted input.b_accentColorBackground:active, .cbtn.b_highlighted a.b_accentColorBackground:active, #b_results .cbtn.b_highlighted a.b_accentColorBackground, #b_results .cbtn.b_highlighted a.b_accentColorBackground:active { background-color:#f90; } .b_accentColorBorder { border-color:#f90; }select { color:#f90; } select::-ms-expand { color:#f90; }.b_moreLink, .b_moreLink:visited, #b_results .b_moreLink, #b_results .b_moreLink:visited { color:#f90; }.sml, .sml a, .sml a:visited, .btm_sml a, .btm_sml a:visited { color:#f90; }</style><link rel="stylesheet" href="/rs/6h/106/ortl,cc,nc/8hRsu9RXyJK71Ev1LywFHOSyrBA.css" type="text/css"/><link rel="stylesheet" href="/rb/6t/cir2,ortl,cc,nc/TQBvhF26AS4x7IIBgYt5pjE-Qbs.css?bu=DpMF8wSXBe8EhgWCBe8E7wS9BY0FqQXvBO8EigU" type="text/css"/><link rel="stylesheet" href="/rs/2w/31/ortl,cc,nc/BBDBvk5AokRBwrox4FNOb3dTd1E.css" type="text/css"/><style type="text/css">.hidden{visibility:hidden}.loaderIcon{height:64px;width:64px}body[dir] .loaderIcon{margin-bottom:48px}#preBootstrapPane{height:100%;display:flex;flex-direction:column;color:#409efe}#preBootstrapPane.lightTheme{color:#000}#preBootstrapPane.darkTheme{color:#fff}#preBootstrapPane.b_hide{display:none}#preBootstrapLoading{display:flex;flex-direction:column;align-items:center}body[dir] #preBootstrapLoading{margin:auto}body[dir] #preBootstrapLoading .loaderIcon{margin-bottom:24px}#preBootstrapButton{text-align:center}#preBootstrapBuildInfo{align-self:flex-end}.radial{fill:none;stroke-width:2px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);stroke:#409efe}.radial-bg{fill:none;stroke:rgba(0,0,0,.18);stroke-width:2px;stroke-linecap:round}.radial-infinite{animation:spin-infinite 2s linear infinite}@keyframes spin-infinite{0%{stroke-dasharray:.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:.01px 43.97px;transform:rotate(1080deg)}}</style><style type="text/css">.b_select { background-color:#ffe0b3; border-color:#f90; }</style><script type="text/javascript">//<![CDATA[
var amd,define,require;(function(n){function e(n,i,u){t[n]||(t[n]={dependencies:i,callback:u},r(n))}function r(n){if(n){if(n)return u(n)}else{if(!f){for(var r in t)u(r);f=!0}return i}}function u(n){var s,e;if(i[n])return i[n];if(t.hasOwnProperty(n)){var h=t[n],f=h.dependencies,l=h.callback,a=r,o={},c=[a,o];if(f.length<2)throw"invalid usage";else if(f.length>2)for(s=f.slice(2,f.length),e=0;e<s.length;e++)c.push(u(s[e]));return l.apply(this,c),i[n]=o,o}}var t={},i={},f=!1;n.define=e;n.require=r})(amd||(amd={}));define=amd.define;require=amd.require;var _w=window,_d=document,sb_ie=window.ActiveXObject!==undefined,sb_i6=sb_ie&&!_w.XMLHttpRequest,_ge=function(n){return _d.getElementById(n)},_qs=function(n,t){return t=typeof t=="undefined"?_d:t,t.querySelector?t.querySelector(n):null},sb_st=function(n,t){return setTimeout(n,t)},sb_rst=sb_st,sb_ct=function(n){clearTimeout(n)},sb_gt=function(){return(new Date).getTime()},sj_gx,AjaxWrapperThreshold;_w.sj_ce=function(n,t,i){var r=_d.createElement(n);return t&&(r.id=t),i&&(r.className=i),r};_w.sk_merge||(_w.sk_merge=function(n){_d.cookie=n});AjaxWrapperThreshold=function(){function n(){}return n.applyMethodThatRequiresOpened=function(n,t,i){return n.readyState==n.OPENED?(t.apply(n,i),!0):!1},n.wrapSend=function(t,i){return function(){var r=arguments;n.isRequestBlocked(t)||t.readyState!=t.OPENED?(Object.defineProperties(t,{readyState:{get:function(){return 4}},status:{get:function(){return 200}},responseText:{get:function(){return""}},responseBody:{get:function(){return""}}}),t.onreadystatechange&&t.onreadystatechange.apply(t,null)):typeof ThresholdUtilities!="undefined"&&SearchAppWrapper&&SearchAppWrapper.CortanaApp&&n.hostIsBing(t.url)?ThresholdUtilities.getCortanaHeaders(function(u){var e,f;if(u){e=t[n.headersLocation];for(f in u)u.hasOwnProperty(f)&&(f.substring(0,2)==="X-"||n.copyableHeaders.indexOf(f)>=0)&&(e[f]||t.setRequestHeader(f,u[f]))}n.setFlightHeaders(t);n.applyMethodThatRequiresOpened(t,i,r)}):(n.hostIsBing(t.url)&&n.setFlightHeaders(t),n.applyMethodThatRequiresOpened(t,i,r))}},n.wrapOpen=function(n,t){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.url=r[1];t.apply(n,r)}},n.wrapSetRequestHeader=function(t,i){return function(r,u){var e=n.applyMethodThatRequiresOpened(t,i,[r,u]),f;return e&&(f=t[n.headersLocation],f[r]?f[r].push(u):f[r]=[u]),e}},n.hostIsBing=function(t){var u=!0,i,r,f;if(n.testAnchor.href=t,i=n.testAnchor.hostname,i&&i.indexOf(".")>0){r=!1;for(f in this.bingHosts)if(i.indexOf(this.bingHosts[f])>0){r=!0;break}r||(u=!1)}return u},n.blockRequestWrapper=function(n){var t=this;return function(){return t.isRequestBlocked(n)}},n.isRequestBlocked=function(t){return typeof SearchAppWrapper!="undefined"&&SearchAppWrapper&&SearchAppWrapper.CortanaApp&&!SearchAppWrapper.CortanaApp.isBingEnabled&&n.hostIsBing(t.url)},n.createAjaxWrapper=function(){var n=new XMLHttpRequest;return n[this.headersLocation]={},n.send=this.wrapSend(n,n.send),n.open=this.wrapOpen(n,n.open),n.setRequestHeader=this.wrapSetRequestHeader(n,n.setRequestHeader),n.isRequestBlocked=this.blockRequestWrapper(n),n},n.setFlightHeaders=function(t){if(typeof _CachedFlights!="undefined"&&_CachedFlights.sort){var i=t[n.headersLocation];i[n.externalExpType]||t.setRequestHeader(n.externalExpType,"JointCoord");i[n.externalExp]||t.setRequestHeader(n.externalExp,_CachedFlights.sort().join(","))}},n.bingHosts=[".bing.com",".staging-bing-int.com",".working-bing-int.com",".bing-int.com",".bing-exp.com"],n.testAnchor=document.createElement("a"),n.externalExpType="X-MSEdge-ExternalExpType",n.externalExp="X-MSEdge-ExternalExp",n.headersLocation="headers",n.copyableHeaders=["Authorization"],n}();sj_gx=function(){return AjaxWrapperThreshold.createAjaxWrapper()};function lb(){_w.si_sendCReq&&sb_st(_w.si_sendCReq,800);_w.lbc&&_w.lbc()};
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/5h/cj,nj/fPJ951LmDlzBLvjElDulMf71fac.js?bu=Gp4hsiHdIOggrAX2IPkg-yCDIf4gryGrIbYhhQy-IcIhph-pH5og2yHHIawFmB6kIY4M_Qs"></script><script type="text/javascript">//<![CDATA[
var SloppyClickHandler;(function(n){function l(n){var y=r(n,u),i={element:n,card:y,link:y,containsLink:!0},b=r(n,h),c,l,w,p;if(b)i=null;else if(c=r(n,e,o),c){if(l=f(c),!l&&s.indexOf(c.tagName)>=0&&(c=r(c.parentNode,e,o),l=f(c)),!l&&c&&_w.TCH)for(w=_w.TCH.rTags,p=0;p<w.length;p++)if(l=v(c[t](w[p])),l)break;l&&(!y||l===y)&&(i={element:n,card:c,link:l,containsLink:!0})}return i&&!i.link&&(i=null),i&&(a(i.link,n)||i.link===i.element)&&(i.containsLink=!1),i}var e=["LI","TR"],s=["TR"],u=["A"],h=["INPUT","SELECT"],t="getElementsByTagName",c="b_noTarget",o="b_poleContent",i=" ";n.findCardFromElement=l;var a=function(n,i){var u,r;if(i)for(u=n[t](i.tagName),r=0;r<u.length;r++)if(u[r]===i)return!0;return!1},v=function(n){for(var e,i=null,r=0;r<n.length;r++)if(e=f(n[r]),e)if(i){if(e.href!==i.href){i=null;break}}else i=e;else if(n[r][t](u).length>1){i=null;break}return i},y=function(n){return n&&n.className.indexOf(c)<0},f=function(n){var e=null,i;if(n){var r=n[t](u),h=r.length,o=!0,s=null,f=null;for(i=0;i<h;i++)if(y(r[i]))if(f){if(f!==r[i].href){o=!1;break}}else s=r[i],f=r[i].href;o&&f&&(e=s)}return e},r=function(n,t,r){for(;n!==document&&n;n=n.parentNode)if(n)for(var u=0;u<t.length;++u)if(n.tagName===t[u]||r&&n.className&&(i+n.className+i).indexOf(i+r+i)>=0)return n}})(SloppyClickHandler||(SloppyClickHandler={}));(function(){function n(n){_w.si_ct(sb_ie?_w.event.srcElement:n.target,!1,_w.event||n)}sj_be(document,"click",n,!1)})();(function(){function n(n){var t=_w.SloppyClickHandler?SloppyClickHandler.findCardFromElement(sj_et(n)):null,i=t&&t.link?t.link:sb_ie?_w.event.srcElement:n.target;_w.si_ct(i,!1,_w.event||n)}sj_be(document,"contextmenu",n,!1)})();/*!DisableJavascriptProfiler*/
0;/*!DisableJavascriptProfiler*/
0;ClTrCo={};var ctcc=0,clc=_w.ClTrCo||{};_w.si_ct=function(n,t,i,r){var u,e,f,o,s,h,c;if(clc.SharedClickSuppressed)return!0;u="getAttribute";try{for(;n!==document.body;n=n.parentNode){if(!n||n===document||n[u]("data-noct"))break;if(e=(n.tagName==="A"||n[u]("data-clicks"))&&(n[u]("h")||n[u]("data-h"))||n[u]("_ct"),e){f=n[u]("_ctf");o=-1;i&&(i.type==="keydown"?o=-2:i.button!=null&&(o=i.button));f&&_w[f]||(f="si_T");f==="si_T"&&(s=encodeURIComponent(n[u]("href")),clc.furl&&!n[u]("data-private")?e+="&url="+s:clc.mfurl&&(e+="&abc="+s));r&&(e+="&source="+r);h="";clc.mc&&(h="&c="+ctcc++);c="&"+e+h;_w.si_sbwu(c)||_w[f]&&_w[f](c,n,i,o);break}if(t)break}}catch(l){_w.SharedLogHelper?SharedLogHelper.LogWarning("clickEX",null,l):(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.Warning","FID":"CI","Name":"JSWarning","Text":'+l.message+"}]"}return!0};_w.si_sbwu||(_w.si_sbwu=function(){return!1}),function(){_w._G&&(_G.si_ct_e="click")}();var wlc_d = 1500, wlc_t =63722500537;;var perf;(function(n){function f(n){return i.hasOwnProperty(n)?i[n]:n}function e(n){var t="S";return n==0?t="P":n==2&&(t="M"),t}function o(n){for(var c,i=[],t={},r,l=0;l<n.length;l++){var a=n[l],o=a.v,s=a.t,h=a.k;s===0&&(h=f(h),o=o.toString(36));s===3?i.push(h+":"+o):(r=t[s]=t[s]||[],r.push(h+":"+o))}for(c in t)t.hasOwnProperty(c)&&(r=t[c],i.push(e(+c)+':"'+r.join(",")+'"'));return i.push(u),i}for(var r=["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","unloadEventStart","unloadEventEnd","firstChunkEnd","secondChunkStart","htmlEnd","pageEnd","msFirstPaint"],u="v:1.1",i={},t=0;t<r.length;t++)i[r[t]]=t;n.compress=o})(perf||(perf={}));window.perf=window.perf||{},function(n){n.log=function(t,i){var f=n.compress(t),r;f.push('T:"CI.Perf",FID:"CI",Name:"PerfV2"');var e="/fd/ls/lsp.aspx?",o="sendBeacon",h="<E><T>Event.ClientInst<\/T><IG>"+_G.IG+"<\/IG><TS>"+i+"<\/TS><D><![CDATA[{"+f.join(",")+"}]\]><\/D><\/E>",s="<ClientInstRequest><Events>"+h+"<\/Events><STS>"+i+"<\/STS><\/ClientInstRequest>",u=!_w.navigator||!navigator[o];if(!u)try{navigator[o](e,s)}catch(c){u=!0}u&&(r=sj_gx(),r.open("POST",e,!0),r.setRequestHeader("Content-Type","text/xml"),r.send(s))}}(window.perf);var perf;(function(n){function a(){return c(Math.random()*1e4)}function o(){return y?c(f.now())+l:+new Date}function v(n,r,f){t.length===0&&i&&sb_st(u,1e3);t.push({k:n,v:r,t:f})}function p(n){return i||(r=n),!i}function w(n,t){t||(t=o());v(n,t,0)}function b(n,t){v(n,t,1)}function u(){var u,f;if(t.length){for(u=0;u<t.length;u++)f=t[u],f.t===0&&(f.v-=r);t.push({k:"id",v:e,t:3});n.log(t,o());t=[];i=!0}}function k(){r=o();e=a();i=!1;sj_evt.bind("onP1",u)}var s="performance",h=!!_w[s],f=_w[s],y=h&&!!f.now,c=Math.round,t=[],i=!1,l,r,e;h?l=r=f.timing.navigationStart:r=_w.si_ST?_w.si_ST:+new Date;e=a();n.setStartTime=p;n.mark=w;n.record=b;n.flush=u;n.reset=k;sj_be(window,"load",u,!1);sj_be(window,"beforeunload",u,!1)})(perf||(perf={}));_w.si_PP=function(n,t,i){var r,e,u,o,s,a,v,f,y,h,c,l,p,w;if(!_G.PPS){for(e=["FC","BC","H","BP",null];r=e.shift();)e.push('"'+r+'":'+(_G[r+"T"]?_G[r+"T"]-_G.ST:-1));if(u=i||_w.performance&&_w.performance.timing,o=null,u&&(s=["unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint","responseEnd",""],a=u.navigationStart,a>=0)){for(y=h=v=0;r=s.shift();v++)f=u[r],f>0&&(y|=1<<v,f-=a,s.push(f===h?"":(f-h).toString(16)),h=f);c="navigation";o=',"w3c":"'+y.toString(16)+","+s.join()+'","nav":'+(c in u?u[c]:performance[c].type)}if(l='{"pp":{"S":"'+(t||"L")+'",'+e.join(",")+',"CT":'+(n-_G.ST)+',"IL":'+_d.images.length+"}"+(_G.C1?","+_G.C1:"")+(o!==null?o:"")+"}",_w.Log2){p=!0;try{w=JSON.parse(l)}catch(b){p=!1}Log2.LogEvent("CPT",p?w:l,null,null,null,null,null,null)}else _G.PPImg=new Image,_G.PPImg.src=_G.lsUrl+"&Type=Event.CPT&DATA="+l+(_G.P?"&P="+_G.P:"");_G.PPS=1;sb_st(function(){sj_evt.fire("onPP");sj_evt.fire(_w.p1)},1)}};_w.onbeforeunload=function(){si_PP(new Date,"A")};(function(n){function t(n,t){var i="&"+t+"=",r=n.indexOf(i),u,f;return r<0?-1:(u=r+i.length,f=n.substr(u),parseInt(f,10))}_w.si_PP=function(i,r){var e=_w.performance&&_w.performance.timing,u,h,c,l;if(e){var o='"NS":"'+e.navigationStart+'"',s=window.location,f=window.location&&s.search;f&&(u=t(f,"sbts"),(!u||u<0)&&(h=t(f,"nclidts"),c=t(f,"tsms"),h>0&&c>=0&&(u=h*1e3+c)),u>0&&(o+=',"E2E_PLT":"'+(e.loadEventEnd-u)+'"',window.history&&history.replaceState&&(l=s.href.replace(/(&(sbts|nclidts|tsms)=\d+)/g,""),l!==s.href&&history.replaceState(null,null,l))));_G.C1=_G.C1?_G.C1+","+o:o}n&&n(i,r)}})(_w.si_PP);var BM=BM||{};BM.rules={".b_scopebar":[-1,-1,0],".b_scopebar ul":[-1,-1,1],"#b_results":[-1,-1,1],".b_hList":[-1,-1,1],".b_flex":[-1,-1,1],".b_flex span":[-1,-1,0],"img,div[data-src]":[-1,-1,0],"#root":[-1,-1,1],".suggestion":[-1,-1,0],"#topResult":[-1,-1,0],".groupHeader":[-1,-1,0]};var BM=BM||{};(function(n){function u(n,u){n in t||(t[n]=[]);!u.compute||n in r||(r[n]=u.compute);!u.unload||n in i||(i[n]=u.unload);u.load&&u.load()}function f(n,i){t[n].push({t:s(),i:i})}function e(n){return n in i&&i[n](),n in t?t[n]:void 0}function o(){for(var n in r)r[n]()}function s(){return window.performance&&performance.now?Math.round(performance.now()):new Date-window.si_ST}var t={},i={},r={};n.wireup=u;n.enqueue=f;n.dequeue=e;n.trigger=o})(BM);(function(n){function i(){var i=document.documentElement,r=document.body,u="innerWidth"in window?window.innerWidth:i.clientWidth,f="innerHeight"in window?window.innerHeight:i.clientHeight,e=window.pageXOffset||i.scrollLeft,o=window.pageYOffset||i.scrollTop,s=document.visibilityState||"default";n.enqueue(t,{x:e,y:o,w:u,h:f,dw:r.clientWidth,dh:r.clientHeight,v:s})}var t="V";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function i(){var e,o,u,s,f,r;if(document.querySelector&&document.querySelectorAll){e=[];o=n.rules;for(u in o)for(s=o[u],u+=!s[2]?"":" >*",f=document.querySelectorAll(u),r=0;r<f.length;r++){var i=f[r],h=0,c=0,l=i.offsetWidth,a=i.offsetHeight;do h+=i.offsetLeft,c+=i.offsetTop;while(i=i.offsetParent);e.push({_e:f[r],x:h,y:c,w:l,h:a})}n.enqueue(t,e)}}var t="L";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function f(){u(sj_be,r)}function r(i){return i&&n.enqueue(t,i),!0}function e(){u(sj_ue,r)}function u(n,t){for(var u,r=0;r<i.length;r++)u=i[r],n(u==="resize"?window:document,window.navigator.pointerEnabled?u.replace("mouse","pointer"):u,t,!1)}var t="EVT",i=["click","mousedown","mouseup","touchstart","touchend","mousemove","touchmove","scroll","keydown","resize"];n.wireup(t,{load:f,compute:null,unload:e})})(BM);var AriaTelemetry;(function(n){function e(n){return t.hasOwnProperty(n)||(t[n]=new f(n,r)),t[n]}function i(){sj_ue(window,"beforeunload",i);sj_evt.unbind("unload",i);try{AWT.flush(function(){})}catch(n){}}var u,f;n.getLogger=e,function(n){n[n.NotSet=0]="NotSet";n[n.DistinguishedName=1]="DistinguishedName";n[n.GenericData=2]="GenericData";n[n.IPV4Address=3]="IPV4Address";n[n.IPv6Address=4]="IPv6Address";n[n.MailSubject=5]="MailSubject";n[n.PhoneNumber=6]="PhoneNumber";n[n.QueryString=7]="QueryString";n[n.SipAddress=8]="SipAddress";n[n.SmtpAddress=9]="SmtpAddress";n[n.Identity=10]="Identity";n[n.Uri=11]="Uri";n[n.Fqdn=12]="Fqdn";n[n.IPV4AddressLegacy=13]="IPV4AddressLegacy"}(u=n.PIIKind||(n.PIIKind={}));var t={},r=!1,o=function(){typeof sj_evt!="undefined"&&sj_evt.bind("OnScriptLoad:AriaTelemetry",function(){var n,u,f;if(!r){for(r=!0,n=0,u=Object.getOwnPropertyNames(t);n<u.length;n++)f=u[n],t[f].init();sj_be(window,"beforeunload",i,!1);sj_evt.bind("unload",i,!1)}},!0,null,!0)};f=function(){function n(n,t){this.buf=[];this.initialized=!1;this.ariaTenantToken=n;t&&this.init()}return n.prototype.logEvent=function(n){n.timestamp=(new Date).getTime();this.initialized?AWT.logEvent(this.getEventData(n)):this.buf.push(n)},n.prototype.flush=function(){if(this.initialized)try{AWT.flush(function(){})}catch(n){}},n.prototype.init=function(){var n,t,r;if(!this.initialized){this.initialized=!0;try{AWT.initialize(this.ariaTenantToken)}catch(i){if(i!=="Already Initialized")throw i;}if(this.buf!=null&&this.buf.length>0){for(n=0,t=this.buf;n<t.length;n++)r=t[n],AWT.logEvent(this.getEventData(r));this.buf=[]}}},n.prototype.getEventData=function(n){var s=n.eventType,h=n.name,c=n.timestamp,i=n.properties,o={},l={name:h,properties:o,type:s,tenantToken:this.ariaTenantToken,timestamp:c},t,r,f,e;if(i!=null)for(t=0,r=Object.getOwnPropertyNames(i);t<r.length;t++)f=r[t],e=i[f],o[f]={value:e.value,pii:AWTPiiKind[u[e.pii]]};return l},n}();o()})(AriaTelemetry||(AriaTelemetry={}));
//]]></script></head><body onload="if(_w.lb)lb();"><script type="text/javascript">//<![CDATA[
var TestHooksEnabled = false;;function doesNamespaceExist(n){var t=n.split("."),r=_w;for(i in t)if(!(r=r[t[i]]))return!1;return!0}var SearchAppWrapper;typeof _w.CortanaApp!="undefined"?SearchAppWrapper={CortanaApp:_w.CortanaApp}:doesNamespaceExist("Cortana.Internal.Search.SearchAPIWrapper")&&typeof Cortana.Internal.Search.SearchAPIWrapper.searchApp!="undefined"&&(SearchAppWrapper={CortanaApp:Cortana.Internal.Search.SearchAPIWrapper.searchApp});var sj_b=_d.body;BM.trigger();_G.AppVer="8_1_2_6242479";sa_config={"snrVersion":"2020.04.13.6242479","osSKU":0,"mainRankerId":"STH_7e527c65-7b72-46a8-84fe-4a041aed762b","counterFactualRankerId":"","fallbackClassifierId":"FC_11c28628-a41f-4455-bf40-06b2b6a20757","u":"%2fAS%2fAPI%2fWindowsCortanaPane%2fV2%2fSuggestions%3fqry%3d","substrateResUrl":"https://substrate.office.com/search/api/v2/resources","removeSuggUrl":"/historyHandler?oma=delete_matching_queries\u0026qt=%7b0%7d\u0026sig=%7bSID%7d\u0026response=json\u0026FORM=ASRMHS","searchHistoryUrl":"/profile/history?FORM=ASRMHP","exTknUrl":"https://business.bing.com/api/v1/user/token/exchange","storeHandoffTag":"QF","headRankingSignalsVersion":"","settingsUri":"ms-settings:cortana-permissions","peopleCardLokiHost":"https://loki.delve.office.com/","getPopularAppsUrl":"https://www.bing.com/search?q=popular%20windows%20apps\u0026qs=n\u0026form=QBLH","covidTrackerUrl":"https://www.bing.com/covid?form=WSHCOV","covidHeadlinesUrl":"https://www.msn.com/covid-19?PC=WSBMSNCV\u0026OCID=WSB_BA_CV","feedbackButtonIcon":"\u0026#xED15","edgeUpsellUrl":"https://www.microsoft.com/edge?form=MY01BH\u0026OCID=MY01BH","edgeUpsellDownloadQuery":"download edge","oneDriveDotComRootUrl":"/api/v7/Suggestions?appid=5ED53F6575E069741639117D3F28B7B343B7371D\u0026history=0\u0026textdecorations=true","bingFetchEnabledRegionsList":["au","br","ca","cn","fr","de","in","it","jp","mx","es","gb","us"],"miniSerpEnabledRegionsList":["au","br","ca","cn","fr","de","in","it","jp","mx","es","gb","us"],"enabledDataSources":["AFC","TOPP","QSCH","WWE","PP","IBA","ST","FEH","Web","OSTMA","QS","IFF","MDOC","MFOL","MPHO","MVID","MMUS","ODC","MRU","MPP","MST","MFF","CG","PT","SSUE","SSUC","SSEE","SSEC","LSQS"],"edgeUpsellQuery":["chrome","google chrome","firefox","edge","microsoft edge","internet explorer","ie","opera","safari","edge chromium"],"dataSourcesWithProgressBar":["SSEC","SSEE"],"relatedWebImageSupportedSegments":["Actor","City","Place","Country","State","Animal","Attraction","Food","Artist","People"],"relatedWebVideoSupportedSegments":["Song","TvShow","Movie"],"locStrings":["CortanaQF","CortanaQFcloud","WSBZeroInputMerged"],"groupsToNeverFullySuppress":[],"enabledScopesAlwaysWide":["All","Apps","Settings","Photos","Videos","Music","Documents","Folders","Web","PathCompletion","Emails","People"],"enabledScopes":["All","Apps","Settings","Photos","Videos","Music","Documents","Folders","Web","PathCompletion","Emails","People"],"scopesOrderBeginAlwaysWide":["All","Apps","Documents","Settings","Photos"],"scopesOrderBegin":["Apps","Documents","Web","Settings"],"scopesOrderLastAlwaysWide":["Web"],"scopesOrderLast":[],"rewardsLanguageEnabled":["de-de","en-au","en-ca","en-gb","en-us","es-es","fr-ca","fr-fr","it-it"],"rewardsCounterFactualLoggingLanguageEnabled":[],"highPriorityDataSources":{"MPP":true,"MST":true,"PP":true,"CG":true,"ST":true,"TOPP":true,"QSCH":true,"WWE":true},"lowPriorityDataSources":{"ODC":true,"SSEE":true,"SSEC":true,"SSUE":true,"SSUC":true},"suppressDataSources":{},"dataSourcesWithSuppressedTypes":{},"suppressTypes":{},"supportedCiMarkets":{"de-de":true,"en-au":true,"en-ca":true,"en-gb":true,"en-in":true,"en-us":true,"es-es":true,"es-mx":true,"fr-ca":true,"fr-fr":true,"it-it":true,"ja-jp":true,"pt-br":true,"zh-cn":true},"headRankingSignalsSupportedMarkets":{"de-de":true,"en-au":true,"en-ca":true,"en-gb":true,"en-in":true,"en-us":true,"es-es":true,"es-mx":true,"fr-ca":true,"fr-fr":true,"it-it":true,"ja-jp":true,"pt-br":true,"zh-cn":true},"enforceOriginalOrderForTypes":{"OLE":true,"PPL":true,"FL|8":true},"supportedQuickAnswersMarkets":{"de-de":true,"en-au":true,"en-ca":true,"en-gb":true,"en-in":true,"en-us":true,"es-es":true,"es-mx":true,"fr-ca":true,"fr-fr":true,"ja":true,"zh-hans-cn":true},"supportedTrendingSearchesMarkets":{"en-us":true},"liveTiles":{},"weatherTileMarkets":{},"supportedRecommendedSitesMarkets":{"en-us":true},"cancellationEnabled":1,"mruSignalsEnabled":1,"historySettingsPresent":1,"topHitAllowedForGridLayoutL2":1,"allowUpForScopes":1,"allowTabToSelectSuggestions":1,"wamSupported":1,"scopeOptions":1,"stickyTopResultsV2":1,"openOnKeybNavMiniSerp":1,"controlPanelSearchSettings":1,"honorSuppressedSuggestions":1,"settingsOnlineModuleEnabled":1,"isThemeAware":1,"enableSnipSearchV2":1,"blacklistNotepadCommand":1,"useNewActivityFeedAPI":1,"ignoreCortanaMarketOverride":1,"rewardsAnidAccrualEnabled":1,"allowAnswersToAutoOpenMiniSerp":1,"allowDNavToAutoOpenMiniSerp":1,"allowWebToAutoOpenMiniSerp":1,"useL2ProvidersInFileExplorer":1,"allowZeroLaunchTopApps":1,"firstMisspellingOnMatchedQuery":1,"enableStaticGroupRanking":1,"backStackSearchEnabled":1,"appCacheFallback":1,"quickSearchMomentInTime":1,"defaultTopApps":1,"setQueryKeyboardNavParamAvailable":1,"enableWWEUpsell":1,"indexedDBTimeout":250,"maxIndexedDBCursorIterations":100,"latencyTimeout":500,"latencyTimeoutForZeroInput":500,"minQueryLengthForWebProvider":0,"logQueueDumpInterval":500,"athenaKeyType":0,"inMemorySnRResponseCacheTTLSecs":900,"mruMaxAgeInDays":30,"mruLengthA":3,"mruLengthB":8,"maxMruA":2,"maxMruB":4,"maxMruZeroInput":15,"paneResizeDelay":100,"waitBetweenCIDownloadCallsInMins":600,"reloadAfterConversations":20,"d":0,"minSuggestionsPerGroup":3,"maxSuggestionsPerGroup":-1,"maxNumberOfTopResults":1,"ciVersion":65,"maxJLcm":5,"extraTopPadding":4,"enableCISpellerAtPrefixLength":4,"filterCICandidatesPrefixLength":3,"maxCISpellCorrectionCandidates":1,"minLengthForContentMatch":4,"minLengthForIBAonL1":3,"minLengthFor3SonL1":3,"maxNumberOfEmailsInTopResult":3,"queryProvenances":0,"enableFBMinQryLength":0,"minPrefixLengthLimitedFallback":0,"stickyConversationMinPrefixLength":0,"miniSERPRequestRetries":1,"miniSERPRequestTimeout":5000,"enableCISpeller":0,"maxPrefixLengthForSupp":0,"minPrefixDisableTopHitSW":0,"minPrefixLengthForMiniSerp":0,"minDelayForSnipSearch":2000,"screenshotUrlRequestTimeout":30000,"bypassFallbackOnMSBTopHit":0,"enableMRUHint":0,"maxDeviceItemCacheSize":50,"miniSerpRedirectTimeoutInMs":300000,"enableIndexerPrimingOnShown":0,"activityInZI":4,"activityInZISinglePane":3,"maxQuickSearches":4,"maxStaticQuickSearches":4,"itemsBeforeExpander":3,"openOnKeybNavMiniSerpDelay":250,"autoOpenMiniSerpDelay":750,"keepMiniSerpOpenDelay":250,"closePreviewPaneDelay":250,"numberOfScopesToRenderAlwaysWide":4,"numberOfScopesToRender":3,"searchHomeSupported":1,"activityFeedWindow":30,"webFbcScoreThreshold":0.4,"nonWebFbcScoreThreshold":0.1,"wtMaxGroupCCR":3.34728026,"wtMaxGroupProbSugClickGivenPref":3.523466,"wtMruGroupRatio":3.72204852,"wtMruGroupBackpropRatio":0.5865976,"wtMruGroupBackpropWeight":1.37432766,"wtLRBias":-1.75450325,"lRModelCutOff":0.5,"appsSettingsFbcScoreThreshold":0,"scopeMenuWidth":0.7,"blacklistedCiVersions":[66,67],"suppressedTopHitChildGroups":[0],"suppressedGroups":[],"webDataSourcesWithThrottling":{"ODC":500,"SSEE":500,"SSEC":500,"Web":0},"topHitChildGroups":{"16":3,"26":3,"28":3},"msShTlPfPt":{},"probabilityNextKeyStrokeThresholds":[0],"probabilityNextKeyStrokeDelays":[1000]};var AutoSuggest;(function (AutoSuggest) {AutoSuggest.config = sa_config;var WSB;(function (WSB) {(WSB).config = sa_config;})(WSB = AutoSuggest.WSB || (AutoSuggest.WSB = {}));})(AutoSuggest || (AutoSuggest = {}));;var findIndexPolyfill,findPolyfill,removePolyfill_1;Object.hasOwnProperty("assign")||(Object.assign=function(n){var i,t,r;if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(n=Object(n),i=1;i<arguments.length;i++)if(t=arguments[i],t!=null)for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n});Number.isInteger||(Number.isInteger=function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n});String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=!t||t<0?0:+t,this.substring(t,t+n.length)===n});String.prototype.endsWith||(String.prototype.endsWith=function(n,t){return(t===undefined||t>this.length)&&(t=this.length),this.substring(t-n.length,t)===n});String.prototype.includes||(String.prototype.includes=function(n){return this.indexOf(n)!=-1});String.prototype.repeat||(String.prototype.repeat=function(n){if(n<0)throw new Error("argument out of range");else return n?n==1?this.toString():this+this.repeat(n-1):""});
/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */
String.fromCodePoint||function(){var n=function(){try{var n={},t=Object.defineProperty,i=t(n,n,n)&&t}catch(r){}return i}(),i=String.fromCharCode,r=Math.floor,t=function(){for(var o,n,c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var t=[],s,h,f=-1,e=arguments.length;if(!e)return"";for(o="";++f<e;){if(n=Number(arguments[f]),!isFinite(n)||n<0||n>1114111||r(n)!=n)throw RangeError("Invalid code point: "+n);n<=65535?t.push(n):(n-=65536,s=(n>>10)+55296,h=n%1024+56320,t.push(s,h));(f+1==e||t.length>16384)&&(o+=i.apply(null,t),t.length=0)}return o};n?n(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t}();Array.prototype.findIndex||(findIndexPolyfill=function(n){"use strict";var i,r,u,t;if(this==null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof n!="function")throw new TypeError("predicate must be a function");for(i=this.length>>>0,r=arguments[1],t=0;t<i;t++)if(u=this[t],n.call(r,u,t,this))return t;return-1},Object.defineProperty(Array.prototype,"findIndex",{enumerable:!1,value:findIndexPolyfill}));Array.prototype.find||(findPolyfill=function(n){"use strict";if(this==null)throw new TypeError("Array.prototype.find called on null or undefined");var t=this.findIndex(n);return t<0?undefined:this[t]},Object.defineProperty(Array.prototype,"find",{enumerable:!1,value:findPolyfill}));Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.remove&&CharacterData.prototype.remove&&DocumentType.prototype.remove||(removePolyfill_1=function(){this.parentNode!==null&&this.parentNode.removeChild(this)},function(n){return n.forEach(function(n){n.hasOwnProperty("remove")||Object.defineProperty(n,"remove",{configurable:!0,enumerable:!0,writable:!0,value:removePolyfill_1})})}([Element.prototype,CharacterData.prototype,DocumentType.prototype]));var JsonInject;(function(n){function h(n){if(n){var i=n.Scripts,h=n.Styles,s=_d.head;i&&t(i.JsHeadTopmost,s,r,f,u);h&&(t(h.CssHeadNormal,s,e,null,o),t(h.CssHeadOverride,s,e,null,o));i&&(t(i.JsHeadNormal,s,r,f,u),t(i.JsBeforeContent,s,r,f,u))}}function c(n){var i,e;n&&(i=n.Scripts,i&&(e=_d.body,t(i.JsAfterContent,e,r,f,u),t(i.JsAfterOnLoad,e,r,f,u)))}function l(n){var u={},f={},t,i,r;if(n)for(t=0;t<n.length;t++)i=n[t],i&&i.Content&&(r=i.Content.ResourceKeys,r&&(s(u,r.Styles),s(f,r.Scripts)));return{StyleKeys:u,ScriptKeys:f}}function a(n,t,r){if(!n||!t)return null;var h=null,o=n.Styles,s=t.StyleKeys,c=r!=null?r.StyleKeys:null;o&&s&&(h={CssHeadNormal:i(o.CssHeadNormal,s,c),CssHeadOverride:i(o.CssHeadOverride,s,c)});var l=null,u=n.Scripts,f=t.ScriptKeys,e=r!=null?r.ScriptKeys:null;return u&&(l={JsHeadNormal:i(u.JsHeadNormal,f,e),JsHeadTopmost:i(u.JsHeadTopmost,f,e),JsBeforeContent:i(u.JsBeforeContent,f,e),JsAfterContent:i(u.JsAfterContent,f,e),JsAfterOnLoad:i(u.JsAfterOnLoad,f,e)}),{Styles:h,Scripts:l}}function v(n,t){var i=function(){SharedLogHelper.LogError("JsonInject","Failed to inject resource: "+n,t)};typeof SharedLogHelper!="undefined"?i():sj_be(_w,"load",i)}function t(n,t,i,r,u){var f="",h=function(){f.length>0&&(t.appendChild(i(f)),f="")},s,e,c,o;for(s in n)e=n[s],c=e.Content!=null,c?(o=e.Content,r&&(o=r(s,o)),f+=o):(h(),t.appendChild(u(e.Url)));h()}function e(n){var t=sj_ce("style");return t.type="text/css",t.innerHTML=n,t}function o(n){var t=sj_ce("link");return t.rel="stylesheet",t.type="text/css",t.href=n,t}function r(n){var t=sj_ce("script");return t.type="text/javascript",t.innerHTML=n,t}function u(n){var t=sj_ce("script");return t.type="text/javascript",t.src=n,t}function f(n,t){return"try{"+t+'}catch(e){JsonInject.HandleException("'+n+'",e)};'}function s(n,t){if(t)for(var i=0;i<t.length;i++)n[t[i]]=!0}function i(n,t,i){var u,r;if(!n)return null;u={};for(r in n)!t[r]||i&&i[r]||(u[r]=n[r]);return u}n.WriteHeadAndBeforeContentResources=h;n.WriteAfterContentResources=c;n.GetResourceKeys=l;n.FilterResources=a;n.HandleException=v})(JsonInject||(JsonInject={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/5d/r/nj/Dae9F3uWr1j96ciQZxvUiMLiQ20.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/5d/R/nj/HkpLvsXkCMkluzD--i9_Hl9v67o.js"></script><script type="text/javascript">//<![CDATA[
var _CachedFlights =["d-thshld39","d-thshldspcl40","d-thshld42","d-thshld77","d-thshld78"];;_w["feedback"] = _w["feedback"] || {}; _w["feedback"].config = _w["feedback"].config || {}; _w["feedback"].config.beta1FlightEnabled =false; _w["feedback"].config.postIgEnabled =false; _w["feedback"].config.internal =true; _w["feedback"].config.getFilesTimeout =3000; _w["feedback"].config.focusCortanaSearchBoxOnFeedbackClosed =false; _w["feedback"].config.capturePage =true; _w["feedback"].config.requestScreenshotAPIAllowed =true;;var sa_acConfig = "5393b918";;var AppCacheState;(function(n){function e(){sj_cook.set(f,"CPID",sb_gt().toString(),!1,"/");sj_cook.set(f,"AC",_w.applicationCache.status+"",!1,"/");t&&sj_cook.set(f,"CPH",t,!1,"/")}function h(){r=sj_cook.get(u,"IPMH")}function s(){r&&r!==""&&(t=r);sj_cook.set(u,"LUT",sb_gt().toString(),!0,"/");e()}function o(){r="";e()}function c(){return _w.sa_acConfig}function l(){if(t){var n=sj_cook.get(u,"IAC"),i="";n&&n!==""?n.indexOf(t)<0&&(i=t+","+n):i=t;i!==""&&sj_cook.set(u,"IAC",i,!0,"/")}}var f="_SS",u="SRCHHPGUSR",i=_w.applicationCache,t=_w.sa_acConfig,r="";e();sj_be(i,"downloading",h);sj_be(i,"updateready",s);sj_be(i,"cached",s);sj_be(i,"noupdate",o);sj_be(i,"obsolete",o);sj_be(i,"error",o);n.GetRunningAppCacheVersion=c;n.MarkAppCacheVersionAsInvalid=l})(AppCacheState||(AppCacheState={}));
//]]></script><div id="rootContainer"><div id="root" class='b_hide webResultsButton' x-ms-format-detection="none"><div id="dialogBoxWrapper" aria-live="assertive"><div id="dialogBox"></div></div><progress id="b_progress" class="b_progressBar accentColor b_hide"></progress><div class="scr"><div id="messageContainer"></div><div id="menuContainer" class="b_hide"></div><div id="scopesHeader" class="searchScopes"></div><div class="resultsContainer"><div id="qfContainer"><div id="temporaryMessageWrapper" class="b_hide" aria-live="assertive"><div id="temporaryMessage" data-region="TemporaryMessage"></div></div><div id="narratorMessageContainer"></div><div id="topHitHeader"></div><div id="suggestionsList" class="suggestions" data-region="Core" role="listbox"><div id="topResults" data-region="TopHit"></div><div id="groups"></div></div></div><div id="qfPreviewPane" class="b_hide"><div id="forceLoadMessage" class="b_hide"><div class="forceLoadPlaceHolder"><div></div></div></div><div id="loadingScreen" class="b_hide"><div class="algoPlaceHolder"><div></div></div><div class="algoPlaceHolder"><div></div></div><div class="algoPlaceHolder"><div></div></div><div class="algoPlaceHolder"><div></div></div></div><footer id="footer" class="focusable b_hide" tabindex="0" role="button"><div id="seeAllResults"></div></footer><div id="qfPreviewScrollArea"><div id="previewContainer"></div><div id="feedbackContainer"></div></div></div></div></div></div></div><div id="cssCanary"></div><script type="text/javascript" >//<![CDATA[
_G.FCT=new Date;
//]]></script><script type="text/javascript" >//<![CDATA[
_G.BCT=new Date;
//]]></script><script type="text/javascript">//<![CDATA[
(function(){function i(n,t,i,e,o){var s,h;n&&(s=f(n,e),_w.Log2?(Log2.LogEvent(s.eventType,s.data,null,null,null,null,null,null,o),_w.ThresholdUtilities&&(h=_w.ThresholdUtilities,h.uploadApiTimes("PCE")),e===0&&u()&&(sj_evt.fire("visibility",document.hidden),Log2.ForceFlush(),_w.clickFlushedTime=sb_gt())):r(n))}function r(t){n?n(t):document.images&&(_G.GPImg=new Image,_G.GPImg.src=_G.gpUrl+"IG="+_G.IG+(_G.CID?"&CID="+_G.CID:"")+"&TS="+(new Date).getTime()+t)}function u(){if(_w.event&&_w.event.srcElement){for(var n=_w.event.srcElement;!n.href;)if(n.parentElement)n=n.parentElement;else return!1;if(n.href.split("#")[0]!==_d.URL.split("#")[0])return!0}return!1}function f(n,i){var r=n.match(t),u;if(r)return u={eventType:"Click",data:{AppNS:r[1],K:r[2],Case:i}},r[4]&&(u.data.Properties=JSON.parse(r[4])),u;throw new Error("hValue passed to click tracking was unable to be parsed: "+n);}var t=/ID=(\w+(?:\.\d+)?),(\d+(?:\.\d+)*)(&PR=(.*))?/i,n=_w.si_T;_w.si_T=i})();var customEvents=require("event.custom");customEvents.fire("onHTML");(function(n,t){onload=function(){_G.BPT=new Date;n&&n();var r=new Date,i=function(){t(r);sj_evt.unbind("ajax.threshold.pageStart",i)};sj_evt.bind("ajax.threshold.pageStart",i);_w.si_PP=function(){};sb_st(function(){sj_evt.fire("onPP");sj_evt.fire(_w.p1)},0)}})(_w.onload,_w.si_PP);sj_be(_d,"mousewheel",function(n){n.ctrlKey==!0&&sj_pd(n)});sj_be(_d,"keydown",function(n){n.ctrlKey==!0&&(n.keyCode==107||n.keyCode==109||n.keyCode==187||n.keyCode==189)&&sj_pd(n)});BM.trigger();var LockScreenDetection;(function(){var n=SearchAppWrapper;n&&n.CortanaApp&&n.CortanaApp.isAmbientMode&&sb_de.classList.add("b_trans")})(LockScreenDetection||(LockScreenDetection={}));1;
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6t/4s/cj,nj/76cY4KRkOibt0aglArqyVs8Pi8c.js"></script><script type="text/javascript">//<![CDATA[
(function(){_w.GetUxClassificationSection=function(){return{client:"windows"}}})();var Instrumentation;(function(n){function f(n){t=n;sj_evt.fire("ClientInst.PageInstInfo",y)}function e(n,t,i){if(_w.Log2){if(t){var r=DsLManager.CreateLayoutNode(t,"SERP",!1,!1,!1);r&&(n.layoutNodes=r)}v(n,i);Log2.LogMasterPageImpression(n)}}function o(n,t){var i=_w.location.href,r=DsLManager.GetNewDataSources(t?t:_G.IG);return{dataSources:r,layoutNodes:[],pageName:n,rawQuery:ThresholdUtilities.getDecodedQuery(),isQuery:!0,form:ThresholdUtilities.getUrlParameter(i,"form"),impressionUrl:i,appName:u}}function s(n,t){return DsLManager.LogUpdatedLayoutCentralizedDataSources(n,"SERP",t,!1)}function h(n,t,i,r){return DsLManager.CreateDataSourceItem("SERP",n,t,i,r)}function c(n,t,i,r){return DsLManager.CreateDataSourcesRoot("SERP","D.MyStuff",n,t,i,r)}function l(n,t,i){return DsLManager.CreateInstrumentedItem("SERP",n,t,i)}function a(n){return DsLManager.CreateInstrumentedItemFromDs(n)}function v(n,t){var r={MUID:sj_cook.get("MUID","MUID")},i,u;if(typeof AppCacheState!="undefined"&&AppCacheState.GetRunningAppCacheVersion&&(r.ACVer=AppCacheState.GetRunningAppCacheVersion()),t)for(i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);n.enrichedClientInfo=r;u=GetUxClassificationSection();u&&(n.uxClassification=u)}function y(n){var f,o,u,e;if(t){f=n.enrichedClientInfo;f||(f={},n.enrichedClientInfo=f);for(u in r)r.hasOwnProperty(u)&&!f[u]&&(e=t[r[u]],e&&(f[u]=e));o={};for(u in i)i.hasOwnProperty(u)&&(e=t[i[u]],e&&(o[u]=e));n.userInfoOverrides=o}}var t=null,u="SmartSearch",i,r;ThresholdUtilities.getCortanaHeaders(f);i={Make:"X-Device-Manufacturer",Model:"X-Device-Product","Loc/RT":"X-Search-Location"};r={DeviceID:"X-Device-MachineId",IsTouch:"X-Device-Touch",DeviceSKU:"X-Device-SKU",OSSKU:"X-Device-OSSKU",ConnectionType:"X-Device-NetworkType",ClientMarket:"X-BM-RegionalSettings",AppLifetimeID:"X-Device-ClientSession",CortanaOptIn:"X-Device-IsOptIn",CortanaCapabilities:"X-Search-CortanaAvailableCapabilities",ClientState:"X-BM-ClientState"};ClientInstConfig.waitForPageInfo=!0;ClientInstConfig.isInstrumentationEnabled=SearchAppWrapper.CortanaApp.isBingEnabled;sj_evt.bind("ajax.threshold.pageStart",function(){ClientInstConfig.isInstrumentationEnabled=SearchAppWrapper.CortanaApp.isBingEnabled});n.LogPageImpression=e;n.CreatePageImpression=o;n.LogUpdatedLayoutCentralizedDataSources=s;n.CreateDataSourceItem=h;n.CreateDataSourcesRoot=c;n.CreateInstrumentedItem=l;n.CreateInstrumentedItemFromDs=a})(Instrumentation||(Instrumentation={}));_w.ThresholdInst=Instrumentation;var AutoSuggest;(function(n){var t=function(){function t(t,i){var r=this;this._cache={};t.bindAppHidden(function(){return r.clean(n.getCurrentDate())});i.bindItemLaunch(function(n){n.handoffType==0&&t.canHaveSearchHistory()&&r.removeCachedResponsesForClick(n.query.toLocaleLowerCase())});this._TTL=n.config.inMemorySnRResponseCacheTTLSecs*1e3}return t.prototype.get=function(t){if(!t)return undefined;var i=this._cache[t.getCacheKey()],r=n.getCurrentDate();return this.responseIsValid(r,i)?(this.clean(r),i.response):undefined},t.prototype.put=function(t,i){if(t&&i){var r=n.getCurrentDate(),u={timestamp:r,response:i,queryText:t.queryToFetch.toLocaleLowerCase()};this._cache[t.getCacheKey()]=u;this._lastInsertDate=r;this._oldestInsertDate||(this._oldestInsertDate=r)}},t.prototype.clean=function(n){var f=this._oldestInsertDate?this.datesWithinTTL(n,this._oldestInsertDate):!1,u,t,r,i;if(f){if(u=!this.datesWithinTTL(n,this._lastInsertDate),u){this._cache={};this._oldestInsertDate=undefined;this._lastInsertDate=undefined;return}t=n;for(r in this._cache)i=this._cache[r],this.responseIsValid(n,i)?i.timestamp.getTime()<t.getTime()&&(t=i.timestamp):delete this._cache[r];this._oldestInsertDate=t}},t.prototype.removeCachedResponsesForClick=function(n){var r=!1,t,u,i;for(t in this._cache)u=this._cache[t].queryText,n.startsWith(u)&&(i=this._cache[t].timestamp,(i==this._oldestInsertDate||i==this._lastInsertDate)&&(r=!0),delete this._cache[t]);r&&this.resetOldestAndLastDates()},t.prototype.resetOldestAndLastDates=function(){var t,n;this._oldestInsertDate=undefined;this._lastInsertDate=undefined;for(t in this._cache)n=this._cache[t].timestamp,this._oldestInsertDate||(this._oldestInsertDate=n,this._lastInsertDate=n),this._oldestInsertDate>n&&(this._oldestInsertDate=n),this._lastInsertDate<n&&(this._lastInsertDate=n)},t.prototype.responseIsValid=function(n,t){if(!t)return!1;var i=t.timestamp;return this.datesWithinTTL(n,i)},t.prototype.datesWithinTTL=function(n,t){return n.getTime()-t.getTime()<=this._TTL},t}();n.InMemoryResponseCacheManager=t})(AutoSuggest||(AutoSuggest={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" data-ajaxResKey="rms:answers:AriaTelemetry:AriaTelemetry" onload="window&amp;&amp;window.sj_evt&amp;&amp;sj_evt.fire(&quot;OnScriptLoad:AriaTelemetry&quot;);var AriaTelemetry;(function(n){var t=function(){return sj_evt.fire(&quot;OnScriptLoad:AriaTelemetry&quot;)},i;t(),function(n){n.ariaTelemetryOnScriptLoad||sj_evt.bind(&quot;ajax.load&quot;,t);n.ariaTelemetryOnScriptLoad=!0}(i=n.Impl||(n.Impl={}))})(AriaTelemetry||(AriaTelemetry={}))" src="/rs/z/e/cj,nj/UAraPktKl10pbSBJ1Tu-cJX2-nc.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/6t/cj,nj/CK6en3gTPfRx19-Qqlp47LDEFfA.js?bu=HJcCrAGSAr0CjAKbAp4CvwLFAsECwwK2AbgB9wH5AcgCpAL8Aa4CtQK3Au8CygKOApIDkAPVAXc"></script><script type="text/javascript">//<![CDATA[
1;
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/5Q/O/cj,nj/-5z8nlwdO3-sKtcd1Ec4Vs6fOSg.js"></script><script type="text/javascript">//<![CDATA[
var SearchAppWinJS;(function(n){n.initXYFocus=function(n){WinJS_Init(n,n)}})(SearchAppWinJS||(SearchAppWinJS={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/6t/cj,nj/liOctM4xnQvcFnZr819b_63OsM8.js?bu=GskD5gLoAuwC6gLQAs0CswKFAoICrALSAtQC1gJ3qgKQAtsE0wSXA_oD5ALcAnd3dw"></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/6t/cj,nj/hpbM2QkJ4gtObRTkU-xHHNq27UQ.js?bu=B_UCjAOOA3d3d3c"></script><script type="text/javascript">//<![CDATA[
1;1;
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6t/55/cj,nj/qPIUISqW_Wpjl-AkuEypPDYyI2Q.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6t/4V/cj,nj/0HXr4eXrf2RTAdWEP6LmVK5wRpE.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6t/3I/cj,nj/py6uuxAfBHi8Nhid2QMD-C5FSSM.js"></script><script type="text/javascript">//<![CDATA[
1;1;1;var AutoSuggest;(function(n){var t;(function(n){var t=/[0-9a-zA-Z]/,i=/\s+/g,r=function(){function r(n,t){var i=this;this._accessTokenManager=t;n.bindAccessTokenAvailable(function(n){i.getProfilePictureToken(n,function(){})})}return r.prototype.getProfilePictureToken=function(n,t){this._accessTokenManager.getAccount(n,n==1?"https://outlook.office.com/":"https://outlook.office.com/User.ReadWrite",!1,!0,function(n){return t(n?n.Token:null)})},r.prototype.getProfilePictureIconInternal=function(t,i,r,u){return n.Promise.safeChainWithGlobalCaching("getProfilePictureIcon",function(){return ThresholdUtilities.createPromise(function(u){return t(function(t){var f,e,o;if(!t){u(null);return}f=SearchAppWrapper.CortanaApp.createStringMap();e=SearchAppWrapper.CortanaApp.createStringMap();f.Authorization="Bearer "+t;i==0&&(f["X-AnchorMailbox"]=r);o=i==1?"https://substrate.office.com/api/v2.0/Users('"+r+"')/photo/$value":"https://substrate.office.com/profile/v0/users/"+r+"/image/$value";n.Promise.safeChain("getProfilePictureIcon",function(){return SearchAppWrapper.CortanaApp.makeHttpRequestAsync(0,o,f,"",e)},function(t){if(t.statusCode!==200){u(null);return}n.Promise.safeChain("getProfilePictureIcon",function(){return t.readAsStreamAsync()},u,function(){return u(null)})},function(){return u(null)})})})},function(){return r+"_icon"},function(t){var i=n.toIcon(t,"getProfilePictureIcon",u);return i&&(i.className="peopleIcon"),i},u)},r.prototype.getProfilePictureIconForToken=function(n,t,i,r){return this.getProfilePictureIconInternal(function(n){return n(t)},n,i,r)},r.prototype.getProfilePictureIcon=function(n,t,i){var r=this;return this.getProfilePictureIconInternal(function(t){return r.getProfilePictureToken(n,t)},n,t,i)},r.prototype.getPersonDefaultIcon=function(n){var r,u=n.trim().replace(i," ").split(" ",2),f,e;return u.length>0&&(f=u[0][0],t.test(f)&&(r=f),u.length==2&&(e=u[1][0],r&&t.test(e)?r+=e:r="")),{type:r?5:2,content:r?r.toUpperCase():"&#xE77B",className:"peopleIcon"}},r}();n.SubstrateProfilePictureProvider=r})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));var AutoSuggest;(function(n){var t;(function(t){var i="pp_",r=100,u=200,f=function(){function f(t,i,r){var u=this;this._page=t;this._host=i;this._sections=[];this._selectedItemIndex=-1;this._scrollArea=_ge("qfPreviewScrollArea");this._itemClickEventHandler=function(t,i){var r=document.getSelection();r.toString()&&r.focusNode==i.target||t.click(n.getCurrentTime(),n.getInputType(i))};this._contextMenuHandler=function(t,i,f){i&&(i.pageX||i.pageY)?n.safeExecute(function(){return r.showContextMenuOnXY(t,i.pageX,i.pageY,function(){return u.focus(!1)},f)},"contextMenuHandler"):n.safeExecute(function(){return r.showContextMenuOnElement(t,f?_ge(f.id):_ge(t.id),function(){return u.focus(!1)},f)},"contextMenuHandler")};i.bindSearchBoxGotFocus(function(){u.blur()});i.bindKeyDown(function(n){u.hasFocus()&&(n==36||n==35)&&u.selectFirstOrLastItem(n==36)})}return f.prototype.init=function(t){var i=this;this._previewPaneViewModelParent=t;this._suggestionClickEventHandler=function(t,r){var u=n.getCurrentTime(),f=n.getInputType(r);i._previewPaneViewModelParent.onBeforeItemLaunch(u,f,4,null);t.click(u,f);i._previewPaneViewModelParent.onAfterItemLaunch(4)}},f.prototype.finalizeKeystroke=function(){this.instrumentOnPreviewPaneRendered(!1,!0)},f.prototype.instrumentOnPreviewPaneRendered=function(n,t){if(this._timestampFirstRender&&this._onPreviewPaneRendered){var i={firstRenderTS:this._timestampFirstRender,layout:this.getLayoutDataForPPRenderedInstrumentation()};this._onPreviewPaneRendered(t,!n,i)}},f.prototype.update=function(t,i,r,u,f,e){var o=this,h,s;f&&!e&&(this.instrumentOnPreviewPaneRendered(!1,!0),this._onPreviewPaneRendered=f,this._timestampFirstRender=null,this._settingsOnlineModules=[],this._settingsOnlineModulesRetrieved=!1);this._previewPaneId=u;this._previewedSuggestion=t;this._sections=[];this._hasPreviewIconBeenSet=!1;this._haveActionsBeenFetched=!1;this._sectionRetrieved_jumplist=!1;this._sectionRetrieved_settingsFaq=!1;this._sectionRetrieved_settingsRelatedSettings=!1;this._allSectionsRetrieved=function(){return o._sectionRetrieved_jumplist&&o._sectionRetrieved_settingsFaq&&o._sectionRetrieved_settingsRelatedSettings};h=e&&this.hasFocus();s=function(t){o._previewPaneViewModelParent.onResponseReceived(n.getCurrentTime());t?o.delayedRender():o.render();(o._previewPaneViewModelParent.focusPending||h)&&(o._previewPaneViewModelParent.focusPending=!1,o.focus(!1))};t&&this.updateSelection(t,i,function(){return u==o._previewPaneId&&t==o._previewedSuggestion},function(){return s(!1)},function(){return s(!0)})},f.prototype.setPreviewIcon=function(i,r,f,e,o){var s=this,h=typeof ClientTestHooks!="undefined"&&ClientTestHooks&&ClientTestHooks.isTesthookParamSet("isTest"),c=h&&ClientTestHooks.isTesthookParamSet("DisablePreviewGetIcon"),l;c||(l=t.config.largePhotoIcon&&i.type=="LI"?5:4,i.getIcon(l,function(n){s._hasPreviewIconBeenSet=!0;i.previewIcon=n;t.populateImageRatio(i.previewIcon,i.type,function(){return s.getActions(r,e,o,f)})}));(c||!h)&&n.safeSetTimeout(function(){s._hasPreviewIconBeenSet||(s._hasPreviewIconBeenSet=!0,i.previewIcon=t.ScopeConfig[t.getScope(t.getGroupType(i))].icon,t.populateImageRatio(i.previewIcon,i.type,function(){return s.getActions(r,e,o,f)}))},u,"setPreviewIcon")},f.prototype.updateSelection=function(n,t,i,r,u){n.getIcon?this.setPreviewIcon(n,t,i,r,u):(n.icon&&(n.previewIcon={content:n.icon.content,type:n.icon.type,bgColor:n.icon.bgColor,needsAccentColor:!0,ratio:n.icon.ratio,className:n.icon.className}),this.getActions(t,r,u,i))},f.prototype.hasFocus=function(){return!!this._selectedItem},f.prototype.focus=function(n){var t=this.getSelectableItems(),i,r;t.length>0?(i=n?0:this._selectedItemIndex!=-1?this._selectedItemIndex:0,r=t[i],this.select(r,!1),this._host.searchBoxHasFocus()&&this._host.setFocusInWebView("localPP focus")):this._previewPaneViewModelParent.focusPending=!0},f.prototype.readyToBlur=function(){return!0},f.prototype.blur=function(){this._selectedItem&&(this._selectedItem.selected=!1,this._selectedItem=null,this.render())},f.prototype.clear=function(){this._selectedItem=null;this._selectedItemIndex=-1;this._previewedSuggestion=null;this._onPreviewPaneRendered=null;this._sections=[];this._settingsOnlineModules=[];this._settingsOnlineModulesRetrieved=!1;sb_ct(this._renderTimer);this._hasPreviewIconBeenSet=!1;this._renderTimer=null;this.render()},f.prototype.getSelectableItems=function(){return[].concat.apply([],this.getSelectableItemsByGroup())},f.prototype.getSelectableItemsByGroup=function(){for(var n,t,f,s,r,e,h,i=[],u=0,o=this._sections;u<o.length;u++)n=o[u],t=[],t=t.concat(n.items),f=n.collapsedItems.length>0,f&&(s=_ge(n.collapsedItems[0].id).classList,s.contains("collapsedItem")||(t=t.concat(n.collapsedItems))),i.push(t),f&&i.push([n.expander]);for(r=0,e=this._settingsOnlineModules;r<e.length;r++)h=e[r],i.push(h.settingLinks);return i},f.prototype.getSelectedItem=function(){return this._selectedItem},f.prototype.select=function(n,t){var r,i;if(t){SharedLogHelper.LogError("selectPreviewPaneItem",null,new Error("Can't update search box value when selecting preview pane item"));return}this._selectedItem==n&&this._selectedItem.selected||(this._selectedItem&&(this._selectedItem.selected=!1),n&&(r=this.getSelectableItems().findIndex(function(t){return t==n}),r<0?SharedLogHelper.LogError("LocalPreviewPane.Select",null,new Error("select called on unknown item")):(n.selected=!0,this._selectedItem=n,this._selectedItemIndex=r,this.render(),i=_ge(n.id),i&&(i.focus(),this._page.scrollToElement(i,this._scrollArea,this._scrollArea.offsetHeight)))))},f.prototype.onAfterKeyDown=function(t,i){return n.isContextMenuKey(t,i.shiftKey)?(this._contextMenuHandler(this._previewedSuggestion,null,this._selectedItem),!0):!1},f.prototype.selectFirstOrLastItem=function(n){var t=this.getSelectableItems(),i;t.length!=0&&(i=n?0:t.length-1,this.select(t[i],!1))},f.prototype.getDataModel=function(){if(this._previewedSuggestion){var n=this._previewedSuggestion.uninstallationInProgress?{messageText:this._host.getLocString("UninstallationInProgress",HitHighlightingParser.removeMarkers(this._previewedSuggestion.text))}:null;return{suggestion:this._previewedSuggestion,sections:this._sections,suggestionClickHandler:this._suggestionClickEventHandler,itemClickHandler:this._itemClickEventHandler,contextMenuClickHandler:this._contextMenuHandler,settingsOnlineModules:this._settingsOnlineModules,messageDataModel:n}}return null},f.prototype.render=function(){this._page.updatePreviewContainerView(this.getDataModel());this._previewedSuggestion&&(this._timestampFirstRender||(this._timestampFirstRender=n.getCurrentTime()),this.instrumentIfAllSectionsRetrieved())},f.prototype.instrumentIfAllSectionsRetrieved=function(){this._previewedSuggestion&&this._allSectionsRetrieved()&&this.instrumentOnPreviewPaneRendered(!0,!1)},f.prototype.delayedRender=function(){var t=this;this._renderTimer||(this._renderTimer=n.safeSetTimeout(function(){t.render();t._renderTimer=null},r,"delayedRender"))},f.prototype.getActions=function(i,r,u,f){var o=this,e;if(f()){if(this._haveActionsBeenFetched){r();return}this._haveActionsBeenFetched=!0;e=this._previewedSuggestion;this.addToSection(this.createSyntheticAction(e),null,this._host.getLocString("ActionsSection"));t.config.settingsOnlineModuleEnabled&&t.isSetting(e.type)&&e.deviceItem&&!this._settingsOnlineModulesRetrieved?n.fetchUrlJson(this.getRelatedSearchUrl(e.deviceItem.id,t.uiLanguageCache),null,null,function(n){return o.createSettingOnlineModules(n,f)}):(this._sectionRetrieved_settingsFaq=!0,this._sectionRetrieved_settingsRelatedSettings=!0);t.getVerbsAsync("PreviewPaneExtraActions",e,t.config.rawVerbs,!0,function(n){return o.processVerbs(n,i,r,u,f)},f)}},f.prototype.processVerbs=function(n,i,r,u,f){var k=this,w,l,h,v,b,y,c,p,e;if(f()){w=this._host.getLocString("ActionsSection");l=this._previewedSuggestion;n=t.extendVerbs(n,l,this._page,this._host,function(){return k.render()});var s=-1,o=-1,a=0;for(h=0,v=n;h<v.length;h++)e=v[h],e.verb==="copy"&&(s=a),e.verb==="S_CopyFullPath"&&(o=a),a++;for(s!=-1&&o!=-1&&(e=n[o],s<o?(n.splice(o,1),n.splice(s+1,0,e)):(n.splice(s+1,0,e),n.splice(o,1))),b=function(n){if(n.verb){var t=y.createAction(n);n.getIcon&&n.getIcon(1,function(n){t.icon=n;u()});y.addToSection(t,null,w)}},y=this,c=0,p=n;c<p.length;c++)e=p[c],b(e);this.processChildSuggestions(l,i,function(){f()&&u()});this._sectionRetrieved_jumplist=!0;r()}},f.prototype.createSyntheticAction=function(i){var r="",u;return r=i.type=="PPL"&&t.windowsAccountType!=2?this._host.getLocString("OpenContact"):i.previewPaneType==1?this._host.getLocString("OpenInBrowser"):this._host.getLocString("Open"),u={verb:t.JumplistActionItemType[t.JumplistActionItemType.S_Open],displayName:r,icon:{type:2,content:"&#xE8A7"},executeSync:function(){return i.click(n.getCurrentTime(),0)}},this.createAction(u,t.GroupType.JumpListSynthetic)},f.prototype.createAction=function(r,u){var f=this,e=t.JumplistActionItemType[r.verb],o={ppId:this._previewPaneId,st:u||t.GroupType.JumpListActions,vbt:e||undefined,vbr:e?undefined:r.verb};return{id:i+r.verb,text:r.displayName,click:function(i,u){var e=5;f._previewPaneViewModelParent.onBeforeItemLaunch(i,u,e,o);if(r.executeSync){n.safeExecute(function(){return r.executeSync()},"verb.executeSync",null,r.verb);f._previewPaneViewModelParent.onAfterItemLaunch(e)}else t.Promise.safeChain("verb.executeAsync",function(){return r.executeAsync()},function(){return f._previewPaneViewModelParent.onAfterItemLaunch(e)},null,null,r.verb)},icon:r.icon,selected:!1,narratorText:r.displayName,instData:o}},f.prototype.createAnnotation=function(t,i){var r=t?unescape(t.replace("file:///","")):"",u=r.indexOf("?"),f,e,o;return u!=-1&&(r=r.substr(0,u)),n.isHttpProtocol(r)||(f=r.toLocaleLowerCase(),e="https:",f.includes(e)?(u=f.indexOf(e),r=r.substr(u,r.length)):(o=/\//gi,r=r.replace(o,"\\")),r=r.replace("\\"+i,"")),r},f.prototype.processChildSuggestions=function(n,r,u){var o=this,e;if(n.previewPaneType!=1||t.RuntimeConfig.MiniSERPMode!=0){if(n.calculateChildSuggestions&&n.calculateChildSuggestions(),n.childSuggestions){var s=1,h=function(e){var h=n.childSuggestions[e],l=h.groupType==t.GroupType.JumpListTasks,a={ppId:f._previewPaneId,st:h.groupType},c={id:i+n.id+"_"+e,text:HitHighlightingParser.removeMarkers(h.text),click:function(n,t){var i=l?5:6;o._previewPaneViewModelParent.onBeforeItemLaunch(n,t,i,a);h.click(n,t);o._previewPaneViewModelParent.onAfterItemLaunch(i)},icon:h.icon,selected:!1,narratorText:h.narratorText,annotationClass:"annotation",isJumpListTaskItem:!!l,instData:a},v=void 0,y=void 0;if(!l){var w=h,b=w.jumpListItem,p=t.getGroupTitleAndNarratorText(r,f._host,h.groupType,h,null);c.tooltip=h.tooltip;v=p.title;y=p.narratorText;t.config.doubleLinePreviewJumpList?(c.annotation=f.createAnnotation(b.path,c.text),c.annotationClass+=" lastAccessedText"):c.annotation=h.additionalInfoText}h.getIcon&&h.getIcon(1,function(n){c.icon=n;t.populateImageRatio(c.icon,h.type,function(){return u()})});f.addToSection(c,v,y,l?s++:null)},f=this;for(e=0;e<n.childSuggestions.length;e++)h(e)}t.config.itemsBeforeExpander&&this.processItemsForExpander()}},f.prototype.addToSection=function(n,t,i,r){var u=this._sections.find(function(n){return(n.title||"")==(t||"")});u?typeof r=="number"?u.items.splice(r,0,n):u.items.push(n):(u={title:t,narratorText:i,items:[n],collapsedItems:[],expander:null},this._sections.push(u))},f.prototype.processItemsForExpander=function(){var n;if(this._sections.length!=0){var r=function(n,t,i){n.pi=t;i&&(n.c=1)},i=this._sections.length,u=1,f=function(n){var f=e._sections[n],o=f.items,c,l,h,a,s,v;if(n==0){for(c=!1,l=!1,h=0;h<o.length;++h)if(a=o[h],a.instData.st==t.GroupType.JumpListTasks){l=!0;break}else a.instData.st==t.GroupType.JumpListActions&&(c=!0);f.sectionType=l?t.GroupType.JumpListTasks:c?t.GroupType.JumpListActions:t.GroupType.JumpListSynthetic}else f.sectionType=f.items[0].instData.st;if(n==0)for(s=0;s<o.length;s++)s!=0&&!o[s].isJumpListTaskItem&&(i!=1||o[1].isJumpListTaskItem)&&(f.collapsedItems=o.splice(s),f.expander={id:"expander"+u++,selected:!1,text:null});else i!==n+1&&o.length>t.config.itemsBeforeExpander+1&&(f.collapsedItems=o.splice(t.config.itemsBeforeExpander),f.expander={id:"expander"+u++,selected:!1,text:null});v=0;f.items.forEach(function(n){return r(n.instData,v++,!1)});f.collapsedItems.forEach(function(n){return r(n.instData,v++,!0)})},e=this;for(n=0;n<i;n++)f(n)}},f.prototype.getLayoutDataForPPRenderedInstrumentation=function(){var t={sectionTypes:[],sectionLengths:[]},i,u,r,f,n;if(this._sections)for(i=0,u=this._sections;i<u.length;i++)n=u[i],t.sectionTypes.push(n.sectionType),t.sectionLengths.push(n.items.length+n.collapsedItems.length);if(this._settingsOnlineModules)for(r=0,f=this._settingsOnlineModules;r<f.length;r++)n=f[r],t.sectionTypes.push(n.sectionType),t.sectionLengths.push(n.settingLinks.length);return t.sectionTypes.length>0?t:undefined},f.prototype.onAnyOptionClick=function(n){this.select(n,!1);this.hasFocus||this.focus(!1)},f.prototype.getRelatedSearchUrl=function(t,i){return"/PPRelatedSearch?query="+n.encodeQueryParameter(t)+"&lang="+n.encodeQueryParameter(i)},f.prototype.createSettingOnlineModules=function(n,t){t()&&(this._settingsOnlineModulesRetrieved=!0,this.createSettingFaqModule(n),this.createSettingRelatedSettingsModuleAsync(n,t))},f.prototype.createSettingFaqModule=function(n){var u=this,o=this._host.getLocString("SettingsFAQModuleHeader"),i=n&&n.SettingPageQnAs,r,e;if(i&&i.length>0){var f=[],s=function(n){var r=i[n],e,o;r.Query&&r.BingIALink&&(e={ppId:h._previewPaneId,st:t.GroupType.JumpListSettingsFaq,pi:n},o={id:"faq"+n,narratorText:r.Query,selected:!1,text:r.Query,click:function(n,t){var i=9;u._previewPaneViewModelParent.onBeforeItemLaunch(n,t,i,e,0);u._host.launchUri(r.BingIALink);u._previewPaneViewModelParent.onAfterItemLaunch(i)},instData:e},f.push(o))},h=this;for(r=0;r<i.length;++r)s(r);f.length>0&&(e={header:o,settingLinks:f,sectionType:t.GroupType.JumpListSettingsFaq},this._settingsOnlineModules.push(e),this.render())}this._sectionRetrieved_settingsFaq=!0;this.instrumentIfAllSectionsRetrieved()},f.prototype.createSettingRelatedSettingsModuleAsync=function(n,i){var r=this,f=this._host.getLocString("RelatedSettingsModuleHeader"),u=n&&n.SettingPageRelatedSettingsIds;u&&u.length>0?t.LocalDataProvider.getSettings(u,function(n){var e,s,o,h;if(i()){for(e=[],s=function(i){var s=u[i],f=n[s],o,h;f&&(o={ppId:r._previewPaneId,st:t.GroupType.JumpListSettingsRelatedSettings,pi:i},h={id:s,narratorText:f.deviceItem.displayName,selected:!1,text:f.deviceItem.displayName,click:function(n,t){var i=9;r._previewPaneViewModelParent.onBeforeItemLaunch(n,t,i,o);r._host.launchDeviceItem(f.deviceItem,"THST");r._previewPaneViewModelParent.onAfterItemLaunch(i)},instData:o},e.push(h))},o=0;o<u.length;++o)s(o);e.length>0&&(h={header:f,settingLinks:e,sectionType:t.GroupType.JumpListSettingsRelatedSettings},r._settingsOnlineModules.push(h),r.render());r._sectionRetrieved_settingsRelatedSettings=!0;r.instrumentIfAllSectionsRetrieved()}}):(this._sectionRetrieved_settingsRelatedSettings=!0,this.instrumentIfAllSectionsRetrieved())},f}();t.WSBLocalPreviewPaneViewModel=f})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));1;var ImageProcessor;(function(n){function o(n,r,u,f,e){(f===void 0&&(f=t),e===void 0&&(e=i),n)&&c(n,function(t){h(t,n,r,u,f,e)})}function s(n,e,o,s,h){if(s===void 0&&(s=t),h===void 0&&(h=i),!n){o();return}var c=u();if(!c){o();return}f(n,c,r,e,o,s,h)}function u(){var n=sj_ce("canvas");return n.getContext?n:null}function h(n,r,e,o,s,h){var c,l;(s===void 0&&(s=t),h===void 0&&(h=i),c=u(),c)&&(l=new FileReader,l.readAsDataURL(r),l.onload=function(){f(this.result,c,n,e,o,s,h)})}function f(n,r,u,f,e,o,s){o===void 0&&(o=t);s===void 0&&(s=i);var h=new Image;h.src=n;h.onload=function(){var e=this,c;if(!e.width||!e.height)return null;var t=e.width,i=e.height,h={orientation:u,originalWidth:t,originalHeight:i,resultWidth:t,resultHeight:i},l=o/(t*i);l<1&&(c=Math.sqrt(l),t=t*c,i=i*c);var a=r.style.width,v=r.style.height,n=r.getContext("2d");u>4?(r.width=i,r.height=t,r.style.width=v,r.style.height=a,h.resultWidth=i,h.resultHeight=t):(r.width=t,r.height=i,r.style.width=a,r.style.height=v,h.resultWidth=t,h.resultHeight=i);switch(u){case 2:n.translate(t,0);n.scale(-1,1);break;case 3:n.translate(t,i);n.rotate(Math.PI);break;case 4:n.translate(0,i);n.scale(1,-1);break;case 5:n.rotate(.5*Math.PI);n.scale(1,-1);break;case 6:n.rotate(.5*Math.PI);n.translate(0,-i);break;case 7:n.rotate(.5*Math.PI);n.translate(t,-i);n.scale(-1,1);break;case 8:n.rotate(-.5*Math.PI);n.translate(-t,0)}n.fillStyle="#FFFFFF";n.fillRect(0,0,t,i);n.drawImage(e,0,0,t,i);f(r.toDataURL("image/jpeg",Math.min(1,s)),h)};h.onerror=function(){e&&e()}}function c(n,t){var i=new FileReader;i.onload=function(){var i=new DataView(this.result),s,n,o,u,h,f;if(i.getUint16(0,!1)!=65496)return t(e);for(s=i.byteLength,n=2;n<s;)if(o=i.getUint16(n,!1),n+=2,o===65505){if(i.getUint32(n+=2,!1)!==1165519206)return t(r);for(u=i.getUint16(n+=6,!1)===18761,n+=i.getUint32(n+4,u),h=i.getUint16(n,u),n+=2,f=0;f<h;f++)if(i.getUint16(n+f*12,u)===274)return t(i.getUint16(n+f*12+8,u))}else if((o&65280)!=65280)break;else n+=i.getUint16(n,!1);return t(r)};i.readAsArrayBuffer(n)}var t=3e6,i=.5,e=-2,r=-1;n.convertImageFileToBase64=o;n.convertImageUriToBase64=s})(ImageProcessor||(ImageProcessor={}));var AutoSuggest;(function(n){var t;(function(t){var i=SearchAppWrapper.CortanaApp,u="ms-screenclip://?source=SearchBox&callbackformat=ms-search%3A%2F%2FSearch%2F%3FQuerySource%3DSearchButton%26form%3DWNSSBS",f=String.fromCodePoint(128444),r="SnipSearchPrivacyConsent",e=function(){function e(n,u,f,e,o){var s=this;this._host=n;this._page=u;this._navigationHelper=f;this._instrumentationHelper=e;this._lightweightStorage=o;this._imageProcessor=_w.ImageProcessor;n.bindFilesDrop(function(n){return s.onFilesDrop(n)});n.bindShown(function(){t.shouldEnableSnipSearch(n)&&i.entryPoint=="WNSSBS"&&s.bingImageSearchCallbackV2()});n.bindDismissed(function(){i.entryPoint=="WNSSBS"&&s.updateMessage();s._imageSearchV2CancellationManager&&(s._imageSearchV2CancellationManager.cancelAll(!0),s.updateMessage())});this._agreedToPrivacyNotice=this._lightweightStorage.getItem(r)=="true"}return e.prototype.getSnipSearchSyntheticSuggestion=function(n,i){var e=this,f,r;return t.shouldEnableSnipSearch(this._host)?(f=function(){return e._host.launchUri(u,!0)},r=t.getSyntheticSuggestion(this._instrumentationHelper,n,i,"SNSC",{type:2,content:"&#xE312"},2,null,!1,this._agreedToPrivacyNotice?f:function(){return e.showPrivacyNotice(f)}),r.text=this._host.getLocString("SnipSearchButtonText"),r.tooltip=this._host.getLocString("SnipSearchTooltipText"),r.staticGroupType=t.GroupType.QuickSearch,r):null},e.prototype.showPrivacyNotice=function(n){var i=this,u=[{action:function(){i._agreedToPrivacyNotice=!0;i._lightweightStorage.setItem(r,"true");n()},selected:!0,id:"SSPAccpt",text:this._host.getLocString("AcceptButtonOK"),useAccentColor:!0},{action:null,selected:!1,id:"SSPDcln",text:this._host.getLocString("Cancel")},];t.DialogBox.show(this._host.getLocString("SnipSearchPrivacyWarning"),u,this._host.getLocString("SnipSearchPrivacyWarningTitle"),!0)},e.prototype.updateMessage=function(n,t,i){n?this._page.updateSnipSearchMessageView({message:this._host.getLocString(n),cancel:t,showSpinner:i}):this._page.updateSnipSearchMessageView(null)},e.prototype.onFilesDrop=function(n){var i=this,t,r;n.length==1&&(t=n[0],t.type.startsWith("image/"))&&(r=function(n,r){i._imageProcessor.convertImageFileToBase64(t,function(t){var r=i.createMultipartBodyWithBase64(t);n(r)},r)},this._host.reformulateOverrideAction("image: "+f,1,r))},e.prototype.bingImageSearchCallbackV2=function(){var t=this,r;this._imageSearchV2CancellationManager=new n.CancellationManager;this._imageSearchV2CancellationManager.register(function(){t._imageSearchV2CancellationManager=null;i.dismissApp()},!0,"bingiscb2");this._host.keepWSBOpen(!0);this.updateMessage("SnipSearchMessage",function(){return t._imageSearchV2CancellationManager.cancelAll(!1)},!0);r=function(){t.updateMessage("SnipSearchErrorMessage");t._host.keepWSBOpen(!1)};this._host.getBitmapURIFromClipboardAsync(function(n){n||r();t._imageProcessor.convertImageUriToBase64(n,function(n){return t.requestSearchUrlAndNavigate(n,r)},r)})},e.prototype.requestSearchUrlAndNavigate=function(i,r){var o=this,u={cancelled:!1,timer:0},f,e;this._imageSearchV2CancellationManager.register(function(){u.cancelled=!0;u.timer&&sb_ct(u.timer)},!1,"rsUrl_Nav");f=this.createMultipartBodyWithBase64(i);f?(e=n.getCurrentTime(),n.fetchUrlJson(this._navigationHelper.getImageSearchUrl(t.config.enableSnipSearchV2),{"content-type":f.contentType},f.data,function(i){if(!u.cancelled){if(i&&i.url){var f=Math.max(t.config.minDelayForSnipSearch-(n.getCurrentTime()-e),0);u.timer=n.safeSetTimeout(function(){o._host.launchUri(i.url,!1,function(){},r)},f,"Bing screenshot image search");return}r()}},null,function(){return!0},!1,t.config.screenshotUrlRequestTimeout)):r()},e.prototype.createMultipartBodyWithBase64=function(n){var i="-------",r=";base64,",u=n?n.indexOf(r):-1,f,t;return u<0?null:(f=n.substr(u+r.length),t=i+"\r\n",t+='Content-Disposition: form-data; name="imageBin"\r\n',t+="\r\n",t+=f+"\r\n",t+=i+"\r\n",{data:t,contentType:"multipart/form-data; boundary="+i})},e}();t.ImageSearchViewModel=e})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));1;1;var AutoSuggest;(function(n){var t;(function(t){var o=2,s=5,i=200,h="https://account.microsoft.com/rewards?ref=WSB",c=function(n){return"https://account.microsoft.com/rewards/createuser?publ=CORTIP&crea=MY019H&pn=MULTIWSBACQ201910&returnUrl=%2Frewards%2Fredirect%3Flink%3D%252Frewards%26id%3Dbingtrial_250%26channel%3Dwsb%26type%3D16%26amount%3D"+n+"%26hash%3Db3bc83aeabe24a90fade4e7e81e00d5fda4aeb66abe9f569a27c5a97a75e8f57"},l=function(){function l(n,i,e,o,s,h){var c=this,l;this._host=n;this._page=i;this._accessTokenManager=e;this._storage=o;this._instrumentationHelper=s;this._sequenceNumberManager=h;this._balance=new f;this._rewardsBadgeUpdatedHandlers=[];this._retryAttempted=0;u.init(o);r.init(s,h);l=function(){c._currentConversationId||(c._currentConversationId=n.getConversationId(),c.isFeatureEnabled()&&c._msaAccount&&c.refreshBalance())};n.bindConversationStart(function(){return l()});n.bindQueryChangedOrInitialized(function(){return l()});n.bindDismissed(function(){c.clear();c._msaAccount=null;c._currentConversationId=null;r.onDismiss();t.config.EnableRewardsFlyoutMain&&c._flyout&&c._flyout.hide()});e.bindSelectedAccountChanged(function(n){if(c.isFeatureEnabled()){var t=n&&n.accountProviderAuthority=="consumers"?n:null;c.handleNewAccountAvailable(t)}});e.bindAccountTypesChanged(function(){if(c.isFeatureEnabled()){var n=e.getCachedAccountInfo(0);c.handleNewAccountAvailable(n)}})}return l.prototype.initializeEducationExperience=function(){var t=this,n;if(this._page!=null){if(!this._flyout){if(n=864e5,this._flyout=this._page.createFlyout("RewardsMain",this._storage,this._instrumentationHelper,this._sequenceNumberManager),!this._flyout)return;this._flyout.addMessage(this._host.getLocString("RewardsEducationMainNewUserText"),this._host.getLocString("RewardsEducationMainNewUserTitle")).button(this._host.getLocString("RewardsEducationMainButtonMessage"),function(n,i){return t.getDataModel().click(n,i)}).target(_ge("rewardsBadgeButton")).icon("Rewards").setSticky().dismissible(n,this._host.getLocString("RewardsEducationMainButtonDismissMessage")).repeat(3)}this._flyout.target(_ge("rewardsBadgeButton")).show()}},l.prototype.isFeatureEnabled=function(){return n.contains(t.config.rewardsLanguageEnabled||[],t.uiLanguageCache.toLowerCase())},l.prototype.isCounterFactualLoggingEnabled=function(){return n.contains(t.config.rewardsCounterFactualLoggingLanguageEnabled||[],t.uiLanguageCache.toLowerCase())},l.prototype.handleNewAccountAvailable=function(n){var t=this._msaAccount;t!=n&&(this._msaAccount=n,this._msaAccount?t&&this._msaAccount.accountId==t.accountId||(this.clearCurrentBadge(),this.refreshBalance()):this.clearCurrentBadge())},l.prototype.clearCurrentBadge=function(){var n=this._balance.isSet();this.clear();n&&this.fireRewardsBadgeUpdated()},l.prototype.clear=function(){this._rewardsEnabled=!1;this._userIsRewardsMember=!0;this._fetchInProgress=!1;this._balance=new f;this._retryAttempted=0},l.prototype.refreshBalance=function(n){var i=this;if(!this._fetchInProgress&&this._currentConversationId&&this._userIsRewardsMember){var o=this._currentConversationId,r=function(){return o==i._currentConversationId},f=function(n){e.getBalanceAsyncRpsToken(n,function(n){i._fetchInProgress=!1;r()&&(i._rewardsEnabled=!0,i._userIsRewardsMember=!0,i.setNewBalance(n))},function(f){i._fetchInProgress=!1;t.config.rewardsAnidAccrualEnabled?r()&&(i._rewardsEnabled=!0,i._userIsRewardsMember=!1,i.setNewBalance(u.getBalance(i._msaAccount)),t.config.EnableRewardsFlyoutMain&&i.initializeEducationExperience()):i.handleError(n,f)},function(t){i._fetchInProgress=!1;r()&&i.handleError(n,t)})};this._fetchInProgress=!0;n?f(n):this._accessTokenManager.getAccount(0,t.getBingResourceOrScope(0),!1,!0,function(n){var t=n&&n.Token;t?f(t):i._fetchInProgress=!1})}},l.prototype.handleError=function(n,t){t&&t.Retryable&&this._retryAttempted<o&&(++this._retryAttempted,this.refreshBalance(n))},l.prototype.getDataModel=function(){var e=this;if(!this._balance.isSet())return null;var n=this._balance.getValue(),t=this._userIsRewardsMember,u=t?"RWBD":"RWBN",o=function(i,f){r.instrumentClickOnBadge(u,i,f);var o=t?h:c(n);e._host.launchUri(o)},s=""+n,l=t?1:n/i,f=r.instrumentBadge(u);return f.setProperty("Balance",s),{counterFactualLoggingEnabled:this.isCounterFactualLoggingEnabled(),balance:n,userIsRewardsMember:t,click:o,instItem:f,badgeFillupPercentage:l}},l.prototype.fireRewardsBadgeUpdated=function(){this._rewardsBadgeUpdatedHandlers.forEach(function(n){return n()})},l.prototype.isRewardsEnabled=function(){return this.isCounterFactualLoggingEnabled()?!1:this._rewardsEnabled},l.prototype.notifyPointsRewarded=function(n){var t="notifyPointsRewarded";if(!this.isRewardsEnabled()){SharedLogHelper.LogError(t,null,new Error("Rewards not enabled"));return}if(!this._userIsRewardsMember)if(n<=0)n=this._balance.getValue()+s;else{SharedLogHelper.LogError(t,""+n,new Error("Invalid non rewards member new balance"));return}if(n<0){SharedLogHelper.LogError(t,""+n,new Error("Invalid rewards new balance"));return}this.setNewBalance(n)},l.prototype.setNewBalance=function(n){this._userIsRewardsMember||(n>i&&(n=i),u.setNewBalance(this._msaAccount,n));this._balance.getValue()!=n&&(this._balance.setValue(n),this.fireRewardsBadgeUpdated())},l.prototype.bindRewardsBadgeUpdated=function(n,t){this._rewardsBadgeUpdatedHandlers.push(n);t&&this._balance.isSet()&&n()},l}(),f,e,u,r;t.MicrosoftRewardsViewModel=l;f=function(){function n(){}return n.prototype.getValue=function(){return this._value},n.prototype.setValue=function(n){this._value=typeof n=="number"?n:undefined},n.prototype.isSet=function(){return typeof this._value=="number"},n}(),function(t){function i(n,t,i,r){if(n)if(n.RewardsUser){var u=n.Balance&&n.Balance.Available;typeof u=="number"?t(u):r(n.ErrorDetail)}else n.ErrorDetail&&n.ErrorDetail.ErrorCode===5003?i(n.ErrorDetail):r(n.ErrorDetail);else r(null)}function r(t,r,e,o){var s={};s["X-Search-RPSToken"]=t;n.fetchUrlJson(u(),s,f(),function(n){return i(n,r,e,o)})}function u(){return"/msrewards/api/v1/getuserinfo"}function f(n){var t={PartnerId:"WSB",Channel:"WSB"};return n&&(t.UserId=n),JSON.stringify(t)}t.getBalanceAsyncRpsToken=r}(e||(e={})),function(n){function f(n){t=n}function r(n){return"RewardsPoints_"+n.accountUserName}function u(n){var e=r(n),u=t.getItem(e),f=u?+u:0;return f>i?i:f}function e(n,f){if(f>i&&(f=i),u(n)!=f){var e=r(n);return f?t.setItem(e,""+f):t.removeItem(e),!0}return!1}var t;n.init=f;n.getBalance=u;n.setNewBalance=e}(u||(u={})),function(i){function h(n,t){e=n;f=t}function c(){r=null;u=-1}function o(i){return r||(r=n.InstrumentedItem.getNonSuggestionInstrumentedItem(i,t.SyntheticQSCodesMaps.KValues,1)),r}function s(n){var t=f.getSequenceNumber(),i=o(n);return u<t&&(e.instrumentSyntheticInstrumentedItem(t,n,i),u=t),i}function l(n,t,i){var r=f.getSequenceNumber();u<r&&s(n);e.instrumentItemClick(t,o(n),r,null,i,null)}var f,e,r,u=-1;i.init=h;i.onDismiss=c;i.instrumentBadge=s;i.instrumentClickOnBadge=l}(r||(r={}))})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6t/3n/cj,nj/JpAsh_AUie3jH8Tc_0giyueaS6s.js"></script><script type="text/javascript">//<![CDATA[
1;var LocStringManager,WindowsCultureResolver;(function(n){function s(n,i){if(!n)throw t("locStringKey",n);if(!i)throw t("locString",i);var r=n.namespace,e=u(r)||l(r),o=n.name,s=f(o,e)||a(o,e);v(n.uiCulture,i,s)}function r(n){var o,s,h,l,r,e,a;if(!n)throw t("locStringKey",n);if(o=n.namespace,s=u(o),!s)throw new Error("namespace "+o+" is not registered");if(h=n.name,l=f(h,s),!l)throw new Error("name "+h+" is not registered in namespace "+o);for(r=n.uiCulture,a={};!e;){if(a[r]=!0,e=y(r,l),e||r)e||(r=i.resolveCulture(r));else throw new Error("the invariant empty culture does not have parent");a[r]&&(r="")}return c(n,e),e}function h(n){if(!n)throw t("newParentCultureResolver",n);n.parentParentCultureResolver=i;i=n}function c(n,t){var u,i,f,e;if(t&&!t._expanded){if(n.uiCulture!=o&&(u=r({uiCulture:o,name:n.name,namespace:n.namespace}),u))for(i in t)f=t[i],e=u[i],f===undefined&&f!==e&&(t[i]=e);Object.defineProperty(t,"_expanded",{value:!0})}}function u(n){if(!n)throw t("namespace",n);return e[n]}function l(n){if(!n)throw t("namespace",n);return e[n]={}}function f(n,i){if(!n)throw t("name",n);return i[n]}function a(n,i){if(!n)throw t("name",n);return i[n]={}}function v(n,i,r){if(typeof n=="undefined"||n===null)throw t("uiCultureKey",n);r&&(r[n.toLowerCase()]=i)}function y(n,i){if(typeof n=="undefined"||n===null)throw t("uiCultureKey",n);return i?i[n.toLowerCase()]:null}function t(n,t){return new Error("Invalid Argument: "+n+"="+t.toString())}var e={},o="en",i={parentParentCultureResolver:null,resolveCulture:function(n){if(!n)throw t("culture",n);var i=n.lastIndexOf("-");return i>0?n.substring(0,i):""}};n.register=s;n.getLocString=r;n.addParentCultureResolver=h})(LocStringManager||(LocStringManager={})),function(){var t={as:"as-in",bs:"bs-latn-ba","fil-latn":"fil-ph","gd-latn":"gd-gb","ig-latn":"ig-ng","ky-cyrl":"ky-kg","mi-latn":"mi-nz",ml:"ml-in","mn-mn":"mn-cyrl",nb:"nb-no",nn:"nn-no",or:"or-in","prs-arab":"prs-af","quc-latn":"qut","tk-latn":"tk-tm","tt-cyrl":"tt-ru","uz-latn":"uz-latn-uz","yo-latn":"yo-ng","zh-cn":"zh-chs","zh-hant-hk":"zh-cht","zh-hant-mo":"zh-cht","zh-hant-tw":"zh-cht","zh-hans-cn":"zh-chs","zh-hans-sg":"zh-chs","zh-hk":"zh-cht","zh-tw":"zh-cht"},n={parentParentCultureResolver:null,resolveCulture:function(i){var u=!1,r=i;return r&&(r=t[r.toLowerCase()])&&(u=!0),u||(r=n.parentParentCultureResolver.resolveCulture(i)),r}};LocStringManager.addParentCultureResolver(n)}(WindowsCultureResolver||(WindowsCultureResolver={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6v/6/cj,nj/JdN_yWTzLRiSRKgr2cafBo_rlF0.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6v/a/cj,nj/tdtrFofSv8OyknEkD6yLgNTVtoI.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/6v/6d/cj,nj/p5qbQVwcwCMvYJEc4TAif5auHGo.js"></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/6t/cj,nj/OKzCjIulX9lOk_yaxTt3JYxRczo.js?bu=JPwD_gOfBJ0EuQS3BK8EpQSZBJEEkwSbBJUEd48EjQS7BL0EiwSABIkEoQSjBLIEd3fJBL8EpwR3zgTRBIIEd3d3"></script><script type="text/javascript">//<![CDATA[
1;var AutoSuggest;(function(n){var t;(function(t){function s(n){return t.shouldEnableWeatherTile(n)&&f[n]?f[n]:t.config.quickSearchBingQuiz&&r[n]?r[n]:t.config.quickSearchDailyQuiz&&u[n]?u[n]:t.config.enableWSBPromo&&e[n]?e[n]:o[n]}function h(i){var u=s(i),r;return u?(r=n.getCurrentDate(),u.filter(function(n){return n.type===1?t.config.quickSearchMomentInTime&&(!n.validStart||r>=n.validStart)&&(!n.validEnd||r<n.validEnd):!0}).slice(0,t.config.maxStaticQuickSearches)):[]}var i={Weather:{type:2,content:"&#xE9C0"},News:{type:2,content:"&#xE900"},Movies:{type:2,content:"&#xE8B2"},History:{type:2,content:"&#xE823"},Quiz:{type:2,content:"&#xE7BE"},Info:{type:2,content:"&#xE946"}},o={"de-de":[{type:0,query:"Wetter",tooltip:"Websuche nach dem Wetter",icon:i.Weather},{type:0,query:"Top Nachrichten",tooltip:"Websuche nach Top Nachrichten",icon:i.News},{type:0,query:"Besten Filme",tooltip:"Websuche nach besten Filmen",icon:i.Movies},{type:0,query:"Bing Quiz",tooltip:"Websuche nach Bing Quiz",icon:i.Quiz,serpURLParams:t.config.quickSearchBingQuizTopAnswer?{filters:'IsConversation:"True"+BTWLType:"Quiz"'}:null}],"en-au":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"New movies",tooltip:"Web search for new movies",icon:i.Movies},{type:0,query:"Bing quiz",tooltip:"Web search for Bing quiz",icon:i.Quiz,serpURLParams:t.config.quickSearchBingQuizTopAnswer?{filters:'IsConversation:"True"+BTWLType:"Quiz"'}:null},],"en-ca":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Bing quiz",tooltip:"Web search for Bing quiz",icon:i.Quiz,serpURLParams:t.config.quickSearchBingQuizTopAnswer?{filters:'IsConversation:"True"+BTWLType:"Quiz"'}:null}],"en-gb":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,query:"New movies",tooltip:"Web search for new movies",icon:i.Movies}],"en-in":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"New movies",tooltip:"Web search for new movies",icon:i.Movies},{type:0,query:"Bing quiz",tooltip:"Web search for Bing quiz",icon:i.Quiz,serpURLParams:t.config.quickSearchBingQuizTopAnswer?{filters:'IsConversation:"True"+BTWLType:"Quiz"'}:null}],"en-us":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,query:"Coronavirus prevention",tooltip:"Web search for coronavirus prevention",icon:i.Info}],"es-es":[{type:0,query:"Clima hoy",tooltip:"Buscar en la Web por el clima de hoy",icon:i.Weather},{type:0,query:"Hoy en la historia",tooltip:"Buscar en la Web por hoy en la historia",icon:i.History},{type:0,query:"Películas en cartelera",tooltip:"Buscar en la Web por películas en cartelera",icon:i.Movies}],"es-mx":[{type:0,query:"Clima hoy",tooltip:"Buscar en la Web por el clima de hoy",icon:i.Weather},{type:0,query:"Noticias",tooltip:"Buscar en la Web por noticias",icon:i.News},{type:0,query:"Películas en cartelera",tooltip:"Buscar en la Web por películas en cartelera",icon:i.Movies}],"fr-ca":[{type:0,query:"Météo",tooltip:"Recherche Web météo",icon:i.Weather},{type:0,query:"Actualités",tooltip:"Recherche Web des actualités à la une",icon:i.News},{type:0,query:"Top films",tooltip:"Recherche Web de nouveaux films",icon:i.Movies}],"fr-fr":[{type:0,query:"Météo",tooltip:"Recherche Web pour la météo",icon:i.Weather},{type:0,query:"Actualités",tooltip:"Recherche Web des actualités à la une",icon:i.News},{type:0,query:"Meilleurs films",tooltip:"Recherche sur le Web des meilleurs films",icon:i.Movies},{type:0,query:"Quiz Bing",tooltip:"Recherche Web pour le quiz Bing",icon:i.Quiz}],"it-it":[{type:0,query:"Meteo oggi",tooltip:"Cerca il meteo per oggi sul web",icon:i.Weather}],ja:[{type:0,query:"天気",tooltip:"天気を Web 検索",icon:i.Weather},{type:0,query:"トップニュース",tooltip:"トップ ニュースを Web 検索",icon:i.News}],"ja-jp":[{type:0,query:"天気",tooltip:"天気を Web 検索",icon:i.Weather},{type:0,query:"トップニュース",tooltip:"トップ ニュースを Web 検索",icon:i.News}],"pt-br":[{type:0,query:"Tempo",tooltip:"Pesquisa na web do tempo",icon:i.Weather}],"zh-cn":[{type:0,query:"天气",tooltip:"在线搜索天气",icon:i.Weather},{type:0,query:"新闻",tooltip:"在线搜索新闻",icon:i.News}],"zh-hans-cn":[{type:0,query:"天气",tooltip:"在线搜索天气",icon:i.Weather},{type:0,query:"新闻",tooltip:"在线搜索新闻",icon:i.News}]},r={"en-gb":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,query:"Bing quiz",tooltip:"Web search for Bing quiz",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}],"en-us":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,query:"Bing quiz",tooltip:"Web search for Bing quiz",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}],"es-es":[{type:0,query:"Clima hoy",tooltip:"Buscar en la Web por el clima de hoy",icon:i.Weather},{type:0,query:"Hoy en la historia",tooltip:"Buscar en la Web por hoy en la historia",icon:i.History},{type:0,query:"Películas en cartelera",tooltip:"Buscar en la Web por películas en cartelera",icon:i.Movies},{type:0,query:"Bing quiz",tooltip:"Buscar en la Web por Bing quiz",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}]},u={"en-gb":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,text:"Daily quiz",query:"Bing quiz",tooltip:"Web search for daily quiz",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}],"en-us":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,text:"Daily quiz",query:"Bing quiz",tooltip:"Web search for daily quiz",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}],"es-es":[{type:0,query:"Clima hoy",tooltip:"Buscar en la Web por el clima de hoy",icon:i.Weather},{type:0,query:"Hoy en la historia",tooltip:"Buscar en la Web por hoy en la historia",icon:i.History},{type:0,query:"Películas en cartelera",tooltip:"Buscar en la Web por películas en cartelera",icon:i.Movies},{type:0,text:"Quiz del día",query:"Bing quiz",tooltip:"Buscar en la Web por quiz diario",icon:i.Quiz,serpURLParams:{filters:'IsConversation:"True"+BTWLType:"Quiz"'}}]},f={"en-us":[{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History},{type:0,query:"Coronavirus prevention",tooltip:"Web search for coronavirus prevention",icon:i.Info}]},e={"en-us":[{type:0,query:"Weather",tooltip:"Web search for weather",icon:i.Weather},{type:0,query:"Top news",tooltip:"Web search for top news",icon:i.News},{type:0,query:"Today in history",tooltip:"Web search for today in history",icon:i.History}]};t.getQuickAnswersTranslatedSuggestions=h})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));1;var AutoSuggest;(function(n){var t;(function(t){var i;(function(i){function c(){var s,o,rt,r,d,ft,st,ht,p,w,b,tt,at,it;if(!i.initCalled){i.initCalled=!0;s=new n.LightweightStorage;t.initQueryParser(s);t.AccessTokenManager&&n.TokenStore&&(rt=new n.TokenStore(s),o=new t.AccessTokenManager(s,rt));r=new t.Host(o);r.throwIfResourcesMissing();d=t.SubstrateProfilePictureProvider?new t.SubstrateProfilePictureProvider(r,o):undefined;t.ProactiveSSO&&new t.ProactiveSSO(r);var ut=new t.WSBInstrumentationProvider(r),vt=new t.WindowsTelemetry(r,ut),u=new n.InstrumentationHelper(r,ut,vt),yt=new n.AppCacheInstrumentationHelper(r,u);new n.SuperFreshAppCache(r,yt);var pt=t.WSBAutoComplete?new t.WSBAutoComplete(r):undefined,wt=t.SearchPreCacheHandler?new t.SearchPreCacheHandler(r):undefined,v=new n.NavigationHelper(r,wt),c=new n.SequenceNumberManager,h=new t.Page(r);t.DialogBox&&t.DialogBox.init(h,r);t.AFDFootprint&&t.AFDFootprint.init(r);t.DebugWindow&&t.DebugWindow.init(h,r);ft=t.ImageSearchViewModel?new t.ImageSearchViewModel(r,h,v,u,s):undefined;t.ConstraintIndex&&t.ConstraintIndex.ConstraintIndexDataLoader&&new t.ConstraintIndex.ConstraintIndexDataLoader(SearchAppWrapper.CortanaApp.constraintIndexDownloader,r,s);var g=t.Cache&&t.Cache.PreviousKeystrokeCache?new t.Cache.PreviousKeystrokeCache(r):undefined,bt=new t.SuggestionsParser(r,u,h),kt=new t.OnlineSuggestionsParser(r,u,v,h,o,g),et=o&&t.MicrosoftRewardsViewModel?new t.MicrosoftRewardsViewModel(r,h,o,s,u,c):undefined,nt=new t.MenuFactory(r,h,u,!0,function(){return r.adjustHeight()}),dt=new t.HeaderFooterViewModel(r,h,o,et,nt,d,u,c,s),k;if(t.PreviewPane){var gt=new t.MiniSerpViewModel(h,r,v,u,c,et),ni=t.WSBLocalPreviewPaneViewModelV2?new t.WSBLocalPreviewPaneViewModelV2(h,r,nt):t.WSBLocalPreviewPaneViewModel?new t.WSBLocalPreviewPaneViewModel(h,r,nt):undefined,ti=t.MsbPreviewPaneViewModel?new t.MsbPreviewPaneViewModel(h,r):undefined;k=new t.PreviewPane(h,r,u,c,gt,ni,ti)}t.TweakSearch&&k&&t.TweakSearch.init(r,k,u);var ot=t.config.enableEdgeUpsell&&t.UpsellViewModel?new t.UpsellViewModel(r,s,u,c):undefined,y=new t.RootViewModel(r,pt,u,c,v,h,dt,k,nt,ot),ii=n.InMemoryResponseCacheManager?new n.InMemoryResponseCacheManager(r,y):undefined,ri=t.config.headRankingSignalsVersion&&t.HeadRankingSignalsManager?new t.HeadRankingSignalsManager(r):undefined,ui=t.Cache&&t.Cache.DeviceItemCacheManager?new t.Cache.DeviceItemCacheManager:undefined,l=[],f={};l.push(new n.AsSuggestionsDataProvider(u,ii,ri));f[n.WebDataSource]=kt;n.isDataSourceEnabled("WRS",null)&&(st=n.InMemoryResponseCacheManager?new n.InMemoryResponseCacheManager(r,y):null,ht=new n.WebRankingSignalDataProvider(st),l.push(ht),f.WRS=new t.WebRankingSignalSuggestionsParser(g));n.isDataSourceEnabled("ODC",null)&&(l.push(new t.OneDriveDataProvider(o)),f.ODC=new t.OneDriveParser(r));n.isDataSourceEnabled("SSUE",null)&&(p=new t.SubstrateDataProvider(r,o,u,1,0,s),l.push(p),f.SSUE=new t.SubstrateSuggestionsParser(r,p,u,o,d,c,1));n.isDataSourceEnabled("SSUC",null)&&(p=new t.SubstrateDataProvider(r,o,u,0,0,s),l.push(p),f.SSUC=new t.SubstrateSuggestionsParser(r,p,u,o,d,c,0));n.isDataSourceEnabled("SSEE",null)&&(w=new t.SubstrateDataProvider(r,o,u,1,1,s),l.push(w),f.SSEE=new t.SubstrateSearchParser(r,w,s,o,1));n.isDataSourceEnabled("SSEC",null)&&(w=new t.SubstrateDataProvider(r,o,u,0,1,s),l.push(w),f.SSEC=new t.SubstrateSearchParser(r,w,s,o,0));n.isDataSourceEnabled("MSBS",null)&&(b=new t.BingForBusinessDataProvider("MSBS",r,o,!0),l.push(b),tt=new t.BingForBusinessSuggestionsParser(r,b),f.MSBS=tt);n.isDataSourceEnabled("MSBC",null)&&(b=new t.BingForBusinessDataProvider("MSBC",r,o,!0),l.push(b),tt=new t.BingForBusinessSuggestionsParser(r,b),f.MSBC=tt);var ct=SearchAppWrapper.CortanaApp.queryFormulationView.searchHistory,fi=function(){return ct&&ct.isDeviceHistoryEnabled},a=[],lt=new t.LocalDataProvider(g,ui,r);a.push(lt);t.LocalDataProviderDataSources.forEach(function(n){return f[n]=bt});n.isDataSourceEnabled(n.MRUDataSource,null)&&(a.push(new n.MRU.MRUDataProvider(y,n.ClientSideStorage.instanceWithStringKeysAndSecondaryKey,r,t.getSuggestionKey,t.getGroupType,t.MRUDatabaseName,fi,function(){return!0})),f[n.MRUDataSource]=new t.MRUParser(r,u,v,h));n.isDataSourceEnabled("BW",null)&&(a.push(new t.BingWeatherAPIDataProvider(r)),f.BW=new t.BingWeatherSuggestionsParser(r));n.isDataSourceEnabled("AFC",null)&&(a.push(new t.ActivityFeedDataProvider(r)),f.AFC=new t.ActivityFeedSuggestionsParser(r));n.isDataSourceEnabled("QSCH",null)&&(a.push(new t.QuickSearchSuggestionsDataProvider(r)),f.QSCH=new t.QuickSearchSuggestionsParser(r,v));n.isDataSourceEnabled("TOPS",null)&&(a.push(new t.TopSitesDataProvider),f.TOPS=new t.TopSitesSuggestionsParser(r));n.isDataSourceEnabled("WWE",null)&&(a.push(new t.WelcomeExperienceDataProvider(r)),f.WWE=new t.WelcomeExperienceSuggestionsParser);n.isDataSourceEnabled("WPB",null)&&(a.push(new t.PromoBannerDataProvider(r)),f.WPB=new t.PromoBannerSuggestionsParser);n.isDataSourceEnabled("LSQS",null)&&(a.push(new t.LockscreenQuickSearchDataProvider(r)),f.LSQS=new t.LockscreenQuickSearchParser(r));new n.KeyboardEvtHandler(r,y);var ei=new t.Ranking.FastRankRanker,oi=new t.Ranking.Aggregator(r,u,v,g,ei,y,k,ft,ot),si=new n.SuggestionsRenderingManager(r,u,oi,y);new n.Core(r,f,y,si,l,a,u,c);_w.WindowsFeedbackBadge&&WindowsFeedbackBadge.Show();at=t.parseQuery("microsoft",0,null,null,null);lt.fetch(at,function(){},c.getSequenceNumber(),new n.CancellationManager,function(){return!0});it=function(){var n=SearchAppWrapper.CortanaApp.queryFormulationView.deviceSearch,i;t.IndexerQueryGenerator&&n&&n.queryWindowsSearchIndexerAsync&&(i=t.IndexerQueryGenerator.generateIndexerPrimerQuery(),n.queryWindowsSearchIndexerAsync(i))};t.config.enableIndexerPrimingOnBoot&&it();t.config.enableIndexerPrimingOnVisible&&r.bindAppVisible(function(){it()});t.config.enableIndexerPrimingOnShown==1&&r.bindShown(function(){it()});r.notifyBootstrapDone();u.instrumentInitializationFinish(e)}}var e,f,u,o;if(i.initCalled=!1,e=n.getCurrentDate(),f=function(){n.safeExecute(function(){return c()},"WSBBootstrap",null,null,function(n){return t.fallbackToPrepopulatedBundle(n)},!1)},t.config.showWebViewV2){var s=!1,r,h=function(){var n,u,i;s||(s=!0,typeof SearchAppWrapper=="object"?(sj_evt.fire("BeforeShowWebView"),f()):r="SearchAppWrapper not defined",r?(n=void 0,r instanceof Error?n=r:(u=typeof r=="string"?r:String(r),n=new Error("[showWebViewInit] "+u)),t.fallbackToPrepopulatedBundle(n)):(i=SearchAppWrapper.CortanaApp,i&&i.showWebViewAsync&&ThresholdUtilities.wrapApiCallWithTimeout(i,"showWebViewAsync","SWV",null,500,null)))};sj_evt.bind("ErrorInstrumentation",function(n,t,i){t==1&&(r=i)},!0);sj_be(_w,"load",function(){return h()});n.safeSetTimeout(function(){return h()},2500,"ShowWebViewTimer")}else o=function(){u&&(sb_ct(u),u=null)},sj_evt.bind("BeforeShowWebView",function(){o();f()},!0),t.config.autoFallbackEnabled||t.config.fallbackButtonEnabled||(u=n.safeSetTimeout(function(){return t.fallbackToPrepopulatedBundle(new Error("bootstrapBackupTimer fired"))},5e3,"BoostrapFailedFallback"))})(i=t.Bootstrap||(t.Bootstrap={}))})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rs/2y/6/cj,nj/ecWXN2bnRbbm-1hwJzuO6SzSO4o.js"></script><script type="text/javascript">//<![CDATA[
var Lib;(function(n){var t;(function(n){function u(n,t){var r,i;if(t==null||n==null)throw new TypeError("Null element passed to Lib.CssClass");if(n.indexOf)return n.indexOf(t);for(r=n.length,i=0;i<r;i++)if(n[i]===t)return i;return-1}function f(n,u){if(n==null)throw new TypeError("Null element passed to Lib.CssClass");if(!t(n,u))if(r&&n.classList)n.classList.add(u);else{var f=i(n)+" "+u;o(n,f)}}function e(n,f){var e,s,h;if(n==null)throw new TypeError("Null element passed to Lib.CssClass");t(n,f)&&(r&&n.classList?n.classList.remove(f):(e=i(n).split(" "),s=u(e,f),s>=0&&e.splice(s,1),h=e.join(" "),o(n,h)))}function s(n,i){if(n==null)throw new TypeError("Null element passed to Lib.CssClass");r&&n.classList?n.classList.toggle(i):t(n,i)?e(n,i):f(n,i)}function t(n,t){var f,e;if(n==null)throw new TypeError("Null element passed to Lib.CssClass");return r&&n.classList?n.classList.contains(t):(f=i(n),f)?(e=f.split(" "),u(e,t)>=0):!1}function h(n,t){var f,e,r,u,o;if(n.getElementsByClassName)return n.getElementsByClassName(t);for(f=n.getElementsByTagName("*"),e=[],r=0;r<f.length;r++)u=f[r],u&&(o=i(u),o&&o.indexOf(t)!==-1&&e.push(u));return e}function o(n,t){n instanceof SVGElement?n.setAttribute("class",t):n.className=t}function i(n){return n instanceof SVGElement?n.getAttribute("class"):n.className}var r=typeof document.body.classList!="undefined";n.add=f;n.remove=e;n.toggle=s;n.contains=t;n.getElementByClassName=h})(t=n.CssClass||(n.CssClass={}))})(Lib||(Lib={}));
//]]></script><script type="text/javascript" crossorigin="use-credentials" src="/rb/2w/cj,nj/-VUAbCj1sTG8Q3e21Za0toitJEk.js?bu=C_cB6QLWAtgCswK1AuQC-QHtAvYCuAI"></script><script type="text/javascript">//<![CDATA[
var fbpkgiid = fbpkgiid || {}; fbpkgiid.page = '';;_w.rms.js({'A:rms:answers:BoxModel:Framework':'\/rb\/14\/cj,nj\/XBTn_8P_o9etRPKutdToqUvXxEk.js?bu=DiYvYnJ3em9oZbEBswEvngEv'});;
//]]></script><script type="text/javascript" >//<![CDATA[
_G.HT=new Date;
//]]></script></body></html>