Ghost Exploiter Team Official
/
home2
/
warripp1
/
www
/
dev_roofing
/
wp-includes
/
js
/
Nama File / Folder
Size
Action
codemirror
--
NONE
crop
--
NONE
dist
--
NONE
imgareaselect
--
NONE
jcrop
--
NONE
jquery
--
NONE
mediaelement
--
NONE
plupload
--
NONE
swfupload
--
NONE
thickbox
--
NONE
tinymce
--
NONE
admin-bar.js
10.889KB
Hapus
Edit
Rename
admin-bar.min.js
3.702KB
Hapus
Edit
Rename
api-request.js
2.593KB
Hapus
Edit
Rename
autosave.js
20.869KB
Hapus
Edit
Rename
backbone.js
75.971KB
Hapus
Edit
Rename
backbone.min.js
23.409KB
Hapus
Edit
Rename
clipboard.js
28.59KB
Hapus
Edit
Rename
clipboard.min.js
10.294KB
Hapus
Edit
Rename
colorpicker.js
28.401KB
Hapus
Edit
Rename
comment-reply.js
10.384KB
Hapus
Edit
Rename
comment-reply.min.js
2.363KB
Hapus
Edit
Rename
customize-base.min.js
7.705KB
Hapus
Edit
Rename
customize-loader.js
7.72KB
Hapus
Edit
Rename
customize-loader.min.js
3.474KB
Hapus
Edit
Rename
customize-models.min.js
3.606KB
Hapus
Edit
Rename
customize-preview-nav-menus.js
14.672KB
Hapus
Edit
Rename
customize-preview-nav-menus.min.js
4.936KB
Hapus
Edit
Rename
customize-preview-widgets.min.js
7.695KB
Hapus
Edit
Rename
customize-preview.min.js
10.527KB
Hapus
Edit
Rename
customize-selective-refresh.js
32.543KB
Hapus
Edit
Rename
customize-selective-refresh.min.js
10.496KB
Hapus
Edit
Rename
customize-views.js
4.946KB
Hapus
Edit
Rename
customize-views.min.js
2.399KB
Hapus
Edit
Rename
heartbeat.min.js
5.795KB
Hapus
Edit
Rename
hoverIntent.min.js
1.104KB
Hapus
Edit
Rename
hoverintent-js.min.js
1.678KB
Hapus
Edit
Rename
imagesloaded.min.js
7.957KB
Hapus
Edit
Rename
json2.js
17.99KB
Hapus
Edit
Rename
json2.min.js
3.081KB
Hapus
Edit
Rename
masonry.min.js
28.309KB
Hapus
Edit
Rename
mce-view.js
25.448KB
Hapus
Edit
Rename
media-audiovideo.min.js
12.58KB
Hapus
Edit
Rename
media-editor.js
28.385KB
Hapus
Edit
Rename
media-editor.min.js
10.641KB
Hapus
Edit
Rename
media-grid.js
29.117KB
Hapus
Edit
Rename
media-grid.min.js
14.085KB
Hapus
Edit
Rename
media-models.min.js
13.713KB
Hapus
Edit
Rename
media-views.js
259.556KB
Hapus
Edit
Rename
media-views.min.js
104.328KB
Hapus
Edit
Rename
quicktags.js
22.085KB
Hapus
Edit
Rename
quicktags.min.js
10.931KB
Hapus
Edit
Rename
shortcode.js
10.506KB
Hapus
Edit
Rename
shortcode.min.js
2.598KB
Hapus
Edit
Rename
tw-sack.js
4.853KB
Hapus
Edit
Rename
tw-sack.min.js
3.222KB
Hapus
Edit
Rename
twemoji.js
27.017KB
Hapus
Edit
Rename
twemoji.min.js
10.72KB
Hapus
Edit
Rename
underscore.js
51.679KB
Hapus
Edit
Rename
utils.js
4.556KB
Hapus
Edit
Rename
wp-ajax-response.js
3.128KB
Hapus
Edit
Rename
wp-ajax-response.min.js
2.051KB
Hapus
Edit
Rename
wp-api.js
45.664KB
Hapus
Edit
Rename
wp-auth-check.js
4.286KB
Hapus
Edit
Rename
wp-backbone.min.js
2.976KB
Hapus
Edit
Rename
wp-custom-header.js
10.202KB
Hapus
Edit
Rename
wp-custom-header.min.js
4.359KB
Hapus
Edit
Rename
wp-embed-template.js
6.099KB
Hapus
Edit
Rename
wp-embed-template.min.js
3.053KB
Hapus
Edit
Rename
wp-embed.js
3.139KB
Hapus
Edit
Rename
wp-embed.min.js
1.4KB
Hapus
Edit
Rename
wp-emoji-loader.js
6.537KB
Hapus
Edit
Rename
wp-emoji-release.min.js
13.575KB
Hapus
Edit
Rename
wp-emoji.js
8.778KB
Hapus
Edit
Rename
wp-emoji.min.js
2.808KB
Hapus
Edit
Rename
wp-list-revisions.js
0.947KB
Hapus
Edit
Rename
wp-list-revisions.min.js
0.585KB
Hapus
Edit
Rename
wp-lists.min.js
7.262KB
Hapus
Edit
Rename
wp-pointer.js
10.071KB
Hapus
Edit
Rename
wp-pointer.min.js
3.576KB
Hapus
Edit
Rename
wp-sanitize.js
1.318KB
Hapus
Edit
Rename
wp-util.js
3.923KB
Hapus
Edit
Rename
wpdialog.js
0.547KB
Hapus
Edit
Rename
wpdialog.min.js
0.266KB
Hapus
Edit
Rename
wplink.js
20.581KB
Hapus
Edit
Rename
zxcvbn-async.js
0.802KB
Hapus
Edit
Rename
zxcvbn-async.min.js
0.345KB
Hapus
Edit
Rename
/** * @output wp-includes/js/customize-loader.js */ /* global _wpCustomizeLoaderSettings */ /** * Expose a public API that allows the customizer to be * loaded on any page. * * @namespace wp */ window.wp = window.wp || {}; (function( exports, $ ){ var api = wp.customize, Loader; $.extend( $.support, { history: !! ( window.history && history.pushState ), hashchange: ('onhashchange' in window) && (document.documentMode === undefined || document.documentMode > 7) }); /** * Allows the Customizer to be overlayed on any page. * * By default, any element in the body with the load-customize class will open * an iframe overlay with the URL specified. * * e.g. <a class="load-customize" href="<?php echo wp_customize_url(); ?>">Open Customizer</a> * * @memberOf wp.customize * * @class * @augments wp.customize.Events */ Loader = $.extend( {}, api.Events,/** @lends wp.customize.Loader.prototype */{ /** * Setup the Loader; triggered on document#ready. */ initialize: function() { this.body = $( document.body ); // Ensure the loader is supported. // Check for settings, postMessage support, and whether we require CORS support. if ( ! Loader.settings || ! $.support.postMessage || ( ! $.support.cors && Loader.settings.isCrossDomain ) ) { return; } this.window = $( window ); this.element = $( '<div id="customize-container" />' ).appendTo( this.body ); // Bind events for opening and closing the overlay. this.bind( 'open', this.overlay.show ); this.bind( 'close', this.overlay.hide ); // Any element in the body with the `load-customize` class opens // the Customizer. $('#wpbody').on( 'click', '.load-customize', function( event ) { event.preventDefault(); // Store a reference to the link that opened the Customizer. Loader.link = $(this); // Load the theme. Loader.open( Loader.link.attr('href') ); }); // Add navigation listeners. if ( $.support.history ) { this.window.on( 'popstate', Loader.popstate ); } if ( $.support.hashchange ) { this.window.on( 'hashchange', Loader.hashchange ); this.window.triggerHandler( 'hashchange' ); } }, popstate: function( e ) { var state = e.originalEvent.state; if ( state && state.customize ) { Loader.open( state.customize ); } else if ( Loader.active ) { Loader.close(); } }, hashchange: function() { var hash = window.location.toString().split('#')[1]; if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) ) { Loader.open( Loader.settings.url + '?' + hash ); } if ( ! hash && ! $.support.history ) { Loader.close(); } }, beforeunload: function () { if ( ! Loader.saved() ) { return Loader.settings.l10n.saveAlert; } }, /** * Open the Customizer overlay for a specific URL. * * @param string src URL to load in the Customizer. */ open: function( src ) { if ( this.active ) { return; } // Load the full page on mobile devices. if ( Loader.settings.browser.mobile ) { return window.location = src; } // Store the document title prior to opening the Live Preview. this.originalDocumentTitle = document.title; this.active = true; this.body.addClass('customize-loading'); /* * Track the dirtiness state (whether the drafted changes have been published) * of the Customizer in the iframe. This is used to decide whether to display * an AYS alert if the user tries to close the window before saving changes. */ this.saved = new api.Value( true ); this.iframe = $( '<iframe />', { 'src': src, 'title': Loader.settings.l10n.mainIframeTitle } ).appendTo( this.element ); this.iframe.one( 'load', this.loaded ); // Create a postMessage connection with the iframe. this.messenger = new api.Messenger({ url: src, channel: 'loader', targetWindow: this.iframe[0].contentWindow }); // Expose the changeset UUID on the parent window's URL so that the customized state can survive a refresh. if ( history.replaceState ) { this.messenger.bind( 'changeset-uuid', function( changesetUuid ) { var urlParser = document.createElement( 'a' ); urlParser.href = location.href; urlParser.search = $.param( _.extend( api.utils.parseQueryString( urlParser.search.substr( 1 ) ), { changeset_uuid: changesetUuid } ) ); history.replaceState( { customize: urlParser.href }, '', urlParser.href ); } ); } // Wait for the connection from the iframe before sending any postMessage events. this.messenger.bind( 'ready', function() { Loader.messenger.send( 'back' ); }); this.messenger.bind( 'close', function() { if ( $.support.history ) { history.back(); } else if ( $.support.hashchange ) { window.location.hash = ''; } else { Loader.close(); } }); // Prompt AYS dialog when navigating away. $( window ).on( 'beforeunload', this.beforeunload ); this.messenger.bind( 'saved', function () { Loader.saved( true ); } ); this.messenger.bind( 'change', function () { Loader.saved( false ); } ); this.messenger.bind( 'title', function( newTitle ){ window.document.title = newTitle; }); this.pushState( src ); this.trigger( 'open' ); }, pushState: function ( src ) { var hash = src.split( '?' )[1]; // Ensure we don't call pushState if the user hit the forward button. if ( $.support.history && window.location.href !== src ) { history.pushState( { customize: src }, '', src ); } else if ( ! $.support.history && $.support.hashchange && hash ) { window.location.hash = 'wp_customize=on&' + hash; } this.trigger( 'open' ); }, /** * Callback after the Customizer has been opened. */ opened: function() { Loader.body.addClass( 'customize-active full-overlay-active' ).attr( 'aria-busy', 'true' ); }, /** * Close the Customizer overlay. */ close: function() { var self = this, onConfirmClose; if ( ! self.active ) { return; } onConfirmClose = function( confirmed ) { if ( confirmed ) { self.active = false; self.trigger( 'close' ); // Restore document title prior to opening the Live Preview. if ( self.originalDocumentTitle ) { document.title = self.originalDocumentTitle; } } else { // Go forward since Customizer is exited by history.back(). history.forward(); } self.messenger.unbind( 'confirmed-close', onConfirmClose ); }; self.messenger.bind( 'confirmed-close', onConfirmClose ); Loader.messenger.send( 'confirm-close' ); }, /** * Callback after the Customizer has been closed. */ closed: function() { Loader.iframe.remove(); Loader.messenger.destroy(); Loader.iframe = null; Loader.messenger = null; Loader.saved = null; Loader.body.removeClass( 'customize-active full-overlay-active' ).removeClass( 'customize-loading' ); $( window ).off( 'beforeunload', Loader.beforeunload ); /* * Return focus to the link that opened the Customizer overlay after * the body element visibility is restored. */ if ( Loader.link ) { Loader.link.focus(); } }, /** * Callback for the `load` event on the Customizer iframe. */ loaded: function() { Loader.body.removeClass( 'customize-loading' ).attr( 'aria-busy', 'false' ); }, /** * Overlay hide/show utility methods. */ overlay: { show: function() { this.element.fadeIn( 200, Loader.opened ); }, hide: function() { this.element.fadeOut( 200, Loader.closed ); } } }); // Bootstrap the Loader on document#ready. $( function() { Loader.settings = _wpCustomizeLoaderSettings; Loader.initialize(); }); // Expose the API publicly on window.wp.customize.Loader. api.Loader = Loader; })( wp, jQuery );