var BM=BM||{};BM.config={B:{timeout:1e3,delay:750,maxUrlLength:300,sendlimit:20},S:{distance:20},N:{maxUrlLength:300},E:{buffer:30,timeout:5e3,maxUrlLength:300},C:{distance:50}},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]},function(n){function bt(){var n,c;if(!document.querySelector||!document.querySelectorAll){ut({FN:"init",S:"QuerySelector"});return}b={},e=[],v=document.documentElement,p=document.body,ot=1,et=0,ft=0,s=[],f=0,o=!1;var y="innerWidth"in window?window.innerWidth:v.clientWidth,k="innerHeight"in window?window.innerHeight:v.clientHeight,g=window.pageXOffset||v.scrollLeft,w=window.pageYOffset||v.scrollTop;d=h(window,"devicePixelRatio")?window.devicePixelRatio:-1,d=t+d,a=h(window,"getComputedStyle")?parseInt(window.getComputedStyle(document.body)["font-size"]):-1,a=a>0?a:-1,n={t:r(),x:g,y:w,w:y,h:k,dw:p.clientWidth,dh:p.clientHeight,d:d,s:a},c=Math.floor(Math.random()*1e4).toString(36),i={P:{C:0,N:0,I:c,S:"T",M:t,T:0,K:t},V:[n],L:[]},l={V:it(n),L:[]},ei(),sj_be(window,"beforeunload",u,!1),sj_evt.bind("unload",u),sj_evt.bind("BMU",u)}function pt(n,i){var u,f,r;if(n.querySelectorAll)for(u in dt){var e=dt[u],s=e[0],o=e[1];for(u+=!e[2]?t:" >*",f=n.querySelectorAll(u),r=0;rf&&(lt(),ft=sb_st(yt,i),f=r)}function ut(n){var e={T:"CI.BoxModelError",FID:"CI",Name:wt,P:i&&"P"in i?w(i.P):t,TS:r()},u,f;for(u in n)e[u]=n[u];f=w(e),vt(f)}function lt(){f>0&&(sb_ct(ft),f=0)}function yt(n){var u,t;if(!o){ut({FN:"send",S:s.join(y[1])});return}(ot<=si||n)&&(i.P.S=s.join(y[1]),i.P.M=ui(),u=r(),ci(),i.P.T=r(),i.P.N=ot++,i.P.C+=r()-u,t=bi(i),i.P.C=0,vt(t),s=[],f=0)}function ci(){for(var f=g(),u=r(),t,i,n=0;nEvent.ClientInst<\/T>"+_G.IG+"<\/IG>"+i+"<\/TS>","]]]\]>")+"]]\]><\/D><\/E>",u=""+f+"<\/Events>"+i+"<\/STS><\/ClientInstRequest>",t=sj_gx();t.open("POST",r,!0),t.setRequestHeader("Content-Type","text/xml"),t.send(u)}sj_evt.fire("BM",n)}function w(n){var r=t,f,i;for(f in n)if(i=n[f],i!==t){var o=typeof i=="number",u='"',e=o||i.indexOf("{")===0?t:u;r+=u+f+u+":"+e+i+e+","}return"{"+(r.length>0?r.substr(0,r.length-1):t)+"}"}function wi(n){return n.tagName+(n.id?"#"+n.id:n.className?"."+n.className:t)}function bi(n){function a(n,i){function w(n){return n.replace(yi,encodeURIComponent)}var p=!0,o=[],f,u,e,h,s,c,l;if(i=i||1,!("_c"in n)||i<=1){for(f in n)if(u=n[f],h=f.charCodeAt(0)>=65&&f.charCodeAt(0)<=90,h&&o.push(f),f.indexOf("_")===0)continue;else typeof u=="number"?(e=parseInt(u).toString(36),o.push(e),v(e)):typeof u=="string"?(e=w(u),o.push(e),v(e)):u==null?o.push(t):typeof u=="object"&&(s=a(u,i+1,f),(s&&s.length>0||h)&&o.push(s),p=!1);p&&(n._c=!0)}return c=y[i],l=o.join(k+c+k),l}function v(n){n.length>2&&(n in d&&st(e,n)===-1?e.push(n):d[n]=1)}var nt=r(),d={},l={T:"CI.BoxModel",FID:"CI",Name:wt,P:t},f={},s,p,u,o,g,h,c;for(u in n)u!=="P"&&(s=a(n[u]),s&&s.length>0&&(f[u]=s.split(k)));p=e.slice(et).join(y[1]),et=e.length,i.P.K=p;for(u in f){for(o=0;o=0&&(f[u][o]=k+h.toString(36));c=f[u].join(t),u in b&&b[u]===c||(l[u]=b[u]=c)}return i.P.C+=r()-nt,l.P=w(i.P),w(l)}function st(n,t){for(var i=0;i=0?t:r.k),u=n;try{if(n.offsetParent)do r.x+=n.offsetLeft,r.y+=n.offsetTop;while(n=n.offsetParent)}catch(e){r.x=null,r.y=null}while(u!==p&&(u=u.parentElement))r.z++;return r}function pi(n){try{if(h(n,"src")&&n.src.indexOf("data")!==0)return n.src?n.src:t}catch(i){}return t}function r(){return kt?at(performance.now()):new Date-window.si_ST}function ct(){return kt?at(performance.now()+performance.timing.navigationStart):+new Date}function h(n,t){return typeof n[t]!="undefined"}function at(n){return n<-1?-1:parseInt(n)}function ei(){var n=r();o=!0,pt(document,n),nt("load"),rt("T",!1,ri),i.P.C+=r()-n}function u(){sj_ue(window,"beforeunload",u),sj_evt.unbind("unload",u),sj_evt.unbind("BMR",u),rt("U",!0),o=!1,nt("unload")}function nt(n){for(var t=0;tf*f}function s(i){for(var e,f=t.length,s=n.viewport(),u,r=0;r1){var u=r[1]?"visible":"hidden";i[t].push({t:n.time(),s:u,o:"cortana"}),n.snapshot(t,u==="hidden")}}function o(){var u=document.documentElement,o=n.viewport(),e="innerWidth"in window?window.innerWidth:u.clientWidth,f="innerHeight"in window?window.innerHeight:u.clientHeight;i.V.push(n.delta(o,{t:n.time(),w:e,h:f})),i[t].push({t:n.time(),s:"peekexpand",o:"cortana"}),n.snapshot(t,!1)}function h(){}function s(){sj_ue(document,"visibilitychange",f),sj_ue(window,"beforeunload",r),sj_evt.unbind("unload",r),sj_evt.unbind("visibility",u),sj_evt.unbind("peekexpand",o),sj_evt.unbind("BMU",r)}var t="PS",e="visibilityState",i;n.register({id:t,check:c,load:l,compute:h,unload:s})}(BM),function(n){function h(){return typeof window.MutationObserver!="undefined"}function c(n){s=n;var t=new MutationObserver(o);t&&t.observe(document.body,{childList:!0,subtree:!0})}function o(f){var h,c,e,s,o,a,l;if(t!==null){for(h=[],c=n.time(),e=0;e0&&(i=h,n.snapshot(r))}}function u(n){var r=n.offsetWidth>=20||n.offsetHeight>=20,t=i.indexOf(n.parentNode)>=0;return r&&!t}function f(){}function e(){t&&t.disconnect(),t=null,i=[]}var r="M",i=[],t,s;n.register({id:r,check:h,load:c,compute:f,unload:e})}(BM),function(n){function g(){return!0}function d(n){n[u]=[],l=n}function k(i){for(var tt=n.viewport().w,g=n.layout(),b,d,nt,v=0;v=0?tt-l-c.offsetWidth:l,l>=0&&!e(f.x,l)&&(p=f.k.length===0?s(c):p,i[u].push({t:n.time(),l:f.i,e:"X",v:Math.abs(f.x-l),m:p})),k>=0&&!e(f.y,k)&&(p=f.k.length===0?s(c):p,i[u].push({t:n.time(),l:f.i,e:"Y",v:Math.abs(f.y-k),m:p})),c.tagName!=="IMG"||!w||f.i in t||(b=n.exists(c,b)?c[b]:!0,d=n.exists(c,a)?c[a]>1:!0,b?d||(t[f.i]={_e:c,_s:w,_d:!0,_b:!1},h(v,w)):(t[f.i]={_e:c,_s:w,_d:!1,_b:!0},o(c,!0))),c.tagName!=="DIV"||!c.hasAttribute("data-src")||f.i in t||(w=c.getAttribute("data-src"),nt=c.style.backgroundImage,nt||(t[f.i]={_e:c,_s:w,_d:!1,_b:!1},o(c,!1))))}}function o(n,t){t&&(sj_be(n,"load",r),sj_be(n,"error",r)),i||(i=sb_st(c,nt))}function r(n){var i=window.event||n,t=sj_et(n);return c(i.type,t)}function c(u,f){var c=0,e,o,s;for(e in t)if(!t[e]._d&&(!f||t[e]._e===f)&&(o=t[e]._e,s=o.tagName==="IMG"?!o[w]||u&&u==="error":!o.style.backgroundImage,t[e]._b&&(sj_ue(o,"load",r),sj_ue(o,"error",r)),s&&(h(e,t[e]._s),c++),t[e]._d=!0,f))return;c>0&&n.snapshot("E"),i=0}function h(t,i){l[u].push({t:n.time(),l:t,e:"S",v:404,m:i.substr(0,p)})}function s(n){var t=n.querySelector("a");return t&&t.href?t.href.substr(0,p):y}function e(n,t){return n>=t-v&&n<=t+v}function b(){var u,n;for(u in t)n=t[u],n._b&&!n._d&&(sj_ue(n._e,"load",r),sj_ue(n._e,"error",r));i&&(sb_ct(i),i=0),t={}}var u="E",y="",w="complete",a="naturalWidth",f=n.config[u],v=f.buffer,p=f.maxUrlLength,nt=f.timeout,i=0,t={},l;n.register({id:u,check:g,load:d,compute:k,unload:b})}(BM),function(n){function p(){return _w.performance&&performance.now&&performance.getEntries}function v(n){n[t]=[],f[t]=[]}function c(i){var e,l,k,y,p,d;if(t in f){var ut=i[t],h=f[t],ot=performance.timing,it=performance.getEntries();for(e=0;e=0&&(o=c.startTime);var rt=u(c.startTime-o),ft=u(c.duration),tt=null,g=n.layout();for(p=0;p0?t.substr(0,h):n.substr(0,h),f.length>0&&(c=f.indexOf("event."))>0&&(l=f.indexOf("&data"))>0?(t=f.substr(c,l-c).replace("event.",e),t==="clientinst"&&(o=y.exec(f.replace(/%22/g,'"')),o!=null&&o.length>1&&(t=o[1]))):t.indexOf("rms/")===0&&(u=t.split(i))&&u.length>1?t=u[1].replace("rms%20answers%20",e).replace(".source",e):(u=t.split(i))&&u.length>=2&&(t=u[u.length-2]+i+u[u.length-1]),[s,t,a]}function u(n){return n<-1?-1:parseInt(n)}function l(){}var t="N",b="B",s=0,o=0,w=0,h=n.config[t].maxUrlLength,r=document.createElement("A"),e="",i="/",y=/"name":"(.*?)"/,f={};n.register({id:t,check:p,load:v,compute:c,unload:l})}(BM),function(n){function v(){return!0}function y(n){n[t]=[],a=n,u=document.documentElement,i=[],r={},e(sj_be,f)}function e(n,t){for(var r,i=0;is*s}function c(u){var s=i.length,o,e,f;if(s>0){for(o=(t in r)?r[t]:null,e=0;e