H69UNtblNBNpha2dtB1Odn8qYp1Qk5NK2gi7yfceofo9N
/
home
/
ymswebso
/
public_html
/
applyworld
/
wp-admin
/
js
/
Nama File / Folder
Size
Action
widgets
--
NONE
code-editor.min.js
3.011KB
Hapus
Edit
Rename
color-picker.min.js
3.404KB
Hapus
Edit
Rename
common.min.js
23.025KB
Hapus
Edit
Rename
edit-comments.min.js
15.006KB
Hapus
Edit
Rename
editor-expand.min.js
13.136KB
Hapus
Edit
Rename
gallery.min.js
3.653KB
Hapus
Edit
Rename
image-edit.min.js
15.151KB
Hapus
Edit
Rename
inline-edit-post.min.js
9.413KB
Hapus
Edit
Rename
inline-edit-tax.min.js
2.927KB
Hapus
Edit
Rename
media-gallery.min.js
0.597KB
Hapus
Edit
Rename
password-strength-meter.min.js
1.097KB
Hapus
Edit
Rename
password-toggle.min.js
0.827KB
Hapus
Edit
Rename
post.min.js
18.403KB
Hapus
Edit
Rename
privacy-tools.min.js
5.033KB
Hapus
Edit
Rename
set-post-thumbnail.js
0.855KB
Hapus
Edit
Rename
set-post-thumbnail.min.js
0.605KB
Hapus
Edit
Rename
site-icon.js
6.097KB
Hapus
Edit
Rename
site-icon.min.js
2.201KB
Hapus
Edit
Rename
svg-painter.js
3.203KB
Hapus
Edit
Rename
svg-painter.min.js
1.53KB
Hapus
Edit
Rename
tags-box.js
10.879KB
Hapus
Edit
Rename
tags-box.min.js
3.005KB
Hapus
Edit
Rename
tags-suggest.js
5.636KB
Hapus
Edit
Rename
tags-suggest.min.js
2.216KB
Hapus
Edit
Rename
tags.js
4.773KB
Hapus
Edit
Rename
tags.min.js
1.965KB
Hapus
Edit
Rename
updates.js
109.295KB
Hapus
Edit
Rename
updates.min.js
47.232KB
Hapus
Edit
Rename
word-count.min.js
1.494KB
Hapus
Edit
Rename
xfn.min.js
0.447KB
Hapus
Edit
Rename
/** * Attempt to re-color SVG icons used in the admin menu or the toolbar * * @output wp-admin/js/svg-painter.js */ window.wp = window.wp || {}; wp.svgPainter = ( function( $, window, document, undefined ) { 'use strict'; var selector, painter, colorscheme = {}, elements = []; $( function() { wp.svgPainter.init(); }); return { init: function() { painter = this; selector = $( '#adminmenu .wp-menu-image, #wpadminbar .ab-item' ); painter.setColors(); painter.findElements(); painter.paint(); }, setColors: function( colors ) { if ( typeof colors === 'undefined' && typeof window._wpColorScheme !== 'undefined' ) { colors = window._wpColorScheme; } if ( colors && colors.icons && colors.icons.base && colors.icons.current && colors.icons.focus ) { colorscheme = colors.icons; } }, findElements: function() { selector.each( function() { var $this = $(this), bgImage = $this.css( 'background-image' ); if ( bgImage && bgImage.indexOf( 'data:image/svg+xml;base64' ) != -1 ) { elements.push( $this ); } }); }, paint: function() { // Loop through all elements. $.each( elements, function( index, $element ) { var $menuitem = $element.parent().parent(); if ( $menuitem.hasClass( 'current' ) || $menuitem.hasClass( 'wp-has-current-submenu' ) ) { // Paint icon in 'current' color. painter.paintElement( $element, 'current' ); } else { // Paint icon in base color. painter.paintElement( $element, 'base' ); // Set hover callbacks. $menuitem.on( 'mouseenter', function() { painter.paintElement( $element, 'focus' ); } ).on( 'mouseleave', function() { // Match the delay from hoverIntent. window.setTimeout( function() { painter.paintElement( $element, 'base' ); }, 100 ); } ); } }); }, paintElement: function( $element, colorType ) { var xml, encoded, color; if ( ! colorType || ! colorscheme.hasOwnProperty( colorType ) ) { return; } color = colorscheme[ colorType ]; // Only accept hex colors: #101 or #101010. if ( ! color.match( /^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i ) ) { return; } xml = $element.data( 'wp-ui-svg-' + color ); if ( xml === 'none' ) { return; } if ( ! xml ) { encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/ ); if ( ! encoded || ! encoded[1] ) { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } try { xml = window.atob( encoded[1] ); } catch ( error ) {} if ( xml ) { // Replace `fill` attributes. xml = xml.replace( /fill="(.+?)"/g, 'fill="' + color + '"'); // Replace `style` attributes. xml = xml.replace( /style="(.+?)"/g, 'style="fill:' + color + '"'); // Replace `fill` properties in `<style>` tags. xml = xml.replace( /fill:.*?;/g, 'fill: ' + color + ';'); xml = window.btoa( xml ); $element.data( 'wp-ui-svg-' + color, xml ); } else { $element.data( 'wp-ui-svg-' + color, 'none' ); return; } } $element.attr( 'style', 'background-image: url("data:image/svg+xml;base64,' + xml + '") !important;' ); } }; })( jQuery, window, document );