1(function(){if(typeof window.GraniteClientLibraryManager!=="undefined"){return 2}window.GraniteClientLibraryManager={debug:false,scripts:{},initialInclude:true,windowLoaded:false,contextPath:null,hook:null,channelCB:function(){return"" 3},setChannelCB:function(cb){this.channelCB=cb 4},isDebug:function(debug){var href=document.location.href; 5return(typeof console!=="undefined")&&(debug||this.debug)&&href.indexOf("debugConsole=true")!==-1 6},write:function(scripts,debug){debug=this.isDebug(debug); 7var channel=this.channelCB(); 8if(!channel){channel="default" 9}if(debug){console.log("LibraryManager: detected channel: "+channel) 10}for(var i=0; 11i<scripts.length; 12i++){var script=scripts[i]; 13if(!this.scripts[script.p]){this.scripts[script.p]=script; 14if(debug){console.log("LibraryManager: processing script",script.p,script) 15}if(this.isIncluded(channel,script.c,debug)){this.includeScript(script.p,debug) 16}}}},isIncluded:function(channel,channels,debug){if(channels.length===0){if(debug){console.log("LibraryManager: ...accepted. no channels defined") 17}return true 18}var notChannel="!"+channel; 19var accept=false; 20var cnt=0; 21for(var j=0;
22j<channels.length; 23j++){var c=channels[j]; 24if(c.charAt(0)==="!"){if(c===notChannel){if(debug){console.log("LibraryManager: ...rejected. channel excluded: ",c) 25}return false 26}}else{if(c===channel){if(debug){console.log("LibraryManager: ...accepted. channel included: ",c) 27}accept=true 28}cnt++ 29}}if(cnt===0){if(debug){console.log("LibraryManager: ...accepted. no more channels after exclusion ") 30}accept=true 31}if(!accept&&debug){console.log("LibraryManager: ...rejected.") 32}return accept 33},includeScript:function(path,debug){var ext=path; 34var idx=ext.indexOf("?"); 35if(idx>0){ext=ext.substring(0,idx) 36}ext=ext.substring(ext.lastIndexOf(".")+1); 37if(this.initialInclude){this.initialInclude=false; 38if(typeof G_XHR_HOOK!=="undefined"&&Object.prototype.toString.call(G_XHR_HOOK)==="[object Function]"){this.hook=G_XHR_HOOK 39}this.contextPath=this.detectContextPath(); 40var man=this; 41if(window.addEventListener){window.addEventListener("load",function(){man.windowLoaded=true 42},false) 43}else{if(window.attachEvent){window.attachEvent("onload",function(){man.windowLoaded=true 44}) 45}}}if(this.hook){var p={url:path,method:"GET"}; 46try{var out=this.hook(p); 47if(out){path=out.url 48}}catch(e){if(debug){console.log("LibraryManager: error during CQ_XHR_HOOK call: ",e.message) 49}}}if(this.contextPath){if(path.indexOf("/")===0&&path.indexOf(this.contextPath+"/")!==0){path=this.contextPath+path 50}}if(ext==="js"){if(debug){console.log("LibraryManager: --> writing js include: ",path) 51}if(this.windowLoaded){try{var request=document.all?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest(); 52request.open("GET",path,false); 53request.send(null); 54if(window.execScript){window.execScript(request.responseText) 55}else{eval.call(null,request.responseText) 56}}catch(err){if(debug){console.log("LibraryManager: --> evaluating js include failed: ",path) 57}}}else{document.writeln('<script src="'+path+'" type="text/javascript"><\/script>') 58}}else{if(ext==="css"){var head=document.getElementsByTagName("head")||document.getElementsByTagName("*"); 59head=head[0]; 60var n=document.createElement("link"); 61n.type="text/css"; 62n.rel="stylesheet"; 63n.href=path; 64head.appendChild(n); 65if(debug){console.log("LibraryManager: --> writing css include: ",path) 66}}else{if(debug){console.log("LibraryManager: --> unsupported extension: ",path) 67}}}},detectContextPath:function(){var scripts=document.getElementsByTagName("script"); 68var regexp=/\/etc\/clientlibs\/foundation\/librarymanager\/*\.js$/; 69for(var i=0; 70i<scripts.length; 71i++){var path=scripts[i].src; 72if(path.indexOf("?")>=0){path=path.substring(0,path.indexOf("?")) 73}if(path.match(regexp)){path=path.replace(/.*:[/][/]/,""); 74path=path.substring(path.indexOf("/")); 75path=path.replace(regexp,""); 76this.contextPath=path; 77break 78}}}}; 79window.CQClientLibraryManager=window.GraniteClientLibraryManager 80})(); 81(function(b,a){function c(e){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"); 82var d="[\\?&]"+e+"=([^&#]*)"; 83var g=new RegExp(d); 84var f=g.exec(b.location.search); 85if(f===null){return"" 86}else{return decodeURIComponent(f[1].replace(/\+/g," ")) 87}}a.setChannelCB(function(){var d=[{channel:"ie6",match:/MSIE ([0-6]\.[.0-9]{0,})/i},{channel:"touch",match:/android.+mobile|android.+chrome|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|pad|pod|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i},{channel:"extjs",match:/(windows|linux|os\s+[x9]|solaris|bsd)/i}]; 88var g=c("forceChannel"); 89if(g){return g 90}var f=navigator.userAgent; 91for(var e=0; 92e<d.length; 93e++){var h=d[e]; 94if(h.match.test(f)){return h.channel 95}}return"" 96}) 97}(window,GraniteClientLibraryManager)); 98window.GraniteTiming=function(){return{stamps:null,pageRenderStart:null,lastTimes:{},init:function(){this.pageRenderStart=new Date(); 99this.lastTimes["default"]=new Date(); 100this.stamps=""; 101var b=window.onload; 102if(typeof window.onload!=="function"){window.onload=window.GraniteTiming.stampOnLoad 103}else{window.onload=function(){if(b){b() 104}window.GraniteTiming.stampOnLoad() 105} 106}var a=window.document.onkeydown; 107if(typeof window.document.onkeydown!=="function"){window.document.onkeydown=window.GraniteTiming.showDiv 108}else{window.document.onkeydown=function(c){if(a){a(c) 109}window.GraniteTiming.showDiv(c) 110} 111}},stamp:function(f,g,d){if(!g){g="default" 112}var e=this.lastTimes[g]; 113var a=new Date(); 114var b; 115if(d||e===undefined){b=" ---" 116}else{b=a-e; 117b=(b<1000?(b<100?(b<10?" ":" "):" "):"")+b 118}var c=b+" / "+(a-this.pageRenderStart)+" ms – "+f; 119this.lastTimes[g]=a; 120this.stamps+=(this.stamps)?","+c:c 121},stampOnLoad:function(){window.GraniteTiming.stamp("Complete document loaded"); 122window.onload=null 123},writeDiv:function(){var a=window.document.createElement("div"); 124var b=a.style; 125a.id="cqTiming"; 126b.margin="0 auto 0 auto"; 127b.borderBottom="1px solid #000000"; 128b.marginBottom="5px"; 129b.fontSize="small";
130b.fontFamily="monospace"; 131b.backgroundColor="#000000"; 132b.color="#ffffff"; 133b.position="absolute"; 134b.top="0px"; 135b.left="0px"; 136a.innerHTML='<p style="margin: 2px 0 1px 0"> Page load staticstics:<br>'+this.stamps.replace(/,/g,"<br>")+'</p><p style="margin: 2px 0 1px 0; text-align: right"><a href="javascript:{GraniteTiming.hideDiv();}">Close</a></p>'; 137window.document.body.appendChild(a) 138},hideDiv:function(){window.document.getElementById("cqTiming").style.display="none" 139},showDiv:function(c){var b; 140var a; 141if(document.all){b=window.event.keyCode; 142a=window.event 143}else{b=(typeof(c.which)!=="undefined")?c.which:0; 144a=c 145}if(a&&a.ctrlKey&&a.shiftKey&&b===85){window.GraniteTiming.writeDiv() 146}}} 147}(); 148window.GraniteTiming.init();
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.