403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/drag_and_fire.min.js
function drag_and_fire(a,b,c,e,f,d){a="object"===typeof a?a:document.querySelector(a);if(!a)return!1;b||(b="left");c||(c=!1);e||(e="PLUS&MINUS");f||(f=75);d||(d=null);a.drag_prop_name=b;a.drag_reverse_calculate=c;a.drag_allow_direction=e;a.drag_critical_shift=f;a.drag_critical_EVENT=d;a.fire_in_air=!1;a.fire_drag_critical_reached=fire_drag_critical_reached;a.fire_drag_clear_states=fire_drag_clear_states;a.fire_get_drag_shift=fire_get_drag_shift;a.fire_event=fire_event;a.fire_clear=fire_clear;a.ontouchmove=
fire_dragmode_show;a.ontouchend=fire_drag_result;a.ontouchcancel=fire_drag_cancel;a.drag_start_value=null}function fire_dragmode_show(a){a=a||event;a=a.touches[0]||a.changedTouches[0];if(this.fire_in_air)return!1;if("undefined"===typeof this.drag_start_value||null===this.drag_start_value)this.drag_start_value=parseFloat(getStyle(this,this.drag_prop_name)),this.pageX=a.pageX,this.pageY=a.pageY;this.touch_page_x=a.pageX;this.fire_get_drag_shift();return this.fire_drag_critical_reached()?!1:!0}
function fire_drag_result(){this.fire_drag_critical_reached(!0,!0);this.fire_drag_clear_states()}function fire_drag_cancel(){this.fire_drag_critical_reached(!0);this.fire_drag_clear_states()}
function fire_get_drag_shift(){if("undefined"===typeof this.touch_page_x||"undefined"===typeof this.pageX||"undefined"===typeof this.drag_start_value||null===this.drag_start_value)return 0;var a=this.touch_page_x-this.pageX;if(0<a&&!~this.drag_allow_direction.indexOf("PLUS")||0>a&&!~this.drag_allow_direction.indexOf("MINUS"))a=0;this.drag_reverse_calculate&&(a*=-1);return this.drag_shift=a}
function fire_drag_critical_reached(a,b){return Math.abs(this.fire_get_drag_shift())<this.drag_critical_shift?!1:(this.fire_in_air=!0,b&&(this.fire_drag_clear_states(),this.fire_event()),!0)}function fire_event(){this.drag_critical_EVENT&&this.drag_critical_EVENT instanceof Function&&setTimeout(function(){this.drag_critical_EVENT(this)}.bind(this),50);this.fire_clear()}function fire_clear(){this.fire_drag_clear_states();this.fire_in_air=!1}
function fire_drag_clear_states(){this.drag_start_value=null}
function getStyle(a,b){var c=(a.ownerDocument||document).defaultView;if(c&&c.getComputedStyle)return b=b.replace(/([A-Z])/g,"-$1").toLowerCase(),c.getComputedStyle(a,null).getPropertyValue(b);if(a.currentStyle)return b=b.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b=a.currentStyle[b],/^\d+(em|pt|%|ex)?$/i.test(b)?function(b){var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b||0;b=a.style.pixelLeft+"px";a.style.left=c;a.runtimeStyle.left=d;
return b}(b):b};

Youez - 2016 - github.com/yon3zu
LinuXploit