PageSourceSearch

https://nepalart.de/plugins/ew_evelations_plugin/assets/ew_evelati…?c972c7e158a274cebb96c8151fb2e118

js nepalart.de collected 2026-09-27 13:47:37 UTC 5,533 bytes, 128 lines download raw bytes

1/**
2* Function to Convert RGB to Hex
3*/
4function rgb2hex(rgb) {
5    rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
6    return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
7}
8var hexDigits = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f");
9function hex(x) {
10    return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16];
11}
12
13/*
14    Name: jquery.textCounter-min.js
15    Author: Andy Matthews
16    Website: http://www.andyMatthews.net
17
18    @modified	2012-05-09
19*/
20(function(e){e.fn.textCounter=function(t){t=e.extend({},e.fn.textCounter.defaults,t);return this.each(function(n,r){var i=e(r);i.html(t.count);e(t.target).keyup(function(){var e=this.value.length;if(e<=t.count-t.alertAt){i.removeClass("tcAlert tcWarn")}else if(e>t.count-t.alertAt&&e<=t.count-t.warnAt){i.removeClass("tcAlert tcWarn").addClass("tcAlert")}else{i.removeClass("tcAlert tcWarn").addClass("tcWarn");if(t.stopAtLimit)this.value=this.value.substring(0,t.count)}if(t.count-this.value.length==0){i.html("0")}else{i.html(t.count-this.value.length)}}).trigger("keyup");e(t.target).bind("blur",function(){var e=this.value.length;if(e<=t.count-t.alertAt){i.removeClass("tcAlert tcWarn")}else if(e>t.count-t.alertAt&&e<=t.count-t.warnAt){i.removeClass("tcAlert tcWarn").addClass("tcAlert")}else{i.removeClass("tcAlert tcWarn").addClass("tcWarn");if(t.stopAtLimit)this.value=this.value.substring(0,t.count)}if(t.count-this.value.length==0){i.html("0")}else{i.html(t.count-this.value.length)}})})};e.fn.textCounter.defaults={count:140,alertAt:20,warnAt:0,target:"",stopAtLimit:false}})(jQuery)
21
22/**
23 * Get IE Version; supports IE11
24 *
25 * @see http://stackoverflow.com/a/17907562
26 * @returns {number|bool} Returns IE Version Number; On other browsers boolean false
27 */
28var MSIE = (function() {
29    var rv = 4, ua, re;
30    if (navigator.appName == 'Microsoft Internet Explorer') {
31        ua = navigator.userAgent;
32        re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
33        if (re.exec(ua) != null) {
34            rv = parseFloat(RegExp.$1);
35        }
36    } else if (navigator.appName == 'Netscape') {
37        ua = navigator.userAgent;
38        re  = new RegExp("Trident/.*rv:([0-9]{1,}[\.0-9]{0,})");
39        if (re.exec(ua) != null) {
40            rv = parseFloat(RegExp.$1);
41        }
42    }
43    return (rv > 4) ? rv : false;
44}());
45
46
47/**
48 * Backe Keks (Create cookie)
49 *
50 * @param e {String} Unique name for each cookie
51 * @param t {String} Cookie content
52 * @param n {Int} Lifetime in days
53 * @example backeKeks('myLovelyCookie', 'Lorem ipsum dolor sit amet...', 365);
54 * @returns {Boolean} False if no cookie is found after creation
55 */
56function backeKeks(e,t,n){objNow=new Date;strExp=new Date(objNow.getTime()+n*864e5);document.cookie=e+"="+t+";expires="+strExp.toGMTString()+";path=/";return (esseKeks(e)!==false)?true:false}
57/**
58* Esse Keks (Get cookie content or check its existence)
59*
60* @param e string Unique name for each cookie
61* @example esseKeks('myLovelyCookie');
62* @returns {Boolean|String} False if no cookie is found, otherwise the cookie content
63*/
64function esseKeks(e){if(strCookie=document.cookie)return(arrCookie=strCookie.match(new RegExp(e+"=([^;]*)","g")))?RegExp.$1:false}
65/**
66* Esse Keks auf (Get cookie content or check its existence and delete the cookie)
67*
68* @param e string Unique name for each cookie
69* @example esseKeksAuf('myLovelyCookie');
70* @returns {Boolean|String} False if no cookie is found or cookie could not be deleted, otherwise the cookie content
71*/
72function esseKeksAuf(e){if((c=esseKeks(e))!=false){return (backeKeks(e,'',-1)==false)?c:false}else{return false}}
73
74/**
75 * Detect apple mobile devices
76 *
77 * @returns {boolean}
78 */
79var isAppleMobileDevice = function () {
80    return (
81    (navigator.platform.indexOf("iPad") != -1) ||
82    (navigator.platform.indexOf("iPhone") != -1) ||
83    (navigator.platform.indexOf("iPod") != -1)
84    );
85};
86
87/*******************************************************************************
88 * FIXES
89 */
90/* Internet Explorer 10 auf Windows 8 und Windows Phone 8 */
91if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
92    var msViewportStyle = document.createElement('style')
93    msViewportStyle.appendChild(
94        document.createTextNode(
95            '@-ms-viewport{width:auto!important}'
96        )
97    );
98    document.querySelector('head').appendChild(msViewportStyle)
99}
100/* Android Stock Browser - Der Android Stock Browser wird bei <select>-Elementen die Symbole an der Seite ansonsten nicht richtig anzeigen, wenn ein border-radius und/oder border vorhanden ist. */
101var nua = navigator.userAgent;
102var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1);
103if (isAndroid) {
104    $('select.form-control').removeClass('form-control').css('width', '100%');
105}
106
107
108/**
109* Detect mobile devices
110*
111* @returns {boolean}
112*/
113var isMobileDevice = function () {
114    var userAgent = navigator.userAgent,
115        platform = navigator.platform;
116
117    return (
118        (userAgent.indexOf("Android") != -1) ||
119        (userAgent.indexOf("AppleWebKit") != -1 && userAgent.indexOf("Android") != -1) ||
120        (userAgent.indexOf("IEMobile") != -1) ||
121        (userAgent.indexOf("Trident") != -1 && userAgent.indexOf("Tablet") != -1) ||
122        (userAgent.indexOf("webOS") != -1) ||
123        (platform.indexOf("iPhone") != -1) ||
124        (platform.indexOf("iPad") != -1) ||
125        (platform.indexOf("iPod") != -1) ||
126        (userAgent.indexOf("BlackBerry") != -1)
127    );
128};

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.