var CoreUtilities,LoggerModule,VisibilityChangeHelperModule,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}t.__esModule=!0;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 v(n,t){return t.length&&typeof n=="function"?function(){return n.apply(null,t)}:n}function y(n,t){var e=[].slice.apply(arguments).slice(2),u=v(n,e),i;return i=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(u):o(u,t),f[r]=i,r=(r+1)%a,i}function p(n,t){var r=[].slice.apply(arguments).slice(2),i=l(v(n,r),t);return e[u]=i,u=(u+1)%a,i}function w(){h.forEach(f,s);h.forEach(e,window.clearInterval);r=u=e.length=f.length=0}function s(n){n!=null&&(typeof n=="string"&&n.indexOf("i")===0?window.clearImmediate(parseInt(n.substr(1),10)):c(n))}var h=i,f=[],e=[],o,c,l,a=1024,r=0,u=0;o=window.setTimeout;t.setTimeout=y;l=window.setInterval;t.setInterval=p;t.clear=w;c=window.clearTimeout;t.clearTimeout=s;window.sb_rst=o;window.setTimeout=window.sb_st=y;window.setInterval=window.sb_si=p;window.clearTimeout=window.sb_ct=s});define("event.custom",["require","exports"],function(n,t){function o(n){return i[n]||(i[n]=[])}function s(n,t){n.d?setTimeout(function(){n.apply(null,t)},n.d):n(t)}function l(){for(var t,n=0;n=0)}function f(){var n=location.hostname.match(/([^.]+\.[^.]*)$/);return n?";domain="+n[0]:""}function e(n,t,i,r){var u=f(),e=r&&r>0&&r*6e4<33696e6?r*6e4:33696e6,o=new Date((new Date).getTime()+Math.min(e,33696e6));_d.cookie=n+u+(t?";expires="+o.toGMTString():"")+(i?";path="+i:"")}function o(){return!i}function r(n,t){var r,f;if(i||!u(n,t))throw new Error("get cookie unauthorized");return(r=_d.cookie.match(new RegExp("\\b"+n+"=[^;]+")),t&&r)?(f=r[0].match(new RegExp("\\b"+t+"=([^&]*)")),f?f[1]:null):r?r[0]:null}function s(n,t,f,o,s,h){var a,c,l,v;if(i||!u(n,t))throw new Error("set cookie unauthorized");c=t+"="+f;l=r(n);l?(v=r(n,t),a=v?l.replace(t+"="+v,c):l+"&"+c):a=n+"="+c;e(a,o,s,h)}function h(n,t,r,f,o){if(i||!u(n))throw new Error("set cookie unauthorized");var s=n+"="+t;e(s,r,f,o)}function c(n,t){if(!i){var r=n+"=",u=f();_d.cookie=r+u+";expires="+v+(t?";path="+t:"")}}function l(){var r=null,e,n,u,t,f;if(!i)for(r={},e=_d.cookie;n=y.exec(e);){for(t={},f=!1;u=p.exec(n[2]);)f=!0,t[u[1]]=u[2];f||(t=n[2]);r[n[1]]=t}return r}var w;t.__esModule=!0;var a={MUID:[],_SS:["SID","CPID","AC","CPH","HV"],SRCHHPGUSR:["LUT","IAC","IPMH"],RMS:[]},i=!1,v=new Date(0).toGMTString(),y=new RegExp("([^=]+)=([^;]*)(; )?","g"),p=new RegExp("([^=]+)=([^&]*)&?","g");try{w=_d.cookie}catch(b){i=!0}t.areCookiesAccessible=o;t.get=r;t.set=s;t.setNoCrumbs=h;t.clear=c;t.parse=l;_w.sj_cook={get:r,set:s,setNoCrumbs:h,clear:c,parse:l,areCookiesAccessible:o}});define("rmsajax",["require","exports"],function(n,t){function c(){for(var r,n=[],t=0;t1)for(u=ri.apply(null,n),f=0;f"&&(r=r.substring(c,f-l));i.text=r;s.body.appendChild(i)}et(t)}else i.src=n.url,s.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 a(i),r=0;r0;){try{i=it.shift();t=JSON.parse(i)}catch(r){n++;continue}e&&e(t.data);p(t)}n>0&&f("InvalidIncompleteImpressions",n,_G.IG)}function p(n){r.append(n);a()}function c(n){return JSON.stringify(n).replace(/]]>/g,"]]]\]>")}function ui(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&&w(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 w(n){var t=!1,i;try{n instanceof Array?t=n.every(w):(t=!!n.T,i=n.L,t&&i&&(t=w(i)))}catch(r){return SharedLogHelper.LogWarning("PageLayoutValidationException",null,r),!1}return t||SharedLogHelper.LogWarning("PageLayoutValidationException",JSON?JSON.stringify(n):n,null),t}function b(n,t,i){n.push('')}function fi(n,t,i){function f(n){return n?n.replace(/&/g,"&").replace(/"/g,"""):""}var r=n.data,e,u,l,o,s,h;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;l=r.uxClassification;l&&(u.UxClassification=l);_w.sj_cook&&sj_cook.parse&&(u.Cookies=sj_cook.parse());t.push("<\/D>");t.push("","",r.pageName,"<\/Name>");o=r.layoutNodes;o&&w(o)&&t.push("<\/L>");t.push("<\/Page>","",n.timestamp,"<\/TS>","");b(t,"RawQuery",f(r.rawQuery));b(t,"IsQuery",f(r.isQuery.toString()));b(t,"Form",f(r.form));s=r.userInfoOverrides;for(h in s)s.hasOwnProperty(h)&&b(t,f(h),f(s[h]));t.push('',"<\/Ovr>","<\/M>","<\/Group>")}function k(n){var t=window.location.href,i,r,u;return l&&t.indexOf(l)===0||(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),l=i<0?t:t.substring(0,i),r=_w.ThresholdUtilities,r&&(u=r.getUrlParameter(t,"FORM"),u&&(l+="?FORM="+u))),n.CurUrl=l,n.Pivot=_G.PN,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 rt(n,t){var r=[""],u=o.getTime(),f=_G.CID||sj_cook.get(ot,ot),e,i,s;if(f&&r.push("",f,"<\/CID>"),n.length>0){for(r.push(""),i=0;i")}if(t.length>0)for(i=0;i"),r.join("")}function a(n,t){if(n===void 0&&(n=!1),t===void 0&&(t=!0),i.isInstrumentationEnabled){var r=n?h.retryQueue:h.mainQueue;r.flushTimeoutHandle||(r.flushTimeoutHandle=gt.setTimeout(function(){return lt(n,r,!1,t)},r.getInterval()))}}function lt(n,t,u,e){var k,l,s,d,p,v,g,w,y,a,c,b;if(e===void 0&&(e=!0),sb_ct(t.flushTimeoutHandle),t.flushTimeoutHandle=null,!n||!h.mainQueue.inProgressUpload){if(!n&&h.retryQueue.inProgressUpload&&h.retryQueue.inProgressUpload.abort(),t.inProgressUpload)if(k=o.getTime()-t.requestSentTimestamp,u||k>i.flushInterval)t.inProgressUpload.abort(),u?f("SendAbortedForceFlush",1,_G.IG):f("SendTimedOut",1,_G.IG);else return;if(l=r.getBatch(n),l.length!=0){s={};for(d in l.events)p=l.events[d],v=p.flights,s[v]||(s[v]={events:[],mpis:[]}),s[v].events.push(p.log);for(g in l.masterPageImpressions)w=l.masterPageImpressions[g],y=w.flights,s[y]||(s[y]={events:[],mpis:[]}),s[y].mpis.push(w.log);for(a in s)c=sj_gx(),c.open("POST",_G.XLS,e),b=sj_df(ei,c,t,n),e&&(i.flushInterval>=1e3&&(c.timeout=i.flushInterval),c.onload=b),c.setRequestHeader("Content-type","text/xml"),a!==""&&(c.setRequestHeader("X-MSEdge-ExternalExpType","JointCoord"),c.setRequestHeader("X-MSEdge-ExternalExp",a)),t.inProgressUpload=c,t.requestSentTimestamp=o.getTime(),c.send(rt(s[a].events,s[a].mpis)),e||b(null)}}}function ei(n,t,i,u){if(t.readyState===4){i.inProgressUpload=null;var f=Math.floor(t.status/100);f===2?(r.clearSentItems(u)&&!u&&a(!1),a(!0)):f===4?(r.markFailedItems(!0,u),a(!0)):r.markFailedItems(!1,u);u&&r.recordRetryAttempt()}}function at(n,t){n===void 0&&(n=!1);t===void 0&&(t=!0);lt(!1,h.mainQueue,n,t)}function ut(n,t,i,r,u,f,e,h,c){var l={},a,v;if(k(l),t)if(typeof t=="string")l.Text=t;else for(a in t)t.hasOwnProperty(a)&&(l[a]=t[a]);return i&&(l.T="CI."+i),v=c||o.getTime(),l.TS=v,l.RTS=v-y,l.SEQ=tt++,{type:s.EVENT,impressionGuid:f!=null?f:_G.IG,previousImpressionGuid:e,timestamp:v,data:{eventType:n,eventData:l,dataSources:r,pageLayout:u},dominantImpressionGuid:h}}function vt(n){var t=sj_gx();t.open("POST",_G.XLS);t.setRequestHeader("Content-type","text/xml");t.send(rt(n,[]))}function ft(n,t,r,u,f,e,o,s,h){var c,l;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");i.isInstrumentationEnabled&&(c=ut(n,t,r,u,f,e,o,s,h),EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf(n)>=0)&&(l=ut("Immediate"+n,t,r,u,f,e,o,s,h),vt([l])),p(c))}function yt(n){var t,r,u;i.isInstrumentationEnabled&&(e&&e(n),n.clientTimestamp||(n.clientTimestamp=o.getTime()),t=n.eventData,t||(t=n.eventData={}),k(t),r={type:s.MASTER_PAGE_IMPRESSION,impressionGuid:n.impressionGuid?n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data:n},EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf("masterPageImpression")>=0)&&(u=ut("ImmediateMaster",t,n.impressionUrl,n.dataSources,n.layoutNodes,n.impressionGuid,null,null),vt([u])),e||!i.waitForPageInfo?p(r):it.push(JSON.stringify(r)))}function pt(n,t,r,u){for(var e=[],f=4;f=0)l=!1;else throw f;}}}function w(){d()&&(y&&sb_ct(y),y=sb_st(g,i.queueDumpInterval))}function rt(n,t){var i=JSON.stringify(n),r=i.length+3;return n.size=r,t?i.replace('"size":0','"size":'+r):i}function ut(n){return v===null&&typeof _CachedFlights!="undefined"&&_CachedFlights.sort&&(v=_CachedFlights.sort().join(",")),{log:n,lastSendErrorTimeStamp:0,inProgress:!1,size:0,flights:v}}function ft(){var n,r,i;if(u){if(vt(),n=u[c],t=[],typeof n=="string"||n&&n.length!==0)try{if(t=JSON.parse(n),t.some(function(n){return!n.log}))f("PrimaryQueueRestoreInvalidItems",t.length,_G.IG),t=[];else if(r=t.length,r>0){for(i=0;i0}function st(n){return n.log.type===s.EVENT&&n.log.data&&n.log.data.eventType===nt}function ht(n,i){for(var u=[],c=i?e[0]:t,s=0,r,h,l;s0&&(l=h/2,e.push(u.slice(0,l)),e.push(u.slice(l)));w()}function ct(){var n,t,i;if(e.length>0){for(n=e[0],t=0;t0)for(u=0,r=0;r=e){t.splice(0,r+1);f("QueueOverflow",r+1,_G.IG,!0);break}return h=JSON.stringify(t),n&&t.splice(0,o),h}function at(n){var i=ut(n);rt(i,!1);yt(i.size)&&t.push(i);w()}function vt(){var t=c+"_logUploadIntervalStartDate",f=c+"_uploadedLogSizeInInterval",n;h=u[t];r=u[f];n=sb_gt();h==undefined||r==undefined?b(n):tt(h,n)>=i.logUploadCapIntervalInDays&&b(n)}function b(n){h=n;r=0}function tt(n,t){var i=t-n;return i/ti}function yt(n){var t,u;return i.isInstrumentationEnabled?LogUploadCapFeatureEnabled?(t=sb_gt(),tt(h,t)>=i.logUploadCapIntervalInDays&&b(t),r>=i.logUploadCapSizeInChar)?!1:(u=r+n,u>=i.logUploadCapSizeInChar)?(f("LogUploadSizeLimitReached",1,_G.IG,!0),r=i.logUploadCapSizeInChar,!1):(r=u,!0):!0:!1}var t=[],h,r,l=!1,y=null,e=[],k=_w.location.pathname,c=InstLogQueueKeyFetcher.Get(k),p=InstLogQueueKeyFetcher.GetSharedLocation(),it=InstLogQueueKeyFetcher.CanUploadSharedMessages(k);n.dumpToStorage=g;n.initialize=ft;n.getBatch=et;n.clearSentItems=ot;n.markFailedItems=ht;n.recordRetryAttempt=ct;n.append=at})(r||(r={}));h={mainQueue:{getInterval:function(){return i.flushInterval}},retryQueue:{getInterval:function(){return i.retryInterval}}};t.LogEvent=ft;t.LogMasterPageImpression=yt;t.Log=pt;t.ForceFlush=bt;ri();t.FlushMainQueueDontForce=d;t.SaveLogsToSharedStorage=kt;t.SaveLogsToLocalStorage=et;t.ResetState=dt;g.bind("onP1",d,!0);g.bind("ajax.postload",d,!0);ni.bind(_w,"beforeunload",et,!1);_w.Log={Log:pt};_w.Log2={LogEvent:ft,LogMasterPageImpression:yt,ForceFlush:bt,FlushMainQueueDontForce:d,SaveLogsToSharedStorage:kt,ResetState:dt,SaveLogsToLocalStorage:et}}),function(n){function i(n){for(var r=[],i=1;i1&&f[0]===f[1]&&(f=f.slice(1)),i(n,"errorLines",f)),f}function b(n,t,r,u,f){var e=n.logTextCache,s,h;return e||(s=f?f.number:null,h=o(n,u,f),e=(t?"["+t+"] ":"")+(s?s+" ":"")+h[0],r=="Uncaught "+e&&(e=r),i(n,"logTextCache",e)),e}function k(n,t,r,u){var f=n.logStackCache,e;return f||(e=o(n,r,u),f=n.Text+(t&&t!=n.Text?"\n"+t:"")+(e.length>1?"\n"+e.slice(1).join("\n"):""),i(n,"logStackCache",f)),f}function i(n,t,i){Object.defineProperty(n,t,{value:i})}var t,r;(function(n){n[n.None=0]="None";n[n.Error=1]="Error";n[n.Warning=2]="Warning"})(t||(t={}));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;r=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};var 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)})},customEvents=require("event.custom");customEvents.bind("onPP",function(){customEvents.fire("onP1Lazy")},!0),function(){var n=!1;sj_evt.bind("ErrorInstrumentation",function(t,i){return n=i==1},!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=!r.match(t),c||v)){for(o=0,s=++e;s0){for(o=0,c=++e;ci&&r.push(n.substr(i,e-i)),r.push(t),i=e+t.length,t}),i=0;--i)u=t[i],r.hasOwnProperty(u)&&(t[i]=r[u],f=!0);return f&&(n=t.join("")),n}var 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"),t=new RegExp("([\\s.。?!,،\"':;¿¡/\\-()+_@=&"+String.fromCharCode(160)+"\\\\]|%(20|23|24|26|2b|2c|2f|3a|3d|3f|40))+","gi");n.removeMarkers=e;n.split=h;n.addMarkers=c;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 st++}function pt(n,i,r,f){var h=g(n,i,!0,f,!1),v=[],c,l,y,s,a,w,o,nt;if(h&&h.length>0)for(c=0;c0){for(nt in p)k.push(e(p[nt]));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,c,y,l,h,v;if(o&&(a=o),t[a]||(t[a]=[]),c={AppNS:n,K:b(),T:"D.Item"},Object.defineProperty(c,"RefCount",{writable:!0,value:1}),i&&(c.Url=i,c.T="D.Url"),u&&(c.N=u),s&&(c.T=s),e?y=dt(c,e,a):t[a].push(new ot(new ft(c))),f)for(l in f)if(f.hasOwnProperty(l))if(h=f[l],h===null||h===undefined||h.length===0||ct.test(h))console.warn("Skipping logging datasource field key: "+l+" because it has no value.");else if(ht[l]===!0)if(typeof h!="string"&&h.length)for(v in h)h.hasOwnProperty(v)&&r(n,null,l,{childElementIndex:v,childElementValue:h[v]},c,null,"constructedChildNode");else c[l]=h;else console.warn("Unknown datasource field key: "+l+". skipping logging value: "+h);return c}function wt(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 bt(n,t,i,u){return k(r(n,t,i,null,u))}function k(n){return new et(n)}function dt(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 g(n,t,r,u,f){var l,h,o,c,a,v,e;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordApiTime("LL"+i+"S"),n.parentElement&&(n=n.parentElement),l=n.querySelectorAll(lt),h=l.length,h==0)return _w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"A"),i++),[];for(o=[],e=0;e0)k.L=b.map(s);else if(e)return null;return w.lastProcessedIndex=p-1,w}function s(n){return n.layout}function ni(n,i,r,u){var s=null,y=null,k=!n.hasAttribute(v)&&!n.hasAttribute(f),d=n.getAttribute(h),b,o,g,e,tt;if(d&&(o=rt(d),o&&(s=o.K,y=o.AppNS)),b=n.getAttribute(c),b&&(o=rt(b),o&&(s=o.K,y=o.AppNS)),s||(s=n.getAttribute(l)),g=k?yt:at,e={T:g},s){var it=s.split(".",1)[0],nt=u?u:_G.IG,ut=!1;for(tt in t[nt])if(t[nt][tt].kValueExists(it)){ut=!0;break}e.K=s}return y&&y!==i?e.AppNS=y:y||i||(e.AppNS=r),k||(n.hasAttribute(f)&&(e.Region=n.getAttribute(f)),n.hasAttribute(a)&&(e.Results=n.getAttribute(a)),n.hasAttribute(p)&&(e.Role=n.getAttribute(p)),n.hasAttribute(w)&&(e.T=vt,e.InsertId=n.getAttribute(w)),e.L=[]),e}function rt(n){if(!n)return null;var t=it.exec(n);return t&&t.length==3?{AppNS:t[1],K:t[2]}:null}function ut(n,t){if(n&&t)for(var i in t)n.push(t[i])}var ft=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}(),et=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}(),ot=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}(),st=1,o=0,i=0,ht={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},ct=new RegExp("/^s*$/"),t={},h="h",c="data-h",l="data-k",f="data-region",a="data-results",v="data-isregion",y="data-logged",p="data-role",w="data-insertionpoint",lt="[data-k], [data-isregion], [h], [data-h], [data-region]",at="L.Box",vt="L.Box.Dynamic",yt="L.Url",it;n.CreateKValue=b;n.LogUpdatedLayoutCentralizedDataSources=pt;n.CreateDataSourceItem=r;n.CreateDataSourcesRoot=wt;n.CreateInstrumentedItem=bt;n.CreateInstrumentedItemFromDs=k;n.GetNewDataSources=gt;n.CreateLayoutNode=g;it=/ID=(\w+),(\d+(?:\.\d+)*)/i}(DataSourceLayoutManager||(DataSourceLayoutManager={}));_w.DsLManager=DataSourceLayoutManager;ThresholdDiagnosticsProd=function(){function n(){this.debugStrings=[];sj_evt.bind("ajax.feedback.initialized",sj_dm(this,this.registerFeedbackDebugCallback),!0);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.collectDebugInfo=function(n){var t={};return n&&(t.apiDebug=this.debugStrings.toString()),t},n.prototype.registerFeedbackDebugCallback=function(n){var t=n[1].debugCollector;t.registerCollectionCallback(sj_dm(this,this.collectDebugInfo))},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.isDarkTheme=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.authChanged",sj_dm(this,this.clearLocalCache),1);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 e=this,t=this;if(this.headersCallComplete){n(this.cortanaHeaders);return}if(this.headersCallbacks.push(n),!this.headersAsyncPromise){var i=null,u=!1,f=function(){i&&(sb_ct(i),i=null);t.headersCallComplete=!0},r=function(){var i,r,n;if(!u)for(t.cortanaHeaders||(t.cortanaHeadersTimedOut?SharedLogHelper.LogWarning("getCortanaHeaders",null,"Timeout"):SharedLogHelper.LogError("getCortanaHeaders",null,t.cortanaHeadersError||new Error("Missing headers"))),i=t.headersCallbacks,r=i.length,n=0;n0&&t0&&(r=i[0])),r},n.prototype.unlabeledParameterFilter=function(n){return n.indexOf("=")<0},n.prototype.clearLocalCache=function(){this.cortanaHeaders=null;this.cortanaHeadersError=null;this.cortanaHeadersTimedOut=!1;this.themeColor=null;this.headersAsyncPromise=null;this.headersCallComplete=!1;this.headersCallbacks=[]},n.prototype.onPageStart=function(n){!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)