Ghost Exploiter Team Official
/
home2
/
warripp1
/
public_html
/
siulum
/
bluehost
/
wp-admin
/
js
/
Nama File / Folder
Size
Action
widgets
--
NONE
accordion.min.js
0.815KB
Hapus
Edit
Rename
code-editor.js
11.315KB
Hapus
Edit
Rename
code-editor.min.js
3.095KB
Hapus
Edit
Rename
color-picker.js
9.593KB
Hapus
Edit
Rename
color-picker.min.js
3.438KB
Hapus
Edit
Rename
comment.js
2.729KB
Hapus
Edit
Rename
comment.min.js
1.218KB
Hapus
Edit
Rename
common.js
41.762KB
Hapus
Edit
Rename
custom-background.js
3.267KB
Hapus
Edit
Rename
custom-background.min.js
1.121KB
Hapus
Edit
Rename
custom-header.js
1.972KB
Hapus
Edit
Rename
customize-controls.js
283.986KB
Hapus
Edit
Rename
customize-controls.min.js
109.355KB
Hapus
Edit
Rename
customize-nav-menus.js
106.455KB
Hapus
Edit
Rename
customize-widgets.js
69.813KB
Hapus
Edit
Rename
customize-widgets.min.js
27.678KB
Hapus
Edit
Rename
dashboard.js
18.416KB
Hapus
Edit
Rename
dashboard.min.js
6.538KB
Hapus
Edit
Rename
edit-comments.js
28.584KB
Hapus
Edit
Rename
edit-comments.min.js
14.878KB
Hapus
Edit
Rename
editor-expand.min.js
13.266KB
Hapus
Edit
Rename
farbtastic.js
7.509KB
Hapus
Edit
Rename
gallery.js
5.506KB
Hapus
Edit
Rename
gallery.min.js
3.752KB
Hapus
Edit
Rename
image-edit.js
28.607KB
Hapus
Edit
Rename
image-edit.min.js
9.985KB
Hapus
Edit
Rename
inline-edit-post.js
15.925KB
Hapus
Edit
Rename
inline-edit-post.min.js
7.157KB
Hapus
Edit
Rename
inline-edit-tax.js
7.521KB
Hapus
Edit
Rename
inline-edit-tax.min.js
2.821KB
Hapus
Edit
Rename
iris.min.js
23.055KB
Hapus
Edit
Rename
language-chooser.js
0.853KB
Hapus
Edit
Rename
language-chooser.min.js
0.365KB
Hapus
Edit
Rename
link.js
3.784KB
Hapus
Edit
Rename
media-gallery.js
1.19KB
Hapus
Edit
Rename
media-gallery.min.js
0.524KB
Hapus
Edit
Rename
media-upload.js
3.382KB
Hapus
Edit
Rename
media-upload.min.js
1.097KB
Hapus
Edit
Rename
media.js
5.104KB
Hapus
Edit
Rename
media.min.js
1.823KB
Hapus
Edit
Rename
nav-menu.js
41.486KB
Hapus
Edit
Rename
nav-menu.min.js
20.757KB
Hapus
Edit
Rename
password-strength-meter.min.js
0.751KB
Hapus
Edit
Rename
plugin-install.js
6.853KB
Hapus
Edit
Rename
plugin-install.min.js
2.337KB
Hapus
Edit
Rename
post.min.js
17.778KB
Hapus
Edit
Rename
postbox.min.js
4.087KB
Hapus
Edit
Rename
revisions.js
32.998KB
Hapus
Edit
Rename
revisions.min.js
17.506KB
Hapus
Edit
Rename
set-post-thumbnail.js
0.821KB
Hapus
Edit
Rename
set-post-thumbnail.min.js
0.521KB
Hapus
Edit
Rename
site-health.js
8.424KB
Hapus
Edit
Rename
site-health.min.js
4.625KB
Hapus
Edit
Rename
svg-painter.js
5.393KB
Hapus
Edit
Rename
svg-painter.min.js
2.354KB
Hapus
Edit
Rename
tags-box.js
10.781KB
Hapus
Edit
Rename
tags-box.min.js
2.996KB
Hapus
Edit
Rename
tags-suggest.js
5.313KB
Hapus
Edit
Rename
tags-suggest.min.js
2.221KB
Hapus
Edit
Rename
tags.js
4.244KB
Hapus
Edit
Rename
tags.min.js
1.671KB
Hapus
Edit
Rename
theme-plugin-editor.js
24.098KB
Hapus
Edit
Rename
theme-plugin-editor.min.js
11.079KB
Hapus
Edit
Rename
theme.min.js
25.988KB
Hapus
Edit
Rename
updates.js
78.685KB
Hapus
Edit
Rename
updates.min.js
34.974KB
Hapus
Edit
Rename
user-profile.js
11.965KB
Hapus
Edit
Rename
user-profile.min.js
6.173KB
Hapus
Edit
Rename
user-suggest.js
2.263KB
Hapus
Edit
Rename
user-suggest.min.js
0.663KB
Hapus
Edit
Rename
widgets.js
22.34KB
Hapus
Edit
Rename
widgets.min.js
12.177KB
Hapus
Edit
Rename
word-count.js
7.51KB
Hapus
Edit
Rename
word-count.min.js
1.473KB
Hapus
Edit
Rename
wp-fullscreen-stub.js
0.662KB
Hapus
Edit
Rename
wp-fullscreen-stub.min.js
0.323KB
Hapus
Edit
Rename
xfn.js
7.529KB
Hapus
Edit
Rename
xfn.min.js
3.422KB
Hapus
Edit
Rename
<=Back
/** * Word or character counting functionality. Count words or characters in a * provided text string. * * @namespace wp.utils * @since 2.6.0 * @output wp-admin/js/word-count.js */ ( function() { /** * Word counting utility * * @namespace wp.utils.wordcounter * @memberof wp.utils * * @class * * @param {Object} settings Optional. Key-value object containing overrides for * settings. * @param {RegExp} settings.HTMLRegExp Optional. Regular expression to find HTML elements. * @param {RegExp} settings.HTMLcommentRegExp Optional. Regular expression to find HTML comments. * @param {RegExp} settings.spaceRegExp Optional. Regular expression to find irregular space * characters. * @param {RegExp} settings.HTMLEntityRegExp Optional. Regular expression to find HTML entities. * @param {RegExp} settings.connectorRegExp Optional. Regular expression to find connectors that * split words. * @param {RegExp} settings.removeRegExp Optional. Regular expression to find remove unwanted * characters to reduce false-positives. * @param {RegExp} settings.astralRegExp Optional. Regular expression to find unwanted * characters when searching for non-words. * @param {RegExp} settings.wordsRegExp Optional. Regular expression to find words by spaces. * @param {RegExp} settings.characters_excluding_spacesRegExp Optional. Regular expression to find characters which * are non-spaces. * @param {RegExp} settings.characters_including_spacesRegExp Optional. Regular expression to find characters * including spaces. * @param {RegExp} settings.shortcodesRegExp Optional. Regular expression to find shortcodes. * @param {Object} settings.l10n Optional. Localization object containing specific * configuration for the current localization. * @param {String} settings.l10n.type Optional. Method of finding words to count. * @param {Array} settings.l10n.shortcodes Optional. Array of shortcodes that should be removed * from the text. * * @return void */ function WordCounter( settings ) { var key, shortcodes; // Apply provided settings to object settings. if ( settings ) { for ( key in settings ) { // Only apply valid settings. if ( settings.hasOwnProperty( key ) ) { this.settings[ key ] = settings[ key ]; } } } shortcodes = this.settings.l10n.shortcodes; // If there are any localization shortcodes, add this as type in the settings. if ( shortcodes && shortcodes.length ) { this.settings.shortcodesRegExp = new RegExp( '\\[\\/?(?:' + shortcodes.join( '|' ) + ')[^\\]]*?\\]', 'g' ); } } // Default settings. WordCounter.prototype.settings = { HTMLRegExp: /<\/?[a-z][^>]*?>/gi, HTMLcommentRegExp: /<!--[\s\S]*?-->/g, spaceRegExp: / | /gi, HTMLEntityRegExp: /&\S+?;/g, // \u2014 = em-dash connectorRegExp: /--|\u2014/g, // Characters to be removed from input text. removeRegExp: new RegExp( [ '[', // Basic Latin (extract) '\u0021-\u0040\u005B-\u0060\u007B-\u007E', // Latin-1 Supplement (extract) '\u0080-\u00BF\u00D7\u00F7', /* * The following range consists of: * General Punctuation * Superscripts and Subscripts * Currency Symbols * Combining Diacritical Marks for Symbols * Letterlike Symbols * Number Forms * Arrows * Mathematical Operators * Miscellaneous Technical * Control Pictures * Optical Character Recognition * Enclosed Alphanumerics * Box Drawing * Block Elements * Geometric Shapes * Miscellaneous Symbols * Dingbats * Miscellaneous Mathematical Symbols-A * Supplemental Arrows-A * Braille Patterns * Supplemental Arrows-B * Miscellaneous Mathematical Symbols-B * Supplemental Mathematical Operators * Miscellaneous Symbols and Arrows */ '\u2000-\u2BFF', // Supplemental Punctuation '\u2E00-\u2E7F', ']' ].join( '' ), 'g' ), // Remove UTF-16 surrogate points, see https://en.wikipedia.org/wiki/UTF-16#U.2BD800_to_U.2BDFFF astralRegExp: /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, wordsRegExp: /\S\s+/g, characters_excluding_spacesRegExp: /\S/g, /* * Match anything that is not a formatting character, excluding: * \f = form feed * \n = new line * \r = carriage return * \t = tab * \v = vertical tab * \u00AD = soft hyphen * \u2028 = line separator * \u2029 = paragraph separator */ characters_including_spacesRegExp: /[^\f\n\r\t\v\u00AD\u2028\u2029]/g, l10n: window.wordCountL10n || {} }; /** * Counts the number of words (or other specified type) in the specified text. * * @since 2.6.0 * @memberof wp.utils.wordcounter * * @param {String} text Text to count elements in. * @param {String} type Optional. Specify type to use. * * @return {Number} The number of items counted. */ WordCounter.prototype.count = function( text, type ) { var count = 0; // Use default type if none was provided. type = type || this.settings.l10n.type; // Sanitize type to one of three possibilities: 'words', 'characters_excluding_spaces' or 'characters_including_spaces'. if ( type !== 'characters_excluding_spaces' && type !== 'characters_including_spaces' ) { type = 'words'; } // If we have any text at all. if ( text ) { text = text + '\n'; // Replace all HTML with a new-line. text = text.replace( this.settings.HTMLRegExp, '\n' ); // Remove all HTML comments. text = text.replace( this.settings.HTMLcommentRegExp, '' ); // If a shortcode regular expression has been provided use it to remove shortcodes. if ( this.settings.shortcodesRegExp ) { text = text.replace( this.settings.shortcodesRegExp, '\n' ); } // Normalize non-breaking space to a normal space. text = text.replace( this.settings.spaceRegExp, ' ' ); if ( type === 'words' ) { // Remove HTML Entities. text = text.replace( this.settings.HTMLEntityRegExp, '' ); // Convert connectors to spaces to count attached text as words. text = text.replace( this.settings.connectorRegExp, ' ' ); // Remove unwanted characters. text = text.replace( this.settings.removeRegExp, '' ); } else { // Convert HTML Entities to "a". text = text.replace( this.settings.HTMLEntityRegExp, 'a' ); // Remove surrogate points. text = text.replace( this.settings.astralRegExp, 'a' ); } // Match with the selected type regular expression to count the items. text = text.match( this.settings[ type + 'RegExp' ] ); // If we have any matches, set the count to the number of items found. if ( text ) { count = text.length; } } return count; }; // Add the WordCounter to the WP Utils. window.wp = window.wp || {}; window.wp.utils = window.wp.utils || {}; window.wp.utils.WordCounter = WordCounter; } )();
Liking