GRAYBYTE WORDPRESS FILE MANAGER7377

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-includes/js/jquery/ui/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-includes/js/jquery/ui//mouse.js
/*!
 * jQuery UI Mouse 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */

//>>label: Mouse
//>>group: Widgets
//>>description: Abstracts mouse-based interactions to assist in creating certain widgets.
//>>docs: https://api.jqueryui.com/mouse/

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [
			"jquery",
			"../ie",
			"../version",
			"../widget"
		], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} )( function( $ ) {
"use strict";

var mouseHandled = false;
$( document ).on( "mouseup", function() {
	mouseHandled = false;
} );

return $.widget( "ui.mouse", {
	version: "1.13.3",
	options: {
		cancel: "input, textarea, button, select, option",
		distance: 1,
		delay: 0
	},
	_mouseInit: function() {
		var that = this;

		this.element
			.on( "mousedown." + this.widgetName, function( event ) {
				return that._mouseDown( event );
			} )
			.on( "click." + this.widgetName, function( event ) {
				if ( true === $.data( event.target, that.widgetName + ".preventClickEvent" ) ) {
					$.removeData( event.target, that.widgetName + ".preventClickEvent" );
					event.stopImmediatePropagation();
					return false;
				}
			} );

		this.started = false;
	},

	// TODO: make sure destroying one instance of mouse doesn't mess with
	// other instances of mouse
	_mouseDestroy: function() {
		this.element.off( "." + this.widgetName );
		if ( this._mouseMoveDelegate ) {
			this.document
				.off( "mousemove." + this.widgetName, this._mouseMoveDelegate )
				.off( "mouseup." + this.widgetName, this._mouseUpDelegate );
		}
	},

	_mouseDown: function( event ) {

		// don't let more than one widget handle mouseStart
		if ( mouseHandled ) {
			return;
		}

		this._mouseMoved = false;

		// We may have missed mouseup (out of window)
		if ( this._mouseStarted ) {
			this._mouseUp( event );
		}

		this._mouseDownEvent = event;

		var that = this,
			btnIsLeft = ( event.which === 1 ),

			// event.target.nodeName works around a bug in IE 8 with
			// disabled inputs (#7620)
			elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ?
				$( event.target ).closest( this.options.cancel ).length : false );
		if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
			return true;
		}

		this.mouseDelayMet = !this.options.delay;
		if ( !this.mouseDelayMet ) {
			this._mouseDelayTimer = setTimeout( function() {
				that.mouseDelayMet = true;
			}, this.options.delay );
		}

		if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
			this._mouseStarted = ( this._mouseStart( event ) !== false );
			if ( !this._mouseStarted ) {
				event.preventDefault();
				return true;
			}
		}

		// Click event may never have fired (Gecko & Opera)
		if ( true === $.data( event.target, this.widgetName + ".preventClickEvent" ) ) {
			$.removeData( event.target, this.widgetName + ".preventClickEvent" );
		}

		// These delegates are required to keep context
		this._mouseMoveDelegate = function( event ) {
			return that._mouseMove( event );
		};
		this._mouseUpDelegate = function( event ) {
			return that._mouseUp( event );
		};

		this.document
			.on( "mousemove." + this.widgetName, this._mouseMoveDelegate )
			.on( "mouseup." + this.widgetName, this._mouseUpDelegate );

		event.preventDefault();

		mouseHandled = true;
		return true;
	},

	_mouseMove: function( event ) {

		// Only check for mouseups outside the document if you've moved inside the document
		// at least once. This prevents the firing of mouseup in the case of IE<9, which will
		// fire a mousemove event if content is placed under the cursor. See #7778
		// Support: IE <9
		if ( this._mouseMoved ) {

			// IE mouseup check - mouseup happened when mouse was out of window
			if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&
					!event.button ) {
				return this._mouseUp( event );

			// Iframe mouseup check - mouseup occurred in another document
			} else if ( !event.which ) {

				// Support: Safari <=8 - 9
				// Safari sets which to 0 if you press any of the following keys
				// during a drag (#14461)
				if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||
						event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
					this.ignoreMissingWhich = true;
				} else if ( !this.ignoreMissingWhich ) {
					return this._mouseUp( event );
				}
			}
		}

		if ( event.which || event.button ) {
			this._mouseMoved = true;
		}

		if ( this._mouseStarted ) {
			this._mouseDrag( event );
			return event.preventDefault();
		}

		if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
			this._mouseStarted =
				( this._mouseStart( this._mouseDownEvent, event ) !== false );
			if ( this._mouseStarted ) {
				this._mouseDrag( event );
			} else {
				this._mouseUp( event );
			}
		}

		return !this._mouseStarted;
	},

	_mouseUp: function( event ) {
		this.document
			.off( "mousemove." + this.widgetName, this._mouseMoveDelegate )
			.off( "mouseup." + this.widgetName, this._mouseUpDelegate );

		if ( this._mouseStarted ) {
			this._mouseStarted = false;

			if ( event.target === this._mouseDownEvent.target ) {
				$.data( event.target, this.widgetName + ".preventClickEvent", true );
			}

			this._mouseStop( event );
		}

		if ( this._mouseDelayTimer ) {
			clearTimeout( this._mouseDelayTimer );
			delete this._mouseDelayTimer;
		}

		this.ignoreMissingWhich = false;
		mouseHandled = false;
		event.preventDefault();
	},

	_mouseDistanceMet: function( event ) {
		return ( Math.max(
				Math.abs( this._mouseDownEvent.pageX - event.pageX ),
				Math.abs( this._mouseDownEvent.pageY - event.pageY )
			) >= this.options.distance
		);
	},

	_mouseDelayMet: function( /* event */ ) {
		return this.mouseDelayMet;
	},

	// These are placeholder methods, to be overriden by extending plugin
	_mouseStart: function( /* event */ ) {},
	_mouseDrag: function( /* event */ ) {},
	_mouseStop: function( /* event */ ) {},
	_mouseCapture: function( /* event */ ) {
		return true;
	}
} );

} );

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:19
giriqfky / giriqfky
0644
accordion.js
15.76 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
accordion.min.js
8.652 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
autocomplete.js
17.119 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
autocomplete.min.js
8.336 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
button.js
11.432 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
button.min.js
6.01 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
checkboxradio.js
7.411 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
checkboxradio.min.js
4.246 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
controlgroup.js
8.424 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
controlgroup.min.js
4.299 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
core.js
48.719 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
core.min.js
20.961 KB
April 16 2025 14:34:13
giriqfky / giriqfky
0644
datepicker.js
80.589 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
datepicker.min.js
35.887 KB
April 16 2025 14:34:13
giriqfky / giriqfky
0644
dialog.js
23.336 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
dialog.min.js
12.791 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
draggable.js
34.713 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
draggable.min.js
17.988 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
droppable.js
12.597 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
droppable.min.js
6.509 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-blind.js
1.605 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-blind.min.js
0.859 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-bounce.js
2.598 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-bounce.min.js
0.968 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-clip.js
1.54 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-clip.min.js
0.777 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-drop.js
1.558 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-drop.min.js
0.735 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-explode.js
2.855 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-explode.min.js
1.096 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-fade.js
0.945 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-fade.min.js
0.513 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-fold.js
2.134 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-fold.min.js
0.996 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-highlight.js
1.214 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-highlight.min.js
0.633 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-puff.js
0.972 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-puff.min.js
0.498 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-pulsate.js
1.53 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-pulsate.min.js
0.672 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-scale.js
1.341 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-scale.min.js
0.706 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-shake.js
1.84 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-shake.min.js
0.826 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-size.js
5.291 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-size.min.js
2.433 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-slide.js
1.921 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-slide.min.js
0.896 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect-transfer.js
0.867 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect-transfer.min.js
0.432 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
effect.js
24.036 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
effect.min.js
10.09 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
menu.js
18.516 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
menu.min.js
9.96 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
mouse.js
6.081 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
mouse.min.js
3.348 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
progressbar.js
4.14 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
progressbar.min.js
2.498 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
resizable.js
29.775 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
resizable.min.js
18.383 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
selectable.js
7.938 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
selectable.min.js
4.4 KB
April 16 2025 14:34:13
giriqfky / giriqfky
0644
selectmenu.js
15.963 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
selectmenu.min.js
9.279 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
slider.js
19.14 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
slider.min.js
10.507 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
sortable.js
46.524 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
sortable.min.js
24.906 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
spinner.js
14.096 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
spinner.min.js
7.496 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
tabs.js
23.109 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
tabs.min.js
11.727 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644
tooltip.js
14.137 KB
May 28 2024 06:44:16
giriqfky / giriqfky
0644
tooltip.min.js
6.098 KB
June 27 2024 23:21:44
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF