HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpprm_err/wp-content/themes/ronneby/assets/js/jquery.queryloader2.min.js
!function(h){function n(e){this.parent=e,this.container,this.loadbar,this.percentageContainer}function i(e){this.toPreload=[],this.parent=e,this.container}function p(e){this.element,this.parent=e}function t(e,t){this.element=e,this.$element=h(e),this.options=t,this.foundUrls=[],this.destroyed=!1,this.imageCounter=0,this.imageDone=0,this.alreadyLoaded=!1,this.preloadContainer=new i(this),this.overlayLoader=new n(this),this.defaultOptions={onComplete:function(){},onLoadComplete:function(){},backgroundColor:"#000",barColor:"#fff",overlayId:"qLoverlay",barHeight:1,percentage:!1,deepSearch:!0,completeAnimation:"fade",minimumTime:500},this.init()}!function(n){"use strict";var e=document.documentElement,t=function(){};function i(e){var t=n.event;return t.target=t.target||t.srcElement||e,t}e.addEventListener?t=function(e,t,n){e.addEventListener(t,n,!1)}:e.attachEvent&&(t=function(t,e,n){t[e+n]=n.handleEvent?function(){var e=i(t);n.handleEvent.call(n,e)}:function(){var e=i(t);n.call(t,e)},t.attachEvent("on"+e,t[e+n])});var r=function(){};e.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:e.detachEvent&&(r=function(t,n,i){t.detachEvent("on"+n,t[n+i]);try{delete t[n+i]}catch(e){t[n+i]=void 0}});var o={bind:t,unbind:r};"function"==typeof define&&define.amd?define(o):"object"==typeof exports?module.exports=o:n.eventie=o}(this),function(){"use strict";function e(){}var t=e.prototype,n=this,i=n.EventEmitter;function o(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function r(e){return function(){return this[e].apply(this,arguments)}}t.getListeners=function(e){var t,n,i=this._getEvents();if(e instanceof RegExp)for(n in t={},i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n]);else t=i[e]||(i[e]=[]);return t},t.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},t.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},t.addListener=function(e,t){var n,i=this.getListenersAsObject(e),r="object"==typeof t;for(n in i)i.hasOwnProperty(n)&&-1===o(i[n],t)&&i[n].push(r?t:{listener:t,once:!1});return this},t.on=r("addListener"),t.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},t.once=r("addOnceListener"),t.defineEvent=function(e){return this.getListeners(e),this},t.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},t.removeListener=function(e,t){var n,i,r=this.getListenersAsObject(e);for(i in r)r.hasOwnProperty(i)&&-1!==(n=o(r[i],t))&&r[i].splice(n,1);return this},t.off=r("removeListener"),t.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},t.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},t.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},t.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if(e instanceof RegExp)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},t.removeAllListeners=r("removeEvent"),t.emitEvent=function(e,t){var n,i,r,o=this.getListenersAsObject(e);for(r in o)if(o.hasOwnProperty(r))for(i=o[r].length;i--;)!0===(n=o[r][i]).once&&this.removeListener(e,n.listener),n.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},t.trigger=r("emitEvent"),t.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},t.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},t._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},t._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return n.EventEmitter=i,e},"function"==typeof define&&define.amd?define(function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}.call(this),function(n,i){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(e,t){return i(n,e,t)}):"object"==typeof exports?module.exports=i(n,require("eventEmitter"),require("eventie")):n.imagesLoaded=i(n,n.EventEmitter,n.eventie)}(this,function(e,t,n){"use strict";var r=e.jQuery;e.console;function o(e,t){for(var n in t)e[n]=t[n];return e}var s=Object.prototype.toString;function a(e){var t,n=[];if(t=e,"[object Array]"===s.call(t))n=e;else if("number"==typeof e.length)for(var i=0,r=e.length;i<r;i++)n.push(e[i]);else n.push(e);return n}function h(e,t,n){if(!(this instanceof h))return new h(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=a(e),this.options=o({},this.options),"function"==typeof t?n=t:o(this.options,t),n&&this.on("always",n),this.getImages(),r&&(this.jqDeferred=new r.Deferred);var i=this;setTimeout(function(){i.check()})}function i(e){this.img=e}(h.prototype=new t).options={},h.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;e<t;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;r<o;r++){var s=i[r];this.addImage(s)}}},h.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},h.prototype.check=function(){var n=this,i=0,r=this.images.length;if(this.hasAnyBroken=!1,r)for(var e=0;e<r;e++){var t=this.images[e];t.on("confirm",o),t.check()}else this.complete();function o(e,t){return n.options.debug,n.progress(e),++i===r&&n.complete(),!0}},h.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},h.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var n=this;setTimeout(function(){if(n.emit(t,n),n.emit("always",n),n.jqDeferred){var e=n.hasAnyBroken?"reject":"resolve";n.jqDeferred[e](n)}})},r&&(r.fn.imagesLoaded=function(e,t){return new h(this,e,t).jqDeferred.promise(r(this))}),(i.prototype=new t).check=function(){var e=p[this.img.src]||new d(this.img.src);if(e.isConfirmed)this.confirm(e.isLoaded,"cached was confirmed");else if(this.img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var n=this;e.on("confirm",function(e,t){return n.confirm(e.isLoaded,t),!0}),e.check()}},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var p={};function d(e){this.src=e,p[e]=this}return(d.prototype=new t).check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},d.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},d.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},d.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},d.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},d.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},h}),n.prototype.createOverlay=function(){if("body"==this.parent.element.tagName.toLowerCase())"fixed";else{var e=this.parent.$element.css("position");"fixed"==e&&"absolute"==e||this.parent.$element.css("position","relative")}this.container=h("<div id='"+this.parent.options.overlayId+"'></div>").appendTo(this.parent.$element),0<this.parent._qLbar_wrap.length?(this.parent._qLbar_wrap.appendTo(this.container),this.parent._qLbar_wrap.hasClass("dfd-percentage-enabled")?this.parent.options.percentage=!0:this.parent.options.percentage=!1,this.loadbar=this.parent._qLbar_wrap.find("#qLbar")):0<h("#qLoverlay_logo").length&&(this.logo=h('<div id="qLlogo_container"><img src="'+h("#qLoverlay_logo").attr("src")+'" /></div>').appendTo(this.container)),1==this.parent.options.percentage&&(this.percentageContainer=h("<div id='qLpercentage'></div>").text("0%").appendTo(this.container)),this.parent.preloadContainer.toPreload.length&&1!=this.parent.alreadyLoaded||this.parent.destroyContainers()},n.prototype.updatePercentage=function(e){this.loadbar&&this.loadbar.stop().animate({width:e+"%",minWidth:e+"%"},2e3),1==this.parent.options.percentage&&this.percentageContainer.text(Math.ceil(e)+"%")},i.prototype.create=function(){h("#"+this.parent.options.overlayId).remove(),this.container=h("<div></div>").appendTo("body").css({display:"none",overflow:"hidden"}),this.processQueue()},i.prototype.processQueue=function(){for(var e=0;this.toPreload.length>e;e++)this.parent.destroyed||this.preloadImage(this.toPreload[e])},i.prototype.addImage=function(e){this.toPreload.push(e)},i.prototype.preloadImage=function(e){var t=new p;t.addToPreloader(this,e),t.bindLoadEvent()},p.prototype.addToPreloader=function(e,t){this.element=h("<img />").attr("src",t),this.element.appendTo(e.container),this.parent=e.parent},p.prototype.bindLoadEvent=function(){this.parent.imageCounter++,this.element[0].ref=this,new imagesLoaded(this.element,function(e){e.elements[0].ref.completeLoading()})},p.prototype.completeLoading=function(){this.parent.imageDone++;var e=this.parent.imageDone/this.parent.imageCounter*100;this.parent.overlayLoader.updatePercentage(e),(this.parent.imageDone==this.parent.imageCounter||100<=e)&&this.parent.endLoader()},t.prototype.init=function(){this._qLbar_wrap=h("#qLbar_wrap").detach(),this.options=h.extend({},this.defaultOptions,this.options);this.findImageInElement(this.element);if(1==this.options.deepSearch)for(var e=this.$element.find("*:not(script)"),t=0;t<e.length;t++)this.findImageInElement(e[t]);this.preloadContainer.create(),this.overlayLoader.createOverlay()},t.prototype.findImageInElement=function(e){var t="",n=h(e),i="normal";if("none"!=n.css("background-image"))t=n.css("background-image"),i="background";else if(void 0!==n.attr("src"))if("img"==e.nodeName.toLowerCase())t=n.attr("src");else if("source"==e.nodeName.toLowerCase())t=n.attr("src");if(!this.hasGradient(t))for(var r=(t=this.stripUrl(t)).split(", "),o=0;o<r.length;o++)if(this.validUrl(r[o])&&this.urlIsNew(r[o])){var s="";if(this.isIE()||this.isOpera())s="?rand="+Math.random(),this.preloadContainer.addImage(r[o]+s);else if("background"==i)this.preloadContainer.addImage(r[o]+s);else{var a=new p(this);a.element=n,a.bindLoadEvent(),this.preloadContainer.addImage(r[o]+s)}this.foundUrls.push(r[o])}},t.prototype.hasGradient=function(e){return-1!=e.indexOf("gradient")},t.prototype.stripUrl=function(e){return e=(e=(e=(e=e.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")},t.prototype.isIE=function(){return navigator.userAgent.match(/msie/i)},t.prototype.isOpera=function(){return navigator.userAgent.match(/Opera/i)},t.prototype.validUrl=function(e){return 0<e.length&&!e.match(/^(data:)/i)},t.prototype.urlIsNew=function(e){return-1==this.foundUrls.indexOf(e)},t.prototype.destroyContainers=function(){this.destroyed=!0,this.preloadContainer.container.remove(),this.overlayLoader.container.remove()},t.prototype.endLoader=function(){this.destroyed=!0,this.onLoadComplete()},t.prototype.onLoadComplete=function(){if(this.options.onLoadComplete(),"grow"==this.options.completeAnimation){var e=this.options.minimumTime;(this.overlayLoader.loadbar[0].parent=this).overlayLoader.loadbar.stop().animate({width:"100%"},e,function(){h(this).animate({top:"0%",width:"100%",height:"100%"},500,function(){this.parent.overlayLoader.container[0].parent=this.parent,this.parent.overlayLoader.container.fadeOut(500,function(){this.parent.destroyContainers(),this.parent.options.onComplete()})})})}else{e=this.options.minimumTime;(this.overlayLoader.container[0].parent=this).overlayLoader.container.fadeOut(e,function(){this.parent.destroyContainers(),this.parent.options.onComplete()})}},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length>>>0,n=Number(arguments[1])||0;for((n=n<0?Math.ceil(n):Math.floor(n))<0&&(n+=t);n<t;n++)if(n in this&&this[n]===e)return n;return-1});var e={barHeight:1e3,barColor:"#000",percentage:!(h.fn.queryLoader2=function(e){return this.each(function(){new t(this,e)})}),completeAnimation:"fade",minimumTime:2e3};/(iPad|iPhone|iPod)/g.test(navigator.userAgent);h(document).ready(function(){h("body").queryLoader2(e)})}(jQuery);