PATH:
home
/
thebhoeo
/
.trash
/
backwpup
/
assets
/
js
/** * Restore * * @type {*|{}} */ window.BWU = window.BWU || {}; ( // eslint-disable-next-line function ( BWU, ajaxurl, jsURL, plupload, _, $, backwpupRestoreLocalized ) { 'use strict'; $( window ).load( function () { var stepID = jsURL( '?step' ) ? jsURL( '?step' ) : 1; var step = document.querySelector( '#restore_step' ); var nonce = step ? step.getAttribute( 'data-nonce' ) : ''; var strategy = BWU.Restore.FactoryStrategy( ajaxurl, nonce ); var migrate = BWU.Restore.FactoryMigrate( ajaxurl, nonce ); var decrypter = BWU.DecrypterFactory( ajaxurl, document.querySelector( '#decrypt_key' ), document.querySelector( '#decryption_key' ) ); var databaserestore = BWU.Restore.FactoryDatabaseRestore( ajaxurl, nonce, { onMessageCallback: function ( data ) { $( '#restore_progress' ) .text( backwpupRestoreLocalized.restoringPrefix + data.message ); }, onSuccessCallback: function () { } } ); var filesrestore = BWU.Restore.FactoryFilesRestore( ajaxurl, nonce, { onMessageCallback: function ( data ) { $( '#restore_progress' ) .text( backwpupRestoreLocalized.restoringPrefix + data.message ); }, onSuccessCallback: function () { } } ); var decompresser = BWU.Restore.FactoryDecompress( ajaxurl, nonce, jsURL( '?restore_file' ) ); var downloader = BWU.Restore.FactoryDownload( ajaxurl, nonce, jsURL( '?file' ), jsURL( '?service' ), jsURL( '?jobid' ), jsURL( '?restore_file' ) ); var bwuController = BWU.Restore.FactoryController( ajaxurl, nonce, jsURL, plupload, document.querySelector( '#drag-drop-area' ), strategy, databaserestore, filesrestore, decompresser, downloader, decrypter, migrate ); if ( !bwuController ) { return; } // Initialize Object. bwuController.init(); if ( _.isFunction( bwuController[ 'step' + stepID ] ) ) { // Execute the current step. bwuController[ 'step' + stepID ](); } } ); }( window.BWU, window.ajaxurl, window.url, window.plupload, window._, window.jQuery, window.backwpupRestoreLocalized ) );
[-] backup-downloader.min.js
[edit]
[-] page_edit_jobtype_dbdump.js
[edit]
[-] sidebar.js
[edit]
[-] admin-chatbot.min.js
[edit]
[-] settings-encryption.js
[edit]
[-] backup-downloader.js
[edit]
[-] restore.min.js
[edit]
[-] page_edit_jobtype_dbdump.min.js
[edit]
[-] admin-rating.js
[edit]
[-] settings-encryption.min.js
[edit]
[-] page_edit_tab_cron.min.js
[edit]
[-] backwpup-job.min.js
[edit]
[-] notice.min.js
[edit]
[-] backwpup-admin.min.js
[edit]
[-] backwpup-generate.min.js
[edit]
[-] general.js
[edit]
[-] page_edit_jobtype_file.js
[edit]
[-] backwpup-admin.js
[edit]
[+]
..
[-] page_edit_tab_job.js
[edit]
[-] page_settings.js
[edit]
[-] page_edit_jobtype_file.min.js
[edit]
[-] admin-rating.min.js
[edit]
[-] admin-chatbot.js
[edit]
[-] sidebar.min.js
[edit]
[-] page_settings.min.js
[edit]
[-] backwpup-generate.js
[edit]
[-] page_edit_tab_cron.js
[edit]
[-] restore.js
[edit]
[-] page_edit_tab_job.min.js
[edit]
[-] backwpup-onboarding.js
[edit]
[-] general.min.js
[edit]
[+]
vendor
[-] backwpup-job.js
[edit]
[-] notice.js
[edit]
[-] backwpup-onboarding.min.js
[edit]