Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.15.7.195
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
cleahvkv /
public_html /
wp-includes /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
codemirror
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
crop
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
dist
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
imgareaselect
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
jcrop
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
jquery
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
mediaelement
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
plupload
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
swfupload
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
thickbox
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
tinymce
[ DIR ]
drwxr-xr-x
2020-02-20 23:13
admin-bar.js
10.89
KB
-rw-r--r--
2020-02-20 23:13
admin-bar.min.js
3.65
KB
-rw-r--r--
2021-04-15 04:01
api-request.js
2.6
KB
-rw-r--r--
2020-02-20 23:13
api-request.min.js
768
B
-rw-r--r--
2021-04-15 04:01
autosave.js
20.84
KB
-rw-r--r--
2020-02-20 23:13
autosave.min.js
5.28
KB
-rw-r--r--
2021-04-15 04:01
backbone.js
75.97
KB
-rw-r--r--
2020-02-20 23:13
backbone.min.js
23.23
KB
-rw-r--r--
2021-04-15 04:01
clipboard.js
28.59
KB
-rw-r--r--
2020-02-20 23:13
clipboard.min.js
10.24
KB
-rw-r--r--
2021-04-15 04:01
colorpicker.js
28.4
KB
-rw-r--r--
2020-02-20 23:13
colorpicker.min.js
16.14
KB
-rw-r--r--
2021-04-15 04:01
comment-reply.js
10.38
KB
-rw-r--r--
2020-02-20 23:13
comment-reply.min.js
2.28
KB
-rw-r--r--
2021-04-15 04:01
customize-base.js
25.08
KB
-rw-r--r--
2020-02-20 23:13
customize-base.min.js
7.64
KB
-rw-r--r--
2021-04-15 04:01
customize-loader.js
7.71
KB
-rw-r--r--
2020-02-20 23:13
customize-loader.min.js
3.44
KB
-rw-r--r--
2021-04-15 04:01
customize-models.js
6.66
KB
-rw-r--r--
2020-02-20 23:13
customize-models.min.js
3.57
KB
-rw-r--r--
2021-04-15 04:01
customize-preview-nav-menus.js
14.67
KB
-rw-r--r--
2020-02-20 23:13
customize-preview-nav-menus.min.js
4.89
KB
-rw-r--r--
2021-04-15 04:01
customize-preview-widgets.js
22.61
KB
-rw-r--r--
2020-02-20 23:13
customize-preview-widgets.min.js
7.61
KB
-rw-r--r--
2021-04-15 04:01
customize-preview.js
27.31
KB
-rw-r--r--
2020-02-20 23:13
customize-preview.min.js
10.47
KB
-rw-r--r--
2021-04-15 04:01
customize-selective-refresh.js
32.54
KB
-rw-r--r--
2020-02-20 23:13
customize-selective-refresh.min.js
10.41
KB
-rw-r--r--
2021-04-15 04:01
customize-views.js
4.95
KB
-rw-r--r--
2020-02-20 23:13
customize-views.min.js
2.36
KB
-rw-r--r--
2021-04-15 04:01
heartbeat.js
22.62
KB
-rw-r--r--
2020-02-20 23:13
heartbeat.min.js
5.71
KB
-rw-r--r--
2021-04-15 04:01
hoverIntent.js
4.83
KB
-rw-r--r--
2020-02-20 23:13
hoverIntent.min.js
1.06
KB
-rw-r--r--
2021-04-15 04:01
hoverintent-js.min.js
1.64
KB
-rw-r--r--
2020-02-20 23:13
imagesloaded.min.js
7.92
KB
-rw-r--r--
2020-02-20 23:13
json2.js
17.99
KB
-rw-r--r--
2020-02-20 23:13
json2.min.js
3.04
KB
-rw-r--r--
2021-04-15 04:01
masonry.min.js
28.27
KB
-rw-r--r--
2020-02-20 23:13
mce-view.js
25.43
KB
-rw-r--r--
2020-02-20 23:13
mce-view.min.js
9.62
KB
-rw-r--r--
2021-04-15 04:01
media-audiovideo.js
26.91
KB
-rw-r--r--
2024-04-29 08:14
media-audiovideo.min.js
12.58
KB
-rw-r--r--
2024-04-29 08:14
media-editor.js
28.25
KB
-rw-r--r--
2020-02-20 23:13
media-editor.min.js
10.57
KB
-rw-r--r--
2021-04-15 04:01
media-grid.js
29.11
KB
-rw-r--r--
2020-02-20 23:13
media-grid.min.js
14.02
KB
-rw-r--r--
2021-04-15 04:01
media-models.js
44.53
KB
-rw-r--r--
2020-02-20 23:13
media-models.min.js
13.64
KB
-rw-r--r--
2021-04-15 04:01
media-views.js
259.09
KB
-rw-r--r--
2020-02-20 23:13
media-views.min.js
103.87
KB
-rw-r--r--
2021-04-15 04:01
quicktags.js
22.05
KB
-rw-r--r--
2020-02-20 23:13
quicktags.min.js
10.85
KB
-rw-r--r--
2021-04-15 04:01
shortcode.js
10.32
KB
-rw-r--r--
2020-02-20 23:13
shortcode.min.js
2.52
KB
-rw-r--r--
2021-04-15 04:01
swfobject.js
9.99
KB
-rw-r--r--
2020-02-20 23:13
tw-sack.js
4.85
KB
-rw-r--r--
2020-02-20 23:13
tw-sack.min.js
3.19
KB
-rw-r--r--
2020-02-20 23:13
twemoji.js
27.02
KB
-rw-r--r--
2020-02-20 23:13
twemoji.min.js
10.67
KB
-rw-r--r--
2021-04-15 04:01
underscore.js
51.68
KB
-rw-r--r--
2020-02-20 23:13
underscore.min.js
15.63
KB
-rw-r--r--
2021-04-15 04:01
utils.js
4.55
KB
-rw-r--r--
2020-02-20 23:13
utils.min.js
1.79
KB
-rw-r--r--
2021-04-15 04:01
wp-ajax-response.js
3.13
KB
-rw-r--r--
2020-02-20 23:13
wp-ajax-response.min.js
2.01
KB
-rw-r--r--
2021-04-15 04:01
wp-api.js
45.65
KB
-rw-r--r--
2020-02-20 23:13
wp-api.min.js
14.19
KB
-rw-r--r--
2021-04-15 04:01
wp-auth-check.js
4.27
KB
-rw-r--r--
2020-02-20 23:13
wp-auth-check.min.js
1.73
KB
-rw-r--r--
2021-04-15 04:01
wp-backbone.js
14.88
KB
-rw-r--r--
2020-02-20 23:13
wp-backbone.min.js
2.93
KB
-rw-r--r--
2021-04-15 04:01
wp-custom-header.js
10.2
KB
-rw-r--r--
2020-02-20 23:13
wp-custom-header.min.js
4.3
KB
-rw-r--r--
2021-04-15 04:01
wp-embed-template.js
6.1
KB
-rw-r--r--
2020-02-20 23:13
wp-embed-template.min.js
2.99
KB
-rw-r--r--
2021-04-15 04:01
wp-embed.js
3.33
KB
-rw-r--r--
2024-04-29 08:14
wp-embed.min.js
1.41
KB
-rw-r--r--
2024-04-29 08:14
wp-emoji-loader.js
6.54
KB
-rw-r--r--
2020-02-20 23:13
wp-emoji-loader.min.js
1.85
KB
-rw-r--r--
2021-04-15 04:01
wp-emoji-release.min.js
13.52
KB
-rw-r--r--
2021-04-15 04:01
wp-emoji.js
8.78
KB
-rw-r--r--
2020-02-20 23:13
wp-emoji.min.js
2.77
KB
-rw-r--r--
2021-04-15 04:01
wp-list-revisions.js
970
B
-rw-r--r--
2020-02-20 23:13
wp-list-revisions.min.js
562
B
-rw-r--r--
2021-04-15 04:01
wp-lists.js
24.69
KB
-rw-r--r--
2020-02-20 23:13
wp-lists.min.js
7.2
KB
-rw-r--r--
2021-04-15 04:01
wp-pointer.js
10.07
KB
-rw-r--r--
2020-02-20 23:13
wp-pointer.min.js
3.53
KB
-rw-r--r--
2021-04-15 04:01
wp-sanitize.js
1.32
KB
-rw-r--r--
2020-02-20 23:13
wp-sanitize.min.js
423
B
-rw-r--r--
2021-04-15 04:01
wp-util.js
3.88
KB
-rw-r--r--
2020-02-20 23:13
wp-util.min.js
1.02
KB
-rw-r--r--
2021-04-15 04:01
wpdialog.js
560
B
-rw-r--r--
2020-02-20 23:13
wpdialog.min.js
237
B
-rw-r--r--
2020-02-20 23:13
wplink.js
20.47
KB
-rw-r--r--
2020-02-20 23:13
wplink.min.js
10.88
KB
-rw-r--r--
2021-04-15 04:01
zxcvbn-async.js
821
B
-rw-r--r--
2020-02-20 23:13
zxcvbn-async.min.js
316
B
-rw-r--r--
2021-04-15 04:01
zxcvbn.min.js
802.93
KB
-rw-r--r--
2020-02-20 23:13
Save
Rename
/** * @output wp-includes/js/customize-models.js */ /* global _wpCustomizeHeader */ (function( $, wp ) { var api = wp.customize; /** @namespace wp.customize.HeaderTool */ api.HeaderTool = {}; /** * wp.customize.HeaderTool.ImageModel * * A header image. This is where saves via the Customizer API are * abstracted away, plus our own AJAX calls to add images to and remove * images from the user's recently uploaded images setting on the server. * These calls are made regardless of whether the user actually saves new * Customizer settings. * * @memberOf wp.customize.HeaderTool * @alias wp.customize.HeaderTool.ImageModel * * @constructor * @augments Backbone.Model */ api.HeaderTool.ImageModel = Backbone.Model.extend(/** @lends wp.customize.HeaderTool.ImageModel.prototype */{ defaults: function() { return { header: { attachment_id: 0, url: '', timestamp: _.now(), thumbnail_url: '' }, choice: '', selected: false, random: false }; }, initialize: function() { this.on('hide', this.hide, this); }, hide: function() { this.set('choice', ''); api('header_image').set('remove-header'); api('header_image_data').set('remove-header'); }, destroy: function() { var data = this.get('header'), curr = api.HeaderTool.currentHeader.get('header').attachment_id; // If the image we're removing is also the current header, unset // the latter if (curr && data.attachment_id === curr) { api.HeaderTool.currentHeader.trigger('hide'); } wp.ajax.post( 'custom-header-remove', { nonce: _wpCustomizeHeader.nonces.remove, wp_customize: 'on', theme: api.settings.theme.stylesheet, attachment_id: data.attachment_id }); this.trigger('destroy', this, this.collection); }, save: function() { if (this.get('random')) { api('header_image').set(this.get('header').random); api('header_image_data').set(this.get('header').random); } else { if (this.get('header').defaultName) { api('header_image').set(this.get('header').url); api('header_image_data').set(this.get('header').defaultName); } else { api('header_image').set(this.get('header').url); api('header_image_data').set(this.get('header')); } } api.HeaderTool.combinedList.trigger('control:setImage', this); }, importImage: function() { var data = this.get('header'); if (data.attachment_id === undefined) { return; } wp.ajax.post( 'custom-header-add', { nonce: _wpCustomizeHeader.nonces.add, wp_customize: 'on', theme: api.settings.theme.stylesheet, attachment_id: data.attachment_id } ); }, shouldBeCropped: function() { if (this.get('themeFlexWidth') === true && this.get('themeFlexHeight') === true) { return false; } if (this.get('themeFlexWidth') === true && this.get('themeHeight') === this.get('imageHeight')) { return false; } if (this.get('themeFlexHeight') === true && this.get('themeWidth') === this.get('imageWidth')) { return false; } if (this.get('themeWidth') === this.get('imageWidth') && this.get('themeHeight') === this.get('imageHeight')) { return false; } if (this.get('imageWidth') <= this.get('themeWidth')) { return false; } return true; } }); /** * wp.customize.HeaderTool.ChoiceList * * @memberOf wp.customize.HeaderTool * @alias wp.customize.HeaderTool.ChoiceList * * @constructor * @augments Backbone.Collection */ api.HeaderTool.ChoiceList = Backbone.Collection.extend({ model: api.HeaderTool.ImageModel, // Ordered from most recently used to least comparator: function(model) { return -model.get('header').timestamp; }, initialize: function() { var current = api.HeaderTool.currentHeader.get('choice').replace(/^https?:\/\//, ''), isRandom = this.isRandomChoice(api.get().header_image); // Overridable by an extending class if (!this.type) { this.type = 'uploaded'; } // Overridable by an extending class if (typeof this.data === 'undefined') { this.data = _wpCustomizeHeader.uploads; } if (isRandom) { // So that when adding data we don't hide regular images current = api.get().header_image; } this.on('control:setImage', this.setImage, this); this.on('control:removeImage', this.removeImage, this); this.on('add', this.maybeRemoveOldCrop, this); this.on('add', this.maybeAddRandomChoice, this); _.each(this.data, function(elt, index) { if (!elt.attachment_id) { elt.defaultName = index; } if (typeof elt.timestamp === 'undefined') { elt.timestamp = 0; } this.add({ header: elt, choice: elt.url.split('/').pop(), selected: current === elt.url.replace(/^https?:\/\//, '') }, { silent: true }); }, this); if (this.size() > 0) { this.addRandomChoice(current); } }, maybeRemoveOldCrop: function( model ) { var newID = model.get( 'header' ).attachment_id || false, oldCrop; // Bail early if we don't have a new attachment ID. if ( ! newID ) { return; } oldCrop = this.find( function( item ) { return ( item.cid !== model.cid && item.get( 'header' ).attachment_id === newID ); } ); // If we found an old crop, remove it from the collection. if ( oldCrop ) { this.remove( oldCrop ); } }, maybeAddRandomChoice: function() { if (this.size() === 1) { this.addRandomChoice(); } }, addRandomChoice: function(initialChoice) { var isRandomSameType = RegExp(this.type).test(initialChoice), randomChoice = 'random-' + this.type + '-image'; this.add({ header: { timestamp: 0, random: randomChoice, width: 245, height: 41 }, choice: randomChoice, random: true, selected: isRandomSameType }); }, isRandomChoice: function(choice) { return (/^random-(uploaded|default)-image$/).test(choice); }, shouldHideTitle: function() { return this.size() < 2; }, setImage: function(model) { this.each(function(m) { m.set('selected', false); }); if (model) { model.set('selected', true); } }, removeImage: function() { this.each(function(m) { m.set('selected', false); }); } }); /** * wp.customize.HeaderTool.DefaultsList * * @memberOf wp.customize.HeaderTool * @alias wp.customize.HeaderTool.DefaultsList * * @constructor * @augments wp.customize.HeaderTool.ChoiceList * @augments Backbone.Collection */ api.HeaderTool.DefaultsList = api.HeaderTool.ChoiceList.extend({ initialize: function() { this.type = 'default'; this.data = _wpCustomizeHeader.defaults; api.HeaderTool.ChoiceList.prototype.initialize.apply(this); } }); })( jQuery, window.wp );