1(function(a){if(typeof module==="object"&&module.exports){module.exports=a() 2}else{var b=window.Granite=window.Granite||{}; 3b.Sling=a() 4}}(function(){return{SELECTOR_INFINITY:".infinity",CHARSET:"_charset_",STATUS:":status",STATUS_BROWSER:"browser",OPERATION:":operation",OPERATION_DELETE:"delete",OPERATION_MOVE:"move",DELETE_SUFFIX:"@Delete",TYPEHINT_SUFFIX:"@TypeHint",COPY_SUFFIX:"@CopyFrom",MOVE_SUFFIX:"@MoveFrom",ORDER:":order",REPLACE:":replace",DESTINATION:":dest",SAVE_PARAM_PREFIX:":saveParamPrefix",IGNORE_PARAM:":ignore",REQUEST_LOGIN_PARAM:"sling:authRequestLogin",LOGIN_URL:"/system/sling/login.html",LOGOUT_URL:"/system/sling/logout.html"} 5})); 6(function(a){if(typeof module==="object"&&module.exports){module.exports=a() 7}else{var b=window.Granite=window.Granite||{}; 8b.Util=a() 9}}(function(){var a=function(b){return Object.prototype.toString.call(b)==="[object Array]" 10}; 11return{patchText:function(d,c){if(c){if(!a(c)){d=d.replace("{0}",c) 12}else{for(var b=0; 13b<c.length; 14b++){d=d.replace(("{"+b+"}"),c[b]) 15}}}return d 16},getTopWindow:function(){var c=window; 17if(this.iFrameTopWindow){return this.iFrameTopWindow 18}try{while(c.parent&&c!==c.parent&&c.parent.location.href){c=c.parent 19}}catch(b){}return c 20},setIFrameMode:function(b){this.iFrameTopWindow=b||window 21},applyDefaults:function(){var d; 22var f=arguments[0]||{}; 23for(var c=1; 24c<arguments.length; 25c++){d=arguments[c]; 26for(var b in d){var e=d[b]; 27if(d.hasOwnProperty(b)&&e!==undefined){if(e!==null&&typeof e==="object"&&!(e instanceof Array)){f[b]=this.applyDefaults(f[b],e) 28}else{if(e instanceof Array){f[b]=e.slice(0) 29}else{f[b]=e 30}}}}}return f 31},getKeyCode:function(b){return b.keyCode?b.keyCode:b.which 32}} 33})); 34(function(a){if(typeof module==="object"&&module.exports){module.exports=a(require("@granite/util"),require("jquery")) 35}else{window.Granite.HTTP=a(Granite.Util,jQuery) 36}}(function(util,$){return(function(){var contextPath=null; 37var SCRIPT_URL_REGEXP=/^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/; 38var ENCODE_PATH_REGEXP=/[^\w-.~%:/?[\]@!$&'()*+,;=]/; 39var URI_REGEXP=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/; 40var loginRedirected=false; 41var self={}; 42self.getSchemeAndAuthority=function(uri){if(!uri){return"" 43}var result=URI_REGEXP.exec(uri); 44if(result===null){return"" 45}return[result[1],result[3]].join("") 46}; 47self.getContextPath=function(){if(contextPath===null){contextPath=self.detectContextPath() 48}return contextPath 49}; 50self.detectContextPath=function(){try{if(window.CQURLInfo){contextPath=CQURLInfo.contextPath||"" 51}else{var scripts=document.getElementsByTagName("script"); 52for(var i=0; 53i<scripts.length; 54i++){var result=SCRIPT_URL_REGEXP.exec(scripts[i].src); 55if(result){contextPath=result[1]; 56return contextPath 57}}contextPath="" 58}}catch(e){}return contextPath 59}; 60self.externalize=function(url){try{if(url.indexOf("/")===0&&self.getContextPath()&&url.indexOf(self.getContextPath()+"/")!==0){url=self.getContextPath()+url 61}}catch(e){}return url 62}; 63self.internalize=function(url,doc){if(url.charAt(0)==="/"){if(contextPath===url){return"" 64}else{if(contextPath&&url.indexOf(contextPath+"/")===0){return url.substring(contextPath.length) 65}else{return url 66}}}if(!doc){doc=document 67}var docHost=self.getSchemeAndAuthority(doc.location.href); 68var urlHost=self.getSchemeAndAuthority(url); 69if(docHost===urlHost){return url.substring(urlHost.length+(contextPath?contextPath.length:0)) 70}else{return url 71}}; 72self.getPath=function(url){if(!url){if(window.CQURLInfo&&CQURLInfo.requestPath){return CQURLInfo.requestPath 73}else{url=window.location.pathname 74}}else{url=self.removeParameters(url); 75url=self.removeAnchor(url) 76}url=self.internalize(url); 77var i=url.indexOf(".",url.lastIndexOf("/")); 78if(i!==-1){url=url.substring(0,i) 79}return url 80}; 81self.removeAnchor=function(uri){var fragmentIndex=uri.indexOf("#"); 82if(fragmentIndex>=0){return uri.substring(0,fragmentIndex) 83}else{return uri 84}}; 85self.removeParameters=function(uri){var queryIndex=uri.indexOf("?"); 86if(queryIndex>=0){return uri.substring(0,queryIndex) 87}else{return uri 88}}; 89self.encodePathOfURI=function(uri){var DELIMS=["?","#"]; 90var parts=[uri]; 91var delim; 92for(var i=0,ln=DELIMS.length; 93i<ln; 94i++){delim=DELIMS[i]; 95if(uri.indexOf(delim)>=0){parts=uri.split(delim); 96break 97}}if(ENCODE_PATH_REGEXP.test(parts[0])){parts[0]=self.encodePath(parts[0]) 98}return parts.join(delim) 99}; 100self.encodePath=function(uri){uri=encodeURI(uri); 101uri=uri.replace(/%5B/g,"[").replace(/%5D/g,"]"); 102uri=uri.replace(/\?/g,"%3F"); 103uri=uri.replace(/#/g,"%23"); 104return uri 105}; 106self.handleLoginRedirect=function(){if(!loginRedirected){loginRedirected=true; 107alert(Granite.I18n.get("Your request could not be completed because you have been signed out.")); 108var l=util.getTopWindow().document.location; 109l.href=self.externalize("/")+"?resource="+encodeURIComponent(l.pathname+l.search+l.hash) 110}}; 111self.getXhrHook=function(url,method,params){method=method||"GET"; 112if(window.G_XHR_HOOK&&typeof G_XHR_HOOK==="function"){var p={url:url,method:method}; 113if(params){p.params=params 114}return G_XHR_HOOK(p) 115}return null 116}; 117self.eval=function(response){if(typeof response!=="object"){response=$.ajax({url:response,type:"get",async:false}) 118}try{var text=response.body?response.body:response.responseText; 119return JSON.parse(text) 120}catch(e){}return null 121}; 122return self 123}()) 124}));
125(function(a){if(typeof module==="object"&&module.exports){module.exports=a(require("@granite/http")) 126}else{window.Granite.I18n=a(window.Granite.HTTP) 127}}(function(a){return(function(){var b={}; 128var g="/libs/cq/i18n/dict."; 129var j=".json"; 130var c=undefined; 131var i=false; 132var f=null; 133var k={}; 134var e=false; 135var d=function(l){if(e){return g+l+j 136}var n; 137var m=document.querySelector("html"); 138if(m){n=m.getAttribute("data-i18n-dictionary-src") 139}if(!n){return g+l+j 140}return n.replace("{locale}",encodeURIComponent(l)).replace("{+locale}",l) 141}; 142var h=function(n,m){if(m){if(Array.isArray(m)){for(var l=0; 143l<m.length; 144l++){n=n.replace("{"+l+"}",m[l]) 145}}else{n=n.replace("{0}",m) 146}}return n 147}; 148k.LOCALE_DEFAULT="en"; 149k.PSEUDO_LANGUAGE="zz"; 150k.PSEUDO_PATTERN_KEY="_pseudoPattern_"; 151k.init=function(l){l=l||{}; 152this.setLocale(l.locale); 153this.setUrlPrefix(l.urlPrefix); 154this.setUrlSuffix(l.urlSuffix) 155}; 156k.setLocale=function(l){if(!l){return 157}c=l 158}; 159k.getLocale=function(){if(typeof c==="function"){c=c() 160}return c||document.documentElement.lang||k.LOCALE_DEFAULT 161}; 162k.setUrlPrefix=function(l){if(!l){return 163}g=l; 164e=true 165}; 166k.setUrlSuffix=function(l){if(!l){return 167}j=l; 168e=true 169}; 170k.getDictionary=function(l){l=l||k.getLocale(); 171if(!b[l]){i=l.indexOf(k.PSEUDO_LANGUAGE)===0; 172try{var n=new XMLHttpRequest(); 173n.open("GET",a.externalize(d(l)),false); 174n.send(); 175b[l]=JSON.parse(n.responseText) 176}catch(m){}if(!b[l]){b[l]={} 177}}return b[l] 178}; 179k.get=function(p,m,n){var q; 180var o; 181var l; 182q=k.getDictionary(); 183l=i?k.PSEUDO_PATTERN_KEY:n?p+" (("+n+"))":p; 184if(q){o=q[l] 185}if(!o){o=p 186}if(i){o=o.replace("{string}",p).replace("{comment}",n?n:"") 187}return h(o,m) 188}; 189k.getVar=function(m,l){if(!m){return null 190}return k.get(m,null,l) 191}; 192k.getLanguages=function(){if(!f){try{var l=a.externalize("/libs/wcm/core/resources/languages.overlay.infinity.json"); 193var o=new XMLHttpRequest(); 194o.open("GET",l,false); 195o.send(); 196var m=JSON.parse(o.responseText); 197Object.keys(m).forEach(function(q){var p=m[q]; 198if(p.language){p.title=k.getVar(p.language) 199}if(p.title&&p.country&&p.country!=="*"){p.title+=" ("+k.getVar(p.country)+")" 200}}); 201f=m 202}catch(n){f={} 203}}return f 204}; 205k.parseLocale=function(o){if(!o){return null 206}var n=o.indexOf("_"); 207if(n<0){n=o.indexOf("-") 208}var m; 209var l; 210if(n<0){m=o; 211l=null 212}else{m=o.substring(0,n); 213l=o.substring(n+1) 214}return{code:o,language:m,country:l} 215}; 216return k 217}()) 218})); 219(function(a){if(typeof module==="object"&&module.exports){module.exports=a() 220}else{var b=window.Granite=window.Granite||{}; 221b.TouchIndicator=a() 222}}(function(){function c(){var d=document.createElement("div"); 223d.style.visibility="hidden"; 224d.style.position="absolute"; 225d.style.width="30px"; 226d.style.height="30px"; 227d.style.borderRadius="20px"; 228d.style.border="5px solid orange"; 229d.style.userSelect="none"; 230d.style.opacity="0.5"; 231d.style.zIndex="2000"; 232d.style.pointerEvents="none"; 233return d 234}var b={}; 235var a=[]; 236return{debugWithMouse:false,init:function(){var d=this; 237var e=function(f){d.update(f.touches); 238return true 239}; 240document.addEventListener("touchstart",e); 241document.addEventListener("touchmove",e); 242document.addEventListener("touchend",e); 243if(this.debugWithMouse){document.addEventListener("mousemove",function(f){f.identifer="fake"; 244d.update([f]); 245return true 246}) 247}},update:function(g){var e={}; 248for(var f=0; 249f<g.length; 250f++){var j=g[f]; 251var h=j.identifier; 252var d=b[h]; 253if(!d){d=a.pop(); 254if(!d){d=c(); 255document.body.appendChild(d) 256}}e[h]=d; 257d.style.left=(j.pageX-20)+"px"; 258d.style.top=(j.pageY-20)+"px"; 259d.style.visibility="visible" 260}for(h in b){if(b.hasOwnProperty(h)&&!e[h]){d=b[h]; 261d.style.visibility="hidden"; 262a.push(d) 263}}b=e 264}} 265})); 266(function(a){if(typeof module==="object"&&module.exports){module.exports=a() 267}else{var b=window.Granite=window.Granite||{}; 268b.OptOutUtil=a() 269}}(function(b){function a(c){if(String.prototype.trim){return c.trim() 270}return c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"") 271}return(function(){var c={}; 272var d=[]; 273var e=[]; 274c.init=function(f){if(f){d=f.cookieNames||[]; 275e=f.whitelistCookieNames||[] 276}else{d=[]; 277e=[] 278}}; 279c.getCookieNames=function(){return d 280}; 281c.getWhitelistCookieNames=function(){return e 282}; 283c.isOptedOut=function(){var h=document.cookie.split(";"); 284for(var g=0; 285g<h.length; 286g++){var f=h[g]; 287var j=a(f.split("=")[0]); 288if(c.getCookieNames().indexOf(j)>=0){return true 289}}return false 290}; 291c.maySetCookie=function(f){return !(c.isOptedOut()&&c.getWhitelistCookieNames().indexOf(f)===-1) 292}; 293return c 294}()) 295})); 296Granite.OptOutUtil.init(window.GraniteOptOutConfig); 297Granite.HTTP.detectContextPath();
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.