https://www.spaceguardproducts.com/wp-content/plugins/responsive-a…/rael-animations.min.js?ver=2.2.1
1!function(e){"use strict";function t(e){if(!elementorFrontend.isEditMode())return e.data("settings")||{};if(e.data("model-cid")){var t,a=e.data("model-cid"),n=null===(t=elementorFrontend.config.elements)||void 0===t||null===(t=t.data)||void 0===t?void 0:t[a];if(n)return n.attributes||{}}try{return JSON.parse(e.attr("data-settings")||"{}")}catch(e){return{}}}function a(e){var t={};if("yes"!==e.rae_animations_scrolling_enable)return null;if("horizontal_scroll"===e.rae_animations_scroll_effects_type){var a,n,r=(null===(a=e.rae_animations_horizontal_viewport)||void 0===a?void 0:a.sizes)||{};t.translateX={type:"horizontal",direction:e.rae_animations_horizontal_direction||"to_left",speed:parseFloat(null===(n=e.rae_animations_horizontal_speed)||void 0===n?void 0:n.size)||4,start:parseInt(r.start)||0,end:parseInt(r.end)||100}}if("vertical_scroll"===e.rae_animations_scroll_effects_type){var i,o,s=(null===(i=e.rae_animations_vertical_viewport)||void 0===i?void 0:i.sizes)||{};t.translateY={type:"vertical",direction:e.rae_animations_vertical_direction||"up",speed:parseFloat(null===(o=e.rae_animations_vertical_speed)||void 0===o?void 0:o.size)||4,start:parseInt(s.start)||0,end:parseInt(s.end)||100}}if("yes"===e.rae_animations_transparency_enable){var l,c,d=(null===(l=e.rae_animations_transparency_viewport)||void 0===l?void 0:l.sizes)||{};t.opacity={direction:e.rae_animations_transparency_direction||"fade_in",level:parseFloat(null===(c=e.rae_animations_transparency_level)||void 0===c?void 0:c.size)||4,start:parseInt(d.start)||0,end:parseInt(d.end)||100}}if("yes"===e.rae_animations_blur_enable){var f,p,u=(null===(f=e.rae_animations_blur_viewport)||void 0===f?void 0:f.sizes)||{};t.blur={direction:e.rae_animations_blur_direction||"fade_in",level:parseFloat(null===(p=e.rae_animations_blur_level)||void 0===p?void 0:p.size)||4,start:parseInt(u.start)||0,end:parseInt(u.end)||100}}if("yes"===e.rae_animations_scale_enable){var m,_,v=(null===(m=e.rae_animations_scale_viewport)||void 0===m?void 0:m.sizes)||{};t.scale={direction:e.rae_animations_scale_direction||"scale_up",speed:parseFloat(null===(_=e.rae_animations_scale_speed)||void 0===_?void 0:_.size)||4,origin_x:e.rae_motion_fx_transform_x_anchor_point||"center",origin_y:e.rae_motion_fx_transform_y_anchor_point||"center",start:parseInt(v.start)||0,end:parseInt(v.end)||100}}if("yes"===e.rae_animations_rotate_enable){var h,y,g=(null===(h=e.rae_animations_rotate_viewport)||void 0===h?void 0:h.sizes)||{};t.rotate={direction:e.rae_animations_rotate_direction||"to_left",speed:parseFloat(null===(y=e.rae_animations_rotate_speed)||void 0===y?void 0:y.size)||4,start:parseInt(g.start)||0,end:parseInt(g.end)||100}}return Object.keys(t).length?t:null}var n={init:function(){this.isEditor=elementorFrontend.isEditMode(),this.windowHeight=this.getViewportHeight(),this.scrollTop=this.getScrollTop(),this.setupListeners(),this.scanElements(),this.update()},getViewportHeight:function(){return window.innerHeight},getScrollTop:function(){if(this.isEditor){var e,t=document.querySelector("#elementor-preview-iframe, .elementor-preview-iframe");return t&&t.contentWindow&&(t.contentWindow.pageYOffset||(null===(e=t.contentDocument)||void 0===e?void 0:e.documentElement.scrollTop))||0}return window.pageYOffset||document.documentElement.scrollTop},getDocumentHeight:function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},setupListeners:function(){var t=this;if(this.isEditor){var a=document.querySelector("#elementor-preview-iframe, .elementor-preview-iframe");a&&a.contentWindow&&(e(a.contentWindow).on("scroll",function(){t.onScroll()}),e(a.contentWindow).on("resize",function(){t.onResize()}))}else e(window).on("scroll",function(){t.onScroll()}),e(window).on("resize",function(){t.onResize()});this.rafUpdate=function(){t.update(),t.rafId=requestAnimationFrame(t.rafUpdate)},this.rafId=requestAnimationFrame(this.rafUpdate)},onScroll:function(){this.scrollTop=this.getScrollTop()}
1,onResize:function(){this.windowHeight=this.getViewportHeight(),this.scanElements()},scanElements:function(){var e=this;this.elements=[],document.querySelectorAll(".rael-scroll-effects").forEach(function(t){e.elements.push(t)})},processElement:function(e){var n=function(e){if(e.hasClass("e-con"))return e;if(e.hasClass("elementor-section"))return e;var t=e.closest(".elementor-inner-section");if(t.length)return t;var a=e.closest(".elementor-column");return a.length?a:e}(e),r=null,i={};if(this.isEditor){i=t(e),this.setupEntranceAnimation(n,i);var o=a(i);if(!o)return n.removeClass("rael-scroll-effects"),void n.removeAttr("data-rael-scroll-effects");r={effects:o,relativeTo:i.rae_animations_effects_relative_to||"viewport"},n.addClass("rael-scroll-effects").attr("data-rael-scroll-effects",JSON.stringify(r))}else{var s=n.attr("data-rael-scroll-effects");if(!s)return;try{r=JSON.parse(s)}catch(e){return}}r&&r.effects&&(this.elements.includes(n[0])||this.elements.push(n[0]))},setupEntranceAnimation:function(e,t){if(t.rae_animations_entrance&&"none"!==t.rae_animations_entrance){e.removeClass("animated rael-animated"),e.removeClass(t.rae_animations_entrance),e.addClass("rael-entrance"),e.attr("data-rae-entrance",t.rae_animations_entrance);var a=t.rae_animations_entrance_duration||"1000";e.attr("data-rae-animation-duration",a),e.removeClass("rae-duration-slow rae-duration-normal rae-duration-fast"),"2000"===a?e.addClass("rae-duration-slow"):"1000"===a?e.addClass("rae-duration-normal"):"800"===a&&e.addClass("rae-duration-fast");var n=t.rae_animations_entrance_animation_delay||"0";e.attr("data-rae-animation-delay",n),e.removeClass("animated"),e[0].__raeEntranceDone=!1}else e.removeClass("rael-entrance animated rael-animated"),e.removeAttr("data-rae-entrance data-rae-
1animation-duration data-rae-animation-delay")},update:function(){var e=this;this.elements.length&&this.elements.forEach(function(t){e.applyEffects(t)}),this.handleEntranceAnimations()},applyEffects:function(n){var r;if(this.isEditor){var i=e(n),o=t(i),s=a(o);s||(i.removeClass("rael-scroll-effects"),n.style.removeProperty("--translateX"),n.style.removeProperty("--translateY"),n.style.removeProperty("--opacity"),n.style.removeProperty("--blur"),n.style.removeProperty("--scale"),n.style.removeProperty("--rotateZ")),r={effects:s,relativeTo:o.rae_animations_effects_relative_to||"viewport"}}else{var l=n.getAttribute("data-rael-scroll-effects");if(!l)return;try{r=JSON.parse(l)}catch(e){return}}var c=r.effects,d=r.relativeTo||"viewport";if(c){var f=this.calculateProgress(n,d);this.applyEffect(n,"translateX",c.translateX,f),this.applyEffect(n,"translateY",c.translateY,f),this.applyEffect(n,"opacity",c.opacity,f),this.applyEffect(n,"blur",c.blur,f),this.applyEffect(n,"scale",c.scale,f),this.applyEffect(n,"rotate",c.rotate,f),c.translateX||n.style.removeProperty("--translateX"),c.translateY||n.style.removeProperty("--translateY"),c.opacity||n.style.removeProperty("--opacity"),c.blur||n.style.removeProperty("--blur"),c.scale||n.style.removeProperty("--scale"),c.rotate||n.style.removeProperty("--rotateZ")}},calculateProgress:function(e,t){var a=e.getBoundingClientRect(),n=a.top+this.scrollTop,r=a.height,i=n+r,o=0;switch(t){case"page":this.scrollTop,this.scrollTop,this.windowHeight;var s=n-this.windowHeight,l=i,c=l-s;if(c<=0){o=0;break}o=this.scrollTop<=s?0:this.scrollTop>=l?1:(this.scrollTop-s)/c;break;default:var d=this.getDocumentHeight();if(d<=0){o=0;break}var f=(n+r/2)/d,p=this.scrollTop/d,u=(Math.max(0,Math.min(1,(p-(f-.5))/1)),f-.4),m=f+.4;o=p<=u?0:p>=m?1:(p-u)/(m-u)}return Math.min(Math.max(o,0),1)},applyEffect:function(e,t,a,n){if(a){var r=this.stabilizeProgress(this.range(n,a.start,a.end));switch(t){case"translateX":this.applyTranslateX(e,a,r);break;case"translateY":this.applyTranslateY(e,a,r);break;case"opacity":this.applyOpacity(e,a,r);break;case"blur":this.applyBlur(e,a,r);break;case"scale":this.applyScale(e,a,r);break;case"rotate":this.applyRotate(e,a,r)}}},stabilizeProgress:function(e){return(e=Math.max(0,Math.min(1,e)))<.001?0:e>.999?1:e},applyTranslateX:function(e,t,a){if(t&&void 0!==t.speed){var n=2*(a-.5)*(60*t.speed)*("to_left"===t.direction?-1:1);e.style.setProperty("--translateX","".concat(n,"px"))}},applyTranslateY:function(e,t,a){if(t&&void 0!==t.speed){var n=(1-a)*t.speed*20;"up"===t.direction?n=Math.abs(n):"down"===t.direction&&(n=-Math.abs(n)),e.style.setProperty("--translateY","".concat(n,"px"))}},applyOpacity:function(e,t,a){if(t){var n=1,r=t.level||1;switch(t.direction){case"fade_in":n=a*r;break;case"fade_out":n=1-a*r;break;case"fade_out_in":n=a<.5?1-2*a*r:2*(a-.5)*r;break;case"fade_in_out":n=a<.5?2*a*r:1-2*(a-.5)*r}n=Math.min(Math.max(n,0),1),e.style.setProperty("--opacity",n)}},applyBlur:function(e,t,a){if(t){var n=0,r=t.level||1;switch(t.direction){case"fade_in":n=a*r*10;break;case"fade_out":n=(1-a)*r*10;break;case"fade_out_in":n=a<.5?2*a*r*10:2*(1-a)*r*10;break;case"fade_in_out":n=a<.5?(1-2*a)*r*10:2*(a-.5)*r*10}e.style.setProperty("--blur","".concat(n,"px"))}},applyScale:function(e,t,a){if(t){var n=1,r=t.speed||1;switch(t.direction){case"scale_up":n=1+a*r*.2;break;case"scale_down":n=1-a*r*.2;break;case"scale_down_up":n=a<.5?1-2*a*r*.2:1-2*(1-a)*r*.2;break;case"scale_up_down":n=a<.5?1+2*a*r*.2:1+2*(1-a)*r*.2}n=Math.max(n,.1),e.style.setProperty("--scale",n),t.origin_x&&t.origin_y&&(e.style.transformOrigin="".concat(t.origin_x," ").concat(t.origin_y))}},applyRotate:function(e,t,a){if(t){var n=a*t.speed*20;"to_left"===t.direction?n=-Math.abs(n):"to_right"===t.direction&&(n=Math.abs(n)),e.style.setProperty("--rotateZ","".concat(n,"deg"))}},range:function(e,t,a){var n=t/100,r=a/100;return e<=n?0:e>=r?1:(e-n)/(r-n)},handleEntranceAnimations:function(){var e=this;document.querySelectorAll(".rael-entrance:not(.animated)").forEach(function(t){var a=t.getAttribute("data-rae-entrance");if(a&&"none"!==a){var n=t.getBoundingClientRect(),r=e.windowHeight;n.top<=r&&n.bottom>=0&&!t.__raeEntranceDone&&e.triggerEntranceAnimation(t)}})},triggerEntranceAnimation:function(e){var t=e.getAttribute("data-rae-entrance"),a=e.getAttribute("data-rae-
1animation-delay")||0,n=e.getAttribute("data-rae-animation-duration")||"1000";setTimeout(function(){e.classList.add("animated",t,"rael-animated"),e.style.animationDuration=n+"ms",e.__raeEntranceDone=!0;var r=parseInt(n)+parseInt(a);setTimeout(function(){e.classList.remove(t)},r)},parseInt(a))},updateEntranceAnimations:function(){document.querySelectorAll(".rael-entrance").forEach(function(e){e.classList.remove("animated","rael-animated");var t=e.getAttribute("data-rae-entrance");t&&e.classList.remove(t),e.__raeEntranceDone=!1})},destroy:function(){this.rafId&&cancelAnimationFrame(this.rafId),e(window).off("scroll resize")}};e(window).on("elementor/frontend/init",function(){n.init(),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){n.processElement(e),n.scanElements()}),elementorFrontend.hooks.addAction("frontend/element_ready/section",function(e){n.processElement(e)}),elementorFrontend.hooks.addAction("frontend/element_ready/container",function(e){n.processElement(e)}),elementorFrontend.hooks.addAction("frontend/element_ready/column",function(e){n.processElement(e)})})}(jQuery);
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.