%PDF- %PDF-
Direktori : /home/t/r/a/tradesc/www/relax/wp-content/uploads/elementor/js/min/ |
Current File : /home/t/r/a/tradesc/www/relax/wp-content/uploads/elementor/js/min/dce-svgfe.min.js |
(function($){var WidgetElements_SvgFilterEffectsHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var valColor1='';var valColor2='';var valBroken='';var valBaseFrequency='';var valNumOctaves='';var valScale='';var valSeed='';var valSketch='';var glitch='';var feDisp=$scope.find('feDisplacementMap#displacement-map')[0];var feImage=$scope.find('feImage#displacement-image')[0];var scaleMapTo=0;var is_running=!1;var run=$('#dce-svg-'+id_scope).attr('data-run');var animation_delay=1;var animation_speed=3;var easing_animation_ease='Power3';var easing_animation='easeInOut';var easeFunction=easing_animation_ease+'.'+easing_animation;var svg_trigger=elementSettings.svg_trigger;var tl=new TimelineMax({repeat:-1,repeatDelay:animation_delay});var interrompi=function(){tl.pause();is_running=!1} var ferma=function(){tl.stop();is_running=!1} var riproduci=function(){tl.play();is_running=!0} var inverti=function(){tl.reverse();is_running=!0} var riprendi=function(){tl.restart();is_running=!0} var playShapeEl=function(){function repeatOften(){if(run!=$('#dce-svg-'+id_scope).attr('data-run')){run=$('#dce-svg-'+id_scope).attr('data-run');if(run=='running'){riproduci()}else{ferma()}} requestAnimationFrame(repeatOften)} requestAnimationFrame(repeatOften)} var mouseenterFn=function(){var tl=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMapTo},ease:easeFunction},0)};var mouseleaveFn=function(){var tl=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMap},ease:easeFunction},0)};var active_scrollAnalysi=function($el){if($el){var tl=new TimelineMax({repeat:0,paused:!0,});var runAnim=function(dir){if(dir=='down'){}else if(dir=='up'){}} var waypointOptions={triggerOnce:!1,continuous:!0};elementorFrontend.waypoint($($el),runAnim,waypointOptions)}} if(elementorFrontend.isEditMode()){if(tl)tl.kill(feDisp);$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg')}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-filtereffects.default',WidgetElements_SvgFilterEffectsHandler)})})(jQuery)