Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/thread-self/cwd/wp-content/plugins/bdthemes-element-pack/assets/vendor/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/cwd/wp-content/plugins/bdthemes-element-pack/assets/vendor/js/wavify.min.js
function wavify(e,t){void 0===t&&(t={});var n,o=Object.assign({},{container:t.container?t.container:"body",height:200,amplitude:100,speed:.15,bones:3,color:"rgba(255,255,255, 0.20)"},t),i=e,r=document.querySelector(o.container).getBoundingClientRect().width,a=document.querySelector(o.container).getBoundingClientRect().height,c=0,l=!1,u=!1;function y(e){for(var t=[],n=0;n<=o.bones;n++){var i=n/o.bones*r,a=(e+(n+n%o.bones))*o.speed*100,c=Math.sin(a/100)*o.amplitude,l=Math.sin(a/100)*c+o.height;t.push({x:i,y:l})}return t}function s(e){var t="M "+e[0].x+" "+e[0].y,n={x:(e[1].x-e[0].x)/2,y:e[1].y-e[0].y+e[0].y+(e[1].y-e[0].y)};t+=" C "+n.x+" "+n.y+" "+n.x+" "+n.y+" "+e[1].x+" "+e[1].y;for(var o=n,i=-1,c=1;c<e.length-1;c++){Math.sqrt(o.x*o.x+o.y*o.y);var l={x:e[c].x-o.x+e[c].x,y:e[c].y-o.y+e[c].y};t+=" C "+l.x+" "+l.y+" "+l.x+" "+l.y+" "+e[c+1].x+" "+e[c+1].y,o=l,i=-i}return t+=" L "+r+" "+a,t+=" L 0 "+a+" Z"}function d(){var e=window.Date.now();if(n){var t=(e-n)/1e3;n=e;var r=(c+=t)*Math.PI;u=TweenMax.to(i,o.speed,{attr:{d:s(y(r))},ease:Power1.easeInOut})}else n=e;l=requestAnimationFrame(d)}var f,p,x,m,v=(f=function(){w(),[],c=0,r=document.querySelector(o.container).getBoundingClientRect().width,a=document.querySelector(o.container).getBoundingClientRect().height,n=!1,g()},p=250,function(){var e=this,t=arguments;clearTimeout(m),m=setTimeout((function(){m=null,x||f.apply(e,t)}),p),x&&!m&&f.apply(e,t)});function g(){l||(l=requestAnimationFrame(d))}function w(){l&&(cancelAnimationFrame(l),l=!1)}function h(){l&&(w(),u.kill(),u=TweenMax.set(i,{x:0,y:0,rotation:0,opacity:0,clearProps:"all",attr:{d:"M0,0",fill:""}}),window.removeEventListener("resize",v),l=!1)}return l||(u=TweenMax.set(i,{attr:{fill:o.color}}),g(),window.addEventListener("resize",v)),{reboot:function(e){var t;h(),void 0!==typeof e&&(t=e,o=Object.assign({},o,t)),u=TweenMax.set(i,{attr:{fill:o.color}}),g(),window.addEventListener("resize",v)},play:g,pause:w,kill:h,updateColor:function(e){void 0===typeof e.timing&&(e.timing=1),void 0===typeof e.color&&(e.color=o.color),u=TweenMax.to(i,parseInt(e.timing),{attr:{fill:e.color},onComplete:function(){void 0!==typeof e.onComplete&&"[object Function]"==={}.toString.call(e.onComplete)&&e.onComplete()}})}}}

Spamworldpro Mini