jQuery((function(e){const t=function(){let t=e(panelsStyles.fullContainer);0===t.length&&(t=e("body"));const a=e(".siteorigin-panels-stretch.panel-row-style");a.length&&(a.each((function(){const a=e(this),l=a.data("stretch-type");a.css({"margin-left":0,"margin-right":0});const i=a.offset().left-t.offset().left,s=t.outerWidth()-i-a.parent().outerWidth();a.css({"margin-left":-i+"px","margin-right":-s+"px"}),"full"===l&&a.css({"padding-left":i+"px","padding-right":s+"px"})})),e(window).trigger("panelsStretchRows"))};if(panelsStyles.stretchRows&&e(window).on("resize load",t).trigger("resize"),"undefined"!=typeof parallaxStyles&&"undefined"!=typeof simpleParallax){const{"disable-parallax-mobile":e,"mobile-breakpoint":t,delay:a,scale:l}=parallaxStyles;e&&window.matchMedia(`(max-width: ${t})`).matches||new simpleParallax(document.querySelectorAll("[data-siteorigin-parallax], .sow-slider-image-parallax .sow-slider-background-image"),{delay:a,scale:l<1.1?1.1:l})}e("body").removeClass("siteorigin-panels-before-js")}));
!function(e){"use strict";document;e.event.special.swipe=e.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var i=e(this);i.bind("touchstart",function(t){var s,o=t.originalEvent.touches?t.originalEvent.touches[0]:t,n={time:(new Date).getTime(),coords:[o.pageX,o.pageY],origin:e(t.target)};function r(i){if(n){var t=i.originalEvent.touches?i.originalEvent.touches[0]:i;s={time:(new Date).getTime(),coords:[t.pageX,t.pageY]},Math.abs(n.coords[0]-s.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&i.preventDefault()}}i.bind("touchmove",r).one("touchend",function(t){i.unbind("touchmove",r),n&&s&&s.time-n.time<e.event.special.swipe.durationThreshold&&Math.abs(n.coords[0]-s.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(n.coords[1]-s.coords[1])<e.event.special.swipe.verticalDistanceThreshold&&n.origin.trigger("swipe").trigger(n.coords[0]>s.coords[0]?"swipeleft":"swiperight"),n=s=void 0})})}},e.event.special.swipeleft=e.event.special.swipeleft||{setup:function(){e(this).bind("swipe",e.noop)}},e.event.special.swiperight=e.event.special.swiperight||e.event.special.swipeleft}(jQuery);
jQuery(document).ready((function(){"undefined"==typeof parallaxStyles||parallaxStyles["disable-parallax-mobile"]&&window.matchMedia("(max-width: "+parallaxStyles["mobile-breakpoint"]+")").matches||new simpleParallax(document.querySelectorAll("[data-siteorigin-parallax], .sow-slider-image-parallax .sow-slider-background-image"),{delay:parallaxStyles.delay,scale:parallaxStyles.scale<1.1?1.1:parallaxStyles.scale})}));