uawdijnntqw1x1x1
IP : 216.73.217.167
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
files
/
need-2-delete
/
.
/
mini-borishof.ru1
/
upload
/
coooper
/
clientlib.min.20200624203628-9.js
/
/
define("apps/minidigital/components/atoms/animatedimage/clientlib",["jquery","bodymovin","core/Messagebus","core/utils/viewportspy","core/utils/scrollspy"],function(e,c,b,f,d){var a=function(g){this.$el=e(g); this.settings=e.extend({debug:false,animationRenderer:"svg",animationLoop:true,animationAutoplay:true,animationPathNarrow:"",animationPathWide:""},this.$el.data()); this.$animationContainer=e(".animation-container",this.$el); this.animation=null; this.currentAnimationPath=""; this.hasNarrowPath=this.settings.animationPathNarrow!=""; this.hasUniqueWidePath=this.settings.animationPathWide!=this.settings.animationPathNarrow&&this.settings.animationPathWide!=""; this.scrollSpy=d.init(); this.animationConfig={container:this.$animationContainer[0],renderer:this.settings.animationRenderer,loop:this.settings.animationLoop,autoplay:false,path:""}; this.messagebusSubscriptions=[]; this.init() }; a.prototype={init:function(){if(!this.hasNarrowPath){console.log("AnimatedImage.init: No animation path provided"); return }this.isScrolledIntoView=this.scrollSpy.elementIsScrolledIntoView(this.$el[0],0.2); this.animationTriggered=false; this.initEvents(); this.onViewportUpdate(f.viewportData) },initEvents:function(){f.register(this.onViewportUpdate.bind(this)); this.messagebusSubscriptions.push(b.subscribe({channel:this.scrollSpy.messages.channel,topic:this.scrollSpy.messages.events.SCROLL,callback:this.onScrollUpdate.bind(this)}),b.subscribe({channel:"md:animatedimage",topic:"do:stop",callback:this.stopAnimation.bind(this)}),b.subscribe({channel:"md:animatedimage",topic:"do:play",callback:this.playAnimation.bind(this)})) },onViewportUpdate:function(g){if(this.settings.debug){console.log("AnimatedImage.onViewportUpdate",g) }var h=this.currentAnimationPath; this.currentAnimationPath=g.minwidth.tabletPortrait&&this.hasUniqueWidePath?this.settings.animationPathWide:this.settings.animationPathNarrow; if(h!=this.currentAnimationPath){this.animationConfig.path=this.currentAnimationPath; this.initAnimation(); this.triggerAnimation() }},onScrollUpdate:function(g){if(g.target===window){this.isScrolledIntoView=this.scrollSpy.elementIsScrolledIntoView(this.$el[0],0.2); this.triggerAnimation() }},triggerAnimation:function(){if(this.isScrolledIntoView&&this.settings.animationAutoplay&&!this.animationTriggered){this.playAnimation(); this.animationTriggered=true }},initAnimation:function(){if(this.settings.debug){console.log("AnimatedImage.initAnimation") }if(this.animation){this.destroyAnimation() }this.animation=c.loadAnimation(this.animationConfig); var g=false; this.animation.addEventListener("DOMLoaded",function(){if(g){return }g=true; b.publish({channel:f.messages.channel,topic:f.messages.events.RESIZE,data:f.viewportData}) }); this.animationTriggered=false },playAnimation:function(g){if(this.settings.debug){console.log("AnimatedImage.playAnimation") }if(this.animation){if(!g){this.animation.play() }else{if(!g.container){return }if(e.contains(g.container[0],this.$el[0])){this.animation.play() }}}},stopAnimation:function(g){if(this.settings.debug){console.log("AnimatedImage.stopAnimation") }if(this.animation){if(!g.container){return }if(e.contains(g.container[0],this.$el[0])){this.animation.stop() }}},destroyAnimation:function(){if(this.settings.debug){console.log("AnimatedImage.destroyAnimation") }if(this.animation){this.animation.destroy(); this.animation=null }while(this.messagebusSubscriptions.length){b.unsubscribe(this.messagebusSubscriptions.pop()) }}}; return a });
/var/files/need-2-delete/./mini-borishof.ru1/upload/coooper/clientlib.min.20200624203628-9.js