var CoreUtilities,LoggerModule,VisibilityChangeHelperModule,sj_anim,sj_fader,ShowWebView,HitHighlightingParserImpl,DataSourceLayoutManager,ThresholdDiagnosticsProd,FailedPromise,ThresholdUtilitiesM2;_w.EventsToDuplicate=[];_w.useSharedLocalStorage=!1;define("shared",["require","exports"],function(n,t){function s(n,t){for(var r=n.length,i=0;i=100?"":"alpha(opacity="+t+")";n.style.opacity=t/100}var i=sb_ie;t.forEach=s;t.wrap=r;t.preventDefault=u;t.stopPropagation=f;t.getOffset=e;t.getTime=o;window.sj_b=document.body;window.sb_de=document.documentElement;window.sj_wf=r;window.sj_pd=u;window.sj_sp=f;window.sj_go=e;window.sj_ev=h;window.sj_et=c;window.sj_mi=l;window.sj_mo=a;window.sj_we=v;window.sb_gt=o;window.sj_so=p;window.sj_lc=y});define("env",["require","exports","shared"],function(n,t,i){function c(n,t){return t.length&&typeof n=="function"?function(){return n.apply(null,t)}:n}function l(n,t){var e=[].slice.apply(arguments).slice(2),u=c(n,e),i;return i=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(u):f(u,t),r.push(i),i}function a(n,t){var r=[].slice.apply(arguments).slice(2),i=h(c(n,r),t);return u.push(i),i}function v(){o.forEach(r,e);o.forEach(u,window.clearInterval);r.length=0;u.length=0}function e(n){n!=null&&(typeof n=="string"&&n.indexOf("i")===0?window.clearImmediate(parseInt(n.substr(1),10)):s(n))}var o=i,r=[],u=[],f,s,h;f=window.setTimeout;t.setTimeout=l;h=window.setInterval;t.setInterval=a;t.clear=v;s=window.clearTimeout;t.clearTimeout=e;window.sb_rst=f;window.setTimeout=window.sb_st=l;window.setInterval=window.sb_si=a;window.clearTimeout=window.sb_ct=e});define("event.custom",["require","exports","shared","env"],function(n,t,i,r){function f(n){return u[n]||(u[n]=[])}function e(n,t){n.d?l.setTimeout(c.wrap(n,t),n.d):n(t)}function v(n){for(var t in u)t.indexOf(a)===0||n!=null&&n[t]!=null||delete u[t]}function o(n){for(var t,u,i,o=[],r=0;r0?o*6e4:63072e6,y=new Date((new Date).getTime()+Math.min(v,63072e6));_d.cookie=c+(a?";domain="+a[0]:"")+(f?";expires="+y.toGMTString():"")+(e?";path="+e:"")}function f(n){if(!i){var r=n+"=",t=location.hostname.match(/([^.]+\.[^.]*)$/);_d.cookie=r+(t?";domain="+t[0]:"")+";expires="+o}}function e(){var r=null,e,n,u,t,f;if(!i)for(r={},e=_d.cookie;n=s.exec(e);){for(t={},f=!1;u=h.exec(n[2]);)f=!0,t[u[1]]=u[2];f||(t=n[2]);r[n[1]]=t}return r}var i=!1,o=new Date(0).toGMTString(),s=new RegExp("([^=]+)=([^;]*)(; )?","g"),h=new RegExp("([^=]+)=([^&]*)&?","g"),c;try{c=_d.cookie}catch(l){i=!0}t.get=r;t.set=u;t.clear=f;t.parse=e;_w.sj_cook={get:r,set:u,clear:f,parse:e}});define("rmsajax",["require","exports","event.custom"],function(n,t,i){function l(){for(var i,n=[],t=0;t1)for(i=ri.apply(null,n),f=0;f"&&(r=r.substring(s,f-l));i.text=r;h.body.appendChild(i)}et(t)}else i.src=n.url,h.body.appendChild(i)}function et(n){n.done||(n.done=!0,n())}function ot(n){return g.call(n)=="[object Function]"}function st(n){return g.call(n)=="[object Array]"}function ht(n,t,i){for(var u,f=new v(i),r=0;r0;){try{i=it.shift();t=JSON.parse(i)}catch(r){n++;continue}c&&c(t.data);k(t)}n>0&&h("InvalidIncompleteImpressions",n,_G.IG)}function k(n){o.append(n);p()}function a(n){return JSON.stringify(n).replace(/]]>/g,"]]]\]>")}function ti(n,t,i){var f,u,r;t.push("","Event.",n.data.eventType,"<\/T>","",n.impressionGuid,"<\/IG>");n.previousImpressionGuid&&t.push("",n.previousImpressionGuid,"<\/PrevIG>");n.dominantImpressionGuid&&n.previousImpressionGuid&&t.push("",n.dominantImpressionGuid,"<\/DominantIG>");f=n.data.dataSources;f&&t.push("<\/DS>");u=n.data.pageLayout;u&&rt(u)&&t.push("<\/L><\/Page>");r=n.data.eventData;r||(r=n.data.eventData={});r.UTS=i;_w.LogOffline===!0&&(r.isOffline=navigator.onLine?0:1);t.push("<\/D>","",n.timestamp,"<\/TS>","<\/E>")}function rt(n){var t=!1,i;try{n instanceof Array?t=n.every(rt):(t=!!n.T,i=n.L,t&&i&&(t=rt(i)))}catch(r){return SharedLogHelper.LogWarning("PageLayoutValidationException",null,r),!1}return t||SharedLogHelper.LogWarning("PageLayoutValidationException",n,null),t}function y(n,t,i){n.push('')}function ii(n,t,i){function f(n){return n?n.replace(/&/g,"&").replace(/"/g,"""):""}var r=n.data,e,u,h,l,c,o,s;t.push("","","",n.impressionGuid,"<\/IG>","<\/DS>");e=r.enrichedClientInfo;e||(e={});e.ImpressionUrl=r.impressionUrl;_G.AppVer&&(e.ResourcesVersion=_G.AppVer);u=n.data.eventData;u||(u=n.data.eventData={});u.EnrichedClientInfo=e;u.TS=r.clientTimestamp;u.UTS=i;h=r.uxClassification;h&&(u.UxClassification=h);_w.sj_cook&&sj_cook.parse&&(u.Cookies=sj_cook.parse());t.push("<\/D>");t.push("","",r.pageName,"<\/Name>","<\/L>","<\/Page>","",n.timestamp,"<\/TS>","");y(t,"RawQuery",f(r.rawQuery));y(t,"IsQuery",f(r.isQuery.toString()));y(t,"Form",f(r.form));InstrumentationConfig.UploadUILang&&(l=_w.SearchAppWrapper,c=sj_gp(l,"CortanaApp","uiLanguage"),y(t,"AppUILang",c?c:_w.navigator.browserLanguage));o=r.userInfoOverrides;for(s in o)o.hasOwnProperty(s)&&y(t,f(s),f(o[s]));t.push('',"<\/Ovr>","<\/M>","<\/Group>")}function d(n){var t=window.location.href,i,r,u,f,e;return v&&t.indexOf(v)===0||(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),v=i<0?t:t.substring(0,i),r=_w.ThresholdUtilities,r&&(u=r.getUrlParameter(t,"FORM"),u&&(v+="?FORM="+u))),n.CurUrl=v,f=_w.PageDebug,e=f?f.canvas:_G.PN,n.Pivot=e,typeof ThresholdUtilities!="undefined"&&_w.SearchAppWrapper&&_w.SearchAppWrapper.CortanaApp&&ThresholdUtilities.getCortanaHeaders(function(t){if(t){var i;(i=t["X-BM-ClientFeatures"])&&(n.CF=i);(i=t["X-BM-FlightedFeatures"])&&(n.FF=i)}}),n}function ut(n,t){var r=[""],u=f.getTime(),e=_G.CID||sj_cook.get(ht,ht),o,i,s;if(e&&r.push("",e,"<\/CID>"),n.length>0){for(r.push(""),i=0;i")}if(t.length>0)for(i=0;i"),r.join("")}function p(n,t){if(n===void 0&&(n=!1),t===void 0&&(t=!0),e.isInstrumentationEnabled){var r=n?l.retryQueue:l.mainQueue;r.flushTimeoutHandle||(r.flushTimeoutHandle=i.setTimeout(function(){return at(n,r,!1,t)},r.getInterval()))}}function at(n,t,i,r){var k,c,u,d,p,v,g,w,y,a,s,b;if(r===void 0&&(r=!0),sb_ct(t.flushTimeoutHandle),t.flushTimeoutHandle=null,!n||!l.mainQueue.inProgressUpload){if(!n&&l.retryQueue.inProgressUpload&&l.retryQueue.inProgressUpload.abort(),t.inProgressUpload)if(k=f.getTime()-t.requestSentTimestamp,i||k>e.flushInterval)t.inProgressUpload.abort(),i?h("SendAbortedForceFlush",1,_G.IG):h("SendTimedOut",1,_G.IG);else return;if(c=o.getBatch(n),c.length!=0){u={};for(d in c.events)p=c.events[d],v=p.flights,u[v]||(u[v]={events:[],mpis:[]}),u[v].events.push(p.log);for(g in c.masterPageImpressions)w=c.masterPageImpressions[g],y=w.flights,u[y]||(u[y]={events:[],mpis:[]}),u[y].mpis.push(w.log);for(a in u)s=sj_gx(),s.open("POST",_G.XLS,r),b=sj_df(ri,s,t,n),r&&(e.flushInterval>=1e3&&(s.timeout=e.flushInterval),s.onload=b),s.setRequestHeader("Content-type","text/xml"),a!==""&&(s.setRequestHeader("X-MSEdge-ExternalExpType","JointCoord"),s.setRequestHeader("X-MSEdge-ExternalExp",a)),t.inProgressUpload=s,t.requestSentTimestamp=f.getTime(),s.send(ut(u[a].events,u[a].mpis)),r||b(null)}}}function ri(n,t,i,r){if(t.readyState===4){i.inProgressUpload=null;var u=Math.floor(t.status/100);u===2?(o.clearSentItems(r)&&!r&&p(!1),p(!0)):u===4?(o.markFailedItems(!0,r),p(!0)):o.markFailedItems(!1,r);r&&o.recordRetryAttempt()}}function vt(n,t){n===void 0&&(n=!1);t===void 0&&(t=!0);at(!1,l.mainQueue,n,t)}function ft(n,t,i,r,u,e,o,s){var h={},c,l;if(d(h),t)if(typeof t=="string")h.Text=t;else for(c in t)t.hasOwnProperty(c)&&(h[c]=t[c]);return i&&(h.T="CI."+i),l=f.getTime(),h.TS=l,h.RTS=l-b,h.SEQ=tt++,{type:0,impressionGuid:e!=null?e:_G.IG,previousImpressionGuid:o,timestamp:l,data:{eventType:n,eventData:h,dataSources:r,pageLayout:u},dominantImpressionGuid:s}}function yt(n){var t=sj_gx();t.open("POST",_G.XLS);t.setRequestHeader("Content-type","text/xml");t.send(ut(n,[]))}function et(n,t,i,r,u,f,o,s){var h,c;if(EventsToDuplicate&&n==="Click"&&EventsToDuplicate.indexOf("duplicateClickOnLs")>=0&&(_G.GPImg=new Image,_G.GPImg.src=_G.gpUrl+"IG="+_G.IG+"&ID="+t.AppNS+","+t.K,n="XlsDelayedClick"),!_G.XLS)throw new Error("_G.XLS is necessary for clientinst_xls, but it is not defined");e.isInstrumentationEnabled&&(h=ft(n,t,i,r,u,f,o,s),EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf(n)>=0)&&(c=ft("Immediate"+n,t,i,r,u,f,o,s),yt([c])),k(h))}function pt(n){var t,i,r;e.isInstrumentationEnabled&&(c&&c(n),n.clientTimestamp=f.getTime(),t=n.eventData,t||(t=n.eventData={}),d(t),i={type:1,impressionGuid:n.impressionGuid?n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data:n},EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf("masterPageImpression")>=0)&&(r=ft("ImmediateMaster",t,n.impressionUrl,n.dataSources,n.layoutNodes,n.impressionGuid,null,null),yt([r])),c||!e.waitForPageInfo?k(i):it.push(JSON.stringify(i)))}function wt(n,t,i){for(var r,o,h,u=[],s=4;s=0)c=!1;else throw f;}}}function v(){k()&&(l&&sb_ct(l),l=sb_st(d,e.queueDumpInterval))}function it(n,t){var i=JSON.stringify(n),r=i.length+3;return n.size=r,t?i.replace('"size":0','"size":'+r):i}function rt(n){return w===null&&typeof _CachedFlights!="undefined"&&_CachedFlights.sort&&(w=_CachedFlights.sort().join(",")),{log:n,lastSendErrorTimeStamp:0,inProgress:!1,size:0,flights:w}}function ut(){var n,r,i;if(s){if(at(),n=s[o],t=[],typeof n=="string"||n&&n.length!==0)try{if(t=JSON.parse(n),t.some(function(n){return!n.log}))h("PrimaryQueueRestoreInvalidItems",t.length,_G.IG),t=[];else if(r=t.length,r>0){for(i=0;i0}function ot(n){return n.log.type===0&&n.log.data&&n.log.data.eventType===nt}function st(n,i){for(var e=[],c=i?r[0]:t,o=0,u,s,l;o0&&(l=s/2,r.push(e.slice(0,l)),r.push(e.slice(l)));v()}function ht(){var n,t,i;if(r.length>0){for(n=r[0],t=0;t0)for(r=0,i=0;i=u){t.splice(0,i+1);h("QueueOverflow",i+1,_G.IG,!0);break}return s=JSON.stringify(t),n&&t.splice(0,f),s}function lt(n){var i=rt(n);it(i,!1);vt(i.size)&&t.push(i);v()}function at(){var t=o+"_logUploadIntervalStartDate",r=o+"_uploadedLogSizeInInterval",n;u=s[t];i=s[r];n=sb_gt();u==undefined||i==undefined?y(n):g(u,n)>=e.logUploadCapIntervalInDays&&y(n)}function y(n){u=n;i=0}function g(n,t){var i=t-n;return i/dt}function vt(n){var t,r;return e.isInstrumentationEnabled?LogUploadCapFeatureEnabled?(t=sb_gt(),g(u,t)>=e.logUploadCapIntervalInDays&&y(t),i>=e.logUploadCapSizeInChar)?!1:(r=i+n,r>=e.logUploadCapSizeInChar)?(h("LogUploadSizeLimitReached",1,_G.IG,!0),i=e.logUploadCapSizeInChar,!1):(i=r,!0):!0:!1}var t=[],u,i,c=!1,l=null,r=[],b=_w.location.pathname,o=InstLogQueueKeyFetcher.Get(b),a=InstLogQueueKeyFetcher.GetSharedLocation(),tt=InstLogQueueKeyFetcher.CanUploadSharedMessages(b);n.dumpToStorage=d;n.initialize=ut;n.getBatch=ft;n.clearSentItems=et;n.markFailedItems=st;n.recordRetryAttempt=ht;n.append=lt})(o||(o={}));l={mainQueue:{getInterval:function(){return e.flushInterval}},retryQueue:{getInterval:function(){return e.retryInterval}}};t.LogEvent=et;t.LogMasterPageImpression=pt;t.Log=wt;t.ForceFlush=ot;ni();t.FlushMainQueueDontForce=g;t.SaveLogsToSharedStorage=bt;t.ResetState=kt;u.bind("onP1",g,!0);u.bind("ajax.postload",g,!0);r.bind(_w,"beforeunload",ot,!1);_w.Log={Log:wt};_w.Log2={LogEvent:et,LogMasterPageImpression:pt,ForceFlush:ot,FlushMainQueueDontForce:g,SaveLogsToSharedStorage:bt,ResetState:kt}}),function(n){function i(n){for(var r=[],i=1;i1&&u[0]===u[1]&&(u=u.slice(1)),t(n,"errorLines",u)),u}function b(n,i,r,u,f){var e=n.logTextCache,s,h;return e||(s=f?f.number:null,h=o(n,u,f),e=(i?"["+i+"] ":"")+(s?s+" ":"")+h[0],r=="Uncaught "+e&&(e=r),t(n,"logTextCache",e)),e}function k(n,i,r,u){var f=n.logStackCache,e;return f||(e=o(n,r,u),f=n.Text+(i&&i!=n.Text?"\n"+i:"")+(e.length>1?"\n"+e.slice(1).join("\n"):""),t(n,"logStackCache",f)),f}function t(n,t,i){Object.defineProperty(n,t,{value:i})}var u,i;(function(n){n[n.None=0]="None";n[n.Error=1]="Error";n[n.Warning=2]="Warning"})(u||(u={}));var s="ClientInst",h=/\r/g,c=/\n\n/g,f={},e=1,l={},a=1;n.LogFatalError=v;n.LogError=y;n.LogWarning=p;i=function(){return!1};n.RegisterErrorFilter=w}(LoggerModule||(LoggerModule={}));_w.SharedLogHelper={LogError:LoggerModule.LogError,LogWarning:LoggerModule.LogWarning,RegisterErrorFilter:LoggerModule.RegisterErrorFilter},function(n){function u(n,u,f){i||(n&&u&&(n.addEventListener("statechanged",r),sj_be(u,"visibilitychange",r,!1)),i=!0);t.indexOf(f)===-1&&t.push(f)}function f(){return t}function r(n){var u=!1,f,e,i,o,s,r;if(_w.clickFlushedTime&&sb_gt()-_w.clickFlushedTime<100&&(u=!0),n.synthetic!==!0)try{if(i=n.newState,typeof i!="undefined"?(e=i!==0,f=i===0?"hidden":"visible"):(e=!document.hidden,f=document.visibilityState),u||sj_evt.fire("visibility",e,i),f!=="visible"){for(o in t)s=t[o],s();_w.useSharedLocalStorage?Log2.SaveLogsToSharedStorage():u?Log2.FlushMainQueueDontForce():Log2.ForceFlush()}r=document.createEvent("event");r.initEvent("visibilitychange",!0,!0);r.synthetic=!0;document.dispatchEvent(r)}catch(h){SharedLogHelper.LogFatalError("SharedLogVisibilityFailure",null,h)}}var t=[],i=!1;n.Register=u;n.GetHandlers=f}(VisibilityChangeHelperModule||(VisibilityChangeHelperModule={}));_w.VisibilityChangeEventHelper={Register:VisibilityChangeHelperModule.Register,GetHandlers:VisibilityChangeHelperModule.GetHandlers};sj_anim=function(n){var s=25,t=this,c,u,h,f,e,o,l,i,r;t.init=function(n,s,a,v,y){if(c=n,e=s,o=a,l=v,r=y,v==0){f=h;r&&r();return}i||(i=e);u||t.start()};t.start=function(){h=sb_gt();f=Math.abs(o-i)/l*s;u=setInterval(t.next,s)};t.stop=function(){clearInterval(u);u=0};t.next=function(){var u=sb_gt()-h,s=u>=f;i=e+(o-e)*u/f;s&&(t.stop(),i=o);n(c,i);s&&r&&r()};t.getInterval=function(){return s}};sj_fader=function(){return new sj_anim(function(n,t){sj_so(n,t)})};define("framework",["require","exports","event.custom"],function(n,t,i){i.bind("onPP",function(){i.fire("onP1Lazy")},!0)}),function(){var n=!1;sj_evt.bind("ErrorInstrumentation",function(){return n=!0},!0);sj_be(_w,"load",function(){var t,r,i;typeof SearchAppWrapper!="undefined"&&(t=SearchAppWrapper.CortanaApp,r=_ge("b_pg_dlyd"),r||(sj_evt.fire("BeforeShowWebView"),n||(i="showWebViewAsync",t&&t[i]&&ThresholdUtilities.wrapApiCallWithTimeout(t,i,"SWV",null,500,null))))})}(ShowWebView||(ShowWebView={}));_w.LogOffline=!1,function(n){function e(n){return n?n.replace(u,"").replace(f,""):n}function h(t,i){var r,o;if(!t)return[];var h=[],c=!1,s=0;for(r=0;r<=t.length;++r)c?t[r]==n.endMarker&&(o={text:t.substring(s,r).replace(u,""),highlighted:!0},o.text.length>0&&h.push(o),c=!1,s=r+1):t[r]==n.startMarker&&(o={text:t.substring(s,r).replace(f,""),highlighted:!1},o.text.length>0&&h.push(o),c=!0,s=r+1);return s!=t.length&&(o={text:e(t.substring(s)),highlighted:c},h.push(o)),i&&h.forEach(function(n){return n.highlighted=!n.highlighted}),h}function c(r,u){var u;if(!r)return r;if(!u||(u=i(u.toLocaleLowerCase()),r.toLocaleLowerCase()==u))return n.startMarker+r+n.endMarker;var f=o(r),h=[],l=o(u),a=[],e=-1,c=!1;return l.forEach(function(r,u){var v,o,s,l,y;if(r.length>0&&(v=t.indexOf(r[0])==-1,c||v)){for(o=0,s=++e;s0){for(o=0,c=++e;c0&&u.push(n.substr(r,i-r)),r=i;i=0;)i++;i-r>0&&u.push(n.substr(r,i-r))}return u}function i(n){for(var u,f=!1,t=n.split(""),i=t.length-1;i>=0;--i)u=t[i],r.hasOwnProperty(u)&&(t[i]=r[u],f=!0);return f&&(n=t.join("")),n}var t,r;n.startMarker=String.fromCharCode(57344);n.endMarker=String.fromCharCode(57345);var u=new RegExp(n.startMarker,"g"),f=new RegExp(n.endMarker,"g"),s=new RegExp(n.endMarker+n.startMarker,"g");n.removeMarkers=e;n.split=h;n.addMarkers=c;t=[" ",".","?","!",",","'",":",";","¿","¡","/","-","+","_",String.fromCharCode(160)];n.removeDiacritics=i;r={"ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ɶ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ſ":"s","ẛ":"s","ß":"ss","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","0":"0","₀":"0","⓪":"0","⁰":"0","¹":"1","⑴":"1","₁":"1","❶":"1","⓵":"1","⒈":"1","①":"1","1":"1","²":"2","❷":"2","⑵":"2","2":"2","₂":"2","⓶":"2","②":"2","⒉":"2","³":"3","3":"3","⒊":"3","⑶":"3","₃":"3","❸":"3","⓷":"3","③":"3","⓸":"4","④":"4","⒋":"4","4":"4","⁴":"4","₄":"4","❹":"4","⑷":"4","⒌":"5","₅":"5","⓹":"5","⑸":"5","❺":"5","⑤":"5","5":"5","⁵":"5","⑹":"6","⁶":"6","6":"6","❻":"6","₆":"6","⑥":"6","⓺":"6","⒍":"6","7":"7","⁷":"7","❼":"7","⓻":"7","⒎":"7","₇":"7","⑺":"7","⑦":"7","⑧":"8","⒏":"8","⓼":"8","⑻":"8","⁸":"8","8":"8","❽":"8","₈":"8","⓽":"9","9":"9","⒐":"9","❾":"9","⑼":"9","₉":"9","⑨":"9","⁹":"9"}}(HitHighlightingParserImpl||(HitHighlightingParserImpl={}));HitHighlightingParser=HitHighlightingParserImpl,function(n){function b(){return lt++}function wt(n,i,r,f){var h=tt(n,i,!0,f),v=[],c,l,y,s,a,w,o,d;if(h&&h.length>0)for(c=0;c0){for(d in p)k.push(e(p[d]));b.DS=k}s.push(b);u(o)}return v.length>0||s.length>0?(Log2.LogEvent("ClientInst",null,null,s,v,null,null,null),!0):!1}function r(n,i,u,f,e,o,s){var a=_G.IG,h,y,l,c,v;if(o&&(a=o),t[a]||(t[a]=[]),h={AppNS:n,K:b(),T:"D.Item"},Object.defineProperty(h,"RefCount",{writable:!0,value:1}),i&&(h.Url=i,h.T="D.Url"),u&&(h.N=u),s&&(h.T=s),e?(y=g(h,e,a),!y&&InstrumentationConfig.CopyDataCommand&&(dt(e,a),g(h,e,a))):t[a].push(new ct(new st(h))),f)for(l in f)if(f.hasOwnProperty(l))if(c=f[l],c===null||c===undefined||c.length===0||vt.test(c))console.warn("Skipping logging datasource field key: "+l+" because it has no value.");else if(at[l]===!0)if(typeof c!="string"&&c.length)for(v in c)c.hasOwnProperty(v)&&r(n,null,l,{childElementIndex:v,childElementValue:c[v]},h,null,"constructedChildNode");else h[l]=c;else console.warn("Unknown datasource field key: "+l+". skipping logging value: "+c);return h}function bt(n,t,i,u,f,e){var o={},s;u&&(o.Service=u);o.Scenario=i;for(s in e)o[s]=e[s];return r(n,null,null,o,null,f,t)}function kt(n,t,i,u){return k(r(n,t,i,null,u))}function k(n){return new ht(n)}function d(n,i,f){var s,e,o,h;for(s in t){e=t[s];for(h in e)e[h].kValueExists(n)&&(o=h);if(o&&e[o].kValueExists(n)){var c=r(i,null,null,null,null,f,null),l=e[o].tree.GetValue(),a=[];a.push({T:"D.MI",Action:"Move",SrcAppNS:l.AppNS,SrcK:l.K,DestAppNS:c.AppNS,DestK:c.K});Log2.LogEvent("ClientInst",null,null,a,null,null,s,null);t[f].push(e[o]);u(e[o].tree);return}}SharedLogHelper.LogError("missingDataSourceException","couldn't find data source with appNS "+i+" and k value "+n)}function dt(n,t){d(n.K.toString(),n.AppNS,t)}function g(n,i,r){var u=[],e=t[r],o,f,s,h,c;for(o in e)for(u.push(e[o].tree);u.length>0;){if(f=u.pop(),s=f.GetValue(),s.K===i.K&&s.AppNS===i.AppNS)return f.AddChild(n),e[o].addKValue(n.K.toString()),!0;h=f.GetChildren();for(c in h)u.push(h[c])}return!1}function e(n){var u=n.GetValue(),i=n.GetChildren(),r,t;if(i.length>0){for(r=[],t=0;t0){for(c in f)h.push(e(f[c]));s.DS=h}t.push({T:"D.MI",Action:"Append",AppNS:o.AppNS,K:o.K,DS:[s]});u(i[r])}}function u(n){var i,t;for(n.SetIsInstrumented(),i=n.GetChildren(),t=0;t0){for(a in s)l.push(e(s[a]));c.DS=l}f.push(c);u(i)}return _w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("DSL"+o+"C"),o++),f}function tt(n,t,r,u){var h,o,f,e,s,c,l,a;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordApiTime("LL"+i+"S"),n.parentElement&&(n=n.parentElement),h=n.querySelectorAll(yt),o=h.length,o==0)return _w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"A"),i++),[];for(f=[],e=0;e0)k.L=p.map(ut);else if(o)return null;return w.lastProcessedIndex=y-1,w}function ut(n){return n.layout}function ni(n,i,r,u){var v=null,b=null,nt=!n.hasAttribute(a)&&!n.hasAttribute(f),tt=n.getAttribute(s),k,o,it,e,ft;if(tt&&(o=et(tt),o&&(v=o.K,b=o.AppNS)),k=n.getAttribute(h),k&&(o=et(k),o&&(v=o.K,b=o.AppNS)),v||(v=n.getAttribute(c)),it=nt?pt:w,e={T:it},v){var rt=v.split(".",1)[0],g=u?u:_G.IG,ut=!1;for(ft in t[g])if(t[g][ft].kValueExists(rt)){ut=!0;break}!ut&&InstrumentationConfig.CopyDataCommand&&d(rt.toString(),b,g);e.K=v}return b&&b!==i?e.AppNS=b:b||i||(e.AppNS=r),nt||(n.hasAttribute(f)&&(e.Region=n.getAttribute(f)),n.hasAttribute(l)&&(e.Results=n.getAttribute(l)),n.hasAttribute(y)&&(e.Role=n.getAttribute(y)),n.hasAttribute(p)&&(e={T:w,InsertId:n.getAttribute(p)})),e}function et(n){if(!n)return null;var t=ft.exec(n);return t&&t.length==3?{AppNS:t[1],K:t[2]}:null}function ot(n,t){if(n&&t)for(var i in t)n.push(t[i])}var st=function(){function n(n){this.children=[];this.instrumented=!1;this.value=n}return n.prototype.AddChild=function(t){this.children.push(new n(t))},n.prototype.GetValue=function(){return this.value},n.prototype.GetChildren=function(){return this.children},n.prototype.IsInstrumented=function(){return this.instrumented},n.prototype.SetIsInstrumented=function(){this.instrumented=!0},n}(),ht=function(){function n(n){this.hValue="ID="+n.AppNS+","+n.K;this.dsItem=n;this.dsRefCount=n.RefCount++}return n.prototype.GetNamespacedKValue=function(){return this.hValue+"."+this.dsRefCount},n.prototype.GetKValue=function(){return this.dsItem.K.toString()+"."+this.dsRefCount},n.prototype.GetDataSource=function(){return this.dsItem},n.prototype.GetUrlWithFormCode=function(){return this.dsItem?this.dsItem.Url:null},n}(),ct=function(){function n(n){this.kValuesContained={};this.tree=n;this.kValuesContained[n.GetValue().K.toString()]=!0}return n.prototype.addKValue=function(n){this.kValuesContained[n]=!0},n.prototype.kValueExists=function(n){return this.kValuesContained[n]},n}(),lt=1,o=0,i=0,at={T:!0,Service:!0,Scenario:!0,AppNS:!0,K:!0,AppID:!0,AppName:!0,Url:!0,CDT:!0,LMD:!0,EXT:!0,PHits:!0,Rank:!0,SettingID:!0,DS:!0,SPDisplay:!0,PPMiss:!0,order:!0,indexed:!0,count:!0,alterationState:!0,childElementIndex:!0,childElementValue:!0,added:!0,promoted:!0,suppresssedBy:!0},vt=new RegExp("/^s*$/"),t={},s="h",h="data-h",c="data-k",f="data-region",l="data-results",a="data-isregion",v="data-logged",y="data-role",p="data-insertionpoint",yt="[data-k], [data-isregion], [h], [data-h], [data-region]",w="L.Box",pt="L.Url",ft;n.CreateKValue=b;n.LogUpdatedLayoutCentralizedDataSources=wt;n.CreateDataSourceItem=r;n.CreateDataSourcesRoot=bt;n.CreateInstrumentedItem=kt;n.CreateInstrumentedItemFromDs=k;n.GetNewDataSources=gt;n.CreateLayoutNode=tt;ft=/ID=(\w+),(\d+(?:\.\d+)*)/i}(DataSourceLayoutManager||(DataSourceLayoutManager={}));_w.DsLManager=DataSourceLayoutManager;ThresholdDiagnosticsProd=function(){function n(){this.debugStrings=[];this.submitCallbackBound=!1;sj_evt.bind("ajax.WindowsFeedback.Form.Shown",sj_dm(this,this.onFeedbackFormShown));sj_evt.bind("ajax.threshold.pageStart",sj_dm(this,this.clearDebugStrings))}return n.prototype.recordApiString=function(n){console.log(n);this.debugStrings.push(n)},n.prototype.clearDebugStrings=function(){this.debugStrings.length=0},n.prototype.onFeedbackFormShown=function(){var t=_ge("fdbkfrm"),i,n;t?this.submitCallbackBound||(i=sj_dm(this,this.onFeedbackFormSubmit,t),n=t.getElementsByClassName("fdbkactionbtns"),n&&n.length==1&&(sj_be(n[0],"click",i,!0),this.submitCallbackBound=!0)):this.submitCallbackBound=!1},n.prototype.onFeedbackFormSubmit=function(n,t){var i="apiDebug",r=_w.PageDebug,u=t.elements.screenshot;!u||u.checked?r[i]=this.debugStrings.toString():r[i]&&delete r[i]},n}();_w.ThresholdDiagnostics=new ThresholdDiagnosticsProd;FailedPromise=function(){function n(){this.isActive=!0;this.operation=null}return n.prototype.then=function(n,t){return this.handleError(t),this},n.prototype.done=function(n,t){this.handleError(t)},n.prototype.handleError=function(n){this.isActive&&n&&_w.setImmediate(function(){return n(null)})},n.prototype.cancel=function(){this.isActive=!1},n}();ThresholdUtilitiesM2=function(){function n(){this.regExes={};this.guidCleaner=/[-{}]/g;this.ampersandSanitizer=/&+$|((\?|&|#)&+)/g;this.isFirstPageStart=!0;this.startTime=_w.performance?_w.performance.timing.navigationStart:si_ST;this.apiSequenceNumber=0;this.headersAsyncPromise=null;this.headersCallComplete=!1;this.cortanaHeaders=null;this.themeColor=null;this.headersCallTimeout=3e3;this.headersCallbacks=[];this.rtlLangs=["ar","dv","fa","he","ku-arab","pa-arab","prs","ps","sd-arab","syr","ug","ur","qps-plocm"];sj_evt.bind("ajax.threshold.pageStart",sj_dm(this,this.onPageStart),1)}return n.prototype.getUrlParameter=function(n,t){for(var r=null,f=this.getParameterRegex(t),u,i;u=f.exec(n);)i=u;return i&&i.length>=2?r=i[1]:t==="mock"&&(r=this.getMockParameter(n)),r},n.prototype.setUrlParameter=function(n,t,i){var r=n,u=this.getParameterRegex(t).exec(n),f="&",e,o,s;return u?(f=u[0].substring(0,1),e=u.index,o=u.index+u[0].length,r=n.substring(0,e),i&&(r+=f+t+"="+i),r+=n.substring(o)):i&&(s=this.getRegex("devicecontent"),s.test(n)?n.indexOf("#")<0&&(f="#"):n.indexOf("?")<0&&(f="?"),r=n+f+t+"="+i),r},n.prototype.getDecodedQuery=function(n){var i=n,t;return i||(i=_w.location.href),t=this.getUrlParameter(i,"q"),t&&(t=decodeURIComponent(t.replace(this.getRegex("\\+")," ")).trim()),t},n.prototype.getUrlReadyQuery=function(n){return encodeURIComponent(n).replace(this.getRegex("%20"),"+")},n.prototype.recordApiTimeDetail=function(n,t,i){var u=new Date,f,r,e,o;if(n&&(_G.ApiTimes=_G.ApiTimes||{},_G.ApiTimes[n]=u.getTime()-this.startTime),i){f={};for(r in i)i.hasOwnProperty(r)&&(f[r]=i[r]);i=f;i.time=u}else i={time:u,label:n||t,sequence:this.apiSequenceNumber++};return e=_w.msWriteProfilerMark,o=i.sequence+","+(n||i.label),e&&e(o),_w.performance&&performance.mark&&performance.mark(o),i},n.prototype.recordApiTime=function(n){return this.recordApiTimeDetail(n),null},n.prototype.uploadApiTimes=function(n){var t=_G.ApiTimes;this.recordApiTime(n);t&&typeof Log2!="undefined"&&Log2&&(Log2.LogEvent("CPT2",{wt:t},null,null,null,null,null,null),_G.ApiTimes={})},n.prototype.wrapSynchronousApiCall=function(n,t,i,r){for(var e,o,s,h=this,f=[],u=4;u0&&(e=sb_st(function(){o&&o.cancel&&o.cancel();c("T");f&&f(null)},u));o.then(function(n){return e&&sb_ct(e),c("C"),n},function(n){e&&sb_ct(e);c("E",n);SharedLogHelper.LogError("Exception","Failed in overrideMethod callback: "+t,n);f&&f(null)})}catch(v){e&&sb_ct(e);c("E",v);SharedLogHelper.LogError("Exception","Failed while calling overrideMethod: "+t,v);y=new FailedPromise;o=y.then(null,f)}return o},n.prototype.cleanGuid=function(n){var t=n;return t&&(t=t.replace(this.guidCleaner,"")),t},n.prototype.parseJSON=function(n){var t,i=null;if(n)try{t=JSON.parse(n)}catch(r){i=r}return t||console.log("Unable to parse JSON input: "+n+(i?". Exception: "+i:"")),t},n.prototype.getCortanaHeaders=function(n){var i=this,t,r;if(this.headersCallComplete){n(this.cortanaHeaders);return}if(this.headersCallbacks.push(n),!this.headersAsyncPromise){t=null;r=!1;function f(){t&&(sb_ct(t),t=null);i.headersCallComplete=!0}function u(n){var u,f,t;if(!r)for(u=i.headersCallbacks,f=u.length,t=0;t0&&t0&&(r=i[0])),r},n.prototype.unlabeledParameterFilter=function(n){return n.indexOf("=")<0},n.prototype.clearLocalCache=function(){this.cortanaHeaders=null;this.themeColor=null;this.headersAsyncPromise=null;this.headersCallComplete=!1;this.headersCallbacks=[]},n.prototype.onPageStart=function(n){console.log("onPageStart");!this.isFirstPageStart&&n[1]&&(this.startTime=n[1],this.clearLocalCache());this.isFirstPageStart=!1;sj_evt.fire("ajax.postload")},n}();_w.ThresholdUtilities=new ThresholdUtilitiesM2;sj_evt.bind("threshold.pageUnload",function(){sj_evt.fire("unload")},0)