GRAYBYTE WORDPRESS FILE MANAGER1442

Server IP : 149.255.58.128 / Your IP : 216.73.216.113
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/mobilityscootereftalia.com/wp-admin/js/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/mobilityscootereftalia.com/wp-admin/js//farbtastic.js
/*!
 * Farbtastic: jQuery color picker plug-in v1.3u
 * https://github.com/mattfarina/farbtastic
 *
 * Licensed under the GPL license:
 *   http://www.gnu.org/licenses/gpl.html
 */
/**
 * Modified for WordPress: replaced deprecated jQuery methods.
 * See https://core.trac.wordpress.org/ticket/57946.
 */

(function($) {

$.fn.farbtastic = function (options) {
  $.farbtastic(this, options);
  return this;
};

$.farbtastic = function (container, callback) {
  var container = $(container).get(0);
  return container.farbtastic || (container.farbtastic = new $._farbtastic(container, callback));
};

$._farbtastic = function (container, callback) {
  // Store farbtastic object
  var fb = this;

  // Insert markup
  $(container).html('<div class="farbtastic"><div class="color"></div><div class="wheel"></div><div class="overlay"></div><div class="h-marker marker"></div><div class="sl-marker marker"></div></div>');
  var e = $('.farbtastic', container);
  fb.wheel = $('.wheel', container).get(0);
  // Dimensions
  fb.radius = 84;
  fb.square = 100;
  fb.width = 194;

  // Fix background PNGs in IE6
  if (navigator.appVersion.match(/MSIE [0-6]\./)) {
    $('*', e).each(function () {
      if (this.currentStyle.backgroundImage != 'none') {
        var image = this.currentStyle.backgroundImage;
        image = this.currentStyle.backgroundImage.substring(5, image.length - 2);
        $(this).css({
          'backgroundImage': 'none',
          'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
        });
      }
    });
  }

  /**
   * Link to the given element(s) or callback.
   */
  fb.linkTo = function (callback) {
    // Unbind previous nodes
    if (typeof fb.callback == 'object') {
      $(fb.callback).off('keyup', fb.updateValue);
    }

    // Reset color
    fb.color = null;

    // Bind callback or elements
    if (typeof callback == 'function') {
      fb.callback = callback;
    }
    else if (typeof callback == 'object' || typeof callback == 'string') {
      fb.callback = $(callback);
      fb.callback.on('keyup', fb.updateValue);
      if (fb.callback.get(0).value) {
        fb.setColor(fb.callback.get(0).value);
      }
    }
    return this;
  };
  fb.updateValue = function (event) {
    if (this.value && this.value != fb.color) {
      fb.setColor(this.value);
    }
  };

  /**
   * Change color with HTML syntax #123456
   */
  fb.setColor = function (color) {
    var unpack = fb.unpack(color);
    if (fb.color != color && unpack) {
      fb.color = color;
      fb.rgb = unpack;
      fb.hsl = fb.RGBToHSL(fb.rgb);
      fb.updateDisplay();
    }
    return this;
  };

  /**
   * Change color with HSL triplet [0..1, 0..1, 0..1]
   */
  fb.setHSL = function (hsl) {
    fb.hsl = hsl;
    fb.rgb = fb.HSLToRGB(hsl);
    fb.color = fb.pack(fb.rgb);
    fb.updateDisplay();
    return this;
  };

  /////////////////////////////////////////////////////

  /**
   * Retrieve the coordinates of the given event relative to the center
   * of the widget.
   */
  fb.widgetCoords = function (event) {
    var offset = $(fb.wheel).offset();
    return { x: (event.pageX - offset.left) - fb.width / 2, y: (event.pageY - offset.top) - fb.width / 2 };
  };

  /**
   * Mousedown handler
   */
  fb.mousedown = function (event) {
    // Capture mouse
    if (!document.dragging) {
      $(document).on('mousemove', fb.mousemove).on('mouseup', fb.mouseup);
      document.dragging = true;
    }

    // Check which area is being dragged
    var pos = fb.widgetCoords(event);
    fb.circleDrag = Math.max(Math.abs(pos.x), Math.abs(pos.y)) * 2 > fb.square;

    // Process
    fb.mousemove(event);
    return false;
  };

  /**
   * Mousemove handler
   */
  fb.mousemove = function (event) {
    // Get coordinates relative to color picker center
    var pos = fb.widgetCoords(event);

    // Set new HSL parameters
    if (fb.circleDrag) {
      var hue = Math.atan2(pos.x, -pos.y) / 6.28;
      if (hue < 0) hue += 1;
      fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]);
    }
    else {
      var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5));
      var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5));
      fb.setHSL([fb.hsl[0], sat, lum]);
    }
    return false;
  };

  /**
   * Mouseup handler
   */
  fb.mouseup = function () {
    // Uncapture mouse
    $(document).off('mousemove', fb.mousemove);
    $(document).off('mouseup', fb.mouseup);
    document.dragging = false;
  };

  /**
   * Update the markers and styles
   */
  fb.updateDisplay = function () {
    // Markers
    var angle = fb.hsl[0] * 6.28;
    $('.h-marker', e).css({
      left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px',
      top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px'
    });

    $('.sl-marker', e).css({
      left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px',
      top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px'
    });

    // Saturation/Luminance gradient
    $('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5])));

    // Linked elements or callback
    if (typeof fb.callback == 'object') {
      // Set background/foreground color
      $(fb.callback).css({
        backgroundColor: fb.color,
        color: fb.hsl[2] > 0.5 ? '#000' : '#fff'
      });

      // Change linked value
      $(fb.callback).each(function() {
        if (this.value && this.value != fb.color) {
          this.value = fb.color;
        }
      });
    }
    else if (typeof fb.callback == 'function') {
      fb.callback.call(fb, fb.color);
    }
  };

  /* Various color utility functions */
  fb.pack = function (rgb) {
    var r = Math.round(rgb[0] * 255);
    var g = Math.round(rgb[1] * 255);
    var b = Math.round(rgb[2] * 255);
    return '#' + (r < 16 ? '0' : '') + r.toString(16) +
           (g < 16 ? '0' : '') + g.toString(16) +
           (b < 16 ? '0' : '') + b.toString(16);
  };

  fb.unpack = function (color) {
    if (color.length == 7) {
      return [parseInt('0x' + color.substring(1, 3)) / 255,
        parseInt('0x' + color.substring(3, 5)) / 255,
        parseInt('0x' + color.substring(5, 7)) / 255];
    }
    else if (color.length == 4) {
      return [parseInt('0x' + color.substring(1, 2)) / 15,
        parseInt('0x' + color.substring(2, 3)) / 15,
        parseInt('0x' + color.substring(3, 4)) / 15];
    }
  };

  fb.HSLToRGB = function (hsl) {
    var m1, m2, r, g, b;
    var h = hsl[0], s = hsl[1], l = hsl[2];
    m2 = (l <= 0.5) ? l * (s + 1) : l + s - l*s;
    m1 = l * 2 - m2;
    return [this.hueToRGB(m1, m2, h+0.33333),
        this.hueToRGB(m1, m2, h),
        this.hueToRGB(m1, m2, h-0.33333)];
  };

  fb.hueToRGB = function (m1, m2, h) {
    h = (h < 0) ? h + 1 : ((h > 1) ? h - 1 : h);
    if (h * 6 < 1) return m1 + (m2 - m1) * h * 6;
    if (h * 2 < 1) return m2;
    if (h * 3 < 2) return m1 + (m2 - m1) * (0.66666 - h) * 6;
    return m1;
  };

  fb.RGBToHSL = function (rgb) {
    var min, max, delta, h, s, l;
    var r = rgb[0], g = rgb[1], b = rgb[2];
    min = Math.min(r, Math.min(g, b));
    max = Math.max(r, Math.max(g, b));
    delta = max - min;
    l = (min + max) / 2;
    s = 0;
    if (l > 0 && l < 1) {
      s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l));
    }
    h = 0;
    if (delta > 0) {
      if (max == r && max != g) h += (g - b) / delta;
      if (max == g && max != b) h += (2 + (b - r) / delta);
      if (max == b && max != r) h += (4 + (r - g) / delta);
      h /= 6;
    }
    return [h, s, l];
  };

  // Install mousedown handler (the others are set on the document on-demand)
  $('*', e).on('mousedown', fb.mousedown);

    // Init color
  fb.setColor('#000000');

  // Set linked elements/callback
  if (callback) {
    fb.linkTo(callback);
  }
};

})(jQuery);

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 20 2025 11:42:25
1032 / wheelch2
0755
js
--
October 19 2024 00:37:30
1032 / wheelch2
0755
widgets
--
October 16 2024 01:01:17
1032 / wheelch2
0755
.htaccess
0 KB
March 26 2025 13:57:35
1032 / wheelch2
0444
accordion.js
2.864 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
accordion.min.js
0.74 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
application-passwords.js
6.244 KB
September 17 2023 22:51:24
1032 / wheelch2
0644
application-passwords.min.js
2.953 KB
September 17 2023 22:51:24
1032 / wheelch2
0644
auth-app.js
5.66 KB
February 23 2021 19:45:04
1032 / wheelch2
0644
auth-app.min.js
2.035 KB
April 08 2022 20:07:18
1032 / wheelch2
0644
code-editor.js
11.316 KB
July 27 2020 23:35:02
1032 / wheelch2
0644
code-editor.min.js
3.011 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
color-picker.js
9.539 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
color-picker.min.js
3.404 KB
April 08 2022 20:07:18
1032 / wheelch2
0644
comment.js
2.851 KB
February 11 2024 19:14:19
1032 / wheelch2
0644
comment.min.js
1.284 KB
April 08 2022 20:07:18
1032 / wheelch2
0644
common.js
61.15 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
common.min.js
23.121 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
custom-background.js
3.354 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
custom-background.min.js
1.178 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
custom-header.js
1.976 KB
February 23 2021 19:45:04
1032 / wheelch2
0644
customize-controls.js
287.36 KB
February 12 2025 04:39:10
1032 / wheelch2
0644
customize-controls.min.js
109.14 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
customize-nav-menus.js
110.925 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
customize-nav-menus.min.js
46.89 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
customize-widgets.js
70.046 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
customize-widgets.min.js
27.407 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
dashboard.js
27.018 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
dashboard.min.js
8.654 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
edit-comments.js
37.115 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
edit-comments.min.js
15.125 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
editor-expand.js
41.607 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
editor-expand.min.js
13.136 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
editor.js
43.98 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
editor.min.js
12.76 KB
May 01 2025 03:37:15
1032 / wheelch2
0644
farbtastic.js
7.665 KB
July 17 2023 22:03:26
1032 / wheelch2
0644
gallery.js
5.413 KB
October 09 2023 21:31:27
1032 / wheelch2
0644
gallery.min.js
3.653 KB
October 09 2023 21:31:27
1032 / wheelch2
0644
image-edit.js
39.977 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
image-edit.min.js
15.151 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
inline-edit-post.js
20.166 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
inline-edit-post.min.js
9.413 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
inline-edit-tax.js
7.614 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
inline-edit-tax.min.js
2.927 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
iris.min.js
23.089 KB
November 03 2021 19:40:00
1032 / wheelch2
0644
language-chooser.js
0.869 KB
February 23 2021 19:45:04
1032 / wheelch2
0644
language-chooser.min.js
0.413 KB
February 23 2021 19:45:04
1032 / wheelch2
0644
link.js
3.894 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
link.min.js
1.701 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
media-gallery.js
1.272 KB
February 23 2021 19:45:04
1032 / wheelch2
0644
media-gallery.min.js
0.597 KB
April 08 2022 20:07:18
1032 / wheelch2
0644
media-upload.js
3.384 KB
January 22 2021 12:32:03
1032 / wheelch2
0644
media-upload.min.js
1.125 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
media.js
6.606 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
media.min.js
2.382 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
nav-menu.js
60.443 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
nav-menu.min.js
29.771 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
password-strength-meter.js
4.137 KB
January 22 2021 12:32:03
1032 / wheelch2
0644
password-strength-meter.min.js
1.097 KB
January 22 2021 12:32:03
1032 / wheelch2
0644
password-toggle.js
1.308 KB
June 23 2023 23:09:29
1032 / wheelch2
0644
password-toggle.min.js
0.827 KB
June 23 2023 23:09:29
1032 / wheelch2
0644
plugin-install.js
6.92 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
plugin-install.min.js
2.347 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
post.js
38.679 KB
February 12 2025 04:39:10
1032 / wheelch2
0644
post.min.js
18.403 KB
February 12 2025 04:39:10
1032 / wheelch2
0644
postbox.js
18.493 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
postbox.min.js
6.603 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
privacy-tools.js
10.667 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
privacy-tools.min.js
5.033 KB
July 16 2024 17:39:08
1032 / wheelch2
0644
revisions.js
33.915 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
revisions.min.js
17.97 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
set-post-thumbnail.js
0.855 KB
July 07 2020 18:55:04
1032 / wheelch2
0644
set-post-thumbnail.min.js
0.605 KB
July 07 2020 18:55:04
1032 / wheelch2
0644
site-health.js
13.149 KB
December 28 2023 15:27:15
1032 / wheelch2
0644
site-health.min.js
6.135 KB
December 28 2023 15:27:15
1032 / wheelch2
0644
site-icon.js
6.097 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
site-icon.min.js
2.201 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
svg-painter.js
3.203 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
svg-painter.min.js
1.53 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
tags-box.js
10.879 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
tags-box.min.js
3.005 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
tags-suggest.js
5.636 KB
February 18 2024 22:16:14
1032 / wheelch2
0644
tags-suggest.min.js
2.216 KB
February 18 2024 22:16:14
1032 / wheelch2
0644
tags.js
4.851 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
tags.min.js
2.042 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme-plugin-editor.js
24.766 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme-plugin-editor.min.js
11.435 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme.js
54.667 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
theme.min.js
26.417 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
updates.js
109.335 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
updates.min.js
47.272 KB
April 16 2025 03:38:58
1032 / wheelch2
0644
user-profile.js
14.995 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
user-profile.min.js
6.701 KB
November 13 2024 04:45:47
1032 / wheelch2
0644
user-suggest.js
2.247 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
user-suggest.min.js
0.66 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
widgets.js
22.557 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
widgets.min.js
12.313 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
word-count.js
7.516 KB
July 27 2020 23:35:02
1032 / wheelch2
0644
word-count.min.js
1.494 KB
February 02 2023 16:36:32
1032 / wheelch2
0644
xfn.js
0.723 KB
March 18 2021 19:01:03
1032 / wheelch2
0644
xfn.min.js
0.447 KB
March 18 2021 19:01:03
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF