1function PageManager(){function f(n,t,i){var r=n+"="+encodeURIComponent(t);typeof i=="number"&&(r+="; max-age="+i*86400,document.cookie=r)}function p(n){for(var i,r=document.cookie.split(";"),t=0;t<r.length;t++)if(i=r[t].split("="),n==i[0].trim())return decodeURIComponent(i[1]);return null}function w(){var n=p("DVID");if(n!=null){f("DVID",n,30);try{localStorage.setItem("DVID",n)}catch(t){}}else{try{n=localStorage.getItem("DVID")}catch(t){}n&&f("DVID",n,30)}n==null||n==undefined||n=="undefined"?l(function(){setTimeout(v,100)}):(e=n,setTimeout(v,1e3))}function l(t){var i={name:"Unknown",type:"Computer",browser:"",deviceid:"",useragent:""},h,c,o,s,u,r,l;try{if(navigator){if(navigator.appVersion&&(h=navigator.appVersion.indexOf("("),h>0?(c=navigator.appVersion.indexOf(")",h+1),i.name=navigator.appVersion.substring(h+1,c)):(navigator.appVersion.indexOf("Win")!=-1&&(i.name="Windows OS"),navigator.appVersion.indexOf("Mac")!=-1&&(i.name="MacOS"),navigator.appVersion.indexOf("X11")!=-1&&(i.name="UNIX OS"),navigator.appVersion.indexOf("Linux")!=-1&&(i.name="Linux OS"))),navigator.userAgentData&&navigator.userAgentData.brands)o=navigator.userAgentData.brands[navigator.userAgentData.brands.length-1],i.name=o.brand+" "+o.version+" - "+i.name,i.browser=o.brand+" "+o.version;else if(navigator.userAgent){if(s=navigator.userAgent,r=s.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(r[1]))return u=/\brv[ :]+(\d+)/g.exec(s)||[],"IE "+(u[1]||"");if(r[1]==="Chrome"&&(u=s.match(/\b(OPR|Edge)\/(\d+)/),u!=null))return u.slice(1).join(" ").replace("OPR","Opera");r=r[2]?[r[1],r[2]]:[navigator.appName,navigator.appVersion,"-?"];(u=s.match(/version\/(\d+)/i))!=null&&r.splice(1,1,u[1]);l=r.join(" ");i.browser=l}i.useragent=navigator.userAgent;typeofdv=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase());typeofdv||(typeofdv="Desktop");i.type=typeofdv}}catch(a){}i.sf=document.referrer;i.url=window.location.pathname+window.location.search;n.ajax({url:"/newuser",type:"POST",data:i,success:function(n){if(n.data){e=n.data;f("DVID",n.data,30);try{localStorage.setItem("DVID",n.data)}catch{}t(!0)}else t(!1)}})}function a(){var n=window.location.pathname+window.location.search;return{url:n,id:t,dvid:e,actions:JSON.stringify({w:window.innerWidth,h:window.innerHeight,ac:r})}}function v(){function e(){n.ajax({url:"/startsession",type:"POST",data:f,success:function(n){n.errorCode>0?l(function(n){n&&e()}):(t=n.data,u(!0))}})}if(t=="0"){n(window).on("beforeunload",function(){i>0&&clearTimeout(i);i=0;u(!1);t="0";n(window).off("beforeunload");n(window).off("unload")});n(window).on("unload",function(){i>0&&clearTimeout(i);i=0;u(!1);t="0";n(window).off("beforeunload");n(window).off("unload")});k();n(document).click(function(n){var t=n.target,i={t:"c",tm:(new Date).getTime()-c,x:n.clientX,y:n.clientY,ox:n.offsetX,oy:n.offsetY,px:n.pageX,py:n.pageY};t&&(i.tg=t.tagName,i.c=t.className,i.tx=t.innerText,t.tagName=="IMG"&&(i.sr=t.src));r.push(i);y()&&u(!1)});var f=a();f.page=o;f.data=s;e()}}function b(){var t={t:"s",d:n(document).scrollTop(),tm:(new Date).getTime()-c};(r.length==0||r[r.length-1].t!=t.t||r[r.length-1].d!=t.d)&&(r.push(t),y()&&u(!1))}function k(){var r=0,t=-1,i=null;n(window).scroll(function(){var u=n(this).scrollTop();Math.abs(r-u)>=10&&(t>0&&(clearTimeout(t),t=0),i=b,r=u,t=setTimeout(function(){i();i=null},1e3));lastScrollTop=u})}function y(){return(new Date).getTime()-h>1e3}function d(){t&&t!="0"&&i>0&&(i=setTimeout(function(){u(!0)},1e4))}function u(i){if(t&&t!="0"){h=(new Date).getTime();var r=a();n.ajax({url:"/updatesession",type:"POST",data:r,success:function(){i&&d()}})}}var t="0",e="0",o=location.pathname.substring(1),s=location.search,h=0,c=(new Date).getTime(),r=[],n=null,i;this.register=function(){n=jQuery?jQuery:$;n(function(){w()})};this.setPageData=function(n,t){o=n;s=t};i=-1}window.pageManager=new PageManager;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.