(()=>{"use strict";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},o(n)}var n,t,e=function(n,t){var e={speed:t.data("speed")||.2,repeat:"no-repeat",size:"cover",pos_x:"center",offset:0};t.each(function(t,r){var i=n(r),a=i.data("parallaxie");"object"!==o(a)&&(a={}),a=Object.assign({},e,a);var s=i.data("image");if(void 0===s){if(!(s=i.css("background-image")))return;var c=a.offset+(i.offset().top-n(window).scrollTop())*(1-a.speed);i.css({"background-size":a.size,"background-repeat":a.repeat,"background-attachment":"fixed","background-position":a.pos_x+" "+c+"px"}),n(window).scroll(function(){var o=a.offset+(i.offset().top-n(window).scrollTop())*(1-a.speed);i.css("background-position",a.pos_x+" "+o+"px")})}})};n=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(t=window.RTSB.modules.registerAfterElementor("CTAParallax",function(){var o=(window.RTSB||{}).helpers;return{name:"CTAParallax",version:"1.0.0",init:function(){return this.run(),this},refresh:function(){this.run()},run:function(){o.rAF(function(){return function(o){var n=o(".has-rtsb-parallax");n.length&&n.each(function(n,t){e(o,o(t))})}(n)})}}}))||void 0===t||t.init())})();