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: //proc/thread-self/root/proc/self/cwd/wp-content/themes/ronneby/assets/js/jquery.multiscroll.min.js
!function(S,d,c,m,f){S.fn.multiscroll=function(h){var o=S.fn.multiscroll;h=S.extend({verticalCentered:!0,scrollingSpeed:700,easing:"easeInQuart",menu:!1,sectionsColor:[],anchors:[],navigation:!1,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],loopBottom:!1,loopTop:!1,css3:!1,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:!0,touchSensitivity:5,sectionSelector:".ms-section",leftSelector:".ms-left",rightSelector:".ms-right",afterLoad:null,onLeave:null,afterRender:null,afterResize:null},h);var v=600;"ontouchstart"in d||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints;".ms-right"!==h.rightSelector&&S(h.rightSelector).addClass("ms-right"),".ms-left"!==h.leftSelector&&S(h.leftSelector).addClass("ms-left");var n,i,u=S(".ms-left").find(".ms-section").length,g=!1;S(d).height();function e(){var e=d.location.hash.replace("#","");if(e.length){var t=S(".ms-left").find('[data-anchor="'+e+'"]');("undefined"==typeof lastScrolledDestiny||e!==lastScrolledDestiny)&&a(t)}}function t(){S(d).height(),S(".ms-tableCell").each(function(){}),s(),S.isFunction(h.afterResize)&&h.afterResize.call(this)}function s(){h.css3?(p(S(".ms-left"),"translate3d(0px, -"+S(".ms-left").find(".ms-section.active").position().top+"px, 0px)",!1),p(S(".ms-right"),"translate3d(0px, -"+S(".ms-right").find(".ms-section.active").position().top+"px, 0px)",!1)):(S(".ms-left").css("top",-S(".ms-left").find(".ms-section.active").position().top),S(".ms-right").css("top",-S(".ms-right").find(".ms-section.active").position().top))}function a(e){var t=e.index(),s=S(".ms-right").find(".ms-section").eq(u-1-t),o=e.data("anchor"),n=S(".ms-left .ms-section.active").index()+1,i=function(e){var t=S(".ms-left .ms-section.active").index(),s=e.index();if(s<t)return"up";return"down"}(e);g=!0;var a,l,r,d=e.position().top,c=s.position().top;if(s.addClass("active").siblings().removeClass("active"),e.addClass("active").siblings().removeClass("active"),function(e){h.anchors.length&&(location.hash=e);C()}(o),h.css3){S.isFunction(h.onLeave)&&h.onLeave.call(this,n,t+1,i);var m="translate3d(0px, -"+d+"px, 0px)",f="translate3d(0px, -"+c+"px, 0px)";p(S(".ms-left"),m,!0),p(S(".ms-right"),f,!0),setTimeout(function(){S.isFunction(h.afterLoad)&&h.afterLoad.call(this,o,t+1),setTimeout(function(){g=!1},v)},h.scrollingSpeed)}else S.isFunction(h.onLeave)&&h.onLeave.call(this,n,t+1,i),S(".ms-left").animate({top:-d},h.scrollingSpeed,h.easing,function(){S.isFunction(h.afterLoad)&&h.afterLoad.call(this,o,t+1),setTimeout(function(){g=!1},v)}),S(".ms-right").animate({top:-c},h.scrollingSpeed,h.easing);lastScrolledDestiny=o,a=o,h.menu&&(S(h.menu).find(".active").removeClass("active"),S(h.menu).find('[data-menuanchor="'+a+'"]').addClass("active")),l=o,r=t,h.navigation&&(S("#multiscroll-nav").find(".active").removeClass("active"),l?S("#multiscroll-nav").find('a[href="#'+l+'"]').addClass("active"):S("#multiscroll-nav").find("li").eq(r).find("a").addClass("active"))}function l(){c.addEventListener?(c.addEventListener("mousewheel",r,!1),c.addEventListener("wheel",r,!1)):c.attachEvent("onmousewheel",r)}function r(e){e=d.event||e;var t=m.max(-1,m.min(1,e.wheelDelta||-e.deltaY||-e.detail));return g||(t<0?o.moveSectionDown():o.moveSectionUp()),!1}function p(e,t,s){var o;e.toggleClass("ms-easing",s),e.css({"-webkit-transform":o=t,"-moz-transform":o,"-ms-transform":o,transform:o})}function C(){var e=S(".ms-left .ms-section.active"),t=e.data("anchor"),s=e.index(),o=String(s);h.anchors.length&&(o=t),o=o.replace("/","-").replace("#","");var n=new RegExp("\\b\\s?ms-viewing-[^\\s]+\\b","g");S("body")[0].className=S("body")[0].className.replace(n,""),S("body").addClass("ms-viewing-"+o)}l(),h.css3&&(h.css3=function(){var e,t=c.createElement("p"),s={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var o in c.body.insertBefore(t,null),s)t.style[o]!==f&&(t.style[o]="translate3d(1px,1px,1px)",e=d.getComputedStyle(t).getPropertyValue(s[o]));return c.body.removeChild(t),e!==f&&0<e.length&&"none"!==e}()),S("html, body").css({overflow:"hidden",height:"100%"}),".ms-section"!==h.sectionSelector&&S(h.sectionSelector).each(function(){S(this).addClass("ms-section")}),h.navigation&&(S("body").append('<div id="multiscroll-nav"><ul></ul></div>'),(n=S("#multiscroll-nav")).css("color",h.navigationColor),n.addClass(h.navigationPosition)),S(".ms-right, .ms-left").css({width:"50%",position:"absolute",height:"100%","-ms-touch-action":"none"}),S(".ms-right").css({right:"1px",top:"0","-ms-touch-action":"none","touch-action":"none"}),S(".ms-left").css({left:"0",top:"0","-ms-touch-action":"none","touch-action":"none"}),S(".ms-left .ms-section, .ms-right .ms-section").each(function(){var e=S(this).index();if((h.paddingTop||h.paddingBottom)&&S(this).css("padding",h.paddingTop+" 0 "+h.paddingBottom+" 0"),void 0!==h.sectionsColor[e]&&S(this).css("background-color",h.sectionsColor[e]),void 0!==h.anchors[e]&&S(this).attr("data-anchor",h.anchors[e]),h.verticalCentered&&S(this).addClass("ms-table").wrapInner('<div class="ms-tableCell" />'),S(this).closest(".ms-left").length&&h.navigation){var t="";h.anchors.length&&(t=h.anchors[e]);var s=h.navigationTooltips[e];void 0===s&&(s=""),h.navigation&&n.find("ul").append('<li data-tooltip="'+s+'"><a href="#'+t+'"><span></span></a></li>')}}),S(".ms-left .ms-section, .ms-right .ms-section").each(function(){var e=S(this).index();S(this).css({height:"100%"}),!e&&h.navigation&&n.find("li").eq(e).find("a").addClass("active")}).promise().done(function(){S(".ms-left .ms-section.active").length||(S(".ms-right").find(".ms-section").last().addClass("active"),S(".ms-left").find(".ms-section").first().addClass("active")),h.navigation&&n.css("margin-top","-"+n.height()/2+"px"),S.isFunction(h.afterRender)&&h.afterRender.call(this),s(),C(),S(d).on("load",function(){var e,t;e=d.location.hash.replace("#",""),t=S('.ms-left .ms-section[data-anchor="'+e+'"]'),e.length&&a(t)})}),S(d).on("hashchange",e),S(c).keydown(function(e){clearTimeout(i);var t=S(c.activeElement);if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&h.keyboardScrolling){var s=e.which;-1<S.inArray(s,[40,38,32,33,34])&&e.preventDefault(),i=setTimeout(function(){!function(e){var t=e.shiftKey;switch(e.which){case 38:case 33:o.moveSectionUp();break;case 32:if(t){o.moveSectionUp();break}case 40:case 34:o.moveSectionDown();break;case 36:o.moveTo(1);break;case 35:o.moveTo(S(".ms-left .ms-section").length);break;default:;}}(e)},150)}}),S(c).mousedown(function(e){if(1==e.button)return e.preventDefault(),!1}),S(c).on("click","#multiscroll-nav a",function(e){e.preventDefault();var t=S(this).parent().index();a(S(".ms-left .ms-section").eq(t))}),S(c).on({mouseenter:function(){var e=S(this).data("tooltip");S('<div class="multiscroll-tooltip '+h.navigationPosition+'">'+e+"</div>").hide().appendTo(S(this)).fadeIn(200)},mouseleave:function(){S(this).find(".multiscroll-tooltip").fadeOut(200,function(){S(this).remove()})}},"#multiscroll-nav li"),h.normalScrollElements&&(S(c).on("mouseenter",h.normalScrollElements,function(){o.setMouseWheelScrolling(!1)}),S(c).on("mouseleave",h.normalScrollElements,function(){o.setMouseWheelScrolling(!0)})),S(d).on("resize",t),o.moveSectionUp=function(){var e=S(".ms-left .ms-section.active").prev(".ms-section");!e.length&&h.loopTop&&(e=S(".ms-left .ms-section").last()),e.length&&a(e)},o.moveSectionDown=function(){var e=S(".ms-left .ms-section.active").next(".ms-section");!e.length&&h.loopBottom&&(e=S(".ms-left .ms-section").first()),e.length&&a(e)},o.moveTo=function(e){a(isNaN(e)?S('.ms-left [data-anchor="'+e+'"]'):S(".ms-left .ms-section").eq(e-1))},o.setKeyboardScrolling=function(e){h.keyboardScrolling=e},o.setMouseWheelScrolling=function(e){e?l():c.addEventListener?(c.removeEventListener("mousewheel",r,!1),c.removeEventListener("wheel",r,!1)):c.detachEvent("onmousewheel",r)},o.setScrollingSpeed=function(e){h.scrollingSpeed=e};o.destroy=function(){o.setKeyboardScrolling(!1),o.setMouseWheelScrolling(!1),S(d).off("hashchange",e).off("resize",t),S(c).off("mouseenter","#multiscroll-nav li").off("mouseleave","#multiscroll-nav li").off("click","#multiscroll-nav a")},o.build=function(){o.setKeyboardScrolling(!0),o.setMouseWheelScrolling(!0),S(d).on("hashchange",e).on("resize",t),S(c).on("mouseenter","#multiscroll-nav li").on("mouseleave","#multiscroll-nav li").on("click","#multiscroll-nav a")}}}(jQuery,window,document,Math),function(o){"use strict";var s,n,i=o(window),a=o(".dfd-side-by-side-slider"),l=o("#header-container"),e=l.find(".logo-for-panel img").attr("src"),t=function(){var e=0,t=i.height();o("body").hasClass("admin-bar")&&(e=o("#wpadminbar").outerHeight()),o("body").hasClass("dfd-custom-padding-html")&&(e+=2*o(".dfd-custom-padding-html").css("margin").replace("px","")),"relative"==l.css("position")&&(e+=l.height());var s=t-e;a.height(s),o(".ms-right, .ms-left").height(s)};i.on("load resize",t),s="dfd_smart_logo_light"in window&&""!=dfd_smart_logo_light?dfd_smart_logo_light:e,n="dfd_smart_logo_dark"in window&&""!=dfd_smart_logo_dark?dfd_smart_logo_dark:e,1024<i.width()&&o(".ms-right").html(o(".ms-right").find(".ms-section").get().reverse()),o(document).ready(function(){0<o("#footer-wrap").length&&o("#footer-wrap").remove(),0<o("#menu-fixer").length&&o("#menu-fixer").remove(),t(),a.multiscroll({navigation:!0,afterRender:function(){l.hasClass("dfd-smart-header")&&(a.find(".ms-section.active").hasClass("dfd-background-dark")?(l.find(".logo-for-panel img").attr("src",s),l.removeClass("dfd-header-light").addClass("dfd-header-dark"),o("#multiscroll-nav").removeClass("dfd-dots-light").addClass("dfd-dots-dark")):(l.find(".logo-for-panel img").attr("src",n),l.removeClass("dfd-header-dark").addClass("dfd-header-light"),o("#multiscroll-nav").removeClass("dfd-dots-dark").addClass("dfd-dots-light")))},afterLoad:function(e,t){l.hasClass("dfd-smart-header")&&(a.find(".ms-section.active").hasClass("dfd-background-dark")?(l.find(".logo-for-panel img").attr("src",s),l.removeClass("dfd-header-light").addClass("dfd-header-dark"),o("#multiscroll-nav").removeClass("dfd-dots-light").addClass("dfd-dots-dark")):(l.find(".logo-for-panel img").attr("src",n),l.removeClass("dfd-header-dark").addClass("dfd-header-light"),o("#multiscroll-nav").removeClass("dfd-dots-dark").addClass("dfd-dots-light")),l.addClass("dfd-disable-transition"),setTimeout(function(){l.removeClass("dfd-disable-transition")},500)),"undefined"!=typeof Waypoint&&Waypoint.refreshAll()}}),o("html").addClass("dfd-side-by-side-mode")})}(jQuery);