PageSourceSearch

https://www.power-solution.eu/wp-content/litespeed/js/1/ca05f0b29f63274793c1019d01558c49.js?ver=58c49

js power-solution.eu collected 2026-10-06 12:24:21 UTC 4,425 bytes, 25 lines download raw bytes

1
2/*! head.core - v1.0.2 */
3(function(win,undefined){"use strict";var doc=win.document,nav=win.navigator,loc=win.location,html=doc.documentElement,klass=[],conf={screens:[240,320,480,640,768,800,1024,1280,1440,1680,1920],screensCss:{"gt":!0,"gte":!1,"lt":!0,"lte":!1,"eq":!1},browsers:[{ie:{min:6,max:11}}],browserCss:{"gt":!0,"gte":!1,"lt":!0,"lte":!1,"eq":!0},html5:!0,page:"-page",section:"-section",head:"head"};if(win.head_conf){for(var item in win.head_conf){if(win.head_conf[item]!==undefined){conf[item]=win.head_conf[item]}}}
4function pushClass(name){klass[klass.length]=name}
5function removeClass(name){var re=new RegExp(" ?\\b"+name+"\\b");html.className=html.className.replace(re,"")}
6function each(arr,fn){for(var i=0,l=arr.length;i<l;i++){fn.call(arr,arr[i],i)}}
7var api=win[conf.head]=function(){api.ready.apply(null,arguments)};api.feature=function(key,enabled,queue){if(!key){html.className+=" "+klass.join(" ");klass=[];return api}
8if(Object.prototype.toString.call(enabled)==="[object Function]"){enabled=enabled.call()}
9pushClass((enabled?"":"no-")+key);api[key]=!!enabled;if(!queue){removeClass("no-"+key);removeClass(key);api.feature()}
10return api};api.feature("js",!0);var ua=nav.userAgent.toLowerCase(),mobile=/mobile|android|kindle|silk|midp|phone|(windows .+arm|touch)/.test(ua);api.feature("mobile",mobile,!0);api.feature("desktop",!mobile,!0);ua=/(chrome|firefox)[ \/]([\w.]+)/.exec(ua)||/(iphone|ipad|ipod)(?:.*version)?[\/]([\w.]+)/.exec(ua)||/(android)(?:.*version)?[\/]([\w.]+)/.exec(ua)||/(webkit|opera)(?:.*version)?[\/]([\w.]+)/.exec(ua)||/(msie)([\w.]+)/.exec(ua)||/(trident).+rv:(\w.)+/.exec(ua)||[];var browser=ua[1],version=parseFloat(ua[2]);switch(browser){case "msie":case "trident":browser="ie";version=doc.documentMode||version;break;case "firefox":browser="ff";break;case "ipod":case "ipad":case "iphone":browser="ios";break;case "webkit":browser="safari";break}
11api.browser={name:browser,version:version};api.browser[browser]=!0;for(var i=0,l=conf.browsers.length;i<l;i++){for(var key in conf.browsers[i]){if(browser===key){pushClass(key);var min=conf.browsers[i][key].min;var max=conf.browsers[i][key].max;for(var v=min;v<=max;v++){if(version>v){if(conf.browserCss.gt){pushClass("gt-"+key+v)}
12if(conf.browserCss.gte){pushClass("gte-"+key+v)}}else if(version<v){if(conf.browserCss.lt){pushClass("lt-"+key+v)}
13if(conf.browserCss.lte){pushClass("lte-"+key+v)}}else if(version===v){if(conf.browserCss.lte){pushClass("lte-"+key+v)}
14if(conf.browserCss.eq){pushClass("eq-"+key+v)}
15if(conf.browserCss.gte){pushClass("gte-"+key+v)}}}}else{pushClass("no-"+key)}}}
16pushClass(browser);pushClass(browser+parseInt(version,10));if(conf.html5&&browser==="ie"&&version<9){each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|progress|section|summary|time|video".split("|"),function(el){doc.createElement(el)})}
17each(loc.pathname.split("/"),function(el,i){if(this.length>2&&this[i+1]!==undefined){if(i){pushClass(this.slice(i,i+1).join("-").toLowerCase()+conf.section)}}else{var id=el||"index",index=id.indexOf(".");if(index>0){id=id.substring(0,index)}
18html.id=id.toLowerCase()+conf.page;if(!i){pushClass("root"+conf.section)}}});api.screen={height:win.screen.height,width:win.screen.width};function screenSize(){html.className=html.className.replace(/ (w-|eq-|gt-|gte-|lt-|lte-|portrait|no-portrait|landscape|no-landscape)\d+/g,"");var iw=win.innerWidth||html.clientWidth,ow=win.outerWidth||win.screen.width;api.screen.innerWidth=iw;api.screen.outerWidth=ow;pushClass("w-"+iw);each(conf.screens,function(width){if(iw>width){if(conf.screensCss.gt){pushClass("gt-"+width)}
19if(conf.screensCss.gte){pushClass("gte-"+width)}}else if(iw<width){if(conf.screensCss.lt){pushClass("lt-"+width)}
20if(conf.screensCss.lte){pushClass("lte-"+width)}}else if(iw===width){if(conf.screensCss.lte){pushClass("lte-"+width)}
21if(conf.screensCss.eq){pushClass("e-q"+width)}
22if(conf.screensCss.gte){pushClass("gte-"+width)}}});var ih=win.innerHeight||html.clientHeight,oh=win.outerHeight||win.screen.height;api.screen.innerHeight=ih;api.screen.outerHeight=oh;api.feature("portrait",(ih>iw));api.feature("landscape",(ih<iw))}
23screenSize();var resizeId=0;function onResize(){win.clearTimeout(resizeId);resizeId=win.setTimeout(screenSize,50)}
24if(win.addEventListener){win.addEventListener("resize",onResize,!1)}else{win.attachEvent("onresize",onResize)}}(window))
25;

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.